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

Unified Diff: Source/web/PageWidgetDelegate.h

Issue 474183002: Cleanup namespace usage in Source/web/*.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Source/web/PageScaleConstraintsSet.h ('k') | Source/web/PrerendererClientImpl.h » ('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 11f7afd13328bb01a1a7f89b2b207485920efab7..4b0ca5c0a68284c42f81fb8b89c435abad2010c3 100644
--- a/Source/web/PageWidgetDelegate.h
+++ b/Source/web/PageWidgetDelegate.h
@@ -36,12 +36,9 @@
#include "wtf/OwnPtr.h"
namespace blink {
+
class LocalFrame;
class Page;
-}
-
-namespace blink {
-
class PageOverlayList;
class WebGestureEvent;
class WebInputEvent;
@@ -52,15 +49,15 @@ class WebTouchEvent;
class PageWidgetEventHandler {
public:
- 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 void handleMouseMove(LocalFrame& mainFrame, const WebMouseEvent&);
+ virtual void handleMouseLeave(LocalFrame& mainFrame, const WebMouseEvent&);
+ virtual void handleMouseDown(LocalFrame& mainFrame, const WebMouseEvent&);
+ virtual void handleMouseUp(LocalFrame& mainFrame, const WebMouseEvent&);
+ virtual bool handleMouseWheel(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(blink::LocalFrame& mainFrame, const WebTouchEvent&);
+ virtual bool handleTouchEvent(LocalFrame& mainFrame, const WebTouchEvent&);
virtual ~PageWidgetEventHandler() { }
};
@@ -72,10 +69,10 @@ public:
Opaque,
Translucent,
};
- 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&);
+ static void animate(Page*, double monotonicFrameBeginTime);
+ static void layout(Page*, LocalFrame* rootFrame = 0);
+ static void paint(Page*, PageOverlayList*, WebCanvas*, const WebRect&, CanvasBackground);
+ static bool handleInputEvent(Page*, PageWidgetEventHandler&, const WebInputEvent&);
private:
PageWidgetDelegate() { }
« no previous file with comments | « Source/web/PageScaleConstraintsSet.h ('k') | Source/web/PrerendererClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698