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

Side by Side Diff: chrome/browser/views/tabs/browser_tab_strip_controller.h

Issue 2821011: Removes phantom tabs. (Closed)
Patch Set: Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_
6 #define CHROME_BROWSER_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ 6 #define CHROME_BROWSER_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_
7 7
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "chrome/browser/tabs/tab_strip_model.h" 9 #include "chrome/browser/tabs/tab_strip_model.h"
10 #include "chrome/browser/views/tabs/tab_strip_controller.h" 10 #include "chrome/browser/views/tabs/tab_strip_controller.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void TabSelectedAt(TabContents* old_contents, 60 virtual void TabSelectedAt(TabContents* old_contents,
61 TabContents* contents, 61 TabContents* contents,
62 int model_index, 62 int model_index,
63 bool user_gesture); 63 bool user_gesture);
64 virtual void TabMoved(TabContents* contents, 64 virtual void TabMoved(TabContents* contents,
65 int from_model_index, 65 int from_model_index,
66 int to_model_index); 66 int to_model_index);
67 virtual void TabChangedAt(TabContents* contents, 67 virtual void TabChangedAt(TabContents* contents,
68 int model_index, 68 int model_index,
69 TabChangeType change_type); 69 TabChangeType change_type);
70 virtual void TabReplacedAt(TabContents* old_contents,
71 TabContents* new_contents,
72 int model_index);
73 virtual void TabPinnedStateChanged(TabContents* contents, int model_index); 70 virtual void TabPinnedStateChanged(TabContents* contents, int model_index);
74 virtual void TabMiniStateChanged(TabContents* contents, int model_index); 71 virtual void TabMiniStateChanged(TabContents* contents, int model_index);
75 virtual void TabBlockedStateChanged(TabContents* contents, int model_index); 72 virtual void TabBlockedStateChanged(TabContents* contents, int model_index);
76 73
77 private: 74 private:
78 class TabContextMenuContents; 75 class TabContextMenuContents;
79 76
80 // Invokes tabstrip_->SetTabData. 77 // Invokes tabstrip_->SetTabData.
81 void SetTabDataAt(TabContents* contents, int model_index); 78 void SetTabDataAt(TabContents* contents, int model_index);
82 79
(...skipping 16 matching lines...) Expand all
99 BaseTabStrip* tabstrip_; 96 BaseTabStrip* tabstrip_;
100 97
101 // If non-NULL it means we're showing a menu for the tab. 98 // If non-NULL it means we're showing a menu for the tab.
102 scoped_ptr<TabContextMenuContents> context_menu_contents_; 99 scoped_ptr<TabContextMenuContents> context_menu_contents_;
103 100
104 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController); 101 DISALLOW_COPY_AND_ASSIGN(BrowserTabStripController);
105 }; 102 };
106 103
107 #endif // CHROME_BROWSER_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_ 104 #endif // CHROME_BROWSER_VIEWS_TABS_BROWSER_TAB_STRIP_CONTROLLER_H_
108 105
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_view.cc ('k') | chrome/browser/views/tabs/browser_tab_strip_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698