diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-26 19:04:46 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-26 19:04:46 +0000 |
commit | b6b19e26bb00c8e8bc4ab91b535520352fb009f9 (patch) | |
tree | cac19c6ed6138c8a3d80d90558a0f328b558101f /views/widget/widget.cc | |
parent | 568f11038c851e25254b364c659504edc8a35d1d (diff) | |
download | chromium_src-b6b19e26bb00c8e8bc4ab91b535520352fb009f9.zip chromium_src-b6b19e26bb00c8e8bc4ab91b535520352fb009f9.tar.gz chromium_src-b6b19e26bb00c8e8bc4ab91b535520352fb009f9.tar.bz2 |
Rough cut at window activation.
http://crbug.com/84070
TEST=none
Review URL: http://codereview.chromium.org/7071017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86869 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget.cc')
-rw-r--r-- | views/widget/widget.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/widget/widget.cc b/views/widget/widget.cc index ad537f1..8b4e793 100644 --- a/views/widget/widget.cc +++ b/views/widget/widget.cc @@ -213,6 +213,10 @@ void Widget::Hide() { native_widget_->Hide(); } +bool Widget::IsActive() const { + return native_widget_->IsActive(); +} + void Widget::SetOpacity(unsigned char opacity) { native_widget_->SetOpacity(opacity); } @@ -233,10 +237,6 @@ bool Widget::IsVisible() const { return native_widget_->IsVisible(); } -bool Widget::IsActive() const { - return native_widget_->IsActive(); -} - bool Widget::IsAccessibleWidget() const { return native_widget_->IsAccessibleWidget(); } |