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