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

Unified Diff: chrome/renderer/extension_groups.h

Issue 159542: Add a WebKit API that registers a V8 extension to be loaded into content (Closed)
Patch Set: final Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/renderer/extensions/event_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/renderer/extensions/event_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698