OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_TABS_TAB_STRIP_MODEL_DELEGATE_H_ |
6 #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_DELEGATE_H_ | 6 #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "content/public/common/page_transition_types.h" | 11 #include "content/public/common/page_transition_types.h" |
12 | 12 |
13 class Browser; | 13 class Browser; |
14 class DockInfo; | 14 class DockInfo; |
15 class GURL; | 15 class GURL; |
16 class Profile; | 16 class Profile; |
17 class TabContents; | |
18 class TabContentsWrapper; | 17 class TabContentsWrapper; |
19 namespace content { | 18 namespace content { |
20 class SiteInstance; | 19 class SiteInstance; |
21 struct Referrer; | 20 struct Referrer; |
22 } | 21 } |
23 namespace gfx { | 22 namespace gfx { |
24 class Rect; | 23 class Rect; |
25 } | 24 } |
26 | 25 |
27 /////////////////////////////////////////////////////////////////////////////// | 26 /////////////////////////////////////////////////////////////////////////////// |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 virtual bool CanCloseTab() const = 0; | 117 virtual bool CanCloseTab() const = 0; |
119 | 118 |
120 // Returns true if the tab strip can use large icons. | 119 // Returns true if the tab strip can use large icons. |
121 virtual bool LargeIconsPermitted() const = 0; | 120 virtual bool LargeIconsPermitted() const = 0; |
122 | 121 |
123 protected: | 122 protected: |
124 virtual ~TabStripModelDelegate() {} | 123 virtual ~TabStripModelDelegate() {} |
125 }; | 124 }; |
126 | 125 |
127 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_DELEGATE_H_ | 126 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_DELEGATE_H_ |
OLD | NEW |