Index: chrome/browser/ui/views/tabs/tab_strip.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc |
index 0ae887649099a301cfd0c12d472f7e1101529ad5..c586add9b09c2d4b84e1751a5c57241d854e1375 100644 |
--- a/chrome/browser/ui/views/tabs/tab_strip.cc |
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc |
@@ -1020,8 +1020,10 @@ void TabStrip::CloseTab(Tab* tab, CloseTabSource source) { |
controller_->CloseTab(model_index, source); |
} |
-void TabStrip::ShowContextMenuForTab(Tab* tab, const gfx::Point& p) { |
- controller_->ShowContextMenuForTab(tab, p); |
+void TabStrip::ShowContextMenuForTab(Tab* tab, |
+ const gfx::Point& p, |
+ ui::MenuSourceType source_type) { |
+ controller_->ShowContextMenuForTab(tab, p, source_type); |
} |
bool TabStrip::IsActiveTab(const Tab* tab) const { |
@@ -1567,7 +1569,7 @@ void TabStrip::OnGestureEvent(ui::GestureEvent* event) { |
Tab* tab = FindTabForEvent(local_point); |
if (tab) { |
ConvertPointToScreen(this, &local_point); |
- ShowContextMenuForTab(tab, local_point); |
+ ShowContextMenuForTab(tab, local_point, ui::MENU_SOURCE_TOUCH); |
} |
break; |
} |