Passing alpha to DeferredImageDecoder once decoding completes
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2013-02-14  Min Qin  <qinmin@chromium.org>
2
3         Passing alpha to DeferredImageDecoder once decoding completes
4         https://bugs.webkit.org/show_bug.cgi?id=108892
5
6         Reviewed by Stephen White.
7
8         Add test to check that alpha value is passed from the decoder to ImageFrameGenerator.
9
10         * tests/ImageFrameGeneratorTest.cpp:
11         (WebCore::MockImageDecoderFactory::create):
12         (WebCore::TEST_F):
13         * tests/MockImageDecoder.h:
14         (WebCore::MockImageDecoder::MockImageDecoder):
15         (WebCore::MockImageDecoder::setFrameHasAlpha):
16         (MockImageDecoder):
17         (WebCore::MockImageDecoder::frameHasAlphaAtIndex):
18
19 2013-02-08  Andrey Kosyakov  <caseq@chromium.org>
20
21         Web Inspector: expose did{Begin,Cancel}Frame() and {will,did}Composite() on WebDebToolsAgent
22         https://bugs.webkit.org/show_bug.cgi?id=109192
23
24         Reviewed by Pavel Feldman.
25
26         - expose frame and compositing insturmentation methods on WebDevToolsAgent;
27         - temporarily route them from WebViewImpl to WebDevToolsAgent;
28
29         * public/WebDevToolsAgent.h:
30         (WebDevToolsAgent):
31         * src/WebDevToolsAgentImpl.cpp:
32         (WebKit::WebDevToolsAgentImpl::didBeginFrame):
33         (WebKit):
34         (WebKit::WebDevToolsAgentImpl::didCancelFrame):
35         (WebKit::WebDevToolsAgentImpl::willComposite):
36         (WebKit::WebDevToolsAgentImpl::didComposite):
37         * src/WebDevToolsAgentImpl.h:
38         (WebDevToolsAgentImpl):
39         * src/WebViewImpl.cpp:
40         (WebKit::WebViewImpl::instrumentBeginFrame):
41         (WebKit::WebViewImpl::instrumentCancelFrame):
42         (WebKit::WebViewImpl::didBeginFrame):
43         (WebKit::WebViewImpl::willCommit):
44
45 2013-02-14  Mikhail Naganov  <mnaganov@chromium.org>
46
47         [Chromium] Add a setting to control scaling content to fit viewport
48         https://bugs.webkit.org/show_bug.cgi?id=109584
49
50         Adds a setting called 'initializeAtMinimumPageScale'. By default,
51         it is set to 'true' which corresponds to Chrome on Android behavior--
52         adjust the page scale to make the content fit into the viewport
53         by width. When set to false, the setting instructs ChromeClientImpl to
54         set page scale to 1.0, unless the scale value is set by the page
55         in the viewport meta-tag.
56
57         Reviewed by Adam Barth.
58
59         * public/WebSettings.h:
60         * src/ChromeClientImpl.cpp:
61         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
62         * src/WebSettingsImpl.cpp:
63         (WebKit::WebSettingsImpl::WebSettingsImpl):
64         (WebKit::WebSettingsImpl::setInitializeAtMinimumPageScale):
65         (WebKit):
66         * src/WebSettingsImpl.h:
67         (WebSettingsImpl):
68         (WebKit::WebSettingsImpl::initializeAtMinimumPageScale):
69         * tests/WebFrameTest.cpp:
70         * tests/data/viewport-2x-initial-scale.html: Added.
71         * tests/data/viewport-auto-initial-scale.html: Added.
72
73 2013-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
74
75         Unreviewed, rolling out r142808.
76         http://trac.webkit.org/changeset/142808
77         https://bugs.webkit.org/show_bug.cgi?id=109816
78
79         Crashes on chromium webkit canary bots (Requested by atwilson_
80         on #webkit).
81
82         * src/WebViewImpl.cpp:
83         (WebKit::WebViewImpl::handleGestureEvent):
84         (WebKit::WebViewImpl::bestTouchLinkNode):
85         (WebKit::WebViewImpl::enableTouchHighlight):
86         * src/WebViewImpl.h:
87         (WebViewImpl):
88         * tests/LinkHighlightTest.cpp:
89         (WebCore::TEST):
90
91 2013-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
92
93         Unreviewed, rolling out r142841.
94         http://trac.webkit.org/changeset/142841
95         https://bugs.webkit.org/show_bug.cgi?id=109791
96
97         Caused webkit_unit_tests to crash on chromium bots. (Requested
98         by atwilson_ on #webkit).
99
100         * tests/GraphicsLayerChromiumTest.cpp:
101         (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
102         * tests/ScrollingCoordinatorChromiumTest.cpp:
103         (WebKit::FakeWebViewClient::initializeLayerTreeView):
104
105 2013-02-13  Max Vujovic  <mvujovic@adobe.com>
106
107         [CSS Filters] Refactor filter outsets into a class
108         https://bugs.webkit.org/show_bug.cgi?id=109330
109
110         Update FilterOperations unit tests to use new interface for getting filter outsets.
111
112         Reviewed by Dean Jackson.
113
114         * tests/FilterOperationsTest.cpp:
115         (WebKit::TEST):
116
117 2013-02-13  Zan Dobersek  <zdobersek@igalia.com>
118
119         The 'global isinf/isnan' compiler quirk required when using clang with libstdc++
120         https://bugs.webkit.org/show_bug.cgi?id=109325
121
122         Reviewed by Anders Carlsson.
123
124         Prefix calls to the isinf and isnan methods with std::, declaring we want to use the
125         two methods as they're provided by the C++ standard library being used.
126
127         * tests/DecimalTest.cpp:
128         (TEST_F):
129
130 2013-02-13  Alexandre Elias  <aelias@chromium.org>
131
132         [chromium] Fix scaling in WebViewImpl::handleGestureEvent
133         https://bugs.webkit.org/show_bug.cgi?id=109671
134
135         Reviewed by James Robinson.
136
137         My last patch broke a bunch of things in handleGestureEvent that
138         assumed the event came in scaled, most notably tap highlight and
139         double-tap zoom. Switch those to PlatformGestureEvent.
140
141         * src/WebViewImpl.cpp:
142         (WebKit::WebViewImpl::handleGestureEvent):
143         (WebKit::WebViewImpl::bestTapNode):
144         (WebKit::WebViewImpl::enableTapHighlight):
145         * src/WebViewImpl.h:
146         (WebViewImpl):
147         * tests/LinkHighlightTest.cpp:
148         (WebCore::TEST):
149
150 2013-02-13  Eberhard Graether  <egraether@google.com>
151
152         chromium: remove CompositorHUDFontAtlas
153         https://bugs.webkit.org/show_bug.cgi?id=109328
154
155         Reviewed by James Robinson.
156
157         After switching the HudLayer to use skia's font rendering the
158         CompositorHUDFontAtlas has become obsolete. This change removes
159         this class and the related WebLayerTreeView API.
160
161         * src/WebViewImpl.cpp:
162         * src/WebViewImpl.h:
163
164 2013-02-13  Sheriff Bot  <webkit.review.bot@gmail.com>
165
166         Unreviewed.  Rolled Chromium DEPS to r182150.  Requested by
167         jamesr_ via sheriffbot.
168
169         * DEPS:
170
171 2013-02-13  Sadrul Habib Chowdhury  <sadrul@chromium.org>
172
173         [chromium] Add acceleration ratios for the deltas to WebMouseWheelEvents.
174         https://bugs.webkit.org/show_bug.cgi?id=109611
175
176         The deltas in mousewheel events generated by track can be accelerated (e.g. when
177         scrolling repeatedly). Keep track of the ratio of the acceleration since that is
178         useful for some tasks (e.g. overflow navigation gesture).
179
180         Reviewed by Adam Barth.
181
182         * public/WebInputEvent.h:
183         (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
184         * src/WebInputEvent.cpp:
185         (SameSizeAsWebMouseWheelEvent):
186
187 2013-02-12  Yoshifumi Inoue  <yosin@chromium.org>
188
189         Unreviewed. Build fix for Chromium-Win.
190         Add #include <functional> for std::bind1st.
191
192         * tests/PrerenderingTest.cpp:
193
194 2013-02-12  Joshua Bell  <jsbell@chromium.org>
195
196         [Chromium] IndexedDB/Worker crash during shutdown
197         https://bugs.webkit.org/show_bug.cgi?id=109467
198
199         Reviewed by Tony Chang.
200
201         If the message queue has already been terminated, don't bother scheduling
202         a new error event that will never be delivered. Speculative fix for the
203         issue, which only repros in multiprocess ports and so far only on some
204         platforms.
205
206         * src/IDBFactoryBackendProxy.cpp:
207         (WebKit::IDBFactoryBackendProxy::allowIndexedDB): Early exit.
208
209 2013-02-12  Zan Dobersek  <zdobersek@igalia.com>
210
211         Remove ENABLE_XHR_RESPONSE_BLOB handling from various build systems
212         https://bugs.webkit.org/show_bug.cgi?id=109481
213
214         Reviewed by Daniel Bates.
215
216         The ENABLE_XHR_RESPONSE_BLOB feature define was removed from the code
217         back in r120574. There are still occurrences of it in various build systems
218         which should all be removed as they are useless.
219
220         * features.gypi:
221
222 2013-02-12  Jochen Eisinger  <jochen@chromium.org>
223
224         Disabling WebFrameTest.ReplaceMisspelledRange on Android because it crashes
225         https://bugs.webkit.org/show_bug.cgi?id=109548
226
227         Unreviewed gardening.
228
229         * tests/WebFrameTest.cpp:
230
231 2013-02-11  James Robinson  <jamesr@chromium.org>
232
233         [Chromium] Get rid of WebAnimationController
234         https://bugs.webkit.org/show_bug.cgi?id=109235
235
236         Reviewed by Benjamin Poulain.
237
238         * public/WebAnimationController.h: Removed.
239         * public/WebFrame.h:
240         (WebFrame):
241         * src/WebAnimationControllerImpl.cpp: Removed.
242         * src/WebAnimationControllerImpl.h: Removed.
243         * src/WebFrameImpl.cpp:
244         * src/WebFrameImpl.h:
245         (WebFrameImpl):
246
247 2013-02-11  James Robinson  <jamesr@chromium.org>
248
249         [chromium] Add WebUnitTestSupport::createLayerTreeViewForTesting for webkit_unit_tests
250         https://bugs.webkit.org/show_bug.cgi?id=109403
251
252         Reviewed by Adam Barth.
253
254         * tests/GraphicsLayerChromiumTest.cpp:
255         (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
256         * tests/ScrollingCoordinatorChromiumTest.cpp:
257         (WebKit::FakeWebViewClient::initializeLayerTreeView):
258
259 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
260
261         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
262         https://bugs.webkit.org/show_bug.cgi?id=109534
263
264         Reviewed by Anders Carlsson.
265
266         * src/EditorClientImpl.cpp:
267         (WebKit):
268         * src/EditorClientImpl.h:
269         (EditorClientImpl):
270
271 2013-02-11  Alexandre Elias  <aelias@chromium.org>
272
273         [chromium] Apply page scale to all WebInputEvent types
274         https://bugs.webkit.org/show_bug.cgi?id=109370
275
276         Reviewed by James Robinson.
277
278         Previously we only adjusted a few common input event types by page
279         scale, but in fact almost every position and size in WebInputEvents
280         requires it.
281
282         I also took the opportunity to change some WebGestureEvent members to
283         floats (which I checked causes no warnings in Chromium-side code with
284         GCC or Clang).
285
286         New WebInputEventConversionTest: InputEventsScaling
287
288         * public/WebInputEvent.h:
289         (WebKit::WebGestureEvent::WebGestureEvent):
290         * src/WebInputEventConversion.cpp:
291         (WebKit::widgetScaleFactor):
292         (WebKit):
293         (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
294         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
295         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
296         (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
297         (WebKit::updateWebMouseEventFromWebCoreMouseEvent):
298         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
299         (WebKit::addTouchPoints):
300         (WebKit::WebTouchEventBuilder::WebTouchEventBuilder):
301         (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
302         * src/WebViewImpl.cpp:
303         (WebKit::WebViewImpl::handleGestureEvent):
304         (WebKit::WebViewImpl::hasTouchEventHandlersAt):
305         (WebKit::WebViewImpl::handleInputEvent):
306         * tests/WebInputEventConversionTest.cpp:
307         (WebCore::TEST):
308         (WebCore):
309
310 2013-02-11  Sheriff Bot  <webkit.review.bot@gmail.com>
311
312         Unreviewed, rolling out r142568.
313         http://trac.webkit.org/changeset/142568
314         https://bugs.webkit.org/show_bug.cgi?id=109541
315
316         Broke the build, won't compile. (Requested by alancutter on
317         #webkit).
318
319         * tests/GraphicsLayerChromiumTest.cpp:
320         (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
321         * tests/ScrollingCoordinatorChromiumTest.cpp:
322         (WebKit::FakeWebViewClient::initializeLayerTreeView):
323
324 2013-02-11  James Robinson  <jamesr@chromium.org>
325
326         [chromium] Add WebUnitTestSupport::createLayerTreeViewForTesting for webkit_unit_tests
327         https://bugs.webkit.org/show_bug.cgi?id=109403
328
329         Reviewed by Adam Barth.
330
331         * tests/GraphicsLayerChromiumTest.cpp:
332         (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
333         * tests/ScrollingCoordinatorChromiumTest.cpp:
334         (WebKit::FakeWebViewClient::initializeLayerTreeView):
335
336 2013-02-11  Sheriff Bot  <webkit.review.bot@gmail.com>
337
338         Unreviewed.  Rolled Chromium DEPS to r181817.  Requested by
339         "James Robinson" <jamesr@chromium.org> via sheriffbot.
340
341         * DEPS:
342
343 2013-02-11  David Grogan  <dgrogan@chromium.org>
344
345         IndexedDB: Add UnknownError to WebIDBDatabaseException
346         https://bugs.webkit.org/show_bug.cgi?id=109519
347
348         Reviewed by Adam Barth.
349
350         * public/WebIDBDatabaseException.h:
351         * src/AssertMatchingEnums.cpp:
352
353 2013-02-11  Sheriff Bot  <webkit.review.bot@gmail.com>
354
355         Unreviewed.  Rolled Chromium DEPS to r181787.  Requested by
356         thakis_ via sheriffbot.
357
358         * DEPS:
359
360 2013-02-11  Nico Weber  <thakis@chromium.org>
361
362         Remove web intents code
363         https://bugs.webkit.org/show_bug.cgi?id=109501
364
365         Reviewed by Eric Seidel.
366
367         See thread "Removing ENABLE(WEB_INTENTS) code" on webkit-dev.
368
369         * WebKit.gyp:
370         * features.gypi:
371         * public/WebDeliveredIntentClient.h: Removed.
372         * public/WebFrame.h:
373         (WebKit):
374         (WebFrame):
375         * public/WebFrameClient.h:
376         (WebKit):
377         * public/WebIntent.h: Removed.
378         * public/WebIntentRequest.h: Removed.
379         * public/WebIntentServiceInfo.h: Removed.
380         * public/WebRuntimeFeatures.h:
381         (WebRuntimeFeatures):
382         * src/DeliveredIntentClientImpl.cpp: Removed.
383         * src/DeliveredIntentClientImpl.h: Removed.
384         * src/FrameLoaderClientImpl.cpp:
385         * src/FrameLoaderClientImpl.h:
386         (FrameLoaderClientImpl):
387         * src/WebFrameImpl.cpp:
388         * src/WebFrameImpl.h:
389         (WebKit):
390         (WebFrameImpl):
391         * src/WebIntent.cpp: Removed.
392         * src/WebIntentRequest.cpp: Removed.
393         * src/WebIntentServiceInfo.cpp: Removed.
394         * src/WebRuntimeFeatures.cpp:
395
396 2013-02-11  Florin Malita  <fmalita@chromium.org>
397
398         Unreviewed.  Rolled Chromium DEPS to r181770.
399
400         * DEPS:
401
402 2013-02-11  Sheriff Bot  <webkit.review.bot@gmail.com>
403
404         Unreviewed.  Rolled Chromium DEPS to r181742.  Requested by
405         fmalita_ via sheriffbot.
406
407         * DEPS:
408
409 2013-02-11  Rouslan Solomakhin  <rouslan@chromium.org>
410
411         [Chromium] Replace correct misspelled range in WebKit::WebFrameImpl::replaceMisspelledRange
412         https://bugs.webkit.org/show_bug.cgi?id=108513
413
414         Reviewed by Tony Chang.
415
416         WebKit::WebFrameImpl::replaceMisspelledRange is going to be used by Chromium instead of
417         WebKit::WebFrameImpl::replaceSelection for correcting misspellings. The current implementation
418         of WebKit::WebFrameImpl::replaceMisspelledRange sometimes replaces the wrong range. This change
419         uses Range::create instead of TextIterator::rangeFromLocationAndLength to select the correct
420         range. This change also disables smart replace in WebKit::WebFrameImpl::replaceMisspelledRange
421         to avoid introducing spaces around misspellings.
422
423         * src/WebFrameImpl.cpp:
424         (WebKit::WebFrameImpl::replaceMisspelledRange): Replace correct misspelled range.
425         * tests/WebFrameTest.cpp: Add unit test for WebKit::WebFrameImpl::replaceMisspelledRange method.
426
427 2013-02-11  Alexei Filippov  <alph@chromium.org>
428
429         Web Inspector: Split Profiler domain in protocol into Profiler and HeapProfiler
430         https://bugs.webkit.org/show_bug.cgi?id=108653
431
432         Reviewed by Yury Semikhatsky.
433
434         Currently CPU and heap profilers share the same domain 'Profiler' in the protocol.
435         In fact these two profile types have not too much in common. So put each into its own domain.
436         It should also help when Profiles panel gets split into several tools.
437         This is the phase 1 which adds InspectorHeapProfilerAgent but doesn't
438         change the original InspectorProfilerAgent.
439
440         * src/WebDevToolsAgentImpl.cpp:
441         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
442
443 2013-02-11  Abhishek Arya  <inferno@chromium.org>
444
445         Add ASSERT_WITH_SECURITY_IMPLICATION to detect out of bounds access
446         https://bugs.webkit.org/show_bug.cgi?id=108981
447
448         Reviewed by Eric Seidel.
449
450         * src/AutofillPopupMenuClient.cpp:
451         (WebKit::AutofillPopupMenuClient::getSuggestion):
452         (WebKit::AutofillPopupMenuClient::getLabel):
453         (WebKit::AutofillPopupMenuClient::getIcon):
454         (WebKit::AutofillPopupMenuClient::removeSuggestionAtIndex):
455         (WebKit::AutofillPopupMenuClient::valueChanged):
456         (WebKit::AutofillPopupMenuClient::selectionChanged):
457         * src/ChromeClientImpl.cpp:
458         (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
459
460 2013-02-10  James Robinson  <jamesr@chromium.org>
461
462         [chromium] Enable more of webkit_unit_tests in component builds
463         https://bugs.webkit.org/show_bug.cgi?id=109369
464
465         Reviewed by Darin Fisher.
466
467         Updates all webkit_unit_tests (except for LevelDBTest) to go through the Platform API instead of directly
468         calling into webkit_support so they work in component builds.
469
470         * WebKit.gyp:
471         * tests/AssociatedURLLoaderTest.cpp:
472         * tests/EventListenerTest.cpp:
473         * tests/FrameTestHelpers.cpp:
474         (WebKit::FrameTestHelpers::createWebViewAndLoad):
475         (QuitTask):
476         (WebKit::FrameTestHelpers::QuitTask::run):
477         (FrameTestHelpers):
478         (WebKit::FrameTestHelpers::runPendingTasks):
479         * tests/FrameTestHelpers.h:
480         (FrameTestHelpers):
481         * tests/ListenerLeakTest.cpp:
482         * tests/PopupMenuTest.cpp:
483         * tests/PrerenderingTest.cpp:
484         * tests/ScrollingCoordinatorChromiumTest.cpp:
485         (WebKit::ScrollingCoordinatorChromiumTest::~ScrollingCoordinatorChromiumTest):
486         (WebKit::ScrollingCoordinatorChromiumTest::navigateTo):
487         * tests/URLTestHelpers.cpp:
488         (WebKit::URLTestHelpers::registerMockedURLLoad):
489         * tests/WebFrameTest.cpp:
490         * tests/WebImageTest.cpp:
491         (WebKit::readFile):
492         * tests/WebPageNewSerializerTest.cpp:
493         * tests/WebPageSerializerTest.cpp:
494         * tests/WebPluginContainerTest.cpp:
495         (WebKit::WebPluginContainerTest::TearDown):
496         (WebKit::TEST_F):
497         * tests/WebViewTest.cpp:
498
499 2013-02-10  Sheriff Bot  <webkit.review.bot@gmail.com>
500
501         Unreviewed.  Rolled Chromium DEPS to r181645.  Requested by
502         "James Robinson" <jamesr@chromium.org> via sheriffbot.
503
504         * DEPS:
505
506 2013-02-09  Stephen Chenney  <schenney@chromium.org>
507
508         Unreviewed.  Rolled Chromium DEPS to last-known good revision. Really this time.
509
510         * DEPS: 181594
511
512 2013-02-09  Sheriff Bot  <webkit.review.bot@gmail.com>
513
514         Unreviewed.  Rolled Chromium DEPS to last-known good revision.
515         Requested by "Stephen Chenney" <schenney@chromium.org> via
516         sheriffbot.
517
518         * DEPS:
519
520 2013-02-08  Kent Tamura  <tkent@chromium.org>
521
522         [Chromium] Disable ENABLE_INPUT_TYPE_DATETIME
523         https://bugs.webkit.org/show_bug.cgi?id=109272
524
525         Reviewed by Kentaro Hara.
526
527         We enabled this flag for desktop Chromium, but disabled the feature by a
528         runtime flag. We disables the compile flag too because we have no plan
529         to ship it in near future.
530
531         * features.gypi: Remove ENABLE_INPUT_TYPE_DATETIME.
532
533 2013-02-08  Stephen Chenney  <schenney@chromium.org>
534
535         Remove Skia code suppressions
536
537         Unreviewed enabling of existing optimizations
538
539         Removing all skia_webkit.gyp code suppressions and adding expectations
540         for the failures.
541
542         * skia_webkit.gyp:
543
544 2013-02-08  Dan Carney  <dcarney@google.com>
545
546         [v8] isolate parameter added to all v8::peristent calls
547         https://bugs.webkit.org/show_bug.cgi?id=109268
548
549         Reviewed by Kentaro Hara.
550
551         * tests/WebFrameTest.cpp:
552
553 2013-02-07  Kent Tamura  <tkent@chromium.org>
554
555         [Chromium-Android] Disable input[type=datetime]
556         https://bugs.webkit.org/show_bug.cgi?id=107614
557
558         Reviewed by Kentaro Hara.
559
560         Reason:
561         http://lists.webkit.org/pipermail/webkit-dev/2013-January/023404.html
562
563         * features.gypi:
564         Disable ENABLE_INPUT_TYPE_DATETIME because of a wrong UI.
565         We enable it for non-Android ports but the runtime flag for it is
566         disabled by default. The runtime flag is enabled only in DumpRenderTree.
567
568 2013-02-07  Terry Anderson  <tdanderson@chromium.org>
569
570         [chromium] Flings should not bubble up to enclosing scrollables when main-thread touch scrolling
571         https://bugs.webkit.org/show_bug.cgi?id=108719
572
573         Reviewed by Eric Seidel.
574
575         In the event of a main-thread touch fling, dispatch a series of
576         GestureScrollUpdateWithoutPropagation events defined in
577         https://bugs.webkit.org/show_bug.cgi?id=108849 (instead of
578         GestureScrollUpdate events) so that the fling does not
579         propagate to enclosing scrollables.
580
581         * src/WebViewImpl.cpp:
582         (WebKit::WebViewImpl::scrollBy):
583
584 2013-02-07  Kent Tamura  <tkent@chromium.org>
585
586         [Chromium] Add a flag to enable native form validation message
587         https://bugs.webkit.org/show_bug.cgi?id=109134
588
589         Reviewed by Adam Barth.
590
591         * public/WebRuntimeFeatures.h:
592         (WebRuntimeFeatures): Add enableNativeValidationMessage and
593         isNativeValidationMessageEnabled.
594         * src/WebRuntimeFeatures.cpp:
595         (WebKit): Add nativeValidationMessageEnabled.
596         (WebKit::WebRuntimeFeatures::enableNativeValidationMessage): Added.
597         (WebKit::WebRuntimeFeatures::isNativeValidationMessageEnabled): Addedd.
598         * src/WebViewImpl.cpp:
599         (WebKit::WebViewImpl::WebViewImpl):
600         Fill Page::PageClients::validationMessageClient if the flag is true.
601
602 2013-02-07  Eberhard Graether  <egraether@google.com>
603
604         Web Inspector: Add settings checkbox for composited layer borders
605         https://bugs.webkit.org/show_bug.cgi?id=109096
606
607         Reviewed by Pavel Feldman.
608
609         This change adds a checkbox to show composited layer borders to the WebInspector's
610         rendering settings and plumbs the setting to Chromium's WebLayerTreeView. The setting
611         is visible if InspectorClient::canShowDebugBorders() returns true.
612
613         * src/InspectorClientImpl.cpp:
614         (WebKit::InspectorClientImpl::canShowDebugBorders):
615         (WebKit):
616         (WebKit::InspectorClientImpl::setShowDebugBorders):
617         * src/InspectorClientImpl.h:
618         (InspectorClientImpl):
619         * src/WebViewImpl.cpp:
620         (WebKit::WebViewImpl::WebViewImpl):
621         (WebKit::WebViewImpl::setShowDebugBorders):
622         (WebKit):
623         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
624         * src/WebViewImpl.h:
625
626 2013-02-07  Stephen White  <senorblanco@chromium.org>
627
628         Unreviewed.  Rolled DEPS.
629
630         * DEPS:
631
632 2013-02-07  David Trainor  <dtrainor@chromium.org>
633
634         Add null check to editable in moveCaretSelectionTowardsWindowPoint
635         https://bugs.webkit.org/show_bug.cgi?id=108962
636
637         Reviewed by Eric Seidel.
638
639         * src/WebFrameImpl.cpp:
640         (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
641         * tests/WebFrameTest.cpp:
642
643 2013-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
644
645         Unreviewed.  Rolled Chromium DEPS to r180752.  Requested by
646         thakis_ via sheriffbot.
647
648         * DEPS:
649
650 2013-02-06  Terry Anderson  <tdanderson@chromium.org>
651
652         Add support for gesture scroll events that do not propagate to enclosing scrollables
653         https://bugs.webkit.org/show_bug.cgi?id=108849
654
655         Reviewed by Antonio Gomes.
656
657         Define the new event type GestureScrollUpdateWithoutPropagation.
658
659         * public/WebInputEvent.h:
660         (WebKit::WebInputEvent::isGestureEventType):
661         * src/PageWidgetDelegate.cpp:
662         (WebKit::PageWidgetDelegate::handleInputEvent):
663         * src/WebInputEventConversion.cpp:
664         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
665         * src/WebPluginContainerImpl.cpp:
666         * src/WebPopupMenuImpl.cpp:
667         (WebKit::WebPopupMenuImpl::handleInputEvent):
668         * src/WebViewImpl.cpp:
669         (WebKit::WebViewImpl::handleGestureEvent):
670
671 2013-02-06  Alexandre Elias  <aelias@chromium.org>
672
673         Make ScrollView::paint() clip by visibleContentRect
674         https://bugs.webkit.org/show_bug.cgi?id=108888
675
676         Reviewed by Levi Weintraub.
677
678         When applyPageScaleFactorInCompositor or fixedVisibleContentRect
679         are used, frameRect() and visibleContentRect(true).size() are
680         no longer synonyms, and the latter is the one that should be
681         used for clipping paints.
682
683         New WebFrameTest: pageScaleFactorScalesPaintClip.
684
685         * tests/WebFrameTest.cpp:
686
687 2013-02-06  Sheriff Bot  <webkit.review.bot@gmail.com>
688
689         Unreviewed, rolling out r142025.
690         http://trac.webkit.org/changeset/142025
691         https://bugs.webkit.org/show_bug.cgi?id=109091
692
693         broke the build (Requested by tdanderson on #webkit).
694
695         * public/WebInputEvent.h:
696         (WebKit::WebInputEvent::isGestureEventType):
697         * src/PageWidgetDelegate.cpp:
698         (WebKit::PageWidgetDelegate::handleInputEvent):
699         * src/WebInputEventConversion.cpp:
700         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
701         * src/WebPluginContainerImpl.cpp:
702         * src/WebPopupMenuImpl.cpp:
703         (WebKit::WebPopupMenuImpl::handleInputEvent):
704         * src/WebViewImpl.cpp:
705         (WebKit::WebViewImpl::handleGestureEvent):
706
707 2013-02-06  Daniel Cheng  <dcheng@google.com>
708
709         [chromium] Remove "config.h" header from WebUnitTests.cpp
710         https://bugs.webkit.org/show_bug.cgi?id=108966
711
712         Reviewed by Tony Chang.
713
714         This file includes headers from base/ in Chromium, and config.h
715         conflicts with base/logging.h. Rather than teaching certain files in
716         base/ not to #include base/logging.h, remove the config.h include
717         here. The ASSERT isn't really necessary, as attempting to run a null
718         test suite won't go very far anyway.
719
720         * tests/WebUnitTests.cpp:
721         (WebKit::RunAllUnitTests):
722
723 2013-02-06  Terry Anderson  <tdanderson@chromium.org>
724
725         Add support for gesture scroll events that do not propagate to enclosing scrollables
726         https://bugs.webkit.org/show_bug.cgi?id=108849
727
728         Reviewed by Antonio Gomes.
729
730         Define the new event type GestureScrollUpdateWithoutPropagation.
731
732         * public/WebInputEvent.h:
733         (WebKit::WebInputEvent::isGestureEventType):
734         * src/PageWidgetDelegate.cpp:
735         (WebKit::PageWidgetDelegate::handleInputEvent):
736         * src/WebInputEventConversion.cpp:
737         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
738         * src/WebPluginContainerImpl.cpp:
739         * src/WebPopupMenuImpl.cpp:
740         (WebKit::WebPopupMenuImpl::handleInputEvent):
741         * src/WebViewImpl.cpp:
742         (WebKit::WebViewImpl::handleGestureEvent):
743
744 2013-02-06  Chris Hopman  <cjhopman@chromium.org>
745
746         [Chromium] WebWidget should expose a way to determine the start/end of the selection bounds
747         https://bugs.webkit.org/show_bug.cgi?id=108667
748
749         Reviewed by Darin Fisher.
750
751         WebWidget::selectionBounds() returns the anchor and focus of the
752         selection. This matches the arguments to WebFrame::selectRange().
753         Add WebWidget::isSelectionAnchorFirst so that a caller can convert the
754         anchor/focus to start/end.
755
756         * public/WebWidget.h:
757         (WebWidget):
758         (WebKit::WebWidget::isSelectionAnchorFirst):
759         * src/WebViewImpl.cpp:
760         (WebKit::WebViewImpl::isSelectionAnchorFirst):
761         (WebKit):
762         * src/WebViewImpl.h:
763         * tests/WebViewTest.cpp:
764
765 2013-02-06  Alec Flett  <alecflett@chromium.org>
766
767         IndexedDB: Stub out SharedBuffer version of put()
768         https://bugs.webkit.org/show_bug.cgi?id=108986
769
770         Reviewed by Darin Fisher.
771
772         This is part 1 of 3 to replace Vector<uint8_t> with SharedBuffer.
773
774         * public/WebIDBDatabase.h:
775         (WebKit):
776         (WebKit::WebIDBDatabase::put):
777
778 2013-02-06  Stephen Chenney  <schenney@chromium.org>
779
780         Add Skia code suppression flags to WebKit skia.gyp
781
782         Unreviewed.
783
784         This is step one in removing these flags. First we get them into
785         WebKit, then we can remove them from Chrome.
786
787         * skia_webkit.gyp:
788
789 2013-02-06  Mike West  <mkwst@chromium.org>
790
791         Add an ENABLE_NOSNIFF feature flag.
792         https://bugs.webkit.org/show_bug.cgi?id=109029
793
794         Reviewed by Jochen Eisinger.
795
796         This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
797         when processing script and other resource types.
798
799         * features.gypi:
800
801 2013-02-05  David Dorwin  <ddorwin@chromium.org>
802
803         [chromium] Explicitly destroy the WebMediaPlayer in WebMediaPlayerClientImpl's destructor
804         https://bugs.webkit.org/show_bug.cgi?id=108989
805
806         Reviewed by Kent Tamura.
807
808         * src/WebMediaPlayerClientImpl.cpp:
809         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
810
811 2013-02-04  Kentaro Hara  <haraken@chromium.org>
812
813         [V8] Reduce usage of deprecatedString() and deprecatedInteger()
814         https://bugs.webkit.org/show_bug.cgi?id=108909
815
816         Reviewed by Adam Barth.
817
818         No tests. No change in behavior.
819
820         * src/WebBindings.cpp:
821         (WebKit::WebBindings::toV8Value):
822
823 2013-02-05  Kentaro Hara  <haraken@chromium.org>
824
825         [V8] Make an Isolate parameter mandatory in HasInstance()
826         https://bugs.webkit.org/show_bug.cgi?id=108917
827
828         Reviewed by Adam Barth.
829
830         Because these methods do not have an Isolate, we have to call
831         v8::Isolate::GetCurrent().
832
833         No tests. No change in behavior.
834
835         * src/WebArrayBuffer.cpp:
836         (WebKit::WebArrayBuffer::createFromV8Value):
837         * src/WebArrayBufferView.cpp:
838         (WebKit::WebArrayBufferView::createFromV8Value):
839         * src/WebBindings.cpp:
840         (WebKit::getRangeImpl):
841         (WebKit::getNodeImpl):
842         (WebKit::getElementImpl):
843         (WebKit::getArrayBufferImpl):
844         (WebKit::getArrayBufferViewImpl):
845         (WebKit::WebBindings::getRange):
846         (WebKit::WebBindings::getArrayBuffer):
847         (WebKit::WebBindings::getArrayBufferView):
848         (WebKit::WebBindings::getNode):
849         (WebKit::WebBindings::getElement):
850
851 2013-02-05  Dana Jansens  <danakj@chromium.org>
852
853         [chromium] Provide compositor offscreen context through the WebLayerTreeViewClient interface
854         https://bugs.webkit.org/show_bug.cgi?id=107776
855
856         Reviewed by James Robinson.
857
858         * WebKit.gyp:
859         * src/WebGraphicsContext3D.cpp: Removed.
860
861 2013-02-05  Mark Lam  <mark.lam@apple.com>
862
863         Introduced back-end database classes + a few small fixes.
864         https://bugs.webkit.org/show_bug.cgi?id=108759.
865
866         Reviewed by Brady Eidson.
867
868         * src/DatabaseObserver.cpp:
869         (WebCore::DatabaseObserver::databaseOpened):
870         (WebCore::DatabaseObserver::databaseModified):
871         (WebCore::DatabaseObserver::databaseClosed):
872
873 2013-02-05  Adam Barth  <abarth@webkit.org>
874
875         DumpRenderTree should be able to enable the threaded parser
876         https://bugs.webkit.org/show_bug.cgi?id=108970
877
878         Reviewed by Eric Seidel.
879
880         * public/WebSettings.h:
881         * src/WebSettingsImpl.cpp:
882         (WebKit::WebSettingsImpl::setThreadedHTMLParser):
883         (WebKit):
884         * src/WebSettingsImpl.h:
885         (WebSettingsImpl):
886
887 2013-02-05  Sami Kyostila  <skyostil@chromium.org>
888
889         [chromium] Make overlay layers slow-scrolling
890         https://bugs.webkit.org/show_bug.cgi?id=108957
891
892         Reviewed by James Robinson.
893
894         Since overlay layers get inserted on top of everything else, we must
895         mark them slow-scrolling to prevent all scroll input events to the rest
896         of the page from getting blocked. This is also more correct because
897         generally the overlay contents need to be repainted whenever the scroll
898         offset changes, and with this patch the painting happens in sync with
899         page scrolling.
900
901 2013-02-05  Sheriff Bot  <webkit.review.bot@gmail.com>
902
903         Unreviewed, rolling out r141896.
904         http://trac.webkit.org/changeset/141896
905         https://bugs.webkit.org/show_bug.cgi?id=108956
906
907         crashes indexdb security tests (Requested by gavinp on
908         #webkit).
909
910         * public/platform/WebKitPlatformSupport.h:
911         (WebKit):
912         (WebKitPlatformSupport):
913         (WebKit::WebKitPlatformSupport::idbFactory):
914         * src/IDBFactoryBackendProxy.cpp:
915         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
916
917 2013-02-05  Mark Pilgrim  <pilgrim@chromium.org>
918
919         [Chromium] Remove idbFactory from WebKitPlatformSupport
920         https://bugs.webkit.org/show_bug.cgi?id=106457
921
922         Reviewed by Adam Barth.
923
924         Now that https://codereview.chromium.org/12181010/ has landed, the
925         idbFactory method is no longer needed. (Embedders must now call
926         the new setIDBFactory method upon initialization.) Part of a
927         larger refactoring series; see tracking bug 82948.
928
929         * public/platform/WebKitPlatformSupport.h:
930         (WebKit):
931         * src/IDBFactoryBackendProxy.cpp:
932         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
933
934 2013-02-05  Kentaro Hara  <haraken@chromium.org>
935
936         Unreviewed, rolling out r141865.
937         http://trac.webkit.org/changeset/141865
938         https://bugs.webkit.org/show_bug.cgi?id=108909
939
940         webkit unit tests are broken
941
942         * src/WebBindings.cpp:
943         (WebKit::WebBindings::toV8Value):
944
945 2013-02-05  Kentaro Hara  <haraken@chromium.org>
946
947         [V8] Reduce usage of deprecatedString() and deprecatedInteger()
948         https://bugs.webkit.org/show_bug.cgi?id=108909
949
950         Reviewed by Adam Barth.
951
952         No tests. No change in behavior.
953
954         * src/WebBindings.cpp:
955         (WebKit::WebBindings::toV8Value):
956
957 2013-02-04  Sheriff Bot  <webkit.review.bot@gmail.com>
958
959         Unreviewed.  Rolled Chromium DEPS to r180583.  Requested by
960         "Mark Pilgrim" <pilgrim@chromium.org> via sheriffbot.
961
962         * DEPS:
963
964 2013-02-04  James Simonsen  <simonjam@chromium.org>
965
966         [Chromium] Add a signal for when the body is inserted in the document
967         https://bugs.webkit.org/show_bug.cgi?id=108725
968
969         Reviewed by Adam Barth.
970
971         * public/WebFrameClient.h:
972         (WebFrameClient):
973         (WebKit::WebFrameClient::willInsertBody):
974         * src/FrameLoaderClientImpl.cpp:
975         (WebKit::FrameLoaderClientImpl::dispatchWillInsertBody):
976         (WebKit):
977         * src/FrameLoaderClientImpl.h:
978         (FrameLoaderClientImpl):
979         * tests/WebFrameTest.cpp:
980
981 2013-02-04  Chris Hopman  <cjhopman@chromium.org>
982
983         Make moveCaretTowardsWindowPoint not snap to the beginning/end when moved above/below editable
984         https://bugs.webkit.org/show_bug.cgi?id=107850
985
986         Reviewed by Ojan Vafai.
987
988         On Android, EditingBehavior::shouldMoveCaret[...] controls the
989         behavior of insertion handles. This change adds a new Android specific
990         editing behavior type so that we can change these settings independent
991         of behavior for other platforms.
992
993         * public/WebSettings.h:
994         * src/AssertMatchingEnums.cpp:
995         Just add the corresponding assertion for the new editing behavior.
996
997         * public/WebSettings.h:
998         * src/AssertMatchingEnums.cpp:
999
1000         * tests/WebFrameTest.cpp:
1001         * tests/data/move_caret.html: Added.
1002         Add a test that moveCaretTowardsWindowPoint works as expected on
1003         Android.
1004
1005 2013-01-31  Kentaro Hara  <haraken@chromium.org>
1006
1007         Implement WheelEvent::deltaMode
1008         https://bugs.webkit.org/show_bug.cgi?id=108455
1009
1010         Reviewed by Adam Barth.
1011
1012         * src/WebInputEventConversion.cpp:
1013         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
1014
1015 2013-02-04  Mark Pilgrim  <pilgrim@chromium.org>
1016
1017         [Chromium] Move WorkerContextProxy to WebCore
1018         https://bugs.webkit.org/show_bug.cgi?id=108847
1019
1020         Reviewed by Adam Barth.
1021
1022         Part of a larger refactoring series; see tracking bug 106829.
1023
1024         * WebKit.gyp:
1025         * src/WebKit.cpp:
1026         (WebKit::initializeWithoutV8):
1027         * src/WorkerContextProxy.cpp: Removed.
1028
1029 2013-02-04  Abhishek Arya  <inferno@chromium.org>
1030
1031         Add ASSERT_WITH_SECURITY_IMPLICATION to detect out of bounds access
1032         https://bugs.webkit.org/show_bug.cgi?id=108668
1033
1034         Reviewed by Eric Seidel.
1035
1036         * src/ContextFeaturesClientImpl.cpp:
1037         (WebKit::ContextFeaturesCache::entryFor):
1038         * src/WebFrameImpl.cpp:
1039         (WebKit::WebFrameImpl::selectFindMatch):
1040
1041 2013-02-04  Mark Pilgrim  <pilgrim@chromium.org>
1042
1043         [Chromium] Move IDBFactoryBackendInterface to WebCore
1044         https://bugs.webkit.org/show_bug.cgi?id=108638
1045
1046         Reviewed by Adam Barth.
1047
1048         Part of a larger refactoring series; see tracking bug 106829.
1049
1050         * WebKit.gyp:
1051         * src/AssertMatchingEnums.cpp:
1052         * src/IDBFactoryBackendInterface.cpp: Removed.
1053         * src/IDBFactoryBackendProxy.h:
1054         * src/WebKit.cpp:
1055         (WebKit::initializeWithoutV8):
1056
1057 2013-02-04  Abhishek Arya  <inferno@chromium.org>
1058
1059         Add ASSERT_WITH_SECURITY_IMPLICATION to detect bad cast in DOM, CSS, etc.
1060         https://bugs.webkit.org/show_bug.cgi?id=108688
1061
1062         Reviewed by Eric Seidel.
1063
1064         * src/IDBFactoryBackendProxy.cpp:
1065         (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
1066         (WebKit::getWebFrame):
1067         * src/LocalFileSystemChromium.cpp:
1068         (WebCore::LocalFileSystem::deleteFileSystem):
1069         * src/WebSharedWorkerImpl.cpp:
1070         (WebKit::WebSharedWorkerImpl::connectTask):
1071         (WebKit::resumeWorkerContextTask):
1072         (WebKit::connectToWorkerContextInspectorTask):
1073         (WebKit::reconnectToWorkerContextInspectorTask):
1074         (WebKit::disconnectFromWorkerContextInspectorTask):
1075         (WebKit::dispatchOnInspectorBackendTask):
1076
1077 2013-02-04  Sami Kyostila  <skyostil@chromium.org>
1078
1079         Disable -webkit-overflow-scrolling CSS attribute on Chromium
1080         https://bugs.webkit.org/show_bug.cgi?id=108020
1081
1082         Reviewed by James Robinson.
1083
1084         Now that we can automatically promote overflow elements to accelerated
1085         scrolling layers there is no use for the -webkit-overflow-scrolling CSS
1086         attribute any longer on Chromium.
1087
1088         This patch enables composited overflow scrolling in
1089         ScrollingCoordinatorChromiumTest. Because this also causes the overflow div
1090         in non-fast-scrollable.html to become composited, we also need to modify that
1091         test to opt it out of composited scrolling.
1092
1093         * features.gypi:
1094         * tests/ScrollingCoordinatorChromiumTest.cpp:
1095         (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
1096         (WebKit::TEST_F):
1097         * tests/data/non-fast-scrollable.html:
1098         * tests/data/overflow-scrolling.html: Renamed from Source/WebKit/chromium/tests/data/touch-overflow-scrolling.html.
1099
1100 2013-02-03  KwangYong Choi  <ky0.choi@samsung.com>
1101
1102         Fix build warning after r141473
1103         https://bugs.webkit.org/show_bug.cgi?id=108782
1104
1105         Reviewed by Kentaro Hara.
1106
1107         Fix -Wunused-parameter build warning.
1108
1109         * src/EditorClientImpl.cpp:
1110         (WebKit::EditorClientImpl::getClientPasteboardDataForRange):
1111
1112 2013-02-03  David Dorwin  <ddorwin@chromium.org>
1113
1114         [chromium] Do not call m_widgetClient->show() for WebHelperPlugin.
1115         https://bugs.webkit.org/show_bug.cgi?id=108740
1116
1117         Reviewed by Kent Tamura.
1118
1119         The calls to m_widgetClient->show() and setFocus() do not appear to be
1120         necessary, and the former causes problems on at least on platform.
1121
1122         * src/WebHelperPluginImpl.cpp:
1123         (WebKit::WebHelperPluginImpl::initialize): Removed calls to m_widgetClient->show() and setFocus().
1124         (WebKit::WebHelperPluginImpl::setFocus): Should never be called.
1125
1126 2013-02-02  Michael Nordman  <michaeln@google.com>
1127
1128         [chromium] FileSystem mods: Changes to snapshot file creation to reduce dependencies on blobs.
1129         This patch just alters the WebKitAPI in advance of coding to the new API in chromium and webkit
1130         sources, defining two new virtual methods (unimplemented and uncalled). The existing API remains
1131         in place and in use.
1132         https://bugs.webkit.org/show_bug.cgi?id=108736
1133
1134         Reviewed by Darin Fisher.
1135
1136         * public/WebFileSystemCallbacks.h:
1137         (WebFileSystemCallbacks):
1138         (WebKit::WebFileSystemCallbacks::didCreateSnapshotFile):
1139
1140 2013-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
1141
1142         Unreviewed.  Rolled Chromium DEPS to r180221.  Requested by
1143         "Nico Weber" <thakis@chromium.org> via sheriffbot.
1144
1145         * DEPS:
1146
1147 2013-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
1148
1149         Unreviewed.  Rolled Chromium DEPS to r180186.  Requested by
1150         "Nico Weber" <thakis@chromium.org> via sheriffbot.
1151
1152         * DEPS:
1153
1154 2013-02-01  Chris Hopman  <cjhopman@chromium.org>
1155
1156         [Chromium] WebWidget::selectionBounds should return the bounds in document space
1157         https://bugs.webkit.org/show_bug.cgi?id=108386
1158
1159         Reviewed by James Robinson.
1160
1161         When in applyPageScaleFactorInCompositor mode, selectionBounds needs
1162         to scale the anchor/focus window points by the pageScaleFactor.
1163
1164         * src/WebViewImpl.cpp:
1165         (WebKit::WebViewImpl::selectionBounds):
1166         (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode):
1167
1168 2013-02-01  Dominic Mazzoni  <dmazzoni@google.com>
1169
1170         AX: memoize expensive computation during blocks where tree doesn't change
1171         https://bugs.webkit.org/show_bug.cgi?id=106497
1172
1173         Reviewed by Ryosuke Niwa.
1174
1175         Expose two methods to enable and disable caching of
1176         computed WebAccessibilityObject attributes, to speed up
1177         batch read-only operations.
1178
1179         * public/WebAccessibilityObject.h:
1180         (WebAccessibilityObject):
1181         * src/WebAccessibilityObject.cpp:
1182         (WebKit::WebAccessibilityObject::startCachingComputedObjectAttributesUntilTreeMutates):
1183         (WebKit):
1184         (WebKit::WebAccessibilityObject::stopCachingComputedObjectAttributes):
1185
1186 2013-02-01  Fady Samuel  <fsamuel@chromium.org>
1187
1188         [Chromium] Expose WebNode::shadowHost()
1189         https://bugs.webkit.org/show_bug.cgi?id=108681
1190
1191         Reviewed by Dimitri Glazkov.
1192
1193         BrowserPlugin needs to be able to check the event listeners attached to
1194         <webview> and so we expose shadowHost to permit it to poke at the webview
1195         node.
1196
1197         * public/WebNode.h:
1198         * src/WebNode.cpp:
1199         (WebKit::WebNode::shadowHost):
1200         (WebKit):
1201
1202 2013-02-01  Rouslan Solomakhin  <rouslan@chromium.org>
1203
1204         [Chromium] Ignore punctuation in spellcheck
1205         https://bugs.webkit.org/show_bug.cgi?id=108511
1206
1207         Reviewed by Tony Chang.
1208
1209         * src/ContextMenuClientImpl.cpp:
1210         (WebKit::IsWhiteSpaceOrPunctuation): Added utility function to detect whitespace or punctuation.
1211         (WebKit::selectMisspellingAsync): Ignore punctuation when selecting the misspelling.
1212
1213 2013-02-01  Philip Rogers  <pdr@google.com>
1214
1215         Change hasAlpha to isKnownToBeOpaque and correct the return value for SVG images.
1216         https://bugs.webkit.org/show_bug.cgi?id=106966
1217
1218         Reviewed by Stephen White.
1219
1220         * tests/DragImageTest.cpp:
1221         (WebCore::TestImage::currentFrameKnownToBeOpaque):
1222         (TestImage):
1223         * tests/ImageLayerChromiumTest.cpp:
1224         (WebCore::TestImage::currentFrameKnownToBeOpaque):
1225         * tests/PlatformContextSkiaTest.cpp:
1226         (WebCore::TEST):
1227
1228 2013-02-01  Nico Weber  <thakis@chromium.org>
1229
1230         [chromium] Build webkit with enable_web_intents set to 0.
1231         https://bugs.webkit.org/show_bug.cgi?id=108408
1232
1233         Reviewed by Tony Chang.
1234
1235         I'll then make chromium build fine with that, then switch
1236         enable_web_intents to 0, roll that into webkit, and then
1237         actually remove the code hidden behind this flag.
1238
1239         The features.gypi bit depends on https://codereview.chromium.org/12143002/
1240         and will disable web intents support on android. Since common.gypi
1241         sets enable_web_intents to 0 explicitly, it seems this is currently on
1242         by accident anyway.
1243
1244         While it looks like this CL just removes ENABLE_WEB_INTENTS=1 from
1245         features.gypi completely, it's still set further down the file if
1246         enable_web_intents is on.
1247
1248         * WebKit.gyp:
1249         * features.gypi:
1250         * src/WebFrameImpl.cpp:
1251
1252 2013-02-01  Rouslan Solomakhin  <rouslan@chromium.org>
1253
1254         [Chromium] Ignore whitespace in spellcheck
1255         https://bugs.webkit.org/show_bug.cgi?id=108510
1256
1257         Reviewed by Ryosuke Niwa.
1258
1259         * src/ContextMenuClientImpl.cpp:
1260         (WebKit::selectMisspellingAsync): Ignore whitespace when selecting the misspelling.
1261
1262 2013-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
1263
1264         Unreviewed.  Rolled Chromium DEPS to r180131.  Requested by
1265         "Florin Malita" <fmalita@chromium.org> via sheriffbot.
1266
1267         * DEPS:
1268
1269 2013-02-01  Alexis Menard  <alexis@webkit.org>
1270
1271         Enable unprefixed CSS transitions by default.
1272         https://bugs.webkit.org/show_bug.cgi?id=108216
1273
1274         Reviewed by Dean Jackson.
1275
1276         Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
1277         to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to 
1278         guard the unprefixing work for CSS Transforms and animations.
1279
1280         * features.gypi:
1281
1282 2013-02-01  Ken Kania  <kkania@chromium.org>
1283
1284         Web Inspector: Add support for handling modal dialogs
1285         https://bugs.webkit.org/show_bug.cgi?id=107883
1286
1287         Reviewed by Pavel Feldman.
1288
1289         Introduce support for being notified when a JavaScript modal dialog
1290         is opening and closing, as well as a new command for accepting or
1291         dismissing the dialog.
1292
1293         * public/WebDevToolsAgent.h:
1294         * src/InspectorClientImpl.cpp:
1295         (WebKit::InspectorClientImpl::handleJavaScriptDialog):
1296         (WebKit):
1297         * src/InspectorClientImpl.h:
1298         (InspectorClientImpl):
1299         * src/WebDevToolsAgentImpl.cpp:
1300         (BrowserDataHintStringValues):
1301         (WebKit::WebDevToolsAgentImpl::captureScreenshot):
1302         (WebKit::WebDevToolsAgentImpl::handleJavaScriptDialog):
1303         (WebKit):
1304         (WebKit::browserHintToString):
1305         (WebKit::browserHintFromString):
1306         (WebKit::WebDevToolsAgent::patchWithBrowserData):
1307         * src/WebDevToolsAgentImpl.h:
1308         (WebDevToolsAgentImpl):
1309
1310 2013-02-01  Dan Alcantara  <dfalcantara@chromium.org>
1311
1312         Touch disambiguation blacklist is not being queried properly
1313         https://bugs.webkit.org/show_bug.cgi?id=108222
1314
1315         Reviewed by Adam Barth.
1316
1317         TEST=WebFrameTest::DisambiguationPopupBlacklist
1318
1319         Fix the blacklist so that we check it for the right nodes.
1320         Add a test to check that the blacklist is being built and used
1321         correctly.  Also update the other DisambiguationPopup tests to
1322         use the new page scale method.
1323
1324         * tests/WebFrameTest.cpp:
1325         * tests/data/disambiguation_popup_blacklist.html: Added.
1326
1327 2013-02-01  Eberhard Graether  <egraether@google.com>
1328
1329         [chromium] only show checkboxes for FPS meter and continuous painting when compositing mode is forced
1330         https://bugs.webkit.org/show_bug.cgi?id=108236
1331
1332         Reviewed by Pavel Feldman.
1333
1334         This change hides the checkboxes for FPS meter and continuous painting if compositing mode is not forced.
1335         This way the checkboxes only show up for users that can make use of these features.
1336
1337         * src/InspectorClientImpl.cpp:
1338         (WebKit::InspectorClientImpl::canShowFPSCounter):
1339         (WebKit::InspectorClientImpl::canContinuouslyPaint):
1340
1341 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
1342
1343         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
1344         https://bugs.webkit.org/show_bug.cgi?id=107737
1345
1346         Reviewed by Ryosuke Niwa.
1347
1348         * public/WebViewClient.h:
1349         (WebKit::WebViewClient::didCancelCompositionOnSelectionChange):
1350             Adding a callback to let the WebViewClient know that the composition has been cancelled.
1351         * src/EditorClientImpl.cpp:
1352         (WebKit::EditorClientImpl::respondToChangedSelection):
1353             Adding a call composition if it is no longer valid.
1354
1355 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
1356
1357         [Chromium] WebViewTest.SetCompositionFromExistingText failing after r141479
1358         https://bugs.webkit.org/show_bug.cgi?id=108543
1359
1360         Reviewed by Ryosuke Niwa.
1361
1362         Fixing a bug that was uncovered after fixing http://trac.webkit.org/changeset/141479
1363
1364         * src/WebViewImpl.cpp:
1365         (WebKit::WebViewImpl::setCompositionFromExistingText):
1366         * tests/WebViewTest.cpp:
1367             Re-enabling the test
1368
1369 2013-01-31  Hajime Morrita  <morrita@google.com> 
1370
1371         Unreviewed, followup fix for r141535.
1372
1373         * tests/WebFrameTest.cpp:
1374
1375 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
1376
1377         Unreviewed.  Rolled Chromium DEPS to r180023.  Requested by
1378         thakis_ via sheriffbot.
1379
1380         * DEPS:
1381
1382 2013-01-31  Hajime Morrita  <morrita@google.com>
1383
1384         Unreviewed, disabling failing test.
1385
1386         * tests/WebFrameTest.cpp:
1387
1388 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
1389
1390         Unreviewed, rolling out r141479.
1391         http://trac.webkit.org/changeset/141479
1392         https://bugs.webkit.org/show_bug.cgi?id=108564
1393
1394         breaks chromium test (Requested by morrita on #webkit).
1395
1396         * public/WebViewClient.h:
1397         * src/EditorClientImpl.cpp:
1398         (WebKit::EditorClientImpl::respondToChangedSelection):
1399
1400 2013-01-31  Alec Flett  <alecflett@chromium.org>
1401
1402         IndexedDB: remove old transaction backend bootstrap code
1403         https://bugs.webkit.org/show_bug.cgi?id=103923
1404
1405         Reviewed by Dimitri Glazkov.
1406
1407         Remove all deprecated WebKit APIs from
1408         the IDB backend.
1409
1410         * WebKit.gyp:
1411         * public/WebIDBCallbacks.h:
1412         (WebKit):
1413         * public/WebIDBDatabase.h:
1414         (WebKit):
1415         * public/WebIDBTransaction.h: Removed.
1416         * public/WebIDBTransactionCallbacks.h: Removed.
1417         * src/AssertMatchingEnums.cpp:
1418         * src/IDBCallbacksProxy.cpp:
1419         * src/IDBDatabaseBackendProxy.cpp:
1420         * src/IDBDatabaseBackendProxy.h:
1421         (IDBDatabaseBackendProxy):
1422         * src/IDBTransactionBackendProxy.cpp: Removed.
1423         * src/IDBTransactionBackendProxy.h: Removed.
1424         * src/IDBTransactionCallbacksProxy.cpp: Removed.
1425         * src/IDBTransactionCallbacksProxy.h: Removed.
1426         * src/WebIDBCallbacksImpl.cpp:
1427         * src/WebIDBDatabaseImpl.cpp:
1428         (WebKit):
1429         * src/WebIDBDatabaseImpl.h:
1430         (WebKit):
1431         (WebIDBDatabaseImpl):
1432         * src/WebIDBTransactionCallbacksImpl.cpp: Removed.
1433         * src/WebIDBTransactionCallbacksImpl.h: Removed.
1434         * src/WebIDBTransactionImpl.cpp: Removed.
1435         * src/WebIDBTransactionImpl.h: Removed.
1436         * tests/IDBAbortOnCorruptTest.cpp:
1437         * tests/IDBDatabaseBackendTest.cpp:
1438
1439 2013-01-31  Rouslan Solomakhin  <rouslan@chromium.org>
1440
1441         [Chromium] Select multi-word misspelling on context click
1442         https://bugs.webkit.org/show_bug.cgi?id=108509
1443
1444         Reviewed by Tony Chang.
1445
1446         * src/ContextMenuClientImpl.cpp:
1447         (WebKit):
1448         (WebKit::selectMisspellingAsync): Added utility function to get the misspelling for asynchronous spellcheck.
1449         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Select multi-word misspelling on context click.
1450
1451 2013-01-31  Florin Malita  <fmalita@chromium.org>
1452
1453         [Chromium] Unreviewed gardening.
1454
1455         WebViewTest.SetCompositionFromExistingText failing after r141479.
1456
1457         * tests/WebViewTest.cpp:
1458
1459 2013-01-31  Alexandre Elias  <aelias@chromium.org>
1460
1461         [chromium] Rework page scale factor limits initialization
1462         https://bugs.webkit.org/show_bug.cgi?id=108446
1463
1464         Reviewed by James Robinson.
1465
1466         When loading a page with viewportEnabled, both the limits
1467         specified by the viewport tag and the content width need to be
1468         considered before we initialize the minimum page scale (and
1469         pageScaleFactor itself usually to the same value). The timing has
1470         proven tricky to get correct.
1471
1472         This patch simplifies the flow by computing the
1473         limits only at the end of layouts and at no other time. In combination
1474         with https://bugs.webkit.org/show_bug.cgi?id=107922 which sets
1475         needsLayout() appropriately, this results in a more robust and easy
1476         to understand sequence.
1477
1478         Fixes FixedLayoutInitializeAtMinimumPageScale test.
1479
1480         * src/ChromeClientImpl.cpp:
1481         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
1482         * src/WebViewImpl.cpp:
1483         (WebKit::WebViewImpl::WebViewImpl):
1484         (WebKit::WebViewImpl::resize):
1485         (WebKit::WebViewImpl::setPageScaleFactorLimits):
1486         (WebKit::WebViewImpl::computePageScaleFactorLimits):
1487         (WebKit::WebViewImpl::layoutUpdated):
1488         (WebKit::WebViewImpl::didChangeContentsSize):
1489         * src/WebViewImpl.h:
1490         (WebKit::WebViewImpl::setInitialPageScaleFactor):
1491         (WebViewImpl):
1492         * tests/WebFrameTest.cpp:
1493
1494 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
1495
1496         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
1497         https://bugs.webkit.org/show_bug.cgi?id=107737
1498
1499         Reviewed by Ryosuke Niwa.
1500
1501         * public/WebViewClient.h:
1502         (WebKit::WebViewClient::didCancelCompositionOnSelectionChange):
1503             Adding a callback to let the WebViewClient know that the composition has been cancelled.
1504         * src/EditorClientImpl.cpp:
1505         (WebKit::EditorClientImpl::respondToChangedSelection):
1506             Adding a call composition if it is no longer valid.
1507
1508 2013-01-31  Mark Pilgrim  <pilgrim@chromium.org>
1509
1510         [Chromium] Move LocalizedStrings to WebCore
1511         https://bugs.webkit.org/show_bug.cgi?id=108488
1512
1513         Reviewed by Adam Barth.
1514
1515         Part of a larger refactoring series; see tracking bug 106829.
1516
1517         * WebKit.gyp:
1518         * src/LocalizedStrings.cpp: Removed.
1519
1520 2013-01-31  Enrica Casucci  <enrica@apple.com>
1521
1522         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
1523         https://bugs.webkit.org/show_bug.cgi?id=108396.
1524         <rdar://problem/12920461>
1525
1526         Reviewed by Alexey Proskuryakov.
1527
1528         Adds stub implementation for WebKit of the new EditorClient methods.
1529
1530         * src/EditorClientImpl.cpp:
1531         (WebKit::EditorClientImpl::willWriteSelectionToPasteboard):
1532         (WebKit::EditorClientImpl::getClientPasteboardDataForRange):
1533         * src/EditorClientImpl.h:
1534
1535 2013-01-31  Chris Hopman  <cjhopman@chromium.org>
1536
1537         [chromium] Make selection handling work in applyPageScaleInCompositor mode
1538         https://bugs.webkit.org/show_bug.cgi?id=107831
1539
1540         Reviewed by Ryosuke Niwa.
1541
1542         These functions expect a window point. When in
1543         applyPageScaleFactorInCompositor mode, the points need to be unscaled
1544         by the page scale factor.
1545
1546         * src/WebFrameImpl.cpp:
1547         (WebKit::WebFrameImpl::selectRange):
1548         (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
1549
1550 2013-01-31  Tom Sepez  <tsepez@chromium.org>
1551
1552         [v8] Enable binding integrity on mac
1553         https://bugs.webkit.org/show_bug.cgi?id=108500
1554
1555         Reviewed by Adam Barth.
1556
1557         Patch is correct if existing tests pass without new crashes.
1558         
1559         * features.gypi:
1560         Set ENABLE_BINDING_INTEGRITY=1 when OS=="mac"
1561
1562 2013-01-31  Dan Alcantara  <dfalcantara@chromium.org>
1563
1564         WebFrameTest.DisambiguationPopup is failing
1565         https://bugs.webkit.org/show_bug.cgi?id=108160
1566
1567         Reviewed by Adam Barth.
1568
1569         Fix the unit test so that it is using the right HTML file.
1570
1571         * tests/WebFrameTest.cpp:
1572
1573 2013-01-31  Tony Chang  <tony@chromium.org>
1574
1575         [Chromium] webkit_unit_tests should depend on base/allocator for ASAN
1576         https://bugs.webkit.org/show_bug.cgi?id=108497
1577
1578         Reviewed by James Robinson.
1579
1580         * WebKitUnitTests.gyp:
1581
1582 2013-01-31  Alexandre Elias  <aelias@chromium.org>
1583
1584         Call FrameView::contentsResized() when setting fixed layout size
1585         https://bugs.webkit.org/show_bug.cgi?id=107922
1586
1587         Reviewed by James Robinson.
1588
1589         In fixed layout mode, we should be calling contentsResized() when the
1590         fixed layout size is changed, but not laying out when the visible
1591         content rect changes.
1592
1593         Previously landed as r140869 but was reverted due to a bug in bundled
1594         Chromium-specific code. This patch includes just the minimum needed in
1595         WebCore.
1596
1597         New WebFrameTest: FrameViewNeedsLayoutOnFixedLayoutResize.  Some
1598         flaky and obsolete tests for the old page scale mode are also deleted.
1599
1600         * tests/WebFrameTest.cpp:
1601
1602 2013-01-31  Tommy Widenflycht  <tommyw@google.com>
1603
1604         [chromium] MediaStream API: Rename WebMediaStreamDescriptor and WebMediaStreamComponent to WebMediaStream and WebMediaStreamTrack
1605         https://bugs.webkit.org/show_bug.cgi?id=108458
1606
1607         Reviewed by Adam Barth.
1608
1609         Only renames, no other code changes.
1610
1611         * public/WebMediaStreamRegistry.h:
1612         (WebKit):
1613         (WebMediaStreamRegistry):
1614         * public/WebUserMediaRequest.h:
1615         (WebKit):
1616         (WebUserMediaRequest):
1617         * src/WebMediaStreamRegistry.cpp:
1618         (WebKit::WebMediaStreamRegistry::lookupMediaStreamDescriptor):
1619         * src/WebUserMediaRequest.cpp:
1620         (WebKit::WebUserMediaRequest::requestSucceeded):
1621
1622 2013-01-31  Alec Flett  <alecflett@chromium.org>
1623
1624         IndexedDB: Remove WebKit API for old onSuccess/onUpgradeNeeded
1625         https://bugs.webkit.org/show_bug.cgi?id=108399
1626
1627         Reviewed by Dimitri Glazkov.
1628
1629         Cleanup now that chromium proxies the new signatures through.
1630
1631         * src/IDBCallbacksProxy.cpp:
1632         (WebKit::IDBCallbacksProxy::onSuccess):
1633         (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
1634         * src/IDBCallbacksProxy.h:
1635         (IDBCallbacksProxy):
1636         * src/WebIDBCallbacksImpl.cpp:
1637         * src/WebIDBCallbacksImpl.h:
1638         (WebIDBCallbacksImpl):
1639
1640 2013-01-31  James Robinson  <jamesr@chromium.org>
1641
1642         [chromium] Remove dead transitional code from WebViewImpl
1643         https://bugs.webkit.org/show_bug.cgi?id=107889
1644
1645         Reviewed by Adam Barth.
1646
1647         The chromium side of this landed at r178256 and seems stable.
1648
1649         * public/WebWidget.h:
1650         (WebKit::WebWidget::setCompositorSurfaceReady):
1651         * src/WebViewImpl.cpp:
1652         (WebKit::WebViewImpl::WebViewImpl):
1653         (WebKit::WebViewImpl::~WebViewImpl):
1654         (WebKit):
1655         (WebKit::WebViewImpl::setIsTransparent):
1656         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1657         * src/WebViewImpl.h:
1658         * tests/ScrollingCoordinatorChromiumTest.cpp:
1659         (WebKit::FakeWebViewClient::initializeLayerTreeView):
1660         (FakeWebViewClient):
1661         (WebKit::FakeWebViewClient::layerTreeView):
1662         (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
1663         (ScrollingCoordinatorChromiumTest):
1664
1665 2013-01-31  Kentaro Hara  <haraken@chromium.org>
1666
1667         Rename WheelEvent::Granularity to WheelEvent::DeltaMode
1668         https://bugs.webkit.org/show_bug.cgi?id=108434
1669
1670         Reviewed by Ryosuke Niwa.
1671
1672         Per the spec, WheelEvent::Granularity should be renamed to WheelEvent::DeltaMode.
1673
1674         Spec: http://www.w3.org/TR/DOM-Level-3-Events/#events-WheelEvent
1675         https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm#constructor-wheelevent
1676
1677         No tests. No change in behavior.
1678
1679         * src/WebInputEventConversion.cpp:
1680         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1681         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
1682
1683 2013-01-31  Yury Semikhatsky  <yurys@chromium.org>
1684
1685         Unreviewed. Bump Chromium dependency to 179332
1686
1687         * DEPS:
1688
1689 2013-01-31  Mark Pilgrim  <pilgrim@chromium.org>
1690
1691         [Chromium] Move MediaPlayerPrivateChromium to WebCore
1692         https://bugs.webkit.org/show_bug.cgi?id=108415
1693
1694         Reviewed by Adam Barth.
1695
1696         Part of a larger refactoring series; see tracking bug 106829.
1697
1698         * WebKit.gyp:
1699         * src/MediaPlayerPrivateChromium.cpp: Removed.
1700         * src/WebKit.cpp:
1701         (WebKit::initializeWithoutV8): call new setter function in
1702         WebCore::MediaPlayerPrivate
1703
1704 2013-01-30  Sheriff Bot  <webkit.review.bot@gmail.com>
1705
1706         Unreviewed, rolling out r141358.
1707         http://trac.webkit.org/changeset/141358
1708         https://bugs.webkit.org/show_bug.cgi?id=108421
1709
1710         breaks android builder (Requested by morrita on #webkit).
1711
1712         * WebKit.gyp:
1713         * features.gypi:
1714         * src/WebFrameImpl.cpp:
1715
1716 2013-01-30  Nico Weber  <thakis@chromium.org>
1717
1718         [chromium] Build webkit with enable_web_intents set to 0.
1719         https://bugs.webkit.org/show_bug.cgi?id=108408
1720
1721         Reviewed by Kentaro Hara.
1722
1723         I'll then make chromium build fine with that, then switch
1724         enable_web_intents to 0, roll that into webkit, and then
1725         actually remove the code hidden behind this flag.
1726
1727         * WebKit.gyp:
1728         * features.gypi:
1729         * src/WebFrameImpl.cpp:
1730
1731 2013-01-30  Levi Weintraub  <leviw@chromium.org>
1732
1733         [Chromium] WebPluginContainerImpl adding imbalanced touch handler refs
1734         https://bugs.webkit.org/show_bug.cgi?id=108381
1735
1736         Reviewed by James Robinson.
1737
1738         WebPluginContainerImpl would call Document::didAddTouchEventHandler every time the plugin requested
1739         touch events. Some plugins make this request more than once, leading to an imbalance in Document's
1740         touch event handler map, and a stale node pointer when the plugin is destroyed. This change
1741         has WebPluginContainerImpl only add one ref for the plugin at a time.
1742
1743         * src/WebPluginContainerImpl.cpp:
1744         (WebKit::WebPluginContainerImpl::requestTouchEventType):
1745
1746 2013-01-30  Yusuf Ozuysal  <yusufo@google.com>
1747
1748         Start sending scrollType as NonBubblingGesture for flings
1749         https://bugs.webkit.org/show_bug.cgi?id=108372
1750
1751         Reviewed by James Robinson.
1752
1753         * src/WebCompositorInputHandlerImpl.cpp:
1754         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1755
1756 2013-01-30  Tien-Ren Chen  <trchen@chromium.org>
1757
1758         [chromium] Add WebFrame::visibleContentRect()
1759         https://bugs.webkit.org/show_bug.cgi?id=108311
1760
1761         Reviewed by James Robinson.
1762
1763         * public/WebFrame.h:
1764         * src/WebFrameImpl.cpp:
1765         (WebKit::WebFrameImpl::visibleContentRect):
1766         (WebKit):
1767         * src/WebFrameImpl.h:
1768         (WebFrameImpl):
1769
1770 2013-01-30  Kentaro Hara  <haraken@chromium.org>
1771
1772         Implement KeyboardEvent constructor
1773         https://bugs.webkit.org/show_bug.cgi?id=108320
1774
1775         Reviewed by Adam Barth.
1776
1777         Renamed keyboard event constant variables to avoid style errors.
1778
1779         * src/WebInputEventConversion.cpp:
1780         (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
1781         * tests/WebInputEventConversionTest.cpp:
1782         * tests/WebInputEventFactoryTestGtk.cpp:
1783
1784 2013-01-30  Kentaro Hara  <haraken@chromium.org>
1785
1786         Implement WheelEvent constructor
1787         https://bugs.webkit.org/show_bug.cgi?id=108303
1788
1789         Reviewed by Adam Barth.
1790
1791         This patch just renames an enum value to avoid style check error.
1792
1793         * src/WebViewImpl.cpp:
1794         (WebKit::WebViewImpl::scrollBy):
1795
1796 2013-01-30  Dana Jansens  <danakj@chromium.org>
1797
1798         [chromium] Add recordRenderingStats to WebSettings
1799         https://bugs.webkit.org/show_bug.cgi?id=108358
1800
1801         Reviewed by James Robinson.
1802
1803         * public/WebSettings.h:
1804         * src/WebSettingsImpl.cpp:
1805         (WebKit::WebSettingsImpl::setRecordRenderingStats):
1806         (WebKit):
1807         * src/WebSettingsImpl.h:
1808         (WebSettingsImpl):
1809         (WebKit::WebSettingsImpl::recordRenderingStats):
1810         * src/WebViewImpl.cpp:
1811         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1812
1813 2013-01-30  Tony Gentilcore  <tonyg@chromium.org>
1814
1815         Fix compile error in WebFrameTest
1816         https://bugs.webkit.org/show_bug.cgi?id=108360
1817
1818         Unreviewed build fix.
1819
1820         Fixes compile error:
1821         ../../Source/WebKit/chromium/tests/WebFrameTest.cpp:330:5: error: converting false to pointer type for argument 1 of char testing::internal::IsNullLiteralHelper(testing::internal::Secret*) [-Werror=conversion-null]
1822
1823         * tests/WebFrameTest.cpp:
1824
1825 2013-01-30  John Knottenbelt  <jknotten@chromium.org>
1826
1827         [Chromium] Fix find in page rects for overflowing content.
1828         https://bugs.webkit.org/show_bug.cgi?id=104924
1829
1830         Reviewed by Julien Chaffraix.
1831
1832         If a div has overflowing content, we should only normalise its
1833         coordinates against the renderview or the containing scrollable block.
1834
1835         TEST=WebFrameTest.FindInPageMatchRects
1836
1837         * src/FindInPageCoordinates.cpp:
1838         (WebKit::enclosingScrollableAncestor):
1839             Helper function to find the enclosing containing block with an overflow clip.
1840         (WebKit::toNormalizedRect):
1841             Pass in the container as an argument.
1842         (WebKit::findInPageRectFromAbsoluteRect):
1843             Compute the container for toNormalizedRect using enclosingScrollableAncestor.
1844         * tests/WebFrameTest.cpp:
1845             Add expectations for new tests in WebFrameTest::FindInPageMatchRects and WebFrameTest::FindInPage.
1846         * tests/data/find.html:
1847             Add test case for <select> element.
1848         * tests/data/find_in_page_frame.html:
1849             Add test cases:
1850               - Result 15, 16 tests that containing <div> with style float:left and
1851                 height:0px does not impact coordinate normalization.
1852               - Result 17, 18 tests that matches with absolute positioning are normalized containing
1853                 relative positioned block, even if there is a closer parent block with overflow clip.
1854               - Result 19 adds a test case for <select> element.
1855
1856 2013-01-30  Dominik Röttsches  <dominik.rottsches@intel.com>
1857
1858         [HarfBuzz] Remove the HarfBuzz-old code
1859         https://bugs.webkit.org/show_bug.cgi?id=108077
1860
1861         Reviewed by Benjamin Poulain.
1862
1863         Rename WTF_USE_HARFBUZZ_NG to WTF_USE_HARFBUZZ since there
1864         won't be a distinction between ng and non-ng HarfBuzz after
1865         removing the old code.
1866
1867         * features.gypi:
1868
1869 2013-01-30  Jochen Eisinger  <jochen@chromium.org>
1870
1871         [chromium] WebConsoleMessage is missing LevelDebug (chromium bug 172416)
1872         https://bugs.webkit.org/show_bug.cgi?id=108004
1873         http://code.google.com/p/chromium/issues/detail?id=172416
1874
1875         console.debug triggers a NOTREACHED() assertation in Chromium. This
1876         is because WebCore::MessageLevel contains 5 levels, including debug,
1877         where WebConsoleMessage::Level is missing a "debug" level. Add a
1878         WebConsoleMessage::LevelDebug so that it can get passed up to the
1879         renderer even if it doesn't make use of that now.
1880
1881         Requires another patch to chromium itself to fix chromium bug 172416
1882         but this is a prerequisite.
1883
1884         Also add an enum compile time check to AssertMatchingEnums.cpp,
1885
1886         Patch by Kevin Day <kevinday@gmail.com> on 2013-01-28
1887         Reviewed by Jochen Eisinger.
1888
1889         * public/WebConsoleMessage.h:
1890         * src/AssertMatchingEnums.cpp:
1891         * src/WebFrameImpl.cpp:
1892         (WebKit::WebFrameImpl::addMessageToConsole):
1893
1894 2013-01-30  Xianzhu Wang  <wangxianzhu@chromium.org>
1895
1896         [Chromium] Correct zoom for focused node when using compositor scaling
1897         https://bugs.webkit.org/show_bug.cgi?id=107599
1898
1899         Reviewed by Adam Barth.
1900
1901         When applyDeviceScaleFactorInCompositor, targetScale should exclude device scale factor.
1902         When applyPageScaleFactorInCompositor, caret size and content sizes are in css pixels and they should be in the viewport of the new scale.
1903
1904         Reapply r141153. Added font-size in html to ensure same caret size across platforms.
1905
1906         * src/WebViewImpl.cpp:
1907         (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
1908         (WebKit):
1909         (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode): Extracted from scrollFocusedNodeIntoRect() to ease testing.
1910         * src/WebViewImpl.h:
1911         (WebViewImpl):
1912         * tests/WebFrameTest.cpp: Updated test DivScrollEditableTest
1913         * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
1914
1915 2013-01-29  Mark Lam  <mark.lam@apple.com>
1916
1917         Rename AbstractDatabase to DatabaseBackend.
1918         https://bugs.webkit.org/show_bug.cgi?id=108275.
1919
1920         Reviewed by Sam Weinig.
1921
1922         This is a pure rename operation as part of the webdatabase refactoring
1923         effort. There is no semantic change in this patch.
1924
1925         * public/WebDatabase.h:
1926         (WebDatabase):
1927         * src/DatabaseObserver.cpp:
1928         (WebCore::DatabaseObserver::databaseOpened):
1929         (WebCore::DatabaseObserver::databaseModified):
1930         (WebCore::DatabaseObserver::databaseClosed):
1931         (WebCore::DatabaseObserver::reportOpenDatabaseResult):
1932         (WebCore::DatabaseObserver::reportChangeVersionResult):
1933         (WebCore::DatabaseObserver::reportStartTransactionResult):
1934         (WebCore::DatabaseObserver::reportCommitTransactionResult):
1935         (WebCore::DatabaseObserver::reportExecuteStatementResult):
1936         (WebCore::DatabaseObserver::reportVacuumDatabaseResult):
1937         * src/WebDatabase.cpp:
1938         (WebKit::WebDatabase::WebDatabase):
1939
1940 2013-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1941
1942         Unreviewed, rolling out r141153.
1943         http://trac.webkit.org/changeset/141153
1944         https://bugs.webkit.org/show_bug.cgi?id=108280
1945
1946         Caused WebFrameTest.DivScrollIntoEditableTest to fail on Mac.
1947         (Requested by keishi on #webkit).
1948
1949         * src/WebViewImpl.cpp:
1950         (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
1951         * src/WebViewImpl.h:
1952         (WebViewImpl):
1953         * tests/WebFrameTest.cpp:
1954         * tests/data/get_scale_for_zoom_into_editable_test.html:
1955
1956 2013-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1957
1958         Unreviewed, rolling out r140983.
1959         http://trac.webkit.org/changeset/140983
1960         https://bugs.webkit.org/show_bug.cgi?id=108277
1961
1962         Unfortunately, this API has one last client (Requested by
1963         abarth on #webkit).
1964
1965         * src/WebNotification.cpp:
1966         (WebKit::WebNotification::isHTML):
1967         (WebKit::WebNotification::url):
1968         (WebKit::WebNotification::iconURL):
1969         (WebKit::WebNotification::title):
1970         (WebKit::WebNotification::body):
1971
1972 2013-01-29  Shinya Kawanaka  <shinyak@chromium.org>
1973
1974         [Chromium] Cannot copy text when selecting readonly (or disabled) input elements
1975         https://bugs.webkit.org/show_bug.cgi?id=106287
1976
1977         Reviewed by Hajime Morita.
1978
1979         When an input element is disabled or readonly, its inner element is not editable. So its rootEditableElement
1980         does not exist. In WebViewImpl::caretOrSelectionRange, if rootEditableElement does not exist, it uses
1981         a document element. However, the inner element and document element have a different tree scope, selection range
1982         cannot be gotten correctly.
1983
1984         We should use ShadowRoot instead of document so that we can stay in the same tree scope.
1985
1986         * src/WebViewImpl.cpp:
1987         (WebKit::WebViewImpl::caretOrSelectionRange):
1988         * tests/WebViewTest.cpp:
1989         * tests/data/selection_disabled.html: Added.
1990         * tests/data/selection_readonly.html: Added.
1991
1992 2013-01-29  Tom Sepez  <tsepez@chromium.org>
1993
1994         [v8] Enable binding integrity on linux
1995         https://bugs.webkit.org/show_bug.cgi?id=108242
1996
1997         Reviewed by Adam Barth.
1998
1999         * features.gypi:
2000
2001 2013-01-29  Xianzhu Wang  <wangxianzhu@chromium.org>
2002
2003         [Chromium] Correct zoom for focused node when using compositor scaling
2004         https://bugs.webkit.org/show_bug.cgi?id=107599
2005
2006         Reviewed by Adam Barth.
2007
2008         When applyDeviceScaleFactorInCompositor, targetScale should exclude device scale factor.
2009         When applyPageScaleFactorInCompositor, caret size and content sizes are in css pixels and they should be in the viewport of the new scale.
2010
2011         * src/WebViewImpl.cpp:
2012         (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
2013         (WebKit):
2014         (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode): Extracted from scrollFocusedNodeIntoRect() to ease testing.
2015         * src/WebViewImpl.h:
2016         (WebViewImpl):
2017         * tests/WebFrameTest.cpp: Updated test DivScrollEditableTest
2018         * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
2019
2020 2013-01-29  Alec Flett  <alecflett@chromium.org>
2021
2022         IndexedDB: Pass metadata in to IDBOpenDBRequest.onUpgradeNeeded/onSuccess
2023         https://bugs.webkit.org/show_bug.cgi?id=103920
2024
2025         Reviewed by Dimitri Glazkov.
2026
2027         Support the new IDBCallbacks::onSuccess and IDBCallbacks::onUpgradeNeeded
2028         while maintaining chromium compatibility by shimming in the old API
2029         in the WebKit side. Future code will clean this up so that it is just a
2030         pass-through as it was before.
2031
2032         * public/WebIDBCallbacks.h:
2033         (WebKit):
2034         (WebKit::WebIDBCallbacks::onSuccess): new method signature.
2035         (WebKit::WebIDBCallbacks::onUpgradeNeeded): new method signature.
2036         * src/IDBCallbacksProxy.cpp:
2037         (WebKit::IDBCallbacksProxy::onSuccess): call on new method signature proxies through old API.
2038         (WebKit):
2039         (WebKit::IDBCallbacksProxy::onUpgradeNeeded): call on new method signature proxies through old API.
2040         * src/IDBCallbacksProxy.h:
2041         (IDBCallbacksProxy):
2042         * src/WebIDBCallbacksImpl.cpp:
2043         (WebKit::WebIDBCallbacksImpl::onSuccess): call on old WebKit proxy signature calls new API.
2044         (WebKit):
2045         (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded): call on old WebKit proxy signature calls new API.
2046         * src/WebIDBCallbacksImpl.h:
2047         (WebIDBCallbacksImpl):
2048         * tests/IDBAbortOnCorruptTest.cpp: new method signature.
2049         (WebCore::MockIDBCallbacks::onSuccess):
2050         * tests/IDBDatabaseBackendTest.cpp: new method signature.
2051
2052 2013-01-29  Alexandre Elias  <aelias@chromium.org>
2053
2054         [chromium] Fix contents size calculation for page scale initialization
2055         https://bugs.webkit.org/show_bug.cgi?id=108204
2056
2057         Reviewed by enne.
2058
2059         My previous patch http://webk.it/107424 had a few issues that are
2060         blocking WebKit roll.
2061
2062         - We still need the layout in resize() given that
2063         http://webk.it/107922 was reverted.
2064
2065         - I deleted code used only for the old page-scale mode in
2066         contentsSize(), but this needs to wait until WebKit roll since it's
2067         making bots fail in this short term.
2068
2069         * src/WebViewImpl.cpp:
2070         (WebKit::WebViewImpl::resize):
2071         (WebKit::WebViewImpl::contentsSize):
2072
2073 2013-01-29  Alpha Lam  <hclam@chromium.org>
2074
2075         [chromium] Unreviewed DEPS roll.
2076
2077         Roll Chromium DEPS to 179332.
2078
2079         * DEPS:
2080
2081 2013-01-29  Joshua Bell  <jsbell@chromium.org>
2082
2083         [Chromium] IndexedDB: Let callers specify reason (error) for aborting transaction
2084         https://bugs.webkit.org/show_bug.cgi?id=107851
2085
2086         Reviewed by Tony Chang.
2087
2088         Let Chromium call abort() on a transaction and specify a reason, specifically for
2089         QuotaExceededError.
2090
2091         * public/WebIDBDatabase.h:
2092         (WebKit::WebIDBDatabase::abort): New overload for abort() that takes an error.
2093         * public/WebIDBDatabaseError.h:
2094         (WebKit::WebIDBDatabaseError::WebIDBDatabaseError): Overloaded constructor/assign that takes error.
2095         * src/IDBDatabaseBackendProxy.cpp:
2096         (WebKit::IDBDatabaseBackendProxy::abort): New overload for abort() that takes an error.
2097         * src/IDBDatabaseBackendProxy.h:
2098         (IDBDatabaseBackendProxy): Ditto.
2099         * src/WebIDBDatabaseError.cpp: Implementation of overload ctor/assign.
2100         * src/WebIDBDatabaseImpl.cpp:
2101         (WebKit::WebIDBDatabaseImpl::abort): New overload for abort() that takes an error.
2102         * src/WebIDBDatabaseImpl.h: Ditto.
2103         * tests/IDBDatabaseBackendTest.cpp: Overload stubs for Mock class.
2104
2105 2013-01-29  Florin Malita  <fmalita@chromium.org>
2106
2107         [Chromium] Unreviewed gardening.
2108
2109         Disable WebFrameTest.pageScaleFactorShrinksViewport (pending investigation after r141053).
2110
2111         * tests/WebFrameTest.cpp:
2112
2113 2013-01-29  Keishi Hattori  <keishi@webkit.org>
2114
2115         [Chromium] Disabling WebFrameTest.DisambiguationPopupMobileSite because WebFrameTest is still failing after r141073.
2116
2117         Unreviewed. Gardening.
2118
2119         * tests/WebFrameTest.cpp:
2120
2121 2013-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2122
2123         Unreviewed, rolling out r141064.
2124         http://trac.webkit.org/changeset/141064
2125         https://bugs.webkit.org/show_bug.cgi?id=108166
2126
2127         [Chromium] WebFrameTest.DivScrollIntoEditableTest is failing
2128         on WinXP. (Requested by keishi on #webkit).
2129
2130         * tests/WebFrameTest.cpp:
2131         * tests/data/get_scale_for_zoom_into_editable_test.html:
2132
2133 2013-01-29  Keishi Hattori  <keishi@webkit.org>
2134
2135         [Chromium] Disabling WebFrameTest.DisambiguationPopup because it is failing.
2136
2137         Unreviewed. Gardening.
2138
2139         * tests/WebFrameTest.cpp:
2140
2141 2013-01-28  Xianzhu Wang  <wangxianzhu@chromium.org>
2142
2143         Re-enable WebFrameTest.DivScrollIntoEditableTest
2144         https://bugs.webkit.org/show_bug.cgi?id=98558
2145
2146         Reviewed by Adam Barth.
2147
2148         * tests/WebFrameTest.cpp: Fixed several issues (onload script, the maximum scale factor, etc.) of WebFrameTest.DivScrollIntoEditableTest and enable it.
2149         * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
2150
2151 2013-01-28  Tien-Ren Chen  <trchen@chromium.org>
2152
2153         Fix disambiguation popup for new-style page scale
2154         https://bugs.webkit.org/show_bug.cgi?id=107391
2155
2156         Reviewed by Adam Barth.
2157
2158         This patch corrects various coordinate conversion for disambiguation
2159         popup for the new-style page scale mode.
2160
2161         * src/WebViewImpl.cpp:
2162         (WebKit::WebViewImpl::handleGestureEvent):
2163         (WebKit::WebViewImpl::handleInputEvent):
2164         * tests/WebFrameTest.cpp:
2165         * tests/data/disambiguation_popup_page_scale.html: Added.
2166
2167 2013-01-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2168
2169         Unreviewed, rolling out r141049.
2170         http://trac.webkit.org/changeset/141049
2171         https://bugs.webkit.org/show_bug.cgi?id=108151
2172
2173         Caused some indexed tests to crash. (Requested by keishi on
2174         #webkit).
2175
2176         * public/WebIDBCallbacks.h:
2177         (WebKit):
2178         * src/IDBCallbacksProxy.cpp:
2179         (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
2180         * src/IDBCallbacksProxy.h:
2181         (IDBCallbacksProxy):
2182         * src/WebIDBCallbacksImpl.cpp:
2183         (WebKit::WebIDBCallbacksImpl::onSuccess):
2184         (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
2185         * src/WebIDBCallbacksImpl.h:
2186         (WebIDBCallbacksImpl):
2187         * tests/IDBAbortOnCorruptTest.cpp:
2188         (WebCore::MockIDBCallbacks::onSuccess):
2189         * tests/IDBDatabaseBackendTest.cpp:
2190
2191 2013-01-28  Raman Kumar  <ramankk@chromium.org>
2192
2193         Expose isRadioButton and isCheckbox API in chromium-webkit glue layer.
2194         https://bugs.webkit.org/show_bug.cgi?id=108031
2195
2196         Reviewed by Adam Barth.
2197
2198         In chromium, to know if an InputElement is radiobutton or a checkbox,
2199         we are checking for formControlType (a string comparision), which is
2200         very slow. Exposing these API to chromium will make them faster.
2201
2202         * public/WebInputElement.h:
2203         (WebInputElement):
2204         * src/WebInputElement.cpp:
2205         (WebKit::WebInputElement::isRadioButton):
2206         (WebKit):
2207         (WebKit::WebInputElement::isCheckbox):
2208
2209 2013-01-28  Alexandre Elias  <aelias@chromium.org>
2210
2211         Make page scale shrink FrameView in applyPageScaleInCompositor mode
2212         https://bugs.webkit.org/show_bug.cgi?id=107424
2213
2214         Reviewed by Levi Weintraub.
2215
2216         If applyPageScaleFactorInCompositor is enabled (Chromium-only setting),
2217         instead of the entire document expanding as the user pinch zooms, the
2218         viewport shrinks instead. This patch applies the pageScaleFactor to
2219         visibleContentRect to get this behavior, and simplifies Chromium's
2220         resize logic to stop hiding the true viewport size from WebCore.
2221
2222         I verified that the scaling makes sense for all the callers of
2223         visibleContentRect. The exceptions are clip-layer size,
2224         layout size in non-fixed-layout mode, and text autosizing, which need
2225         the original unscaled size. Therefore I added a new method
2226         unscaledVisibleContentSize() to ScrollView/FrameView.
2227
2228         This patch also modifies Page::setPageScaleFactor to perform no
2229         invalidates or layout when applyPageScaleFactorInCompositor is true,
2230         and also writes pageScaleFactor into HistoryItems instead of using
2231         frameScaleFactor.
2232
2233         Since all behavior changes are tied to applyPageScaleFactorInCompositor,
2234         this patch should be a no-op for non-Chromium ports.
2235
2236         * src/WebViewImpl.cpp:
2237         (WebKit::WebViewImpl::scaledSize): Returns the post page-scale size
2238         similar to what visibleContentRect() now returns, except that it may
2239         be at a different scale than the current one.
2240         (WebKit::WebViewImpl::size): Back to returning density-independent
2241         size without any tricks, not the "layoutSize()" fake viewport.
2242         (WebKit::WebViewImpl::resize):
2243         (WebKit::WebViewImpl::handleInputEvent): No need to apply
2244         implTransform anymore as WebKit knows the true scroll offset; just
2245         divide event coords by pageScaleFactor.
2246         (WebKit::WebViewImpl::clampOffsetAtScale): Make this method support
2247         applyPageScaleFactorInCompositor.  This is used to pre-clamp scroll
2248         offsets at a given viewport size.
2249         (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset): Make
2250         this method support applyPageScaleFactorInCompositor (don't scale
2251         scroll offsets as they are now scale-independent).
2252         (WebKit::WebViewImpl::setPageScaleFactor): Make this method always use
2253         clampOffsetAtScale instead of bypassing it, since it's now supported.
2254         Also notify the compositor to update its state.
2255         (WebKit::WebViewImpl::contentsSize): Convenience method, removed
2256         difference between scaled and unscaled.
2257         (WebKit::WebViewImpl::layoutSize): This method returned the "fake"
2258         size we used to give FrameView.  Now no longer used for much.
2259         (WebKit::WebViewImpl::computePageScaleFactorLimits):
2260         (WebKit::WebViewImpl::didChangeContentsSize): Remove unnecessary
2261         resize() now that we can give the true size to FrameView.
2262         (WebKit::WebViewImpl::updateLayerTreeViewport): Use layoutSize()
2263         directly now that FrameView no longer uses it.
2264         * src/WebViewImpl.h:
2265         (WebViewImpl):
2266         * tests/WebFrameTest.cpp:
2267
2268 2013-01-28  Alec Flett  <alecflett@chromium.org>
2269
2270         IndexedDB: Pass metadata in to IDBOpenDBRequest.onUpgradeNeeded/onSuccess
2271         https://bugs.webkit.org/show_bug.cgi?id=103920
2272
2273         Reviewed by Dimitri Glazkov.
2274
2275         Support the new IDBCallbacks::onSuccess and IDBCallbacks::onUpgradeNeeded
2276         while maintaining chromium compatibility by shimming in the old API
2277         in the WebKit side. Future code will clean this up so that it is just a
2278         pass-through as it was before.
2279
2280         * public/WebIDBCallbacks.h:
2281         (WebKit):
2282         (WebKit::WebIDBCallbacks::onSuccess): new method signature.
2283         (WebKit::WebIDBCallbacks::onUpgradeNeeded): new method signature.
2284         * src/IDBCallbacksProxy.cpp:
2285         (WebKit::IDBCallbacksProxy::onSuccess): call on new method signature proxies through old API.
2286         (WebKit):
2287         (WebKit::IDBCallbacksProxy::onUpgradeNeeded): call on new method signature proxies through old API.
2288         * src/IDBCallbacksProxy.h:
2289         (IDBCallbacksProxy):
2290         * src/WebIDBCallbacksImpl.cpp:
2291         (WebKit::WebIDBCallbacksImpl::onSuccess): call on old WebKit proxy signature calls new API.
2292         (WebKit):
2293         (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded): call on old WebKit proxy signature calls new API.
2294         * src/WebIDBCallbacksImpl.h:
2295         (WebIDBCallbacksImpl):
2296         * tests/IDBAbortOnCorruptTest.cpp: new method signature.
2297         (WebCore::MockIDBCallbacks::onSuccess):
2298         * tests/IDBDatabaseBackendTest.cpp: new method signature.
2299
2300 2013-01-28  Tom Sepez  <tsepez@chromium.org>
2301
2302         [v8] Security feature: JavaScript Bindings hardening
2303         https://bugs.webkit.org/show_bug.cgi?id=106608
2304
2305         Reviewed by Adam Barth.
2306
2307         * features.gypi:
2308         Added ENABLE_BINDING_INTEGRITY option.
2309
2310 2013-01-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2311
2312         Unreviewed, rolling out r141006.
2313         http://trac.webkit.org/changeset/141006
2314         https://bugs.webkit.org/show_bug.cgi?id=108123
2315
2316         Broke chromium build (Requested by arv on #webkit).
2317
2318         * public/WebConsoleMessage.h:
2319         * src/AssertMatchingEnums.cpp:
2320         * src/WebFrameImpl.cpp:
2321         (WebKit::WebFrameImpl::addMessageToConsole):
2322
2323 2013-01-28  Min Qin  <qinmin@chromium.org>
2324
2325         adding support for DiscardablePixelRef for caching lazily decoded images
2326         https://bugs.webkit.org/show_bug.cgi?id=106842
2327
2328         Reviewed by Stephen White.
2329
2330         Adding new tests for ImageDecodingStore
2331
2332         * WebKit.gypi:
2333         * tests/ImageDecodingStoreTest.cpp:
2334         (WebCore::ImageDecodingStoreTest::createCompleteImage):
2335         (WebCore::ImageDecodingStoreTest::createIncompleteImage):
2336         (WebCore::TEST_F):
2337         (WebCore):
2338         * tests/MockDiscardablePixelRef.h: Added.
2339         (WebCore):
2340         (MockDiscardablePixelRef):
2341         (WebCore::MockDiscardablePixelRef::MockDiscardablePixelRef):
2342         (WebCore::MockDiscardablePixelRef::~MockDiscardablePixelRef):
2343         (WebCore::MockDiscardablePixelRef::discard):
2344         (WebCore::MockDiscardablePixelRef::onLockPixels):
2345         (WebCore::MockDiscardablePixelRef::onUnlockPixels):
2346
2347 2013-01-28  Stephen Chenney  <schenney@chromium.org>
2348
2349         [Chromium] Fix the build.
2350
2351         Unreviewed build fix.
2352
2353         * src/AssertMatchingEnums.cpp: Move the include to the right place and remove the bad directory prefix.
2354
2355 2013-01-28  Dan Alcantara  <dfalcantara@chromium.org>
2356
2357         [Chromium, Mobile] Do not show disambiguation pop up in mobile sites
2358         https://bugs.webkit.org/show_bug.cgi?id=107607
2359
2360         Reviewed by Adam Barth.
2361
2362         Add a check before showing the disambiguation popup to prevent it from appearing
2363         on mobile sites.  Makes a similar test to the current disambiguation popup test
2364         that expects the popup to never appear.
2365
2366         * src/WebViewImpl.cpp:
2367         (WebKit::WebViewImpl::handleGestureEvent):
2368         (WebKit):
2369         (WebKit::WebViewImpl::isLikelyMobileSite):
2370         * src/WebViewImpl.h:
2371         (WebViewImpl):
2372         * tests/WebFrameTest.cpp:
2373         * tests/data/disambiguation_popup_mobile_site.html: Added.
2374
2375         * src/WebViewImpl.cpp:
2376         (WebKit::WebViewImpl::handleGestureEvent):
2377         (WebKit):
2378         (WebKit::WebViewImpl::shouldDisableDesktopWorkarounds):
2379         * src/WebViewImpl.h:
2380         (WebViewImpl):
2381         * tests/WebFrameTest.cpp:
2382         * tests/data/disambiguation_popup_mobile_site.html: Added.
2383
2384 2013-01-28  Stephen Chenney  <schenney@chromium.org>
2385
2386         [Chromium] Fix the build.
2387
2388         Unreviewed build fix.
2389
2390         * src/AssertMatchingEnums.cpp: Move the include to the right place and remove the bad directory prefix.
2391
2392 2013-01-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2393
2394         Unreviewed, rolling out r140869.
2395         http://trac.webkit.org/changeset/140869
2396         https://bugs.webkit.org/show_bug.cgi?id=108120
2397
2398         "Crashes on http://en.wikipedia.org/wiki/Wikipedia" (Requested
2399         by tonyg-cr on #webkit).
2400
2401         * src/WebViewImpl.cpp:
2402         (WebKit::WebViewImpl::resize):
2403         (WebKit::WebViewImpl::computePageScaleFactorLimits):
2404         * tests/WebFrameTest.cpp:
2405
2406 2013-01-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2407
2408         Unreviewed, rolling out r140934, r140935, and r140937.
2409         http://trac.webkit.org/changeset/140934
2410         http://trac.webkit.org/changeset/140935
2411         http://trac.webkit.org/changeset/140937
2412         https://bugs.webkit.org/show_bug.cgi?id=108117
2413
2414         Re-land some speculative rollouts - see wkbug.com/108048 for
2415         context (Requested by jsbell on #webkit).
2416
2417         * public/WebIDBCallbacks.h:
2418         (WebIDBCallbacks):
2419         * src/AssertMatchingEnums.cpp:
2420         * src/IDBCallbacksProxy.cpp:
2421         * src/IDBCallbacksProxy.h:
2422         (IDBCallbacksProxy):
2423         * src/WebIDBCallbacksImpl.cpp:
2424         * src/WebIDBCallbacksImpl.h:
2425         (WebIDBCallbacksImpl):
2426         * tests/IDBAbortOnCorruptTest.cpp:
2427         * tests/IDBDatabaseBackendTest.cpp:
2428
2429 2013-01-28  Kevin Day  <kevinday@gmail.com>
2430
2431         [chromium] WebConsoleMessage is missing LevelDebug (chromium bug 172416)
2432         https://bugs.webkit.org/show_bug.cgi?id=108004
2433         http://code.google.com/p/chromium/issues/detail?id=172416
2434
2435         console.debug triggers a NOTREACHED() assertation in Chromium. This
2436         is because WebCore::MessageLevel contains 5 levels, including debug,
2437         where WebConsoleMessage::Level is missing a "debug" level. Add a
2438         WebConsoleMessage::LevelDebug so that it can get passed up to the
2439         renderer even if it doesn't make use of that now.
2440
2441         Requires another patch to chromium itself to fix chromium bug 172416
2442         but this is a prerequisite.
2443
2444         Also add an enum compile time check to AssertMatchingEnums.cpp,
2445
2446         Reviewed by Jochen Eisinger.
2447
2448         * public/WebConsoleMessage.h:
2449         * src/AssertMatchingEnums.cpp:
2450         * src/WebFrameImpl.cpp:
2451         (WebKit::WebFrameImpl::addMessageToConsole):
2452
2453 2013-01-28  Xianzhu Wang  <wangxianzhu@chromium.org>
2454
2455         [Chromium] Correct auto-zoom when using compositor scaling
2456         https://bugs.webkit.org/show_bug.cgi?id=107592
2457
2458         Reviewed by Adam Barth.
2459
2460         1. The scale of auto-zoom should exclude deviceScaleFactor because the compositor will handle the scaling;
2461         2. Scroll location needs to be calculated differently when pageScaleFactor is handled by the compositor.
2462
2463         * src/WebViewImpl.cpp:
2464         (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
2465         * tests/WebFrameTest.cpp: Updated tests DivAutoZoomParamsTest, DivAutoZoomMultipleDivsTest, DivAutoZoomScaleBoundsTest and DivAutoZoomScaleFontScaleFactorTest, to make two versions of them (WebKitScaling and CompositorScaling).
2466
2467 2013-01-28  Laszlo Gombos  <l.gombos@samsung.com>
2468
2469         Collapse OS(UNIX)||OS(ANDROID) to OS(UNIX)
2470         https://bugs.webkit.org/show_bug.cgi?id=108091
2471
2472         Reviewed by Adam Barth.
2473
2474         OS(UNIX) is defined when OS(ANDROID) is defined.
2475
2476         * src/WebViewImpl.cpp:
2477         (WebKit::WebViewImpl::handleMouseDown):
2478
2479 2013-01-28  Adam Barth  <abarth@webkit.org>
2480
2481         Remove webkitNotifications.createHTMLNotification
2482         https://bugs.webkit.org/show_bug.cgi?id=107598
2483
2484         Reviewed by Benjamin Poulain.
2485
2486         We can remove these stubs once we've removed the Chromium-side code
2487         that depends on them.
2488
2489         * src/WebNotification.cpp:
2490         (WebKit::WebNotification::isHTML):
2491         (WebKit::WebNotification::url):
2492         (WebKit::WebNotification::iconURL):
2493         (WebKit::WebNotification::title):
2494         (WebKit::WebNotification::body):
2495
2496 2013-01-28  James Craig  <james@cookiecrook.com>
2497
2498         HTML5 promotes DL from specific 'definition list' to superset 'description list'; accessibility strings and accessors should be updated to match.
2499         https://bugs.webkit.org/show_bug.cgi?id=107650
2500
2501         Reviewed by Chris Fleizach.
2502
2503         Updating accessibility strings and accessors for DL/DT/DD; new one for [role="definition"] (previously it reused the role/desc for DD).
2504
2505         * public/WebAccessibilityRole.h:
2506         * src/AssertMatchingEnums.cpp:
2507         * src/LocalizedStrings.cpp:
2508         (WebCore::AXDefinitionText):
2509         (WebCore):
2510         (WebCore::AXDescriptionListTermText):
2511         (WebCore::AXDescriptionListDetailText):
2512
2513 2013-01-28  Mike West  <mkwst@chromium.org>
2514
2515         [chromium] Unreviewed build fix, missing include in AssertMatchingEnums.cpp
2516         https://bugs.webkit.org/show_bug.cgi?id=108086
2517
2518         Disabling SVG exposed a missing include in AssertMatchingEnums. This
2519         patch adds it in.
2520
2521         * src/AssertMatchingEnums.cpp:
2522             Include 'ResourceLoadPriority.h'.
2523
2524 2013-01-28  Marja Hölttä  <marja@chromium.org>
2525
2526         Add an API for retrieving native memory information without going through the remote inspecting protocol
2527         https://bugs.webkit.org/show_bug.cgi?id=107651
2528
2529         Reviewed by Adam Barth.
2530
2531         * WebKit.gyp:
2532         * public/WebDevToolsAgent.h:
2533         (WebKit):
2534         (WebDevToolsAgent):
2535         * public/WebMemoryUsageInfo.h: Added.
2536         (WebKit):
2537         (WebKit::WebMemoryUsageInfo::WebMemoryUsageInfo):
2538         (WebMemoryUsageInfo):
2539         * src/WebDevToolsAgentImpl.cpp:
2540         (WebKit::WebDevToolsAgentImpl::processMemoryDistribution):
2541         (WebKit):
2542         * src/WebDevToolsAgentImpl.h:
2543         (WebKit):
2544         (WebDevToolsAgentImpl):
2545
2546 2013-01-27  Sheriff Bot  <webkit.review.bot@gmail.com>
2547
2548         Unreviewed, rolling out r140602.
2549         http://trac.webkit.org/changeset/140602
2550         https://bugs.webkit.org/show_bug.cgi?id=108045
2551
2552         Caused 8 indexed tests to crash. (Requested by keishi on
2553         #webkit).
2554
2555         * public/WebIDBCallbacks.h:
2556         * src/IDBCallbacksProxy.cpp:
2557         (WebKit::IDBCallbacksProxy::onBlocked):
2558         (WebKit):
2559         * src/IDBCallbacksProxy.h:
2560         (IDBCallbacksProxy):
2561         * src/WebIDBCallbacksImpl.cpp:
2562         (WebKit::WebIDBCallbacksImpl::onBlocked):
2563         (WebKit):
2564         * src/WebIDBCallbacksImpl.h:
2565         (WebIDBCallbacksImpl):
2566         * tests/IDBAbortOnCorruptTest.cpp:
2567         (WebCore::MockIDBCallbacks::onBlocked):
2568         * tests/IDBDatabaseBackendTest.cpp:
2569
2570 2013-01-27  Keishi Hattori  <keishi@webkit.org>
2571
2572         Unreviewed, rolling out r140850.
2573         http://trac.webkit.org/changeset/140850
2574         https://bugs.webkit.org/show_bug.cgi?id=107960
2575
2576         r14602 caused 8 indexed tests to crash.
2577
2578         * src/AssertMatchingEnums.cpp:
2579
2580 2013-01-27  Jochen Eisinger  <jochen@chromium.org>
2581
2582         [chromium] add missing plumbing for Notification.requestPermission
2583         https://bugs.webkit.org/show_bug.cgi?id=108012
2584
2585         Reviewed by Adam Barth.
2586
2587         * src/NotificationPresenterImpl.cpp:
2588         (WebKit):
2589         (WebKit::VoidCallbackClient::VoidCallbackClient):
2590         (NotificationPermissionCallbackClient):
2591         (WebKit::NotificationPermissionCallbackClient::NotificationPermissionCallbackClient):
2592         (WebKit::NotificationPermissionCallbackClient::permissionRequestComplete):
2593         (WebKit::NotificationPermissionCallbackClient::~NotificationPermissionCallbackClient):
2594         (WebKit::NotificationPresenterImpl::requestPermission):
2595         * src/NotificationPresenterImpl.h:
2596         (NotificationPresenterImpl):
2597
2598 2013-01-26  James Simonsen  <simonjam@chromium.org>
2599
2600         [chromium] Export ResourceRequest's priority through WebURLRequest
2601         https://bugs.webkit.org/show_bug.cgi?id=107985
2602
2603         Reviewed by Adam Barth.
2604
2605         * src/AssertMatchingEnums.cpp:
2606
2607 2013-01-25  Alexandre Elias  <aelias@chromium.org>
2608
2609         Call FrameView::contentsResized() when setting fixed layout size
2610         https://bugs.webkit.org/show_bug.cgi?id=107922
2611
2612         Reviewed by James Robinson.
2613
2614         In fixed layout mode, we should be calling contentsResized() when the
2615         fixed layout size is changed; on the other hand, we don't need to layout
2616         when the visible contents size changes.
2617
2618         This fixes test WebFrameTest::FixedLayoutInitializeAtMinimumPageScale.
2619
2620         * src/WebViewImpl.cpp:
2621         (WebKit::WebViewImpl::resize):
2622         (WebKit::WebViewImpl::computePageScaleFactorLimits):
2623         * tests/WebFrameTest.cpp:
2624
2625 2013-01-25  Alec Flett  <alecflett@chromium.org>
2626
2627         IndexedDB: Move TaskType enum to IDBDatabaseBackendInterface
2628         https://bugs.webkit.org/show_bug.cgi?id=107960
2629
2630         Reviewed by Tony Chang.
2631
2632         Update asserts to reflect new enum location.
2633
2634         * src/AssertMatchingEnums.cpp:
2635
2636 2013-01-25  Sheriff Bot  <webkit.review.bot@gmail.com>
2637
2638         Unreviewed, rolling out r140774.
2639         http://trac.webkit.org/changeset/140774
2640         https://bugs.webkit.org/show_bug.cgi?id=107932
2641
2642          Tests ScrollingCoordinatorChromiumTest.fastScrollingByDefault
2643         and fastScrollingForFixedPosition are failing (Requested by
2644         keishi on #webkit).
2645
2646         * public/WebWidget.h:
2647         (WebWidget):
2648         (WebKit::WebWidget::isInputThrottled):
2649         (WebKit::WebWidget::renderingStats):
2650         * src/WebViewImpl.cpp:
2651         (WebKit::WebViewImpl::WebViewImpl):
2652         (WebKit::WebViewImpl::~WebViewImpl):
2653         (WebKit::WebViewImpl::renderingStats):
2654         (WebKit):
2655         (WebKit::WebViewImpl::setCompositorSurfaceReady):
2656         (WebKit::WebViewImpl::isInputThrottled):
2657         (WebKit::WebViewImpl::setIsTransparent):
2658         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2659         * src/WebViewImpl.h:
2660
2661 2013-01-25  Eberhard Graether  <egraether@google.com>
2662
2663         Web Inspector: add checkbox for continuous painting to the inspector's settings
2664         https://bugs.webkit.org/show_bug.cgi?id=107352
2665
2666         Reviewed by Pavel Feldman.
2667
2668         This change adds a checkbox to activate continuous painting to the WebInspector's
2669         rendering settings and plumbs the setting to Chromium's WebLayerTreeView. The
2670         setting is visible if InspectorClient::canContinuouslyPaint() returns true.
2671
2672         * public/WebView.h:
2673         (WebView):
2674         * src/InspectorClientImpl.cpp:
2675         (WebKit::InspectorClientImpl::canContinuouslyPaint):
2676         (WebKit):
2677         (WebKit::InspectorClientImpl::setContinuousPaintingEnabled):
2678         * src/InspectorClientImpl.h:
2679         (InspectorClientImpl):
2680         * src/WebViewImpl.cpp:
2681         (WebKit::WebViewImpl::setContinuousPaintingEnabled):
2682         (WebKit):
2683         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2684         * src/WebViewImpl.h:
2685
2686 2013-01-24  Keishi Hattori  <keishi@webkit.org>
2687
2688         Adjust design of the Calendar Picker
2689         https://bugs.webkit.org/show_bug.cgi?id=107507
2690
2691         Reviewed by Kent Tamura.
2692
2693         * src/DateTimeChooserImpl.cpp:
2694         (WebKit::DateTimeChooserImpl::writeDocument):  Include pickerCommonChromium.css and calendarPickerChromium.css.
2695
2696 2013-01-24  James Robinson  <jamesr@chromium.org>
2697
2698         [chromium] Remove dead transitional code from WebViewImpl
2699         https://bugs.webkit.org/show_bug.cgi?id=107889
2700
2701         Reviewed by Adrienne Walker.
2702
2703         The chromium side of this landed at r178256 and seems stable.
2704
2705         * public/WebWidget.h:
2706         (WebKit::WebWidget::setCompositorSurfaceReady):
2707         * src/WebViewImpl.cpp:
2708         (WebKit::WebViewImpl::WebViewImpl):
2709         (WebKit::WebViewImpl::~WebViewImpl):
2710         (WebKit):
2711         (WebKit::WebViewImpl::setIsTransparent):
2712         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2713         * src/WebViewImpl.h:
2714
2715 2013-01-24  James Robinson  <jamesr@chromium.org>
2716
2717         [chromium] Null check WebLayerTreeView before dereffing in WebViewImpl::invalidateRect
2718         https://bugs.webkit.org/show_bug.cgi?id=107855
2719
2720         Reviewed by Adrienne Walker.
2721
2722         During frame shutdown, WebViewImpl::m_layerTreeView may become 0 while commits are deferred but we still
2723         may get invalidateRect() calls before shutdown completes.
2724
2725         * src/WebViewImpl.cpp:
2726         (WebKit::WebViewImpl::invalidateRect):
2727
2728 2013-01-24  Mihai Maerean  <mmaerean@adobe.com>
2729
2730         [CSSRegions] remove setExperimentalCSSRegionsEnabled deprecated API in Source/WebKit/chromium/public/WebSettings.h
2731         https://bugs.webkit.org/show_bug.cgi?id=104564
2732
2733         Reviewed by Adam Barth.
2734
2735         Fixing bug 101192 has deprecated the use of setExperimentalCSSRegionsEnabled.
2736         After http://code.google.com/p/chromium/issues/detail?id=164162 , setExperimentalCSSRegionsEnabled is no longer used anywhere.
2737
2738         * public/WebSettings.h:
2739         removed setExperimentalCSSRegionsEnabled.
2740
2741 2013-01-23  Sheriff Bot  <webkit.review.bot@gmail.com>
2742
2743         Unreviewed.  Rolled Chromium DEPS to r178434.  Requested by
2744         "Yoshifumi Inoue" <yosin@chromium.org> via sheriffbot.
2745
2746         * DEPS:
2747
2748 2013-01-23  Mark Pilgrim  <pilgrim@chromium.org>
2749
2750         [Chromium] Remove unused header files in chromium/public/platform/
2751         https://bugs.webkit.org/show_bug.cgi?id=107741
2752
2753         Reviewed by James Robinson.
2754
2755         These header files have migrated to the new Platform directory.
2756         This patch updates the remaining #include references and removes
2757         the old files that did nothing but redirect to the new ones.
2758
2759         * WebKit.gyp:
2760         * public/WebAccessibilityObject.h:
2761         * public/WebAccessibilityRole.h:
2762         * public/WebActiveWheelFlingParameters.h:
2763         * public/WebAnimationController.h:
2764         * public/WebApplicationCacheHost.h:
2765         * public/WebApplicationCacheHostClient.h:
2766         * public/WebArrayBuffer.h:
2767         * public/WebArrayBufferView.h:
2768         * public/WebAudioSourceProvider.h:
2769         * public/WebBatteryStatus.h:
2770         * public/WebBindings.h:
2771         * public/WebBlob.h:
2772         * public/WebCache.h:
2773         * public/WebCachedURLRequest.h:
2774         * public/WebColorChooser.h:
2775         * public/WebColorChooserClient.h:
2776         * public/WebColorName.h:
2777         * public/WebCommonWorkerClient.h:
2778         * public/WebCompositionUnderline.h:
2779         * public/WebCompositorInputHandler.h:
2780         * public/WebConsoleMessage.h:
2781         * public/WebContentDetectionResult.h:
2782         * public/WebContextMenuData.h:
2783         * public/WebCrossOriginPreflightResultCache.h:
2784         * public/WebCursorInfo.h:
2785         * public/WebDOMEvent.h:
2786         * public/WebDOMEventListener.h:
2787         * public/WebDOMStringList.h:
2788         * public/WebDataSource.h:
2789         * public/WebDatabase.h:
2790         * public/WebDateTimeChooserCompletion.h:
2791         * public/WebDateTimeChooserParams.h:
2792         * public/WebDeliveredIntentClient.h:
2793         * public/WebDevToolsAgent.h:
2794         * public/WebDevToolsAgentClient.h:
2795         * public/WebDevToolsFrontend.h:
2796         * public/WebDeviceOrientationClient.h:
2797         * public/WebDeviceOrientationClientMock.h:
2798         * public/WebDeviceOrientationController.h:
2799         * public/WebDocument.h:
2800         * public/WebDraggableRegion.h:
2801         * public/WebExternalPopupMenuClient.h:
2802         * public/WebFileChooserCompletion.h:
2803         * public/WebFileChooserParams.h:
2804         * public/WebFileSystemCallbacks.h:
2805         * public/WebFileSystemEntry.h:
2806         * public/WebFileWriter.h:
2807         * public/WebFileWriterClient.h:
2808         * public/WebFindOptions.h:
2809         * public/WebFont.h:
2810         * public/WebFontCache.h:
2811         * public/WebFontDescription.h:
2812         * public/WebFormControlElement.h:
2813         * public/WebFormElement.h:
2814         * public/WebFrame.h:
2815         * public/WebFrameClient.h:
2816         * public/WebGeolocationClientMock.h:
2817         * public/WebGeolocationController.h:
2818         * public/WebGeolocationError.h:
2819         * public/WebGeolocationPermissionRequest.h:
2820         * public/WebGeolocationPermissionRequestManager.h:
2821         * public/WebGeolocationPosition.h:
2822         * public/WebGlyphCache.h:
2823         * public/WebHelperPlugin.h:
2824         * public/WebHistoryItem.h:
2825         * public/WebHitTestResult.h:
2826         * public/WebIDBCallbacks.h:
2827         * public/WebIDBCursor.h:
2828         * public/WebIDBDatabase.h:
2829         * public/WebIDBDatabaseCallbacks.h:
2830         * public/WebIDBDatabaseError.h:
2831         * public/WebIDBFactory.h:
2832         * public/WebIDBKey.h:
2833         * public/WebIDBKeyPath.h:
2834         * public/WebIDBKeyRange.h:
2835         * public/WebIDBMetadata.h:
2836         * public/WebIDBTransaction.h:
2837         * public/WebIDBTransactionCallbacks.h:
2838         * public/WebIconURL.h:
2839         * public/WebImageDecoder.h:
2840         * public/WebInputEvent.h:
2841         * public/WebIntent.h:
2842         * public/WebIntentRequest.h:
2843         * public/WebIntentServiceInfo.h:
2844         * public/WebKit.h:
2845         * public/WebMediaPlayer.h:
2846         * public/WebMediaStreamRegistry.h:
2847         * public/WebMenuItemInfo.h:
2848         * public/WebNetworkStateNotifier.h:
2849         * public/WebNode.h:
2850         * public/WebNodeCollection.h:
2851         * public/WebNodeList.h:
2852         * public/WebNotification.h:
2853         * public/WebNotificationPresenter.h:
2854         * public/WebOptionElement.h:
2855         * public/WebPageOverlay.h:
2856         * public/WebPagePopup.h:
2857         * public/WebPageSerializer.h:
2858         * public/WebPasswordFormData.h:
2859         * public/WebPerformance.h:
2860         * public/WebPlugin.h:
2861         * public/WebPluginContainer.h:
2862         * public/WebPluginParams.h:
2863         * public/WebPopupMenu.h:
2864         * public/WebPopupMenuInfo.h:
2865         * public/WebPrerendererClient.h:
2866         * public/WebPrintParams.h:
2867         * public/WebRange.h:
2868         * public/WebRegularExpression.h:
2869         * public/WebRuntimeFeatures.h:
2870         * public/WebScopedMicrotaskSuppression.h:
2871         * public/WebScopedUserGesture.h:
2872         * public/WebScriptController.h:
2873         * public/WebScriptSource.h:
2874         * public/WebSearchableFormData.h:
2875         * public/WebSecurityOrigin.h:
2876         * public/WebSecurityPolicy.h:
2877         * public/WebSelectElement.h:
2878         * public/WebSerializedScriptValue.h:
2879         * public/WebSettings.h:
2880         * public/WebSharedWorker.h:
2881         * public/WebSharedWorkerRepository.h:
2882         * public/WebSocket.h:
2883         * public/WebSocketClient.h:
2884         * public/WebSpeechGrammar.h:
2885         * public/WebSpeechInputController.h:
2886         * public/WebSpeechInputResult.h:
2887         * public/WebSpeechRecognitionHandle.h:
2888         * public/WebSpeechRecognitionParams.h:
2889         * public/WebSpeechRecognitionResult.h:
2890         * public/WebSpeechRecognizer.h:
2891         * public/WebSpeechRecognizerClient.h:
2892         * public/WebSpellCheckClient.h:
2893         * public/WebStorageEventDispatcher.h:
2894         * public/WebSurroundingText.h:
2895         * public/WebTestingSupport.h:
2896         * public/WebTextCheckingCompletion.h:
2897         * public/WebTextCheckingResult.h:
2898         * public/WebTextFieldDecoratorClient.h:
2899         * public/WebTextInputInfo.h:
2900         * public/WebTextRun.h:
2901         * public/WebTimeRange.h:
2902         * public/WebTouchPoint.h:
2903         * public/WebUserMediaRequest.h:
2904         * public/WebView.h:
2905         * public/WebViewBenchmarkSupport.h:
2906         * public/WebViewClient.h:
2907         * public/WebWidget.h:
2908         * public/WebWidgetClient.h:
2909         * public/WebWindowFeatures.h:
2910         * public/WebWorkerInfo.h:
2911         * public/android/WebInputEventFactory.h:
2912         * public/android/WebSandboxSupport.h:
2913         * public/default/WebRenderTheme.h:
2914         * public/gtk/WebInputEventFactory.h:
2915         * public/linux/WebFontRendering.h:
2916         * public/linux/WebSandboxSupport.h:
2917         * public/mac/WebInputEventFactory.h:
2918         * public/mac/WebSandboxSupport.h:
2919         * public/mac/WebScreenInfoFactory.h:
2920         * public/mac/WebSubstringUtil.h:
2921         * public/platform/WebAudioBus.h: Removed.
2922         * public/platform/WebAudioDevice.h: Removed.
2923         * public/platform/WebBlobData.h: Removed.
2924         * public/platform/WebBlobRegistry.h: Removed.
2925         * public/platform/WebCString.h: Removed.
2926         * public/platform/WebCanvas.h: Removed.
2927         * public/platform/WebClipboard.h: Removed.
2928         * public/platform/WebColor.h: Removed.
2929         * public/platform/WebCommon.h: Removed.
2930         * public/platform/WebCookie.h: Removed.
2931         * public/platform/WebCookieJar.h: Removed.
2932         * public/platform/WebData.h: Removed.
2933         * public/platform/WebDragData.h: Removed.
2934         * public/platform/WebFileSystem.h: Removed.
2935         * public/platform/WebFloatPoint.h: Removed.
2936         * public/platform/WebFloatQuad.h: Removed.
2937         * public/platform/WebFloatRect.h: Removed.
2938         * public/platform/WebGamepad.h: Removed.
2939         * public/platform/WebGamepads.h: Removed.
2940         * public/platform/WebGraphicsContext3D.h: Removed.
2941         * public/platform/WebHTTPBody.h: Removed.
2942         * public/platform/WebHTTPHeaderVisitor.h: Removed.
2943         * public/platform/WebHTTPLoadInfo.h: Removed.
2944         * public/platform/WebImage.h: Removed.
2945         * public/platform/WebLocalizedString.h: Removed.
2946         * public/platform/WebMediaStreamCenter.h: Removed.
2947         * public/platform/WebMediaStreamCenterClient.h: Removed.
2948         * public/platform/WebMediaStreamComponent.h: Removed.
2949         * public/platform/WebMediaStreamDescriptor.h: Removed.
2950         * public/platform/WebMediaStreamSource.h: Removed.
2951         * public/platform/WebMediaStreamSourcesRequest.h: Removed.
2952         * public/platform/WebNonCopyable.h: Removed.
2953         * public/platform/WebPoint.h: Removed.
2954         * public/platform/WebPrivateOwnPtr.h: Removed.
2955         * public/platform/WebPrivatePtr.h: Removed.
2956         * public/platform/WebRect.h: Removed.
2957         * public/platform/WebReferrerPolicy.h: Removed.
2958         * public/platform/WebSize.h: Removed.
2959         * public/platform/WebSocketStreamError.h: Removed.
2960         * public/platform/WebSocketStreamHandle.h: Removed.
2961         * public/platform/WebSocketStreamHandleClient.h: Removed.
2962         * public/platform/WebString.h: Removed.
2963         * public/platform/WebThread.h: Removed.
2964         * public/platform/WebThreadSafeData.h: Removed.
2965         * public/platform/WebURL.h: Removed.
2966         * public/platform/WebURLError.h: Removed.
2967         * public/platform/WebURLLoadTiming.h: Removed.
2968         * public/platform/WebURLLoader.h: Removed.
2969         * public/platform/WebURLLoaderClient.h: Removed.
2970         * public/platform/WebURLRequest.h: Removed.
2971         * public/platform/WebURLResponse.h: Removed.
2972         * public/platform/WebVector.h: Removed.
2973         * public/platform/android/WebSandboxSupport.h: Removed.
2974         * public/platform/android/WebThemeEngine.h: Removed.
2975         * public/platform/default/WebThemeEngine.h: Removed.
2976         * public/platform/linux/WebFontFamily.h: Removed.
2977         * public/platform/linux/WebSandboxSupport.h: Removed.
2978         * public/platform/mac/WebSandboxSupport.h: Removed.
2979         * public/platform/mac/WebThemeEngine.h: Removed.
2980         * public/platform/win/WebSandboxSupport.h: Removed.
2981         * public/platform/win/WebThemeEngine.h: Removed.
2982         * public/win/WebInputEventFactory.h:
2983         * public/win/WebSandboxSupport.h:
2984         * public/win/WebScreenInfoFactory.h:
2985         * public/x11/WebScreenInfoFactory.h:
2986
2987 2013-01-23  Joshua Bell  <jsbell@chromium.org>
2988
2989         IndexedDB: Remove IDBVersionChangeRequest
2990         https://bugs.webkit.org/show_bug.cgi?id=107711
2991
2992         Reviewed by Tony Chang.
2993
2994         * public/WebIDBCallbacks.h: Note to delete onBlocked() once Chromium is cleaned up.
2995         * src/IDBCallbacksProxy.cpp: Remove unused onBlocked() overload.
2996         * src/IDBCallbacksProxy.h: Ditto.
2997         * src/WebIDBCallbacksImpl.cpp: Ditto.
2998         * src/WebIDBCallbacksImpl.h: Ditto.
2999         * tests/IDBAbortOnCorruptTest.cpp: Ditto.
3000         * tests/IDBDatabaseBackendTest.cpp: Ditto.
3001
3002 2013-01-23  Tien-Ren Chen  <trchen@chromium.org>
3003
3004         Partially revert 104427, change WebWidgetClient::didHandleGestureEvent semantics.
3005         https://bugs.webkit.org/show_bug.cgi?id=107605
3006
3007         Reviewed by Darin Fisher.
3008
3009         Per discussion in https://codereview.chromium.org/11473027/ we decided
3010         not to introduce an enum to WebWidgetClient::didHandleGestureEvent().
3011         Instead, change the semantics of the bool flag to indicate whether the
3012         gesture event is cancelled for disambiguation.
3013
3014         * public/WebWidgetClient.h:
3015         (WebKit::WebWidgetClient::didHandleGestureEvent):
3016         * src/WebViewImpl.cpp:
3017         (WebKit::WebViewImpl::handleGestureEvent):
3018         * tests/WebViewTest.cpp:
3019
3020 2013-01-23  Mark Pilgrim  <pilgrim@chromium.org>
3021
3022         [Chromium] Remove WebArrayBufferView and WebSerializedScriptValue from chromium/public/platform/
3023         https://bugs.webkit.org/show_bug.cgi?id=107720
3024
3025         Reviewed by Darin Fisher.
3026
3027         These headers have been moved to chromium/public/ and all
3028         references downstream were changed in
3029         https://codereview.chromium.org/11946050/.
3030         No DEPS roll necessary because it's already above 177695.
3031
3032         * WebKit.gyp:
3033         * public/platform/WebArrayBufferView.h: Removed.
3034         * public/platform/WebSerializedScriptValue.h: Removed.
3035         * src/DeliveredIntentClientImpl.cpp:
3036         * src/IDBCallbacksProxy.cpp:
3037         * src/IDBCursorBackendProxy.cpp:
3038         * src/WebArrayBufferView.cpp:
3039         * src/WebBindings.cpp:
3040         * src/WebDOMCustomEvent.cpp:
3041         * src/WebDOMMessageEvent.cpp:
3042         * src/WebFrameImpl.cpp:
3043         * src/WebHistoryItem.cpp:
3044         * src/WebIDBCallbacksImpl.cpp:
3045         * src/WebIntent.cpp:
3046         * src/WebIntentRequest.cpp:
3047         * src/WebSerializedScriptValue.cpp:
3048
3049 2013-01-23  Mark Pilgrim  <pilgrim@chromium.org>
3050
3051         [Chromium] Fix some #includes to headers in chromium/public/platform/ that have been moved to the new Platform directory
3052         https://bugs.webkit.org/show_bug.cgi?id=107722
3053
3054         Reviewed by Darin Fisher.
3055
3056         These headers just redirect to the new versions, so call the new
3057         versions directly.
3058
3059         * src/linux/WebFontInfo.cpp:
3060         * src/mac/WebSubstringUtil.mm:
3061
3062 2013-01-23  Mark Pilgrim  <pilgrim@chromium.org>
3063
3064         [Chromium] Fix some #includes for WebSerializedScriptValue
3065         https://bugs.webkit.org/show_bug.cgi?id=107697
3066
3067         Reviewed by Adam Barth.
3068
3069         WebSerializedScriptValue has been moved to chromium/public/.
3070
3071         * public/WebDOMCustomEvent.h:
3072         * public/WebDOMMessageEvent.h:
3073         * public/WebIDBCursor.h:
3074
3075 2013-01-23  Dmitry Gozman  <dgozman@chromium.org>
3076
3077         Added changeAttachedWindowHeight method to inspector frontend API, which
3078         allows to change inspector window height from inside.
3079         https://bugs.webkit.org/show_bug.cgi?id=107648
3080
3081         Reviewed by Pavel Feldman.
3082
3083         * public/WebDevToolsFrontendClient.h:
3084         (WebKit::WebDevToolsFrontendClient::changeAttachedWindowHeight):
3085         * src/InspectorFrontendClientImpl.cpp:
3086         (WebKit::InspectorFrontendClientImpl::changeAttachedWindowHeight):
3087
3088 2013-01-23  Shinya Kawanaka  <shinyak@chromium.org>
3089
3090         shadowAncestorNode() should be renamed to deprecatedShadowAncestorNode()
3091         https://bugs.webkit.org/show_bug.cgi?id=107624
3092
3093         Reviewed by Dimitri Glazkov.
3094
3095         Since Node::shadowAncestorNode() is deprecated, we would like to rename it to prevent from further use.
3096
3097         * src/WebFrameImpl.cpp:
3098         (WebKit::WebFrameImpl::scopeStringMatches):
3099         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
3100
3101 2013-01-22  Pavel Feldman  <pfeldman@chromium.org>
3102
3103         Web Inspector: only allow evaluateForTestInFrontend for front-ends under test.
3104         https://bugs.webkit.org/show_bug.cgi?id=107523
3105
3106         Reviewed by Yury Semikhatsky.
3107
3108         * public/WebDevToolsFrontendClient.h:
3109         (WebKit::WebDevToolsFrontendClient::isUnderTest):
3110         (WebDevToolsFrontendClient):
3111         * src/InspectorFrontendClientImpl.cpp:
3112         (WebKit::InspectorFrontendClientImpl::isUnderTest):
3113         * src/InspectorFrontendClientImpl.h:
3114         (InspectorFrontendClientImpl):
3115
3116 2013-01-22  Mark Lam  <mark.lam@apple.com>
3117
3118         Change the Supplementable class to not use AtomicString.
3119         https://bugs.webkit.org/show_bug.cgi?id=107535.
3120
3121         Reviewed by Adam Barth.
3122
3123         Replaced the use of AtomicString keys with literal const char* keys.
3124         This simplifies the SupplementMap and makes it slightly leaner and faster.
3125
3126         * src/ContextFeaturesClientImpl.cpp:
3127         (ContextFeaturesCache):
3128         (WebKit::ContextFeaturesCache::supplementName):
3129
3130 2013-01-22  Leandro Gracia Gil  <leandrogracia@chromium.org>
3131
3132         [Chromium] Expose didCommitCompositorFrame in WebWidgetClient.
3133         https://bugs.webkit.org/show_bug.cgi?id=107325
3134
3135         Reviewed by James Robinson.
3136
3137         Add a notification on WebWidgetClient called when the compositor commits a frame.
3138
3139         * public/WebWidgetClient.h:
3140         (WebWidgetClient):
3141         (WebKit::WebWidgetClient::didCommitCompositorFrame):
3142         * src/WebViewImpl.cpp:
3143         (WebKit::WebViewImpl::didCommit):
3144
3145 2013-01-21  Kentaro Hara  <haraken@chromium.org>
3146
3147         Implement UIEvent constructor
3148         https://bugs.webkit.org/show_bug.cgi?id=107430
3149
3150         Reviewed by Adam Barth.
3151
3152         Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
3153
3154         UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
3155         which is enabled on Safari and Chromium for now.
3156
3157         * features.gypi:
3158
3159 2013-01-22  Alpha Lam  <hclam@chromium.org>
3160
3161         REGRESSION(r140392): InjectIDBKeyTest.TopLevelPropertyStringValue is crashing
3162         https://bugs.webkit.org/show_bug.cgi?id=107578
3163
3164         Unreviewed build fix. Disabled 2 tests that are crashing after r140392.
3165
3166         * tests/IDBBindingUtilitiesTest.cpp:
3167         (WebKit::TEST_F):
3168
3169 2013-01-22  Eric Seidel  <eric@webkit.org>
3170
3171         Turn on ENABLE_THREADED_HTML_PARSER for Chromium (it's still disabled at runtime)
3172         https://bugs.webkit.org/show_bug.cgi?id=107519
3173
3174         Reviewed by Adam Barth.
3175
3176         This makes our development lives easier, and makes it possible for the bots
3177         to run threaded-parser-only tests by toggling the runtime enable
3178         via window.internals.settings.
3179
3180         * features.gypi:
3181
3182 2013-01-22  Kentaro Hara  <haraken@chromium.org>
3183
3184         [V8] Make an Isolate parameter mandatory in toV8()
3185         https://bugs.webkit.org/show_bug.cgi?id=107520
3186
3187         Reviewed by Adam Barth.
3188
3189         Now it's safe to remove an optional Isolate parameter.
3190
3191         No tests. No change in behavior.
3192
3193         * src/InspectorFrontendClientImpl.cpp:
3194         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
3195         * src/WebArrayBuffer.cpp:
3196         (WebKit::WebArrayBuffer::toV8Value):
3197         * src/WebBlob.cpp:
3198         (WebKit::WebBlob::toV8Value):
3199         * src/WebFrameImpl.cpp:
3200         (WebKit::WebFrameImpl::createFileSystem):
3201         (WebKit::WebFrameImpl::createSerializableFileSystem):
3202         (WebKit::WebFrameImpl::createFileEntry):
3203
3204 2013-01-21  Sheriff Bot  <webkit.review.bot@gmail.com>
3205
3206         Unreviewed.  Rolled Chromium DEPS to r177962.  Requested by
3207         "Yoshifumi Inoue" <yosin@chromium.org> via sheriffbot.
3208
3209         * DEPS:
3210
3211 2013-01-21  Noel Gordon  <noel.gordon@gmail.com>
3212
3213         [chromium] REGRESSION(r139347) roll chromium deps broke webkit-unit-tests
3214         https://bugs.webkit.org/show_bug.cgi?id=106631
3215
3216         Reviewed by Kent Tamura.
3217
3218         Fixed in http://crrev.com/177931 and rolled. Renable these tests.
3219
3220         * tests/WebImageTest.cpp:
3221
3222 2013-01-21  Dirk Schulze  <dschulze@adobe.com>
3223
3224         Add build flag for Canvas's Path object (disabled by default)
3225         https://bugs.webkit.org/show_bug.cgi?id=107473
3226
3227         Reviewed by Dean Jackson.
3228
3229         Add CANVAS_PATH build flag to build systems.
3230
3231         * features.gypi:
3232
3233 2013-01-21  Sheriff Bot  <webkit.review.bot@gmail.com>
3234
3235         Unreviewed.  Rolled Chromium DEPS to r177956.  Requested by
3236         thakis_ via sheriffbot.
3237
3238         * DEPS:
3239
3240 2013-01-21  Sheriff Bot  <webkit.review.bot@gmail.com>
3241
3242         Unreviewed.  Rolled Chromium DEPS to r177953.  Requested by
3243         thakis_ via sheriffbot.
3244
3245         * DEPS:
3246
3247 2013-01-21  Tommy Widenflycht  <tommyw@google.com>
3248
3249         MediaStream API: Update the RTCPeerConnection states to match the latest specification
3250         https://bugs.webkit.org/show_bug.cgi?id=107120
3251
3252         Reviewed by Adam Barth.
3253
3254         * src/AssertMatchingEnums.cpp:
3255
3256 2013-01-20  Dominic Mazzoni  <dmazzoni@google.com>
3257
3258         Make SpeechSynthesis compile in the Chromium port
3259         https://bugs.webkit.org/show_bug.cgi?id=107382
3260
3261         Reviewed by Adam Barth.
3262
3263         Add ENABLE_SPEECH_SYNTHESIS to features.gypi, off by default.
3264
3265         * features.gypi:
3266
3267 2013-01-20  Yoshifumi Inoue  <yosin@chromium.org>
3268
3269         Dragging over an element with scrollbars should scroll the element when dragging near edges
3270         https://bugs.webkit.org/show_bug.cgi?id=39725
3271
3272         Reviewed by Hajime Morita.
3273
3274         This patch removes DragScrollTimer used for automatic scrolling of main
3275         frame drag-and-drop which is now implemented in EventHandler.
3276
3277         Another patch will remove DragScrollTimer.{cpp,h} and update GYP files to
3278         make patch size small.
3279
3280         No tests. Existing test covers this change.
3281
3282         * src/ChromeClientImpl.cpp:
3283         (WebKit::ChromeClientImpl::shouldAutoscrollForDragAndDrop): Added.
3284         * src/ChromeClientImpl.h:
3285         (ChromeClientImpl): Changed to add shouldAutoscrollForDragAndDrop().
3286         * src/WebViewImpl.cpp:
3287         (WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
3288         (WebKit::WebViewImpl::dragSourceEndedAt): ditto
3289         (WebKit::WebViewImpl::dragSourceMovedTo): ditto
3290         (WebKit::WebViewImpl::dragTargetDrop): ditto
3291         (WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
3292         * src/WebViewImpl.h:
3293         (WebKit): Chagned to remove DragScrollTimer.
3294
3295 2013-01-18  Alec Flett  <alecflett@chromium.org>
3296
3297         IndexedDB: Switch to new createTransaction call
3298         https://bugs.webkit.org/show_bug.cgi?id=107311
3299
3300         Reviewed by Tony Chang.
3301
3302         * public/WebIDBTransaction.h:
3303
3304         Remove an old method that nobody calls.
3305
3306 2013-01-18  Alpha Lam  <hclam@chromium.org>
3307
3308         [chromium] Roll Chromium DEPS to 177676
3309
3310         Unreviewed DEPS roll.
3311
3312         * DEPS:
3313
3314 2013-01-18  Robert Kroeger  <rjkroege@chromium.org>
3315
3316         [chromium] Use new-style gesture scrolling events for fling and
3317         for plugin scrolling: https://bugs.webkit.org/show_bug.cgi?id=106589
3318
3319         Reviewed by James Robinson.
3320
3321         https://bugs.webkit.org/show_bug.cgi?id=103952 modified touchscreen
3322         scrolling to not use synthetic mouse wheel events. Update the fling facility
3323         in WebViewImpl to use these events for touchscreen-initiated flings. Also
3324         modify the WebPluginContainerImpl to scroll in response to touchscreen
3325         scroll gestures if the plugin does not itself implement gesture events. 
3326
3327         * src/WebPluginContainerImpl.cpp:
3328         * src/WebViewImpl.cpp:
3329         (WebKit::WebViewImpl::WebViewImpl):
3330         (WebKit::WebViewImpl::scrollBy): Handle fling callback conditionally based
3331         on initiating device. Touchpad flings generate wheels. Touchscreen flings
3332         use gesture events.
3333         (WebKit::WebViewImpl::handleGestureEvent):
3334         (WebKit::WebViewImpl::transferActiveWheelFlingAnimation):
3335         * src/WebViewImpl.h:
3336
3337 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
3338
3339         Add explicit keyword to constructors in platform-specific InspectorClient
3340         https://bugs.webkit.org/show_bug.cgi?id=107255
3341
3342         Reviewed by Kentaro Hara.
3343
3344         Add explicit keyword to constructors that take one argument
3345         in platform-specific implementation of InspectorClient.
3346
3347         * src/InspectorClientImpl.h:
3348         (InspectorClientImpl):
3349
3350 2013-01-17  Dominic Cooney  <dominicc@chromium.org>
3351
3352         [Chromium] Unreviewed gardening.
3353
3354         Roll Chromium to 177561.
3355
3356         * DEPS:
3357
3358 2013-01-17  Alpha Lam  <hclam@chromium.org>
3359
3360         [chromium] Disable a unit test
3361         https://bugs.webkit.org/show_bug.cgi?id=107206
3362
3363         Unreviewed. Disable a failing test due to 140025.
3364
3365         * tests/WebFrameTest.cpp:
3366
3367 2013-01-17  Sheriff Bot  <webkit.review.bot@gmail.com>
3368
3369         Unreviewed, rolling out r140023.
3370         http://trac.webkit.org/changeset/140023
3371         https://bugs.webkit.org/show_bug.cgi?id=107176
3372
3373         Broke some tests (Requested by anttik on #webkit).
3374
3375         * tests/RenderTableCellTest.cpp:
3376         * tests/RenderTableRowTest.cpp:
3377
3378 2013-01-17  John Mellor  <johnme@chromium.org>
3379
3380         [chromium] Double-tap zoom should take into account accessibility fontScaleFactor
3381         https://bugs.webkit.org/show_bug.cgi?id=107123
3382
3383         Reviewed by Adam Barth.
3384
3385         Platforms which support Text Autosizing (currently just Chrome for
3386         Android) may provide a textAutosizingFontScaleFactor (defaults to 1.0).
3387
3388         This value is intended to be chosen by the user to indicate how large
3389         they want text to appear, for example Chrome for Android has a "Text
3390         scaling" slider in Settings > Accessibility that lets you choose a value
3391         in the range 50% - 200% (defaults to 100%*).
3392
3393         For text in wide columns that typically gets autosized, this value is
3394         applied by multiplying the textAutosizingMultiplier computed for each
3395         cluster by the textAutosizingFontScaleFactor. Double-tap zoom will fit
3396         the column to the screen (ignoring the textAutosizingFontScaleFactor)
3397         since the column is wide. This part already works.
3398
3399         For text in narrow columns that doesn't get autosized, the
3400         textAutosizingFontScaleFactor is not applied through Text Autosizing,
3401         and instead needs to be applied by adjusting the double-tap zoom level.
3402         When double-tapping on narrow columns, instead of fitting the column to
3403         the screen (which would often zoom in excessively far), the existing
3404         logic in computeScaleAndScrollForHitRect applies a maximum zoom level
3405         called the legibleScale. This value needs to be multiplied by the
3406         textAutosizingFontScaleFactor, so that we zoom in proportionately
3407         further on non-autosized narrow columns, hence the effective text size
3408         (taking into account zoom) will have increased in proportion to the
3409         textAutosizingFontScaleFactor as expected.
3410
3411         * src/WebViewImpl.cpp:
3412         (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
3413             Multiplies legibleScale (the maximum zoom level) by the
3414             textAutosizingFontScaleFactor.
3415         * tests/WebFrameTest.cpp:
3416             Added WebFrameTest.DivAutoZoomScaleFontScaleFactorTest based on
3417             WebFrameTest.DivAutoZoomScaleBoundsTest to test the interaction
3418             between textAutosizingFontScaleFactor and the double-tap zoom logic.
3419             Also did minor cleanup to WebFrameTest.DivAutoZoomScaleBoundsTest.
3420
3421 2013-01-17  Alexandre Elias  <aelias@chromium.org>
3422
3423         [chromium] Make new-style page scale work with fixed layout
3424         https://bugs.webkit.org/show_bug.cgi?id=106951
3425
3426         Reviewed by Adam Barth.
3427
3428         This makes non-CSS-transform page scaling work with fixed-layout mode,
3429         including viewport tag support.
3430
3431         - dispatchViewportPropertiesDidChange() now works entirely with DIP
3432         pixels instead of physical pixels, and is made compatible with
3433         separating deviceScaleFactor from pageScaleFactor.
3434
3435         - In this mode, the "layout viewport" size in the pinch-zoom model is
3436         made a first-class concept separate from the device size.  This
3437         is a viewport with the same aspect ratio as the device but with the
3438         layout width of the page.  This viewport is used:
3439           - As FrameView::visibleContentRect.
3440           - Returned from WebView::size().
3441           - Given to the compositor as layoutViewportSize.
3442
3443         - m_deviceScaleInCompositor is deleted as it's clearer to use the
3444         applyDeviceScaleInCompositor setting directly.
3445
3446         * src/ChromeClientImpl.cpp:
3447         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
3448         * src/WebViewImpl.cpp:
3449         (WebKit::WebViewImpl::WebViewImpl):
3450         (WebKit::WebViewImpl::size):
3451         (WebKit):
3452         (WebKit::WebViewImpl::resize):
3453         (WebKit::WebViewImpl::setPageScaleFactor):
3454         (WebKit::WebViewImpl::setDeviceScaleFactor):
3455         (WebKit::WebViewImpl::layoutSize):
3456         (WebKit::WebViewImpl::computePageScaleFactorLimits):
3457         (WebKit::WebViewImpl::dipSize):
3458         (WebKit::WebViewImpl::didChangeContentsSize):
3459         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3460         (WebKit::WebViewImpl::updateLayerTreeViewport):
3461         * src/WebViewImpl.h:
3462         (WebViewImpl):
3463
3464 2013-01-17  Sheriff Bot  <webkit.review.bot@gmail.com>
3465
3466         Unreviewed.  Rolled Chromium DEPS to r177369.  Requested by
3467         ajuma via sheriffbot.
3468
3469         * DEPS:
3470
3471 2013-01-17  Eugene Klyuchnikov  <eustas@chromium.org>
3472
3473         Web Inspector: Profiler: split "getProfile" to "getCPUProfile" and "loadHeapSnapshot"
3474         https://bugs.webkit.org/show_bug.cgi?id=104545
3475
3476         Reviewed by Yury Semikhatsky.
3477
3478         Adopt changes: mimic old behavior.
3479
3480         * src/WebDevToolsAgentImpl.cpp: Adopt signature changes.
3481
3482 2013-01-17  Yury Semikhatsky  <yurys@chromium.org>
3483
3484         Web Inspector: add WebDeToolsAgentImpl as task observer on reattach
3485         https://bugs.webkit.org/show_bug.cgi?id=107106
3486
3487         Reviewed by Pavel Feldman.
3488
3489         Register WebDevToolsAgentImpl as task observer when it client is reattached.
3490
3491         * src/WebDevToolsAgentImpl.cpp:
3492         (WebKit::WebDevToolsAgentImpl::reattach):
3493
3494 2013-01-16  Dominic Cooney   <dominicc@chromium.org>