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