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

Side by Side Diff: content/browser/tab_contents/tab_contents.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_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 virtual void DidStartLoading() OVERRIDE; 503 virtual void DidStartLoading() OVERRIDE;
504 virtual void DidStopLoading() OVERRIDE; 504 virtual void DidStopLoading() OVERRIDE;
505 virtual void DidCancelLoading() OVERRIDE; 505 virtual void DidCancelLoading() OVERRIDE;
506 virtual void DidChangeLoadProgress(double progress) OVERRIDE; 506 virtual void DidChangeLoadProgress(double progress) OVERRIDE;
507 virtual void DocumentAvailableInMainFrame( 507 virtual void DocumentAvailableInMainFrame(
508 RenderViewHost* render_view_host) OVERRIDE; 508 RenderViewHost* render_view_host) OVERRIDE;
509 virtual void DocumentOnLoadCompletedInMainFrame( 509 virtual void DocumentOnLoadCompletedInMainFrame(
510 RenderViewHost* render_view_host, 510 RenderViewHost* render_view_host,
511 int32 page_id) OVERRIDE; 511 int32 page_id) OVERRIDE;
512 virtual void RequestOpenURL(const GURL& url, 512 virtual void RequestOpenURL(const GURL& url,
513 const GURL& referrer, 513 const content::Referrer& referrer,
514 WindowOpenDisposition disposition, 514 WindowOpenDisposition disposition,
515 int64 source_frame_id) OVERRIDE; 515 int64 source_frame_id) OVERRIDE;
516 virtual void RequestTransferURL( 516 virtual void RequestTransferURL(
517 const GURL& url, 517 const GURL& url,
518 const GURL& referrer, 518 const GURL& referrer,
519 WindowOpenDisposition disposition, 519 WindowOpenDisposition disposition,
520 int64 source_frame_id, 520 int64 source_frame_id,
521 const GlobalRequestID& transferred_global_request_id) OVERRIDE; 521 const GlobalRequestID& transferred_global_request_id) OVERRIDE;
522 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, 522 virtual void RunJavaScriptMessage(const RenderViewHost* rvh,
523 const string16& message, 523 const string16& message,
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 // (full-page plugins for now only) permissions. 884 // (full-page plugins for now only) permissions.
885 int content_restrictions_; 885 int content_restrictions_;
886 886
887 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. 887 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS.
888 content::ViewType view_type_; 888 content::ViewType view_type_;
889 889
890 DISALLOW_COPY_AND_ASSIGN(TabContents); 890 DISALLOW_COPY_AND_ASSIGN(TabContents);
891 }; 891 };
892 892
893 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 893 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/navigation_controller.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698