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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 virtual void HandleMouseDown() {} | 365 virtual void HandleMouseDown() {} |
366 virtual void HandleMouseLeave() {} | 366 virtual void HandleMouseLeave() {} |
367 virtual void HandleMouseUp() {} | 367 virtual void HandleMouseUp() {} |
368 virtual void HandleMouseActivate() {} | 368 virtual void HandleMouseActivate() {} |
369 | 369 |
370 // Called when a file selection is to be done. | 370 // Called when a file selection is to be done. |
371 virtual void RunFileChooser( | 371 virtual void RunFileChooser( |
372 RenderViewHost* render_view_host, | 372 RenderViewHost* render_view_host, |
373 const ViewHostMsg_RunFileChooser_Params& params) {} | 373 const ViewHostMsg_RunFileChooser_Params& params) {} |
374 | 374 |
| 375 // Notification that the page wants to go into or out of fullscreen mode. |
| 376 virtual void ToggleFullscreenMode(bool enter_fullscreen) {} |
| 377 |
375 protected: | 378 protected: |
376 virtual ~RenderViewHostDelegate() {} | 379 virtual ~RenderViewHostDelegate() {} |
377 }; | 380 }; |
378 | 381 |
379 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 382 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |