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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 virtual void OnWindowHidingAnimationCompleted() OVERRIDE; | 130 virtual void OnWindowHidingAnimationCompleted() OVERRIDE; |
131 | 131 |
132 // Overridden from HWNDMessageHandlerDelegate: | 132 // Overridden from HWNDMessageHandlerDelegate: |
133 virtual bool IsWidgetWindow() const OVERRIDE; | 133 virtual bool IsWidgetWindow() const OVERRIDE; |
134 virtual bool IsUsingCustomFrame() const OVERRIDE; | 134 virtual bool IsUsingCustomFrame() const OVERRIDE; |
135 virtual void SchedulePaint() OVERRIDE; | 135 virtual void SchedulePaint() OVERRIDE; |
136 virtual void EnableInactiveRendering() OVERRIDE; | 136 virtual void EnableInactiveRendering() OVERRIDE; |
137 virtual bool IsInactiveRenderingDisabled() OVERRIDE; | 137 virtual bool IsInactiveRenderingDisabled() OVERRIDE; |
138 virtual bool CanResize() const OVERRIDE; | 138 virtual bool CanResize() const OVERRIDE; |
139 virtual bool CanMaximize() const OVERRIDE; | 139 virtual bool CanMaximize() const OVERRIDE; |
| 140 virtual bool CanMinimize() const OVERRIDE; |
140 virtual bool CanActivate() const OVERRIDE; | 141 virtual bool CanActivate() const OVERRIDE; |
141 virtual bool WidgetSizeIsClientSize() const OVERRIDE; | 142 virtual bool WidgetSizeIsClientSize() const OVERRIDE; |
142 virtual bool IsModal() const OVERRIDE; | 143 virtual bool IsModal() const OVERRIDE; |
143 virtual int GetInitialShowState() const OVERRIDE; | 144 virtual int GetInitialShowState() const OVERRIDE; |
144 virtual bool WillProcessWorkAreaChange() const OVERRIDE; | 145 virtual bool WillProcessWorkAreaChange() const OVERRIDE; |
145 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; | 146 virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; |
146 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* path) OVERRIDE; | 147 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* path) OVERRIDE; |
147 virtual bool GetClientAreaInsets(gfx::Insets* insets) const OVERRIDE; | 148 virtual bool GetClientAreaInsets(gfx::Insets* insets) const OVERRIDE; |
148 virtual void GetMinMaxSize(gfx::Size* min_size, | 149 virtual void GetMinMaxSize(gfx::Size* min_size, |
149 gfx::Size* max_size) const OVERRIDE; | 150 gfx::Size* max_size) const OVERRIDE; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 | 272 |
272 // Set to true if we are about to enter a sizing loop. | 273 // Set to true if we are about to enter a sizing loop. |
273 bool in_sizing_loop_; | 274 bool in_sizing_loop_; |
274 | 275 |
275 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 276 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
276 }; | 277 }; |
277 | 278 |
278 } // namespace views | 279 } // namespace views |
279 | 280 |
280 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 281 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
OLD | NEW |