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