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

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

Issue 11048045: Allow settings dialog to be opened via the app launcher, as a packaged app. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: stray GetSiteInstance in DLOG Created 8 years, 2 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/settings_app/settings_app.js
diff --git a/chrome/browser/resources/settings_app/settings_app.js b/chrome/browser/resources/settings_app/settings_app.js
new file mode 100644
index 0000000000000000000000000000000000000000..afe264ceec839ed3b758560ed26dcd7836ef368c
--- /dev/null
+++ b/chrome/browser/resources/settings_app/settings_app.js
@@ -0,0 +1,6 @@
+chrome.app.runtime.onLaunched.addListener(function() {
+ chrome.app.window.create('chrome://settings-frame/settings', {
+ 'height': 550,
+ 'width': 640,
+ });
+});

Powered by Google App Engine
This is Rietveld 408576698