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

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

Issue 155242: Add temporary TabStripWrapper interface that is implemented by both TabStrip ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 5 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
« no previous file with comments | « chrome/browser/views/tabs/tab_strip.cc ('k') | chrome/browser/views/tabs/tab_strip_wrapper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_2_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_2_H_
6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_2_H_ 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_2_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/task.h" 10 #include "base/task.h"
11 #include "chrome/browser/views/tabs/tab_2.h" 11 #include "chrome/browser/views/tabs/tab_2.h"
12 #include "chrome/browser/views/tabs/tab_strip_wrapper.h"
12 #include "views/animator.h" 13 #include "views/animator.h"
13 #include "views/view.h" 14 #include "views/view.h"
14 15
15 namespace gfx { 16 namespace gfx {
16 class Canvas; 17 class Canvas;
17 } 18 }
18 19
19 // An interface implemented by an object that provides state for objects in the 20 // An interface implemented by an object that provides state for objects in the
20 // TabStrip2. This object is never owned by the TabStrip2. 21 // TabStrip2. This object is never owned by the TabStrip2.
21 // TODO(beng): maybe TabStrip2Delegate? 22 // TODO(beng): maybe TabStrip2Delegate?
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 int last_move_screen_x_; 155 int last_move_screen_x_;
155 156
156 // Factories to help break up work and avoid nesting message loops. 157 // Factories to help break up work and avoid nesting message loops.
157 ScopedRunnableMethodFactory<TabStrip2> detach_factory_; 158 ScopedRunnableMethodFactory<TabStrip2> detach_factory_;
158 ScopedRunnableMethodFactory<TabStrip2> drag_start_factory_; 159 ScopedRunnableMethodFactory<TabStrip2> drag_start_factory_;
159 160
160 DISALLOW_COPY_AND_ASSIGN(TabStrip2); 161 DISALLOW_COPY_AND_ASSIGN(TabStrip2);
161 }; 162 };
162 163
163 #endif // #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_2_H_ 164 #endif // #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_2_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/tabs/tab_strip.cc ('k') | chrome/browser/views/tabs/tab_strip_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698