1 2011-02-16 Hans Wennborg <hans (a] chromium.org> 2 3 Reviewed by Jeremy Orlow. 4 5 IndexedDB: Inject auto increment keys via key path on insertion 6 https://bugs.webkit.org/show_bug.cgi?id=54457 7 8 Support for injecting keys into objects via key path. 9 10 * public/WebIDBKey.h: 11 * public/WebKitClient.h: 12 (WebKit::WebKitClient::injectIDBKeyIntoSerializedValue): 13 * src/PlatformBridge.cpp: 14 (WebCore::PlatformBridge::injectIDBKeyIntoSerializedValue): 15 * src/WebIDBKey.cpp: 16 (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue): 17 * tests/IDBBindingUtilitiesTest.cpp: 18 (WebCore::injectKey): 19 (WebCore::checkInjection): 20 (WebCore::checkInjectionFails): 21 (WebCore::TEST): 22 23 2011-02-16 Sheriff Bot <webkit.review.bot (a] gmail.com> 24 25 Unreviewed, rolling out r78678. 26 http://trac.webkit.org/changeset/78678 27 https://bugs.webkit.org/show_bug.cgi?id=54554 28 29 Breaks NaCl tests in Chromium (Requested by mnaganov on 30 #webkit). 31 32 * src/WebURLRequest.cpp: 33 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl): 34 (WebKit::WebURLRequest::downloadToFile): 35 (WebKit::WebURLRequest::setDownloadToFile): 36 * src/WebURLRequestPrivate.h: 37 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate): 38 * src/WebURLResponse.cpp: 39 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl): 40 (WebKit::WebURLResponse::downloadFilePath): 41 (WebKit::WebURLResponse::setDownloadFilePath): 42 * src/WebURLResponsePrivate.h: 43 44 2011-02-15 Bill Budge <bbudge (a] chromium.org> 45 46 Reviewed by David Levin. 47 48 WebURLRequest, WebURLResponse properties should be passed to WebCore Layer 49 https://bugs.webkit.org/show_bug.cgi?id=54489 50 51 No tests needed, exposes no new functionality 52 53 * src/WebURLRequest.cpp: 54 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl): 55 (WebKit::WebURLRequest::downloadToFile): 56 (WebKit::WebURLRequest::setDownloadToFile): 57 * src/WebURLRequestPrivate.h: 58 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate): 59 * src/WebURLResponse.cpp: 60 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl): 61 (WebKit::WebURLResponse::downloadFilePath): 62 (WebKit::WebURLResponse::setDownloadFilePath): 63 * src/WebURLResponsePrivate.h: 64 65 2011-02-14 Jeremy Orlow <jorlow (a] chromium.org> 66 67 Reviewed by Darin Fisher. 68 69 Add initial support for per-origin quotas to IndexedDB 70 https://bugs.webkit.org/show_bug.cgi?id=54421 71 72 * public/WebIDBFactory.h: 73 (WebKit::WebIDBFactory::setQuota): 74 * src/AssertMatchingEnums.cpp: 75 * src/IDBFactoryBackendProxy.cpp: 76 (WebCore::IDBFactoryBackendProxy::setQuota): 77 * src/IDBFactoryBackendProxy.h: 78 * src/WebIDBFactoryImpl.cpp: 79 (WebKit::WebIDBFactoryImpl::setQuota): 80 * src/WebIDBFactoryImpl.h: 81 82 2011-02-15 Jia Pu <jpu (a] apple.com> 83 84 Reviewed by Darin Adler. 85 86 Autocorrection should respect undo. 87 https://bugs.webkit.org/show_bug.cgi?id=52221 88 <rdar://problem/8663399> 89 90 Please see WebCore/ChangeLog for detailed description. 91 92 * WebCoreSupport/WebEditorClient.cpp: 93 (WebFrameImpl::replaceSelection): Adopted new signature of ReplaceSelectionCommand::create(). 94 95 2011-02-15 Kenneth Russell <kbr (a] google.com> 96 97 Reviewed by Darin Fisher. 98 99 Allow controlling minimum DOMTimer interval on a per-page basis 100 https://bugs.webkit.org/show_bug.cgi?id=54312 101 102 * public/WebSettings.h: 103 - Added setMinimumTimerInterval. 104 * src/WebKit.cpp: 105 (WebKit::initialize): 106 - Added FIXME to remove setting of page's default timer interval. 107 * src/WebSettingsImpl.cpp: 108 (WebKit::WebSettingsImpl::setMinimumTimerInterval): 109 - Implemented new method on WebSettings. 110 * src/WebSettingsImpl.h: 111 112 2011-02-15 Jochen Eisinger <jochen (a] chromium.org> 113 114 Reviewed by Jeremy Orlow. 115 116 [chromium] add WebIDBFactory::deleteDatabase method 117 https://bugs.webkit.org/show_bug.cgi?id=54447 118 119 * public/WebIDBFactory.h: 120 (WebKit::WebIDBFactory::open): 121 (WebKit::WebIDBFactory::deleteDatabase): 122 123 2011-02-15 Tony Chang <tony (a] chromium.org> 124 125 Unreviewed, update the version of Chromium in webkit. 126 127 * DEPS: 128 129 2011-01-26 MORITA Hajime <morrita (a] google.com> 130 131 Reviewed by Ryosuke Niwa. 132 133 Refactoring: Extract TextCheckerClient from EditorClient 134 https://bugs.webkit.org/show_bug.cgi?id=53213 135 136 * src/EditorClientImpl.h: 137 (WebKit::EditorClientImpl::textChecker): 138 139 2011-02-07 Ryosuke Niwa <rniwa (a] webkit.org> 140 141 Reviewed by Adam Barth. 142 143 Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard 144 https://bugs.webkit.org/show_bug.cgi?id=52417 145 146 Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently 147 not implemented. 148 149 * src/EditorClientImpl.cpp: 150 (WebKit::EditorClientImpl::canCopyCut): Added. 151 (WebKit::EditorClientImpl::canPaste): Added. 152 * src/EditorClientImpl.h: 153 154 2011-02-14 Jay Soffian <jaysoffian (a] gmail.com> 155 156 Reviewed by Darin Fisher. 157 158 Expose checked field of HTMLInputElement to Chromium API 159 https://bugs.webkit.org/show_bug.cgi?id=54333 160 161 * public/WebInputElement.h: 162 * src/WebInputElement.cpp: 163 164 2011-02-14 Tony Chang <tony (a] chromium.org> 165 166 Reviewed by Dimitri Glazkov. 167 168 <select> elements don't honor border:0px in chromium-linux 169 https://bugs.webkit.org/show_bug.cgi?id=51152 170 171 * public/linux/WebThemeEngine.h: 172 * src/PlatformBridge.cpp: 173 (WebCore::GetWebThemeExtraParams): 174 175 2011-02-14 Pavel Podivilov <podivilov (a] chromium.org> 176 177 Reviewed by Yury Semikhatsky. 178 179 Web Inspector: use call frame column to determine execution line in source frame. 180 https://bugs.webkit.org/show_bug.cgi?id=54001 181 182 * src/js/Tests.js: 183 (.TestSuite.prototype._checkExecutionLine): 184 185 2011-02-11 Zhenyao Mo <zmo (a] google.com> 186 187 Reviewed by Kenneth Russell. 188 189 [chromium] Allow turning off multisampling through web preference settings 190 https://bugs.webkit.org/show_bug.cgi?id=54321 191 192 * public/WebSettings.h: Add a flag for multisampling setting. 193 * src/WebSettingsImpl.cpp: Ditto. 194 (WebKit::WebSettingsImpl::setOpenGLMultisamplingEnabled): 195 * src/WebSettingsImpl.h: Ditto. 196 197 2011-02-12 Jochen Eisinger <jochen (a] chromium.org> 198 199 Reviewed by Jeremy Orlow. 200 201 Implement IDBObjectStore::clear 202 https://bugs.webkit.org/show_bug.cgi?id=54193 203 204 * src/IDBObjectStoreProxy.cpp: 205 (WebCore::IDBObjectStoreProxy::clear): 206 * src/IDBObjectStoreProxy.h: 207 * src/WebIDBObjectStoreImpl.cpp: 208 (WebKit::WebIDBObjectStoreImpl::clear): 209 * src/WebIDBObjectStoreImpl.h: 210 211 2011-02-11 David Grogan <dgrogan (a] chromium.org> 212 213 Reviewed by Jeremy Orlow. 214 215 indexeddb: add onBlocked to WebKit::WebIDBCallbacks 216 https://bugs.webkit.org/show_bug.cgi?id=54329 217 218 * public/WebIDBCallbacks.h: 219 (WebKit::WebIDBCallbacks::onBlocked): 220 221 2011-02-11 Adam Klein <adamk (a] chromium.org> 222 223 Reviewed by Darin Fisher. 224 225 [fileapi] Add support for filesystem: URI handling 226 https://bugs.webkit.org/show_bug.cgi?id=53529 227 228 Changes to Chromium WebKit API required to expose 229 the FileSystem type to WebCore's fileapi code, since the 230 type is part of the filesystem URI. 231 232 * src/AsyncFileSystemChromium.cpp: 233 (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium): 234 * src/AsyncFileSystemChromium.h: 235 (WebCore::AsyncFileSystemChromium::create): 236 * src/LocalFileSystemChromium.cpp: 237 (WebCore::LocalFileSystem::readFileSystem): 238 (WebCore::LocalFileSystem::requestFileSystem): 239 * src/WebFileSystemCallbacksImpl.cpp: 240 (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): 241 (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): 242 * src/WebFileSystemCallbacksImpl.h: 243 * src/WorkerAsyncFileSystemChromium.cpp: 244 (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium): 245 * src/WorkerAsyncFileSystemChromium.h: 246 (WebCore::WorkerAsyncFileSystemChromium::create): 247 248 2011-02-10 Nate Chapin <japhet (a] chromium.org> 249 250 Reviewed by Adam Barth. 251 252 Update calls to DocumentWriter. 253 https://bugs.webkit.org/show_bug.cgi?id=50489 254 255 * src/ContextMenuClientImpl.cpp: 256 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 257 * src/FrameLoaderClientImpl.cpp: 258 (WebKit::FrameLoaderClientImpl::finishedLoading): 259 * src/WebFrameImpl.cpp: 260 (WebKit::WebFrameImpl::encoding): 261 (WebKit::WebFrameImpl::loadJavaScriptURL): 262 * src/WebPageSerializerImpl.cpp: 263 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): 264 (WebKit::WebPageSerializerImpl::serialize): 265 * src/WebSearchableFormData.cpp: 266 (HTMLNames::GetFormEncoding): 267 * src/WebViewImpl.cpp: 268 (WebKit::WebViewImpl::pageEncoding): 269 270 2011-02-10 Pavel Feldman <pfeldman (a] chromium.org> 271 272 Not reviewed: chromium build fix. 273 274 * src/WebDevToolsAgentImpl.cpp: 275 (WebKit::WebDevToolsAgent::shouldInterruptForMessage): 276 277 2011-02-10 Jochen Eisinger <jochen (a] chromium.org> 278 279 Reviewed by Jeremy Orlow. 280 281 [chromium] add WebIDBObjectStore::clear method 282 283 https://bugs.webkit.org/show_bug.cgi?id=54149 284 285 * public/WebIDBObjectStore.h: 286 (WebKit::WebIDBObjectStore::put): 287 (WebKit::WebIDBObjectStore::deleteFunction): 288 (WebKit::WebIDBObjectStore::clear): 289 290 2011-02-10 Avi Drissman <avi (a] google.com> 291 292 Reviewed by Darin Fisher. 293 294 <option> should implement the dir attribute. Mac Chromium version, followup to r76983, r77654. 295 https://bugs.webkit.org/show_bug.cgi?id=50969 296 297 Use manual test Source/WebCore/manual-tests/pop-up-alignment-and-direction.html added in r76983. 298 299 * public/WebMenuItemInfo.h: 300 * public/WebPopupMenuInfo.h: 301 * src/ChromeClientImpl.cpp: 302 (WebKit::ChromeClientImpl::getPopupMenuInfo): 303 * src/ExternalPopupMenu.cpp: 304 (WebKit::ExternalPopupMenu::getPopupMenuInfo): 305 306 2011-02-09 David Holloway <dhollowa (a] chromium.org> 307 308 Reviewed by Darin Fisher. 309 310 Removes deprecated interface WebAutoFillClient::didAcceptAutocompleteSuggestion(). This interface has been replaced by the more general WebAutoFillClient::didAcceptAutoFillSuggestion() method. 311 https://bugs.webkit.org/show_bug.cgi?id=54125 312 313 * public/WebAutoFillClient.h: 314 * src/EditorClientImpl.cpp: 315 * src/EditorClientImpl.h: 316 317 2011-02-09 Ilya Sherman <isherman (a] chromium.org> 318 319 Reviewed by Darin Fisher. 320 321 Export WebInputElement::defaultMaxLength as a function rather than a constant. 322 Needed because the order of initialization of static constants 323 is not guaranteed across compilation units. 324 https://bugs.webkit.org/show_bug.cgi?id=54056 325 326 * public/WebInputElement.h: 327 * src/WebInputElement.cpp: 328 (WebKit::WebInputElement::defaultMaxLength): Now a static function. 329 330 2011-02-09 Sailesh Agrawal <sail (a] chromium.org> 331 332 Reviewed by Tony Chang. 333 334 Search/replace references to gfx/* with ui/gfx/* 335 336 * public/WebPoint.h: 337 * public/WebRect.h: 338 * public/WebSize.h: 339 340 2011-02-09 Nebojsa Ciric <cira (a] chromium.org> 341 342 Reviewed by Darin Fisher. 343 344 Implements Locale object of JavaScript internationalization API proposal, as an 345 v8 extension. Extension code is hosted in v8 project (src/extensions/experimental/i18n-extension.{cc,h}) 346 and in this patch we just provide flags, tests and build rules for chromium port. 347 https://bugs.webkit.org/show_bug.cgi?id=49414 348 349 * features.gypi: 350 * public/WebRuntimeFeatures.h: 351 * src/WebRuntimeFeatures.cpp: 352 (WebKit::WebRuntimeFeatures::enableExperimentalI18NAPI): 353 (WebKit::WebRuntimeFeatures::isExperimentalI18NAPIEnabled): 354 355 2011-02-09 MORITA Hajime <morrita (a] google.com> 356 357 Reviewed by Shinichiro Hamaji. 358 359 [Chromium] WebTextCheckingResult should have a default constructor. 360 https://bugs.webkit.org/show_bug.cgi?id=54075 361 362 Gave default parameters to WebTextCheckingResult constructor. 363 364 * public/WebTextCheckingResult.h: 365 (WebKit::WebTextCheckingResult::WebTextCheckingResult): 366 367 2011-02-08 Sailesh Agrawal <sail (a] chromium.org> 368 369 Reviewed by Kenneth Russell. 370 371 Invalidate rect doesn't work for windowless plugins on Chromium 372 https://bugs.webkit.org/show_bug.cgi?id=53117 373 374 Invalidate rect for windowless plugins wasn't working if the web page was composited. 375 376 The problem was that the invalidate call was causing simply dirtying the LayerChromium layers. Since the plugin was windowless this didn't cause the plugin to be repainted. 377 378 Fix was to copy the invalidate code from WebCore/plugins/PluginView.cpp/PluginView::invalidateWindowlessPluginRect() which does the correct thing. 379 380 Tested my fix on Windows and Mac and verified that the movie on http://apple.com/appltv correctly plays. Verified that windowed plugins still correctly draw as well. 381 382 * src/WebPluginContainerImpl.cpp: 383 (WebKit::WebPluginContainerImpl::invalidateRect): 384 385 2011-02-08 Adam Barth <abarth (a] webkit.org> 386 387 Reviewed by Eric Seidel. 388 389 Remove orphan code from old parser 390 https://bugs.webkit.org/show_bug.cgi?id=53984 391 392 * src/ChromeClientImpl.h: 393 394 2011-02-08 Tony Chang <tony (a] chromium.org> 395 396 Unreviewed, build fix for clobber builds of DRT on mac/linux. 397 398 This file moved in chromium r73530 and this path wasn't changed. 399 400 * WebKit.gyp: 401 402 2011-02-02 Ilya Tikhonovsky <loislo (a] chromium.org> 403 404 Reviewed by Yury Semikhatsky. 405 406 Web Inspector: move InspectorController's methods from InspectorAgent to InspectorController. 407 408 https://bugs.webkit.org/show_bug.cgi?id=53169 409 410 Minor change enforced by major changes in WebCore/inspector/InspectorController. 411 412 * src/WebDevToolsAgentImpl.cpp: 413 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorBackend): 414 * src/WebViewImpl.h: 415 416 2011-02-07 Alexey Marinichev <amarinichev (a] chromium.org> 417 418 Reviewed by Kenneth Russell. 419 420 Hook up WebGraphicsContext3D::setContextLostCallback. 421 https://bugs.webkit.org/show_bug.cgi?id=53722 422 423 Test: fast/canvas/webgl/context-lost.html, comment out the line with 424 extension.loseContext() and kill the GPU process "Lose context" 425 message shows up. 426 427 * public/WebGraphicsContext3D.h: 428 (WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback::~WebGraphicsContextLostCallback): 429 * src/GraphicsContext3DChromium.cpp: 430 (WebCore::GraphicsContextLostCallbackAdapter::~GraphicsContextLostCallbackAdapter): 431 (WebCore::GraphicsContextLostCallbackAdapter::GraphicsContextLostCallbackAdapter): 432 (WebCore::GraphicsContextLostCallbackAdapter::onContextLost): 433 (WebCore::GraphicsContextLostCallbackAdapter::create): 434 (WebCore::GraphicsContext3DInternal::setContextLostCallback): 435 * src/GraphicsContext3DInternal.h: 436 437 2011-02-07 Adam Klein <adamk (a] chromium.org> 438 439 Reviewed by Jian Li. 440 441 [chromium] Remove deprecated method WebNotification::dir 442 https://bugs.webkit.org/show_bug.cgi?id=53735 443 444 * public/WebNotification.h: 445 * src/WebNotification.cpp: 446 447 2011-02-03 MORITA Hajime <morrita (a] google.com> 448 449 Reviewed by Darin Fisher. 450 451 [Chromium] Should implement EditorClientImpl::requestCheckingOfString() 452 https://bugs.webkit.org/show_bug.cgi?id=51013 453 454 - Added WebTextCheckingCompletion to receive the checked result asynchronously. 455 - Added WebViewClient::requestCheckingOfText() and related classes. 456 - Implemented EditorClientImpl::requestCheckingOfString(). 457 458 * WebKit.gyp: 459 * public/WebSettings.h: 460 * public/WebTextCheckingCompletion.h: Added. 461 (WebKit::WebTextCheckingCompletion::~WebTextCheckingCompletion): 462 * public/WebTextCheckingResult.h: Added. 463 (WebKit::WebTextCheckingResult::error): 464 (WebKit::WebTextCheckingResult::position): 465 (WebKit::WebTextCheckingResult::length): 466 (WebKit::WebTextCheckingResult::WebTextCheckingResult): 467 * public/WebViewClient.h: 468 (WebKit::WebViewClient::requestCheckingOfText): Gave an implementation 469 * src/AssertMatchingEnums.cpp: 470 * src/EditorClientImpl.cpp: 471 (WebKit::EditorClientImpl::requestCheckingOfString): 472 * src/EditorClientImpl.h: 473 * src/WebSettingsImpl.cpp: 474 (WebKit::WebSettingsImpl::setAsynchronousSpellCheckingEnabled): 475 * src/WebSettingsImpl.h: 476 * src/WebTextCheckingCompletionImpl.cpp: Added. 477 (WebKit::toCoreResults): 478 (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText): 479 * src/WebTextCheckingCompletionImpl.h: Added. 480 (WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl): 481 482 2011-02-07 Enrica Casucci <enrica (a] apple.com> 483 484 Reviewed Adam Roben and Darin Adler. 485 486 WebKit2: drag and drop support on Windows. 487 https://bugs.webkit.org/show_bug.cgi?id=52775 488 489 Removed createDragImageForLink from DragClient. 490 491 * src/DragClientImpl.cpp: 492 * src/DragClientImpl.h: 493 494 2011-02-04 Charlie Reis <creis (a] chromium.org> 495 496 Reviewed by Mihai Parparita. 497 498 Crash in WebCore::HistoryController::itemsAreClones 499 https://bugs.webkit.org/show_bug.cgi?id=52819 500 501 Removes unneeded sanity checks used for diagnosing a memory error. 502 503 * src/WebFrameImpl.cpp: 504 505 2011-02-04 Daniel Cheng <dcheng (a] chromium.org> 506 507 Reviewed by Dmitry Titov. 508 509 Clone WebClipboard to be frame-specific. 510 https://bugs.webkit.org/show_bug.cgi?id=53727 511 512 For drop operations, Chrome currently snapshots the data and copies it 513 into the renderer process. As we add more supported drag data types, the 514 copy will become increasingly expensive. Instead, we'd like to snapshot 515 data in the browser to reduce the amount of data copied and to support 516 Blob in DataTransferItem. In order to allow this, we associated 517 WebClipboard with a frame so it can correctly route its IPCs to the 518 corresponding Chromium host. 519 520 * public/WebFrameClient.h: 521 (WebKit::WebFrameClient::clipboard): 522 * src/PlatformBridge.cpp: 523 (WebCore::getClipboard): 524 (WebCore::PlatformBridge::clipboardReadAvailableTypes): 525 (WebCore::PlatformBridge::clipboardReadData): 526 (WebCore::PlatformBridge::clipboardReadFilenames): 527 * src/WebFrameImpl.cpp: 528 (WebKit::WebFrameImpl::fromFrame): 529 * src/WebFrameImpl.h: 530 * src/WebViewImpl.cpp: 531 (WebKit::WebViewImpl::dragTargetDragEnterNew): 532 533 2011-02-04 Robert Hogan <robert (a] webkit.org> 534 535 Reviewed by Darin Fisher. 536 537 Move chromium iframe shim code to cross-platform file 538 https://bugs.webkit.org/show_bug.cgi?id=52594 539 540 * src/WebPluginContainerImpl.cpp: Move code to WebCore/plugin/IFrameShimSupport.cpp 541 542 2011-02-04 Xiaomei Ji <xji (a] chromium.org> 543 544 Reviewed by David Levin. 545 546 Implement "<option> should implement the dir attribute" for chromium port after r76983. 547 https://bugs.webkit.org/show_bug.cgi?id=50969 548 549 * src/ChromeClientImpl.cpp: 550 (WebKit::ChromeClientImpl::selectItemAlignmentFollowsMenuWritingDirection): Override as true. 551 * src/WebViewImpl.cpp: Remove directionality hint from autofill drop-down setting. 552 553 2011-02-01 Jeremy Orlow <jorlow (a] chromium.org> 554 555 Reviewed by Nate Chapin. 556 557 Remove the timeout event from IndexedDB 558 https://bugs.webkit.org/show_bug.cgi?id=53521 559 560 * public/WebIDBDatabase.h: 561 (WebKit::WebIDBDatabase::transaction): 562 * public/WebIDBTransactionCallbacks.h: 563 * src/IDBDatabaseProxy.cpp: 564 (WebCore::IDBDatabaseProxy::transaction): 565 * src/IDBDatabaseProxy.h: 566 * src/IDBTransactionCallbacksProxy.cpp: 567 * src/IDBTransactionCallbacksProxy.h: 568 * src/WebIDBDatabaseImpl.cpp: 569 (WebKit::WebIDBDatabaseImpl::transaction): 570 * src/WebIDBDatabaseImpl.h: 571 * src/WebIDBTransactionCallbacksImpl.cpp: 572 * src/WebIDBTransactionCallbacksImpl.h: 573 574 2011-02-04 Ilya Tikhonovsky <loislo (a] chromium.org> 575 576 Unreviewed. 577 578 Roll chromium to 73764. 579 580 * DEPS: 581 582 2011-02-03 James Kozianski <koz (a] chromium.org> 583 584 Reviewed by Dimitri Glazkov. 585 586 Add navigator.registerProtocolHandler behind a flag. 587 https://bugs.webkit.org/show_bug.cgi?id=52609 588 589 * features.gypi: 590 * public/WebViewClient.h: 591 * src/ChromeClientImpl.cpp: 592 (WebKit::ChromeClientImpl::registerProtocolHandler): 593 * src/ChromeClientImpl.h: 594 595 2011-02-03 Brian Ryner <bryner (a] chromium.org> 596 597 Reviewed by Darin Fisher. 598 599 Add a field to the ResourceResponse for tracking the socket address 600 of the host that the resource was fetched from. Patch was originally 601 by Paul Marks. 602 https://bugs.webkit.org/show_bug.cgi?id=53699 603 604 * public/WebURLResponse.h: 605 * src/WebURLResponse.cpp: 606 (WebKit::WebURLResponse::socketAddress): 607 (WebKit::WebURLResponse::setSocketAddress): 608 609 2011-02-03 Adam Langley <agl (a] chromium.org> 610 611 Reviewed by Adam Barth. 612 613 Plumb mixed script URL to FrameLoaderClient 614 https://bugs.webkit.org/show_bug.cgi?id=52384 615 616 Regressions covered by http/tests/security/mixedContent/* 617 618 * public/WebFrameClient.h: 619 (WebKit::WebFrameClient::didRunInsecureContent): 620 * src/FrameLoaderClientImpl.cpp: 621 (WebKit::FrameLoaderClientImpl::didRunInsecureContent): 622 * src/FrameLoaderClientImpl.h: 623 624 2011-02-03 Victoria Kirst <vrk (a] google.com> 625 626 Reviewed by James Robinson. 627 628 [chromium] Fix redundant video frame paint on CSS LayerChromium for <video> 629 https://bugs.webkit.org/show_bug.cgi?id=52868 630 631 * src/WebMediaPlayerClientImpl.cpp: 632 (WebKit::WebMediaPlayerClientImpl::paint): 633 (WebKit::WebMediaPlayerClientImpl::paintCurrentFrameInContext): 634 (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse): 635 * src/WebMediaPlayerClientImpl.h: 636 637 2011-02-03 Jeremy Orlow <jorlow (a] chromium.org> 638 639 Reviewed by Nate Chapin. 640 641 Don't clear the callbacks ref in the proxy layer for IndexedDB 642 https://bugs.webkit.org/show_bug.cgi?id=53535 643 644 Clearing the callbacks doesn't actually solve any problems and makes 645 this code behave subtly differently than how it would in Safari and 646 other single process environments. Let's remove the difference. 647 648 * src/IDBCallbacksProxy.cpp: 649 (WebCore::IDBCallbacksProxy::onError): 650 (WebCore::IDBCallbacksProxy::onSuccess): 651 * src/IDBTransactionCallbacksProxy.cpp: 652 (WebCore::IDBTransactionCallbacksProxy::onAbort): 653 (WebCore::IDBTransactionCallbacksProxy::onComplete): 654 (WebCore::IDBTransactionCallbacksProxy::onTimeout): 655 656 2011-02-03 Hans Wennborg <hans (a] chromium.org> 657 658 Reviewed by Jeremy Orlow. 659 660 Chromium: Remove deprecated WebIDBObjectStore::put() function 661 https://bugs.webkit.org/show_bug.cgi?id=53669 662 663 Remove deprecated put() function. Chromium side code now overrides 664 the new version. 665 666 * public/WebIDBObjectStore.h: 667 (WebKit::WebIDBObjectStore::put): 668 669 2011-02-01 Pavel Podivilov <podivilov (a] chromium.org> 670 671 Reviewed by Pavel Feldman. 672 673 Web Inspector: introduce new api for managing JavaScript breakpoints. 674 https://bugs.webkit.org/show_bug.cgi?id=53235 675 676 * src/WebDevToolsAgentImpl.cpp: 677 (WebKit::WebDevToolsAgent::shouldInterruptForMessage): 678 679 2011-02-02 Evan Martin <evan (a] chromium.org> 680 681 Unreviewed, DEPS change. 682 683 * DEPS: update to pick up newer Skia. 684 685 2011-02-02 Dimitri Glazkov <dglazkov (a] chromium.org> 686 687 Update more references to right() and bottom() in Chromium. 688 689 * src/WebViewImpl.cpp: 690 (WebKit::WebViewImpl::doPixelReadbackToCanvas): Replaced bottom/right with maxY/maxX. 691 692 2011-02-02 Dimitri Glazkov <dglazkov (a] chromium.org> 693 694 Update more references to right() and bottom() in Chromium Win. 695 696 * tests/TransparencyWinTest.cpp: 697 (WebCore::TEST): Replaced bottom/right with maxY/maxX. 698 699 2011-02-02 Matthew Vosburgh <maf (a] chromium.org> 700 701 Reviewed by Kenneth Russell. 702 703 Some favicons not correctly decoded by Chromium/Mac 704 https://bugs.webkit.org/show_bug.cgi?id=53448 705 706 * src/WebImageCG.cpp: 707 (WebKit::WebImage::fromData): 708 709 2011-02-02 Dimitri Glazkov <dglazkov (a] chromium.org> 710 711 Reviewed by Dave Hyatt. 712 713 Remove remaining references to right() and bottom() from Chromium build. 714 https://bugs.webkit.org/show_bug.cgi?id=53613 715 716 * src/DragScrollTimer.cpp: 717 (WebKit::distanceToRect): Replaced right/bottom with maxX/maxY. 718 * src/WebViewImpl.cpp: 719 (WebKit::WebViewImpl::doPixelReadbackToCanvas): Ditto. 720 721 2011-02-01 Darin Fisher <darin (a] chromium.org> 722 723 Reviewed by Kenneth Russell. 724 725 [chromium] Avoid #ifdefs in code that constructs a GraphicsContext by 726 adding a helper class. 727 https://bugs.webkit.org/show_bug.cgi?id=53575 728 729 * WebKit.gyp: 730 * src/WebFontImpl.cpp: 731 (WebKit::WebFontImpl::drawText): 732 * src/WebFrameImpl.cpp: 733 (WebKit::WebFrameImpl::printPage): 734 (WebKit::WebFrameImpl::paint): 735 * src/WebPopupMenuImpl.cpp: 736 (WebKit::WebPopupMenuImpl::paint): 737 * src/WebScrollbarImpl.cpp: 738 (WebKit::WebScrollbarImpl::paint): 739 * src/painting: Added. 740 * src/painting/GraphicsContextBuilder.h: Added. 741 (WebKit::GraphicsContextBuilder::GraphicsContextBuilder): 742 (WebKit::GraphicsContextBuilder::context): 743 744 2011-02-02 Hans Wennborg <hans (a] chromium.org> 745 746 Reviewed by Jeremy Orlow. 747 748 IndexedDB: Implement support for cursor updates 749 https://bugs.webkit.org/show_bug.cgi?id=53421 750 751 Mirror the update to the IDBObjectStoreInterface::put() signature in 752 the WebKit layer wrappers. 753 754 * public/WebIDBObjectStore.h: 755 (WebKit::WebIDBObjectStore::put): 756 * src/IDBObjectStoreProxy.cpp: 757 (WebCore::IDBObjectStoreProxy::put): 758 * src/IDBObjectStoreProxy.h: 759 * src/WebIDBObjectStoreImpl.cpp: 760 (WebKit::WebIDBObjectStoreImpl::put): 761 * src/WebIDBObjectStoreImpl.h: 762 763 2011-02-02 Chris Evans <cevans (a] chromium.org> 764 765 Reviewed by Adam Barth. 766 767 [Chromium] Propagate the accurate gesture status when calling into FrameLoader 768 https://bugs.webkit.org/show_bug.cgi?id=53571 769 770 * src/WebPluginContainerImpl.cpp: 771 (WebKit::WebPluginContainerImpl::loadFrameRequest): FrameLoader might decide the target is a new window, so make such the UserGestureIndicator is fully accurate before calling into it. 772 773 2011-02-01 Kent Tamura <tkent (a] chromium.org> 774 775 Reviewed by Tony Chang. 776 777 [Chromium] Roll Chromium revision for the WebKitWeightWatcher change 778 https://bugs.webkit.org/show_bug.cgi?id=53563 779 780 * DEPS: Roll to crrev.com/73378 to have the WebKitWeightWatcher change of webkit_support. 781 782 2011-02-01 Darin Fisher <darin (a] chromium.org> 783 784 Reviewed by David Levin. 785 786 [chromium] Remove unnecessary WebCore:: prefixing in a few places and fix-up some indentation. 787 https://bugs.webkit.org/show_bug.cgi?id=53523 788 789 * src/WebDevToolsAgentImpl.cpp: 790 (WebKit::WebDevToolsAgentImpl::attach): 791 (WebKit::WebDevToolsAgentImpl::inspectNode): 792 (WebKit::WebDevToolsAgentImpl::inspectorController): 793 (WebKit::WebDevToolsAgentImpl::mainFrame): 794 (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest): 795 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend): 796 (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie): 797 (WebKit::WebDevToolsAgent::interruptAndDispatch): 798 (WebKit::WebDevToolsAgent::processPendingMessages): 799 * src/WebPopupMenuImpl.cpp: 800 (WebKit::WebPopupMenuImpl::resize): 801 * src/WebScrollbarImpl.cpp: 802 (WebKit::WebScrollbarImpl::setLocation): 803 (WebKit::WebScrollbarImpl::setValue): 804 (WebKit::WebScrollbarImpl::onMouseWheel): 805 (WebKit::WebScrollbarImpl::onKeyDown): 806 (WebKit::WebScrollbarImpl::scrollPosition): 807 (WebKit::WebScrollbarImpl::setScrollOffset): 808 (WebKit::WebScrollbarImpl::invalidateScrollbarRect): 809 (WebKit::WebScrollbarImpl::getTickmarks): 810 811 2011-02-01 Mihai Parparita <mihaip (a] chromium.org> 812 813 Unreviewed roll of Chromium deps to r73306. This picks up a fix to get 814 the WebKit root dir correctly after the move to Source/. This allows 815 tests like http/tests/security/frame-loading-via-document-write.html 816 (which use LayoutTestController.pathToLocalResource) to pass with the 817 Chromium DRT. 818 819 * DEPS: 820 821 2011-02-01 Alexander Pavlov <apavlov (a] chromium.org> 822 823 Reviewed by Yury Semikhatsky. 824 825 Web Inspector: [Chromium] Wrongly labelled context-menu item for links in Web Inspector's side-pane 826 https://bugs.webkit.org/show_bug.cgi?id=53482 827 828 * src/js/DevTools.js: 829 (WebInspector.openLinkExternallyLabel): Override to customize a context menu item label 830 831 2011-02-01 Darin Fisher <darin (a] chromium.org> 832 833 Reviewed by Eric Seidel. 834 835 Fix some Visual Studio compiler warnings. 836 https://bugs.webkit.org/show_bug.cgi?id=53476 837 838 * src/GraphicsContext3DChromium.cpp: 839 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 840 * src/WebFrameImpl.cpp: 841 (WebKit::WebFrameImpl::forms): 842 * src/WebMediaPlayerClientImpl.cpp: 843 (WebKit::WebMediaPlayerClientImpl::repaint): 844 * src/WebScrollbarImpl.cpp: 845 (WebKit::WebScrollbarImpl::setValue): 846 * src/WebViewImpl.cpp: 847 (WebKit::WebViewImpl::doPixelReadbackToCanvas): 848 (WebKit::WebViewImpl::setZoomLevel): 849 (WebKit::WebViewImplScrollbarPaintInterface::paint): 850 851 2011-02-01 Hans Wennborg <hans (a] chromium.org> 852 853 Reviewed by Jeremy Orlow. 854 855 Chromium: remove WebIDBCallbacks::onSucces() 856 https://bugs.webkit.org/show_bug.cgi?id=53415 857 858 Remove un-used function. 859 860 * public/WebIDBCallbacks.h: 861 862 2011-02-01 Yury Semikhatsky <yurys (a] chromium.org> 863 864 Unreviewed. Fix Chromium Debug compilation broken by r77228. 865 866 [Chromium] Autofill should work with HTML5 form elements 867 https://bugs.webkit.org/show_bug.cgi?id=51809 868 869 * src/WebInputElement.cpp: 870 (WebKit::toWebInputElement): 871 872 2011-02-01 Naoki Takano <takano.naoki (a] gmail.com> 873 874 Reviewed by Darin Fisher. 875 876 [Chromium] Autofill should work with HTML5 form elements 877 https://bugs.webkit.org/show_bug.cgi?id=51809 878 http://crbug.com/65654 879 880 No new tests, because this fix is for Chromium project and hard to test only in WebKit project. 881 882 * public/WebInputElement.h: Added toWebInputElement() declarations and implemented const version of toWebInputElement(). 883 * src/WebInputElement.cpp: 884 (WebKit::WebInputElement::toWebInputElement): Implemented a convert function to cast no-const WebElement* to no-const WebInputElement*. Because Chrome needs safe cast for autofill completion. 885 886 2011-01-31 Chris Rogers <crogers (a] google.com> 887 888 Reviewed by Jeremy Orlow. 889 890 Improve audio latency on Mac OS X for chromium port 891 https://bugs.webkit.org/show_bug.cgi?id=53452 892 893 * src/AudioDestinationChromium.cpp: 894 895 2011-01-29 Patrick Gansterer <paroga (a] webkit.org> 896 897 Reviewed by David Kilzer. 898 899 Move CharacterNames.h into WTF directory 900 https://bugs.webkit.org/show_bug.cgi?id=49618 901 902 * src/ChromeClientImpl.cpp: 903 904 2011-01-28 Ryosuke Niwa <rniwa (a] webkit.org> 905 906 Unreviewed; roll WebKit Chromium revision from 72894 to 73048. 907 908 * DEPS: 909 910 2011-01-28 Dan Bernstein <mitz (a] apple.com> 911 912 Reviewed by Sam Weinig. 913 914 <select> can't display right-to-left (rtl) languages 915 https://bugs.webkit.org/show_bug.cgi?id=19785 916 917 * src/AutoFillPopupMenuClient.cpp: 918 (WebKit::AutoFillPopupMenuClient::initialize): Pass hasTextDirectionOverride to the PopupMenuStyle 919 constructor. 920 * src/ChromeClientImpl.cpp: 921 (WebKit::ChromeClientImpl::selectItemAlignmentFollowsMenuWritingDirection): Added. 922 * src/ChromeClientImpl.h: 923 * tests/PopupMenuTest.cpp: 924 (WebKit::TestPopupMenuClient::itemStyle): Pass hasTextDirectionOverride to the PopupMenuStyle 925 constructor. 926 927 2011-01-28 Adam Klein <adamk (a] chromium.org> 928 929 Reviewed by Kent Tamura. 930 931 [Chromium] Remove deprecated openFileSystem method signature 932 https://bugs.webkit.org/show_bug.cgi?id=53262 933 934 Chromium still builds after this patch. 935 936 * public/WebFrameClient.h: 937 938 2011-01-28 Ilya Sherman <isherman (a] chromium.org> 939 940 Reviewed by Andreas Kling. 941 942 Const-correct HTMLSelectElement and WebSelectElement 943 https://bugs.webkit.org/show_bug.cgi?id=53293 944 945 * public/WebSelectElement.h: 946 * src/WebSelectElement.cpp: 947 (WebKit::WebSelectElement::value): const. 948 (WebKit::WebSelectElement::listItems): const. 949 950 2011-01-27 Finnur Thorarinsson <finnur.webkit (a] gmail.com> 951 952 Reviewed by Ojan Vafai. 953 954 This addresses a regression introduced by r75784, as described in: 955 https://bugs.webkit.org/show_bug.cgi?id=53176 956 957 The problem is that originalEndContainer and originalEndOffset was 958 meant to capture the end of the document, but was being assigned after 959 a call to searchRange->setStart() (when scoping is restarted), which can 960 result in the Range being collapsed to start (thereby assigning the 961 wrong value to the Container/Offset pair). 962 963 This code is never triggered by layout tests, but I'm adding a regressiono 964 test on the Chromium side for this. 965 966 * src/WebFrameImpl.cpp: 967 (WebKit::WebFrameImpl::scopeStringMatches): 968 969 2011-01-27 Zhenyao Mo <zmo (a] google.com> 970 971 Reviewed by Kenneth Russell. 972 973 Define GC3D types to match GL types and use them in WebGraphicsContext3D 974 https://bugs.webkit.org/show_bug.cgi?id=51947 975 976 * public/WebGraphicsContext3D.h: 977 978 2011-01-27 Zhenyao Mo <zmo (a] google.com> 979 980 Unreviewed, roll webkit chromium rev from 72673 to 72894. 981 Also, added gmock section in DEPS to pull down gmock. 982 983 * DEPS: 984 985 2011-01-27 Alexey Marinichev <amarinichev (a] chromium.org> 986 987 Reviewed by Kenneth Russell. 988 989 Add a callback to WebGraphicsContext3D that is called when a context is lost 990 https://bugs.webkit.org/show_bug.cgi?id=53153 991 992 * public/WebGraphicsContext3D.h: 993 (WebKit::WebGraphicsContext3D::setContextLostCallback): 994 995 2011-01-27 Mihai Parparita <mihaip (a] chromium.org> 996 997 Unreviewed, fixed upstream Chromium build 998 999 r76844 should have rolled back Chromium DEPS to 72673, not 72637. 1000 1001 * DEPS: 1002 1003 2011-01-27 Zhenyao Mo <zmo (a] google.com> 1004 1005 Unreviewed, roll back webkit chromium rev to 72637. 1006 1007 * DEPS: 1008 1009 2011-01-27 Zhenyao Mo <zmo (a] google.com> 1010 1011 Unreviewed. 1012 1013 Roll Webkit Chromium rev from 72637 to 72868. 1014 1015 * DEPS: 1016 1017 2011-01-27 Hans Wennborg <hans (a] chromium.org> 1018 1019 Reviewed by Jeremy Orlow. 1020 1021 IndexedDB: Remove IDBCallbacks::onSuccess() used for null values. 1022 https://bugs.webkit.org/show_bug.cgi?id=53178 1023 1024 Remove the IDBCallbacks::onSuccess() function that was used for 1025 null values, and replace such calls with calls to 1026 IDBCallBacks::onSuccess(SerializedScriptValue::nullValue()) 1027 instead. 1028 1029 * public/WebIDBCallbacks.h: 1030 (WebKit::WebIDBCallbacks::onSuccess): 1031 * src/IDBCallbacksProxy.cpp: 1032 * src/IDBCallbacksProxy.h: 1033 * src/WebIDBCallbacksImpl.cpp: 1034 * src/WebIDBCallbacksImpl.h: 1035 1036 2011-01-26 Kent Tamura <tkent (a] chromium.org> 1037 1038 Reviewed by Dimitri Glazkov. 1039 1040 [Chromium] WebFrame::forms() should not return empty WebFormElements 1041 https://bugs.webkit.org/show_bug.cgi?id=53204 1042 1043 * src/WebFrameImpl.cpp: 1044 (WebKit::WebFrameImpl::forms): 1045 - Should iterate by forms->length(), not the number of HTMLElements. 1046 - Do not increment the index for "temp" if a node is not an HTMLElement. 1047 1048 2011-01-26 Dan Bernstein <mitz (a] apple.com> 1049 1050 Reviewed by Dave Hyatt. 1051 1052 <rdar://problem/8446709> Allow inter-ideograph justification for CJK 1053 https://bugs.webkit.org/show_bug.cgi?id=53184 1054 1055 * src/WebTextRun.cpp: 1056 (WebKit::WebTextRun::operator WebCore::TextRun): Added a TrailingExpansionBehavior parameter to the 1057 RenderText constructor. 1058 1059 2011-01-26 Kenneth Russell <kbr (a] google.com> 1060 1061 Reviewed by James Robinson. 1062 1063 Fix multisampling support in DrawingBuffer 1064 https://bugs.webkit.org/show_bug.cgi?id=53154 1065 1066 Plumbed GL_ANGLE_framebuffer_multisample and 1067 GL_ANGLE_framebuffer_blit (exposed as the unified extension 1068 GL_CHROMIUM_framebuffer_multisample) through WebGraphicsContext3D. 1069 1070 * public/WebGraphicsContext3D.h: 1071 * src/Extensions3DChromium.cpp: 1072 (WebCore::Extensions3DChromium::blitFramebuffer): 1073 (WebCore::Extensions3DChromium::renderbufferStorageMultisample): 1074 * src/GraphicsContext3DChromium.cpp: 1075 (WebCore::GraphicsContext3DInternal::supportsExtension): 1076 (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled): 1077 * src/GraphicsContext3DInternal.h: 1078 1079 2011-01-26 Tony Chang <tony (a] chromium.org> 1080 1081 Unreviewed. 1082 1083 [chromium] revert r68310 because of race conditions detected by tsans 1084 https://bugs.webkit.org/show_bug.cgi?id=53185 1085 1086 * DEPS: Roll chromium to 72673 to pick up sqlite revert. 1087 1088 2011-01-26 James Robinson <jamesr (a] chromium.org> 1089 1090 Reviewed by Nate Chapin. 1091 1092 Add a DOMTimeStamp parameter to the requestAnimationFrame callback 1093 https://bugs.webkit.org/show_bug.cgi?id=53142 1094 1095 Provides a timestamp to use for imperative animation callbacks. In this patch the timestamp is 1096 just the current time at the start of the callback invocation algorithm. In the future we 1097 could enhance this to try to take the compositing delay into effect to try to synchronize 1098 imperative animations more closely with declarative ones, but this should do for now. 1099 1100 * src/WebViewImpl.cpp: 1101 (WebKit::WebViewImpl::animate): 1102 1103 2011-01-25 Kent Tamura <tkent (a] chromium.org> 1104 1105 Unreviewed trivial change. 1106 1107 * DEPS: Roll to r72581 to have a webkit_support fix. 1108 1109 2011-01-25 Hans Wennborg <hans (a] chromium.org> 1110 1111 Reviewed by Jeremy Orlow. 1112 1113 IndexedDB: Remove PlatformBridge::idbShutdown() 1114 https://bugs.webkit.org/show_bug.cgi?id=53077 1115 1116 Since Chromium r72157, this is not used anymore. Chromium keeps track 1117 of when it shuts down IndexedDB itself. 1118 1119 * public/WebKitClient.h: 1120 * src/PlatformBridge.cpp: 1121 1122 2011-01-25 Ilya Sherman <isherman (a] chromium.org> 1123 1124 Reviewed by Darin Fisher. 1125 1126 Chromium WebKit API: Move dispatchFormControlChangeEvent() from WebInputElement to WebFormControlElement 1127 In service of https://code.google.com/p/chromium/issues/detail?id=42716 1128 https://bugs.webkit.org/show_bug.cgi?id=53069 1129 1130 * public/WebFormControlElement.h: 1131 * public/WebInputElement.h: 1132 * src/WebFormControlElement.cpp: 1133 (WebKit::WebFormControlElement::dispatchFormControlChangeEvent): Moved from WebInputElement 1134 * src/WebInputElement.cpp: 1135 1136 2011-01-24 Chris Marrin <cmarrin (a] apple.com> 1137 1138 Reviewed by Eric Seidel. 1139 1140 Change ENABLE_3D_CANVAS to ENABLE_WEBGL 1141 https://bugs.webkit.org/show_bug.cgi?id=53041 1142 1143 * WebKit.gyp: 1144 * features.gypi: 1145 * src/Extensions3DChromium.cpp: 1146 * src/GraphicsContext3DChromium.cpp: 1147 * src/WebRuntimeFeatures.cpp: 1148 (WebKit::WebRuntimeFeatures::enableWebGL): 1149 (WebKit::WebRuntimeFeatures::isWebGLEnabled): 1150 1151 2011-01-25 Mikhail Naganov <mnaganov (a] chromium.org> 1152 1153 Reviewed by Pavel Feldman. 1154 1155 Web Inspector: [Chromium] Prepare for landing of detailed heap snapshots. 1156 1157 - Introduce Preferences.detailedHeapProfiles flag for controlling 1158 querying of detailed heap snapshots. 1159 - Add boilerplate code for the new view. 1160 - Factor out common code. 1161 1162 https://bugs.webkit.org/show_bug.cgi?id=52624 1163 1164 * src/js/DevTools.js: 1165 (): 1166 1167 2011-01-25 Pavel Podivilov <podivilov (a] chromium.org> 1168 1169 Unreviewed, trivial debugger test fix. 1170 1171 * src/js/Tests.js: 1172 1173 2011-01-24 Zhenyao Mo <zmo (a] google.com> 1174 1175 Reviewed by Darin Adler. 1176 1177 Remove sizeInBytes from GraphicsContext3D's various implementations 1178 https://bugs.webkit.org/show_bug.cgi?id=52339 1179 1180 * src/GraphicsContext3DChromium.cpp: 1181 * src/GraphicsContext3DInternal.h: 1182 1183 2011-01-24 Tony Chang <tony (a] chromium.org> 1184 1185 Reviewed by James Robinson. 1186 1187 [chromium] turn off gyp circular dependency checking and roll chromium deps 1188 https://bugs.webkit.org/show_bug.cgi?id=52935 1189 1190 * DEPS: 1191 * gyp_webkit: Turn off gyp circular dependency checking on Linux 1192 and Win since we don't do these checks in gyp_chromium. It's 1193 just making it harder for us to roll DEPS and have something 1194 explode. 1195 1196 2011-01-24 Satish Sampath <satish (a] chromium.org> 1197 1198 Reviewed by Csaba Osztrogonc. 1199 1200 Remove obsolete public/API method in chromium port 1201 https://bugs.webkit.org/show_bug.cgi?id=53015 1202 1203 * public/WebSpeechInputController.h: 1204 (WebKit::WebSpeechInputController::startRecognition): Removed obsolete method 1205 1206 2010-01-24 Kent Tamura <tkent (a] chromium.org> 1207 1208 Reviewed by Darin Fisher. 1209 1210 [Chromium] Support icon loading for <input type=file> 1211 https://bugs.webkit.org/show_bug.cgi?id=38982 1212 1213 Implement ChromeClientImpl::chooseIconForFiles(). It delegates loading 1214 to WebViewClient::queryIconForFiles(), and an implementation of 1215 WebViewClient::queryIconForFiles() loads an icon and passes it to a 1216 FileChooser through WebIconLoadingCompletion. 1217 1218 * WebKit.gyp: 1219 * public/WebIconLoadingCompletion.h: Added. 1220 (WebKit::WebIconLoadingCompletion::~WebIconLoadingCompletion): 1221 * public/WebViewClient.h: 1222 (WebKit::WebViewClient::queryIconForFiles): 1223 * src/ChromeClientImpl.cpp: 1224 (WebKit::ChromeClientImpl::chooseIconForFiles): 1225 * src/WebIconLoadingCompletionImpl.cpp: Added. 1226 (WebKit::WebIconLoadingCompletionImpl::WebIconLoadingCompletionImpl): 1227 (WebKit::WebIconLoadingCompletionImpl::~WebIconLoadingCompletionImpl): 1228 (WebKit::WebIconLoadingCompletionImpl::didLoadIcon): 1229 * src/WebIconLoadingCompletionImpl.h: Added. 1230 1231 2011-01-22 John Abd-El-Malek <jam (a] chromium.org> 1232 1233 Reviewed by Adam Barth. 1234 1235 [chromium]: Fix WebScrollbarImpl not getting scroll events after recent scrollbar refactoring 1236 https://bugs.webkit.org/show_bug.cgi?id=52967 1237 1238 * src/WebScrollbarImpl.cpp: 1239 (WebKit::WebScrollbarImpl::horizontalScrollbar): 1240 (WebKit::WebScrollbarImpl::verticalScrollbar): 1241 * src/WebScrollbarImpl.h: 1242 1243 2011-01-21 Nikolas Zimmermann <nzimmermann (a] rim.com> 1244 1245 Reviewed by Dirk Schulze. 1246 1247 Introduce FontMetrics abstraction 1248 https://bugs.webkit.org/show_bug.cgi?id=51456 1249 1250 * src/ExternalPopupMenu.cpp: Use FontMetrics instead of Font to access the metrics. 1251 (WebKit::ExternalPopupMenu::getPopupMenuInfo): 1252 * src/WebFontImpl.cpp: Ditto. 1253 (WebKit::WebFontImpl::ascent): 1254 (WebKit::WebFontImpl::descent): 1255 (WebKit::WebFontImpl::height): 1256 (WebKit::WebFontImpl::lineSpacing): 1257 (WebKit::WebFontImpl::xHeight): 1258 1259 2011-01-21 Chris Rogers <crogers (a] google.com> 1260 1261 Unreviewed 1262 1263 define HAS_WEBAUDIO_RUNTIMEFEATURES for synchronization with chromium patch landing 1264 https://bugs.webkit.org/show_bug.cgi?id=52941 1265 1266 * public/WebRuntimeFeatures.h: 1267 1268 2011-01-21 Chris Rogers <crogers (a] google.com> 1269 1270 Unreviewed 1271 1272 Add HAS_WEBAUDIO_FEATURE_ENABLE define to synchronize with chromium-side patch 1273 https://bugs.webkit.org/show_bug.cgi?id=52939 1274 1275 * public/WebSettings.h: 1276 1277 2011-01-21 Charlie Reis <creis (a] chromium.org> 1278 1279 Reviewed by Darin Fisher. 1280 1281 Crash in WebCore::HistoryController::itemsAreClones 1282 https://bugs.webkit.org/show_bug.cgi?id=52819 1283 1284 Adds sanity checks to help diagnose the crash. 1285 1286 * src/WebFrameImpl.cpp: 1287 1288 2011-01-21 Chris Rogers <crogers (a] google.com> 1289 1290 Reviewed by Darin Fisher. 1291 1292 Add run-time enable support for the web audio API 1293 https://bugs.webkit.org/show_bug.cgi?id=52741 1294 1295 * public/WebRuntimeFeatures.h: 1296 * public/WebSettings.h: 1297 * src/WebRuntimeFeatures.cpp: 1298 (WebKit::WebRuntimeFeatures::enableWebAudio): 1299 (WebKit::WebRuntimeFeatures::isWebAudioEnabled): 1300 * src/WebSettingsImpl.cpp: 1301 (WebKit::WebSettingsImpl::setWebAudioEnabled): 1302 * src/WebSettingsImpl.h: 1303 1304 2011-01-21 Ryosuke Niwa <rniwa (a] webkit.org> 1305 1306 Unreviewed; another Chromium build fix attempt for r76378. 1307 1308 * src/WebScrollbarImpl.cpp: 1309 (WebKit::WebScrollbar::create): 1310 (WebKit::WebScrollbarImpl::WebScrollbarImpl): 1311 (WebKit::WebScrollbarImpl::setValue): 1312 1313 2011-01-21 Ryosuke Niwa <rniwa (a] webkit.org> 1314 1315 Unreviewed Chromium build fix attempt for r76378. 1316 1317 * src/WebScrollbarImpl.cpp: 1318 (WebKit::WebScrollbar::create): 1319 (WebKit::WebScrollbarImpl::WebScrollbarImpl): 1320 1321 2011-01-21 Chris Rogers <crogers (a] google.com> 1322 1323 Reviewed by Kenneth Russell. 1324 1325 Add chromium bundled audio spatialization resources to WebAudio.grd 1326 https://bugs.webkit.org/show_bug.cgi?id=52651 1327 1328 * WebKit.grd: 1329 1330 2011-01-21 Xiyuan Xia <xiyuan (a] chromium.org> 1331 1332 Reviewed by Tony Chang. 1333 1334 Use WebThemeEngine for relevant RenderTheme parts for chromium/linux. 1335 https://bugs.webkit.org/show_bug.cgi?id=52826 1336 1337 * WebKit.gyp: 1338 * src/ChromiumBridge.cpp: 1339 (WebCore::WebThemePart): 1340 (WebCore::GetWebThemeExtraParams): 1341 1342 2011-01-21 Sam Weinig <sam (a] webkit.org> 1343 1344 Reviewed by Anders Carlsson. 1345 1346 Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship" 1347 https://bugs.webkit.org/show_bug.cgi?id=52779 1348 1349 Rename ScrollbarClient -> ScrollableArea. 1350 1351 * src/AutoFillPopupMenuClient.cpp: 1352 (WebKit::AutoFillPopupMenuClient::createScrollbar): 1353 * src/AutoFillPopupMenuClient.h: 1354 * src/WebScrollbarImpl.cpp: 1355 (WebKit::WebScrollbarImpl::WebScrollbarImpl): 1356 (WebKit::WebScrollbarImpl::scroll): 1357 (WebKit::WebScrollbarImpl::onMouseWheel): 1358 (WebKit::WebScrollbarImpl::onKeyDown): 1359 * src/WebScrollbarImpl.h: 1360 * tests/PopupMenuTest.cpp: 1361 (WebKit::TestPopupMenuClient::createScrollbar): 1362 1363 2011-01-21 Sailesh Agrawal <sail (a] chromium.org> 1364 1365 Reviewed by Ryosuke Niwa. 1366 1367 [chromium] Notify WebFrameClient when spellcheck state changes 1368 https://bugs.webkit.org/show_bug.cgi?id=52680 1369 1370 * public/WebFrameClient.h: 1371 (WebKit::WebFrameClient::continuousSpellCheckingEnabledStateChanged): 1372 * src/EditorClientImpl.cpp: 1373 (WebKit::EditorClientImpl::toggleContinuousSpellChecking): 1374 * src/WebFrameImpl.cpp: 1375 1376 2011-01-21 Tony Chang <tony (a] chromium.org> 1377 1378 Unreviewed, updating chromium DEPS so we can pull in linux theme changes. 1379 1380 * DEPS: 1381 1382 2011-01-21 Adam Klein <adamk (a] chromium.org> 1383 1384 Reviewed by Eric Seidel. 1385 1386 [chromium] Rename ChromiumBridge to PlatformBridge 1387 https://bugs.webkit.org/show_bug.cgi?id=52471 1388 1389 * WebKit.gyp: 1390 * src/AssertMatchingEnums.cpp: 1391 * src/PlatformBridge.cpp: 1392 (WebCore::toChromeClientImpl): 1393 (WebCore::toWebWidgetClient): 1394 (WebCore::getCookieJar): 1395 (WebCore::PlatformBridge::cacheMetadata): 1396 (WebCore::PlatformBridge::clipboardIsFormatAvailable): 1397 (WebCore::PlatformBridge::clipboardReadPlainText): 1398 (WebCore::PlatformBridge::clipboardReadHTML): 1399 (WebCore::PlatformBridge::clipboardWriteSelection): 1400 (WebCore::PlatformBridge::clipboardWritePlainText): 1401 (WebCore::PlatformBridge::clipboardWriteURL): 1402 (WebCore::PlatformBridge::clipboardWriteImage): 1403 (WebCore::PlatformBridge::clipboardWriteData): 1404 (WebCore::PlatformBridge::clipboardReadAvailableTypes): 1405 (WebCore::PlatformBridge::clipboardReadData): 1406 (WebCore::PlatformBridge::clipboardReadFilenames): 1407 (WebCore::PlatformBridge::setCookies): 1408 (WebCore::PlatformBridge::cookies): 1409 (WebCore::PlatformBridge::cookieRequestHeaderFieldValue): 1410 (WebCore::PlatformBridge::rawCookies): 1411 (WebCore::PlatformBridge::deleteCookie): 1412 (WebCore::PlatformBridge::cookiesEnabled): 1413 (WebCore::PlatformBridge::prefetchDNS): 1414 (WebCore::PlatformBridge::fileExists): 1415 (WebCore::PlatformBridge::deleteFile): 1416 (WebCore::PlatformBridge::deleteEmptyDirectory): 1417 (WebCore::PlatformBridge::getFileSize): 1418 (WebCore::PlatformBridge::revealFolderInOS): 1419 (WebCore::PlatformBridge::getFileModificationTime): 1420 (WebCore::PlatformBridge::directoryName): 1421 (WebCore::PlatformBridge::pathByAppendingComponent): 1422 (WebCore::PlatformBridge::makeAllDirectories): 1423 (WebCore::PlatformBridge::getAbsolutePath): 1424 (WebCore::PlatformBridge::isDirectory): 1425 (WebCore::PlatformBridge::filePathToURL): 1426 (WebCore::PlatformBridge::openFile): 1427 (WebCore::PlatformBridge::closeFile): 1428 (WebCore::PlatformBridge::seekFile): 1429 (WebCore::PlatformBridge::truncateFile): 1430 (WebCore::PlatformBridge::readFromFile): 1431 (WebCore::PlatformBridge::writeToFile): 1432 (WebCore::PlatformBridge::ensureFontLoaded): 1433 (WebCore::PlatformBridge::getFontFamilyForCharacters): 1434 (WebCore::PlatformBridge::getRenderStyleForStrike): 1435 (WebCore::PlatformBridge::loadFont): 1436 (WebCore::PlatformBridge::databaseOpenFile): 1437 (WebCore::PlatformBridge::databaseDeleteFile): 1438 (WebCore::PlatformBridge::databaseGetFileAttributes): 1439 (WebCore::PlatformBridge::databaseGetFileSize): 1440 (WebCore::PlatformBridge::idbFactory): 1441 (WebCore::PlatformBridge::idbShutdown): 1442 (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath): 1443 (WebCore::PlatformBridge::signedPublicKeyAndChallengeString): 1444 (WebCore::PlatformBridge::computedDefaultLanguage): 1445 (WebCore::PlatformBridge::layoutTestMode): 1446 (WebCore::PlatformBridge::isSupportedImageMIMEType): 1447 (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType): 1448 (WebCore::PlatformBridge::isSupportedNonImageMIMEType): 1449 (WebCore::PlatformBridge::mimeTypeForExtension): 1450 (WebCore::PlatformBridge::mimeTypeFromFile): 1451 (WebCore::PlatformBridge::preferredExtensionForMIMEType): 1452 (WebCore::PlatformBridge::plugins): 1453 (WebCore::PlatformBridge::pluginScriptableObject): 1454 (WebCore::PlatformBridge::loadPlatformImageResource): 1455 (WebCore::PlatformBridge::loadPlatformAudioResource): 1456 (WebCore::PlatformBridge::decodeAudioFileData): 1457 (WebCore::PlatformBridge::sandboxEnabled): 1458 (WebCore::PlatformBridge::setSharedTimerFiredFunction): 1459 (WebCore::PlatformBridge::setSharedTimerFireTime): 1460 (WebCore::PlatformBridge::stopSharedTimer): 1461 (WebCore::PlatformBridge::decrementStatsCounter): 1462 (WebCore::PlatformBridge::incrementStatsCounter): 1463 (WebCore::PlatformBridge::histogramCustomCounts): 1464 (WebCore::PlatformBridge::histogramEnumeration): 1465 (WebCore::PlatformBridge::suddenTerminationChanged): 1466 (WebCore::PlatformBridge::currentTime): 1467 (WebCore::PlatformBridge::paintButton): 1468 (WebCore::PlatformBridge::paintMenuList): 1469 (WebCore::PlatformBridge::paintScrollbarArrow): 1470 (WebCore::PlatformBridge::paintScrollbarThumb): 1471 (WebCore::PlatformBridge::paintScrollbarTrack): 1472 (WebCore::PlatformBridge::paintSpinButton): 1473 (WebCore::PlatformBridge::paintTextField): 1474 (WebCore::PlatformBridge::paintTrackbar): 1475 (WebCore::PlatformBridge::paintProgressBar): 1476 (WebCore::WebThemePart): 1477 (WebCore::WebThemeState): 1478 (WebCore::GetWebThemeExtraParams): 1479 (WebCore::PlatformBridge::getThemePartSize): 1480 (WebCore::PlatformBridge::paintThemePart): 1481 (WebCore::PlatformBridge::traceEventBegin): 1482 (WebCore::PlatformBridge::traceEventEnd): 1483 (WebCore::PlatformBridge::visitedLinkHash): 1484 (WebCore::PlatformBridge::isLinkVisited): 1485 (WebCore::PlatformBridge::notifyJSOutOfMemory): 1486 (WebCore::PlatformBridge::memoryUsageMB): 1487 (WebCore::PlatformBridge::actualMemoryUsageMB): 1488 (WebCore::PlatformBridge::screenDepth): 1489 (WebCore::PlatformBridge::screenDepthPerComponent): 1490 (WebCore::PlatformBridge::screenIsMonochrome): 1491 (WebCore::PlatformBridge::screenRect): 1492 (WebCore::PlatformBridge::screenAvailableRect): 1493 (WebCore::PlatformBridge::popupsAllowed): 1494 (WebCore::WorkerContextProxy::create): 1495 * src/ResourceHandle.cpp: 1496 (WebCore::ResourceHandle::cacheMetadata): 1497 * src/WebFrameImpl.cpp: 1498 (WebKit::WebFrameImpl::WebFrameImpl): 1499 (WebKit::WebFrameImpl::~WebFrameImpl): 1500 * src/WebViewImpl.cpp: 1501 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 1502 1503 2011-01-20 Adam Klein <adamk (a] chromium.org> 1504 1505 Reviewed by Andreas Kling. 1506 1507 [chromium] Remove deprecated WebKit::nameOfInputElement function 1508 https://bugs.webkit.org/show_bug.cgi?id=52824 1509 1510 * src/DOMUtilitiesPrivate.cpp: 1511 * src/DOMUtilitiesPrivate.h: 1512 1513 2011-01-20 Sam Weinig <sam (a] webkit.org> 1514 1515 Reviewed by Dave Hyatt. 1516 1517 Cleanup Scrollbar/ScrollbarClient relationship 1518 https://bugs.webkit.org/show_bug.cgi?id=52779 1519 1520 * src/WebScrollbarImpl.cpp: 1521 (WebKit::WebScrollbarImpl::WebScrollbarImpl): 1522 (WebKit::WebScrollbarImpl::value): 1523 (WebKit::WebScrollbarImpl::setValue): 1524 (WebKit::WebScrollbarImpl::scroll): 1525 (WebKit::WebScrollbarImpl::onMouseDown): 1526 (WebKit::WebScrollbarImpl::onMouseMove): 1527 (WebKit::WebScrollbarImpl::onMouseWheel): 1528 (WebKit::WebScrollbarImpl::onKeyDown): 1529 (WebKit::WebScrollbarImpl::scrollPosition): 1530 (WebKit::WebScrollbarImpl::setScrollOffset): 1531 * src/WebScrollbarImpl.h: 1532 1533 2011-01-20 James Robinson <jamesr (a] chromium.org> 1534 1535 Reviewed by Darin Fisher. 1536 1537 Implement mozilla's requestAnimationFrame API 1538 https://bugs.webkit.org/show_bug.cgi?id=51218 1539 1540 Chromium WebKit API support for window.webkitRequestAnimationFrame() 1541 1542 * features.gypi: 1543 * public/WebWidget.h: 1544 * public/WebWidgetClient.h: 1545 (WebKit::WebWidgetClient::scheduleAnimation): 1546 * src/ChromeClientImpl.cpp: 1547 (WebKit::ChromeClientImpl::scheduleAnimation): 1548 * src/ChromeClientImpl.h: 1549 * src/WebPopupMenuImpl.cpp: 1550 (WebKit::WebPopupMenuImpl::animate): 1551 (WebKit::WebPopupMenuImpl::scheduleAnimation): 1552 * src/WebPopupMenuImpl.h: 1553 * src/WebViewImpl.cpp: 1554 (WebKit::WebViewImpl::animate): 1555 * src/WebViewImpl.h: 1556 1557 2010-12-14 Yury Semikhatsky <yurys (a] chromium.org> 1558 1559 Reviewed by Adam Barth. 1560 1561 [V8] Get rid of delayed exception reporting in V8ConsoleMessage.cpp 1562 https://bugs.webkit.org/show_bug.cgi?id=51044 1563 1564 * src/ChromeClientImpl.cpp: 1565 (WebKit::ChromeClientImpl::runJavaScriptAlert): 1566 * src/WebScriptController.cpp: 1567 (WebKit::WebScriptController::flushConsoleMessages): 1568 1569 2010-12-27 Yury Semikhatsky <yurys (a] chromium.org> 1570 1571 Reviewed by Pavel Feldman. 1572 1573 WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown 1574 https://bugs.webkit.org/show_bug.cgi?id=8519 1575 1576 Uncaught exceptions are propagated to window.onerror hander if one is present. 1577 The handler is expected to be a function accepting three arguments: error message, 1578 resource url and line number where the exception occured. 1579 1580 It was decided to dispatch ErrorEvent to all listeners/handlers no matter if they 1581 were created in the same isolated world where the exception occured or not. 1582 1583 Tests: fast/events/window-onerror1.html 1584 fast/events/window-onerror10.html 1585 fast/events/window-onerror11.html 1586 fast/events/window-onerror12.html 1587 fast/events/window-onerror2.html 1588 fast/events/window-onerror3.html 1589 fast/events/window-onerror4.html 1590 fast/events/window-onerror5.html 1591 fast/events/window-onerror6.html 1592 fast/events/window-onerror7.html 1593 fast/events/window-onerror8.html 1594 fast/events/window-onerror9.html 1595 http/tests/security/window-onerror-exception-in-iframe.html 1596 userscripts/window-onerror-for-isolated-world-1.html 1597 userscripts/window-onerror-for-isolated-world-2.html 1598 1599 * src/WebWorkerClientImpl.cpp: 1600 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject): 1601 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject): 1602 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask): 1603 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask): 1604 1605 2011-01-19 Dmitry Titov <dimich (a] chromium.org> 1606 1607 [Chromium] Unreviewed, build fix. 1608 1609 During revert of 76203, sheriffbot did not revert "rename+change" correctly. 1610 1611 * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp. 1612 (WebCore::toChromeClientImpl): 1613 (WebCore::toWebWidgetClient): 1614 (WebCore::getCookieJar): 1615 (WebCore::ChromiumBridge::cacheMetadata): 1616 (WebCore::ChromiumBridge::clipboardIsFormatAvailable): 1617 (WebCore::ChromiumBridge::clipboardReadPlainText): 1618 (WebCore::ChromiumBridge::clipboardReadHTML): 1619 (WebCore::ChromiumBridge::clipboardWriteSelection): 1620 (WebCore::ChromiumBridge::clipboardWritePlainText): 1621 (WebCore::ChromiumBridge::clipboardWriteURL): 1622 (WebCore::ChromiumBridge::clipboardWriteImage): 1623 (WebCore::ChromiumBridge::clipboardWriteData): 1624 (WebCore::ChromiumBridge::clipboardReadAvailableTypes): 1625 (WebCore::ChromiumBridge::clipboardReadData): 1626 (WebCore::ChromiumBridge::clipboardReadFilenames): 1627 (WebCore::ChromiumBridge::setCookies): 1628 (WebCore::ChromiumBridge::cookies): 1629 (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue): 1630 (WebCore::ChromiumBridge::rawCookies): 1631 (WebCore::ChromiumBridge::deleteCookie): 1632 (WebCore::ChromiumBridge::cookiesEnabled): 1633 (WebCore::ChromiumBridge::prefetchDNS): 1634 (WebCore::ChromiumBridge::fileExists): 1635 (WebCore::ChromiumBridge::deleteFile): 1636 (WebCore::ChromiumBridge::deleteEmptyDirectory): 1637 (WebCore::ChromiumBridge::getFileSize): 1638 (WebCore::ChromiumBridge::revealFolderInOS): 1639 (WebCore::ChromiumBridge::getFileModificationTime): 1640 (WebCore::ChromiumBridge::directoryName): 1641 (WebCore::ChromiumBridge::pathByAppendingComponent): 1642 (WebCore::ChromiumBridge::makeAllDirectories): 1643 (WebCore::ChromiumBridge::getAbsolutePath): 1644 (WebCore::ChromiumBridge::isDirectory): 1645 (WebCore::ChromiumBridge::filePathToURL): 1646 (WebCore::ChromiumBridge::openFile): 1647 (WebCore::ChromiumBridge::closeFile): 1648 (WebCore::ChromiumBridge::seekFile): 1649 (WebCore::ChromiumBridge::truncateFile): 1650 (WebCore::ChromiumBridge::readFromFile): 1651 (WebCore::ChromiumBridge::writeToFile): 1652 (WebCore::ChromiumBridge::ensureFontLoaded): 1653 (WebCore::ChromiumBridge::getFontFamilyForCharacters): 1654 (WebCore::ChromiumBridge::getRenderStyleForStrike): 1655 (WebCore::ChromiumBridge::loadFont): 1656 (WebCore::ChromiumBridge::databaseOpenFile): 1657 (WebCore::ChromiumBridge::databaseDeleteFile): 1658 (WebCore::ChromiumBridge::databaseGetFileAttributes): 1659 (WebCore::ChromiumBridge::databaseGetFileSize): 1660 (WebCore::ChromiumBridge::idbFactory): 1661 (WebCore::ChromiumBridge::idbShutdown): 1662 (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath): 1663 (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString): 1664 (WebCore::ChromiumBridge::computedDefaultLanguage): 1665 (WebCore::ChromiumBridge::layoutTestMode): 1666 (WebCore::ChromiumBridge::isSupportedImageMIMEType): 1667 (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType): 1668 (WebCore::ChromiumBridge::isSupportedNonImageMIMEType): 1669 (WebCore::ChromiumBridge::mimeTypeForExtension): 1670 (WebCore::ChromiumBridge::mimeTypeFromFile): 1671 (WebCore::ChromiumBridge::preferredExtensionForMIMEType): 1672 (WebCore::ChromiumBridge::plugins): 1673 (WebCore::ChromiumBridge::pluginScriptableObject): 1674 (WebCore::ChromiumBridge::loadPlatformImageResource): 1675 (WebCore::ChromiumBridge::loadPlatformAudioResource): 1676 (WebCore::ChromiumBridge::decodeAudioFileData): 1677 (WebCore::ChromiumBridge::sandboxEnabled): 1678 (WebCore::ChromiumBridge::setSharedTimerFiredFunction): 1679 (WebCore::ChromiumBridge::setSharedTimerFireTime): 1680 (WebCore::ChromiumBridge::stopSharedTimer): 1681 (WebCore::ChromiumBridge::decrementStatsCounter): 1682 (WebCore::ChromiumBridge::incrementStatsCounter): 1683 (WebCore::ChromiumBridge::histogramCustomCounts): 1684 (WebCore::ChromiumBridge::histogramEnumeration): 1685 (WebCore::ChromiumBridge::suddenTerminationChanged): 1686 (WebCore::ChromiumBridge::currentTime): 1687 (WebCore::ChromiumBridge::paintButton): 1688 (WebCore::ChromiumBridge::paintMenuList): 1689 (WebCore::ChromiumBridge::paintScrollbarArrow): 1690 (WebCore::ChromiumBridge::paintScrollbarThumb): 1691 (WebCore::ChromiumBridge::paintScrollbarTrack): 1692 (WebCore::ChromiumBridge::paintSpinButton): 1693 (WebCore::ChromiumBridge::paintTextField): 1694 (WebCore::ChromiumBridge::paintTrackbar): 1695 (WebCore::ChromiumBridge::paintProgressBar): 1696 (WebCore::WebThemePart): 1697 (WebCore::WebThemeState): 1698 (WebCore::GetWebThemeExtraParams): 1699 (WebCore::ChromiumBridge::getThemePartSize): 1700 (WebCore::ChromiumBridge::paintThemePart): 1701 (WebCore::ChromiumBridge::traceEventBegin): 1702 (WebCore::ChromiumBridge::traceEventEnd): 1703 (WebCore::ChromiumBridge::visitedLinkHash): 1704 (WebCore::ChromiumBridge::isLinkVisited): 1705 (WebCore::ChromiumBridge::notifyJSOutOfMemory): 1706 (WebCore::ChromiumBridge::memoryUsageMB): 1707 (WebCore::ChromiumBridge::actualMemoryUsageMB): 1708 (WebCore::ChromiumBridge::screenDepth): 1709 (WebCore::ChromiumBridge::screenDepthPerComponent): 1710 (WebCore::ChromiumBridge::screenIsMonochrome): 1711 (WebCore::ChromiumBridge::screenRect): 1712 (WebCore::ChromiumBridge::screenAvailableRect): 1713 (WebCore::ChromiumBridge::popupsAllowed): 1714 (WebCore::WorkerContextProxy::create): 1715 1716 2011-01-19 Sheriff Bot <webkit.review.bot (a] gmail.com> 1717 1718 Unreviewed, rolling out r76203. 1719 http://trac.webkit.org/changeset/76203 1720 https://bugs.webkit.org/show_bug.cgi?id=52784 1721 1722 Broke Win compile on Chromium bots (Requested by dimich on 1723 #webkit). 1724 1725 * WebKit.gyp: 1726 * src/AssertMatchingEnums.cpp: 1727 * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp. 1728 (WebCore::toChromeClientImpl): 1729 (WebCore::toWebWidgetClient): 1730 (WebCore::getCookieJar): 1731 (WebCore::ChromiumBridge::cacheMetadata): 1732 (WebCore::ChromiumBridge::clipboardIsFormatAvailable): 1733 (WebCore::ChromiumBridge::clipboardReadPlainText): 1734 (WebCore::ChromiumBridge::clipboardReadHTML): 1735 (WebCore::ChromiumBridge::clipboardWriteSelection): 1736 (WebCore::ChromiumBridge::clipboardWritePlainText): 1737 (WebCore::ChromiumBridge::clipboardWriteURL): 1738 (WebCore::ChromiumBridge::clipboardWriteImage): 1739 (WebCore::ChromiumBridge::clipboardWriteData): 1740 (WebCore::ChromiumBridge::clipboardReadAvailableTypes): 1741 (WebCore::ChromiumBridge::clipboardReadData): 1742 (WebCore::ChromiumBridge::clipboardReadFilenames): 1743 (WebCore::ChromiumBridge::setCookies): 1744 (WebCore::ChromiumBridge::cookies): 1745 (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue): 1746 (WebCore::ChromiumBridge::rawCookies): 1747 (WebCore::ChromiumBridge::deleteCookie): 1748 (WebCore::ChromiumBridge::cookiesEnabled): 1749 (WebCore::ChromiumBridge::prefetchDNS): 1750 (WebCore::ChromiumBridge::fileExists): 1751 (WebCore::ChromiumBridge::deleteFile): 1752 (WebCore::ChromiumBridge::deleteEmptyDirectory): 1753 (WebCore::ChromiumBridge::getFileSize): 1754 (WebCore::ChromiumBridge::revealFolderInOS): 1755 (WebCore::ChromiumBridge::getFileModificationTime): 1756 (WebCore::ChromiumBridge::directoryName): 1757 (WebCore::ChromiumBridge::pathByAppendingComponent): 1758 (WebCore::ChromiumBridge::makeAllDirectories): 1759 (WebCore::ChromiumBridge::getAbsolutePath): 1760 (WebCore::ChromiumBridge::isDirectory): 1761 (WebCore::ChromiumBridge::filePathToURL): 1762 (WebCore::ChromiumBridge::openFile): 1763 (WebCore::ChromiumBridge::closeFile): 1764 (WebCore::ChromiumBridge::seekFile): 1765 (WebCore::ChromiumBridge::truncateFile): 1766 (WebCore::ChromiumBridge::readFromFile): 1767 (WebCore::ChromiumBridge::writeToFile): 1768 (WebCore::ChromiumBridge::ensureFontLoaded): 1769 (WebCore::ChromiumBridge::getFontFamilyForCharacters): 1770 (WebCore::ChromiumBridge::getRenderStyleForStrike): 1771 (WebCore::ChromiumBridge::loadFont): 1772 (WebCore::ChromiumBridge::databaseOpenFile): 1773 (WebCore::ChromiumBridge::databaseDeleteFile): 1774 (WebCore::ChromiumBridge::databaseGetFileAttributes): 1775 (WebCore::ChromiumBridge::databaseGetFileSize): 1776 (WebCore::ChromiumBridge::idbFactory): 1777 (WebCore::ChromiumBridge::idbShutdown): 1778 (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath): 1779 (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString): 1780 (WebCore::ChromiumBridge::computedDefaultLanguage): 1781 (WebCore::ChromiumBridge::layoutTestMode): 1782 (WebCore::ChromiumBridge::isSupportedImageMIMEType): 1783 (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType): 1784 (WebCore::ChromiumBridge::isSupportedNonImageMIMEType): 1785 (WebCore::ChromiumBridge::mimeTypeForExtension): 1786 (WebCore::ChromiumBridge::mimeTypeFromFile): 1787 (WebCore::ChromiumBridge::preferredExtensionForMIMEType): 1788 (WebCore::ChromiumBridge::plugins): 1789 (WebCore::ChromiumBridge::pluginScriptableObject): 1790 (WebCore::ChromiumBridge::loadPlatformImageResource): 1791 (WebCore::ChromiumBridge::loadPlatformAudioResource): 1792 (WebCore::ChromiumBridge::decodeAudioFileData): 1793 (WebCore::ChromiumBridge::sandboxEnabled): 1794 (WebCore::ChromiumBridge::setSharedTimerFiredFunction): 1795 (WebCore::ChromiumBridge::setSharedTimerFireTime): 1796 (WebCore::ChromiumBridge::stopSharedTimer): 1797 (WebCore::ChromiumBridge::decrementStatsCounter): 1798 (WebCore::ChromiumBridge::incrementStatsCounter): 1799 (WebCore::ChromiumBridge::histogramCustomCounts): 1800 (WebCore::ChromiumBridge::histogramEnumeration): 1801 (WebCore::ChromiumBridge::suddenTerminationChanged): 1802 (WebCore::ChromiumBridge::currentTime): 1803 (WebCore::ChromiumBridge::paintButton): 1804 (WebCore::ChromiumBridge::paintMenuList): 1805 (WebCore::ChromiumBridge::paintScrollbarArrow): 1806 (WebCore::ChromiumBridge::paintScrollbarThumb): 1807 (WebCore::ChromiumBridge::paintScrollbarTrack): 1808 (WebCore::ChromiumBridge::paintSpinButton): 1809 (WebCore::ChromiumBridge::paintTextField): 1810 (WebCore::ChromiumBridge::paintTrackbar): 1811 (WebCore::ChromiumBridge::paintProgressBar): 1812 (WebCore::WebThemePart): 1813 (WebCore::WebThemeState): 1814 (WebCore::GetWebThemeExtraParams): 1815 (WebCore::ChromiumBridge::getThemePartSize): 1816 (WebCore::ChromiumBridge::paintThemePart): 1817 (WebCore::ChromiumBridge::traceEventBegin): 1818 (WebCore::ChromiumBridge::traceEventEnd): 1819 (WebCore::ChromiumBridge::visitedLinkHash): 1820 (WebCore::ChromiumBridge::isLinkVisited): 1821 (WebCore::ChromiumBridge::notifyJSOutOfMemory): 1822 (WebCore::ChromiumBridge::memoryUsageMB): 1823 (WebCore::ChromiumBridge::actualMemoryUsageMB): 1824 (WebCore::ChromiumBridge::screenDepth): 1825 (WebCore::ChromiumBridge::screenDepthPerComponent): 1826 (WebCore::ChromiumBridge::screenIsMonochrome): 1827 (WebCore::ChromiumBridge::screenRect): 1828 (WebCore::ChromiumBridge::screenAvailableRect): 1829 (WebCore::ChromiumBridge::popupsAllowed): 1830 (WebCore::WorkerContextProxy::create): 1831 * src/ResourceHandle.cpp: 1832 (WebCore::ResourceHandle::cacheMetadata): 1833 * src/WebFrameImpl.cpp: 1834 (WebKit::WebFrameImpl::WebFrameImpl): 1835 (WebKit::WebFrameImpl::~WebFrameImpl): 1836 * src/WebViewImpl.cpp: 1837 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 1838 1839 2011-01-19 Adam Klein <adamk (a] chromium.org> 1840 1841 Reviewed by Darin Fisher. 1842 1843 [chromium] Rename ChromiumBridge to PlatformBridge 1844 https://bugs.webkit.org/show_bug.cgi?id=52471 1845 1846 * WebKit.gyp: 1847 * src/AssertMatchingEnums.cpp: 1848 * src/PlatformBridge.cpp: 1849 (WebCore::toChromeClientImpl): 1850 (WebCore::toWebWidgetClient): 1851 (WebCore::getCookieJar): 1852 (WebCore::PlatformBridge::cacheMetadata): 1853 (WebCore::PlatformBridge::clipboardIsFormatAvailable): 1854 (WebCore::PlatformBridge::clipboardReadPlainText): 1855 (WebCore::PlatformBridge::clipboardReadHTML): 1856 (WebCore::PlatformBridge::clipboardWriteSelection): 1857 (WebCore::PlatformBridge::clipboardWritePlainText): 1858 (WebCore::PlatformBridge::clipboardWriteURL): 1859 (WebCore::PlatformBridge::clipboardWriteImage): 1860 (WebCore::PlatformBridge::clipboardWriteData): 1861 (WebCore::PlatformBridge::clipboardReadAvailableTypes): 1862 (WebCore::PlatformBridge::clipboardReadData): 1863 (WebCore::PlatformBridge::clipboardReadFilenames): 1864 (WebCore::PlatformBridge::setCookies): 1865 (WebCore::PlatformBridge::cookies): 1866 (WebCore::PlatformBridge::cookieRequestHeaderFieldValue): 1867 (WebCore::PlatformBridge::rawCookies): 1868 (WebCore::PlatformBridge::deleteCookie): 1869 (WebCore::PlatformBridge::cookiesEnabled): 1870 (WebCore::PlatformBridge::prefetchDNS): 1871 (WebCore::PlatformBridge::fileExists): 1872 (WebCore::PlatformBridge::deleteFile): 1873 (WebCore::PlatformBridge::deleteEmptyDirectory): 1874 (WebCore::PlatformBridge::getFileSize): 1875 (WebCore::PlatformBridge::revealFolderInOS): 1876 (WebCore::PlatformBridge::getFileModificationTime): 1877 (WebCore::PlatformBridge::directoryName): 1878 (WebCore::PlatformBridge::pathByAppendingComponent): 1879 (WebCore::PlatformBridge::makeAllDirectories): 1880 (WebCore::PlatformBridge::getAbsolutePath): 1881 (WebCore::PlatformBridge::isDirectory): 1882 (WebCore::PlatformBridge::filePathToURL): 1883 (WebCore::PlatformBridge::openFile): 1884 (WebCore::PlatformBridge::closeFile): 1885 (WebCore::PlatformBridge::seekFile): 1886 (WebCore::PlatformBridge::truncateFile): 1887 (WebCore::PlatformBridge::readFromFile): 1888 (WebCore::PlatformBridge::writeToFile): 1889 (WebCore::PlatformBridge::ensureFontLoaded): 1890 (WebCore::PlatformBridge::getFontFamilyForCharacters): 1891 (WebCore::PlatformBridge::getRenderStyleForStrike): 1892 (WebCore::PlatformBridge::loadFont): 1893 (WebCore::PlatformBridge::databaseOpenFile): 1894 (WebCore::PlatformBridge::databaseDeleteFile): 1895 (WebCore::PlatformBridge::databaseGetFileAttributes): 1896 (WebCore::PlatformBridge::databaseGetFileSize): 1897 (WebCore::PlatformBridge::idbFactory): 1898 (WebCore::PlatformBridge::idbShutdown): 1899 (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath): 1900 (WebCore::PlatformBridge::signedPublicKeyAndChallengeString): 1901 (WebCore::PlatformBridge::computedDefaultLanguage): 1902 (WebCore::PlatformBridge::layoutTestMode): 1903 (WebCore::PlatformBridge::isSupportedImageMIMEType): 1904 (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType): 1905 (WebCore::PlatformBridge::isSupportedNonImageMIMEType): 1906 (WebCore::PlatformBridge::mimeTypeForExtension): 1907 (WebCore::PlatformBridge::mimeTypeFromFile): 1908 (WebCore::PlatformBridge::preferredExtensionForMIMEType): 1909 (WebCore::PlatformBridge::plugins): 1910 (WebCore::PlatformBridge::pluginScriptableObject): 1911 (WebCore::PlatformBridge::loadPlatformImageResource): 1912 (WebCore::PlatformBridge::loadPlatformAudioResource): 1913 (WebCore::PlatformBridge::decodeAudioFileData): 1914 (WebCore::PlatformBridge::sandboxEnabled): 1915 (WebCore::PlatformBridge::setSharedTimerFiredFunction): 1916 (WebCore::PlatformBridge::setSharedTimerFireTime): 1917 (WebCore::PlatformBridge::stopSharedTimer): 1918 (WebCore::PlatformBridge::decrementStatsCounter): 1919 (WebCore::PlatformBridge::incrementStatsCounter): 1920 (WebCore::PlatformBridge::histogramCustomCounts): 1921 (WebCore::PlatformBridge::histogramEnumeration): 1922 (WebCore::PlatformBridge::suddenTerminationChanged): 1923 (WebCore::PlatformBridge::currentTime): 1924 (WebCore::PlatformBridge::paintButton): 1925 (WebCore::PlatformBridge::paintMenuList): 1926 (WebCore::PlatformBridge::paintScrollbarArrow): 1927 (WebCore::PlatformBridge::paintScrollbarThumb): 1928 (WebCore::PlatformBridge::paintScrollbarTrack): 1929 (WebCore::PlatformBridge::paintSpinButton): 1930 (WebCore::PlatformBridge::paintTextField): 1931 (WebCore::PlatformBridge::paintTrackbar): 1932 (WebCore::PlatformBridge::paintProgressBar): 1933 (WebCore::WebThemePart): 1934 (WebCore::WebThemeState): 1935 (WebCore::GetWebThemeExtraParams): 1936 (WebCore::PlatformBridge::getThemePartSize): 1937 (WebCore::PlatformBridge::paintThemePart): 1938 (WebCore::PlatformBridge::traceEventBegin): 1939 (WebCore::PlatformBridge::traceEventEnd): 1940 (WebCore::PlatformBridge::visitedLinkHash): 1941 (WebCore::PlatformBridge::isLinkVisited): 1942 (WebCore::PlatformBridge::notifyJSOutOfMemory): 1943 (WebCore::PlatformBridge::memoryUsageMB): 1944 (WebCore::PlatformBridge::actualMemoryUsageMB): 1945 (WebCore::PlatformBridge::screenDepth): 1946 (WebCore::PlatformBridge::screenDepthPerComponent): 1947 (WebCore::PlatformBridge::screenIsMonochrome): 1948 (WebCore::PlatformBridge::screenRect): 1949 (WebCore::PlatformBridge::screenAvailableRect): 1950 (WebCore::PlatformBridge::popupsAllowed): 1951 (WebCore::WorkerContextProxy::create): 1952 * src/ResourceHandle.cpp: 1953 (WebCore::ResourceHandle::cacheMetadata): 1954 * src/WebFrameImpl.cpp: 1955 (WebKit::WebFrameImpl::WebFrameImpl): 1956 (WebKit::WebFrameImpl::~WebFrameImpl): 1957 * src/WebViewImpl.cpp: 1958 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 1959 1960 2011-01-19 James Robinson <jamesr (a] chromium.org> 1961 1962 Unreviewed, rolling out r76194. 1963 http://trac.webkit.org/changeset/76194 1964 https://bugs.webkit.org/show_bug.cgi?id=51218 1965 1966 Caused mysterious compile failure on the chromium win 1967 build.webkit.org bots 1968 1969 * features.gypi: 1970 * public/WebWidget.h: 1971 * public/WebWidgetClient.h: 1972 * src/ChromeClientImpl.cpp: 1973 * src/ChromeClientImpl.h: 1974 * src/WebPopupMenuImpl.cpp: 1975 * src/WebPopupMenuImpl.h: 1976 * src/WebViewImpl.cpp: 1977 * src/WebViewImpl.h: 1978 1979 2011-01-19 James Robinson <jamesr (a] chromium.org> 1980 1981 Reviewed by Darin Fisher. 1982 1983 Implement mozilla's requestAnimationFrame API 1984 https://bugs.webkit.org/show_bug.cgi?id=51218 1985 1986 Chromium WebKit API support for window.webkitRequestAnimationFrame() 1987 1988 * features.gypi: 1989 * public/WebWidget.h: 1990 * public/WebWidgetClient.h: 1991 (WebKit::WebWidgetClient::scheduleAnimation): 1992 * src/ChromeClientImpl.cpp: 1993 (WebKit::ChromeClientImpl::scheduleAnimation): 1994 * src/ChromeClientImpl.h: 1995 * src/WebPopupMenuImpl.cpp: 1996 (WebKit::WebPopupMenuImpl::animate): 1997 (WebKit::WebPopupMenuImpl::scheduleAnimation): 1998 * src/WebPopupMenuImpl.h: 1999 * src/WebViewImpl.cpp: 2000 (WebKit::WebViewImpl::animate): 2001 * src/WebViewImpl.h: 2002 2003 2011-01-19 Tony Chang <tony (a] chromium.org> 2004 2005 Unreviewed, roll chromium deps to pick up fixes for the linux build. 2006 2007 * DEPS: 2008 2009 2011-01-19 Satish Sampath <satish (a] chromium.org> 2010 2011 Reviewed by Jeremy Orlow. 2012 2013 Send origin/url as part of speech input requests to the embedder. 2014 https://bugs.webkit.org/show_bug.cgi?id=52718 2015 2016 * public/WebSpeechInputController.h: 2017 (WebKit::WebSpeechInputController::startRecognition): Updated prototype. 2018 * src/SpeechInputClientImpl.cpp: 2019 (WebKit::SpeechInputClientImpl::startRecognition): Pass up additional origin parameter. 2020 * src/SpeechInputClientImpl.h: 2021 * src/WebSpeechInputControllerMockImpl.cpp: Updated code to pass additional parameter. 2022 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 2023 * src/WebSpeechInputControllerMockImpl.h: Added new variant of startRecognition method. 2024 2025 2011-01-19 Pavel Feldman <pfeldman (a] chromium.org> 2026 2027 Not reviewed: updating Chromium devtools sanity tests for downstream use. 2028 2029 * src/js/Tests.js: 2030 (.TestSuite.prototype._checkExecutionLine): 2031 2032 2011-01-18 Pavel Feldman <pfeldman (a] chromium.org> 2033 2034 Reviewed by Yury Semikhatsky. 2035 2036 Web Inspector: make InjectedScriptAccess API a part of Web Inspector protocol. 2037 https://bugs.webkit.org/show_bug.cgi?id=52652 2038 2039 Calls served by the InjectedScript should be first class protocol 2040 citizens, not dispatched via single protocol message. 2041 2042 * src/js/Tests.js: 2043 2044 2011-01-18 Victoria Kirst <vrk (a] chromium.org> 2045 2046 Reviewed by Kenneth Russell. 2047 2048 [chromium] Adding support for YV16 video frame formats. 2049 https://bugs.webkit.org/show_bug.cgi?id=52345 2050 2051 * src/VideoFrameChromiumImpl.cpp: 2052 (WebKit::VideoFrameChromiumImpl::requiredTextureSize): 2053 2054 2011-01-18 Adam Klein <adamk (a] chromium.org> 2055 2056 Reviewed by Darin Fisher. 2057 2058 [Chromium] Replace ChromiumBridge::widgetSetCursor with ChromeClient::setCursor 2059 https://bugs.webkit.org/show_bug.cgi?id=42236 2060 2061 * src/ChromeClientImpl.cpp: 2062 (WebKit::ChromeClientImpl::setCursor): 2063 * src/ChromeClientImpl.h: 2064 * src/ChromiumBridge.cpp: 2065 2066 2011-01-17 Nico Weber <thakis (a] chromium.org> 2067 2068 Unreviewed. 2069 2070 Roll chromium DEPS forward to pick up the skia roll to skia r692. 2071 https://bugs.webkit.org/show_bug.cgi?id=52600 2072 2073 * DEPS: 2074 2075 2011-01-17 Naoki Takano <takano.naoki (a] gmail.com> 2076 2077 Reviewed by Kent Tamura. 2078 2079 [Chromium] Fix popup menu re-positioning when the menu is opened upward, above the corresponding form field. 2080 https://bugs.webkit.org/show_bug.cgi?id=51382 2081 http://crbug.com/60427 2082 2083 Calculate correct location of popup window whenever the items in the window change. 2084 2085 No new tests, because this fix is for Chromium project and hard to test only in WebKit project 2086 2087 * WebKit/chromium/src/WebViewImpl.cpp: 2088 (WebKit::WebViewImpl::refreshAutoFillPopup): Change the logic in refreshAutoFilPopup() to check both the location and the size of popup window. 2089 2090 2011-01-17 Pavel Feldman <pfeldman (a] chromium.org> 2091 2092 Reviewed by Yury Semikhatsky. 2093 2094 Chromium: updated DevTools tests. 2095 2096 * src/js/Tests.js: 2097 (.TestSuite.prototype._waitForScriptPause): 2098 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts): 2099 (.TestSuite.prototype._waitUntilScriptsAreParsed): 2100 2101 2011-01-17 Adam Barth <abarth (a] webkit.org> 2102 2103 Update path to reflect new WebKit directory location. 2104 2105 * tests/WebFrameTest.cpp: 2106 (WebKit::WebFrameTest::registerMockedURLLoad): 2107 2108 2011-01-16 Kent Tamura <tkent (a] chromium.org> 2109 2110 Unreviewed, Chromium-linux build fix. 2111 2112 * gyp_webkit: Fix a relative path to the top directory. 2113 2114 2011-01-16 Adam Barth <abarth (a] webkit.org> 2115 2116 Roll Chromium DEPS to pick up the changes reflecting the new location 2117 of WebKit. 2118 2119 * DEPS: 2120 2121 2011-01-16 Adam Barth <abarth (a] webkit.org> 2122 2123 Rubber-stamped by Eric Seidel. 2124 2125 Move WebKit into Source 2126 https://bugs.webkit.org/show_bug.cgi?id=52530 2127 2128 * WebKit.grd: 2129 * WebKit.gyp: 2130 2131 2011-01-15 Jochen Eisinger <jochen (a] chromium.org> 2132 2133 Reviewed by David Levin. 2134 2135 [chromium] remove obsolete createView method 2136 https://bugs.webkit.org/show_bug.cgi?id=52437 2137 2138 * public/WebViewClient.h: 2139 (WebKit::WebViewClient::createView): 2140 2141 2011-01-14 Xiyuan Xia <xiyuan (a] chromium.org> 2142 2143 Reviewed by Darin Fisher. 2144 2145 Prepare Linux WebThemeEngine interface to support new theme parts. 2146 https://bugs.webkit.org/show_bug.cgi?id=52413 2147 2148 * public/linux/WebThemeEngine.h: 2149 2150 2011-01-14 Yuzo Fujishima <yuzo (a] google.com> 2151 2152 Reviewed by Antti Koivisto. 2153 2154 Rename cache() to memoryCache() 2155 https://bugs.webkit.org/show_bug.cgi?id=52433 2156 2157 * src/WebCache.cpp: 2158 (WebKit::WebCache::setCapacities): 2159 (WebKit::WebCache::clear): 2160 (WebKit::WebCache::getUsageStats): 2161 (WebKit::WebCache::getResourceTypeStats): 2162 2163 2011-01-14 Jochen Eisinger <jochen (a] chromium.org> 2164 2165 Unreviewed, roll chromium deps to r71432. 2166 2167 * DEPS: 2168 2169 2011-01-14 Adam Klein <adamk (a] chromium.org> 2170 2171 Reviewed by Darin Fisher. 2172 2173 [Chromium] Replace BackForwardListClient with BackForwardControllerClient/BackForwardList 2174 https://bugs.webkit.org/show_bug.cgi?id=42237 2175 2176 Replace Chromium-specific BackForwardListClient in WebCore with a Chromium impl 2177 of the BackForwardList interface. 2178 2179 * WebKit.gyp: 2180 * src/BackForwardListChromium.cpp: Copied from WebKit/chromium/src/BackForwardListClientImpl.cpp. 2181 (WebKit::BackForwardListChromium::create): 2182 (WebKit::BackForwardListChromium::BackForwardListChromium): 2183 (WebKit::BackForwardListChromium::~BackForwardListChromium): 2184 (WebKit::BackForwardListChromium::addItem): 2185 (WebKit::BackForwardListChromium::goToItem): 2186 (WebKit::BackForwardListChromium::itemAtIndex): 2187 (WebKit::BackForwardListChromium::backListCount): 2188 (WebKit::BackForwardListChromium::forwardListCount): 2189 (WebKit::BackForwardListChromium::isActive): 2190 (WebKit::BackForwardListChromium::close): 2191 * src/BackForwardListChromium.h: Copied from WebKit/chromium/src/BackForwardListClientImpl.h. 2192 * src/BackForwardListClientImpl.cpp: Removed. 2193 * src/BackForwardListClientImpl.h: Removed. 2194 * src/FrameLoaderClientImpl.cpp: 2195 * src/WebFrameImpl.cpp: 2196 (WebKit::WebFrameImpl::loadHistoryItem): 2197 (WebKit::WebFrameImpl::currentHistoryItem): 2198 * src/WebViewImpl.cpp: 2199 (WebKit::WebViewImpl::WebViewImpl): 2200 * src/WebViewImpl.h: 2201 2202 2011-01-14 Kent Tamura <tkent (a] chromium.org> 2203 2204 Reviewed by Darin Fisher. 2205 2206 [Chromium] WebKit API: Add a function for form interactive validation setting 2207 https://bugs.webkit.org/show_bug.cgi?id=52430 2208 2209 * public/WebSettings.h: Add a pure setInteractiveFormValidationEnabled(). 2210 * src/WebSettingsImpl.cpp: 2211 (WebKit::WebSettingsImpl::setInteractiveFormValidationEnabled): Implemented. 2212 * src/WebSettingsImpl.h: Add a declaration. 2213 2214 2011-01-14 Vincent Scheib <scheib (a] chromium.org> 2215 2216 Reviewed by David Levin. 2217 2218 Add support to DumpRenderTree to use the GPU rather than software renderer 2219 https://bugs.webkit.org/show_bug.cgi?id=52333 2220 2221 * DEPS: Moved forward to take required support from webkit_support.h 2222 * WebKit.gyp: DumpRenderTree depends on Angle on windows 2223 2224 2011-01-14 Finnur Thorarinsson <finnur.webkit (a] gmail.com> 2225 2226 Reviewed by Ojan Vafai. 2227 2228 Address some user-select-none issues better in our Find in page scoping 2229 function. 2230 2231 The scoping function is in part based on Editor::countMatchesForText 2232 (formerly Frame::markAllMatchesForText), but was rewritten with 2233 asychronous search and interruptability in mind. At the time the 2234 function was written, countMatchesForText didn't work well with 2235 user-select-none style but that has now changed. While 2236 investigating http://crbug.com/68494 I noticed WebKit had fixed this 2237 very problem in the countMatchesForText and I believe we should make 2238 the same changes in our platform code. Therefore, this changelist 2239 adopts the same approach by integrating: 2240 https://bugs.webkit.org/show_bug.cgi?id=33508 2241 (r53142: handling user-select-none better) and 2242 https://bugs.webkit.org/show_bug.cgi?id=51623 2243 (r74886: handling match within textfield better). 2244 For more details see those changelists. 2245 2246 This changelist, however, is tracked here: 2247 https://bugs.webkit.org/show_bug.cgi?id=52367 2248 2249 The original changelists did not come with layout tests, but I'm adding 2250 a test on the Chromium side for this. 2251 2252 * src/WebFrameImpl.cpp: 2253 (WebKit::WebFrameImpl::scopeStringMatches): 2254 2255 2011-01-14 Pavel Feldman <pfeldman (a] chromium.org> 2256 2257 Not reviewed: build fix. 2258 2259 * src/WebDevToolsAgentImpl.h: 2260 2261 2011-01-13 John Abd-El-Malek <jam (a] chromium.org> 2262 2263 Reviewed by Mihai Parparita. 2264 2265 [chromium] Fix minor type in plugin printing 2266 https://bugs.webkit.org/show_bug.cgi?id=52410 2267 2268 * src/WebFrameImpl.cpp: 2269 (WebKit::WebFrameImpl::printBegin): 2270 2271 2011-01-13 Adam Barth <abarth (a] webkit.org> 2272 2273 Reviewed by Eric Seidel. 2274 2275 Rename RGBA32Buffer to ImageFrame 2276 https://bugs.webkit.org/show_bug.cgi?id=52363 2277 2278 Update references to the new name. 2279 2280 * src/WebImageDecoder.cpp: 2281 (WebKit::WebImageDecoder::isFrameCompleteAtIndex): 2282 (WebKit::WebImageDecoder::getFrameAtIndex): 2283 2284 2011-01-13 John Abd-El-Malek <jam (a] chromium.org> 2285 2286 Reviewed by Tony Chang. 2287 2288 [chromium]: Only swallow ctrl+c for windowless plugins if we know the plugin has a selection 2289 https://bugs.webkit.org/show_bug.cgi?id=52393 2290 2291 * src/WebPluginContainerImpl.cpp: 2292 (WebKit::WebPluginContainerImpl::copy): 2293 (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 2294 2295 2011-01-11 John Abd-El-Malek <jam (a] chromium.org> 2296 2297 Reviewed by Darin Fisher. 2298 2299 [chromium] Add support to allow printing just a plugin in a frame 2300 https://bugs.webkit.org/show_bug.cgi?id=52134 2301 2302 * public/WebContextMenuData.h: 2303 * public/WebFrame.h: 2304 * src/ContextMenuClientImpl.cpp: 2305 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 2306 * src/WebFrameImpl.cpp: 2307 (WebKit::ChromePluginPrintContext::ChromePluginPrintContext): 2308 (WebKit::ChromePluginPrintContext::end): 2309 (WebKit::ChromePluginPrintContext::computePageRects): 2310 (WebKit::ChromePluginPrintContext::spoolPage): 2311 (WebKit::WebFrameImpl::printBegin): 2312 2313 2011-01-13 Tony Chang <tony (a] chromium.org> 2314 2315 Reviewed by Kent Tamura. 2316 2317 [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac 2318 https://bugs.webkit.org/show_bug.cgi?id=52332 2319 2320 * WebKit.gyp: Remove WebKitTestNetscapePlugIn 2321 2322 2011-01-12 Pavel Feldman <pfeldman (a] chromium.org> 2323 2324 Reviewed by Yury Semikhatsky. 2325 2326 Web Inspector: embed injected script into the backend. 2327 https://bugs.webkit.org/show_bug.cgi?id=52312 2328 2329 * WebKit.grd: 2330 2331 2011-01-12 Mihai Parparita <mihaip (a] chromium.org> 2332 2333 Reviewed by David Levin. 2334 2335 [Chromium] Remove PartScrollbarHoriztonalTrack 2336 https://bugs.webkit.org/show_bug.cgi?id=52329 2337 2338 Remove PartScrollbarHoriztonalTrack now that usages of it were removed 2339 with http://crrev.com/71249. 2340 2341 * DEPS: 2342 * public/linux/WebThemeEngine.h: 2343 2344 2010-12-29 Yury Semikhatsky <yurys (a] chromium.org> 2345 2346 Reviewed by Pavel Feldman. 2347 2348 inspector/timeline-network-resource.html fails when run twice 2349 https://bugs.webkit.org/show_bug.cgi?id=37394 2350 2351 Send didReceiveResponse notification to the timeline agent from ResourceLoadNotifier 2352 instead of ResourceLoader::didReceiveResponse to cover the cases when resources 2353 are loaded from memory cache. 2354 2355 Network notifications are now sent to InspectorInstrumentation which dispatches 2356 them to interested agents and InspectorController. 2357 2358 * src/SharedWorkerRepository.cpp: 2359 (WebCore::SharedWorkerScriptLoader::notifyFinished): 2360 * src/WebDevToolsAgentImpl.cpp: 2361 (WebKit::WebDevToolsAgentImpl::mainFrame): 2362 (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest): 2363 (WebKit::WebDevToolsAgentImpl::willSendRequest): 2364 (WebKit::WebDevToolsAgentImpl::didReceiveData): 2365 (WebKit::WebDevToolsAgentImpl::didReceiveResponse): 2366 (WebKit::WebDevToolsAgentImpl::didFinishLoading): 2367 (WebKit::WebDevToolsAgentImpl::didFailLoading): 2368 * src/WebDevToolsAgentImpl.h: 2369 2370 2011-01-11 Tony Chang <tony (a] chromium.org> 2371 2372 Reviewed by Eric Seidel. 2373 2374 [chromium] copy test netscape plugin into TestNetscapePlugin 2375 https://bugs.webkit.org/show_bug.cgi?id=52232 2376 2377 * WebKit.gyp: Make a copy of the TestNetscapePlugIn in 2378 TestNetscapePlugIn and WebKitTestNetscapePlugIn 2379 2380 2011-01-11 Kenneth Russell <kbr (a] google.com> 2381 2382 Reviewed by James Robinson. 2383 2384 [chromium] Move WebGraphicsContext3DDefaultImpl to Chromium repository 2385 https://bugs.webkit.org/show_bug.cgi?id=52235 2386 2387 Deleted WebGraphicsContext3DDefaultImpl, which has been moved to 2388 the Chromium repository under WebGraphicsContext3DInProcessImpl. 2389 Removed WebGraphicsContext3D::createDefault(). Rolled forward 2390 Chromium version to pick up needed changes. 2391 2392 Tested with build-webkit --chromium --debug and a run of the WebGL 2393 layout tests in DRT. 2394 2395 * DEPS: 2396 * WebKit.gyp: 2397 * public/WebGraphicsContext3D.h: 2398 * src/GraphicsContext3DChromium.cpp: 2399 * src/WebGraphicsContext3D.cpp: Removed. 2400 * src/WebGraphicsContext3DDefaultImpl.cpp: Removed. 2401 * src/WebGraphicsContext3DDefaultImpl.h: Removed. 2402 2403 2011-01-11 Pavel Feldman <pfeldman (a] chromium.org> 2404 2405 Reviewed by Yury Semikhatsky. 2406 2407 Chromium DevTools: get rid of APU-related code in WebKit/chromium. 2408 https://bugs.webkit.org/show_bug.cgi?id=52152 2409 2410 * src/WebDevToolsAgentImpl.cpp: 2411 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl): 2412 (WebKit::WebDevToolsAgentImpl::detach): 2413 (WebKit::WebDevToolsAgentImpl::frontendLoaded): 2414 (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): 2415 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend): 2416 * src/WebDevToolsAgentImpl.h: 2417 2418 2011-01-10 Adam Barth <abarth (a] webkit.org> 2419 2420 Reviewed by Darin Adler. 2421 2422 Introduce the notion of a "display-isolated" URL scheme for use by 2423 Chrome-internal URLs 2424 https://bugs.webkit.org/show_bug.cgi?id=50182 2425 2426 This patch adds a Chromium API for registering schemes as 2427 display-isolated. In a subsequent patch, I'll change the "chrome" 2428 scheme in Chrome to be display isolated instead of local. That will 2429 prevent file URLs from linking to chrome URLs. 2430 2431 * public/WebSecurityPolicy.h: 2432 * src/WebSecurityPolicy.cpp: 2433 (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated): 2434 2435 2011-01-10 John Abd-El-Malek <jam (a] chromium.org> 2436 2437 Reviewed by James Robinson. 2438 2439 [chromium] Call WebAutoFillClient instead of WebViewClient for autofill related callbacks 2440 https://bugs.webkit.org/show_bug.cgi?id=52169 2441 2442 * public/WebView.h: 2443 * public/WebViewClient.h: 2444 (WebKit::WebViewClient::didUpdateInspectorSetting): 2445 * src/AutoFillPopupMenuClient.cpp: 2446 (WebKit::AutoFillPopupMenuClient::valueChanged): 2447 (WebKit::AutoFillPopupMenuClient::selectionChanged): 2448 (WebKit::AutoFillPopupMenuClient::selectionCleared): 2449 (WebKit::AutoFillPopupMenuClient::popupDidHide): 2450 * src/EditorClientImpl.cpp: 2451 (WebKit::EditorClientImpl::textFieldDidBeginEditing): 2452 (WebKit::EditorClientImpl::textFieldDidEndEditing): 2453 (WebKit::EditorClientImpl::textDidChangeInTextField): 2454 (WebKit::EditorClientImpl::doAutofill): 2455 (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted): 2456 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent): 2457 * src/WebViewImpl.cpp: 2458 (WebKit::WebView::create): 2459 (WebKit::WebViewImpl::WebViewImpl): 2460 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): 2461 * src/WebViewImpl.h: 2462 (WebKit::WebViewImpl::autoFillClient): 2463 * src/WebWorkerBase.cpp: 2464 (WebKit::WebWorkerBase::initializeLoader): 2465 2466 2011-01-10 John Knottenbelt <jknotten (a] chromium.org> 2467 2468 Reviewed by Jeremy Orlow. 2469 2470 [Chromium] Remove non-client-based Geolocation code 2471 https://bugs.webkit.org/show_bug.cgi?id=50921 2472 2473 * WebKit.gyp: 2474 * public/WebGeolocationService.h: Removed. 2475 * public/WebGeolocationServiceBridge.h: Removed. 2476 * public/WebGeolocationServiceMock.h: Removed. 2477 * src/AssertMatchingEnums.cpp: 2478 * src/ChromeClientImpl.cpp: 2479 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame): 2480 (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame): 2481 * src/ChromiumBridge.cpp: 2482 * src/WebGeolocationServiceBridgeImpl.cpp: Removed. 2483 * src/WebGeolocationServiceBridgeImpl.h: Removed. 2484 * src/WebGeolocationServiceMock.cpp: Removed. 2485 * src/WebViewImpl.cpp: 2486 (WebKit::WebViewImpl::WebViewImpl): 2487 * src/WebViewImpl.h: 2488 2489 2011-01-09 Johnny Ding <jnd (a] chromium.org> 2490 2491 Unreviewed, fix Chromium windows compilation error according to James Robinson's report. 2492 2493 https://bugs.webkit.org/show_bug.cgi?id=41441 2494 Fix Chromium window compilation error. 2495 2496 * public/WebViewClient.h: 2497 (WebKit::WebViewClient::createView): 2498 2499 2011-01-09 Xianzhu Wang <phnixwxz (a] gmail.com> 2500 2501 Reviewed by Darin Fisher. 2502 2503 https://bugs.webkit.org/show_bug.cgi?id=41441 2504 createWindow method should only do window-creating without URL navigation. 2505 Pass URL request to createView. 2506 2507 * public/WebViewClient.h: 2508 (WebKit::WebViewClient::createView): 2509 * src/ChromeClientImpl.cpp: 2510 (WebKit::ChromeClientImpl::createWindow): 2511 2512 2011-01-08 Adam Barth <abarth (a] webkit.org> 2513 2514 Update Chromium DEPS to pickup new GYP files. 2515 2516 * DEPS: 2517 2518 2011-01-07 Adam Barth <abarth (a] webkit.org> 2519 2520 Rubber-stamped by Eric Seidel. 2521 2522 Move WebCore to Source 2523 https://bugs.webkit.org/show_bug.cgi?id=52050 2524 2525 Update references to WebCore. 2526 2527 * WebKit.grd: 2528 * WebKit.gyp: 2529 2530 2011-01-07 Mihai Parparita <mihaip (a] chromium.org> 2531 2532 Reviewed by Darin Fisher. 2533 2534 [Chromium] Scrollbar code cleanup 2535 https://bugs.webkit.org/show_bug.cgi?id=52073 2536 2537 Scrollbar code cleanup: 2538 - Fix typo in Linux scrollbar enum name 2539 2540 * public/linux/WebThemeEngine.h: 2541 * src/ChromiumBridge.cpp: 2542 (WebCore::WebThemePart): 2543 (WebCore::GetWebThemeExtraParams): 2544 2545 2011-01-07 James Robinson <jamesr (a] chromium.org> 2546 2547 Revert "Implement mozilla's animationTime property" 2548 https://bugs.webkit.org/show_bug.cgi?id=51952 2549 2550 This approach isn't quite right. 2551 2552 * public/WebWidget.h: 2553 * src/WebPopupMenuImpl.cpp: 2554 * src/WebPopupMenuImpl.h: 2555 * src/WebViewImpl.cpp: 2556 * src/WebViewImpl.h: 2557 2558 2011-01-05 Zhenyao Mo <zmo (a] google.com> 2559 2560 Reviewed by Kenneth Russell. 2561 2562 Define GC3D types to match GL types and use them in GraphicsContext3D 2563 https://bugs.webkit.org/show_bug.cgi?id=45557 2564 2565 * src/GraphicsContext3DChromium.cpp: 2566 (WebCore::GraphicsContext3DInternal::bindAttribLocation): 2567 (WebCore::GraphicsContext3DInternal::bufferData): 2568 (WebCore::GraphicsContext3DInternal::bufferSubData): 2569 (WebCore::GraphicsContext3DInternal::getActiveAttrib): 2570 (WebCore::GraphicsContext3DInternal::getActiveUniform): 2571 (WebCore::GraphicsContext3DInternal::getAttribLocation): 2572 (WebCore::GraphicsContext3DInternal::getString): 2573 (WebCore::GraphicsContext3DInternal::getUniformLocation): 2574 (WebCore::GraphicsContext3DInternal::texImage2D): 2575 (WebCore::GraphicsContext3DInternal::texSubImage2D): 2576 (WebCore::GraphicsContext3DInternal::uniform1fv): 2577 (WebCore::GraphicsContext3DInternal::uniform1iv): 2578 (WebCore::GraphicsContext3DInternal::uniform2fv): 2579 (WebCore::GraphicsContext3DInternal::uniform2iv): 2580 (WebCore::GraphicsContext3DInternal::uniform3fv): 2581 (WebCore::GraphicsContext3DInternal::uniform3iv): 2582 (WebCore::GraphicsContext3DInternal::uniform4fv): 2583 (WebCore::GraphicsContext3DInternal::uniform4iv): 2584 (WebCore::GraphicsContext3DInternal::uniformMatrix2fv): 2585 (WebCore::GraphicsContext3DInternal::uniformMatrix3fv): 2586 (WebCore::GraphicsContext3DInternal::uniformMatrix4fv): 2587 * src/GraphicsContext3DInternal.h: 2588 2589 2011-01-06 James Simonsen <simonjam (a] chromium.org> 2590 2591 Reviewed by Darin Fisher. 2592 2593 [Web Timing] Remove vendor prefix 2594 https://bugs.webkit.org/show_bug.cgi?id=48922 2595 2596 * src/WebFrameImpl.cpp: 2597 (WebKit::WebFrameImpl::performance): Rename to performance. 2598 2599 2011-01-06 James Robinson <jamesr (a] chromium.org> 2600 2601 Reviewed by Simon Fraser. 2602 2603 Implement mozilla's animationTime property 2604 https://bugs.webkit.org/show_bug.cgi?id=51952 2605 2606 WebKit API support for webkitAnimationTime. 2607 2608 * public/WebWidget.h: 2609 * src/WebPopupMenuImpl.cpp: 2610 (WebKit::WebPopupMenuImpl::clearCurrentAnimationTime): 2611 * src/WebPopupMenuImpl.h: 2612 * src/WebViewImpl.cpp: 2613 (WebKit::WebViewImpl::clearCurrentAnimationTime): 2614 * src/WebViewImpl.h: 2615 2616 2010-12-29 John Abd-El-Malek <jam (a] chromium.org> 2617 2618 Reviewed by Darin Fisher. 2619 2620 [chromium] Add a WebAutoFillClient interface that moves some functions from WebViewClient 2621 https://bugs.webkit.org/show_bug.cgi?id=51710 2622 2623 * WebKit.gyp: 2624 * public/WebAutoFillClient.h: Added. 2625 (WebKit::WebAutoFillClient::didAcceptAutoFillSuggestion): 2626 (WebKit::WebAutoFillClient::didSelectAutoFillSuggestion): 2627 (WebKit::WebAutoFillClient::didClearAutoFillSelection): 2628 (WebKit::WebAutoFillClient::removeAutocompleteSugestion): 2629 (WebKit::WebAutoFillClient::didAcceptAutocompleteSuggestion): 2630 (WebKit::WebAutoFillClient::textFieldDidBeginEditing): 2631 (WebKit::WebAutoFillClient::textFieldDidEndEditing): 2632 (WebKit::WebAutoFillClient::textFieldDidChange): 2633 (WebKit::WebAutoFillClient::textFieldDidReceiveKeyDown): 2634 (WebKit::WebAutoFillClient::~WebAutoFillClient): 2635 2636 2011-01-05 Chris Rogers <crogers (a] google.com> 2637 2638 Reviewed by Darin Fisher. 2639 2640 Add WebKitClient::createAudioDevice() for Chromium port of web audio API 2641 https://bugs.webkit.org/show_bug.cgi?id=51424 2642 2643 * WebKit.gyp: 2644 * public/WebAudioDevice.h: Added. 2645 (WebKit::WebAudioDevice::RenderCallback::~RenderCallback): 2646 (WebKit::WebAudioDevice::~WebAudioDevice): 2647 * public/WebKitClient.h: 2648 (WebKit::WebKitClient::createAudioDevice): 2649 * src/AudioDestinationChromium.cpp: Added. 2650 (WebCore::AudioDestination::create): 2651 (WebCore::AudioDestinationChromium::AudioDestinationChromium): 2652 (WebCore::AudioDestinationChromium::~AudioDestinationChromium): 2653 (WebCore::AudioDestinationChromium::start): 2654 (WebCore::AudioDestinationChromium::stop): 2655 (WebCore::AudioDestination::hardwareSampleRate): 2656 (WebCore::AudioDestinationChromium::render): 2657 * src/AudioDestinationChromium.h: Added. 2658 (WebCore::AudioDestinationChromium::isPlaying): 2659 (WebCore::AudioDestinationChromium::sampleRate): 2660 2661 2011-01-05 David Levin <levin (a] chromium.org> 2662 2663 Reviewed by Darin Fisher. 2664 2665 [chromium] WEBKIT_API and styling fixes for the chromium api. 2666 https://bugs.webkit.org/show_bug.cgi?id=51863 2667 2668 Removed some incorrect uses of WEBKIT_API. 2669 Fixed some abbreviations by making them whole words. 2670 2671 * public/WebAnimationController.h: Removed WEBKIT_API from virtual functions. 2672 * public/WebFormElement.h: Removed WEBKIT_API from inline functions 2673 and fixed some abbreviations. 2674 (WebKit::WebFormElement::WebFormElement): 2675 (WebKit::WebFormElement::operator=): 2676 (WebKit::WebFormElement::assign): 2677 * public/WebIDBDatabaseError.h: Ditto. 2678 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError): 2679 (WebKit::WebIDBDatabaseError::operator=): 2680 * public/WebInputElement.h: Ditto. 2681 (WebKit::WebInputElement::WebInputElement): 2682 (WebKit::WebInputElement::operator=): 2683 (WebKit::WebInputElement::assign): 2684 * public/WebLabelElement.h: Ditto. 2685 (WebKit::WebLabelElement::WebLabelElement): 2686 (WebKit::WebLabelElement::operator=): 2687 (WebKit::WebLabelElement::assign): 2688 * public/WebOptionElement.h: Ditto. 2689 (WebKit::WebOptionElement::WebOptionElement): 2690 (WebKit::WebOptionElement::operator=): 2691 (WebKit::WebOptionElement::assign): 2692 * public/WebSelectElement.h: Ditto (and minor spacing cleanup). 2693 (WebKit::WebSelectElement::WebSelectElement): 2694 (WebKit::WebSelectElement::operator=): 2695 (WebKit::WebSelectElement::assign): 2696 2697 2011-01-05 Hans Wennborg <hans (a] chromium.org> 2698 2699 Reviewed by David Levin. 2700 2701 [Chromium] WebIDBKey clean-up 2702 https://bugs.webkit.org/show_bug.cgi?id=51925 2703 2704 Remove constructors that are no longer used since the 2705 Chromium side has been updated. 2706 2707 * public/WebIDBKey.h: 2708 2709 2011-01-04 Darin Fisher <darin (a] chromium.org> 2710 2711 Reviewed by David Levin. 2712 2713 Update README file with a description of the WEBKIT_API macro and 2714 guidelines for its usage. Also document the various WEBKIT_USING_* 2715 macros. 2716 2717 https://bugs.webkit.org/show_bug.cgi?id=51880 2718 2719 * README: 2720 2721 2011-01-04 Evan Martin <evan (a] chromium.org> 2722 2723 Reviewed by Tony Chang. 2724 2725 [chromium] depend on harfbuzz explicitly 2726 https://bugs.webkit.org/show_bug.cgi?id=51895 2727 2728 Update Chromium DEPS to pick up newer Chromium version 2729 that simplifies expressing the Harfbuzz dependency. 2730 2731 * DEPS: 2732 2733 2011-01-04 Zhe Su <suzhe (a] chromium.org> 2734 2735 Reviewed by Kenneth Russell. 2736 2737 Changes: 2738 1. Add WebKit::WebWidget::confirmComposition(const WebString& text) 2739 This new method corresponds to Editor::confirmComposition(text) and 2740 Editor::insertText(text). It'll be used by both DumpRenderTree's 2741 TextInputController and chromium browser. 2742 2. Fix WebFrameImpl::insertText 2743 It should call Editor::confirmComposition(text) rather than 2744 Editor::insertText(text) if there is an ongoing composition. 2745 It matches the behavior of WebKit Mac port. 2746 3. Fix WebFrameImpl::setMarkedText 2747 Editor::confirmComposition(text) shouldn't be called in this 2748 method, which incorrectly inserts the text. 2749 2750 https://bugs.webkit.org/show_bug.cgi?id=51693 2751 2752 * public/WebWidget.h: 2753 * src/WebFrameImpl.cpp: 2754 (WebKit::WebFrameImpl::insertText): 2755 (WebKit::WebFrameImpl::setMarkedText): 2756 * src/WebPopupMenuImpl.cpp: 2757 (WebKit::WebPopupMenuImpl::confirmComposition): 2758 * src/WebPopupMenuImpl.h: 2759 * src/WebViewImpl.cpp: 2760 (WebKit::WebViewImpl::confirmComposition): 2761 * src/WebViewImpl.h: 2762 * tests/PopupMenuTest.cpp: 2763 (WebKit::TestWebWidget::confirmComposition): 2764 2765 2011-01-03 Daniel Bates <dbates (a] rim.com> 2766 2767 Attempt to fix the Chromium Linux Release build after changeset 74895 <http://trac.webkit.org/changeset/74895>. 2768 2769 The portion of the patch in <https://bugs.webkit.org/show_bug.cgi?id=51791> that modified the 2770 file src/WebSearchableFormData.cpp was not landed (why?). Although the change log entry 2771 associated with this change was landed. 2772 2773 * src/WebSearchableFormData.cpp: 2774 (HTMLNames::IsInDefaultState): 2775 2776 2011-01-02 Dirk Schulze <krit (a] webkit.org> 2777 2778 Reviewed by Simon Fraser. 2779 2780 Clarify ImageBuffer and ImageData relationship 2781 https://bugs.webkit.org/show_bug.cgi?id=51297 2782 2783 Use ByteArray instead of ImageData. 2784 2785 * src/WebViewImpl.cpp: 2786 (WebKit::WebViewImpl::doPixelReadbackToCanvas): 2787 2788 2011-01-01 Adam Barth <abarth (a] webkit.org> 2789 2790 Reviewed by Eric Seidel. 2791 2792 Move JavaScriptCore to Source 2793 https://bugs.webkit.org/show_bug.cgi?id=51604 2794 2795 * WebKit.gyp: 2796 - Point to JavaScriptCore in its new location. 2797 2798 2010-12-30 Mihai Parparita <mihaip (a] chromium.org> 2799 2800 Reviewed by Kent Tamura. 2801 2802 [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's 2803 https://bugs.webkit.org/show_bug.cgi?id=51728 2804 2805 Roll DEPS to pick up WebThemeEngine changes. 2806 2807 * DEPS: 2808 2809 2010-12-29 Sheriff Bot <webkit.review.bot (a] gmail.com> 2810 2811 Unreviewed, rolling out r74735. 2812 http://trac.webkit.org/changeset/74735 2813 https://bugs.webkit.org/show_bug.cgi?id=51715 2814 2815 assert failures on fast/forms/input-maxlength-ime- 2816 completed.html (Requested by mihaip on #webkit). 2817 2818 * src/WebFrameImpl.cpp: 2819 (WebKit::WebFrameImpl::setMarkedText): 2820 2821 2010-12-29 Zhe Su <suzhe (a] chromium.org> 2822 2823 Reviewed by Eric Seidel. 2824 2825 Fix editing/input/ime-composition-clearpreedit.html test in chromium 2826 by removing the line "editor->confirmComposition(text);" from 2827 WebFrameImpl::setMarkedText() method, because that line will insert the 2828 text into the focused node, which is apparently wrong. 2829 2830 https://bugs.webkit.org/show_bug.cgi?id=51693 2831 2832 * src/WebFrameImpl.cpp: 2833 (WebKit::WebFrameImpl::setMarkedText): 2834 2835 2010-12-23 Zhenyao Mo <zmo (a] google.com> 2836 2837 Reviewed by Kenneth Russell. 2838 2839 Initialize to 0 for undefined values in CopyTexImage2D 2840 https://bugs.webkit.org/show_bug.cgi?id=51421 2841 2842 * src/GraphicsContext3DChromium.cpp: Implement getInternalFramebufferSize(). 2843 (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize): 2844 * src/GraphicsContext3DInternal.h: 2845 2846 2010-12-23 Sheriff Bot <webkit.review.bot (a] gmail.com> 2847 2848 Unreviewed, rolling out r74561. 2849 http://trac.webkit.org/changeset/74561 2850 https://bugs.webkit.org/show_bug.cgi?id=51565 2851 2852 "Broke Chromium UI tests on Vista" (Requested by kbr_google on 2853 #webkit). 2854 2855 * src/GraphicsContext3DChromium.cpp: 2856 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 2857 2858 2010-12-23 Mihai Parparita <mihaip (a] chromium.org> 2859 2860 Reviewed by Kent Tamura. 2861 2862 [Chromium] Add WebThemeEngine for Mac to allow scrollbar rendering to be overridden for the DRT 2863 https://bugs.webkit.org/show_bug.cgi?id=51507 2864 2865 Adds WebThemeEngine for the Mac (it already has parallel definitions for 2866 Windows and Linux) so that scrollbar thumb rendering can be overridden 2867 for the DRT (to be consistent with the NSScroller-based rendering 2868 used by the Mac port). 2869 2870 * public/mac/WebThemeEngine.h: Added. 2871 (WebKit::WebThemeEngine::paintScrollbarThumb): 2872 * src/AssertMatchingEnums.cpp: 2873 * src/ChromiumBridge.cpp: 2874 (WebCore::ChromiumBridge::paintScrollbarThumb): 2875 2876 2010-12-23 Sam Weinig <sam (a] webkit.org> 2877 2878 Fix build. 2879 2880 * src/FrameLoaderClientImpl.cpp: 2881 (WebKit::FrameLoaderClientImpl::didSaveToPageCache): 2882 (WebKit::FrameLoaderClientImpl::didRestoreFromPageCache): 2883 2884 2010-12-22 Sam Weinig <sam (a] webkit.org> 2885 2886 Reviewed by Darin Adler. 2887 2888 WebKit2 needs to mirror the frame tree in the UIProcess 2889 https://bugs.webkit.org/show_bug.cgi?id=51546 2890 2891 - Add client functions to notify that a frame has been added or 2892 removed from the page cache. 2893 2894 * src/FrameLoaderClientImpl.cpp: 2895 (WebKit::WebFrameLoaderClientImpl::didSaveToPageCache): 2896 (WebKit::WebFrameLoaderClientImpl::didRestoreFromPageCache): 2897 * src/FrameLoaderClientImpl.h: 2898 2899 2010-12-20 Adrienne Walker <enne (a] google.com> 2900 2901 Reviewed by Kenneth Russell. 2902 2903 [chromium] Tile root layer of the compositor. 2904 https://bugs.webkit.org/show_bug.cgi?id=49947 2905 2906 Refactor root layer logic out of WebViewImpl and into 2907 LayerTilerChromium. The painting is now done through an interface 2908 rather than directly in WebViewImpl. 2909 2910 * src/WebViewImpl.cpp: 2911 (WebKit::WebViewImpl::scrollRootLayerRect): 2912 (WebKit::WebViewImpl::invalidateRootLayerRect): 2913 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 2914 (WebKit::WebViewImplTilePaintInterface::WebViewImplTilePaintInterface): 2915 (WebKit::WebViewImplTilePaintInterface::paint): 2916 (WebKit::WebViewImplScrollbarPaintInterface::WebViewImplScrollbarPaintInterface): 2917 (WebKit::WebViewImplScrollbarPaintInterface::paint): 2918 (WebKit::WebViewImpl::doComposite): 2919 * src/WebViewImpl.h: 2920 2921 2010-12-22 Ryosuke Niwa <rniwa (a] webkit.org> 2922 2923 Reviewed by Eric Seidel. 2924 2925 Editor.h doesn't need to include SelectionController.h 2926 https://bugs.webkit.org/show_bug.cgi?id=51441 2927 2928 Renamed SelectionController::EDirection to SelectionDirection. 2929 2930 * src/WebFrameImpl.cpp: 2931 (WebKit::WebFrameImpl::executeCommand): 2932 2933 2010-12-23 W. James MacLean <wjmaclean (a] chromium.org> 2934 2935 Reviewed by Kenneth Russell. 2936 2937 [chromium] Add asserts to test for contiguous-pixel Skia bitmaps. 2938 https://bugs.webkit.org/show_bug.cgi?id=51186 2939 2940 Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated. 2941 2942 * src/GraphicsContext3DChromium.cpp: 2943 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 2944 2945 2010-12-22 Sheriff Bot <webkit.review.bot (a] gmail.com> 2946 2947 Unreviewed, rolling out r74503. 2948 http://trac.webkit.org/changeset/74503 2949 https://bugs.webkit.org/show_bug.cgi?id=51513 2950 2951 breaks chromium mac debug compile (Requested by tonyg-cr on 2952 #webkit). 2953 2954 * src/GraphicsContext3DChromium.cpp: 2955 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 2956 2957 2010-12-22 W. James MacLean <wjmaclean (a] chromium.org> 2958 2959 Reviewed by Kenneth Russell. 2960 2961 [chromium] Add asserts to test for contiguous-pixel Skia bitmaps. 2962 https://bugs.webkit.org/show_bug.cgi?id=51186 2963 2964 Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated. 2965 2966 * src/GraphicsContext3DChromium.cpp: 2967 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 2968 2969 2010-12-21 Zhenyao Mo <zmo (a] google.com> 2970 2971 Reviewed by Kenneth Russell. 2972 2973 WebGLRenderingContext needs to zero textures and renderbuffers 2974 https://bugs.webkit.org/show_bug.cgi?id=49355 2975 2976 * src/WebGraphicsContext3DDefaultImpl.cpp: 2977 (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D): Generate an INVALID_VALUE if pixels==null is passed in. 2978 2979 2010-12-20 Andrei Popescu <andreip (a] google.com> 2980 2981 Reviewed by Jeremy Orlow. 2982 2983 IDBCursor::delete is not implemented. 2984 https://bugs.webkit.org/show_bug.cgi?id=51110 2985 2986 * public/WebIDBCursor.h: 2987 (WebKit::WebIDBCursor::remove): 2988 (WebKit::WebIDBCursor::deleteFunction): 2989 * src/IDBCursorBackendProxy.cpp: 2990 (WebCore::IDBCursorBackendProxy::deleteFunction): 2991 * src/IDBCursorBackendProxy.h: 2992 * src/WebIDBCursorImpl.cpp: 2993 (WebKit::WebIDBCursorImpl::deleteFunction): 2994 * src/WebIDBCursorImpl.h: 2995 2996 2010-12-18 Tony Gentilcore <tonyg (a] chromium.org> 2997 2998 Reviewed by Laszlo Gombos. 2999 3000 [Web Timing] Rename domContentLoaded{Start,End}->domContentLoadedEvent{Start,End} 3001 https://bugs.webkit.org/show_bug.cgi?id=50943 3002 3003 Exposes all dom* times to the chromium port. I'm particularly interested in 3004 domContentLoadedEventEnd as it compares to the FinishDoc metric. 3005 3006 * public/WebPerformance.h: 3007 * src/WebPerformance.cpp: 3008 (WebKit::WebPerformance::domLoading): 3009 (WebKit::WebPerformance::domInteractive): 3010 (WebKit::WebPerformance::domContentLoadedEventStart): 3011 (WebKit::WebPerformance::domContentLoadedEventEnd): 3012 (WebKit::WebPerformance::domComplete): 3013 3014 2010-12-17 Tony Gentilcore <tonyg (a] chromium.org> 3015 3016 Unreviewed, build fix. 3017 3018 Add WebKitTools -> Tools rename that got missed. 3019 3020 * WebKit.gyp: 3021 3022 2010-12-17 Dirk Pranke <dpranke (a] chromium.org> 3023 3024 Unreviewed, build fix. 3025 3026 Add WebKitTools -> Tools rename that got missed. 3027 3028 * WebKit.gyp: 3029 3030 2010-12-17 John Knottenbelt <jknotten (a] chromium.org> 3031 3032 Reviewed by Jeremy Orlow. 3033 3034 Fix test failures where NULL GeolocationClient is provided 3035 https://bugs.webkit.org/show_bug.cgi?id=51256 3036 3037 * src/GeolocationClientProxy.cpp: 3038 (WebKit::GeolocationClientProxy::geolocationDestroyed): 3039 3040 2010-12-17 Hans Wennborg <hans (a] chromium.org> 3041 3042 Reviewed by Jeremy Orlow. 3043 3044 IndexedDB: Support Date objects as keys. 3045 https://bugs.webkit.org/show_bug.cgi?id=51193 3046 3047 Update to match the underlying WebCore IDBKey class: 3048 add the DateType, add create() functions for each type, 3049 deprecate the public constructors (will be removed once 3050 Chromium side is updated). 3051 3052 * public/WebIDBKey.h: 3053 (WebKit::WebIDBKey::WebIDBKey): 3054 * src/AssertMatchingEnums.cpp: 3055 * src/WebIDBKey.cpp: 3056 (WebKit::WebIDBKey::createString): 3057 (WebKit::WebIDBKey::createDate): 3058 (WebKit::WebIDBKey::createNumber): 3059 (WebKit::WebIDBKey::assignNull): 3060 (WebKit::WebIDBKey::assignString): 3061 (WebKit::WebIDBKey::assignDate): 3062 (WebKit::WebIDBKey::assignNumber): 3063 (WebKit::WebIDBKey::date): 3064 3065 2010-12-17 James Simonsen <simonjam (a] chromium.org> 3066 3067 Reviewed by Darin Fisher. 3068 3069 [Web Timing] Navigation type enums should begin with TYPE_ 3070 https://bugs.webkit.org/show_bug.cgi?id=51200 3071 3072 * src/WebPerformance.cpp: 3073 (WebKit::WebPerformance::navigationType): Added TYPE_ to navigation types. 3074 3075 2010-12-16 John Knottenbelt <jknotten (a] chromium.org> 3076 3077 Reviewed by Jeremy Orlow. 3078 3079 Enable client-based geolocation in Chromium 3080 https://bugs.webkit.org/show_bug.cgi?id=50562 3081 3082 * features.gypi: 3083 3084 2010-12-16 Hans Wennborg <hans (a] chromium.org> 3085 3086 Reviewed by Jeremy Orlow. 3087 3088 IndexedDB: Fix IDBDatabaseError code offset bug 3089 https://bugs.webkit.org/show_bug.cgi?id=51177 3090 3091 WebIDBDatabaseError must use the 3092 IDBDatabaseError::createWithoutOffset() function. 3093 3094 * src/WebIDBDatabaseError.cpp: 3095 (WebKit::WebIDBDatabaseError::assign): 3096 3097 2010-12-15 Chris Guillory <chris.guillory (a] google.com> 3098 3099 Reviewed by Darin Fisher. 3100 3101 Expose AccessibilityObject::url() to Chromium 3102 https://bugs.webkit.org/show_bug.cgi?id=51046 3103 3104 * public/WebAccessibilityObject.h: 3105 * src/WebAccessibilityObject.cpp: 3106 (WebKit::WebAccessibilityObject::url): 3107 3108 2010-12-14 Darin Fisher <darin (a] chromium.org> 3109 3110 Reviewed by Dimitri Glazkov. 3111 3112 [chromium] AssociatedURLLoader leaks m_realLoader to its WebURLLoaderClient. 3113 https://bugs.webkit.org/show_bug.cgi?id=51062 3114 3115 * src/AssociatedURLLoader.cpp: Intercept WebURLLoaderClient methods and 3116 forward |this| as the WebURLLoader parameter. 3117 (WebKit::AssociatedURLLoader::AssociatedURLLoader): 3118 (WebKit::AssociatedURLLoader::loadSynchronously): 3119 (WebKit::AssociatedURLLoader::loadAsynchronously): 3120 (WebKit::AssociatedURLLoader::willSendRequest): 3121 (WebKit::AssociatedURLLoader::didSendData): 3122 (WebKit::AssociatedURLLoader::didReceiveResponse): 3123 (WebKit::AssociatedURLLoader::didDownloadData): 3124 (WebKit::AssociatedURLLoader::didReceiveData): 3125 (WebKit::AssociatedURLLoader::didReceiveCachedMetadata): 3126 (WebKit::AssociatedURLLoader::didFinishLoading): 3127 (WebKit::AssociatedURLLoader::didFail): 3128 * src/AssociatedURLLoader.h: 3129 3130 2010-12-14 Mihai Parparita <mihaip (a] chromium.org> 3131 3132 Reviewed by Dimitri Glazkov. 3133 3134 Move asynchronous event dispatching out of Document 3135 https://bugs.webkit.org/show_bug.cgi?id=49785 3136 3137 Change enqueueEvent callsite. 3138 3139 * src/StorageAreaProxy.cpp: 3140 (WebCore::StorageAreaProxy::storageEvent): 3141 3142 2010-12-13 Mike Lawther <mikelawther (a] chromium.org> 3143 3144 Reviewed by James Robinson. 3145 3146 Update chromium DEPS to pull in latest Skia 3147 https://bugs.webkit.org/show_bug.cgi?id=50984 3148 3149 Roll to revision that pulled in Skia r632 (http://src.chromium.org/viewvc/chrome?view=rev&revision=68558) 3150 3151 * DEPS: 3152 3153 2010-12-13 David Holloway <dhollowa (a] chromium.org> 3154 3155 Reviewed by Eric Seidel. 3156 3157 [chromium] Removes deprecated logic following the consolidation of AutoFill and 3158 Autocomplete popup menu handling (https://bugs.webkit.org/show_bug.cgi?id=41236). 3159 Filling of the form fields is now handled completely on the Chromium side, for 3160 both AutoFill and Autocomplete. 3161 3162 https://bugs.webkit.org/show_bug.cgi?id=41822 3163 3164 * public/WebView.h: 3165 * src/AutoFillPopupMenuClient.cpp: 3166 (WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient): 3167 (WebKit::AutoFillPopupMenuClient::valueChanged): 3168 * src/AutoFillPopupMenuClient.h: 3169 * src/WebViewImpl.cpp: 3170 (WebKit::WebViewImpl::applyAutoFillSuggestions): 3171 * src/WebViewImpl.h: 3172 3173 2010-12-13 Yury Semikhatsky <yurys (a] chromium.org> 3174 3175 Unreviewed. Rollout 73914, 73915, 73917, 73920 and 73921. 3176 3177 REGRESSION(r73914): "Chromium page_cycler_morejs fails" (Requested by yurys on #webkit). 3178 https://bugs.webkit.org/show_bug.cgi?id=50950 3179 3180 * src/WebWorkerClientImpl.cpp: 3181 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject): 3182 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject): 3183 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask): 3184 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask): 3185 3186 2010-12-13 Ilya Tikhonovsky <loislo (a] chromium.org> 3187 3188 Reviewed by Yury Semikhatsky. 3189 3190 Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions. 3191 3192 Debugger and Resources related notification functions of Inspector.idl were 3193 marked as such with help of "domain" attribute. The other changes in js files 3194 are reflecting this change. Some wrappers in WebInspector namespace were dropped, 3195 the others were moved to DebuggerModel class. 3196 3197 https://bugs.webkit.org/show_bug.cgi?id=50906 3198 3199 * src/js/Tests.js: 3200 (.TestSuite.prototype._waitForScriptPause): 3201 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts): 3202 (.TestSuite.prototype._waitUntilScriptsAreParsed): 3203 3204 2010-12-13 Yury Semikhatsky <yurys (a] chromium.org> 3205 3206 Reviewed by Adam Barth. 3207 3208 WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown 3209 https://bugs.webkit.org/show_bug.cgi?id=8519 3210 3211 Uncaught exceptions are propagated to window.onerror hander if one is present. 3212 The handler is expected to be a function accepting three arguments: error message, 3213 resource url and line number where the exception occured. 3214 3215 * src/WebWorkerClientImpl.cpp: 3216 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject): 3217 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask): 3218 3219 2010-12-13 Sheriff Bot <webkit.review.bot (a] gmail.com> 3220 3221 Unreviewed, rolling out r73898. 3222 http://trac.webkit.org/changeset/73898 3223 https://bugs.webkit.org/show_bug.cgi?id=50919 3224 3225 FileSystem and Database API's were broken (Requested by loislo 3226 on #webkit). 3227 3228 * src/js/Tests.js: 3229 (.TestSuite.prototype._waitForScriptPause): 3230 3231 2010-12-13 Ilya Tikhonovsky <loislo (a] chromium.org> 3232 3233 Reviewed by Yury Semikhatsky. 3234 3235 Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions. 3236 3237 Debugger and Resources related notification functions of Inspector.idl were 3238 marked as such with help of "domain" attribute. The other changes in js files 3239 are reflecting this change. Some wrappers in WebInspector namespace were dropped, 3240 the others were moved to DebuggerModel class. 3241 3242 https://bugs.webkit.org/show_bug.cgi?id=50906 3243 3244 * src/js/Tests.js: 3245 (.TestSuite.prototype._waitForScriptPause): 3246 3247 2010-10-28 MORITA Hajime <morrita (a] google.com> 3248 3249 Reviewed by Ojan Vafai. 3250 3251 spellcheck does not check pasted text 3252 https://bugs.webkit.org/show_bug.cgi?id=40092 3253 3254 Added a stub implememntation. 3255 3256 * src/EditorClientImpl.h: 3257 (WebKit::EditorClientImpl::requestCheckingOfString): 3258 3259 2010-12-10 Chris Fleizach <cfleizach (a] apple.com> 3260 3261 Reviewed by Darin Adler. 3262 3263 AX: refactor AccessibilityRenderObject::doAccessibilityHitTest 3264 https://bugs.webkit.org/show_bug.cgi?id=50574 3265 3266 * src/WebAccessibilityObject.cpp: 3267 (WebKit::WebAccessibilityObject::hitTest): 3268 3269 2010-12-10 Zhenyao Mo <zmo (a] google.com> 3270 3271 Reviewed by Adam Barth. 3272 3273 Use enums instead of booleans in ImageSource/ImageDecoder constructors 3274 https://bugs.webkit.org/show_bug.cgi?id=50818 3275 3276 * src/WebImageDecoder.cpp: 3277 (WebKit::WebImageDecoder::init): Use enums instead of boolean in ImageDecoder constructor. 3278 3279 2010-12-10 Kenneth Russell <kbr (a] google.com> 3280 3281 Reviewed by James Robinson. 3282 3283 Implement extension entry points and remove EXTENSIONS enum 3284 https://bugs.webkit.org/show_bug.cgi?id=40316 3285 3286 Added support for ensuring that a particular OpenGL extension is 3287 enabled. 3288 3289 * public/WebGraphicsContext3D.h: 3290 * src/Extensions3DChromium.cpp: 3291 (WebCore::Extensions3DChromium::ensureEnabled): 3292 * src/GraphicsContext3DChromium.cpp: 3293 (WebCore::GraphicsContext3DInternal::initializeExtensions): 3294 (WebCore::GraphicsContext3DInternal::supportsExtension): 3295 (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled): 3296 * src/GraphicsContext3DInternal.h: 3297 * src/WebGraphicsContext3DDefaultImpl.cpp: 3298 (WebKit::WebGraphicsContext3DDefaultImpl::getRequestableExtensionsCHROMIUM): 3299 (WebKit::WebGraphicsContext3DDefaultImpl::requestExtensionCHROMIUM): 3300 * src/WebGraphicsContext3DDefaultImpl.h: 3301 3302 2010-12-10 John Knottenbelt <jknotten (a] chromium.org> 3303 3304 Reviewed by Steve Block. 3305 3306 [Chromium] Implement mocks for client-based geolocation 3307 https://bugs.webkit.org/show_bug.cgi?id=46895 3308 3309 * WebKit.gyp: 3310 * public/WebGeolocationClientMock.h: Added. 3311 (WebKit::WebGeolocationClientMock::~WebGeolocationClientMock): 3312 (WebKit::WebGeolocationClientMock::WebGeolocationClientMock): 3313 * src/WebGeolocationClientMock.cpp: Added. 3314 (WebKit::WebGeolocationClientMock::create): 3315 (WebKit::WebGeolocationClientMock::initialize): 3316 (WebKit::WebGeolocationClientMock::reset): 3317 (WebKit::WebGeolocationClientMock::setMockGeolocationPosition): 3318 (WebKit::WebGeolocationClientMock::setMockGeolocationError): 3319 (WebKit::WebGeolocationClientMock::setMockGeolocationPermission): 3320 (WebKit::WebGeolocationClientMock::resetMock): 3321 (WebKit::WebGeolocationClientMock::startUpdating): 3322 (WebKit::WebGeolocationClientMock::stopUpdating): 3323 (WebKit::WebGeolocationClientMock::setEnableHighAccuracy): 3324 (WebKit::WebGeolocationClientMock::geolocationDestroyed): 3325 (WebKit::WebGeolocationClientMock::setController): 3326 (WebKit::WebGeolocationClientMock::lastPosition): 3327 (WebKit::WebGeolocationClientMock::requestPermission): 3328 (WebKit::WebGeolocationClientMock::cancelPermissionRequest): 3329 * src/WebGeolocationServiceMock.cpp: 3330 3331 2010-12-10 John Knottenbelt <jknotten (a] chromium.org> 3332 3333 Reviewed by Steve Block. 3334 3335 [chromium] Implement client based geolocation bindings 3336 https://bugs.webkit.org/show_bug.cgi?id=45752 3337 3338 Implements the necessary plumbing to expose client-based geolocation in Chromium 3339 webkit. The plan is to remove the non-client-based geolocation code (GeolocationService*) 3340 in the future. 3341 3342 * WebKit.gyp: 3343 * public/WebGeolocationClient.h: Added. 3344 (WebKit::WebGeolocationClient::~WebGeolocationClient): 3345 * public/WebGeolocationController.h: Added. 3346 (WebKit::WebGeolocationController::WebGeolocationController): 3347 (WebKit::WebGeolocationController::reset): 3348 * public/WebGeolocationError.h: 3349 * public/WebGeolocationPermissionRequest.h: Added. 3350 (WebKit::WebGeolocationPermissionRequest::WebGeolocationPermissionRequest): 3351 (WebKit::WebGeolocationPermissionRequest::geolocation): 3352 * public/WebGeolocationPermissionRequestManager.h: Added. 3353 (WebKit::WebGeolocationPermissionRequestManager::WebGeolocationPermissionRequestManager): 3354 (WebKit::WebGeolocationPermissionRequestManager::~WebGeolocationPermissionRequestManager): 3355 * public/WebGeolocationPosition.h: 3356 * public/WebViewClient.h: 3357 (WebKit::WebViewClient::geolocationClient): 3358 * src/ChromeClientImpl.cpp: 3359 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame): 3360 (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame): 3361 * src/GeolocationClientProxy.cpp: Added. 3362 (WebKit::GeolocationClientProxy::GeolocationClientProxy): 3363 (WebKit::GeolocationClientProxy::~GeolocationClientProxy): 3364 (WebKit::GeolocationClientProxy::setController): 3365 (WebKit::GeolocationClientProxy::geolocationDestroyed): 3366 (WebKit::GeolocationClientProxy::startUpdating): 3367 (WebKit::GeolocationClientProxy::stopUpdating): 3368 (WebKit::GeolocationClientProxy::setEnableHighAccuracy): 3369 (WebKit::GeolocationClientProxy::lastPosition): 3370 (WebKit::GeolocationClientProxy::requestPermission): 3371 (WebKit::GeolocationClientProxy::cancelPermissionRequest): 3372 * src/GeolocationClientProxy.h: Added. 3373 * src/WebGeolocationController.cpp: Added. 3374 (WebKit::WebGeolocationController::positionChanged): 3375 (WebKit::WebGeolocationController::errorOccurred): 3376 (WebKit::WebGeolocationController::controller): 3377 * src/WebGeolocationPermissionRequest.cpp: Added. 3378 (WebKit::WebGeolocationPermissionRequest::securityOrigin): 3379 (WebKit::WebGeolocationPermissionRequest::setIsAllowed): 3380 * src/WebGeolocationPermissionRequestManager.cpp: Added. 3381 (WebGeolocationPermissionRequestManager::add): 3382 (WebGeolocationPermissionRequestManager::remove): 3383 (WebGeolocationPermissionRequestManager::init): 3384 (WebGeolocationPermissionRequestManager::reset): 3385 * src/WebViewImpl.cpp: 3386 (WebKit::WebViewImpl::WebViewImpl): 3387 * src/WebViewImpl.h: 3388 3389 2010-12-10 Hans Wennborg <hans (a] chromium.org> 3390 3391 Reviewed by Jeremy Orlow. 3392 3393 IndexedDB: Numeric keys are floats. 3394 https://bugs.webkit.org/show_bug.cgi?id=50674 3395 3396 Represent numeric keys as floating point values. 3397 3398 * public/WebIDBKey.h: 3399 (WebKit::WebIDBKey::WebIDBKey): 3400 * src/WebIDBKey.cpp: 3401 (WebKit::WebIDBKey::assign): 3402 (WebKit::WebIDBKey::number): 3403 3404 2010-12-09 Sheriff Bot <webkit.review.bot (a] gmail.com> 3405 3406 Unreviewed, rolling out r73616. 3407 http://trac.webkit.org/changeset/73616 3408 https://bugs.webkit.org/show_bug.cgi?id=50772 3409 3410 Breaks chromium win build (Requested by hwennborg on #webkit). 3411 3412 * public/WebIDBKey.h: 3413 (WebKit::WebIDBKey::WebIDBKey): 3414 * src/WebIDBKey.cpp: 3415 (WebKit::WebIDBKey::assign): 3416 (WebKit::WebIDBKey::number): 3417 3418 2010-12-09 Hans Wennborg <hans (a] chromium.org> 3419 3420 Reviewed by Jeremy Orlow. 3421 3422 IndexedDB: Numeric keys are floats. 3423 https://bugs.webkit.org/show_bug.cgi?id=50674 3424 3425 Represent numeric keys as floating point values. 3426 3427 * public/WebIDBKey.h: 3428 (WebKit::WebIDBKey::WebIDBKey): 3429 * src/WebIDBKey.cpp: 3430 (WebKit::WebIDBKey::assign): 3431 (WebKit::WebIDBKey::number): 3432 3433 2010-12-07 Brian Weinstein <bweinstein (a] apple.com> 3434 3435 Reviewed by John Sullivan. 3436 3437 Layering Violation in ContextMenu - member variable of type HitTestResult 3438 https://bugs.webkit.org/show_bug.cgi?id=50586 3439 3440 Update users of ContextMenu and ContextMenuController to match where the new functions 3441 are located. 3442 3443 * src/ContextMenuClientImpl.cpp: 3444 (WebKit::selectMisspelledWord): 3445 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 3446 3447 2010-12-06 Darin Adler <darin (a] apple.com> 3448 3449 Reviewed by Sam Weinig. 3450 3451 Pass security origin to make local file decision correctly 3452 https://bugs.webkit.org/show_bug.cgi?id=48603 3453 3454 * src/ApplicationCacheHost.cpp: 3455 (WebCore::ApplicationCacheHost::selectCacheWithManifest): Pass security origin. 3456 * src/FrameLoaderClientImpl.cpp: 3457 (WebKit::FrameLoaderClientImpl::dispatchCreatePage): Ditto. 3458 (WebKit::FrameLoaderClientImpl::createFrame): Ditto. 3459 * src/WebPluginContainerImpl.cpp: 3460 (WebKit::WebPluginContainerImpl::loadFrameRequest): Ditto. 3461 3462 2010-12-07 Martin Robinson <mrobinson (a] igalia.com> 3463 3464 Unreviewed, rolling out r73392. 3465 http://trac.webkit.org/changeset/73392 3466 https://bugs.webkit.org/show_bug.cgi?id=50489 3467 3468 This commit caused crashes on the GTK+ bots 3469 3470 * src/ContextMenuClientImpl.cpp: 3471 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 3472 * src/FrameLoaderClientImpl.cpp: 3473 (WebKit::FrameLoaderClientImpl::finishedLoading): 3474 * src/WebFrameImpl.cpp: 3475 (WebKit::WebFrameImpl::encoding): 3476 (WebKit::WebFrameImpl::loadJavaScriptURL): 3477 * src/WebPageSerializerImpl.cpp: 3478 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): 3479 (WebKit::WebPageSerializerImpl::serialize): 3480 * src/WebSearchableFormData.cpp: 3481 (WebCore::GetFormEncoding): 3482 * src/WebViewImpl.cpp: 3483 (WebKit::WebViewImpl::pageEncoding): 3484 3485 2010-12-07 Kenichi Ishibashi <bashi (a] google.com> 3486 3487 Reviewed by Kent Tamura. 3488 3489 Let HTMLObjectElement be a form associated element 3490 https://bugs.webkit.org/show_bug.cgi?id=48821 3491 3492 Modified to use FormAssociatedElement instead of HTMLFormControlElement. 3493 3494 * src/WebFormElement.cpp: 3495 (WebKit::WebFormElement::getFormControlElements): Modified to use 3496 FormAssociatedElement instead of HTMLFormControlElement. 3497 * src/WebPasswordFormUtils.cpp: 3498 (WebKit::findPasswordFormFields): Ditto. 3499 * src/WebSearchableFormData.cpp: 3500 (WebCore::GetButtonToActivate): Ditto. 3501 (WebCore::HasSuitableTextElement): Ditto. 3502 3503 2010-12-06 Nate Chapin <japhet (a] chromium.org> 3504 3505 Reviewed by Adam Barth. 3506 3507 Update calls to DocumentWriter. 3508 https://bugs.webkit.org/show_bug.cgi?id=50489 3509 3510 * src/ContextMenuClientImpl.cpp: 3511 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 3512 * src/FrameLoaderClientImpl.cpp: 3513 (WebKit::FrameLoaderClientImpl::finishedLoading): 3514 * src/WebFrameImpl.cpp: 3515 (WebKit::WebFrameImpl::encoding): 3516 (WebKit::WebFrameImpl::loadJavaScriptURL): 3517 * src/WebPageSerializerImpl.cpp: 3518 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): 3519 (WebKit::WebPageSerializerImpl::serialize): 3520 * src/WebSearchableFormData.cpp: 3521 (WebCore::GetFormEncoding): 3522 * src/WebViewImpl.cpp: 3523 (WebKit::WebViewImpl::pageEncoding): 3524 3525 2010-12-03 Sheriff Bot <webkit.review.bot (a] gmail.com> 3526 3527 Unreviewed, rolling out r73302. 3528 http://trac.webkit.org/changeset/73302 3529 https://bugs.webkit.org/show_bug.cgi?id=50499 3530 3531 Causes crashes in debug LayoutTests (Requested by xan_ on 3532 #webkit). 3533 3534 * public/WebAccessibilityObject.h: 3535 * src/WebAccessibilityObject.cpp: 3536 (WebKit::WebAccessibilityObject::parentObject): 3537 3538 2010-12-01 Ilya Tikhonovsky <loislo (a] chromium.org> 3539 3540 Reviewed by Pavel Feldman. 3541 3542 Web Inspector: Inspector protocol cleanup task. 3543 3544 The patch has just small renames and adjustments for the protocol things. 3545 'handler' keyword in idl file was replaced with 'domain'. 3546 'domain' property was assigned for the each backend to frontend messages. 3547 At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly. 3548 3549 https://bugs.webkit.org/show_bug.cgi?id=50337 3550 3551 * src/WebDevToolsFrontendImpl.cpp: 3552 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend): 3553 3554 2010-12-03 Chris Guillory <chris.guillory (a] google.com> 3555 3556 Reviewed by Chris Fleizach. 3557 3558 Include the FrameView widget of a RenderWidget in the accessibility tree. 3559 https://bugs.webkit.org/show_bug.cgi?id=49106 3560 3561 * public/WebAccessibilityObject.h: 3562 * src/WebAccessibilityObject.cpp: 3563 (WebKit::WebAccessibilityObject::equals): 3564 (WebKit::WebAccessibilityObject::parentObject): 3565 3566 2010-11-29 Jeremy Orlow <jorlow (a] chromium.org> 3567 3568 Reviewed by Darin Fisher. 3569 3570 [Chromium] Clean up IndexedDB 2 sided roll bits 3571 https://bugs.webkit.org/show_bug.cgi?id=50160 3572 3573 * public/WebIDBDatabase.h: 3574 (WebKit::WebIDBDatabase::version): 3575 (WebKit::WebIDBDatabase::objectStoreNames): 3576 (WebKit::WebIDBDatabase::deleteObjectStore): 3577 * public/WebIDBFactory.h: 3578 (WebKit::WebIDBFactory::open): 3579 * public/WebIDBKeyRange.h: 3580 * public/WebIDBObjectStore.h: 3581 (WebKit::WebIDBObjectStore::deleteFunction): 3582 * src/IDBDatabaseProxy.cpp: 3583 * src/IDBDatabaseProxy.h: 3584 * src/WebIDBKeyRange.cpp: 3585 3586 2010-12-02 Chris Rogers <crogers (a] google.com> 3587 3588 Reviewed by Darin Fisher. 3589 3590 Fine-tune chromium WebKit API for loading audio resources 3591 https://bugs.webkit.org/show_bug.cgi?id=50406 3592 3593 * public/WebAudioBus.h: 3594 (WebKit::WebAudioBus::~WebAudioBus): 3595 * public/WebKitClient.h: 3596 (WebKit::WebKitClient::loadAudioResource): 3597 * src/ChromiumBridge.cpp: 3598 (WebCore::ChromiumBridge::decodeAudioFileData): 3599 * src/WebAudioBus.cpp: 3600 (WebKit::WebAudioBus::reset): 3601 3602 2010-12-02 Darin Fisher <darin (a] chromium.org> 3603 3604 Fix the Windows multi-dll build. Do not export functions that are 3605 implemented inline! 3606 3607 * public/WebFormControlElement.h: 3608 (WebKit::WebFormControlElement::assign): 3609 3610 2010-12-02 Tony Chang <tony (a] chromium.org> 3611 3612 Unreviewed, roll chromium deps to r67980. 3613 3614 * DEPS: 3615 3616 2010-12-01 Andrey Kosyakov <caseq (a] chromium.org> 3617 3618 Reviewed by Pavel Feldman. 3619 3620 Web Inspector: [Resources panel] [HAR] Need a way to save timing data. 3621 Enable resource export to HAR for Chromium. 3622 https://bugs.webkit.org/show_bug.cgi?id=45663 3623 3624 * src/js/DevTools.js: Preferences.resourceExportEnabled = true 3625 3626 2010-12-02 Vincent Scheib <scheib (a] chromium.org> 3627 3628 Reviewed by Darin Fisher. 3629 3630 [chromium] histograms api updated in WebKitClient/ChromiumBridge and histogram "GPU.setIsAcceleratedCompositingActive" added. 3631 https://bugs.webkit.org/show_bug.cgi?id=50285 3632 3633 Test by loading "about:histograms" after navigating to accelerated pages. 3634 3635 * public/WebKitClient.h: 3636 (WebKit::WebKitClient::histogramCustomCounts): api update. 3637 (WebKit::WebKitClient::histogramEnumeration): api update. 3638 * src/ChromiumBridge.cpp: 3639 (WebCore::ChromiumBridge::histogramCustomCounts): api update. 3640 (WebCore::ChromiumBridge::histogramEnumeration): api update. 3641 * src/WebViewImpl.cpp: 3642 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): "GPU.setIsAcceleratedCompositingActive" added. 3643 3644 2010-12-01 Jia Pu <jpu (a] apple.com> 3645 3646 Reviewed by Darin Adler. 3647 3648 Support multiple correction candidates panel for misspelled word on Mac OS X. 3649 https://bugs.webkit.org/show_bug.cgi?id=50137 3650 <rdar://problem/8568059> 3651 3652 Adopted new function signature defined in base class. 3653 3654 * src/EditorClientImpl.cpp: 3655 (WebKit::EditorClientImpl::getGuessesForWord): 3656 * src/EditorClientImpl.h: 3657 3658 2010-12-01 Alexey Marinichev <amarinichev (a] chromium.org> 3659 3660 Reviewed by James Robinson. 3661 3662 [chromium] renderer does not realize hardware compositing is disabled and crashes 3663 https://bugs.webkit.org/show_bug.cgi?id=50264 3664 3665 * src/WebViewImpl.cpp: 3666 (WebKit::WebViewImpl::setRootGraphicsLayer): repaint always 3667 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): null check 3668 (WebKit::WebViewImpl::reallocateRenderer): 3669 3670 2010-11-30 Vangelis Kokkevis <vangelis (a] chromium.org> 3671 3672 Reviewed by Darin Fisher. 3673 3674 Get the value of the accelerated compositing triggers from the Settings 3675 class. This allows setting the triggers via command line flags. 3676 https://bugs.webkit.org/show_bug.cgi?id=50301 3677 3678 * public/WebSettings.h: 3679 * src/ChromeClientImpl.cpp: 3680 (WebKit::ChromeClientImpl::allowedCompositingTriggers): 3681 * src/WebSettingsImpl.cpp: 3682 (WebKit::WebSettingsImpl::setAcceleratedCompositingFor3DTransformsEnabled): 3683 (WebKit::WebSettingsImpl::setAcceleratedCompositingForVideoEnabled): 3684 (WebKit::WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled): 3685 (WebKit::WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled): 3686 (WebKit::WebSettingsImpl::setAcceleratedCompositingForAnimationEnabled): 3687 * src/WebSettingsImpl.h: 3688 3689 2010-12-01 Tony Chang <tony (a] chromium.org> 3690 3691 Unreviewed, rolling chromium deps to r67811. 3692 3693 * DEPS: 3694 3695 2010-12-01 Andrey Kosyakov <caseq (a] chromium.org> 3696 3697 Reviewed by Pavel Feldman. 3698 3699 Web Inspector: disable cookies tab in network resource view by default, enable for chromium 3700 https://bugs.webkit.org/show_bug.cgi?id=50249 3701 3702 * src/js/DevTools.js: 3703 3704 2010-11-30 Ojan Vafai <ojan (a] chromium.org> 3705 3706 Revert r72876. It caused a ~30% perf regression in chromium's bloat-http test 3707 https://bugs.webkit.org/show_bug.cgi?id=50288 3708 3709 2010-11-29 Adam Barth <abarth (a] webkit.org (:abarth) (r)> 3710 Reviewed by Darin Adler. 3711 Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs 3712 https://bugs.webkit.org/show_bug.cgi?id=50182 3713 A display-isolated URL can only be displayed (e.g., put in an iframe, 3714 hyperlinked to) by documents from that scheme. In a sense, this is a 3715 generalization of some of the protections we give file URLs, but 3716 instead of lumping them all together into one "local" bucket, this 3717 patch creates a separate bucket for each scheme. 3718 For a while, I tried using a separate bucket for each origin. That 3719 would have played nicely with what Blob URLs are trying to do, but some 3720 "chrome" URL pages rely on being able to display other chrome URL 3721 pages, even in different origins. For example, the New Tab Page shows 3722 thumbnails from the "thumbnail" host. 3723 This patch also removes a bunch of unused code. I've also propagated 3724 the "deprecated" status of deprecatedCanDisplay to 3725 deprecatedShouldTreatURLAsLocal because that method has no other 3726 callers and is really asking for uppercase/lowercase bugs. I dream of 3727 someday removing these functions. 3728 2010-11-29 Adam Barth <abarth (a] webkit.org (:abarth) (r)> 3729 Reviewed by Darin Adler. 3730 Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs 3731 https://bugs.webkit.org/show_bug.cgi?id=50182 3732 This patch adds a Chromium API for registering schemes as 3733 display-isolated. In a subsequent patch, I'll change the "chrome" 3734 scheme in Chrome to be display isolated instead of local. That will 3735 prevent file URLs from linking to chrome URLs. 3736 3737 * public/WebSecurityPolicy.h: 3738 * src/WebSecurityPolicy.cpp: 3739 3740 2010-11-30 James Robinson <jamesr (a] chromium.org> 3741 3742 Reviewed by Dimitri Glazkov. 3743 3744 [chromium] Update yasm entry in DEPS to match downstream 3745 https://bugs.webkit.org/show_bug.cgi?id=50274 3746 3747 http://src.chromium.org/viewvc/chrome?view=rev&revision=67540 changed the downstream DEPS rule 3748 for yasm to pull unconditionally rather than pulling in each deps_os. This changes the WebKit 3749 chromium DEPS to match. 3750 3751 * DEPS: 3752 3753 2010-11-29 Vangelis Kokkevis <vangelis (a] chromium.org> 3754 3755 Reviewed by Simon Fraser. 3756 3757 Provide more fine grained control to ports over when to turn on accelerated 3758 compositing. 3759 https://bugs.webkit.org/show_bug.cgi?id=49998 3760 3761 As part of this change, the old hasAcceleratedCompositing method on the ChromeClient 3762 has now been replaced by allowedCompositingTriggers which returns a bitfield of 3763 all the features which can trigger the compositor. 3764 3765 * src/ChromeClientImpl.cpp: 3766 (WebKit::ChromeClientImpl::allowedCompositingTriggers): 3767 * src/ChromeClientImpl.h: 3768 3769 2010-11-30 Jochen Eisinger <jochen (a] chromium.org> 3770 3771 Reviewed by Darin Fisher. 3772 3773 [chromium] pass webframe to web frame client's cookieJar 3774 https://bugs.webkit.org/show_bug.cgi?id=50148 3775 3776 * public/WebFrameClient.h: 3777 (WebKit::WebFrameClient::cookieJar): 3778 * src/ChromiumBridge.cpp: 3779 (WebCore::getCookieJar): 3780 3781 2010-11-30 Jochen Eisinger <jochen (a] chromium.org> 3782 3783 Unreviewed. Roll chromium 67532:67541. 3784 3785 * DEPS: 3786 3787 2010-11-29 Adam Barth <abarth (a] webkit.org> 3788 3789 Reviewed by Darin Adler. 3790 3791 Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs 3792 https://bugs.webkit.org/show_bug.cgi?id=50182 3793 3794 This patch adds a Chromium API for registering schemes as 3795 display-isolated. In a subsequent patch, I'll change the "chrome" 3796 scheme in Chrome to be display isolated instead of local. That will 3797 prevent file URLs from linking to chrome URLs. 3798 3799 * public/WebSecurityPolicy.h: 3800 * src/WebSecurityPolicy.cpp: 3801 (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated): 3802 3803 2010-11-29 Kent Tamura <tkent (a] chromium.org> 3804 3805 Reviewed by Darin Fisher. 3806 3807 [Chromium] Add substitution parameters to WebKitClient::queryLocalizedString() 3808 https://bugs.webkit.org/show_bug.cgi?id=50053 3809 3810 * public/WebKitClient.h: 3811 (WebKit::WebKitClient::queryLocalizedString): Add overload functions with 3812 substitution string parameters, and remove the integer parameter overload. 3813 * src/LocalizedStrings.cpp: 3814 (WebCore::query): Add string parameter overloads, and remove the integer parameter overload. 3815 (WebCore::multipleFileUploadText): Call the string parameter query(). 3816 (WebCore::validationMessageTooLongText): Pass the parameters to query(). 3817 (WebCore::validationMessageRangeUnderflowText): ditto. 3818 (WebCore::validationMessageRangeOverflowText): ditto. 3819 (WebCore::validationMessageStepMismatchText): ditto. 3820 3821 2010-11-29 Dimitri Glazkov <dglazkov (a] chromium.org> 3822 3823 Remove Build directory that was erroneously added in r72103. 3824 3825 * Build: Removed. 3826 3827 2010-11-29 Andrey Kosyakov <caseq (a] chromium.org> 3828 3829 Reviewed by Darin Fisher. 3830 3831 Web Inspector: [Chromium] Expose extension API to select a node in WebInspector 3832 Added WebDevToolsAgent::inspect() 3833 https://bugs.webkit.org/show_bug.cgi?id=49727 3834 3835 * public/WebDevToolsAgent.h: 3836 * src/WebDevToolsAgentImpl.cpp: 3837 (WebKit::WebDevToolsAgentImpl::inspectNode): 3838 * src/WebDevToolsAgentImpl.h: 3839 3840 2010-11-29 Dimitri Glazkov <dglazkov (a] chromium.org> 3841 3842 [Chromium] Remove python_24 dependency, because it is no longer necessary. 3843 3844 * DEPS: Removed python_24 dependency. 3845 3846 2010-11-29 Bernhard Bauer <bauerb (a] chromium.org> 3847 3848 Reviewed by Jeremy Orlow. 3849 3850 Remove databaseFileName from WebIDBFactory 3851 https://bugs.webkit.org/show_bug.cgi?id=50150 3852 3853 * WebKit.gyp: 3854 * public/WebIDBFactory.h: 3855 (WebKit::WebIDBFactory::open): 3856 * src/WebIDBFactory.cpp: Removed. 3857 3858 2010-11-26 Andrei Popescu <andreip (a] google.com> 3859 3860 Reviewed by Jeremy Orlow. 3861 3862 IDBDatabase and IDBObjectStore remove* methods should be renamed to delete* 3863 https://bugs.webkit.org/show_bug.cgi?id=50113 3864 3865 * public/WebIDBDatabase.h: 3866 (WebKit::WebIDBDatabase::deleteObjectStore): 3867 (WebKit::WebIDBDatabase::removeObjectStore): 3868 * public/WebIDBObjectStore.h: 3869 (WebKit::WebIDBObjectStore::remove): 3870 (WebKit::WebIDBObjectStore::deleteFunction): 3871 (WebKit::WebIDBObjectStore::deleteIndex): 3872 * src/IDBDatabaseProxy.cpp: 3873 (WebCore::IDBDatabaseProxy::deleteObjectStore): 3874 * src/IDBDatabaseProxy.h: 3875 * src/IDBObjectStoreProxy.cpp: 3876 (WebCore::IDBObjectStoreProxy::deleteFunction): 3877 (WebCore::IDBObjectStoreProxy::deleteIndex): 3878 * src/IDBObjectStoreProxy.h: 3879 * src/WebIDBDatabaseImpl.cpp: 3880 (WebKit::WebIDBDatabaseImpl::deleteObjectStore): 3881 * src/WebIDBDatabaseImpl.h: 3882 * src/WebIDBObjectStoreImpl.cpp: 3883 (WebKit::WebIDBObjectStoreImpl::deleteFunction): 3884 (WebKit::WebIDBObjectStoreImpl::deleteIndex): 3885 * src/WebIDBObjectStoreImpl.h: 3886 3887 2010-11-26 Jeremy Orlow <jorlow (a] chromium.org> 3888 3889 Reviewed by Steve Block. 3890 3891 Make IDBKeyRange match the spec 3892 https://bugs.webkit.org/show_bug.cgi?id=50105 3893 3894 Remove flags and instead add two booleans for being open. 3895 Change left to lower and right to upper everywhere. 3896 3897 * public/WebIDBKeyRange.h: 3898 (WebKit::WebIDBKeyRange::WebIDBKeyRange): 3899 * src/WebIDBKeyRange.cpp: 3900 (WebKit::WebIDBKeyRange::assign): 3901 (WebKit::WebIDBKeyRange::left): 3902 (WebKit::WebIDBKeyRange::right): 3903 (WebKit::WebIDBKeyRange::lower): 3904 (WebKit::WebIDBKeyRange::upper): 3905 (WebKit::WebIDBKeyRange::lowerOpen): 3906 (WebKit::WebIDBKeyRange::upperOpen): 3907 (WebKit::WebIDBKeyRange::flags): 3908 3909 2010-11-25 Jeremy Orlow <jorlow (a] chromium.org> 3910 3911 Reviewed by Steve Block. 3912 3913 Clean up IDBDatabase.transaction and add checks to IDBTransaction.objectStore 3914 https://bugs.webkit.org/show_bug.cgi?id=50081 3915 3916 Plumb IDBTransaction.objectStore's exception code. 3917 3918 * public/WebIDBTransaction.h: 3919 (WebKit::WebIDBTransaction::objectStore): 3920 * src/IDBDatabaseProxy.cpp: 3921 (WebCore::IDBDatabaseProxy::transaction): 3922 * src/IDBTransactionBackendProxy.cpp: 3923 (WebCore::IDBTransactionBackendProxy::objectStore): 3924 * src/IDBTransactionBackendProxy.h: 3925 * src/WebIDBDatabaseImpl.cpp: 3926 (WebKit::WebIDBDatabaseImpl::createObjectStore): 3927 (WebKit::WebIDBDatabaseImpl::transaction): 3928 * src/WebIDBTransactionImpl.cpp: 3929 (WebKit::WebIDBTransactionImpl::objectStore): 3930 * src/WebIDBTransactionImpl.h: 3931 3932 2010-11-26 Hans Wennborg <hans (a] chromium.org> 3933 3934 Reviewed by Jeremy Orlow. 3935 3936 IndexedDB: Rename IDBDatabase.objectStores to objectStoreNames 3937 https://bugs.webkit.org/show_bug.cgi?id=50102 3938 3939 Rename as per the spec: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#database-interface 3940 3941 * public/WebIDBDatabase.h: 3942 (WebKit::WebIDBDatabase::objectStores): 3943 (WebKit::WebIDBDatabase::objectStoreNames): 3944 * src/IDBDatabaseProxy.cpp: 3945 (WebCore::IDBDatabaseProxy::objectStoreNames): 3946 * src/IDBDatabaseProxy.h: 3947 * src/WebIDBDatabaseImpl.cpp: 3948 (WebKit::WebIDBDatabaseImpl::objectStoreNames): 3949 * src/WebIDBDatabaseImpl.h: 3950 3951 2010-11-26 Andrei Popescu <andreip (a] google.com> 3952 3953 Reviewed by Jeremy Orlow. 3954 3955 IDBFactory::open should not have a description argument. 3956 https://bugs.webkit.org/show_bug.cgi?id=50087 3957 3958 * public/WebIDBDatabase.h: 3959 (WebKit::WebIDBDatabase::description): 3960 * public/WebIDBFactory.h: 3961 (WebKit::WebIDBFactory::open): 3962 * src/IDBFactoryBackendProxy.cpp: 3963 (WebCore::IDBFactoryBackendProxy::open): 3964 * src/IDBFactoryBackendProxy.h: 3965 * src/WebIDBDatabaseImpl.cpp: 3966 * src/WebIDBDatabaseImpl.h: 3967 * src/WebIDBFactory.cpp: 3968 * src/WebIDBFactoryImpl.cpp: 3969 (WebKit::WebIDBFactoryImpl::open): 3970 * src/WebIDBFactoryImpl.h: 3971 3972 2010-11-25 Ilya Tikhonovsky <loislo (a] chromium.org> 3973 3974 Unreviewed. Roll chromium 67004:67404. 3975 3976 * DEPS: 3977 3978 2010-11-25 Jeremy Orlow <jorlow (a] chromium.org> 3979 3980 Reviewed by Steve Block. 3981 3982 Add exception code to WebIDBTransaction::objectStore 3983 https://bugs.webkit.org/show_bug.cgi?id=50030 3984 3985 * public/WebIDBTransaction.h: 3986 (WebKit::WebIDBTransaction::objectStore): 3987 3988 2010-11-24 MORITA Hajime <morrita (a] google.com> 3989 3990 Reviewed by Kent Tamura. 3991 3992 [Chromium][Windows] TestShell flakily crashes with EventSender.contextClick() 3993 https://bugs.webkit.org/show_bug.cgi?id=50052 3994 3995 makeStringArrayImpl() assumed wtf::StringImpl data is 3996 null-terminated. But it is not. 3997 Changed the code to pass the string length explicitly instead of 3998 making it computed by v8::String::New(). 3999 4000 * src/WebBindings.cpp: 4001 (WebKit::makeStringArrayImpl): 4002 4003 2010-11-24 Eric Uhrhane <ericu (a] chromium.org> 4004 4005 Reviewed by David Levin. 4006 4007 [Chromium] Implement FileWriterSync 4008 https://bugs.webkit.org/show_bug.cgi?id=49940 4009 4010 Added waitForOperationToComplete, delegating to the bridge. 4011 * src/WorkerAsyncFileWriterChromium.cpp: 4012 * src/WorkerAsyncFileWriterChromium.h: 4013 4014 Added waitForOperationToComplete and some debug-only code to make sure it's working properly. 4015 * src/WorkerFileWriterCallbacksBridge.cpp: 4016 (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread): 4017 (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread): 4018 (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread): 4019 (WebKit::WorkerFileWriterCallbacksBridge::WorkerFileWriterCallbacksBridge): 4020 (WebKit::WorkerFileWriterCallbacksBridge::didWriteOnWorkerThread): 4021 (WebKit::WorkerFileWriterCallbacksBridge::didFailOnWorkerThread): 4022 (WebKit::WorkerFileWriterCallbacksBridge::didTruncateOnWorkerThread): 4023 (WebKit::WorkerFileWriterCallbacksBridge::waitForOperationToComplete): 4024 * src/WorkerFileWriterCallbacksBridge.h: 4025 4026 2010-11-24 Kenneth Russell <kbr (a] google.com> 4027 4028 Reviewed by Darin Fisher. 4029 4030 [chromium] Disable antialiasing for compositor 4031 https://bugs.webkit.org/show_bug.cgi?id=50039 4032 4033 * src/WebViewImpl.cpp: 4034 (WebCore::getCompositorContextAttributes): 4035 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 4036 (WebKit::WebViewImpl::graphicsContext3D): 4037 4038 2010-11-24 Satish Sampath <satish (a] chromium.org> 4039 4040 Reviewed by Steve Block. 4041 4042 Remove API migration code which is no longer used. 4043 https://bugs.webkit.org/show_bug.cgi?id=50013 4044 4045 * public/WebSpeechInputControllerMock.h: 4046 4047 2010-11-23 Sheriff Bot <webkit.review.bot (a] gmail.com> 4048 4049 Unreviewed, rolling out r72628. 4050 http://trac.webkit.org/changeset/72628 4051 https://bugs.webkit.org/show_bug.cgi?id=49994 4052 4053 This patch is causing layout-test failtures on GTK Linux 4054 64-bit Debug (Requested by ctguil on #webkit). 4055 4056 * public/WebAccessibilityObject.h: 4057 * src/WebAccessibilityObject.cpp: 4058 (WebKit::WebAccessibilityObject::parentObject): 4059 4060 2010-11-23 Chris Guillory <chris.guillory (a] google.com> 4061 4062 Reviewed by Dimitri Glazkov. 4063 4064 Include the FrameView widget of a RenderWidget in the accessibility tree. 4065 https://bugs.webkit.org/show_bug.cgi?id=49106 4066 4067 * public/WebAccessibilityObject.h: 4068 * src/WebAccessibilityObject.cpp: 4069 (WebKit::WebAccessibilityObject::equals): 4070 (WebKit::WebAccessibilityObject::parentObject): 4071 4072 2010-11-23 John Knottenbelt <jknotten (a] chromium.org> 4073 4074 Reviewed by Darin Fisher. 4075 4076 [Chromium] Introduce wrapper types for WebCore::GeolocationError, WebCore::GeolocationPosition. 4077 https://bugs.webkit.org/show_bug.cgi?id=49735 4078 4079 Introduce WebKit API types so that the browser implementation can feed 4080 position and error updates to the WebCore::GeolocationController. 4081 4082 * WebKit.gyp: 4083 * public/WebGeolocationError.h: Added. 4084 (WebKit::WebGeolocationError::WebGeolocationError): 4085 (WebKit::WebGeolocationError::~WebGeolocationError): 4086 * public/WebGeolocationPosition.h: Added. 4087 (WebKit::WebGeolocationPosition::WebGeolocationPosition): 4088 (WebKit::WebGeolocationPosition::~WebGeolocationPosition): 4089 * src/WebGeolocationError.cpp: Added. 4090 (WebKit::WebGeolocationError::assign): 4091 (WebKit::WebGeolocationError::reset): 4092 (WebKit::WebGeolocationError::WebGeolocationError): 4093 (WebKit::WebGeolocationError::operator=): 4094 (WebKit::WebGeolocationError::operator WTF::PassRefPtr<WebCore::GeolocationError>): 4095 * src/WebGeolocationPosition.cpp: Added. 4096 (WebKit::WebGeolocationPosition::assign): 4097 (WebKit::WebGeolocationPosition::reset): 4098 (WebKit::WebGeolocationPosition::operator=): 4099 (WebKit::WebGeolocationPosition::operator PassRefPtr<WebCore::GeolocationPosition>): 4100 4101 2010-11-23 Jonathan Backer <backer (a] chromium.org> 4102 4103 Reviewed by Kenneth Russell. 4104 4105 Renderer is resizing IOSurfaces when accelerated compositing is disabled. 4106 https://bugs.webkit.org/show_bug.cgi?id=49827 4107 4108 - IOSurfaces are only presented when accelerated compositing is enabled. 4109 - Slight performance increase (and clean-up for using this path for Linux and Windows). 4110 4111 * src/WebViewImpl.cpp: 4112 (WebKit::WebViewImpl::resize): 4113 4114 2010-11-23 Grace Kloba <klobag (a] chromium.org> 4115 4116 Reviewed by Kenneth Russell. 4117 4118 [chromium] Accumulated scroll damage rect should be in the content space 4119 https://bugs.webkit.org/show_bug.cgi?id=49842 4120 4121 * src/WebViewImpl.cpp: 4122 (WebKit::WebViewImpl::scrollRootLayerRect): Adjust the previous scroll damage with the scroll delta before union it with the new damage rect. 4123 4124 2010-11-18 Darin Fisher <darin (a] chromium.org> 4125 4126 Reviewed by Dimitri Glazkov. 4127 4128 Add a mechanism for creating a WebURLLoader that is associated with a 4129 particular WebFrame. 4130 https://bugs.webkit.org/show_bug.cgi?id=49764 4131 4132 This will be used by code that calls webKitClient()->createURLLoader() 4133 from within the Chromium source tree. 4134 4135 An associated WebURLLoader should be treated like a subresource of the 4136 WebFrame's document. 4137 4138 * WebKit.gyp: 4139 * public/WebFrame.h: 4140 * src/AssociatedURLLoader.cpp: Added. 4141 (WebKit::AssociatedURLLoader::AssociatedURLLoader): 4142 (WebKit::AssociatedURLLoader::~AssociatedURLLoader): 4143 (WebKit::AssociatedURLLoader::loadSynchronously): 4144 (WebKit::AssociatedURLLoader::loadAsynchronously): 4145 (WebKit::AssociatedURLLoader::cancel): 4146 (WebKit::AssociatedURLLoader::setDefersLoading): 4147 (WebKit::AssociatedURLLoader::PrepareRequest): 4148 * src/AssociatedURLLoader.h: Added. 4149 * src/WebFrameImpl.cpp: 4150 (WebKit::WebFrameImpl::createAssociatedURLLoader): 4151 * src/WebFrameImpl.h: 4152 4153 2010-11-23 Satish Sampath <satish (a] chromium.org> 4154 4155 Unreviewed, chromium build fix. 4156 4157 * public/WebSpeechInputControllerMock.h: 4158 (WebKit::WebSpeechInputControllerMock::setMockRecognitionResult): 4159 4160 2010-11-18 Satish Sampath <satish (a] chromium.org> 4161 4162 Reviewed by Jeremy Orlow. 4163 4164 For speech input event, send an event object containing all the recognition results and metadata. 4165 https://bugs.webkit.org/show_bug.cgi?id=49736 4166 4167 Updated mock object's method to new signature. 4168 4169 * public/WebSpeechInputControllerMock.h: 4170 * src/WebSpeechInputControllerMockImpl.cpp: 4171 (WebKit::WebSpeechInputControllerMockImpl::addMockRecognitionResult): 4172 * src/WebSpeechInputControllerMockImpl.h: 4173 4174 2010-11-22 Alexey Marinichev <amarinichev (a] chromium.org> 4175 4176 Reviewed by Kenneth Russell. 4177 4178 [chromium] Implement Extensions3DChromium::getGraphicsResetStatusARB 4179 https://bugs.webkit.org/show_bug.cgi?id=49946 4180 4181 * public/WebGraphicsContext3D.h: added isContextLost() 4182 * src/Extensions3DChromium.cpp: 4183 (WebCore::Extensions3DChromium::getGraphicsResetStatusARB): 4184 * src/GraphicsContext3DChromium.cpp: 4185 (WebCore::GraphicsContext3DInternal::isContextLost): 4186 * src/GraphicsContext3DInternal.h: 4187 * src/WebGraphicsContext3DDefaultImpl.cpp: 4188 (WebKit::WebGraphicsContext3DDefaultImpl::isContextLost): 4189 * src/WebGraphicsContext3DDefaultImpl.h: 4190 * src/WebViewImpl.cpp: 4191 (WebKit::WebViewImpl::reallocateRenderer): ensure root layer repaining 4192 4193 2010-11-22 Jay Civelli <jcivelli (a] chromium.org> 4194 4195 Reviewed by David Levin. 4196 4197 Don't create an external popup menu when there are no items to show. 4198 https://bugs.webkit.org/show_bug.cgi?id=49937 4199 4200 * src/ExternalPopupMenu.cpp: 4201 (WebKit::ExternalPopupMenu::show): 4202 4203 2010-11-22 Nat Duca <nduca (a] chromium.org> 4204 4205 Reviewed by Kenneth Russell. 4206 4207 [chromium] Send didActivateAcceleratedCompositing when compositor 4208 initializes but does not create the shared context3d. 4209 https://bugs.webkit.org/show_bug.cgi?id=49930 4210 4211 * src/WebViewImpl.cpp: 4212 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 4213 4214 2010-11-22 Tony Chang <tony (a] chromium.org> 4215 4216 Unreviewed, roll Chromium DEPS to r67004. 4217 4218 * DEPS: 4219 4220 2010-11-22 Pavel Feldman <pfeldman (a] chromium.org> 4221 4222 Not reviewed. Partially roll out r72282. 4223 It should not have modified devtools files. 4224 4225 * src/js/devTools.css: 4226 4227 2010-11-19 Ilya Sherman <isherman (a] chromium.org> 4228 4229 Reviewed by Darin Fisher. 4230 4231 Expose default value of maxLength in Chromium API 4232 https://bugs.webkit.org/show_bug.cgi?id=49723 4233 4234 * public/WebInputElement.h: Added constant defaultMaximumLength 4235 * src/WebInputElement.cpp: 4236 4237 2010-11-18 Zhenyao Mo <zmo (a] google.com> 4238 4239 Reviewed by Kenneth Russell. 4240 4241 GraphicsContext3D::reshape is clearing using current clear color instead of transparent 4242 https://bugs.webkit.org/show_bug.cgi?id=44064 4243 4244 * src/WebGraphicsContext3DDefaultImpl.cpp: 4245 (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Use 0 as clear values. 4246 4247 2010-11-19 Tony Chang <tony (a] chromium.org> 4248 4249 Unreviewed, updating Chromium DEPS to try and fix the chromium win build. 4250 4251 * DEPS: r66792 4252 4253 2010-11-19 Tony Chang <tony (a] chromium.org> 4254 4255 Reviewed by Kent Tamura. 4256 4257 [chromium] Enable webkit's TestNetscapePlugIn for DRT on win and linux 4258 https://bugs.webkit.org/show_bug.cgi?id=49706 4259 4260 It is enabled simply by copying the plugin into 4261 {Debug,Release}/plugins. This change also rolls in a version of 4262 Chromium that disables the old plugin. 4263 4264 * WebKit.gyp: 4265 4266 2010-11-19 Sheriff Bot <webkit.review.bot (a] gmail.com> 4267 4268 Unreviewed, rolling out r72399. 4269 http://trac.webkit.org/changeset/72399 4270 https://bugs.webkit.org/show_bug.cgi?id=49805 4271 4272 Broke Chromium build (Requested by antonm_ on #webkit). 4273 4274 * src/ChromeClientImpl.cpp: 4275 (WebKit::ChromeClientImpl::popupOpened): 4276 * src/ChromeClientImpl.h: 4277 4278 2010-11-19 Jay Civelli <jcivelli (a] chromium.org> 4279 4280 Reviewed by David Levin. 4281 4282 Removing unused code to show popup externally on Mac. 4283 https://bugs.webkit.org/show_bug.cgi?id=49747 4284 4285 * src/ChromeClientImpl.cpp: 4286 (WebKit::ChromeClientImpl::popupOpened): 4287 * src/ChromeClientImpl.h: 4288 4289 2010-11-19 Pavel Feldman <pfeldman (a] chromium.org> 4290 4291 Not reviewed: flip chromium version to mitigate two-sided patch impact. 4292 4293 * DEPS: 4294 4295 2010-11-18 Pavel Feldman <pfeldman (a] chromium.org> 4296 4297 Reviewed by Yury Semikhatsky. 4298 4299 Web Inspector: provide response code and status text as a part 4300 of raw headers data. 4301 https://bugs.webkit.org/show_bug.cgi?id=49668 4302 4303 * WebKit.gyp: 4304 * public/WebHTTPLoadInfo.h: Renamed from WebKit/chromium/public/WebResourceRawHeaders.h. 4305 (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo): 4306 (WebKit::WebHTTPLoadInfo::~WebHTTPLoadInfo): 4307 (WebKit::WebHTTPLoadInfo::operator =): 4308 * public/WebURLResponse.h: 4309 * src/WebHTTPLoadInfo.cpp: Renamed from WebKit/chromium/src/WebResourceRawHeaders.cpp. 4310 (WebKit::WebHTTPLoadInfo::initialize): 4311 (WebKit::WebHTTPLoadInfo::reset): 4312 (WebKit::WebHTTPLoadInfo::assign): 4313 (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo): 4314 (WebKit::WebHTTPLoadInfo::operator WTF::PassRefPtr<WebCore::ResourceRawHeaders>): 4315 (WebKit::WebHTTPLoadInfo::responseCode): 4316 (WebKit::WebHTTPLoadInfo::setResponseCode): 4317 (WebKit::WebHTTPLoadInfo::statusText): 4318 (WebKit::WebHTTPLoadInfo::setStatusText): 4319 (WebKit::addHeader): 4320 (WebKit::WebHTTPLoadInfo::addRequestHeader): 4321 (WebKit::WebHTTPLoadInfo::addResponseHeader): 4322 * src/WebURLResponse.cpp: 4323 (WebKit::WebURLResponse::httpLoadInfo): 4324 (WebKit::WebURLResponse::setHTTPLoadInfo): 4325 4326 2010-11-18 Kent Tamura <tkent (a] chromium.org> 4327 4328 Reviewed by Tony Chang. 4329 4330 Add more validation message functions 4331 https://bugs.webkit.org/show_bug.cgi?id=49716 4332 4333 Add implementations of new functions and symbols for new messages. 4334 4335 * public/WebLocalizedString.h: 4336 * src/LocalizedStrings.cpp: 4337 (WebCore::validationMessageValueMissingForCheckboxText): 4338 (WebCore::validationMessageValueMissingForFileText): 4339 (WebCore::validationMessageValueMissingForMultipleFileText): 4340 (WebCore::validationMessageValueMissingForRadioText): 4341 (WebCore::validationMessageValueMissingForSelectText): 4342 4343 2010-11-18 Tony Chang <tony (a] chromium.org> 4344 4345 Unreviewed, fix chromium compile. We need ipc and openssl now. 4346 4347 * DEPS: 4348 4349 2010-11-18 James Robinson <jamesr (a] chromium.org> 4350 4351 Reviewed by David Levin. 4352 4353 [chromium] Update chromium DEPS to r66658 to pick up skia roll 4354 https://bugs.webkit.org/show_bug.cgi?id=49754 4355 4356 * DEPS: 4357 4358 2010-11-18 Jeremy Orlow <jorlow (a] chromium.org> 4359 4360 Reviewed by Darin Fisher. 4361 4362 [chromium] IndexedDB API cleanup 4363 https://bugs.webkit.org/show_bug.cgi?id=49733 4364 4365 Make it so that you can't directly instantiate our "interface" 4366 classes. Remove some code for 2 sided merges. 4367 4368 * public/WebIDBCursor.h: 4369 (WebKit::WebIDBCursor::WebIDBCursor): 4370 * public/WebIDBDatabase.h: 4371 (WebKit::WebIDBDatabase::WebIDBDatabase): 4372 * public/WebIDBIndex.h: 4373 (WebKit::WebIDBIndex::WebIDBIndex): 4374 * public/WebIDBObjectStore.h: 4375 (WebKit::WebIDBObjectStore::WebIDBObjectStore): 4376 * public/WebIDBTransaction.h: 4377 (WebKit::WebIDBTransaction::WebIDBTransaction): 4378 * src/IDBTransactionBackendProxy.cpp: 4379 (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy): 4380 4381 2010-11-18 Pavel Feldman <pfeldman (a] chromium.org> 4382 4383 Reviewed by Yury Semikhatsky. 4384 4385 Chrome DevTools: minify front-end JavaScript. 4386 https://bugs.webkit.org/show_bug.cgi?id=49657 4387 4388 * scripts/concatenate_js_files.py: 4389 * scripts/jsmin.py: Added. 4390 4391 2010-11-18 Chris Rogers <crogers (a] google.com> 4392 4393 Reviewed by Dimitri Glazkov. 4394 4395 Add loadPlatformAudioResource() and decodeAudioFileData() to ChromiumBridge 4396 https://bugs.webkit.org/show_bug.cgi?id=49557 4397 4398 * WebKit.gyp: 4399 * public/WebAudioBus.h: Added. 4400 (WebKit::WebAudioBus::WebAudioBus): 4401 * public/WebKitClient.h: 4402 (WebKit::WebKitClient::decodeAudioFileData): 4403 * src/ChromiumBridge.cpp: 4404 (WebCore::ChromiumBridge::loadPlatformAudioResource): 4405 (WebCore::ChromiumBridge::decodeAudioFileData): 4406 * src/WebAudioBus.cpp: Added. 4407 (WebKit::WebAudioBus::~WebAudioBus): 4408 (WebKit::WebAudioBus::initialize): 4409 (WebKit::WebAudioBus::numberOfChannels): 4410 (WebKit::WebAudioBus::length): 4411 (WebKit::WebAudioBus::sampleRate): 4412 (WebKit::WebAudioBus::channelData): 4413 (WebKit::WebAudioBus::release): 4414 4415 2010-11-17 Sheriff Bot <webkit.review.bot (a] gmail.com> 4416 4417 Unreviewed, rolling out r72228. 4418 http://trac.webkit.org/changeset/72228 4419 https://bugs.webkit.org/show_bug.cgi?id=49712 4420 4421 Caused many >10 regressions on Win and Linux gpu layout test 4422 runs. (Requested by dave_levin on #webkit). 4423 4424 * src/WebGraphicsContext3DDefaultImpl.cpp: 4425 (WebKit::bytesPerComponent): 4426 (WebKit::componentsPerPixel): 4427 (WebKit::imageSizeInBytes): 4428 (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D): 4429 4430 2010-11-17 Dimitri Glazkov <dglazkov (a] chromium.org> 4431 4432 Reviewed by Darin Adler. 4433 4434 Converge means of querying a parent node into one way, which is Node::parentNode. 4435 https://bugs.webkit.org/show_bug.cgi?id=49686 4436 4437 * src/WebFrameImpl.cpp: 4438 (WebKit::WebFrameImpl::insertStyleText): Changed to use parentNode. 4439 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection): Ditto. 4440 4441 2010-11-16 Zhenyao Mo <zmo (a] google.com> 4442 4443 Reviewed by Kenneth Russell. 4444 4445 WebGLRenderingContext needs to zero textures and renderbuffers 4446 https://bugs.webkit.org/show_bug.cgi?id=49355 4447 4448 * src/WebGraphicsContext3DDefaultImpl.cpp: Don't deal with texture initialization at this level. 4449 4450 2010-11-17 Satish Sampath <satish (a] chromium.org> 4451 4452 Reviewed by Jeremy Orlow. 4453 4454 Clear the speech input mock explicitly before each test. 4455 https://bugs.webkit.org/show_bug.cgi?id=49660 4456 4457 * public/WebSpeechInputControllerMock.h: 4458 * src/WebSpeechInputControllerMockImpl.cpp: 4459 (WebKit::WebSpeechInputControllerMockImpl::clearResults): Added method to clear results. 4460 * src/WebSpeechInputControllerMockImpl.h: 4461 4462 2010-11-17 Eric Uhrhane <ericu (a] chromium.org> 4463 4464 Reviewed by David Levin. 4465 4466 [Chromium] implementation of async FileWriter for workers 4467 https://bugs.webkit.org/show_bug.cgi?id=47681 4468 4469 Tests are in a separate changelist. 4470 4471 Added new files. 4472 * WebKit.gyp: 4473 4474 * src/WorkerAsyncFileSystemChromium.cpp: Added WorkerAsyncFileWriterChromium construction. 4475 * src/WorkerAsyncFileWriterChromium.cpp: Added. 4476 * src/WorkerAsyncFileWriterChromium.h: Added. 4477 4478 This class bridges between the context and main threads for the WorkerAsyncFileWriterChromium. 4479 * src/WorkerFileWriterCallbacksBridge.cpp: Added. 4480 * src/WorkerFileWriterCallbacksBridge.h: Added. 4481 4482 2010-11-17 John Mellor <johnme (a] chromium.org> 4483 4484 Reviewed by Darin Fisher. 4485 4486 [chromium] Expose frame flattening setting in WebSettings. 4487 https://bugs.webkit.org/show_bug.cgi?id=49621 4488 4489 * public/WebSettings.h: 4490 * src/WebSettingsImpl.cpp: 4491 (WebKit::WebSettingsImpl::setFrameFlatteningEnabled): 4492 * src/WebSettingsImpl.h: 4493 4494 2010-11-17 Jonathan Backer <backer (a] chromium.org> 4495 4496 Reviewed by Kenneth Russell. 4497 4498 [Chromium] Resize initiated by renderer. 4499 https://bugs.webkit.org/show_bug.cgi?id=49617 4500 4501 To address synchronization issues with resizing, make resize work like DARWIN. 4502 4503 * src/WebViewImpl.cpp: 4504 (WebKit::WebViewImpl::resize): 4505 4506 2010-11-17 Stuart Morgan <stuartmorgan (a] chromium.org> 4507 4508 Reviewed by Dimitri Glazkov. 4509 4510 Fix click count for mouse-up events. 4511 - clickCount for mouse up was lost in conversion from NSEvent 4512 - clickCount was also lost when disptaching events through the 4513 plugin mouse capture event codepath. 4514 4515 https://bugs.webkit.org/show_bug.cgi?id=49290 4516 4517 * src/WebViewImpl.cpp: 4518 (WebKit::WebViewImpl::handleInputEvent): 4519 * src/mac/WebInputEventFactory.mm: 4520 (WebKit::WebInputEventFactory::mouseEvent): 4521 4522 2010-11-11 Zhenyao Mo <zmo (a] google.com> 4523 4524 Reviewed by Kenneth Russell. 4525 4526 Implement UNPACK_COLORSPACE_CONVERSION_WEBGL 4527 https://bugs.webkit.org/show_bug.cgi?id=47196 4528 4529 * src/WebImageDecoder.cpp: 4530 (WebKit::WebImageDecoder::init): Add ignoreGammaAndColorProfile parameter. 4531 4532 2010-11-12 Zhenyao Mo <zmo (a] google.com> 4533 4534 Reviewed by Kenneth Russell. 4535 4536 Refactor GL backend flags 4537 https://bugs.webkit.org/show_bug.cgi?id=49460 4538 4539 * public/WebGraphicsContext3D.h: Remove GL flag queries at this level. 4540 * src/GraphicsContext3DChromium.cpp: Ditto. 4541 * src/GraphicsContext3DInternal.h: Ditto. 4542 * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto. 4543 * src/WebGraphicsContext3DDefaultImpl.h: Ditto. 4544 4545 2010-11-16 Pavel Feldman <pfeldman (a] chromium.org> 4546 4547 Not reviewed. Chromium build fix. 4548 4549 * WebKit.gyp: 4550 * scripts/concatenate_css_files.py: Renamed from WebKit/chromium/Build/concatenate_css_files.py. 4551 * scripts/concatenate_js_files.py: Renamed from WebKit/chromium/Build/concatenate_js_files.py. 4552 * scripts/generate_devtools_html.py: Renamed from WebKit/chromium/Build/generate_devtools_html.py. 4553 4554 2010-11-16 Pavel Feldman <pfeldman (a] chromium.org> 4555 4556 Reviewed by Yury Semikhatsky. 4557 4558 Chrome DevTools: concatenate CSS files, do not link 4559 missing JS files in release mode. 4560 https://bugs.webkit.org/show_bug.cgi?id=49586 4561 4562 * Build/concatenate_css_files.py: Added. 4563 * Build/concatenate_js_files.py: Added. 4564 * Build/generate_devtools_html.py: Added. 4565 * WebKit.gyp: 4566 4567 2010-11-15 Nat Duca <nduca (a] chromium.org> 4568 4569 Reviewed by Darin Fisher. 4570 4571 [chromium] Make WebWidget actively notify client when compositing enables. 4572 https://bugs.webkit.org/show_bug.cgi?id=49396 4573 4574 * public/WebWidgetClient.h: 4575 (WebKit::WebWidgetClient::didAcceleratedCompositingEnable): 4576 * src/WebViewImpl.cpp: 4577 (WebKit::WebViewImpl::resize): 4578 (WebKit::WebViewImpl::paint): 4579 (WebKit::WebViewImpl::setRootLayerNeedsDisplay): 4580 (WebKit::WebViewImpl::scrollRootLayerRect): 4581 (WebKit::WebViewImpl::invalidateRootLayerRect): 4582 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 4583 4584 2010-11-15 Kenneth Russell <kbr (a] google.com> 4585 4586 Reviewed by James Robinson. 4587 4588 [chromium] Remove assumption that GL functions are function pointers 4589 https://bugs.webkit.org/show_bug.cgi?id=49486 4590 4591 Added appropriate extension queries and no longer assume that GL 4592 function names are function pointers which can be tested. 4593 4594 * src/WebGraphicsContext3DDefaultImpl.cpp: 4595 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): 4596 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 4597 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes): 4598 (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer): 4599 (WebKit::WebGraphicsContext3DDefaultImpl::reshape): 4600 (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap): 4601 (WebKit::WebGraphicsContext3DDefaultImpl::getString): 4602 * src/WebGraphicsContext3DDefaultImpl.h: 4603 4604 2010-11-15 Ilya Sherman <isherman (a] chromium.org> 4605 4606 Reviewed by Kent Tamura. 4607 4608 Add capability for displaying warnings to autofill popup 4609 Warnings are displayed in dark gray italic. 4610 https://bugs.webkit.org/show_bug.cgi?id=49291 4611 http://code.google.com/p/chromium/issues/detail?id=58509 4612 4613 * src/AutoFillPopupMenuClient.cpp: 4614 (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex): 4615 Updated logic -- can only remove Autocomplete suggestions, which have unique ID 0. 4616 (WebKit::AutoFillPopupMenuClient::itemIsEnabled): False for warnings. 4617 (WebKit::AutoFillPopupMenuClient::itemStyle): Dark gray italic for warnings. 4618 (WebKit::AutoFillPopupMenuClient::menuStyle): Variable name changed. 4619 (WebKit::AutoFillPopupMenuClient::itemIsWarning): True for unique ID < 0. 4620 (WebKit::AutoFillPopupMenuClient::initialize): Updated cached styles (see above). 4621 * src/AutoFillPopupMenuClient.h: Added itemIsEnabled(), variable to cache warning style. 4622 * src/WebViewImpl.cpp: Minor cleanup. 4623 (WebKit::WebViewImpl::applyAutoFillSuggestions): 4624 4625 2010-11-14 Kent Tamura <tkent (a] chromium.org> 4626 4627 Reviewed by Dimitri Glazkov. 4628 4629 Improve API for form validation message strings 4630 https://bugs.webkit.org/show_bug.cgi?id=34945 4631 4632 * public/WebLocalizedString.h: 4633 * src/LocalizedStrings.cpp: 4634 (WebCore::validationMessageTypeMismatchForEmailText): 4635 (WebCore::validationMessageTypeMismatchForMultipleEmailText): 4636 (WebCore::validationMessageTypeMismatchForURLText): 4637 (WebCore::validationMessageTooLongText): 4638 (WebCore::validationMessageRangeUnderflowText): 4639 (WebCore::validationMessageRangeOverflowText): 4640 (WebCore::validationMessageStepMismatchText): 4641 4642 2010-11-13 Shinichiro Hamaji <hamaji (a] chromium.org> 4643 4644 Reviewed by Kent Tamura. 4645 4646 [Chromium] print doesn't work on http://nodejs.org/api.html 4647 https://bugs.webkit.org/show_bug.cgi?id=49304 4648 4649 * src/WebFrameImpl.cpp: 4650 (WebKit::ChromePrintContext::begin): 4651 (WebKit::WebFrameImpl::printBegin): 4652 4653 2010-11-12 James Simonsen <simonjam (a] chromium.org> 4654 4655 Reviewed by Darin Fisher. 4656 4657 [Web Timing] Rename interfaces: 4658 - Navigation -> PerformanceNavigation 4659 - Timing -> PerformanceTiming 4660 https://bugs.webkit.org/show_bug.cgi?id=48919 4661 4662 * src/WebPerformance.cpp: 4663 (WebKit::WebPerformance::navigationType): 4664 4665 2010-11-12 Zhenyao Mo <zmo (a] google.com> 4666 4667 Reviewed by James Robinson. 4668 4669 WebGraphicsContext3DDefaultImpl does not run on top of OpenGL ES 2.0 implementations 4670 https://bugs.webkit.org/show_bug.cgi?id=48282 4671 4672 Simple fix for a regression introduced in r71793. 4673 4674 * src/WebGraphicsContext3DDefaultImpl.cpp: 4675 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 4676 4677 2010-11-12 Ilya Sherman <isherman (a] chromium.org> 4678 4679 Reviewed by Eric Seidel. 4680 4681 Remove some trailing whitespace 4682 https://bugs.webkit.org/show_bug.cgi?id=49433 4683 4684 * src/ChromeClientImpl.cpp: 4685 (WebKit::ChromeClientImpl::createPopupMenu): 4686 * src/WebViewImpl.cpp: 4687 (WebKit::WebViewImpl::scrollRootLayerRect): 4688 (WebKit::WebViewImpl::invalidateRootLayerRect): 4689 4690 2010-11-11 MORITA Hajime <morrita (a] google.com> 4691 4692 Unreviewed another attempt to fx windows build. 4693 4694 * src/WebBindings.cpp: 4695 (WebKit::makeStringArrayImpl): 4696 4697 2010-11-11 MORITA Hajime <morrita (a] google.com> 4698 4699 Unreviewed attempt to fx windows build. 4700 4701 * src/WebBindings.cpp: 4702 (WebKit::makeStringArrayImpl): 4703 4704 2010-11-11 MORITA Hajime <morrita (a] google.com> 4705 4706 Reviewed by Kent Tamura. 4707 4708 editing/selection/context-menu-on-text.html fails on chromium 4709 https://bugs.webkit.org/show_bug.cgi?id=45898 4710 4711 Added makeStringArray(), that is used by DumpRenderTree. 4712 4713 * public/WebBindings.h: 4714 * src/WebBindings.cpp: 4715 (WebKit::makeStringArrayImpl): Added. 4716 (WebKit::WebBindings::makeStringArray): Added. 4717 4718 2010-11-11 Tony Gentilcore <tonyg (a] chromium.org> 4719 4720 Reviewed by Nate Chapin. 4721 4722 [chromium] Convert WebPerformance doubles to seconds 4723 https://bugs.webkit.org/show_bug.cgi?id=49232 4724 4725 This makes them suitable for passing to Time::FromDoubleT(). 4726 4727 * src/WebPerformance.cpp: 4728 (WebKit::millisecondsToSeconds): 4729 (WebKit::WebPerformance::navigationStart): 4730 (WebKit::WebPerformance::unloadEventEnd): 4731 (WebKit::WebPerformance::redirectStart): 4732 (WebKit::WebPerformance::redirectEnd): 4733 (WebKit::WebPerformance::fetchStart): 4734 (WebKit::WebPerformance::domainLookupStart): 4735 (WebKit::WebPerformance::domainLookupEnd): 4736 (WebKit::WebPerformance::connectStart): 4737 (WebKit::WebPerformance::connectEnd): 4738 (WebKit::WebPerformance::requestStart): 4739 (WebKit::WebPerformance::requestEnd): 4740 (WebKit::WebPerformance::responseStart): 4741 (WebKit::WebPerformance::responseEnd): 4742 (WebKit::WebPerformance::loadEventStart): 4743 (WebKit::WebPerformance::loadEventEnd): 4744 4745 2010-11-11 Hans Wennborg <hans (a] chromium.org> 4746 4747 Reviewed by Jeremy Orlow. 4748 4749 IndexedDB: signal IDBFactoryBackendInterface destruction to embedder 4750 https://bugs.webkit.org/show_bug.cgi?id=49313 4751 4752 Implement ChromiumBridge::idbShutdown(), passing through to the 4753 WebKitClient. 4754 4755 * public/WebKitClient.h: 4756 (WebKit::WebKitClient::idbShutdown): 4757 * src/ChromiumBridge.cpp: 4758 (WebCore::ChromiumBridge::idbShutdown): 4759 4760 2010-11-10 Kenneth Russell <kbr (a] google.com> 4761 4762 Reviewed by James Robinson. 4763 4764 [chromium] Clean up gfx::GetGLImplementation calls in WebGraphicsContext3DDefaultImpl 4765 https://bugs.webkit.org/show_bug.cgi?id=49336 4766 4767 * src/WebGraphicsContext3DDefaultImpl.cpp: 4768 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 4769 (WebKit::WebGraphicsContext3DDefaultImpl::reshape): 4770 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): 4771 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): 4772 4773 2010-11-10 Evan Stade <estade (a] chromium.org> 4774 4775 Reviewed by Tony Chang. 4776 4777 [chromium] menu key doesn't work when capslock or numslock is on 4778 https://bugs.webkit.org/show_bug.cgi?id=49289 4779 4780 Add a special bitmask for the "input" modifier keys (shift, alt, crtl, meta). The Modifier 4781 enum has grown to something that might be better termed State, but changing the nomenclature 4782 now is difficult. The bitmask gets its name from the related function getWebInputModifiers. 4783 4784 * public/WebInputEvent.h: add InputModifiers mask for true modifier keys 4785 * src/WebViewImpl.cpp: disregard non-modifier keys 4786 (WebKit::WebViewImpl::keyEvent): 4787 4788 2010-11-10 Csaba Osztrogonc <ossy (a] webkit.org> 4789 4790 Reviewed by David Hyatt. 4791 4792 HTML5 Ruby support should be mandatory feature 4793 https://bugs.webkit.org/show_bug.cgi?id=49272 4794 4795 Remove Ruby as optional feature. 4796 4797 * features.gypi: 4798 4799 2010-11-10 Tony Chang <tony (a] chromium.org> 4800 4801 Unreviewed, add libvpx as a chromium dependency. 4802 4803 This should fix the chromium linux build. 4804 4805 * DEPS: 4806 4807 2010-11-10 Peter Rybin <peter.rybin (a] gmail.com> 4808 4809 Reviewed by Adam Barth. 4810 4811 HTML parser should provide script column position within HTML document to JavaScript engine 4812 https://bugs.webkit.org/show_bug.cgi?id=45271 4813 4814 Replaces script line number with TextPosition structure. 4815 4816 * src/WebFrameImpl.cpp: 4817 (WebKit::WebFrameImpl::executeScript): 4818 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): 4819 (WebKit::WebFrameImpl::executeScriptAndReturnValue): 4820 4821 2010-11-09 Kenneth Russell <kbr (a] google.com> 4822 4823 Reviewed by James Robinson. 4824 4825 WebGraphicsContext3DDefaultImpl does not run on top of OpenGL ES 2.0 implementations 4826 https://bugs.webkit.org/show_bug.cgi?id=48282 4827 4828 Fixed assumptions in WebGraphicsContext3DDefaultImpl that it was 4829 running on top of desktop GL. 4830 4831 Tested various WebGL demos on Windows with ANGLE and 4832 --in-process-webgl --disable-accelerated-compositing; all are now 4833 working. Verified that --use-gl=desktop continues to work in the 4834 same configuration. 4835 4836 * src/WebGraphicsContext3DDefaultImpl.cpp: 4837 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): 4838 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 4839 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes): 4840 (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer): 4841 (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2Compliant): 4842 (WebKit::WebGraphicsContext3DDefaultImpl::reshape): 4843 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): 4844 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): 4845 (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource): 4846 * src/WebGraphicsContext3DDefaultImpl.h: 4847 4848 2010-11-09 Kent Tamura <tkent (a] chromium.org> 4849 4850 Reviewed by Dimitri Glazkov. 4851 4852 [Chromium] Add form validation message support to WebLocalizedString.h 4853 https://bugs.webkit.org/show_bug.cgi?id=49239 4854 4855 * DEPS: Roll Chromium revision to r65502 to have crrev.com/65502 4856 * public/WebLocalizedString.h: Add new symbols 4857 * src/LocalizedStrings.cpp: Call query() with the new symbols in the following functions. 4858 (WebCore::validationMessageValueMissingText): 4859 (WebCore::validationMessageTypeMismatchText): 4860 (WebCore::validationMessagePatternMismatchText): 4861 (WebCore::validationMessageTooLongText): 4862 (WebCore::validationMessageRangeUnderflowText): 4863 (WebCore::validationMessageRangeOverflowText): 4864 (WebCore::validationMessageStepMismatchText): 4865 4866 2010-11-09 Tony Chang <tony (a] chromium.org> 4867 4868 Unreviewed, rolling chromium DEPS. 4869 4870 * DEPS: Roll to r65462. 4871 4872 2010-11-09 Mihai Parparita <mihaip (a] chromium.org> 4873 4874 Unreviewed Chromium Windows build fix. 4875 4876 Add isDisplayNone to the PopupMenuStyle constructor call in 4877 PopupMenuTest (necessary after r71618). 4878 4879 * tests/PopupMenuTest.cpp: 4880 (WebKit::TestPopupMenuClient::itemStyle): 4881 4882 2010-11-09 Shinichiro Hamaji <hamaji (a] chromium.org> 4883 4884 Reviewed by Dimitri Glazkov. 4885 4886 [Chromium] display:none has no effect on <option> element 4887 https://bugs.webkit.org/show_bug.cgi?id=49169 4888 4889 * src/AutoFillPopupMenuClient.cpp: 4890 (WebKit::AutoFillPopupMenuClient::initialize): 4891 4892 2010-11-09 James Simonsen <simonjam (a] chromium.org> 4893 4894 Reviewed by Dimitri Glazkov. 4895 4896 [Web Timing] Remove requestEnd 4897 https://bugs.webkit.org/show_bug.cgi?id=48924 4898 4899 * public/WebPerformance.h: 4900 * src/WebPerformance.cpp: 4901 4902 2010-11-08 John Knottenbelt <jknotten (a] chromium.org> 4903 4904 Reviewed by Steve Block. 4905 4906 Convert to and from DOMTimeStamp with converter functions 4907 https://bugs.webkit.org/show_bug.cgi?id=49066 4908 4909 * src/WebDataSourceImpl.cpp: 4910 (WebKit::WebDataSourceImpl::triggeringEventTime): 4911 4912 4913 2010-11-08 Pierre-Antoine LaFayette <pierre.lafayette (a] gmail.com> 4914 4915 Reviewed by Darin Fisher. 4916 4917 [chromium] Adding hasUserGesture flag to the ResourceRequest 4918 https://bugs.webkit.org/show_bug.cgi?id=37057 4919 4920 This flag is to be used on the browser side to indicate when a 4921 download has been user initiated. 4922 4923 * public/WebURLRequest.h: 4924 * src/WebURLRequest.cpp: 4925 (WebKit::WebURLRequest::hasUserGesture): 4926 (WebKit::WebURLRequest::setHasUserGesture): 4927 4928 2010-11-08 Jay Civelli <jcivelli (a] chromium.org> 4929 4930 Reviewed by Darin Fisher. 4931 4932 Add an API to WebViewClient that report the load progress for a frame. 4933 https://bugs.webkit.org/show_bug.cgi?id=49137 4934 4935 * public/WebViewClient.h: 4936 (WebKit::WebViewClient::didChangeLoadProgress): 4937 * src/FrameLoaderClientImpl.cpp: 4938 (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification): 4939 4940 2010-11-08 Alexey Proskuryakov <ap (a] apple.com> 4941 4942 Reviewed by Darin Adler. 4943 4944 https://bugs.webkit.org/show_bug.cgi?id=48685 4945 Notify UI process about focused frame 4946 4947 Added an empty implementation of the new ChromeClient method. 4948 4949 * src/ChromeClientImpl.cpp: 4950 (WebKit::ChromeClientImpl::focusedFrameChanged): 4951 * src/ChromeClientImpl.h: 4952 4953 2010-11-08 Andrey Kosyakov <caseq (a] chromium.org> 4954 4955 Reviewed by Yury Semikhatsky. 4956 4957 Only call WebInspector_syncDispatch if it's actually a function. 4958 https://bugs.webkit.org/show_bug.cgi?id=49180 4959 4960 * src/WebDevToolsFrontendImpl.cpp: 4961 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 4962 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend): 4963 * src/WebDevToolsFrontendImpl.h: 4964 4965 2010-11-07 Adam Barth <abarth (a] webkit.org> 4966 4967 Reviewed by Eric Seidel. 4968 4969 Rename Cache to MemoryCache 4970 https://bugs.webkit.org/show_bug.cgi?id=49159 4971 4972 * public/WebCache.h: 4973 * src/WebCache.cpp: 4974 (WebKit::ToResourceTypeStat): 4975 (WebKit::WebCache::setCapacities): 4976 (WebKit::WebCache::clear): 4977 (WebKit::WebCache::getUsageStats): 4978 (WebKit::WebCache::getResourceTypeStats): 4979 4980 2010-11-07 Jay Civelli <jcivelli (a] chromium.org> 4981 4982 Reviewed by Kent Tamura. 4983 4984 Fixing a crasher with the select popup on Mac that happens when a 4985 page removes the select node when the select changes. 4986 https://bugs.webkit.org/show_bug.cgi?id=49108 4987 4988 * src/ExternalPopupMenu.cpp: 4989 (WebKit::ExternalPopupMenu::didAcceptIndex): 4990 (WebKit::ExternalPopupMenu::didCancel): 4991 4992 2010-11-06 Pavel Feldman <pfeldman (a] chromium.org> 4993 4994 Not reviewed. Chromium DevTools: disable filesystem inspection 4995 until polished. 4996 https://bugs.webkit.org/show_bug.cgi?id=48963 4997 4998 * src/js/DevTools.js: 4999 5000 2010-11-05 Ilya Sherman <isherman (a] chromium.org> 5001 5002 Reviewed by Simon Fraser. 5003 5004 Querying selection start and end should be const 5005 https://bugs.webkit.org/show_bug.cgi?id=48786 5006 5007 * public/WebInputElement.h: 5008 * src/WebInputElement.cpp: 5009 (WebKit::WebInputElement::selectionStart): 5010 (WebKit::WebInputElement::selectionEnd): 5011 5012 2010-11-05 Chris Marrin <cmarrin (a] apple.com> 5013 5014 Reviewed by Simon Fraser. 5015 5016 Move resumeAnimations/suspendAnimations from Frame to AnimationController. 5017 https://bugs.webkit.org/show_bug.cgi?id=49073 5018 5019 * src/WebAnimationControllerImpl.cpp: 5020 (WebKit::WebAnimationControllerImpl::suspendAnimations): 5021 (WebKit::WebAnimationControllerImpl::resumeAnimations): 5022 5023 2010-11-04 Zhenyao Mo <zmo (a] google.com> 5024 5025 Reviewed by Kenneth Russell. 5026 5027 Need to simulate DEPTH_STENCIL in framebufferRenderbuffer / getFramebufferAttachmentParameter 5028 https://bugs.webkit.org/show_bug.cgi?id=49020 5029 5030 * src/WebGraphicsContext3DDefaultImpl.cpp: Remove DEPTH_STENCIL_ATTACHMENT emulation at this level. 5031 5032 2010-11-05 Darin Fisher <darin (a] chromium.org> 5033 5034 Pull chromium@65229 to fix the build. 5035 5036 * DEPS: 5037 5038 2010-11-05 Darin Fisher <darin (a] chromium.org> 5039 5040 Reviewed by Nate Chapin. 5041 5042 Replace deprecated TargetIsSub{Frame,Resource} with TargetIsSub{frame,resource}. 5043 https://bugs.webkit.org/show_bug.cgi?id=49074 5044 5045 * public/WebURLRequest.h: 5046 * src/FrameLoaderClientImpl.cpp: 5047 5048 2010-11-05 Charlie Reis <creis (a] chromium.org> 5049 5050 Reviewed by Darin Fisher. 5051 5052 WebFrame::previousHistoryItem() should return last committed item. 5053 https://bugs.webkit.org/show_bug.cgi?id=48809 5054 5055 * src/WebFrameImpl.cpp: 5056 5057 2010-10-27 Jeremy Orlow <jorlow (a] chromium.org> 5058 5059 Reviewed by Steve Block. 5060 5061 Clean up IDBTransactionBackend/Coordinator 5062 https://bugs.webkit.org/show_bug.cgi?id=48425 5063 5064 Remove obsolete ::id() method. 5065 5066 * public/WebIDBTransaction.h: 5067 * src/IDBTransactionBackendProxy.cpp: 5068 * src/IDBTransactionBackendProxy.h: 5069 * src/WebIDBTransactionImpl.cpp: 5070 * src/WebIDBTransactionImpl.h: 5071 5072 2010-11-04 usaini <usaini08 (a] gmail.com> 5073 5074 Reviewed by Antonio Gomes. 5075 5076 WebWindowFeatures has a faulty constructor for WebCore::WindowFeatures 5077 https://bugs.webkit.org/show_bug.cgi?id=48035 5078 5079 * public/WebWindowFeatures.h: 5080 (WebKit::WebWindowFeatures::WebWindowFeatures): updated the constructor 5081 that takes in a WebCore::WindowFeature and had it copy all the variables 5082 over properly so that after calling the constructor WebWindowFeatures is 5083 always in a valid state. Before, the x,y,width,height booleans may be true, but 5084 the corresponding int values would not be updated. 5085 5086 2010-11-04 Zhenyao Mo <zmo (a] google.com> 5087 5088 Reviewed by Kenneth Russell. 5089 5090 Remove IMPLEMENTATION_COLOR_READ_FORMAT and TYPE 5091 https://bugs.webkit.org/show_bug.cgi?id=48938 5092 5093 * src/WebGraphicsContext3DDefaultImpl.cpp: 5094 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): 5095 5096 2010-11-04 Kavita Kanetkar <kkanetkar (a] chromium.org> 5097 5098 Reviewed by Adam Barth. 5099 5100 Web Inspector: Enable files ystem UI for chromium 5101 https://bugs.webkit.org/show_bug.cgi?id=48963 5102 5103 * src/js/DevTools.js: 5104 5105 2010-11-03 Adam Barth <abarth (a] webkit.org> 5106 5107 Roll Chromium DEPS 5108 https://bugs.webkit.org/show_bug.cgi?id=48978 5109 5110 * DEPS: 5111 5112 2010-11-03 Vincent Scheib <scheib (a] chromium.org> 5113 5114 Reviewed by James Robinson. 5115 5116 [chromium] GraphicsContext3D creation attributes include canRecoverFromContextLoss option 5117 https://bugs.webkit.org/show_bug.cgi?id=48850 5118 5119 Implementations of GraphicsContext3D may respect the creation attribute 5120 canRecoverFromContextLoss being false, and then only succeeding initialization if 5121 the context can satisfy that request of never being lost. DX9 on XP can not satisfy 5122 such a request. 5123 5124 Test by use of accelerated canvas 2d in Chromium with ANGLE on XP machines. 5125 5126 * public/WebGraphicsContext3D.h: 5127 (WebKit::WebGraphicsContext3D::Attributes::Attributes): 5128 * src/GraphicsContext3DChromium.cpp: 5129 (WebCore::GraphicsContext3DInternal::initialize): 5130 5131 2010-11-03 Jenn Braithwaite <jennb (a] chromium.org> 5132 5133 Reviewed by Dmitry Titov. 5134 5135 Chromium: Update resource tracking when moving a frame between documents 5136 https://bugs.webkit.org/show_bug.cgi?id=48363 5137 5138 * public/WebFrameClient.h: 5139 (WebKit::WebFrameClient::removeIdentifierForRequest): 5140 Added 5141 * src/FrameLoaderClientImpl.cpp: 5142 (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage): 5143 Notify current WebFrameClient of the resource and remove from 5144 former WebFrameClient. 5145 5146 2010-11-03 Adam Barth <abarth (a] webkit.org> 5147 5148 Roll Chromium DEPs 5149 https://bugs.webkit.org/show_bug.cgi?id=48959 5150 5151 * DEPS: 5152 5153 2010-11-03 Kenneth Russell <kbr (a] google.com> 5154 5155 Reviewed by Chris Marrin. 5156 5157 Redesign extension mechanism in GraphicsContext3D 5158 https://bugs.webkit.org/show_bug.cgi?id=46894 5159 5160 Upon request, factored out extension support from GraphicsContext3D 5161 into a new Extensions3D class. (The plural was chosen because the 5162 class and subclasses hold multiple extensions.) 5163 5164 Unlike GraphicsContext3D, Extensions3D contains only pure virtual 5165 methods. This was done because Extensions3D's inheritance diagram 5166 and usage pattern is very different from that of GraphicsContext3D, 5167 and the concrete subclasses need to decide how to implement the 5168 various entry points. Requiring them to be placed at the 5169 Extensions3D level will cause implementation details to leak into 5170 the base class, which is highly undesirable. Any virtual call 5171 overhead to these entry points will be negligible. 5172 5173 Changed call sites utilizing these extensions to call through the 5174 Extensions3D object or its subclasses. 5175 5176 Tested: 5177 - Chromium on Linux with accelerated 2D canvas and HTML5 video 5178 - Chromium on Mac OS X with WebGL and CSS 3D content 5179 - Safari on Mac OS X with WebGL and CSS 3D content 5180 5181 No new tests. Covered by existing tests. 5182 5183 * WebKit.gyp: 5184 * public/WebGraphicsContext3D.h: 5185 * src/Extensions3DChromium.cpp: Added. 5186 (WebCore::Extensions3DChromium::Extensions3DChromium): 5187 (WebCore::Extensions3DChromium::~Extensions3DChromium): 5188 (WebCore::Extensions3DChromium::supports): 5189 (WebCore::Extensions3DChromium::getGraphicsResetStatusARB): 5190 (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM): 5191 (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM): 5192 (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM): 5193 (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM): 5194 (WebCore::Extensions3DChromium::copyTextureToParentTextureCHROMIUM): 5195 * src/GraphicsContext3DChromium.cpp: 5196 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 5197 (WebCore::GraphicsContext3DInternal::getExtensions): 5198 (WebCore::GraphicsContext3DInternal::supportsExtension): 5199 * src/GraphicsContext3DInternal.h: 5200 * src/WebGraphicsContext3DDefaultImpl.cpp: 5201 (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM): 5202 (WebKit::WebGraphicsContext3DDefaultImpl::getString): 5203 * src/WebGraphicsContext3DDefaultImpl.h: 5204 * src/WebViewImpl.cpp: 5205 (WebKit::WebViewImpl::composite): 5206 5207 2010-11-03 Daniel Bates <dbates (a] rim.com> 5208 5209 For unnamed frames, window.name returns a generated name 5210 https://bugs.webkit.org/show_bug.cgi?id=6751 5211 5212 Part 1 of 2. 5213 5214 Substitute FrameTree::uniqueName() for FrameTree::name() in the Chromium port. 5215 5216 * src/WebFrameImpl.cpp: 5217 (WebKit::WebFrameImpl::name): 5218 5219 2010-11-02 Al Patrick <apatrick (a] chromium.org> 5220 5221 Reviewed by Kenneth Russell. 5222 5223 [chromium] Plugin instances can propagate the ID of the OpenGL texture they render to. 5224 5225 https://bugs.webkit.org/show_bug.cgi?id=48032 5226 5227 * public/WebPlugin.h: 5228 (WebKit::WebPlugin::getBackingTextureId): 5229 * public/WebPluginContainer.h: 5230 (WebKit::WebPluginContainer::commitBackingTexture): 5231 * src/WebPluginContainerImpl.cpp: 5232 (WebKit::WebPluginContainerImpl::commitBackingTexture): 5233 (WebKit::WebPluginContainerImpl::platformLayer): 5234 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl): 5235 * src/WebPluginContainerImpl.h: 5236 5237 2010-11-02 Kavita Kanetkar <kkanetkar (a] chromium.org> 5238 5239 Reviewed by Dumitru Daniliuc. 5240 5241 [FileSystem] Support not creating directories when queried by inspector. 5242 https://bugs.webkit.org/show_bug.cgi?id=48169 5243 5244 * src/LocalFileSystemChromium.cpp: 5245 (WebCore::LocalFileSystem::readFileSystem): 5246 (WebCore::LocalFileSystem::requestFileSystem): 5247 5248 2010-11-02 Chris Guillory <chris.guillory (a] google.com> 5249 5250 Reviewed by Chris Fleizach. 5251 5252 Chromium: Propagate a document value changed notification on scroll. 5253 https://bugs.webkit.org/show_bug.cgi?id=48817 5254 5255 * src/WebAccessibilityObject.cpp: 5256 (WebKit::WebAccessibilityObject::boundingBoxRect): 5257 5258 2010-10-29 John Abd-El-Malek <jam (a] chromium.org> 5259 5260 Reviewed by Darin Fisher. 5261 5262 [chromium]: Allow plugins to use optimized scrolling 5263 https://bugs.webkit.org/show_bug.cgi?id=48660 5264 5265 * public/WebPluginContainer.h: 5266 * src/WebPluginContainerImpl.cpp: 5267 (WebKit::WebPluginContainerImpl::scrollRect): 5268 * src/WebPluginContainerImpl.h: 5269 5270 2010-11-02 Marc-Antoine Ruel <maruel (a] chromium.org> 5271 5272 Reviewed by Dimitri Glazkov. 5273 5274 Disable incremental linking for webkit_unit_test and DumpRenderTRee on x86 Windows on chromium build. 5275 https://bugs.webkit.org/show_bug.cgi?id=48836 5276 5277 It fails to link otherwise due to lack of virtual address space. 5278 5279 * WebKit.gyp: 5280 5281 2010-11-02 Ilya Sherman <isherman (a] chromium.org> 5282 5283 Reviewed by Kent Tamura. 5284 5285 Expose the sendChangeEvent parameter in WebInputElement::setValue() API, 5286 primarily so that chromium form autofill can fire the onChange event. 5287 https://bugs.webkit.org/show_bug.cgi?id=48177 5288 5289 * public/WebInputElement.h: 5290 * src/WebInputElement.cpp: 5291 (WebKit::WebInputElement::setValue): 5292 5293 2010-11-02 Pavel Feldman <pfeldman (a] chromium.org> 5294 5295 Reviewed by Timothy Hatcher. 5296 5297 Web Inspector: make properties and event listeners look consistent with the styles section. 5298 https://bugs.webkit.org/show_bug.cgi?id=48827 5299 5300 * src/js/devTools.css: 5301 5302 2010-11-01 Tony Chang <tony (a] chromium.org> 5303 5304 Reviewed by Kent Tamura. 5305 5306 [chromium] Compile TestNetscapePlugin on chromium win 5307 https://bugs.webkit.org/show_bug.cgi?id=48802 5308 5309 It creates npTestNetscapePlugin.dll in the build directory, so 5310 it's not yet loaded by DRT or test_shell. 5311 5312 * WebKit.gyp: 5313 5314 2010-11-01 Brady Eidson <beidson (a] apple.com> 5315 5316 Reviewed by Anders Carlsson. 5317 5318 <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699 5319 Context menu support for WebKit 2. 5320 5321 * src/ChromeClientImpl.h: 5322 (WebKit::ChromeClientImpl::showContextMenu): 5323 5324 2010-11-01 Pavel Feldman <pfeldman (a] chromium.org> 5325 5326 Not reviewed: Chromium build fix. 5327 5328 * src/WebDevToolsAgentImpl.cpp: 5329 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl): 5330 5331 2010-11-01 Pavel Feldman <pfeldman (a] chromium.org> 5332 5333 Reviewed by Timothy Hatcher. 5334 5335 Web Inspector: remove old resources panel. 5336 https://bugs.webkit.org/show_bug.cgi?id=45657 5337 5338 * src/WebDevToolsAgentImpl.cpp: 5339 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 5340 * src/WebDevToolsAgentImpl.h: 5341 5342 2010-11-01 Leandro Gracia Gil <leandrogracia (a] google.com> 5343 5344 Reviewed by Jeremy Orlow. 5345 5346 This is the last part of a 4-sided patch for the language attribute 5347 in speech text buttons. This patch removes what now is dead code 5348 and re-enables the layout test introduced by bug 47089. 5349 https://bugs.webkit.org/show_bug.cgi?id=47420 5350 5351 * public/WebSpeechInputControllerMock.h: 5352 * src/WebSpeechInputControllerMockImpl.cpp: 5353 * src/WebSpeechInputControllerMockImpl.h: 5354 5355 2010-10-31 Pavel Feldman <pfeldman (a] chromium.org> 5356 5357 Reviewed by Timothy Hatcher. 5358 5359 Web Inspector: unhide new network and resources panels. 5360 https://bugs.webkit.org/show_bug.cgi?id=48725 5361 5362 * src/WebDevToolsAgentImpl.cpp: 5363 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 5364 5365 2010-10-29 Daniel Bates <dbates (a] rim.com> 5366 5367 No review, rolling out 70971. 5368 http://trac.webkit.org/changeset/70971 5369 https://bugs.webkit.org/show_bug.cgi?id=6751 5370 5371 Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since 5372 it caused layout test failures on all bots. In particular, the 5373 child count in a generated frame name differs after this patch. We need 5374 to look into this further. 5375 5376 * src/WebFrameImpl.cpp: 5377 (WebKit::WebFrameImpl::name): 5378 5379 2010-10-28 Antonio Gomes <agomes (a] rim.com> 5380 5381 Reviewed by Ojan Vafai. 5382 5383 Needs a "LinuxEditingBehavior", perhaps with a better name 5384 https://bugs.webkit.org/show_bug.cgi?id=36627 5385 5386 Added the corresponding Chromium setting to WebCore's EditingUnixBehavior: EditingBehaviorUnix. 5387 5388 * public/WebSettings.h: 5389 * src/AssertMatchingEnums.cpp: 5390 5391 2010-10-29 Daniel Bates <dbates (a] rim.com> 5392 5393 Reviewed by Adam Barth. 5394 5395 For unnamed frames, window.name returns a generated name 5396 https://bugs.webkit.org/show_bug.cgi?id=6751 5397 5398 Modified Chromium-port to use FrameTree::uniqueName(). 5399 5400 * src/WebFrameImpl.cpp: 5401 (WebKit::WebFrameImpl::name): 5402 5403 2010-10-29 Kavita Kanetkar <kkanetkar (a] chromium.org> 5404 5405 Reviewed by Pavel Feldman. 5406 5407 Web Inspector: FileSystem integration 5408 https://bugs.webkit.org/show_bug.cgi?id=45982 5409 5410 * public/WebFileUtilities.h: 5411 (WebKit::WebFileUtilities::revealFolderInOS): 5412 * src/ChromiumBridge.cpp: 5413 (WebCore::ChromiumBridge::revealFolderInOS): 5414 5415 5416 2010-10-29 Darin Adler <darin (a] apple.com> 5417 5418 Reviewed by Sam Weinig. 5419 5420 Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring 5421 https://bugs.webkit.org/show_bug.cgi?id=48574 5422 5423 * src/BackForwardListClientImpl.h: Use BackForwardListImpl.h. 5424 * src/WebViewImpl.cpp: 5425 (WebKit::WebViewImpl::WebViewImpl): Cast to BackForwardList* before calling setClient. 5426 5427 2010-10-28 Michael Nordman <michaeln (a] google.com> 5428 5429 Reviewed by ap. 5430 5431 [Chrome] Fix an appcache regression introduced in r69226 5432 https://bugs.webkit.org/show_bug.cgi?id=48592 5433 Provide a noop method body ApplicationCacheHost::maybeLoadMainResourceForRedirect. 5434 5435 * src/ApplicationCacheHost.cpp: 5436 (WebCore::ApplicationCacheHost::maybeLoadMainResourceForRedirect): 5437 5438 2010-10-29 Aaron Colwell <acolwell (a] chromium.org> 5439 5440 Reviewed by James Robinson. 5441 5442 Fix globalAlpha support when using drawImage() to copy a video frame 5443 to a 2D canvas context. 5444 https://bugs.webkit.org/show_bug.cgi?id=48094 5445 5446 This fix applies the globalAlpha value to the canvas before passing it 5447 down to the lower layers that don't have access to the graphics 5448 context. This makes sure that any drawing on the canvas will have the 5449 proper global alpha value applied. 5450 5451 * src/WebMediaPlayerClientImpl.cpp: 5452 (WebKit::WebMediaPlayerClientImpl::paint): 5453 5454 2010-10-29 Alexey Proskuryakov <ap (a] apple.com> 5455 5456 Reviewed by Darin Adler. 5457 5458 https://bugs.webkit.org/show_bug.cgi?id=48576 5459 Let WebKit2 client know when a frame is a frameset 5460 5461 Added a blank implementation of the new FrameLoaderClient method. 5462 5463 * src/FrameLoaderClientImpl.h: 5464 * src/FrameLoaderClientImpl.cpp: 5465 (WebKit::FrameLoaderClientImpl::dispatchDidBecomeFrameset): 5466 5467 2010-10-29 Pavel Feldman <pfeldman (a] chromium.org> 5468 5469 Reviewed by Timothy Hatcher. 5470 5471 Web Inspector: add close button to network view, make tests pass 5472 for resource manager on all ports. 5473 https://bugs.webkit.org/show_bug.cgi?id=48628 5474 5475 * src/js/Tests.js: 5476 5477 2010-10-29 Csaba Osztrogonc <ossy (a] webkit.org> 5478 5479 Reviewed by Adam Roben and David Kilzer. 5480 5481 Fix and cleanup of build systems 5482 https://bugs.webkit.org/show_bug.cgi?id=48342 5483 5484 * features.gypi: Remove unnecessary ENABLE_SANDBOX. 5485 5486 2010-10-29 Leandro Gracia Gil <leandrogracia (a] google.com> 5487 5488 Reviewed by Jeremy Orlow. 5489 5490 Patch the current speech input implementation to use the nearest 5491 language tag. The language is now passed to the startRecognition 5492 methods so that language-specific recognition could be used. Also added 5493 a second parameter to setMockSpeechInputResult for the language used in 5494 speech recognition. 5495 https://bugs.webkit.org/show_bug.cgi?id=47089 5496 5497 This is the 2nd of a 4-sided patch in Chromium and WebKit. For more 5498 details see http://codereview.chromium.org/3615005/show, 5499 http://codereview.chromium.org/3595018/show and 5500 https://bugs.webkit.org/show_bug.cgi?id=47420. 5501 5502 * public/WebSpeechInputController.h: 5503 (WebKit::WebSpeechInputController::startRecognition): 5504 * public/WebSpeechInputControllerMock.h: 5505 * src/SpeechInputClientImpl.cpp: 5506 (WebKit::SpeechInputClientImpl::create): 5507 (WebKit::SpeechInputClientImpl::startRecognition): 5508 * src/SpeechInputClientImpl.h: 5509 * src/WebSpeechInputControllerMockImpl.cpp: 5510 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): 5511 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 5512 * src/WebSpeechInputControllerMockImpl.h: 5513 * src/WebViewImpl.cpp: 5514 (WebKit::WebViewImpl::WebViewImpl): 5515 * src/WebViewImpl.h: 5516 5517 2010-10-28 Adam Barth <abarth (a] webkit.org> 5518 5519 Reviewed by Eric Seidel, Peter Kasting, and Darin Fisher. 5520 (Eric reviewed the CoreGraphics interactions, Peter reviewed the image 5521 decoder interaction, and Darin Fisher SGTMed the policy decision.) 5522 5523 [chromium] Chromium Mac should use WebKit's image decoders 5524 https://bugs.webkit.org/show_bug.cgi?id=47974 5525 5526 Enable WebKit's image decoders. 5527 5528 * features.gypi: 5529 5530 2010-10-28 Mihai Parparita <mihaip (a] chromium.org> 5531 5532 Reviewed by Darin Adler. 5533 5534 [Chromium] History related tests REGRESSED after r70723 5535 https://bugs.webkit.org/show_bug.cgi?id=48513 5536 5537 Since r70723 made BackForwardList::currentItem no longer be virtual, 5538 we were not reaching the implementation in Chromium's 5539 BackForwardListClientImpl, and for Chromium currentItem is not the same 5540 as itemAtIndex(0). 5541 5542 The fix is to make itemAtIndex(0) have the currentItem() behavior, which 5543 lets us keep currentItem as non-virtual (and remove its implementation 5544 from the Chromium side). 5545 5546 This also switches Chromium to use the default implementation of 5547 backItem() and forwardItem() (vs. the old stubs that just had 5548 ASSERT_NOT_REACHED) since they're actually reacheable with Chromium 5549 code thanks to the calls in FrameLoader::checkDidPerformFirstNavigation. 5550 5551 * src/BackForwardListClientImpl.cpp: 5552 (WebKit::BackForwardListClientImpl::itemAtIndex): 5553 * src/BackForwardListClientImpl.h: 5554 5555 2010-10-28 Kinuko Yasuda <kinuko (a] chromium.org> 5556 5557 Reviewed by David Levin. 5558 5559 [Chromium] Support FileSystem in chromium DRT 5560 https://bugs.webkit.org/show_bug.cgi?id=47643 5561 Update the chromium DEPS to pick up corresponding webkit_support change. 5562 Also add a temporary glue implementation with FIXME comment to 5563 WebFrameClient::openFileSystem. 5564 5565 * DEPS: 5566 * public/WebFrameClient.h: 5567 (WebKit::WebFrameClient::openFileSystem): 5568 5569 2010-10-28 Satish Sampath <satish (a] chromium.org> 5570 5571 Reviewed by Steve Block. 5572 5573 Remove obsolete public/API methods in chromium port 5574 https://bugs.webkit.org/show_bug.cgi?id=48504 5575 5576 * public/WebSpeechInputController.h: 5577 (WebKit::WebSpeechInputController::startRecognition): 5578 5579 2010-10-27 Eric Uhrhane <ericu (a] chromium.org> 5580 5581 Reviewed by David Levin. 5582 5583 [Chromium] Metadata queries should return full file info, not just modification time 5584 https://bugs.webkit.org/show_bug.cgi?id=48098 5585 5586 * src/AssertMatchingEnums.cpp: Ensure WebFileInfo and FileMetadata use the same values for file/directory indicators. 5587 * src/WebFileSystemCallbacksImpl.cpp: 5588 (WebKit::WebFileSystemCallbacksImpl::didReadMetadata): Pass through the new information. 5589 5590 2010-10-27 Kenneth Russell <kbr (a] google.com> 5591 5592 Reviewed by Dimitri Glazkov. 5593 5594 [chromium] WebGL does not work with the compositor in test_shell 5595 https://bugs.webkit.org/show_bug.cgi?id=48470 5596 5597 * src/WebGraphicsContext3DDefaultImpl.cpp: 5598 (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer): 5599 - Properly restore the draw framebuffer after resolving. 5600 (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture): 5601 - Make the context current before calling resolveMultisampledFramebuffer. 5602 5603 2010-10-27 Stuart Morgan <stuartmorgan (a] chromium.org> 5604 5605 Reviewed by David Levin. 5606 5607 Include caps lock state when converting NSEvent modifiers to 5608 WebInputEvent 5609 5610 https://bugs.webkit.org/show_bug.cgi?id=47917 5611 5612 * src/mac/WebInputEventFactory.mm: 5613 (WebKit::modifiersFromEvent): 5614 5615 2010-10-27 Chris Rogers <crogers (a] google.com> 5616 5617 Reviewed by James Robinson. 5618 5619 Add ENABLE_WEB_AUDIO feature enable flag (initially disabled) for Chromium 5620 https://bugs.webkit.org/show_bug.cgi?id=48465 5621 5622 * features.gypi: 5623 5624 2010-10-25 Tony Chang <tony (a] chromium.org> 5625 5626 Reviewed by Anders Carlsson. 5627 5628 compile TestNetscapePlugIn on chromium linux 5629 https://bugs.webkit.org/show_bug.cgi?id=48274 5630 5631 * WebKit.gyp: Enable compilation of TestNetscapePlugIn on Linux. 5632 5633 2010-10-27 Satish Sampath <satish (a] chromium.org> 5634 5635 Unreviewed, rolling out r70665. 5636 http://trac.webkit.org/changeset/70665 5637 https://bugs.webkit.org/show_bug.cgi?id=47089 5638 5639 Need to address Alexey's review comments. 5640 5641 * public/WebSpeechInputController.h: 5642 (WebKit::WebSpeechInputController::startRecognition): 5643 * public/WebSpeechInputControllerMock.h: 5644 * src/SpeechInputClientImpl.cpp: 5645 (WebKit::SpeechInputClientImpl::startRecognition): 5646 * src/SpeechInputClientImpl.h: 5647 * src/WebSpeechInputControllerMockImpl.cpp: 5648 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): 5649 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 5650 * src/WebSpeechInputControllerMockImpl.h: 5651 * src/WebViewImpl.cpp: 5652 (WebKit::WebViewImpl::WebViewImpl): 5653 * src/WebViewImpl.h: 5654 5655 2010-10-27 ZHenyao Mo <zmo (a] google.com> 5656 5657 Reviewed by Kenneth Russell. 5658 5659 Must enable GL_POINT_SPRITE in GraphicsContext3D implementations 5660 https://bugs.webkit.org/show_bug.cgi?id=45908 5661 5662 * src/WebGraphicsContext3DDefaultImpl.cpp: Enable for chromium --in-process-webgl port. 5663 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 5664 5665 2010-10-27 Leandro Gracia Gil <leandrogracia (a] google.com> 5666 5667 Reviewed by Jeremy Orlow. 5668 5669 Patch the current speech input implementation to use the nearest 5670 language tag. The language is now passed to the startRecognition 5671 methods so that language-specific recognition could be used. Also added 5672 a second parameter to setMockSpeechInputResult for the language used in 5673 speech recognition. 5674 https://bugs.webkit.org/show_bug.cgi?id=47089 5675 5676 This is the 2nd of a 4-sided patch in Chromium and WebKit. For more 5677 details see http://codereview.chromium.org/3615005/show and 5678 http://codereview.chromium.org/3595018/show. The last of the 4 patches 5679 depends also on the language tag validation provided by this patch: 5680 https://bugs.webkit.org/show_bug.cgi?id=48225. 5681 5682 * public/WebSpeechInputController.h: 5683 (WebKit::WebSpeechInputController::startRecognition): 5684 * public/WebSpeechInputControllerMock.h: 5685 * src/SpeechInputClientImpl.cpp: 5686 (WebKit::SpeechInputClientImpl::create): 5687 (WebKit::SpeechInputClientImpl::startRecognition): 5688 * src/SpeechInputClientImpl.h: 5689 * src/WebSpeechInputControllerMockImpl.cpp: 5690 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): 5691 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 5692 * src/WebSpeechInputControllerMockImpl.h: 5693 * src/WebViewImpl.cpp: 5694 (WebKit::WebViewImpl::WebViewImpl): 5695 * src/WebViewImpl.h: 5696 5697 2010-10-26 Victoria Kirst <vrk (a] google.com> 5698 5699 Reviewed by David Levin. 5700 5701 Fix compile when ACCELERATED_COMPOSITING flag is not set 5702 https://bugs.webkit.org/show_bug.cgi?id=48373 5703 5704 * src/WebMediaPlayerClientImpl.cpp: 5705 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl): 5706 (WebKit::WebMediaPlayerClientImpl::readyStateChanged): 5707 (WebKit::WebMediaPlayerClientImpl::load): 5708 * src/WebMediaPlayerClientImpl.h: 5709 5710 2010-10-26 MORITA Hajime <morrita (a] google.com> 5711 5712 Reviewed by Tony Chang. 5713 5714 Rolling in r70512 again. 5715 5716 spellcheck='' should be the same as spellcheck="true" 5717 https://bugs.webkit.org/show_bug.cgi?id=25539 5718 5719 * src/ContextMenuClientImpl.cpp: 5720 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 5721 * src/EditorClientImpl.cpp: 5722 (WebKit::EditorClientImpl::shouldSpellcheckByDefault): 5723 5724 2010-10-26 Jenn Braithwaite <jennb (a] chromium.org> 5725 5726 Reviewed by Dmitry Titov. 5727 5728 Resource tracking failure when trying to move a frame between documents 5729 https://bugs.webkit.org/show_bug.cgi?id=44713 5730 5731 * src/FrameLoaderClientImpl.cpp: 5732 (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage): 5733 Empty method. 5734 * src/FrameLoaderClientImpl.h: 5735 5736 2010-10-26 Satish Sampath <satish (a] chromium.org> 5737 5738 Reviewed by Jeremy Orlow. 5739 5740 Add a 'grammar' attribute for speech input. 5741 https://bugs.webkit.org/show_bug.cgi?id=48339 5742 5743 To differentiate between various types of speech input, we add a 'x-webkit-grammar' attribute to a 5744 speech enabled input element. This is passed without validation to the speech recognizer. Typical values 5745 could be "builtin:search", "builtin:dictation" and even an externally hosted SRGS grammar XML file URI. 5746 It is up to the recognizer to interpret the value and use it as an aid in recognition. 5747 5748 * public/WebSpeechInputController.h: 5749 (WebKit::WebSpeechInputController::startRecognition): 5750 * src/SpeechInputClientImpl.cpp: 5751 (WebKit::SpeechInputClientImpl::startRecognition): 5752 * src/SpeechInputClientImpl.h: 5753 * src/WebSpeechInputControllerMockImpl.cpp: 5754 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 5755 * src/WebSpeechInputControllerMockImpl.h: 5756 5757 2010-10-26 Hans Wennborg <hans (a] chromium.org> 5758 5759 Reviewed by Jeremy Orlow. 5760 5761 IndexedDB: update stale comments referring to WebIndexedDatabase. 5762 https://bugs.webkit.org/show_bug.cgi?id=48325 5763 5764 WebIndexedDatabase was renamed to WebIDBFactory in 5765 http://trac.webkit.org/changeset/64344, but some comments referring to 5766 it were left unchanged. 5767 5768 * public/WebIDBCursor.h: 5769 * public/WebIDBDatabase.h: 5770 * public/WebIDBDatabaseError.h: 5771 * public/WebIDBIndex.h: 5772 * public/WebIDBObjectStore.h: 5773 * public/WebIDBTransaction.h: 5774 * src/WebIDBDatabaseImpl.h: 5775 5776 2010-10-22 Stephen White <senorblanco (a] chromium.org> 5777 5778 Reviewed by Kenneth Russell. 5779 5780 Implement copy-texture-to-parent-texture API for WebGraphicsContext3DDefaultImpl. 5781 https://bugs.webkit.org/show_bug.cgi?id=48152 5782 5783 This allows the in-process implementation to do accelerated canvas and 5784 accelerated compositing together. It requires some changes landed 5785 in chromium 63528, so this patch also rolls chromium DEPS to 63722 5786 (current LKGR). 5787 5788 Covered by fast/canvas/arc360.html, and many more when run with 5789 --accelerated-compositing and --accelerated-2d-canvas. 5790 5791 * src/WebGraphicsContext3DDefaultImpl.cpp: 5792 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): 5793 Add member vars to save the currently-bound texture and for the 5794 texture-to-texture FBO. 5795 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): 5796 Delete the texture-to-texture FBO on destruction. 5797 5798 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 5799 Generate the texture-to-texture FBO. 5800 (WebKit::WebGraphicsContext3DDefaultImpl::supportsCopyTextureToParentTextureCHROMIUM): 5801 Check for support of the glGetTexLevelParameteriv function (required 5802 for this implementation). 5803 (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM): 5804 Implement the extension: bind the FBO, bind the child texture, then 5805 do a glCopyTexImage2D() into the parent texture. 5806 (WebKit::WebGraphicsContext3DDefaultImpl::bindTexture): 5807 Record the newly-bound texture in m_boundTexture. 5808 * src/WebGraphicsContext3DDefaultImpl.h: 5809 Add the two new member variables. 5810 * src/WebViewImpl.cpp: 5811 (WebKit::WebViewImpl::graphicsContext3D): 5812 Make sure the graphics context is reshaped to the correct size on all 5813 platforms. 5814 5815 2010-10-26 Alexey Marinichev <amarinichev (a] chromium.org> 5816 5817 Reviewed by Kenneth Russell. 5818 5819 [chromium] Check getGraphicsResetStatusARB and reinitialize the 5820 renderer in an error is returned. 5821 https://bugs.webkit.org/show_bug.cgi?id=47848 5822 5823 * src/WebViewImpl.cpp: 5824 (WebKit::WebViewImpl::composite): added getGraphicsResetStatusARB check 5825 (WebKit::WebViewImpl::reallocateRenderer): added 5826 * src/WebViewImpl.h: 5827 5828 2010-10-26 Kenneth Russell <kbr (a] google.com> 5829 5830 Reviewed by Andreas Kling. 5831 5832 Valgrind failure in GraphicsContext3DInternal::reshape 5833 https://bugs.webkit.org/show_bug.cgi?id=48284 5834 5835 * src/WebGraphicsContext3DDefaultImpl.cpp: 5836 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): 5837 5838 2010-10-26 Jeremy Orlow <jorlow (a] chromium.org> 5839 5840 Reviewed by Steve Block. 5841 5842 Fix IndexedDB crashes 5843 https://bugs.webkit.org/show_bug.cgi?id=48266 5844 5845 Make WebIDBObjectStoreImpl match the way that WebIDBIndexImpl passes 5846 in cursor parameters (which is the correct way). KeyRange knows how 5847 to convert itself to a WebCore type--even if the value is null. 5848 5849 * src/WebIDBObjectStoreImpl.cpp: 5850 (WebKit::WebIDBObjectStoreImpl::openCursor): 5851 5852 2010-10-26 Satish Sampath <satish (a] chromium.org> 5853 5854 Reviewed by Steve Block. 5855 5856 Remove obsolete public/API methods in chromium port. 5857 https://bugs.webkit.org/show_bug.cgi?id=48330 5858 5859 * public/WebSpeechInputListener.h: 5860 5861 2010-10-26 Jeremy Orlow <jorlow (a] chromium.org> 5862 5863 Reviewed by Steve Block. 5864 5865 Quota for IndexedDB should be per origin not per database 5866 https://bugs.webkit.org/show_bug.cgi?id=48064 5867 5868 * public/WebIDBFactory.h: 5869 * public/WebSecurityOrigin.h: 5870 * src/WebIDBFactory.cpp: 5871 (WebKit::WebIDBFactory::databaseFileName): 5872 * src/WebSecurityOrigin.cpp: 5873 (WebKit::WebSecurityOrigin::get): 5874 5875 2010-10-26 Sheriff Bot <webkit.review.bot (a] gmail.com> 5876 5877 Unreviewed, rolling out r70512. 5878 http://trac.webkit.org/changeset/70512 5879 https://bugs.webkit.org/show_bug.cgi?id=48314 5880 5881 crashes many tests (Requested by inferno-sec on #webkit). 5882 5883 * src/ContextMenuClientImpl.cpp: 5884 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 5885 * src/EditorClientImpl.cpp: 5886 (WebKit::EditorClientImpl::shouldSpellcheckByDefault): 5887 5888 2010-10-25 MORITA Hajime <morrita (a] google.com> 5889 5890 Reviewed by Tony Chang. 5891 5892 spellcheck='' should be the same as spellcheck="true" 5893 https://bugs.webkit.org/show_bug.cgi?id=25539 5894 5895 Followed API rename in WebCore. 5896 5897 * src/ContextMenuClientImpl.cpp: 5898 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 5899 * src/EditorClientImpl.cpp: 5900 (WebKit::EditorClientImpl::shouldSpellcheckByDefault): 5901 5902 2010-10-25 Satish Sampath <satish (a] chromium.org> 5903 5904 Unreviewed, fix for a build break caused by my earlier patch. 5905 5906 * public/WebSpeechInputListener.h: 5907 (WebKit::WebSpeechInputListener::setRecognitionResult): Explicitly invoking the correct constructor. 5908 5909 2010-10-21 Satish Sampath <satish (a] chromium.org> 5910 5911 Reviewed by Jeremy Orlow. 5912 5913 Allow embedder to pass on all the speech recognition results to the input element. 5914 https://bugs.webkit.org/show_bug.cgi?id=48068 5915 5916 * WebKit.gyp: Added new files 5917 * public/WebSpeechInputListener.h: 5918 * public/WebSpeechInputResult.h: Added, wrapper around WebCore::SpeechInputResult 5919 (WebKit::WebSpeechInputResult::WebSpeechInputResult): 5920 (WebKit::WebSpeechInputResult::~WebSpeechInputResult): 5921 * src/SpeechInputClientImpl.cpp: 5922 (WebKit::SpeechInputClientImpl::setRecognitionResult): Accepts an array instead of a single string. 5923 * src/SpeechInputClientImpl.h: 5924 * src/WebSpeechInputControllerMockImpl.cpp: 5925 (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult): 5926 * src/WebSpeechInputControllerMockImpl.h: 5927 * src/WebSpeechInputResult.cpp: Added. 5928 (WebKit::WebSpeechInputResult::reset): 5929 (WebKit::WebSpeechInputResult::WebSpeechInputResult): 5930 (WebKit::WebSpeechInputResult::set): 5931 (WebKit::WebSpeechInputResult::operator PassRefPtr<WebCore::SpeechInputResult>): 5932 5933 2010-10-25 Sheriff Bot <webkit.review.bot (a] gmail.com> 5934 5935 Unreviewed, rolling out r70451. 5936 http://trac.webkit.org/changeset/70451 5937 https://bugs.webkit.org/show_bug.cgi?id=48249 5938 5939 Broke set-unloaded-frame-location.html under Qt (Requested by 5940 caseq on #webkit). 5941 5942 * src/WebFrameImpl.cpp: 5943 (WebKit::WebFrameImpl::executeScript): 5944 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): 5945 (WebKit::WebFrameImpl::executeScriptAndReturnValue): 5946 5947 2010-10-25 Peter Rybin <peter.rybin (a] gmail.com> 5948 5949 Reviewed by Adam Barth. 5950 5951 HTML parser should provide script column position within HTML document to JavaScript engine 5952 https://bugs.webkit.org/show_bug.cgi?id=45271 5953 5954 Replaces script line number with TextPosition structure. 5955 5956 * src/WebFrameImpl.cpp: 5957 (WebKit::WebFrameImpl::executeScript): 5958 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): 5959 (WebKit::WebFrameImpl::executeScriptAndReturnValue): 5960 5961 2010-10-20 Kinuko Yasuda <kinuko (a] chromium.org> 5962 5963 Reviewed by Jian Li. 5964 5965 Renumber FileError/FileException error codes per latest File API spec changes 5966 https://bugs.webkit.org/show_bug.cgi?id=47936 5967 5968 * public/WebFileError.h: 5969 * src/AssertMatchingEnums.cpp: 5970 * src/AsyncFileWriterChromium.cpp: 5971 (WebCore::AsyncFileWriterChromium::didFail): 5972 5973 2010-10-24 Sheriff Bot <webkit.review.bot (a] gmail.com> 5974 5975 Unreviewed, rolling out r70361. 5976 http://trac.webkit.org/changeset/70361 5977 https://bugs.webkit.org/show_bug.cgi?id=48217 5978 5979 Chromium tests NoInitialAutocompleteForReadOnly and 5980 InitialAutocomplete don't complete (Requested by yuzo on 5981 #webkit). 5982 5983 * public/WebDocument.h: 5984 5985 2010-10-22 Jay Civelli <jcivelli (a] chromium.org> 5986 5987 Reviewed by David Levin. 5988 5989 Turning on the Autocomplete implementation on the Chromium side. 5990 https://bugs.webkit.org/show_bug.cgi?id=41283 5991 5992 * public/WebDocument.h: 5993 5994 2010-10-22 Sam Weinig <sam (a] webkit.org> 5995 5996 Reviewed by Anders Carlsson. 5997 5998 WebKit2 needs to pass the current event modifier flags when requesting a new window 5999 https://bugs.webkit.org/show_bug.cgi?id=48140 6000 6001 * src/ChromeClientImpl.cpp: 6002 (WebKit::ChromeClientImpl::createWindow): 6003 * src/ChromeClientImpl.h: 6004 * src/FrameLoaderClientImpl.cpp: 6005 (WebKit::FrameLoaderClientImpl::dispatchCreatePage): 6006 * src/FrameLoaderClientImpl.h: 6007 Add NavigationAction parameter. 6008 6009 2010-10-22 Sheriff Bot <webkit.review.bot (a] gmail.com> 6010 6011 Unreviewed, rolling out r70301. 6012 http://trac.webkit.org/changeset/70301 6013 https://bugs.webkit.org/show_bug.cgi?id=48126 6014 6015 "Lang attribute layout tests failing" (Requested by satish on 6016 #webkit). 6017 6018 * public/WebSpeechInputController.h: 6019 (WebKit::WebSpeechInputController::startRecognition): 6020 * public/WebSpeechInputControllerMock.h: 6021 * src/SpeechInputClientImpl.cpp: 6022 (WebKit::SpeechInputClientImpl::startRecognition): 6023 * src/SpeechInputClientImpl.h: 6024 * src/WebSpeechInputControllerMockImpl.cpp: 6025 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): 6026 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 6027 * src/WebSpeechInputControllerMockImpl.h: 6028 * src/WebViewImpl.cpp: 6029 (WebKit::WebViewImpl::WebViewImpl): 6030 * src/WebViewImpl.h: 6031 6032 2010-10-22 Leandro Gracia Gil <leandrogracia (a] google.com> 6033 6034 Reviewed by Jeremy Orlow. 6035 6036 Patch the current speech input implementation to use and validate the 6037 nearest language tag. The language is now passed to the startRecognition 6038 methods so that language-specific recognition could be used. Also added 6039 a second parameter to setMockSpeechInputResult for the language used in 6040 speech recognition. 6041 https://bugs.webkit.org/show_bug.cgi?id=47089 6042 6043 This is the 2nd of a 4-sided patch in Chromium and WebKit. For more 6044 details see http://codereview.chromium.org/3615005/show and 6045 http://codereview.chromium.org/3595018/show. 6046 6047 * public/WebSpeechInputController.h: 6048 (WebKit::WebSpeechInputController::startRecognition): 6049 * public/WebSpeechInputControllerMock.h: 6050 * src/SpeechInputClientImpl.cpp: 6051 (WebKit::SpeechInputClientImpl::create): 6052 (WebKit::SpeechInputClientImpl::startRecognition): 6053 * src/SpeechInputClientImpl.h: 6054 * src/WebSpeechInputControllerMockImpl.cpp: 6055 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): 6056 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 6057 * src/WebSpeechInputControllerMockImpl.h: 6058 * src/WebViewImpl.cpp: 6059 (WebKit::WebViewImpl::WebViewImpl): 6060 * src/WebViewImpl.h: 6061 6062 2010-10-21 Yuzo Fujishima <yuzo (a] google.com> 6063 6064 Unreviewed build fix attempt for Chromium Linux Debug Clang 6065 6066 * public/WebExternalPopupMenu.h: 6067 6068 2010-10-21 Tony Chang <tony (a] chromium.org> 6069 6070 Reviewed by Dimitri Glazkov. 6071 6072 [chromium] roll chromium DEPS to include forwarding headers refactor 6073 https://bugs.webkit.org/show_bug.cgi?id=48097 6074 6075 * DEPS: Roll chromium forward to include new forwarding headers script 6076 * WebKit.gyp: This dependency always existed, it's just exposed now 6077 that the header files are in a different include dir. 6078 6079 2010-10-21 Pavel Feldman <pfeldman (a] chromium.org> 6080 6081 Reviewed by Yury Semikhatsky. 6082 6083 Chromium: use dedicated event listener type in EventListenerWrapper. 6084 https://bugs.webkit.org/show_bug.cgi?id=48059 6085 6086 * src/EventListenerWrapper.cpp: 6087 (WebKit::EventListenerWrapper::EventListenerWrapper): 6088 6089 2010-10-21 Jay Civelli <jcivelli (a] chromium.org> 6090 6091 Reviewed by Darin Fisher. 6092 6093 [Chromium] Adding an API that allows external 6094 popup menus, without the use of WebCore::PopupMenuChromium. 6095 Once this is hooked up in Chromium, the plan is to remove 6096 entirely the external case from PopupMenuChromium. 6097 https://bugs.webkit.org/show_bug.cgi?id=46016 6098 6099 * WebKit.gyp: 6100 * public/WebExternalPopupMenu.h: Added. 6101 * public/WebExternalPopupMenuClient.h: Added. 6102 * public/WebMenuItemInfo.h: 6103 (WebKit::WebMenuItemInfo::WebMenuItemInfo): 6104 * public/WebView.h: 6105 * public/WebViewClient.h: 6106 (WebKit::WebViewClient::createExternalPopupMenu): 6107 * src/ChromeClientImpl.cpp: 6108 (WebKit::ChromeClientImpl::createPopupMenu): 6109 * src/ExternalPopupMenu.cpp: Added. 6110 * src/ExternalPopupMenu.h: Added. 6111 * src/WebViewImpl.cpp: 6112 (WebKit::WebView::setUseExternalPopupMenus): 6113 (WebKit::WebViewImpl::useExternalPopupMenus): 6114 * src/WebViewImpl.h: 6115 6116 2010-10-20 Sheriff Bot <webkit.review.bot (a] gmail.com> 6117 6118 Unreviewed, rolling out r70165. 6119 http://trac.webkit.org/changeset/70165 6120 https://bugs.webkit.org/show_bug.cgi?id=48007 6121 6122 It broke tests on Qt bot (Requested by Ossy on #webkit). 6123 6124 * src/WebFrameImpl.cpp: 6125 (WebKit::WebFrameImpl::executeScript): 6126 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): 6127 (WebKit::WebFrameImpl::executeScriptAndReturnValue): 6128 6129 2010-10-20 Peter Rybin <peter.rybin (a] gmail.com> 6130 6131 Reviewed by Adam Barth. 6132 6133 HTML parser should provide script column position within HTML document to JavaScript engine 6134 https://bugs.webkit.org/show_bug.cgi?id=45271 6135 6136 Replaces script line number with TextPosition structure. 6137 6138 * src/WebFrameImpl.cpp: 6139 (WebKit::WebFrameImpl::executeScript): 6140 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): 6141 (WebKit::WebFrameImpl::executeScriptAndReturnValue): 6142 6143 2010-10-20 John Abd-El-Malek <jam (a] chromium.org> 6144 6145 Reviewed by Darin Fisher. 6146 6147 [chromium] Fix crash when mousing over scrollview 6148 https://bugs.webkit.org/show_bug.cgi?id=47956 6149 6150 * src/ChromeClientImpl.cpp: 6151 (WebKit::ChromeClientImpl::mouseDidMoveOverElement): 6152 * src/ChromiumBridge.cpp: 6153 (WebCore::ChromiumBridge::pluginScriptableObject): 6154 * src/ContextMenuClientImpl.cpp: 6155 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 6156 * src/FrameLoaderClientImpl.cpp: 6157 (WebKit::FrameLoaderClientImpl::redirectDataToPlugin): 6158 * src/WebPluginContainerImpl.h: 6159 (WebKit::WebPluginContainerImpl::isPluginContainer): 6160 6161 2010-10-20 Sheriff Bot <webkit.review.bot (a] gmail.com> 6162 6163 Unreviewed, rolling out r70149. 6164 http://trac.webkit.org/changeset/70149 6165 https://bugs.webkit.org/show_bug.cgi?id=47989 6166 6167 "Build breaks in mac and win" (Requested by satish on 6168 #webkit). 6169 6170 * public/WebSpeechInputController.h: 6171 (WebKit::WebSpeechInputController::startRecognition): 6172 * public/WebSpeechInputControllerMock.h: 6173 * src/SpeechInputClientImpl.cpp: 6174 (WebKit::SpeechInputClientImpl::startRecognition): 6175 * src/SpeechInputClientImpl.h: 6176 * src/WebSpeechInputControllerMockImpl.cpp: 6177 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): 6178 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 6179 * src/WebSpeechInputControllerMockImpl.h: 6180 * src/WebViewImpl.cpp: 6181 (WebKit::WebViewImpl::WebViewImpl): 6182 * src/WebViewImpl.h: 6183 6184 2010-10-20 Leandro Gracia Gil <leandrogracia (a] google.com> 6185 6186 Reviewed by Jeremy Orlow. 6187 6188 Patch the current speech input implementation to use and validate the 6189 nearest language tag. The language is now passed to the startRecognition 6190 methods so that language-specific recognition could be used. Also added 6191 a second parameter to setMockSpeechInputResult for the language used in 6192 speech recognition. 6193 https://bugs.webkit.org/show_bug.cgi?id=47089 6194 6195 This is the 2nd of a 4-sided patch in Chromium and WebKit. For more 6196 details see http://codereview.chromium.org/3615005/show and 6197 http://codereview.chromium.org/3595018/show. 6198 6199 * public/WebSpeechInputController.h: 6200 (WebKit::WebSpeechInputController::startRecognition): 6201 * public/WebSpeechInputControllerMock.h: 6202 * src/SpeechInputClientImpl.cpp: 6203 (WebKit::SpeechInputClientImpl::create): 6204 (WebKit::SpeechInputClientImpl::startRecognition): 6205 * src/SpeechInputClientImpl.h: 6206 * src/WebSpeechInputControllerMockImpl.cpp: 6207 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): 6208 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 6209 * src/WebSpeechInputControllerMockImpl.h: 6210 * src/WebViewImpl.cpp: 6211 (WebKit::WebViewImpl::WebViewImpl): 6212 * src/WebViewImpl.h: 6213 6214 2010-10-20 Dirk Schulze <krit (a] webkit.org> 6215 6216 Unreviewed Chromium win build fix. 6217 6218 * tests/TransparencyWinTest.cpp: 6219 (WebCore::TEST): 6220 6221 2010-10-20 Dirk Schulze <krit (a] webkit.org> 6222 6223 Reviewed by Nikolas Zimmermann. 6224 6225 Merge ColorSpace and ImageColorSpace enums 6226 https://bugs.webkit.org/show_bug.cgi?id=47922 6227 6228 Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB 6229 to follow webkit style rules. 6230 6231 * src/WebFontImpl.cpp: 6232 (WebKit::WebFontImpl::drawText): 6233 * src/WebFrameImpl.cpp: 6234 (WebKit::WebFrameImpl::paintWithContext): 6235 * src/WebViewImpl.cpp: 6236 (WebKit::WebViewImpl::doPixelReadbackToCanvas): 6237 * tests/TransparencyWinTest.cpp: 6238 (WebCore::TEST): 6239 6240 2010-10-19 Andrey Kosyakov <caseq (a] chromium.org> 6241 6242 Reviewed by Pavel Feldman. 6243 6244 Web Inspector: expose request/response cookies in HAR 6245 https://bugs.webkit.org/show_bug.cgi?id=47894 6246 6247 * src/WebResourceRawHeaders.cpp: 6248 (WebKit::addHeader): paste coalescent headers using "\n: as a separator instead of ", " 6249 6250 2010-10-19 Tony Chang <tony (a] chromium.org> 6251 6252 Reviewed by Kent Tamura. 6253 6254 [chromium] Use webkit's TestNetscapePlugIn in DRT mac 6255 https://bugs.webkit.org/show_bug.cgi?id=47850 6256 6257 * WebKit.gyp: Copy WebKitTestPlugIn into plugins and add 6258 GCC_SYMBOLS_PRIVATE_EXTERN: NO to export the symbols. 6259 6260 2010-10-19 Tony Chang <tony (a] chromium.org> 6261 6262 Unreviewed. Rolling chromium DEPS to 63057 to pick up mac plugin 6263 loading in DRT. 6264 6265 * DEPS: bump chromium DEPS to 63057. 6266 6267 2010-10-19 Tony Chang <tony (a] chromium.org> 6268 6269 Reviewed by Kent Tamura. 6270 6271 [chromium] DumpRenderTree shouldn't put '.' in include path 6272 https://bugs.webkit.org/show_bug.cgi?id=47877 6273 6274 * WebKit.gyp: Replace '.' with <(chromium_src_dir) and add public 6275 6276 2010-10-18 Adrienne Walker <enne (a] google.com> 6277 6278 Reviewed by Kenneth Russell. 6279 6280 Turn off antialiasing when using Mesa during testing. 6281 https://bugs.webkit.org/show_bug.cgi?id=47697 6282 6283 * src/WebGraphicsContext3DDefaultImpl.cpp: 6284 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes): 6285 6286 2010-10-18 James Robinson <jamesr (a] chromium.org> 6287 6288 Update the chromium DEPS from 62399 to 62813 to pick up skia fixes 6289 6290 * DEPS: 6291 6292 2010-10-17 Pavel Feldman <pfeldman (a] chromium.org> 6293 6294 Reviewed by Yury Semikhatsky. 6295 6296 Web Inspector: Introduce InspectorResourceAgent.h/cpp and ResourceManager.js to 6297 fill network panel with data. 6298 https://bugs.webkit.org/show_bug.cgi?id=47779 6299 6300 * src/WebDevToolsAgentImpl.cpp: 6301 (WebKit::WebDevToolsAgentImpl::didReceiveResponse): 6302 6303 2010-10-17 Pascal Massimino <pascal.massimino (a] gmail.com> 6304 6305 Reviewed by Adam Barth. 6306 6307 Add support for WebP image decoding in ImageDecoder 6308 using library libwebp-decode library available from 6309 http://www.webmproject.org/code/ 6310 6311 https://bugs.webkit.org/show_bug.cgi?id=47512 6312 6313 Tests: fast/images/webp-image-decoding.html 6314 6315 * CMakeLists.txt: 6316 add platform/image-decoders/webp files and directory 6317 * GNUmakefile.am: 6318 add platform/image-decoders/webp directory 6319 * WebCore.gyp/WebCore.gyp: 6320 add platform/image-decoders/webp directory 6321 * WebCore.gypi: 6322 add platform/image-decoders/webp directory 6323 * features.gypi: 6324 add WTF_USE_WEBP=1 6325 * platform/image-decoders/ImageDecoder.cpp: 6326 (WebCore::ImageDecoder::create): 6327 instantiate webp decoder for file starting with 'RIFF????WEBP' 6328 * platform/image-decoders/webp: Added. 6329 * platform/image-decoders/webp/WEBPImageDecoder.cpp: Added. 6330 (WebCore::WEBPImageDecoder::WEBPImageDecoder): 6331 (WebCore::WEBPImageDecoder::~WEBPImageDecoder): 6332 (WebCore::WEBPImageDecoder::isSizeAvailable): 6333 (WebCore::WEBPImageDecoder::frameBufferAtIndex): 6334 (WebCore::WEBPImageDecoder::decode): 6335 sub-class handling decoding of webp images 6336 * platform/image-decoders/webp/WEBPImageDecoder.h: Added. 6337 (WebCore::WEBPImageDecoder::filenameExtension): 6338 (WebCore::WEBPImageDecoder::supportsAlpha): 6339 header for webp-decoder sub-class 6340 6341 2010-10-15 Tony Chang <tony (a] chromium.org> 6342 6343 Reviewed by Kent Tamura. 6344 6345 [chromium] compile TestNetscapePlugIn on Chromium mac 6346 https://bugs.webkit.org/show_bug.cgi?id=47633 6347 6348 * WebKit.gyp: Add a mac specific target for compiling TestNetscapePlugIn 6349 Fix an include dir so we can compile in a chromium checkout. 6350 6351 2010-10-15 Sheriff Bot <webkit.review.bot (a] gmail.com> 6352 6353 Unreviewed, rolling out r69809. 6354 http://trac.webkit.org/changeset/69809 6355 https://bugs.webkit.org/show_bug.cgi?id=47725 6356 6357 Broke chromium mac compile (Requested by japhet on #webkit). 6358 6359 * WebKit.gyp: 6360 6361 2010-10-15 Nikolas Zimmermann <nzimmermann (a] rim.com> 6362 6363 Reviewed by Dirk Schulze. 6364 6365 Replace some String::format() usages by StringConcatenate in WebKit 6366 https://bugs.webkit.org/show_bug.cgi?id=47714 6367 6368 * src/BackForwardListClientImpl.cpp: 6369 (WebKit::BackForwardListClientImpl::itemAtIndex): 6370 * src/DebuggerAgentManager.cpp: 6371 (WebKit::DebuggerAgentManager::debugDetach): 6372 * src/LocalizedStrings.cpp: 6373 (WebCore::imageTitle): 6374 * src/WebPageSerializer.cpp: 6375 (WebKit::WebPageSerializer::generateMetaCharsetDeclaration): 6376 (WebKit::WebPageSerializer::generateBaseTagDeclaration): 6377 6378 2010-10-14 Wei Jia <wjia (a] chromium.org> 6379 6380 Reviewed by Darin Fisher. 6381 6382 Retrieve info of lock keys from stashed currentInputEvent which 6383 is stored by chromium when it passes input event to WebCore. 6384 Retrieving only when stashed event is a keyboard event, which 6385 means synthetic KeyboardEvent inherits lock key state from real 6386 keyboard event. 6387 https://bugs.webkit.org/show_bug.cgi?id=46518 6388 6389 * src/WebPluginContainerImpl.cpp: 6390 (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 6391 6392 2010-10-14 John Abd-El-Malek <jam (a] chromium.org> 6393 6394 Reviewed by Tony Chang. 6395 6396 [chromium] null check the widget before sending it data as calling didReceiveData might delete it 6397 https://bugs.webkit.org/show_bug.cgi?id=47708 6398 6399 * src/FrameLoaderClientImpl.cpp: 6400 (WebKit::FrameLoaderClientImpl::committedLoad): 6401 6402 2010-10-14 Tony Chang <tony (a] chromium.org> 6403 6404 Reviewed by Kent Tamura. 6405 6406 [chromium] compile TestNetscapePlugIn on Chromium mac 6407 https://bugs.webkit.org/show_bug.cgi?id=47633 6408 6409 * WebKit.gyp: Add a mac specific target for compiling TestNetscapePlugIn 6410 6411 2010-10-13 Kinuko Yasuda <kinuko (a] chromium.org> 6412 6413 Reviewed by Jian Li. 6414 6415 [Chromium] Enable FILE_SYSTEM by default for chromium 6416 https://bugs.webkit.org/show_bug.cgi?id=47639 6417 6418 * features.gypi: Add FILE_SYSTEM=1. Also remove FILE_READER=1 6419 as it seems to be not used anymore. 6420 6421 2010-10-13 Jeremy Orlow <jorlow (a] chromium.org> 6422 6423 Reviewed by Nate Chapin. 6424 6425 IndexedDB should fire some errors synchronously 6426 https://bugs.webkit.org/show_bug.cgi?id=47530 6427 6428 * public/WebIDBCursor.h: 6429 * public/WebIDBDatabase.h: 6430 (WebKit::WebIDBDatabase::transaction): 6431 * public/WebIDBFactory.h: 6432 (WebKit::WebIDBFactory::open): 6433 * public/WebIDBObjectStore.h: 6434 * public/WebIDBTransactionCallbacks.h: 6435 * src/IDBCursorBackendProxy.cpp: 6436 (WebCore::IDBCursorBackendProxy::update): 6437 (WebCore::IDBCursorBackendProxy::continueFunction): 6438 (WebCore::IDBCursorBackendProxy::remove): 6439 * src/IDBCursorBackendProxy.h: 6440 * src/IDBDatabaseProxy.cpp: 6441 (WebCore::IDBDatabaseProxy::createObjectStore): 6442 (WebCore::IDBDatabaseProxy::removeObjectStore): 6443 (WebCore::IDBDatabaseProxy::setVersion): 6444 (WebCore::IDBDatabaseProxy::transaction): 6445 * src/IDBDatabaseProxy.h: 6446 * src/IDBIndexBackendProxy.cpp: 6447 (WebCore::IDBIndexBackendProxy::openCursor): 6448 (WebCore::IDBIndexBackendProxy::openKeyCursor): 6449 (WebCore::IDBIndexBackendProxy::get): 6450 (WebCore::IDBIndexBackendProxy::getKey): 6451 * src/IDBIndexBackendProxy.h: 6452 * src/IDBObjectStoreProxy.cpp: 6453 (WebCore::IDBObjectStoreProxy::get): 6454 (WebCore::IDBObjectStoreProxy::put): 6455 (WebCore::IDBObjectStoreProxy::remove): 6456 (WebCore::IDBObjectStoreProxy::createIndex): 6457 (WebCore::IDBObjectStoreProxy::index): 6458 (WebCore::IDBObjectStoreProxy::removeIndex): 6459 (WebCore::IDBObjectStoreProxy::openCursor): 6460 * src/IDBObjectStoreProxy.h: 6461 * src/WebIDBCursorImpl.cpp: 6462 (WebKit::WebIDBCursorImpl::update): 6463 (WebKit::WebIDBCursorImpl::continueFunction): 6464 (WebKit::WebIDBCursorImpl::remove): 6465 * src/WebIDBCursorImpl.h: 6466 * src/WebIDBDatabaseImpl.cpp: 6467 (WebKit::WebIDBDatabaseImpl::createObjectStore): 6468 (WebKit::WebIDBDatabaseImpl::removeObjectStore): 6469 (WebKit::WebIDBDatabaseImpl::setVersion): 6470 (WebKit::WebIDBDatabaseImpl::transaction): 6471 * src/WebIDBDatabaseImpl.h: 6472 * src/WebIDBIndexImpl.cpp: 6473 (WebKit::WebIDBIndexImpl::openObjectCursor): 6474 (WebKit::WebIDBIndexImpl::openKeyCursor): 6475 (WebKit::WebIDBIndexImpl::getObject): 6476 (WebKit::WebIDBIndexImpl::getKey): 6477 * src/WebIDBIndexImpl.h: 6478 * src/WebIDBObjectStoreImpl.cpp: 6479 (WebKit::WebIDBObjectStoreImpl::get): 6480 (WebKit::WebIDBObjectStoreImpl::put): 6481 (WebKit::WebIDBObjectStoreImpl::remove): 6482 (WebKit::WebIDBObjectStoreImpl::createIndex): 6483 (WebKit::WebIDBObjectStoreImpl::index): 6484 (WebKit::WebIDBObjectStoreImpl::removeIndex): 6485 (WebKit::WebIDBObjectStoreImpl::openCursor): 6486 * src/WebIDBObjectStoreImpl.h: 6487 6488 2010-10-13 Brett Wilson <brettw (a] chromium.org> 6489 6490 Reviewed by Darin Fisher. 6491 6492 Save and restore the GraphicsContext around setting the clip rect for 6493 drawing text. 6494 https://bugs.webkit.org/show_bug.cgi?id=47634 6495 6496 * src/WebFontImpl.cpp: 6497 (WebKit::WebFontImpl::drawText): 6498 6499 2010-10-13 Kenneth Russell <kbr (a] google.com> 6500 6501 Reviewed by James Robinson. 6502 6503 Revert changes to WebViewImpl in r69633 6504 https://bugs.webkit.org/show_bug.cgi?id=47610 6505 6506 Revert change to WebViewImpl.cpp in 6507 http://trac.webkit.org/changeset/69633 which incorrectly used 6508 PassRefPtr for a local variable instead of RefPtr. This was a fix 6509 for changes in http://trac.webkit.org/changeset/69619 and 6510 http://trac.webkit.org/changeset/69624 . 6511 6512 * src/WebViewImpl.cpp: 6513 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 6514 6515 2010-10-13 Gavin Barraclough <barraclough (a] apple.com> 6516 6517 Reviewed by Oliver Hunt. 6518 6519 Bug 43987 - Downloading using XHR is much slower than before 6520 6521 * src/WebPageSerializerImpl.cpp: 6522 (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer): 6523 6524 2010-10-13 Adam Barth <abarth (a] webkit.org> 6525 6526 Reviewed by Tony Chang. 6527 6528 [Chromium] Clean up WebPageSerializerImpl::serialize 6529 https://bugs.webkit.org/show_bug.cgi?id=47577 6530 6531 This patch shouldn't have any behavior change. I'm just trying to 6532 understand what this code does. 6533 6534 * src/WebPageSerializerImpl.cpp: 6535 (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer): 6536 (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer): 6537 (WebKit::WebPageSerializerImpl::serialize): 6538 * src/WebPageSerializerImpl.h: 6539 6540 2010-10-13 John Knottenbelt <jknotten (a] chromium.org> 6541 6542 Reviewed by Steve Block. 6543 6544 First step towards client-based Geolocation in Chromium. Build 6545 fixes for CLIENT_BASED_GEOLOCATION preprocessor feature define. 6546 https://bugs.webkit.org/show_bug.cgi?id=47586 6547 6548 * WebKit.gyp: 6549 * src/ChromeClientImpl.cpp: 6550 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame): 6551 (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame): 6552 * src/ChromiumBridge.cpp: 6553 * src/WebGeolocationServiceMock.cpp: 6554 (WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock): 6555 (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission): 6556 (WebKit::WebGeolocationServiceMock::setMockGeolocationPosition): 6557 (WebKit::WebGeolocationServiceMock::setMockGeolocationError): 6558 6559 2010-10-11 Andrei Popescu <andreip (a] google.com> 6560 6561 Reviewed by Jeremy Orlow. 6562 6563 [Chromium] Cleanup WebIDBFactory::open once the Chromium plumbing has landed. 6564 https://bugs.webkit.org/show_bug.cgi?id=47531 6565 6566 Remove the temporary open() method since the appropriate Chromium plumbing was 6567 added in http://codereview.chromium.org/3729003/ 6568 6569 * public/WebIDBFactory.h: 6570 (WebKit::WebIDBFactory::open): 6571 6572 2010-10-13 Adam Barth <abarth (a] webkit.org> 6573 6574 Reviewed by Darin Fisher. 6575 6576 [Chromium] Clean up SerializeDomParam 6577 https://bugs.webkit.org/show_bug.cgi?id=47580 6578 6579 This patch just renames a bunch of the members of this struct to be 6580 more sensible. No behavior change, well, except for one struct member 6581 that wasn't initialized. I didn't trace through this code to see if 6582 the uninitialized value was used anywhere, but initializing all the 6583 values seems like a good idea. 6584 6585 * src/WebPageSerializerImpl.cpp: 6586 (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam): 6587 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): 6588 (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag): 6589 (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag): 6590 (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer): 6591 (WebKit::WebPageSerializerImpl::openTagToString): 6592 (WebKit::WebPageSerializerImpl::endTagToString): 6593 (WebKit::WebPageSerializerImpl::buildContentForNode): 6594 * src/WebPageSerializerImpl.h: 6595 6596 2010-10-13 Yury Semikhatsky <yurys (a] chromium.org> 6597 6598 Reviewed by Pavel Feldman. 6599 6600 Web Inspector: stack information is inconsistent between console.trace and runtime errors. 6601 https://bugs.webkit.org/show_bug.cgi?id=47252 6602 6603 * DEPS: bump up V8 revision 6604 6605 2010-10-12 Kenneth Russell <kbr (a] google.com> 6606 6607 Unreviewed. Fixes for all WebGL content causing assertion failures 6608 in Chromium after http://trac.webkit.org/changeset/69619 and 6609 http://trac.webkit.org/changeset/69624 . 6610 6611 * src/GraphicsContext3DChromium.cpp: 6612 (WebCore::GraphicsContext3D::create): 6613 * src/WebViewImpl.cpp: 6614 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 6615 6616 2010-10-12 Alok priyadarshi <alokp (a] chromium.org> 6617 6618 Reviewed by Kenneth Russell. 6619 6620 Remove support for ANGLE SH_VERSION <= 100 6621 https://bugs.webkit.org/show_bug.cgi?id=47307 6622 6623 * src/WebGraphicsContext3DDefaultImpl.cpp: 6624 (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers): 6625 (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource): 6626 6627 2010-10-12 James Robinson <jamesr (a] chromium.org> 6628 6629 Unreviewed chromium compile fixes for http://trac.webkit.org/changeset/69619. 6630 6631 * src/GraphicsContext3DChromium.cpp: 6632 (WebCore::GraphicsContext3D::create): 6633 * src/WebViewImpl.cpp: 6634 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 6635 * src/WebViewImpl.h: 6636 6637 2010-10-12 Jian Li <jianli (a] chromium.org> 6638 6639 Unreviewed. Bump up revision in order to pick up fix. 6640 6641 * DEPS: 6642 6643 2010-10-12 Jian Li <jianli (a] chromium.org> 6644 6645 Unreview. Build fix for chromium. 6646 6647 * public/WebBlobRegistry.h: 6648 6649 2010-10-12 Jian Li <jianli (a] chromium.org> 6650 6651 Reviewed by Darin Fisher. 6652 6653 [chromium] Update WebBlobData to adapt to BlobData change in terms of 6654 handling string data item. 6655 https://bugs.webkit.org/show_bug.cgi?id=47423 6656 6657 Also remove unneeded methods in WebBlobData. WebBlobStorageData.* are 6658 also removed since they're not longer needed. 6659 6660 * WebKit.gyp: 6661 * public/WebBlobData.h: 6662 * public/WebBlobRegistry.h: 6663 * public/WebBlobStorageData.h: Removed. 6664 * public/WebThreadSafeData.h: Added. 6665 * src/WebBlobData.cpp: 6666 * src/WebBlobStorageData.cpp: Removed. 6667 * src/WebThreadSafeData.cpp: Added. 6668 6669 2010-10-12 Kavita Kanetkar <kkanetkar (a] chromium.org> 6670 6671 Reviewed by Dumitru Daniliuc. 6672 6673 [FileSystem] Add ability to pass a bool to create or not create root path while opening filesystem. 6674 https://bugs.webkit.org/show_bug.cgi?id=47519 6675 6676 * public/WebCommonWorkerClient.h: 6677 (WebKit::WebCommonWorkerClient::openFileSystem): 6678 * public/WebFrameClient.h: 6679 (WebKit::WebFrameClient::openFileSystem): 6680 6681 2010-10-12 James Robinson <jamesr (a] chromium.org> 6682 6683 Reviewed by Nate Chapin (in person). 6684 6685 Fix chromium compile. 6686 6687 * src/WebPageSerializerImpl.cpp: 6688 (WebKit::WebPageSerializerImpl::WebPageSerializerImpl): 6689 (WebKit::WebPageSerializerImpl::serialize): 6690 6691 2010-10-12 Nikolas Zimmermann <nzimmermann (a] rim.com> 6692 6693 Reviewed by Gavin Barraclough. 6694 6695 Unify JSC::StringBuilder & WebCore::StringBuilder 6696 https://bugs.webkit.org/show_bug.cgi?id=47538 6697 6698 * src/LocalizedStrings.cpp: 6699 (WebCore::imageTitle): Use WTF::StringBuilder. 6700 * src/WebEntities.cpp: 6701 (WebKit::WebEntities::convertEntitiesInString): Ditto. 6702 * src/WebPageSerializerImpl.cpp: Remove useless includes. 6703 (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer): 6704 * src/WebPageSerializerImpl.h: Use WTF::StringBuilder. 6705 6706 2010-10-07 Stephen White <senorblanco (a] chromium.org> 6707 6708 Reviewed by James Robinson. 6709 6710 [chromium] Zero-out all textures created via WebGraphicsContext3DDefaultImpl::texImage2D(). 6711 https://bugs.webkit.org/show_bug.cgi?id=47178 6712 6713 Covered by fast/canvas/toDataURL-alpha.html, when run with --accelerated-2d-canvas. 6714 6715 * src/WebGraphicsContext3DDefaultImpl.cpp: 6716 (WebKit::bytesPerComponent): 6717 (WebKit::componentsPerPixel): 6718 (WebKit::imageSizeInBytes): 6719 (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D): 6720 6721 2010-10-12 Dave Moore <davemoore (a] chromium.org> 6722 6723 Reviewed by Tony Chang. 6724 6725 Use new WebThemeEngine api on chromium / linux to draw scrollbars. 6726 https://bugs.webkit.org/show_bug.cgi?id=47473 6727 6728 * public/WebThemeEngine.h: Removed. 6729 * chromium/src/ChromiumBridge.cpp: 6730 6731 2010-10-11 Daniel Cheng <dcheng (a] chromium.org> 6732 6733 Reviewed by Tony Chang. 6734 6735 [chromium] Prepare Clipboard/DragData for transition to new drag-and-drop interface. 6736 https://bugs.webkit.org/show_bug.cgi?id=44992 6737 6738 Add a new entry point for drag in to allow a graceful transition 6739 from the legacy drag and drop model, where all data is copied in at the 6740 beginning of a drag, to a model where data is retrieved on demand via 6741 IPCs. The rationale for this is when we begin supporting arbitrary MIME 6742 types in dataTransfer, we don't want to be copying aribtrary amounts of 6743 data over for each start drag IPC. 6744 6745 * public/WebView.h: 6746 * src/WebDragData.cpp: 6747 (WebKit::WebDragData::initialize): Use the legacy data object. 6748 (WebKit::WebDragData::ensureMutable): Change the if to an ASSERT. 6749 * src/WebViewImpl.cpp: 6750 (WebKit::WebViewImpl::dragTargetDragEnterNew): New entry point. 6751 * src/WebViewImpl.h: 6752 6753 2010-10-11 Jeremy Orlow <jorlow (a] chromium.org> 6754 6755 Reviewed by Nate Chapin. 6756 6757 [Chromium] Add plumbing for synchronous indexedDB exceptions 6758 https://bugs.webkit.org/show_bug.cgi?id=47511 6759 6760 Add a WebExceptionCode file (already run by fishd) and add versions of 6761 each applicable method that take such a parameter. A follow up patch 6762 will be posted with the meat. 6763 6764 * WebKit.gyp: 6765 * public/WebExceptionCode.h: Added. 6766 * public/WebIDBCursor.h: 6767 (WebKit::WebIDBCursor::update): 6768 (WebKit::WebIDBCursor::continueFunction): 6769 (WebKit::WebIDBCursor::remove): 6770 * public/WebIDBDatabase.h: 6771 (WebKit::WebIDBDatabase::objectStore): 6772 (WebKit::WebIDBDatabase::createObjectStore): 6773 (WebKit::WebIDBDatabase::removeObjectStore): 6774 (WebKit::WebIDBDatabase::setVersion): 6775 (WebKit::WebIDBDatabase::transaction): 6776 * public/WebIDBIndex.h: 6777 (WebKit::WebIDBIndex::openObjectCursor): 6778 (WebKit::WebIDBIndex::openKeyCursor): 6779 (WebKit::WebIDBIndex::getObject): 6780 (WebKit::WebIDBIndex::getKey): 6781 * public/WebIDBObjectStore.h: 6782 (WebKit::WebIDBObjectStore::get): 6783 (WebKit::WebIDBObjectStore::put): 6784 (WebKit::WebIDBObjectStore::remove): 6785 (WebKit::WebIDBObjectStore::createIndex): 6786 (WebKit::WebIDBObjectStore::index): 6787 (WebKit::WebIDBObjectStore::removeIndex): 6788 (WebKit::WebIDBObjectStore::openCursor): 6789 6790 2010-10-11 Andrei Popescu <andreip (a] google.com> 6791 6792 Reviewed by Jeremy Orlow. 6793 6794 The names of IndexedDB-specific attributes of DOMWindow should be prefixed with 'webkit'. 6795 https://bugs.webkit.org/show_bug.cgi?id=47508 6796 6797 * src/WebRuntimeFeatures.cpp: 6798 (WebKit::WebRuntimeFeatures::enableIndexedDatabase): 6799 (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled): 6800 6801 2010-10-11 Tony Chang <tony (a] chromium.org> 6802 6803 Unreviewed, roll chromium DEPS to pick up Dave's fix for 6804 scrollbar painting. This will be needed by an upcoming patch. 6805 6806 * DEPS: 6807 6808 2010-10-11 Kinuko Yasuda <kinuko (a] google.com> 6809 6810 Reviewed by David Levin. 6811 6812 Support DirectoryEntry.removeRecursively for FileSystem API 6813 https://bugs.webkit.org/show_bug.cgi?id=47400 6814 6815 * src/AsyncFileSystemChromium.cpp: 6816 (WebCore::AsyncFileSystemChromium::removeRecursively): Added. 6817 * src/AsyncFileSystemChromium.h: 6818 * src/WorkerAsyncFileSystemChromium.cpp: 6819 (WebCore::WorkerAsyncFileSystemChromium::removeRecursively): Added. 6820 * src/WorkerAsyncFileSystemChromium.h: 6821 * src/WorkerFileSystemCallbacksBridge.cpp: 6822 (WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread): Added. 6823 (WebKit::WorkerFileSystemCallbacksBridge::removeRecursivelyOnMainThread): Added. 6824 * src/WorkerFileSystemCallbacksBridge.h: 6825 6826 2010-10-09 Varun Jain <varunjain (a] chromium.org> 6827 6828 Reviewed by Darin Fisher. 6829 6830 Adding one method to the WebView interface: method to inform the 6831 renderer to scroll the currently focused element into view, for 6832 instance, when it is hidden due to window resizing. 6833 Also adding methods to WebNode and WebElement to expose more 6834 features of the underlying WebCore::Node. 6835 https://bugs.webkit.org/show_bug.cgi?id=46296 6836 6837 * public/WebElement.h: 6838 * public/WebNode.h: 6839 * public/WebView.h: 6840 * src/WebElement.h: 6841 (WebKit::WebElement::isTextFormControlElement): 6842 * src/WebNode.cpp: 6843 (WebKit::WebNode::isContentEditable): 6844 * src/WebViewImpl.cpp: 6845 (WebKit::WebViewImpl::scrollFocusedNodeIntoView): 6846 * src/WebViewImpl.h: 6847 6848 2010-10-08 Andrei Popescu <andreip (a] google.com> 6849 6850 Reviewed by Jeremy Orlow. 6851 6852 [Chromium] IDBFactory::open only works in single process mode. 6853 https://bugs.webkit.org/show_bug.cgi?id=47444 6854 6855 * public/WebIDBFactory.h: 6856 (WebKit::WebIDBFactory::open): 6857 6858 2010-10-08 Andrei Popescu <andreip (a] google.com> 6859 6860 Reviewed by Jeremy Orlow. 6861 6862 IndexedDB does not have a quota mechanism. 6863 https://bugs.webkit.org/show_bug.cgi?id=47389 6864 6865 * public/WebIDBFactory.h: 6866 (WebKit::WebIDBFactory::open): 6867 * src/IDBFactoryBackendProxy.cpp: 6868 (WebCore::IDBFactoryBackendProxy::open): 6869 * src/IDBFactoryBackendProxy.h: 6870 * src/WebIDBFactoryImpl.cpp: 6871 (WebKit::WebIDBFactoryImpl::open): 6872 * src/WebIDBFactoryImpl.h: 6873 6874 2010-10-07 Zhenyao Mo <zmo (a] google.com> 6875 6876 Unreviewed, roll chromium to r61902. 6877 6878 * DEPS: 6879 6880 2010-10-07 Zhenyao Mo <zmo (a] google.com> 6881 6882 Reviewed by Tony Chang. 6883 6884 Copy mesa lib into DumpRenderTree bundle in Mac 6885 https://bugs.webkit.org/show_bug.cgi?id=47385 6886 6887 * WebKit.gyp: 6888 6889 2010-10-07 Daniel Cheng <dcheng (a] chromium.org> 6890 6891 Reviewed by Tony Chang. 6892 6893 [chromium] Minor naming cleanup in WebDragData, part 2 6894 https://bugs.webkit.org/show_bug.cgi?id=47227 6895 6896 Chromium no longer uses the deprecated methods, so delete them. 6897 6898 * DEPS: 6899 * public/WebDragData.h: 6900 * src/WebDragData.cpp: 6901 6902 2010-10-07 Dave Moore <davemoore (a] chromium.org> 6903 6904 Reviewed by Kent Tamura. 6905 6906 Add WebThemeEngine api for chromium/linux 6907 https://bugs.webkit.org/show_bug.cgi?id=47278 6908 Create new linux specific version of WinThemeEngine.h and move 6909 existing windows specific one to win directory. Keep old top 6910 level file until chromium is updated to use the new ones. 6911 6912 * WebKit.gyp: 6913 * public/WebThemeEngine.h: 6914 * src/ChromiumBridge.cpp: 6915 6916 2010-10-07 Andrey Kosyakov <caseq (a] chromium.org> 6917 6918 Reviewed by Yury Semikhatsky. 6919 6920 Chromium multi-dll build broken due to WebResourceRawHeaders methods lacking WEBKIT_API decl spec 6921 https://bugs.webkit.org/show_bug.cgi?id=47329 6922 6923 * public/WebResourceRawHeaders.h: 6924 (WebKit::WebResourceRawHeaders::WebResourceRawHeaders): 6925 (WebKit::WebResourceRawHeaders::~WebResourceRawHeaders): 6926 (WebKit::WebResourceRawHeaders::operator =): 6927 * src/WebResourceRawHeaders.cpp: 6928 (WebKit::WebResourceRawHeaders::initialize): 6929 (WebKit::WebResourceRawHeaders::reset): 6930 (WebKit::WebResourceRawHeaders::assign): 6931 6932 2010-10-06 Chris Guillory <chris.guillory (a] google.com> 6933 6934 Reviewed by Chris Fleizach. 6935 6936 Remove unused accessibility functions from webkit. 6937 https://bugs.webkit.org/attachment.cgi?bugid=46707 6938 6939 * public/WebAccessibilityCache.h: 6940 * public/WebViewClient.h: 6941 * src/ChromeClientImpl.cpp: 6942 (WebKit::ChromeClientImpl::focusedNodeChanged): 6943 * src/WebAccessibilityCacheImpl.cpp: 6944 * src/WebAccessibilityCacheImpl.h: 6945 6946 2010-10-06 Kinuko Yasuda <kinuko (a] chromium.org> 6947 6948 Reviewed by David Levin. 6949 6950 Add FileSystemSync implementation for Worker 6951 https://bugs.webkit.org/show_bug.cgi?id=47044 6952 6953 * src/LocalFileSystemChromium.cpp: 6954 (WebCore::LocalFileSystem::requestFileSystem): Added a new parameter 6955 for synchronous mode. 6956 * src/WebFileSystemCallbacksImpl.cpp: 6957 (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added 6958 a parameter for synchronous mode. 6959 (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Changed to 6960 creates WorkerAsyncFileSystemChromium with synchronous flag. 6961 * src/WebFileSystemCallbacksImpl.h: 6962 * src/WebWorkerBase.cpp: 6963 (WebKit::WebWorkerBase::openFileSystem): Added a parameter for 6964 synchronous mode. 6965 * src/WebWorkerBase.h: 6966 * src/WorkerAsyncFileSystemChromium.cpp: 6967 (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium): 6968 (WebCore::WorkerAsyncFileSystemChromium::waitForOperationToComplete): 6969 Added. 6970 (WebCore::WorkerAsyncFileSystemChromium::move): 6971 (WebCore::WorkerAsyncFileSystemChromium::copy): 6972 (WebCore::WorkerAsyncFileSystemChromium::remove): 6973 (WebCore::WorkerAsyncFileSystemChromium::readMetadata): 6974 (WebCore::WorkerAsyncFileSystemChromium::createFile): 6975 (WebCore::WorkerAsyncFileSystemChromium::createDirectory): 6976 (WebCore::WorkerAsyncFileSystemChromium::fileExists): 6977 (WebCore::WorkerAsyncFileSystemChromium::directoryExists): 6978 (WebCore::WorkerAsyncFileSystemChromium::readDirectory): 6979 (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge): 6980 Updated to store the created bridge in a member variable so that 6981 we can call bridge->stop() later when the RunLoop is terminating. 6982 * src/WorkerAsyncFileSystemChromium.h: 6983 (WebCore::WorkerAsyncFileSystemChromium::create): Added a new 6984 parameter for synchronous mode. 6985 6986 2010-10-06 Andrei Popescu <andreip (a] google.com> 6987 6988 Reviewed by Jeremy Orlow. 6989 6990 IDBDatabase and IDBObjectStore metadata is not recovered correctly when the setVersion transactions aborts. 6991 https://bugs.webkit.org/show_bug.cgi?id=47245 6992 6993 * src/IDBTransactionBackendProxy.cpp: 6994 (WebCore::IDBTransactionBackendProxy::scheduleTask): 6995 * src/IDBTransactionBackendProxy.h: 6996 6997 2010-10-06 Victor Wang <victorw (a] chromium.org> 6998 6999 Reviewed by Darin Fisher. 7000 7001 [Chromium] Add webkit unit tests to chromium multi-dll build. 7002 7003 In chromium multi-dll build mode, compile the webkit unit tests 7004 code in webkit.dll and export an api that runs the tests. 7005 7006 https://bugs.webkit.org/show_bug.cgi?id=46907 7007 7008 * WebKit.gyp: 7009 * WebKit.gypi: 7010 * tests/RunAllTests.cpp: 7011 (main): 7012 * tests/WebUnitTests.cpp: Added. 7013 (WebKit::RunAllUnitTests): 7014 * tests/WebUnitTests.h: Added. 7015 7016 2010-10-05 Jeremy Orlow <jorlow (a] chromium.org> 7017 7018 Reviewed by Nate Chapin. 7019 7020 [Chromium] WebIDBKeyRange should handle null left/right pointers 7021 https://bugs.webkit.org/show_bug.cgi?id=47247 7022 7023 * src/WebIDBKeyRange.cpp: 7024 (WebKit::WebIDBKeyRange::assign): 7025 (WebKit::WebIDBKeyRange::left): 7026 (WebKit::WebIDBKeyRange::right): 7027 (WebKit::WebIDBKeyRange::flags): 7028 7029 2010-10-06 Tony Chang <tony (a] chromium.org> 7030 7031 Unreviewed, rolling out r69202. 7032 http://trac.webkit.org/changeset/69202 7033 https://bugs.webkit.org/show_bug.cgi?id=46937 7034 7035 Broke compile of test_shell 7036 7037 * DEPS: 7038 * public/WebDragData.h: 7039 * src/WebDragData.cpp: 7040 (WebKit::WebDragData::hasFileNames): 7041 (WebKit::WebDragData::fileNames): 7042 (WebKit::WebDragData::setFileNames): 7043 (WebKit::WebDragData::appendToFileNames): 7044 (WebKit::WebDragData::fileContentFileName): 7045 (WebKit::WebDragData::setFileContentFileName): 7046 7047 2010-10-06 Daniel Cheng <dcheng (a] chromium.org> 7048 7049 Reviewed by Tony Chang. 7050 7051 [chromium] Minor naming cleanup in WebDragData, part 2 7052 https://bugs.webkit.org/show_bug.cgi?id=46937 7053 7054 Chromium no longer uses the deprecated methods, so delete them. 7055 7056 * DEPS: 7057 * public/WebDragData.h: 7058 * src/WebDragData.cpp: 7059 7060 2010-09-29 Alpha Lam <hclam (a] chromium.org> 7061 7062 Reviewed by James Robinson. 7063 7064 Render textures in video frame directly. 7065 https://bugs.webkit.org/show_bug.cgi?id=46765 7066 7067 Add getter for accessing textures stored in VideoFrameChromium and WebVideoFrame. 7068 Also explicitly instruct VideoLayerChromium to release video frame when the owner 7069 of video frame is going away. 7070 7071 * public/WebVideoFrame.h: 7072 * src/AssertMatchingEnums.cpp: 7073 * src/VideoFrameChromiumImpl.cpp: 7074 (WebKit::VideoFrameChromiumImpl::texture): 7075 * src/VideoFrameChromiumImpl.h: 7076 * src/WebMediaPlayerClientImpl.cpp: 7077 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl): 7078 (WebKit::WebMediaPlayerClientImpl::load): 7079 * src/WebMediaPlayerClientImpl.h: 7080 7081 2010-10-05 Nat Duca <nduca (a] chromium.org> 7082 7083 Reviewed by James Robinson. 7084 7085 [chromium] Handle composited root layer invalidations in screenspace, 7086 fixing the disappearing scrollbar problem. 7087 https://bugs.webkit.org/show_bug.cgi?id=46864 7088 7089 * src/WebViewImpl.cpp: 7090 (WebKit::WebViewImpl::composite): 7091 (WebKit::WebViewImpl::scrollRootLayerRect): 7092 (WebKit::WebViewImpl::invalidateRootLayerRect): 7093 (WebKit::WebViewImpl::doComposite): 7094 7095 2010-10-05 Kenneth Russell <kbr (a] google.com> 7096 7097 Unreviewed, follow up to 47216. Add newline above "protected:". 7098 7099 * public/WebFrame.h: 7100 7101 2010-10-05 Kenneth Russell <kbr (a] google.com> 7102 7103 Reviewed by Tony Chang. 7104 7105 [chromium] Implement layerTreeAsText in DumpRenderTree 7106 https://bugs.webkit.org/show_bug.cgi?id=47216 7107 7108 Plumbed Frame::layerTreeAsText through Chromium's WebKit API to 7109 make it callable from DumpRenderTree. 7110 7111 No new tests; verified with existing compositor layout tests. 7112 7113 * public/WebFrame.h: 7114 * src/WebFrameImpl.cpp: 7115 (WebKit::WebFrameImpl::layerTreeAsText): 7116 * src/WebFrameImpl.h: 7117 7118 2010-10-05 Andrew Wilson <atwilson (a] chromium.org> 7119 7120 Reviewed by Andreas Kling. 7121 7122 Notification onclick() events don't act like user gestures 7123 https://bugs.webkit.org/show_bug.cgi?id=47137 7124 7125 * src/WebNotification.cpp: 7126 (WebKit::WebNotification::dispatchClickEvent): 7127 Use UserGestureIndicator to make sure click events are treated like user gestures. 7128 7129 2010-10-05 Alok Priyadarshi <alokp (a] chromium.org> 7130 7131 Reviewed by Kenneth Russell. 7132 7133 Supported ANGLE SH_VERSION > 100 7134 https://bugs.webkit.org/show_bug.cgi?id=47024 7135 7136 * src/WebGraphicsContext3DDefaultImpl.cpp: 7137 (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers): 7138 (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource): 7139 7140 2010-10-04 Jeremy Orlow <jorlow (a] chromium.org> 7141 7142 Reviewed by Nate Chapin. 7143 7144 Rename get* and open*Cursor per the spec on IDBIndex 7145 https://bugs.webkit.org/show_bug.cgi?id=46906 7146 7147 The spec changed so that: 7148 IDBIndex.get -> getKey 7149 IDBIndex.getObject -> get 7150 IDBIndex.openCursor -> openKeyCursor 7151 IDBIndex.openObjectCursor -> openCursor 7152 7153 * public/WebIDBIndex.h: 7154 (WebKit::WebIDBIndex::openCursor): 7155 (WebKit::WebIDBIndex::openKeyCursor): 7156 (WebKit::WebIDBIndex::get): 7157 (WebKit::WebIDBIndex::getKey): 7158 * src/IDBIndexBackendProxy.cpp: 7159 (WebCore::IDBIndexBackendProxy::openCursor): 7160 (WebCore::IDBIndexBackendProxy::openKeyCursor): 7161 (WebCore::IDBIndexBackendProxy::get): 7162 (WebCore::IDBIndexBackendProxy::getKey): 7163 * src/IDBIndexBackendProxy.h: 7164 * src/WebIDBIndexImpl.cpp: 7165 (WebKit::WebIDBIndexImpl::openObjectCursor): 7166 (WebKit::WebIDBIndexImpl::openKeyCursor): 7167 (WebKit::WebIDBIndexImpl::getObject): 7168 (WebKit::WebIDBIndexImpl::getKey): 7169 * src/WebIDBIndexImpl.h: 7170 7171 2010-10-04 Andrei Popescu <andreip (a] google.com> 7172 7173 Reviewed by Jeremy Orlow. 7174 7175 IDBDatabase::createObjectStore/removeObjectStore and IDBObjectStore::createIndex/removeIndex should be synchronous. 7176 https://bugs.webkit.org/show_bug.cgi?id=46883 7177 7178 * public/WebIDBDatabase.h: 7179 (WebKit::WebIDBDatabase::createObjectStore): 7180 (WebKit::WebIDBDatabase::removeObjectStore): 7181 * public/WebIDBObjectStore.h: 7182 (WebKit::WebIDBObjectStore::createIndex): 7183 (WebKit::WebIDBObjectStore::removeIndex): 7184 * src/IDBDatabaseProxy.cpp: 7185 (WebCore::IDBDatabaseProxy::createObjectStore): 7186 (WebCore::IDBDatabaseProxy::removeObjectStore): 7187 * src/IDBDatabaseProxy.h: 7188 * src/IDBObjectStoreProxy.cpp: 7189 (WebCore::IDBObjectStoreProxy::createIndex): 7190 (WebCore::IDBObjectStoreProxy::removeIndex): 7191 * src/IDBObjectStoreProxy.h: 7192 * src/WebIDBDatabaseImpl.cpp: 7193 (WebKit::WebIDBDatabaseImpl::createObjectStore): 7194 (WebKit::WebIDBDatabaseImpl::removeObjectStore): 7195 * src/WebIDBDatabaseImpl.h: 7196 * src/WebIDBObjectStoreImpl.cpp: 7197 (WebKit::WebIDBObjectStoreImpl::createIndex): 7198 (WebKit::WebIDBObjectStoreImpl::removeIndex): 7199 * src/WebIDBObjectStoreImpl.h: 7200 7201 2010-10-04 Andrey Kosyakov <caseq (a] chromium.org> 7202 7203 Reviewed by Yury Semikhatsky. 7204 7205 Web Inspector: [Chromium][Extension API] provide tab id of inspected tab in extension API 7206 https://bugs.webkit.org/show_bug.cgi?id=47080 7207 7208 * src/js/DevTools.js: Added a way for extension to get tabId of inspected window. 7209 (WebInspector.platformExtensionAPI): 7210 (WebInspector.buildPlatformExtensionAPI): 7211 (WebInspector.setInspectedTabId): 7212 7213 2010-10-04 Tony Gentilcore <tonyg (a] chromium.org> 7214 7215 Reviewed by Darin Fisher. 7216 7217 [chromium] Properly clear WebKit cache when chromium cache is cleared 7218 https://bugs.webkit.org/show_bug.cgi?id=47119 7219 7220 Contributed by Ricardo Vargas. 7221 7222 See: http://code.google.com/p/chromium/issues/detail?id=54336 7223 7224 * src/WebCache.cpp: 7225 (WebKit::WebCache::clear): 7226 7227 2010-10-04 Nico Weber <thakis (a] chromium.org> 7228 7229 Reviewed by Kenneth Russell. 7230 7231 Fix broken C++ in PODInterval and PODIntervalTree 7232 https://bugs.webkit.org/show_bug.cgi?id=47063 7233 7234 Change functions to be template specializations, like it's now required 7235 by PODIntervalTree and friends. 7236 7237 * tests/PODIntervalTreeTest.cpp: 7238 7239 2010-10-04 Matt Mueller <mattm (a] chromium.org> 7240 7241 Reviewed by Darin Fisher. 7242 7243 When building under chromium, build libwebkit as the same type (shared 7244 or static) as chromium. Fixes problems with multiple calls to global 7245 initializers/finalizers in shared chromium build. 7246 https://bugs.webkit.org/show_bug.cgi?id=46762 7247 7248 * WebKit.gyp: 7249 7250 2010-10-04 Alpha Lam <hclam (a] chromium.org> 7251 7252 Build fix. Not reviewed. 7253 7254 Remove a function declaration. 7255 7256 * src/ChromeClientImpl.h: 7257 7258 2010-10-04 Alpha Lam <hclam (a] chromium.org> 7259 7260 Build fix. Not reviewed. 7261 7262 https://bugs.webkit.org/show_bug.cgi?id=47135 7263 Add a stub method to make the build happy. 7264 7265 * src/ApplicationCacheHost.cpp: 7266 (WebCore::ApplicationCacheHost::stopLoadingInFrame): 7267 7268 2010-10-04 Chris Marrin <cmarrin (a] apple.com> 7269 7270 Reviewed by James Robinson. 7271 7272 Move SharedGraphicsContext3D from ChromeClient to Page 7273 https://bugs.webkit.org/show_bug.cgi?id=47113 7274 7275 * src/ChromeClientImpl.cpp: 7276 * src/WebViewImpl.cpp: 7277 * src/WebViewImpl.h: 7278 7279 2010-10-04 Jeremy Orlow <jorlow (a] chromium.org> 7280 7281 Reviewed by Nate Chapin. 7282 7283 Implement IndexedDB's oncomplete and ontimeout. 7284 https://bugs.webkit.org/show_bug.cgi?id=47106 7285 7286 * public/WebIDBTransactionCallbacks.h: 7287 (WebKit::WebIDBTransactionCallbacks::id): 7288 (WebKit::WebIDBTransactionCallbacks::onAbort): 7289 (WebKit::WebIDBTransactionCallbacks::onComplete): 7290 (WebKit::WebIDBTransactionCallbacks::onTimeout): 7291 * src/IDBTransactionCallbacksProxy.cpp: 7292 (WebCore::IDBTransactionCallbacksProxy::onComplete): 7293 (WebCore::IDBTransactionCallbacksProxy::onTimeout): 7294 * src/IDBTransactionCallbacksProxy.h: 7295 * src/WebIDBTransactionCallbacksImpl.cpp: 7296 (WebCore::WebIDBTransactionCallbacksImpl::onComplete): 7297 (WebCore::WebIDBTransactionCallbacksImpl::onTimeout): 7298 * src/WebIDBTransactionCallbacksImpl.h: 7299 7300 2010-10-04 Adam Barth <abarth (a] webkit.org> 7301 7302 Reviewed by Darin Adler. 7303 7304 Rename RedirectScheduler to NavigationScheduler 7305 https://bugs.webkit.org/show_bug.cgi?id=47037 7306 7307 Update for name change. 7308 7309 * src/ApplicationCacheHost.cpp: 7310 (WebCore::ApplicationCacheHost::selectCacheWithManifest): 7311 * src/WebFrameImpl.cpp: 7312 (WebKit::WebFrameImpl::loadJavaScriptURL): 7313 7314 2010-10-01 Victoria Kirst <vrk (a] google.com> 7315 7316 Reviewed by James Robinson. 7317 7318 Fixing crash when audio media player is destructed 7319 https://bugs.webkit.org/show_bug.cgi?id=47020 7320 7321 Creates the VideoLayerChromium layer only if the media player contains 7322 a video. 7323 7324 * src/WebMediaPlayerClientImpl.cpp: 7325 (WebKit::WebMediaPlayerClientImpl::readyStateChanged): 7326 (WebKit::WebMediaPlayerClientImpl::create): 7327 7328 2010-10-01 Mihai Parparita <mihaip (a] chromium.org> 7329 7330 Reviewed by Nate Chapin. 7331 7332 [Chromium] Remove WebURLLoaderClient::didFinishLoading(WebURLLoader*) 7333 https://bugs.webkit.org/show_bug.cgi?id=47008 7334 7335 Now that WebURLLoaderClient::didFinishLoading(WebURLLoader*) has no 7336 more callers, it can be removed (requires a Chromium roll to 7337 http://crrev.com/61206, which actually removed the last usage). 7338 7339 * DEPS: 7340 * public/WebURLLoaderClient.h: 7341 7342 2010-10-01 Daniel Cheng <dcheng (a] chromium.org> 7343 7344 Reviewed by Tony Chang. 7345 7346 [chromium] Minor naming cleanup in WebDragData 7347 https://bugs.webkit.org/show_bug.cgi?id=46937 7348 7349 This is a two-part patch--one to add the new methods with normalized 7350 names that follow general WebKit convention, and a followup patch to 7351 remove the original methods once Chromium is updated. 7352 7353 * public/WebDragData.h: 7354 * src/WebDragData.cpp: 7355 (WebKit::WebDragData::hasFileNames): renamed to containsFilenames 7356 (WebKit::WebDragData::fileNames): renamed to filenames 7357 (WebKit::WebDragData::setFileNames): renamed to setFilenames 7358 (WebKit::WebDragData::appendToFileNames): renamed to appendToFilenames 7359 (WebKit::WebDragData::containsFilenames): 7360 (WebKit::WebDragData::filenames): 7361 (WebKit::WebDragData::setFilenames): 7362 (WebKit::WebDragData::appendToFilenames): 7363 (WebKit::WebDragData::fileContentFileName): renamed to fileContentFilename 7364 (WebKit::WebDragData::setFileContentFileName): renamed to setFileContentFilename 7365 (WebKit::WebDragData::fileContentFilename): 7366 (WebKit::WebDragData::setFileContentFilename): 7367 7368 2010-10-01 Jochen Eisinger <jochen (a] chromium.org> 7369 7370 Reviewed by Darin Fisher. 7371 7372 [chromium] add an identifier method to WebFrame. The identifier can be used to identify 7373 a given frame of a view over time. Using a pointer to the WebFrame object is fragile, 7374 since a new frame might have been allocated at the same address as an old, deleted frame. 7375 https://bugs.webkit.org/show_bug.cgi?id=46884 7376 7377 * public/WebFrame.h: 7378 * src/WebFrameImpl.cpp: 7379 (WebKit::generateFrameIdentifier): 7380 (WebKit::WebFrameImpl::identifier): 7381 (WebKit::WebFrameImpl::WebFrameImpl): 7382 * src/WebFrameImpl.h: 7383 7384 2010-09-29 John Abd-El-Malek <jam (a] chromium.org> 7385 7386 Reviewed by Darin Fisher. 7387 7388 [chromium] Changes to consolidate plugin zoom 7389 https://bugs.webkit.org/show_bug.cgi?id=46550 7390 7391 * public/WebPlugin.h: 7392 (WebKit::WebPlugin::setZoomLevel): 7393 * public/WebPluginContainer.h: 7394 * public/WebView.h: 7395 * public/WebViewClient.h: 7396 (WebKit::WebViewClient::zoomLimitsChanged): 7397 (WebKit::WebViewClient::zoomLevelChanged): 7398 * src/FrameLoaderClientImpl.cpp: 7399 (WebKit::FrameLoaderClientImpl::createPlugin): 7400 * src/WebPluginContainerImpl.cpp: 7401 (WebKit::WebPluginContainerImpl::loadFrameRequest): 7402 (WebKit::WebPluginContainerImpl::zoomChanged): 7403 (WebKit::WebPluginContainerImpl::zoomLimitsChanged): 7404 * src/WebPluginContainerImpl.h: 7405 * src/WebViewImpl.cpp: 7406 (WebKit::WebViewImpl::WebViewImpl): 7407 (WebKit::WebViewImpl::zoomLevel): 7408 (WebKit::WebViewImpl::setZoomLevel): 7409 (WebKit::WebViewImpl::zoomLimitsChanged): 7410 (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged): 7411 (WebKit::WebView::zoomLevelToZoomFactor): 7412 (WebKit::WebView::zoomFactorToZoomLevel): 7413 * src/WebViewImpl.h: 7414 7415 2010-09-30 MORITA Hajime <morrita (a] google.com> 7416 7417 Reviewed by James Robinson. 7418 7419 [Chromium] build fails unless ACCELERATED_2D_CANVAS defined 7420 https://bugs.webkit.org/show_bug.cgi?id=46955 7421 7422 Added ifdef guard around SharedGraphicsContext3D. 7423 7424 * src/WebViewImpl.cpp: 7425 (WebKit::WebViewImpl::getSharedGraphicsContext3D): 7426 * src/WebViewImpl.h: 7427 7428 2010-09-30 Alexey Marinichev <amarinichev (a] chromium.org> 7429 7430 Reviewed by Chris Marrin. 7431 7432 Add GetGraphicsResetStatusARB entry point from ARB_robustness 7433 extension to GraphicsContext3D 7434 https://bugs.webkit.org/show_bug.cgi?id=46850 7435 7436 Added a stub for GraphicsContext3D::getGraphicsResetStatusARB. 7437 7438 * src/GraphicsContext3DChromium.cpp: 7439 (WebCore::GraphicsContext3D::getGraphicsResetStatusARB): 7440 7441 2010-09-30 Dumitru Daniliuc <dumi (a] chromium.org> 7442 7443 Reviewed by Darin Fisher. 7444 7445 Remove WebHTTPBody::appendFileRange(..., const WebFileInfo&). 7446 7447 * public/WebHTTPBody.h: 7448 * src/WebHTTPBody.cpp: 7449 (WebKit::WebHTTPBody::elementAt): 7450 7451 2010-09-30 Nico Weber <thakis (a] chromium.org> 7452 7453 Reviewed by Adam Barth. 7454 7455 [chromium] Fix clang error in KURLTest.cpp 7456 https://bugs.webkit.org/show_bug.cgi?id=46861 7457 7458 * tests/KURLTest.cpp: 7459 (WTF::operator<<): 7460 7461 2010-09-30 Daniel Cheng <dcheng (a] chromium.org> 7462 7463 Reviewed by Tony Chang. 7464 7465 [chromium] Refactor ChromiumDataObject to use getters/setters. 7466 https://bugs.webkit.org/show_bug.cgi?id=46559 7467 7468 This is an intermediate step to converting ChromiumDataObject to use 7469 callbacks to the browser to retrieve data. 7470 7471 * public/WebDragData.h: 7472 * src/WebDragData.cpp: 7473 (WebKit::WebDragData::initialize): 7474 (WebKit::WebDragData::url): 7475 (WebKit::WebDragData::setURL): 7476 (WebKit::WebDragData::urlTitle): 7477 (WebKit::WebDragData::setURLTitle): 7478 (WebKit::WebDragData::downloadMetadata): 7479 (WebKit::WebDragData::setDownloadMetadata): 7480 (WebKit::WebDragData::fileExtension): 7481 (WebKit::WebDragData::setFileExtension): 7482 (WebKit::WebDragData::hasFileNames): 7483 (WebKit::WebDragData::fileNames): 7484 (WebKit::WebDragData::setFileNames): 7485 (WebKit::WebDragData::appendToFileNames): 7486 (WebKit::WebDragData::plainText): 7487 (WebKit::WebDragData::setPlainText): 7488 (WebKit::WebDragData::htmlText): 7489 (WebKit::WebDragData::setHTMLText): 7490 (WebKit::WebDragData::htmlBaseURL): 7491 (WebKit::WebDragData::setHTMLBaseURL): 7492 (WebKit::WebDragData::fileContentFileName): 7493 (WebKit::WebDragData::setFileContentFileName): 7494 (WebKit::WebDragData::fileContent): 7495 (WebKit::WebDragData::setFileContent): 7496 7497 2010-09-29 Zhenyao Mo <zmo (a] google.com> 7498 7499 Reviewed by Kenneth Russell. 7500 7501 glsl-conformance.html on khronos will crash chromium --in-process-webgl 7502 https://bugs.webkit.org/show_bug.cgi?id=46863 7503 7504 * src/WebGraphicsContext3DDefaultImpl.cpp: Make ShaderSourceMap as <ShaderID, ShaderSourceEntry*>, so map resizing will be efficient and we don't need to worry about pointer copying. 7505 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): 7506 (WebKit::WebGraphicsContext3DDefaultImpl::compileShader): 7507 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderiv): 7508 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog): 7509 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource): 7510 (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource): 7511 (WebKit::WebGraphicsContext3DDefaultImpl::createShader): 7512 (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader): 7513 * src/WebGraphicsContext3DDefaultImpl.h: Ditto. 7514 (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::ShaderSourceEntry): 7515 7516 2010-09-30 Andrei Popescu <andreip (a] google.com> 7517 7518 Reviewed by Jeremy Orlow. 7519 7520 [Chromium] WebIDBDatabase and WebIDBObjectStore are missing methods called from Chromium land. 7521 https://bugs.webkit.org/show_bug.cgi?id=46922 7522 7523 The missing functions were removed in r68795. 7524 7525 * public/WebIDBDatabase.h: 7526 (WebKit::WebIDBDatabase::createObjectStore): 7527 (WebKit::WebIDBDatabase::removeObjectStore): 7528 * public/WebIDBObjectStore.h: 7529 (WebKit::WebIDBObjectStore::createIndex): 7530 (WebKit::WebIDBObjectStore::removeIndex): 7531 7532 2010-09-29 Kenneth Russell <kbr (a] google.com> 7533 7534 Reviewed by Dimitri Glazkov. 7535 7536 [chromium] Add accelerated compositing support to DumpRenderTree and test_shell 7537 https://bugs.webkit.org/show_bug.cgi?id=46849 7538 7539 Added offscreen code path for WebGraphicsContext3DDefaultImpl which 7540 works with the compositor integration in both DumpRenderTree and 7541 test_shell, since both pass a non-null WebCanvas* to WebViewImpl::paint 7542 and thereby trigger the compositor's readback code path. Added support 7543 for --enable-accelerated-compositing to DumpRenderTree. 7544 7545 Tested in both test_shell and DumpRenderTree on Linux, the latter by 7546 modifying a compositing layout test, dumping the pixels and verifying 7547 that they matched the output when the compositor was active. 7548 7549 * src/WebGraphicsContext3DDefaultImpl.cpp: 7550 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): 7551 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 7552 (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer): 7553 (WebKit::WebGraphicsContext3DDefaultImpl::getPlatformTextureId): 7554 (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture): 7555 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): 7556 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D): 7557 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D): 7558 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): 7559 * src/WebGraphicsContext3DDefaultImpl.h: 7560 7561 2010-09-29 Jeremy Orlow <jorlow (a] chromium.org> 7562 7563 Reviewed by Steve Block. 7564 7565 Finished IDBTransaction for IndexedDB 7566 https://bugs.webkit.org/show_bug.cgi?id=46823 7567 7568 Plumbing. 7569 7570 * public/WebIDBCallbacks.h: 7571 (WebKit::WebIDBCallbacks::onSuccess): 7572 * public/WebIDBDatabase.h: 7573 (WebKit::WebIDBDatabase::createObjectStore): 7574 (WebKit::WebIDBDatabase::removeObjectStore): 7575 (WebKit::WebIDBDatabase::close): 7576 * public/WebIDBIndex.h: 7577 (WebKit::WebIDBIndex::openObjectCursor): 7578 (WebKit::WebIDBIndex::openCursor): 7579 (WebKit::WebIDBIndex::getObject): 7580 (WebKit::WebIDBIndex::get): 7581 * public/WebIDBObjectStore.h: 7582 (WebKit::WebIDBObjectStore::get): 7583 (WebKit::WebIDBObjectStore::put): 7584 (WebKit::WebIDBObjectStore::remove): 7585 (WebKit::WebIDBObjectStore::createIndex): 7586 (WebKit::WebIDBObjectStore::removeIndex): 7587 (WebKit::WebIDBObjectStore::openCursor): 7588 * public/WebIDBTransaction.h: 7589 (WebKit::WebIDBTransaction::id): 7590 (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface): 7591 * src/IDBCallbacksProxy.cpp: 7592 (WebCore::IDBCallbacksProxy::onSuccess): 7593 * src/IDBCallbacksProxy.h: 7594 * src/IDBDatabaseProxy.cpp: 7595 (WebCore::IDBDatabaseProxy::createObjectStore): 7596 (WebCore::IDBDatabaseProxy::removeObjectStore): 7597 (WebCore::IDBDatabaseProxy::close): 7598 * src/IDBDatabaseProxy.h: 7599 * src/IDBIndexBackendProxy.cpp: 7600 (WebCore::IDBIndexBackendProxy::openObjectCursor): 7601 (WebCore::IDBIndexBackendProxy::openCursor): 7602 (WebCore::IDBIndexBackendProxy::getObject): 7603 (WebCore::IDBIndexBackendProxy::get): 7604 * src/IDBIndexBackendProxy.h: 7605 * src/IDBObjectStoreProxy.cpp: 7606 (WebCore::IDBObjectStoreProxy::put): 7607 (WebCore::IDBObjectStoreProxy::remove): 7608 (WebCore::IDBObjectStoreProxy::createIndex): 7609 (WebCore::IDBObjectStoreProxy::removeIndex): 7610 (WebCore::IDBObjectStoreProxy::openCursor): 7611 * src/IDBObjectStoreProxy.h: 7612 * src/IDBTransactionBackendProxy.cpp: 7613 (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy): 7614 * src/WebIDBCallbacksImpl.cpp: 7615 (WebCore::WebIDBCallbacksImpl::onSuccess): 7616 * src/WebIDBCallbacksImpl.h: 7617 * src/WebIDBDatabaseImpl.cpp: 7618 (WebKit::WebIDBDatabaseImpl::createObjectStore): 7619 (WebKit::WebIDBDatabaseImpl::removeObjectStore): 7620 (WebKit::WebIDBDatabaseImpl::close): 7621 * src/WebIDBDatabaseImpl.h: 7622 * src/WebIDBIndexImpl.cpp: 7623 (WebKit::WebIDBIndexImpl::openCursor): 7624 (WebKit::WebIDBIndexImpl::openObjectCursor): 7625 (WebKit::WebIDBIndexImpl::getObject): 7626 (WebKit::WebIDBIndexImpl::get): 7627 * src/WebIDBIndexImpl.h: 7628 * src/WebIDBObjectStoreImpl.cpp: 7629 (WebKit::WebIDBObjectStoreImpl::put): 7630 (WebKit::WebIDBObjectStoreImpl::remove): 7631 (WebKit::WebIDBObjectStoreImpl::createIndex): 7632 (WebKit::WebIDBObjectStoreImpl::removeIndex): 7633 (WebKit::WebIDBObjectStoreImpl::openCursor): 7634 * src/WebIDBObjectStoreImpl.h: 7635 7636 2010-09-29 Andrey Kosyakov <caseq (a] chromium.org> 7637 7638 Reviewed by Pavel Feldman. 7639 7640 Web Inspector: display headers actually used by network stack in Resources tab 7641 Added plumbing for raw headers flag and response field between chromium and WebCore. 7642 https://bugs.webkit.org/show_bug.cgi?id=46092 7643 7644 * WebKit.gyp: 7645 * public/WebResourceRawHeaders.h: Added. 7646 * public/WebURLRequest.h: 7647 * public/WebURLResponse.h: 7648 * src/WebDevToolsAgentImpl.cpp: 7649 (WebKit::WebDevToolsAgentImpl::willSendRequest): 7650 * src/WebResourceRawHeaders.cpp: Added. 7651 (WebKit::WebResourceRawHeaders::WebResourceRawHeaders): 7652 (WebKit::WebResourceRawHeaders::~WebResourceRawHeaders): 7653 (WebKit::WebResourceRawHeaders::operator WTF::PassRefPtr<WebCore::ResourceRawHeaders>): 7654 (WebKit::addHeader): 7655 (WebKit::WebResourceRawHeaders::addRequestHeader): 7656 (WebKit::WebResourceRawHeaders::addResponseHeader): 7657 * src/WebURLRequest.cpp: 7658 (WebKit::WebURLRequest::setReportRawHeaders): 7659 (WebKit::WebURLRequest::reportRawHeaders): 7660 * src/WebURLResponse.cpp: 7661 (WebKit::WebURLResponse::resourceRawHeaders): 7662 (WebKit::WebURLResponse::setResourceRawHeaders): 7663 * src/WebURLResponsePrivate.h: 7664 7665 2010-09-30 Avi Drissman <avi (a] google.com> 7666 7667 Reviewed by Kenneth Russell. 7668 7669 [Chromium] Tabbing into page doesn't always select the first element 7670 https://bugs.webkit.org/show_bug.cgi?id=46856 7671 7672 * src/WebViewImpl.cpp: 7673 (WebKit::WebViewImpl::setInitialFocus): 7674 7675 2010-09-30 Alexey Marinichev <amarinichev (a] chromium.org> 7676 7677 Reviewed by Kenneth Russell. 7678 7679 Rename chromium's GraphicsContext3D.cpp to match others. 7680 https://bugs.webkit.org/show_bug.cgi?id=46771 7681 7682 * WebKit.gyp: 7683 * src/GraphicsContext3DChromium.cpp: Renamed from WebKit/chromium/src/GraphicsContext3D.cpp. 7684 7685 2010-09-29 Kent Tamura <tkent (a] chromium.org> 7686 7687 Reviewed by Dimitri Glazkov. 7688 7689 Refactor HTMLInputElement: Make DeprecatedInputType private. 7690 https://bugs.webkit.org/show_bug.cgi?id=46791 7691 7692 * src/WebPasswordFormUtils.cpp: 7693 (WebKit::findPasswordFormFields): 7694 Accept any text field types as a username field. 7695 * src/WebSearchableFormData.cpp: 7696 (WebCore::HasSuitableTextElement): 7697 Accept any text field types as a search query field. 7698 7699 2010-09-29 Kinuko Yasuda <kinuko (a] chromium.org> 7700 7701 Reviewed by Dumitru Daniliuc. 7702 7703 Add removeRecursively to WebKit WebFileSystem API 7704 https://bugs.webkit.org/show_bug.cgi?id=46842 7705 7706 * public/WebFileSystem.h: 7707 (WebKit::WebFileSystem::removeRecursively): Added. 7708 7709 2010-09-29 Kinuko Yasuda <kinuko (a] chromium.org> 7710 7711 Reviewed by David Levin. 7712 7713 Fix DirectoryReader's behavior to trigger only one EntriesCallback per readEntries 7714 https://bugs.webkit.org/show_bug.cgi?id=46563 7715 7716 * src/WebFileSystemCallbacksImpl.cpp: 7717 (WebKit::WebFileSystemCallbacksImpl::didReadDirectory): 7718 7719 2010-09-29 Tony Chang <tony (a] chromium.org> 7720 7721 Reviewed by James Robinson. 7722 7723 [chromium] enable -Werror for DRT and webkit_unit_tests on Linux 7724 https://bugs.webkit.org/show_bug.cgi?id=46829 7725 7726 * WebKit.gyp: 7727 * tests/ArenaTestHelpers.h: 7728 (WebCore::ArenaTestHelpers::TrackedAllocator::free): 7729 * tests/IDBKeyPathTest.cpp: 7730 (WebCore::checkKeyPath): 7731 7732 2010-09-29 Tony Chang <tony (a] chromium.org> 7733 7734 Reviewed by James Robinson. 7735 7736 [chromium] enable -Werror on chromium linux webkit 7737 https://bugs.webkit.org/show_bug.cgi?id=46821 7738 7739 * WebKit.gyp: 7740 * src/gtk/WebInputEventFactory.cpp: 7741 7742 2010-09-29 Mihai Parparita <mihaip (a] chromium.org> 7743 7744 Unreviewed removal of unused #define from WebHistory.h. 7745 Chromium usage of WEBKIT_BUG_40451_IS_FIXED was removed with 7746 http://crrev.com/50642. 7747 7748 * public/WebHistoryItem.h: 7749 7750 2010-09-29 Kinuko Yasuda <kinuko (a] chromium.org> 7751 7752 Unreviewed, adding one more missing change from the last patch. 7753 https://bugs.webkit.org/show_bug.cgi?id=46524 7754 7755 * WebKit.gyp: 7756 7757 2010-09-29 Kinuko Yasuda <kinuko (a] chromium.org> 7758 7759 Unreviewed, adding the new files that were supposed to be added 7760 but I missed to include in my previous patch. 7761 https://bugs.webkit.org/show_bug.cgi?id=46524 7762 7763 * src/WorkerAsyncFileSystemChromium.cpp: Added. 7764 * src/WorkerAsyncFileSystemChromium.h: Added. 7765 7766 2010-09-29 Kinuko Yasuda <kinuko (a] chromium.org> 7767 7768 Reviewed by David Levin. 7769 7770 Bridge all FileSystem operations on Workers to the MainThread 7771 https://bugs.webkit.org/show_bug.cgi?id=46524 7772 7773 * src/LocalFileSystemChromium.cpp: 7774 (WebCore::LocalFileSystem::requestFileSystem): Changed the worker case 7775 code to create WebFileSystemCallbacksImpl with the current 7776 ScriptExecutionContext (WorkerContext). 7777 * src/WebFileSystemCallbacksImpl.cpp: 7778 (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added 7779 a new constructor that takes ScriptExecutionContext (WorkerContext) 7780 for workers. 7781 (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Added the 7782 code for workers that creates WorkerAsyncFileSystemChromium. 7783 * src/WebFileSystemCallbacksImpl.h: 7784 * src/WorkerAsyncFileSystemChromium.cpp: Added. 7785 * src/WorkerAsyncFileSystemChromium.h: Added. 7786 * src/WorkerFileSystemCallbacksBridge.cpp: Added methods for regular 7787 file system operations to proxy them to the main thread. 7788 (WebKit::WorkerFileSystemCallbacksBridge::createForOpenFileSystem): 7789 (WebKit::WorkerFileSystemCallbacksBridge::createForMove): 7790 (WebKit::WorkerFileSystemCallbacksBridge::createForCopy): 7791 (WebKit::WorkerFileSystemCallbacksBridge::createForRemove): 7792 (WebKit::WorkerFileSystemCallbacksBridge::createForReadMetadata): 7793 (WebKit::WorkerFileSystemCallbacksBridge::createForCreateFile): 7794 (WebKit::WorkerFileSystemCallbacksBridge::createForCreateDirectory): 7795 (WebKit::WorkerFileSystemCallbacksBridge::createForFileExists): 7796 (WebKit::WorkerFileSystemCallbacksBridge::createForDirectoryExists): 7797 (WebKit::WorkerFileSystemCallbacksBridge::createForReadDirectory): 7798 (WebKit::MainThreadFileSystemCallbacks::didSucceed): 7799 (WebKit::MainThreadFileSystemCallbacks::didReadMetadata): 7800 (WebKit::MainThreadFileSystemCallbacks::didReadDirectory): 7801 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread): 7802 (WebKit::WorkerFileSystemCallbacksBridge::moveOnMainThread): 7803 (WebKit::WorkerFileSystemCallbacksBridge::copyOnMainThread): 7804 (WebKit::WorkerFileSystemCallbacksBridge::removeOnMainThread): 7805 (WebKit::WorkerFileSystemCallbacksBridge::readMetadataOnMainThread): 7806 (WebKit::WorkerFileSystemCallbacksBridge::createFileOnMainThread): 7807 (WebKit::WorkerFileSystemCallbacksBridge::createDirectoryOnMainThread): 7808 (WebKit::WorkerFileSystemCallbacksBridge::fileExistsOnMainThread): 7809 (WebKit::WorkerFileSystemCallbacksBridge::directoryExistsOnMainThread): 7810 (WebKit::WorkerFileSystemCallbacksBridge::readDirectoryOnMainThread): 7811 (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnMainThread): 7812 (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnMainThread): 7813 (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnMainThread): 7814 (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnWorkerThread): 7815 (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnWorkerThread): 7816 (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnWorkerThread): 7817 (WebKit::WorkerFileSystemCallbacksBridge::derefIfWorkerIsStopped): 7818 * src/WorkerFileSystemCallbacksBridge.h: 7819 7820 2010-09-29 Matt Perry <mpcomplete (a] chromium.org> 7821 7822 Reviewed by Darin Fisher. 7823 7824 Remove obsolete registerExtension variants from chromium port. 7825 https://bugs.webkit.org/show_bug.cgi?id=46683 7826 7827 * public/WebScriptController.h: 7828 * src/WebScriptController.cpp: 7829 7830 2010-09-29 Chris Guillory <chris.guillory (a] google.com> 7831 7832 Reviewed by Dimitri Glazkov. 7833 7834 Add method which checks if a WebAccessibilityObject is in the cache. 7835 https://bugs.webkit.org/show_bug.cgi?id=46605 7836 7837 * public/WebAccessibilityCache.h: 7838 * src/WebAccessibilityCacheImpl.cpp: 7839 (WebKit::WebAccessibilityCacheImpl::isCached): 7840 * src/WebAccessibilityCacheImpl.h: 7841 7842 2010-09-29 Anantanarayanan G Iyengar <ananta (a] chromium.org> 7843 7844 Reviewed by Darin Fisher. 7845 7846 [chromium] Honor z-index specified by a plugin 7847 https://bugs.webkit.org/show_bug.cgi?id=46223 7848 7849 The Chromium plugin code which implements the iframe shim technique 7850 for overlaying a windowed plugin with content on the page should 7851 honor the z-index specified on the plugin widget. If the z-index 7852 here is greater than the enclosing iframe shim then the plugin 7853 should be displayed over the iframe. Updated the layout test to test 7854 for this case. Skipped the plugins/iframe-shims.html layout test on 7855 platforms which don't support it. 7856 7857 * src/WebPluginContainerImpl.cpp: 7858 7859 2010-09-28 Vangelis Kokkevis <vangelis (a] chromium.org> 7860 7861 Reviewed by Kenneth Russell. 7862 7863 [chromium] Keep the accelerated compositor around even after a page is 7864 done using it to avoid startup costs in pages that frequently switch 7865 the compositor on and off. 7866 https://bugs.webkit.org/show_bug.cgi?id=45845 7867 7868 * src/WebViewImpl.cpp: 7869 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 7870 7871 2010-09-28 Nat Duca <nduca (a] chromium.org> 7872 7873 Reviewed by James Robinson. 7874 7875 [chromium] invalidateRootLayerRect needs to schedule compositor 7876 https://bugs.webkit.org/show_bug.cgi?id=46219 7877 7878 Make sure setRootLayerNedsDisplay is called by root invalidation. 7879 To avoid confusion about root-layer versus non-root-layer 7880 behavior, move the root layer damage state to the WebView. 7881 7882 * src/WebViewImpl.cpp: 7883 (WebKit::WebViewImpl::setRootLayerNeedsDisplay): 7884 (WebKit::WebViewImpl::scrollRootLayerRect): 7885 (WebKit::WebViewImpl::invalidateRootLayerRect): 7886 (WebKit::WebViewImpl::doComposite): 7887 * src/WebViewImpl.h: 7888 7889 2010-09-28 Jenn Braithwaite <jennb (a] chromium.org> 7890 7891 Reviewed by Dmitry Titov. 7892 7893 Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument. 7894 https://bugs.webkit.org/show_bug.cgi?id=46663 7895 7896 * src/FrameLoaderClientImpl.cpp: 7897 (WebKit::FrameLoaderClientImpl::didTransferChildFrameToNewDocument): 7898 * src/FrameLoaderClientImpl.h: 7899 7900 2010-09-28 Andrei Popescu <andreip (a] google.com> 7901 7902 Reviewed by Jeremy Orlow. 7903 7904 [Chromium] Linking error due to wrong guard in WebIDBTransaction.h 7905 https://bugs.webkit.org/show_bug.cgi?id=46710 7906 7907 Remove the wrong guard. 7908 7909 * public/WebIDBTransaction.h: 7910 (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface): 7911 7912 2010-09-27 Alpha Lam <hclam (a] chromium.org> 7913 7914 Build fix. Not reviewed. 7915 7916 Use if instead of switch to avoid compilation error. 7917 7918 * src/VideoFrameChromiumImpl.cpp: 7919 (WebKit::VideoFrameChromiumImpl::requiredTextureSize): 7920 7921 2010-09-27 Alpha Lam <hclam (a] chromium.org> 7922 7923 Build fix. Not reviewed. 7924 7925 Remove constant definitions from this file. 7926 7927 * src/VideoFrameChromiumImpl.cpp: 7928 7929 2010-09-27 Alpha Lam <hclam (a] chromium.org> 7930 7931 Build fix. Not reviewed. 7932 7933 Fix warnings again. 7934 7935 * src/VideoFrameChromiumImpl.cpp: 7936 (WebKit::VideoFrameChromiumImpl::requiredTextureSize): 7937 7938 2010-09-27 Alpha Lam <hclam (a] chromium.org> 7939 7940 Build fix. Not reviewed. 7941 7942 Add a default for unhandled cases for switch statement. 7943 7944 * src/VideoFrameChromiumImpl.cpp: 7945 (WebKit::VideoFrameChromiumImpl::requiredTextureSize): 7946 7947 2010-09-27 Victoria Kirst <vrk (a] google.com> 7948 7949 Reviewed by James Robinson. 7950 7951 Fixing constants in VideoFrameChromiumImpl so that it overloads the 7952 VideoFrameChromium const declarations. Also adding logic such that a 7953 VideoFrameChromium understands what size its texture should be based 7954 on frame format. 7955 https://bugs.webkit.org/show_bug.cgi?id=45069 7956 7957 * src/VideoFrameChromiumImpl.cpp: 7958 7959 2010-09-27 Vangelis Kokkevis <vangelis (a] chromium.org> 7960 7961 Reviewed by James Robinson. 7962 7963 [chromium] WebViewImpl now holds a ref counted pointer to the LayerRendererChromium 7964 to ensure that the compositor does not get destroyed before the layers used 7965 by it do. This was done to ensure that layers properly clean up their texture 7966 resources on destruction. 7967 https://bugs.webkit.org/show_bug.cgi?id=46139 7968 7969 * src/WebViewImpl.cpp: 7970 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 7971 * src/WebViewImpl.h: 7972 7973 2010-09-24 Zhenyao Mo <zmo (a] google.com> 7974 7975 Reviewed by Kenneth Russell. 7976 7977 Hook up ANGLE with chromium --in-process-webgl port 7978 https://bugs.webkit.org/show_bug.cgi?id=44309 7979 7980 * WebKit.gyp: Add angle dependency. 7981 * src/WebGraphicsContext3DDefaultImpl.cpp: Using angle for shader validation and translation. 7982 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): 7983 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): 7984 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 7985 (WebKit::WebGraphicsContext3DDefaultImpl::compileShader): 7986 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Using defined const instead. 7987 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderiv): 7988 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog): 7989 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource): 7990 (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource): 7991 (WebKit::WebGraphicsContext3DDefaultImpl::createShader): 7992 (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader): 7993 (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers): 7994 (WebKit::WebGraphicsContext3DDefaultImpl::angleDestroyCompilers): 7995 (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource): 7996 * src/WebGraphicsContext3DDefaultImpl.h: Add necessary data and functions for angle stuff. 7997 (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::ShaderSourceEntry): 7998 (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::~ShaderSourceEntry): 7999 8000 2010-09-27 Kinuko Yasuda <kinuko (a] chromium.org> 8001 8002 Reviewed by Adam Barth. 8003 8004 [Cleanup] Add create method to FileSystemCallbacks to get rid of naked new's 8005 https://bugs.webkit.org/show_bug.cgi?id=46561 8006 8007 Also cleanup the callbacks layering to pass AsyncFileSystemCallbacks 8008 object to LocalFileSystem::requestFileSystem (rather than 8009 FileSystemCallback and ErrorCallback) so that all the callbacks class 8010 we pass from WebCore to WebKit/chromium/src will be 8011 AsyncFileSystemCallbacks. 8012 8013 * src/LocalFileSystemChromium.cpp: 8014 (WebCore::LocalFileSystem::requestFileSystem): Changed to take 8015 AsyncFileSystemCallbacks as (a) callback argument(s). 8016 8017 2010-09-24 Tony Chang <tony (a] chromium.org> 8018 8019 Reviewed by Kent Tamura. 8020 8021 [chromium] remove unused gtk WebScreenInfoFactory 8022 https://bugs.webkit.org/show_bug.cgi?id=46526 8023 8024 AFAICT these files aren't referenced in code or by gyp. 8025 8026 * WebKit.gyp: Remove duplicate filename. 8027 * public/gtk/WebScreenInfoFactory.h: Removed. 8028 * src/gtk/WebScreenInfoFactory.cpp: Removed. 8029 8030 2010-09-26 Mihai Parparita <mihaip (a] chromium.org> 8031 8032 Reviewed by Adam Barth. 8033 8034 [Chromium] Remove no longer used WebView member functions 8035 https://bugs.webkit.org/show_bug.cgi?id=46515 8036 8037 With http://crrev.com/60526 there's no longer any Chromium code calling 8038 the non-static versions of addUserScript and addUserStyleSheet. 8039 8040 * public/WebView.h: 8041 8042 2010-09-25 Nicolas Weber <thakis (a] chromium.org> 8043 8044 Reviewed by James Robinson. 8045 8046 [chromium] Fix clang warning/error. 8047 https://bugs.webkit.org/show_bug.cgi?id=46552 8048 8049 * src/WorkerFileSystemCallbacksBridge.h: 8050 8051 2010-09-24 Mihai Parparita <mihaip (a] chromium.org> 8052 8053 Reviewed by Darin Fisher. 8054 8055 [Chromium] Unnecessary blob dependency in WebKit.gyp 8056 https://bugs.webkit.org/show_bug.cgi?id=46488 8057 8058 r66322 shouldn't have added a blob dependency by hand to targets in 8059 WebKit.gyp, instead blob should be a dependency of webkit_support. 8060 http://crrev.com/59406 did that, so we can now remove these deps. 8061 8062 * WebKit.gyp: 8063 8064 2010-09-24 Ryosuke Niwa <rniwa (a] webkit.org> 8065 8066 Reviewed by Tony Chang. 8067 8068 [chromium] Implement TextInputController::firstRectForCharacterRange 8069 https://bugs.webkit.org/show_bug.cgi?id=38100 8070 8071 Implemented TextInputController::firstRectForCharacterRange for chromium platform. 8072 Because the function needs to return an array of integers,