Chromium Code Reviews| Index: chrome/browser/ui/gtk/extensions/shell_window_gtk.h |
| diff --git a/chrome/browser/ui/gtk/extensions/shell_window_gtk.h b/chrome/browser/ui/gtk/extensions/shell_window_gtk.h |
| index 56b6e235041d04051bc30bb3f34f00dd00a1beb8..0775939943a19cf8901d2f91ec372e9af67c236d 100644 |
| --- a/chrome/browser/ui/gtk/extensions/shell_window_gtk.h |
| +++ b/chrome/browser/ui/gtk/extensions/shell_window_gtk.h |
| @@ -12,6 +12,7 @@ |
| #include "ui/base/gtk/gtk_signal.h" |
| #include "ui/base/x/active_window_watcher_x_observer.h" |
| #include "ui/gfx/rect.h" |
| +#include "ui/gfx/scoped_sk_region.h" |
| class Profile; |
| @@ -59,12 +60,18 @@ class ShellWindowGtk : public ShellWindow, |
| virtual ~ShellWindowGtk(); |
| + // content::WebContentsDelegate implementation. |
| + virtual void UpdateDraggableRegions( |
| + const std::vector<content::DraggableRegion>& regions) OVERRIDE; |
|
jeremya
2012/08/08 04:38:37
Technically this isn't content::WebContentsDelegat
|
| + |
| CHROMEGTK_CALLBACK_1(ShellWindowGtk, gboolean, OnMainWindowDeleteEvent, |
| GdkEvent*); |
| CHROMEGTK_CALLBACK_1(ShellWindowGtk, gboolean, OnConfigure, |
| GdkEventConfigure*); |
| CHROMEGTK_CALLBACK_1(ShellWindowGtk, gboolean, OnWindowState, |
| GdkEventWindowState*); |
| + CHROMEGTK_CALLBACK_1(ShellWindowGtk, gboolean, OnButtonPress, |
| + GdkEventButton*); |
| GtkWindow* window_; |
| GdkWindowState state_; |
| @@ -84,6 +91,9 @@ class ShellWindowGtk : public ShellWindow, |
| // fullscreen, however: some WMs don't support fullscreen. |
| bool content_thinks_its_fullscreen_; |
| + gfx::ScopedSkRegion draggable_region_; |
|
Evan Stade
2012/08/07 23:20:58
I don't even know why this type exists. Why not ju
|
| + bool frameless_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk); |
| }; |