924799c43915c3fa5dfade2b5117c25e3f7dbdd4
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-04-19  Dirk Pranke  <dpranke@chromium.org>
2
3         Unreviewed, attempting build fix.
4
5         Disable leveldb to work around
6         http://code.google.com/p/leveldb/issues/detail?id=1.
7
8         * features.gypi:
9
10 2011-04-19  Dominic Cooney  <dominicc@chromium.org>
11
12         Reviewed by Dimitri Glazkov.
13
14         Check the type of the wrapper when unwrapping NPObjects to native
15         Ranges and Elements
16         https://bugs.webkit.org/show_bug.cgi?id=58957
17
18         * src/WebBindings.cpp:
19         (WebKit::getRangeImpl): check HasInstance
20         (WebKit::getElementImpl): check HasInstance
21
22 2011-04-19  Evan Martin  <evan@chromium.org>
23
24         Reviewed by Darin Fisher.
25
26         [chromium] didReceiveTitle API signature should not change
27         https://bugs.webkit.org/show_bug.cgi?id=58909
28
29         My previous attempt at a temporary shim was wrong.
30         This second try should correctly work with older clients.
31
32         * public/WebFrameClient.h:
33         (WebKit::WebFrameClient::didReceiveTitle):
34
35 2011-04-19  Jungshik Shin  <jshin@chromium.org>
36
37         Reviewed by Adam Barth
38
39         Fix the compile failure in UniscribeHelperTest.cpp due to
40         a change in UniscribeHelper made by the CL for bug 48860
41         (r84264)
42
43         http://bugs.webkit.org/show_bug.cgi?id=48860
44
45         * tests/UniscribeHelperTest.cpp:
46         (TEST_F):
47
48 2011-04-19  Stuart Morgan  <stuartmorgan@chromium.org>
49
50         Reviewed by Tony Chang.
51
52         [chromium] Clicking on plugin for first time blocks focus shift
53         https://bugs.webkit.org/show_bug.cgi?id=58419
54
55         Switched to using FocusController when moving focus to a plugin
56         so that cross-frame focus changes are handled correctly.
57
58         * src/WebPluginContainerImpl.cpp:
59         (WebKit::WebPluginContainerImpl::handleMouseEvent):
60
61 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
62
63         Reviewed by Pavel Feldman.
64
65         Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
66         https://bugs.webkit.org/show_bug.cgi?id=58883
67
68         Renamed lengthReceived to encodedDataLength/dataLength.
69
70         * public/WebURLLoaderClient.h:
71         (WebKit::WebURLLoaderClient::didReceiveData):
72         * src/AssociatedURLLoader.cpp:
73         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
74         * src/FrameLoaderClientImpl.cpp:
75         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
76         * src/FrameLoaderClientImpl.h:
77         * src/ResourceHandle.cpp:
78         (WebCore::ResourceHandleInternal::didReceiveData):
79
80 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
81
82         Reviewed by Pavel Feldman.
83
84         Chromium DevTools: Network panel timing test is flaky
85         https://bugs.webkit.org/show_bug.cgi?id=58699
86
87         Fixed network timing test flakiness.
88
89         * src/js/Tests.js:
90         (.TestSuite.prototype.testNetworkTiming.finishResource):
91
92 2011-04-19  Andrey Kosyakov  <caseq@chromium.org>
93
94         Reviewed by Pavel Feldman.
95
96         Web Inspector: add chrome.devTools alias to webInspector namespace for chromium port
97         https://bugs.webkit.org/show_bug.cgi?id=58894
98
99         * src/js/DevTools.js:
100         (WebInspector.platformExtensionAPI):
101
102 2011-04-19  Kinuko Yasuda  <kinuko@chromium.org>
103
104         Not reviewed; another build fix attempt.
105
106         * src/StorageInfoChromium.cpp:
107         (WebCore::StorageInfo::queryUsageAndQuota):
108         (WebCore::StorageInfo::requestQuota):
109         * src/WebStorageQuotaCallbacksImpl.cpp:
110         (WebKit::WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl):
111         * src/WebStorageQuotaCallbacksImpl.h:
112
113 2011-04-19  Kinuko Yasuda  <kinuko@chromium.org>
114
115         Reviewed by David Levin.
116
117         [Chromium] Enable QUOTA API at runtime if enable-quota flag is given
118         https://bugs.webkit.org/show_bug.cgi?id=58784
119
120         * features.gypi: Added ENABLE_QUOTA=1.
121         * public/WebRuntimeFeatures.h:
122         * src/WebRuntimeFeatures.cpp:
123         (WebKit::WebRuntimeFeatures::enableQuota): Added.
124         (WebKit::WebRuntimeFeatures::isQuotaEnabled): Added.
125
126 2011-04-19  John Gregg  <johnnyg@google.com>
127
128         Reviewed by Darin Fisher.
129
130         Enable folder drag-n-drop when using a "webkitdirectory" file input
131         https://bugs.webkit.org/show_bug.cgi?id=58401
132
133         This uses a new ChromeClient API to enumerate the directory and 
134         return all the files, as if the user had selected that directory
135         by clicking the control in the normal way.
136
137         * public/WebViewClient.h:
138         (WebKit::WebViewClient::enumerateChosenDirectory):
139         * src/ChromeClientImpl.cpp:
140         (WebKit::ChromeClientImpl::enumerateChosenDirectory):
141         * src/ChromeClientImpl.h:
142
143 2011-04-18  Evan Martin  <evan@chromium.org>
144
145         Reviewed by Eric Seidel.
146
147         [chromium] expose title direction to webkit client
148         https://bugs.webkit.org/show_bug.cgi?id=58823
149
150         * public/WebFrameClient.h:
151         (WebKit::WebFrameClient::didReceiveTitle):
152         Add new param to API.
153
154         * src/FrameLoaderClientImpl.cpp:
155         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
156         Pass new param in API.
157
158 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
159
160         Reviewed by Adam Barth.
161
162         Rename PLATFORM(CG) to USE(CG)
163         https://bugs.webkit.org/show_bug.cgi?id=58729
164
165         * src/GraphicsContext3DChromium.cpp:
166         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
167         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
168         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
169         (WebCore::GraphicsContext3DInternal::reshape):
170         * src/GraphicsContext3DInternal.h:
171         * src/PlatformBridge.cpp:
172         * src/WebViewImpl.cpp:
173         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
174
175 2011-04-15  John Bates  <jbates@google.com>
176
177         Reviewed by Kenneth Russell.
178
179         Change WebGraphicsContext3D virtuals to pure virtuals as intended
180         https://bugs.webkit.org/show_bug.cgi?id=58479
181
182         * public/WebGraphicsContext3D.h:
183
184 2011-04-15  Shishir Agrawal  <shishir@chromium.org>
185
186         Reviewed by James Robinson.
187
188         Add a flag to guard Page Visibility API changes.
189         https://bugs.webkit.org/show_bug.cgi?id=58464
190
191         * features.gypi:
192
193 2011-04-15  Charlie Reis  <creis@chromium.org>
194
195         Reviewed by Darin Fisher.
196
197         [Chromium] fast/events/popup-allowed-from-gesture-initiated-form-submit.html causing debug ASSERT
198         https://bugs.webkit.org/show_bug.cgi?id=44079
199
200         Remove an assert whose invariant doesn't hold.
201
202         * src/FrameLoaderClientImpl.cpp:
203
204 2011-04-15  Kinuko Yasuda  <kinuko@chromium.org>
205
206         Reviewed by David Levin.
207
208         Expose unified Quota API if QUOTA build flag is enabled
209         https://bugs.webkit.org/show_bug.cgi?id=58648
210
211         * src/AssertMatchingEnums.cpp: Added enum assertions.
212         * src/StorageInfoChromium.cpp: Made a build fix.
213
214 2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>
215
216         Reviewed by Pavel Feldman.
217
218         Web Inspector: Rename rawRequestHeadersText and RawResponseHeadersText to requestHeadersText and responseHeadersText
219         https://bugs.webkit.org/show_bug.cgi?id=58650
220
221         * public/WebHTTPLoadInfo.h:
222         * src/WebHTTPLoadInfo.cpp:
223         (WebKit::WebHTTPLoadInfo::requestHeadersText):
224         (WebKit::WebHTTPLoadInfo::setRequestHeadersText):
225         (WebKit::WebHTTPLoadInfo::responseHeadersText):
226         (WebKit::WebHTTPLoadInfo::setResponseHeadersText):
227
228 2011-04-15  Zelidrag Hornung  <zelidrag@chromium.org>
229
230         Reviewed by Darin Fisher.
231
232         Added enums for external file system type and exposed factory function
233         for creating File- and DirectoryEntry objects from Chromium side.
234         https://bugs.webkit.org/show_bug.cgi?id=58456
235
236         * public/WebFileSystem.h:
237         * public/WebFrame.h:
238         * src/AssertMatchingEnums.cpp:
239         * src/WebFrameImpl.cpp:
240         (WebKit::WebFrameImpl::createFileSystem):
241         (WebKit::WebFrameImpl::createFileEntry):
242         * src/WebFrameImpl.h:
243
244 2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>
245
246         Reviewed by Pavel Feldman.
247
248         Web Inspector: [Chromium] Create tests for network panel timing, size and raw headers text
249         https://bugs.webkit.org/show_bug.cgi?id=58566
250
251         Added network timing, size and raw headers tests for Inspector
252         Since chromium used different version of network stack for layout
253         tests, these are interactive ui tests (DevToolsSanityTest.TestNetwork*)
254
255         * src/js/Tests.js:
256         (.TestSuite.prototype.testNetworkSize.finishResource):
257         (.TestSuite.prototype.testNetworkSyncSize.finishResource):
258         (.TestSuite.prototype.testNetworkRawHeadersText.finishResource):
259         (.TestSuite.prototype.testNetworkTiming.finishResource):
260
261 2011-04-14  Vsevolod Vlasov  <vsevik@chromium.org>
262
263         Reviewed by Pavel Feldman.
264
265         Web Inspector: Enable raw HTTP headers support
266         https://bugs.webkit.org/show_bug.cgi?id=58259
267
268         Added raw headers text support to inspector.
269
270         * public/WebHTTPLoadInfo.h:
271         * src/WebHTTPLoadInfo.cpp:
272         (WebKit::WebHTTPLoadInfo::rawRequestHeadersText):
273         (WebKit::WebHTTPLoadInfo::setRawRequestHeadersText):
274         (WebKit::WebHTTPLoadInfo::rawResponseHeadersText):
275         (WebKit::WebHTTPLoadInfo::setRawResponseHeadersText):
276
277 2011-04-14  Vsevolod Vlasov  <vsevik@chromium.org>
278
279         Reviewed by Pavel Feldman.
280
281         Web Inspector: ResourceResponse should have encodedDataLength field for synchronous requests transfer size
282         https://bugs.webkit.org/show_bug.cgi?id=58447
283
284         FrameLoader now takes encoded data length for synchronous requests from the field with the same name.
285
286         * public/WebHTTPLoadInfo.h:
287         * src/WebHTTPLoadInfo.cpp:
288         (WebKit::WebHTTPLoadInfo::encodedDataLength):
289         (WebKit::WebHTTPLoadInfo::setEncodedDataLength):
290
291 2011-04-14  Alok Priyadarshi  <alokp@chromium.org>
292
293         Reviewed by James Robinson.
294
295         Remove dependency on chromium skia::PlatformCanvas
296         https://bugs.webkit.org/show_bug.cgi?id=57563
297
298         * public/WebCanvas.h:
299         * src/WebFrameImpl.cpp:
300         (WebKit::WebFrameImpl::printPage):
301         * tests/TransparencyWinTest.cpp:
302         (WebCore::drawNativeRect):
303         (WebCore::getPixelAt):
304         (WebCore::clearTopLayerAlphaChannel):
305         (WebCore::clearTopLayerAlphaPixel):
306         (WebCore::TEST):
307
308 2011-04-14  Brian Salomon  <bsalomon@google.com>
309
310         Reviewed by Kenneth Russell.
311
312         In skia platform call SkBitmap::notifyPixelsChanged on WebGL readback
313         https://bugs.webkit.org/show_bug.cgi?id=58543
314
315         No new tests. Tested by fast/canvas/webgl/canvas-test.html
316
317         * src/GraphicsContext3DChromium.cpp:
318         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
319
320 2011-04-14  Adrienne Walker  <enne@google.com>
321
322         Reviewed by James Robinson.
323
324         [chromium] TilingData should return 1 tile if tile size is texture size.
325         https://bugs.webkit.org/show_bug.cgi?id=58364
326
327         Update test to properly handle this case.
328
329         * tests/TilingDataTest.cpp:
330         (WebCore::TEST):
331
332 2011-04-14  Bill Budge  <bbudge@chromium.org>
333
334         Reviewed by Darin Fisher.
335
336         Make WebURLLoaderOptions disallow cross origin requests by default.
337         https://bugs.webkit.org/show_bug.cgi?id=58475
338
339         No new tests. Exposes no new functionality.
340
341         * public/WebURLLoaderOptions.h:
342         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
343
344 2011-04-13  James Robinson  <jamesr@chromium.org>
345
346         Reviewed by Simon Fraser.
347
348         Allow setting composited backing stores for scrollbars and scroll corners
349         https://bugs.webkit.org/show_bug.cgi?id=57202
350
351         Remove a lot of scrollbar hacks from the chromium compositor implementation now that
352         scrollbars go to real layers.
353
354         * src/WebScrollbarImpl.cpp:
355         (WebKit::WebScrollbarImpl::invalidateScrollCornerRect):
356         (WebKit::WebScrollbarImpl::scrollCornerPresent):
357         * src/WebScrollbarImpl.h:
358         (WebKit::WebScrollbarImpl::scrollCornerRect):
359         * src/WebViewImpl.cpp:
360         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
361         (WebKit::WebViewImpl::reallocateRenderer):
362
363 2011-04-13  John Abd-El-Malek  <jam@chromium.org>
364
365         Reviewed by Jian Li.
366
367         [chromium] Remove unnecessary #define now that chrome has rolled to the latest WebKit
368         https://bugs.webkit.org/show_bug.cgi?id=58474
369
370         * DEPS:
371         * public/WebSpellCheckClient.h:
372
373 2011-04-13  Zhenyao Mo  <zmo@google.com>
374
375         Reviewed by Kenneth Russell.
376
377         Extension3D needs to provide a way to check if an extension is enabled
378         https://bugs.webkit.org/show_bug.cgi?id=58410
379
380         Implement isEnabled() in chromium port.
381
382         * src/Extensions3DChromium.cpp:
383         (WebCore::Extensions3DChromium::isEnabled):
384         * src/GraphicsContext3DChromium.cpp:
385         (WebCore::GraphicsContext3DInternal::isExtensionEnabled):
386         * src/GraphicsContext3DInternal.h:
387
388 2011-04-13  Kinuko Yasuda  <kinuko@chromium.org>
389
390         Reviewed by David Levin.
391
392         Add mock implementation and plumbing code for unified Quota API
393         https://bugs.webkit.org/show_bug.cgi?id=57927
394
395         Added plumbing code for the quota API, that is based on the
396         discussion on public-webapps:
397         http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0346.html
398
399         * WebKit.gyp: Added new file entries.
400         * src/StorageInfoChromium.cpp: Added.
401         * src/WebStorageQuotaCallbacksImpl.cpp: Added. An implementation of
402         WebStorageQuotaCallbacks.
403         * src/WebStorageQuotaCallbacksImpl.h: Added.
404
405 2011-04-12  Hans Wennborg  <hans@chromium.org>
406
407         Reviewed by Jeremy Orlow.
408
409         Chromium: Set ENABLE_LEVELDB=1 and add leveldb and snappy to DEPS
410         https://bugs.webkit.org/show_bug.cgi?id=58343
411
412         Set ENABLE_LEVELDB=1 so that code gets compiled by the EWS bots.
413         Add the necessary dependencies to the DEPS file.
414
415         * DEPS:
416         * features.gypi:
417
418 2011-04-12  Kent Tamura  <tkent@chromium.org>
419
420         Reviewed by Dimitri Glazkov.
421
422         [Chromium] Add WebSettings::setValidationMessageTimerMagnification()
423         https://bugs.webkit.org/show_bug.cgi?id=57426
424
425         * public/WebSettings.h: Declare new function.
426         * src/WebSettingsImpl.cpp:
427         (WebKit::WebSettingsImpl::setValidationMessageTimerMagnification):
428          Passing the specified value to WebCore::Settings.
429         * src/WebSettingsImpl.h: Declare new function.
430
431 2011-04-12  Antoine Labour  <piman@chromium.org>
432
433         Reviewed by Kenneth Russell.
434
435         Allow WebView users to recreate dependent contexts after a context lost
436         event. Similarly to the startup case, a temporary context gets created,
437         that gets used by the layer renderer once it itself gets recreated.
438         https://bugs.webkit.org/show_bug.cgi?id=58385
439
440         * src/WebViewImpl.cpp:
441         (WebKit::WebViewImpl::reallocateRenderer): use the temporary context to
442         recreate the layer renderer if it's valid.
443         (WebKit::WebViewImpl::graphicsContext3D): create a temporary context if
444         the layer renderer's context is lost.
445
446 2011-04-12  Adrienne Walker  <enne@google.com>
447
448         Reviewed by James Robinson.
449
450         [chromium] TilingData mishandles very small texture sizes
451         https://bugs.webkit.org/show_bug.cgi?id=58364
452
453         Update test to properly handle texture sizes of 0-3.
454
455         * tests/TilingDataTest.cpp:
456         (WebCore::TEST):
457
458 2011-04-12  Jian Li  <jianli@chromium.org>
459
460         Unreviewed, rolling out r83649.
461         http://trac.webkit.org/changeset/83649
462         https://bugs.webkit.org/show_bug.cgi?id=57563
463
464         This patch causes compiling errors for chromium
465
466         * public/WebCanvas.h:
467         * src/WebFrameImpl.cpp:
468         (WebKit::WebFrameImpl::printPage):
469         * tests/TransparencyWinTest.cpp:
470         (WebCore::drawNativeRect):
471         (WebCore::getPixelAt):
472         (WebCore::clearTopLayerAlphaChannel):
473         (WebCore::clearTopLayerAlphaPixel):
474         (WebCore::TEST):
475
476 2011-04-12  John Abd-El-Malek  <jam@chromium.org>
477
478         Reviewed by Jian Li.
479
480         [chromium] Fix spellcheck regression in context menus
481         https://bugs.webkit.org/show_bug.cgi?id=58386
482
483         * src/ContextMenuClientImpl.cpp:
484         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
485
486 2011-04-12  Noel Gordon  <noel.gordon@gmail.com>
487
488         Reviewed by Tony Chang.
489
490         [chromium] Use new dragTargetDragEnter() function signature
491         https://bugs.webkit.org/show_bug.cgi?id=58303
492
493         After WebKit/chromium/DEPS rolls to chromium r80907, the drag identity
494         based version of dragTargetDragEnter() is no longer used; remove it.
495
496         * public/WebView.h:
497         * src/WebViewImpl.cpp:
498         * src/WebViewImpl.h:
499
500 2011-04-12  Alok Priyadarshi  <alokp@chromium.org>
501
502         Reviewed by James Robinson.
503
504         Remove dependency on chromium skia::PlatformCanvas
505         https://bugs.webkit.org/show_bug.cgi?id=57563
506
507         * public/WebCanvas.h:
508         * src/WebFrameImpl.cpp:
509         (WebKit::WebFrameImpl::printPage):
510         * tests/TransparencyWinTest.cpp:
511         (WebCore::drawNativeRect):
512         (WebCore::getPixelAt):
513         (WebCore::clearTopLayerAlphaChannel):
514         (WebCore::clearTopLayerAlphaPixel):
515         (WebCore::TEST):
516
517 2011-04-12  Adam Barth  <abarth@webkit.org>
518
519         Revert unintentional changes to WebKit.
520
521         * public/WebSettings.h:
522         * src/WebSettingsImpl.cpp:
523         * src/WebSettingsImpl.h:
524
525 2011-04-11  John Abd-El-Malek  <jam@chromium.org>
526
527         Reviewed by Darin Fisher.
528
529         [chromium]: Get the list of misspelled words in the WebKit code insetad of in chromium's RenderView
530         https://bugs.webkit.org/show_bug.cgi?id=58260
531
532         * public/WebContextMenuData.h:
533         * public/WebSpellCheckClient.h:
534         (WebKit::WebSpellCheckClient::spellCheck):
535         * src/ContextMenuClientImpl.cpp:
536         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
537         * src/EditorClientImpl.cpp:
538         (WebKit::EditorClientImpl::checkSpellingOfString):
539
540 2011-04-12  Bill Budge  <bbudge@chromium.org>
541
542         Reviewed by Darin Fisher.
543
544         Move the WebURLLoaderOptions struct into its own file and rename the CrossOriginRequestPolicy enum to conform to the WebKit coding standard.
545         https://bugs.webkit.org/show_bug.cgi?id=58287
546
547         No new tests. No new functionality exposed.
548
549         * WebKit.gyp:
550         * public/WebURLLoader.h:
551         * public/WebURLLoaderOptions.h: Added.
552         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
553         * src/AssociatedURLLoader.cpp:
554         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
555         * src/AssociatedURLLoader.h:
556
557 2011-04-11  Pavel Podivilov  <podivilov@chromium.org>
558
559         Reviewed by Pavel Feldman.
560
561         Web Inspector: [chromium] script formatting doesn't work when chromium is built with debug_devtools=1.
562         https://bugs.webkit.org/show_bug.cgi?id=58232
563
564         * WebKit.gyp:
565
566 2011-04-11  John Bates  <jbates@google.com>
567
568         Reviewed by Kenneth Russell.
569
570         chromium support for glSetLatch and glWaitLatch between 3D contexts
571         https://bugs.webkit.org/show_bug.cgi?id=58003
572
573         * public/WebGraphicsContext3D.h:
574         (WebKit::WebGraphicsContext3D::getParentToChildLatchCHROMIUM):
575         (WebKit::WebGraphicsContext3D::getChildToParentLatchCHROMIUM):
576         (WebKit::WebGraphicsContext3D::waitLatchCHROMIUM):
577         (WebKit::WebGraphicsContext3D::setLatchCHROMIUM):
578         * src/Extensions3DChromium.cpp:
579         (WebCore::Extensions3DChromium::waitLatchCHROMIUM):
580         (WebCore::Extensions3DChromium::setLatchCHROMIUM):
581         * src/GraphicsContext3DChromium.cpp:
582         * src/GraphicsContext3DInternal.h:
583
584 2011-04-11  Ryosuke Niwa  <rniwa@webkit.org>
585
586         Reviewed by Tony Chang.
587
588         [chromium] Crash in WebViewImpl::caretOrSelectionBounds
589         https://bugs.webkit.org/show_bug.cgi?id=58269
590
591         The bug was caused by caretOrSelectionBounds's incorrectly assuming
592         SelectionController::toNormalizedRange to always return a non-null Range.
593
594         Fixed the bug by adding a null pointer check. Also replaced calls to deprecatedNode
595         by containerNode() and calls to SelectionController::start() and SelectionController::end()
596         by calls to SelectionController::base() and SelectionController::extent() because
597         selection extends from base to extent, not from start to end.
598
599         Test: editing/selection/extend-over-file-input-by-drag-crash.html
600
601         * src/WebViewImpl.cpp:
602         (WebKit::WebViewImpl::caretOrSelectionBounds):
603
604 2011-04-11  Dimitri Glazkov  <dglazkov@chromium.org>
605
606         Reviewed by Eric Carlson.
607
608         Rename MediaControls to MediaControlRootElement.
609         https://bugs.webkit.org/show_bug.cgi?id=58250
610
611         Mechanical move using do-webcore-rename.
612
613 2011-04-11  Daniel Cheng  <dcheng@chromium.org>
614
615         Reviewed by Dmitry Titov.
616
617         [chromium] Implement image/png support in DataTransferItems
618         https://bugs.webkit.org/show_bug.cgi?id=58106
619
620         Add glue for reading image data from clipboard.
621
622         * DEPS:
623         * src/PlatformBridge.cpp:
624         (WebCore::PlatformBridge::clipboardReadImage):
625
626 2011-04-05  Hans Wennborg  <hans@chromium.org>
627
628         Reviewed by Steve Block.
629
630         IndexedDB: Introduce skeleton for LevelDB backend
631         https://bugs.webkit.org/show_bug.cgi?id=57827
632
633         * features.gypi:
634             Add ENABLE_LEVELDB=0.
635         * public/WebIDBFactory.h:
636         (WebKit::WebIDBFactory::open):
637             Remove pre-roll open() function.
638
639 2011-04-10  Kent Tamura  <tkent@chromium.org>
640
641         [Chromium] Fix build errors on "Win Shared Builder (dbg)"
642
643         * WebKit.gyp: Exclude WebFrameTest.cpp for WEBKIT_DLL.
644
645 2011-04-10  Kent Tamura  <tkent@chromium.org>
646
647         Unreviewed, rolling out r83353.
648         http://trac.webkit.org/changeset/83353
649         https://bugs.webkit.org/show_bug.cgi?id=58106
650
651         The new test doesn't pass on all Chromium platforms.
652
653         * DEPS:
654         * src/PlatformBridge.cpp:
655
656 2011-04-09  Sreeram Ramachandran  <sreeram@google.com>
657
658         Reviewed by Ryosuke Niwa.
659
660         Gather data on modal dialogs shown during unload events
661         https://bugs.webkit.org/show_bug.cgi?id=58115
662
663         Implementation of the new API to receive notifications of modal dialogs
664         dispatched during unload events. Count the notifications through a histogram.
665
666         No tests because it's not clear how to test chromium histograms from webkit.
667
668         * src/ChromeClientImpl.cpp:
669         (WebKit::ChromeClientImpl::willRunModalDialogDuringPageDismissal):
670         * src/ChromeClientImpl.h:
671
672 2011-04-08  Aaron Boodman  <aa@chromium.org>
673
674         Reviewed by Dmitry Titov.
675
676         Re-land http://trac.webkit.org/changeset/83007. This works
677         without changes after https://bugs.webkit.org/show_bug.cgi?id=58110.
678
679         https://bugs.webkit.org/show_bug.cgi?id=58096
680
681         * WebKit.gyp:
682         * WebKit.gypi:
683         * public/WebFrame.h:
684         * src/WebFrameImpl.cpp:
685         (WebKit::WebFrame::frameForContext):
686         * tests/WebFrameTest.cpp:
687         (WebKit::WebFrameTest::WebFrameTest):
688         (WebKit::WebFrameTest::registerMockedURLLoad):
689         (WebKit::WebFrameTest::loadFrame):
690         (WebKit::TEST_F):
691
692 2011-04-08  Daniel Cheng  <dcheng@chromium.org>
693
694         Reviewed by Dmitry Titov.
695
696         [chromium] Implement image/png support in DataTransferItems
697         https://bugs.webkit.org/show_bug.cgi?id=58106
698
699         Add glue for reading image data from clipboard.
700
701         * DEPS:
702         * src/PlatformBridge.cpp:
703         (WebCore::PlatformBridge::clipboardReadImage):
704
705 2011-04-08  Alpha Lam  <hclam@chromium.org>
706
707         Unreviewed, rolling out r83335.
708         http://trac.webkit.org/changeset/83335
709         https://bugs.webkit.org/show_bug.cgi?id=53556
710
711         GTK and QT bots are broken
712
713         * features.gypi:
714
715 2011-04-07  Anna Cavender  <annacc@chromium.org>
716
717         Reviewed by Eric Carlson.
718
719         Setup ENABLE(TRACK) feature define
720         https://bugs.webkit.org/show_bug.cgi?id=53556
721
722         * features.gypi:
723
724 2011-04-08  Dmitry Titov  <dimich@chromium.org>
725
726         Reviewed by Adam Barth.
727
728         [Chromium] Remove unneeded usage of V8::Lockers in IDB tests.
729         https://bugs.webkit.org/show_bug.cgi?id=58110
730         Since they are simple one-thread tests.
731         This code parallels the code in Chromium's idb bindings that uses v8 Lockers in utility process,
732         which is equally not needed since there is only one thread running v8 in that process.
733
734         * tests/IDBBindingUtilitiesTest.cpp:
735
736 2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
737
738         Reviewed by Pavel Feldman.
739
740         Web Inspector: add test for script formatter worker.
741         https://bugs.webkit.org/show_bug.cgi?id=57447
742
743         * WebKit.gyp:
744
745 2011-04-08  Kent Tamura  <tkent@chromium.org>
746
747         [Chromium] The second attempt of fixing for Windows (dbg)(shared) build.
748
749         * WebKit.gyp: webkit should not depend on webkit_support.
750
751 2011-04-08  Kent Tamura  <tkent@chromium.org>
752
753         [Chromium] Build fix for Windows (dbg)(shared).
754
755         * WebKit.gyp: Add webkit_support dependency, which is required for webkit_unittest_files.
756
757 2011-04-07  Kinuko Yasuda  <kinuko@chromium.org>
758
759         Reviewed by Darin Fisher.
760
761         [Chromium] Add WebKit API to query and request unified offline-storage quota
762         https://bugs.webkit.org/show_bug.cgi?id=57849
763         Just adding the API, this does not do anything yet.
764
765         The API is based on the public discussion for unified quota API:
766         http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0346.html
767         (The detail is not yet fully specified and might be subject to change.)
768
769         * public/WebFrameClient.h:
770         (WebKit::WebFrameClient::queryStorageUsageAndQuota): Added.
771         (WebKit::WebFrameClient::requestStorageQuota): Added.
772         * public/WebStorageQuotaCallbacks.h: Added.
773         (WebKit::WebStorageQuotaCallbacks::~WebStorageQuotaCallbacks):
774         * public/WebStorageQuotaType.h: Added.
775
776 2011-04-07  Dominic Cooney  <dominicc@google.com>
777
778         Reviewed by Dimitri Glazkov.
779
780         Let shadow DOM have a list of nodes at the top level of a shadow.
781         https://bugs.webkit.org/show_bug.cgi?id=57813
782
783         * src/WebElement.cpp:
784         (WebKit::WebElement::shadowRoot): shadow roots are ContainerNodes now
785
786 2011-04-07  Magnus Danielsson  <public@fuzzac.com>
787
788         Reviewed by Darin Fisher.
789
790         [chromium] WebPageSerializerImpl doesn't serialize sub-frames correctly
791         https://bugs.webkit.org/show_bug.cgi?id=53897
792
793         When serializing a web page using 'save page as', sub-frames and resources gets
794         saved in a sub-directory. However, frame elements didn't get updated to reference
795         these saved sub-frames, but were still referencing the original url. So when opening
796         a saved web page, any sub-frames would get pulled in from the original url rather than 
797         what was saved.
798
799         In addition to this, sub-frames in the sub-directory erroneously had the name of the
800         sub-directory prepended to the path of resources located in the same sub-directory.
801
802         * src/WebPageSerializerImpl.cpp:
803         (WebKit::WebPageSerializerImpl::openTagToStrne: Fixed resource paths in sub-frames. 
804         Also made sure sub-frames are referenced correctly from parent frame.
805         (WebKit::WebPageSerializerImpl::endTagToString): Removed constness from argument.
806         (WebKit::WebPageSerializerImpl::buildContentForNode): Ditto.
807         * src/WebPageSerializerImpl.h:
808
809 2011-04-07  Nat Duca  <nduca@chromium.org>
810
811         Reviewed by David Levin.
812
813         [chromium] Compositor thread infrastructure
814         https://bugs.webkit.org/show_bug.cgi?id=56131
815
816         Tests for chrome compositor thread and related infrastructure.
817
818         * WebKit.gyp:
819         * WebKit.gypi:
820         * tests/CCThreadTaskTest.cpp: Added.
821         (WebCore::TEST):
822         * tests/CCThreadTest.cpp: Added.
823         (WebCore::TEST):
824         (WebCore::PingPongUsingCondition::ping):
825         (WebCore::PingPongTestUsingTasks::ping):
826         (WebCore::PingPongTestUsingTasks::pong):
827         * tests/RunAllTests.cpp:
828         (main):
829
830 2011-04-07  Andrew Scherkus  <scherkus@chromium.org>
831
832         Revert ENABLE_TRACK patch due to compile failures.
833
834         * features.gypi:
835
836 2011-04-07  Pavel Feldman  <pfeldman@google.com>
837
838         Not reviewed: rolling chromium DEPS 80421:80767.
839
840         * DEPS:
841
842 2011-04-07  Vsevolod Vlasov  <vsevik@chromium.org>
843
844         Reviewed by Pavel Feldman.
845
846         Web Inspector: [Chromium] Rename didReceiveData2 to didReceiveData as part of enabling transfer size support.
847         https://bugs.webkit.org/show_bug.cgi?id=58036
848
849         Renamed didReceiveData2 to didReceiveData.
850
851         * public/WebURLLoaderClient.h:
852         (WebKit::WebURLLoaderClient::didReceiveData):
853         * src/AssociatedURLLoader.cpp:
854         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
855         * src/ResourceHandle.cpp:
856         (WebCore::ResourceHandleInternal::didReceiveData):
857
858 2011-04-07  Vsevolod Vlasov  <vsevik@chromium.org>
859
860         Reviewed by Pavel Feldman.
861
862         Web Inspector: [Chromium] Migrate didReceiveData in upstream for plugins as part of enabling transfer size support.
863         https://bugs.webkit.org/show_bug.cgi?id=58034
864
865         Migrated didReceiveData to support new lengthReceived parameter.
866
867         * src/AssociatedURLLoader.cpp:
868         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
869
870 2011-04-06  Asanka Herath  <asanka@chromium.org>
871
872         Reviewed by Darin Fisher.
873
874         Add new TargetType: TargetIsFavicon
875
876         https://bugs.webkit.org/show_bug.cgi?id=57659
877
878         * public/WebURLRequest.h:
879
880 2011-04-06  Alok Priyadarshi  <alokp@chromium.org>
881
882         Reviewed by Eric Seidel.
883
884         [chromium] Add settings API to enable accelerated drawing
885         https://bugs.webkit.org/show_bug.cgi?id=57863
886         
887         If accelerated drawing is enabled we try to render content and
888         root layers using GPU. Please note that this setting is ignored if
889         accelerated compositing is disabled.
890
891         * public/WebSettings.h:
892         * src/WebSettingsImpl.cpp:
893         (WebKit::WebSettingsImpl::setAcceleratedDrawingEnabled):
894         * src/WebSettingsImpl.h:
895
896 2011-04-05  Zelidrag Hornung  <zelidrag@chromium.org>
897
898         Reviewed by David Levin.
899
900         Added MediaTypeFile enum value to WebContextMenuData::MediaType.
901         https://bugs.webkit.org/show_bug.cgi?id=57566
902
903         * public/WebContextMenuData.h:
904
905 2011-04-05  Sheriff Bot  <webkit.review.bot@gmail.com>
906
907         Unreviewed, rolling out r83007.
908         http://trac.webkit.org/changeset/83007
909         https://bugs.webkit.org/show_bug.cgi?id=57920
910
911         Broke WebFrameTest.FrameForEnteredContext on Chromium-win and
912         Chromium-mac (Requested by tkent on #webkit).
913
914         * WebKit.gyp:
915         * WebKit.gypi:
916         * public/WebFrame.h:
917         * src/WebFrameImpl.cpp:
918         * tests/WebFrameTest.cpp:
919         (WebKit::WebFrameTest::WebFrameTest):
920         (WebKit::WebFrameTest::registerMockedURLLoad):
921         (WebKit::WebFrameTest::serveRequests):
922         (WebKit::TEST_F):
923
924 2011-04-05  James Kozianski  <koz@chromium.org>
925
926         Unreviewed, rolling out r82976.
927         http://trac.webkit.org/changeset/82976
928         https://bugs.webkit.org/show_bug.cgi?id=57566
929
930         Breaks chromium canary build
931
932         * public/WebContextMenuData.h:
933
934 2011-04-05  Aaron Boodman  <aa@chromium.org>
935
936         Reviewed by Adam Barth.
937
938         Add ability to get frame from v8 context to chromium WebKit API
939         https://bugs.webkit.org/show_bug.cgi?id=57516
940
941         * public/WebFrame.h:
942         * src/WebFrameImpl.cpp:
943         (WebKit::WebFrame::frameForV8Context):
944
945 2011-04-05  Nico Weber  <thakis@chromium.org>
946
947         Reviewed by Dimitri Glazkov.
948
949         [chromium] Don't have 'using namespace' declarations in header files
950         https://bugs.webkit.org/show_bug.cgi?id=57882
951
952         * src/EventListenerWrapper.cpp:
953         * src/EventListenerWrapper.h:
954         * src/VideoFrameChromiumImpl.h:
955         * src/WebDOMEventListener.cpp:
956         * src/WebDOMEventListenerPrivate.cpp:
957         * src/WebDOMEventListenerPrivate.h:
958         (WebKit::WebDOMEventListenerPrivate::ListenerInfo::ListenerInfo):
959
960 2011-04-05  Zelidrag Hornung  <zelidrag@chromium.org>
961
962         Reviewed by David Levin.
963
964         Added MediaTypeFile enum value to WebContextMenuData::MediaType.
965         https://bugs.webkit.org/show_bug.cgi?id=57566
966
967         * public/WebContextMenuData.h:
968
969 2011-04-04  MORITA Hajime  <morrita@google.com>
970
971         Reviewed by Ryosuke Niwa.
972
973         [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
974         https://bugs.webkit.org/show_bug.cgi?id=56085
975
976         Followed the signature change.
977         
978         * src/EditorClientImpl.h:
979         * src/EditorClientImpl.cpp:
980         * src/WebTextCheckingCompletionImpl.cpp
981
982 2011-04-05  Hans Wennborg  <hans@chromium.org>
983
984         Reviewed by Adam Barth
985
986         Clean up IndexedDB WebKit API
987         https://bugs.webkit.org/show_bug.cgi?id=57507
988
989         Rename the backend proxy files that didn't have Backend in their name.
990         Everything in WebKit should be in the WebKit namespace.
991         Put everything behind the feature flag so we're consistient.
992         Put the feature flag #if above includes.
993
994         * WebKit.gyp:
995         * src/IDBCallbacksProxy.cpp:
996         (WebKit::IDBCallbacksProxy::create):
997         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
998         (WebKit::IDBCallbacksProxy::onError):
999         (WebKit::IDBCallbacksProxy::onSuccess):
1000         * src/IDBCallbacksProxy.h:
1001         * src/IDBCursorBackendProxy.cpp:
1002         (WebKit::IDBCursorBackendProxy::create):
1003         (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
1004         * src/IDBCursorBackendProxy.h:
1005         * src/IDBDatabaseBackendProxy.cpp:
1006         (WebKit::IDBDatabaseBackendProxy::create):
1007         (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
1008         (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
1009         (WebKit::IDBDatabaseBackendProxy::name):
1010         (WebKit::IDBDatabaseBackendProxy::version):
1011         (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
1012         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
1013         (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
1014         (WebKit::IDBDatabaseBackendProxy::setVersion):
1015         (WebKit::IDBDatabaseBackendProxy::transaction):
1016         (WebKit::IDBDatabaseBackendProxy::close):
1017         (WebKit::IDBDatabaseBackendProxy::open):
1018         * src/IDBDatabaseCallbacksProxy.cpp:
1019         (WebKit::IDBDatabaseCallbacksProxy::create):
1020         (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
1021         * src/IDBDatabaseCallbacksProxy.h:
1022         * src/IDBFactoryBackendProxy.cpp:
1023         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1024         (WebKit::IDBFactoryBackendProxy::open):
1025         * src/IDBFactoryBackendProxy.h:
1026         * src/IDBIndexBackendProxy.cpp:
1027         (WebKit::IDBIndexBackendProxy::create):
1028         (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
1029         * src/IDBIndexBackendProxy.h:
1030         * src/IDBObjectStoreBackendProxy.cpp:
1031         (WebKit::IDBObjectStoreBackendProxy::create):
1032         (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
1033         (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
1034         (WebKit::IDBObjectStoreBackendProxy::name):
1035         (WebKit::IDBObjectStoreBackendProxy::keyPath):
1036         (WebKit::IDBObjectStoreBackendProxy::indexNames):
1037         (WebKit::IDBObjectStoreBackendProxy::get):
1038         (WebKit::IDBObjectStoreBackendProxy::put):
1039         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
1040         (WebKit::IDBObjectStoreBackendProxy::clear):
1041         (WebKit::IDBObjectStoreBackendProxy::createIndex):
1042         (WebKit::IDBObjectStoreBackendProxy::index):
1043         (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
1044         (WebKit::IDBObjectStoreBackendProxy::openCursor):
1045         * src/IDBObjectStoreBackendProxy.h: Added.
1046         * src/IDBObjectStoreProxy.h: Removed.
1047         * src/IDBTransactionBackendProxy.cpp:
1048         (WebKit::IDBTransactionBackendProxy::create):
1049         (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
1050         (WebKit::IDBTransactionBackendProxy::objectStore):
1051         * src/IDBTransactionBackendProxy.h:
1052         (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
1053         * src/IDBTransactionCallbacksProxy.cpp:
1054         (WebKit::IDBTransactionCallbacksProxy::create):
1055         (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
1056         * src/IDBTransactionCallbacksProxy.h:
1057         * src/WebIDBCallbacksImpl.cpp:
1058         (WebKit::WebIDBCallbacksImpl::onError):
1059         (WebKit::WebIDBCallbacksImpl::onSuccess):
1060         * src/WebIDBCallbacksImpl.h:
1061         * src/WebIDBCursorImpl.cpp:
1062         * src/WebIDBCursorImpl.h:
1063         * src/WebIDBDatabaseCallbacksImpl.cpp:
1064         (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
1065         * src/WebIDBDatabaseCallbacksImpl.h:
1066         * src/WebIDBDatabaseError.cpp:
1067         * src/WebIDBDatabaseImpl.cpp:
1068         * src/WebIDBDatabaseImpl.h:
1069         * src/WebIDBFactoryImpl.cpp:
1070         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
1071         * src/WebIDBFactoryImpl.h:
1072         * src/WebIDBIndexImpl.cpp:
1073         * src/WebIDBIndexImpl.h:
1074         * src/WebIDBKey.cpp:
1075         (WebKit::WebIDBKey::createFromValueAndKeyPath):
1076         (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
1077         * src/WebIDBKeyPath.cpp:
1078         (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
1079         * src/WebIDBKeyRange.cpp:
1080         * src/WebIDBObjectStoreImpl.cpp:
1081         * src/WebIDBObjectStoreImpl.h:
1082         * src/WebIDBTransactionCallbacksImpl.cpp:
1083         * src/WebIDBTransactionCallbacksImpl.h:
1084         * src/WebIDBTransactionImpl.cpp:
1085         * src/WebIDBTransactionImpl.h:
1086
1087 2011-04-05  Sailesh Agrawal  <sail@chromium.org>
1088
1089         Reviewed by Darin Fisher.
1090
1091         Don't clear existing files if the user cancels the file chooser dialog.
1092         https://bugs.webkit.org/show_bug.cgi?id=55200
1093
1094         * src/WebFileChooserCompletionImpl.cpp:
1095         (WebKit::WebFileChooserCompletionImpl::didChooseFile):
1096
1097 2011-04-05  John Mellor  <johnme@chromium.org>
1098
1099         Reviewed by Darin Fisher.
1100
1101         [chromium] Minor cleanup: simplify WebFrameImpl by using contentsToWindow instead of convertToContainingWindow.
1102         https://bugs.webkit.org/show_bug.cgi?id=55681
1103
1104         * src/WebFrameImpl.cpp:
1105         (WebKit::WebFrameImpl::find):
1106         (WebKit::WebFrameImpl::scopeStringMatches):
1107
1108 2011-04-05  Adam Barth  <abarth@webkit.org>
1109
1110         Roll Chromium DEPS.
1111
1112         * DEPS: Rolled!
1113
1114 2011-04-04  Chang Shu  <cshu@webkit.org>
1115
1116         Reviewed by Ryosuke Niwa.
1117
1118         setContentEditable with true/false/inherit string is not working properly
1119         https://bugs.webkit.org/show_bug.cgi?id=52058
1120
1121         Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
1122         as rendererIsEditable is for WebCore internal use.
1123
1124         * src/WebNode.cpp:
1125         (WebKit::WebNode::isContentEditable):
1126         * src/WebViewImpl.cpp:
1127         (WebKit::WebViewImpl::setFocus):
1128         (WebKit::WebViewImpl::setComposition):
1129         (WebKit::WebViewImpl::confirmComposition):
1130
1131 2011-04-04  Alexey Proskuryakov  <ap@apple.com>
1132
1133         Reviewed by Dan Bernstein.
1134
1135         REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
1136         https://bugs.webkit.org/show_bug.cgi?id=51230
1137         <rdar://problem/8780989>
1138
1139         * src/WebViewImpl.cpp: (WebKit::WebViewImpl::keyEvent): Moved Caps Lock handling from
1140         WebKits to WebCore, because WebKit shouldn't be smart.
1141
1142 2011-04-01  Adam Barth  <abarth@webkit.org>
1143
1144         Attempt to fix the Chromium build using the great and powerful git.
1145         This patch should be the remaining part of reverting Jeremy's ill-fated
1146         refactoring.
1147
1148         * src/IDBDatabaseProxy.cpp:
1149         (WebCore::IDBDatabaseProxy::create):
1150         (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
1151         (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
1152         (WebCore::IDBDatabaseProxy::name):
1153         (WebCore::IDBDatabaseProxy::version):
1154         (WebCore::IDBDatabaseProxy::objectStoreNames):
1155         (WebCore::IDBDatabaseProxy::createObjectStore):
1156         (WebCore::IDBDatabaseProxy::deleteObjectStore):
1157         (WebCore::IDBDatabaseProxy::setVersion):
1158         (WebCore::IDBDatabaseProxy::transaction):
1159         (WebCore::IDBDatabaseProxy::close):
1160         (WebCore::IDBDatabaseProxy::open):
1161         * src/IDBDatabaseProxy.h:
1162         * src/IDBObjectStoreProxy.cpp:
1163         (WebCore::IDBObjectStoreProxy::create):
1164         (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
1165         (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
1166         (WebCore::IDBObjectStoreProxy::name):
1167         (WebCore::IDBObjectStoreProxy::keyPath):
1168         (WebCore::IDBObjectStoreProxy::indexNames):
1169         (WebCore::IDBObjectStoreProxy::get):
1170         (WebCore::IDBObjectStoreProxy::put):
1171         (WebCore::IDBObjectStoreProxy::deleteFunction):
1172         (WebCore::IDBObjectStoreProxy::clear):
1173         (WebCore::IDBObjectStoreProxy::createIndex):
1174         (WebCore::IDBObjectStoreProxy::index):
1175         (WebCore::IDBObjectStoreProxy::deleteIndex):
1176         (WebCore::IDBObjectStoreProxy::openCursor):
1177
1178 2011-04-01  Adam Barth  <abarth@webkit.org>
1179
1180         Move these files back to their old locations.  I'm not sure why the
1181         rollout didn't move them properly.
1182
1183         * src/IDBDatabaseBackendProxy.cpp: Removed.
1184         * src/IDBDatabaseBackendProxy.h: Removed.
1185         * src/IDBDatabaseProxy.cpp: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
1186         * src/IDBDatabaseProxy.h: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
1187         * src/IDBObjectStoreBackendProxy.cpp: Removed.
1188         * src/IDBObjectStoreProxy.cpp: Copied from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
1189
1190 2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>
1191
1192         Unreviewed, rolling out r82738.
1193         http://trac.webkit.org/changeset/82738
1194         https://bugs.webkit.org/show_bug.cgi?id=57684
1195
1196         Broke storage/indexeddb/objectstore-autoincrement.html and
1197         InjectIDBKey (Requested by abarth|gardening on #webkit).
1198
1199         * WebKit.gyp:
1200         * src/IDBCallbacksProxy.cpp:
1201         (WebCore::IDBCallbacksProxy::create):
1202         (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
1203         (WebCore::IDBCallbacksProxy::onError):
1204         (WebCore::IDBCallbacksProxy::onSuccess):
1205         * src/IDBCallbacksProxy.h:
1206         * src/IDBCursorBackendProxy.cpp:
1207         (WebCore::IDBCursorBackendProxy::create):
1208         (WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy):
1209         * src/IDBCursorBackendProxy.h:
1210         * src/IDBDatabaseCallbacksProxy.cpp:
1211         (WebCore::IDBDatabaseCallbacksProxy::create):
1212         (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
1213         * src/IDBDatabaseCallbacksProxy.h:
1214         * src/IDBDatabaseProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
1215         (WebCore::IDBDatabaseProxy::create):
1216         (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
1217         (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
1218         (WebCore::IDBDatabaseProxy::name):
1219         (WebCore::IDBDatabaseProxy::version):
1220         (WebCore::IDBDatabaseProxy::objectStoreNames):
1221         (WebCore::IDBDatabaseProxy::createObjectStore):
1222         (WebCore::IDBDatabaseProxy::deleteObjectStore):
1223         (WebCore::IDBDatabaseProxy::setVersion):
1224         (WebCore::IDBDatabaseProxy::transaction):
1225         (WebCore::IDBDatabaseProxy::close):
1226         (WebCore::IDBDatabaseProxy::open):
1227         * src/IDBDatabaseProxy.h: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
1228         * src/IDBFactoryBackendProxy.cpp:
1229         (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1230         (WebCore::IDBFactoryBackendProxy::open):
1231         * src/IDBFactoryBackendProxy.h:
1232         * src/IDBIndexBackendProxy.cpp:
1233         (WebCore::IDBIndexBackendProxy::create):
1234         (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
1235         * src/IDBIndexBackendProxy.h:
1236         * src/IDBObjectStoreBackendProxy.h: Removed.
1237         * src/IDBObjectStoreProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
1238         (WebCore::IDBObjectStoreProxy::create):
1239         (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
1240         (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
1241         (WebCore::IDBObjectStoreProxy::name):
1242         (WebCore::IDBObjectStoreProxy::keyPath):
1243         (WebCore::IDBObjectStoreProxy::indexNames):
1244         (WebCore::IDBObjectStoreProxy::get):
1245         (WebCore::IDBObjectStoreProxy::put):
1246         (WebCore::IDBObjectStoreProxy::deleteFunction):
1247         (WebCore::IDBObjectStoreProxy::clear):
1248         (WebCore::IDBObjectStoreProxy::createIndex):
1249         (WebCore::IDBObjectStoreProxy::index):
1250         (WebCore::IDBObjectStoreProxy::deleteIndex):
1251         (WebCore::IDBObjectStoreProxy::openCursor):
1252         * src/IDBObjectStoreProxy.h: Added.
1253         * src/IDBTransactionBackendProxy.cpp:
1254         (WebCore::IDBTransactionBackendProxy::create):
1255         (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
1256         (WebCore::IDBTransactionBackendProxy::objectStore):
1257         * src/IDBTransactionBackendProxy.h:
1258         (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction):
1259         * src/IDBTransactionCallbacksProxy.cpp:
1260         (WebCore::IDBTransactionCallbacksProxy::create):
1261         (WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
1262         * src/IDBTransactionCallbacksProxy.h:
1263         * src/WebIDBCallbacksImpl.cpp:
1264         (WebCore::WebIDBCallbacksImpl::onError):
1265         (WebCore::WebIDBCallbacksImpl::onSuccess):
1266         * src/WebIDBCallbacksImpl.h:
1267         * src/WebIDBCursorImpl.cpp:
1268         * src/WebIDBCursorImpl.h:
1269         * src/WebIDBDatabaseCallbacksImpl.cpp:
1270         (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
1271         * src/WebIDBDatabaseCallbacksImpl.h:
1272         * src/WebIDBDatabaseError.cpp:
1273         * src/WebIDBDatabaseImpl.cpp:
1274         * src/WebIDBDatabaseImpl.h:
1275         * src/WebIDBFactoryImpl.cpp:
1276         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
1277         * src/WebIDBFactoryImpl.h:
1278         * src/WebIDBIndexImpl.cpp:
1279         * src/WebIDBIndexImpl.h:
1280         * src/WebIDBKey.cpp:
1281         (WebKit::WebIDBKey::createFromValueAndKeyPath):
1282         (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
1283         * src/WebIDBKeyPath.cpp:
1284         (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):
1285         * src/WebIDBKeyRange.cpp:
1286         * src/WebIDBObjectStoreImpl.cpp:
1287         * src/WebIDBObjectStoreImpl.h:
1288         * src/WebIDBTransactionCallbacksImpl.cpp:
1289         * src/WebIDBTransactionCallbacksImpl.h:
1290         * src/WebIDBTransactionImpl.cpp:
1291         * src/WebIDBTransactionImpl.h:
1292
1293 2011-03-30  Jeremy Orlow  <jorlow@chromium.org>
1294
1295         Reviewed by Nate Chapin.
1296
1297         Clean up IndexedDB WebKit API
1298         https://bugs.webkit.org/show_bug.cgi?id=57507
1299
1300         Rename the backend proxy files that didn't have Backend in their name.
1301         Everything in WebKit should be in the WebKit namespace.
1302         Put everything behind the feature flag so we're consistient.
1303         Put the feature flag #if above includes.
1304
1305         * WebKit.gyp:
1306         * src/IDBCallbacksProxy.cpp:
1307         (WebKit::IDBCallbacksProxy::create):
1308         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
1309         (WebKit::IDBCallbacksProxy::onError):
1310         (WebKit::IDBCallbacksProxy::onSuccess):
1311         * src/IDBCallbacksProxy.h:
1312         * src/IDBCursorBackendProxy.cpp:
1313         (WebKit::IDBCursorBackendProxy::create):
1314         (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
1315         * src/IDBCursorBackendProxy.h:
1316         * src/IDBDatabaseBackendProxy.cpp:
1317         (WebKit::IDBDatabaseBackendProxy::create):
1318         (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
1319         (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
1320         (WebKit::IDBDatabaseBackendProxy::name):
1321         (WebKit::IDBDatabaseBackendProxy::version):
1322         (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
1323         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
1324         (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
1325         (WebKit::IDBDatabaseBackendProxy::setVersion):
1326         (WebKit::IDBDatabaseBackendProxy::transaction):
1327         (WebKit::IDBDatabaseBackendProxy::close):
1328         (WebKit::IDBDatabaseBackendProxy::open):
1329         * src/IDBDatabaseCallbacksProxy.cpp:
1330         (WebKit::IDBDatabaseCallbacksProxy::create):
1331         (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
1332         * src/IDBDatabaseCallbacksProxy.h:
1333         * src/IDBFactoryBackendProxy.cpp:
1334         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1335         (WebKit::IDBFactoryBackendProxy::open):
1336         * src/IDBFactoryBackendProxy.h:
1337         * src/IDBIndexBackendProxy.cpp:
1338         (WebKit::IDBIndexBackendProxy::create):
1339         (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
1340         * src/IDBIndexBackendProxy.h:
1341         * src/IDBObjectStoreBackendProxy.cpp:
1342         (WebKit::IDBObjectStoreBackendProxy::create):
1343         (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
1344         (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
1345         (WebKit::IDBObjectStoreBackendProxy::name):
1346         (WebKit::IDBObjectStoreBackendProxy::keyPath):
1347         (WebKit::IDBObjectStoreBackendProxy::indexNames):
1348         (WebKit::IDBObjectStoreBackendProxy::get):
1349         (WebKit::IDBObjectStoreBackendProxy::put):
1350         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
1351         (WebKit::IDBObjectStoreBackendProxy::clear):
1352         (WebKit::IDBObjectStoreBackendProxy::createIndex):
1353         (WebKit::IDBObjectStoreBackendProxy::index):
1354         (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
1355         (WebKit::IDBObjectStoreBackendProxy::openCursor):
1356         * src/IDBObjectStoreBackendProxy.h: Added.
1357         * src/IDBObjectStoreProxy.h: Removed.
1358         * src/IDBTransactionBackendProxy.cpp:
1359         (WebKit::IDBTransactionBackendProxy::create):
1360         (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
1361         (WebKit::IDBTransactionBackendProxy::objectStore):
1362         * src/IDBTransactionBackendProxy.h:
1363         (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
1364         * src/IDBTransactionCallbacksProxy.cpp:
1365         (WebKit::IDBTransactionCallbacksProxy::create):
1366         (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
1367         * src/IDBTransactionCallbacksProxy.h:
1368         * src/WebIDBCallbacksImpl.cpp:
1369         (WebKit::WebIDBCallbacksImpl::onError):
1370         (WebKit::WebIDBCallbacksImpl::onSuccess):
1371         * src/WebIDBCallbacksImpl.h:
1372         * src/WebIDBCursorImpl.cpp:
1373         * src/WebIDBCursorImpl.h:
1374         * src/WebIDBDatabaseCallbacksImpl.cpp:
1375         (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
1376         * src/WebIDBDatabaseCallbacksImpl.h:
1377         * src/WebIDBDatabaseError.cpp:
1378         * src/WebIDBDatabaseImpl.cpp:
1379         * src/WebIDBDatabaseImpl.h:
1380         * src/WebIDBFactoryImpl.cpp:
1381         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
1382         * src/WebIDBFactoryImpl.h:
1383         * src/WebIDBIndexImpl.cpp:
1384         * src/WebIDBIndexImpl.h:
1385         * src/WebIDBKey.cpp:
1386         (WebKit::WebIDBKey::createFromValueAndKeyPath):
1387         (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
1388         * src/WebIDBKeyPath.cpp:
1389         (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
1390         * src/WebIDBKeyRange.cpp:
1391         * src/WebIDBObjectStoreImpl.cpp:
1392         * src/WebIDBObjectStoreImpl.h:
1393         * src/WebIDBTransactionCallbacksImpl.cpp:
1394         * src/WebIDBTransactionCallbacksImpl.h:
1395         * src/WebIDBTransactionImpl.cpp:
1396         * src/WebIDBTransactionImpl.h:
1397
1398 2011-03-30  Pavel Podivilov  <podivilov@chromium.org>
1399
1400         Reviewed by Pavel Feldman.
1401
1402         Web Inspector: [chromium] script formatting doesn't work when all scripts are concatenated.
1403         https://bugs.webkit.org/show_bug.cgi?id=57446
1404
1405         * WebKit.gyp:
1406         * scripts/inline_js_imports.py: Added.
1407
1408 2011-03-31  Victoria Kirst  <vrk@google.com>
1409
1410         Reviewed by Eric Carlson.
1411
1412         [chromium] Implement preload=none, setPreload hooks to media player
1413         https://bugs.webkit.org/show_bug.cgi?id=56983
1414
1415         This patch implements preload=none in Chromium. It also replaces
1416         the now-deprecated setAutobuffer method with setPreload.
1417
1418         * public/WebMediaPlayer.h:
1419         (WebKit::WebMediaPlayer::setPreload):
1420         * public/WebMediaPlayerClient.h:
1421         * src/WebMediaPlayerClientImpl.cpp:
1422         (WebKit::WebMediaPlayerClientImpl::preload):
1423         (WebKit::WebMediaPlayerClientImpl::load):
1424         (WebKit::WebMediaPlayerClientImpl::loadInternal):
1425         (WebKit::WebMediaPlayerClientImpl::prepareToPlay):
1426         (WebKit::WebMediaPlayerClientImpl::setPreload):
1427         (WebKit::WebMediaPlayerClientImpl::startDelayedLoad):
1428         (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
1429         * src/WebMediaPlayerClientImpl.h:
1430
1431 2011-03-31  Evan Martin  <evan@chromium.org>
1432
1433         Reviewed by Eric Seidel.
1434
1435         <title> should support dir attribute
1436         https://bugs.webkit.org/show_bug.cgi?id=50961
1437
1438         Update to new FrameLoaderClient interface.
1439
1440         * src/FrameLoaderClientImpl.cpp:
1441         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
1442         (WebKit::FrameLoaderClientImpl::setTitle):
1443         * src/FrameLoaderClientImpl.h:
1444         * src/WebDataSourceImpl.cpp:
1445         (WebKit::WebDataSourceImpl::pageTitle):
1446
1447 2011-03-30  David Levin  <levin@chromium.org>
1448
1449         Reviewed by Dmitry Titov.
1450
1451         UnlockNonLocked condition reached in WorkerFileSystemsCallbackBridge::mayPostTaskToWorker
1452         https://bugs.webkit.org/show_bug.cgi?id=57382
1453
1454         There were two issues to address:
1455         1. The use of a non-thread safe class (RefPtr) in a ThreadSafeRefCounted class.
1456            The problem was that this RefPtr could be changed on either thread.
1457         2. Keeping WorkerFileSystemCallbacksBridge alive for while it was being used
1458            including while its mutex was in use.
1459
1460         * src/WorkerFileSystemCallbacksBridge.cpp:
1461         (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnMainThread):
1462         Changed to take a PassRefPtr and leak the ref count as opposed to relying on
1463         dispatchTaskToMainThread to store the pointer in m_selfRef.
1464         (WebKit::WorkerFileSystemCallbacksBridge::dispatchTaskToMainThread): Remove the
1465         m_selfRef and hand off a PassRefPtr instead.
1466         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker): Balance out the leaked ref
1467         and ensure that WorkerFileSystemCallbacksBridge stays alive while the mutex is held.
1468         * src/WorkerFileSystemCallbacksBridge.h: Removed m_selfRef and derefIfWorkerIsStopped which
1469           was simply due to m_selfRef.
1470
1471 2011-03-29  John Abd-El-Malek  <jam@chromium.org>
1472
1473         Reviewed by Tony Chang.
1474
1475         [chromium]: Remove the code that called WebViewClient for spelling now that chromium is updated
1476         https://bugs.webkit.org/show_bug.cgi?id=57396
1477
1478         * DEPS:
1479         * public/WebFrame.h:
1480         * public/WebView.h:
1481         * public/WebViewClient.h:
1482         (WebKit::WebViewClient::handleCurrentKeyboardEvent):
1483         * src/EditorClientImpl.cpp:
1484         (WebKit::EditorClientImpl::checkSpellingOfString):
1485         (WebKit::EditorClientImpl::requestCheckingOfString):
1486         (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
1487         (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
1488         (WebKit::EditorClientImpl::showSpellingUI):
1489         (WebKit::EditorClientImpl::spellingUIIsShowing):
1490         * src/WebViewImpl.cpp:
1491         (WebKit::WebView::create):
1492         * src/WebViewImpl.h:
1493         * src/WebWorkerBase.cpp:
1494         (WebKit::WebWorkerBase::initializeLoader):
1495         * tests/PopupMenuTest.cpp:
1496         (WebKit::SelectPopupMenuTest::SetUp):
1497         * tests/WebFrameTest.cpp:
1498         (WebKit::TEST_F):
1499         * tests/WebPageSerializerTest.cpp:
1500         (WebKit::WebPageSerializerTest::SetUp):
1501
1502 2011-03-30  MORITA Hajime  <morrita@google.com>
1503
1504         Reviewed by Dimitri Glazkov.
1505
1506         [Chromium] Expose the shadow DOM to DumpRenderTree JS tests.
1507         https://bugs.webkit.org/show_bug.cgi?id=56573
1508
1509         Added:
1510         - WebBindins::makeNode() to convert WebNode to a JS object, and
1511         - WebElement::shadowRoot().
1512
1513         * public/WebBindings.h:
1514         * public/WebElement.h:
1515         * src/WebBindings.cpp:
1516         (WebKit::makeNodeImpl):
1517         (WebKit::WebBindings::makeNode):
1518         * src/WebElement.cpp:
1519         (WebKit::WebElement::shadowRoot):
1520
1521 2011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
1522
1523         Reviewed by Chris Fleizach.
1524
1525         AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
1526         https://bugs.webkit.org/show_bug.cgi?id=47636
1527
1528         Duplicate new internal WebCore roles in the Chromium port.
1529
1530         * public/WebAccessibilityRole.h: Update enumeration
1531         WebAccessibilityRole to reflect newly added roles in WebCore.
1532         * src/AssertMatchingEnums.cpp: Added new assertions.
1533
1534 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
1535
1536         Reviewed by Pavel Feldman.
1537
1538         Web Inspector: split debugger agent into Page and Worker-specific ones
1539         https://bugs.webkit.org/show_bug.cgi?id=57345
1540
1541         ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
1542         for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
1543         and Page/WorkerDebuggerAgent.
1544
1545         * src/DebuggerAgentManager.cpp:
1546         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
1547         * src/WebDevToolsAgentImpl.cpp:
1548         (WebKit::WebDevToolsAgent::interruptAndDispatch):
1549         (WebKit::WebDevToolsAgent::processPendingMessages):
1550
1551 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
1552
1553         Unreviewed. Rollout r82438 and r82436.
1554
1555         * src/DebuggerAgentManager.cpp:
1556         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
1557         * src/WebDevToolsAgentImpl.cpp:
1558         (WebKit::WebDevToolsAgent::interruptAndDispatch):
1559         (WebKit::WebDevToolsAgent::processPendingMessages):
1560
1561 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
1562
1563         Reviewed by Pavel Feldman.
1564
1565         Web Inspector: split debugger agent into Page and Worker-specific ones
1566         https://bugs.webkit.org/show_bug.cgi?id=57345
1567
1568         ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
1569         for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
1570         and Page/WorkerDebuggerAgent.
1571
1572         * src/DebuggerAgentManager.cpp:
1573         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
1574         * src/WebDevToolsAgentImpl.cpp:
1575         (WebKit::WebDevToolsAgent::interruptAndDispatch):
1576         (WebKit::WebDevToolsAgent::processPendingMessages):
1577
1578 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1579
1580         Unreviewed, rolling out r82293.
1581         http://trac.webkit.org/changeset/82293
1582         https://bugs.webkit.org/show_bug.cgi?id=57390
1583
1584         Breaks RetrieveCSSResources (Requested by abarth|gardener on
1585         #webkit).
1586
1587         * WebKit.gyp:
1588         * src/WebPageSerializer.cpp:
1589         (WebCore::getSubResourceURLFromElement):
1590         (WebCore::retrieveResourcesForElement):
1591         (WebCore::retrieveResourcesForFrame):
1592         (WebKit::WebPageSerializer::retrieveAllResources):
1593         * tests/WebPageSerializerTest.cpp:
1594         * tests/data/pageserialization/css_test_page.html: Removed.
1595         * tests/data/pageserialization/import_style_from_link.css: Removed.
1596         * tests/data/pageserialization/import_styles.css: Removed.
1597         * tests/data/pageserialization/link_styles.css: Removed.
1598
1599 2011-03-29  Tony Chang  <tony@chromium.org>
1600
1601         Roll chromium version to r79710 to pick up libpng changes.
1602
1603         * DEPS:
1604
1605 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1606
1607         Unreviewed, rolling out r82295 and r82300.
1608         http://trac.webkit.org/changeset/82295
1609         http://trac.webkit.org/changeset/82300
1610         https://bugs.webkit.org/show_bug.cgi?id=57380
1611
1612         This patch breaks compile on Chromium (Requested by
1613         abarth|gardener on #webkit).
1614
1615         * public/WebAccessibilityRole.h:
1616         * src/AssertMatchingEnums.cpp:
1617
1618 2011-03-29  Mario Sanchez Prada  <msanchez@igalia.com>
1619
1620         Reviewed by Adam Barth.
1621
1622         REGRESSION(r82295): This patch does not compile on Chromium (Requested by abarth|gardener on #webkit).
1623         https://bugs.webkit.org/show_bug.cgi?id=57377
1624
1625         Fix build errors on Chromium bots.
1626
1627         * public/WebAccessibilityRole.h: Update to reflect newly added roles in WebCore.
1628         * src/AssertMatchingEnums.cpp: Ditto.
1629
1630 2011-03-29  Adam Barth  <abarth@webkit.org>
1631
1632         Roll Chromium DEPS
1633         https://bugs.webkit.org/show_bug.cgi?id=57361
1634
1635         * DEPS:
1636
1637 2011-03-29  Jay Civelli  <jcivelli@chromium.org>
1638
1639         Reviewed by David Levin.
1640
1641         Adding retrieval off CSS resources to WebPageSerializer::retrieveAllResources.
1642         https://bugs.webkit.org/show_bug.cgi?id=56650
1643
1644         * WebKit.gyp:
1645         * src/WebPageSerializer.cpp:
1646         (WebCore::getResourceAttributeForElement):
1647         (WebCore::retrieveStyleSheetForElement):
1648         (WebCore::retrieveResourcesForElement):
1649         (WebCore::retrieveResourcesForFrame):
1650         (WebCore::retrieveResourcesForCSSRule):
1651         (WebCore::retrieveResourcesForCSSStyleDeclaration):
1652         (WebCore::retrieveResourcesForCSSStyleSheet):
1653         (WebKit::WebPageSerializer::retrieveAllResources):
1654         * tests/WebPageSerializerTest.cpp:
1655         (WebKit::TestWebFrameClient::TestWebFrameClient):
1656         (WebKit::TestWebFrameClient::allowScript):
1657         (WebKit::WebPageSerializerTest::enableJS):
1658         (WebKit::WebPageSerializerTest::runOnLoad):
1659         (WebKit::TEST_F):
1660         * tests/data/pageserialization/css_test_page.html: Added.
1661         * tests/data/pageserialization/import_style_from_link.css: Added.
1662         (#divOrange):
1663         * tests/data/pageserialization/import_styles.css: Added.
1664         (#divYellow):
1665         * tests/data/pageserialization/link_styles.css: Added.
1666         (#divRed):
1667
1668 2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>
1669
1670         Reviewed by Pavel Feldman.
1671
1672         [Chromium] Inspector does not always shows transferred size correctly (e.g. gzipped/chunked content)
1673         https://bugs.webkit.org/show_bug.cgi?id=56602
1674
1675         Added new methods to interface while keeping the old ones to keep
1676         chromium working until it is also patched.
1677
1678         * public/WebURLLoaderClient.h:
1679         (WebKit::WebURLLoaderClient::didReceiveData2):
1680         * src/AssociatedURLLoader.cpp:
1681         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
1682         * src/ResourceHandle.cpp:
1683         (WebCore::ResourceHandleInternal::didReceiveData):
1684         (WebCore::ResourceHandleInternal::didReceiveData2):
1685
1686 2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>
1687
1688         Reviewed by Pavel Feldman.
1689
1690         Web Inspector: [Chromium] DevTools shows two resources for each plugin resource loaded
1691         https://bugs.webkit.org/show_bug.cgi?id=57101
1692
1693         Remove DevToolsAgent network callbacks as this information is now available through ResourceLoader
1694
1695         * public/WebDevToolsAgent.h:
1696         * src/WebDevToolsAgentImpl.cpp:
1697         * src/WebDevToolsAgentImpl.h:
1698
1699 2011-03-29  Emil A Eklund  <eae@chromium.org>
1700
1701         Reviewed by Dimitri Glazkov.
1702
1703         Relative mouse coordinates recalculated for each target
1704         https://bugs.webkit.org/show_bug.cgi?id=57130
1705
1706         * public/WebDOMMouseEvent.h:
1707         * src/WebDOMMouseEvent.cpp:
1708         (WebKit::WebDOMMouseEvent::layerX):
1709         (WebKit::WebDOMMouseEvent::layerY):
1710         (WebKit::WebDOMMouseEvent::offsetX):
1711         (WebKit::WebDOMMouseEvent::offsetY):
1712
1713 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
1714
1715         Unreviewed, rolling out r82195.
1716         http://trac.webkit.org/changeset/82195
1717         https://bugs.webkit.org/show_bug.cgi?id=56602
1718
1719         Broke Chromium Clang builds.
1720
1721         * public/WebDevToolsAgent.h:
1722         * public/WebURLLoaderClient.h:
1723         * src/AssociatedURLLoader.cpp:
1724         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
1725         * src/ResourceHandle.cpp:
1726         (WebCore::ResourceHandleInternal::didReceiveData):
1727         * src/WebDevToolsAgentImpl.cpp:
1728         (WebKit::WebDevToolsAgentImpl::didReceiveData):
1729         * src/WebDevToolsAgentImpl.h:
1730
1731 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
1732
1733         Unreviewed. Another build fix. The last fix was incorrect.
1734
1735         * src/ChromeClientImpl.cpp:
1736         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
1737         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
1738         * src/ChromeClientImpl.h:
1739
1740 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
1741
1742         Unreviewed. Build fix for Chromium Clang bot.
1743
1744         * src/ChromeClientImpl.cpp:
1745         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
1746         * src/ChromeClientImpl.h:
1747
1748 2011-03-28  Vsevolod Vlasov  <vsevik@chromium.org>
1749
1750         Reviewed by Pavel Feldman.
1751
1752         [Chromium] Inspector does not always shows transferred size correctly (e.g. gzipped/chunked content)
1753         https://bugs.webkit.org/show_bug.cgi?id=56602
1754
1755         Added new methods to interface while keeping the old ones to keep
1756         chromium working until it is also patched.
1757
1758         * public/WebDevToolsAgent.h:
1759         * public/WebURLLoaderClient.h:
1760         (WebKit::WebURLLoaderClient::didReceiveData):
1761         * src/AssociatedURLLoader.cpp:
1762         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
1763         * src/ResourceHandle.cpp:
1764         (WebCore::ResourceHandleInternal::didReceiveData):
1765         * src/WebDevToolsAgentImpl.cpp:
1766         (WebKit::WebDevToolsAgentImpl::didReceiveData):
1767         * src/WebDevToolsAgentImpl.h:
1768
1769 2011-03-28  Tony Chang  <tony@chromium.org>
1770
1771         Reviewed by Adam Barth.
1772
1773         [chromium] have DRT write the png checksum into a png comment
1774         https://bugs.webkit.org/show_bug.cgi?id=57255
1775
1776         * DEPS: Pull in version of chromium with comment writing
1777
1778 2011-03-28  Adele Peterson  <adele@apple.com>
1779
1780         Build fix.
1781
1782         * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor):
1783         Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
1784
1785 2011-03-28  Pavel Feldman  <pfeldman@chromium.org>
1786
1787         Not reviewed: fixed chromium build.
1788
1789         * src/WebDevToolsAgentImpl.cpp:
1790         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
1791
1792 2011-03-25  Andy Estes  <aestes@apple.com>
1793
1794         Reviewed by Adele Peterson.
1795
1796         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
1797         https://bugs.webkit.org/show_bug.cgi?id=49016
1798
1799         Update objectContentType() implementation to handle the
1800         shouldPreferPlugInsForImages flag.
1801
1802         * src/FrameLoaderClientImpl.cpp:
1803         (WebKit::FrameLoaderClientImpl::objectContentType):
1804         * src/FrameLoaderClientImpl.h:
1805
1806 2011-03-25  Kinuko Yasuda  <kinuko@chromium.org>
1807
1808         Reviewed by David Levin.
1809
1810         Data race between ~WorkerFileSystemCallbacksBridge and runTasksOnWorkerThread
1811         https://bugs.webkit.org/show_bug.cgi?id=56138
1812         Stopped passing the WorkerFileSystemCallbacksBridge's reference to
1813         MainThreadFileSystemCallbacks so that in most cases (in normal cases)
1814         its reference is only maintained by WorkerThread.
1815
1816         * src/WorkerFileSystemCallbacksBridge.cpp:
1817         (WebKit::MainThreadFileSystemCallbacks::createLeakedPtr):
1818         (WebKit::MainThreadFileSystemCallbacks::MainThreadFileSystemCallbacks):
1819         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
1820         * src/WorkerFileSystemCallbacksBridge.h:
1821
1822 2011-03-24  John Abd-El-Malek  <jam@chromium.org>
1823
1824         Reviewed by Dimitri Glazkov.
1825
1826         [chromium] Add setters for various client interfaces, and add WebSpellCheckClient
1827         https://bugs.webkit.org/show_bug.cgi?id=57070
1828
1829         * public/WebSpellCheckClient.h: Added.
1830         (WebKit::WebSpellCheckClient::spellCheck):
1831         (WebKit::WebSpellCheckClient::requestCheckingOfText):
1832         (WebKit::WebSpellCheckClient::autoCorrectWord):
1833         (WebKit::WebSpellCheckClient::showSpellingUI):
1834         (WebKit::WebSpellCheckClient::isShowingSpellingUI):
1835         (WebKit::WebSpellCheckClient::updateSpellingUIWithMisspelledWord):
1836         (WebKit::WebSpellCheckClient::~WebSpellCheckClient):
1837         * public/WebView.h:
1838         * public/WebViewClient.h:
1839         * src/EditorClientImpl.cpp:
1840         (WebKit::EditorClientImpl::checkSpellingOfString):
1841         (WebKit::EditorClientImpl::requestCheckingOfString):
1842         (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
1843         (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
1844         (WebKit::EditorClientImpl::showSpellingUI):
1845         (WebKit::EditorClientImpl::spellingUIIsShowing):
1846         * src/WebViewImpl.cpp:
1847         (WebKit::WebViewImpl::setWebDevToolsAgentClient):
1848         (WebKit::WebViewImpl::setWebAutoFillClient):
1849         (WebKit::WebViewImpl::setWebSpellCheckClient):
1850         (WebKit::WebViewImpl::WebViewImpl):
1851         * src/WebViewImpl.h:
1852         (WebKit::WebViewImpl::spellCheckClient):
1853
1854 2011-03-25  Cary Clark  <caryclark@google.com>
1855
1856         Reviewed by Dimitri Glazkov.
1857
1858         Add CGBitmapContext.h include to WebViewImpl.cpp
1859         https://bugs.webkit.org/show_bug.cgi?id=57097
1860         
1861         No tests. Exposes no new functionality.
1862
1863         * src/WebViewImpl.cpp:
1864
1865 2011-03-25  Adam Klein  <adamk@chromium.org>
1866
1867         Reviewed by David Levin.
1868
1869         [chromium] Remove deprecated overload of openFileSystem for workers
1870         https://bugs.webkit.org/show_bug.cgi?id=57062
1871
1872         * public/WebCommonWorkerClient.h:
1873
1874 2011-03-25  Chang Shu  <cshu@webkit.org>
1875
1876         Reviewed by Ryosuke Niwa.
1877
1878         rename Node::isContentEditable and all call sites to rendererIsEditable
1879         https://bugs.webkit.org/show_bug.cgi?id=54290
1880
1881         This is part of the effort to separate JS API HTMLElement isContentEditable from
1882         internal Node::rendererIsEditable.
1883
1884         * src/WebNode.cpp:
1885         (WebKit::WebNode::isContentEditable):
1886         * src/WebViewImpl.cpp:
1887         (WebKit::WebViewImpl::setFocus):
1888         (WebKit::WebViewImpl::setComposition):
1889         (WebKit::WebViewImpl::confirmComposition):
1890
1891 2011-03-25  Mikhail Naganov  <mnaganov@chromium.org>
1892
1893         Roll forward Chromium deps to r79379 to pick up V8 3.2.4.2.
1894
1895         * DEPS:
1896
1897 2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
1898
1899         Unreviewed, rolling out r81916 and r81917.
1900         http://trac.webkit.org/changeset/81916
1901         http://trac.webkit.org/changeset/81917
1902         https://bugs.webkit.org/show_bug.cgi?id=57071
1903
1904         broke a test on platforms that do not have QuickTime installed
1905         (Requested by estes on #webkit).
1906
1907         * src/FrameLoaderClientImpl.cpp:
1908         (WebKit::FrameLoaderClientImpl::objectContentType):
1909         * src/FrameLoaderClientImpl.h:
1910
1911 2011-03-24  Min Qin  <qinmin@google.com>
1912
1913         Reviewed by James Robinson.
1914
1915         Allow WebMediaPlayerClient to notify MediaPlayer that the playback state has changed
1916
1917         https://bugs.webkit.org/show_bug.cgi?id=56837
1918
1919         * public/WebMediaPlayerClient.h:
1920         * src/WebMediaPlayerClientImpl.cpp:
1921         (WebKit::WebMediaPlayerClientImpl::playbackStateChanged):
1922         * src/WebMediaPlayerClientImpl.h:
1923
1924 2011-03-23  John Abd-El-Malek  <jam@chromium.org>
1925
1926         Reviewed by Tony Chang.
1927
1928         [chromium] Get rid of WEB_TEXT_CHECKING_RESULT_IS_A_STRUCT since it&apos;s not needed anymore
1929         https://bugs.webkit.org/show_bug.cgi?id=56955
1930
1931         * DEPS:
1932         * public/WebTextCheckingResult.h:
1933
1934 2011-03-24  Bill Budge  <bbudge@chromium.org>
1935
1936         Reviewed by Eric Seidel.
1937
1938         Change a forward declaration of WebURLLoaderOptions to struct to prevent a build break in Chromium.
1939         https://bugs.webkit.org/show_bug.cgi?id=57064
1940
1941         No tests. Exposes no new functionality.
1942
1943         * public/WebFrame.h:
1944
1945 2011-03-24  Andy Estes  <aestes@apple.com>
1946
1947         Fix the chromium build.
1948
1949         * src/FrameLoaderClientImpl.cpp:
1950         (WebKit::FrameLoaderClientImpl::objectContentType):
1951
1952 2011-03-24  Andy Estes  <aestes@apple.com>
1953
1954         Reviewed by Darin Adler.
1955
1956         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
1957         https://bugs.webkit.org/show_bug.cgi?id=49016
1958
1959         Update objectContentType() implementation to handle the
1960         shouldPreferPlugInsForImages flag.
1961
1962         * src/FrameLoaderClientImpl.cpp:
1963         (WebKit::FrameLoaderClientImpl::objectContentType):
1964         * src/FrameLoaderClientImpl.h:
1965
1966 2011-03-24  Bill Budge  <bbudge@chromium.org>
1967
1968         Reviewed by Dmitry Titov.
1969
1970         Add an overloaded WebFrame::createAssociatedURLLoader method that takes WebURLLoaderOptions, so clients can specify CORS options to allow cross-origin requests.
1971         https://bugs.webkit.org/show_bug.cgi?id=56885
1972
1973         No new tests. Exposes no new functionality.
1974
1975         * public/WebFrame.h:
1976         * src/WebFrameImpl.cpp:
1977         (WebKit::WebFrameImpl::createAssociatedURLLoader):
1978         * src/WebFrameImpl.h:
1979
1980 2011-03-24  Sam Weinig  <sam@webkit.org>
1981
1982         Reviewed by Anders Carlsson.
1983
1984         Remove legacy version of findPlainText.
1985         https://bugs.webkit.org/show_bug.cgi?id=57056
1986
1987         * src/WebFrameImpl.cpp:
1988         (WebKit::WebFrameImpl::scopeStringMatches):
1989         Replace use of legacy findPlainText with a version that
1990         takes an options parameter.
1991
1992 2011-03-24  Nat Duca  <nduca@chromium.org>
1993
1994         Reviewed by Kenneth Russell.
1995
1996         [chromium] Add traceEvents to compositor
1997         https://bugs.webkit.org/show_bug.cgi?id=56965
1998
1999         * src/WebViewImpl.cpp:
2000         (WebKit::WebViewImpl::composite):
2001
2002 2011-03-24  Dominic Mazzoni  <dmazzoni@google.com>
2003
2004         Reviewed by Dimitri Glazkov.
2005
2006         Add accessibilityObject accessor to WebDocument (needed for
2007         building an accessibility tree that includes iframes).
2008         https://bugs.webkit.org/show_bug.cgi?id=56984
2009
2010         * public/WebDocument.h:
2011         * src/WebDocument.cpp:
2012         (WebKit::WebDocument::accessibilityObject):
2013
2014 2011-03-24  Ilya Sherman  <isherman@chromium.org>
2015
2016         Reviewed by Dimitri Glazkov.
2017
2018         Expose Node::isFocusable() in the Chromium WebKit API
2019         In service of https://code.google.com/p/chromium/issues/detail?id=72918
2020         https://bugs.webkit.org/show_bug.cgi?id=56809
2021
2022         * public/WebNode.h:
2023         * src/WebNode.cpp:
2024         (WebKit::WebNode::isFocusable):
2025
2026 2011-03-24  Pavel Feldman  <pfeldman@chromium.org>
2027
2028         Not reviewed: fix chromium compilation.
2029
2030         * public/WebDevToolsAgent.h:
2031
2032 2011-03-24  Pavel Feldman  <pfeldman@chromium.org>
2033
2034         Reviewed by Yury Semikhatsky.
2035
2036         Web Inspector: brush up Network agent API.
2037         https://bugs.webkit.org/show_bug.cgi?id=57001
2038
2039         * public/WebDevToolsAgent.h:
2040         * src/WebDevToolsAgentImpl.cpp:
2041         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
2042         (WebKit::WebDevToolsAgentImpl::willSendRequest):
2043         * src/WebDevToolsAgentImpl.h:
2044
2045 2011-03-24  Noel Gordon  <noel.gordon@gmail.com>
2046
2047         Reviewed by Ojan Vafai.
2048
2049         [chromium] WebBindings::getRangeImpl() should NULL check its NPObject argument
2050         https://bugs.webkit.org/show_bug.cgi?id=56996
2051
2052         * src/WebBindings.cpp:
2053         (WebKit::getRangeImpl):
2054
2055 2011-03-23  Noel Gordon  <noel.gordon@gmail.com>
2056
2057         Reviewed by Ojan Vafai.
2058
2059         [chromium] WebBindings{.h,.cpp}: should use consistent argument naming
2060         https://bugs.webkit.org/show_bug.cgi?id=56898
2061
2062         Address FIXME I noted/added in r81676.  Wanted to just copy/paste the checking
2063         code from elsewhere in the file, but inconsistent argument naming made it more
2064         difficult than it need be, so first step: use consistent naming.
2065
2066         * public/WebBindings.h:
2067         * src/WebBindings.cpp:
2068         (WebKit::WebBindings::construct):
2069         (WebKit::WebBindings::enumerate):
2070         (WebKit::WebBindings::evaluate):
2071         (WebKit::WebBindings::evaluateHelper):
2072         (WebKit::WebBindings::getProperty):
2073         (WebKit::WebBindings::hasMethod):
2074         (WebKit::WebBindings::hasProperty):
2075         (WebKit::WebBindings::invoke):
2076         (WebKit::WebBindings::invokeDefault):
2077         (WebKit::WebBindings::releaseObject):
2078         (WebKit::WebBindings::removeProperty):
2079         (WebKit::WebBindings::retainObject):
2080         (WebKit::WebBindings::setException):
2081         (WebKit::WebBindings::setProperty):
2082         (WebKit::WebBindings::unregisterObject):
2083         (WebKit::WebBindings::extractIdentifierData):
2084         (WebKit::getRangeImpl):
2085         (WebKit::getElementImpl):
2086         (WebKit::makeIntArrayImpl):
2087         (WebKit::WebBindings::getRange):
2088         (WebKit::WebBindings::makeIntArray):
2089
2090 2011-03-23  Jay Civelli  <jcivelli@chromium.org>
2091
2092         Reviewed by David Levin.
2093
2094         Relanding:
2095         Moving the method that is used to retrieve all the resources in
2096         a page from the Chromium code (dom_operations.cc) to WebKit.
2097         https://bugs.webkit.org/show_bug.cgi?id=55859
2098
2099         * WebKit.gyp:
2100         * public/WebPageSerializer.h:
2101         * public/WebURL.h:
2102         (WebKit::operator==):
2103         (WebKit::operator!=):
2104         * public/WebVector.h:
2105         (WebKit::WebVector::contains):
2106         * src/WebDataSourceImpl.cpp:
2107         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2108         * src/WebPageSerializer.cpp:
2109         (WebCore::getSubResourceURLFromElement):
2110         (WebCore::retrieveResourcesForElement):
2111         (WebCore::retrieveResourcesForFrame):
2112         (WebKit::WebPageSerializer::retrieveAllResources):
2113         * tests/WebFrameTest.cpp:
2114         * tests/WebPageSerializerTest.cpp: Added.
2115         * tests/data/pageserialization/awesome.png: Added.
2116         * tests/data/pageserialization/embed_iframe.html: Added.
2117         * tests/data/pageserialization/object_iframe.html: Added.
2118         * tests/data/pageserialization/simple_iframe.html: Added.
2119         * tests/data/pageserialization/simple_page.html: Added.
2120         * tests/data/pageserialization/top_frame.html: Added.
2121
2122 2011-03-23  Kenneth Russell  <kbr@google.com>
2123
2124         Rolled forward Chromium DEPS again to fix DumpRenderTree build
2125         failure caused by r81821.
2126
2127         * DEPS:
2128
2129 2011-03-23  Kenneth Russell  <kbr@google.com>
2130
2131         Rolled forward Chromium DEPS to fix build breakage after r81821.
2132
2133         * DEPS:
2134
2135 2011-03-23  Kenneth Russell  <kbr@google.com>
2136
2137         Reviewed by James Robinson.
2138
2139         [chromium] WebGLRenderingContext and other DOMWindow properties should remain if WebGL is disabled
2140         https://bugs.webkit.org/show_bug.cgi?id=56947
2141
2142         Removed the WebRuntimeFeatures setting for WebGL. WebGL support is
2143         now controlled exclusively through the page's Settings.
2144
2145         * public/WebRuntimeFeatures.h:
2146         * src/WebRuntimeFeatures.cpp:
2147
2148 2011-03-23  Chris Rogers  <crogers@google.com>
2149
2150         Reviewed by Kenneth Russell.
2151
2152         Add API to retrieve the audio hardware sample-rate
2153         https://bugs.webkit.org/show_bug.cgi?id=56882
2154
2155         * public/WebAudioDevice.h:
2156         * public/WebKitClient.h:
2157         (WebKit::WebKitClient::audioHardwareSampleRate):
2158         * src/AudioDestinationChromium.cpp:
2159         (WebCore::AudioDestination::hardwareSampleRate):
2160
2161 2011-03-23  Cris Neckar  <cdn@chromium.org>
2162
2163         Reviewed by Eric Seidel.
2164
2165         Add refptr for widget. Mutations can happen within the event handler.
2166         https://bugs.webkit.org/show_bug.cgi?id=56774
2167
2168         * src/WebPluginContainerImpl.cpp:
2169         (WebKit::WebPluginContainerImpl::handleEvent):
2170
2171 2011-03-23  Viet-Trung Luu  <viettrungluu@chromium.org>
2172
2173         Reviewed by Tony Chang.
2174
2175         [chromium] Add FormatPlainText to WebClipboard::Format enumeration.
2176         https://bugs.webkit.org/show_bug.cgi?id=56868
2177
2178         Chromium's WebClipboard::isFormatAvailable() will be correspondingly
2179         extended.
2180
2181         * public/WebClipboard.h:
2182         * src/AssertMatchingEnums.cpp:
2183
2184 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
2185
2186         Reviewed by Pavel Feldman.
2187
2188         [Chromium] Web Inspector: Remove DebuggerScript.js from Chromium resource bundle.
2189         https://bugs.webkit.org/show_bug.cgi?id=56916
2190
2191         * DEPS: bump up Chromium dependency to the revision where no references to the DebuggerScript.js resource are left.
2192         * WebKit.grd:
2193
2194 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
2195
2196         Reviewed by Pavel Feldman.
2197
2198         [Chromium] Web Inspector: remove inspectNode method from WebDevToolsAgent
2199         https://bugs.webkit.org/show_bug.cgi?id=56926
2200
2201         * public/WebDevToolsAgent.h:
2202         * src/WebDevToolsAgentImpl.cpp:
2203         * src/WebDevToolsAgentImpl.h:
2204
2205 2011-03-23  Sheriff Bot  <webkit.review.bot@gmail.com>
2206
2207         Unreviewed, rolling out r81686.
2208         http://trac.webkit.org/changeset/81686
2209         https://bugs.webkit.org/show_bug.cgi?id=56914
2210
2211         Breaks webkit_tests in Chromium again. (Requested by pfeldman
2212         on #webkit).
2213
2214         * WebKit.gyp:
2215         * public/WebPageSerializer.h:
2216         * public/WebURL.h:
2217         * public/WebVector.h:
2218         (WebKit::WebVector::operator[]):
2219         * src/WebDataSourceImpl.cpp:
2220         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2221         * src/WebPageSerializer.cpp:
2222         * tests/WebFrameTest.cpp:
2223         * tests/WebPageSerializerTest.cpp: Removed.
2224         * tests/data/pageserialization/awesome.png: Removed.
2225         * tests/data/pageserialization/embed_iframe.html: Removed.
2226         * tests/data/pageserialization/object_iframe.html: Removed.
2227         * tests/data/pageserialization/simple_iframe.html: Removed.
2228         * tests/data/pageserialization/simple_page.html: Removed.
2229         * tests/data/pageserialization/top_frame.html: Removed.
2230
2231 2011-03-22  Yury Semikhatsky  <yurys@chromium.org>
2232
2233         Reviewed by Pavel Feldman.
2234
2235         [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
2236         https://bugs.webkit.org/show_bug.cgi?id=56843
2237
2238         * public/WebDevToolsAgentClient.h: the script source is now compiled along with the inspector code.
2239         * src/WebDevToolsAgentImpl.cpp:
2240         (WebKit::WebDevToolsAgentImpl::attach):
2241
2242 2011-03-22  Yury Semikhatsky  <yurys@chromium.org>
2243
2244         Reviewed by Pavel Feldman.
2245
2246         [Chromium] Web Inspector: remove obsolete methods from WebDevToolsAgentClient.h
2247         https://bugs.webkit.org/show_bug.cgi?id=56897
2248
2249         * public/WebDevToolsAgentClient.h:
2250
2251 2011-03-22  Noel Gordon  <noel.gordon@gmail.com>
2252
2253         Reviewed by Tony Chang.
2254
2255         [chromium] Remove identity from dragTargetDragEnter() function signature
2256         https://bugs.webkit.org/show_bug.cgi?id=56875
2257
2258         First part of 3-sided patch.  Add new function signature sans identity.
2259
2260         * public/WebView.h:
2261         * src/WebViewImpl.cpp:
2262         (WebKit::WebViewImpl::dragTargetDragEnter):
2263         * src/WebViewImpl.h:
2264
2265 2011-03-22  John Bauman  <jbauman@chromium.org>
2266
2267         Reviewed by Kenneth Russell.
2268
2269         Add support for preserveDrawingBuffer context creation attribute
2270         https://bugs.webkit.org/show_bug.cgi?id=56431
2271
2272         * src/GraphicsContext3DChromium.cpp:
2273         (WebCore::GraphicsContext3DInternal::markContextChanged):
2274         (WebCore::GraphicsContext3DInternal::markLayerComposited):
2275         (WebCore::GraphicsContext3DInternal::layerComposited):
2276         (WebCore::GraphicsContext3D::layerComposited):
2277         * src/GraphicsContext3DInternal.h:
2278
2279 2011-03-22  John Abd-El-Malek  <jam@chromium.org>
2280
2281         Reviewed by Tony Chang.
2282
2283         [chromium] Make WebTextCheckingResult&apos;s members be public in preparation for converting it to a struct
2284         https://bugs.webkit.org/show_bug.cgi?id=56857
2285
2286         * DEPS:
2287         * public/WebTextCheckingResult.h:
2288
2289 2011-03-22  Jay Civelli  <jcivelli@chromium.org>
2290
2291         Reviewed by David Levin.
2292
2293         Relanding:
2294         Moving the method that is used to retrieve all the resources in
2295         a page from the Chromium code (dom_operations.cc) to WebKit.
2296         https://bugs.webkit.org/show_bug.cgi?id=55859
2297
2298
2299         * WebKit.gyp:
2300         * public/WebPageSerializer.h:
2301         * public/WebURL.h:
2302         (WebKit::operator==):
2303         (WebKit::operator!=):
2304         * public/WebVector.h:
2305         (WebKit::WebVector::contains):
2306         * src/WebDataSourceImpl.cpp:
2307         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2308         * src/WebPageSerializer.cpp:
2309         (WebCore::getSubResourceURLFromElement):
2310         (WebCore::retrieveResourcesForElement):
2311         (WebCore::retrieveResourcesForFrame):
2312         (WebKit::WebPageSerializer::retrieveAllResources):
2313         * tests/WebFrameTest.cpp:
2314         * tests/WebPageSerializerTest.cpp: Added.
2315         * tests/data/pageserialization/awesome.png: Added.
2316         * tests/data/pageserialization/embed_iframe.html: Added.
2317         * tests/data/pageserialization/object_iframe.html: Added.
2318         * tests/data/pageserialization/simple_iframe.html: Added.
2319         * tests/data/pageserialization/simple_page.html: Added.
2320         * tests/data/pageserialization/top_frame.html: Added.
2321
2322 2011-03-22  Noel Gordon  <noel.gordon@gmail.com>
2323
2324         Reviewed by Tony Chang.
2325
2326         [chromium] Remove Gears from Chromium WebKit
2327         https://bugs.webkit.org/show_bug.cgi?id=56808
2328
2329         Gears has been removed from Chromium 12. Remove Gears drag drop support
2330         from WebKit. That work lead to http://webkit.org/b/25916, a proposal to
2331         add native file drag drop, and its subsequent standardization in HTML5.
2332
2333         * public/WebBindings.h:
2334         * public/WebView.h:
2335         * src/WebBindings.cpp:
2336         (WebKit::getRangeImpl): FIXME note added.
2337         * src/WebViewImpl.cpp:
2338         (WebKit::WebViewImpl::WebViewImpl):
2339         (WebKit::WebViewImpl::dragTargetDragEnter):
2340         (WebKit::WebViewImpl::dragTargetDragLeave):
2341         (WebKit::WebViewImpl::dragTargetDrop):
2342         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
2343         * src/WebViewImpl.h:
2344
2345 2011-03-21  Adam Klein  <adamk@chromium.org>
2346
2347         Reviewed by David Levin.
2348
2349         [fileapi] Add URI resolution support to WorkerContext
2350         https://bugs.webkit.org/show_bug.cgi?id=55644
2351
2352         Pass "create" bool through to allow opening
2353         a filesystem without allowing creation.
2354
2355         * src/LocalFileSystemChromium.cpp:
2356         (WebCore::LocalFileSystem::readFileSystem):
2357         (WebCore::LocalFileSystem::requestFileSystem):
2358         * src/WebWorkerBase.cpp:
2359         (WebKit::WebWorkerBase::openFileSystemForWorker):
2360         * src/WebWorkerBase.h:
2361         * src/WorkerFileSystemCallbacksBridge.cpp:
2362         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
2363         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
2364         * src/WorkerFileSystemCallbacksBridge.h:
2365
2366 2011-03-21  Ilya Sherman  <isherman@chromium.org>
2367
2368         Reviewed by James Robinson.
2369
2370         Remove WebInputElement::isEnabledFormControl() from Chromium WebKit API
2371         Clients should instead call into WebFormControlElement::isEnabled().
2372         https://bugs.webkit.org/show_bug.cgi?id=56364
2373
2374         * public/WebInputElement.h: Removed isEnabledFormControl().
2375         * src/WebInputElement.cpp: Removed isEnabledFormControl().
2376
2377 2011-03-21  Robert Kroeger  <rjkroege@chromium.org>
2378
2379         Reviewed by Antonio Gomes.
2380
2381         Flag to enable a platform specific GestureReocognizer framework in Chromium.
2382
2383         https://bugs.webkit.org/show_bug.cgi?id=49345
2384
2385         * features.gypi:
2386
2387 2011-03-21  Tony Chang  <tony@chromium.org>
2388
2389         Reviewed by Pavel Feldman.
2390
2391         [chromium] remove devtools_html's dependency on WebKit.gypi
2392         https://bugs.webkit.org/show_bug.cgi?id=56661
2393
2394         We want to depend on the values in the gypi file, not the gypi file
2395         itself.  Actually, if someone edits a gypi file, s/he should re-run
2396         gyp to pick up the new dependencies.
2397
2398         It turns out that this doesn't matter much for this target anymore
2399         since we pull the .js dependencies from the inspector html file.
2400
2401         * WebKit.gyp: cleanup dependencies
2402         * scripts/generate_devtools_html.py: remove unused param
2403
2404 2011-03-21  Sheriff Bot  <webkit.review.bot@gmail.com>
2405
2406         Unreviewed, rolling out r81377.
2407         http://trac.webkit.org/changeset/81377
2408         https://bugs.webkit.org/show_bug.cgi?id=56765
2409
2410         WebPageSerializerTest.MultipleFrames is broken (Requested by
2411         simonjam on #webkit).
2412
2413         * WebKit.gyp:
2414         * public/WebPageSerializer.h:
2415         * public/WebURL.h:
2416         * public/WebVector.h:
2417         (WebKit::WebVector::operator[]):
2418         * src/WebDataSourceImpl.cpp:
2419         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2420         * src/WebPageSerializer.cpp:
2421         * tests/WebFrameTest.cpp:
2422         * tests/WebPageSerializerTest.cpp: Removed.
2423         * tests/data/pageserialization/awesome.png: Removed.
2424         * tests/data/pageserialization/embed_iframe.html: Removed.
2425         * tests/data/pageserialization/object_iframe.html: Removed.
2426         * tests/data/pageserialization/simple_iframe.html: Removed.
2427         * tests/data/pageserialization/simple_page.html: Removed.
2428         * tests/data/pageserialization/top_frame.html: Removed.
2429
2430 2011-03-21  Daniel Sievers  <sievers@google.com>
2431
2432         Reviewed by Simon Fraser.
2433
2434         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
2435         https://bugs.webkit.org/show_bug.cgi?id=56139
2436
2437         * public/WebFrame.h:
2438         * src/WebFrameImpl.cpp:
2439         (WebKit::WebFrameImpl::renderTreeAsText):
2440         (WebKit::WebFrameImpl::layerTreeAsText):
2441         * src/WebFrameImpl.h:
2442
2443 2011-03-21  Eric Uhrhane <ericu@chromium.org>
2444
2445         Reviewed by David Levin.
2446
2447         [fileapi/chromium] Fetch platform path using GetMetadata before creating File from FileEntry*
2448         https://bugs.webkit.org/show_bug.cgi?id=56704
2449
2450         * src/WebFileSystemCallbacksImpl.cpp:
2451         (WebFileSystemCallbacksImpl::didReadMetadata)
2452         Pass new platformPath member through.
2453
2454         * src/WorkerFileSystemCallbacksBridge.cpp:
2455         (CrossThreadCopierBase)
2456         Copy new platformPath member.
2457
2458         * public/WebFileInfo.h:
2459         (struct WebFileInfo)
2460         Add new platformPath member.
2461
2462 2011-03-21  Leandro Gracia Gil  <leandrogracia@chromium.org>
2463
2464         Reviewed by Steve Block.
2465
2466         Media Stream API patch 0: adding compilation guards.
2467         https://bugs.webkit.org/show_bug.cgi?id=56458
2468
2469         Enabling the feature by default for chromium builds.
2470
2471         * features.gypi:
2472
2473 2011-03-21  Vsevolod Vlasov  <vsevik@chromium.org>
2474
2475         Reviewed by Pavel Feldman.
2476
2477         Web Inspector: Inspector does not always show correct transfer size (for compressed/chunked data)
2478         https://bugs.webkit.org/show_bug.cgi?id=56691
2479
2480         Added transfer size support in inspector for compressed data.
2481
2482         * src/ResourceHandle.cpp:
2483         (WebCore::ResourceHandleInternal::didReceiveData):
2484         * src/WebDevToolsAgentImpl.cpp:
2485         (WebKit::WebDevToolsAgentImpl::didReceiveData):
2486
2487 2011-03-20  Bill Budge  <bbudge@chromium.org>
2488
2489         Reviewed by Adam Barth.
2490
2491         Rename ThreadSafeShared to ThreadSafeRefCounted
2492         https://bugs.webkit.org/show_bug.cgi?id=56714
2493
2494         No new tests. Exposes no new functionality.
2495
2496         * src/PlatformMessagePortChannel.h:
2497         * src/WebWorkerBase.cpp:
2498         * src/WorkerFileSystemCallbacksBridge.h:
2499         * src/WorkerFileWriterCallbacksBridge.h:
2500
2501 2011-03-18  Tony Chang  <tony@chromium.org>
2502
2503         Reviewed by Eric Seidel.
2504
2505         [chromium] make devtool concatenation targets conditional based on debug_devtools
2506         https://bugs.webkit.org/show_bug.cgi?id=56667
2507
2508         We don't want to run these targets when debug_devtools=1 because it
2509         will overwrite the devtools.js and devtools.css files copied by
2510         inspector_resources.  On Linux, this triggers a warning because
2511         there are two commands that target the same output file when
2512         debug_devtools=1.
2513
2514         I also removed the 'sources' lines since I don't think they do
2515         anything for actions.
2516
2517         * WebKit.gyp:
2518
2519 2011-03-17  Alexey Marinichev  <amarinichev@chromium.org>
2520
2521         Reviewed by Kenneth Russell.
2522
2523         chromium: uninitialized field in WebViewImpl
2524         https://bugs.webkit.org/show_bug.cgi?id=56620
2525
2526         * src/WebViewImpl.cpp:
2527         (WebKit::WebViewImpl::WebViewImpl):
2528
2529 2011-03-17  Adrienne Walker  <enne@google.com>
2530
2531         Reviewed by James Robinson.
2532
2533         [chromium] Turn off accelerated compositing for RTL style pages.
2534         https://bugs.webkit.org/show_bug.cgi?id=56585
2535
2536         * src/WebViewImpl.cpp:
2537         (WebKit::WebViewImpl::layout):
2538         (WebKit::WebViewImpl::pageHasRTLStyle):
2539         (WebKit::WebViewImpl::setRootGraphicsLayer):
2540         * src/WebViewImpl.h:
2541
2542 2011-03-17  Jay Civelli  <jcivelli@chromium.org>
2543
2544         Reviewed by David Levin.
2545
2546         Moving the method that is used to retrieve all the resources in
2547         a page from the Chromium code (dom_operations.cc) to WebKit.
2548         https://bugs.webkit.org/show_bug.cgi?id=55859
2549
2550         * WebKit.gyp:
2551         * public/WebPageSerializer.h:
2552         * public/WebURL.h:
2553         (WebKit::operator==):
2554         (WebKit::operator!=):
2555         * public/WebVector.h:
2556         (WebKit::WebVector::contains):
2557         * src/WebDataSourceImpl.cpp:
2558         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2559         * src/WebPageSerializer.cpp:
2560         (WebCore::getSubResourceURLFromElement):
2561         (WebCore::retrieveResourcesForElement):
2562         (WebCore::retrieveResourcesForFrame):
2563         (WebKit::WebPageSerializer::retrieveAllResources):
2564         * tests/WebFrameTest.cpp:
2565         * tests/WebPageSerializerTest.cpp: Added.
2566         * tests/data/pageserialization: Added.
2567         * tests/data/pageserialization/awesome.png: Added.
2568         * tests/data/pageserialization/embed_iframe.html: Added.
2569         * tests/data/pageserialization/object_iframe.html: Added.
2570         * tests/data/pageserialization/simple_iframe.html: Added.
2571         * tests/data/pageserialization/simple_page.html: Added.
2572         * tests/data/pageserialization/top_frame.html: Added.
2573
2574 2011-03-17  Tony Chang  <tony@chromium.org>
2575
2576         Reviewed by Pavel Feldman.
2577
2578         [chromium] don't concatenate devtools files when debug_devtools=1
2579         https://bugs.webkit.org/show_bug.cgi?id=56572
2580
2581         * WebKit.gyp:
2582
2583 2011-03-17  Tony Chang  <tony@chromium.org>
2584
2585         Reviewed by Eric Seidel.
2586
2587         [chromium] minor cleanup of devtools_files variable in WebKit.gyp
2588         https://bugs.webkit.org/show_bug.cgi?id=56503
2589
2590         * WebKit.gyp: Moving duplicate variables out of a condition.
2591
2592 2011-03-16  Adam Barth  <abarth@webkit.org>
2593
2594         Reviewed by James Robinson.
2595
2596         Remove USE(BUILTIN_UTF8_CODEC)
2597         https://bugs.webkit.org/show_bug.cgi?id=56508
2598
2599         * features.gypi:
2600
2601 2011-03-16  Tony Chang  <tony@chromium.org>
2602
2603         Reviewed by Adam Barth.
2604
2605         [chromium] include inspector gif files in the list of resources
2606         https://bugs.webkit.org/show_bug.cgi?id=56504
2607
2608         * scripts/generate_devtools_grd.py:
2609
2610 2011-03-16  Bill Budge  <bbudge@chromium.org>
2611
2612         Reviewed by David Levin.
2613
2614         AssociatedURLLoader does not support Cross Origin Requests
2615         https://bugs.webkit.org/show_bug.cgi?id=53925
2616
2617         No new tests. Exposes no new functionality.
2618
2619         * public/WebURLLoader.h:
2620         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
2621         * src/AssociatedURLLoader.cpp:
2622         (WebKit::AssociatedURLLoader::ClientAdapter::isDocumentThreadableLoaderClient):
2623         (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
2624         (WebKit::AssociatedURLLoader::ClientAdapter::create):
2625         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
2626         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
2627         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
2628         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
2629         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
2630         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
2631         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
2632         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
2633         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2634         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2635         (WebKit::AssociatedURLLoader::loadSynchronously):
2636         (WebKit::AssociatedURLLoader::loadAsynchronously):
2637         (WebKit::AssociatedURLLoader::cancel):
2638         (WebKit::AssociatedURLLoader::setDefersLoading):
2639         * src/AssociatedURLLoader.h:
2640
2641 2011-03-16  Adam Barth  <abarth@webkit.org>
2642
2643         Roll Chromium DEPS.
2644
2645         * DEPS:
2646
2647 2011-03-16  Daniel Sievers  <sievers@google.com>
2648
2649         Reviewed by James Robinson.
2650
2651         Add setting to always force compositing mode
2652         https://bugs.webkit.org/show_bug.cgi?id=56156
2653
2654         * public/WebSettings.h:
2655         * src/WebSettingsImpl.cpp:
2656         (WebKit::WebSettingsImpl::setForceCompositingMode):
2657         * src/WebSettingsImpl.h:
2658
2659 2011-03-16  Sreeram Ramachandran  <sreeram@google.com>
2660
2661         Reviewed by Dimitri Glazkov.
2662
2663         Revert of r80451. Decided to do this in WebCore instead.
2664         https://bugs.webkit.org/show_bug.cgi?id=55844
2665
2666         * public/WebFrame.h:
2667         * src/WebFrameImpl.cpp:
2668         * src/WebFrameImpl.h:
2669
2670 2011-03-15  Ilya Sherman  <isherman@chromium.org>
2671
2672         Reviewed by Darin Fisher.
2673
2674         Move isReadOnly() from WebInputElement to WebFormControlElement
2675         https://bugs.webkit.org/show_bug.cgi?id=55760
2676
2677         * public/WebFormControlElement.h:
2678         * public/WebInputElement.h:
2679         * src/WebFormControlElement.cpp:
2680         (WebKit::WebFormControlElement::isReadOnly):
2681         * src/WebInputElement.cpp:
2682
2683 2011-03-15  John Bauman  <jbauman@chromium.org>
2684
2685         Reviewed by Kenneth Russell.
2686
2687         Non-premultiplied-alpha canvas attribute is ignore for toDataURL, drawImage, texImage2D
2688         https://bugs.webkit.org/show_bug.cgi?id=56238
2689
2690         Add support for reading a webgl context into an ImageData.
2691
2692         * src/GraphicsContext3DChromium.cpp:
2693         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2694         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToImageData):
2695         * src/GraphicsContext3DInternal.h:
2696
2697 2011-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
2698
2699         Unreviewed, rolling out r81144.
2700         http://trac.webkit.org/changeset/81144
2701         https://bugs.webkit.org/show_bug.cgi?id=56432
2702
2703         It broke the ui test
2704         NPAPITesterBase.GetURLRedirectNotification. (Requested by
2705         dave_levin on #webkit).
2706
2707         * public/WebURLLoader.h:
2708         * src/AssociatedURLLoader.cpp:
2709         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2710         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2711         (WebKit::AssociatedURLLoader::loadSynchronously):
2712         (WebKit::AssociatedURLLoader::loadAsynchronously):
2713         (WebKit::AssociatedURLLoader::cancel):
2714         (WebKit::AssociatedURLLoader::setDefersLoading):
2715         (WebKit::AssociatedURLLoader::prepareRequest):
2716         (WebKit::AssociatedURLLoader::willSendRequest):
2717         (WebKit::AssociatedURLLoader::didSendData):
2718         (WebKit::AssociatedURLLoader::didReceiveResponse):
2719         (WebKit::AssociatedURLLoader::didDownloadData):
2720         (WebKit::AssociatedURLLoader::didReceiveData):
2721         (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
2722         (WebKit::AssociatedURLLoader::didFinishLoading):
2723         (WebKit::AssociatedURLLoader::didFail):
2724         * src/AssociatedURLLoader.h:
2725
2726 2011-03-15  Tony Chang  <tony@chromium.org>
2727
2728         Reviewed by Adam Barth.
2729
2730         pngcrush images used by inspector
2731         https://bugs.webkit.org/show_bug.cgi?id=56426
2732
2733         This saves 120k in WebCore and 8k in WebKit/chromium.  I ran
2734         pngcrush -brute, so none of the meta data (ancillary chunks)
2735         are modified.
2736
2737         * src/js/Images/segmentChromium.png:
2738         * src/js/Images/segmentHoverChromium.png:
2739         * src/js/Images/segmentHoverEndChromium.png:
2740         * src/js/Images/segmentSelectedChromium.png:
2741         * src/js/Images/segmentSelectedEndChromium.png:
2742         * src/js/Images/statusbarBackgroundChromium.png:
2743         * src/js/Images/statusbarBottomBackgroundChromium.png:
2744         * src/js/Images/statusbarMenuButtonChromium.png:
2745         * src/js/Images/statusbarMenuButtonSelectedChromium.png:
2746
2747 2011-03-15  Michael Nordman  <michaeln@google.com>
2748
2749         Reviewed by Alexey Proskuryakov.
2750
2751         When initiating a main resource load, let the application cache
2752         know which frame the load is being conducted for. This patch doesn't
2753         resolve the following bug, but the additional WebFrame parameter
2754         should provide the chromium port with enough info to pick the
2755         "most appropiate" cached resource.
2756         https://bugs.webkit.org/show_bug.cgi?id=55505
2757
2758         Also fixup a stale comment in stopLoadingInFrame.
2759
2760         * public/WebApplicationCacheHost.h:
2761         (WebKit::WebApplicationCacheHost::willStartMainResourceRequest):
2762         * src/ApplicationCacheHost.cpp:
2763         (WebCore::ApplicationCacheHost::maybeLoadMainResource):
2764         (WebCore::ApplicationCacheHost::stopLoadingInFrame):
2765
2766 2011-03-15  Tony Chang  <tony@chromium.org>
2767
2768         Reviewed by Adam Barth.
2769
2770         [chromium] add a build target to create a grd file with devtool resources
2771         https://bugs.webkit.org/show_bug.cgi?id=56335
2772
2773         Reland with a fix to avoid really long command lines on Windows.
2774
2775         * WebKit.gyp:
2776         * scripts/generate_devtools_grd.py: Added.
2777
2778 2011-03-15  Alok priyadarshi  <alokp@chromium.org>
2779
2780         Reviewed by James Robinson.
2781
2782         Valgrind error due to uninitialized PluginLayerChromium::m_textureId
2783         https://bugs.webkit.org/show_bug.cgi?id=56390
2784
2785         * src/WebPluginContainerImpl.cpp:
2786         (WebKit::WebPluginContainerImpl::setBackingTextureId):
2787         (WebKit::WebPluginContainerImpl::platformLayer):
2788
2789 2011-03-15  Brett Wilson  <brettw@chromium.org>
2790
2791         Reviewed by Adam Barth.
2792
2793         Make WebConsoleMessage properly respect the log level.
2794         https://bugs.webkit.org/show_bug.cgi?id=56386
2795
2796         * public/WebConsoleMessage.h:
2797         (WebKit::WebConsoleMessage::WebConsoleMessage):
2798
2799 2011-03-15  Tony Chang  <tony@chromium.org>
2800
2801         Revert r81147 and r81149, broke the chromium win build.
2802
2803         * WebKit.gyp:
2804         * scripts/generate_devtools_grd.py: Removed.
2805
2806 2011-03-15  Tony Chang  <tony@chromium.org>
2807
2808         Fix chromium build using python 2.5 (with statement).
2809
2810         * scripts/generate_devtools_grd.py:
2811
2812 2011-03-15  Tony Chang  <tony@chromium.org>
2813
2814         Reviewed by Adam Barth.
2815
2816         [chromium] add a build target to create a grd file with devtool resources
2817         https://bugs.webkit.org/show_bug.cgi?id=56335
2818
2819         This is the webkit side of the fix for
2820         http://code.google.com/p/chromium/issues/detail?id=35793
2821
2822         * WebKit.gyp:
2823         * scripts/generate_devtools_grd.py: Added.
2824
2825 2011-03-15  Bill Budge  <bbudge@chromium.org>
2826
2827         Reviewed by David Levin.
2828
2829         AssociatedURLLoader does not support Cross Origin Requests
2830         https://bugs.webkit.org/show_bug.cgi?id=53925
2831
2832         No new tests. No new functionality exposed.
2833
2834         * public/WebURLLoader.h:
2835         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
2836         * src/AssociatedURLLoader.cpp:
2837         (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
2838         (WebKit::AssociatedURLLoader::ClientAdapter::create):
2839         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
2840         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
2841         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
2842         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
2843         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
2844         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
2845         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
2846         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
2847         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2848         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2849         (WebKit::AssociatedURLLoader::loadSynchronously):
2850         (WebKit::AssociatedURLLoader::loadAsynchronously):
2851         (WebKit::AssociatedURLLoader::cancel):
2852         (WebKit::AssociatedURLLoader::setDefersLoading):
2853         * src/AssociatedURLLoader.h:
2854
2855 2011-03-15  Alok priyadarshi  <alokp@chromium.org>
2856
2857         Reviewed by James Robinson.
2858
2859         Remove unnecessary function WebPlugin::getBackingTextureId
2860         https://bugs.webkit.org/show_bug.cgi?id=56122
2861
2862         It will be tested by Pepper2D and Pepper3D layout/smoke tests
2863         on the Chromium side.
2864
2865         * public/WebPlugin.h:
2866         * src/WebPluginContainerImpl.cpp:
2867         (WebKit::WebPluginContainerImpl::platformLayer):
2868
2869 2011-03-15  Mikhail Naganov  <mnaganov@chromium.org>
2870
2871         Unreviewed. Update chromium deps to pick up the latest V8.
2872
2873         * DEPS:
2874
2875 2011-03-14  Alexey Marinichev  <amarinichev@chromium.org>
2876
2877         Reviewed by Kenneth Russell.
2878
2879         Graphics Context is not properly recovered if the GPU process dies.
2880         https://bugs.webkit.org/show_bug.cgi?id=56148
2881
2882         Split context recreation into two steps.
2883
2884         * src/WebViewImpl.cpp:
2885         (WebKit::WebViewImpl::composite):
2886         (WebKit::WebViewImpl::doComposite):
2887         (WebKit::WebViewImpl::reallocateRenderer):
2888         * src/WebViewImpl.h:
2889
2890 2011-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2891
2892         Unreviewed, rolling out r81094.
2893         http://trac.webkit.org/changeset/81094
2894         https://bugs.webkit.org/show_bug.cgi?id=56355
2895
2896         Broke the chromium DRT related build. (Requested by dave_levin
2897         on #webkit).
2898
2899         * public/WebFrame.h:
2900         * src/WebFrameImpl.cpp:
2901         (WebKit::WebFrameImpl::renderTreeAsText):
2902         (WebKit::WebFrameImpl::layerTreeAsText):
2903         * src/WebFrameImpl.h:
2904
2905 2011-03-14  Daniel Sievers  <sievers@google.com>
2906
2907         Reviewed by Simon Fraser.
2908
2909         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
2910         https://bugs.webkit.org/show_bug.cgi?id=56139
2911
2912         * public/WebFrame.h:
2913         * src/WebFrameImpl.cpp:
2914         (WebKit::WebFrameImpl::renderTreeAsText):
2915         (WebKit::WebFrameImpl::layerTreeAsText):
2916         * src/WebFrameImpl.h:
2917
2918 2011-03-14  John Knottenbelt  <jknotten@chromium.org>
2919
2920         Reviewed by Steve Block.
2921
2922         Detach Geolocation from Frame when Page destroyed.
2923         https://bugs.webkit.org/show_bug.cgi?id=52877
2924
2925         Add accessors to the WebGeolocationClientMock to allow the number of
2926         pending geolocation permission requests to be queried.
2927
2928         * public/WebGeolocationClientMock.h:
2929         * src/WebGeolocationClientMock.cpp:
2930         (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
2931
2932 2011-03-11  David Levin  <levin@chromium.org>
2933
2934         Rollout the chromium deps roll as it adds a dependency on a header
2935         that the bots building for WebKit don't seem to have.
2936
2937         Specifically gfx\gl\gl_context_egl.cc depends on d3dcompiler.h
2938
2939         * DEPS:
2940
2941 2011-03-11  Daniel Cheng  <dcheng@chromium.org>
2942
2943         Reviewed by Tony Chang.
2944
2945         [chromium] Correct return type of WebClipboard::readImage.
2946         https://bugs.webkit.org/show_bug.cgi?id=56234
2947
2948         Update the return type to reflect that we are returning a blob of PNG
2949         data, not a bitmap.
2950
2951         * public/WebClipboard.h:
2952         (WebKit::WebClipboard::readImage):
2953
2954 2011-03-11  David Levin  <levin@chromium.org>
2955
2956         Update chromium deps to pick up the skia roll.
2957
2958         * DEPS:
2959
2960 2011-03-11  Adrienne Walker  <enne@google.com>
2961
2962         Reviewed by Kenneth Russell.
2963
2964         Add missing unit tests to TilingData.
2965         https://bugs.webkit.org/show_bug.cgi?id=54143
2966
2967         * tests/TilingDataTest.cpp:
2968         (WebCore::TEST):
2969
2970 2011-03-11  Anton D'Auria  <adauria@apple.com>
2971
2972         Reviewed and landed by Brady Eidson.
2973
2974         Add WebKit1 API to view and delete local storage
2975         https://bugs.webkit.org/show_bug.cgi?id=51878
2976
2977         * src/StorageNamespaceProxy.cpp:
2978         (WebCore::StorageNamespaceProxy::clearOriginForDeletion):
2979         (WebCore::StorageNamespaceProxy::clearAllOriginsForDeletion):
2980         (WebCore::StorageNamespaceProxy::sync):
2981         * src/StorageNamespaceProxy.h:
2982
2983 2011-03-11  Dominic Mazzoni  <dmazzoni@google.com>
2984
2985         Reviewed by Dimitri Glazkov.
2986
2987         Add an accessibilityIsIgnored method to WebAccessibilityObject.
2988         https://bugs.webkit.org/show_bug.cgi?id=50969
2989
2990         * public/WebAccessibilityObject.h:
2991         * src/WebAccessibilityObject.cpp:
2992         (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
2993
2994 2011-03-11  Avi Drissman  <avi@google.com>
2995
2996         Reviewed by Tony Chang.
2997
2998         Fix missing initialization of new member variables.
2999         https://bugs.webkit.org/show_bug.cgi?id=50969
3000
3001         * public/WebMenuItemInfo.h:
3002         (WebKit::WebMenuItemInfo::WebMenuItemInfo):
3003
3004 2011-03-11  Roland Steiner  <rolandsteiner@chromium.org>
3005
3006         Reviewed by Ryosuke Niwa.
3007
3008         Bug 55570 - Remove dependency of dom/InputElement.cpp on html/ and wml/
3009         https://bugs.webkit.org/show_bug.cgi?id=55570
3010
3011         Add a virtual function toInputElement() to Node that has a default
3012         implementation of returning 0.
3013         For HTMLInputElement and WMLInputElement (which derive from InputElement)
3014         override this to return the object.
3015         Change all calling sites of the old toInputElement to use the new member
3016         function. This also allows us to save some casts.
3017
3018         No new tests (refactoring).
3019
3020         * src/WebInputElement.cpp:
3021         (WebKit::toWebInputElement):
3022
3023 2011-03-10  Takayoshi Kochi  <kochi@chromium.org>
3024
3025         Reviewed by Tony Chang.
3026
3027         Remove default parameter declaration for familiForChars(), which is no longer necessary.
3028
3029         * public/gtk/WebFontInfo.h:
3030
3031 2011-03-10  Nat Duca  <nduca@chromium.org>
3032
3033         Reviewed by James Robinson.
3034
3035         [chromium] Make updateAndDrawLayers argumentless.
3036         https://bugs.webkit.org/show_bug.cgi?id=55985
3037
3038         Made the TilePainters and viewport parameters for
3039         LayerRendererChromium member variables instead of arguments on
3040         updateAndDrawLayers. In a future change, this will allows us to
3041         draw the layer tree without the WebView's assistance.
3042
3043         * src/WebViewImpl.cpp:
3044         (WebKit::WebViewImpl::resize):
3045         (WebKit::WebViewImpl::paint):
3046         (WebKit::WebViewImpl::scrollRootLayerRect):
3047         (WebKit::WebViewImpl::invalidateRootLayerRect):
3048         (WebKit::WebViewImplContentPainter::create):
3049         (WebKit::WebViewImplContentPainter::paint):
3050         (WebKit::WebViewImplContentPainter::WebViewImplContentPainter):
3051         (WebKit::WebViewImplScrollbarPainter::create):
3052         (WebKit::WebViewImplScrollbarPainter::paint):
3053         (WebKit::WebViewImplScrollbarPainter::WebViewImplScrollbarPainter):
3054         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3055         (WebKit::WebViewImpl::doComposite):
3056         (WebKit::WebViewImpl::reallocateRenderer):
3057         (WebKit::WebViewImpl::updateLayerRendererViewport):
3058         * src/WebViewImpl.h:
3059
3060 2011-03-10  Tony Chang  <tony@chromium.org>
3061
3062         Unreviewed, roll chromium version to r77259 to pick up
3063         webfontinfo api change.
3064
3065         * DEPS:
3066
3067 2011-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
3068
3069         Unreviewed, rolling out r80701.
3070         http://trac.webkit.org/changeset/80701
3071         https://bugs.webkit.org/show_bug.cgi?id=56126
3072
3073         fast/dom/Geolocation/window-close-crash.html fails on Snow
3074         Leopard release builds (Requested by mihaip on #webkit).
3075
3076         * public/WebGeolocationClientMock.h:
3077         * src/WebGeolocationClientMock.cpp:
3078
3079 2011-03-10  Andrey Kosyakov  <caseq@chromium.org>
3080
3081         Reviewed by Yury Semikhatsky.
3082
3083         Web Inspector: better names for HAR export commands
3084         https://bugs.webkit.org/show_bug.cgi?id=56097
3085
3086         Rename Export to HAR to Copy entry/network log as HAR
3087         Expose Copy as HAR unconditionally, remove related settings entry.
3088
3089         * src/js/DevTools.js: removed override for resourceExportEnabled
3090
3091 2011-01-26  John Knottenbelt  <jknotten@chromium.org>
3092
3093         Reviewed by Dmitry Titov.
3094
3095         Detach Geolocation from Frame when Page destroyed.
3096         https://bugs.webkit.org/show_bug.cgi?id=52877
3097
3098         Add accessors to the WebGeolocationClientMock to allow the number of
3099         pending geolocation permission requests to be queried.
3100
3101         * public/WebGeolocationClientMock.h:
3102         * src/WebGeolocationClientMock.cpp:
3103         (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
3104
3105 2011-03-08  Hans Wennborg  <hans@chromium.org>
3106
3107         Reviewed by Jeremy Orlow.
3108
3109         IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
3110         https://bugs.webkit.org/show_bug.cgi?id=55948
3111
3112         Add a parameter that allows for selection of alternative backing store
3113         implementations.
3114
3115         * public/WebIDBFactory.h:
3116         (WebKit::WebIDBFactory::open):
3117         * src/AssertMatchingEnums.cpp:
3118         * src/IDBFactoryBackendProxy.cpp:
3119         (WebCore::IDBFactoryBackendProxy::open):
3120         * src/IDBFactoryBackendProxy.h:
3121         * src/WebIDBFactoryImpl.cpp:
3122         (WebKit::WebIDBFactoryImpl::open):
3123         * src/WebIDBFactoryImpl.h:
3124
3125 2011-03-08  Kinuko Yasuda  <kinuko@chromium.org>
3126
3127         Reviewed by David Levin.
3128
3129         Destroying WorkerFileSystemCallbacksBridge on main thread results in ASSERT in WorkerContext::Observer::~Observer
3130         https://bugs.webkit.org/show_bug.cgi?id=55895
3131
3132         * src/WorkerFileSystemCallbacksBridge.cpp:
3133         (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnWorkerThread):
3134         Added stopObserving() so that releasing the bridge on the main thread
3135         (this could happen before or after the runTaskOnWorkerThread) does
3136         not cause the assertion error.
3137
3138 2011-03-08  Alok priyadarshi  <alokp@chromium.org>
3139
3140         Reviewed by Dimitri Glazkov.
3141
3142         Plugins needs a way to trigger style recalc
3143         https://bugs.webkit.org/show_bug.cgi?id=55242
3144
3145         It will be tested by Pepper2D and Pepper3D layout/smoke tests
3146         on the Chromium side.
3147         
3148         * public/WebPluginContainer.h:
3149         * src/WebPluginContainerImpl.cpp:
3150         (WebKit::WebPluginContainerImpl::setBackingTextureId):
3151         * src/WebPluginContainerImpl.h:
3152
3153 2011-03-08  Andrei Popescu  <andreip@google.com>
3154
3155         Reviewed by Steve Block.
3156
3157         IDBCallbacks::onsuccess(IDBIndex*) is unused and should be removed.
3158         https://bugs.webkit.org/show_bug.cgi?id=55938
3159
3160         * public/WebIDBCallbacks.h:
3161         * src/IDBCallbacksProxy.cpp:
3162         * src/IDBCallbacksProxy.h:
3163         * src/WebIDBCallbacksImpl.cpp:
3164         * src/WebIDBCallbacksImpl.h:
3165         * src/WebIDBObjectStoreImpl.cpp:
3166
3167 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
3168
3169         Reviewed by David Levin.
3170
3171         Add support for DataTransferItems
3172         https://bugs.webkit.org/show_bug.cgi?id=55115
3173
3174         Add new runtime enabled flag for data transfer items feature.
3175
3176         * public/WebRuntimeFeatures.h:
3177         * src/WebRuntimeFeatures.cpp:
3178         (WebKit::WebRuntimeFeatures::enableDataTransferItems):
3179         (WebKit::WebRuntimeFeatures::isDataTransferItemsEnabled):
3180
3181 2011-03-07  Ryosuke Niwa  <rniwa@webkit.org>
3182
3183         Chromium build fix.
3184
3185         * src/ContextMenuClientImpl.cpp:
3186         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3187
3188 2011-03-07  Ryosuke Niwa  <rniwa@webkit.org>
3189
3190         Reviewed by Darin Adler.
3191
3192         selectionHasStyle and selectionStartHasStyle should use EditingStyle
3193         https://bugs.webkit.org/show_bug.cgi?id=55902
3194
3195         selectionHasStyle now takes a property id and a value instead of a CSSMutableStyleDeclaration.
3196
3197         * src/ContextMenuClientImpl.cpp:
3198         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Calls selectionHasStyle.
3199
3200 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
3201
3202         Reviewed by Tony Chang.
3203
3204         Add plumbing for paste support to ChromiumDataObject::types()
3205         https://bugs.webkit.org/show_bug.cgi?id=55792
3206
3207         This requires a DEPS roll for a Chromium-side change to support DRT testing of
3208         event.dataTransfer.types.
3209
3210         * DEPS:
3211
3212 2011-03-07  Takayoshi Kochi  <kochi@chromium.org>
3213
3214         Reviewed by Tony Chang.
3215
3216         Use preferred locale information when choosing fallback font using
3217         fontconfig on Linux platform.
3218         https://bugs.webkit.org/show_bug.cgi?id=55453
3219
3220         Tests will be covered by Chromium side.
3221
3222         * public/gtk/WebFontInfo.h:
3223         (WebKit::WebFontInfo::familyForChars): added 3rd parameter |preferredLocale|
3224         * public/linux/WebSandboxSupport.h:
3225         (WebKit::WebSandboxSupport::getFontFamilyForCharacters): added 3rd parameter |preferredLocale|
3226         * src/PlatformBridge.cpp:
3227         * src/gtk/WebFontInfo.cpp:
3228
3229 2011-03-07  James Robinson  <jamesr@chromium.org>
3230
3231         Reviewed by Kenneth Russell.
3232
3233         [chromium] Separate the &quot;update&quot; and &quot;draw&quot; portions of LayerRendererChromium&apos;s drawLayers function
3234         https://bugs.webkit.org/show_bug.cgi?id=54047
3235
3236         Call updated LayerRendererChromium APIs.
3237
3238         * src/WebViewImpl.cpp:
3239         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
3240         (WebKit::WebViewImpl::paint):
3241         (WebKit::WebViewImpl::doComposite):
3242
3243 2011-03-07  Sam Weinig  <sam@webkit.org>
3244
3245         Reviewed by Anders Carlsson.
3246
3247         Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
3248         https://bugs.webkit.org/show_bug.cgi?id=55827
3249
3250         Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
3251         and pass the entire response, instead of just the MIMEType.
3252
3253         * src/FrameLoaderClientImpl.cpp:
3254         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForResponse):
3255         * src/FrameLoaderClientImpl.h:
3256
3257 2011-03-07  Marcus Bulach  <bulach@chromium.org>
3258
3259         Reviewed by Dan Bernstein.
3260
3261         WebViewImpl::focusedWebCoreFrame() should be const.
3262         https://bugs.webkit.org/show_bug.cgi?id=55870
3263
3264         * src/WebViewImpl.cpp:
3265         (WebKit::WebViewImpl::focusedWebCoreFrame):
3266         * src/WebViewImpl.h:
3267
3268 2011-03-07  Eric Carlson  <eric.carlson@apple.com>
3269
3270         Reviewed by Darin Adler.
3271
3272         Add API to enumerate/delete files downloaded for <audio> and <video>
3273         https://bugs.webkit.org/show_bug.cgi?id=55267
3274
3275         * src/WebMediaPlayerClientImpl.cpp:
3276         (WebKit::WebMediaPlayerClientImpl::registerSelf): Update for MediaEngineRegistrar change.
3277
3278 2011-03-07  Andrei Popescu  <andreip@google.com>
3279
3280         Reviewed by Steve Block.
3281
3282         IDBRequest::onSuccess(IDBObjectStore*) should be removed as it is unused.
3283         https://bugs.webkit.org/show_bug.cgi?id=55777
3284
3285         * src/IDBCallbacksProxy.cpp:
3286         * src/IDBCallbacksProxy.h:
3287         * src/WebIDBCallbacksImpl.cpp:
3288         * src/WebIDBCallbacksImpl.h:
3289
3290 2011-03-07  Sheriff Bot  <webkit.review.bot@gmail.com>
3291
3292         Unreviewed, rolling out r80458.
3293         http://trac.webkit.org/changeset/80458
3294         https://bugs.webkit.org/show_bug.cgi?id=55863
3295
3296         caused tests to crash on several chromium bots (Requested by
3297         ukai on #webkit).
3298
3299         * src/AssociatedURLLoader.cpp:
3300         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3301         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3302         (WebKit::AssociatedURLLoader::loadSynchronously):
3303         (WebKit::AssociatedURLLoader::loadAsynchronously):
3304         (WebKit::AssociatedURLLoader::cancel):
3305         (WebKit::AssociatedURLLoader::setDefersLoading):
3306         (WebKit::AssociatedURLLoader::prepareRequest):
3307         (WebKit::AssociatedURLLoader::willSendRequest):
3308         (WebKit::AssociatedURLLoader::didSendData):
3309         (WebKit::AssociatedURLLoader::didReceiveResponse):
3310         (WebKit::AssociatedURLLoader::didDownloadData):
3311         (WebKit::AssociatedURLLoader::didReceiveData):
3312         (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
3313         (WebKit::AssociatedURLLoader::didFinishLoading):
3314         (WebKit::AssociatedURLLoader::didFail):
3315         * src/AssociatedURLLoader.h:
3316
3317 2011-03-07  Bill Budge  <bbudge@chromium.org>
3318
3319         Reviewed by David Levin.
3320
3321         AssociatedURLLoader does not support Cross Origin Requests
3322         https://bugs.webkit.org/show_bug.cgi?id=53925
3323
3324         No tests needed. Exposes no new functionality.
3325
3326         * src/AssociatedURLLoader.cpp:
3327         (WebKit::AssociatedURLLoader::ClientAdapter::create):
3328         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
3329         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
3330         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
3331         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
3332         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
3333         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
3334         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
3335         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
3336         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3337         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3338         (WebKit::AssociatedURLLoader::loadSynchronously):
3339         (WebKit::AssociatedURLLoader::loadAsynchronously):
3340         (WebKit::AssociatedURLLoader::cancel):
3341         (WebKit::AssociatedURLLoader::setDefersLoading):
3342         * src/AssociatedURLLoader.h:
3343         (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
3344
3345 2011-03-06  Sreeram Ramachandran  <sreeram@google.com>
3346
3347         Reviewed by Dimitri Glazkov.
3348
3349         Expose page dismissal event status through the WebKit API for chromium.
3350         https://bugs.webkit.org/show_bug.cgi?id=55844
3351
3352         Chromium will find it useful to know the page dismissal status (i.e.,
3353         whether a frame is in the midst of executing a beforeunload or unload
3354         handler), so expose that information through the chromium port in the
3355         WebKit API.
3356      
3357         This is my second attempt at this patch. The previous one broke
3358         downstream Chromium builds of some unit tests which had classes derived
3359         from WebFrame (and thus became uninstantiable because of this new pure
3360         virtual method). Those have now been fixed (http://crrev.com/77101).
3361
3362         * public/WebFrame.h:
3363         * src/WebFrameImpl.cpp:
3364         (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
3365         * src/WebFrameImpl.h:
3366
3367 2011-03-06  Sheriff Bot  <webkit.review.bot@gmail.com>
3368
3369         Unreviewed, rolling out r80436.
3370         http://trac.webkit.org/changeset/80436
3371         https://bugs.webkit.org/show_bug.cgi?id=55849
3372
3373         Broke Chromium compile across the board (Requested by dglazkov
3374         on #webkit).
3375
3376         * public/WebFrame.h:
3377         * src/WebFrameImpl.cpp:
3378         * src/WebFrameImpl.h:
3379
3380 2011-03-06  Sreeram Ramachandran  <sreeram@google.com>
3381
3382         Reviewed by Dimitri Glazkov.
3383
3384         Expose page dismissal event status through the WebKit API for chromium
3385         https://bugs.webkit.org/show_bug.cgi?id=55844
3386
3387         * public/WebFrame.h:
3388         * src/WebFrameImpl.cpp:
3389         (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
3390         * src/WebFrameImpl.h:
3391
3392 2011-03-05  Daniel Cheng  <dcheng@chromium.org>
3393
3394         Reviewed by Dmitry Titov.
3395
3396         [chromium] Add method to WebClipboard to read images from the clipboard.
3397         https://bugs.webkit.org/show_bug.cgi?id=55814
3398
3399         * public/WebClipboard.h:
3400         (WebKit::WebClipboard::readImage):
3401
3402 2011-03-04  Adam Barth  <abarth@webkit.org>
3403
3404         Reviewed by Dimitri Glazkov.
3405
3406         Remove unneeded round-trips through ../Source in the Chromium GYP build
3407         https://bugs.webkit.org/show_bug.cgi?id=55795
3408
3409         * WebKit.gyp:
3410
3411 2011-03-03  John Abd-El-Malek  <jam@chromium.org>
3412
3413         Reviewed by Dimitri Glazkov.
3414
3415         [chromium] Get rid of IsContentFiltered flags since they&apos;re not used anymore
3416         https://bugs.webkit.org/show_bug.cgi?id=55748
3417
3418         * DEPS:
3419         * public/WebURLResponse.h:
3420         * src/WebURLResponse.cpp:
3421
3422 2011-03-04  James Su <suzhe@chromium.org>
3423
3424         Reviewed by Dimitri Glazkov.
3425
3426         [Chromium] keycode is always 0 when using non-Latin keyboard layout.
3427         https://bugs.webkit.org/show_bug.cgi?id=54939
3428
3429         No intended functionality change.
3430
3431         * src/mac/WebInputEventFactory.mm:
3432         (WebKit::windowsKeyCodeForKeyEvent): Use the same implementation
3433         provided in WebCore/platform/mac/KeyEventMac.mm.
3434
3435 2011-03-04  Zelidrag Hornung  <zelidrag@chromium.org>
3436
3437         Reviewed by David Levin
3438
3439         Expose ability to create instance of DOMFileSystem from Chromium side.
3440         https://bugs.webkit.org/show_bug.cgi?id=55618
3441
3442         * public/WebFrame.h:
3443         * src/WebFrameImpl.cpp:
3444         (WebKit::WebFrameImpl::createFileSystem):
3445         * src/WebFrameImpl.h:
3446
3447 2011-03-03  Nat Duca  <nduca@chromium.org>
3448
3449         Reviewed by James Robinson.
3450
3451         [chromium] Create a LayerChromium layerTreeAsText. Add HUD to
3452         LayerRendererChromium that draws compositor FPS and, optionally,
3453         the layer tree.
3454         https://bugs.webkit.org/show_bug.cgi?id=54710
3455
3456         * public/WebSettings.h:
3457         * src/WebSettingsImpl.cpp:
3458         (WebKit::WebSettingsImpl::WebSettingsImpl):
3459         (WebKit::WebSettingsImpl::setShowFPSCounter):
3460         (WebKit::WebSettingsImpl::setShowPlatformLayerTree):
3461         * src/WebSettingsImpl.h:
3462         (WebKit::WebSettingsImpl::showFPSCounter):
3463         (WebKit::WebSettingsImpl::showPlatformLayerTree):
3464         * src/WebViewImpl.cpp:
3465         (WebKit::WebViewImpl::doComposite):
3466
3467 2011-03-03  Alexey Proskuryakov  <ap@apple.com>
3468
3469         Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
3470         via ChromeClient.h
3471
3472         * src/ChromeClientImpl.h:
3473
3474 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
3475
3476         Reviewed by Darin Adler.
3477
3478         REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
3479         https://bugs.webkit.org/show_bug.cgi?id=55633
3480         <rdar://problem/8963023>
3481
3482         * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::keyboardUIMode):
3483         * src/ChromeClientImpl.h:
3484         Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
3485         this platform doesn't observe or have full keyboard access state.
3486
3487 2011-03-03  Sheriff Bot  <webkit.review.bot@gmail.com>
3488
3489         Unreviewed, rolling out r80219.
3490         http://trac.webkit.org/changeset/80219
3491         https://bugs.webkit.org/show_bug.cgi?id=55680
3492
3493         "Causes several media test crashes" (Requested by tonyg-cr on
3494         #webkit).
3495
3496         * src/AssociatedURLLoader.cpp:
3497         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3498         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3499         (WebKit::AssociatedURLLoader::loadSynchronously):
3500         (WebKit::AssociatedURLLoader::loadAsynchronously):
3501         (WebKit::AssociatedURLLoader::cancel):
3502         (WebKit::AssociatedURLLoader::setDefersLoading):
3503         (WebKit::AssociatedURLLoader::prepareRequest):
3504         (WebKit::AssociatedURLLoader::willSendRequest):
3505         (WebKit::AssociatedURLLoader::didSendData):
3506         (WebKit::AssociatedURLLoader::didReceiveResponse):
3507         (WebKit::AssociatedURLLoader::didDownloadData):
3508         (WebKit::AssociatedURLLoader::didReceiveData):
3509         (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
3510         (WebKit::AssociatedURLLoader::didFinishLoading):
3511         (WebKit::AssociatedURLLoader::didFail):
3512         * src/AssociatedURLLoader.h:
3513
3514 2011-03-03  Dominic Mazzoni  <dmazzoni@google.com>
3515
3516         Reviewed by Dimitri Glazkov.
3517
3518         Add an equals() method to WebAccessibilityObject.
3519         https://bugs.webkit.org/show_bug.cgi?id=55631
3520
3521         * public/WebAccessibilityObject.h:
3522         * src/WebAccessibilityObject.cpp:
3523         (WebKit::WebAccessibilityObject::equals):
3524
3525 2011-03-03  Pavel Podivilov  <podivilov@chromium.org>
3526
3527         Reviewed by Yury Semikhatsky.
3528
3529         Web Inspector: make selected call frame debugger presentation model property.
3530         https://bugs.webkit.org/show_bug.cgi?id=55582
3531
3532         * src/js/Tests.js:
3533
3534 2011-03-03  Bill Budge  <bbudge@chromium.org>
3535
3536         Reviewed by David Levin.
3537
3538         AssociatedURLLoader does not support Cross Origin Requests
3539         https://bugs.webkit.org/show_bug.cgi?id=53925
3540
3541         No tests needed. Exposes no new functionality.
3542
3543         * src/AssociatedURLLoader.cpp:
3544         (WebKit::AssociatedURLLoader::ClientAdapter::create):
3545         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
3546         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
3547         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
3548         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
3549         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
3550         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
3551         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
3552         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
3553         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3554         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3555         (WebKit::AssociatedURLLoader::loadSynchronously):
3556         (WebKit::AssociatedURLLoader::loadAsynchronously):
3557         (WebKit::AssociatedURLLoader::cancel):
3558         (WebKit::AssociatedURLLoader::setDefersLoading):
3559         * src/AssociatedURLLoader.h:
3560         (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
3561
3562 2011-03-03  Steve Lacey  <sjl@chromium.org>
3563
3564         Reviewed by Darin Fisher.
3565
3566         Wire up webkit metrics changes to chromium changes.
3567         https://bugs.webkit.org/show_bug.cgi?id=54580
3568
3569         * features.gypi:
3570         * public/WebMediaPlayer.h:
3571         * src/WebMediaPlayerClientImpl.cpp:
3572         (WebKit::WebMediaPlayerClientImpl::decodedFrameCount):
3573         (WebKit::WebMediaPlayerClientImpl::droppedFrameCount):
3574         (WebKit::WebMediaPlayerClientImpl::audioDecodedByteCount):
3575         (WebKit::WebMediaPlayerClientImpl::videoDecodedByteCount):
3576         * src/WebMediaPlayerClientImpl.h:
3577
3578 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
3579
3580         Reviewed by David Levin.
3581
3582         Manually revert ChromiumDataObject changes.
3583         https://bugs.webkit.org/show_bug.cgi?id=55627
3584
3585         * public/WebView.h:
3586         * src/WebDragData.cpp:
3587         (WebKit::WebDragData::initialize):
3588         * src/WebViewImpl.cpp:
3589         (WebKit::WebViewImpl::dragTargetDragEnter):
3590         * src/WebViewImpl.h:
3591
3592 2011-03-02  David Grogan  <dgrogan@chromium.org>
3593
3594         Reviewed by Jeremy Orlow.
3595
3596         IndexedDB: fire versionchange events when calling setVersion
3597         https://bugs.webkit.org/show_bug.cgi?id=55095
3598
3599         * WebKit.gyp:
3600         * src/IDBDatabaseCallbacksProxy.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
3601         (WebCore::IDBDatabaseCallbacksProxy::create):
3602         (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
3603         (WebCore::IDBDatabaseCallbacksProxy::~IDBDatabaseCallbacksProxy):
3604         (WebCore::IDBDatabaseCallbacksProxy::onVersionChange):
3605         * src/IDBDatabaseCallbacksProxy.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
3606         * src/IDBDatabaseProxy.cpp:
3607         (WebCore::IDBDatabaseProxy::setVersion):
3608         (WebCore::IDBDatabaseProxy::close):
3609         (WebCore::IDBDatabaseProxy::open):
3610         * src/IDBDatabaseProxy.h:
3611         * src/WebIDBDatabaseCallbacksImpl.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.cpp.
3612         (WebCore::WebIDBDatabaseCallbacksImpl::WebIDBDatabaseCallbacksImpl):
3613         (WebCore::WebIDBDatabaseCallbacksImpl::~WebIDBDatabaseCallbacksImpl):
3614         (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
3615         * src/WebIDBDatabaseCallbacksImpl.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
3616         * src/WebIDBDatabaseImpl.cpp:
3617         (WebKit::WebIDBDatabaseImpl::setVersion):
3618         (WebKit::WebIDBDatabaseImpl::close):
3619         (WebKit::WebIDBDatabaseImpl::open):
3620         * src/WebIDBDatabaseImpl.h:
3621
3622 2011-03-02  Sheriff Bot  <webkit.review.bot@gmail.com>
3623
3624         Unreviewed, rolling out r80139.
3625         http://trac.webkit.org/changeset/80139
3626         https://bugs.webkit.org/show_bug.cgi?id=55620
3627
3628         failing and crashing tests on Snow Leopard bot (Requested by
3629         mihaip1 on #webkit).
3630
3631         * public/WebGeolocationClientMock.h:
3632         * src/WebGeolocationClientMock.cpp:
3633
3634 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
3635
3636         Revert frame-specific WebClipboard changes
3637         https://bugs.webkit.org/show_bug.cgi?id=55617
3638
3639         This code is no longer needed since we've decided to use the original
3640         approach to copy/paste drag/drop handling in ClipboardChromium.
3641
3642         * public/WebFrameClient.h:
3643         * src/PlatformBridge.cpp:
3644         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
3645         (WebCore::PlatformBridge::clipboardReadData):
3646         (WebCore::PlatformBridge::clipboardReadFilenames):
3647         * src/WebFrameImpl.cpp:
3648         (WebKit::WebFrameImpl::fromFrame):
3649         * src/WebFrameImpl.h:
3650         * src/WebViewImpl.cpp:
3651         (WebKit::WebViewImpl::dragTargetDragEnterNew):
3652
3653 2011-03-02  Tony Chang  <tony@chromium.org>
3654
3655         Unreviewed, rolling chromium DEPS to r76362.
3656
3657         https://bugs.webkit.org/show_bug.cgi?id=55564
3658
3659         * DEPS:
3660
3661 2011-02-28  Jeremy Orlow  <jorlow@chromium.org>
3662
3663         Reviewed by James Robinson.
3664
3665         Split IDBCursor.value into IDBCursor.primaryKey and IDBCursor.value
3666         https://bugs.webkit.org/show_bug.cgi?id=55443
3667
3668         * public/WebIDBCursor.h:
3669         (WebKit::WebIDBCursor::primaryKey):
3670         (WebKit::WebIDBCursor::value):
3671         * src/IDBCursorBackendProxy.cpp:
3672         (WebCore::IDBCursorBackendProxy::primaryKey):
3673         (WebCore::IDBCursorBackendProxy::value):
3674         * src/IDBCursorBackendProxy.h:
3675         * src/WebIDBCursorImpl.cpp:
3676         (WebKit::WebIDBCursorImpl::key):
3677         (WebKit::WebIDBCursorImpl::primaryKey):
3678         (WebKit::WebIDBCursorImpl::value):
3679         * src/WebIDBCursorImpl.h:
3680
3681 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
3682
3683         Reviewed by David Levin.
3684
3685         Add feature define for data transfer items
3686         https://bugs.webkit.org/show_bug.cgi?id=55510
3687
3688         * features.gypi:
3689
3690 2011-01-26  John Knottenbelt  <jknotten@chromium.org>
3691
3692         Detach Geolocation from Frame when Page destroyed.
3693         https://bugs.webkit.org/show_bug.cgi?id=52877
3694
3695         Add accessors to the WebGeolocationClientMock to allow the number of
3696         pending geolocation permission requests to be queried.
3697
3698         * public/WebGeolocationClientMock.h:
3699         * src/WebGeolocationClientMock.cpp:
3700         (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
3701
3702 2011-03-01  David Grogan  <dgrogan@chromium.org>
3703
3704         Reviewed by Jeremy Orlow.
3705
3706         IndexedDB: public webkit interfaces for firing versionchange events to IDBDatabase objects
3707         https://bugs.webkit.org/show_bug.cgi?id=55548
3708
3709         * WebKit.gyp:
3710         * public/WebIDBDatabase.h:
3711         (WebKit::WebIDBDatabase::createObjectStore):
3712         (WebKit::WebIDBDatabase::open):
3713         * public/WebIDBDatabaseCallbacks.h: Added.
3714         (WebKit::WebIDBDatabaseCallbacks::~WebIDBDatabaseCallbacks):
3715         (WebKit::WebIDBDatabaseCallbacks::onVersionChange):
3716
3717 2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
3718
3719         Unreviewed, rolling out r80079.
3720         http://trac.webkit.org/changeset/80079
3721         https://bugs.webkit.org/show_bug.cgi?id=55547
3722
3723         "Broke the Win debug build?" (Requested by dcheng on #webkit).
3724
3725         * features.gypi:
3726
3727 2011-03-01  Daniel Cheng  <dcheng@chromium.org>
3728
3729         Reviewed by David Levin.
3730
3731         Add feature define for data transfer items
3732         https://bugs.webkit.org/show_bug.cgi?id=55510
3733
3734         * features.gypi:
3735
3736 2011-03-01  Jeremy Orlow  <jorlow@chromium.org>
3737
3738         Reviewed by James Robinson.
3739
3740         Add a primaryKey method to IDBCursor
3741         https://bugs.webkit.org/show_bug.cgi?id=55518
3742
3743         In prep for https://bugs.webkit.org/show_bug.cgi?id=55443
3744
3745         * public/WebIDBCursor.h:
3746         (WebKit::WebIDBCursor::primaryKey):
3747
3748 2011-02-28  Chang Shu  <cshu@webkit.org>
3749
3750         Reviewed by Ryosuke Niwa.
3751
3752         Remove the support of Frame::isContentEditable and its dependencies.
3753         https://bugs.webkit.org/show_bug.cgi?id=54292
3754
3755         Remove the WebKit side implementation.
3756
3757         * src/EditorClientImpl.cpp:
3758         * src/EditorClientImpl.h:
3759
3760 2011-02-28  Avi Drissman  <avi@google.com>
3761
3762         Reviewed by James Robinson.
3763
3764         WebCursorInfo needs to match enums in platform/Cursor.h
3765         https://bugs.webkit.org/show_bug.cgi?id=55094
3766
3767         * public/WebCursorInfo.h:
3768         * src/AssertMatchingEnums.cpp:
3769
3770 2011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
3771
3772         Unreviewed, rolling out r78789.
3773         http://trac.webkit.org/changeset/78789
3774         https://bugs.webkit.org/show_bug.cgi?id=55409
3775
3776         Incorrect canvas fallback implementation (Requested by
3777         inferno-sec on #webkit).
3778
3779         * public/WebAccessibilityRole.h:
3780         * src/AssertMatchingEnums.cpp:
3781
3782 2011-02-28  Adam Klein  <adamk@chromium.org>
3783
3784         Reviewed by Adam Barth.
3785
3786         [fileapi] Implement LocalFileSystem.resolveLocalFileSystemURI
3787         https://bugs.webkit.org/show_bug.cgi?id=54774
3788
3789         * src/LocalFileSystemChromium.cpp:
3790         (WebCore::LocalFileSystem::readFileSystem):
3791         Removed size argument to readFileSystem()
3792
3793 2011-02-27  Pavel Feldman  <pfeldman@chromium.org>
3794
3795         Reviewed by Darin Fisher.
3796
3797         Pass frame history state in the context menu parameters.
3798         https://bugs.webkit.org/show_bug.cgi?id=55232
3799
3800         * public/WebContextMenuData.h:
3801         * src/ContextMenuClientImpl.cpp:
3802         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3803
3804 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
3805
3806         Reviewed by Pavel Feldman.
3807
3808         DumpRenderTree should reset frame opener between tests.
3809         https://bugs.webkit.org/show_bug.cgi?id=54874
3810
3811         Added clearOpener method to WebFrame.
3812
3813         * public/WebFrame.h:
3814         * src/WebFrameImpl.cpp:
3815         (WebKit::WebFrameImpl::clearOpener):
3816         * src/WebFrameImpl.h:
3817
3818 2011-02-26  Pavel Feldman  <pfeldman@chromium.org>
3819
3820         Not reviewed: rolling chromium DEPS.
3821
3822         * DEPS:
3823
3824 2011-02-26  Bill Budge  <bbudge@chromium.org>
3825
3826         Reviewed by David Levin.
3827
3828         WebURLRequest, WebURLResponse properties should be passed to WebCore Layer
3829         https://bugs.webkit.org/show_bug.cgi?id=54489
3830
3831         No tests needed. This is already tested by ui_tests, nacl_ui_tests, and nacl_sandbox_tests
3832
3833         * src/WebURLRequest.cpp:
3834         (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
3835         (WebKit::WebURLRequest::downloadToFile):
3836         (WebKit::WebURLRequest::setDownloadToFile):
3837         * src/WebURLRequestPrivate.h:
3838         (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
3839         * src/WebURLResponse.cpp:
3840         (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
3841         (WebKit::WebURLResponse::downloadFilePath):
3842         (WebKit::WebURLResponse::setDownloadFilePath):
3843         * src/WebURLResponsePrivate.h:
3844
3845 2011-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3846
3847         Unreviewed, rolling out r79764.
3848         http://trac.webkit.org/changeset/79764
3849         https://bugs.webkit.org/show_bug.cgi?id=55295
3850
3851         "broke Chromium builds" (Requested by rniwa on #webkit).
3852
3853         * public/WebFrame.h:
3854         * src/WebFrameImpl.cpp:
3855         * src/WebFrameImpl.h:
3856
3857 2011-02-26  David Dorwin  <ddorwin@chromium.org>
3858
3859         Reviewed by Darin Fisher.
3860
3861         Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default.
3862
3863         fullscreen javascript bindings not implemented for v8
3864         https://bugs.webkit.org/show_bug.cgi?id=44797
3865
3866         * features.gypi:
3867         * public/WebSettings.h:
3868         * src/ChromeClientImpl.cpp:
3869         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
3870         (WebKit::ChromeClientImpl::enterFullScreenForElement):
3871         (WebKit::ChromeClientImpl::exitFullScreenForElement):
3872         (WebKit::ChromeClientImpl::fullScreenRendererChanged):
3873         * src/ChromeClientImpl.h:
3874         * src/WebSettingsImpl.cpp:
3875         (WebKit::WebSettingsImpl::setFullScreenEnabled):
3876         * src/WebSettingsImpl.h:
3877
3878 2011-02-26  John Mellor  <johnme@chromium.org>
3879
3880         Reviewed by Antonio Gomes.
3881
3882         [chromium] WebFrameImpl::m_totalMatchCount should be an int
3883         https://bugs.webkit.org/show_bug.cgi?id=55134
3884
3885         WebFrameImpl::m_totalMatchCount should be an int instead of a size_t since it can be -1.
3886
3887         * src/WebFrameImpl.h:
3888
3889 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
3890
3891         Reviewed by Pavel Feldman.
3892
3893         DumpRenderTree should reset frame opener between tests.
3894         https://bugs.webkit.org/show_bug.cgi?id=54874
3895
3896         Added clearOpener method to WebFrame.
3897
3898         * public/WebFrame.h:
3899         * src/WebFrameImpl.cpp:
3900         (WebKit::WebFrameImpl::clearOpener):
3901         * src/WebFrameImpl.h:
3902
3903 2011-02-25  Tony Chang  <tony@chromium.org>
3904
3905         Roll chromium deps to include RBGToHSL fix and ICU update.
3906
3907         * DEPS:
3908
3909 2011-02-15  Brett Wilson  <brettw@chromium.org>
3910
3911         Reviewed by Darin Fisher.
3912
3913         Recover the mouse capture state when we recieve a mouse event where there is no longer a button down.
3914         https://bugs.webkit.org/show_bug.cgi?id=54503
3915
3916         * src/WebViewImpl.cpp:
3917         (WebKit::WebViewImpl::handleInputEvent):
3918
3919 2011-02-24  James Robinson  <jamesr@chromium.org>
3920
3921         Reviewed by Darin Fisher.
3922
3923         Add a USE() macro to control use of the built-in UTF8 codec
3924         https://bugs.webkit.org/show_bug.cgi?id=55189
3925
3926         Defaults USE(BUILTIN_UTF8_CODEC) to true for the Chromium port.
3927
3928         * features.gypi:
3929
3930 2011-02-24  James Kozianski  <koz@chromium.org>
3931
3932         Reviewed by Ojan Vafai.
3933
3934         Add missing plumbing for registerProtocolHandler in ChromeClientImpl.
3935         https://bugs.webkit.org/show_bug.cgi?id=55112
3936
3937         * src/ChromeClientImpl.cpp:
3938         (WebKit::ChromeClientImpl::registerProtocolHandler):
3939
3940 2011-02-24  James Robinson  <jamesr@chromium.org>
3941
3942         Unreviewed, rolling out r79584.
3943         http://trac.webkit.org/changeset/79584
3944         https://bugs.webkit.org/show_bug.cgi?id=44797
3945
3946         [chromium] Patch does not compile if ENABLE_FULLSCREEN_API is
3947         not set
3948
3949         * features.gypi:
3950         * public/WebSettings.h:
3951         * src/ChromeClientImpl.cpp:
3952         * src/ChromeClientImpl.h:
3953         * src/WebSettingsImpl.cpp:
3954         * src/WebSettingsImpl.h:
3955
3956 2011-02-24  Andrew Wilson  <atwilson@chromium.org>
3957
3958         Unreviewed, rolling out r79570.
3959         http://trac.webkit.org/changeset/79570
3960         https://bugs.webkit.org/show_bug.cgi?id=54874
3961
3962         Breaks chromium build because glue/mocks/mock_web_frame.h/cc
3963         was not updated
3964
3965         * public/WebFrame.h:
3966         * src/WebFrameImpl.cpp:
3967         * src/WebFrameImpl.h:
3968
3969 2011-02-24  David Dorwin  <ddorwin@chromium.org>
3970
3971         Reviewed by Eric Seidel.
3972
3973         Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default.
3974
3975         fullscreen javascript bindings not implemented for v8
3976         https://bugs.webkit.org/show_bug.cgi?id=44797
3977
3978         * features.gypi:
3979         * public/WebSettings.h:
3980         * src/ChromeClientImpl.cpp:
3981         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
3982         (WebKit::ChromeClientImpl::enterFullScreenForElement):
3983         (WebKit::ChromeClientImpl::exitFullScreenForElement):
3984         (WebKit::ChromeClientImpl::fullScreenRendererChanged):
3985         * src/ChromeClientImpl.h:
3986         * src/WebSettingsImpl.cpp:
3987         (WebKit::WebSettingsImpl::setFullScreenEnabled):
3988         * src/WebSettingsImpl.h:
3989
3990 2011-02-24  Patrick Gansterer  <paroga@webkit.org>
3991
3992         Reviewed by Eric Seidel.
3993
3994         Rename PLATFORM(SKIA) to USE(SKIA)
3995         https://bugs.webkit.org/show_bug.cgi?id=55090
3996
3997         * src/GraphicsContext3DChromium.cpp:
3998         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
3999         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
4000         * src/GraphicsContext3DInternal.h:
4001         * src/WebViewImpl.cpp:
4002         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
4003
4004 2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
4005
4006         Reviewed by Alexey Proskuryakov.
4007
4008         DumpRenderTree should reset frame opener between tests.
4009         https://bugs.webkit.org/show_bug.cgi?id=54874
4010
4011         Added clearOpener method to WebFrame.
4012
4013         * public/WebFrame.h:
4014         * src/WebFrameImpl.cpp:
4015         (WebKit::WebFrameImpl::clearOpener):
4016         * src/WebFrameImpl.h:
4017
4018 2011-02-24  Adam Klein  <adamk@chromium.org>
4019
4020         Reviewed by Darin Fisher.
4021
4022         [chromium] Add code to WebKit Chromium to allow access to NetworkStateNotifier
4023         https://bugs.webkit.org/show_bug.cgi?id=54516
4024
4025         Add a new WebNetworkStateNotifier class with a single static method,
4026         setOnLine(), which dispatches to WebCore's singleton NetworkStateNotifier.
4027
4028         * WebKit.gyp:
4029         * public/WebNetworkStateNotifier.h: Added.
4030         * src/WebNetworkStateNotifier.cpp: Added.
4031         (WebKit::WebNetworkStateNotifier::setOnLine):
4032
4033 2011-02-24  Robert Kroeger <rjkroege@chromium.org>
4034
4035         Reviewed by Darin Fisher.
4036
4037         Added timestamps to PlatformTouchEvent etc.
4038
4039         PlatformTouchEvent doesn't have a timestamp and so
4040         eventSender.leapForward cannot be used for touchevent based tests.
4041         This change constructs PlatformTouchEvents with timestamps
4042         provided from a WebTouchEvent on chromium. It also adds an enum
4043         to make code referring to specific WebTouchPoints easier to read.
4044
4045         [chromium] [WebCore] [android] Touch events are missing time stamps
4046         https://bugs.webkit.org/show_bug.cgi?id=53510
4047
4048         * public/WebTouchPoint.h:
4049         (WebKit::WebTouchPoint::WebTouchPoint):
4050         * src/WebInputEventConversion.cpp:
4051         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
4052
4053 2011-02-23  Adam Barth  <abarth@webkit.org>
4054
4055         Reviewed by James Robinson.
4056
4057         [Chromium] Use WebKitClient for OSRandomSource instead of trying to talk to the file system in the sandbox
4058         https://bugs.webkit.org/show_bug.cgi?id=55093
4059
4060         We need to get OS randomness from the WebKit client rather than try to
4061         get it from /dev/urandom directly because WebKit doesn't have access to
4062         the file system when running inside the Chromium sandbox.
4063
4064         * WebKit.gyp:
4065         * src/ChromiumOSRandomSource.cpp: Added.
4066
4067 2011-02-23  Adam Barth  <abarth@webkit.org>
4068
4069         Reviewed by James Robinson.
4070
4071         Roll Chromium DEPS
4072         https://bugs.webkit.org/show_bug.cgi?id=55096
4073
4074         Rolling to the future, like a truck.
4075
4076         * DEPS:
4077
4078 2011-02-23  Adam Barth  <abarth@webkit.org>
4079
4080         Reviewed by Darin Fisher.
4081
4082         [Chromium] Add WebKitClient::cryptographicallyRandomValues
4083         https://bugs.webkit.org/show_bug.cgi?id=55073
4084
4085         This patch adds a WebKit client API to get cryptographic randomness.
4086         We'll use this API to gather seed randomness while inside the sandbox.
4087
4088         * public/WebKitClient.h:
4089         (WebKit::WebKitClient::cryptographicallyRandomValues):
4090
4091 2011-02-23  Kenneth Russell  <kbr@google.com>
4092
4093         Unreviewed, rolling out r79387.
4094         https://bugs.webkit.org/show_bug.cgi?id=54885
4095
4096         Reapply the code changes from r79038 since they weren't the root
4097         cause of the test timeouts.
4098
4099         * src/WebKit.cpp:
4100         (WebKit::initialize):
4101
4102 2011-02-23  Takashi Toyoshima  <toyoshim@chromium.org>
4103
4104         Reviewed by Shinichiro Hamaji.
4105
4106         [chromium] Control-Up/Down should be PageUp/Down on Mac.
4107         https://bugs.webkit.org/show_bug.cgi?id=54606
4108
4109         * src/WebViewImpl.cpp:
4110         (WebKit::WebViewImpl::scrollViewWithKeyboard):
4111
4112 2011-02-22  Kenneth Russell  <kbr@google.com>
4113
4114         Reviewed by James Robinson.
4115
4116         Many tests started timing out on the chrome mac canaries around r79035
4117         https://bugs.webkit.org/show_bug.cgi?id=54885
4118
4119         Revert the code changes, but not the Chromium DEPS roll, from
4120         r79038 to see whether this clears up the timing-out tests. Was not
4121         able to reproduce the timeouts locally with a Release mode build
4122         of DRT (on Snow Leopard).
4123
4124         * src/WebKit.cpp:
4125         (WebKit::initialize):
4126
4127 2011-02-21  Nico Weber  <thakis@chromium.org>
4128
4129         Reviewed by James Robinson.
4130
4131         [chromium] WebWorkerBase::openFileSystem confuses clang's -Woverloaded-virtual
4132         https://bugs.webkit.org/show_bug.cgi?id=54920
4133
4134         Rename WebWorkerBase::openFileSystem() to openFileSystemForWorker() to
4135         make it obvious it's not an override of
4136         WebFrameClient::openFileSystem().
4137
4138         Remove a failed attempt to override it in WebWorkerClientImpl (the
4139         override didn't change the behavior).
4140
4141         No intended functionality change.
4142
4143         * src/LocalFileSystemChromium.cpp:
4144         (WebCore::LocalFileSystem::requestFileSystem):
4145         Call new name.
4146         * src/WebWorkerBase.cpp:
4147         (WebKit::WebWorkerBase::openFileSystemForWorker):
4148         Rename openFileSystem() to openFileSystemForWorker().
4149         * src/WebWorkerBase.h:
4150         Rename openFileSystem() to openFileSystemForWorker().
4151         * src/WebWorkerClientImpl.h:
4152         (WebKit::WebWorkerClientImpl::allowDatabase):
4153         Remove unsuccessful (and pointless) override.
4154
4155 2011-02-22  Ilya Tikhonovsky  <loislo@chromium.org>
4156
4157         Reviewed by Pavel Feldman.
4158
4159         Web Inspector: flakyness of inspector tests.
4160         https://bugs.webkit.org/show_bug.cgi?id=54729
4161
4162         As far as we have the protocol with sequence numbers we can simplify test harness support
4163         and drop out chomium specific methods.