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 <windows.h> | 8 #include <windows.h> |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlapp.h> | 10 #include <atlapp.h> |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 void Activate(); | 101 void Activate(); |
102 void Deactivate(); | 102 void Deactivate(); |
103 | 103 |
104 void SetAlwaysOnTop(bool on_top); | 104 void SetAlwaysOnTop(bool on_top); |
105 | 105 |
106 bool IsVisible() const; | 106 bool IsVisible() const; |
107 bool IsActive() const; | 107 bool IsActive() const; |
108 bool IsMinimized() const; | 108 bool IsMinimized() const; |
109 bool IsMaximized() const; | 109 bool IsMaximized() const; |
| 110 bool IsAlwaysOnTop() const; |
110 | 111 |
111 bool RunMoveLoop(const gfx::Vector2d& drag_offset, bool hide_on_escape); | 112 bool RunMoveLoop(const gfx::Vector2d& drag_offset, bool hide_on_escape); |
112 void EndMoveLoop(); | 113 void EndMoveLoop(); |
113 | 114 |
114 // Tells the HWND its client area has changed. | 115 // Tells the HWND its client area has changed. |
115 void SendFrameChanged(); | 116 void SendFrameChanged(); |
116 | 117 |
117 void FlashFrame(bool flash); | 118 void FlashFrame(bool flash); |
118 | 119 |
119 void ClearNativeFocus(); | 120 void ClearNativeFocus(); |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 | 476 |
476 // Generates touch-ids for touch-events. | 477 // Generates touch-ids for touch-events. |
477 ui::SequentialIDGenerator id_generator_; | 478 ui::SequentialIDGenerator id_generator_; |
478 | 479 |
479 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); | 480 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); |
480 }; | 481 }; |
481 | 482 |
482 } // namespace views | 483 } // namespace views |
483 | 484 |
484 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 485 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
OLD | NEW |