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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 | 268 |
269 // The onload handler in the RenderView's main frame has completed. | 269 // The onload handler in the RenderView's main frame has completed. |
270 virtual void DocumentOnLoadCompletedInMainFrame( | 270 virtual void DocumentOnLoadCompletedInMainFrame( |
271 RenderViewHost* render_view_host, | 271 RenderViewHost* render_view_host, |
272 int32 page_id) {} | 272 int32 page_id) {} |
273 | 273 |
274 // The page wants to open a URL with the specified disposition. | 274 // The page wants to open a URL with the specified disposition. |
275 virtual void RequestOpenURL(const GURL& url, | 275 virtual void RequestOpenURL(const GURL& url, |
276 const GURL& referrer, | 276 const GURL& referrer, |
277 WindowOpenDisposition disposition, | 277 WindowOpenDisposition disposition, |
278 int64 source_frame_id) {} | 278 int64 source_frame_id, |
| 279 int64 opener_browsing_instance_frame_id) {} |
279 | 280 |
280 // A javascript message, confirmation or prompt should be shown. | 281 // A javascript message, confirmation or prompt should be shown. |
281 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, | 282 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, |
282 const string16& message, | 283 const string16& message, |
283 const string16& default_prompt, | 284 const string16& default_prompt, |
284 const GURL& frame_url, | 285 const GURL& frame_url, |
285 const int flags, | 286 const int flags, |
286 IPC::Message* reply_msg, | 287 IPC::Message* reply_msg, |
287 bool* did_suppress_message) {} | 288 bool* did_suppress_message) {} |
288 | 289 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 virtual void RequestToLockMouse() {} | 382 virtual void RequestToLockMouse() {} |
382 | 383 |
383 // Notification that the view has lost the mouse lock. | 384 // Notification that the view has lost the mouse lock. |
384 virtual void LostMouseLock() {} | 385 virtual void LostMouseLock() {} |
385 | 386 |
386 protected: | 387 protected: |
387 virtual ~RenderViewHostDelegate() {} | 388 virtual ~RenderViewHostDelegate() {} |
388 }; | 389 }; |
389 | 390 |
390 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 391 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |