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

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

Issue 2121303003: Remove the "Settings" packaged app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 ecff73693e374ae249bb1587b4af55e121e730b7..9700c7420b3ceeb2fc3e04e37b8ce740b3da6c80 100644
--- a/chrome/browser/resources/options/options_page.js
+++ b/chrome/browser/resources/options/options_page.js
@@ -85,24 +85,6 @@ cr.define('options', function() {
'enablePepperFlashSettings');
}
},
-
- /**
- * Sets whether Settings is shown as a standalone page in a window for the
- * app launcher settings "app".
- * @param {boolean} isSettingsApp Whether this page is shown standalone.
- */
- setIsSettingsApp: function(isSettingsApp) {
- document.documentElement.classList.toggle('settings-app', isSettingsApp);
- },
-
- /**
- * Returns true if Settings is shown as an "app" (in a window by itself)
- * for the app launcher settings "app".
- * @return {boolean} Whether this page is shown standalone.
- */
- isSettingsApp: function() {
- return document.documentElement.classList.contains('settings-app');
- },
};
// Export
« no previous file with comments | « chrome/browser/resources/options/options_bundle.js ('k') | chrome/browser/resources/options/options_settings_app.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698