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

Side by Side Diff: chrome/browser/ui/browser_navigator.h

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « chrome/browser/ui/browser_dialogs.h ('k') | chrome/browser/ui/browser_navigator_browsertest.h » ('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) 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 CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "content/public/browser/global_request_id.h" 11 #include "content/public/browser/global_request_id.h"
12 #include "content/public/common/page_transition_types.h" 12 #include "content/public/common/page_transition_types.h"
13 #include "content/public/common/referrer.h" 13 #include "content/public/common/referrer.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "ui/gfx/rect.h" 15 #include "ui/gfx/rect.h"
16 #include "webkit/glue/window_open_disposition.h" 16 #include "webkit/glue/window_open_disposition.h"
17 17
18 class Browser; 18 class Browser;
19 class Profile; 19 class Profile;
20 class TabContentsWrapper; 20 class TabContents;
21 typedef TabContents TabContentsWrapper;
21 22
22 namespace browser { 23 namespace browser {
23 24
24 // Parameters that tell Navigate() what to do. 25 // Parameters that tell Navigate() what to do.
25 // 26 //
26 // Some basic examples: 27 // Some basic examples:
27 // 28 //
28 // Simple Navigate to URL in current tab: 29 // Simple Navigate to URL in current tab:
29 // browser::NavigateParams params(browser, GURL("http://www.google.com/"), 30 // browser::NavigateParams params(browser, GURL("http://www.google.com/"),
30 // PageTransition::LINK); 31 // PageTransition::LINK);
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 // If the given navigational URL is a Singleton, return the tab index for it. 198 // If the given navigational URL is a Singleton, return the tab index for it.
198 // Otherwise, returns -1. 199 // Otherwise, returns -1.
199 int GetIndexOfSingletonTab(NavigateParams* params); 200 int GetIndexOfSingletonTab(NavigateParams* params);
200 201
201 // Returns true if the url is allowed to open in incognito window. 202 // Returns true if the url is allowed to open in incognito window.
202 bool IsURLAllowedInIncognito(const GURL& url); 203 bool IsURLAllowedInIncognito(const GURL& url);
203 204
204 } // namespace browser 205 } // namespace browser
205 206
206 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 207 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_dialogs.h ('k') | chrome/browser/ui/browser_navigator_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698