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