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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} | 351 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} |
352 | 352 |
353 // Notifications about mouse events in this view. This is useful for | 353 // Notifications about mouse events in this view. This is useful for |
354 // implementing global 'on hover' features external to the view. | 354 // implementing global 'on hover' features external to the view. |
355 virtual void HandleMouseMove() {} | 355 virtual void HandleMouseMove() {} |
356 virtual void HandleMouseDown() {} | 356 virtual void HandleMouseDown() {} |
357 virtual void HandleMouseLeave() {} | 357 virtual void HandleMouseLeave() {} |
358 virtual void HandleMouseUp() {} | 358 virtual void HandleMouseUp() {} |
359 virtual void HandleMouseActivate() {} | 359 virtual void HandleMouseActivate() {} |
360 | 360 |
| 361 // Notification that the page wants to go into or out of fullscreen mode. |
| 362 virtual void ToggleFullscreenMode(bool enter_fullscreen) {} |
| 363 |
361 protected: | 364 protected: |
362 virtual ~RenderViewHostDelegate() {} | 365 virtual ~RenderViewHostDelegate() {} |
363 }; | 366 }; |
364 | 367 |
365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 368 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |