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

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

Issue 12090062: Enable profile switching for standalone App Launcher via the Settings App. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable tests on aura Created 7 years, 10 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_page.js
diff --git a/chrome/browser/resources/options/options_page.js b/chrome/browser/resources/options/options_page.js
index 958e06efa66cfaf55d1a7f6eca62497b671fad6a..af081c7e1d1d2bb9b13742f335a1ccc99e8fc33b 100644
--- a/chrome/browser/resources/options/options_page.js
+++ b/chrome/browser/resources/options/options_page.js
@@ -718,6 +718,14 @@ cr.define('options', function() {
}
};
+ OptionsPage.setIsSettingsApp = function() {
+ document.documentElement.classList.add('settings-app');
+ };
+
+ OptionsPage.isSettingsApp = function() {
+ return document.documentElement.classList.contains('settings-app');
+ };
+
OptionsPage.prototype = {
__proto__: cr.EventTarget.prototype,
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/resources/options/options_settings_app.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698