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 EXTENSIONS_COMMON_CONSTANTS_H_ | 5 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_ |
6 #define EXTENSIONS_COMMON_CONSTANTS_H_ | 6 #define EXTENSIONS_COMMON_CONSTANTS_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "ui/base/layout.h" | 9 #include "ui/base/layout.h" |
10 | 10 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 // For platform apps, which don't actually have a container (they just get a | 163 // For platform apps, which don't actually have a container (they just get a |
164 // "onLaunched" event). | 164 // "onLaunched" event). |
165 LAUNCH_CONTAINER_NONE, | 165 LAUNCH_CONTAINER_NONE, |
166 NUM_LAUNCH_CONTAINERS | 166 NUM_LAUNCH_CONTAINERS |
167 }; | 167 }; |
168 | 168 |
169 } // namespace extensions | 169 } // namespace extensions |
170 | 170 |
171 namespace extension_misc { | 171 namespace extension_misc { |
172 | 172 |
| 173 // Matches chrome.tabs.TAB_ID_NONE |
| 174 const int kUnknownTabId = -1; |
| 175 |
173 // Matches chrome.windows.WINDOW_ID_NONE. | 176 // Matches chrome.windows.WINDOW_ID_NONE. |
174 const int kUnknownWindowId = -1; | 177 const int kUnknownWindowId = -1; |
175 | 178 |
176 // Matches chrome.windows.WINDOW_ID_CURRENT. | 179 // Matches chrome.windows.WINDOW_ID_CURRENT. |
177 const int kCurrentWindowId = -2; | 180 const int kCurrentWindowId = -2; |
178 | 181 |
179 // NOTE: If you change this list, you should also change kExtensionIconSizes | 182 // NOTE: If you change this list, you should also change kExtensionIconSizes |
180 // in cc file. | 183 // in cc file. |
181 enum ExtensionIcons { | 184 enum ExtensionIcons { |
182 EXTENSION_ICON_GIGANTOR = 512, | 185 EXTENSION_ICON_GIGANTOR = 512, |
(...skipping 24 matching lines...) Expand all Loading... |
207 | 210 |
208 // The extension id for the production version of Hangouts. | 211 // The extension id for the production version of Hangouts. |
209 extern const char kProdHangoutsExtensionId[]; | 212 extern const char kProdHangoutsExtensionId[]; |
210 | 213 |
211 // Extension ids used by Hangouts. | 214 // Extension ids used by Hangouts. |
212 extern const char* const kHangoutsExtensionIds[6]; | 215 extern const char* const kHangoutsExtensionIds[6]; |
213 | 216 |
214 } // namespace extension_misc | 217 } // namespace extension_misc |
215 | 218 |
216 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 219 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
OLD | NEW |