Index: ui/views/touchui/touch_selection_controller_impl.cc |
diff --git a/ui/views/touchui/touch_selection_controller_impl.cc b/ui/views/touchui/touch_selection_controller_impl.cc |
index f6eef0767105669b05716bf0932e3a7a100664e9..f77df761fb52d8ba8f5cbd54530c070728bfc1ee 100644 |
--- a/ui/views/touchui/touch_selection_controller_impl.cc |
+++ b/ui/views/touchui/touch_selection_controller_impl.cc |
@@ -437,9 +437,6 @@ void TouchSelectionControllerImpl::SetDraggingHandle( |
void TouchSelectionControllerImpl::SelectionHandleDragged( |
const gfx::Point& drag_pos) { |
- // We do not want to show the context menu while dragging. |
- HideContextMenu(); |
oshima
2014/09/04 00:23:35
are these change intentional?
mohsen
2014/09/04 14:57:22
Yes. These are not needed. For this case, context
|
- |
DCHECK(dragging_handle_); |
gfx::Point drag_pos_in_client = drag_pos; |
ConvertPointToClientView(dragging_handle_, &drag_pos_in_client); |
@@ -521,7 +518,6 @@ void TouchSelectionControllerImpl::OnWidgetBoundsChanged( |
Widget* widget, |
const gfx::Rect& new_bounds) { |
DCHECK_EQ(client_widget_, widget); |
- HideContextMenu(); |
SelectionChanged(); |
} |