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