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

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

Issue 538063003: Move execute_code_function to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 6 years, 3 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
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698