| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 108 |
| 109 bool RunMoveLoop(const gfx::Point& drag_offset); | 109 bool RunMoveLoop(const gfx::Point& drag_offset); |
| 110 void EndMoveLoop(); | 110 void EndMoveLoop(); |
| 111 | 111 |
| 112 // Tells the HWND its client area has changed. | 112 // Tells the HWND its client area has changed. |
| 113 void SendFrameChanged(); | 113 void SendFrameChanged(); |
| 114 | 114 |
| 115 void FlashFrame(bool flash); | 115 void FlashFrame(bool flash); |
| 116 | 116 |
| 117 void ClearNativeFocus(); | 117 void ClearNativeFocus(); |
| 118 void FocusHWND(HWND hwnd); | |
| 119 | 118 |
| 120 void SetCapture(); | 119 void SetCapture(); |
| 121 void ReleaseCapture(); | 120 void ReleaseCapture(); |
| 122 bool HasCapture() const; | 121 bool HasCapture() const; |
| 123 | 122 |
| 124 FullscreenHandler* fullscreen_handler() { return fullscreen_handler_.get(); } | 123 FullscreenHandler* fullscreen_handler() { return fullscreen_handler_.get(); } |
| 125 | 124 |
| 126 void SetVisibilityChangedAnimationsEnabled(bool enabled); | 125 void SetVisibilityChangedAnimationsEnabled(bool enabled); |
| 127 | 126 |
| 128 void SetTitle(const string16& title); | 127 void SetTitle(const string16& title); |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 // True if we are allowed to update the layered window from the DIB backing | 456 // True if we are allowed to update the layered window from the DIB backing |
| 458 // store if necessary. | 457 // store if necessary. |
| 459 bool can_update_layered_window_; | 458 bool can_update_layered_window_; |
| 460 | 459 |
| 461 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); | 460 DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler); |
| 462 }; | 461 }; |
| 463 | 462 |
| 464 } // namespace views | 463 } // namespace views |
| 465 | 464 |
| 466 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 465 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
| OLD | NEW |