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