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