diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 05:05:48 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 05:05:48 +0000 |
commit | a3406979cd56b42ec58244e6382ca77c2c93205d (patch) | |
tree | 76d2c688df49a6d3dc3d182c86b15ffe5ba9cf8e /views/widget/widget.h | |
parent | 1111563020b92fc9f6943e0b5c00f66de2f57082 (diff) | |
download | chromium_src-a3406979cd56b42ec58244e6382ca77c2c93205d.zip chromium_src-a3406979cd56b42ec58244e6382ca77c2c93205d.tar.gz chromium_src-a3406979cd56b42ec58244e6382ca77c2c93205d.tar.bz2 |
Attempt 2 at:
Gets find bar animation/clipping to work on views/gtk.
The only difference between this and the first version is fixing an
include in extension_host that was triggering mac to build views, as
well as an extraneous SetSlideDuration I had used for testing.
BUG=none
TEST=none
TBR=ben
Review URL: http://codereview.chromium.org/342116
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30942 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget.h')
-rw-r--r-- | views/widget/widget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h index 7b08737..357f07a 100644 --- a/views/widget/widget.h +++ b/views/widget/widget.h @@ -96,8 +96,8 @@ class Widget { // Places the widget in front of the specified widget in z-order. virtual void MoveAbove(Widget* widget) = 0; - // Sets a shape on the widget. - virtual void SetShape(const gfx::Path& shape) = 0; + // Sets a shape on the widget. This takes ownership of shape. + virtual void SetShape(gfx::NativeRegion shape) = 0; // Hides the widget then closes it after a return to the message loop. virtual void Close() = 0; |