Disable disambiguation popup in DTV.
It is unnecessary feature in DTV, and disambiguation
popup is not supported in DTV browser base on Webkit.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9647
Reviewed by: Antonio Gomes, SeungSeop Park
Change-Id: I2814d80df2d96bc874bca105f1216d56a5bd0d30
Signed-off-by: KANGYONG PARK <kaka.park@samsung.com>
gesture_recognizer_->AddGestureEventHelper(this);
+#if defined(OS_TIZEN_MOBILE)
disambiguation_popup_.reset(new DisambiguationPopupEfl(content_image_, this));
+#endif
}
RenderWidgetHostViewEfl::~RenderWidgetHostViewEfl() {
}
void RenderWidgetHostViewEfl::ShowDisambiguationPopup(const gfx::Rect& rect_pixels, const SkBitmap& zoomed_bitmap) {
- disambiguation_popup_->Show(rect_pixels, zoomed_bitmap);
+ if (disambiguation_popup_)
+ disambiguation_popup_->Show(rect_pixels, zoomed_bitmap);
}
bool RenderWidgetHostViewEfl::CanDispatchToConsumer(ui::GestureConsumer* consumer) {