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