| 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/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "ui/base/layout.h" | 10 #include "ui/base/layout.h" |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 // Don't remove items or change the order of this enum. It's used in | 156 // Don't remove items or change the order of this enum. It's used in |
| 157 // histograms and preferences. | 157 // histograms and preferences. |
| 158 enum LaunchContainer { | 158 enum LaunchContainer { |
| 159 LAUNCH_CONTAINER_WINDOW, | 159 LAUNCH_CONTAINER_WINDOW, |
| 160 LAUNCH_CONTAINER_PANEL, | 160 LAUNCH_CONTAINER_PANEL, |
| 161 LAUNCH_CONTAINER_TAB, | 161 LAUNCH_CONTAINER_TAB, |
| 162 // For platform apps, which don't actually have a container (they just get a | 162 // For platform apps, which don't actually have a container (they just get a |
| 163 // "onLaunched" event). | 163 // "onLaunched" event). |
| 164 LAUNCH_CONTAINER_NONE | 164 LAUNCH_CONTAINER_NONE, |
| 165 NUM_LAUNCH_CONTAINERS |
| 165 }; | 166 }; |
| 166 | 167 |
| 167 } // namespace extensions | 168 } // namespace extensions |
| 168 | 169 |
| 169 namespace extension_misc { | 170 namespace extension_misc { |
| 170 | 171 |
| 171 // Matches chrome.windows.WINDOW_ID_NONE. | 172 // Matches chrome.windows.WINDOW_ID_NONE. |
| 172 const int kUnknownWindowId = -1; | 173 const int kUnknownWindowId = -1; |
| 173 | 174 |
| 174 // Matches chrome.windows.WINDOW_ID_CURRENT. | 175 // Matches chrome.windows.WINDOW_ID_CURRENT. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 202 const ui::ScaleFactor scale; | 203 const ui::ScaleFactor scale; |
| 203 }; | 204 }; |
| 204 | 205 |
| 205 // The icon representations for extension actions. | 206 // The icon representations for extension actions. |
| 206 extern const IconRepresentationInfo kExtensionActionIconSizes[]; | 207 extern const IconRepresentationInfo kExtensionActionIconSizes[]; |
| 207 const size_t kNumExtensionActionIconSizes = 2u; | 208 const size_t kNumExtensionActionIconSizes = 2u; |
| 208 | 209 |
| 209 } // namespace extension_misc | 210 } // namespace extension_misc |
| 210 | 211 |
| 211 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 212 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
| OLD | NEW |