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

Side by Side Diff: extensions/renderer/extension_groups.h

Issue 235943018: Move extensions bindings code out of //chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 6 years, 8 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 CHROME_RENDERER_EXTENSIONS_EXTENSION_GROUPS_H_ 5 #ifndef EXTENSIONS_RENDERER_EXTENSION_GROUPS_H_
6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_GROUPS_H_ 6 #define EXTENSIONS_RENDERER_EXTENSION_GROUPS_H_
7 7
8 namespace extensions { 8 namespace extensions {
9 9
10 // A set of extension groups for use with blink::registerExtension and 10 // A set of extension groups for use with blink::registerExtension and
11 // WebFrame::ExecuteScriptInNewWorld to control which extensions get loaded 11 // WebFrame::ExecuteScriptInNewWorld to control which extensions get loaded
12 // into which contexts. 12 // into which contexts.
13 enum ExtensionGroups { 13 enum ExtensionGroups {
14 // Use this to mark extensions to be loaded into content scripts only. 14 // Use this to mark extensions to be loaded into content scripts only.
15 EXTENSION_GROUP_CONTENT_SCRIPTS = 1, 15 EXTENSION_GROUP_CONTENT_SCRIPTS = 1,
16 16
17 // Use this in an isolated world for internal Chrome Translate. 17 // Use this in an isolated world for internal Chrome Translate.
18 // No extension APIs are available. 18 // No extension APIs are available.
19 EXTENSION_GROUP_INTERNAL_TRANSLATE_SCRIPTS = 2, 19 EXTENSION_GROUP_INTERNAL_TRANSLATE_SCRIPTS = 2,
20 }; 20 };
21 21
22 } // namespace extensions 22 } // namespace extensions
23 23
24 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_GROUPS_H_ 24 #endif // EXTENSIONS_RENDERER_EXTENSION_GROUPS_H_
OLDNEW
« no previous file with comments | « extensions/renderer/document_custom_bindings.cc ('k') | extensions/renderer/file_system_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698