Index: chrome/renderer/extension_groups.h |
diff --git a/chrome/renderer/extension_groups.h b/chrome/renderer/extension_groups.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..34d4c92fea5bf20ffa15a7ade97b59157dbee359 |
--- /dev/null |
+++ b/chrome/renderer/extension_groups.h |
@@ -0,0 +1,17 @@ |
+// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_RENDERER_EXTENSION_GROUPS_H_ |
+#define CHROME_RENDERER_EXTENSION_GROUPS_H_ |
+ |
+// A set of extension groups for use with WebKit::registerExtension and |
+// WebFrame::ExecuteScriptInNewWorld to control which extensions get loaded |
+// into which contexts. |
+enum ExtensionGroups { |
+ // Use this to mark extensions to be loaded into content scripts only. |
+ EXTENSION_GROUP_CONTENT_SCRIPTS = 1, |
+}; |
+ |
+ |
+#endif // CHROME_RENDERER_EXTENSION_GROUPS_H_ |