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_H_ | 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlapp.h> | 9 #include <atlapp.h> |
10 #include <atlmisc.h> | 10 #include <atlmisc.h> |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 void Activate(); | 97 void Activate(); |
98 void Deactivate(); | 98 void Deactivate(); |
99 | 99 |
100 void SetAlwaysOnTop(bool on_top); | 100 void SetAlwaysOnTop(bool on_top); |
101 | 101 |
102 bool IsVisible() const; | 102 bool IsVisible() const; |
103 bool IsActive() const; | 103 bool IsActive() const; |
104 bool IsMinimized() const; | 104 bool IsMinimized() const; |
105 bool IsMaximized() const; | 105 bool IsMaximized() const; |
106 | 106 |
107 bool RunMoveLoop(const gfx::Point& drag_offset); | 107 bool RunMoveLoop(const gfx::Vector2d& drag_offset); |
108 void EndMoveLoop(); | 108 void EndMoveLoop(); |
109 | 109 |
110 // Tells the HWND its client area has changed. | 110 // Tells the HWND its client area has changed. |
111 void SendFrameChanged(); | 111 void SendFrameChanged(); |
112 | 112 |
113 void FlashFrame(bool flash); | 113 void FlashFrame(bool flash); |
114 | 114 |
115 void ClearNativeFocus(); | 115 void ClearNativeFocus(); |
116 | 116 |
117 void SetCapture(); | 117 void SetCapture(); |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 // True if we are allowed to update the layered window from the DIB backing | 460 // True if we are allowed to update the layered window from the DIB backing |
461 // store if necessary. | 461 // store if necessary. |
462 bool can_update_layered_window_; | 462 bool can_update_layered_window_; |
463 | 463 |
464 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); | 464 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); |
465 }; | 465 }; |
466 | 466 |
467 } // namespace views | 467 } // namespace views |
468 | 468 |
469 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 469 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
OLD | NEW |