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

Unified Diff: content/browser/renderer_host/input/motion_event_web.cc

Issue 342633003: [Android] Select text when stylus first button is pressed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
Index: content/browser/renderer_host/input/motion_event_web.cc
diff --git a/content/browser/renderer_host/input/motion_event_web.cc b/content/browser/renderer_host/input/motion_event_web.cc
index d1ff8a3c84f7baa22a46da6f2294c934a0cb5ee9..d6771be36e6ca269dadb5f680f863fa6547f03e4 100644
--- a/content/browser/renderer_host/input/motion_event_web.cc
+++ b/content/browser/renderer_host/input/motion_event_web.cc
@@ -143,6 +143,16 @@ float MotionEventWeb::GetHistoricalY(size_t pointer_index,
return 0.f;
}
+int MotionEventWeb::GetSource() const {
+ NOTIMPLEMENTED();
+ return 0;
+}
+
+int MotionEventWeb::GetButtonState() const {
+ NOTIMPLEMENTED();
+ return 0;
+}
+
scoped_ptr<ui::MotionEvent> MotionEventWeb::Clone() const {
return scoped_ptr<MotionEvent>(new MotionEventWeb(event_));
}

Powered by Google App Engine
This is Rietveld 408576698