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