Index: views/widget/widget_gtk.h |
diff --git a/views/widget/widget_gtk.h b/views/widget/widget_gtk.h |
index 02d939d77f9a312e0a99a71d6dfb3ac2ec8e681a..4135c86146fb111385c3cb2f179edb858b304189 100644 |
--- a/views/widget/widget_gtk.h |
+++ b/views/widget/widget_gtk.h |
@@ -208,6 +208,9 @@ class WidgetGtk |
// Returns true if it's handled by the focus manager. |
bool HandleKeyboardEvent(GdkEventKey* event); |
+ // Returns the view::Event::flags for a GdkEventButton. |
+ static int GetFlagsForEventButton(const GdkEventButton& event); |
+ |
protected: |
// If widget containes another widget, translates event coordinates to the |
// contained widget's coordinates, else returns original event coordinates. |
@@ -229,9 +232,6 @@ class WidgetGtk |
return false; |
} |
- // Returns the view::Event::flags for a GdkEventButton. |
- static int GetFlagsForEventButton(const GdkEventButton& event); |
- |
// Event handlers: |
CHROMEGTK_CALLBACK_1(WidgetGtk, gboolean, OnButtonPress, GdkEventButton*); |
CHROMEGTK_CALLBACK_1(WidgetGtk, void, OnSizeRequest, GtkRequisition*); |