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

Unified Diff: ash/shell/window_type_launcher.h

Issue 16979002: Add ContextMenuSourceType to views::ContextMenuController::ShowContextMenuForView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: ash/shell/window_type_launcher.h
diff --git a/ash/shell/window_type_launcher.h b/ash/shell/window_type_launcher.h
index de2159ebc44b1de744338879bc15ae072c94bf89..0793b2fe83a5a7b513561ac5fcfb829e9dbe7130 100644
--- a/ash/shell/window_type_launcher.h
+++ b/ash/shell/window_type_launcher.h
@@ -60,8 +60,10 @@ class WindowTypeLauncher : public views::WidgetDelegateView,
virtual void ExecuteCommand(int id, int event_flags) OVERRIDE;
// Override from views::ContextMenuController:
- virtual void ShowContextMenuForView(views::View* source,
- const gfx::Point& point) OVERRIDE;
+ virtual void ShowContextMenuForView(
+ views::View* source,
+ const gfx::Point& point,
+ ui::ContextMenuSourceType source_type) OVERRIDE;
#endif // !defined(OS_MACOSX)
views::LabelButton* create_button_;
« no previous file with comments | « ash/shell.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | ui/base/ui_base_types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698