OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "ui/aura/client/activation_change_observer.h" | 9 #include "ui/aura/client/activation_change_observer.h" |
10 #include "ui/aura/client/activation_delegate.h" | 10 #include "ui/aura/client/activation_delegate.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 // Ensures that the correct window is activated/deactivated based on whether | 90 // Ensures that the correct window is activated/deactivated based on whether |
91 // we are being activated/deactivated. | 91 // we are being activated/deactivated. |
92 void HandleActivationChanged(bool active); | 92 void HandleActivationChanged(bool active); |
93 | 93 |
94 protected: | 94 protected: |
95 // Overridden from internal::NativeWidgetPrivate: | 95 // Overridden from internal::NativeWidgetPrivate: |
96 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; | 96 virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; |
97 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | 97 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; |
98 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 98 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
| 99 virtual bool ShouldWindowContentsBeTransparent() const OVERRIDE; |
99 virtual void FrameTypeChanged() OVERRIDE; | 100 virtual void FrameTypeChanged() OVERRIDE; |
100 virtual Widget* GetWidget() OVERRIDE; | 101 virtual Widget* GetWidget() OVERRIDE; |
101 virtual const Widget* GetWidget() const OVERRIDE; | 102 virtual const Widget* GetWidget() const OVERRIDE; |
102 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 103 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
103 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 104 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
104 virtual Widget* GetTopLevelWidget() OVERRIDE; | 105 virtual Widget* GetTopLevelWidget() OVERRIDE; |
105 virtual const ui::Compositor* GetCompositor() const OVERRIDE; | 106 virtual const ui::Compositor* GetCompositor() const OVERRIDE; |
106 virtual ui::Compositor* GetCompositor() OVERRIDE; | 107 virtual ui::Compositor* GetCompositor() OVERRIDE; |
107 virtual ui::Layer* GetLayer() OVERRIDE; | 108 virtual ui::Layer* GetLayer() OVERRIDE; |
108 virtual void ReorderNativeViews() OVERRIDE; | 109 virtual void ReorderNativeViews() OVERRIDE; |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 | 316 |
316 // See class documentation for Widget in widget.h for a note about type. | 317 // See class documentation for Widget in widget.h for a note about type. |
317 Widget::InitParams::Type widget_type_; | 318 Widget::InitParams::Type widget_type_; |
318 | 319 |
319 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 320 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
320 }; | 321 }; |
321 | 322 |
322 } // namespace views | 323 } // namespace views |
323 | 324 |
324 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 325 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |