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