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

Unified Diff: chrome/browser/ui/browser_list_impl.h

Issue 12213091: Explicitly hardcode tab_drag_controller_interactive_uitest.cc to use the native desktop list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge up to r181832 Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/browser_list_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_list_impl.h
diff --git a/chrome/browser/ui/browser_list_impl.h b/chrome/browser/ui/browser_list_impl.h
index 5ad03c86b37d64d73e977c670eb31f5e5aeaa844..2801a6e2b0db02f192eac0ceb77d89d4dd848c14 100644
--- a/chrome/browser/ui/browser_list_impl.h
+++ b/chrome/browser/ui/browser_list_impl.h
@@ -40,7 +40,7 @@ class BrowserListImpl {
// allows us to determine what the last active Browser was.
void SetLastActive(Browser* browser);
- Browser* GetLastActive();
+ Browser* GetLastActive() const;
// Browsers are added to the list before they have constructed windows,
// so the |window()| member function may return NULL.
@@ -56,18 +56,18 @@ class BrowserListImpl {
// they were last active. The underlying data structure is a vector
// and we push_back on recent access so a reverse iterator gives the
// latest accessed browser first.
- const_reverse_iterator begin_last_active() {
+ const_reverse_iterator begin_last_active() const {
return last_active_browsers_.rbegin();
}
- const_reverse_iterator end_last_active() {
+ const_reverse_iterator end_last_active() const {
return last_active_browsers_.rend();
}
// Returns true if at least one incognito window is open.
- bool IsIncognitoWindowOpen();
+ bool IsIncognitoWindowOpen() const;
// Returns true if at least one incognito window is open for |profile|.
- bool IsIncognitoWindowOpenForProfile(Profile* profile);
+ bool IsIncognitoWindowOpenForProfile(Profile* profile) const;
private:
BrowserListImpl();
« no previous file with comments | « no previous file | chrome/browser/ui/browser_list_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698