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

Side by Side Diff: ui/views/win/hwnd_message_handler_delegate.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, 3 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
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
7 7
8 #include "ui/views/views_export.h" 8 #include "ui/views/views_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 24 matching lines...) Expand all
35 // TODO(beng): resolve this more satisfactorily vis-a-vis ShouldUseNativeFrame 35 // TODO(beng): resolve this more satisfactorily vis-a-vis ShouldUseNativeFrame
36 // to avoid confusion. 36 // to avoid confusion.
37 virtual bool IsUsingCustomFrame() const = 0; 37 virtual bool IsUsingCustomFrame() const = 0;
38 38
39 virtual void SchedulePaint() = 0; 39 virtual void SchedulePaint() = 0;
40 virtual void EnableInactiveRendering() = 0; 40 virtual void EnableInactiveRendering() = 0;
41 virtual bool IsInactiveRenderingDisabled() = 0; 41 virtual bool IsInactiveRenderingDisabled() = 0;
42 42
43 virtual bool CanResize() const = 0; 43 virtual bool CanResize() const = 0;
44 virtual bool CanMaximize() const = 0; 44 virtual bool CanMaximize() const = 0;
45 virtual bool CanMinimize() const = 0;
45 virtual bool CanActivate() const = 0; 46 virtual bool CanActivate() const = 0;
46 47
47 virtual bool WidgetSizeIsClientSize() const = 0; 48 virtual bool WidgetSizeIsClientSize() const = 0;
48 49
49 // Returns true if the delegate represents a modal window. 50 // Returns true if the delegate represents a modal window.
50 virtual bool IsModal() const = 0; 51 virtual bool IsModal() const = 0;
51 52
52 // Returns the show state that should be used for the application's first 53 // Returns the show state that should be used for the application's first
53 // window. 54 // window.
54 virtual int GetInitialShowState() const = 0; 55 virtual int GetInitialShowState() const = 0;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // Called when the window size is about to change. 232 // Called when the window size is about to change.
232 virtual void HandleWindowSizeChanging() = 0; 233 virtual void HandleWindowSizeChanging() = 0;
233 234
234 protected: 235 protected:
235 virtual ~HWNDMessageHandlerDelegate() {} 236 virtual ~HWNDMessageHandlerDelegate() {}
236 }; 237 };
237 238
238 } // namespace views 239 } // namespace views
239 240
240 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 241 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698