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