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