fixup! Hide Selection Handle when not in visible rect.
authorAntonio Gomes <a1.gomes@samsung.com>
Fri, 27 Feb 2015 06:16:27 +0000 (22:16 -0800)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
This method has no need to be target-only. By making it
ifdef-free, we make it possible to easier selection handles
shown on desktop builds similarly to target builds.

Reviewed by: Piotr Grad, SeungSeop Park
Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10692
Change-Id: I9082c3561106513a5e8947e9abfc37b92901b158

tizen_src/impl/browser/renderer_host/render_widget_host_view_efl.cc
tizen_src/impl/browser/renderer_host/render_widget_host_view_efl.h

index a24a792..a8f0310 100644 (file)
@@ -755,14 +755,12 @@ void RenderWidgetHostViewEfl::SelectionBoundsChanged(
   }
 }
 
-#if defined(OS_TIZEN)
 void RenderWidgetHostViewEfl::SelectionRootBoundsChanged(const gfx::Rect& rect) {
   if (GetSelectionController()) {
     GetSelectionController()->SetVisibilityBounds(
         ConvertRectToPixel(device_scale_factor_, rect));
   }
 }
-#endif
 
 void RenderWidgetHostViewEfl::DidStopFlinging() {
 #if defined(TIZEN_EDGE_EFFECT)
index 3a03edb..a63d9c9 100644 (file)
@@ -112,9 +112,7 @@ class RenderWidgetHostViewEfl
   virtual void SetTooltipText(const base::string16&) override;
   virtual void SelectionChanged(const base::string16&, size_t, const gfx::Range&) override;
   virtual void SelectionBoundsChanged(const ViewHostMsg_SelectionBounds_Params&) override;
-#if defined(OS_TIZEN)
   void SelectionRootBoundsChanged(const gfx::Rect&) override;
-#endif
   virtual void CopyFromCompositingSurface(
     const gfx::Rect&,
     const gfx::Size& /* dst_size */,