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

Unified Diff: chrome/browser/resources/managed_mode_block_interstitial.html

Issue 14066003: Don't allow elevation for CHROME_OS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bug in set_elevated function. Created 7 years, 8 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: chrome/browser/resources/managed_mode_block_interstitial.html
diff --git a/chrome/browser/resources/managed_mode_block_interstitial.html b/chrome/browser/resources/managed_mode_block_interstitial.html
index 6fff8b5000b3414c65a6db8565debd14542c5608..2f7471b14daa54aaf1b4c8944c1c6ac7174f8b1c 100644
--- a/chrome/browser/resources/managed_mode_block_interstitial.html
+++ b/chrome/browser/resources/managed_mode_block_interstitial.html
@@ -4,6 +4,7 @@
<title i18n-content="blockPageTitle"></title>
<link rel="stylesheet" href="../../../ui/webui/resources/css/chrome_shared.css">
<link rel="stylesheet" href="managed_mode_block_interstitial.css">
+ <script src="../../../ui/webui/resources/js/cr.js"></script>
<script src="../../../ui/webui/resources/js/load_time_data.js"></script>
<script src="../../../ui/webui/resources/js/util.js"></script>
<script src="managed_mode_block_interstitial.js"></script>
@@ -20,9 +21,12 @@
i18n-content="contentPacksSectionButton" disabled>
</button>
</div>
- <div id="footer-message">
- <span id="bypass-block-message" i18n-content="bypassBlockMessage"></span>
- <button id="bypass-block-button" i18n-content="bypassBlockButton"></button>
- </div>
+ <if expr="not pp_ifdef('chromeos')">
+ <div id="footer-message">
+ <span id="bypass-block-message" i18n-content="bypassBlockMessage"></span>
+ <button id="bypass-block-button" i18n-content="bypassBlockButton">
+ </button>
+ </div>
+ </if>
</body>
</html>
« no previous file with comments | « chrome/browser/resources/history/history.js ('k') | chrome/browser/resources/managed_mode_block_interstitial.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698