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

Unified Diff: ash/root_window_controller.h

Issue 2070163002: Fix "modal isn't modal in multi displays" issue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.h
diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h
index 535f7d1e4840381c0d3c268aea4320dc7cb9e7e7..1b19fc6bd93d3a049c1545b00db93fc1966e0064 100644
--- a/ash/root_window_controller.h
+++ b/ash/root_window_controller.h
@@ -168,6 +168,9 @@ class ASH_EXPORT RootWindowController : public ShellObserver {
void ShowContextMenu(const gfx::Point& location_in_screen,
ui::MenuSourceType source_type);
+ // True if the window can receive events on this root window.
+ bool CanWindowReceiveEvents(aura::Window* window);
+
// Returns the layout-manager for the appropriate modal-container. If the
// window is inside the lockscreen modal container, then the layout manager
// for that is returned. Otherwise the layout manager for the default modal
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698