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

Issue 1087743002: Support multiple displays for PagePopup (Closed)

Created:
5 years, 8 months ago by keishi
Modified:
5 years, 8 months ago
Reviewers:
tkent
CC:
blink-reviews, vivekg, arv+blink, Inactive, vivekg_samsung
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

New SELECT Popup: Support multiple displays for PagePopup The render process only knows the WebScreenInfo for only one screen so we cannot handle adjusting popup position for multiple monitor setups. This removes the ability to adjust popup position to fit inside the available screen space and show the popup always attached to the anchor element. Popup size and whether the popup is displayed above or below the anchor element is still determined by screen info so this is not perfect but it is what the PopupContainer implimentation was doing. BUG=475956 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193744

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fixed comments #

Total comments: 10

Patch Set 3 : Fixed pointer to reference #

Total comments: 2

Patch Set 4 : fixed IntRect inclusion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -96 lines) Patch
M LayoutTests/fast/forms/page-popup/page-popup-adjust-rect.html View 5 chunks +29 lines, -29 lines 0 comments Download
M LayoutTests/fast/forms/page-popup/page-popup-adjust-rect-expected.txt View 3 chunks +29 lines, -29 lines 0 comments Download
M LayoutTests/fast/forms/select/popup-menu-position.html View 3 chunks +3 lines, -4 lines 0 comments Download
M LayoutTests/platform/win/fast/forms/select/popup-menu-position-expected.txt View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/page/DOMWindowPagePopup.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/page/DOMWindowPagePopup.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/page/PagePopup.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/page/PagePopupController.h View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M Source/core/page/PagePopupController.cpp View 1 2 2 chunks +11 lines, -4 lines 0 comments Download
M Source/core/page/PagePopupController.idl View 1 1 chunk +4 lines, -0 lines 0 comments Download
M Source/web/WebPagePopupImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebPagePopupImpl.cpp View 1 2 4 chunks +12 lines, -7 lines 0 comments Download
M Source/web/resources/pickerCommon.js View 1 4 chunks +1 line, -12 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
keishi
5 years, 8 months ago (2015-04-14 11:01:09 UTC) #2
tkent
https://codereview.chromium.org/1087743002/diff/1/Source/core/page/DOMWindowPagePopup.h File Source/core/page/DOMWindowPagePopup.h (right): https://codereview.chromium.org/1087743002/diff/1/Source/core/page/DOMWindowPagePopup.h#newcode56 Source/core/page/DOMWindowPagePopup.h:56: explicit DOMWindowPagePopup(PagePopup*, PagePopupClient*); |explicit| is unnecessary. https://codereview.chromium.org/1087743002/diff/1/Source/core/page/PagePopupController.cpp File Source/core/page/PagePopupController.cpp ...
5 years, 8 months ago (2015-04-14 11:09:33 UTC) #3
tkent
https://codereview.chromium.org/1087743002/diff/1/Source/core/page/PagePopupController.h File Source/core/page/PagePopupController.h (right): https://codereview.chromium.org/1087743002/diff/1/Source/core/page/PagePopupController.h#newcode64 Source/core/page/PagePopupController.h:64: explicit PagePopupController(PagePopup*, PagePopupClient*); |explicit| is unnecessary.
5 years, 8 months ago (2015-04-14 11:10:05 UTC) #4
keishi
https://codereview.chromium.org/1087743002/diff/1/Source/core/page/DOMWindowPagePopup.h File Source/core/page/DOMWindowPagePopup.h (right): https://codereview.chromium.org/1087743002/diff/1/Source/core/page/DOMWindowPagePopup.h#newcode56 Source/core/page/DOMWindowPagePopup.h:56: explicit DOMWindowPagePopup(PagePopup*, PagePopupClient*); On 2015/04/14 11:09:32, tkent wrote: > ...
5 years, 8 months ago (2015-04-14 11:17:46 UTC) #5
tkent
https://codereview.chromium.org/1087743002/diff/20001/Source/core/page/DOMWindowPagePopup.cpp File Source/core/page/DOMWindowPagePopup.cpp (right): https://codereview.chromium.org/1087743002/diff/20001/Source/core/page/DOMWindowPagePopup.cpp#newcode39 Source/core/page/DOMWindowPagePopup.cpp:39: DOMWindowPagePopup::DOMWindowPagePopup(PagePopup* popup, PagePopupClient* popupClient) Ditto. https://codereview.chromium.org/1087743002/diff/20001/Source/core/page/DOMWindowPagePopup.cpp#newcode59 Source/core/page/DOMWindowPagePopup.cpp:59: void DOMWindowPagePopup::install(LocalDOMWindow& ...
5 years, 8 months ago (2015-04-14 11:21:38 UTC) #6
keishi
https://codereview.chromium.org/1087743002/diff/20001/Source/core/page/DOMWindowPagePopup.cpp File Source/core/page/DOMWindowPagePopup.cpp (right): https://codereview.chromium.org/1087743002/diff/20001/Source/core/page/DOMWindowPagePopup.cpp#newcode39 Source/core/page/DOMWindowPagePopup.cpp:39: DOMWindowPagePopup::DOMWindowPagePopup(PagePopup* popup, PagePopupClient* popupClient) On 2015/04/14 11:21:38, tkent wrote: ...
5 years, 8 months ago (2015-04-14 11:34:56 UTC) #7
tkent
lgtm https://codereview.chromium.org/1087743002/diff/40001/Source/core/page/PagePopup.h File Source/core/page/PagePopup.h (right): https://codereview.chromium.org/1087743002/diff/40001/Source/core/page/PagePopup.h#newcode34 Source/core/page/PagePopup.h:34: #include "platform/geometry/IntRect.h" |class IntRect;| is enough.
5 years, 8 months ago (2015-04-14 11:36:53 UTC) #8
keishi
https://codereview.chromium.org/1087743002/diff/40001/Source/core/page/PagePopup.h File Source/core/page/PagePopup.h (right): https://codereview.chromium.org/1087743002/diff/40001/Source/core/page/PagePopup.h#newcode34 Source/core/page/PagePopup.h:34: #include "platform/geometry/IntRect.h" On 2015/04/14 11:36:53, tkent wrote: > |class ...
5 years, 8 months ago (2015-04-15 02:26:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087743002/60001
5 years, 8 months ago (2015-04-15 02:26:19 UTC) #12
commit-bot: I haz the power
5 years, 8 months ago (2015-04-15 04:05:48 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193744

Powered by Google App Engine
This is Rietveld 408576698