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

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

Issue 5790001: Remove parent window (dangling in background) for chrome://settings when invoked at OOBE screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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
« no previous file with comments | « chrome/browser/resources/options/options_page.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8044cfd15f59d4c7020201d39650091726e1f795..aa6941505929e5eea9a18cc3ed19a42fd3f73e2d 100644
--- a/chrome/browser/resources/options/options_page.js
+++ b/chrome/browser/resources/options/options_page.js
@@ -70,7 +70,7 @@ cr.define('options', function() {
for (var name in this.registeredSubPages) {
var pageInfo = this.registeredSubPages[name];
var match = name == pageName;
- if (match)
+ if (match && document.documentElement.getAttribute('hide-menu') != 'true')
pageInfo.parentPage.visible = true;
pageInfo.page.visible = match;
}
« no previous file with comments | « chrome/browser/resources/options/options_page.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698