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

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: Clang build fix. After commit/revert. 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 // The TabStripModel now no longer has any tabs. The implementer may 121 // The TabStripModel now no longer has any tabs. The implementer may
122 // use this as a trigger to try and close the window containing the 122 // use this as a trigger to try and close the window containing the
123 // TabStripModel, for example... 123 // TabStripModel, for example...
124 virtual void TabStripEmpty(); 124 virtual void TabStripEmpty();
125 125
126 // Sent when the tabstrip model is about to be deleted and any reference held 126 // Sent when the tabstrip model is about to be deleted and any reference held
127 // must be dropped. 127 // must be dropped.
128 virtual void TabStripModelDeleted(); 128 virtual void TabStripModelDeleted();
129 129
130 // Invoked when an active/selected tab at |index| is selected again (ie - the
131 // active/foreground tab is clicked).
132 virtual void ActiveTabClicked(int index);
133
130 protected: 134 protected:
131 virtual ~TabStripModelObserver() {} 135 virtual ~TabStripModelObserver() {}
132 }; 136 };
133 137
134 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_OBSERVER_H_ 138 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tabs/tab_strip_model_delegate.h ('k') | chrome/browser/tabs/tab_strip_model_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698