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

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

Issue 8774050: Pass along the referrer policy (renderer side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years 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
OLDNEW
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 24 matching lines...) Expand all
35 struct WebMenuItem; 35 struct WebMenuItem;
36 struct WebPreferences; 36 struct WebPreferences;
37 37
38 namespace base { 38 namespace base {
39 class ListValue; 39 class ListValue;
40 } 40 }
41 41
42 namespace content { 42 namespace content {
43 class BrowserContext; 43 class BrowserContext;
44 struct FileChooserParams; 44 struct FileChooserParams;
45 struct Referrer;
45 struct RendererPreferences; 46 struct RendererPreferences;
46 } 47 }
47 48
48 namespace gfx { 49 namespace gfx {
49 class Point; 50 class Point;
50 class Rect; 51 class Rect;
51 class Size; 52 class Size;
52 } 53 }
53 54
54 // 55 //
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 // the document has finished parsing. 267 // the document has finished parsing.
267 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {} 268 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host) {}
268 269
269 // The onload handler in the RenderView's main frame has completed. 270 // The onload handler in the RenderView's main frame has completed.
270 virtual void DocumentOnLoadCompletedInMainFrame( 271 virtual void DocumentOnLoadCompletedInMainFrame(
271 RenderViewHost* render_view_host, 272 RenderViewHost* render_view_host,
272 int32 page_id) {} 273 int32 page_id) {}
273 274
274 // The page wants to open a URL with the specified disposition. 275 // The page wants to open a URL with the specified disposition.
275 virtual void RequestOpenURL(const GURL& url, 276 virtual void RequestOpenURL(const GURL& url,
276 const GURL& referrer, 277 const content::Referrer& referrer,
277 WindowOpenDisposition disposition, 278 WindowOpenDisposition disposition,
278 int64 source_frame_id) {} 279 int64 source_frame_id) {}
279 280
280 // The page wants to transfer the request to a new renderer. 281 // The page wants to transfer the request to a new renderer.
281 virtual void RequestTransferURL(const GURL& url, 282 virtual void RequestTransferURL(const GURL& url,
282 const GURL& referrer, 283 const GURL& referrer,
283 WindowOpenDisposition disposition, 284 WindowOpenDisposition disposition,
284 int64 source_frame_id, 285 int64 source_frame_id,
285 const GlobalRequestID& old_request_id) {} 286 const GlobalRequestID& old_request_id) {}
286 287
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 virtual void RequestToLockMouse() {} 389 virtual void RequestToLockMouse() {}
389 390
390 // Notification that the view has lost the mouse lock. 391 // Notification that the view has lost the mouse lock.
391 virtual void LostMouseLock() {} 392 virtual void LostMouseLock() {}
392 393
393 protected: 394 protected:
394 virtual ~RenderViewHostDelegate() {} 395 virtual ~RenderViewHostDelegate() {}
395 }; 396 };
396 397
397 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 398 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host.cc ('k') | content/browser/renderer_host/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698