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

Unified Diff: sky/engine/core/page/EventHandler.h

Issue 1076623002: Remove our impressive amount of CSS Cursor code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « sky/engine/core/page/ChromeClient.h ('k') | sky/engine/core/page/EventHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/page/EventHandler.h
diff --git a/sky/engine/core/page/EventHandler.h b/sky/engine/core/page/EventHandler.h
index 9c8f66f0151c6f912da8d557d7c3acb57f4904eb..8cc094d85d2c9bc234c4bc1dac98f739e34532b5 100644
--- a/sky/engine/core/page/EventHandler.h
+++ b/sky/engine/core/page/EventHandler.h
@@ -31,7 +31,6 @@
#include "sky/engine/core/page/FocusType.h"
#include "sky/engine/core/rendering/HitTestRequest.h"
#include "sky/engine/core/rendering/style/RenderStyleConstants.h"
-#include "sky/engine/platform/Cursor.h"
#include "sky/engine/platform/Timer.h"
#include "sky/engine/platform/geometry/LayoutPoint.h"
#include "sky/engine/platform/heap/Handle.h"
@@ -53,7 +52,6 @@ class HitTestResult;
class KeyboardEvent;
class LocalFrame;
class Node;
-class OptionalCursor;
class RenderLayer;
class RenderObject;
class TextEvent;
@@ -76,8 +74,6 @@ public:
HitTestRequest::HitTestRequestType hitType = HitTestRequest::ReadOnly | HitTestRequest::Active,
const LayoutSize& padding = LayoutSize());
- void scheduleCursorUpdate();
-
void defaultKeyboardEventHandler(KeyboardEvent*);
bool handleTextInputEvent(const String& text, Event* underlyingEvent = 0, TextEventInputType = TextEventInputKeyboard);
@@ -90,16 +86,9 @@ public:
void notifyElementActivated();
private:
- OptionalCursor selectCursor(const HitTestResult&);
- OptionalCursor selectAutoCursor(const HitTestResult&, Node*);
-
void hoverTimerFired(Timer<EventHandler>*);
- void cursorUpdateTimerFired(Timer<EventHandler>*);
void activeIntervalTimerFired(Timer<EventHandler>*);
- bool isCursorVisible() const;
- void updateCursor();
-
TouchAction intersectTouchAction(const TouchAction, const TouchAction);
TouchAction computeEffectiveTouchAction(const Node&);
@@ -123,8 +112,6 @@ private:
LayoutPoint m_dragStartPos;
- Timer<EventHandler> m_cursorUpdateTimer;
-
int m_clickCount;
RefPtr<Node> m_clickNode;
« no previous file with comments | « sky/engine/core/page/ChromeClient.h ('k') | sky/engine/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698