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

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

Issue 10539134: TabContentsWrapper -> TabContents, part 57. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last use 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 | « no previous file | chrome/browser/ui/browser.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) 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_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 TabStripModel* tab_strip_model() const { return tab_strip_model_.get(); } 397 TabStripModel* tab_strip_model() const { return tab_strip_model_.get(); }
398 398
399 int tab_count() const; 399 int tab_count() const;
400 int active_index() const; 400 int active_index() const;
401 int GetIndexOfController( 401 int GetIndexOfController(
402 const content::NavigationController* controller) const; 402 const content::NavigationController* controller) const;
403 403
404 TabContents* GetActiveTabContents() const; 404 TabContents* GetActiveTabContents() const;
405 // A convenient version of the above which returns the TabContents's 405 // A convenient version of the above which returns the TabContents's
406 // WebContents. 406 // WebContents.
407 content::WebContents* GetSelectedWebContents() const; // DEPRECATED
408 content::WebContents* GetActiveWebContents() const; 407 content::WebContents* GetActiveWebContents() const;
409 TabContents* GetTabContentsAt(int index) const; 408 TabContents* GetTabContentsAt(int index) const;
410 // A convenient version of the above which returns the TabContents's 409 // A convenient version of the above which returns the TabContents's
411 // WebContents. 410 // WebContents.
412 content::WebContents* GetWebContentsAt(int index) const; 411 content::WebContents* GetWebContentsAt(int index) const;
413 void ActivateTabAt(int index, bool user_gesture); 412 void ActivateTabAt(int index, bool user_gesture);
414 bool IsTabPinned(int index) const; 413 bool IsTabPinned(int index) const;
415 bool IsTabDiscarded(int index) const; 414 bool IsTabDiscarded(int index) const;
416 void CloseAllTabs(); 415 void CloseAllTabs();
417 416
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 bool window_has_shown_; 1444 bool window_has_shown_;
1446 1445
1447 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 1446 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
1448 // before DidEndColorChooser is called. 1447 // before DidEndColorChooser is called.
1449 scoped_ptr<content::ColorChooser> color_chooser_; 1448 scoped_ptr<content::ColorChooser> color_chooser_;
1450 1449
1451 DISALLOW_COPY_AND_ASSIGN(Browser); 1450 DISALLOW_COPY_AND_ASSIGN(Browser);
1452 }; 1451 };
1453 1452
1454 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1453 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698