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

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

Issue 2894243002: Add quiet safe browsing interstitials to chrome://interstitials for in browser testing (Closed)
Patch Set: Merge and fix display_options 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
« no previous file with comments | « chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/security_interstitials/core/browser/resources/interstitial_ui.html
diff --git a/components/security_interstitials/core/browser/resources/interstitial_ui.html b/components/security_interstitials/core/browser/resources/interstitial_ui.html
index 2528e27d380c774b68aa9e5ec1a5a56d2ec32456..a759c82be283aad2c6795f7aa2ed4e372148bd4f 100644
--- a/components/security_interstitials/core/browser/resources/interstitial_ui.html
+++ b/components/security_interstitials/core/browser/resources/interstitial_ui.html
@@ -1,61 +1,97 @@
<html>
<head>
<title>Interstitials</title>
+ <meta name="viewport" content="width=device-width">
+ <style>
+ body {
+ font-family: sans-serif;
+ line-height: 1.4;
+ }
+
+ h3, h4 {
+ margin-bottom: 0.5em;
+ }
+
+ ul {
+ margin-top: 0.5em;
+ }
+ </style>
</head>
<body>
<h2>Choose an interstitial</h2>
<h3>SSL</h3>
- <div>
- <a href="ssl?overridable=1&strict_enforcement=0">example.com (generic, overridable)</a>
- </div>
- <div>
- <a href="ssl?overridable=0&strict_enforcement=0">
- example.com (generic, non-overridable)
- </a>
- </div>
- <div>
- <a href="ssl?overridable=0&strict_enforcement=1">
- example.com (HSTS, non-overridable)
- </a>
- </div>
- <div>
- <a href="clock?clock_manipulation=2">Clock is ahead</a>
- </div>
- <div>
- <a href="clock?clock_manipulation=-2">Clock is behind</a>
- </div>
+ <ul>
+ <li>
+ <a href="ssl?overridable=1&strict_enforcement=0">example.com (generic, overridable)</a>
+ </li>
+ <li>
+ <a href="ssl?overridable=0&strict_enforcement=0">
+ example.com (generic, non-overridable)
+ </a>
+ </li>
+ <li>
+ <a href="ssl?overridable=0&strict_enforcement=1">
+ example.com (HSTS, non-overridable)
+ </a>
+ </li>
+ <li>
+ <a href="clock?clock_manipulation=2">Clock is ahead</a>
+ </li>
+ <li>
+ <a href="clock?clock_manipulation=-2">Clock is behind</a>
+ </li>
+ </ul>
<h3>SafeBrowsing</h3>
- <div>
- <a href="safebrowsing?type=malware">Malware</a>
- </div>
- <div>
- <a href="safebrowsing?type=phishing">Phishing</a>
- </div>
- <div>
- <a href="safebrowsing?type=clientside_malware">Client Side Malware</a>
- </div>
- <div>
- <a href="safebrowsing?type=clientside_phishing">Client Side Phishing</a>
- </div>
+ <h4>Loud</h4>
+ <ul>
+ <li>
+ <a href="safebrowsing?type=malware">Malware</a>
+ </li>
+ <li>
+ <a href="safebrowsing?type=phishing">Phishing</a>
+ </li>
+ <li>
+ <a href="safebrowsing?type=clientside_malware">Client Side Malware</a>
+ </li>
+ <li>
+ <a href="safebrowsing?type=clientside_phishing">Client Side Phishing</a>
+ </li>
+ </ul>
+ <h4>Quiet (WebView)</h4>
+ <ul>
+ <li>
+ <a href="quietsafebrowsing?type=malware">Malware</a>
+ </li>
+ <li>
+ <a href="quietsafebrowsing?type=phishing">Phishing</a>
+ </li>
+ <li>
+ <a href="quietsafebrowsing?type=giant">Giant</a>
+ </li>
+ </ul>
<h3>Captive Portal</h3>
- <div>
- <a href="captiveportal">Captive Portal, Non-WiFi</a>
- </div>
- <div>
- <a href="captiveportal?is_wifi=1">
- Captive Portal, WiFi
- </a>
- </div>
- <div>
- <a href="captiveportal?is_wifi=1&wifi_name=CoffeeShopWiFi">
- Captive Portal, WiFi with network name "CoffeeShopWiFi"
- </a>
- </div>
+ <ul>
+ <li>
+ <a href="captiveportal">Captive Portal, Non-WiFi</a>
+ </li>
+ <li>
+ <a href="captiveportal?is_wifi=1">
+ Captive Portal, WiFi
+ </a>
+ </li>
+ <li>
+ <a href="captiveportal?is_wifi=1&wifi_name=CoffeeShopWiFi">
+ Captive Portal, WiFi with network name "CoffeeShopWiFi"
+ </a>
+ </li>
+ </ul>
<h3>Supervised Users</h3>
- <div>
- <a href="supervised_user">
- Supervised User
- </a>
- </div>>
+ <ul>
+ <li>
+ <a href="supervised_user">
+ Supervised User
+ </a>
+ </li>
+ </ul>
</body>
</html>
« no previous file with comments | « chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698