| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 // extension state resides. | 94 // extension state resides. |
| 95 extern const char kStateStoreName[]; | 95 extern const char kStateStoreName[]; |
| 96 | 96 |
| 97 // The name of the database inside the profile where declarative extension | 97 // The name of the database inside the profile where declarative extension |
| 98 // rules are stored. | 98 // rules are stored. |
| 99 extern const char kRulesStoreName[]; | 99 extern const char kRulesStoreName[]; |
| 100 | 100 |
| 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 |
| 105 extern const char kMimeTypeJpeg[]; |
| 106 extern const char kMimeTypePng[]; |
| 107 |
| 104 } // namespace extensions | 108 } // namespace extensions |
| 105 | 109 |
| 106 namespace extension_misc { | 110 namespace extension_misc { |
| 107 | 111 |
| 108 // Matches chrome.windows.WINDOW_ID_NONE. | 112 // Matches chrome.windows.WINDOW_ID_NONE. |
| 109 const int kUnknownWindowId = -1; | 113 const int kUnknownWindowId = -1; |
| 110 | 114 |
| 111 // Matches chrome.windows.WINDOW_ID_CURRENT. | 115 // Matches chrome.windows.WINDOW_ID_CURRENT. |
| 112 const int kCurrentWindowId = -2; | 116 const int kCurrentWindowId = -2; |
| 113 | 117 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 139 const ui::ScaleFactor scale; | 143 const ui::ScaleFactor scale; |
| 140 }; | 144 }; |
| 141 | 145 |
| 142 // The icon representations for extension actions. | 146 // The icon representations for extension actions. |
| 143 extern const IconRepresentationInfo kExtensionActionIconSizes[]; | 147 extern const IconRepresentationInfo kExtensionActionIconSizes[]; |
| 144 const size_t kNumExtensionActionIconSizes = 2u; | 148 const size_t kNumExtensionActionIconSizes = 2u; |
| 145 | 149 |
| 146 } // namespace extension_misc | 150 } // namespace extension_misc |
| 147 | 151 |
| 148 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 152 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
| OLD | NEW |