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

Side by Side Diff: chrome/browser/tabs/tab_strip_model_observer.h

Issue 6913026: Compact Navigation prototype (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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
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_TABS_TAB_STRIP_MODEL_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_TABS_TAB_STRIP_MODEL_OBSERVER_H_
6 #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_OBSERVER_H_ 6 #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 class TabContentsWrapper; 9 class TabContentsWrapper;
10 class TabStripModel; 10 class TabStripModel;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 // The TabStripModel now no longer has any tabs. The implementer may 120 // The TabStripModel now no longer has any tabs. The implementer may
121 // use this as a trigger to try and close the window containing the 121 // use this as a trigger to try and close the window containing the
122 // TabStripModel, for example... 122 // TabStripModel, for example...
123 virtual void TabStripEmpty(); 123 virtual void TabStripEmpty();
124 124
125 // Sent when the tabstrip model is about to be deleted and any reference held 125 // Sent when the tabstrip model is about to be deleted and any reference held
126 // must be dropped. 126 // must be dropped.
127 virtual void TabStripModelDeleted(); 127 virtual void TabStripModelDeleted();
128 128
129 // Invoked when an active/selected tab at |index| is selected again (ie - the
130 // active/foreground tab is clicked).
131 virtual void TabReselected(int index);
sky 2011/05/03 18:38:32 The implementation that triggers calling this only
SteveT 2011/05/06 18:48:43 "ActiveTabClicked" was actually one of the names I
132
129 protected: 133 protected:
130 virtual ~TabStripModelObserver() {} 134 virtual ~TabStripModelObserver() {}
131 }; 135 };
132 136
133 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_OBSERVER_H_ 137 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698