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

Unified Diff: ash/shell.h

Issue 2127263002: Keep the SystemModalContainerEventHandler added (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ignore touch/pointer events on Arc windows if modal open Created 4 years, 5 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 | components/exo/pointer.cc » ('j') | components/exo/pointer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index 7b109fe85c8f754975714256635c52853da275ea..c5484184e1acc91906f9a773934f46aa627e76a3 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -527,6 +527,9 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
GPUSupport* gpu_support() { return gpu_support_.get(); }
+ // SystemModalContainerEventFilterDelegate:
+ bool CanWindowReceiveEvents(aura::Window* window) override;
+
private:
FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor);
FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors);
@@ -553,9 +556,6 @@ class ASH_EXPORT Shell : public SystemModalContainerEventFilterDelegate,
// Prepares the shelf to be deleted.
void ShutdownShelf();
- // ash::SystemModalContainerEventFilterDelegate overrides:
- bool CanWindowReceiveEvents(aura::Window* window) override;
-
// Overridden from ui::EventTarget:
bool CanAcceptEvent(const ui::Event& event) override;
EventTarget* GetParentTarget() override;
« no previous file with comments | « no previous file | components/exo/pointer.cc » ('j') | components/exo/pointer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698