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

Issue 1147283002: Add ScrollDirectionPhysical enum in Scroll types. (Closed)

Created:
5 years, 7 months ago by hyup
Modified:
5 years, 7 months ago
Reviewers:
Ian Vollick, bokan
CC:
blink-reviews, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1, sof, eae+blinkwatch, leviw+renderwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews-rendering, jchaffraix+rendering, blink-reviews-events_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add ScrollDirectionPhysical enum in Scroll types. Currently ScrollDirection enum contains both physical directions and logical directions to remove code duplication. Some scrolling methods can take only physical directions. In these method, caller had to check the style for writing mode and convert a logical scroll to the physical direction. This CL eleminate potential error by using ScrollDirectionPhysical enum which contains physical directions only. BUG=487032 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195796

Patch Set 1 #

Total comments: 3

Patch Set 2 : Applied review feedback from bokan. #

Patch Set 3 : Removed unnecessary change on RootFrameViewportTest.cpp #

Patch Set 4 : Fixed a conflict on EventHandler #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -67 lines) Patch
M Source/core/editing/EditorCommand.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/frame/FrameView.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M Source/core/frame/RootFrameViewport.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/RootFrameViewport.cpp View 1 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/layout/LayoutBox.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutBox.cpp View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/layout/LayoutEmbeddedObject.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutEmbeddedObject.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/EventHandler.cpp View 1 2 3 5 chunks +7 lines, -7 lines 0 comments Download
M Source/platform/scroll/ScrollTypes.h View 1 3 chunks +34 lines, -11 lines 0 comments Download
M Source/platform/scroll/ScrollableArea.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/scroll/ScrollableArea.cpp View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M Source/platform/scroll/Scrollbar.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/scroll/Scrollbar.cpp View 1 4 chunks +4 lines, -4 lines 0 comments Download
M Source/web/WebFrameWidgetImpl.cpp View 1 1 chunk +8 lines, -8 lines 0 comments Download
M Source/web/WebPluginContainerImpl.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebPluginScrollbarImpl.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/web/WebViewImpl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
hyup
PTAL
5 years, 7 months ago (2015-05-21 13:09:05 UTC) #2
bokan
Looks good overall, just suggesting some some improvements. https://codereview.chromium.org/1147283002/diff/1/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1147283002/diff/1/Source/core/frame/FrameView.cpp#newcode3266 Source/core/frame/FrameView.cpp:3266: bool ...
5 years, 7 months ago (2015-05-21 18:54:43 UTC) #3
hyup
Bokan, Thanks for your nice review. I updated CL. PTAL
5 years, 7 months ago (2015-05-22 02:03:57 UTC) #4
bokan
lgtm, thanks for the clean up! +vollick@ for Source/platform, Source/core/(layout|editing|page)
5 years, 7 months ago (2015-05-22 02:15:02 UTC) #6
Ian Vollick
On 2015/05/22 at 02:15:02, bokan wrote: > lgtm, thanks for the clean up! > > ...
5 years, 7 months ago (2015-05-22 02:58:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1147283002/40001
5 years, 7 months ago (2015-05-22 04:07:50 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/56094)
5 years, 7 months ago (2015-05-22 04:12:24 UTC) #11
hyup
bogan, rollick, Thanks for your review. I fixed a confilct error. Should I get review ...
5 years, 7 months ago (2015-05-22 08:23:25 UTC) #12
bokan
On 2015/05/22 08:23:25, hyup wrote: > bogan, rollick, Thanks for your review. I fixed a ...
5 years, 7 months ago (2015-05-22 14:26:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1147283002/60001
5 years, 7 months ago (2015-05-22 15:02:57 UTC) #16
commit-bot: I haz the power
5 years, 7 months ago (2015-05-22 16:45:59 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195796

Powered by Google App Engine
This is Rietveld 408576698