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

Unified Diff: chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h

Issue 16979002: Add ContextMenuSourceType to views::ContextMenuController::ShowContextMenuForView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 7 years, 6 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/fake_base_tab_strip_controller.h
diff --git a/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h b/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h
index 2407366d0c0f36d77922591b05680d4666e59d4b..12d4fa6f4039545031074188317f4be5b669b656 100644
--- a/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h
+++ b/chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h
@@ -36,7 +36,8 @@ class FakeBaseTabStripController : public TabStripController {
virtual void AddSelectionFromAnchorTo(int index) OVERRIDE;
virtual void CloseTab(int index, CloseTabSource source) OVERRIDE;
virtual void ShowContextMenuForTab(Tab* tab,
- const gfx::Point& p) OVERRIDE;
+ const gfx::Point& p,
+ ui::MenuSourceType source_type) OVERRIDE;
virtual void UpdateLoadingAnimations() OVERRIDE;
virtual int HasAvailableDragActions() const OVERRIDE;
virtual void OnDropIndexUpdate(int index, bool drop_before) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698