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