Chromium Code Reviews| Index: chrome/browser/ui/gtk/constrained_window_gtk.h |
| diff --git a/chrome/browser/ui/gtk/constrained_window_gtk.h b/chrome/browser/ui/gtk/constrained_window_gtk.h |
| index 90cd2eaa1498610676e37a590485bbaea4c28a58..e31f7f7e2509050d31b3a64096a82a9fdb1a6b8f 100644 |
| --- a/chrome/browser/ui/gtk/constrained_window_gtk.h |
| +++ b/chrome/browser/ui/gtk/constrained_window_gtk.h |
| @@ -22,6 +22,10 @@ class TabContentsViewViews; |
| class TabContentsViewGtk; |
| #endif |
| +namespace gfx { |
| +class Insets; |
| +} |
| + |
| class ConstrainedWindowGtkDelegate { |
| public: |
| // Returns the widget that will be put in the constrained window's container. |
| @@ -36,6 +40,8 @@ class ConstrainedWindowGtkDelegate { |
| virtual bool GetBackgroundColor(GdkColor* color); |
| + virtual gfx::Insets GetInsets() const; |
|
Evan Stade
2011/03/09 22:57:21
can we make this instead return a boolean, i.e. Sh
xiyuan
2011/03/10 17:27:05
Done.
|
| + |
| protected: |
| virtual ~ConstrainedWindowGtkDelegate(); |
| }; |