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