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

Issue 1486743002: Clean up some remaining obsolete coordinate-space naming. (Closed)

Created:
5 years ago by bokan
Modified:
5 years ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, caseq+blink_chromium.org, dshwang, creis+watch_chromium.org, pfeldman+blink_chromium.org, blink-reviews-paint_chromium.org, nasko+codewatch_chromium.org, jam, lushnikov+blink_chromium.org, eae+blinkwatch, blink-reviews, dglazkov+blink, blink-reviews-events_chromium.org, darin-cc_chromium.org, slimming-paint-reviews_chromium.org, devtools-reviews_chromium.org, mkwst+moarreviews-renderer_chromium.org, apavlov+blink_chromium.org, sergeyv+blink_chromium.org, blink-reviews-api_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up some remaining obsolete coordinate-space naming. I did a big renaming of long ago in r190693 that replaced uses of 'window' with 'viewport' and some other terminology cleanups (see http://www.chromium.org/developers/design-documents/blink-coordinate-spaces for more details). This CL finishes off what was started there: Renamed Widget's conversion methods from 'window' to 'root frame'. These convert up to the coordinate space of the root widget, which is always the root FrameView AFAIK. Renamed Widget's conversion methods from 'view' to 'widget'. No need to have multiple names for the same thing. Clarified the coordinate space on a few ambiguous variables. And added some clarifying comments and TODOs. BUG=371902 Committed: https://crrev.com/72a7e34e44a162e6a5226370d4a27d4eea1416cd Cr-Commit-Position: refs/heads/master@{#362985}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Rebase #

Patch Set 5 : Fixed Mac compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -142 lines) Patch
M content/renderer/render_view_impl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_view_impl.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 2 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 15 chunks +24 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/page/PrintContext.cpp View 1 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/PlatformMouseEvent.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/Widget.h View 1 1 chunk +11 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/platform/Widget.cpp View 4 chunks +23 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.h View 1 1 chunk +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.h View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.cpp View 1 2 3 4 chunks +18 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeClient.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.cpp View 1 2 3 7 chunks +15 lines, -10 lines 0 comments Download
M third_party/WebKit/public/web/WebInputEvent.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/public/web/WebViewClient.h View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
bokan
ptal, not urgent.
5 years ago (2015-11-30 21:39:43 UTC) #3
Rick Byers
LGTM
5 years ago (2015-12-02 20:22:01 UTC) #4
bokan
+avi@ for content/renderer +vollick@ for Source/platform
5 years ago (2015-12-02 20:24:02 UTC) #5
bokan
On 2015/12/02 20:24:02, bokan wrote: > +avi@ for content/renderer > +vollick@ for Source/platform Actually added ...
5 years ago (2015-12-02 20:24:47 UTC) #7
bokan
On 2015/12/02 20:24:47, bokan wrote: > On 2015/12/02 20:24:02, bokan wrote: > > +avi@ for ...
5 years ago (2015-12-02 20:27:19 UTC) #9
Avi (use Gerrit)
lgtm content stamp
5 years ago (2015-12-02 21:14:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486743002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486743002/40001
5 years ago (2015-12-02 21:15:04 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/130725) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years ago (2015-12-02 21:31:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486743002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486743002/80001
5 years ago (2015-12-02 21:38:33 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/149138)
5 years ago (2015-12-03 00:43:13 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1486743002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1486743002/80001
5 years ago (2015-12-03 14:46:46 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-12-03 15:46:36 UTC) #23
commit-bot: I haz the power
5 years ago (2015-12-03 15:47:39 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/72a7e34e44a162e6a5226370d4a27d4eea1416cd
Cr-Commit-Position: refs/heads/master@{#362985}

Powered by Google App Engine
This is Rietveld 408576698