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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 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
« no previous file with comments | « chrome/browser/ui/browser_dialogs.h ('k') | chrome/browser/ui/browser_ui_prefs.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) 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 CHROME_BROWSER_UI_BROWSER_TABSTRIP_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_TABSTRIP_H_
6 #define CHROME_BROWSER_UI_BROWSER_TABSTRIP_H_ 6 #define CHROME_BROWSER_UI_BROWSER_TABSTRIP_H_
7 7
8 #include "content/public/browser/navigation_controller.h" 8 #include "content/public/browser/navigation_controller.h"
9 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
10 #include "ui/base/page_transition_types.h" 10 #include "ui/base/page_transition_types.h"
11 #include "ui/base/window_open_disposition.h" 11 #include "ui/base/window_open_disposition.h"
12 12
13 class Browser; 13 class Browser;
14 class GURL; 14 class GURL;
15 class Profile;
16
17 namespace content {
18 class SiteInstance;
19 }
20 15
21 namespace gfx { 16 namespace gfx {
22 class Rect; 17 class Rect;
23 } 18 }
24 19
25 namespace chrome { 20 namespace chrome {
26 21
27 // Adds a tab to the tab strip of the specified browser and loads |url| into it. 22 // Adds a tab to the tab strip of the specified browser and loads |url| into it.
28 // If |url| is an empty URL, then the new tab-page is laoded. An |index| of -1 23 // If |url| is an empty URL, then the new tab-page is laoded. An |index| of -1
29 // means to append it to the end of the tab strip. 24 // means to append it to the end of the tab strip.
(...skipping 21 matching lines...) Expand all
51 46
52 // Closes the specified WebContents in the specified Browser. If 47 // Closes the specified WebContents in the specified Browser. If
53 // |add_to_history| is true, an entry in the historical tab database is created. 48 // |add_to_history| is true, an entry in the historical tab database is created.
54 void CloseWebContents(Browser* browser, 49 void CloseWebContents(Browser* browser,
55 content::WebContents* contents, 50 content::WebContents* contents,
56 bool add_to_history); 51 bool add_to_history);
57 52
58 } // namespace chrome 53 } // namespace chrome
59 54
60 #endif // CHROME_BROWSER_UI_BROWSER_TABSTRIP_H_ 55 #endif // CHROME_BROWSER_UI_BROWSER_TABSTRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_dialogs.h ('k') | chrome/browser/ui/browser_ui_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698