| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | |
| 10 | |
| 11 class BaseTab; | 9 class BaseTab; |
| 12 class BaseTabStrip; | 10 class BaseTabStrip; |
| 13 class GURL; | 11 class GURL; |
| 14 | 12 |
| 15 namespace gfx { | 13 namespace gfx { |
| 16 class Point; | 14 class Point; |
| 17 } | 15 } |
| 18 | 16 |
| 19 // Model/Controller for the TabStrip. | 17 // Model/Controller for the TabStrip. |
| 20 // NOTE: All indices used by this class are in model coordinates. | 18 // NOTE: All indices used by this class are in model coordinates. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 64 |
| 67 // Return true if this tab strip is compatible with the provided tab strip. | 65 // Return true if this tab strip is compatible with the provided tab strip. |
| 68 // Compatible tab strips can transfer tabs during drag and drop. | 66 // Compatible tab strips can transfer tabs during drag and drop. |
| 69 virtual bool IsCompatibleWith(BaseTabStrip* other) const = 0; | 67 virtual bool IsCompatibleWith(BaseTabStrip* other) const = 0; |
| 70 | 68 |
| 71 // Creates the new tab. | 69 // Creates the new tab. |
| 72 virtual void CreateNewTab() = 0; | 70 virtual void CreateNewTab() = 0; |
| 73 }; | 71 }; |
| 74 | 72 |
| 75 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ | 73 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |
| OLD | NEW |