Files
tubestation/browser/components/privatebrowsing/content/aboutPrivateBrowsing.xhtml
Jim Porter 1e7acf7903 Bug 1529969 - Only request info about the current engine to the parent; r=adw,Mardak
This patch adds a new ContentSearchHandoffUI class to be used when search
handoff is enabled in the newtab page, avoiding the much more complex
ContentSearchUI. This also reduces the amount of unnecessary information being
sent across processes.

Differential Revision: https://phabricator.services.mozilla.com/D48776
2019-12-17 21:02:52 +00:00

62 lines
3.0 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!--
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" class="private">
<head>
<meta http-equiv="Content-Security-Policy" content="default-src chrome: blob:; object-src 'none'"/>
<link rel="icon" type="image/png" href="chrome://browser/skin/privatebrowsing/favicon.svg"/>
<link rel="stylesheet" href="chrome://browser/content/aboutPrivateBrowsing.css" type="text/css" media="all"/>
<link rel="stylesheet" href="chrome://browser/skin/privatebrowsing/aboutPrivateBrowsing.css" type="text/css" media="all"/>
<link rel="localization" href="branding/brand.ftl"/>
<link rel="localization" href="browser/aboutPrivateBrowsing.ftl"/>
<script src="chrome://browser/content/aboutPrivateBrowsing.js"></script>
<script src="chrome://browser/content/contentSearchHandoffUI.js"></script>
</head>
<body>
<p class="showNormal" data-l10n-id="about-private-browsing-not-private"></p>
<button id="startPrivateBrowsing"
class="showNormal" data-l10n-id="privatebrowsingpage-open-private-window-label"></button>
<div id="search-banner" class="search-banner"
hidden="true">
<button id="search-banner-close-button"
class="search-banner-close-button"
data-l10n-id="about-private-browsing-search-banner-close-button">
<img class="search-banner-close-image" src="chrome://global/skin/icons/close.svg"/>
</button>
<div class="banner-body">
<h1 id="about-private-browsing-search-banner-title"
data-l10n-id="about-private-browsing-search-banner-title"
data-l10n-args='{"engineName": ""}'></h1>
<p id="about-private-browsing-search-banner-description"
data-l10n-id="about-private-browsing-search-banner-description">
<a href="" id="open-search-options-link" data-l10n-name="link-options" />
</p>
</div>
</div>
<div class="showPrivate showSearch container">
<div class="logo-and-wordmark">
<div class="logo" />
<div class="wordmark" />
</div>
<div class="search-inner-wrapper">
<button id="search-handoff-button" class="search-handoff-button" tabindex="-1" data-l10n-id="about-private-browsing">
<div class="fake-textbox" data-l10n-id="about-private-browsing-search-placeholder"></div>
<input id="fake-editable" class="fake-editable" tabindex="-1" aria-hidden="true" />
<div class="fake-caret" />
</button>
</div>
<div class="info">
<h1 data-l10n-id="about-private-browsing-info-title"></h1>
<p data-l10n-id="about-private-browsing-info-description"></p>
<a id="private-browsing-myths" data-l10n-id="about-private-browsing-info-myths"></a>
</div>
</div>
</body>
</html>