Chromium Code Reviews| Index: ash/aura/wm_window_aura.cc |
| diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc |
| index e4dd197759e5cb574ccbc00d6dd6f9cbbbd2f347..81d3c647533c776c3376f25bcf8606f85ff6258d 100644 |
| --- a/ash/aura/wm_window_aura.cc |
| +++ b/ash/aura/wm_window_aura.cc |
| @@ -195,6 +195,14 @@ bool WmWindowAura::IsBubble() { |
| return widget->widget_delegate()->AsBubbleDialogDelegate() != nullptr; |
| } |
| +bool WmWindowAura::GetLayerTargetVisibility() { |
|
James Cook
2016/10/04 23:16:04
match header file order
sky
2016/10/06 17:57:06
Done.
|
| + return GetLayer()->GetTargetVisibility(); |
| +} |
| + |
| +bool WmWindowAura::GetLayerVisible() { |
| + return GetLayer()->visible(); |
| +} |
| + |
| ui::Layer* WmWindowAura::GetLayer() { |
| return window_->layer(); |
| } |
| @@ -626,6 +634,10 @@ void WmWindowAura::StackChildBelow(WmWindow* child, WmWindow* target) { |
| window_->StackChildBelow(GetAuraWindow(child), GetAuraWindow(target)); |
| } |
| +void WmWindowAura::SetPinned(bool trusted) { |
| + wm::PinWindow(window_, trusted); |
| +} |
| + |
| void WmWindowAura::SetAlwaysOnTop(bool value) { |
| window_->SetProperty(aura::client::kAlwaysOnTopKey, value); |
| } |