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_EXTENSIONS_EXTENSION_PREFS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 typedef std::vector<linked_ptr<ExtensionInfo> > ExtensionsInfo; | 29 typedef std::vector<linked_ptr<ExtensionInfo> > ExtensionsInfo; |
30 | 30 |
31 // This enum is used for the launch type the user wants to use for an | 31 // This enum is used for the launch type the user wants to use for an |
32 // application. | 32 // application. |
33 // Do not remove items or re-order this enum as it is used in preferences | 33 // Do not remove items or re-order this enum as it is used in preferences |
34 // and histograms. | 34 // and histograms. |
35 enum LaunchType { | 35 enum LaunchType { |
36 LAUNCH_PINNED, | 36 LAUNCH_PINNED, |
37 LAUNCH_REGULAR, | 37 LAUNCH_REGULAR, |
38 LAUNCH_FULLSCREEN | 38 LAUNCH_FULLSCREEN, |
| 39 LAUNCH_WINDOW |
39 }; | 40 }; |
40 | 41 |
41 explicit ExtensionPrefs(PrefService* prefs, const FilePath& root_dir_); | 42 explicit ExtensionPrefs(PrefService* prefs, const FilePath& root_dir_); |
42 ~ExtensionPrefs(); | 43 ~ExtensionPrefs(); |
43 | 44 |
44 // Returns a copy of the Extensions prefs. | 45 // Returns a copy of the Extensions prefs. |
45 // TODO(erikkay) Remove this so that external consumers don't need to be | 46 // TODO(erikkay) Remove this so that external consumers don't need to be |
46 // aware of the internal structure of the preferences. | 47 // aware of the internal structure of the preferences. |
47 DictionaryValue* CopyCurrentExtensions(); | 48 DictionaryValue* CopyCurrentExtensions(); |
48 | 49 |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 // Base extensions install directory. | 268 // Base extensions install directory. |
268 FilePath install_directory_; | 269 FilePath install_directory_; |
269 | 270 |
270 // The URLs of all of the toolstrips. | 271 // The URLs of all of the toolstrips. |
271 URLList shelf_order_; | 272 URLList shelf_order_; |
272 | 273 |
273 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); | 274 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); |
274 }; | 275 }; |
275 | 276 |
276 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ | 277 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
OLD | NEW |