| 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 { |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 WPARAM w_param, | 191 WPARAM w_param, |
| 192 LPARAM l_param, | 192 LPARAM l_param, |
| 193 LRESULT* result) = 0; | 193 LRESULT* result) = 0; |
| 194 | 194 |
| 195 // Like PreHandleMSG, but called after HWNDMessageHandler's built-in handling | 195 // Like PreHandleMSG, but called after HWNDMessageHandler's built-in handling |
| 196 // has run and after DefWindowProc. | 196 // has run and after DefWindowProc. |
| 197 virtual void PostHandleMSG(UINT message, | 197 virtual void PostHandleMSG(UINT message, |
| 198 WPARAM w_param, | 198 WPARAM w_param, |
| 199 LPARAM l_param) = 0; | 199 LPARAM l_param) = 0; |
| 200 | 200 |
| 201 // This is provided for methods that need to call private methods on NWW. | |
| 202 // TODO(beng): should be removed once HWNDMessageHandler is the WindowImpl. | |
| 203 virtual NativeWidgetWin* AsNativeWidgetWin() = 0; | |
| 204 | |
| 205 protected: | 201 protected: |
| 206 virtual ~HWNDMessageHandlerDelegate() {} | 202 virtual ~HWNDMessageHandlerDelegate() {} |
| 207 }; | 203 }; |
| 208 | 204 |
| 209 } // namespace views | 205 } // namespace views |
| 210 | 206 |
| 211 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ | 207 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ |
| OLD | NEW |