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

Unified Diff: ash/wm/stacking_controller.cc

Issue 10456045: Refactored mobile activation engine outside of WebUI handler in order to expose its state to other … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 6 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: ash/wm/stacking_controller.cc
diff --git a/ash/wm/stacking_controller.cc b/ash/wm/stacking_controller.cc
index d8360a31c1644ddf9d2447ccfec17ede41891fcb..d13678e2d987b6d9f9405494996a9178a8623057 100644
--- a/ash/wm/stacking_controller.cc
+++ b/ash/wm/stacking_controller.cc
@@ -28,8 +28,7 @@ aura::Window* GetContainerForWindow(aura::Window* window) {
}
bool IsSystemModal(aura::Window* window) {
- return window->transient_parent() &&
- window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_SYSTEM;
+ return window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_SYSTEM;
}
bool IsWindowModal(aura::Window* window) {

Powered by Google App Engine
This is Rietveld 408576698