DescriptionFix Flash fullscreen context menu target and position.
This resolves two problems regarding the right-click context menu for Flash fullscreen widgets. First, the WebContentsViewDelegate implementations (for Views and Cocoa) were assuming the event target for the context menu click is always the widget provided by WebContentsView. Flash fullscreen is actually a separate widget. Second, the renderer was trying to be "too smart" by computing the screen coordinates of the context menu itself. This is fixed by removing the offset calculation, which allows the coordinates to be cleanly translated by the windowing toolkit, browser-side.
BUG=348965
TEST=Repro steps in bug 348965 result in expected behavior.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255321
Patch Set 1 : #
Total comments: 6
Patch Set 2 : Addressed Avi's comments. #
Total comments: 2
Messages
Total messages: 19 (0 generated)
|