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

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

Issue 348313003: Create withheld permissions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test fix Created 6 years, 5 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 | Annotate | Revision Log
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 10
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 }; 132 };
133 133
134 // List of sizes for extension icons that can be defined in the manifest. 134 // List of sizes for extension icons that can be defined in the manifest.
135 extern const int kExtensionIconSizes[]; 135 extern const int kExtensionIconSizes[];
136 extern const size_t kNumExtensionIconSizes; 136 extern const size_t kNumExtensionIconSizes;
137 137
138 // List of sizes for extension icons that can be defined in the manifest. 138 // List of sizes for extension icons that can be defined in the manifest.
139 extern const int kExtensionActionIconSizes[]; 139 extern const int kExtensionActionIconSizes[];
140 extern const size_t kNumExtensionActionIconSizes; 140 extern const size_t kNumExtensionActionIconSizes;
141 141
142 // The type of injected script.
143 enum InjectedScriptType {
144 CONTENT_SCRIPT, // A content script specified in the extenion's manifest.
not at google - send to devlin 2014/06/27 23:24:33 extension's
Devlin 2014/06/30 17:06:10 That typo was totally my intentional way of making
145 PROGRAMMATIC_SCRIPT // A script injected via, e.g. tabs.executeScript().
146 };
147
142 } // namespace extension_misc 148 } // namespace extension_misc
143 149
144 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ 150 #endif // EXTENSIONS_COMMON_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698