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

Unified Diff: chrome/browser/resources/options2/alert_overlay.js

Issue 9668054: Settings: Fix closing the alert overlay opened from other overlays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options2/alert_overlay.js
diff --git a/chrome/browser/resources/options2/alert_overlay.js b/chrome/browser/resources/options2/alert_overlay.js
index a31201031284f89a70681e391ec628b2074e5db3..dbfd4098d3bf493f1395e96090ad830e86a61f6f 100644
--- a/chrome/browser/resources/options2/alert_overlay.js
+++ b/chrome/browser/resources/options2/alert_overlay.js
@@ -44,6 +44,14 @@ cr.define('options', function() {
};
},
+ /** @inheritDoc */
+ get nestingLevel() {
+ // AlertOverlay is special in that it is not tied to one page or overlay.
+ // Set the nesting level arbitrarily high so as to always be recognized as
+ // the top-most visible page.
+ return 99;
+ },
+
/**
* Handle the 'ok' button. Clear the overlay and call the ok callback if
* available.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698