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_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 Loading... |
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 Loading... |
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_ |
OLD | NEW |