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

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

Issue 113965: Remove some dead code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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/fullscreen_exit_bubble.cc ('k') | no next file » | 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) 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 "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/tabs/tab_strip_model.h" 10 #include "chrome/browser/tabs/tab_strip_model.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Returns true if Tabs in this TabStrip are currently changing size or 68 // Returns true if Tabs in this TabStrip are currently changing size or
69 // position. 69 // position.
70 bool IsAnimating() const; 70 bool IsAnimating() const;
71 71
72 // Accessors for the model and individual Tabs. 72 // Accessors for the model and individual Tabs.
73 TabStripModel* model() { return model_; } 73 TabStripModel* model() { return model_; }
74 74
75 // Returns true if there is an active drag session. 75 // Returns true if there is an active drag session.
76 bool IsDragSessionActive() const { return drag_controller_.get() != NULL; } 76 bool IsDragSessionActive() const { return drag_controller_.get() != NULL; }
77 77
78 // Aborts any active drag session. This is called from XP/VistaFrame's
79 // end session handler to make sure there are no drag sessions in flight that
80 // could prevent the frame from being closed right away.
81 void AbortActiveDragSession() { EndDrag(true); }
82
83 // Destroys the active drag controller. 78 // Destroys the active drag controller.
84 void DestroyDragController(); 79 void DestroyDragController();
85 80
86 // Removes the drag source Tab from this TabStrip, and deletes it. 81 // Removes the drag source Tab from this TabStrip, and deletes it.
87 void DestroyDraggedSourceTab(Tab* tab); 82 void DestroyDraggedSourceTab(Tab* tab);
88 83
89 // Retrieve the ideal bounds for the Tab at the specified index. 84 // Retrieve the ideal bounds for the Tab at the specified index.
90 gfx::Rect GetIdealBounds(int index); 85 gfx::Rect GetIdealBounds(int index);
91 86
92 // Updates loading animations for the TabStrip. 87 // Updates loading animations for the TabStrip.
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 }; 361 };
367 std::vector<TabData> tab_data_; 362 std::vector<TabData> tab_data_;
368 363
369 // The currently running animation. 364 // The currently running animation.
370 scoped_ptr<TabAnimation> active_animation_; 365 scoped_ptr<TabAnimation> active_animation_;
371 366
372 DISALLOW_COPY_AND_ASSIGN(TabStrip); 367 DISALLOW_COPY_AND_ASSIGN(TabStrip);
373 }; 368 };
374 369
375 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_ 370 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/fullscreen_exit_bubble.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698