OnKeyUp, this);
evas_object_event_callback_add(content_image_, EVAS_CALLBACK_MULTI_DOWN,
- OnPointerDown, this);
+ OnMultiTouchEvent, this);
evas_object_event_callback_add(content_image_, EVAS_CALLBACK_MULTI_MOVE,
- OnPointerMove, this);
+ OnMultiTouchEvent, this);
evas_object_event_callback_add(content_image_, EVAS_CALLBACK_MULTI_UP,
- OnPointerUp, this);
+ OnMultiTouchEvent, this);
// IMContext calls evas() getter on 'this' so it needs to be
// initialized after evas_ is valid
OnKeyUp);
evas_object_event_callback_del(content_image_, EVAS_CALLBACK_MULTI_DOWN,
- OnPointerDown);
+ OnMultiTouchEvent);
evas_object_event_callback_del(content_image_, EVAS_CALLBACK_MULTI_MOVE,
- OnPointerMove);
+ OnMultiTouchEvent);
evas_object_event_callback_del(content_image_, EVAS_CALLBACK_MULTI_UP,
- OnPointerUp);
+ OnMultiTouchEvent);
evas_object_del(content_image_elm_host_);
content_image_elm_host_ = NULL;
}
}
-void RenderWidgetHostViewEfl::OnPointerDown(
- void* data, Evas* evas, Evas_Object* obj, void* event_info) {
- RenderWidgetHostViewEfl* rwhv = static_cast<RenderWidgetHostViewEfl*>(data);
- rwhv->Focus();
-
- CHECK(rwhv->touch_events_enabled_);
- rwhv->ProcessTouchEvents();
-}
-
void RenderWidgetHostViewEfl::OnMouseUp(
void* data, Evas* evas, Evas_Object* obj, void* event_info) {
RenderWidgetHostViewEfl* rwhv = static_cast<RenderWidgetHostViewEfl*>(data);
}
}
-void RenderWidgetHostViewEfl::OnPointerUp(
- void* data, Evas* evas, Evas_Object* obj, void* event_info) {
- RenderWidgetHostViewEfl* rwhv = static_cast<RenderWidgetHostViewEfl*>(data);
- CHECK(rwhv->touch_events_enabled_);
- rwhv->ProcessTouchEvents();
-}
-
void RenderWidgetHostViewEfl::OnMouseMove(
void* data, Evas* evas, Evas_Object* obj, void* event_info) {
RenderWidgetHostViewEfl* rwhv = static_cast<RenderWidgetHostViewEfl*>(data);
}
}
-void RenderWidgetHostViewEfl::OnPointerMove(
+void RenderWidgetHostViewEfl::OnMultiTouchEvent(
void* data, Evas* evas, Evas_Object* obj, void* event_info) {
RenderWidgetHostViewEfl* rwhv = static_cast<RenderWidgetHostViewEfl*>(data);
CHECK(rwhv->touch_events_enabled_);
static void OnMotionMove(void* data, Evas_Object*, void*);
static void OnMotionZoom(void* data, Evas_Object*, void*);
- static void OnPointerDown(void* data, Evas*, Evas_Object*, void*);
- static void OnPointerUp(void* data, Evas*, Evas_Object*, void*);
- static void OnPointerMove(void* data, Evas*, Evas_Object*, void*);
+ static void OnMultiTouchEvent(void* data, Evas*, Evas_Object*, void*);
static void OnMouseDown(void* data, Evas*, Evas_Object*, void*);
static void OnMouseUp(void* data, Evas*, Evas_Object*, void*);