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

Issue 1251473003: Add WebView API for smoothScroll (Closed)

Created:
5 years, 5 months ago by hush (inactive)
Modified:
5 years, 3 months ago
CC:
blink-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add WebView API for smoothScroll This is implemented as a page scale animation with a target position and duration, and no change to scale. BUG=378984 Committed: https://crrev.com/3155fbd994ad80467c47149065f280ed0c2b1482 git-svn-id: svn://svn.chromium.org/blink/trunk@199617 bbb929c8-8fbe-4397-9dbb-9b2b20218538

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use page scale animation #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : #

Patch Set 5 : Provide default empty implementation on the api #

Total comments: 3

Patch Set 6 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M Source/web/WebViewImpl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M public/web/WebView.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (8 generated)
hush (inactive)
PTAL, thanks! By the way Chromium CL that uses the new fields is: https://codereview.chromium.org/1251323002/ Jared/David: ...
5 years, 5 months ago (2015-07-23 01:59:53 UTC) #2
jdduke (slow)
I'm not opposed to creating a new type, as it's nice to be explicit. However, ...
5 years, 5 months ago (2015-07-23 15:19:02 UTC) #4
aelias_OOO_until_Jul13
Looking at the use cases for this, it's "pageUp", "pageDown" and "requestChildRectangleOnScreen" APIs. It seems ...
5 years, 5 months ago (2015-07-23 18:33:47 UTC) #6
jdduke (slow)
On 2015/07/23 18:33:47, aelias wrote: > Looking at the use cases for this, it's "pageUp", ...
5 years, 5 months ago (2015-07-23 18:49:19 UTC) #7
hush (inactive)
On 2015/07/23 18:49:19, jdduke wrote: > On 2015/07/23 18:33:47, aelias wrote: > > Looking at ...
5 years, 5 months ago (2015-07-23 18:58:01 UTC) #8
aelias_OOO_until_Jul13
On 2015/07/23 at 18:49:19, jdduke wrote: > Would be nice to avoid the main thread ...
5 years, 5 months ago (2015-07-23 18:59:07 UTC) #9
jdduke (slow)
On 2015/07/23 18:59:07, aelias wrote: > On 2015/07/23 at 18:49:19, jdduke wrote: > > Would ...
5 years, 5 months ago (2015-07-23 19:06:15 UTC) #10
aelias_OOO_until_Jul13
On 2015/07/23 at 19:06:15, jdduke wrote: > Right, I meant more do we need a ...
5 years, 5 months ago (2015-07-23 19:09:01 UTC) #11
jdduke (slow)
I guess the advantage of using an input event type is that it respects the ...
5 years, 5 months ago (2015-07-23 19:14:50 UTC) #12
hush (inactive)
On 2015/07/23 19:14:50, jdduke wrote: > I guess the advantage of using an input event ...
5 years, 5 months ago (2015-07-23 19:19:43 UTC) #13
hush (inactive)
PTAL ps2
5 years, 5 months ago (2015-07-25 00:22:25 UTC) #14
bokan
lgtm
5 years, 4 months ago (2015-07-27 15:39:59 UTC) #15
jdduke (slow)
https://codereview.chromium.org/1251473003/diff/20001/public/web/WebView.h File public/web/WebView.h (right): https://codereview.chromium.org/1251473003/diff/20001/public/web/WebView.h#newcode181 public/web/WebView.h:181: virtual void smoothScroll(int targetX, int targetY, long durationMs); I ...
5 years, 4 months ago (2015-07-27 15:49:02 UTC) #16
hush (inactive)
https://codereview.chromium.org/1251473003/diff/20001/public/web/WebView.h File public/web/WebView.h (right): https://codereview.chromium.org/1251473003/diff/20001/public/web/WebView.h#newcode181 public/web/WebView.h:181: virtual void smoothScroll(int targetX, int targetY, long durationMs); On ...
5 years, 4 months ago (2015-07-28 00:16:06 UTC) #17
jdduke (slow)
On 2015/07/28 00:16:06, hush wrote: > https://codereview.chromium.org/1251473003/diff/20001/public/web/WebView.h > File public/web/WebView.h (right): > > https://codereview.chromium.org/1251473003/diff/20001/public/web/WebView.h#newcode181 > ...
5 years, 4 months ago (2015-07-28 15:53:27 UTC) #18
aelias_OOO_until_Jul13
On 2015/07/28 at 15:53:27, jdduke wrote: > On 2015/07/28 00:16:06, hush wrote: > > https://codereview.chromium.org/1251473003/diff/20001/public/web/WebView.h ...
5 years, 4 months ago (2015-07-28 17:21: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/1251473003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1251473003/20001
5 years, 4 months ago (2015-07-28 17:57:40 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/38617)
5 years, 4 months ago (2015-07-28 18:02:56 UTC) #23
hush (inactive)
dcheng@ can you take a look at public/? Thanks!
5 years, 4 months ago (2015-07-28 18:42:16 UTC) #25
dcheng
https://codereview.chromium.org/1251473003/diff/80001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/1251473003/diff/80001/Source/web/WebViewImpl.cpp#newcode2879 Source/web/WebViewImpl.cpp:2879: LocalFrame* frame = page()->mainFrame() && page()->mainFrame()->isLocalFrame() Who calls this? ...
5 years, 4 months ago (2015-07-28 18:50:15 UTC) #26
aelias_OOO_until_Jul13
https://codereview.chromium.org/1251473003/diff/80001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/1251473003/diff/80001/Source/web/WebViewImpl.cpp#newcode2879 Source/web/WebViewImpl.cpp:2879: LocalFrame* frame = page()->mainFrame() && page()->mainFrame()->isLocalFrame() On 2015/07/28 at ...
5 years, 4 months ago (2015-07-28 19:00:21 UTC) #27
hush (inactive)
https://codereview.chromium.org/1251473003/diff/80001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/1251473003/diff/80001/Source/web/WebViewImpl.cpp#newcode2879 Source/web/WebViewImpl.cpp:2879: LocalFrame* frame = page()->mainFrame() && page()->mainFrame()->isLocalFrame() On 2015/07/28 19:00:21, ...
5 years, 4 months ago (2015-07-28 19:18:11 UTC) #28
dcheng
Have you considered how this API will work with OOPI? Will it ever need to ...
5 years, 4 months ago (2015-07-28 23:00:06 UTC) #29
hush (inactive)
On 2015/07/28 23:00:06, dcheng wrote: > Have you considered how this API will work with ...
5 years, 4 months ago (2015-07-28 23:09:17 UTC) #30
dcheng
On 2015/07/28 at 23:09:17, hush wrote: > On 2015/07/28 23:00:06, dcheng wrote: > > Have ...
5 years, 4 months ago (2015-07-28 23:12:38 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1251473003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1251473003/100001
5 years, 4 months ago (2015-07-28 23:27:51 UTC) #34
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://src.chromium.org/viewvc/blink?view=rev&revision=199617
5 years, 4 months ago (2015-07-29 00:42:25 UTC) #35
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 11:52:05 UTC) #36
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3155fbd994ad80467c47149065f280ed0c2b1482

Powered by Google App Engine
This is Rietveld 408576698