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 AddStringLog(const char* log_string) = 0; | |
232 virtual void AddBooleanLog(bool bool_val) = 0; | |
233 | |
234 protected: | 231 protected: |
235 virtual ~HWNDMessageHandlerDelegate() {} | 232 virtual ~HWNDMessageHandlerDelegate() {} |
236 }; | 233 }; |
237 | 234 |
238 } // namespace views | 235 } // namespace views |
239 | 236 |
240 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ | 237 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ |
OLD | NEW |