diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-08 23:23:05 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-08 23:23:05 +0000 |
commit | 37cd3a96b55aac1dad9016c05e78b5983972f985 (patch) | |
tree | 1159bb8897fa21faeadde942163412736889ead9 /views/widget/widget.h | |
parent | 4d4c0b94960366979943dbe4e3c8880ce80dbdef (diff) | |
download | chromium_src-37cd3a96b55aac1dad9016c05e78b5983972f985.zip chromium_src-37cd3a96b55aac1dad9016c05e78b5983972f985.tar.gz chromium_src-37cd3a96b55aac1dad9016c05e78b5983972f985.tar.bz2 |
First part of tab overview. It isn't wired up, nor is it complete, but
it's a good enough stage that I want to check it in.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/119329
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17906 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget.h')
-rw-r--r-- | views/widget/widget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h index 14a61a0..1dabf08 100644 --- a/views/widget/widget.h +++ b/views/widget/widget.h @@ -10,6 +10,7 @@ class ThemeProvider; namespace gfx { +class Path; class Rect; } @@ -49,6 +50,9 @@ class Widget { // Sizes and/or places the widget to the specified bounds, size or position. virtual void SetBounds(const gfx::Rect& bounds) = 0; + // Sets a shape on the widget. + virtual void SetShape(const gfx::Path& shape) = 0; + // Hides the widget then closes it after a return to the message loop. virtual void Close() = 0; |