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 CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ |
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) {} | 421 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) {} |
422 | 422 |
423 // Requests to lock the mouse. Once the request is approved or rejected, | 423 // Requests to lock the mouse. Once the request is approved or rejected, |
424 // GotResponseToLockMouseRequest() will be called on the requesting render | 424 // GotResponseToLockMouseRequest() will be called on the requesting render |
425 // view host. | 425 // view host. |
426 virtual void RequestToLockMouse(bool user_gesture) {} | 426 virtual void RequestToLockMouse(bool user_gesture) {} |
427 | 427 |
428 // Notification that the view has lost the mouse lock. | 428 // Notification that the view has lost the mouse lock. |
429 virtual void LostMouseLock() {} | 429 virtual void LostMouseLock() {} |
430 | 430 |
| 431 // The Browser Plugin embedder has requested that the guest should navigate. |
| 432 virtual void NavigateGuestFromEmbedder(RenderViewHost* render_view_host, |
| 433 int container_instance_id, |
| 434 long long frame_id, |
| 435 const std::string& src, |
| 436 const gfx::Size& size) {} |
431 protected: | 437 protected: |
432 virtual ~RenderViewHostDelegate() {} | 438 virtual ~RenderViewHostDelegate() {} |
433 }; | 439 }; |
434 | 440 |
435 } // namespace content | 441 } // namespace content |
436 | 442 |
437 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ | 443 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |