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

Issue 1603253003: Add dedicated windowToViewport method (Closed)

Created:
4 years, 11 months ago by oshima
Modified:
4 years, 11 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, jam, Nate Chapin, kinuko+watch, loading-reviews_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, pfeldman, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add dedicated windowToViewport method to convert FloatRect from window coordinates to Viewport coordinates. ... to avoid rounding issue with fractional scale factor. BUG=485650 Committed: https://crrev.com/a6985b60586ea0cb5b8631c048b9f5a92216ab4e Cr-Commit-Position: refs/heads/master@{#371762}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -21 lines) Patch
M content/renderer/render_widget.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.cpp View 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/HostWindow.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.cpp View 1 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/DateTimeChooserImpl.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/web/PopupMenuImpl.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/public/web/WebWidgetClient.h View 1 2 chunks +8 lines, -0 lines 2 comments Download

Messages

Total messages: 35 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1603253003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1603253003/40001
4 years, 11 months ago (2016-01-20 22:41:16 UTC) #6
oshima
4 years, 11 months ago (2016-01-20 22:44:18 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-21 00:37:23 UTC) #11
oshima
On 2016/01/21 00:37:23, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 11 months ago (2016-01-21 23:38:48 UTC) #12
dgozman
https://codereview.chromium.org/1603253003/diff/40001/third_party/WebKit/public/web/WebWidgetClient.h File third_party/WebKit/public/web/WebWidgetClient.h (right): https://codereview.chromium.org/1603253003/diff/40001/third_party/WebKit/public/web/WebWidgetClient.h#newcode192 third_party/WebKit/public/web/WebWidgetClient.h:192: virtual float convertWindowToViewport(float scalar) { return scalar; } I ...
4 years, 11 months ago (2016-01-23 00:38:38 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1603253003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1603253003/100001
4 years, 11 months ago (2016-01-25 22:44:32 UTC) #19
oshima
On 2016/01/23 00:38:38, dgozman wrote: > https://codereview.chromium.org/1603253003/diff/40001/third_party/WebKit/public/web/WebWidgetClient.h > File third_party/WebKit/public/web/WebWidgetClient.h (right): > > https://codereview.chromium.org/1603253003/diff/40001/third_party/WebKit/public/web/WebWidgetClient.h#newcode192 > ...
4 years, 11 months ago (2016-01-25 22:49:40 UTC) #20
dgozman
lgtm https://codereview.chromium.org/1603253003/diff/100001/third_party/WebKit/public/web/WebWidgetClient.h File third_party/WebKit/public/web/WebWidgetClient.h (right): https://codereview.chromium.org/1603253003/diff/100001/third_party/WebKit/public/web/WebWidgetClient.h#newcode179 third_party/WebKit/public/web/WebWidgetClient.h:179: virtual void convertViewportToWindow(WebRect* rect) {} Perhaps, this one ...
4 years, 11 months ago (2016-01-26 00:17:45 UTC) #21
oshima
https://codereview.chromium.org/1603253003/diff/100001/third_party/WebKit/public/web/WebWidgetClient.h File third_party/WebKit/public/web/WebWidgetClient.h (right): https://codereview.chromium.org/1603253003/diff/100001/third_party/WebKit/public/web/WebWidgetClient.h#newcode179 third_party/WebKit/public/web/WebWidgetClient.h:179: virtual void convertViewportToWindow(WebRect* rect) {} On 2016/01/26 00:17:45, dgozman ...
4 years, 11 months ago (2016-01-26 00:24:00 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-26 00:24:18 UTC) #24
oshima
pfeldman@ -> requesting OWNERS' approval
4 years, 11 months ago (2016-01-26 00:25:54 UTC) #25
oshima
pfeldman@ may be busy. mkswst@, can you review files under third_party/WebKit ? avi@, can you ...
4 years, 11 months ago (2016-01-26 18:49:23 UTC) #27
Avi (use Gerrit)
On 2016/01/26 18:49:23, oshima wrote: > pfeldman@ may be busy. > > mkswst@, can you ...
4 years, 11 months ago (2016-01-27 02:48:44 UTC) #28
Mike West
third_party/WebKit LGTM. Thanks for making this code more clear.
4 years, 11 months ago (2016-01-27 06:34:44 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1603253003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1603253003/100001
4 years, 11 months ago (2016-01-27 07:21:51 UTC) #31
commit-bot: I haz the power
Committed patchset #2 (id:100001)
4 years, 11 months ago (2016-01-27 08:58:42 UTC) #33
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 09:00:08 UTC) #35
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a6985b60586ea0cb5b8631c048b9f5a92216ab4e
Cr-Commit-Position: refs/heads/master@{#371762}

Powered by Google App Engine
This is Rietveld 408576698