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

Unified Diff: ash/wm/window_modality_controller.h

Issue 10763004: ash: Fix touch-event handling for modal windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix-win-aura Created 8 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 | ash/wm/window_modality_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_modality_controller.h
diff --git a/ash/wm/window_modality_controller.h b/ash/wm/window_modality_controller.h
index 340a06925cc3d6f01bb00ba940fb44e878fa9649..befd144426a14c4454393424a89d4b88fea71741 100644
--- a/ash/wm/window_modality_controller.h
+++ b/ash/wm/window_modality_controller.h
@@ -14,6 +14,10 @@
#include "ui/aura/event_filter.h"
#include "ui/aura/window_observer.h"
+namespace aura {
+class LocatedEvent;
+}
+
namespace ash {
namespace wm {
@@ -54,6 +58,11 @@ class WindowModalityController : public aura::EventFilter,
virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
private:
+ // Processes a mouse/touch event, and returns true if the event should be
+ // consumed.
+ bool ProcessLocatedEvent(aura::Window* target,
+ aura::LocatedEvent* event);
+
std::vector<aura::Window*> windows_;
DISALLOW_COPY_AND_ASSIGN(WindowModalityController);
« no previous file with comments | « no previous file | ash/wm/window_modality_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698