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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 virtual void OnWindowHidingAnimationCompleted() OVERRIDE; | 131 virtual void OnWindowHidingAnimationCompleted() OVERRIDE; |
132 | 132 |
133 // Overridden from HWNDMessageHandlerDelegate: | 133 // Overridden from HWNDMessageHandlerDelegate: |
134 virtual bool IsWidgetWindow() const OVERRIDE; | 134 virtual bool IsWidgetWindow() const OVERRIDE; |
135 virtual bool IsUsingCustomFrame() const OVERRIDE; | 135 virtual bool IsUsingCustomFrame() const OVERRIDE; |
136 virtual void SchedulePaint() OVERRIDE; | 136 virtual void SchedulePaint() OVERRIDE; |
137 virtual void EnableInactiveRendering() OVERRIDE; | 137 virtual void EnableInactiveRendering() OVERRIDE; |
138 virtual bool IsInactiveRenderingDisabled() OVERRIDE; | 138 virtual bool IsInactiveRenderingDisabled() OVERRIDE; |
139 virtual bool CanResize() const OVERRIDE; | 139 virtual bool CanResize() const OVERRIDE; |
140 virtual bool CanMaximize() const OVERRIDE; | 140 virtual bool CanMaximize() const OVERRIDE; |
| 141 virtual bool CanMinimize() const OVERRIDE; |
141 virtual bool CanActivate() const OVERRIDE; | 142 virtual bool CanActivate() const OVERRIDE; |
142 virtual bool WidgetSizeIsClientSize() const OVERRIDE; | 143 virtual bool WidgetSizeIsClientSize() const OVERRIDE; |
143 virtual bool IsModal() const OVERRIDE; | 144 virtual bool IsModal() const OVERRIDE; |
144 virtual int GetInitialShowState() const OVERRIDE; | 145 virtual int GetInitialShowState() const OVERRIDE; |
145 virtual bool WillProcessWorkAreaChange() const OVERRIDE; | 146 virtual bool WillProcessWorkAreaChange() const OVERRIDE; |
146 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 147 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
147 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* path) OVERRIDE; | 148 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* path) OVERRIDE; |
148 virtual bool GetClientAreaInsets(gfx::Insets* insets) const OVERRIDE; | 149 virtual bool GetClientAreaInsets(gfx::Insets* insets) const OVERRIDE; |
149 virtual void GetMinMaxSize(gfx::Size* min_size, | 150 virtual void GetMinMaxSize(gfx::Size* min_size, |
150 gfx::Size* max_size) const OVERRIDE; | 151 gfx::Size* max_size) const OVERRIDE; |
(...skipping 121 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 |