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

Unified Diff: Source/web/PageWidgetDelegate.h

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Source/web/PageScaleConstraintsSet.cpp ('k') | Source/web/PageWidgetDelegate.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PageWidgetDelegate.h
diff --git a/Source/web/PageWidgetDelegate.h b/Source/web/PageWidgetDelegate.h
index b4861348c68aea3df1fdcabef6fb06b285295d46..11f7afd13328bb01a1a7f89b2b207485920efab7 100644
--- a/Source/web/PageWidgetDelegate.h
+++ b/Source/web/PageWidgetDelegate.h
@@ -35,7 +35,7 @@
#include "public/web/WebWidget.h"
#include "wtf/OwnPtr.h"
-namespace WebCore {
+namespace blink {
class LocalFrame;
class Page;
}
@@ -52,15 +52,15 @@ class WebTouchEvent;
class PageWidgetEventHandler {
public:
- virtual void handleMouseMove(WebCore::LocalFrame& mainFrame, const WebMouseEvent&);
- virtual void handleMouseLeave(WebCore::LocalFrame& mainFrame, const WebMouseEvent&);
- virtual void handleMouseDown(WebCore::LocalFrame& mainFrame, const WebMouseEvent&);
- virtual void handleMouseUp(WebCore::LocalFrame& mainFrame, const WebMouseEvent&);
- virtual bool handleMouseWheel(WebCore::LocalFrame& mainFrame, const WebMouseWheelEvent&);
+ virtual void handleMouseMove(blink::LocalFrame& mainFrame, const WebMouseEvent&);
+ virtual void handleMouseLeave(blink::LocalFrame& mainFrame, const WebMouseEvent&);
+ virtual void handleMouseDown(blink::LocalFrame& mainFrame, const WebMouseEvent&);
+ virtual void handleMouseUp(blink::LocalFrame& mainFrame, const WebMouseEvent&);
+ virtual bool handleMouseWheel(blink::LocalFrame& mainFrame, const WebMouseWheelEvent&);
virtual bool handleKeyEvent(const WebKeyboardEvent&) = 0;
virtual bool handleCharEvent(const WebKeyboardEvent&) = 0;
virtual bool handleGestureEvent(const WebGestureEvent&) = 0;
- virtual bool handleTouchEvent(WebCore::LocalFrame& mainFrame, const WebTouchEvent&);
+ virtual bool handleTouchEvent(blink::LocalFrame& mainFrame, const WebTouchEvent&);
virtual ~PageWidgetEventHandler() { }
};
@@ -72,10 +72,10 @@ public:
Opaque,
Translucent,
};
- static void animate(WebCore::Page*, double monotonicFrameBeginTime);
- static void layout(WebCore::Page*, WebCore::LocalFrame* rootFrame = 0);
- static void paint(WebCore::Page*, PageOverlayList*, WebCanvas*, const WebRect&, CanvasBackground);
- static bool handleInputEvent(WebCore::Page*, PageWidgetEventHandler&, const WebInputEvent&);
+ static void animate(blink::Page*, double monotonicFrameBeginTime);
+ static void layout(blink::Page*, blink::LocalFrame* rootFrame = 0);
+ static void paint(blink::Page*, PageOverlayList*, WebCanvas*, const WebRect&, CanvasBackground);
+ static bool handleInputEvent(blink::Page*, PageWidgetEventHandler&, const WebInputEvent&);
private:
PageWidgetDelegate() { }
« no previous file with comments | « Source/web/PageScaleConstraintsSet.cpp ('k') | Source/web/PageWidgetDelegate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698