|
|
Chromium Code Reviews|
Created:
4 years, 10 months ago by lanwei Modified:
4 years, 10 months ago CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionUse showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu.
In issue 1051613002, it creates a new variable showing_context_menu_ in
RenderWidgetHostViewAura to decide when to stop mouse exited event to send to
renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase,
which is set to true when context menu opens, and false when the menu closes, we
should just use it instead of having another similar variable in
RenderWidgetHostViewAura.
BUG=586043, 450138
Committed: https://crrev.com/eee68fae914198693c60c9691b53f25b338560e7
Cr-Commit-Position: refs/heads/master@{#375787}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Make CanRendererHandleEvent const. #
Messages
Total messages: 22 (13 generated)
Description was changed from ========== mouse leave win BUG=586043 ========== to ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In Issue 1051613002, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043 ==========
Description was changed from ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In Issue 1051613002, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043 ========== to ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In Issue 1051613002, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043 ==========
lanwei@chromium.org changed reviewers: + ananta@chromium.org, sadrul@chromium.org, tdresser@chromium.org
Description was changed from ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In Issue 1051613002, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043 ========== to ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In Issue 450138, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043 ==========
Description was changed from ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In Issue 450138, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043 ========== to ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In Cr 450138, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043 ==========
Description was changed from ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In Cr 450138, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043 ========== to ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In Cr450138, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043 ==========
Description was changed from ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In Cr450138, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043 ========== to ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In issue 450138, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043 ==========
Description was changed from ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In issue 450138, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043 ========== to ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In issue 1051613002, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043, 450138 ==========
lanwei@chromium.org changed reviewers: + cpu@chromium.org
Non owner's LGTM.
lgtm Thank you! https://codereview.chromium.org/1692593002/diff/1/content/browser/renderer_ho... File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/1692593002/diff/1/content/browser/renderer_ho... content/browser/renderer_host/render_widget_host_view_aura.cc:810: if (showing_context_menu_) IsShowingContextMenu()
https://codereview.chromium.org/1692593002/diff/1/content/browser/renderer_ho... File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/1692593002/diff/1/content/browser/renderer_ho... content/browser/renderer_host/render_widget_host_view_aura.cc:799: bool selection_popup) { Oh, and while you are here, make this a const function please.
looks reasonable but I am a bit afraid you could break something on Windows. have my lgtm but ping iyengar@goo in any case.
lgtm
The CQ bit was checked by lanwei@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from sadrul@chromium.org, tdresser@chromium.org Link to the patchset: https://codereview.chromium.org/1692593002/#ps20001 (title: "Make CanRendererHandleEvent const.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1692593002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1692593002/20001
Message was sent while issue was closed.
Description was changed from ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In issue 1051613002, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043, 450138 ========== to ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In issue 1051613002, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043, 450138 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In issue 1051613002, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043, 450138 ========== to ========== Use showing_context_menu_ from RenderWidgetHostViewBase to avoid MouseLeave event on Context Menu. In issue 1051613002, it creates a new variable showing_context_menu_ in RenderWidgetHostViewAura to decide when to stop mouse exited event to send to renderer. Since we have showing_context_menu_ in RenderWidgetHostViewBase, which is set to true when context menu opens, and false when the menu closes, we should just use it instead of having another similar variable in RenderWidgetHostViewAura. BUG=586043, 450138 Committed: https://crrev.com/eee68fae914198693c60c9691b53f25b338560e7 Cr-Commit-Position: refs/heads/master@{#375787} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/eee68fae914198693c60c9691b53f25b338560e7 Cr-Commit-Position: refs/heads/master@{#375787} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
