Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
index c3d56b2f87072f8be06cf4fdb3300cc429fa9ebf..bc628fc9660f07126793e58875fc42df0ba46747 100644 |
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
@@ -645,6 +645,10 @@ void DesktopNativeWidgetAura::SetAlwaysOnTop(bool always_on_top) { |
desktop_root_window_host_->SetAlwaysOnTop(always_on_top); |
} |
+bool DesktopNativeWidgetAura::IsAlwaysOnTop() const { |
+ return window_ && desktop_root_window_host_->IsAlwaysOnTop(); |
+} |
+ |
void DesktopNativeWidgetAura::Maximize() { |
if (window_) |
desktop_root_window_host_->Maximize(); |