12011-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 112011-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 292011-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 432011-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 562011-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 642011-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 792011-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 882011-05-10 Adam Barth <abarth@webkit.org> 89 90 Attempt to fix the clang build. 91 92 * src/WebDevToolsAgentImpl.cpp: 93 942011-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 1162011-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 1412011-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 1512011-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 2222011-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 2412011-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 2532011-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 2662011-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 2782011-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 2932011-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 3052011-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 3182011-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 3292011-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 3412011-05-05 Adam Barth <abarth@webkit.org> 342 343 Roll Chromium DEPS. 344 345 * DEPS: 346 3472011-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 3622011-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 3752011-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 3832011-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 4042011-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 4182011-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 4312011-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 4442011-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 4582011-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 4762011-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 4982011-05-03 Tony Chang <tony@chromium.org> 499 500 Unreviewed, rolling the version of chromium to r83922. 501 502 * DEPS: 503 5042011-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 5132011-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 5222011-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 5332011-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 5402011-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 5502011-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 5612011-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 5742011-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 5882011-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 5942011-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 6062011-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 6192011-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 6302011-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 6512011-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 6632011-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 6942011-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 7442011-04-28 Kenneth Russell <kbr@google.com> 745 746 Unreviewed fix for Windows multi-DLL build. 747 748 * WebKit.gyp: 749 7502011-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 8132011-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 8262011-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 8382011-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 8502011-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 8592011-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 8732011-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 8882011-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 8982011-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 9252011-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 9352011-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 9562011-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 9702011-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 9782011-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 9942011-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 10202011-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 10542011-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 10662011-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 10772011-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 10882011-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 10972011-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 11212011-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 11302011-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 11432011-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 11522011-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 11622011-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 11712011-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 11812011-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 11932011-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 12072011-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 12222011-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 12332011-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. 12452011-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 12582011-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 12722011-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 12822011-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 12912011-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 13032011-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 13162011-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 13292011-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 13422011-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 13612011-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 13732011-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 13832011-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 13942011-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 14072011-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 14242011-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 14392011-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 14562011-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 14652011-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 14742011-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 14852011-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 14952011-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 15092011-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 15252011-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 15422011-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 15582011-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 15722011-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 15892011-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 16012011-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 16132011-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 16252011-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 16442011-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 16542011-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 16692011-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 16862011-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 16992011-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 17122011-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 17272011-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 17392011-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 17572011-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 17672011-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 17812011-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 17982011-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 18062011-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 18212011-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 18382011-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 18472011-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 18652011-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 18852011-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 18942011-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 19072011-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 19202011-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 19262011-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 19372011-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 19532011-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 19732011-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 19862011-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 19962011-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 20052011-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 20172011-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 20262011-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 20322011-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 20382011-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 20572011-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 20672011-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 20902011-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 21112011-04-07 Andrew Scherkus <scherkus@chromium.org> 2112 2113 Revert ENABLE_TRACK patch due to compile failures. 2114 2115 * features.gypi: 2116 21172011-04-07 Pavel Feldman <pfeldman@google.com> 2118 2119 Not reviewed: rolling chromium DEPS 80421:80767. 2120 2121 * DEPS: 2122 21232011-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 21392011-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 21512011-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 21612011-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 21772011-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 21862011-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 22052011-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 22152011-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 22262011-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 22412011-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 22502011-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 22632011-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 23682011-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 23782011-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 23892011-04-05 Adam Barth <abarth@webkit.org> 2390 2391 Roll Chromium DEPS. 2392 2393 * DEPS: Rolled! 2394 23952011-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 24122011-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 24232011-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 24592011-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 24712011-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 25742011-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 26792011-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 26892011-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 27122011-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 27282011-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 27522011-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 27832011-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 28022011-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 28152011-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 28322011-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 28422011-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 28592011-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 28802011-03-29 Tony Chang <tony@chromium.org> 2881 2882 Roll chromium version to r79710 to pick up libpng changes. 2883 2884 * DEPS: 2885 28862011-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 28992011-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 29112011-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 29182011-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 29492011-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 29672011-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 29802011-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 29942011-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 30122011-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 30212011-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 30292011-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 30502011-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 30592011-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 30662011-03-28 Pavel Feldman <pfeldman@chromium.org> 3067 3068 Not reviewed: fixed chromium build. 3069 3070 * src/WebDevToolsAgentImpl.cpp: 3071 (WebKit::WebDevToolsAgent::shouldInterruptForMessage): 3072 30732011-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 30872011-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 31032011-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 31352011-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 31462011-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 31552011-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 31722011-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 31782011-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 31922011-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 32052011-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's not needed anymore 3210 https://bugs.webkit.org/show_bug.cgi?id=56955 3211 3212 * DEPS: 3213 * public/WebTextCheckingResult.h: 3214 32152011-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 32262011-03-24 Andy Estes <aestes@apple.com> 3227 3228 Fix the chromium build. 3229 3230 * src/FrameLoaderClientImpl.cpp: 3231 (WebKit::FrameLoaderClientImpl::objectContentType): 3232 32332011-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 32472011-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 32612011-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 32732011-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 32832011-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 32952011-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 33072011-03-24 Pavel Feldman <pfeldman@chromium.org> 3308 3309 Not reviewed: fix chromium compilation. 3310 3311 * public/WebDevToolsAgent.h: 3312 33132011-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 33262011-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 33362011-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 33712011-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 34032011-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 34102011-03-23 Kenneth Russell <kbr@google.com> 3411 3412 Rolled forward Chromium DEPS to fix build breakage after r81821. 3413 3414 * DEPS: 3415 34162011-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 34292011-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 34422011-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 34522011-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 34652011-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 34752011-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 34862011-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 35122011-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 35232011-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 https://bugs.webkit.org/show_bug.cgi?id=56897 3529 3530 * public/WebDevToolsAgentClient.h: 3531 35322011-03-22 Noel Gordon <noel.gordon@gmail.com> 3533 3534 Reviewed by Tony Chang. 3535 3536 [chromium] Remove identity from dragTargetDragEnter() function signature 3537 https://bugs.webkit.org/show_bug.cgi?id=56875 3538 3539 First part of 3-sided patch. Add new function signature sans identity. 3540 3541 * public/WebView.h: 3542 * src/WebViewImpl.cpp: 3543 (WebKit::WebViewImpl::dragTargetDragEnter): 3544 * src/WebViewImpl.h: 3545 35462011-03-22 John Bauman <jbauman@chromium.org> 3547 3548 Reviewed by Kenneth Russell. 3549 3550 Add support for preserveDrawingBuffer context creation attribute 3551 https://bugs.webkit.org/show_bug.cgi?id=56431 3552 3553 * src/GraphicsContext3DChromium.cpp: 3554 (WebCore::GraphicsContext3DInternal::markContextChanged): 3555 (WebCore::GraphicsContext3DInternal::markLayerComposited): 3556 (WebCore::GraphicsContext3DInternal::layerComposited): 3557 (WebCore::GraphicsContext3D::layerComposited): 3558 * src/GraphicsContext3DInternal.h: 3559 35602011-03-22 John Abd-El-Malek <jam@chromium.org> 3561 3562 Reviewed by Tony Chang. 3563 3564 [chromium] Make WebTextCheckingResult's members be public in preparation for converting it to a struct 3565 https://bugs.webkit.org/show_bug.cgi?id=56857 3566 3567 * DEPS: 3568 * public/WebTextCheckingResult.h: 3569 35702011-03-22 Jay Civelli <jcivelli@chromium.org> 3571 3572 Reviewed by David Levin. 3573 3574 Relanding: 3575 Moving the method that is used to retrieve all the resources in 3576 a page from the Chromium code (dom_operations.cc) to WebKit. 3577 https://bugs.webkit.org/show_bug.cgi?id=55859 3578 3579 3580 * WebKit.gyp: 3581 * public/WebPageSerializer.h: 3582 * public/WebURL.h: 3583 (WebKit::operator==): 3584 (WebKit::operator!=): 3585 * public/WebVector.h: 3586 (WebKit::WebVector::contains): 3587 * src/WebDataSourceImpl.cpp: 3588 (WebKit::WebDataSourceImpl::WebDataSourceImpl): 3589 * src/WebPageSerializer.cpp: 3590 (WebCore::getSubResourceURLFromElement): 3591 (WebCore::retrieveResourcesForElement): 3592 (WebCore::retrieveResourcesForFrame): 3593 (WebKit::WebPageSerializer::retrieveAllResources): 3594 * tests/WebFrameTest.cpp: 3595 * tests/WebPageSerializerTest.cpp: Added. 3596 * tests/data/pageserialization/awesome.png: Added. 3597 * tests/data/pageserialization/embed_iframe.html: Added. 3598 * tests/data/pageserialization/object_iframe.html: Added. 3599 * tests/data/pageserialization/simple_iframe.html: Added. 3600 * tests/data/pageserialization/simple_page.html: Added. 3601 * tests/data/pageserialization/top_frame.html: Added. 3602 36032011-03-22 Noel Gordon <noel.gordon@gmail.com> 3604 3605 Reviewed by Tony Chang. 3606 3607 [chromium] Remove Gears from Chromium WebKit 3608 https://bugs.webkit.org/show_bug.cgi?id=56808 3609 3610 Gears has been removed from Chromium 12. Remove Gears drag drop support 3611 from WebKit. That work lead to http://webkit.org/b/25916, a proposal to 3612 add native file drag drop, and its subsequent standardization in HTML5. 3613 3614 * public/WebBindings.h: 3615 * public/WebView.h: 3616 * src/WebBindings.cpp: 3617 (WebKit::getRangeImpl): FIXME note added. 3618 * src/WebViewImpl.cpp: 3619 (WebKit::WebViewImpl::WebViewImpl): 3620 (WebKit::WebViewImpl::dragTargetDragEnter): 3621 (WebKit::WebViewImpl::dragTargetDragLeave): 3622 (WebKit::WebViewImpl::dragTargetDrop): 3623 (WebKit::WebViewImpl::dragTargetDragEnterOrOver): 3624 * src/WebViewImpl.h: 3625 36262011-03-21 Adam Klein <adamk@chromium.org> 3627 3628 Reviewed by David Levin. 3629 3630 [fileapi] Add URI resolution support to WorkerContext 3631 https://bugs.webkit.org/show_bug.cgi?id=55644 3632 3633 Pass "create" bool through to allow opening 3634 a filesystem without allowing creation. 3635 3636 * src/LocalFileSystemChromium.cpp: 3637 (WebCore::LocalFileSystem::readFileSystem): 3638 (WebCore::LocalFileSystem::requestFileSystem): 3639 * src/WebWorkerBase.cpp: 3640 (WebKit::WebWorkerBase::openFileSystemForWorker): 3641 * src/WebWorkerBase.h: 3642 * src/WorkerFileSystemCallbacksBridge.cpp: 3643 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread): 3644 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread): 3645 * src/WorkerFileSystemCallbacksBridge.h: 3646 36472011-03-21 Ilya Sherman <isherman@chromium.org> 3648 3649 Reviewed by James Robinson. 3650 3651 Remove WebInputElement::isEnabledFormControl() from Chromium WebKit API 3652 Clients should instead call into WebFormControlElement::isEnabled(). 3653 https://bugs.webkit.org/show_bug.cgi?id=56364 3654 3655 * public/WebInputElement.h: Removed isEnabledFormControl(). 3656 * src/WebInputElement.cpp: Removed isEnabledFormControl(). 3657 36582011-03-21 Robert Kroeger <rjkroege@chromium.org> 3659 3660 Reviewed by Antonio Gomes. 3661 3662 Flag to enable a platform specific GestureReocognizer framework in Chromium. 3663 3664 https://bugs.webkit.org/show_bug.cgi?id=49345 3665 3666 * features.gypi: 3667 36682011-03-21 Tony Chang <tony@chromium.org> 3669 3670 Reviewed by Pavel Feldman. 3671 3672 [chromium] remove devtools_html's dependency on WebKit.gypi 3673 https://bugs.webkit.org/show_bug.cgi?id=56661 3674 3675 We want to depend on the values in the gypi file, not the gypi file 3676 itself. Actually, if someone edits a gypi file, s/he should re-run 3677 gyp to pick up the new dependencies. 3678 3679 It turns out that this doesn't matter much for this target anymore 3680 since we pull the .js dependencies from the inspector html file. 3681 3682 * WebKit.gyp: cleanup dependencies 3683 * scripts/generate_devtools_html.py: remove unused param 3684 36852011-03-21 Sheriff Bot <webkit.review.bot@gmail.com> 3686 3687 Unreviewed, rolling out r81377. 3688 http://trac.webkit.org/changeset/81377 3689 https://bugs.webkit.org/show_bug.cgi?id=56765 3690 3691 WebPageSerializerTest.MultipleFrames is broken (Requested by 3692 simonjam on #webkit). 3693 3694 * WebKit.gyp: 3695 * public/WebPageSerializer.h: 3696 * public/WebURL.h: 3697 * public/WebVector.h: 3698 (WebKit::WebVector::operator[]): 3699 * src/WebDataSourceImpl.cpp: 3700 (WebKit::WebDataSourceImpl::WebDataSourceImpl): 3701 * src/WebPageSerializer.cpp: 3702 * tests/WebFrameTest.cpp: 3703 * tests/WebPageSerializerTest.cpp: Removed. 3704 * tests/data/pageserialization/awesome.png: Removed. 3705 * tests/data/pageserialization/embed_iframe.html: Removed. 3706 * tests/data/pageserialization/object_iframe.html: Removed. 3707 * tests/data/pageserialization/simple_iframe.html: Removed. 3708 * tests/data/pageserialization/simple_page.html: Removed. 3709 * tests/data/pageserialization/top_frame.html: Removed. 3710 37112011-03-21 Daniel Sievers <sievers@google.com> 3712 3713 Reviewed by Simon Fraser. 3714 3715 [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline 3716 https://bugs.webkit.org/show_bug.cgi?id=56139 3717 3718 * public/WebFrame.h: 3719 * src/WebFrameImpl.cpp: 3720 (WebKit::WebFrameImpl::renderTreeAsText): 3721 (WebKit::WebFrameImpl::layerTreeAsText): 3722 * src/WebFrameImpl.h: 3723 37242011-03-21 Eric Uhrhane <ericu@chromium.org> 3725 3726 Reviewed by David Levin. 3727 3728 [fileapi/chromium] Fetch platform path using GetMetadata before creating File from FileEntry* 3729 https://bugs.webkit.org/show_bug.cgi?id=56704 3730 3731 * src/WebFileSystemCallbacksImpl.cpp: 3732 (WebFileSystemCallbacksImpl::didReadMetadata) 3733 Pass new platformPath member through. 3734 3735 * src/WorkerFileSystemCallbacksBridge.cpp: 3736 (CrossThreadCopierBase) 3737 Copy new platformPath member. 3738 3739 * public/WebFileInfo.h: 3740 (struct WebFileInfo) 3741 Add new platformPath member. 3742 37432011-03-21 Leandro Gracia Gil <leandrogracia@chromium.org> 3744 3745 Reviewed by Steve Block. 3746 3747 Media Stream API patch 0: adding compilation guards. 3748 https://bugs.webkit.org/show_bug.cgi?id=56458 3749 3750 Enabling the feature by default for chromium builds. 3751 3752 * features.gypi: 3753 37542011-03-21 Vsevolod Vlasov <vsevik@chromium.org> 3755 3756 Reviewed by Pavel Feldman. 3757 3758 Web Inspector: Inspector does not always show correct transfer size (for compressed/chunked data) 3759 https://bugs.webkit.org/show_bug.cgi?id=56691 3760 3761 Added transfer size support in inspector for compressed data. 3762 3763 * src/ResourceHandle.cpp: 3764 (WebCore::ResourceHandleInternal::didReceiveData): 3765 * src/WebDevToolsAgentImpl.cpp: 3766 (WebKit::WebDevToolsAgentImpl::didReceiveData): 3767 37682011-03-20 Bill Budge <bbudge@chromium.org> 3769 3770 Reviewed by Adam Barth. 3771 3772 Rename ThreadSafeShared to ThreadSafeRefCounted 3773 https://bugs.webkit.org/show_bug.cgi?id=56714 3774 3775 No new tests. Exposes no new functionality. 3776 3777 * src/PlatformMessagePortChannel.h: 3778 * src/WebWorkerBase.cpp: 3779 * src/WorkerFileSystemCallbacksBridge.h: 3780 * src/WorkerFileWriterCallbacksBridge.h: 3781 37822011-03-18 Tony Chang <tony@chromium.org> 3783 3784 Reviewed by Eric Seidel. 3785 3786 [chromium] make devtool concatenation targets conditional based on debug_devtools 3787 https://bugs.webkit.org/show_bug.cgi?id=56667 3788 3789 We don't want to run these targets when debug_devtools=1 because it 3790 will overwrite the devtools.js and devtools.css files copied by 3791 inspector_resources. On Linux, this triggers a warning because 3792 there are two commands that target the same output file when 3793 debug_devtools=1. 3794 3795 I also removed the 'sources' lines since I don't think they do 3796 anything for actions. 3797 3798 * WebKit.gyp: 3799 38002011-03-17 Alexey Marinichev <amarinichev@chromium.org> 3801 3802 Reviewed by Kenneth Russell. 3803 3804 chromium: uninitialized field in WebViewImpl 3805 https://bugs.webkit.org/show_bug.cgi?id=56620 3806 3807 * src/WebViewImpl.cpp: 3808 (WebKit::WebViewImpl::WebViewImpl): 3809 38102011-03-17 Adrienne Walker <enne@google.com> 3811 3812 Reviewed by James Robinson. 3813 3814 [chromium] Turn off accelerated compositing for RTL style pages. 3815 https://bugs.webkit.org/show_bug.cgi?id=56585 3816 3817 * src/WebViewImpl.cpp: 3818 (WebKit::WebViewImpl::layout): 3819 (WebKit::WebViewImpl::pageHasRTLStyle): 3820 (WebKit::WebViewImpl::setRootGraphicsLayer): 3821 * src/WebViewImpl.h: 3822 38232011-03-17 Jay Civelli <jcivelli@chromium.org> 3824 3825 Reviewed by David Levin. 3826 3827 Moving the method that is used to retrieve all the resources in 3828 a page from the Chromium code (dom_operations.cc) to WebKit. 3829 https://bugs.webkit.org/show_bug.cgi?id=55859 3830 3831 * WebKit.gyp: 3832 * public/WebPageSerializer.h: 3833 * public/WebURL.h: 3834 (WebKit::operator==): 3835 (WebKit::operator!=): 3836 * public/WebVector.h: 3837 (WebKit::WebVector::contains): 3838 * src/WebDataSourceImpl.cpp: 3839 (WebKit::WebDataSourceImpl::WebDataSourceImpl): 3840 * src/WebPageSerializer.cpp: 3841 (WebCore::getSubResourceURLFromElement): 3842 (WebCore::retrieveResourcesForElement): 3843 (WebCore::retrieveResourcesForFrame): 3844 (WebKit::WebPageSerializer::retrieveAllResources): 3845 * tests/WebFrameTest.cpp: 3846 * tests/WebPageSerializerTest.cpp: Added. 3847 * tests/data/pageserialization: Added. 3848 * tests/data/pageserialization/awesome.png: Added. 3849 * tests/data/pageserialization/embed_iframe.html: Added. 3850 * tests/data/pageserialization/object_iframe.html: Added. 3851 * tests/data/pageserialization/simple_iframe.html: Added. 3852 * tests/data/pageserialization/simple_page.html: Added. 3853 * tests/data/pageserialization/top_frame.html: Added. 3854 38552011-03-17 Tony Chang <tony@chromium.org> 3856 3857 Reviewed by Pavel Feldman. 3858 3859 [chromium] don't concatenate devtools files when debug_devtools=1 3860 https://bugs.webkit.org/show_bug.cgi?id=56572 3861 3862 * WebKit.gyp: 3863 38642011-03-17 Tony Chang <tony@chromium.org> 3865 3866 Reviewed by Eric Seidel. 3867 3868 [chromium] minor cleanup of devtools_files variable in WebKit.gyp 3869 https://bugs.webkit.org/show_bug.cgi?id=56503 3870 3871 * WebKit.gyp: Moving duplicate variables out of a condition. 3872 38732011-03-16 Adam Barth <abarth@webkit.org> 3874 3875 Reviewed by James Robinson. 3876 3877 Remove USE(BUILTIN_UTF8_CODEC) 3878 https://bugs.webkit.org/show_bug.cgi?id=56508 3879 3880 * features.gypi: 3881 38822011-03-16 Tony Chang <tony@chromium.org> 3883 3884 Reviewed by Adam Barth. 3885 3886 [chromium] include inspector gif files in the list of resources 3887 https://bugs.webkit.org/show_bug.cgi?id=56504 3888 3889 * scripts/generate_devtools_grd.py: 3890 38912011-03-16 Bill Budge <bbudge@chromium.org> 3892 3893 Reviewed by David Levin. 3894 3895 AssociatedURLLoader does not support Cross Origin Requests 3896 https://bugs.webkit.org/show_bug.cgi?id=53925 3897 3898 No new tests. Exposes no new functionality. 3899 3900 * public/WebURLLoader.h: 3901 (WebKit::WebURLLoaderOptions::WebURLLoaderOptions): 3902 * src/AssociatedURLLoader.cpp: 3903 (WebKit::AssociatedURLLoader::ClientAdapter::isDocumentThreadableLoaderClient): 3904 (WebKit::AssociatedURLLoader::ClientAdapter::clearClient): 3905 (WebKit::AssociatedURLLoader::ClientAdapter::create): 3906 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter): 3907 (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest): 3908 (WebKit::AssociatedURLLoader::ClientAdapter::didSendData): 3909 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse): 3910 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData): 3911 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata): 3912 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading): 3913 (WebKit::AssociatedURLLoader::ClientAdapter::didFail): 3914 (WebKit::AssociatedURLLoader::AssociatedURLLoader): 3915 (WebKit::AssociatedURLLoader::~AssociatedURLLoader): 3916 (WebKit::AssociatedURLLoader::loadSynchronously): 3917 (WebKit::AssociatedURLLoader::loadAsynchronously): 3918 (WebKit::AssociatedURLLoader::cancel): 3919 (WebKit::AssociatedURLLoader::setDefersLoading): 3920 * src/AssociatedURLLoader.h: 3921 39222011-03-16 Adam Barth <abarth@webkit.org> 3923 3924 Roll Chromium DEPS. 3925 3926 * DEPS: 3927 39282011-03-16 Daniel Sievers <sievers@google.com> 3929 3930 Reviewed by James Robinson. 3931 3932 Add setting to always force compositing mode 3933 https://bugs.webkit.org/show_bug.cgi?id=56156 3934 3935 * public/WebSettings.h: 3936 * src/WebSettingsImpl.cpp: 3937 (WebKit::WebSettingsImpl::setForceCompositingMode): 3938 * src/WebSettingsImpl.h: 3939 39402011-03-16 Sreeram Ramachandran <sreeram@google.com> 3941 3942 Reviewed by Dimitri Glazkov. 3943 3944 Revert of r80451. Decided to do this in WebCore instead. 3945 https://bugs.webkit.org/show_bug.cgi?id=55844 3946 3947 * public/WebFrame.h: 3948 * src/WebFrameImpl.cpp: 3949 * src/WebFrameImpl.h: 3950 39512011-03-15 Ilya Sherman <isherman@chromium.org> 3952 3953 Reviewed by Darin Fisher. 3954 3955 Move isReadOnly() from WebInputElement to WebFormControlElement 3956 https://bugs.webkit.org/show_bug.cgi?id=55760 3957 3958 * public/WebFormControlElement.h: 3959 * public/WebInputElement.h: 3960 * src/WebFormControlElement.cpp: 3961 (WebKit::WebFormControlElement::isReadOnly): 3962 * src/WebInputElement.cpp: 3963 39642011-03-15 John Bauman <jbauman@chromium.org> 3965 3966 Reviewed by Kenneth Russell. 3967 3968 Non-premultiplied-alpha canvas attribute is ignore for toDataURL, drawImage, texImage2D 3969 https://bugs.webkit.org/show_bug.cgi?id=56238 3970 3971 Add support for reading a webgl context into an ImageData. 3972 3973 * src/GraphicsContext3DChromium.cpp: 3974 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 3975 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToImageData): 3976 * src/GraphicsContext3DInternal.h: 3977 39782011-03-15 Sheriff Bot <webkit.review.bot@gmail.com> 3979 3980 Unreviewed, rolling out r81144. 3981 http://trac.webkit.org/changeset/81144 3982 https://bugs.webkit.org/show_bug.cgi?id=56432 3983 3984 It broke the ui test 3985 NPAPITesterBase.GetURLRedirectNotification. (Requested by 3986 dave_levin on #webkit). 3987 3988 * public/WebURLLoader.h: 3989 * src/AssociatedURLLoader.cpp: 3990 (WebKit::AssociatedURLLoader::AssociatedURLLoader): 3991 (WebKit::AssociatedURLLoader::~AssociatedURLLoader): 3992 (WebKit::AssociatedURLLoader::loadSynchronously): 3993 (WebKit::AssociatedURLLoader::loadAsynchronously): 3994 (WebKit::AssociatedURLLoader::cancel): 3995 (WebKit::AssociatedURLLoader::setDefersLoading): 3996 (WebKit::AssociatedURLLoader::prepareRequest): 3997 (WebKit::AssociatedURLLoader::willSendRequest): 3998 (WebKit::AssociatedURLLoader::didSendData): 3999 (WebKit::AssociatedURLLoader::didReceiveResponse): 4000 (WebKit::AssociatedURLLoader::didDownloadData): 4001 (WebKit::AssociatedURLLoader::didReceiveData): 4002 (WebKit::AssociatedURLLoader::didReceiveCachedMetadata): 4003 (WebKit::AssociatedURLLoader::didFinishLoading): 4004 (WebKit::AssociatedURLLoader::didFail): 4005 * src/AssociatedURLLoader.h: 4006 40072011-03-15 Tony Chang <tony@chromium.org> 4008 4009 Reviewed by Adam Barth. 4010 4011 pngcrush images used by inspector 4012 https://bugs.webkit.org/show_bug.cgi?id=56426 4013 4014 This saves 120k in WebCore and 8k in WebKit/chromium. I ran 4015 pngcrush -brute, so none of the meta data (ancillary chunks) 4016 are modified. 4017 4018 * src/js/Images/segmentChromium.png: 4019 * src/js/Images/segmentHoverChromium.png: 4020 * src/js/Images/segmentHoverEndChromium.png: 4021 * src/js/Images/segmentSelectedChromium.png: 4022 * src/js/Images/segmentSelectedEndChromium.png: 4023 * src/js/Images/statusbarBackgroundChromium.png: 4024 * src/js/Images/statusbarBottomBackgroundChromium.png: 4025 * src/js/Images/statusbarMenuButtonChromium.png: 4026 * src/js/Images/statusbarMenuButtonSelectedChromium.png: 4027 40282011-03-15 Michael Nordman <michaeln@google.com> 4029 4030 Reviewed by Alexey Proskuryakov. 4031 4032 When initiating a main resource load, let the application cache 4033 know which frame the load is being conducted for. This patch doesn't 4034 resolve the following bug, but the additional WebFrame parameter 4035 should provide the chromium port with enough info to pick the 4036 "most appropiate" cached resource. 4037 https://bugs.webkit.org/show_bug.cgi?id=55505 4038 4039 Also fixup a stale comment in stopLoadingInFrame. 4040 4041 * public/WebApplicationCacheHost.h: 4042 (WebKit::WebApplicationCacheHost::willStartMainResourceRequest): 4043 * src/ApplicationCacheHost.cpp: 4044 (WebCore::ApplicationCacheHost::maybeLoadMainResource): 4045 (WebCore::ApplicationCacheHost::stopLoadingInFrame): 4046 40472011-03-15 Tony Chang <tony@chromium.org> 4048 4049 Reviewed by Adam Barth. 4050 4051 [chromium] add a build target to create a grd file with devtool resources 4052 https://bugs.webkit.org/show_bug.cgi?id=56335 4053 4054 Reland with a fix to avoid really long command lines on Windows. 4055 4056 * WebKit.gyp: 4057 * scripts/generate_devtools_grd.py: Added. 4058 40592011-03-15 Alok priyadarshi <alokp@chromium.org> 4060 4061 Reviewed by James Robinson. 4062 4063 Valgrind error due to uninitialized PluginLayerChromium::m_textureId 4064 https://bugs.webkit.org/show_bug.cgi?id=56390 4065 4066 * src/WebPluginContainerImpl.cpp: 4067 (WebKit::WebPluginContainerImpl::setBackingTextureId): 4068 (WebKit::WebPluginContainerImpl::platformLayer): 4069 40702011-03-15 Brett Wilson <brettw@chromium.org> 4071 4072 Reviewed by Adam Barth. 4073 4074 Make WebConsoleMessage properly respect the log level. 4075 https://bugs.webkit.org/show_bug.cgi?id=56386 4076 4077 * public/WebConsoleMessage.h: 4078 (WebKit::WebConsoleMessage::WebConsoleMessage): 4079 40802011-03-15 Tony Chang <tony@chromium.org> 4081 4082 Revert r81147 and r81149, broke the chromium win build. 4083 4084 * WebKit.gyp: 4085 * scripts/generate_devtools_grd.py: Removed. 4086 40872011-03-15 Tony Chang <tony@chromium.org> 4088 4089 Fix chromium build using python 2.5 (with statement). 4090 4091 * scripts/generate_devtools_grd.py: 4092 40932011-03-15 Tony Chang <tony@chromium.org> 4094 4095 Reviewed by Adam Barth. 4096 4097 [chromium] add a build target to create a grd file with devtool resources 4098 https://bugs.webkit.org/show_bug.cgi?id=56335 4099 4100 This is the webkit side of the fix for 4101 http://code.google.com/p/chromium/issues/detail?id=35793 4102 4103 * WebKit.gyp: 4104 * scripts/generate_devtools_grd.py: Added. 4105 41062011-03-15 Bill Budge <bbudge@chromium.org> 4107 4108 Reviewed by David Levin. 4109 4110 AssociatedURLLoader does not support Cross Origin Requests 4111 https://bugs.webkit.org/show_bug.cgi?id=53925 4112 4113 No new tests. No new functionality exposed. 4114 4115 * public/WebURLLoader.h: 4116 (WebKit::WebURLLoaderOptions::WebURLLoaderOptions): 4117 * src/AssociatedURLLoader.cpp: 4118 (WebKit::AssociatedURLLoader::ClientAdapter::clearClient): 4119 (WebKit::AssociatedURLLoader::ClientAdapter::create): 4120 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter): 4121 (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest): 4122 (WebKit::AssociatedURLLoader::ClientAdapter::didSendData): 4123 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse): 4124 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData): 4125 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata): 4126 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading): 4127 (WebKit::AssociatedURLLoader::ClientAdapter::didFail): 4128 (WebKit::AssociatedURLLoader::AssociatedURLLoader): 4129 (WebKit::AssociatedURLLoader::~AssociatedURLLoader): 4130 (WebKit::AssociatedURLLoader::loadSynchronously): 4131 (WebKit::AssociatedURLLoader::loadAsynchronously): 4132 (WebKit::AssociatedURLLoader::cancel): 4133 (WebKit::AssociatedURLLoader::setDefersLoading): 4134 * src/AssociatedURLLoader.h: 4135 41362011-03-15 Alok priyadarshi <alokp@chromium.org> 4137 4138 Reviewed by James Robinson. 4139 4140 Remove unnecessary function WebPlugin::getBackingTextureId 4141 https://bugs.webkit.org/show_bug.cgi?id=56122 4142 4143 It will be tested by Pepper2D and Pepper3D layout/smoke tests 4144 on the Chromium side. 4145 4146 * public/WebPlugin.h: 4147 * src/WebPluginContainerImpl.cpp: 4148 (WebKit::WebPluginContainerImpl::platformLayer): 4149 41502011-03-15 Mikhail Naganov <mnaganov@chromium.org> 4151 4152 Unreviewed. Update chromium deps to pick up the latest V8. 4153 4154 * DEPS: 4155 41562011-03-14 Alexey Marinichev <amarinichev@chromium.org> 4157 4158 Reviewed by Kenneth Russell. 4159 4160 Graphics Context is not properly recovered if the GPU process dies. 4161 https://bugs.webkit.org/show_bug.cgi?id=56148 4162 4163 Split context recreation into two steps. 4164 4165 * src/WebViewImpl.cpp: 4166 (WebKit::WebViewImpl::composite): 4167 (WebKit::WebViewImpl::doComposite): 4168 (WebKit::WebViewImpl::reallocateRenderer): 4169 * src/WebViewImpl.h: 4170 41712011-03-14 Sheriff Bot <webkit.review.bot@gmail.com> 4172 4173 Unreviewed, rolling out r81094. 4174 http://trac.webkit.org/changeset/81094 4175 https://bugs.webkit.org/show_bug.cgi?id=56355 4176 4177 Broke the chromium DRT related build. (Requested by dave_levin 4178 on #webkit). 4179 4180 * public/WebFrame.h: 4181 * src/WebFrameImpl.cpp: 4182 (WebKit::WebFrameImpl::renderTreeAsText): 4183 (WebKit::WebFrameImpl::layerTreeAsText): 4184 * src/WebFrameImpl.h: 4185 41862011-03-14 Daniel Sievers <sievers@google.com> 4187 4188 Reviewed by Simon Fraser. 4189 4190 [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline 4191 https://bugs.webkit.org/show_bug.cgi?id=56139 4192 4193 * public/WebFrame.h: 4194 * src/WebFrameImpl.cpp: 4195 (WebKit::WebFrameImpl::renderTreeAsText): 4196 (WebKit::WebFrameImpl::layerTreeAsText): 4197 * src/WebFrameImpl.h: 4198 41992011-03-14 John Knottenbelt <jknotten@chromium.org> 4200 4201 Reviewed by Steve Block. 4202 4203 Detach Geolocation from Frame when Page destroyed. 4204 https://bugs.webkit.org/show_bug.cgi?id=52877 4205 4206 Add accessors to the WebGeolocationClientMock to allow the number of 4207 pending geolocation permission requests to be queried. 4208 4209 * public/WebGeolocationClientMock.h: 4210 * src/WebGeolocationClientMock.cpp: 4211 (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests): 4212 42132011-03-11 David Levin <levin@chromium.org> 4214 4215 Rollout the chromium deps roll as it adds a dependency on a header 4216 that the bots building for WebKit don't seem to have. 4217 4218 Specifically gfx\gl\gl_context_egl.cc depends on d3dcompiler.h 4219 4220 * DEPS: 4221 42222011-03-11 Daniel Cheng <dcheng@chromium.org> 4223 4224 Reviewed by Tony Chang. 4225 4226 [chromium] Correct return type of WebClipboard::readImage. 4227 https://bugs.webkit.org/show_bug.cgi?id=56234 4228 4229 Update the return type to reflect that we are returning a blob of PNG 4230 data, not a bitmap. 4231 4232 * public/WebClipboard.h: 4233 (WebKit::WebClipboard::readImage): 4234 42352011-03-11 David Levin <levin@chromium.org> 4236 4237 Update chromium deps to pick up the skia roll. 4238 4239 * DEPS: 4240 42412011-03-11 Adrienne Walker <enne@google.com> 4242 4243 Reviewed by Kenneth Russell. 4244 4245 Add missing unit tests to TilingData. 4246 https://bugs.webkit.org/show_bug.cgi?id=54143 4247 4248 * tests/TilingDataTest.cpp: 4249 (WebCore::TEST): 4250 42512011-03-11 Anton D'Auria <adauria@apple.com> 4252 4253 Reviewed and landed by Brady Eidson. 4254 4255 Add WebKit1 API to view and delete local storage 4256 https://bugs.webkit.org/show_bug.cgi?id=51878 4257 4258 * src/StorageNamespaceProxy.cpp: 4259 (WebCore::StorageNamespaceProxy::clearOriginForDeletion): 4260 (WebCore::StorageNamespaceProxy::clearAllOriginsForDeletion): 4261 (WebCore::StorageNamespaceProxy::sync): 4262 * src/StorageNamespaceProxy.h: 4263 42642011-03-11 Dominic Mazzoni <dmazzoni@google.com> 4265 4266 Reviewed by Dimitri Glazkov. 4267 4268 Add an accessibilityIsIgnored method to WebAccessibilityObject. 4269 https://bugs.webkit.org/show_bug.cgi?id=50969 4270 4271 * public/WebAccessibilityObject.h: 4272 * src/WebAccessibilityObject.cpp: 4273 (WebKit::WebAccessibilityObject::accessibilityIsIgnored): 4274 42752011-03-11 Avi Drissman <avi@google.com> 4276 4277 Reviewed by Tony Chang. 4278 4279 Fix missing initialization of new member variables. 4280 https://bugs.webkit.org/show_bug.cgi?id=50969 4281 4282 * public/WebMenuItemInfo.h: 4283 (WebKit::WebMenuItemInfo::WebMenuItemInfo): 4284 42852011-03-11 Roland Steiner <rolandsteiner@chromium.org> 4286 4287 Reviewed by Ryosuke Niwa. 4288 4289 Bug 55570 - Remove dependency of dom/InputElement.cpp on html/ and wml/ 4290 https://bugs.webkit.org/show_bug.cgi?id=55570 4291 4292 Add a virtual function toInputElement() to Node that has a default 4293 implementation of returning 0. 4294 For HTMLInputElement and WMLInputElement (which derive from InputElement) 4295 override this to return the object. 4296 Change all calling sites of the old toInputElement to use the new member 4297 function. This also allows us to save some casts. 4298 4299 No new tests (refactoring). 4300 4301 * src/WebInputElement.cpp: 4302 (WebKit::toWebInputElement): 4303 43042011-03-10 Takayoshi Kochi <kochi@chromium.org> 4305 4306 Reviewed by Tony Chang. 4307 4308 Remove default parameter declaration for familiForChars(), which is no longer necessary. 4309 4310 * public/gtk/WebFontInfo.h: 4311 43122011-03-10 Nat Duca <nduca@chromium.org> 4313 4314 Reviewed by James Robinson. 4315 4316 [chromium] Make updateAndDrawLayers argumentless. 4317 https://bugs.webkit.org/show_bug.cgi?id=55985 4318 4319 Made the TilePainters and viewport parameters for 4320 LayerRendererChromium member variables instead of arguments on 4321 updateAndDrawLayers. In a future change, this will allows us to 4322 draw the layer tree without the WebView's assistance. 4323 4324 * src/WebViewImpl.cpp: 4325 (WebKit::WebViewImpl::resize): 4326 (WebKit::WebViewImpl::paint): 4327 (WebKit::WebViewImpl::scrollRootLayerRect): 4328 (WebKit::WebViewImpl::invalidateRootLayerRect): 4329 (WebKit::WebViewImplContentPainter::create): 4330 (WebKit::WebViewImplContentPainter::paint): 4331 (WebKit::WebViewImplContentPainter::WebViewImplContentPainter): 4332 (WebKit::WebViewImplScrollbarPainter::create): 4333 (WebKit::WebViewImplScrollbarPainter::paint): 4334 (WebKit::WebViewImplScrollbarPainter::WebViewImplScrollbarPainter): 4335 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 4336 (WebKit::WebViewImpl::doComposite): 4337 (WebKit::WebViewImpl::reallocateRenderer): 4338 (WebKit::WebViewImpl::updateLayerRendererViewport): 4339 * src/WebViewImpl.h: 4340 43412011-03-10 Tony Chang <tony@chromium.org> 4342 4343 Unreviewed, roll chromium version to r77259 to pick up 4344 webfontinfo api change. 4345 4346 * DEPS: 4347 43482011-03-10 Sheriff Bot <webkit.review.bot@gmail.com> 4349 4350 Unreviewed, rolling out r80701. 4351 http://trac.webkit.org/changeset/80701 4352 https://bugs.webkit.org/show_bug.cgi?id=56126 4353 4354 fast/dom/Geolocation/window-close-crash.html fails on Snow 4355 Leopard release builds (Requested by mihaip on #webkit). 4356 4357 * public/WebGeolocationClientMock.h: 4358 * src/WebGeolocationClientMock.cpp: 4359 43602011-03-10 Andrey Kosyakov <caseq@chromium.org> 4361 4362 Reviewed by Yury Semikhatsky. 4363 4364 Web Inspector: better names for HAR export commands 4365 https://bugs.webkit.org/show_bug.cgi?id=56097 4366 4367 Rename Export to HAR to Copy entry/network log as HAR 4368 Expose Copy as HAR unconditionally, remove related settings entry. 4369 4370 * src/js/DevTools.js: removed override for resourceExportEnabled 4371 43722011-01-26 John Knottenbelt <jknotten@chromium.org> 4373 4374 Reviewed by Dmitry Titov. 4375 4376 Detach Geolocation from Frame when Page destroyed. 4377 https://bugs.webkit.org/show_bug.cgi?id=52877 4378 4379 Add accessors to the WebGeolocationClientMock to allow the number of 4380 pending geolocation permission requests to be queried. 4381 4382 * public/WebGeolocationClientMock.h: 4383 * src/WebGeolocationClientMock.cpp: 4384 (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests): 4385 43862011-03-08 Hans Wennborg <hans@chromium.org> 4387 4388 Reviewed by Jeremy Orlow. 4389 4390 IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open 4391 https://bugs.webkit.org/show_bug.cgi?id=55948 4392 4393 Add a parameter that allows for selection of alternative backing store 4394 implementations. 4395 4396 * public/WebIDBFactory.h: 4397 (WebKit::WebIDBFactory::open): 4398 * src/AssertMatchingEnums.cpp: 4399 * src/IDBFactoryBackendProxy.cpp: 4400 (WebCore::IDBFactoryBackendProxy::open): 4401 * src/IDBFactoryBackendProxy.h: 4402 * src/WebIDBFactoryImpl.cpp: 4403 (WebKit::WebIDBFactoryImpl::open): 4404 * src/WebIDBFactoryImpl.h: 4405 44062011-03-08 Kinuko Yasuda <kinuko@chromium.org> 4407 4408 Reviewed by David Levin. 4409 4410 Destroying WorkerFileSystemCallbacksBridge on main thread results in ASSERT in WorkerContext::Observer::~Observer 4411 https://bugs.webkit.org/show_bug.cgi?id=55895 4412 4413 * src/WorkerFileSystemCallbacksBridge.cpp: 4414 (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnWorkerThread): 4415 Added stopObserving() so that releasing the bridge on the main thread 4416 (this could happen before or after the runTaskOnWorkerThread) does 4417 not cause the assertion error. 4418 44192011-03-08 Alok priyadarshi <alokp@chromium.org> 4420 4421 Reviewed by Dimitri Glazkov. 4422 4423 Plugins needs a way to trigger style recalc 4424 https://bugs.webkit.org/show_bug.cgi?id=55242 4425 4426 It will be tested by Pepper2D and Pepper3D layout/smoke tests 4427 on the Chromium side. 4428 4429 * public/WebPluginContainer.h: 4430 * src/WebPluginContainerImpl.cpp: 4431 (WebKit::WebPluginContainerImpl::setBackingTextureId): 4432 * src/WebPluginContainerImpl.h: 4433 44342011-03-08 Andrei Popescu <andreip@google.com> 4435 4436 Reviewed by Steve Block. 4437 4438 IDBCallbacks::onsuccess(IDBIndex*) is unused and should be removed. 4439 https://bugs.webkit.org/show_bug.cgi?id=55938 4440 4441 * public/WebIDBCallbacks.h: 4442 * src/IDBCallbacksProxy.cpp: 4443 * src/IDBCallbacksProxy.h: 4444 * src/WebIDBCallbacksImpl.cpp: 4445 * src/WebIDBCallbacksImpl.h: 4446 * src/WebIDBObjectStoreImpl.cpp: 4447 44482011-03-07 Daniel Cheng <dcheng@chromium.org> 4449 4450 Reviewed by David Levin. 4451 4452 Add support for DataTransferItems 4453 https://bugs.webkit.org/show_bug.cgi?id=55115 4454 4455 Add new runtime enabled flag for data transfer items feature. 4456 4457 * public/WebRuntimeFeatures.h: 4458 * src/WebRuntimeFeatures.cpp: 4459 (WebKit::WebRuntimeFeatures::enableDataTransferItems): 4460 (WebKit::WebRuntimeFeatures::isDataTransferItemsEnabled): 4461 44622011-03-07 Ryosuke Niwa <rniwa@webkit.org> 4463 4464 Chromium build fix. 4465 4466 * src/ContextMenuClientImpl.cpp: 4467 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 4468 44692011-03-07 Ryosuke Niwa <rniwa@webkit.org> 4470 4471 Reviewed by Darin Adler. 4472 4473 selectionHasStyle and selectionStartHasStyle should use EditingStyle 4474 https://bugs.webkit.org/show_bug.cgi?id=55902 4475 4476 selectionHasStyle now takes a property id and a value instead of a CSSMutableStyleDeclaration. 4477 4478 * src/ContextMenuClientImpl.cpp: 4479 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Calls selectionHasStyle. 4480 44812011-03-07 Daniel Cheng <dcheng@chromium.org> 4482 4483 Reviewed by Tony Chang. 4484 4485 Add plumbing for paste support to ChromiumDataObject::types() 4486 https://bugs.webkit.org/show_bug.cgi?id=55792 4487 4488 This requires a DEPS roll for a Chromium-side change to support DRT testing of 4489 event.dataTransfer.types. 4490 4491 * DEPS: 4492 44932011-03-07 Takayoshi Kochi <kochi@chromium.org> 4494 4495 Reviewed by Tony Chang. 4496 4497 Use preferred locale information when choosing fallback font using 4498 fontconfig on Linux platform. 4499 https://bugs.webkit.org/show_bug.cgi?id=55453 4500 4501 Tests will be covered by Chromium side. 4502 4503 * public/gtk/WebFontInfo.h: 4504 (WebKit::WebFontInfo::familyForChars): added 3rd parameter |preferredLocale| 4505 * public/linux/WebSandboxSupport.h: 4506 (WebKit::WebSandboxSupport::getFontFamilyForCharacters): added 3rd parameter |preferredLocale| 4507 * src/PlatformBridge.cpp: 4508 * src/gtk/WebFontInfo.cpp: 4509 45102011-03-07 James Robinson <jamesr@chromium.org> 4511 4512 Reviewed by Kenneth Russell. 4513 4514 [chromium] Separate the "update" and "draw" portions of LayerRendererChromium's drawLayers function 4515 https://bugs.webkit.org/show_bug.cgi?id=54047 4516 4517 Call updated LayerRendererChromium APIs. 4518 4519 * src/WebViewImpl.cpp: 4520 (WebKit::WebViewImpl::doPixelReadbackToCanvas): 4521 (WebKit::WebViewImpl::paint): 4522 (WebKit::WebViewImpl::doComposite): 4523 45242011-03-07 Sam Weinig <sam@webkit.org> 4525 4526 Reviewed by Anders Carlsson. 4527 4528 Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse 4529 https://bugs.webkit.org/show_bug.cgi?id=55827 4530 4531 Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse 4532 and pass the entire response, instead of just the MIMEType. 4533 4534 * src/FrameLoaderClientImpl.cpp: 4535 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForResponse): 4536 * src/FrameLoaderClientImpl.h: 4537 45382011-03-07 Marcus Bulach <bulach@chromium.org> 4539 4540 Reviewed by Dan Bernstein. 4541 4542 WebViewImpl::focusedWebCoreFrame() should be const. 4543 https://bugs.webkit.org/show_bug.cgi?id=55870 4544 4545 * src/WebViewImpl.cpp: 4546 (WebKit::WebViewImpl::focusedWebCoreFrame): 4547 * src/WebViewImpl.h: 4548 45492011-03-07 Eric Carlson <eric.carlson@apple.com> 4550 4551 Reviewed by Darin Adler. 4552 4553 Add API to enumerate/delete files downloaded for <audio> and <video> 4554 https://bugs.webkit.org/show_bug.cgi?id=55267 4555 4556 * src/WebMediaPlayerClientImpl.cpp: 4557 (WebKit::WebMediaPlayerClientImpl::registerSelf): Update for MediaEngineRegistrar change. 4558 45592011-03-07 Andrei Popescu <andreip@google.com> 4560 4561 Reviewed by Steve Block. 4562 4563 IDBRequest::onSuccess(IDBObjectStore*) should be removed as it is unused. 4564 https://bugs.webkit.org/show_bug.cgi?id=55777 4565 4566 * src/IDBCallbacksProxy.cpp: 4567 * src/IDBCallbacksProxy.h: 4568 * src/WebIDBCallbacksImpl.cpp: 4569 * src/WebIDBCallbacksImpl.h: 4570 45712011-03-07 Sheriff Bot <webkit.review.bot@gmail.com> 4572 4573 Unreviewed, rolling out r80458. 4574 http://trac.webkit.org/changeset/80458 4575 https://bugs.webkit.org/show_bug.cgi?id=55863 4576 4577 caused tests to crash on several chromium bots (Requested by 4578 ukai on #webkit). 4579 4580 * src/AssociatedURLLoader.cpp: 4581 (WebKit::AssociatedURLLoader::AssociatedURLLoader): 4582 (WebKit::AssociatedURLLoader::~AssociatedURLLoader): 4583 (WebKit::AssociatedURLLoader::loadSynchronously): 4584 (WebKit::AssociatedURLLoader::loadAsynchronously): 4585 (WebKit::AssociatedURLLoader::cancel): 4586 (WebKit::AssociatedURLLoader::setDefersLoading): 4587 (WebKit::AssociatedURLLoader::prepareRequest): 4588 (WebKit::AssociatedURLLoader::willSendRequest): 4589 (WebKit::AssociatedURLLoader::didSendData): 4590 (WebKit::AssociatedURLLoader::didReceiveResponse): 4591 (WebKit::AssociatedURLLoader::didDownloadData): 4592 (WebKit::AssociatedURLLoader::didReceiveData): 4593 (WebKit::AssociatedURLLoader::didReceiveCachedMetadata): 4594 (WebKit::AssociatedURLLoader::didFinishLoading): 4595 (WebKit::AssociatedURLLoader::didFail): 4596 * src/AssociatedURLLoader.h: 4597 45982011-03-07 Bill Budge <bbudge@chromium.org> 4599 4600 Reviewed by David Levin. 4601 4602 AssociatedURLLoader does not support Cross Origin Requests 4603 https://bugs.webkit.org/show_bug.cgi?id=53925 4604 4605 No tests needed. Exposes no new functionality. 4606 4607 * src/AssociatedURLLoader.cpp: 4608 (WebKit::AssociatedURLLoader::ClientAdapter::create): 4609 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter): 4610 (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest): 4611 (WebKit::AssociatedURLLoader::ClientAdapter::didSendData): 4612 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse): 4613 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData): 4614 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata): 4615 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading): 4616 (WebKit::AssociatedURLLoader::ClientAdapter::didFail): 4617 (WebKit::AssociatedURLLoader::AssociatedURLLoader): 4618 (WebKit::AssociatedURLLoader::~AssociatedURLLoader): 4619 (WebKit::AssociatedURLLoader::loadSynchronously): 4620 (WebKit::AssociatedURLLoader::loadAsynchronously): 4621 (WebKit::AssociatedURLLoader::cancel): 4622 (WebKit::AssociatedURLLoader::setDefersLoading): 4623 * src/AssociatedURLLoader.h: 4624 (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions): 4625 46262011-03-06 Sreeram Ramachandran <sreeram@google.com> 4627 4628 Reviewed by Dimitri Glazkov. 4629 4630 Expose page dismissal event status through the WebKit API for chromium. 4631 https://bugs.webkit.org/show_bug.cgi?id=55844 4632 4633 Chromium will find it useful to know the page dismissal status (i.e., 4634 whether a frame is in the midst of executing a beforeunload or unload 4635 handler), so expose that information through the chromium port in the 4636 WebKit API. 4637 4638 This is my second attempt at this patch. The previous one broke 4639 downstream Chromium builds of some unit tests which had classes derived 4640 from WebFrame (and thus became uninstantiable because of this new pure 4641 virtual method). Those have now been fixed (http://crrev.com/77101). 4642 4643 * public/WebFrame.h: 4644 * src/WebFrameImpl.cpp: 4645 (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched): 4646 * src/WebFrameImpl.h: 4647 46482011-03-06 Sheriff Bot <webkit.review.bot@gmail.com> 4649 4650 Unreviewed, rolling out r80436. 4651 http://trac.webkit.org/changeset/80436 4652 https://bugs.webkit.org/show_bug.cgi?id=55849 4653 4654 Broke Chromium compile across the board (Requested by dglazkov 4655 on #webkit). 4656 4657 * public/WebFrame.h: 4658 * src/WebFrameImpl.cpp: 4659 * src/WebFrameImpl.h: 4660 46612011-03-06 Sreeram Ramachandran <sreeram@google.com> 4662 4663 Reviewed by Dimitri Glazkov. 4664 4665 Expose page dismissal event status through the WebKit API for chromium 4666 https://bugs.webkit.org/show_bug.cgi?id=55844 4667 4668 * public/WebFrame.h: 4669 * src/WebFrameImpl.cpp: 4670 (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched): 4671 * src/WebFrameImpl.h: 4672 46732011-03-05 Daniel Cheng <dcheng@chromium.org> 4674 4675 Reviewed by Dmitry Titov. 4676 4677 [chromium] Add method to WebClipboard to read images from the clipboard. 4678 https://bugs.webkit.org/show_bug.cgi?id=55814 4679 4680 * public/WebClipboard.h: 4681 (WebKit::WebClipboard::readImage): 4682 46832011-03-04 Adam Barth <abarth@webkit.org> 4684 4685 Reviewed by Dimitri Glazkov. 4686 4687 Remove unneeded round-trips through ../Source in the Chromium GYP build 4688 https://bugs.webkit.org/show_bug.cgi?id=55795 4689 4690 * WebKit.gyp: 4691 46922011-03-03 John Abd-El-Malek <jam@chromium.org> 4693 4694 Reviewed by Dimitri Glazkov. 4695 4696 [chromium] Get rid of IsContentFiltered flags since they're not used anymore 4697 https://bugs.webkit.org/show_bug.cgi?id=55748 4698 4699 * DEPS: 4700 * public/WebURLResponse.h: 4701 * src/WebURLResponse.cpp: 4702 47032011-03-04 James Su <suzhe@chromium.org> 4704 4705 Reviewed by Dimitri Glazkov. 4706 4707 [Chromium] keycode is always 0 when using non-Latin keyboard layout. 4708 https://bugs.webkit.org/show_bug.cgi?id=54939 4709 4710 No intended functionality change. 4711 4712 * src/mac/WebInputEventFactory.mm: 4713 (WebKit::windowsKeyCodeForKeyEvent): Use the same implementation 4714 provided in WebCore/platform/mac/KeyEventMac.mm. 4715 47162011-03-04 Zelidrag Hornung <zelidrag@chromium.org> 4717 4718 Reviewed by David Levin 4719 4720 Expose ability to create instance of DOMFileSystem from Chromium side. 4721 https://bugs.webkit.org/show_bug.cgi?id=55618 4722 4723 * public/WebFrame.h: 4724 * src/WebFrameImpl.cpp: 4725 (WebKit::WebFrameImpl::createFileSystem): 4726 * src/WebFrameImpl.h: 4727 47282011-03-03 Nat Duca <nduca@chromium.org> 4729 4730 Reviewed by James Robinson. 4731 4732 [chromium] Create a LayerChromium layerTreeAsText. Add HUD to 4733 LayerRendererChromium that draws compositor FPS and, optionally, 4734 the layer tree. 4735 https://bugs.webkit.org/show_bug.cgi?id=54710 4736 4737 * public/WebSettings.h: 4738 * src/WebSettingsImpl.cpp: 4739 (WebKit::WebSettingsImpl::WebSettingsImpl): 4740 (WebKit::WebSettingsImpl::setShowFPSCounter): 4741 (WebKit::WebSettingsImpl::setShowPlatformLayerTree): 4742 * src/WebSettingsImpl.h: 4743 (WebKit::WebSettingsImpl::showFPSCounter): 4744 (WebKit::WebSettingsImpl::showPlatformLayerTree): 4745 * src/WebViewImpl.cpp: 4746 (WebKit::WebViewImpl::doComposite): 4747 47482011-03-03 Alexey Proskuryakov <ap@apple.com> 4749 4750 Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included 4751 via ChromeClient.h 4752 4753 * src/ChromeClientImpl.h: 4754 47552011-03-02 Alexey Proskuryakov <ap@apple.com> 4756 4757 Reviewed by Darin Adler. 4758 4759 REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access 4760 https://bugs.webkit.org/show_bug.cgi?id=55633 4761 <rdar://problem/8963023> 4762 4763 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::keyboardUIMode): 4764 * src/ChromeClientImpl.h: 4765 Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since 4766 this platform doesn't observe or have full keyboard access state. 4767 47682011-03-03 Sheriff Bot <webkit.review.bot@gmail.com> 4769 4770 Unreviewed, rolling out r80219. 4771 http://trac.webkit.org/changeset/80219 4772 https://bugs.webkit.org/show_bug.cgi?id=55680 4773 4774 "Causes several media test crashes" (Requested by tonyg-cr on 4775 #webkit). 4776 4777 * src/AssociatedURLLoader.cpp: 4778 (WebKit::AssociatedURLLoader::AssociatedURLLoader): 4779 (WebKit::AssociatedURLLoader::~AssociatedURLLoader): 4780 (WebKit::AssociatedURLLoader::loadSynchronously): 4781 (WebKit::AssociatedURLLoader::loadAsynchronously): 4782 (WebKit::AssociatedURLLoader::cancel): 4783 (WebKit::AssociatedURLLoader::setDefersLoading): 4784 (WebKit::AssociatedURLLoader::prepareRequest): 4785 (WebKit::AssociatedURLLoader::willSendRequest): 4786 (WebKit::AssociatedURLLoader::didSendData): 4787 (WebKit::AssociatedURLLoader::didReceiveResponse): 4788 (WebKit::AssociatedURLLoader::didDownloadData): 4789 (WebKit::AssociatedURLLoader::didReceiveData): 4790 (WebKit::AssociatedURLLoader::didReceiveCachedMetadata): 4791 (WebKit::AssociatedURLLoader::didFinishLoading): 4792 (WebKit::AssociatedURLLoader::didFail): 4793 * src/AssociatedURLLoader.h: 4794 47952011-03-03 Dominic Mazzoni <dmazzoni@google.com> 4796 4797 Reviewed by Dimitri Glazkov. 4798 4799 Add an equals() method to WebAccessibilityObject. 4800 https://bugs.webkit.org/show_bug.cgi?id=55631 4801 4802 * public/WebAccessibilityObject.h: 4803 * src/WebAccessibilityObject.cpp: 4804 (WebKit::WebAccessibilityObject::equals): 4805 48062011-03-03 Pavel Podivilov <podivilov@chromium.org> 4807 4808 Reviewed by Yury Semikhatsky. 4809 4810 Web Inspector: make selected call frame debugger presentation model property. 4811 https://bugs.webkit.org/show_bug.cgi?id=55582 4812 4813 * src/js/Tests.js: 4814 48152011-03-03 Bill Budge <bbudge@chromium.org> 4816 4817 Reviewed by David Levin. 4818 4819 AssociatedURLLoader does not support Cross Origin Requests 4820 https://bugs.webkit.org/show_bug.cgi?id=53925 4821 4822 No tests needed. Exposes no new functionality. 4823 4824 * src/AssociatedURLLoader.cpp: 4825 (WebKit::AssociatedURLLoader::ClientAdapter::create): 4826 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter): 4827 (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest): 4828 (WebKit::AssociatedURLLoader::ClientAdapter::didSendData): 4829 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse): 4830 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData): 4831 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata): 4832 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading): 4833 (WebKit::AssociatedURLLoader::ClientAdapter::didFail): 4834 (WebKit::AssociatedURLLoader::AssociatedURLLoader): 4835 (WebKit::AssociatedURLLoader::~AssociatedURLLoader): 4836 (WebKit::AssociatedURLLoader::loadSynchronously): 4837 (WebKit::AssociatedURLLoader::loadAsynchronously): 4838 (WebKit::AssociatedURLLoader::cancel): 4839 (WebKit::AssociatedURLLoader::setDefersLoading): 4840 * src/AssociatedURLLoader.h: 4841 (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions): 4842 48432011-03-03 Steve Lacey <sjl@chromium.org> 4844 4845 Reviewed by Darin Fisher. 4846 4847 Wire up webkit metrics changes to chromium changes. 4848 https://bugs.webkit.org/show_bug.cgi?id=54580 4849 4850 * features.gypi: 4851 * public/WebMediaPlayer.h: 4852 * src/WebMediaPlayerClientImpl.cpp: 4853 (WebKit::WebMediaPlayerClientImpl::decodedFrameCount): 4854 (WebKit::WebMediaPlayerClientImpl::droppedFrameCount): 4855 (WebKit::WebMediaPlayerClientImpl::audioDecodedByteCount): 4856 (WebKit::WebMediaPlayerClientImpl::videoDecodedByteCount): 4857 * src/WebMediaPlayerClientImpl.h: 4858 48592011-03-02 Daniel Cheng <dcheng@chromium.org> 4860 4861 Reviewed by David Levin. 4862 4863 Manually revert ChromiumDataObject changes. 4864 https://bugs.webkit.org/show_bug.cgi?id=55627 4865 4866 * public/WebView.h: 4867 * src/WebDragData.cpp: 4868 (WebKit::WebDragData::initialize): 4869 * src/WebViewImpl.cpp: 4870 (WebKit::WebViewImpl::dragTargetDragEnter): 4871 * src/WebViewImpl.h: 4872 48732011-03-02 David Grogan <dgrogan@chromium.org> 4874 4875 Reviewed by Jeremy Orlow. 4876 4877 IndexedDB: fire versionchange events when calling setVersion 4878 https://bugs.webkit.org/show_bug.cgi?id=55095 4879 4880 * WebKit.gyp: 4881 * src/IDBDatabaseCallbacksProxy.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h. 4882 (WebCore::IDBDatabaseCallbacksProxy::create): 4883 (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy): 4884 (WebCore::IDBDatabaseCallbacksProxy::~IDBDatabaseCallbacksProxy): 4885 (WebCore::IDBDatabaseCallbacksProxy::onVersionChange): 4886 * src/IDBDatabaseCallbacksProxy.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h. 4887 * src/IDBDatabaseProxy.cpp: 4888 (WebCore::IDBDatabaseProxy::setVersion): 4889 (WebCore::IDBDatabaseProxy::close): 4890 (WebCore::IDBDatabaseProxy::open): 4891 * src/IDBDatabaseProxy.h: 4892 * src/WebIDBDatabaseCallbacksImpl.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.cpp. 4893 (WebCore::WebIDBDatabaseCallbacksImpl::WebIDBDatabaseCallbacksImpl): 4894 (WebCore::WebIDBDatabaseCallbacksImpl::~WebIDBDatabaseCallbacksImpl): 4895 (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange): 4896 * src/WebIDBDatabaseCallbacksImpl.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h. 4897 * src/WebIDBDatabaseImpl.cpp: 4898 (WebKit::WebIDBDatabaseImpl::setVersion): 4899 (WebKit::WebIDBDatabaseImpl::close): 4900 (WebKit::WebIDBDatabaseImpl::open): 4901 * src/WebIDBDatabaseImpl.h: 4902 49032011-03-02 Sheriff Bot <webkit.review.bot@gmail.com> 4904 4905 Unreviewed, rolling out r80139. 4906 http://trac.webkit.org/changeset/80139 4907 https://bugs.webkit.org/show_bug.cgi?id=55620 4908 4909 failing and crashing tests on Snow Leopard bot (Requested by 4910 mihaip1 on #webkit). 4911 4912 * public/WebGeolocationClientMock.h: 4913 * src/WebGeolocationClientMock.cpp: 4914 49152011-03-02 Daniel Cheng <dcheng@chromium.org> 4916 4917 Revert frame-specific WebClipboard changes 4918 https://bugs.webkit.org/show_bug.cgi?id=55617 4919 4920 This code is no longer needed since we've decided to use the original 4921 approach to copy/paste drag/drop handling in ClipboardChromium. 4922 4923 * public/WebFrameClient.h: 4924 * src/PlatformBridge.cpp: 4925 (WebCore::PlatformBridge::clipboardReadAvailableTypes): 4926 (WebCore::PlatformBridge::clipboardReadData): 4927 (WebCore::PlatformBridge::clipboardReadFilenames): 4928 * src/WebFrameImpl.cpp: 4929 (WebKit::WebFrameImpl::fromFrame): 4930 * src/WebFrameImpl.h: 4931 * src/WebViewImpl.cpp: 4932 (WebKit::WebViewImpl::dragTargetDragEnterNew): 4933 49342011-03-02 Tony Chang <tony@chromium.org> 4935 4936 Unreviewed, rolling chromium DEPS to r76362. 4937 4938 https://bugs.webkit.org/show_bug.cgi?id=55564 4939 4940 * DEPS: 4941 49422011-02-28 Jeremy Orlow <jorlow@chromium.org> 4943 4944 Reviewed by James Robinson. 4945 4946 Split IDBCursor.value into IDBCursor.primaryKey and IDBCursor.value 4947 https://bugs.webkit.org/show_bug.cgi?id=55443 4948 4949 * public/WebIDBCursor.h: 4950 (WebKit::WebIDBCursor::primaryKey): 4951 (WebKit::WebIDBCursor::value): 4952 * src/IDBCursorBackendProxy.cpp: 4953 (WebCore::IDBCursorBackendProxy::primaryKey): 4954 (WebCore::IDBCursorBackendProxy::value): 4955 * src/IDBCursorBackendProxy.h: 4956 * src/WebIDBCursorImpl.cpp: 4957 (WebKit::WebIDBCursorImpl::key): 4958 (WebKit::WebIDBCursorImpl::primaryKey): 4959 (WebKit::WebIDBCursorImpl::value): 4960 * src/WebIDBCursorImpl.h: 4961 49622011-03-02 Daniel Cheng <dcheng@chromium.org> 4963 4964 Reviewed by David Levin. 4965 4966 Add feature define for data transfer items 4967 https://bugs.webkit.org/show_bug.cgi?id=55510 4968 4969 * features.gypi: 4970 49712011-01-26 John Knottenbelt <jknotten@chromium.org> 4972 4973 Detach Geolocation from Frame when Page destroyed. 4974 https://bugs.webkit.org/show_bug.cgi?id=52877 4975 4976 Add accessors to the WebGeolocationClientMock to allow the number of 4977 pending geolocation permission requests to be queried. 4978 4979 * public/WebGeolocationClientMock.h: 4980 * src/WebGeolocationClientMock.cpp: 4981 (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests): 4982 49832011-03-01 David Grogan <dgrogan@chromium.org> 4984 4985 Reviewed by Jeremy Orlow. 4986 4987 IndexedDB: public webkit interfaces for firing versionchange events to IDBDatabase objects 4988 https://bugs.webkit.org/show_bug.cgi?id=55548 4989 4990 * WebKit.gyp: 4991 * public/WebIDBDatabase.h: 4992 (WebKit::WebIDBDatabase::createObjectStore): 4993 (WebKit::WebIDBDatabase::open): 4994 * public/WebIDBDatabaseCallbacks.h: Added. 4995 (WebKit::WebIDBDatabaseCallbacks::~WebIDBDatabaseCallbacks): 4996 (WebKit::WebIDBDatabaseCallbacks::onVersionChange): 4997 49982011-03-01 Sheriff Bot <webkit.review.bot@gmail.com> 4999 5000 Unreviewed, rolling out r80079. 5001 http://trac.webkit.org/changeset/80079 5002 https://bugs.webkit.org/show_bug.cgi?id=55547 5003 5004 "Broke the Win debug build?" (Requested by dcheng on #webkit). 5005 5006 * features.gypi: 5007 50082011-03-01 Daniel Cheng <dcheng@chromium.org> 5009 5010 Reviewed by David Levin. 5011 5012 Add feature define for data transfer items 5013 https://bugs.webkit.org/show_bug.cgi?id=55510 5014 5015 * features.gypi: 5016 50172011-03-01 Jeremy Orlow <jorlow@chromium.org> 5018 5019 Reviewed by James Robinson. 5020 5021 Add a primaryKey method to IDBCursor 5022 https://bugs.webkit.org/show_bug.cgi?id=55518 5023 5024 In prep for https://bugs.webkit.org/show_bug.cgi?id=55443 5025 5026 * public/WebIDBCursor.h: 5027 (WebKit::WebIDBCursor::primaryKey): 5028 50292011-02-28 Chang Shu <cshu@webkit.org> 5030 5031 Reviewed by Ryosuke Niwa. 5032 5033 Remove the support of Frame::isContentEditable and its dependencies. 5034 https://bugs.webkit.org/show_bug.cgi?id=54292 5035 5036 Remove the WebKit side implementation. 5037 5038 * src/EditorClientImpl.cpp: 5039 * src/EditorClientImpl.h: 5040 50412011-02-28 Avi Drissman <avi@google.com> 5042 5043 Reviewed by James Robinson. 5044 5045 WebCursorInfo needs to match enums in platform/Cursor.h 5046 https://bugs.webkit.org/show_bug.cgi?id=55094 5047 5048 * public/WebCursorInfo.h: 5049 * src/AssertMatchingEnums.cpp: 5050 50512011-02-28 Sheriff Bot <webkit.review.bot@gmail.com> 5052 5053 Unreviewed, rolling out r78789. 5054 http://trac.webkit.org/changeset/78789 5055 https://bugs.webkit.org/show_bug.cgi?id=55409 5056 5057 Incorrect canvas fallback implementation (Requested by 5058 inferno-sec on #webkit). 5059 5060 * public/WebAccessibilityRole.h: 5061 * src/AssertMatchingEnums.cpp: 5062 50632011-02-28 Adam Klein <adamk@chromium.org> 5064 5065 Reviewed by Adam Barth. 5066 5067 [fileapi] Implement LocalFileSystem.resolveLocalFileSystemURI 5068 https://bugs.webkit.org/show_bug.cgi?id=54774 5069 5070 * src/LocalFileSystemChromium.cpp: 5071 (WebCore::LocalFileSystem::readFileSystem): 5072 Removed size argument to readFileSystem() 5073 50742011-02-27 Pavel Feldman <pfeldman@chromium.org> 5075 5076 Reviewed by Darin Fisher. 5077 5078 Pass frame history state in the context menu parameters. 5079 https://bugs.webkit.org/show_bug.cgi?id=55232 5080 5081 * public/WebContextMenuData.h: 5082 * src/ContextMenuClientImpl.cpp: 5083 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 5084 50852011-02-26 Vsevolod Vlasov <vsevik@chromium.org> 5086 5087 Reviewed by Pavel Feldman. 5088 5089 DumpRenderTree should reset frame opener between tests. 5090 https://bugs.webkit.org/show_bug.cgi?id=54874 5091 5092 Added clearOpener method to WebFrame. 5093 5094 * public/WebFrame.h: 5095 * src/WebFrameImpl.cpp: 5096 (WebKit::WebFrameImpl::clearOpener): 5097 * src/WebFrameImpl.h: 5098 50992011-02-26 Pavel Feldman <pfeldman@chromium.org> 5100 5101 Not reviewed: rolling chromium DEPS. 5102 5103 * DEPS: 5104 51052011-02-26 Bill Budge <bbudge@chromium.org> 5106 5107 Reviewed by David Levin. 5108 5109 WebURLRequest, WebURLResponse properties should be passed to WebCore Layer 5110 https://bugs.webkit.org/show_bug.cgi?id=54489 5111 5112 No tests needed. This is already tested by ui_tests, nacl_ui_tests, and nacl_sandbox_tests 5113 5114 * src/WebURLRequest.cpp: 5115 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl): 5116 (WebKit::WebURLRequest::downloadToFile): 5117 (WebKit::WebURLRequest::setDownloadToFile): 5118 * src/WebURLRequestPrivate.h: 5119 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate): 5120 * src/WebURLResponse.cpp: 5121 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl): 5122 (WebKit::WebURLResponse::downloadFilePath): 5123 (WebKit::WebURLResponse::setDownloadFilePath): 5124 * src/WebURLResponsePrivate.h: 5125 51262011-02-26 Sheriff Bot <webkit.review.bot@gmail.com> 5127 5128 Unreviewed, rolling out r79764. 5129 http://trac.webkit.org/changeset/79764 5130 https://bugs.webkit.org/show_bug.cgi?id=55295 5131 5132 "broke Chromium builds" (Requested by rniwa on #webkit). 5133 5134 * public/WebFrame.h: 5135 * src/WebFrameImpl.cpp: 5136 * src/WebFrameImpl.h: 5137 51382011-02-26 David Dorwin <ddorwin@chromium.org> 5139 5140 Reviewed by Darin Fisher. 5141 5142 Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default. 5143 5144 fullscreen javascript bindings not implemented for v8 5145 https://bugs.webkit.org/show_bug.cgi?id=44797 5146 5147 * features.gypi: 5148 * public/WebSettings.h: 5149 * src/ChromeClientImpl.cpp: 5150 (WebKit::ChromeClientImpl::supportsFullScreenForElement): 5151 (WebKit::ChromeClientImpl::enterFullScreenForElement): 5152 (WebKit::ChromeClientImpl::exitFullScreenForElement): 5153 (WebKit::ChromeClientImpl::fullScreenRendererChanged): 5154 * src/ChromeClientImpl.h: 5155 * src/WebSettingsImpl.cpp: 5156 (WebKit::WebSettingsImpl::setFullScreenEnabled): 5157 * src/WebSettingsImpl.h: 5158 51592011-02-26 John Mellor <johnme@chromium.org> 5160 5161 Reviewed by Antonio Gomes. 5162 5163 [chromium] WebFrameImpl::m_totalMatchCount should be an int 5164 https://bugs.webkit.org/show_bug.cgi?id=55134 5165 5166 WebFrameImpl::m_totalMatchCount should be an int instead of a size_t since it can be -1. 5167 5168 * src/WebFrameImpl.h: 5169 51702011-02-26 Vsevolod Vlasov <vsevik@chromium.org> 5171 5172 Reviewed by Pavel Feldman. 5173 5174 DumpRenderTree should reset frame opener between tests. 5175 https://bugs.webkit.org/show_bug.cgi?id=54874 5176 5177 Added clearOpener method to WebFrame. 5178 5179 * public/WebFrame.h: 5180 * src/WebFrameImpl.cpp: 5181 (WebKit::WebFrameImpl::clearOpener): 5182 * src/WebFrameImpl.h: 5183 51842011-02-25 Tony Chang <tony@chromium.org> 5185 5186 Roll chromium deps to include RBGToHSL fix and ICU update. 5187 5188 * DEPS: 5189 51902011-02-15 Brett Wilson <brettw@chromium.org> 5191 5192 Reviewed by Darin Fisher. 5193 5194 Recover the mouse capture state when we recieve a mouse event where there is no longer a button down. 5195 https://bugs.webkit.org/show_bug.cgi?id=54503 5196 5197 * src/WebViewImpl.cpp: 5198 (WebKit::WebViewImpl::handleInputEvent): 5199 52002011-02-24 James Robinson <jamesr@chromium.org> 5201 5202 Reviewed by Darin Fisher. 5203 5204 Add a USE() macro to control use of the built-in UTF8 codec 5205 https://bugs.webkit.org/show_bug.cgi?id=55189 5206 5207 Defaults USE(BUILTIN_UTF8_CODEC) to true for the Chromium port. 5208 5209 * features.gypi: 5210 52112011-02-24 James Kozianski <koz@chromium.org> 5212 5213 Reviewed by Ojan Vafai. 5214 5215 Add missing plumbing for registerProtocolHandler in ChromeClientImpl. 5216 https://bugs.webkit.org/show_bug.cgi?id=55112 5217 5218 * src/ChromeClientImpl.cpp: 5219 (WebKit::ChromeClientImpl::registerProtocolHandler): 5220 52212011-02-24 James Robinson <jamesr@chromium.org> 5222 5223 Unreviewed, rolling out r79584. 5224 http://trac.webkit.org/changeset/79584 5225 https://bugs.webkit.org/show_bug.cgi?id=44797 5226 5227 [chromium] Patch does not compile if ENABLE_FULLSCREEN_API is 5228 not set 5229 5230 * features.gypi: 5231 * public/WebSettings.h: 5232 * src/ChromeClientImpl.cpp: 5233 * src/ChromeClientImpl.h: 5234 * src/WebSettingsImpl.cpp: 5235 * src/WebSettingsImpl.h: 5236 52372011-02-24 Andrew Wilson <atwilson@chromium.org> 5238 5239 Unreviewed, rolling out r79570. 5240 http://trac.webkit.org/changeset/79570 5241 https://bugs.webkit.org/show_bug.cgi?id=54874 5242 5243 Breaks chromium build because glue/mocks/mock_web_frame.h/cc 5244 was not updated 5245 5246 * public/WebFrame.h: 5247 * src/WebFrameImpl.cpp: 5248 * src/WebFrameImpl.h: 5249 52502011-02-24 David Dorwin <ddorwin@chromium.org> 5251 5252 Reviewed by Eric Seidel. 5253 5254 Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default. 5255 5256 fullscreen javascript bindings not implemented for v8 5257 https://bugs.webkit.org/show_bug.cgi?id=44797 5258 5259 * features.gypi: 5260 * public/WebSettings.h: 5261 * src/ChromeClientImpl.cpp: 5262 (WebKit::ChromeClientImpl::supportsFullScreenForElement): 5263 (WebKit::ChromeClientImpl::enterFullScreenForElement): 5264 (WebKit::ChromeClientImpl::exitFullScreenForElement): 5265 (WebKit::ChromeClientImpl::fullScreenRendererChanged): 5266 * src/ChromeClientImpl.h: 5267 * src/WebSettingsImpl.cpp: 5268 (WebKit::WebSettingsImpl::setFullScreenEnabled): 5269 * src/WebSettingsImpl.h: 5270 52712011-02-24 Patrick Gansterer <paroga@webkit.org> 5272 5273 Reviewed by Eric Seidel. 5274 5275 Rename PLATFORM(SKIA) to USE(SKIA) 5276 https://bugs.webkit.org/show_bug.cgi?id=55090 5277 5278 * src/GraphicsContext3DChromium.cpp: 5279 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 5280 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 5281 * src/GraphicsContext3DInternal.h: 5282 * src/WebViewImpl.cpp: 5283 (WebKit::WebViewImpl::doPixelReadbackToCanvas): 5284 52852011-02-24 Vsevolod Vlasov <vsevik@chromium.org> 5286 5287 Reviewed by Alexey Proskuryakov. 5288 5289 DumpRenderTree should reset frame opener between tests. 5290 https://bugs.webkit.org/show_bug.cgi?id=54874 5291 5292 Added clearOpener method to WebFrame. 5293 5294 * public/WebFrame.h: 5295 * src/WebFrameImpl.cpp: 5296 (WebKit::WebFrameImpl::clearOpener): 5297 * src/WebFrameImpl.h: 5298 52992011-02-24 Adam Klein <adamk@chromium.org> 5300 5301 Reviewed by Darin Fisher. 5302 5303 [chromium] Add code to WebKit Chromium to allow access to NetworkStateNotifier 5304 https://bugs.webkit.org/show_bug.cgi?id=54516 5305 5306 Add a new WebNetworkStateNotifier class with a single static method, 5307 setOnLine(), which dispatches to WebCore's singleton NetworkStateNotifier. 5308 5309 * WebKit.gyp: 5310 * public/WebNetworkStateNotifier.h: Added. 5311 * src/WebNetworkStateNotifier.cpp: Added. 5312 (WebKit::WebNetworkStateNotifier::setOnLine): 5313 53142011-02-24 Robert Kroeger <rjkroege@chromium.org> 5315 5316 Reviewed by Darin Fisher. 5317 5318 Added timestamps to PlatformTouchEvent etc. 5319 5320 PlatformTouchEvent doesn't have a timestamp and so 5321 eventSender.leapForward cannot be used for touchevent based tests. 5322 This change constructs PlatformTouchEvents with timestamps 5323 provided from a WebTouchEvent on chromium. It also adds an enum 5324 to make code referring to specific WebTouchPoints easier to read. 5325 5326 [chromium] [WebCore] [android] Touch events are missing time stamps 5327 https://bugs.webkit.org/show_bug.cgi?id=53510 5328 5329 * public/WebTouchPoint.h: 5330 (WebKit::WebTouchPoint::WebTouchPoint): 5331 * src/WebInputEventConversion.cpp: 5332 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder): 5333 53342011-02-23 Adam Barth <abarth@webkit.org> 5335 5336 Reviewed by James Robinson. 5337 5338 [Chromium] Use WebKitClient for OSRandomSource instead of trying to talk to the file system in the sandbox 5339 https://bugs.webkit.org/show_bug.cgi?id=55093 5340 5341 We need to get OS randomness from the WebKit client rather than try to 5342 get it from /dev/urandom directly because WebKit doesn't have access to 5343 the file system when running inside the Chromium sandbox. 5344 5345 * WebKit.gyp: 5346 * src/ChromiumOSRandomSource.cpp: Added. 5347 53482011-02-23 Adam Barth <abarth@webkit.org> 5349 5350 Reviewed by James Robinson. 5351 5352 Roll Chromium DEPS 5353 https://bugs.webkit.org/show_bug.cgi?id=55096 5354 5355 Rolling to the future, like a truck. 5356 5357 * DEPS: 5358 53592011-02-23 Adam Barth <abarth@webkit.org> 5360 5361 Reviewed by Darin Fisher. 5362 5363 [Chromium] Add WebKitClient::cryptographicallyRandomValues 5364 https://bugs.webkit.org/show_bug.cgi?id=55073 5365 5366 This patch adds a WebKit client API to get cryptographic randomness. 5367 We'll use this API to gather seed randomness while inside the sandbox. 5368 5369 * public/WebKitClient.h: 5370 (WebKit::WebKitClient::cryptographicallyRandomValues): 5371 53722011-02-23 Kenneth Russell <kbr@google.com> 5373 5374 Unreviewed, rolling out r79387. 5375 https://bugs.webkit.org/show_bug.cgi?id=54885 5376 5377 Reapply the code changes from r79038 since they weren't the root 5378 cause of the test timeouts. 5379 5380 * src/WebKit.cpp: 5381 (WebKit::initialize): 5382 53832011-02-23 Takashi Toyoshima <toyoshim@chromium.org> 5384 5385 Reviewed by Shinichiro Hamaji. 5386 5387 [chromium] Control-Up/Down should be PageUp/Down on Mac. 5388 https://bugs.webkit.org/show_bug.cgi?id=54606 5389 5390 * src/WebViewImpl.cpp: 5391 (WebKit::WebViewImpl::scrollViewWithKeyboard): 5392 53932011-02-22 Kenneth Russell <kbr@google.com> 5394 5395 Reviewed by James Robinson. 5396 5397 Many tests started timing out on the chrome mac canaries around r79035 5398 https://bugs.webkit.org/show_bug.cgi?id=54885 5399 5400 Revert the code changes, but not the Chromium DEPS roll, from 5401 r79038 to see whether this clears up the timing-out tests. Was not 5402 able to reproduce the timeouts locally with a Release mode build 5403 of DRT (on Snow Leopard). 5404 5405 * src/WebKit.cpp: 5406 (WebKit::initialize): 5407 54082011-02-21 Nico Weber <thakis@chromium.org> 5409 5410 Reviewed by James Robinson. 5411 5412 [chromium] WebWorkerBase::openFileSystem confuses clang's -Woverloaded-virtual 5413 https://bugs.webkit.org/show_bug.cgi?id=54920 5414 5415 Rename WebWorkerBase::openFileSystem() to openFileSystemForWorker() to 5416 make it obvious it's not an override of 5417 WebFrameClient::openFileSystem(). 5418 5419 Remove a failed attempt to override it in WebWorkerClientImpl (the 5420 override didn't change the behavior). 5421 5422 No intended functionality change. 5423 5424 * src/LocalFileSystemChromium.cpp: 5425 (WebCore::LocalFileSystem::requestFileSystem): 5426 Call new name. 5427 * src/WebWorkerBase.cpp: 5428 (WebKit::WebWorkerBase::openFileSystemForWorker): 5429 Rename openFileSystem() to openFileSystemForWorker(). 5430 * src/WebWorkerBase.h: 5431 Rename openFileSystem() to openFileSystemForWorker(). 5432 * src/WebWorkerClientImpl.h: 5433 (WebKit::WebWorkerClientImpl::allowDatabase): 5434 Remove unsuccessful (and pointless) override. 5435 54362011-02-22 Ilya Tikhonovsky <loislo@chromium.org> 5437 5438 Reviewed by Pavel Feldman. 5439 5440 Web Inspector: flakyness of inspector tests. 5441 https://bugs.webkit.org/show_bug.cgi?id=54729 5442 5443 As far as we have the protocol with sequence numbers we can simplify test harness support 5444 and drop out chomium specific methods. 5445 5446 * src/js/DevTools.js: 5447 54482011-02-21 Pavel Podivilov <podivilov@chromium.org> 5449 5450 Reviewed by Pavel Feldman. 5451 5452 Web Inspector: move source mapping from SourceFrame to ScriptsPanel. 5453 https://bugs.webkit.org/show_bug.cgi?id=54645 5454 5455 * src/js/Tests.js: 5456 (.TestSuite.prototype._checkExecutionLine): 5457 54582011-02-21 Nico Weber <thakis@chromium.org> 5459 5460 Reviewed by James Robinson. 5461 5462 [chromium] PopupContainer::show() confuses clang's -Woverloaded-virtual 5463 https://bugs.webkit.org/show_bug.cgi?id=54923 5464 5465 Rename PopupContainer::show() to showInRect(), to make it obvious it's 5466 not an override of ScrollView::show(). 5467 5468 No intended functionality change. 5469 5470 * src/WebViewImpl.cpp: 5471 (WebKit::WebViewImpl::applyAutoFillSuggestions): 5472 54732011-02-21 Nico Weber <thakis@chromium.org> 5474 5475 Reviewed by Kent Tamura. 5476 5477 [chromium] ChromePluginPrintContext::begin() fails to override superclass method 5478 https://bugs.webkit.org/show_bug.cgi?id=54914 5479 5480 Update subclass method signature to match superclass again. This 5481 regressed in http://trac.webkit.org/changeset/71964 5482 5483 * src/WebFrameImpl.cpp: 5484 (WebKit::ChromePluginPrintContext::begin): 5485 54862011-02-17 Ryosuke Niwa <rniwa@webkit.org> 5487 5488 Reviewed by Kent Tamura. 5489 5490 Rename Position::node() to Position::deprecatedNode() 5491 https://bugs.webkit.org/show_bug.cgi?id=54622 5492 5493 Done the rename. All calls to node() are replaced by calls to deprecatedNode(). 5494 5495 * src/WebViewImpl.cpp: 5496 (WebKit::WebViewImpl::setComposition): Check the nullity of startContainer() instead of startPosition()->node(). 5497 (WebKit::WebViewImpl::confirmComposition): Ditto. 5498 (WebKit::WebViewImpl::textInputType): 5499 (WebKit::WebViewImpl::caretOrSelectionBounds): 5500 55012011-02-19 Brian Ryner <bryner@chromium.org> 5502 5503 Reviewed by Adam Barth. 5504 5505 Add missing #includes of DocumentLoader.h, needed since the transitive 5506 include through Document.h is removed. 5507 https://bugs.webkit.org/show_bug.cgi?id=50489 5508 5509 * src/WebPageSerializerImpl.cpp: 5510 * src/WebSearchableFormData.cpp: 5511 55122011-02-19 Charlie Reis <creis@chromium.org> 5513 5514 Reviewed by Mihai Parparita. 5515 5516 Ensure loading has stopped in HistoryController::goToItem 5517 https://bugs.webkit.org/show_bug.cgi?id=54517 5518 5519 Call Page::goToItem instead of HistoryController::goToItem, so that 5520 FrameLoader::stopAllLoaders is called first. Also adds a callback in 5521 FrameLoaderClient for checking for pseudo-back-forward URLs. 5522 5523 Test: http/tests/navigation/forward-to-fragment-fires-onload.html 5524 5525 * src/FrameLoaderClientImpl.cpp: 5526 (WebKit::FrameLoaderClientImpl::shouldStopLoadingForHistoryItem): Added. 5527 * src/FrameLoaderClientImpl.h: 5528 * src/WebFrameImpl.cpp: 5529 55302011-02-18 Dominic Mazzoni <dmazzoni@google.com> 5531 5532 Reviewed by Dimitri Glazkov. 5533 5534 Marks any actions triggered by performDefaultAction as a user 5535 gesture, so that a user with a screen reader isn't prevented from 5536 performing operations that must be triggered by a user gesture. 5537 https://bugs.webkit.org/show_bug.cgi?id=54759 5538 5539 * src/WebAccessibilityObject.cpp: 5540 (WebKit::WebAccessibilityObject::performDefaultAction): 5541 55422011-02-18 Kenneth Russell <kbr@google.com> 5543 5544 Reviewed by James Robinson. 5545 5546 [chromium] Clean up initialization of minimum timer interval 5547 https://bugs.webkit.org/show_bug.cgi?id=54772 5548 5549 Rolled forward Chromium DEPS to pick up new webkit_support entry 5550 point. Removed setting of default minimum timer interval, as this 5551 is now done every time WebPreferences are applied. 5552 5553 Tested with Chromium DRT port built from WebKit workspace; ran 5554 fast/dom/ layout tests. 5555 5556 * DEPS: 5557 * src/WebKit.cpp: 5558 (WebKit::initialize): 5559 55602011-02-18 Ben Vanik <benvanik@google.com> 5561 5562 Reviewed by Kenneth Russell. 5563 5564 Bug 53940: Implement the OES_vertex_array_object WebGL extension 5565 https://bugs.webkit.org/show_bug.cgi?id=53940 5566 5567 Stubbed out methods for the new OES_vertex_array_object methods. 5568 5569 * src/Extensions3DChromium.cpp: 5570 (WebCore::Extensions3DChromium::createVertexArrayOES): 5571 (WebCore::Extensions3DChromium::deleteVertexArrayOES): 5572 (WebCore::Extensions3DChromium::isVertexArrayOES): 5573 (WebCore::Extensions3DChromium::bindVertexArrayOES): 5574 55752011-02-17 Yuzo Fujishima <yuzo@google.com> 5576 5577 Reviewed by Shinichiro Hamaji. 5578 5579 Retry landing after fixing Chromium side. 5580 Fix for Bug 54632 - [chromium] Printing causes view to scroll 5581 https://bugs.webkit.org/show_bug.cgi?id=54632 5582 5583 Expose setScrollOffset such that Chromium can restore the scroll offset 5584 after printing the document. The bug will be fixed when the counterpart 5585 patch http://codereview.chromium.org/6539011/ is landed for Chromium. 5586 5587 * public/WebFrame.h: 5588 * src/WebFrameImpl.cpp: 5589 (WebKit::WebFrameImpl::setScrollOffset): 5590 * src/WebFrameImpl.h: 5591 55922011-02-17 Andrew Wilson <atwilson@chromium.org> 5593 5594 Unreviewed, rolling out r78936. 5595 http://trac.webkit.org/changeset/78936 5596 https://bugs.webkit.org/show_bug.cgi?id=54632 5597 5598 Breaks chromium build 5599 5600 * public/WebFrame.h: 5601 * src/WebFrameImpl.cpp: 5602 * src/WebFrameImpl.h: 5603 56042011-02-17 Yuzo Fujishima <yuzo@google.com> 5605 5606 Reviewed by Shinichiro Hamaji. 5607 5608 Fix for Bug 54632 - [chromium] Printing causes view to scroll 5609 https://bugs.webkit.org/show_bug.cgi?id=54632 5610 5611 Expose setScrollOffset such that Chromium can restore the scroll offset 5612 after printing the document. The bug will be fixed when the counterpart 5613 patch http://codereview.chromium.org/6539011/ is landed for Chromium. 5614 5615 * public/WebFrame.h: 5616 * src/WebFrameImpl.cpp: 5617 (WebKit::WebFrameImpl::setScrollOffset): 5618 * src/WebFrameImpl.h: 5619 56202011-02-17 W. James MacLean <wjmaclean@chromium.org> 5621 5622 Reviewed by James Robinson. 5623 5624 [chromium] Add command-line flag to enable composite to offscreen texture. 5625 https://bugs.webkit.org/show_bug.cgi?id=52311 5626 5627 Add plumbing to allow command-line switch to enable offscreen compositing. Function 5628 LayerRendererChromium::copyOffscreenTextureToDisplay used for now to mimic 5629 normal renderer operation. 5630 5631 * public/WebSettings.h: 5632 * src/WebSettingsImpl.cpp: 5633 (WebKit::WebSettingsImpl::WebSettingsImpl): 5634 (WebKit::WebSettingsImpl::setCompositeToTextureEnabled): 5635 * src/WebSettingsImpl.h: 5636 (WebKit::WebSettingsImpl::compositeToTextureEnabled): 5637 * src/WebViewImpl.cpp: 5638 (WebKit::WebViewImpl::doComposite): 5639 56402011-02-10 Luiz Agostini <luiz.agostini@openbossa.org> 5641 5642 Reviewed by Adam Roben. 5643 5644 HTML5 <details> and <summary>: localized text 5645 https://bugs.webkit.org/show_bug.cgi?id=54260 5646 5647 The method defaultDetailsSummaryText was added to LocalizedStrings. It is used to provide 5648 the default label to be used by a <details> tag that has no <summary> child. 5649 5650 * src/LocalizedStrings.cpp: 5651 (WebCore::defaultDetailsSummaryText): 5652 56532011-02-17 Steve Lacey <sjl@chromium.org> 5654 5655 Reviewed by Darin Fisher. 5656 5657 Roll chromium deps to 75190. Includes new dependency 5658 on libjingle. 5659 5660 https://bugs.webkit.org/show_bug.cgi?id=54588 5661 5662 * DEPS: 5663 56642011-02-17 Pavel Podivilov <podivilov@chromium.org> 5665 5666 Unreviewed, interactive ui test fix for r78808. 5667 5668 * src/js/Tests.js: 5669 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts): 5670 (.TestSuite.prototype._waitUntilScriptsAreParsed): 5671 56722011-02-16 Brian Ryner <bryner@chromium.org> 5673 5674 Reviewed by Darin Fisher. 5675 5676 Split the socket address field into separate IP address and port fields. 5677 This will make the field less error-prone to parse, for example when 5678 dealing with IPv6 literals. 5679 https://bugs.webkit.org/show_bug.cgi?id=54607 5680 5681 * public/WebURLResponse.h: 5682 * src/WebURLResponse.cpp: 5683 (WebKit::WebURLResponse::remoteIPAddress): 5684 (WebKit::WebURLResponse::setRemoteIPAddress): 5685 (WebKit::WebURLResponse::remotePort): 5686 (WebKit::WebURLResponse::setRemotePort): 5687 56882011-02-16 Dominic Mazzoni <dmazzoni@google.com> 5689 5690 Reviewed by Chris Fleizach. 5691 5692 Add new role for canvas elements. 5693 5694 https://bugs.webkit.org/show_bug.cgi?id=50126 5695 5696 * public/WebAccessibilityRole.h: 5697 * src/AssertMatchingEnums.cpp: 5698 56992011-02-16 Victoria Kirst <vrk@google.com> 5700 5701 Reviewed by Kenneth Russell. 5702 5703 [chromium] Fix green pixels at edge of certain GPU-accelerated videos 5704 https://bugs.webkit.org/show_bug.cgi?id=54559 5705 5706 * src/VideoFrameChromiumImpl.cpp: 5707 (WebKit::VideoFrameChromiumImpl::width): 5708 (WebKit::VideoFrameChromiumImpl::height): 5709 (WebKit::VideoFrameChromiumImpl::requiredTextureSize): 5710 (WebKit::VideoFrameChromiumImpl::hasPaddingBytes): 5711 * src/VideoFrameChromiumImpl.h: 5712 57132011-02-16 Jeremy Orlow <jorlow@chromium.org> 5714 5715 Back out IndexedDB change thats no longer necessary 5716 https://bugs.webkit.org/show_bug.cgi?id=54603 5717 5718 Backing out 78645 as it turns out that it's not necessary. 5719 5720 * public/WebIDBFactory.h: 5721 (WebKit::WebIDBFactory::open): 5722 * src/AssertMatchingEnums.cpp: 5723 * src/IDBFactoryBackendProxy.cpp: 5724 * src/IDBFactoryBackendProxy.h: 5725 * src/WebIDBFactoryImpl.cpp: 5726 (WebKit::WebIDBFactoryImpl::open): 5727 * src/WebIDBFactoryImpl.h: 5728 57292011-02-16 David Grogan <dgrogan@chromium.org> 5730 5731 Reviewed by Jeremy Orlow. 5732 5733 indexeddb: make setVersion fire blocked event if other connections are open 5734 https://bugs.webkit.org/show_bug.cgi?id=53728 5735 5736 * src/IDBCallbacksProxy.cpp: 5737 (WebCore::IDBCallbacksProxy::onBlocked): 5738 * src/IDBCallbacksProxy.h: 5739 * src/WebIDBCallbacksImpl.cpp: 5740 (WebCore::WebIDBCallbacksImpl::onBlocked): 5741 * src/WebIDBCallbacksImpl.h: 5742 5743== Rolled over to ChangeLog-2011-02-16 == 5744