WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
100884
[chromium] Use embedder-supported gesture curves
https://bugs.webkit.org/show_bug.cgi?id=100884
Summary
[chromium] Use embedder-supported gesture curves
Robert Kroeger
Reported
2012-10-31 13:28:35 PDT
Modify portions of Chromium WebKit to use the embedder-provided gesture curves.
Attachments
Patch
(12.05 KB, patch)
2012-10-31 13:45 PDT
,
Robert Kroeger
no flags
Details
Formatted Diff
Diff
Patch
(13.25 KB, patch)
2012-11-15 14:41 PST
,
Robert Kroeger
no flags
Details
Formatted Diff
Diff
Patch
(13.25 KB, patch)
2012-11-15 15:27 PST
,
Robert Kroeger
no flags
Details
Formatted Diff
Diff
Patch
(13.54 KB, patch)
2012-11-20 14:33 PST
,
Robert Kroeger
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Robert Kroeger
Comment 1
2012-10-31 13:45:33 PDT
Created
attachment 171713
[details]
Patch
Robert Kroeger
Comment 2
2012-11-15 14:41:03 PST
Created
attachment 174520
[details]
Patch
Adam Barth
Comment 3
2012-11-15 14:48:03 PST
Comment on
attachment 174520
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=174520&action=review
> Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp:209 > + m_wheelFlingCurve = WTF::adoptPtr(Platform::current()->createFlingAnimationCurve(gestureEvent.data.flingStart.sourceDevice, WebFloatPoint(gestureEvent.data.flingStart.velocityX, gestureEvent.data.flingStart.velocityY), WebSize()));
WTF:: <--- no need for the WTF prefix.
WebKit Review Bot
Comment 4
2012-11-15 14:51:12 PST
Attachment 174520
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/chromium/ChangeLog', u'Sourc..." exit_code: 1 Source/WebKit/chromium/src/WebViewImpl.h:123: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Robert Kroeger
Comment 5
2012-11-15 15:27:05 PST
Created
attachment 174533
[details]
Patch
Robert Kroeger
Comment 6
2012-11-15 15:30:58 PST
Is the style-bot being silly? I've written the change preserves the spacing that was there. Or should I relayout the code? And abarth: your suggestion made in p3.
WebKit Review Bot
Comment 7
2012-11-15 15:33:02 PST
Attachment 174533
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit/chromium/ChangeLog', u'Sourc..." exit_code: 1 Source/WebKit/chromium/src/WebViewImpl.h:123: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
James Robinson
Comment 8
2012-11-15 16:30:46 PST
Comment on
attachment 174533
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=174533&action=review
R=me
> Source/WebKit/chromium/src/WebViewImpl.cpp:698 > // FIXME: Make the curve parametrizable from the browser. > - OwnPtr<PlatformGestureCurve> flingCurve = PlatformGestureCurveFactory::get()->createCurve(event.data.flingStart.sourceDevice, FloatPoint(event.data.flingStart.velocityX, event.data.flingStart.velocityY)); > - m_gestureAnimation = ActivePlatformGestureAnimation::create(flingCurve.release(), this); > + OwnPtr<WebGestureCurve> flingCurve = adoptPtr(Platform::current()->createFlingAnimationCurve(event.data.flingStart.sourceDevice, WebFloatPoint(event.data.flingStart.velocityX, event.data.flingStart.velocityY), WebSize()));
I think you can remove the FIXME here now, right?
>> Source/WebKit/chromium/src/WebViewImpl.h:123 >> + , public WebGestureCurveTarget > > Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
I think it's being a bit silly here, although this method of listing base classes is a bit unorthodox.
Robert Kroeger
Comment 9
2012-11-20 14:33:06 PST
Created
attachment 175281
[details]
Patch
WebKit Review Bot
Comment 10
2012-11-20 15:28:20 PST
Comment on
attachment 175281
[details]
Patch Clearing flags on attachment: 175281 Committed
r135318
: <
http://trac.webkit.org/changeset/135318
>
WebKit Review Bot
Comment 11
2012-11-20 15:28:24 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug