| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} | 359 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} |
| 360 | 360 |
| 361 // Notifications about mouse events in this view. This is useful for | 361 // Notifications about mouse events in this view. This is useful for |
| 362 // implementing global 'on hover' features external to the view. | 362 // implementing global 'on hover' features external to the view. |
| 363 virtual void HandleMouseMove() {} | 363 virtual void HandleMouseMove() {} |
| 364 virtual void HandleMouseDown() {} | 364 virtual void HandleMouseDown() {} |
| 365 virtual void HandleMouseLeave() {} | 365 virtual void HandleMouseLeave() {} |
| 366 virtual void HandleMouseUp() {} | 366 virtual void HandleMouseUp() {} |
| 367 virtual void HandleMouseActivate() {} | 367 virtual void HandleMouseActivate() {} |
| 368 | 368 |
| 369 // Notification that the page wants to go into or out of fullscreen mode. |
| 370 virtual void ToggleFullscreenMode(bool enter_fullscreen) {} |
| 371 |
| 369 protected: | 372 protected: |
| 370 virtual ~RenderViewHostDelegate() {} | 373 virtual ~RenderViewHostDelegate() {} |
| 371 }; | 374 }; |
| 372 | 375 |
| 373 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 376 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |