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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 169 |
170 void SetCapture(); | 170 void SetCapture(); |
171 void ReleaseCapture(); | 171 void ReleaseCapture(); |
172 bool HasCapture() const; | 172 bool HasCapture() const; |
173 | 173 |
174 FullscreenHandler* fullscreen_handler() { return fullscreen_handler_.get(); } | 174 FullscreenHandler* fullscreen_handler() { return fullscreen_handler_.get(); } |
175 | 175 |
176 void SetVisibilityChangedAnimationsEnabled(bool enabled); | 176 void SetVisibilityChangedAnimationsEnabled(bool enabled); |
177 | 177 |
178 // Returns true if the title changed. | 178 // Returns true if the title changed. |
179 bool SetTitle(const string16& title); | 179 bool SetTitle(const base::string16& title); |
180 | 180 |
181 void SetCursor(HCURSOR cursor); | 181 void SetCursor(HCURSOR cursor); |
182 | 182 |
183 void FrameTypeChanged(); | 183 void FrameTypeChanged(); |
184 | 184 |
185 void SchedulePaintInRect(const gfx::Rect& rect); | 185 void SchedulePaintInRect(const gfx::Rect& rect); |
186 void SetOpacity(BYTE opacity); | 186 void SetOpacity(BYTE opacity); |
187 | 187 |
188 void SetWindowIcons(const gfx::ImageSkia& window_icon, | 188 void SetWindowIcons(const gfx::ImageSkia& window_icon, |
189 const gfx::ImageSkia& app_icon); | 189 const gfx::ImageSkia& app_icon); |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 }; | 531 }; |
532 | 532 |
533 // This window property if set on the window does not activate the window for a | 533 // This window property if set on the window does not activate the window for a |
534 // touch based WM_MOUSEACTIVATE message. | 534 // touch based WM_MOUSEACTIVATE message. |
535 const wchar_t kIgnoreTouchMouseActivateForWindow[] = | 535 const wchar_t kIgnoreTouchMouseActivateForWindow[] = |
536 L"Chrome.IgnoreMouseActivate"; | 536 L"Chrome.IgnoreMouseActivate"; |
537 | 537 |
538 } // namespace views | 538 } // namespace views |
539 | 539 |
540 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ | 540 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_ |
OLD | NEW |