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