Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / browser / web_contents / touch_editable_impl_aura.h
index 332a053..dd19e8e 100644 (file)
@@ -21,7 +21,6 @@ class Accelerator;
 }
 
 namespace content {
-class RenderFrameHost;
 class TouchEditableImplAuraTest;
 
 // Aura specific implementation of ui::TouchEditable for a RenderWidgetHostView.
@@ -69,6 +68,7 @@ class CONTENT_EXPORT TouchEditableImplAura
       int command_id,
       ui::Accelerator* accelerator) OVERRIDE;
   virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
+  virtual void DestroyTouchSelection() OVERRIDE;
 
  protected:
   TouchEditableImplAura();
@@ -78,8 +78,6 @@ class CONTENT_EXPORT TouchEditableImplAura
 
   void Cleanup();
 
-  RenderFrameHost* GetFocusedFrame();
-
   // Rectangles for the selection anchor and focus.
   gfx::Rect selection_anchor_rect_;
   gfx::Rect selection_focus_rect_;
@@ -104,14 +102,9 @@ class CONTENT_EXPORT TouchEditableImplAura
   // Set to true when the page starts an overscroll.
   bool overscroll_in_progress_;
 
-  // Used to track if the current tap gesture is on a focused textfield.
-  bool is_tap_on_focused_textfield_;
-
-  // When we receive ack for a ET_GESTURE_TAP, we do not know if the ack is for
-  // a tap or a double tap (we only get the event type in the ack). So we have
-  // this queue to keep track of the the tap count so that we can distinguish
-  // between double and single tap when we get the ack.
-  std::queue<int> tap_gesture_tap_count_queue_;
+  // Used to track if a textfield was focused when the current tap gesture
+  // happened.
+  bool textfield_was_focused_on_tap_;
 
   DISALLOW_COPY_AND_ASSIGN(TouchEditableImplAura);
 };