diff options
Diffstat (limited to 'chrome/views/widget/widget_win.cc')
-rw-r--r-- | chrome/views/widget/widget_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/views/widget/widget_win.cc b/chrome/views/widget/widget_win.cc index 7f64aea..ddf8db8 100644 --- a/chrome/views/widget/widget_win.cc +++ b/chrome/views/widget/widget_win.cc @@ -300,11 +300,11 @@ RootView* WidgetWin::GetRootView() { return root_view_.get(); } -bool WidgetWin::IsVisible() { +bool WidgetWin::IsVisible() const { return !!::IsWindowVisible(GetNativeView()); } -bool WidgetWin::IsActive() { +bool WidgetWin::IsActive() const { return win_util::IsWindowActive(GetNativeView()); } |