| Index: ui/views/view.cc
|
| diff --git a/ui/views/view.cc b/ui/views/view.cc
|
| index 9cb513e5fa9efe09d276e78343dc8b239f9ede27..6573cee982b8ea449e80836383cbc9a4bb6d50f4 100644
|
| --- a/ui/views/view.cc
|
| +++ b/ui/views/view.cc
|
| @@ -992,7 +992,9 @@ void View::ShowContextMenu(const gfx::Point& p, bool is_mouse_gesture) {
|
| if (!context_menu_controller_)
|
| return;
|
|
|
| - context_menu_controller_->ShowContextMenuForView(this, p, is_mouse_gesture);
|
| + GestureType type = is_mouse_gesture ? GESTURE_TYPE_USER
|
| + : GESTURE_TYPE_API;
|
| + context_menu_controller_->ShowContextMenuForView(this, p, type);
|
| }
|
|
|
| // Drag and drop ---------------------------------------------------------------
|
|
|