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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.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
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_controller.h ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_strip.h
diff --git a/chrome/browser/ui/views/tabs/tab_strip.h b/chrome/browser/ui/views/tabs/tab_strip.h
index 49f68e8ddfea0ef2f0519249a253bb3aedabfd3b..8f44c6f5a49b8ab1c10816e62279f9ef4d8cb752 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.h
+++ b/chrome/browser/ui/views/tabs/tab_strip.h
@@ -187,7 +187,8 @@ class TabStrip : public views::View,
virtual void AddSelectionFromAnchorTo(Tab* tab) OVERRIDE;
virtual void CloseTab(Tab* tab, CloseTabSource source) OVERRIDE;
virtual void ShowContextMenuForTab(Tab* tab,
- const gfx::Point& p) OVERRIDE;
+ const gfx::Point& p,
+ ui::MenuSourceType source_type) OVERRIDE;
virtual bool IsActiveTab(const Tab* tab) const OVERRIDE;
virtual bool IsTabSelected(const Tab* tab) const OVERRIDE;
virtual bool IsTabPinned(const Tab* tab) const OVERRIDE;
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_controller.h ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698