Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: extensions/common/constants.h

Issue 797183005: Add a mimeHandler extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@streams-lifetime
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/common/common_manifest_handlers.cc ('k') | extensions/common/constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // ExtensionAction SetIcon function arguments. 201 // ExtensionAction SetIcon function arguments.
202 const char* const size_string; 202 const char* const size_string;
203 // Scale factor for which the representation should be used. 203 // Scale factor for which the representation should be used.
204 const ui::ScaleFactor scale; 204 const ui::ScaleFactor scale;
205 }; 205 };
206 206
207 // The icon representations for extension actions. 207 // The icon representations for extension actions.
208 extern const IconRepresentationInfo kExtensionActionIconSizes[]; 208 extern const IconRepresentationInfo kExtensionActionIconSizes[];
209 const size_t kNumExtensionActionIconSizes = 2u; 209 const size_t kNumExtensionActionIconSizes = 2u;
210 210
211 // The extension id of the PDF extension.
212 extern const char kPdfExtensionId[];
213
214 // The extension id of the Office Viewer component extension.
215 extern const char kQuickOfficeComponentExtensionId[];
216
217 // The extension id of the Office Viewer extension on the internal webstore.
218 extern const char kQuickOfficeInternalExtensionId[];
219
220 // The extension id of the Office Viewer extension.
221 extern const char kQuickOfficeExtensionId[];
222
223 // The extension id used for testing mimeHandlerPrivate.
224 extern const char kMimeHandlerPrivateTestExtensionId[];
225
211 } // namespace extension_misc 226 } // namespace extension_misc
212 227
213 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ 228 #endif // EXTENSIONS_COMMON_CONSTANTS_H_
OLDNEW
« no previous file with comments | « extensions/common/common_manifest_handlers.cc ('k') | extensions/common/constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698