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_WINDOW_TREE_HOST_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
7 | 7 |
8 #include "ui/aura/window_tree_host.h" | 8 #include "ui/aura/window_tree_host.h" |
9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" | 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 97 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
98 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, | 98 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
99 const gfx::ImageSkia& app_icon) OVERRIDE; | 99 const gfx::ImageSkia& app_icon) OVERRIDE; |
100 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; | 100 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; |
101 virtual void FlashFrame(bool flash_frame) OVERRIDE; | 101 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
102 virtual void OnRootViewLayout() OVERRIDE; | 102 virtual void OnRootViewLayout() OVERRIDE; |
103 virtual void OnNativeWidgetFocus() OVERRIDE; | 103 virtual void OnNativeWidgetFocus() OVERRIDE; |
104 virtual void OnNativeWidgetBlur() OVERRIDE; | 104 virtual void OnNativeWidgetBlur() OVERRIDE; |
105 virtual bool IsAnimatingClosed() const OVERRIDE; | 105 virtual bool IsAnimatingClosed() const OVERRIDE; |
106 virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE; | 106 virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE; |
| 107 virtual void SizeConstraintsChanged() OVERRIDE; |
107 | 108 |
108 // Overridden from aura::WindowTreeHost: | 109 // Overridden from aura::WindowTreeHost: |
109 virtual ui::EventSource* GetEventSource() OVERRIDE; | 110 virtual ui::EventSource* GetEventSource() OVERRIDE; |
110 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 111 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
111 virtual void Show() OVERRIDE; | 112 virtual void Show() OVERRIDE; |
112 virtual void Hide() OVERRIDE; | 113 virtual void Hide() OVERRIDE; |
113 virtual gfx::Rect GetBounds() const OVERRIDE; | 114 virtual gfx::Rect GetBounds() const OVERRIDE; |
114 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 115 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
115 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 116 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
116 virtual void SetCapture() OVERRIDE; | 117 virtual void SetCapture() OVERRIDE; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 | 273 |
273 // Set to true if we are about to enter a sizing loop. | 274 // Set to true if we are about to enter a sizing loop. |
274 bool in_sizing_loop_; | 275 bool in_sizing_loop_; |
275 | 276 |
276 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 277 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
277 }; | 278 }; |
278 | 279 |
279 } // namespace views | 280 } // namespace views |
280 | 281 |
281 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 282 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
OLD | NEW |