| 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_COMMON_EXTENSIONS_EXTENSION_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| 7 | 7 |
| 8 #include <algorithm> | 8 #include <algorithm> |
| 9 #include <iosfwd> | 9 #include <iosfwd> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1136 // users can override the way each app launches. See | 1136 // users can override the way each app launches. See |
| 1137 // ExtensionPrefs::GetLaunchContainer(), which looks at a per-app pref | 1137 // ExtensionPrefs::GetLaunchContainer(), which looks at a per-app pref |
| 1138 // to decide what container an app will launch in. | 1138 // to decide what container an app will launch in. |
| 1139 extension_misc::LaunchContainer launch_container_; | 1139 extension_misc::LaunchContainer launch_container_; |
| 1140 | 1140 |
| 1141 // The default size of the container when launching. Only respected for | 1141 // The default size of the container when launching. Only respected for |
| 1142 // containers like panels and windows. | 1142 // containers like panels and windows. |
| 1143 int launch_width_; | 1143 int launch_width_; |
| 1144 int launch_height_; | 1144 int launch_height_; |
| 1145 | 1145 |
| 1146 // Should this app be shown in a launcher. |
| 1147 bool display_in_launcher_; |
| 1148 |
| 1146 // The Omnibox keyword for this extension, or empty if there is none. | 1149 // The Omnibox keyword for this extension, or empty if there is none. |
| 1147 std::string omnibox_keyword_; | 1150 std::string omnibox_keyword_; |
| 1148 | 1151 |
| 1149 // List of text-to-speech voices that this extension provides, if any. | 1152 // List of text-to-speech voices that this extension provides, if any. |
| 1150 std::vector<TtsVoice> tts_voices_; | 1153 std::vector<TtsVoice> tts_voices_; |
| 1151 | 1154 |
| 1152 // The OAuth2 client id and scopes, if specified by the extension. | 1155 // The OAuth2 client id and scopes, if specified by the extension. |
| 1153 OAuth2Info oauth2_info_; | 1156 OAuth2Info oauth2_info_; |
| 1154 | 1157 |
| 1155 // List of intent services that this extension provides, if any. | 1158 // List of intent services that this extension provides, if any. |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1230 | 1233 |
| 1231 UpdatedExtensionPermissionsInfo( | 1234 UpdatedExtensionPermissionsInfo( |
| 1232 const Extension* extension, | 1235 const Extension* extension, |
| 1233 const PermissionSet* permissions, | 1236 const PermissionSet* permissions, |
| 1234 Reason reason); | 1237 Reason reason); |
| 1235 }; | 1238 }; |
| 1236 | 1239 |
| 1237 } // namespace extensions | 1240 } // namespace extensions |
| 1238 | 1241 |
| 1239 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 1242 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| OLD | NEW |