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

Unified Diff: sky/engine/web/WebViewImpl.h

Issue 872233002: Switch KeyboardEvents over to NewEventHandler (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rename virtualKeyCode to key Created 5 years, 11 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/web/WebInputEventConversion.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebViewImpl.h
diff --git a/sky/engine/web/WebViewImpl.h b/sky/engine/web/WebViewImpl.h
index c949565c0aa78112886ea68c6cb0e612ca871763..ba627f6307ee8a8beae99de7f8dacf5dd3877360 100644
--- a/sky/engine/web/WebViewImpl.h
+++ b/sky/engine/web/WebViewImpl.h
@@ -172,12 +172,6 @@ public:
virtual void setVisibilityState(WebPageVisibilityState, bool) override;
- // Returns true if the event leads to scrolling.
- static bool mapKeyCodeForScroll(
- int keyCode,
- ScrollDirection*,
- ScrollGranularity*);
-
// Exposed for the purpose of overriding device metrics.
void sendResizeEventAndRepaint();
@@ -214,14 +208,8 @@ private:
WebString inputModeOfFocusedElement();
- // Returns true if the event was actually processed.
- bool keyEventDefault(const WebKeyboardEvent&);
-
bool confirmComposition(const WebString& text, ConfirmCompositionBehavior);
- // Returns true if the view was scrolled.
- bool scrollViewWithKeyboard(int keyCode, int modifiers);
-
// Converts |pos| from window coordinates to contents coordinates and gets
// the HitTestResult for it.
HitTestResult hitTestResultForWindowPos(const IntPoint&);
@@ -229,10 +217,6 @@ private:
void doComposite();
void reallocateRenderer();
- bool handleCharEvent(const WebKeyboardEvent&);
- bool handleGestureEvent(const WebGestureEvent&);
- bool handleKeyEvent(const WebKeyboardEvent&);
-
InputMethodContext* inputMethodContext();
WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.)
« no previous file with comments | « sky/engine/web/WebInputEventConversion.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698