Index: ui/aura/event.h |
diff --git a/ui/aura/event.h b/ui/aura/event.h |
index da2788524d0154170086c79819dd470c7e8d14d0..057b269eca6756f727725f045cadc51c3410c2a8 100644 |
--- a/ui/aura/event.h |
+++ b/ui/aura/event.h |
@@ -171,6 +171,9 @@ class AURA_EXPORT MouseEvent : public LocatedEvent { |
// Set the click count for a mousedown message. Can be 1, 2 or 3. |
void SetClickCount(int click_count); |
+ // Returns the type of this event has location or not. |
+ bool HasLocation() { return type() != ui::ET_MOUSE_CAPTURE_CHANGED; } |
sky
2012/05/16 15:40:48
I don't think its worth adding this.
yoshiki
2012/05/17 17:19:32
Done.
|
+ |
private: |
gfx::Point root_location_; |