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