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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 | 270 |
271 // The onload handler in the RenderView's main frame has completed. | 271 // The onload handler in the RenderView's main frame has completed. |
272 virtual void DocumentOnLoadCompletedInMainFrame( | 272 virtual void DocumentOnLoadCompletedInMainFrame( |
273 RenderViewHost* render_view_host, | 273 RenderViewHost* render_view_host, |
274 int32 page_id) {} | 274 int32 page_id) {} |
275 | 275 |
276 // The page wants to open a URL with the specified disposition. | 276 // The page wants to open a URL with the specified disposition. |
277 virtual void RequestOpenURL(const GURL& url, | 277 virtual void RequestOpenURL(const GURL& url, |
278 const content::Referrer& referrer, | 278 const content::Referrer& referrer, |
279 WindowOpenDisposition disposition, | 279 WindowOpenDisposition disposition, |
280 int64 source_frame_id) {} | 280 int64 source_frame_id, |
| 281 int64 opener_browsing_instance_frame_id) {} |
281 | 282 |
282 // The page wants to transfer the request to a new renderer. | 283 // The page wants to transfer the request to a new renderer. |
283 virtual void RequestTransferURL(const GURL& url, | 284 virtual void RequestTransferURL(const GURL& url, |
284 const content::Referrer& referrer, | 285 const content::Referrer& referrer, |
285 WindowOpenDisposition disposition, | 286 WindowOpenDisposition disposition, |
286 int64 source_frame_id, | 287 int64 source_frame_id, |
287 const GlobalRequestID& old_request_id) {} | 288 const GlobalRequestID& old_request_id) {} |
288 | 289 |
289 // A javascript message, confirmation or prompt should be shown. | 290 // A javascript message, confirmation or prompt should be shown. |
290 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, | 291 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 virtual void RequestToLockMouse() {} | 391 virtual void RequestToLockMouse() {} |
391 | 392 |
392 // Notification that the view has lost the mouse lock. | 393 // Notification that the view has lost the mouse lock. |
393 virtual void LostMouseLock() {} | 394 virtual void LostMouseLock() {} |
394 | 395 |
395 protected: | 396 protected: |
396 virtual ~RenderViewHostDelegate() {} | 397 virtual ~RenderViewHostDelegate() {} |
397 }; | 398 }; |
398 | 399 |
399 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 400 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |