| OLD | NEW |
| 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 "chrome/browser/tabs/tab_strip_model.h" | 9 #include "chrome/browser/tabs/tab_strip_model.h" |
| 10 #include "chrome/browser/views/tabs/tab.h" | 10 #include "chrome/browser/views/tabs/tab.h" |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 TabStripModel::ContextMenuCommand command_id, const Tab* tab) const; | 134 TabStripModel::ContextMenuCommand command_id, const Tab* tab) const; |
| 135 virtual void ExecuteCommandForTab( | 135 virtual void ExecuteCommandForTab( |
| 136 TabStripModel::ContextMenuCommand command_id, Tab* tab); | 136 TabStripModel::ContextMenuCommand command_id, Tab* tab); |
| 137 virtual void StartHighlightTabsForCommand( | 137 virtual void StartHighlightTabsForCommand( |
| 138 TabStripModel::ContextMenuCommand command_id, Tab* tab); | 138 TabStripModel::ContextMenuCommand command_id, Tab* tab); |
| 139 virtual void StopHighlightTabsForCommand( | 139 virtual void StopHighlightTabsForCommand( |
| 140 TabStripModel::ContextMenuCommand command_id, Tab* tab); | 140 TabStripModel::ContextMenuCommand command_id, Tab* tab); |
| 141 virtual void StopAllHighlighting(); | 141 virtual void StopAllHighlighting(); |
| 142 virtual void MaybeStartDrag(Tab* tab, const views::MouseEvent& event); | 142 virtual void MaybeStartDrag(Tab* tab, const views::MouseEvent& event); |
| 143 virtual void ContinueDrag(const views::MouseEvent& event); | 143 virtual void ContinueDrag(const views::MouseEvent& event); |
| 144 virtual void EndDrag(bool canceled); | 144 virtual bool EndDrag(bool canceled); |
| 145 | 145 |
| 146 // views::Button::ButtonListener implementation: | 146 // views::Button::ButtonListener implementation: |
| 147 virtual void ButtonPressed(views::BaseButton* sender); | 147 virtual void ButtonPressed(views::BaseButton* sender); |
| 148 | 148 |
| 149 // MessageLoop::Observer implementation: | 149 // MessageLoop::Observer implementation: |
| 150 virtual void WillProcessMessage(const MSG& msg); | 150 virtual void WillProcessMessage(const MSG& msg); |
| 151 virtual void DidProcessMessage(const MSG& msg); | 151 virtual void DidProcessMessage(const MSG& msg); |
| 152 | 152 |
| 153 private: | 153 private: |
| 154 friend class DraggedTabController; | 154 friend class DraggedTabController; |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 std::vector<TabData> tab_data_; | 354 std::vector<TabData> tab_data_; |
| 355 | 355 |
| 356 // The currently running animation. | 356 // The currently running animation. |
| 357 scoped_ptr<TabAnimation> active_animation_; | 357 scoped_ptr<TabAnimation> active_animation_; |
| 358 | 358 |
| 359 DISALLOW_EVIL_CONSTRUCTORS(TabStrip); | 359 DISALLOW_EVIL_CONSTRUCTORS(TabStrip); |
| 360 }; | 360 }; |
| 361 | 361 |
| 362 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H__ | 362 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_H__ |
| 363 | 363 |
| OLD | NEW |