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