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

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

Issue 60066: Make the throbber throb sooner after you navigate. This fixes the new tab pag... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_TAB_STRIP_H__ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H__
6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H__ 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H__
7 7
8 #include "base/gfx/point.h" 8 #include "base/gfx/point.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.h" 10 #include "chrome/browser/views/tabs/tab.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // TabStripModelObserver implementation: 111 // TabStripModelObserver implementation:
112 virtual void TabInsertedAt(TabContents* contents, 112 virtual void TabInsertedAt(TabContents* contents,
113 int index, 113 int index,
114 bool foreground); 114 bool foreground);
115 virtual void TabDetachedAt(TabContents* contents, int index); 115 virtual void TabDetachedAt(TabContents* contents, int index);
116 virtual void TabSelectedAt(TabContents* old_contents, 116 virtual void TabSelectedAt(TabContents* old_contents,
117 TabContents* contents, 117 TabContents* contents,
118 int index, 118 int index,
119 bool user_gesture); 119 bool user_gesture);
120 virtual void TabMoved(TabContents* contents, int from_index, int to_index); 120 virtual void TabMoved(TabContents* contents, int from_index, int to_index);
121 virtual void TabChangedAt(TabContents* contents, int index); 121 virtual void TabChangedAt(TabContents* contents, int index,
122 bool loading_only);
122 123
123 // Tab::Delegate implementation: 124 // Tab::Delegate implementation:
124 virtual bool IsTabSelected(const Tab* tab) const; 125 virtual bool IsTabSelected(const Tab* tab) const;
125 virtual void SelectTab(Tab* tab); 126 virtual void SelectTab(Tab* tab);
126 virtual void CloseTab(Tab* tab); 127 virtual void CloseTab(Tab* tab);
127 virtual bool IsCommandEnabledForTab( 128 virtual bool IsCommandEnabledForTab(
128 TabStripModel::ContextMenuCommand command_id, const Tab* tab) const; 129 TabStripModel::ContextMenuCommand command_id, const Tab* tab) const;
129 virtual void ExecuteCommandForTab( 130 virtual void ExecuteCommandForTab(
130 TabStripModel::ContextMenuCommand command_id, Tab* tab); 131 TabStripModel::ContextMenuCommand command_id, Tab* tab);
131 virtual void StartHighlightTabsForCommand( 132 virtual void StartHighlightTabsForCommand(
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 }; 354 };
354 std::vector<TabData> tab_data_; 355 std::vector<TabData> tab_data_;
355 356
356 // The currently running animation. 357 // The currently running animation.
357 scoped_ptr<TabAnimation> active_animation_; 358 scoped_ptr<TabAnimation> active_animation_;
358 359
359 DISALLOW_EVIL_CONSTRUCTORS(TabStrip); 360 DISALLOW_EVIL_CONSTRUCTORS(TabStrip);
360 }; 361 };
361 362
362 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H__ 363 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698