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_UI_TOOLBAR_TOOLBAR_ACTIONS_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_MODEL_H_ |
6 #define CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_MODEL_H_ | 6 #define CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_MODEL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "base/prefs/pref_change_registrar.h" | |
15 #include "base/scoped_observer.h" | 14 #include "base/scoped_observer.h" |
16 #include "chrome/browser/extensions/api/extension_action/extension_action_api.h" | 15 #include "chrome/browser/extensions/api/extension_action/extension_action_api.h" |
17 #include "chrome/browser/extensions/component_migration_helper.h" | 16 #include "chrome/browser/extensions/component_migration_helper.h" |
18 #include "chrome/browser/extensions/extension_action.h" | 17 #include "chrome/browser/extensions/extension_action.h" |
19 #include "components/keyed_service/core/keyed_service.h" | 18 #include "components/keyed_service/core/keyed_service.h" |
| 19 #include "components/prefs/pref_change_registrar.h" |
20 #include "extensions/browser/extension_prefs.h" | 20 #include "extensions/browser/extension_prefs.h" |
21 #include "extensions/browser/extension_registry_observer.h" | 21 #include "extensions/browser/extension_registry_observer.h" |
22 #include "extensions/common/extension.h" | 22 #include "extensions/common/extension.h" |
23 | 23 |
24 class Browser; | 24 class Browser; |
25 class PrefService; | 25 class PrefService; |
26 class Profile; | 26 class Profile; |
27 class ToolbarActionsBar; | 27 class ToolbarActionsBar; |
28 class ToolbarActionViewController; | 28 class ToolbarActionViewController; |
29 | 29 |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 // For observing change of toolbar order preference by external entity (sync). | 333 // For observing change of toolbar order preference by external entity (sync). |
334 PrefChangeRegistrar pref_change_registrar_; | 334 PrefChangeRegistrar pref_change_registrar_; |
335 base::Closure pref_change_callback_; | 335 base::Closure pref_change_callback_; |
336 | 336 |
337 base::WeakPtrFactory<ToolbarActionsModel> weak_ptr_factory_; | 337 base::WeakPtrFactory<ToolbarActionsModel> weak_ptr_factory_; |
338 | 338 |
339 DISALLOW_COPY_AND_ASSIGN(ToolbarActionsModel); | 339 DISALLOW_COPY_AND_ASSIGN(ToolbarActionsModel); |
340 }; | 340 }; |
341 | 341 |
342 #endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_MODEL_H_ | 342 #endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_ACTIONS_MODEL_H_ |
OLD | NEW |