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