OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_RENDERER_EXTENSIONS_EXTENSION_GROUPS_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_GROUPS_H_ | 6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_GROUPS_H_ |
7 | 7 |
| 8 namespace extensions { |
| 9 |
8 // A set of extension groups for use with WebKit::registerExtension and | 10 // A set of extension groups for use with WebKit::registerExtension and |
9 // WebFrame::ExecuteScriptInNewWorld to control which extensions get loaded | 11 // WebFrame::ExecuteScriptInNewWorld to control which extensions get loaded |
10 // into which contexts. | 12 // into which contexts. |
11 enum ExtensionGroups { | 13 enum ExtensionGroups { |
12 // 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. |
13 EXTENSION_GROUP_CONTENT_SCRIPTS = 1, | 15 EXTENSION_GROUP_CONTENT_SCRIPTS = 1, |
14 }; | 16 }; |
15 | 17 |
| 18 } // namespace extensions |
16 | 19 |
17 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_GROUPS_H_ | 20 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_GROUPS_H_ |
OLD | NEW |