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