diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 23:31:59 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 23:31:59 +0000 |
commit | 0b609eee74dc548e3f63aa328b037ca0c1bef2da (patch) | |
tree | 9ec3357ee987a263fc3bd7bbc906cf537b5bc406 /views/widget/native_widget.h | |
parent | a40f6e9f4973f79a1c2682ddac655592fa44884d (diff) | |
download | chromium_src-0b609eee74dc548e3f63aa328b037ca0c1bef2da.zip chromium_src-0b609eee74dc548e3f63aa328b037ca0c1bef2da.tar.gz chromium_src-0b609eee74dc548e3f63aa328b037ca0c1bef2da.tar.bz2 |
Make more methods on Widget non-virtual and move to NativeWidget
BUG=72040
TEST=none
Review URL: http://codereview.chromium.org/6623025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/native_widget.h')
-rw-r--r-- | views/widget/native_widget.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/views/widget/native_widget.h b/views/widget/native_widget.h index 8587625..fadad34 100644 --- a/views/widget/native_widget.h +++ b/views/widget/native_widget.h @@ -67,6 +67,18 @@ class NativeWidget { // See method documentation in Widget: virtual gfx::Rect GetWindowScreenBounds() const = 0; virtual gfx::Rect GetClientAreaScreenBounds() const = 0; + virtual void SetBounds(const gfx::Rect& bounds) = 0; + virtual void MoveAbove(Widget* widget) = 0; + virtual void SetShape(gfx::NativeRegion shape) = 0; + virtual void Close() = 0; + virtual void CloseNow() = 0; + virtual void Show() = 0; + virtual void Hide() = 0; + virtual void SetOpacity(unsigned char opacity) = 0; + virtual void SetAlwaysOnTop(bool on_top) = 0; + virtual bool IsVisible() const = 0; + virtual bool IsActive() const = 0; + virtual bool IsAccessibleWidget() const = 0; virtual bool ContainsNativeView(gfx::NativeView native_view) const = 0; virtual void RunShellDrag(View* view, const ui::OSExchangeData& data, |