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

Unified Diff: chrome/browser/ui/views/frame/browser_frame.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: chrome/browser/ui/views/frame/browser_frame.h
diff --git a/chrome/browser/ui/views/frame/browser_frame.h b/chrome/browser/ui/views/frame/browser_frame.h
index 9c0ef7a115768e31096a18035886077efa2491b5..88e80b3db8a8e12dce88a0a578f37a33adeb9432 100644
--- a/chrome/browser/ui/views/frame/browser_frame.h
+++ b/chrome/browser/ui/views/frame/browser_frame.h
@@ -86,8 +86,10 @@ class BrowserFrame
virtual void OnNativeWidgetActivationChanged(bool active) OVERRIDE;
// Overridden from views::ContextMenuController:
- virtual void ShowContextMenuForView(views::View* source,
- const gfx::Point& p) OVERRIDE;
+ virtual void ShowContextMenuForView(
+ views::View* source,
+ const gfx::Point& p,
+ ui::ContextMenuSourceType source_type) OVERRIDE;
// Returns true if we should leave any offset at the frame caption. Typically
// when the frame is maximized/full screen we want to leave no offset at the

Powered by Google App Engine
This is Rietveld 408576698