| 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 { |
| 11 class Canvas; |
| 11 class Insets; | 12 class Insets; |
| 12 class Path; | 13 class Path; |
| 13 class Point; | 14 class Point; |
| 14 class Size; | 15 class Size; |
| 15 } | 16 } |
| 16 | 17 |
| 18 namespace ui { |
| 19 class Accelerator; |
| 20 class KeyEvent; |
| 21 class MouseEvent; |
| 22 } |
| 23 |
| 17 namespace views { | 24 namespace views { |
| 18 | 25 |
| 19 class InputMethod; | 26 class InputMethod; |
| 20 class NativeWidgetWin; | 27 class NativeWidgetWin; |
| 21 | 28 |
| 22 // Implemented by the object that uses the HWNDMessageHandler to handle | 29 // Implemented by the object that uses the HWNDMessageHandler to handle |
| 23 // notifications from the underlying HWND and service requests for data. | 30 // notifications from the underlying HWND and service requests for data. |
| 24 class VIEWS_EXPORT HWNDMessageHandlerDelegate { | 31 class VIEWS_EXPORT HWNDMessageHandlerDelegate { |
| 25 public: | 32 public: |
| 26 virtual bool IsWidgetWindow() const = 0; | 33 virtual bool IsWidgetWindow() const = 0; |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 WPARAM w_param, | 220 WPARAM w_param, |
| 214 LPARAM l_param) = 0; | 221 LPARAM l_param) = 0; |
| 215 | 222 |
| 216 protected: | 223 protected: |
| 217 virtual ~HWNDMessageHandlerDelegate() {} | 224 virtual ~HWNDMessageHandlerDelegate() {} |
| 218 }; | 225 }; |
| 219 | 226 |
| 220 } // namespace views | 227 } // namespace views |
| 221 | 228 |
| 222 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ | 229 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ |
| OLD | NEW |