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

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

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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_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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // move. 166 // move.
167 virtual void StartMoveTabAnimation(); 167 virtual void StartMoveTabAnimation();
168 168
169 // Starts the remove tab animation. 169 // Starts the remove tab animation.
170 virtual void StartRemoveTabAnimation(int model_index); 170 virtual void StartRemoveTabAnimation(int model_index);
171 171
172 // Starts the mini-tab animation. 172 // Starts the mini-tab animation.
173 virtual void StartMiniTabAnimation(); 173 virtual void StartMiniTabAnimation();
174 174
175 // Returns whether the highlight button should be highlighted after a remove. 175 // Returns whether the highlight button should be highlighted after a remove.
176 virtual bool ShouldHighlightCloseButtonAfterRemove() { return true; } 176 virtual bool ShouldHighlightCloseButtonAfterRemove();
177 177
178 // Animates all the views to their ideal bounds. 178 // Animates all the views to their ideal bounds.
179 // NOTE: this does *not* invoke GenerateIdealBounds, it uses the bounds 179 // NOTE: this does *not* invoke GenerateIdealBounds, it uses the bounds
180 // currently set in ideal_bounds. 180 // currently set in ideal_bounds.
181 virtual void AnimateToIdealBounds() = 0; 181 virtual void AnimateToIdealBounds() = 0;
182 182
183 // Cleans up the Tab from the TabStrip. This is called from the tab animation 183 // Cleans up the Tab from the TabStrip. This is called from the tab animation
184 // code and is not a general-purpose method. 184 // code and is not a general-purpose method.
185 void RemoveAndDeleteTab(BaseTab* tab); 185 void RemoveAndDeleteTab(BaseTab* tab);
186 186
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // model. 243 // model.
244 bool attaching_dragged_tab_; 244 bool attaching_dragged_tab_;
245 245
246 views::BoundsAnimator bounds_animator_; 246 views::BoundsAnimator bounds_animator_;
247 247
248 // Size we last layed out at. 248 // Size we last layed out at.
249 gfx::Size last_layout_size_; 249 gfx::Size last_layout_size_;
250 }; 250 };
251 251
252 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_ 252 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698