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

Unified Diff: ui/views/widget/widget.h

Issue 12529012: Context menu on views must show on mouse down for non-WIN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 7 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: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 2d6e6aaff6e37d50f6448f4137f84ffbc6821483..b5558a0b0fc1465ebe1ef7073c58b5cfdba06991 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -721,6 +721,8 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
friend class NativeComboboxViewsTest;
friend class ScopedEvent;
+ class PostMousePressedProcessor;
+
// Returns whether capture should be released on mouse release.
virtual bool ShouldReleaseCaptureOnMouseReleased() const;

Powered by Google App Engine
This is Rietveld 408576698