| 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 guest has created a channel handle, and requests that |
| 432 // the browser process relay the channel handle to the embedder so that it |
| 433 // can connect to it. |
| 434 virtual void ConnectEmbedderToChannel( |
| 435 RenderViewHost* render_view_host, |
| 436 const IPC::ChannelHandle& channel_handle) {} |
| 437 |
| 438 // The Browser Plugin embedder has requested that the guest should navigate. |
| 439 virtual void NavigateGuestFromEmbedder(RenderViewHost* render_view_host, |
| 440 int container_instance_id, |
| 441 long long frame_id, |
| 442 const std::string& src, |
| 443 const gfx::Size& size) {} |
| 431 protected: | 444 protected: |
| 432 virtual ~RenderViewHostDelegate() {} | 445 virtual ~RenderViewHostDelegate() {} |
| 433 }; | 446 }; |
| 434 | 447 |
| 435 } // namespace content | 448 } // namespace content |
| 436 | 449 |
| 437 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ | 450 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |