summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 01:25:29 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 01:25:29 +0000
commit413b279e54e4da28ac9774cec0a99c3eed9ac774 (patch)
treefcf1e62f7d0bcf41649f34bfb5d3638996aff463 /chrome/renderer
parent1fb8c48b658c3d4422f806d012f51b250446a748 (diff)
downloadchromium_src-413b279e54e4da28ac9774cec0a99c3eed9ac774.zip
chromium_src-413b279e54e4da28ac9774cec0a99c3eed9ac774.tar.gz
chromium_src-413b279e54e4da28ac9774cec0a99c3eed9ac774.tar.bz2
renderer/extensions: Forward declare a couple of v8 classes in EventBindings header.
BUG=None TEST=None R=mpcomplete@chromium.org,darin@chromium.org Review URL: http://codereview.chromium.org/7774012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98907 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/extensions/event_bindings.cc1
-rw-r--r--chrome/renderer/extensions/event_bindings.h8
2 files changed, 7 insertions, 2 deletions
diff --git a/chrome/renderer/extensions/event_bindings.cc b/chrome/renderer/extensions/event_bindings.cc
index b610152..db8cfd9 100644
--- a/chrome/renderer/extensions/event_bindings.cc
+++ b/chrome/renderer/extensions/event_bindings.cc
@@ -32,6 +32,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
+#include "v8/include/v8.h"
using bindings_utils::CallFunctionInContext;
using bindings_utils::ContextInfo;
diff --git a/chrome/renderer/extensions/event_bindings.h b/chrome/renderer/extensions/event_bindings.h
index e4857e3..75deefb 100644
--- a/chrome/renderer/extensions/event_bindings.h
+++ b/chrome/renderer/extensions/event_bindings.h
@@ -8,8 +8,6 @@
#include <string>
-#include "v8/include/v8.h"
-
class ExtensionDispatcher;
class GURL;
class RenderThreadBase;
@@ -19,6 +17,12 @@ namespace base {
class ListValue;
}
+namespace v8 {
+class Context;
+class Extension;
+template <class T> class Handle;
+}
+
namespace WebKit {
class WebFrame;
}