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