summaryrefslogtreecommitdiffstats
path: root/views/window/window_gtk.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-04 05:42:11 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-04 05:42:11 +0000
commit0e7992cbfcf2922eb42cc85a4ccc8a9dfce2d252 (patch)
treea023736d890db05978a3403d4b010c2e948a72c3 /views/window/window_gtk.h
parent08df0f2fc34a4abc51e7d5f5f37bcdaaef82cab6 (diff)
downloadchromium_src-0e7992cbfcf2922eb42cc85a4ccc8a9dfce2d252.zip
chromium_src-0e7992cbfcf2922eb42cc85a4ccc8a9dfce2d252.tar.gz
chromium_src-0e7992cbfcf2922eb42cc85a4ccc8a9dfce2d252.tar.bz2
Allow WindowGtks to be moved and sized when the mouse is over the caption or sizing border.
BUG=none TEST=none Review URL: http://codereview.chromium.org/118218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/window_gtk.h')
-rw-r--r--views/window/window_gtk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/window/window_gtk.h b/views/window/window_gtk.h
index 94cca05..5012718 100644
--- a/views/window/window_gtk.h
+++ b/views/window/window_gtk.h
@@ -62,6 +62,8 @@ class WindowGtk : public WidgetGtk, public Window {
virtual const Window* AsWindow() const { return this; }
// Overridden from WidgetGtk:
+ virtual gboolean OnButtonPress(GtkWidget* widget, GdkEventButton* event);
+ virtual gboolean OnMotionNotify(GtkWidget* widget, GdkEventMotion* event);
virtual void OnSizeAllocate(GtkWidget* widget, GtkAllocation* allocation);
protected: