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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 1692593002: Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: content/browser/renderer_host/render_widget_host_view_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index b3a7d2462e2dc7f802deab26beb13f362e918d53..ca7789059dbd1be9106da77e57b745dd3389233b 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -656,10 +656,6 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
// exercise.
bool legacy_window_destroyed_;
- // Set to true when a context menu is being displayed. Reset to false when
- // a mouse leave is received in this context.
- bool showing_context_menu_;
-
// Contains a copy of the last context menu request parameters. Only set when
// we receive a request to show the context menu on a long press.
scoped_ptr<ContextMenuParams> last_context_menu_params_;

Powered by Google App Engine
This is Rietveld 408576698