Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: content/public/browser/render_view_host_delegate.h

Issue 10350013: Don't allow targeted navigations across BrowsingInstances. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 // The RenderView's main frame document element is ready. This happens when 277 // The RenderView's main frame document element is ready. This happens when
278 // the document has finished parsing. 278 // the document has finished parsing.
279 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} 279 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {}
280 280
281 // The onload handler in the RenderView's main frame has completed. 281 // The onload handler in the RenderView's main frame has completed.
282 virtual void DocumentOnLoadCompletedInMainFrame( 282 virtual void DocumentOnLoadCompletedInMainFrame(
283 RenderViewHost* render_view_host, 283 RenderViewHost* render_view_host,
284 int32 page_id) {} 284 int32 page_id) {}
285 285
286 // The page wants to open a URL with the specified disposition. 286 // The page wants to open a URL with the specified disposition.
287 virtual void RequestOpenURL(const GURL& url, 287 virtual void RequestOpenURL(RenderViewHost* rvh,
288 const GURL& url,
288 const content::Referrer& referrer, 289 const content::Referrer& referrer,
289 WindowOpenDisposition disposition, 290 WindowOpenDisposition disposition,
290 int64 source_frame_id) {} 291 int64 source_frame_id) {}
291 292
292 // The page wants to transfer the request to a new renderer. 293 // The page wants to transfer the request to a new renderer.
293 virtual void RequestTransferURL( 294 virtual void RequestTransferURL(
294 const GURL& url, 295 const GURL& url,
295 const content::Referrer& referrer, 296 const content::Referrer& referrer,
296 WindowOpenDisposition disposition, 297 WindowOpenDisposition disposition,
297 int64 source_frame_id, 298 int64 source_frame_id,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 // Notification that the view has lost the mouse lock. 403 // Notification that the view has lost the mouse lock.
403 virtual void LostMouseLock() {} 404 virtual void LostMouseLock() {}
404 405
405 protected: 406 protected:
406 virtual ~RenderViewHostDelegate() {} 407 virtual ~RenderViewHostDelegate() {}
407 }; 408 };
408 409
409 } // namespace content 410 } // namespace content
410 411
411 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 412 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698