Index: ui/base/events.h |
diff --git a/ui/base/events.h b/ui/base/events.h |
index 2e158aeb79c8ca96e110bd2796d073792c08034d..2350badcd73f95f801703bcd021bbf49c4130c64 100644 |
--- a/ui/base/events.h |
+++ b/ui/base/events.h |
@@ -156,6 +156,10 @@ UI_EXPORT KeyboardCode KeyboardCodeFromNative( |
// Returns true if the message is a mouse event. |
UI_EXPORT bool IsMouseEvent(const base::NativeEvent& native_event); |
+// Returns the flags of the button that changed during a press/release. |
+UI_EXPORT int GetChangedMouseButtonFlagsFromNative( |
+ const base::NativeEvent& native_event); |
+ |
// Gets the mouse wheel offset from a native event. |
UI_EXPORT int GetMouseWheelOffset(const base::NativeEvent& native_event); |