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

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

Issue 1710253003: Misc. Tab-related cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better structure for #ifdefs Created 4 years, 10 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
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TAB_STRIP_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 303
304 // Whether the MIME type of the file pointed to by |url| is supported. 304 // Whether the MIME type of the file pointed to by |url| is supported.
305 bool file_supported; 305 bool file_supported;
306 306
307 private: 307 private:
308 DISALLOW_COPY_AND_ASSIGN(DropInfo); 308 DISALLOW_COPY_AND_ASSIGN(DropInfo);
309 }; 309 };
310 310
311 void Init(); 311 void Init();
312 312
313 // Creates and returns a new tab. The caller owners the returned tab.
314 Tab* CreateTab();
315
316 // Invoked from |AddTabAt| after the newly created tab has been inserted. 313 // Invoked from |AddTabAt| after the newly created tab has been inserted.
317 void StartInsertTabAnimation(int model_index); 314 void StartInsertTabAnimation(int model_index);
318 315
319 // Invoked from |MoveTab| after |tab_data_| has been updated to animate the 316 // Invoked from |MoveTab| after |tab_data_| has been updated to animate the
320 // move. 317 // move.
321 void StartMoveTabAnimation(); 318 void StartMoveTabAnimation();
322 319
323 // Starts the remove tab animation. 320 // Starts the remove tab animation.
324 void StartRemoveTabAnimation(int model_index); 321 void StartRemoveTabAnimation(int model_index);
325 322
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 bool immersive_style_; 646 bool immersive_style_;
650 647
651 // Our observers. 648 // Our observers.
652 typedef base::ObserverList<TabStripObserver> TabStripObservers; 649 typedef base::ObserverList<TabStripObserver> TabStripObservers;
653 TabStripObservers observers_; 650 TabStripObservers observers_;
654 651
655 DISALLOW_COPY_AND_ASSIGN(TabStrip); 652 DISALLOW_COPY_AND_ASSIGN(TabStrip);
656 }; 653 };
657 654
658 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 655 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698