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

Side by Side Diff: chrome/browser/ui/views/tabs/base_tab_strip.h

Issue 6154001: Move animation code to new ui/base/animation directory.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 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_UI_VIEWS_TABS_BASE_TAB_STRIP_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // See description above field for details. 217 // See description above field for details.
218 bool attaching_dragged_tab() const { return attaching_dragged_tab_; } 218 bool attaching_dragged_tab() const { return attaching_dragged_tab_; }
219 219
220 views::BoundsAnimator& bounds_animator() { return bounds_animator_; } 220 views::BoundsAnimator& bounds_animator() { return bounds_animator_; }
221 221
222 // Invoked prior to starting a new animation. 222 // Invoked prior to starting a new animation.
223 virtual void PrepareForAnimation(); 223 virtual void PrepareForAnimation();
224 224
225 // Creates an AnimationDelegate that resets state after a remove animation 225 // Creates an AnimationDelegate that resets state after a remove animation
226 // completes. The caller owns the returned object. 226 // completes. The caller owns the returned object.
227 AnimationDelegate* CreateRemoveTabDelegate(BaseTab* tab); 227 ui::AnimationDelegate* CreateRemoveTabDelegate(BaseTab* tab);
228 228
229 // Invoked from Layout if the size changes or layout is really needed. 229 // Invoked from Layout if the size changes or layout is really needed.
230 virtual void DoLayout(); 230 virtual void DoLayout();
231 231
232 private: 232 private:
233 class RemoveTabDelegate; 233 class RemoveTabDelegate;
234 234
235 friend class DraggedTabController; 235 friend class DraggedTabController;
236 236
237 // See description above field for details. 237 // See description above field for details.
(...skipping 13 matching lines...) Expand all
251 // model. 251 // model.
252 bool attaching_dragged_tab_; 252 bool attaching_dragged_tab_;
253 253
254 views::BoundsAnimator bounds_animator_; 254 views::BoundsAnimator bounds_animator_;
255 255
256 // Size we last layed out at. 256 // Size we last layed out at.
257 gfx::Size last_layout_size_; 257 gfx::Size last_layout_size_;
258 }; 258 };
259 259
260 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_ 260 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/base_tab.cc ('k') | chrome/browser/ui/views/tabs/base_tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698