Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: ui/views/touchui/touch_selection_controller_impl.cc

Issue 533403002: Fix touch selection for Athena home card (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
« athena/screen/screen_manager_impl.cc ('K') | « ui/views/controls/textfield/textfield.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698