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