| OLD | NEW |
| 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_TAB_STRIP_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 class BaseTab; | 9 class BaseTab; |
| 10 class BaseTabStrip; | 10 class BaseTabStrip; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 // Performs a drop at the specified location. | 75 // Performs a drop at the specified location. |
| 76 virtual void PerformDrop(bool drop_before, int index, const GURL& url) = 0; | 76 virtual void PerformDrop(bool drop_before, int index, const GURL& url) = 0; |
| 77 | 77 |
| 78 // Return true if this tab strip is compatible with the provided tab strip. | 78 // Return true if this tab strip is compatible with the provided tab strip. |
| 79 // Compatible tab strips can transfer tabs during drag and drop. | 79 // Compatible tab strips can transfer tabs during drag and drop. |
| 80 virtual bool IsCompatibleWith(BaseTabStrip* other) const = 0; | 80 virtual bool IsCompatibleWith(BaseTabStrip* other) const = 0; |
| 81 | 81 |
| 82 // Creates the new tab. | 82 // Creates the new tab. |
| 83 virtual void CreateNewTab() = 0; | 83 virtual void CreateNewTab() = 0; |
| 84 |
| 85 // Informs that an active tab is selected when already active (ie - clicked |
| 86 // when already active/foreground). |
| 87 virtual void ReselectTab(int index) = 0; |
| 84 }; | 88 }; |
| 85 | 89 |
| 86 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ | 90 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |
| OLD | NEW |