Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h

Issue 583603004: Add CanMinimize to classes that implement WidgetDelegate::CanMaximize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@win_resizable
Patch Set: Add TODO. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ui/views/examples/examples_window.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698