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

Unified Diff: chrome/browser/ui/views/tabs/base_tab.cc

Issue 9665008: views: Nuke is_mouse_gesture parameter from ContextMenuController::ShowContextMenuForView(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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: chrome/browser/ui/views/tabs/base_tab.cc
diff --git a/chrome/browser/ui/views/tabs/base_tab.cc b/chrome/browser/ui/views/tabs/base_tab.cc
index bf0c500e8a9a9c5318255759244799d19ecbdb87..d5197abd695179779fbd847663f46619759a54cf 100644
--- a/chrome/browser/ui/views/tabs/base_tab.cc
+++ b/chrome/browser/ui/views/tabs/base_tab.cc
@@ -508,10 +508,10 @@ void BaseTab::ButtonPressed(views::Button* sender, const views::Event& event) {
}
void BaseTab::ShowContextMenuForView(views::View* source,
- const gfx::Point& p,
- bool is_mouse_gesture) {
+ const gfx::Point& point,
+ views::GestureType gesture_type) {
if (controller() && !closing())
- controller()->ShowContextMenuForTab(this, p);
+ controller()->ShowContextMenuForTab(this, point);
}
int BaseTab::loading_animation_frame() const {

Powered by Google App Engine
This is Rietveld 408576698