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

Unified Diff: chrome/browser/resources/options/options.js

Issue 2002253004: Add warning message when disabling ARC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix css copy detection Created 4 years, 6 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/options/options.js
diff --git a/chrome/browser/resources/options/options.js b/chrome/browser/resources/options/options.js
index efbf7db5af092c3da94dced468f03d574aabec4e..9387495dd9a9bc72845c2afe84d9587dda455d42 100644
--- a/chrome/browser/resources/options/options.js
+++ b/chrome/browser/resources/options/options.js
@@ -228,6 +228,18 @@ function load() {
[$('storage-manager-button')]);
PageManager.registerOverlay(ThirdPartyImeConfirmOverlay.getInstance(),
LanguageOptions.getInstance());
+ PageManager.registerOverlay(
+ new ConfirmDialog(
+ 'arcOptOutConfirm',
+ loadTimeData.getString('arcOptOutConfirmOverlayTabTitle'),
+ 'arc-opt-out-confirm-overlay',
+ /** @type {HTMLButtonElement} */($('arc-opt-out-confirm-ok')),
+ /** @type {HTMLButtonElement} */($('arc-opt-out-confirm-cancel')),
+ $('android-apps-enabled')['pref'],
+ $('android-apps-enabled')['metric'],
+ undefined,
+ false),
+ BrowserOptions.getInstance());
}
if (!cr.isWindows && !cr.isMac) {
« no previous file with comments | « chrome/browser/resources/options/options.html ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698