WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
121559
Make "autoscroll for drag'n" drop a setting
https://bugs.webkit.org/show_bug.cgi?id=121559
Summary
Make "autoscroll for drag'n" drop a setting
Antonio Gomes
Reported
2013-09-18 09:40:56 PDT
That way it can be testable/toggled via Internals::Settings from Layout tests, and tested independently from a specific port decision about enabling it or not.
Attachments
patch
(9.75 KB, patch)
2013-09-18 09:56 PDT
,
Antonio Gomes
no flags
Details
Formatted Diff
Diff
patch
(9.70 KB, patch)
2013-09-18 10:11 PDT
,
Antonio Gomes
no flags
Details
Formatted Diff
Diff
patch
(9.70 KB, patch)
2013-09-18 12:27 PDT
,
Antonio Gomes
rniwa
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Antonio Gomes
Comment 1
2013-09-18 09:56:14 PDT
Created
attachment 212001
[details]
patch
Antonio Gomes
Comment 2
2013-09-18 10:11:35 PDT
Created
attachment 212002
[details]
patch
WebKit Commit Bot
Comment 3
2013-09-18 10:12:51 PDT
Attachment 212002
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast/events/drag-and-drop-autoscroll.html', u'Source/WebCore/ChangeLog', u'Source/WebCore/page/AutoscrollController.cpp', u'Source/WebCore/page/ChromeClient.h', u'Source/WebCore/page/Settings.in', u'Source/WebCore/testing/InternalSettings.cpp', u'Source/WebCore/testing/InternalSettings.h', u'Source/WebCore/testing/InternalSettings.idl']" exit_code: 1 Source/WebCore/page/AutoscrollController.cpp:38: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Antonio Gomes
Comment 4
2013-09-18 12:27:20 PDT
Created
attachment 212013
[details]
patch
Antonio Gomes
Comment 5
2013-09-18 12:29:41 PDT
(In reply to
comment #4
)
> Created an attachment (id=212013) [details] > patch
QtWebKit and WebKitGtk+ are interested in this feature (see
https://bugs.webkit.org/show_bug.cgi?id=40981#c12
), but Apple's Mac port has the best DRT/WTR drag'n drop support. This patch makes the feature more easily testable by ports without necessarily enabling it for their products. Please review.
Allan Sandfeld Jensen
Comment 6
2013-09-19 10:14:02 PDT
Anyone have any idea what kind of heuristics Chromium could be using to guess the settings on RenderBox level?
Antonio Gomes
Comment 7
2013-09-19 10:46:51 PDT
(In reply to
comment #6
)
> Anyone have any idea what kind of heuristics Chromium could be using to guess the settings on RenderBox level?
Yes. Chromium used no heuristic. Basically chromium was returning 'true' unconditionally. See the commit that removed this ChromeClient hook in Blink: ____ commit 0599e64dc309c94902f9d5b5de245dc6f2016ea1 Author:
adamk@chromium.org
<
adamk@chromium.org
@bbb929c8-8fbe-4397-9dbb-9b2b20218538> Date: Tue Apr 30 19:00:03 2013 +0000 Remove ChromeClient cruft Many ChromeClientImpl overrides simply return true, false, or do nothing. This patch plumbs that information back up to WebCore and thus simplifies a bunch of code. Review URL:
https://codereview.chromium.org/13851023
Antonio Gomes
Comment 8
2013-09-20 06:32:57 PDT
Fixed by
http://trac.webkit.org/changeset/156158
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