Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: components/security_interstitials/core/browser/resources/interstitial_v2.html

Issue 2854263003: Add quiet safe browsing interstitial for WebView (Closed)
Patch Set: Fix unit test Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/security_interstitials/core/browser/resources/interstitial_v2.html
diff --git a/components/security_interstitials/core/browser/resources/interstitial_v2.html b/components/security_interstitials/core/browser/resources/interstitial_v2.html
index 9a3ad69443383aa8a03bda08e4a6dd243299d8ad..f382689f3d35bdaa8836f3238884c00854584896 100644
--- a/components/security_interstitials/core/browser/resources/interstitial_v2.html
+++ b/components/security_interstitials/core/browser/resources/interstitial_v2.html
@@ -1,16 +1,18 @@
<!doctype html>
-<html i18n-values="dir:textdirection;lang:language">
+<html dir="$i18n{textdirection}" lang="$i18n{language}">
<head>
<meta charset="utf-8">
<meta name="viewport"
content="initial-scale=1, minimum-scale=1, width=device-width">
<title i18n-content="tabTitle"></title>
+ <link rel="stylesheet" href="interstitial_common.css">
<link rel="stylesheet" href="interstitial_v2.css">
<script src="../../../../../ui/webui/resources/js/util.js"></script>
<script src="captive_portal.js"></script>
<script src="ssl.js"></script>
<script src="extended_reporting.js"></script>
<script src="interstitial_v2_mobile.js"></script>
+ <script src="interstitial_common.js"></script>
<script src="interstitial_v2.js"></script>
</head>
<body id="body">
@@ -18,7 +20,7 @@
<div id="main-content">
<div class="icon" id="icon"></div>
<div id="main-message">
- <h1 i18n-content="heading"></h1>
+ <h1>$i18n{heading}</h1>
<p i18n-values=".innerHTML:primaryParagraph"></p>
<div id="debugging">
<div id="error-code" class="error-code"></div>
@@ -36,9 +38,8 @@
</div>
</div>
<div class="nav-wrapper">
- <button i18n-content="primaryButtonText" id="primary-button"></button>
- <button id="details-button" class="small-link"
- i18n-content="openDetails"></button>
+ <button id="primary-button">$i18n{primaryButtonText}</button>
+ <button id="details-button" class="small-link">$i18n{openDetails}</button>
</div>
<div id="details" class="hidden">
<p i18n-values=".innerHTML:explanationParagraph"></p>

Powered by Google App Engine
This is Rietveld 408576698