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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // The URL query parameter key corresponding to multi-login user index. | 101 // The URL query parameter key corresponding to multi-login user index. |
102 extern const char kAuthUserQueryKey[]; | 102 extern const char kAuthUserQueryKey[]; |
103 | 103 |
104 // Mime type strings | 104 // Mime type strings |
105 extern const char kMimeTypeJpeg[]; | 105 extern const char kMimeTypeJpeg[]; |
106 extern const char kMimeTypePng[]; | 106 extern const char kMimeTypePng[]; |
107 | 107 |
108 // The extension id of the Web Store component application. | 108 // The extension id of the Web Store component application. |
109 extern const char kWebStoreAppId[]; | 109 extern const char kWebStoreAppId[]; |
110 | 110 |
| 111 // Error messages |
| 112 extern const char kNoCodeOrFileToExecuteError[]; |
| 113 extern const char kMoreThanOneValuesError[]; |
| 114 extern const char kLoadFileError[]; |
| 115 |
111 } // namespace extensions | 116 } // namespace extensions |
112 | 117 |
113 namespace extension_misc { | 118 namespace extension_misc { |
114 | 119 |
115 // Matches chrome.windows.WINDOW_ID_NONE. | 120 // Matches chrome.windows.WINDOW_ID_NONE. |
116 const int kUnknownWindowId = -1; | 121 const int kUnknownWindowId = -1; |
117 | 122 |
118 // Matches chrome.windows.WINDOW_ID_CURRENT. | 123 // Matches chrome.windows.WINDOW_ID_CURRENT. |
119 const int kCurrentWindowId = -2; | 124 const int kCurrentWindowId = -2; |
120 | 125 |
(...skipping 25 matching lines...) Expand all Loading... |
146 const ui::ScaleFactor scale; | 151 const ui::ScaleFactor scale; |
147 }; | 152 }; |
148 | 153 |
149 // The icon representations for extension actions. | 154 // The icon representations for extension actions. |
150 extern const IconRepresentationInfo kExtensionActionIconSizes[]; | 155 extern const IconRepresentationInfo kExtensionActionIconSizes[]; |
151 const size_t kNumExtensionActionIconSizes = 2u; | 156 const size_t kNumExtensionActionIconSizes = 2u; |
152 | 157 |
153 } // namespace extension_misc | 158 } // namespace extension_misc |
154 | 159 |
155 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 160 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
OLD | NEW |