Chromium Code Reviews| Index: ui/views/widget/widget.cc |
| diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc |
| index 9261c7227d5f448a5f5083338c3b471e94275ff3..e7df069c18ee987aea95735addc1a72b52d13984 100644 |
| --- a/ui/views/widget/widget.cc |
| +++ b/ui/views/widget/widget.cc |
| @@ -658,6 +658,10 @@ void Widget::SetAlwaysOnTop(bool on_top) { |
| native_widget_->SetAlwaysOnTop(on_top); |
| } |
| +bool Widget::IsAlwaysOnTop() const { |
| + return native_widget_->IsAlwaysOnTop(); |
|
sky
2013/10/08 15:46:10
Can we make widget cache the value of SetAlwaysOnT
tmdiep
2013/10/09 02:15:04
In Patch 4 I've retrieved and cached the value fro
sky
2013/10/09 13:23:38
Yes. I mean cache the value from InitParams and Se
tmdiep
2013/10/10 02:35:08
I'm inclined to query IsAlwaysOnTop() from the nat
|
| +} |
| + |
| void Widget::Maximize() { |
| native_widget_->Maximize(); |
| } |