| 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_TABS_TAB_STRIP_MODEL_H_ | 5 #ifndef CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H_ |
| 6 #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H_ | 6 #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 // that type. | 407 // that type. |
| 408 Browser* TearOffTabContents(TabContents* detached_contents, | 408 Browser* TearOffTabContents(TabContents* detached_contents, |
| 409 const gfx::Rect& window_bounds, | 409 const gfx::Rect& window_bounds, |
| 410 const DockInfo& dock_info); | 410 const DockInfo& dock_info); |
| 411 | 411 |
| 412 // Context menu functions. | 412 // Context menu functions. |
| 413 enum ContextMenuCommand { | 413 enum ContextMenuCommand { |
| 414 CommandFirst = 0, | 414 CommandFirst = 0, |
| 415 CommandNewTab, | 415 CommandNewTab, |
| 416 CommandReload, | 416 CommandReload, |
| 417 CommandReloadAll, |
| 417 CommandDuplicate, | 418 CommandDuplicate, |
| 418 CommandCloseTab, | 419 CommandCloseTab, |
| 419 CommandCloseOtherTabs, | 420 CommandCloseOtherTabs, |
| 420 CommandCloseTabsToRight, | 421 CommandCloseTabsToRight, |
| 421 CommandCloseTabsOpenedBy, | 422 CommandCloseTabsOpenedBy, |
| 422 CommandRestoreTab, | 423 CommandRestoreTab, |
| 423 CommandTaskManager, | 424 CommandTaskManager, |
| 424 CommandLast | 425 CommandLast |
| 425 }; | 426 }; |
| 426 | 427 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 typedef ObserverList<TabStripModelObserver> TabStripModelObservers; | 574 typedef ObserverList<TabStripModelObserver> TabStripModelObservers; |
| 574 TabStripModelObservers observers_; | 575 TabStripModelObservers observers_; |
| 575 | 576 |
| 576 // A scoped container for notification registries. | 577 // A scoped container for notification registries. |
| 577 NotificationRegistrar registrar_; | 578 NotificationRegistrar registrar_; |
| 578 | 579 |
| 579 DISALLOW_COPY_AND_ASSIGN(TabStripModel); | 580 DISALLOW_COPY_AND_ASSIGN(TabStripModel); |
| 580 }; | 581 }; |
| 581 | 582 |
| 582 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H_ | 583 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H_ |
| OLD | NEW |