Chromium Code Reviews| 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 230 WPARAM w_param, | 230 WPARAM w_param, |
| 231 LPARAM l_param, | 231 LPARAM l_param, |
| 232 LRESULT* result) = 0; | 232 LRESULT* result) = 0; |
| 233 | 233 |
| 234 // Like PreHandleMSG, but called after HWNDMessageHandler's built-in handling | 234 // Like PreHandleMSG, but called after HWNDMessageHandler's built-in handling |
| 235 // has run and after DefWindowProc. | 235 // has run and after DefWindowProc. |
| 236 virtual void PostHandleMSG(UINT message, | 236 virtual void PostHandleMSG(UINT message, |
| 237 WPARAM w_param, | 237 WPARAM w_param, |
| 238 LPARAM l_param) = 0; | 238 LPARAM l_param) = 0; |
| 239 | 239 |
| 240 // Called when a mouse event is received. Returns true if the event was | |
|
sky
2014/01/10 16:43:21
mouse->scroll
ananta
2014/01/10 18:59:21
Done.
| |
| 241 // handled by the delegate. | |
| 242 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) = 0; | |
| 243 | |
| 240 protected: | 244 protected: |
| 241 virtual ~HWNDMessageHandlerDelegate() {} | 245 virtual ~HWNDMessageHandlerDelegate() {} |
| 242 }; | 246 }; |
| 243 | 247 |
| 244 } // namespace views | 248 } // namespace views |
| 245 | 249 |
| 246 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ | 250 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ |
| OLD | NEW |