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

Unified Diff: chrome/renderer/extensions/event_bindings.h

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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/renderer/extensions/bindings_utils.cc ('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/extensions/event_bindings.h
===================================================================
--- chrome/renderer/extensions/event_bindings.h (revision 22886)
+++ chrome/renderer/extensions/event_bindings.h (working copy)
@@ -5,13 +5,16 @@
#ifndef CHROME_RENDERER_EXTENSIONS_EVENT_BINDINGS_H_
#define CHROME_RENDERER_EXTENSIONS_EVENT_BINDINGS_H_
+#include <string>
+
#include "v8/include/v8.h"
-#include <string>
-
class RenderThreadBase;
class RenderView;
+
+namespace WebKit {
class WebFrame;
+}
// This class deals with the javascript bindings related to Event objects.
class EventBindings {
@@ -24,8 +27,9 @@
static RenderThreadBase* GetRenderThread();
// Handle a script context coming / going away.
- static void HandleContextCreated(WebFrame* frame, bool content_script);
- static void HandleContextDestroyed(WebFrame* frame);
+ static void HandleContextCreated(WebKit::WebFrame* frame,
+ bool content_script);
+ static void HandleContextDestroyed(WebKit::WebFrame* frame);
// Calls the given function in each registered context which is listening for
// events. If render_view is non-NULL, only call the function in contexts
« no previous file with comments | « chrome/renderer/extensions/bindings_utils.cc ('k') | chrome/renderer/extensions/event_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698