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

Side by Side Diff: chrome/browser/tabs/tab_strip_model.h

Issue 8186: Plumb the referrer throughout the OpenURL APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | « chrome/browser/tab_contents_delegate.h ('k') | chrome/browser/tabs/tab_strip_model.cc » ('j') | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H__ 5 #ifndef CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H__
6 #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H__ 6 #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H__
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // Determine what drag actions are possible for the specified strip. 111 // Determine what drag actions are possible for the specified strip.
112 virtual int GetDragActions() const = 0; 112 virtual int GetDragActions() const = 0;
113 113
114 // Creates an appropriate TabContents for the given URL. This is handled by 114 // Creates an appropriate TabContents for the given URL. This is handled by
115 // the delegate since the TabContents may require special circumstances to 115 // the delegate since the TabContents may require special circumstances to
116 // exist for it to be constructed (e.g. a parent HWND). 116 // exist for it to be constructed (e.g. a parent HWND).
117 // If |defer_load| is true, the navigation controller doesn't load the url. 117 // If |defer_load| is true, the navigation controller doesn't load the url.
118 // If |instance| is not null, its process is used to render the tab. 118 // If |instance| is not null, its process is used to render the tab.
119 virtual TabContents* CreateTabContentsForURL( 119 virtual TabContents* CreateTabContentsForURL(
120 const GURL& url, 120 const GURL& url,
121 const GURL& referrer,
121 Profile* profile, 122 Profile* profile,
122 PageTransition::Type transition, 123 PageTransition::Type transition,
123 bool defer_load, 124 bool defer_load,
124 SiteInstance* instance) const = 0; 125 SiteInstance* instance) const = 0;
125 126
126 // Show the web application context menu at the provided point. |p| is in 127 // Show the web application context menu at the provided point. |p| is in
127 // screen coordinate system. 128 // screen coordinate system.
128 virtual void ShowApplicationMenu(const gfx::Point& p) = 0; 129 virtual void ShowApplicationMenu(const gfx::Point& p) = 0;
129 130
130 // Return whether some contents can be duplicated. 131 // Return whether some contents can be duplicated.
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 531
531 // Our observers. 532 // Our observers.
532 typedef ObserverList<TabStripModelObserver> TabStripModelObservers; 533 typedef ObserverList<TabStripModelObserver> TabStripModelObservers;
533 TabStripModelObservers observers_; 534 TabStripModelObservers observers_;
534 535
535 DISALLOW_EVIL_CONSTRUCTORS(TabStripModel); 536 DISALLOW_EVIL_CONSTRUCTORS(TabStripModel);
536 }; 537 };
537 538
538 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H__ 539 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H__
539 540
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents_delegate.h ('k') | chrome/browser/tabs/tab_strip_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698