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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 // Called when a scroll event is received. Returns true if the event was | 221 // Called when a scroll event is received. Returns true if the event was |
222 // handled by the delegate. | 222 // handled by the delegate. |
223 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) = 0; | 223 virtual bool HandleScrollEvent(const ui::ScrollEvent& event) = 0; |
224 | 224 |
225 // Called when the window size is about to change. | 225 // Called when the window size is about to change. |
226 virtual void HandleWindowSizeChanging() = 0; | 226 virtual void HandleWindowSizeChanging() = 0; |
227 | 227 |
228 // Called when the window size has finished changing. | 228 // Called when the window size has finished changing. |
229 virtual void HandleWindowSizeChanged() = 0; | 229 virtual void HandleWindowSizeChanged() = 0; |
230 | 230 |
| 231 virtual void AddLog(const std::string& log_string) = 0; |
| 232 |
231 protected: | 233 protected: |
232 virtual ~HWNDMessageHandlerDelegate() {} | 234 virtual ~HWNDMessageHandlerDelegate() {} |
233 }; | 235 }; |
234 | 236 |
235 } // namespace views | 237 } // namespace views |
236 | 238 |
237 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ | 239 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ |
OLD | NEW |