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_EXTENSIONS_EXTENSION_TOOLBAR_MODEL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TOOLBAR_MODEL_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TOOLBAR_MODEL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TOOLBAR_MODEL_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
11 #include "chrome/common/extensions/extension.h" | 10 #include "chrome/common/extensions/extension.h" |
12 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
14 | 13 |
15 class Browser; | 14 class Browser; |
16 class ExtensionService; | 15 class ExtensionService; |
17 class PrefService; | 16 class PrefService; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 // The number of icons visible (the rest should be hidden in the overflow | 131 // The number of icons visible (the rest should be hidden in the overflow |
133 // chevron). | 132 // chevron). |
134 int visible_icon_count_; | 133 int visible_icon_count_; |
135 | 134 |
136 content::NotificationRegistrar registrar_; | 135 content::NotificationRegistrar registrar_; |
137 | 136 |
138 DISALLOW_COPY_AND_ASSIGN(ExtensionToolbarModel); | 137 DISALLOW_COPY_AND_ASSIGN(ExtensionToolbarModel); |
139 }; | 138 }; |
140 | 139 |
141 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TOOLBAR_MODEL_H_ | 140 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TOOLBAR_MODEL_H_ |
OLD | NEW |