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