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); |