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, added makeIntArray to WebBindings. 8073 makeIntArray does not take Vector because WebBindings.h is included in plugin glue code 8074 where it cannot find wtf/Vector.h. 8075 8076 No new tests are added since we need to implement the same feature in chromium side 8077 in order to enable any tests that uses this function. 8078 8079 * public/WebBindings.h: 8080 * public/WebFrame.h: 8081 * src/WebBindings.cpp: 8082 (WebKit::makeIntArrayImpl): Added. 8083 (WebKit::WebBindings::makeIntArray): Added. 8084 * src/WebFrameImpl.cpp: 8085 (WebKit::WebFrameImpl::firstRectForCharacterRange): Added. 8086 * src/WebFrameImpl.h: 8087 8088 2010-09-24 Tony Chang <tony (a] chromium.org> 8089 8090 Unreviewed, fix chromium compile after r68276 which renamed 8091 Render*::minPrefWidth to minPreferredLogicalWidth. 8092 8093 * src/WebFrameImpl.cpp: 8094 (WebKit::WebFrameImpl::contentsPreferredWidth): 8095 8096 2010-09-24 Eric Uhrhane <ericu (a] chromium.org> 8097 8098 Reviewed by David Levin. 8099 8100 Remove unnecessary parameter from AsyncFileWriterClient::didTruncate 8101 https://bugs.webkit.org/show_bug.cgi?id=46390 8102 8103 * public/WebFileWriterClient.h: 8104 * src/AsyncFileWriterChromium.cpp: 8105 * src/AsyncFileWriterChromium.h: 8106 8107 2010-09-24 Chris Guillory <chris.guillory (a] google.com> 8108 8109 Reviewed by Chris Fleizach. 8110 8111 Send webkit accessibility notifications to Chromium. 8112 https://bugs.webkit.org/show_bug.cgi?id=45156 8113 8114 * public/WebAccessibilityCache.h: 8115 * public/WebViewClient.h: 8116 * src/ChromeClientImpl.cpp: 8117 (WebKit::ChromeClientImpl::focusedNodeChanged): 8118 (WebKit::ChromeClientImpl::getPopupMenuInfo): 8119 * src/ChromeClientImpl.h: 8120 * src/WebAccessibilityCache.cpp: 8121 (WebKit::WebAccessibilityCache::accessibilityEnabled): 8122 8123 2010-09-23 Kent Tamura <tkent (a] chromium.org> 8124 8125 Reviewed by Dimitri Glazkov. 8126 8127 [Chromium] Fix some IndexedDB tests for DRT 8128 https://bugs.webkit.org/show_bug.cgi?id=46444 8129 8130 * DEPS: Roll Chromium revision to 60394, which added 8131 WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath() implementation. 8132 8133 2010-09-23 Kinuko Yasuda <kinuko (a] chromium.org> 8134 8135 Unreviewed, another attempt to fix build. The code didn't have proper if-defs. 8136 8137 * src/WebWorkerBase.cpp: 8138 (WebKit::WebWorkerBase::openFileSystem): 8139 * src/WebWorkerBase.h: 8140 * src/WorkerFileSystemCallbacksBridge.h: 8141 8142 2010-09-23 Kinuko Yasuda <kinuko (a] chromium.org> 8143 8144 Unreviewed; build fix attempt. 8145 8146 * src/WebWorkerBase.cpp: 8147 (WebKit::WebWorkerBase::openFileSystem): 8148 * src/WorkerFileSystemCallbacksBridge.h: 8149 8150 2010-09-23 Kinuko Yasuda <kinuko (a] chromium.org> 8151 8152 Reviewed by David Levin. 8153 8154 Add Worker support for FileSystem API 8155 https://bugs.webkit.org/show_bug.cgi?id=45808 8156 8157 Added WebWorkerBase::openFileSystem and WebCommonWorkerClient:: 8158 openFileSystem to call in to the browser via Worker stub/proxy 8159 in the chromium. 8160 8161 Also added WorkerFileSystemCallbacksBridge class that proxies 8162 requests and callbacks between from/to worker thread to/from the 8163 main thread. 8164 8165 * public/WebCommonWorkerClient.h: 8166 (WebKit::WebCommonWorkerClient::openFileSystem): Added. 8167 * src/LocalFileSystemChromium.cpp: 8168 (WebCore::LocalFileSystem::localFileSystem): Added. 8169 (WebCore::LocalFileSystem::requestFileSystem): Added implementation 8170 for workers. In worker case this calls WebWorkerBase::openFileSystem. 8171 * src/WebWorkerBase.cpp: 8172 (WebKit::WebWorkerBase::openFileSystem): Added. This is called from 8173 LocalFileSystem::requestFileSystem on the worker thread and creates 8174 a bridge to call WebCommonWorkerClient::openFileSystem on the main 8175 thread. 8176 * src/WebWorkerBase.h: 8177 * src/WebWorkerClientImpl.h: 8178 (WebKit::WebWorkerClientImpl::openFileSystem): Added. 8179 * src/WorkerFileSystemCallbacksBridge.cpp: Added. 8180 * src/WorkerFileSystemCallbacksBridge.h: Added. 8181 8182 2010-09-23 Tony Chang <tony (a] chromium.org> 8183 8184 Reviewed by Dimitri Glazkov. 8185 8186 [chromium] implement layoutTestController.sampleSVGAnimationForElementAtTime 8187 https://bugs.webkit.org/show_bug.cgi?id=46426 8188 8189 * public/WebFrame.h: 8190 * src/WebFrameImpl.cpp: 8191 (WebKit::WebFrameImpl::pauseSVGAnimation): 8192 * src/WebFrameImpl.h: 8193 8194 2010-09-23 Tony Chang <tony (a] chromium.org> 8195 8196 Reviewed by David Levin. 8197 8198 [chromium] add caretBrowsingEnabled to WebSettings and DRT 8199 https://bugs.webkit.org/show_bug.cgi?id=46388 8200 8201 * public/WebSettings.h: 8202 * src/WebSettingsImpl.cpp: 8203 (WebKit::WebSettingsImpl::setCaretBrowsingEnabled): 8204 * src/WebSettingsImpl.h: 8205 8206 2010-09-23 Eric Uhrhane <ericu (a] chromium.org> 8207 8208 Reviewed by David Levin. 8209 8210 Rename FileWriterClient to AsyncFileWriterClient. 8211 https://bugs.webkit.org/show_bug.cgi?id=46325 8212 8213 * src/AsyncFileSystemChromium.cpp: 8214 * src/AsyncFileSystemChromium.h: 8215 * src/AsyncFileWriterChromium.cpp: 8216 * src/AsyncFileWriterChromium.h: 8217 8218 2010-09-23 Nate Chapin <japhet (a] chromium.org> 8219 8220 Reviewed by Darin Fisher. 8221 8222 Add hyperlink auditing settings (i.e., <a ping>). 8223 https://bugs.webkit.org/show_bug.cgi?id=30458 8224 8225 * public/WebSettings.h: 8226 * src/WebSettingsImpl.cpp: 8227 (WebKit::WebSettingsImpl::setHyperlinkAuditingEnabled): 8228 * src/WebSettingsImpl.h: 8229 8230 2010-09-23 Andrey Kosyakov <caseq (a] chromium.org> 8231 8232 Unreviewed build fix ("WTF/" -> "wtf/" in include, broke Arm build) 8233 8234 * src/AsyncFileWriterChromium.h: 8235 8236 2010-09-08 Tony Gentilcore <tonyg (a] chromium.org> 8237 8238 Reviewed by Darin Fisher. 8239 8240 [chromium] Add chromium port API for accessing Web Timing information 8241 https://bugs.webkit.org/show_bug.cgi?id=45428 8242 8243 * WebKit.gyp: 8244 * public/WebFrame.h: 8245 * public/WebPerformance.h: Added. 8246 (WebKit::WebPerformance::WebPerformance): 8247 * src/WebFrameImpl.cpp: 8248 (WebKit::WebFrameImpl::performance): 8249 * src/WebFrameImpl.h: 8250 * src/WebPerformance.cpp: Added. 8251 (WebKit::WebPerformance::WebPerformance): 8252 (WebKit::WebPerformance::~WebPerformance): 8253 (WebKit::WebPerformance::operator=): 8254 (WebKit::WebPerformance::navigationType): 8255 (WebKit::WebPerformance::navigationStart): 8256 (WebKit::WebPerformance::unloadEventEnd): 8257 (WebKit::WebPerformance::redirectStart): 8258 (WebKit::WebPerformance::redirectEnd): 8259 (WebKit::WebPerformance::redirectCount): 8260 (WebKit::WebPerformance::fetchStart): 8261 (WebKit::WebPerformance::domainLookupStart): 8262 (WebKit::WebPerformance::domainLookupEnd): 8263 (WebKit::WebPerformance::connectStart): 8264 (WebKit::WebPerformance::connectEnd): 8265 (WebKit::WebPerformance::requestStart): 8266 (WebKit::WebPerformance::requestEnd): 8267 (WebKit::WebPerformance::responseStart): 8268 (WebKit::WebPerformance::responseEnd): 8269 (WebKit::WebPerformance::loadEventStart): 8270 (WebKit::WebPerformance::loadEventEnd): 8271 (WebKit::WebPerformance::operator PassRefPtr<Performance>): 8272 8273 2010-09-23 Andrei Popescu <andreip (a] google.com> 8274 8275 Reviewed by Jeremy Orlow. 8276 8277 IDBObjectStore::get should run in a transaction. 8278 https://bugs.webkit.org/show_bug.cgi?id=44700 8279 8280 * public/WebIDBFactory.h: 8281 * public/WebIDBObjectStore.h: 8282 * public/WebIDBTransaction.h: 8283 (WebKit::WebIDBTransaction::didCompleteTaskEvents): 8284 (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface): 8285 * src/IDBDatabaseProxy.h: 8286 * src/IDBFactoryBackendProxy.cpp: 8287 * src/IDBFactoryBackendProxy.h: 8288 * src/IDBObjectStoreProxy.cpp: 8289 (WebCore::IDBObjectStoreProxy::get): 8290 * src/IDBObjectStoreProxy.h: 8291 * src/IDBTransactionBackendProxy.cpp: 8292 (WebCore::IDBTransactionBackendProxy::scheduleTask): 8293 (WebCore::IDBTransactionBackendProxy::didCompleteTaskEvents): 8294 * src/IDBTransactionBackendProxy.h: 8295 (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction): 8296 * src/WebIDBFactoryImpl.cpp: 8297 * src/WebIDBFactoryImpl.h: 8298 * src/WebIDBObjectStoreImpl.cpp: 8299 (WebKit::WebIDBObjectStoreImpl::get): 8300 * src/WebIDBObjectStoreImpl.h: 8301 * src/WebIDBTransactionImpl.cpp: 8302 (WebKit::WebIDBTransactionImpl::didCompleteTaskEvents): 8303 (WebKit::WebIDBTransactionImpl::getIDBTransactionBackendInterface): 8304 * src/WebIDBTransactionImpl.h: 8305 8306 2010-09-23 Jeremy Orlow <jorlow (a] chromium.org> 8307 8308 Unreviewed small fix for my last patch. 8309 8310 * public/WebIDBTransaction.h: 8311 (WebKit::WebIDBTransaction::id): 8312 8313 2010-09-22 Mihai Parparita <mihaip (a] chromium.org> 8314 8315 Reviewed by Darin Fisher. 8316 8317 [Chromium] User style layout tests don't pass on Chromium 8318 https://bugs.webkit.org/show_bug.cgi?id=46069 8319 8320 Expose UserStyleInjectionTime in WebView. 8321 8322 * public/WebView.h: 8323 * src/WebViewImpl.cpp: 8324 (WebKit::WebView::addUserStyleSheet): 8325 8326 2010-09-22 James Robinson <jamesr (a] chromium.org> 8327 8328 [chromium] Re-synchronizes features.gypi with upstream feature_overrides.gypi. 8329 8330 * features.gypi: 8331 8332 2010-09-22 Ruben <chromium (a] hybridsource.org> 8333 8334 Reviewed by Tony Chang. 8335 8336 [chromium] added ifdefs for FreeBSD support 8337 https://bugs.webkit.org/show_bug.cgi?id=46316 8338 8339 * WebKit.gyp: 8340 * features.gypi: 8341 * src/ChromiumBridge.cpp: 8342 * src/WebFrameImpl.cpp: 8343 (WebKit::ChromePrintContext::spoolPage): 8344 * src/WebViewImpl.cpp: 8345 (WebKit::WebViewImpl::mouseDown): 8346 (WebKit::WebViewImpl::mouseUp): 8347 (WebKit::WebViewImpl::keyEvent): 8348 (WebKit::WebViewImpl::setScrollbarColors): 8349 (WebKit::WebViewImpl::setSelectionColors): 8350 8351 2010-09-22 Eric Uhrhane <ericu (a] chromium.org> 8352 8353 Reviewed by Dumitru Daniliuc. 8354 8355 Add Chromium implementation for FileWriter 8356 https://bugs.webkit.org/show_bug.cgi?id=44361 8357 8358 No new tests; the implementation's not yet far enough along for that. 8359 8360 This makes a chain of construction-and-linking-up for various sorts of 8361 FileWriter interfaces to call through to Chromium, and for various 8362 sorts of FileWriterClients to call back, with object ownership always 8363 pointing towards the Chromium API. That is, the DOM object owns an 8364 AsyncFileWriter, which owns its implementation object, and the reverse 8365 (client) direction is raw pointers. 8366 8367 File metadata is looked up before the FileWriter is returned, so that 8368 we know the file exists and can cache its length. 8369 8370 The WebKit/chromium interface here is modeled after that of the 8371 FileSystem. 8372 8373 * public/WebFileInfo.h: 8374 (WebKit::WebFileInfo::WebFileInfo): 8375 * src/AsyncFileSystemChromium.cpp: 8376 (WebCore::FileWriterHelperCallbacks::FileWriterHelperCallbacks): 8377 (WebCore::FileWriterHelperCallbacks::didSucceed): 8378 (WebCore::FileWriterHelperCallbacks::didReadMetadata): 8379 (WebCore::FileWriterHelperCallbacks::didReadDirectory): 8380 (WebCore::FileWriterHelperCallbacks::didOpenFileSystem): 8381 (WebCore::FileWriterHelperCallbacks::didCreateFileWriter): 8382 (WebCore::FileWriterHelperCallbacks::didFail): 8383 (WebCore::AsyncFileSystemChromium::createWriter): 8384 * src/AsyncFileSystemChromium.h: 8385 * src/AsyncFileWriterChromium.cpp: 8386 (WebCore::AsyncFileWriterChromium::setWebFileWriter): 8387 (WebCore::AsyncFileWriterChromium::write): 8388 (WebCore::AsyncFileWriterChromium::didFail): 8389 * src/AsyncFileWriterChromium.h: 8390 * src/WebFileSystemCallbacksImpl.h: 8391 8392 2010-09-22 Kenneth Russell <kbr (a] google.com> 8393 8394 Unreviewed, Chromium build fix. Fix build when accelerated 8395 compositing is not enabled at compile time. 8396 8397 * src/WebViewImpl.cpp: 8398 (WebKit::WebViewImpl::resize): 8399 8400 2010-09-22 Matt Perry <mpcomplete (a] chromium.org> 8401 8402 Reviewed by Darin Fisher. 8403 8404 Trying to reland a version of r67749: 8405 Have V8DOMWindowShell ask the embedder whether to run a V8 extension 8406 in a particular script context. 8407 https://bugs.webkit.org/show_bug.cgi?id=45721 8408 8409 * public/WebFrameClient.h: 8410 (WebKit::WebFrameClient::allowScriptExtension): 8411 * public/WebScriptController.h: 8412 * src/FrameLoaderClientImpl.cpp: 8413 (WebKit::FrameLoaderClientImpl::allowScriptExtension): 8414 * src/FrameLoaderClientImpl.h: 8415 * src/WebScriptController.cpp: 8416 (WebKit::WebScriptController::registerExtension): 8417 8418 2010-09-22 Jeremy Orlow <jorlow (a] chromium.org> 8419 8420 Reviewed by Darin Fisher. 8421 8422 [Chromium] Change WebKit API for IDBTransaciton to new style 8423 https://bugs.webkit.org/show_bug.cgi?id=46263 8424 8425 * public/WebIDBIndex.h: 8426 (WebKit::WebIDBIndex::openObjectCursor): 8427 (WebKit::WebIDBIndex::openCursor): 8428 (WebKit::WebIDBIndex::getObject): 8429 (WebKit::WebIDBIndex::get): 8430 * public/WebIDBObjectStore.h: 8431 (WebKit::WebIDBObjectStore::get): 8432 (WebKit::WebIDBObjectStore::put): 8433 (WebKit::WebIDBObjectStore::remove): 8434 (WebKit::WebIDBObjectStore::openCursor): 8435 * src/WebIDBIndexImpl.cpp: 8436 (WebKit::WebIDBIndexImpl::openCursor): 8437 (WebKit::WebIDBIndexImpl::openObjectCursor): 8438 (WebKit::WebIDBIndexImpl::getObject): 8439 (WebKit::WebIDBIndexImpl::get): 8440 * src/WebIDBIndexImpl.h: 8441 * src/WebIDBObjectStoreImpl.cpp: 8442 (WebKit::WebIDBObjectStoreImpl::get): 8443 (WebKit::WebIDBObjectStoreImpl::put): 8444 (WebKit::WebIDBObjectStoreImpl::remove): 8445 (WebKit::WebIDBObjectStoreImpl::openCursor): 8446 * src/WebIDBObjectStoreImpl.h: 8447 8448 2010-09-22 Pavel Podivilov <podivilov (a] chromium.org> 8449 8450 Reviewed by Pavel Feldman. 8451 8452 Web Inspector: implement pausing on XHR 8453 https://bugs.webkit.org/show_bug.cgi?id=46086 8454 8455 * src/js/DevTools.js: 8456 (): 8457 8458 2010-09-21 Brett Wilson <brettw (a] chromium.org> 8459 8460 Reviewed by Darin Fisher. 8461 8462 Add caps log and num lock toggle state to WebInputEvent. 8463 https://bugs.webkit.org/show_bug.cgi?id=46229 8464 8465 * public/WebInputEvent.h: 8466 * src/WebViewImpl.cpp: 8467 (WebKit::WebViewImpl::handleInputEvent): 8468 * src/WebViewImpl.h: 8469 * src/gtk/WebInputEventFactory.cpp: 8470 (WebKit::gdkStateToWebEventModifiers): 8471 * src/win/WebInputEventFactory.cpp: 8472 (WebKit::SetToggleKeyState): 8473 (WebKit::WebInputEventFactory::keyboardEvent): 8474 (WebKit::WebInputEventFactory::mouseEvent): 8475 (WebKit::WebInputEventFactory::mouseWheelEvent): 8476 8477 2010-09-21 James Robinson <jamesr (a] chromium.org> 8478 8479 Reviewed by Kenneth Russell. 8480 8481 [chromium] Check if the acceleratedCompositingEnabled setting is active in WebViewImpl::graphicsContext3D() 8482 https://bugs.webkit.org/show_bug.cgi?id=46239 8483 8484 This adds a check for whether acceleratedCompositingEnabled is true on the Page's Settings 8485 object before creating and vending a GraphicsContext3D object. This is needed because when 8486 an offscreen WebGraphicsContext3DCommandBufferImpl is initialized it first asks the WebViewImpl 8487 for the compositor context. WebGraphicsContext3DCommandBufferImpl::initialize checks if the 8488 disable accelerated compositing command line switch is set, but this is insufficient as sometimes 8489 the Setting object does not agree exactly with the command line switches. For example, 8490 we explicitly toggle accelerated compositing for some chrome UI URLs regardless of what the 8491 flag says. 8492 8493 * src/WebViewImpl.cpp: 8494 (WebKit::WebViewImpl::graphicsContext3D): 8495 8496 2010-09-21 Kent Tamura <tkent (a] chromium.org> 8497 8498 Reviewed by David Levin. 8499 8500 [Chromium] Remove WebInputElement::InputType and inputType() 8501 https://bugs.webkit.org/show_bug.cgi?id=46238 8502 8503 * DEPS: Roll Chromium revision to 60132, which removed all usage of inputType(). 8504 * public/WebInputElement.h: Remove InputType and inputType(). 8505 * src/AssertMatchingEnums.cpp: Remove WebInputElement::InputType - 8506 HTMLInputElement::InputType matching tests. 8507 * src/WebInputElement.cpp: Remove inputType(). 8508 8509 2010-09-21 Andrew Wilson <atwilson (a] chromium.org> 8510 8511 Unreviewed, rolling out r67982. 8512 http://trac.webkit.org/changeset/67982 8513 https://bugs.webkit.org/show_bug.cgi?id=45156 8514 8515 Causes crashes on chromium testshell 8516 8517 * public/WebAccessibilityCache.h: 8518 * public/WebViewClient.h: 8519 (WebKit::WebViewClient::didChangeAccessibilityObjectState): 8520 (WebKit::WebViewClient::didChangeAccessibilityObjectChildren): 8521 * src/ChromeClientImpl.cpp: 8522 (WebKit::ChromeClientImpl::focusedNodeChanged): 8523 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState): 8524 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren): 8525 * src/ChromeClientImpl.h: 8526 * src/WebAccessibilityCache.cpp: 8527 8528 2010-09-21 Kenneth Russell <kbr (a] google.com> 8529 8530 Reviewed by James Robinson. 8531 8532 [chromium] Remove GLES2Context and WebGLES2Context 8533 https://bugs.webkit.org/show_bug.cgi?id=46131 8534 8535 Removed now-obsolete GLES2Context and WebGLES2Context classes, and 8536 dependency on command buffer client code from WebCore. Built and 8537 tested 3D CSS and WebGL content on Mac OS X to test. 8538 8539 * WebKit.gyp: 8540 * public/WebGLES2Context.h: Removed. 8541 * public/WebGraphicsContext3D.h: 8542 * public/WebKitClient.h: 8543 * public/WebView.h: 8544 * src/ChromeClientImpl.cpp: 8545 * src/GLES2Context.cpp: Removed. 8546 * src/GLES2ContextInternal.cpp: Removed. 8547 * src/GLES2ContextInternal.h: Removed. 8548 * src/WebGraphicsContext3DDefaultImpl.cpp: 8549 * src/WebGraphicsContext3DDefaultImpl.h: 8550 * src/WebViewImpl.cpp: 8551 * src/WebViewImpl.h: 8552 8553 2010-09-21 Kenneth Russell <kbr (a] google.com> 8554 8555 Reviewed by James Robinson. 8556 8557 [chromium] Roll forward Chromium DEPS to pick up removal of WebGLES2Context dependencies 8558 https://bugs.webkit.org/show_bug.cgi?id=46231 8559 8560 Ran build-webkit --chromium --debug on Mac OS X to test the roll-forward. 8561 8562 * DEPS: 8563 8564 2010-09-21 Jeremy Orlow <jorlow (a] chromium.org> 8565 8566 Reviewed by Nate Chapin. 8567 8568 [Chromium] Plumb the IDBTransansaction's id 8569 https://bugs.webkit.org/show_bug.cgi?id=46197 8570 8571 Next step, add the plumbing to Chromium. Then we add code to WebKit 8572 that uses it (and take out the default IDBTransaction param). 8573 8574 * public/WebIDBCursor.h: 8575 (WebKit::WebIDBCursor::key): 8576 (WebKit::WebIDBCursor::value): 8577 * public/WebIDBFactory.h: 8578 (WebKit::WebIDBFactory::open): 8579 * public/WebIDBIndex.h: 8580 (WebKit::WebIDBIndex::openObjectCursor): 8581 (WebKit::WebIDBIndex::openCursor): 8582 (WebKit::WebIDBIndex::getObject): 8583 (WebKit::WebIDBIndex::get): 8584 * public/WebIDBObjectStore.h: 8585 (WebKit::WebIDBObjectStore::get): 8586 (WebKit::WebIDBObjectStore::put): 8587 (WebKit::WebIDBObjectStore::remove): 8588 (WebKit::WebIDBObjectStore::createIndex): 8589 (WebKit::WebIDBObjectStore::removeIndex): 8590 (WebKit::WebIDBObjectStore::openCursor): 8591 * src/WebIDBIndexImpl.cpp: 8592 (WebKit::WebIDBIndexImpl::openCursor): 8593 (WebKit::WebIDBIndexImpl::openObjectCursor): 8594 (WebKit::WebIDBIndexImpl::getObject): 8595 (WebKit::WebIDBIndexImpl::get): 8596 * src/WebIDBIndexImpl.h: 8597 * src/WebIDBObjectStoreImpl.cpp: 8598 (WebKit::WebIDBObjectStoreImpl::get): 8599 (WebKit::WebIDBObjectStoreImpl::put): 8600 (WebKit::WebIDBObjectStoreImpl::remove): 8601 (WebKit::WebIDBObjectStoreImpl::openCursor): 8602 * src/WebIDBObjectStoreImpl.h: 8603 8604 2010-09-21 Chris Guillory <chris.guillory (a] google.com> 8605 8606 Reviewed by Chris Fleizach. 8607 8608 Send webkit accessibility notifications to Chromium. 8609 https://bugs.webkit.org/show_bug.cgi?id=45156 8610 8611 * public/WebAccessibilityCache.h: 8612 * public/WebViewClient.h: 8613 * src/ChromeClientImpl.cpp: 8614 (WebKit::ChromeClientImpl::focusedNodeChanged): 8615 (WebKit::ChromeClientImpl::getPopupMenuInfo): 8616 * src/ChromeClientImpl.h: 8617 * src/WebAccessibilityCache.cpp: 8618 (WebKit::WebAccessibilityCache::accessibilityEnabled): 8619 8620 2010-09-21 Steve Block <steveblock (a] google.com> 8621 8622 Reviewed by Jeremy Orlow. 8623 8624 DeviceOrientationClient and DeviceMotionClient should have controllerDestroyed() methods 8625 https://bugs.webkit.org/show_bug.cgi?id=45891 8626 8627 Implements DeviceOrientationClientProxy::deviceOrientationControllerDestroyed() as a no-op, 8628 as the client's lifetime is determined by the WebViewImpl. 8629 8630 * src/DeviceOrientationClientProxy.cpp: 8631 (WebKit::DeviceOrientationClientProxy::deviceOrientationControllerDestroyed): 8632 * src/DeviceOrientationClientProxy.h: 8633 8634 2010-09-21 Jochen Eisinger <jochen (a] chromium.org> 8635 8636 Reviewed by Jeremy Orlow. 8637 8638 [chromium] expose the filename used for a given indexed DB 8639 https://bugs.webkit.org/show_bug.cgi?id=46090 8640 8641 * WebKit.gyp: 8642 * public/WebIDBFactory.h: 8643 * src/WebIDBFactory.cpp: 8644 (WebKit::WebIDBFactory::databaseFileName): 8645 8646 2010-09-20 Philippe Normand <pnormand (a] igalia.com> 8647 8648 Reviewed by Eric Carlson. 8649 8650 [GTK] enhanced context menu for media elements 8651 https://bugs.webkit.org/show_bug.cgi?id=45021 8652 8653 New localized strings for the media element context-menu. 8654 8655 * src/LocalizedStrings.cpp: 8656 (WebCore::contextMenuItemTagOpenVideoInNewWindow): 8657 (WebCore::contextMenuItemTagOpenAudioInNewWindow): 8658 (WebCore::contextMenuItemTagCopyVideoLinkToClipboard): 8659 (WebCore::contextMenuItemTagCopyAudioLinkToClipboard): 8660 (WebCore::contextMenuItemTagToggleMediaControls): 8661 (WebCore::contextMenuItemTagToggleMediaLoop): 8662 (WebCore::contextMenuItemTagEnterVideoFullscreen): 8663 (WebCore::contextMenuItemTagMediaPlay): 8664 (WebCore::contextMenuItemTagMediaPause): 8665 (WebCore::contextMenuItemTagMediaMute): 8666 8667 2010-09-20 Nico Weber <thakis (a] chromium.org> 8668 8669 Reviewed by James Robinson. 8670 8671 [chromium] Trivial clang warning fix 8672 https://bugs.webkit.org/show_bug.cgi?id=46143 8673 8674 * src/WebFileSystemCallbacksImpl.h: 8675 8676 2010-09-20 Darin Adler <darin (a] apple.com> 8677 8678 Reviewed by James Robinson. 8679 8680 Deprecate the inputType function on HTMLInputElement 8681 https://bugs.webkit.org/show_bug.cgi?id=46023 8682 8683 * src/WebInputElement.cpp: 8684 (WebKit::WebInputElement::inputType): 8685 * src/WebPasswordFormUtils.cpp: 8686 (WebKit::findPasswordFormFields): 8687 * src/WebSearchableFormData.cpp: 8688 (WebCore::HasSuitableTextElement): 8689 Use deprecatedInputType instead of inputType. 8690 8691 2010-09-20 Kenneth Russell <kbr (a] google.com> 8692 8693 Reviewed by James Robinson. 8694 8695 [chromium] Change compositor to use GraphicsContext3D rather than GLES2Context 8696 https://bugs.webkit.org/show_bug.cgi?id=45912 8697 8698 Switched Chromium's compositor to use GraphicsContext3D to issue 8699 its OpenGL rendering calls rather than the Chromium-specific 8700 GLES2Context and command buffer OpenGL implementation. 8701 8702 The in-process software rendering path for GraphicsContext3D does 8703 not yet work with the compositor, at least not on Mac OS X. This 8704 will be worked on in subsequent bugs. 8705 8706 Tested manually with 3D CSS, WebGL and video content on Mac OS X 8707 and Linux. No new tests. 8708 8709 * src/GraphicsContext3D.cpp: 8710 (WebCore::GraphicsContext3DInternal::initialize): 8711 (WebCore::GraphicsContext3DInternal::extractWebGraphicsContext3D): 8712 (WebCore::GraphicsContext3D::create): 8713 * src/GraphicsContext3DInternal.h: 8714 * src/WebViewImpl.cpp: 8715 (WebKit::WebViewImpl::resize): 8716 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 8717 (WebKit::WebViewImpl::gles2Context): 8718 (WebKit::WebViewImpl::graphicsContext3D): 8719 * src/WebViewImpl.h: 8720 8721 2010-09-20 Kenneth Russell <kbr (a] google.com> 8722 8723 Reviewed by Dimitri Glazkov. 8724 8725 [chromium] Roll forward Chromium DEPS to pick up WebGraphicsContext3D implementation changes 8726 https://bugs.webkit.org/show_bug.cgi?id=46115 8727 8728 * DEPS: 8729 8730 2010-09-20 Ilya Tikhonovsky <loislo (a] chromium.org> 8731 8732 Reviewed by Pavel Feldman. 8733 8734 Web Inspector: merge Inspector client runtime events into the serialized inspector state object. 8735 8736 Drive-by rename getBackendSettings -> getInspectorState to better reflect the nature of the data. 8737 8738 https://bugs.webkit.org/show_bug.cgi?id=45974 8739 8740 * src/InspectorClientImpl.cpp: 8741 (WebKit::InspectorClientImpl::updateInspectorStateCookie): 8742 * src/InspectorClientImpl.h: 8743 * src/WebDevToolsAgentImpl.cpp: 8744 (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): 8745 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 8746 (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie): 8747 * src/WebDevToolsAgentImpl.h: 8748 8749 2010-09-19 Sheriff Bot <webkit.review.bot (a] gmail.com> 8750 8751 Unreviewed, rolling out r67749. 8752 http://trac.webkit.org/changeset/67749 8753 https://bugs.webkit.org/show_bug.cgi?id=46068 8754 8755 breaking ToT chromium canary build (Requested by shans on 8756 #webkit). 8757 8758 * public/WebFrameClient.h: 8759 * public/WebScriptController.h: 8760 * src/FrameLoaderClientImpl.cpp: 8761 * src/FrameLoaderClientImpl.h: 8762 * src/WebScriptController.cpp: 8763 (WebKit::WebScriptController::registerExtension): 8764 8765 2010-09-19 Kent Tamura <tkent (a] chromium.org> 8766 8767 Reviewed by Dimitri Glazkov. 8768 8769 [Chromium] Add is<input type>() functions to WebInputElement 8770 https://bugs.webkit.org/show_bug.cgi?id=46035 8771 8772 We're going to stop exposing HTMLInputElemnt::InputType. So, add 8773 isFoo() functions in order to remove WebInputElement::InputType. 8774 8775 * public/WebInputElement.h: 8776 * src/WebInputElement.cpp: 8777 (WebKit::WebInputElement::isTextField): 8778 (WebKit::WebInputElement::isText): 8779 (WebKit::WebInputElement::isPasswordField): 8780 (WebKit::WebInputElement::isImageButton): 8781 8782 2010-09-17 Darin Adler <darin (a] apple.com> 8783 8784 Reviewed by Sam Weinig. 8785 8786 REGRESSION (r60104): Zoom level is unexpectedly reset on page reload 8787 https://bugs.webkit.org/show_bug.cgi?id=42863 8788 8789 * src/FrameLoaderClientImpl.cpp: 8790 (WebKit::FrameLoaderClientImpl::createPlugin): 8791 * src/WebViewImpl.cpp: 8792 (WebKit::WebViewImpl::setZoomLevel): 8793 Call functions on Frame instead of FrameView. 8794 8795 2010-09-17 Kenneth Russell <kbr (a] google.com> 8796 8797 Reviewed by James Robinson. 8798 8799 [chromium] Roll forward Chromium DEPS to pick up Mesa DRT changes 8800 https://bugs.webkit.org/show_bug.cgi?id=46006 8801 8802 * DEPS: 8803 8804 2010-09-17 Kenneth Russell <kbr (a] google.com> 8805 8806 Reviewed by Dimitri Glazkov. 8807 8808 [chromium] Add mesa as DumpRenderTree dependency 8809 https://bugs.webkit.org/show_bug.cgi?id=46001 8810 8811 * WebKit.gyp: 8812 8813 2010-09-13 Matt Perry <mpcomplete (a] chromium.org> 8814 8815 Reviewed by Darin Fisher. 8816 8817 Have V8DOMWindowShell ask the embedder whether to run a V8 extension 8818 in a particular script context. 8819 https://bugs.webkit.org/show_bug.cgi?id=45721 8820 8821 * public/WebFrameClient.h: 8822 (WebKit::WebFrameClient::allowScriptExtension): 8823 * public/WebScriptController.h: 8824 * src/FrameLoaderClientImpl.cpp: 8825 (WebKit::FrameLoaderClientImpl::allowScriptExtension): 8826 * src/FrameLoaderClientImpl.h: 8827 * src/WebScriptController.cpp: 8828 (WebKit::WebScriptController::registerExtension): 8829 8830 2010-09-17 Eric Uhrhane <ericu (a] chromium.org> 8831 8832 Reviewed by David Levin. 8833 8834 Remove unimplemented destructor declaration to fix Chromium build. 8835 https://bugs.webkit.org/show_bug.cgi?id=45987 8836 8837 * src/AsyncFileWriterChromium.h: 8838 8839 2010-09-16 Sheriff Bot <webkit.review.bot (a] gmail.com> 8840 8841 Unreviewed, rolling out r67693. 8842 http://trac.webkit.org/changeset/67693 8843 https://bugs.webkit.org/show_bug.cgi?id=45946 8844 8845 "Need to pick up a chromium change first" (Requested by dumi 8846 on #webkit). 8847 8848 * public/WebHTTPBody.h: 8849 * src/WebHTTPBody.cpp: 8850 (WebKit::WebHTTPBody::elementAt): 8851 (WebKit::WebHTTPBody::appendFileRange): 8852 8853 2010-09-15 Dumitru Daniliuc <dumi (a] chromium.org> 8854 8855 Reviewed by Darin Fisher. 8856 8857 Remove WebHTTPBody::appendFileRange(..., const WebFileInfo&). 8858 8859 * public/WebHTTPBody.h: 8860 * src/WebHTTPBody.cpp: 8861 (WebKit::WebHTTPBody::elementAt): 8862 8863 2010-09-16 Kenneth Russell <kbr (a] google.com> 8864 8865 Reviewed by James Robinson. 8866 8867 Add entry points to GraphicsContext3D needed for Chromium compositor port 8868 https://bugs.webkit.org/show_bug.cgi?id=45939 8869 8870 Added entry points for two Chromium-specific extensions, and added 8871 a flag to the GraphicsContext3D constructor, currently unsupported 8872 by all ports (including Chromium), indicating whether the context 8873 should render directly to the passed HostWindow or off-screen per 8874 the current semantics. The switch to use GraphicsContext3D in 8875 Chromium's compositor will follow in a subsequent patch. 8876 8877 No new tests; functionality is unchanged. Built and tested 8878 Chromium and WebKit on Mac OS X. 8879 8880 * src/GraphicsContext3D.cpp: 8881 (WebCore::GraphicsContext3D::GraphicsContext3D): 8882 (WebCore::GraphicsContext3D::create): 8883 * src/GraphicsContext3DInternal.h: 8884 8885 2010-09-16 Kenneth Russell <kbr (a] google.com> 8886 8887 Reviewed by James Robinson. 8888 8889 [chromium] Add needed entry points to WebGraphicsContext3D for compositor 8890 https://bugs.webkit.org/show_bug.cgi?id=45921 8891 8892 * public/WebGraphicsContext3D.h: 8893 * src/WebGraphicsContext3DDefaultImpl.cpp: 8894 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 8895 (WebKit::WebGraphicsContext3DDefaultImpl::supportsMapSubCHROMIUM): 8896 (WebKit::WebGraphicsContext3DDefaultImpl::mapBufferSubDataCHROMIUM): 8897 (WebKit::WebGraphicsContext3DDefaultImpl::unmapBufferSubDataCHROMIUM): 8898 (WebKit::WebGraphicsContext3DDefaultImpl::mapTexSubImage2DCHROMIUM): 8899 (WebKit::WebGraphicsContext3DDefaultImpl::unmapTexSubImage2DCHROMIUM): 8900 (WebKit::WebGraphicsContext3DDefaultImpl::supportsCopyTextureToParentTextureCHROMIUM): 8901 (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM): 8902 * src/WebGraphicsContext3DDefaultImpl.h: 8903 8904 2010-09-15 Tony Chang <tony (a] chromium.org> 8905 8906 Reviewed by Kent Tamura. 8907 8908 [Chromium] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations 8909 https://bugs.webkit.org/show_bug.cgi?id=42151 8910 8911 * public/WebDataSource.h: 8912 * src/WebDataSourceImpl.cpp: 8913 (WebKit::WebDataSourceImpl::applicationCacheHost): 8914 (WebKit::WebDataSourceImpl::setDeferMainResourceDataLoad): Added so DRT can set this flag before a load. 8915 * src/WebDataSourceImpl.h: 8916 8917 2010-09-16 Kenneth Russell <kbr (a] google.com> 8918 8919 Reviewed by James Robinson. 8920 8921 Roll forward Chromium DEPS to r59706 8922 https://bugs.webkit.org/show_bug.cgi?id=45916 8923 8924 * DEPS: 8925 8926 2010-09-16 Darin Adler <darin (a] apple.com> 8927 8928 Reviewed by Andreas Kling. 8929 8930 Reduce use of HTMLInputElement::inputType so we can remove it later 8931 https://bugs.webkit.org/show_bug.cgi?id=45903 8932 8933 * src/DOMUtilitiesPrivate.cpp: 8934 (WebKit::elementHasLegalLinkAttribute): Use isImageButton. 8935 * src/WebPasswordFormUtils.cpp: 8936 (WebKit::findPasswordFormFields): Use isPasswordField. 8937 * src/WebSearchableFormData.cpp: 8938 (WebCore::IsInDefaultState): Use isCheckbox and isRadioButton. 8939 (WebCore::HasSuitableTextElement): Use isFileUpload and isPasswordField. 8940 8941 2010-09-16 Kenneth Russell <kbr (a] google.com> 8942 8943 Reviewed by James Robinson. 8944 8945 [chromium] Expose separate GraphicsContext3DInternal.h 8946 https://bugs.webkit.org/show_bug.cgi?id=45914 8947 8948 * WebKit.gyp: 8949 * src/GraphicsContext3D.cpp: 8950 * src/GraphicsContext3DInternal.h: Added. 8951 8952 2010-09-16 Kenneth Russell <kbr (a] google.com> 8953 8954 Reviewed by James Robinson. 8955 8956 [chromium] Add WebGraphicsContext3D accessor to WebView 8957 https://bugs.webkit.org/show_bug.cgi?id=45913 8958 8959 * public/WebView.h: 8960 * src/WebViewImpl.cpp: 8961 (WebKit::WebViewImpl::WebViewImpl): 8962 (WebKit::WebViewImpl::graphicsContext3D): 8963 * src/WebViewImpl.h: 8964 8965 2010-09-16 Ilya Tikhonovsky <loislo (a] chromium.org> 8966 8967 Reviewed by Yury Semikhatsky. 8968 8969 Web Inspector: move resourceTracking flag under control of BackendSettings. 8970 8971 Four Inspector API methods about resourceTracking flag were removed. 8972 Actual state of the flag is transfered as the response of setResourceTracking request. 8973 Initial state of the flag on the frontend side is obtained from settings.backend. 8974 8975 https://bugs.webkit.org/show_bug.cgi?id=45887 8976 8977 * src/WebDevToolsAgentImpl.cpp: 8978 (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): 8979 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 8980 8981 2010-09-16 Yury Semikhatsky <yurys (a] chromium.org> 8982 8983 Reviewed by Pavel Feldman. 8984 8985 Web Inspector: [REGRESSION] Scripts disappear from scripts panel after navigation 8986 https://bugs.webkit.org/show_bug.cgi?id=45890 8987 8988 * src/WebDevToolsAgentImpl.cpp: 8989 (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): make sure debugger and profiler 8990 are initialized when inspected page navigation leads to renderer process change. 8991 8992 2010-09-16 Eric Uhrhane <ericu (a] chromium.org> 8993 8994 Reviewed by Jian Li. 8995 8996 Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM. 8997 https://bugs.webkit.org/show_bug.cgi?id=45798 8998 8999 * src/AsyncFileWriterChromium.h: 9000 * src/AsyncFileWriterChromium.cpp: 9001 9002 2010-09-16 Nat Duca <nduca (a] chromium.org> 9003 9004 Reviewed by Darin Fisher. 9005 9006 [chromium] Make compositor obey finish flag 9007 https://bugs.webkit.org/show_bug.cgi?id=45552 9008 9009 The compositor should obey the finish flag on doComposite. This 9010 flag causes the compositor to finish rendering before returning, 9011 which is needed when resizing the window to avoid flashes of green. 9012 9013 * src/WebViewImpl.cpp: 9014 (WebKit::WebViewImpl::composite): 9015 9016 2010-09-15 Jeremy Orlow <jorlow (a] chromium.org> 9017 9018 Reviewed by Steve Block. 9019 9020 Allow the embedder to specify the base path for IndexedDB. 9021 https://bugs.webkit.org/show_bug.cgi?id=45815 9022 9023 Need to add the extra .open() parameter to make this all work. 9024 9025 * public/WebIDBFactory.h: 9026 (WebKit::WebIDBFactory::open): 9027 * src/IDBFactoryBackendProxy.cpp: 9028 (WebCore::IDBFactoryBackendProxy::open): 9029 * src/IDBFactoryBackendProxy.h: 9030 * src/WebIDBFactoryImpl.cpp: 9031 (WebKit::WebIDBFactoryImpl::open): 9032 * src/WebIDBFactoryImpl.h: 9033 9034 2010-09-16 Jeremy Orlow <jorlow (a] chromium.org> 9035 9036 Speculative build fix. 9037 9038 * src/IDBIndexBackendProxy.cpp: 9039 9040 2010-09-08 Jeremy Orlow <jorlow (a] chromium.org> 9041 9042 Reviewed by Steve Block. 9043 9044 Complete index support for IndexedDB 9045 https://bugs.webkit.org/show_bug.cgi?id=45386 9046 9047 * public/WebIDBCursor.h: 9048 (WebKit::WebIDBCursor::direction): 9049 (WebKit::WebIDBCursor::key): 9050 (WebKit::WebIDBCursor::value): 9051 (WebKit::WebIDBCursor::update): 9052 (WebKit::WebIDBCursor::continueFunction): 9053 (WebKit::WebIDBCursor::remove): 9054 * public/WebIDBIndex.h: 9055 (WebKit::WebIDBIndex::storeName): 9056 (WebKit::WebIDBIndex::openObjectCursor): 9057 (WebKit::WebIDBIndex::openCursor): 9058 (WebKit::WebIDBIndex::getObject): 9059 (WebKit::WebIDBIndex::get): 9060 * public/WebIDBKey.h: 9061 * src/IDBCursorBackendProxy.cpp: 9062 (WebCore::IDBCursorBackendProxy::value): 9063 * src/IDBCursorBackendProxy.h: 9064 * src/IDBIndexBackendProxy.cpp: 9065 (WebCore::IDBIndexBackendProxy::storeName): 9066 (WebCore::IDBIndexBackendProxy::openObjectCursor): 9067 (WebCore::IDBIndexBackendProxy::openCursor): 9068 (WebCore::IDBIndexBackendProxy::getObject): 9069 (WebCore::IDBIndexBackendProxy::get): 9070 * src/IDBIndexBackendProxy.h: 9071 * src/WebIDBCursorImpl.cpp: 9072 (WebKit::WebIDBCursorImpl::value): 9073 * src/WebIDBCursorImpl.h: 9074 * src/WebIDBIndexImpl.cpp: 9075 (WebKit::WebIDBIndexImpl::storeName): 9076 (WebKit::WebIDBIndexImpl::openCursor): 9077 (WebKit::WebIDBIndexImpl::openObjectCursor): 9078 (WebKit::WebIDBIndexImpl::getObject): 9079 (WebKit::WebIDBIndexImpl::get): 9080 * src/WebIDBIndexImpl.h: 9081 9082 2010-09-15 Dumitru Daniliuc <dumi (a] chromium.org> 9083 9084 Reviewed by Darin Fisher. 9085 9086 Overload WebHTTPBody::appendFileRange() to take a double modification time argument. 9087 https://bugs.webkit.org/show_bug.cgi?id=45829 9088 9089 The plan is to change all callers of 9090 WebHTTPBody::appendFileRange(..., const WebFileInfo&) to use the 9091 new method, and then remove it. 9092 9093 * public/WebHTTPBody.h: 9094 * src/WebHTTPBody.cpp: 9095 (WebKit::WebHTTPBody::elementAt): 9096 (WebKit::WebHTTPBody::appendFileRange): 9097 9098 2010-09-14 Pavel Feldman <pfeldman (a] chromium.org> 9099 9100 Reviewed by Yury Semikhatsky. 9101 9102 Web Inspector: Provide network-based load timing. 9103 Before this change, inspector used timers taken from 9104 within WebCore notifications (that are by definition 9105 synchronous and serialized). As a result, timing was 9106 affected by the routines running on the main thread 9107 (JavaScript and such). 9108 https://bugs.webkit.org/show_bug.cgi?id=45664 9109 9110 * public/WebURLLoadTiming.h: 9111 * public/WebURLLoaderClient.h: 9112 (WebKit::WebURLLoaderClient::didFinishLoading): 9113 * src/ResourceHandle.cpp: 9114 (WebCore::ResourceHandleInternal::didFinishLoading): 9115 * src/WebDevToolsAgentImpl.cpp: 9116 (WebKit::WebDevToolsAgentImpl::didFinishLoading): 9117 * src/WebURLLoadTiming.cpp: 9118 (WebKit::WebURLLoadTiming::receiveHeadersStart): 9119 (WebKit::WebURLLoadTiming::setReceiveHeadersStart): 9120 9121 2010-09-15 Sheriff Bot <webkit.review.bot (a] gmail.com> 9122 9123 Unreviewed, rolling out r67551. 9124 http://trac.webkit.org/changeset/67551 9125 https://bugs.webkit.org/show_bug.cgi?id=45816 9126 9127 "Plugin tests fail" (Requested by yurys on #webkit). 9128 9129 * public/WebURLLoaderClient.h: 9130 (WebKit::WebURLLoaderClient::didFinishLoading): 9131 * src/ResourceHandle.cpp: 9132 (WebCore::ResourceHandleInternal::didFinishLoading): 9133 * src/WebDevToolsAgentImpl.cpp: 9134 (WebKit::WebDevToolsAgentImpl::didFinishLoading): 9135 9136 2010-09-14 Pavel Feldman <pfeldman (a] chromium.org> 9137 9138 Reviewed by Yury Semikhatsky. 9139 9140 Web Inspector: Provide network-based load timing. 9141 Before this change, inspector used timers taken from 9142 within WebCore notifications (that are by definition 9143 synchronous and serialized). As a result, timing was 9144 affected by the routines running on the main thread 9145 (JavaScript and such). 9146 https://bugs.webkit.org/show_bug.cgi?id=45664 9147 9148 * public/WebURLLoadTiming.h: 9149 * public/WebURLLoaderClient.h: 9150 (WebKit::WebURLLoaderClient::didFinishLoading): 9151 * src/ResourceHandle.cpp: 9152 (WebCore::ResourceHandleInternal::didFinishLoading): 9153 * src/WebDevToolsAgentImpl.cpp: 9154 (WebKit::WebDevToolsAgentImpl::didFinishLoading): 9155 * src/WebURLLoadTiming.cpp: 9156 (WebKit::WebURLLoadTiming::receiveHeadersStart): 9157 (WebKit::WebURLLoadTiming::setReceiveHeadersStart): 9158 9159 2010-09-14 Sheriff Bot <webkit.review.bot (a] gmail.com> 9160 9161 Unreviewed, rolling out r67503. 9162 http://trac.webkit.org/changeset/67503 9163 https://bugs.webkit.org/show_bug.cgi?id=45802 9164 9165 This patch broke GTK builds (Requested by jianli_ on #webkit). 9166 9167 * src/ResourceHandle.cpp: 9168 9169 2010-09-14 Yury Semikhatsky <yurys (a] chromium.org> 9170 9171 Reviewed by Pavel Feldman. 9172 9173 Web Inspector: Links from "Profiles" don't lead to "Scripts" 9174 https://bugs.webkit.org/show_bug.cgi?id=45756 9175 9176 * src/js/DevTools.js: remove obsolete code 9177 9178 2010-09-14 Tony Chang <tony (a] chromium.org> 9179 9180 Reviewed by Kent Tamura. 9181 9182 [chromium] fix http/tests/security/local-user-CSS-from-remote.html 9183 https://bugs.webkit.org/show_bug.cgi?id=45788 9184 9185 * DEPS: Include webkit_support::LocalFileToDataURL 9186 9187 2010-09-14 Tony Chang <tony (a] chromium.org> 9188 9189 Reviewed by Ojan Vafai. 9190 9191 [chromium] Remove WebKit::areLayoutTestImagesOpaque since it's no longer needed 9192 https://bugs.webkit.org/show_bug.cgi?id=45768 9193 9194 * public/WebKit.h: 9195 * src/WebKit.cpp: 9196 9197 2010-09-14 Mihai Parparita <mihaip (a] chromium.org> 9198 9199 Reviewed by Tony Chang. 9200 9201 blob: URL scheme does not work with Chromium DRT 9202 https://bugs.webkit.org/show_bug.cgi?id=45772 9203 9204 Roll Chromium forward to r59406, which registers the blob 9205 URL scheme for the Chromium DRT too. 9206 9207 * DEPS: 9208 9209 2010-09-14 Jian Li <jianli (a] chromium.org> 9210 9211 Reviewed by David Levin. 9212 9213 fast/files/apply-blob-url-to-img.html timeout on Leopard 9214 https://bugs.webkit.org/show_bug.cgi?id=45576 9215 9216 * src/ResourceHandle.cpp: Remove the no longer applicable static comment. 9217 9218 2010-09-14 Chris Guillory <chris.guillory (a] google.com> 9219 9220 Reviewed by Chris Fleizach. 9221 9222 Send all accessibility notifications to Chromium. 9223 https://bugs.webkit.org/show_bug.cgi?id=45156 9224 9225 Use postAccessibilityNotification to pass accessibility notifications 9226 to chromium. 9227 9228 * WebKit.gyp: 9229 * public/WebAccessibilityNotification.h: Added. 9230 * public/WebViewClient.h: 9231 (WebKit::WebViewClient::postAccessibilityNotification): 9232 * src/AssertMatchingEnums.h: Added. 9233 * src/ChromeClientImpl.cpp: 9234 (WebKit::toWebAccessibilityNotification): 9235 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren): 9236 (WebKit::ChromeClientImpl::postAccessibilityNotification): 9237 * src/ChromeClientImpl.h: 9238 9239 2010-09-14 Tony Chang <tony (a] chromium.org> 9240 9241 Unreviewed, fix chromium win compile. 9242 9243 * public/WebView.h: 9244 9245 2010-09-14 Tony Chang <tony (a] chromium.org> 9246 9247 Reviewed by Dimitri Glazkov. 9248 9249 [chromium] implement layoutTestController.setDomainRelaxationForbiddenForURLScheme 9250 https://bugs.webkit.org/show_bug.cgi?id=45762 9251 9252 * public/WebView.h: add WebView::setDomainRelaxationForbidden 9253 * src/WebViewImpl.cpp: 9254 (WebKit::WebViewImpl::setDomainRelaxationForbidden): 9255 * src/WebViewImpl.h: 9256 9257 2010-09-14 Yury Semikhatsky <yurys (a] chromium.org> 9258 9259 Reviewed by Andreas Kling. 9260 9261 Move DebuggerScript.js from WebKit/chromium/src/js to WebCore/bindings/v8 9262 https://bugs.webkit.org/show_bug.cgi?id=45739 9263 9264 * WebKit.grd: 9265 * WebKit.gypi: 9266 * src/js/DebuggerScript.js: Removed. 9267 * src/js/DevToolsHostStub.js: Removed. 9268 9269 2010-09-14 Hans Wennborg <hans (a] chromium.org> 9270 9271 Reviewed by Jeremy Orlow. 9272 9273 Make WebDeviceOrientationClientMock constructor private. 9274 https://bugs.webkit.org/show_bug.cgi?id=45743 9275 9276 Clients should use the create member function instead. DumpRenderTree 9277 and the Chromium test_shell have previously been updated to call create. 9278 9279 * public/WebDeviceOrientationClientMock.h: 9280 (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock): 9281 9282 2010-09-13 Eric Uhrhane <ericu (a] chromium.org> 9283 9284 Reviewed by Darin Fisher. 9285 9286 Add Chromium API for FileWriter 9287 https://bugs.webkit.org/show_bug.cgi?id=44360 9288 9289 Build file changes. 9290 * WebKit.gyp: 9291 9292 Added a way to get a WebFileWriter. 9293 * public/WebFileSystem.h: 9294 (WebKit::WebFileSystem::createFileWriter): 9295 9296 WebFileWriter writes and truncates files. 9297 * public/WebFileWriter.h: Added. 9298 9299 WebFileWriterClient reports success/failure and progress events. 9300 * public/WebFileWriterClient.h: Added. 9301 9302 AsyncFileWriterChromium is a connector that links FileWriter and WebFileWriter, FileWriterClient and WebFileWriterClient. 9303 * src/AsyncFileWriterChromium.cpp: Added. 9304 * src/AsyncFileWriterChromium.h: Added. 9305 9306 2010-09-13 W. James MacLean <wjmaclean (a] google.com> 9307 9308 Reviewed by Darin Fisher. 9309 9310 [chromium] Thumbnails not generated for GPU Rendered Pages 9311 https://bugs.webkit.org/show_bug.cgi?id=44127 9312 9313 Modified WebViewImpl::paint() to detect non-null canvas pointers when 9314 accelerated compositing is active, and instead fills the pixel buffer 9315 from the GPU framebuffer. Includes re-scaling support when provided 9316 canvas does not match size of current render layer. Limits pixel 9317 readback to rect passed to paint(), clipped by size of rootLayerTexture. 9318 9319 * src/WebViewImpl.cpp: 9320 (WebKit::WebViewImpl::doPixelReadbackToCanvas): 9321 (WebKit::WebViewImpl::paint): 9322 * src/WebViewImpl.h: 9323 9324 2010-09-13 James Robinson <jamesr (a] chromium.org> 9325 9326 Reviewed by Dimitri Glazkov. 9327 9328 [chromium] Return NULL from getSharedGraphicsContext3D if we couldn't initialize 9329 https://bugs.webkit.org/show_bug.cgi?id=45731 9330 9331 If we can't create a GraphicsContext3D, return NULL from getSharedGraphicsContext3D rather 9332 than an object with NULL internal pointers. Callers know how to handle a null return value 9333 but not one that has inconsistent internal state. 9334 9335 * src/WebViewImpl.cpp: 9336 (WebKit::WebViewImpl::getSharedGraphicsContext3D): 9337 9338 2010-09-13 Chris Guillory <chris.guillory (a] google.com> 9339 9340 Reviewed by Chris Fleizach. 9341 9342 WebAccessibilityCacheImpl needs to handle invalid accessibility object ids. 9343 https://bugs.webkit.org/show_bug.cgi?id=45572 9344 9345 * public/WebAccessibilityObject.h: 9346 * src/WebAccessibilityCacheImpl.cpp: 9347 (WebKit::WebAccessibilityCacheImpl::addOrGetId): 9348 * src/WebAccessibilityObject.cpp: 9349 (WebKit::WebAccessibilityObject::isAxObjectIdValid): 9350 9351 2010-09-13 Pavel Podivilov <podivilov (a] chromium.org> 9352 9353 Reviewed by Dimitri Glazkov. 9354 9355 [Chromium] fix broken dependency in ImageDiff 9356 https://bugs.webkit.org/show_bug.cgi?id=45684 9357 9358 * WebKit.gyp: 9359 9360 2010-09-13 Enrica Casucci <enrica (a] apple.com> 9361 9362 Reviewed by Sam Weinig. 9363 9364 Paste should be implemented in WebCore like Copy and Cut for Mac also. 9365 https://bugs.webkit.org/show_bug.cgi?id=45494 9366 <rdar://problem/7660537> 9367 9368 On the Mac platform, the implementation of the paste operation is all done 9369 at the WebKit level. In order to support it on WebKit2 it is necessary to 9370 refactor the code and move this functionality at the level of WebCore like 9371 we already have on Windows. 9372 The original code relies on some in AppKit functions that call back into 9373 WebKit causing problems in WebKit2. All this functionality has been moved 9374 at the level of the editor client where it can be dealt with appropriately. 9375 9376 * src/FrameLoaderClientImpl.cpp: 9377 (WebKit::FrameLoaderClientImpl::canShowMIMETypeAsHTML): Added stub. 9378 * src/FrameLoaderClientImpl.h: 9379 9380 2010-09-13 Jonathan Dixon <joth (a] chromium.org> 9381 9382 Reviewed by Steve Block. 9383 9384 [chromium] Port test shell geolocation fixes to DRT 9385 https://bugs.webkit.org/show_bug.cgi?id=45313 9386 9387 Ports over fixes from test shell: 9388 - http://codereview.chromium.org/3294007 9389 - http://codereview.chromium.org/333800 9390 9391 Resets state between service instances, which fixes delayed-permission-allowed-for-multiple-requests.html 9392 9393 Also re-apply rolled out patch http://trac.webkit.org/changeset/66886 :- 9394 Access to out-of-scope WebGeolocationServiceBridgeImpl 9395 https://bugs.webkit.org/show_bug.cgi?id=45112 9396 9397 Keep the WebGeolocationService pointer for lifetime of the bridge, to 9398 ensure it can be detached reliably 9399 9400 Includes follow-up review comment to rename onWebGeolocationServiceDestroyed to didDestroyGeolocationService 9401 9402 * public/WebGeolocationService.h: 9403 (WebKit::WebGeolocationService::~WebGeolocationService): 9404 * public/WebGeolocationServiceBridge.h: 9405 (WebKit::WebGeolocationServiceBridge::onWebGeolocationServiceDestroyed): 9406 * public/WebGeolocationServiceMock.h: 9407 * src/WebGeolocationServiceBridgeImpl.cpp: 9408 (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl): 9409 (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl): 9410 (WebKit::WebGeolocationServiceBridgeImpl::startUpdating): 9411 (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating): 9412 (WebKit::WebGeolocationServiceBridgeImpl::suspend): 9413 (WebKit::WebGeolocationServiceBridgeImpl::resume): 9414 (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded): 9415 (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed): 9416 (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition): 9417 (WebKit::WebGeolocationServiceBridgeImpl::setLastError): 9418 (WebKit::WebGeolocationServiceBridgeImpl::didDestroyGeolocationService): 9419 (WebKit::WebGeolocationServiceBridgeImpl::isAttached): 9420 * src/WebGeolocationServiceMock.cpp: 9421 (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission): 9422 (WebKit::WebGeolocationServiceMockImpl::WebGeolocationServiceMockImpl): 9423 (WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl): 9424 (WebKit::WebGeolocationServiceMockImpl::setMockGeolocationPermission): 9425 (WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame): 9426 (WebKit::WebGeolocationServiceMockImpl::notifyPendingPermissions): 9427 9428 2010-09-13 Yury Semikhatsky <yurys (a] chromium.org> 9429 9430 Reviewed by Pavel Feldman. 9431 9432 Web Inspector: upstream testExpandScope debugger test 9433 https://bugs.webkit.org/show_bug.cgi?id=45260 9434 9435 * src/js/DebuggerScript.js: copy scope variables into a new object, but for global scope object, 9436 with statement parameter and catch block exception variable pass the object itself to the injected 9437 script. 9438 * src/js/Tests.js: moved testExpandScope to LayoutTests 9439 9440 2010-09-13 Hans Wennborg <hans (a] chromium.org> 9441 9442 Reviewed by Jeremy Orlow. 9443 9444 Add WebDeviceOrientationClientMock::create() and use it from DRT. 9445 https://bugs.webkit.org/show_bug.cgi?id=45650 9446 9447 Since the virtual member functions of WebDeviceOrientationClientMock 9448 are not exported from the DLL, construction of the object must be done inside 9449 the DLL, or else the linker will complain (because the vtable cannot 9450 be set up). Clients should use the create() member function, and the constructor 9451 will be made private in a subsequent patch. 9452 9453 * public/WebDeviceOrientationClientMock.h: 9454 (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock): 9455 * src/WebDeviceOrientationClientMock.cpp: 9456 (WebKit::WebDeviceOrientationClientMock::create): 9457 9458 2010-09-12 Kent Tamura <tkent (a] chromium.org> 9459 9460 Reviewed by Tony Chang. 9461 9462 [DRT/Chromium] Remove dependency to base/string16.h and gfx/codec/png_codec.h 9463 https://bugs.webkit.org/show_bug.cgi?id=45517 9464 9465 * DEPS: Roll Chromium revision to r59033 to have webkit_support_gfx.h. 9466 * WebKit.gyp: 9467 9468 2010-09-10 MORITA Hajime <morrita (a] google.com> 9469 9470 Reviewed by Tony Chang. 9471 9472 [Chromium] Implement textInputController.hasSpellingMarker() for Chromium 9473 https://bugs.webkit.org/show_bug.cgi?id=45441 9474 9475 Exported Frame::selectionStartHasSpellingMarkerFor() for DRT use. 9476 9477 * public/WebFrame.h: 9478 * src/WebFrameImpl.cpp: 9479 (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor): 9480 * src/WebFrameImpl.h: 9481 9482 2010-09-10 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 9483 9484 Reviewed by Darin Adler. 9485 9486 Add NetworkingContext to avoid layer violations 9487 https://bugs.webkit.org/show_bug.cgi?id=42292 9488 9489 * src/ResourceHandle.cpp: 9490 (WebCore::ResourceHandle::create): 9491 (WebCore::ResourceHandle::start): 9492 (WebCore::ResourceHandle::loadResourceSynchronously): 9493 9494 2010-09-10 Sam Weinig <sam (a] webkit.org> 9495 9496 Fix chromium build. 9497 9498 * src/WebViewImpl.cpp: 9499 (WebKit::WebViewImpl::setZoomLevel): 9500 9501 2010-09-10 Ryosuke Niwa <rniwa (a] webkit.org> 9502 9503 Unreviewed, speculative chromium build fix. 9504 9505 * src/WebViewImpl.cpp: 9506 (WebKit::WebViewImpl::setZoomLevel): 9507 9508 2010-09-10 Sam Weinig <sam (a] webkit.org> 9509 9510 Reviewed by Darin Adler. 9511 9512 Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom. 9513 Precursor to <rdar://problem/7660657> 9514 https://bugs.webkit.org/show_bug.cgi?id=45522 9515 9516 * src/FrameLoaderClientImpl.cpp: 9517 (WebKit::FrameLoaderClientImpl::createPlugin): 9518 * src/WebViewImpl.cpp: 9519 (WebKit::WebViewImpl::WebViewImpl): 9520 (WebKit::WebViewImpl::setZoomLevel): 9521 * src/WebViewImpl.h: 9522 (WebKit::WebViewImpl::zoomTextOnly): 9523 Move tracking of text only zoom here from WebCore. 9524 9525 2010-09-10 Adam Barth <abarth (a] webkit.org> 9526 9527 Reviewed by Darin Fisher. 9528 9529 Move code from WebKit-layer to DocumentLoader 9530 https://bugs.webkit.org/show_bug.cgi?id=45569 9531 9532 * src/FrameLoaderClientImpl.cpp: 9533 (WebKit::FrameLoaderClientImpl::committedLoad): 9534 * src/WebFrameImpl.cpp: 9535 (WebKit::WebFrameImpl::commitDocumentData): 9536 9537 2010-09-10 Tony Chang <tony (a] chromium.org> 9538 9539 Unreviewed, fix chromium compile after r67238. 9540 9541 shouldChangeSelection was removed from Frame. 9542 9543 * src/WebFrameImpl.cpp: 9544 (WebKit::WebFrameImpl::selectWordAroundPosition): 9545 9546 2010-09-10 Nat Duca <nduca (a] chromium.org> 9547 9548 Reviewed by Darin Fisher. 9549 9550 [chromium] Accelerated Compositing: screen garbage when scrolling 9551 https://bugs.webkit.org/show_bug.cgi?id=45092 9552 9553 Introduce a new API on WebWidget for painting with accelerated 9554 compositing that allows the compositor to properly distingiush 9555 scrolling, invalidation and repainting from one another. The key 9556 change is that in accelerated rendering case, invalidates and 9557 scrolling pass directly to the compositor, rather than passing up 9558 to the client as was the case in the software path. For 9559 accelerated rendering, the previous paint() method is replaced by 9560 composite(). 9561 9562 * public/WebWidget.h: 9563 * public/WebWidgetClient.h: 9564 (WebKit::WebWidgetClient::scheduleComposite): 9565 * src/ChromeClientImpl.cpp: 9566 (WebKit::ChromeClientImpl::invalidateContentsAndWindow): 9567 (WebKit::ChromeClientImpl::scroll): 9568 * src/WebPopupMenuImpl.cpp: 9569 (WebKit::WebPopupMenuImpl::themeChanged): 9570 (WebKit::WebPopupMenuImpl::composite): 9571 * src/WebPopupMenuImpl.h: 9572 * src/WebViewImpl.cpp: 9573 (WebKit::WebViewImpl::resize): 9574 (WebKit::WebViewImpl::paint): 9575 (WebKit::WebViewImpl::themeChanged): 9576 (WebKit::WebViewImpl::composite): 9577 (WebKit::WebViewImpl::setRootGraphicsLayer): 9578 (WebKit::WebViewImpl::setRootLayerNeedsDisplay): 9579 (WebKit::WebViewImpl::scrollRootLayerRect): 9580 (WebKit::WebViewImpl::invalidateRootLayerRect): 9581 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 9582 (WebKit::WebViewImpl::updateRootLayerContents): 9583 (WebKit::WebViewImpl::doComposite): 9584 * src/WebViewImpl.h: 9585 * tests/PopupMenuTest.cpp: 9586 (WebKit::TestWebWidget::themeChanged): 9587 (WebKit::TestWebWidget::composite): 9588 9589 2010-09-10 David Holloway <dhollowa (a] chromium.org> 9590 9591 Reviewed by Adam Barth. 9592 9593 Change WebKit::WebFormElement::wasUserSubmitted to use WebCore::HTMLFormElement::submittedByUserGesture 9594 instead of WebCore::HTMLFormElement::submissionTrigger. 9595 Chromium AutoFill feature semantics changed with respect to what we mean by "user submitted" form. A 9596 more accurate measure of the user manually submitting a form is via user gesture. 9597 https://bugs.webkit.org/show_bug.cgi?id=45128 9598 9599 * src/WebFormElement.cpp: 9600 (WebKit::WebFormElement::wasUserSubmitted): 9601 9602 2010-09-09 Darin Adler <darin (a] apple.com> 9603 9604 Reviewed by Adam Barth. 9605 9606 Move functions from Frame to SelectionController as planned 9607 https://bugs.webkit.org/show_bug.cgi?id=45508 9608 9609 * src/WebFrameImpl.cpp: 9610 (WebKit::WebFrameImpl::selectionBoundsRect): 9611 Call functions on selection(). 9612 9613 2010-09-10 Adam Barth <abarth (a] webkit.org> 9614 9615 Chromium build fix (one hopes!) 9616 9617 * src/WebFrameImpl.cpp: 9618 (WebKit::WebFrameImpl::commitDocumentData): 9619 9620 2010-09-10 Adam Barth <abarth (a] webkit.org> 9621 9622 Reviewed by Eric Seidel. 9623 9624 Main resource bytes shouldn't bounce through FrameLoader 9625 https://bugs.webkit.org/show_bug.cgi?id=45496 9626 9627 Now return the bytes to the DocumentLoader. 9628 9629 Also, removed comment about wrong code in the Mac port. 9630 9631 * src/WebFrameImpl.cpp: 9632 (WebKit::WebFrameImpl::commitDocumentData): 9633 9634 2010-09-08 Darin Adler <darin (a] apple.com> 9635 9636 Reviewed by Adam Barth. 9637 9638 Move functions from Frame to Editor as planned 9639 https://bugs.webkit.org/show_bug.cgi?id=45218 9640 9641 * src/ContextMenuClientImpl.cpp: 9642 (WebKit::selectMisspelledWord): 9643 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 9644 * src/WebFrameImpl.cpp: 9645 (WebKit::WebFrameImpl::find): 9646 (WebKit::WebFrameImpl::stopFinding): 9647 (WebKit::WebFrameImpl::scopeStringMatches): 9648 * src/WebViewImpl.cpp: 9649 (WebKit::WebViewImpl::caretOrSelectionBounds): 9650 Changed call sites to use editor(). 9651 9652 2010-09-09 Kenneth Russell <kbr (a] google.com> 9653 9654 Reviewed by James Robinson. 9655 9656 Memory leak in red/black tree 9657 https://bugs.webkit.org/show_bug.cgi?id=45472 9658 9659 Fixed memory leak in red/black tree where it was using operator 9660 new directly to allocate its internal nodes rather than the arena 9661 with which it was configured. Added allocateObject variant to 9662 arena supporting single-argument constructors. Added test to 9663 red/black tree unit tests to cover this functionality, and 9664 refactored TrackedAllocator into helper file to share between 9665 arena and red/black tree tests. 9666 9667 * WebKit.gyp: 9668 * tests/ArenaTestHelpers.h: Added. 9669 (WebCore::ArenaTestHelpers::TrackedAllocator::create): 9670 (WebCore::ArenaTestHelpers::TrackedAllocator::allocate): 9671 (WebCore::ArenaTestHelpers::TrackedAllocator::free): 9672 (WebCore::ArenaTestHelpers::TrackedAllocator::isEmpty): 9673 (WebCore::ArenaTestHelpers::TrackedAllocator::numRegions): 9674 (WebCore::ArenaTestHelpers::TrackedAllocator::TrackedAllocator): 9675 * tests/PODArenaTest.cpp: 9676 * tests/PODRedBlackTreeTest.cpp: 9677 (WebCore::TEST): 9678 9679 2010-09-09 Tony Chang <tony (a] chromium.org> 9680 9681 Reviewed by Dimitri Glazkov. 9682 9683 [chromium] make linux checksums computed from pngs to match windows 9684 https://bugs.webkit.org/show_bug.cgi?id=45465 9685 9686 * src/WebKit.cpp: 9687 (WebKit::areLayoutTestImagesOpaque): Make linux match windows. 9688 9689 2010-09-10 Jay Civelli <jcivelli (a] chromium.org> 9690 9691 Reviewed by Darin Fisher. 9692 9693 Add the destructor to WebDOMEvent to prevent a leak. 9694 https://bugs.webkit.org/show_bug.cgi?id=45287 9695 9696 * public/WebDOMEvent.h: 9697 (WebKit::WebDOMEvent::~WebDOMEvent): 9698 9699 2010-09-09 Chris Guillory <chris.guillory (a] google.com> 9700 9701 Reviewed by Chris Fleizach. 9702 9703 Add methods used to determine accessibility state. 9704 https://bugs.webkit.org/show_bug.cgi?id=45434 9705 9706 * public/WebAccessibilityObject.h: 9707 * src/WebAccessibilityObject.cpp: 9708 (WebKit::WebAccessibilityObject::canSetSelectedAttribute): 9709 (WebKit::WebAccessibilityObject::isCollapsed): 9710 (WebKit::WebAccessibilityObject::isLinked): 9711 (WebKit::WebAccessibilityObject::isReadOnly): 9712 (WebKit::WebAccessibilityObject::isVisible): 9713 9714 2010-09-08 Yury Semikhatsky <yurys (a] chromium.org> 9715 9716 Reviewed by Joseph Pecoraro. 9717 9718 Web Inspector: add a sanity test for DOM storage view in the storage panel 9719 https://bugs.webkit.org/show_bug.cgi?id=45294 9720 9721 * src/js/Tests.js: removed testStoragePanel which was superseded by inspector layout tests. 9722 9723 2010-09-08 Yury Semikhatsky <yurys (a] chromium.org> 9724 9725 Reviewed by Joseph Pecoraro. 9726 9727 Web Inspector: test that debugger won't pause on syntax errors 9728 https://bugs.webkit.org/show_bug.cgi?id=45388 9729 9730 * src/js/Tests.js: removed testAutoContinueOnSyntaxError which is now covered by 9731 inspector/debugger-autocontinue-on-syntax-error.html layout test 9732 9733 2010-09-08 Peter Kasting <pkasting (a] google.com> 9734 9735 Reviewed by David Hyatt. 9736 9737 Add smooth scrolling framework, and a Windows implementation. 9738 https://bugs.webkit.org/show_bug.cgi?id=32356 9739 9740 * src/WebScrollbarImpl.cpp: Plumb new ScrollbarClient functions. Allow wheel scrolls to be animated. 9741 (WebKit::WebScrollbarImpl::setLocation): 9742 (WebKit::WebScrollbarImpl::setValue): 9743 (WebKit::WebScrollbarImpl::scroll): 9744 (WebKit::WebScrollbarImpl::onMouseWheel): 9745 (WebKit::WebScrollbarImpl::onKeyDown): 9746 (WebKit::WebScrollbarImpl::setScrollOffsetFromAnimation): 9747 * src/WebScrollbarImpl.h: Plumb new ScrollbarClient functions. 9748 * src/win/WebInputEventFactory.cpp: Update comments now that we have smooth scrolling. 9749 (WebKit::WebInputEventFactory::mouseWheelEvent): 9750 9751 2010-09-08 Yury Semikhatsky <yurys (a] chromium.org> 9752 9753 Reviewed by Joseph Pecoraro. 9754 9755 Web Inspector: remove some obsolete interactive tests 9756 https://bugs.webkit.org/show_bug.cgi?id=45371 9757 9758 * src/js/Tests.js: 9759 9760 2010-09-08 Hans Wennborg <hans (a] chromium.org> 9761 9762 Reviewed by Jeremy Orlow. 9763 9764 Plug leak in WebDeviceOrientationClientMock 9765 https://bugs.webkit.org/show_bug.cgi?id=45305 9766 9767 WebDeviceOrientationClientMock is responsible for destroying the 9768 WebDeviceOrientationController object pointed to by the argument 9769 passed to the setController() member function. 9770 9771 Also use the new WebPrivateOnwPtr for m_clientMock. 9772 9773 * public/WebDeviceOrientationClientMock.h: 9774 * src/WebDeviceOrientationClientMock.cpp: 9775 (WebKit::WebDeviceOrientationClientMock::setController): 9776 (WebKit::WebDeviceOrientationClientMock::initialize): 9777 (WebKit::WebDeviceOrientationClientMock::reset): 9778 9779 2010-09-07 Tony Chang <tony (a] chromium.org> 9780 9781 Reviewed by Darin Fisher. 9782 9783 [chromium] Make a public flag for how DRT generates bitmaps on Linux 9784 https://bugs.webkit.org/show_bug.cgi?id=45133 9785 9786 This is so it's possible for me to fix 9787 http://code.google.com/p/chromium/issues/detail?id=21386 . 9788 9789 * public/WebKit.h: Add areLayoutTestImagesOpaque() 9790 * src/WebKit.cpp: 9791 (WebKit::areLayoutTestImagesOpaque): 9792 9793 2010-09-07 Dimitri Glazkov <dglazkov (a] chromium.org> 9794 9795 Unreviewed, rolling out r66886. 9796 http://trac.webkit.org/changeset/66886 9797 https://bugs.webkit.org/show_bug.cgi?id=45112 9798 9799 Made 9800 9801 * public/WebGeolocationService.h: 9802 * src/WebGeolocationServiceBridgeImpl.cpp: 9803 (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl): 9804 (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl): 9805 (WebKit::WebGeolocationServiceBridgeImpl::startUpdating): 9806 (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating): 9807 (WebKit::WebGeolocationServiceBridgeImpl::suspend): 9808 (WebKit::WebGeolocationServiceBridgeImpl::resume): 9809 (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded): 9810 (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed): 9811 (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition): 9812 (WebKit::WebGeolocationServiceBridgeImpl::setLastError): 9813 (WebKit::WebGeolocationServiceBridgeImpl::getWebViewClient): 9814 (WebKit::WebGeolocationServiceBridgeImpl::onWebGeolocationServiceDestroyed): 9815 * src/WebGeolocationServiceMock.cpp: 9816 9817 2010-09-07 Jonathan Dixon <joth (a] chromium.org> 9818 9819 Reviewed by Jeremy Orlow. 9820 9821 Access to out-of-scope WebGeolocationServiceBridgeImpl 9822 https://bugs.webkit.org/show_bug.cgi?id=45112 9823 9824 Keep the WebGeolocationService pointer for lifetime of the bridge, to 9825 ensure it can be detached reliably 9826 9827 * public/WebGeolocationServiceBridge.h: 9828 (WebKit::WebGeolocationServiceBridge::~WebGeolocationServiceBridge): 9829 * src/WebGeolocationServiceBridgeImpl.cpp: 9830 (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl): 9831 (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl): 9832 (WebKit::WebGeolocationServiceBridgeImpl::startUpdating): 9833 (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating): 9834 (WebKit::WebGeolocationServiceBridgeImpl::suspend): 9835 (WebKit::WebGeolocationServiceBridgeImpl::resume): 9836 (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded): 9837 9838 2010-09-07 Pavel Podivilov <podivilov (a] chromium.org> 9839 9840 Reviewed by Yury Semikhatsky. 9841 9842 Web Inspector: upstream two debugger tests 9843 https://bugs.webkit.org/show_bug.cgi?id=45262 9844 9845 * src/js/Tests.js: 9846 9847 2010-09-06 Jonathan Dixon <joth (a] chromium.org> 9848 9849 Reviewed by Jeremy Orlow. 9850 9851 Add new interface and empty impl. as precursor to bug 45112 9852 https://bugs.webkit.org/show_bug.cgi?id=45257 9853 9854 * public/WebGeolocationServiceBridge.h: 9855 (WebKit::WebGeolocationServiceBridge::~WebGeolocationServiceBridge): 9856 * src/WebGeolocationServiceBridgeImpl.cpp: 9857 (WebKit::WebGeolocationServiceBridgeImpl::onWebGeolocationServiceDestroyed): 9858 9859 2010-09-06 Pavel Podivilov <podivilov (a] chromium.org> 9860 9861 Reviewed by Yury Semikhatsky. 9862 9863 Web Inspector: fix chromium devtools tests 9864 https://bugs.webkit.org/show_bug.cgi?id=45258 9865 9866 * src/js/Tests.js: 9867 (.TestSuite.prototype._waitForScriptPause): 9868 9869 2010-08-26 Jeremy Orlow <jorlow (a] chromium.org> 9870 9871 Reviewed by Steve Block. 9872 9873 Add index insertion support to IndexedDB. 9874 https://bugs.webkit.org/show_bug.cgi?id=44695 9875 9876 Add asserts on the [] operator. 9877 9878 * public/WebVector.h: 9879 (WebKit::WebVector::operator[]): 9880 9881 2010-09-06 Anton Muhin <antonm (a] chromium.org> 9882 9883 Reviewed by Adam Barth. 9884 9885 [v8] bypass caches when query memory usage from post GC and in crash handler. 9886 https://bugs.webkit.org/show_bug.cgi?id=45036 9887 9888 Add Chromium-specific API to query actual memory usage which bypasses any caches. 9889 9890 * public/WebKitClient.h: 9891 (WebKit::WebKitClient::actualMemoryUsageMB): 9892 * src/ChromiumBridge.cpp: 9893 (WebCore::ChromiumBridge::actualMemoryUsageMB): 9894 9895 2010-09-05 Peter Kasting <pkasting (a] google.com> 9896 9897 Reviewed by Adam Barth. 9898 9899 Make Chromium/Mac generate continuous mousewheel events with the same wheelDelta values as Safari/Mac. 9900 https://bugs.webkit.org/show_bug.cgi?id=45155 9901 9902 * src/mac/WebInputEventFactory.mm: 9903 (WebKit::WebInputEventFactory::mouseWheelEvent): 9904 9905 2010-09-05 Yury Semikhatsky <yurys (a] chromium.org> 9906 9907 Reviewed by Joseph Pecoraro. 9908 9909 Web Inspector: remove WebDevToolsAgentClient::forceRepaint which is not used 9910 https://bugs.webkit.org/show_bug.cgi?id=45179 9911 9912 * public/WebDevToolsAgentClient.h: 9913 * src/DebuggerAgentImpl.cpp: 9914 (WebKit::DebuggerAgentImpl::debuggerOutput): 9915 * src/WebDevToolsAgentImpl.cpp: 9916 * src/WebDevToolsAgentImpl.h: 9917 9918 2010-09-05 Kenneth Russell <kbr (a] google.com> 9919 9920 Reviewed by Darin Fisher. 9921 9922 Add unit tests for interval tree 9923 https://bugs.webkit.org/show_bug.cgi?id=45161 9924 9925 * WebKit.gyp: 9926 * tests/PODIntervalTreeTest.cpp: Added. 9927 (WebCore::valueToString): 9928 (WebCore::TEST): 9929 (WebCore::UserData1::valueToString): 9930 (WebCore::EndpointType1::valueToString): 9931 9932 2010-09-05 Kenneth Russell <kbr (a] google.com> 9933 9934 Reviewed by Darin Fisher. 9935 9936 Add unit tests for red-black tree and (POD) arena 9937 https://bugs.webkit.org/show_bug.cgi?id=45060 9938 9939 * WebKit.gyp: 9940 * tests/PODArenaTest.cpp: Added. 9941 (WebCore::TestClass1::TestClass2::TestClass2): 9942 (WebCore::TEST_F): 9943 * tests/PODRedBlackTreeTest.cpp: Added. 9944 (WebCore::TEST): 9945 * tests/TreeTestHelpers.cpp: Added. 9946 (WebCore::TreeTestHelpers::generateSeed): 9947 (WebCore::TreeTestHelpers::initRandom): 9948 (WebCore::TreeTestHelpers::nextRandom): 9949 * tests/TreeTestHelpers.h: Added. 9950 9951 2010-09-03 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 9952 9953 Reviewed by Darin Adler. 9954 9955 Add NetworkingContext to avoid layer violations 9956 https://bugs.webkit.org/show_bug.cgi?id=42292 9957 9958 Add Chromium's implementation of NetworkingContext. 9959 9960 * src/FrameLoaderClientImpl.cpp: 9961 (WebKit::FrameLoaderClientImpl::createNetworkingContext): 9962 * src/FrameLoaderClientImpl.h: 9963 9964 2010-09-02 Vangelis Kokkevis <vangelis (a] chromium.org> 9965 9966 Reviewed by Darin Fisher. 9967 9968 [chromium] Revert to software compositing if the accelerated 9969 compositor fails to initialize. If we tried to initialize the compositor 9970 for this WebView and failed, next time the associated chrome client is 9971 asked whether it can do accelerated compositing it will return false. 9972 https://bugs.webkit.org/show_bug.cgi?id=45124 9973 9974 * src/ChromeClientImpl.cpp: 9975 (WebKit::ChromeClientImpl::allowsAcceleratedCompositing): 9976 * src/ChromeClientImpl.h: 9977 * src/WebViewImpl.cpp: 9978 (WebKit::WebViewImpl::WebViewImpl): 9979 (WebKit::WebViewImpl::paint): 9980 (WebKit::WebViewImpl::allowsAcceleratedCompositing): 9981 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 9982 (WebKit::WebViewImpl::getOnscreenGLES2Context): 9983 * src/WebViewImpl.h: 9984 9985 2010-09-03 James Robinson <jamesr (a] chromium.org> 9986 9987 [chromium] Add one more include to fix the mac compile. 9988 9989 * src/GraphicsContext3D.cpp: 9990 9991 2010-09-03 James Robinson <jamesr (a] chromium.org> 9992 9993 [chromium] Compile fixes for 66746. 9994 9995 * src/GraphicsContext3D.cpp: 9996 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 9997 9998 2010-09-03 Tony Chang <tony (a] chromium.org> 9999 10000 Unreviewed, remove svn:executable flag from images and css files. 10001 10002 * src/js/Images/segmentChromium.png: Removed property svn:executable. 10003 * src/js/Images/segmentHoverChromium.png: Removed property svn:executable. 10004 * src/js/Images/segmentHoverEndChromium.png: Removed property svn:executable. 10005 * src/js/Images/segmentSelectedChromium.png: Removed property svn:executable. 10006 * src/js/Images/segmentSelectedEndChromium.png: Removed property svn:executable. 10007 * src/js/Images/statusbarBackgroundChromium.png: Removed property svn:executable. 10008 * src/js/Images/statusbarBottomBackgroundChromium.png: Removed property svn:executable. 10009 * src/js/Images/statusbarButtonsChromium.png: Removed property svn:executable. 10010 * src/js/Images/statusbarMenuButtonChromium.png: Removed property svn:executable. 10011 * src/js/Images/statusbarMenuButtonSelectedChromium.png: Removed property svn:executable. 10012 * src/js/devTools.css: Removed property svn:executable. 10013 10014 2010-09-03 James Robinson <jamesr (a] chromium.org> 10015 10016 Reviewed by Chris Marrin. 10017 10018 Multiple accelerated 2D canvases should be able to use the same GraphicsContext3D 10019 https://bugs.webkit.org/show_bug.cgi?id=44926 10020 10021 Adds a SharedContext3D to WebViewImpl. The SharedContext3D has to live on WebViewImpl to be 10022 tied to the lifetime of the compositor context. 10023 10024 * src/ChromeClientImpl.cpp: 10025 (WebKit::ChromeClientImpl::getSharedGraphicsContext3D): 10026 * src/ChromeClientImpl.h: 10027 * src/GraphicsContext3D.cpp: 10028 (WebCore::GraphicsContext3DInternal::initialize): 10029 (WebCore::GraphicsContext3DInternal::platformLayer): 10030 (WebCore::GraphicsContext3D::platformLayer): 10031 * src/WebViewImpl.cpp: 10032 (WebKit::WebViewImpl::getSharedGraphicsContext3D): 10033 * src/WebViewImpl.h: 10034 10035 2010-08-31 Jeremy Orlow <jorlow (a] chromium.org> 10036 10037 Reviewed by Steve Block. 10038 10039 IDBCursor.continue() should reuse the .openCursor's IDBRequest object 10040 https://bugs.webkit.org/show_bug.cgi?id=44953 10041 10042 * src/WebIDBCallbacksImpl.cpp: 10043 (WebCore::WebIDBCallbacksImpl::onError): 10044 (WebCore::WebIDBCallbacksImpl::onSuccess): 10045 10046 2010-09-02 Yury Semikhatsky <yurys (a] chromium.org> 10047 10048 Reviewed by Pavel Feldman. 10049 10050 REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector 10051 https://bugs.webkit.org/show_bug.cgi?id=44230 10052 10053 * src/InspectorFrontendClientImpl.cpp: 10054 (WebKit::InspectorFrontendClientImpl::disconnectFromBackend): 10055 * src/InspectorFrontendClientImpl.h: 10056 10057 2010-09-02 Satish Sampath <satish (a] chromium.org> 10058 10059 Reviewed by Jeremy Orlow. 10060 10061 Remove obsolete public/API methods in chromium port 10062 https://bugs.webkit.org/show_bug.cgi?id=45108 10063 10064 * public/WebSpeechInputController.h: 10065 (WebKit::WebSpeechInputController::startRecognition): 10066 10067 2010-09-02 Kent Tamura <tkent (a] chromium.org> 10068 10069 Reviewed by Dimitri Glazkov. 10070 10071 [DRT/Chromium] Remove dependency to base/task.h and base/timer.h 10072 https://bugs.webkit.org/show_bug.cgi?id=45091 10073 10074 * DEPS: Roll Chromium revision to 58277 in order to have 10075 webkit_support::PostDelayedTask(). 10076 10077 2010-09-02 Ilya Sherman <isherman (a] google.com> 10078 10079 Reviewed by Eric Seidel. 10080 10081 Exposing computing an element's inherited language, per the DOM, in the 10082 Chromium API -- primarily for use with autofill i18n. 10083 https://bugs.webkit.org/show_bug.cgi?id=44803 10084 10085 * public/WebElement.h: 10086 * src/WebElement.cpp: 10087 (WebKit::WebElement::computeInheritedLanguage): 10088 10089 2010-09-01 Mikhail Naganov <mnaganov (a] chromium.org> 10090 10091 Reviewed by Yury Semikhatsky. 10092 10093 Remove dependency on JS files for V8 logs processing. 10094 10095 https://bugs.webkit.org/show_bug.cgi?id=45045 10096 10097 * WebKit.gyp: 10098 10099 2010-09-01 Kent Tamura <tkent (a] chromium.org> 10100 10101 Unreviewed, rolling out r66576. 10102 http://trac.webkit.org/changeset/66576 10103 https://bugs.webkit.org/show_bug.cgi?id=45016 10104 10105 This change is not needed. 10106 10107 * public/WebKitClient.h: 10108 10109 2010-08-31 Dave Hyatt <hyatt (a] apple.com> 10110 10111 Reviewed by Sam Weinig. 10112 10113 https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that 10114 the former can occur in more places without having to do the latter. 10115 10116 * src/WebFrameImpl.cpp: 10117 (WebKit::WebFrameImpl::layout): 10118 10119 2010-08-31 Kent Tamura <tkent (a] chromium.org> 10120 10121 Reviewed by Dimitri Glazkov. 10122 10123 [Chromium] Add WebKitClient::callOnMainThreadWithDelay() 10124 https://bugs.webkit.org/show_bug.cgi?id=45016 10125 10126 It is required to remove base/task.h and base/timer.h dependency 10127 from DRT/Chromium. 10128 10129 * public/WebKitClient.h: 10130 (WebKit::WebKitClient::callOnMainThreadWithDelay): Added. 10131 10132 2010-08-31 Kinuko Yasuda <kinuko (a] chromium.org> 10133 10134 Reviewed by Jian Li. 10135 10136 Add LocalFileSystem.requestFileSystem interface to DOMWindow 10137 https://bugs.webkit.org/show_bug.cgi?id=44734 10138 10139 * public/WebRuntimeFeatures.h: 10140 * src/WebRuntimeFeatures.cpp: 10141 (WebKit::WebRuntimeFeatures::enableFileSystem): 10142 (WebKit::WebRuntimeFeatures::isFileSystemEnabled): 10143 10144 2010-08-24 Jeremy Orlow <jorlow (a] chromium.org> 10145 10146 Reviewed by Steve Block. 10147 10148 Implement the rest of IDBCursors + make them persistent 10149 https://bugs.webkit.org/show_bug.cgi?id=44546 10150 10151 * src/IDBCursorBackendProxy.cpp: 10152 (WebCore::IDBCursorBackendProxy::value): 10153 * src/IDBCursorBackendProxy.h: 10154 * src/WebIDBCursorImpl.cpp: 10155 (WebKit::WebIDBCursorImpl::value): 10156 10157 2010-08-27 John Gregg <johnnyg (a] google.com> 10158 10159 Reviewed by David Levin. 10160 10161 Notifications should support a click event 10162 https://bugs.webkit.org/show_bug.cgi?id=44800 10163 10164 * public/WebNotification.h: 10165 * src/WebNotification.cpp: 10166 (WebKit::WebNotification::dispatchClickEvent): 10167 10168 2010-08-31 Jian Li <jianli (a] chromium.org> 10169 10170 Reviewed by Darin Fisher. 10171 10172 Switch the Blob implementation to using the blob data registration model 10173 https://bugs.webkit.org/show_bug.cgi?id=44389 10174 10175 * src/WebSearchableFormData.cpp: 10176 (WebCore::HasSuitableTextElement): 10177 10178 2010-08-30 Nat Duca <nduca (a] chromium.org> 10179 10180 Reviewed by Adam Barth. 10181 10182 [chromium] Accelerated Compositing: Artifacts/blink when enabling compositor. 10183 https://bugs.webkit.org/show_bug.cgi?id=44196 10184 10185 If accelerated compositing enables after a page loads, the dirtied 10186 portion of the screen will be only a subset of the full screen, 10187 leading to artefacts. Avoid these artefacts by invalidating the 10188 visible content rect on compositor initialization. 10189 10190 * src/WebViewImpl.cpp: 10191 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 10192 10193 2010-08-30 Kinuko Yasuda <kinuko (a] chromium.osrc> 10194 10195 Reviewed by Darin Fisher. 10196 10197 Add DOMFileSystem implementation to support Entry manipulation operations 10198 https://bugs.webkit.org/show_bug.cgi?id=44732 10199 10200 Fixed virtual-path / platform-path conversion timing. (The conversion needs to be done before calling AsyncFileSystem methods to support cross-filesystem operations.) 10201 10202 * src/AsyncFileSystemChromium.cpp: 10203 (WebCore::AsyncFileSystemChromium::move): 10204 (WebCore::AsyncFileSystemChromium::copy): 10205 (WebCore::AsyncFileSystemChromium::remove): 10206 (WebCore::AsyncFileSystemChromium::readMetadata): 10207 (WebCore::AsyncFileSystemChromium::createFile): 10208 (WebCore::AsyncFileSystemChromium::createDirectory): 10209 (WebCore::AsyncFileSystemChromium::fileExists): 10210 (WebCore::AsyncFileSystemChromium::directoryExists): 10211 (WebCore::AsyncFileSystemChromium::readDirectory): 10212 10213 2010-08-30 Sheriff Bot <webkit.review.bot (a] gmail.com> 10214 10215 Unreviewed, rolling out r66198. 10216 http://trac.webkit.org/changeset/66198 10217 https://bugs.webkit.org/show_bug.cgi?id=44856 10218 10219 It made tests crash on Qt bot (Requested by Ossy_ on #webkit). 10220 10221 * src/InspectorFrontendClientImpl.cpp: 10222 * src/InspectorFrontendClientImpl.h: 10223 10224 2010-08-29 Kent Tamura <tkent (a] chromium.org> 10225 10226 Reviewed by Darin Adler. 10227 10228 Introduce isValidValue(const String&) of HTMLInputElement and HTMLTextAreaElement 10229 https://bugs.webkit.org/show_bug.cgi?id=43537 10230 10231 * public/WebInputElement.h: 10232 * src/WebInputElement.cpp: 10233 (WebKit::WebInputElement::isValidValue): 10234 10235 2010-08-29 Kent Tamura <tkent (a] chromium.org> 10236 10237 Reviewed by Dimitri Glazkov. 10238 10239 [DRT/Chromium] Remove dependency to base/keyboard_codes.h 10240 https://bugs.webkit.org/show_bug.cgi?id=44847 10241 10242 * DEPS: Roll Chromium revision to 57823 to have a webkit_support change. 10243 10244 2010-08-28 Jian Li <jianli (a] chromium.org> 10245 10246 Reviewed by Darin Fisher. 10247 10248 [chromium] Add webkit_support.gyp:blob to WebKit.gyp 10249 https://bugs.webkit.org/show_bug.cgi?id=44829 10250 10251 Also bump up chromium revision in DEPS in order to pick up 10252 the revision that contains blob change. 10253 10254 * DEPS: 10255 * WebKit.gyp: 10256 10257 2010-08-28 Chris Guillory <chris.guillory (a] google.com> 10258 10259 Reviewed by Chris Fleizach. 10260 10261 Add AX notification for childrenChanged 10262 https://bugs.webkit.org/show_bug.cgi?id=44472 10263 10264 * public/WebViewClient.h: 10265 (WebKit::WebViewClient::didChangeAccessibilityObjectChildren): 10266 * src/ChromeClientImpl.cpp: 10267 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren): 10268 * src/ChromeClientImpl.h: 10269 10270 2010-08-27 Daniel Cheng <dcheng (a] chromium.org> 10271 10272 Reviewed by Tony Chang. 10273 10274 [chromium] Add new WebClipboard method for setting generic data in copy/cut handlers. 10275 https://bugs.webkit.org/show_bug.cgi?id=42121 10276 10277 * public/WebClipboard.h: 10278 (WebKit::WebClipboard::writeData): 10279 (WebKit::WebClipboard::readFilenames): 10280 * src/ChromiumBridge.cpp: 10281 (WebCore::ChromiumBridge::clipboardWriteData): 10282 10283 2010-08-27 Kinuko Yasuda <kinuko (a] chromium.org> 10284 10285 Reviewed by Dumitru Daniliuc. 10286 10287 [chromium] Add chromium-side of AsyncFileSystem implementation 10288 https://bugs.webkit.org/show_bug.cgi?id=44434 10289 10290 * WebKit.gyp: 10291 * src/AssertMatchingEnums.cpp: Added assertions. 10292 * src/AsyncFileSystemChromium.cpp: Added. 10293 * src/AsyncFileSystemChromium.h: Added. 10294 * src/LocalFileSystemChromium.cpp: Added. 10295 * src/WebFileSystemCallbacksImpl.cpp: 10296 (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): 10297 * src/WebFileSystemCallbacksImpl.h: 10298 10299 2010-08-27 Michael Nordman <michaeln (a] google.com> 10300 10301 Reviewed by David Levin. 10302 10303 https://bugs.webkit.org/show_bug.cgi?id=44133 10304 WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob. 10305 10306 * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB. 10307 * public/WebRuntimeFeatures.h: 10308 * src/WebRuntimeFeatures.cpp: 10309 (WebKit::WebRuntimeFeatures::enableXHRResponseBlob): 10310 (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled): 10311 10312 2010-08-25 Jeremy Orlow <jorlow (a] chromium.org> 10313 10314 Reviewed by Steve Block. 10315 10316 Add setVersion to IndexedDB 10317 https://bugs.webkit.org/show_bug.cgi?id=44630 10318 10319 * public/WebIDBDatabase.h: 10320 (WebKit::WebIDBDatabase::createObjectStore): 10321 (WebKit::WebIDBDatabase::removeObjectStore): 10322 (WebKit::WebIDBDatabase::setVersion): 10323 * src/IDBDatabaseProxy.cpp: 10324 (WebCore::IDBDatabaseProxy::setVersion): 10325 * src/IDBDatabaseProxy.h: 10326 * src/WebIDBDatabaseImpl.cpp: 10327 (WebKit::WebIDBDatabaseImpl::setVersion): 10328 * src/WebIDBDatabaseImpl.h: 10329 10330 2010-08-27 Yury Semikhatsky <yurys (a] chromium.org> 10331 10332 Reviewed by Pavel Feldman. 10333 10334 REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector 10335 https://bugs.webkit.org/show_bug.cgi?id=44230 10336 10337 * src/InspectorFrontendClientImpl.cpp: 10338 (WebKit::InspectorFrontendClientImpl::disconnectFromBackend): 10339 * src/InspectorFrontendClientImpl.h: 10340 10341 2010-08-27 Kent Tamura <tkent (a] chromium.org> 10342 10343 Reviewed by Pavel Feldman. 10344 10345 [DRT/Chromium] Fix inspector test failures 10346 https://bugs.webkit.org/show_bug.cgi?id=44748 10347 10348 * DEPS: Update Chromium revision to 57605 to have a webkit_support change. 10349 10350 2010-08-26 Dumitru Daniliuc <dumi (a] chromium.org> 10351 10352 Unreviewed, Chromium build fix. 10353 10354 * src/WebFrameImpl.cpp: 10355 (WebKit::WebFrameImpl::markerTextForListItem): 10356 10357 2010-08-26 Dumitru Daniliuc <dumi (a] chromium.org> 10358 10359 Reviewed by Darin Fisher. 10360 10361 Add support for markerTextForListItem() to Chromium's LayoutTestController. 10362 https://bugs.webkit.org/show_bug.cgi?id=44724 10363 10364 * public/WebBindings.h: 10365 * public/WebFrame.h: 10366 * src/WebBindings.cpp: 10367 (WebKit::getElementImpl): 10368 (WebKit::WebBindings::getElement): 10369 * src/WebFrameImpl.cpp: 10370 (WebKit::WebFrameImpl::markerTextForListItem): 10371 * src/WebFrameImpl.h: 10372 10373 2010-08-26 James Robinson <jamesr (a] chromium.org> 10374 10375 Reviewed by Darin Fisher. 10376 10377 [chromium] Remove the USE(GLES2_RENDERING) define and associated code 10378 https://bugs.webkit.org/show_bug.cgi?id=43761 10379 10380 Removes API support to grab a GLES2Context from within WebCore. The compositor 10381 has a special codepath to grab its GLES2Context and no other codepaths 10382 need access to a raw context. Accelerated drawing elsewhere will go through 10383 GraphicsContext3D. 10384 10385 * src/ChromeClientImpl.cpp: 10386 * src/ChromeClientImpl.h: 10387 10388 2010-08-26 Ryosuke Niwa <rniwa (a] webkit.org> 10389 10390 Reviewed by Eric Seidel. 10391 10392 [chromium] WebEntities is broken 10393 https://bugs.webkit.org/show_bug.cgi?id=44708 10394 10395 For serialization purposes, we don't need to convert all entity references. 10396 This patch modifies WebEntities::WebEntities to use hard-coded entity lists for both HTML and XML, 10397 and deletes populateMapFromXMLEntities and populateMapFromHTMLEntityTable. 10398 10399 No tests are added since the code is tested in DomSerializerTests 10400 10401 * src/WebEntities.cpp: 10402 (WebKit::): 10403 (WebKit::WebEntities::WebEntities): 10404 10405 2010-08-26 Peter Kasting <pkasting (a] google.com> 10406 10407 Reviewed by Dimitri Glazkov. 10408 10409 Misc. cleanup split off from bug 32356. 10410 https://bugs.webkit.org/show_bug.cgi?id=44696 10411 10412 * src/WebScrollbarImpl.cpp: 10413 (WebKit::WebScrollbarImpl::setLocation): 10414 (WebKit::WebScrollbarImpl::onMouseWheel): 10415 * src/WebViewImpl.cpp: 10416 (WebKit::WebViewImpl::propagateScroll): 10417 * src/win/WebInputEventFactory.cpp: 10418 (WebKit::WebInputEventFactory::mouseWheelEvent): 10419 10420 2010-08-26 Mikhail Naganov <mnaganov (a] chromium.org> 10421 10422 Reviewed by Pavel Feldman. 10423 10424 Web Inspector: Store heap snapshots in InspectorProfilerAgent. 10425 10426 Change the way heap snapshots are transported to Inspector 10427 to be aligned with CPU profiles. As a result, the Heap snapshots 10428 view of Profiles panel was upstreamed into WebCore. 10429 10430 https://bugs.webkit.org/show_bug.cgi?id=44531 10431 10432 * DEPS: 10433 * WebKit.gypi: 10434 * src/js/DevTools.js: 10435 (): 10436 * src/js/HeapProfilerPanel.js: Removed. 10437 * src/js/ProfilerAgent.js: Removed. 10438 * src/js/ProfilerProcessor.js: Removed. 10439 * src/js/devTools.css: 10440 10441 2010-08-26 Yury Semikhatsky <yurys (a] chromium.org> 10442 10443 Unreviewed. Revert r66103 since Qt tests are failing. 10444 10445 * src/InspectorFrontendClientImpl.cpp: 10446 * src/InspectorFrontendClientImpl.h: 10447 10448 2010-08-26 Yury Semikhatsky <yurys (a] chromium.org> 10449 10450 Reviewed by Pavel Feldman. 10451 10452 REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector 10453 https://bugs.webkit.org/show_bug.cgi?id=44230 10454 10455 * src/InspectorFrontendClientImpl.cpp: 10456 (WebKit::InspectorFrontendClientImpl::disconnectFromBackend): 10457 * src/InspectorFrontendClientImpl.h: 10458 10459 2010-08-26 Kent Tamura <tkent (a] chromium.org> 10460 10461 Reviewed by Tony Chang. 10462 10463 [DRT/Chromium] Enable DEVICE_ORIENTATION 10464 https://bugs.webkit.org/show_bug.cgi?id=44587 10465 10466 * features.gypi: 10467 10468 2010-08-25 Ilya Tikhonovsky <loislo (a] chromium.org> 10469 10470 Reviewed by Pavel Feldman. 10471 10472 WebInspector: as far as we have 'seq' property in the each inspector message 10473 it would be better to remove explicit callId argument from Inspector.idl functions 10474 declarations. 10475 https://bugs.webkit.org/show_bug.cgi?id=44617 10476 10477 * src/js/ProfilerAgent.js: 10478 (devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest): 10479 (devtools.ProfilerAgent.prototype._getNextLogLines): 10480 10481 2010-08-25 Sheriff Bot <webkit.review.bot (a] gmail.com> 10482 10483 Unreviewed, rolling out r66074. 10484 http://trac.webkit.org/changeset/66074 10485 https://bugs.webkit.org/show_bug.cgi?id=44660 10486 10487 Chromium canary turned red (Requested by yuzo on #webkit). 10488 10489 * features.gypi: 10490 * public/WebRuntimeFeatures.h: 10491 * src/WebRuntimeFeatures.cpp: 10492 10493 2010-08-25 Michael Nordman <michaeln (a] google.com> 10494 10495 Reviewed by David Levin. 10496 10497 https://bugs.webkit.org/show_bug.cgi?id=44133 10498 WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob. 10499 10500 * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB. 10501 * public/WebRuntimeFeatures.h: 10502 * src/WebRuntimeFeatures.cpp: 10503 (WebKit::WebRuntimeFeatures::enableXHRResponseBlob): 10504 (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled): 10505 10506 2010-08-24 Victoria Kirst <vrk (a] google.com> 10507 10508 Reviewed by Darin Fisher. 10509 10510 Adding a way to communicate video frames between Chromium and WebKit. 10511 The WebKit side acts as a middleman between Chromium and WebCore. 10512 The VideoFrameChromiumImpl is not being used by WebCore yet, as there 10513 still needs to be an implementation of WebVideoFrame in Chromium 10514 -- coming soon in a subsequent patch. 10515 10516 API changes for Video Frame sharing between WebKit and Chromium 10517 https://bugs.webkit.org/show_bug.cgi?id=44539 10518 10519 * WebKit.gyp: 10520 * public/WebMediaPlayer.h: 10521 (WebKit::WebMediaPlayer::getCurrentFrame): 10522 (WebKit::WebMediaPlayer::putCurrentFrame): 10523 * public/WebVideoFrame.h: Added. 10524 * src/VideoFrameChromiumImpl.cpp: Added. 10525 (WebKit::VideoFrameChromiumImpl::toWebVideoFrame): 10526 (WebKit::VideoFrameChromiumImpl::VideoFrameChromiumImpl): 10527 (WebKit::VideoFrameChromiumImpl::type): 10528 (WebKit::VideoFrameChromiumImpl::format): 10529 (WebKit::VideoFrameChromiumImpl::width): 10530 (WebKit::VideoFrameChromiumImpl::height): 10531 (WebKit::VideoFrameChromiumImpl::planes): 10532 (WebKit::VideoFrameChromiumImpl::stride): 10533 (WebKit::VideoFrameChromiumImpl::data): 10534 * src/VideoFrameChromiumImpl.h: Added. 10535 * src/WebMediaPlayerClientImpl.cpp: 10536 (WebKit::WebMediaPlayerClientImpl::getCurrentFrame): 10537 (WebKit::WebMediaPlayerClientImpl::putCurrentFrame): 10538 (WebKit::WebMediaPlayerClientImpl::create): 10539 * src/WebMediaPlayerClientImpl.h: 10540 10541 2010-08-25 Eric Seidel <eric (a] webkit.org> 10542 10543 Unreviewed. Build fix. 10544 10545 Make Chromiums Broken WebPageSerializerImpl compile again 10546 https://bugs.webkit.org/show_bug.cgi?id=44652 10547 10548 Make it compile again. This code is still horribly wrong. 10549 10550 * src/WebPageSerializerImpl.cpp: 10551 (WebKit::WebPageSerializerImpl::endTagToString): 10552 10553 2010-08-20 Zhenyao Mo <zmo (a] google.com> 10554 10555 Reviewed by Kenneth Russell. 10556 10557 WebGL must enforce restrictions even if running on OpenGL ES 2.0 10558 https://bugs.webkit.org/show_bug.cgi?id=42908 10559 10560 * public/WebGraphicsContext3D.h: Add two new flags. 10561 * src/GraphicsContext3D.cpp: Ditto. 10562 (WebCore::GraphicsContext3DInternal::isGLES2NPOTStrict): 10563 (WebCore::GraphicsContext3DInternal::isErrorGeneratedOnOutOfBoundsAccesses): 10564 (WebCore::GraphicsContext3D::isGLES2NPOTStrict): 10565 (WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses): 10566 * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto. 10567 (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2NPOTStrict): 10568 (WebKit::WebGraphicsContext3DDefaultImpl::isErrorGeneratedOnOutOfBoundsAccesses): 10569 * src/WebGraphicsContext3DDefaultImpl.h: Ditto. 10570 10571 2010-08-24 Zhenyao Mo <zmo (a] google.com> 10572 10573 Reviewed by Kenneth Russell. 10574 10575 Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (skia) 10576 https://bugs.webkit.org/show_bug.cgi?id=38282 10577 10578 * src/WebImageDecoder.cpp: 10579 (WebKit::WebImageDecoder::init): Add premultiplyAlpha flag. 10580 10581 2010-08-25 Satish Sampath <satish (a] chromium.org> 10582 10583 Reviewed by Jeremy Orlow. 10584 10585 Pass the element's bounds to embedder during speech recognition. 10586 https://bugs.webkit.org/show_bug.cgi?id=44427 10587 10588 * public/WebSpeechInputController.h: 10589 (WebKit::WebSpeechInputController::startRecognition): 10590 (WebKit::WebSpeechInputController::cancelRecognition): 10591 (WebKit::WebSpeechInputController::stopRecording): 10592 * src/SpeechInputClientImpl.cpp: 10593 (WebKit::SpeechInputClientImpl::startRecognition): 10594 * src/SpeechInputClientImpl.h: 10595 * src/WebSpeechInputControllerMockImpl.cpp: 10596 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 10597 * src/WebSpeechInputControllerMockImpl.h: 10598 10599 2010-08-25 Pawel Hajdan <phajdan.jr (a] chromium.org> 10600 10601 Reviewed by Darin Fisher. 10602 10603 Add an assertion to prevent re-initializing WebKit. 10604 https://bugs.webkit.org/show_bug.cgi?id=44545 10605 10606 This will help prevent crashes like: 10607 - http://code.google.com/p/chromium/issues/detail?id=52731 10608 - http://code.google.com/p/chromium/issues/detail?id=52643 10609 10610 * src/WebKit.cpp: 10611 (WebKit::initialize): 10612 10613 2010-08-25 Jay Civelli <jcivelli (a] chromium.org> 10614 10615 Reviewed by Dimitri Glazkov. 10616 10617 Adding missing test files and reenabling the WebFrame unit-test. 10618 https://bugs.webkit.org/show_bug.cgi?id=44492 10619 10620 * tests/WebFrameTest.cpp: 10621 (WebKit::TEST_F): 10622 * tests/data/iframes_test.html: Added. 10623 * tests/data/invisible_iframe.html: Added. 10624 * tests/data/visible_iframe.html: Added. 10625 * tests/data/zero_sized_iframe.html: Added. 10626 10627 2010-08-25 Kent Tamura <tkent (a] chromium.org> 10628 10629 Unreviewed, build fix. 10630 10631 * DEPS: Roll Chromium revision to 57298 to fix upstream build. 10632 10633 2010-08-24 Dumitru Daniliuc <dumi (a] chromium.org> 10634 10635 Reviewed by Adam Barth. 10636 10637 Build fix: Remove setHTML5ParserEnabled(), it's no longer used. 10638 10639 * public/WebSettings.h: 10640 * src/WebSettingsImpl.cpp: 10641 * src/WebSettingsImpl.h: 10642 10643 2010-08-24 Jian Li <jianli (a] chromium.org> 10644 10645 Reviewed by Darin Fisher. 10646 10647 [chromium] WebBlobRegistry cleanup. 10648 https://bugs.webkit.org/show_bug.cgi?id=44571 10649 10650 Remove unneeded method from WebBlobRegistry interface. 10651 Also remove unneeded WebBlobRegistryImpl.* files. They're already 10652 excluded from gyp files. 10653 10654 * public/WebBlobRegistry.h: 10655 * src/WebBlobRegistryImpl.cpp: Removed. 10656 * src/WebBlobRegistryImpl.h: Removed. 10657 10658 2010-08-24 Adam Barth <abarth (a] webkit.org> 10659 10660 Reviewed by Dimitri Glazkov. 10661 10662 [Chromium] Hulu popups are blocked 10663 https://bugs.webkit.org/show_bug.cgi?id=44572 10664 10665 We were blocking popups created by Flash Player because we were never 10666 setting the UserGestureIndicator for events. Most WebKit ports handle 10667 events through EventHandler, but Chromium is special (for some unknown 10668 reason) and dispatches events directly. That means Chromium misses out 10669 on some of the work done by EventHandler, including setting the 10670 UserGestureIndicator. 10671 10672 I suspect this is covered by an existing LayoutTest, but I don't have 10673 the ability to run the Chromium LayoutTests on this machine. :( 10674 10675 * src/WebViewImpl.cpp: 10676 (WebKit::WebViewImpl::handleInputEvent): 10677 10678 2010-08-24 Jian Li <jianli (a] chromium.org> 10679 10680 Reviewed by Darin Fisher. 10681 10682 [chromium] Update WebBlobData. 10683 https://bugs.webkit.org/show_bug.cgi?id=44481 10684 10685 Some changes to WebBlobData to match with chromium implementation. 10686 1) Change to use WebCString for data, instead of WebData. 10687 2) Separate path from URL. 10688 10689 * public/WebBlobData.h: 10690 * src/WebBlobData.cpp: 10691 (WebKit::WebBlobData::itemAt): 10692 (WebKit::WebBlobData::appendData): 10693 (WebKit::WebBlobData::appendBlob): 10694 * src/WebBlobStorageData.cpp: 10695 (WebKit::WebBlobStorageData::itemAt): 10696 10697 2010-08-24 Marcus Bulach <bulach (a] chromium.org> 10698 10699 Reviewed by Jeremy Orlow. 10700 10701 Hooks IDBKeyPath with IDBObjectStorage::put. 10702 https://bugs.webkit.org/show_bug.cgi?id=44275 10703 10704 Adds a mechanism to extract an IDBKey from SerializedScriptValue using IDBKeyPath 10705 during IDBObjectStorage::put. 10706 10707 * public/WebIDBKey.h: 10708 (WebKit::WebIDBKey::WebIDBKey): 10709 * public/WebKitClient.h: 10710 (WebKit::WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath): 10711 * src/ChromiumBridge.cpp: 10712 (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath): 10713 10714 2010-08-24 Kent Tamura <tkent (a] chromium.org> 10715 10716 Reviewed by Jeremy Orlow. 10717 10718 [DRT/Chromium] Support for IndexedDB tests 10719 https://bugs.webkit.org/show_bug.cgi?id=44490 10720 10721 * DEPS: Roll Chromium to r57145 to have a webkit_support change. 10722 10723 2010-08-24 Roland Steiner <rolandsteiner (a] chromium.org> 10724 10725 Unreviewed build fix. 10726 10727 put the "DISABLED_" in front of the right identifier. 10728 10729 * tests/WebFrameTest.cpp: 10730 (WebKit::TEST_F): 10731 10732 2010-08-23 Roland Steiner <rolandsteiner (a] chromium.org> 10733 10734 Reviewed by Tamura Kent. 10735 10736 Disable failing test 10737 https://bugs.webkit.org/show_bug.cgi?id=44492 10738 10739 * tests/WebFrameTest.cpp: 10740 (WebKit::TEST_F): 10741 10742 2010-08-23 Jay Civelli <jcivelli (a] chromium.org> 10743 10744 Reviewed by Darin Fisher. 10745 10746 Made WebFrame not report the text from hidden frames. 10747 (some pages contain hidden frames with garbage text that 10748 should not be indexed or used to detect the page's language). 10749 https://bugs.webkit.org/show_bug.cgi?id=39456 10750 10751 * WebKit.gyp: 10752 * public/WebCString.h: 10753 (WebKit::operator<): 10754 * public/WebURL.h: 10755 (WebKit::operator<): 10756 * src/WebCString.cpp: 10757 (WebKit::WebCString::compare): 10758 * src/WebFrameImpl.cpp: 10759 (WebKit::frameContentAsPlainText): 10760 * tests/RunAllTests.cpp: 10761 (main): 10762 * tests/WebFrameTest.cpp: Added. 10763 10764 2010-08-23 Kent Tamura <tkent (a] chromium.org> 10765 10766 Unreviewed, build fix for r65852. 10767 10768 * src/WebNode.cpp: 10769 (WebKit::WebNode::parentNode): 10770 10771 2010-08-23 Kenneth Russell <kbr (a] google.com> 10772 10773 Reviewed by Dimitri Glazkov. 10774 10775 Remove references to ArrayBuffer and ArrayBufferView from GraphicsContext3D 10776 https://bugs.webkit.org/show_bug.cgi?id=44455 10777 10778 Updated Safari, Qt and Chromium WebGL ports to avoid referencing 10779 ArrayBuffer and ArrayBufferView types from GraphicsContext3D. 10780 10781 Ran all WebGL layout tests; no new regressions. Built and tested 10782 WebKit on Mac OS X; built Chromium on Mac OS X and Linux. 10783 10784 * src/GraphicsContext3D.cpp: 10785 (WebCore::GraphicsContext3DInternal::bufferData): 10786 (WebCore::GraphicsContext3DInternal::bufferSubData): 10787 10788 2010-08-23 Jian Li <jianli (a] chromium.org> 10789 10790 Reviewed by David Levin. 10791 10792 Remove unneeded BlobRegistryImpl.* and WebBlobRegistryImpl.* from 10793 chromium project files. 10794 https://bugs.webkit.org/show_bug.cgi?id=44442 10795 10796 * WebKit.gyp: 10797 10798 2010-08-23 Satish Sampath <satish (a] chromium.org> 10799 10800 Reviewed by Jeremy Orlow. 10801 10802 Remove obsolete public/API methods in chromium port 10803 https://bugs.webkit.org/show_bug.cgi?id=44421 10804 10805 * public/WebSpeechInputController.h: 10806 (WebKit::WebSpeechInputController::startRecognition): 10807 (WebKit::WebSpeechInputController::cancelRecognition): 10808 (WebKit::WebSpeechInputController::stopRecording): 10809 * public/WebSpeechInputListener.h: 10810 10811 2010-08-22 Daniel Bates <dbates (a] rim.com> 10812 10813 Reviewed by Eric Seidel. 10814 10815 Encapsulate document marker management into DocumentMarkerController 10816 https://bugs.webkit.org/show_bug.cgi?id=44383 10817 10818 Modify call sites in the Chromium port to use DocumentMarkerController. 10819 10820 No functionality was changed, so no new tests. 10821 10822 * src/WebFrameImpl.cpp: 10823 (WebKit::WebFrameImpl::stopFinding): 10824 (WebKit::WebFrameImpl::addMarker): 10825 (WebKit::WebFrameImpl::setMarkerActive): 10826 10827 2010-08-22 Jian Li <jianli (a] chromium.org> 10828 10829 Reviewed by Darin Fisher. 10830 10831 Add the blob URL member to FormData. 10832 https://bugs.webkit.org/show_bug.cgi?id=44387 10833 10834 As the result of adding the blob URL member to the FormData, we need 10835 to update the corresponding WebKit API for chromium. 10836 10837 * public/WebHTTPBody.h: 10838 (WebKit::WebHTTPBody::Element::): 10839 * src/WebHTTPBody.cpp: 10840 (WebKit::WebHTTPBody::elementAt): 10841 (WebKit::WebHTTPBody::appendBlob): 10842 10843 2010-08-20 Kinuko Yasuda <kinuko (a] chromium.org> 10844 10845 Unreviewed; build fix for chromium (and remove duplicated ChangeLog entry). 10846 10847 2010-08-20 James Robinson <jamesr (a] chromium.org> 10848 10849 Synchronize default of use_accelerated_compositing gyp variable with downstream. Unreviewed. 10850 10851 * features.gypi: 10852 10853 2010-08-20 Kinuko Yasuda <kinuko (a] chromium.org> 10854 10855 Reviewed by Darin Fisher. 10856 10857 [chromium] Add chromium-side callback implementation for FileSystem API 10858 https://bugs.webkit.org/show_bug.cgi?id=44350 10859 10860 Add WebFileSystemCallbacks that calls back the WebCore's implementation. 10861 10862 * WebKit.gyp: 10863 * src/WebFileSystemCallbacksImpl.cpp: Added. 10864 * src/WebFileSystemCallbacksImpl.h: Added. 10865 10866 2010-08-20 Tony Chang <tony (a] chromium.org> 10867 10868 Reviewed by Kent Tamura. 10869 10870 [chromium] fix a null pointer crash when dispatching JS keyboard events 10871 https://bugs.webkit.org/show_bug.cgi?id=44313 10872 10873 * src/WebInputEventConversion.cpp: 10874 (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder): 10875 10876 2010-08-20 Jay Civelli <jcivelli (a] chromium.org> 10877 10878 Reviewed by Darin Fisher. 10879 10880 Removing the deprecated class WebEvent and friends. 10881 https://bugs.webkit.org/show_bug.cgi?id=44296 10882 10883 * WebKit.gyp: 10884 * public/WebEvent.h: Removed. 10885 * public/WebEventListener.h: Removed. 10886 * public/WebMutationEvent.h: Removed. 10887 * public/WebNode.h: 10888 * src/EventListenerWrapper.cpp: 10889 (WebKit::EventListenerWrapper::webDOMEventListenerDeleted): 10890 * src/EventListenerWrapper.h: 10891 * src/WebEvent.cpp: Removed. 10892 * src/WebEventListener.cpp: Removed. 10893 * src/WebEventListenerPrivate.cpp: Removed. 10894 * src/WebEventListenerPrivate.h: Removed. 10895 * src/WebNode.cpp: 10896 (WebKit::WebNode::removeEventListener): 10897 10898 2010-08-19 Zhenyao Mo <zmo (a] google.com> 10899 10900 Reviewed by Kenneth Russell. 10901 10902 Fix failing WebGL tests in Chromium in-process-webgl port 10903 https://bugs.webkit.org/show_bug.cgi?id=44305 10904 10905 * src/WebGraphicsContext3DDefaultImpl.cpp: 10906 (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset): Add implementation. 10907 10908 2010-08-19 Pavel Podivilov <podivilov (a] chromium.org> 10909 10910 Reviewed by Yury Semikhatsky. 10911 10912 Web Inspector: enable DOM breakpoints for chromium 10913 https://bugs.webkit.org/show_bug.cgi?id=42886 10914 10915 * src/js/DevTools.js: 10916 (WebInspector.loaded): 10917 10918 2010-08-19 Vincent Scheib <scheib (a] chromium.org> 10919 10920 Reviewed by David Levin. 10921 10922 [chromium] TilingData::tilePositionY has typo of X where Y should be used 10923 https://bugs.webkit.org/show_bug.cgi?id=44195 10924 10925 Unit tests added for tileSize and tilePosition. 10926 10927 * tests/TilingDataTest.cpp: 10928 (WebCore::TEST): 10929 10930 2010-08-19 Kinuko Yasuda <kinuko (a] chromium.org> 10931 10932 Reviewed by Darin Fisher. 10933 10934 Add WebKit API for FileSystem API 10935 https://bugs.webkit.org/show_bug.cgi?id=43151 10936 10937 Add asynchronous FileSystem interface to WebKit API for 10938 FileSystem API. 10939 http://dev.w3.org/2009/dap/file-system/file-dir-sys.html 10940 10941 * WebKit.gyp: 10942 * public/WebFileError.h: Added. 10943 * public/WebFileSystem.h: Added. 10944 * public/WebFileSystemEntry.h: Added. 10945 * public/WebFileSystemCallbacks.h: Added. 10946 * public/WebKitClient.h: 10947 (WebKit::WebKitClient::fileSystem): 10948 * public/WebFrameClient.h: 10949 (WebKit::WebFrameClient::openFileSystem): 10950 10951 2010-08-19 Kinuko Yasuda <kinuko (a] chromium.org> 10952 10953 Reviewed by Jian Li. 10954 10955 [Chromium] Rolls Chromium DEPS forward to 56564 10956 https://bugs.webkit.org/show_bug.cgi?id=44281 10957 10958 Roll Chromium DEPS forward to 56564 to include WebFileSystem 10959 implementation changes. 10960 10961 * DEPS: 10962 10963 2010-08-19 Vincent Scheib <scheib (a] chromium.org> 10964 10965 Reviewed by David Levin. 10966 10967 Fixing previous Mac only build breakage with TilingDataTest.cpp 10968 https://bugs.webkit.org/show_bug.cgi?id=44223 10969 10970 TilingDataTest.cpp included the wrong header, which had a compile 10971 option around the definition of the WebCore namespace. Without the 10972 namespace defined, error. Fixed by correctly including TilingData.h, 10973 which has no conditional compilation. 10974 10975 * WebKit.gyp: 10976 * tests/TilingDataTest.cpp: 10977 10978 2010-08-19 Jochen Eisinger <jochen (a] chromium.org> 10979 10980 Reviewed by Pavel Feldman. 10981 10982 concatenated_devtools_js should depend on inspector_protocol_sources 10983 https://bugs.webkit.org/show_bug.cgi?id=44255 10984 10985 * WebKit.gyp: 10986 10987 2010-08-19 Pavel Podivilov <podivilov (a] chromium.org> 10988 10989 Reviewed by Yury Semikhatsky. 10990 10991 Web Inspector: activate/deactivate breakpoints using v8 debugger flag. 10992 https://bugs.webkit.org/show_bug.cgi?id=44112 10993 10994 * src/js/DebuggerScript.js: 10995 (): 10996 10997 2010-08-19 Andrei Popescu <andreip (a] google.com> 10998 10999 Reviewed by Jeremy Orlow. 11000 11001 [IndexedDB] Abort idle IDBTransactions when the JS context they were created in finishes execution. 11002 https://bugs.webkit.org/show_bug.cgi?id=44101 11003 11004 * WebKit.gyp: 11005 * public/WebIDBDatabase.h: 11006 (WebKit::WebIDBDatabase::transaction): 11007 * public/WebIDBFactory.h: 11008 (WebKit::WebIDBFactory::abortPendingTransactions): 11009 * public/WebIDBTransaction.h: Added. 11010 (WebKit::WebIDBTransaction::~WebIDBTransaction): 11011 (WebKit::WebIDBTransaction::mode): 11012 (WebKit::WebIDBTransaction::objectStore): 11013 (WebKit::WebIDBTransaction::abort): 11014 (WebKit::WebIDBTransaction::id): 11015 (WebKit::WebIDBTransaction::setCallbacks): 11016 * public/WebIDBTransactionCallbacks.h: Added. 11017 (WebKit::WebIDBTransactionCallbacks::~WebIDBTransactionCallbacks): 11018 (WebKit::WebIDBTransactionCallbacks::onAbort): 11019 (WebKit::WebIDBTransactionCallbacks::id): 11020 * src/IDBDatabaseProxy.cpp: 11021 (WebCore::IDBDatabaseProxy::transaction): 11022 * src/IDBFactoryBackendProxy.cpp: 11023 (WebCore::IDBFactoryBackendProxy::abortPendingTransactions): 11024 * src/IDBFactoryBackendProxy.h: 11025 * src/IDBTransactionBackendProxy.cpp: Added. 11026 (WebCore::IDBTransactionBackendProxy::create): 11027 (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy): 11028 (WebCore::IDBTransactionBackendProxy::~IDBTransactionBackendProxy): 11029 (WebCore::IDBTransactionBackendProxy::objectStore): 11030 (WebCore::IDBTransactionBackendProxy::mode): 11031 (WebCore::IDBTransactionBackendProxy::abort): 11032 (WebCore::IDBTransactionBackendProxy::scheduleTask): 11033 (WebCore::IDBTransactionBackendProxy::sqliteDatabase): 11034 (WebCore::IDBTransactionBackendProxy::id): 11035 (WebCore::IDBTransactionBackendProxy::setCallbacks): 11036 * src/IDBTransactionBackendProxy.h: Added. 11037 * src/IDBTransactionCallbacksProxy.cpp: Added. 11038 (WebCore::IDBTransactionCallbacksProxy::create): 11039 (WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy): 11040 (WebCore::IDBTransactionCallbacksProxy::~IDBTransactionCallbacksProxy): 11041 (WebCore::IDBTransactionCallbacksProxy::onAbort): 11042 (WebCore::IDBTransactionCallbacksProxy::id): 11043 * src/IDBTransactionCallbacksProxy.h: Added. 11044 * src/WebDOMStringList.cpp: 11045 (WebKit::WebDOMStringList::length): 11046 * src/WebIDBDatabaseImpl.cpp: 11047 (WebKit::WebIDBDatabaseImpl::transaction): 11048 * src/WebIDBDatabaseImpl.h: 11049 * src/WebIDBFactoryImpl.cpp: 11050 (WebKit::WebIDBFactoryImpl::abortPendingTransactions): 11051 * src/WebIDBFactoryImpl.h: 11052 * src/WebIDBTransactionCallbacksImpl.cpp: Added. 11053 (WebCore::WebIDBTransactionCallbacksImpl::WebIDBTransactionCallbacksImpl): 11054 (WebCore::WebIDBTransactionCallbacksImpl::~WebIDBTransactionCallbacksImpl): 11055 (WebCore::WebIDBTransactionCallbacksImpl::onAbort): 11056 (WebCore::WebIDBTransactionCallbacksImpl::id): 11057 * src/WebIDBTransactionCallbacksImpl.h: Added. 11058 * src/WebIDBTransactionImpl.cpp: Added. 11059 (WebKit::WebIDBTransactionImpl::WebIDBTransactionImpl): 11060 (WebKit::WebIDBTransactionImpl::~WebIDBTransactionImpl): 11061 (WebKit::WebIDBTransactionImpl::mode): 11062 (WebKit::WebIDBTransactionImpl::objectStore): 11063 (WebKit::WebIDBTransactionImpl::abort): 11064 (WebKit::WebIDBTransactionImpl::id): 11065 (WebKit::WebIDBTransactionImpl::setCallbacks): 11066 * src/WebIDBTransactionImpl.h: Added. 11067 (WebKit::): 11068 11069 2010-08-19 Pavel Feldman <pfeldman (a] chromium.org> 11070 11071 Reviewed by Yury Semikhatsky. 11072 11073 Chromium DevTools: There is no need in resource-based InjectedScript.js source. 11074 Now that we populate front-end after its onload handler, I don't think we need 11075 to install injected script early. 11076 https://bugs.webkit.org/show_bug.cgi?id=44029 11077 11078 * public/WebDevToolsAgentClient.h: 11079 * src/WebDevToolsAgentImpl.cpp: 11080 (WebKit::): 11081 (WebKit::WebDevToolsAgentImpl::attach): 11082 (WebKit::WebDevToolsAgentImpl::frontendLoaded): 11083 11084 2010-08-19 Pavel Feldman <pfeldman (a] chromium.org> 11085 11086 Reviewed by Yury Semikhatsky. 11087 11088 Chromium DevTools: remove setRuntimeFeatureEnabled API method that 11089 is no longer used. 11090 https://bugs.webkit.org/show_bug.cgi?id=44237 11091 11092 * public/WebDevToolsAgent.h: 11093 * src/WebDevToolsAgentImpl.cpp: 11094 * src/WebDevToolsAgentImpl.h: 11095 11096 2010-08-18 Jian Li <jianli (a] chromium.org> 11097 11098 Fix layout test crashes in chromium. 11099 11100 * src/BlobRegistryProxy.cpp: 11101 (WebCore::BlobRegistryProxy::registerBlobURL): 11102 (WebCore::BlobRegistryProxy::unregisterBlobURL): 11103 11104 2010-08-18 Jian Li <jianli (a] chromium.org> 11105 11106 Fix chromium build break. 11107 11108 * src/WebBlobStorageData.cpp: 11109 (WebKit::WebBlobStorageData::itemAt): 11110 11111 2010-08-18 Jian Li <jianli (a] chromium.org> 11112 11113 Reviewed by Darin Fisher. 11114 11115 [chromium] Chromium side implementation of blob data and blob registry. 11116 https://bugs.webkit.org/show_bug.cgi?id=43871 11117 11118 * WebKit.gyp: 11119 * public/WebBlobData.h: Added. 11120 * public/WebBlobRegistry.h: Added. 11121 * public/WebBlobStorageData.h: Added. 11122 * public/WebKitClient.h: 11123 (WebKit::WebKitClient::blobRegistry): 11124 * src/BlobRegistryProxy.cpp: Added. 11125 * src/BlobRegistryProxy.h: Added. 11126 * src/WebBlobData.cpp: Added. 11127 * src/WebBlobRegistryImpl.cpp: Added. 11128 * src/WebBlobRegistryImpl.h: Added. 11129 * src/WebBlobStorageData.cpp: Added. 11130 11131 2010-08-18 Dumitru Daniliuc <dumi (a] chromium.org> 11132 11133 Reviewed by Darin Fisher. 11134 11135 Propagate the m_downloadFilePath correctly. 11136 https://bugs.webkit.org/show_bug.cgi?id=44198 11137 11138 * src/WebURLRequest.cpp: 11139 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl): 11140 * src/WebURLResponse.cpp: 11141 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl): 11142 11143 2010-08-18 Victor Wang <victorw (a] chromium.org> 11144 11145 Unreviewed. Fix chromium multi dll build. 11146 11147 * public/WebIDBKeyPath.h: 11148 11149 2010-08-18 Jay Civelli <jcivelli (a] chromium.org> 11150 11151 Reviewed by Darin Fisher. 11152 11153 Renaming the WebEvent to WebDOMEvent and adding a new event class 11154 for mouse events so that the event listener API can be used to listen 11155 to them. The renaming is needed as there already is a WebMouseEvent class. 11156 https://bugs.webkit.org/show_bug.cgi?id=43453 11157 11158 * WebKit.gyp: 11159 * public/WebDOMEvent.h: Added. 11160 * public/WebDOMEventListener.h: Added. 11161 * public/WebDOMMouseEvent.h: Added. 11162 * public/WebDOMMutationEvent.h: Added. 11163 * public/WebNode.h: 11164 * src/EventListenerWrapper.cpp: 11165 * src/EventListenerWrapper.h: 11166 * src/WebDOMEvent.cpp: Added. 11167 * src/WebDOMEventListener.cpp: Added. 11168 * src/WebDOMEventListenerPrivate.cpp: Added. 11169 * src/WebDOMEventListenerPrivate.h: Added. 11170 * src/WebDOMMouseEvent.cpp: Added. 11171 * src/WebDOMMutationEvent.cpp: Added. 11172 * src/WebNode.cpp: 11173 (WebKit::WebNode::isElementNode): 11174 (WebKit::WebNode::addDOMEventListener): 11175 (WebKit::WebNode::removeDOMEventListener): 11176 11177 2010-08-17 Ilya Tikhonovsky <loislo (a] chromium.org> 11178 11179 Reviewed by Yury Semikhatsky. 11180 11181 Web Inspector: replace hand written InspectorBackendStub.js with generated one. 11182 https://bugs.webkit.org/show_bug.cgi?id=43791 11183 11184 * WebKit.gyp: 11185 11186 2010-08-18 Sheriff Bot <webkit.review.bot (a] gmail.com> 11187 11188 Unreviewed, rolling out r65238. 11189 http://trac.webkit.org/changeset/65238 11190 https://bugs.webkit.org/show_bug.cgi?id=44168 11191 11192 Check if clobbering chromium bot fixes the layout test 11193 failures (Requested by hamaji on #webkit). 11194 11195 * public/WebFrameClient.h: 11196 (WebKit::WebFrameClient::frameDetached): 11197 * src/FrameLoaderClientImpl.cpp: 11198 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 11199 11200 2010-08-18 Sheriff Bot <webkit.review.bot (a] gmail.com> 11201 11202 Unreviewed, rolling out r65595. 11203 http://trac.webkit.org/changeset/65595 11204 https://bugs.webkit.org/show_bug.cgi?id=44161 11205 11206 qt build failed (Requested by loislo on #webkit). 11207 11208 * WebKit.gyp: 11209 11210 2010-08-17 Ilya Tikhonovsky <loislo (a] chromium.org> 11211 11212 Reviewed by Yury Semikhatsky. 11213 11214 Web Inspector: replace hand written InspectorBackendStub.js by generated one. 11215 https://bugs.webkit.org/show_bug.cgi?id=43791 11216 11217 * WebKit.gyp: 11218 11219 2010-08-17 Pavel Feldman <pfeldman (a] chromium.org> 11220 11221 Reviewed by Yury Semikhatsky. 11222 11223 Chromium DevTools: Support runtime property name/value pairs 11224 instead of feature names as navigation state. 11225 https://bugs.webkit.org/show_bug.cgi?id=44054 11226 11227 * public/WebDevToolsAgent.h: 11228 * public/WebDevToolsAgentClient.h: 11229 (WebKit::WebDevToolsAgentClient::runtimePropertyChanged): 11230 * src/WebDevToolsAgentImpl.cpp: 11231 (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): 11232 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 11233 * src/WebDevToolsAgentImpl.h: 11234 11235 2010-08-17 Jesus Sanchez-Palencia <jesus.palencia (a] openbossa.org> 11236 11237 Reviewed by Darin Adler. 11238 11239 Add NetworkingContext to avoid layer violations 11240 https://bugs.webkit.org/show_bug.cgi?id=42292 11241 11242 Preparation: Just add the files to the build system. 11243 11244 * WebKit.gyp: Added new files. 11245 * src/FrameNetworkingContextImpl.h: Added. 11246 Placeholder with tentative code that might be changed when landing 11247 the rest of it. 11248 11249 2010-08-17 Sheriff Bot <webkit.review.bot (a] gmail.com> 11250 11251 Unreviewed, rolling out r65516. 11252 http://trac.webkit.org/changeset/65516 11253 https://bugs.webkit.org/show_bug.cgi?id=44126 11254 11255 broke chromium unit tests on mac and linux (Requested by 11256 johnny_g on #webkit). 11257 11258 * WebKit.gyp: 11259 * src/WebFrameImpl.cpp: 11260 (WebKit::frameContentAsPlainText): 11261 * tests/RunAllTests.cpp: 11262 (main): 11263 * tests/WebFrameTest.cpp: Removed. 11264 11265 2010-08-17 Jay Civelli <jcivelli (a] chromium.org> 11266 11267 Reviewed by Darin Fisher. 11268 11269 Made WebFrame not report the text from hidden frames. 11270 (some pages contain hidden frames with garbage text that 11271 should not be indexed or used to detect the page's language). 11272 https://bugs.webkit.org/show_bug.cgi?id=39456 11273 11274 * WebKit.gyp: 11275 * public/WebCString.h: 11276 (WebKit::operator<): 11277 * public/WebURL.h: 11278 (WebKit::operator<): 11279 * src/WebCString.cpp: 11280 (WebKit::WebCString::compare): 11281 * src/WebFrameImpl.cpp: 11282 (WebKit::frameContentAsPlainText): 11283 * tests/RunAllTests.cpp: 11284 (main): 11285 * tests/WebFrameTest.cpp: Added. 11286 11287 2010-08-17 Kelly Norton <knorton (a] google.com> 11288 11289 Reviewed by Pavel Feldman. 11290 11291 Web Inspector: Fixes a crash in addTimelineRecord when InspectorTimelineAgent 11292 is enabled through WebDevToolsAgentImpl::setApuEnabled. 11293 https://bugs.webkit.org/show_bug.cgi?id=44105 11294 11295 * src/WebDevToolsAgentImpl.cpp: 11296 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 11297 11298 2010-08-17 Yury Semikhatsky <yurys (a] chromium.org> 11299 11300 Reviewed by Pavel Feldman. 11301 11302 Web Inspector: upstream Chromium debugger step tests 11303 https://bugs.webkit.org/show_bug.cgi?id=44106 11304 11305 * src/js/Tests.js: 11306 11307 2010-08-17 Sheriff Bot <webkit.review.bot (a] gmail.com> 11308 11309 Unreviewed, rolling out r65500. 11310 http://trac.webkit.org/changeset/65500 11311 https://bugs.webkit.org/show_bug.cgi?id=44108 11312 11313 Qt bots failed to compile. (Requested by loislo on #webkit). 11314 11315 * WebKit.gyp: 11316 11317 2010-08-17 Ilya Tikhonovsky <loislo (a] chromium.org> 11318 11319 Reviewed by Yury Semikhatsky. 11320 11321 Web Inspector: replace hand written InspectorBackendStub.js by generated one. 11322 https://bugs.webkit.org/show_bug.cgi?id=43791 11323 11324 * WebKit.gyp: 11325 11326 2010-08-17 Yury Semikhatsky <yurys (a] chromium.org> 11327 11328 Reviewed by Pavel Feldman. 11329 11330 Web Inspector: upstream Chromium console tests and remove a couple 11331 of tests that have already been covered with layout tests. 11332 https://bugs.webkit.org/show_bug.cgi?id=44057 11333 11334 * src/js/Tests.js: 11335 (.TestSuite.prototype.testConsoleEval): 11336 (.TestSuite.prototype.testConsoleLog): 11337 (.TestSuite.prototype.testEvalGlobal): 11338 11339 2010-08-16 Kinuko Yasuda <kinuko (a] chromium.org> 11340 11341 Unreviewed; attempt to fix Chromium Windows build. 11342 11343 * public/WebFileUtilities.h: 11344 11345 2010-08-16 Kinuko Yasuda <kinuko (a] chromium.org> 11346 11347 Reviewed by Jian Li. 11348 11349 [chromium] Prepare to rename WebFileSystem interface to WebFileUtilities 11350 https://bugs.webkit.org/show_bug.cgi?id=44077 11351 11352 We are going to have an implementation for HTML5 FileSystem API and 11353 it would probably be less confusing to use the name "WebFileSystem" 11354 for an WebKit API for the HTML5 API. 11355 11356 This patch adds WebFileUtilities interface that is meant to replace 11357 the existing WebFileSystem. 11358 11359 * WebKit.gyp: 11360 * public/WebFileSystem.h: 11361 * public/WebFileUtilities.h: Added. 11362 * public/WebKitClient.h: 11363 (WebKit::WebKitClient::fileUtilities): Added. 11364 * src/ChromiumBridge.cpp: 11365 (WebCore::ChromiumBridge::fileExists): 11366 (WebCore::ChromiumBridge::deleteFile): 11367 (WebCore::ChromiumBridge::deleteEmptyDirectory): 11368 (WebCore::ChromiumBridge::getFileSize): 11369 (WebCore::ChromiumBridge::getFileModificationTime): 11370 (WebCore::ChromiumBridge::directoryName): 11371 (WebCore::ChromiumBridge::pathByAppendingComponent): 11372 (WebCore::ChromiumBridge::makeAllDirectories): 11373 (WebCore::ChromiumBridge::getAbsolutePath): 11374 (WebCore::ChromiumBridge::isDirectory): 11375 (WebCore::ChromiumBridge::filePathToURL): 11376 (WebCore::ChromiumBridge::openFile): 11377 (WebCore::ChromiumBridge::closeFile): 11378 (WebCore::ChromiumBridge::seekFile): 11379 (WebCore::ChromiumBridge::truncateFile): 11380 (WebCore::ChromiumBridge::readFromFile): 11381 (WebCore::ChromiumBridge::writeToFile): 11382 11383 2010-08-16 Nate Chapin <japhet (a] chromium.org> 11384 11385 Unreviewed, build fix. 11386 11387 Don't include TilingDataTest.cpp, since it doesn't 11388 compile on mac. 11389 11390 * WebKit.gyp: 11391 11392 2010-08-16 James Robinson <jamesr (a] chromium.org> 11393 11394 Compile fix. Fix up paintsIntoCanvasBuffer impl. 11395 11396 * src/GraphicsContext3D.cpp: 11397 (WebCore::GraphicsContext3D::paintsIntoCanvasBuffer): 11398 11399 2010-08-16 Vincent Scheib <scheib (a] chromium.org> 11400 11401 Reviewed by Dimitri Glazkov. 11402 11403 Canvas2D does not support images larger than system's GPU max texture size 11404 https://bugs.webkit.org/show_bug.cgi?id=43864 11405 11406 Unit tests for TilingData class. 11407 11408 * WebKit.gyp: 11409 * tests/TilingDataTest.cpp: Added. 11410 (WebCore::TEST): 11411 11412 2010-08-16 Alex Milowski <alex (a] milowski.com> 11413 11414 Reviewed by David Levin. 11415 11416 Added the ENABLE_MATHML=1 to the feature_defines. 11417 11418 * features.gypi: 11419 11420 2010-08-16 Marcus Bulach <bulach (a] chromium.org> 11421 11422 Reviewed by Jeremy Orlow. 11423 11424 Implements IDBKeyPath extractor. 11425 https://bugs.webkit.org/show_bug.cgi?id=43276 11426 11427 Unit-test IDBKeyPathExtractorTest.cpp. 11428 LayoutTests will arrive as IndexedDB infrastructure is fleshed out. 11429 11430 11431 * WebKit.gyp: 11432 * public/WebIDBKey.h: 11433 * public/WebIDBKeyPath.h: Added. 11434 (WebKit::WebIDBKeyPath::WebIDBKeyPath): 11435 (WebKit::WebIDBKeyPath::~WebIDBKeyPath): 11436 * public/WebPrivateOwnPtr.h: Added. 11437 (WebKit::WebPrivateOwnPtr::WebPrivateOwnPtr): 11438 (WebKit::WebPrivateOwnPtr::~WebPrivateOwnPtr): 11439 (WebKit::WebPrivateOwnPtr::reset): 11440 (WebKit::WebPrivateOwnPtr::get): 11441 (WebKit::WebPrivateOwnPtr::operator->): 11442 * src/WebIDBKey.cpp: 11443 (WebKit::WebIDBKey::createFromValueAndKeyPath): 11444 * src/WebIDBKeyPath.cpp: Added. 11445 (WebKit::WebIDBKeyPath::create): 11446 (WebKit::WebIDBKeyPath::WebIDBKeyPath): 11447 (WebKit::WebIDBKeyPath::parseError): 11448 (WebKit::WebIDBKeyPath::assign): 11449 (WebKit::WebIDBKeyPath::reset): 11450 (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&): 11451 * tests/IDBBindingUtilitiesTest.cpp: Added. 11452 (WebCore::LocalContext::LocalContext): 11453 (WebCore::LocalContext::~LocalContext): 11454 (WebCore::checkKeyFromValueAndKeyPathInternal): 11455 (WebCore::checkKeyPathNullValue): 11456 (WebCore::checkKeyPathStringValue): 11457 (WebCore::checkKeyPathNumberValue): 11458 (WebCore::TEST): 11459 11460 2010-07-28 Marcus Bulach <bulach (a] chromium.org> 11461 11462 Reviewed by Adam Barth. 11463 11464 Implement IDBKeyPath parser. 11465 https://bugs.webkit.org/show_bug.cgi?id=42976 11466 11467 IDBKeyPath is an internal class, exposed only for unit tests for now. 11468 It'll allow indexed database implementation to traverse a given key path and obtain the corresponding properties 11469 from a SerializedScriptValue. 11470 11471 * WebKit.gyp: 11472 * tests/IDBKeyPathTest.cpp: Added. 11473 (WebCore::ExpectedToken::ExpectedToken): 11474 (WebCore::checkKeyPath): 11475 (WebCore::TEST): 11476 11477 2010-08-16 Pavel Feldman <pfeldman (a] chromium.org> 11478 11479 Reviewed by Joseph Pecoraro. 11480 11481 Web Inspector: upstream frontend-side WebSocket transport. 11482 https://bugs.webkit.org/show_bug.cgi?id=43970 11483 11484 Chromium already has an alternate WebSocket-based communication channel with 11485 the backend. Upstreaming it in this change. We will agree on the URI 11486 of the remote service as the protocol matures. 11487 11488 * src/WebDevToolsFrontendImpl.cpp: 11489 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend): 11490 * src/js/DevTools.js: 11491 (WebInspector.loaded): 11492 (devtools.domContentLoaded): 11493 11494 2010-08-16 Yury Semikhatsky <yurys (a] chromium.org> 11495 11496 Reviewed by Pavel Feldman. 11497 11498 Web Inspector: remove utility context related code from debugger agent 11499 https://bugs.webkit.org/show_bug.cgi?id=44049 11500 11501 * src/DebuggerAgentManager.cpp: 11502 (WebKit::DebuggerAgentManager::onV8DebugMessage): 11503 (WebKit::DebuggerAgentManager::pauseScript): 11504 * src/DebuggerAgentManager.h: 11505 11506 2010-08-16 Yuta Kitamura <yutak (a] chromium.org> 11507 11508 Reviewed by Shinichiro Hamaji. 11509 11510 Attempt to fix Chromium's test_shell_tests. 11511 11512 Port Chromium's WebEntities to HTMLEntityTable 11513 https://bugs.webkit.org/show_bug.cgi?id=44036 11514 11515 * src/WebEntities.cpp: 11516 (WebKit::): 11517 11518 2010-08-15 Adam Barth <abarth (a] webkit.org> 11519 11520 Reviewed by Eric Seidel. 11521 11522 Port Chromium's WebEntities to HTMLEntityTable 11523 https://bugs.webkit.org/show_bug.cgi?id=44036 11524 11525 This code is wrong and needs to be removed. However, at least after 11526 this patch, it will compile. 11527 11528 * src/WebEntities.cpp: 11529 (WebKit::): 11530 (WebKit::WebEntities::WebEntities): 11531 * src/WebEntities.h: 11532 11533 2010-08-13 Satish Sampath <satish (a] chromium.org> 11534 11535 Reviewed by Jeremy Orlow. 11536 11537 Support for multiple speech enabled elements in same page. 11538 https://bugs.webkit.org/show_bug.cgi?id=43922 11539 11540 * public/WebSpeechInputController.h: Bubbles up the requestId given by webcore to the embedder. 11541 (WebKit::WebSpeechInputController::startRecognition): 11542 (WebKit::WebSpeechInputController::cancelRecognition): 11543 (WebKit::WebSpeechInputController::stopRecording): 11544 * public/WebSpeechInputListener.h: Passes down the requestId given by embedder to webcore. 11545 (WebKit::WebSpeechInputListener::didCompleteRecording): 11546 (WebKit::WebSpeechInputListener::setRecognitionResult): 11547 (WebKit::WebSpeechInputListener::didCompleteRecognition): 11548 * src/SpeechInputClientImpl.cpp: 11549 (WebKit::SpeechInputClientImpl::setListener): 11550 (WebKit::SpeechInputClientImpl::startRecognition): 11551 (WebKit::SpeechInputClientImpl::stopRecording): 11552 (WebKit::SpeechInputClientImpl::cancelRecognition): 11553 (WebKit::SpeechInputClientImpl::didCompleteRecording): 11554 (WebKit::SpeechInputClientImpl::didCompleteRecognition): 11555 (WebKit::SpeechInputClientImpl::setRecognitionResult): 11556 * src/SpeechInputClientImpl.h: 11557 * src/WebSpeechInputControllerMockImpl.cpp: 11558 (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl): 11559 (WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl): 11560 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording): 11561 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition): 11562 (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult): 11563 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 11564 (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition): 11565 (WebKit::WebSpeechInputControllerMockImpl::stopRecording): 11566 * src/WebSpeechInputControllerMockImpl.h: 11567 11568 2010-08-12 Yury Semikhatsky <yurys (a] chromium.org> 11569 11570 Reviewed by Pavel Feldman. 11571 11572 Web Inspector: allow interrupting long running JS to execute inspector command 11573 https://bugs.webkit.org/show_bug.cgi?id=43900 11574 11575 * public/WebDevToolsAgent.h: 11576 (WebKit::WebDevToolsAgent::MessageDescriptor::~MessageDescriptor): 11577 * src/WebDevToolsAgentImpl.cpp: 11578 (WebKit::WebDevToolsAgent::interruptAndDispatch): 11579 (WebKit::WebDevToolsAgent::shouldInterruptForMessage): 11580 (WebKit::WebDevToolsAgent::processPendingMessages): 11581 * src/WebDevToolsFrontendImpl.cpp: 11582 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 11583 * src/WebDevToolsFrontendImpl.h: 11584 * src/js/DevTools.js: 11585 11586 2010-08-12 Aaron Boodman <aa (a] chromium.org> 11587 11588 Reviewed by David Hyatt. 11589 11590 Make the cascade level of "user" styles configurable 11591 https://bugs.webkit.org/show_bug.cgi?id=43457 11592 11593 * src/WebViewImpl.cpp: 11594 (WebKit::WebView::addUserStyleSheet): 11595 11596 2010-08-12 John Gregg <johnnyg (a] google.com> 11597 11598 Reviewed by Kent Tamura. 11599 11600 [chromium] Add Notification::detachPresenter to the WebKit API. 11601 https://bugs.webkit.org/show_bug.cgi?id=43659 11602 11603 * public/WebNotification.h: 11604 * src/WebNotification.cpp: 11605 (WebKit::WebNotification::detachPresenter): 11606 11607 2010-08-11 Stephen White <senorblanco (a] chromium.org> 11608 11609 Reviewed by David Levin. 11610 11611 Add support for BGRA pixel format to GraphicsContext3D. 11612 https://bugs.webkit.org/show_bug.cgi?id=43858 11613 11614 Although this has been standard in desktop GL since 1.2, it's an 11615 extension in GL ES 2.0, so a query function is provided to check 11616 for support. The DefaultImpl returns false, since it does not yet 11617 implement the TexImage2D internalFormat quirks. 11618 11619 * public/WebGraphicsContext3D.h: 11620 (WebKit::WebGraphicsContext3D::supportsBGRA): 11621 * src/GraphicsContext3D.cpp: 11622 * src/WebGraphicsContext3DDefaultImpl.cpp: 11623 (WebKit::WebGraphicsContext3DDefaultImpl::supportsBGRA): 11624 * src/WebGraphicsContext3DDefaultImpl.h: 11625 11626 2010-08-12 Sheriff Bot <webkit.review.bot (a] gmail.com> 11627 11628 Unreviewed, rolling out r65181. 11629 http://trac.webkit.org/changeset/65181 11630 https://bugs.webkit.org/show_bug.cgi?id=43909 11631 11632 It broke 35 layout tests fail on chromium-win (Requested by 11633 hamaji on #webkit). 11634 11635 * public/WebFrameClient.h: 11636 * src/FrameLoaderClientImpl.cpp: 11637 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 11638 11639 2010-08-12 Sheriff Bot <webkit.review.bot (a] gmail.com> 11640 11641 Unreviewed, rolling out r65221. 11642 http://trac.webkit.org/changeset/65221 11643 https://bugs.webkit.org/show_bug.cgi?id=43896 11644 11645 Broke snow leopard build. (Requested by dave_levin on 11646 #webkit). 11647 11648 * public/WebGraphicsContext3D.h: 11649 * src/GraphicsContext3D.cpp: 11650 * src/WebGraphicsContext3DDefaultImpl.cpp: 11651 * src/WebGraphicsContext3DDefaultImpl.h: 11652 11653 2010-08-11 Stephen White <senorblanco (a] chromium.org> 11654 11655 Reviewed by David Levin. 11656 11657 Add support for BGRA pixel format to GraphicsContext3D. 11658 https://bugs.webkit.org/show_bug.cgi?id=43858 11659 11660 Although this has been standard in desktop GL since 1.2, it's an 11661 extension in GL ES 2.0, so a query function is provided to check 11662 for support. The DefaultImpl returns false, since it does not yet 11663 implement the TexImage2D internalFormat quirks. 11664 11665 * public/WebGraphicsContext3D.h: 11666 (WebKit::WebGraphicsContext3D::supportsBGRA): 11667 * src/GraphicsContext3D.cpp: 11668 * src/WebGraphicsContext3DDefaultImpl.cpp: 11669 (WebKit::WebGraphicsContext3DDefaultImpl::supportsBGRA): 11670 * src/WebGraphicsContext3DDefaultImpl.h: 11671 11672 2010-08-11 James Hawkins <jhawkins (a] chromium.org> 11673 11674 Reviewed by Dmitry Titov. 11675 11676 [Chromium] Notify the WebFrameClient when the frame is detached from 11677 the view. This is used to clear the cached frame in the FormManager. 11678 Eventually this will be removed once handling forms is moved into 11679 WebCore. 11680 https://bugs.webkit.org/show_bug.cgi?id=43648 11681 11682 * public/WebFrameClient.h: 11683 (WebKit::WebFrameClient::frameDetached): 11684 * src/FrameLoaderClientImpl.cpp: 11685 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 11686 11687 2010-08-11 Dimitri Glazkov <dglazkov (a] chromium.org> 11688 11689 Build fix, turn off yet-unbaked DEVICE_ORIENTATION stuff. 11690 11691 * features.gypi: Turned it off. 11692 11693 2010-08-11 Evan Stade <estade (a] chromium.org> 11694 11695 Reviewed by David Levin. 11696 11697 [chromium] linux chromium sends double clicks too often 11698 https://bugs.webkit.org/show_bug.cgi?id=43096 11699 11700 * WebKit.gyp: add the test 11701 * src/gtk/WebInputEventFactory.cpp: 11702 (WebKit::WebInputEventFactory::mouseEvent): check the x/y coordinates of the 11703 potential double click event 11704 * tests/WebInputEventFactoryTestGtk.cpp: Added. 11705 11706 2010-08-11 John Abd-El-Malek <jam (a] chromium.org> 11707 11708 Reviewed by Darin Fisher. 11709 11710 [chromium] Inform a plugin about the zoom level when it's created 11711 https://bugs.webkit.org/show_bug.cgi?id=42268 11712 11713 * src/FrameLoaderClientImpl.cpp: 11714 (WebKit::FrameLoaderClientImpl::createPlugin): 11715 11716 2010-08-11 Yury Semikhatsky <yurys (a] chromium.org> 11717 11718 Unreviewed. Fix Chromium compilation. 11719 11720 * DEPS: 11721 11722 2010-08-11 Yury Semikhatsky <yurys (a] chromium.org> 11723 11724 Unreviewed. Chromium build fix. 11725 11726 * DEPS: bump up Chromium revision. 11727 11728 2010-08-11 Yury Semikhatsky <yurys (a] chromium.org> 11729 11730 Reviewed by Pavel Feldman. 11731 11732 Web Inspector: remove InjectDispatch.js 11733 https://bugs.webkit.org/show_bug.cgi?id=43835 11734 11735 * WebKit.grd: 11736 * src/js/InjectDispatch.js: Removed. 11737 11738 2010-08-10 Kent Tamura <tkent (a] chromium.org> 11739 11740 Unreviewed, build fix. 11741 11742 Chromium build fix for r65107. 11743 11744 * src/WebAnimationControllerImpl.cpp: 11745 (WebKit::WebAnimationControllerImpl::suspendAnimations): 11746 (WebKit::WebAnimationControllerImpl::resumeAnimations): 11747 11748 2010-08-10 Kenneth Russell <kbr (a] google.com> 11749 11750 Reviewed by Dimitri Glazkov. 11751 11752 Roll forward Chromium DEPS to r55584 11753 https://bugs.webkit.org/show_bug.cgi?id=43811 11754 11755 * DEPS: 11756 11757 2010-08-10 Kavita Kanetkar <kkanetkar (a] chromium.org> 11758 11759 Reviewed by Joseph Pecoraro. 11760 11761 Web Inspector: Support appcache status change for Chrome 11762 https://bugs.webkit.org/show_bug.cgi?id=43531 11763 11764 * src/ApplicationCacheHost.cpp: 11765 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): 11766 11767 2010-08-10 Kenneth Russell <kbr (a] google.com> 11768 11769 Reviewed by Dimitri Glazkov. 11770 11771 Use Chromium OpenGL bindings rather than GLEW in WebGraphicsContextDefaultImpl 11772 https://bugs.webkit.org/show_bug.cgi?id=43754 11773 11774 Deleted per-platform OpenGL context management code, now 11775 abstracted via GLContext. Built and tested in Chromium with 11776 --in-process-webgl flag. 11777 11778 * WebKit.gyp: 11779 * src/GraphicsContext3D.cpp: 11780 * src/WebGraphicsContext3DDefaultImpl.cpp: 11781 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): 11782 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): 11783 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 11784 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes): 11785 (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent): 11786 (WebKit::WebGraphicsContext3DDefaultImpl::reshape): 11787 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): 11788 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D): 11789 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D): 11790 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): 11791 (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer): 11792 (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer): 11793 * src/WebGraphicsContext3DDefaultImpl.h: 11794 11795 2010-08-10 Jian Li <jianli (a] chromium.org> 11796 11797 Another chromium build fix. 11798 11799 * src/AssertMatchingEnums.cpp: 11800 11801 2010-08-10 Gavin Barraclough <barraclough (a] apple.com> 11802 11803 Rubber stamped by Sam Weinig. 11804 11805 Bug 43786 - Move AtomicStringHash from WebCore to WTF 11806 Also remove deprecated string headers from WebCore/platform/text. 11807 11808 * src/WebKit.cpp: 11809 * src/WebPageSerializerImpl.h: 11810 * src/WebString.cpp: 11811 11812 2010-08-10 James Robinson <jamesr (a] chromium.org> 11813 11814 Reviewed by Dimitri Glazkov. 11815 11816 [chromium] Feature defines are out of sync between features.gypi and downstream feature_overrides.gypi 11817 https://bugs.webkit.org/show_bug.cgi?id=43756 11818 11819 This synchronizes the feature defines to what's currently downstream (at r55468). 11820 The difference between the build.webkit.org bots and the chromium bots has 11821 caused strange compilation failures lately. 11822 11823 * features.gypi: 11824 11825 2010-08-10 Yury Semikhatsky <yurys (a] chromium.org> 11826 11827 Reviewed by Pavel Feldman. 11828 11829 Web Inspector: get rid of utility context 11830 https://bugs.webkit.org/show_bug.cgi?id=43787 11831 11832 * public/WebDevToolsAgentClient.h: 11833 * src/DebuggerAgentImpl.cpp: 11834 * src/DebuggerAgentImpl.h: 11835 * src/WebDevToolsAgentImpl.cpp: 11836 (WebKit::): 11837 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl): 11838 (WebKit::WebDevToolsAgentImpl::attach): 11839 (WebKit::WebDevToolsAgentImpl::detach): 11840 (WebKit::WebDevToolsAgentImpl::frontendLoaded): 11841 (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled): 11842 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 11843 * src/WebDevToolsAgentImpl.h: 11844 11845 2010-08-10 Yury Semikhatsky <yurys (a] chromium.org> 11846 11847 Reviewed by Pavel Feldman. 11848 11849 Web Inspector, Chromium: reloading of inspected page hits assert in InspectorController::enableDebuggerFromFrontend() 11850 https://bugs.webkit.org/show_bug.cgi?id=43780 11851 11852 * src/WebDevToolsAgentImpl.cpp: 11853 (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled): 11854 11855 2010-08-10 Hans Wennborg <hans (a] chromium.org> 11856 11857 Reviewed by Jeremy Orlow. 11858 11859 Implement chromium WebDeviceOrientationClient wrapper and have WebViewImpl get it from WebViewClient. 11860 https://bugs.webkit.org/show_bug.cgi?id=43258 11861 11862 Provide a DeviceOrientationClient to Page by means of a 11863 DeviceOrientationClientProxy that proxies calls to 11864 a WebDeviceOrientationClient, an interface that can be implemented 11865 in the WebKit or Chromium layer. An implementation to be used for 11866 layout tests, wrapping DeviceOrientationClientMock, is provided. 11867 11868 11869 * WebKit.gyp: 11870 * public/WebDeviceOrientation.h: Added. 11871 (WebKit::WebDeviceOrientation::WebDeviceOrientation): 11872 * public/WebDeviceOrientationClient.h: Added. 11873 (WebKit::WebDeviceOrientationClient::~WebDeviceOrientationClient): 11874 * public/WebDeviceOrientationClientMock.h: Added. 11875 (WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock): 11876 (WebKit::WebDeviceOrientationClientMock::~WebDeviceOrientationClientMock): 11877 * public/WebDeviceOrientationController.h: Added. 11878 (WebKit::WebDeviceOrientationController::WebDeviceOrientationController): 11879 * public/WebViewClient.h: 11880 (WebKit::WebViewClient::deviceOrientationClient): 11881 * src/DeviceOrientationClientProxy.cpp: Added. 11882 (WebKit::DeviceOrientationClientProxy::setController): 11883 (WebKit::DeviceOrientationClientProxy::startUpdating): 11884 (WebKit::DeviceOrientationClientProxy::stopUpdating): 11885 (WebKit::DeviceOrientationClientProxy::lastOrientation): 11886 * src/DeviceOrientationClientProxy.h: Added. 11887 (WebKit::DeviceOrientationClientProxy::DeviceOrientationClientProxy): 11888 * src/WebDeviceOrientation.cpp: Added. 11889 (WebKit::WebDeviceOrientation::WebDeviceOrientation): 11890 (WebKit::WebDeviceOrientation::operator=): 11891 (WebKit::WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientation>): 11892 * src/WebDeviceOrientationClientMock.cpp: Added. 11893 (WebKit::WebDeviceOrientationClientMock::setController): 11894 (WebKit::WebDeviceOrientationClientMock::startUpdating): 11895 (WebKit::WebDeviceOrientationClientMock::stopUpdating): 11896 (WebKit::WebDeviceOrientationClientMock::lastOrientation): 11897 (WebKit::WebDeviceOrientationClientMock::setOrientation): 11898 (WebKit::WebDeviceOrientationClientMock::initialize): 11899 (WebKit::WebDeviceOrientationClientMock::reset): 11900 * src/WebDeviceOrientationController.cpp: Added. 11901 (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation): 11902 (WebKit::WebDeviceOrientationController::controller): 11903 * src/WebViewImpl.cpp: 11904 (WebKit::WebView::create): 11905 (WebKit::WebViewImpl::WebViewImpl): 11906 * src/WebViewImpl.h: 11907 11908 2010-08-10 Sheriff Bot <webkit.review.bot (a] gmail.com> 11909 11910 Unreviewed, rolling out r64988. 11911 http://trac.webkit.org/changeset/64988 11912 https://bugs.webkit.org/show_bug.cgi?id=43775 11913 11914 "It seems to break chromium's ui_tests" (Requested by hamaji 11915 on #webkit). 11916 11917 * public/WebFrameClient.h: 11918 * src/FrameLoaderClientImpl.cpp: 11919 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 11920 11921 2010-08-10 Yury Semikhatsky <yurys (a] chromium.org> 11922 11923 Unreviewed. Remove references to deleted header InspectorFrontend.h 11924 11925 * src/WebDevToolsAgentImpl.cpp: 11926 11927 2010-08-10 Yury Semikhatsky <yurys (a] chromium.org> 11928 11929 Unreviewed. Fix Chromium compilation. 11930 11931 * src/WebDevToolsAgentImpl.cpp: 11932 (WebKit::WebDevToolsAgentImpl::frontendLoaded): 11933 11934 2010-08-09 Gavin Barraclough <barraclough (a] apple.com> 11935 11936 Speculative chromium build fix V. 11937 11938 * tests/KURLTest.cpp: 11939 (ComponentCase::TEST): 11940 11941 2010-08-09 Gavin Barraclough <barraclough (a] apple.com> 11942 11943 Speculative chromium build fix IV. 11944 11945 * src/WebPageSerializerImpl.h: 11946 11947 2010-08-09 Gavin Barraclough <barraclough (a] apple.com> 11948 11949 Speculative chromium build fix II. 11950 11951 * src/AssertMatchingEnums.cpp: 11952 11953 2010-08-09 Gavin Barraclough <barraclough (a] apple.com> 11954 11955 Speculative chromium build fix. 11956 11957 * public/WebCString.h: 11958 11959 2010-08-06 Gavin Barraclough <barraclough (a] apple.com> 11960 11961 Rubber stamped by Sam Weinig 11962 11963 Bug 43594 - Add string forwards to Forward.h 11964 This allows us to remove forward declarations for these classes from 11965 WebCore/WebKit (a step in moving these class from WebCore:: to WTF::). 11966 11967 * public/WebCString.h: 11968 * public/WebString.h: 11969 * src/DOMUtilitiesPrivate.h: 11970 * src/DebuggerAgentImpl.h: 11971 * src/DebuggerAgentManager.h: 11972 * src/WebDevToolsAgentImpl.h: 11973 * src/WebDevToolsFrontendImpl.h: 11974 * src/WebPageSerializerImpl.h: 11975 11976 2010-08-09 Vangelis Kokkevis <vangelis (a] chromium.org> 11977 11978 Reviewed by Dimitri Glazkov. 11979 11980 Skip the slow software rendering path of GraphicsContext3D if accelerated 11981 compositing is active. This fixes an issue with WebGL and the compositor 11982 in which the software rendering of WebGL would cause the current GL context 11983 to change while the compositor was processing layers. Tested by running 11984 several WebGL samples both with the compositor enabled and disabled. 11985 https://bugs.webkit.org/show_bug.cgi?id=43644 11986 11987 * src/GraphicsContext3D.cpp: 11988 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 11989 (WebCore::GraphicsContext3DInternal::initialize): 11990 (WebCore::GraphicsContext3DInternal::beginPaint): 11991 11992 2010-08-06 James Hawkins <jhawkins (a] chromium.org> 11993 11994 Reviewed by Dimitri Glazkov. 11995 11996 [Chromium] Notify the WebFrameClient when the frame is detached from 11997 the view. This is used to clear the cached frame in the FormManager. 11998 Eventually this will be removed once handling forms is moved into 11999 WebCore. 12000 https://bugs.webkit.org/show_bug.cgi?id=43648 12001 12002 * public/WebFrameClient.h: 12003 (WebKit::WebFrameClient::frameDetached): 12004 * src/FrameLoaderClientImpl.cpp: 12005 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 12006 12007 2010-08-09 Pavel Feldman <pfeldman (a] chromium.org> 12008 12009 Not reviewed: Chromium tests fix. 12010 12011 Chromium: provisional interactive ui tests fix. 12012 12013 * src/js/Tests.js: 12014 (.TestSuite.prototype.testShowStoragePanel.this): 12015 (.TestSuite.prototype.testShowStoragePanel): 12016 12017 2010-08-09 Pavel Feldman <pfeldman (a] chromium.org> 12018 12019 Not reviewed. Chromium tests fix. 12020 12021 Disable runtime switch for device motion in chromium. 12022 https://bugs.webkit.org/show_bug.cgi?id=43717 12023 12024 * src/WebViewImpl.cpp: 12025 (WebKit::WebView::create): 12026 12027 2010-08-09 Pavel Feldman <pfeldman (a] chromium.org> 12028 12029 Reviewed by Yury Semikhatsky. 12030 12031 Chromium: Remove temporary device motion fix. 12032 12033 https://bugs.webkit.org/show_bug.cgi?id=43713 12034 12035 * src/WebRuntimeFeatures.cpp: 12036 (WebKit::WebRuntimeFeatures::enableDeviceOrientation): 12037 12038 2010-08-07 Jay Civelli <jcivelli (a] chromium.org> 12039 12040 Reviewed by Eric Seidel. 12041 12042 Removed unecessary focus code. 12043 https://bugs.webkit.org/show_bug.cgi?id=43542 12044 12045 * src/ChromiumBridge.cpp: 12046 12047 2010-08-06 Victor Wang <victorw (a] chromium.org> 12048 12049 Reviewed by Kent Tamura. 12050 12051 [Chromium] Add dllimport/dllexport to WebSpeechInputControllerMock::create 12052 so it works for windows dll build. 12053 12054 https://bugs.webkit.org/show_bug.cgi?id=43627 12055 12056 * public/WebSpeechInputControllerMock.h: 12057 12058 2010-08-06 James Robinson <jamesr (a] chromium.org> 12059 12060 Reviewed by Simon Fraser. 12061 12062 Composited canvas should be treated the same by the compositor and not be WebGL specific 12063 https://bugs.webkit.org/show_bug.cgi?id=43589 12064 12065 Initializes the platformLayer as a CanvasLayerChromium, not a WebGLLayerChromium. 12066 The layer itself isn't WebGL-specific. 12067 12068 * src/GraphicsContext3D.cpp: 12069 (WebCore::GraphicsContext3DInternal::initialize): 12070 (WebCore::GraphicsContext3DInternal::platformLayer): 12071 (WebCore::GraphicsContext3D::platformLayer): 12072 12073 2010-08-06 Jessie Berlin <jberlin (a] apple.com> 12074 12075 Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build. 12076 Unreviewed. 12077 12078 * public/WebCString.h: 12079 * public/WebString.h: 12080 * src/DOMUtilitiesPrivate.h: 12081 * src/DebuggerAgentImpl.h: 12082 * src/DebuggerAgentManager.h: 12083 * src/WebDevToolsAgentImpl.h: 12084 * src/WebDevToolsFrontendImpl.h: 12085 * src/WebPageSerializerImpl.h: 12086 12087 2010-08-06 Pavel Feldman <pfeldman (a] chromium.org> 12088 12089 Reviewed by Yury Semikhatsky. 12090 12091 Chromium: disable device motion by default. 12092 12093 https://bugs.webkit.org/show_bug.cgi?id=43623 12094 12095 * public/WebRuntimeFeatures.h: 12096 * src/WebRuntimeFeatures.cpp: 12097 (WebKit::WebRuntimeFeatures::enableDeviceMotion): 12098 (WebKit::WebRuntimeFeatures::isDeviceMotionEnabled): 12099 (WebKit::WebRuntimeFeatures::enableDeviceOrientation): 12100 12101 2010-08-06 Kavita Kanetkar <kkanetkar (a] chromium.org> 12102 12103 Reviewed by Joseph Pecoraro. 12104 12105 Web Inspector: Remove "Online/Offline" icon for Chrome's appcache devtools UI. 12106 https://bugs.webkit.org/show_bug.cgi?id=43450 12107 12108 * src/js/DevTools.js: 12109 (WebInspector.loaded): 12110 12111 2010-08-05 Marcus Bulach <bulach (a] chromium.org> 12112 12113 Reviewed by Jeremy Orlow. 12114 12115 Initial bindings and plumbing for IDBCursor. 12116 https://bugs.webkit.org/show_bug.cgi?id=41888 12117 12118 Test: storage/indexeddb/idb-opencursor.html 12119 12120 * WebKit.gyp: 12121 * public/WebIDBCallbacks.h: 12122 (WebKit::WebIDBCallbacks::onSuccess): 12123 * public/WebIDBCursor.h: Added. 12124 (WebKit::WebIDBCursor::~WebIDBCursor): 12125 (WebKit::WebIDBCursor::direction): 12126 (WebKit::WebIDBCursor::key): 12127 (WebKit::WebIDBCursor::value): 12128 (WebKit::WebIDBCursor::update): 12129 (WebKit::WebIDBCursor::continueFunction): 12130 (WebKit::WebIDBCursor::remove): 12131 * public/WebIDBKeyRange.h: Added. 12132 (WebKit::WebIDBKeyRange::~WebIDBKeyRange): 12133 (WebKit::WebIDBKeyRange::WebIDBKeyRange): 12134 * public/WebIDBObjectStore.h: 12135 (WebKit::WebIDBObjectStore::openCursor): 12136 * src/IDBCallbacksProxy.cpp: 12137 (WebCore::IDBCallbacksProxy::onSuccess): 12138 * src/IDBCallbacksProxy.h: 12139 * src/IDBCursorBackendProxy.cpp: Added. 12140 (WebCore::IDBCursorBackendProxy::create): 12141 (WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy): 12142 (WebCore::IDBCursorBackendProxy::~IDBCursorBackendProxy): 12143 (WebCore::IDBCursorBackendProxy::direction): 12144 (WebCore::IDBCursorBackendProxy::key): 12145 (WebCore::IDBCursorBackendProxy::value): 12146 (WebCore::IDBCursorBackendProxy::update): 12147 (WebCore::IDBCursorBackendProxy::continueFunction): 12148 (WebCore::IDBCursorBackendProxy::remove): 12149 * src/IDBCursorBackendProxy.h: Added. 12150 * src/IDBObjectStoreProxy.cpp: 12151 (WebCore::IDBObjectStoreProxy::openCursor): 12152 * src/IDBObjectStoreProxy.h: 12153 * src/WebIDBCallbacksImpl.cpp: 12154 (WebCore::WebIDBCallbacksImpl::onSuccess): 12155 * src/WebIDBCallbacksImpl.h: 12156 * src/WebIDBCursorImpl.cpp: Added. 12157 (WebKit::WebIDBCursorImpl::WebIDBCursorImpl): 12158 (WebKit::WebIDBCursorImpl::~WebIDBCursorImpl): 12159 (WebKit::WebIDBCursorImpl::direction): 12160 (WebKit::WebIDBCursorImpl::key): 12161 (WebKit::WebIDBCursorImpl::value): 12162 (WebKit::WebIDBCursorImpl::update): 12163 (WebKit::WebIDBCursorImpl::continueFunction): 12164 (WebKit::WebIDBCursorImpl::remove): 12165 * src/WebIDBCursorImpl.h: Added. 12166 * src/WebIDBKeyRange.cpp: Added. 12167 (WebKit::WebIDBKeyRange::WebIDBKeyRange): 12168 (WebKit::WebIDBKeyRange::assign): 12169 (WebKit::WebIDBKeyRange::reset): 12170 (WebKit::WebIDBKeyRange::left): 12171 (WebKit::WebIDBKeyRange::right): 12172 (WebKit::WebIDBKeyRange::flags): 12173 * src/WebIDBObjectStoreImpl.cpp: 12174 (WebKit::WebIDBObjectStoreImpl::openCursor): 12175 * src/WebIDBObjectStoreImpl.h: 12176 12177 2010-08-05 Andrei Popescu <andreip (a] dhcp-172-16-14-12.lon.corp.google.com> 12178 12179 Reviewed by Jeremy Orlow. 12180 12181 [IndexedDB] IndexedDB is missing the Transaction interface. 12182 https://bugs.webkit.org/show_bug.cgi?id=42970 12183 12184 Add IDBTransaction boilerplate. 12185 12186 * src/IDBDatabaseProxy.cpp: 12187 (WebCore::IDBDatabaseProxy::transaction): 12188 * src/IDBDatabaseProxy.h: 12189 12190 2010-08-05 Gavin Barraclough <barraclough (a] apple.com> 12191 12192 Rubber stamped by Sam Weinig 12193 12194 Bug 43594 - Add string forwards to Forward.h 12195 This allows us to remove forward declarations for these classes from 12196 WebCore/WebKit (a step in moving these class from WebCore:: to WTF::). 12197 12198 * public/WebCString.h: 12199 * public/WebString.h: 12200 * src/DOMUtilitiesPrivate.h: 12201 * src/DebuggerAgentImpl.h: 12202 * src/DebuggerAgentManager.h: 12203 * src/WebDevToolsAgentImpl.h: 12204 * src/WebDevToolsFrontendImpl.h: 12205 * src/WebPageSerializerImpl.h: 12206 12207 2010-08-05 Brett Wilson <brettw (a] chromium.org> 12208 12209 Reviewed by Nate Chapin. 12210 12211 Make the webkit unit tests depend on test_support_base 12212 https://bugs.webkit.org/show_bug.cgi?id=43584 12213 12214 * WebKit.gyp: 12215 12216 2010-08-04 Kenneth Russell <kbr (a] google.com> 12217 12218 Reviewed by Dimitri Glazkov. 12219 12220 Style cleanups in WebGL 12221 https://bugs.webkit.org/show_bug.cgi?id=38761 12222 12223 Cleaned up all style violations in WebGL-related files reported by 12224 check-webkit-style. No logic or other changes. Built WebKit and 12225 Chromium and ran WebGL layout tests. 12226 12227 * src/GraphicsContext3D.cpp: 12228 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 12229 * src/WebGraphicsContext3DDefaultImpl.cpp: 12230 * src/WebGraphicsContext3DDefaultImpl.h: 12231 12232 2010-08-05 Jian Li <jianli (a] chromium.org> 12233 12234 Reviewed by David Levin. 12235 12236 Unify blob related feature defines to ENABLE(BLOB). 12237 https://bugs.webkit.org/show_bug.cgi?id=43081 12238 12239 * features.gypi: 12240 * src/WebHTTPBody.cpp: 12241 (WebKit::WebHTTPBody::elementAt): 12242 (WebKit::WebHTTPBody::appendFileRange): 12243 12244 2010-08-05 Nico Weber <thakis (a] chromium.org> 12245 12246 Reviewed by Jeremy Orlow. 12247 12248 Remove useless const on return-by-value (fixes a clang warning) 12249 https://bugs.webkit.org/show_bug.cgi?id=43491 12250 12251 * src/WebInputEventConversion.cpp: 12252 (WebKit::toPlatformKeyboardEventType): 12253 12254 2010-08-05 Satish Sampath <satish (a] chromium.org> 12255 12256 Reviewed by Jeremy Orlow. 12257 12258 Add speech input controller mock in WebKit and a layout test. 12259 https://bugs.webkit.org/show_bug.cgi?id=43477 12260 12261 * WebKit.gyp: 12262 * public/WebSpeechInputControllerMock.h: Added WebKit speech input controller mock interface. 12263 * src/WebSpeechInputControllerMockImpl.cpp: Added implementation of the above mock. 12264 (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl): 12265 (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult): 12266 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording): 12267 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition): 12268 (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult): 12269 (WebKit::WebSpeechInputControllerMockImpl::startRecognition): 12270 (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition): 12271 (WebKit::WebSpeechInputControllerMockImpl::stopRecording): 12272 (WebKit::WebSpeechInputControllerMock::create): 12273 12274 2010-08-05 Pavel Feldman <pfeldman (a] chromium.org> 12275 12276 Reviewed by Yury Semikhatsky. 12277 12278 Chromium DevTools: [REGRESSION] Frame navigation is not handled in devtools. 12279 12280 https://bugs.webkit.org/show_bug.cgi?id=43556 12281 12282 * src/WebDevToolsAgentImpl.cpp: 12283 (WebKit::): 12284 (WebKit::WebDevToolsAgentImpl::detach): 12285 (WebKit::WebDevToolsAgentImpl::frontendLoaded): 12286 (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled): 12287 12288 2010-08-05 John Gregg <johnnyg (a] google.com> 12289 12290 Reviewed by Darin Fisher. 12291 12292 [chromium] WebFileChooserParams should have default constructor 12293 https://bugs.webkit.org/show_bug.cgi?id=43435 12294 12295 * public/WebFileChooserParams.h: 12296 (WebKit::WebFileChooserParams::WebFileChooserParams): 12297 12298 2010-08-05 Victoria Kirst <vrk (a] google.com> 12299 12300 Reviewed by David Levin. 12301 12302 Added a repaint request so that VideoLayerChromium does not have 12303 a flickering problem when playing video. 12304 https://bugs.webkit.org/show_bug.cgi?id=43101 12305 12306 * src/WebMediaPlayerClientImpl.cpp: 12307 (WebKit::WebMediaPlayerClientImpl::repaint): 12308 12309 2010-08-05 Pavel Feldman <pfeldman (a] chromium.org> 12310 12311 Reviewed by Yury Semikhatsky. 12312 12313 DevTools: get rid of delayed command dispatching on front-end side. 12314 12315 https://bugs.webkit.org/show_bug.cgi?id=43479 12316 12317 * public/WebDevToolsFrontendClient.h: 12318 (WebKit::WebDevToolsFrontendClient::sendFrontendLoaded): 12319 * src/WebDevToolsAgentImpl.cpp: 12320 (WebKit::WebDevToolsAgentImpl::attach): 12321 (WebKit::WebDevToolsAgentImpl::frontendLoaded): 12322 * src/WebDevToolsAgentImpl.h: 12323 * src/WebDevToolsFrontendImpl.cpp: 12324 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend): 12325 (WebKit::WebDevToolsFrontendImpl::frontendLoaded): 12326 * src/WebDevToolsFrontendImpl.h: 12327 * src/js/DevTools.js: 12328 (WebInspector.doLoadedDone): 12329 * src/js/Tests.js: 12330 (.uiTests.runTest): 12331 (.): 12332 12333 2010-08-02 Kenneth Russell <kbr (a] google.com> 12334 12335 Reviewed by Dimitri Glazkov. 12336 12337 Port Chromium's accelerated compositing to Mac OS X 12338 https://bugs.webkit.org/show_bug.cgi?id=43398 12339 12340 * public/WebGLES2Context.h: 12341 - Added resizeOnscreenContent, needed on Mac OS X to report 12342 window size changes. 12343 * src/WebViewImpl.cpp: 12344 (WebKit::WebViewImpl::resize): 12345 - Send resize notification to the WebGLES2Context. 12346 (WebKit::WebViewImpl::updateRootLayerContents): 12347 - Ported to Core Graphics. 12348 (WebKit::WebViewImpl::gles2Context): 12349 - Added initial size notification upon context creation. 12350 12351 2010-08-04 Pavel Feldman <pfeldman (a] chromium.org> 12352 12353 Reviewed by Yury Semikhatsky. 12354 12355 DevTools: get rid of delayed command dispatching on front-end side. 12356 12357 https://bugs.webkit.org/show_bug.cgi?id=43479 12358 12359 * public/WebDevToolsAgent.h: 12360 * src/WebDevToolsAgentImpl.cpp: 12361 (WebKit::WebDevToolsAgentImpl::frontendLoaded): 12362 * src/WebDevToolsAgentImpl.h: 12363 12364 2010-08-03 James Robinson <jamesr (a] chromium.org> 12365 12366 Reviewed by Darin Fisher. 12367 12368 Move WebGL-specific code out of GraphicsContext3D so that G3D can be used as a generic accelerated drawing API 12369 https://bugs.webkit.org/show_bug.cgi?id=43221 12370 12371 Implements functions in term of Platform3DObjects instead of WebGL types. 12372 12373 * src/GraphicsContext3D.cpp: 12374 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): 12375 (WebCore::GraphicsContext3DInternal::beginPaint): 12376 (WebCore::GraphicsContext3DInternal::bindAttribLocation): 12377 (WebCore::GraphicsContext3DInternal::getActiveAttrib): 12378 (WebCore::GraphicsContext3DInternal::getActiveUniform): 12379 (WebCore::GraphicsContext3DInternal::getAttribLocation): 12380 (WebCore::GraphicsContext3DInternal::getProgramInfoLog): 12381 (WebCore::GraphicsContext3DInternal::getShaderInfoLog): 12382 (WebCore::GraphicsContext3DInternal::getShaderSource): 12383 (WebCore::GraphicsContext3DInternal::getUniformLocation): 12384 (WebCore::GraphicsContext3DInternal::shaderSource): 12385 12386 2010-08-03 Dimitri Glazkov <dglazkov (a] chromium.org> 12387 12388 Unreviewed, build fix. 12389 12390 Roll chromium to 54723 to unbreak the builds. 12391 12392 * DEPS: 12393 12394 2010-08-03 Andrei Popescu <andreip (a] google.com> 12395 12396 Reviewed by Jeremy Orlow. 12397 12398 [IndexedDB] IDBObjectStoreRequest should be called IDBObjectStore 12399 https://bugs.webkit.org/show_bug.cgi?id=43420 12400 12401 * src/IDBCallbacksProxy.cpp: 12402 (WebCore::IDBCallbacksProxy::onSuccess): 12403 * src/IDBCallbacksProxy.h: 12404 * src/IDBDatabaseProxy.cpp: 12405 (WebCore::IDBDatabaseProxy::objectStore): 12406 * src/IDBDatabaseProxy.h: 12407 * src/IDBObjectStoreProxy.cpp: 12408 (WebCore::IDBObjectStoreProxy::create): 12409 * src/IDBObjectStoreProxy.h: 12410 * src/WebIDBObjectStoreImpl.cpp: 12411 (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl): 12412 * src/WebIDBObjectStoreImpl.h: 12413 12414 2010-08-03 Yury Semikhatsky <yurys (a] chromium.org> 12415 12416 Unreviewed. Fix Chromium interactive UI tests. 12417 12418 * src/js/Tests.js: 12419 (.TestSuite.prototype.testResourceHeaders): 12420 12421 2010-07-30 Andrei Popescu <andreip (a] dhcp-172-16-14-12.lon.corp.google.com> 12422 12423 Reviewed by Jeremy Orlow. 12424 12425 Rename IDBDatabaseRequest to IDBDatabase 12426 https://bugs.webkit.org/show_bug.cgi?id=43250 12427 12428 * src/IDBCallbacksProxy.cpp: 12429 (WebCore::IDBCallbacksProxy::onSuccess): 12430 * src/IDBCallbacksProxy.h: 12431 * src/IDBDatabaseProxy.cpp: 12432 (WebCore::IDBDatabaseProxy::create): 12433 * src/IDBDatabaseProxy.h: 12434 * src/WebIDBDatabaseImpl.cpp: 12435 (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl): 12436 (WebKit::WebIDBDatabaseImpl::name): 12437 (WebKit::WebIDBDatabaseImpl::description): 12438 (WebKit::WebIDBDatabaseImpl::version): 12439 (WebKit::WebIDBDatabaseImpl::objectStores): 12440 (WebKit::WebIDBDatabaseImpl::createObjectStore): 12441 (WebKit::WebIDBDatabaseImpl::objectStore): 12442 (WebKit::WebIDBDatabaseImpl::removeObjectStore): 12443 * src/WebIDBDatabaseImpl.h: 12444 12445 2010-08-02 Pavel Feldman <pfeldman (a] chromium.org> 12446 12447 Reviewed by Yury Semikhatsky. 12448 12449 Chromium DevTools: Get rid of DevTools RPC. 12450 12451 https://bugs.webkit.org/show_bug.cgi?id=43335 12452 12453 * WebKit.gyp: 12454 * public/WebDevToolsAgent.h: 12455 * public/WebDevToolsAgentClient.h: 12456 (WebKit::WebDevToolsAgentClient::sendMessageToInspectorFrontend): 12457 (WebKit::WebDevToolsAgentClient::sendDebuggerOutput): 12458 (WebKit::WebDevToolsAgentClient::sendDispatchToAPU): 12459 * public/WebDevToolsFrontend.h: 12460 * public/WebDevToolsFrontendClient.h: 12461 (WebKit::WebDevToolsFrontendClient::sendMessageToBackend): 12462 * public/WebDevToolsMessageData.h: Removed. 12463 * public/WebDevToolsMessageTransport.h: Removed. 12464 * src/APUAgentDelegate.h: Removed. 12465 * src/DebuggerAgent.h: Removed. 12466 * src/DebuggerAgentImpl.cpp: 12467 (WebKit::DebuggerAgentImpl::DebuggerAgentImpl): 12468 (WebKit::DebuggerAgentImpl::debuggerOutput): 12469 * src/DebuggerAgentImpl.h: 12470 * src/DebuggerAgentManager.cpp: 12471 (WebKit::DebuggerAgentManager::debugDetach): 12472 (WebKit::DebuggerAgentManager::onV8DebugMessage): 12473 (WebKit::DebuggerAgentManager::executeDebuggerCommand): 12474 (WebKit::DebuggerAgentManager::sendCommandToV8): 12475 (WebKit::DebuggerAgentManager::sendContinueCommandToV8): 12476 * src/DevToolsRPC.h: Removed. 12477 * src/DevToolsRPCJS.h: Removed. 12478 * src/InspectorClientImpl.cpp: 12479 * src/InspectorFrontendClientImpl.cpp: 12480 (WebKit::InspectorFrontendClientImpl::sendMessageToBackend): 12481 * src/ProfilerAgent.h: Removed. 12482 * src/ProfilerAgentImpl.cpp: Removed. 12483 * src/ProfilerAgentImpl.h: Removed. 12484 * src/ToolsAgent.h: Removed. 12485 * src/WebDevToolsAgentImpl.cpp: 12486 (WebKit::): 12487 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl): 12488 (WebKit::WebDevToolsAgentImpl::attach): 12489 (WebKit::WebDevToolsAgentImpl::didClearWindowObject): 12490 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorBackend): 12491 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient): 12492 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend): 12493 * src/WebDevToolsAgentImpl.h: 12494 * src/WebDevToolsFrontendImpl.cpp: 12495 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 12496 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend): 12497 (WebKit::WebDevToolsFrontendImpl::frontendLoaded): 12498 (WebKit::WebDevToolsFrontendImpl::executeScript): 12499 * src/WebDevToolsFrontendImpl.h: 12500 * src/js/DevTools.js: 12501 (devtools.dispatch): 12502 (devtools.ToolsAgent): 12503 * src/js/DevToolsHostStub.js: 12504 * src/js/ProfilerAgent.js: 12505 (devtools.ProfilerAgent): 12506 (devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest): 12507 (devtools.ProfilerAgent.prototype._getNextLogLines): 12508 (devtools.ProfilerAgent.prototype._didGetProfilerLogLines): 12509 * src/js/ProfilerProcessor.js: 12510 (devtools.profiler.Processor.prototype.printError): 12511 12512 2010-08-02 Kent Tamura <tkent (a] chromium.org> 12513 12514 Reviewed by Dimitri Glazkov. 12515 12516 [DRT/Chromium] Remove dependencies to some Chromium headers 12517 https://bugs.webkit.org/show_bug.cgi?id=43396 12518 12519 * DEPS: Update Chromium revision to 54649 in order to have a 12520 webkit_support change (r54646) 12521 12522 2010-07-27 Luiz Agostini <luiz.agostini (a] openbossa.org> 12523 12524 Reviewed by Darin Fisher. 12525 12526 PopupMenu refactoring in preparation to WebKit2 12527 https://bugs.webkit.org/show_bug.cgi?id=42592 12528 12529 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu 12530 instances, concrete classes that inherit from ChromeClient needed to be changed to 12531 implement the new methods. 12532 12533 * src/ChromeClientImpl.cpp: 12534 (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural): 12535 (WebKit::ChromeClientImpl::createPopupMenu): 12536 (WebKit::ChromeClientImpl::createSearchPopupMenu): 12537 * src/ChromeClientImpl.h: 12538 12539 2010-08-02 Kent Tamura <tkent (a] chromium.org> 12540 12541 Reviewed by Dimitri Glazkov. 12542 12543 [DRT/Chromium] Always initialize GTK 12544 https://bugs.webkit.org/show_bug.cgi?id=43327 12545 12546 * WebKit.gyp: Add GTK dependency for DRT. 12547 12548 2010-08-02 Jeremy Orlow <jorlow (a] chromium.org> 12549 12550 Speculative revert of 64425 due to Chromium instability 12551 https://bugs.webkit.org/show_bug.cgi?id=43347 12552 12553 * src/ChromeClientImpl.cpp: 12554 * src/ChromeClientImpl.h: 12555 * tests/PopupMenuTest.cpp: 12556 (WebKit::SelectPopupMenuTest::SetUp): 12557 12558 2010-07-27 Luiz Agostini <luiz.agostini (a] openbossa.org> 12559 12560 Reviewed by Darin Fisher. 12561 12562 PopupMenu refactoring in preparation to WebKit2 12563 https://bugs.webkit.org/show_bug.cgi?id=42592 12564 12565 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu 12566 instances, concrete classes that inherit from ChromeClient needed to be changed to 12567 implement the new methods. 12568 12569 * src/ChromeClientImpl.cpp: 12570 (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural): 12571 (WebKit::ChromeClientImpl::createPopupMenu): 12572 (WebKit::ChromeClientImpl::createSearchPopupMenu): 12573 * src/ChromeClientImpl.h: 12574 12575 2010-07-31 Sheriff Bot <webkit.review.bot (a] gmail.com> 12576 12577 Unreviewed, rolling out r64422. 12578 http://trac.webkit.org/changeset/64422 12579 https://bugs.webkit.org/show_bug.cgi?id=43304 12580 12581 Build fixes are needed for Snow Leopard and Windows. 12582 (Requested by lca on #webkit). 12583 12584 * src/ChromeClientImpl.cpp: 12585 * src/ChromeClientImpl.h: 12586 12587 2010-07-27 Luiz Agostini <luiz.agostini (a] openbossa.org> 12588 12589 Reviewed by Darin Fisher. 12590 12591 PopupMenu refactoring in preparation to WebKit2 12592 https://bugs.webkit.org/show_bug.cgi?id=42592 12593 12594 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu 12595 instances, concrete classes that inherit from ChromeClient needed to be changed to 12596 implement the new methods. 12597 12598 * src/ChromeClientImpl.cpp: 12599 (WebKit::ChromeClientImpl::selectItemWritingDirectionIsNatural): 12600 (WebKit::ChromeClientImpl::createPopupMenu): 12601 (WebKit::ChromeClientImpl::createSearchPopupMenu): 12602 * src/ChromeClientImpl.h: 12603 12604 2010-07-30 Joseph Pecoraro <joepeck (a] webkit.org> 12605 12606 Reviewed by David Kilzer. 12607 12608 Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas) 12609 https://bugs.webkit.org/show_bug.cgi?id=40627 12610 12611 * src/ChromeClientImpl.cpp: 12612 (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota): 12613 * src/ChromeClientImpl.h: 12614 12615 2010-07-30 James Robinson <jamesr (a] chromium.org> 12616 12617 Compile fix. Put GLES2 functions behind USE(GLES2_RENDERING) instead of 12618 USE(ACCELERATED_COMPOSITING) to match WebCore. Fixes the compile when 12619 USE(GLES2_RENDERING) is true and USE(ACCELERATED_COMPOSITING) is false. 12620 12621 * src/ChromeClientImpl.cpp: 12622 * src/ChromeClientImpl.h: 12623 12624 2010-07-27 Darin Fisher <darin (a] chromium.org> 12625 12626 Reviewed by Brady Eidson. 12627 12628 History.pushState() + navigation operates on top frame when called from 12629 nested context 12630 https://bugs.webkit.org/show_bug.cgi?id=43080 12631 12632 * src/FrameLoaderClientImpl.cpp: 12633 (WebKit::FrameLoaderClientImpl::pluginLoadObserver): The WebDataSource 12634 can be null if the Frame has already been detached from the Page. This 12635 happens if a popstate event handler removes the frame. 12636 12637 2010-07-29 Jeremy Orlow <jorlow (a] chromium.org> 12638 12639 Reviewed by Steve Block. 12640 12641 Rename all the IDBIndex classses to match the latest conventions 12642 https://bugs.webkit.org/show_bug.cgi?id=43190 12643 12644 Fix up stuff in WebKit layer to handle the renamings in WebCore. 12645 12646 * WebKit.gyp: 12647 * src/IDBCallbacksProxy.cpp: 12648 (WebCore::IDBCallbacksProxy::onSuccess): 12649 * src/IDBCallbacksProxy.h: 12650 * src/IDBIndexBackendProxy.cpp: Added. 12651 (WebCore::IDBIndexBackendProxy::create): 12652 (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy): 12653 (WebCore::IDBIndexBackendProxy::~IDBIndexBackendProxy): 12654 (WebCore::IDBIndexBackendProxy::name): 12655 (WebCore::IDBIndexBackendProxy::keyPath): 12656 (WebCore::IDBIndexBackendProxy::unique): 12657 * src/IDBIndexBackendProxy.h: Added. 12658 * src/IDBIndexProxy.cpp: Removed. 12659 * src/IDBIndexProxy.h: Removed. 12660 * src/IDBObjectStoreProxy.cpp: 12661 (WebCore::IDBObjectStoreProxy::index): 12662 * src/IDBObjectStoreProxy.h: 12663 * src/WebIDBCallbacksImpl.cpp: 12664 (WebCore::WebIDBCallbacksImpl::onSuccess): 12665 * src/WebIDBIndexImpl.cpp: 12666 (WebKit::WebIDBIndexImpl::WebIDBIndexImpl): 12667 (WebKit::WebIDBIndexImpl::name): 12668 (WebKit::WebIDBIndexImpl::keyPath): 12669 (WebKit::WebIDBIndexImpl::unique): 12670 * src/WebIDBIndexImpl.h: 12671 * src/WebIDBObjectStoreImpl.cpp: 12672 (WebKit::WebIDBObjectStoreImpl::index): 12673 12674 2010-07-30 Satish Sampath <satish (a] chromium.org> 12675 12676 Reviewed by Jeremy Orlow. 12677 12678 Add a check for WebViewClient being null. 12679 https://bugs.webkit.org/show_bug.cgi?id=43240 12680 12681 * src/SpeechInputClientImpl.cpp: 12682 (WebKit::SpeechInputClientImpl::SpeechInputClientImpl): 12683 12684 2010-07-30 Hans Wennborg <hans (a] chromium.org> 12685 12686 Reviewed by Steve Block. 12687 12688 Disable runtime switch for device orientation in chromium 12689 https://bugs.webkit.org/show_bug.cgi?id=43237 12690 12691 Explicitly set the runtime switch for device orientation 12692 in WebView::create until we implement the feature. 12693 If the flag is accidentally on while no DeviceOrientationClient 12694 is provided, the program will crash. 12695 12696 * src/WebViewImpl.cpp: 12697 (WebKit::WebView::create): 12698 12699 2010-07-26 Andrei Popescu <andreip (a] google.com> 12700 12701 Reviewed by Jeremy Orlow. 12702 12703 [IndexedDB] IndexedDatabase should be called IDBFactory. 12704 https://bugs.webkit.org/show_bug.cgi?id=42967 12705 12706 * WebKit.gyp: 12707 * public/WebIDBFactory.h: Added. 12708 (WebKit::WebIDBFactory::~WebIDBFactory): 12709 (WebKit::WebIDBFactory::databases): 12710 (WebKit::WebIDBFactory::open): 12711 * public/WebIndexedDatabase.h: Removed. 12712 * public/WebKitClient.h: 12713 (WebKit::WebKitClient::idbFactory): 12714 * src/ChromiumBridge.cpp: 12715 (WebCore::ChromiumBridge::idbFactory): 12716 * src/IDBFactoryBackendProxy.cpp: Added. 12717 (WebCore::IDBFactoryBackendProxy::create): 12718 (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy): 12719 (WebCore::IDBFactoryBackendProxy::~IDBFactoryBackendProxy): 12720 (WebCore::IDBFactoryBackendProxy::open): 12721 * src/IDBFactoryBackendProxy.h: Added. 12722 * src/IndexedDatabaseProxy.cpp: Removed. 12723 * src/IndexedDatabaseProxy.h: Removed. 12724 * src/WebIDBFactoryImpl.cpp: Added. 12725 (WebKit::WebIDBFactory::create): 12726 (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl): 12727 (WebKit::WebIDBFactoryImpl::~WebIDBFactoryImpl): 12728 (WebKit::WebIDBFactoryImpl::open): 12729 * src/WebIDBFactoryImpl.h: Added. 12730 * src/WebIndexedDatabaseImpl.cpp: Removed. 12731 * src/WebIndexedDatabaseImpl.h: Removed. 12732 12733 2010-07-29 Andrei Popescu <andreip (a] google.com> 12734 12735 Reviewed by Jeremy Orlow. 12736 12737 [IndexedDB] WebDOMStringList ctor is not exported and causes link errors for the multi-dll chromium build 12738 https://bugs.webkit.org/show_bug.cgi?id=43186 12739 12740 Add WEBKIT_API to WebDOMStringList default ctor. 12741 12742 * public/WebDOMStringList.h: 12743 12744 2010-07-29 Satish Sampath <satish (a] chromium.org> 12745 12746 Reviewed by Steve Block. 12747 12748 Runtime feature switch for speech input 12749 https://bugs.webkit.org/show_bug.cgi?id=43146 12750 12751 Add a runtime feature switch that decides whether speech input attributes are available or not. 12752 Defaults to true. 12753 12754 * public/WebRuntimeFeatures.h: 12755 * src/SpeechInputClientImpl.cpp: 12756 (WebKit::SpeechInputClientImpl::SpeechInputClientImpl): 12757 * src/WebRuntimeFeatures.cpp: 12758 (WebKit::WebRuntimeFeatures::enableSpeechInput): 12759 (WebKit::WebRuntimeFeatures::isSpeechInputEnabled): 12760 12761 2010-07-28 Kavita Kanetkar <kkanetkar (a] chromium.org> 12762 12763 Reviewed by Pavel Feldman. 12764 12765 Web Inspector: Enable UI for chromium's appcache inspection. 12766 https://bugs.webkit.org/show_bug.cgi?id=43098 12767 12768 * src/js/DevTools.js: 12769 (WebInspector.loaded): 12770 12771 2010-07-28 Dominic Mazzoni <dmazzoni (a] google.com> 12772 12773 Reviewed by Dimitri Glazkov. 12774 12775 Add access to the computed style display to WebAccessibilityObject. 12776 https://bugs.webkit.org/show_bug.cgi?id=43044 12777 12778 * public/WebAccessibilityObject.h: 12779 * src/WebAccessibilityObject.cpp: 12780 (WebKit::WebAccessibilityObject::hasComputedStyle): 12781 (WebKit::WebAccessibilityObject::computedStyleDisplay): 12782 12783 2010-07-28 Hans Wennborg <hans (a] chromium.org> 12784 12785 Reviewed by Jeremy Orlow. 12786 12787 Set ENABLE_DEVICE_ORIENTATION=1 in features.gypi for chromium 12788 https://bugs.webkit.org/show_bug.cgi?id=43122 12789 12790 Enable the compile-time switch for device orientation. 12791 The switch was already enabled in features_override.gypi in the Chromium 12792 repository (in revision 53317), and should be set here as well. 12793 12794 The feature is being implemented behind a run-time flag which 12795 defaults to off in Chromium. 12796 12797 * features.gypi: Set ENABLE_DEVICE_ORIENTATION=1. 12798 12799 2010-07-28 Gene Gutnik <gene (a] google.com> 12800 12801 Reviewed by Darin Fisher. 12802 12803 Fix mouse coordinate conversion. WindowX,Y is an absolute 12804 mouse coordinates within browser window, x,y - are coordinates 12805 relative to the plugin. 12806 https://bugs.webkit.org/show_bug.cgi?id=42987 12807 12808 * src/WebInputEventConversion.cpp: 12809 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder): 12810 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder): 12811 * src/WebInputEventConversion.h: 12812 * src/WebPluginContainerImpl.cpp: 12813 (WebKit::WebPluginContainerImpl::handleMouseEvent): 12814 (WebKit::WebPluginContainerImpl::handleWheelEvent): 12815 12816 2010-07-28 James Robinson <jamesr (a] chromium.org> 12817 12818 Reviewed by Darin Fisher. 12819 12820 [chromium] Add a bool to Settings to control accelerated 2d canvas 12821 https://bugs.webkit.org/show_bug.cgi?id=43094 12822 12823 * public/WebSettings.h: 12824 * src/WebSettingsImpl.cpp: 12825 (WebKit::WebSettingsImpl::setAccelerated2dCanvasEnabled): 12826 * src/WebSettingsImpl.h: 12827 12828 2010-07-28 Brett Wilson <brettw (a] chromium.org> 12829 12830 Reviewed by Darin Fisher. 12831 12832 Fix forward declares to be struct instead of class. 12833 https://bugs.webkit.org/show_bug.cgi?id=43127 12834 12835 * public/WebFont.h: 12836 12837 2010-07-28 Pavel Feldman <pfeldman (a] chromium.org> 12838 12839 Reviewed by Dimitri Glazkov. 12840 12841 Chromium DevTools: [REGRESSION] sourceURL is not respected. 12842 12843 https://bugs.webkit.org/show_bug.cgi?id=43124 12844 12845 * src/js/DebuggerScript.js: 12846 12847 2010-07-28 Andrei Popescu <andreip (a] google.com> 12848 12849 Reviewed by Jeremy Orlow. 12850 12851 [IndexedDB] WebDOMStringList default ctor does not initialize its m_private member 12852 variable so any attempt to append strings to a WebDOMStringList instance results in a crash. 12853 https://bugs.webkit.org/show_bug.cgi?id=43120 12854 12855 Makes the default WebKit::WebDOMStringList ctor actually create its wrapped 12856 WebCore::DOMStringList instance. 12857 12858 * public/WebDOMStringList.h: 12859 * src/WebDOMStringList.cpp: 12860 (WebKit::WebDOMStringList::WebDOMStringList): 12861 12862 2010-07-26 Steve Block <steveblock (a] google.com> 12863 12864 Reviewed by Jeremy Orlow. 12865 12866 Page clients should be passed to Page constructor via structure of pointers 12867 https://bugs.webkit.org/show_bug.cgi?id=42834 12868 12869 * src/WebViewImpl.cpp: 12870 (WebKit::WebViewImpl::WebViewImpl): 12871 12872 2010-07-28 Pavel Feldman <pfeldman (a] chromium.org> 12873 12874 Not reviewed: chromium tests fix. 12875 Chromium Dev Tools: [REGRESSION] Pause is not working. 12876 12877 https://bugs.webkit.org/show_bug.cgi?id=43118 12878 12879 * src/js/DevTools.js: 12880 (InspectorBackend.pause): 12881 12882 2010-07-27 Kinuko Yasuda <kinuko (a] chromium.org> 12883 12884 Reviewed by Ojan Vafai. 12885 12886 Add FILE_SYSTEM build flag for FileSystem API 12887 https://bugs.webkit.org/show_bug.cgi?id=42915 12888 12889 * features.gypi: 12890 12891 2010-07-27 James Hawkins <jhawkins (a] chromium.org> 12892 12893 Unreviewed Build Fix. 12894 12895 Add a missing itemIcon() method to TestPopupMenuClient. 12896 12897 * tests/PopupMenuTest.cpp: 12898 (WebKit::TestPopupMenuClient::itemIcon): 12899 12900 2010-07-27 James Hawkins <jhawkins (a] chromium.org> 12901 12902 Reviewed by Darin Fisher. 12903 12904 [Chromium] Add the ability to show right-aligned icons in the AutoFill popup. 12905 https://bugs.webkit.org/show_bug.cgi?id=43076 12906 12907 * public/WebView.h: 12908 * src/AutoFillPopupMenuClient.cpp: 12909 (WebKit::AutoFillPopupMenuClient::getIcon): 12910 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): 12911 (WebKit::AutoFillPopupMenuClient::itemIcon): 12912 (WebKit::AutoFillPopupMenuClient::initialize): 12913 (WebKit::AutoFillPopupMenuClient::setSuggestions): 12914 * src/AutoFillPopupMenuClient.h: 12915 * src/WebViewImpl.cpp: 12916 (WebKit::WebViewImpl::applyAutoFillSuggestions): 12917 (WebKit::WebViewImpl::applyAutocompleteSuggestions): 12918 * src/WebViewImpl.h: 12919 12920 2010-07-27 Brett Wilson <brettw (a] chromium.org> 12921 12922 Reviewed by Darin Fisher. 12923 12924 Add the ability to select fonts and do basic text drawing to the 12925 Chromium WebKit API. 12926 https://bugs.webkit.org/show_bug.cgi?id=42999 12927 12928 * WebKit.gyp: 12929 * public/WebFloatPoint.h: Added. 12930 (WebKit::WebFloatPoint::WebFloatPoint): 12931 (WebKit::WebFloatPoint::operator=): 12932 (WebKit::WebFloatPoint::operator WebCore::FloatPoint): 12933 (WebKit::operator==): 12934 (WebKit::operator!=): 12935 * public/WebFloatRect.h: Added. 12936 (WebKit::WebFloatRect::isEmpty): 12937 (WebKit::WebFloatRect::WebFloatRect): 12938 (WebKit::WebFloatRect::operator=): 12939 (WebKit::WebFloatRect::operator WebCore::FloatRect): 12940 (WebKit::operator==): 12941 (WebKit::operator!=): 12942 * public/WebFont.h: Added. 12943 * public/WebFontDescription.h: Added. 12944 (WebKit::WebFontDescription::): 12945 (WebKit::WebFontDescription::WebFontDescription): 12946 * public/WebTextRun.h: Added. 12947 (WebKit::WebTextRun::WebTextRun): 12948 * src/AssertMatchingEnums.cpp: 12949 * src/WebFontDescription.cpp: Added. 12950 (WebKit::WebFontDescription::WebFontDescription): 12951 (WebKit::WebFontDescription::operator WebCore::FontDescription): 12952 * src/WebFontImpl.cpp: Added. 12953 (WebKit::WebFont::Create): 12954 (WebKit::WebFontImpl::WebFontImpl): 12955 (WebKit::WebFontImpl::fontDescription): 12956 (WebKit::WebFontImpl::ascent): 12957 (WebKit::WebFontImpl::descent): 12958 (WebKit::WebFontImpl::height): 12959 (WebKit::WebFontImpl::lineSpacing): 12960 (WebKit::WebFontImpl::xHeight): 12961 (WebKit::WebFontImpl::drawText): 12962 (WebKit::WebFontImpl::width): 12963 (WebKit::WebFontImpl::offsetForPosition): 12964 (WebKit::WebFontImpl::selectionRectForText): 12965 * src/WebFontImpl.h: Added. 12966 * src/WebTextRun.cpp: Added. 12967 (WebKit::WebTextRun::operator WebCore::TextRun): 12968 12969 2010-07-27 Dumitru Daniliuc <dumi (a] chromium.org> 12970 12971 Reviewed by David Levin. 12972 12973 Move all WebSQLDatabases-specific code behind #if ENABLE(DATABASE). 12974 https://bugs.webkit.org/show_bug.cgi?id=43035 12975 12976 Make Chromium compile with ENABLE_DATABASE=0. 12977 12978 * src/ChromiumBridge.cpp: 12979 (WebCore::ChromiumBridge::databaseGetFileSize): 12980 * src/DatabaseObserver.cpp: 12981 * src/WebDatabase.cpp: 12982 (WebCore::AbstractDatabase::stringIdentifier): 12983 (WebCore::AbstractDatabase::displayName): 12984 (WebCore::AbstractDatabase::estimatedSize): 12985 (WebCore::AbstractDatabase::securityOrigin): 12986 (WebKit::WebDatabase::updateDatabaseSize): 12987 (WebKit::WebDatabase::closeDatabaseImmediately): 12988 12989 2010-07-27 Pavel Podivilov <podivilov (a] chromium.org> 12990 12991 Reviewed by Pavel Feldman. 12992 12993 Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled. 12994 https://bugs.webkit.org/show_bug.cgi?id=41461 12995 12996 * src/js/DebuggerScript.js: 12997 (): 12998 12999 2010-07-27 Ilya Tikhonovsky <loislo (a] chromium.org> 13000 13001 Reviewed by Pavel Feldman. 13002 13003 WebInspector: Current implementation of message based inspector 13004 transport generated by CodeGeneratorInspector should be upstreamed 13005 from WebKit/chromium to WebCore. 13006 https://bugs.webkit.org/show_bug.cgi?id=42983 13007 13008 * WebKit.gypi: 13009 * src/InspectorFrontendClientImpl.cpp: 13010 (WebKit::InspectorFrontendClientImpl::sendMessageToBackend): 13011 * src/InspectorFrontendClientImpl.h: 13012 * src/ToolsAgent.h: 13013 * src/WebDevToolsAgentImpl.cpp: 13014 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController): 13015 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost): 13016 * src/WebDevToolsAgentImpl.h: 13017 * src/js/InspectorControllerImpl.js: Removed. 13018 13019 2010-07-27 Dominic Mazzoni <dmazzoni (a] google.com> 13020 13021 Reviewed by Chris Fleizach. 13022 13023 Add accessors for node and document to WebAccessibilityObject, 13024 needed to support some Windows screenreader functionality. 13025 13026 https://bugs.webkit.org/show_bug.cgi?id=43001 13027 13028 * public/WebAccessibilityObject.h: 13029 * src/WebAccessibilityObject.cpp: 13030 (WebKit::WebAccessibilityObject::node): 13031 (WebKit::WebAccessibilityObject::document): 13032 13033 2010-07-27 Dominic Mazzoni <dmazzoni (a] google.com> 13034 13035 Reviewed by Chris Fleizach. 13036 13037 For Windows accessibility, have WebElement provide access 13038 to its attributes. 13039 13040 https://bugs.webkit.org/show_bug.cgi?id=43004 13041 13042 * WebKit.gyp: 13043 * public/WebAttribute.h: Added. 13044 (WebKit::WebAttribute::~WebAttribute): 13045 (WebKit::WebAttribute::WebAttribute): 13046 (WebKit::WebAttribute::operator=): 13047 * public/WebElement.h: 13048 * public/WebNamedNodeMap.h: Added. 13049 (WebKit::WebNamedNodeMap::~WebNamedNodeMap): 13050 (WebKit::WebNamedNodeMap::WebNamedNodeMap): 13051 (WebKit::WebNamedNodeMap::operator=): 13052 * src/WebAttribute.cpp: Added. 13053 (WebKit::WebAttribute::reset): 13054 (WebKit::WebAttribute::assign): 13055 (WebKit::WebAttribute::WebAttribute): 13056 (WebKit::WebAttribute::localName): 13057 (WebKit::WebAttribute::value): 13058 * src/WebElement.cpp: 13059 (WebKit::WebElement::attributes): 13060 * src/WebNamedNodeMap.cpp: Added. 13061 (WebKit::WebNamedNodeMap::reset): 13062 (WebKit::WebNamedNodeMap::assign): 13063 (WebKit::WebNamedNodeMap::WebNamedNodeMap): 13064 (WebKit::WebNamedNodeMap::length): 13065 (WebKit::WebNamedNodeMap::attributeItem): 13066 13067 2010-07-27 Satish Sampath <satish (a] chromium.org> 13068 13069 Reviewed by Kent Tamura. 13070 13071 Simplify speech input plumbing in webcore and webkit 13072 https://bugs.webkit.org/show_bug.cgi?id=43008 13073 13074 * src/SpeechInputClientImpl.cpp: Move functionality to WebCore::SpeechInput and make this a dummy proxy. 13075 (WebKit::SpeechInputClientImpl::startRecognition): 13076 (WebKit::SpeechInputClientImpl::cancelRecognition): 13077 (WebKit::SpeechInputClientImpl::didCompleteRecording): 13078 (WebKit::SpeechInputClientImpl::didCompleteRecognition): 13079 (WebKit::SpeechInputClientImpl::setRecognitionResult): 13080 * src/SpeechInputClientImpl.h: 13081 13082 2010-07-26 Dominic Mazzoni <dmazzoni (a] google.com> 13083 13084 Reviewed by Chris Fleizach. 13085 13086 Add accessor to get the doctype of a WebDocument, needed to 13087 implement Windows accessibility. 13088 13089 https://bugs.webkit.org/show_bug.cgi?id=43003 13090 13091 * WebKit.gyp: 13092 * public/WebDocument.h: 13093 * public/WebDocumentType.h: Added. 13094 (WebKit::WebDocumentType::WebDocumentType): 13095 (WebKit::WebDocumentType::operator=): 13096 (WebKit::WebDocumentType::assign): 13097 * src/WebDocument.cpp: 13098 (WebKit::WebDocument::doctype): 13099 * src/WebDocumentType.cpp: Added. 13100 (WebKit::WebDocumentType::name): 13101 (WebKit::WebDocumentType::WebDocumentType): 13102 (WebKit::WebDocumentType::operator=): 13103 (WebKit::WebDocumentType::operator PassRefPtr<DocumentType>): 13104 13105 2010-07-26 Satish Sampath <satish (a] chromium.org> 13106 13107 Reviewed by Steve Block. 13108 13109 Add WebKit plumbing to connect speech requests and callbacks between WebCore and the embedder. 13110 https://bugs.webkit.org/show_bug.cgi?id=42367 13111 13112 No new tests, the relevant LayoutTestController bindings and tests will be added in the next patch. 13113 13114 * public/WebSpeechInputController.h: Added new interface, implemented by embedder and called by WebKit 13115 (WebKit::WebSpeechInputController::~WebSpeechInputController): 13116 * public/WebSpeechInputListener.h: Added new interface, implemented by WebKit and called by embedder. 13117 (WebKit::WebSpeechInputListener::~WebSpeechInputListener): 13118 * public/WebViewClient.h: 13119 (WebKit::WebViewClient::createSpeechInputClient): New method to get the embedder's speech input client interface. 13120 * src/SpeechInputClientImpl.cpp: Added new class, implementation of a two way connector between WebCore 13121 and the embedder for requests and responses. 13122 (WebKit::SpeechInputClientImpl::SpeechInputClientImpl): 13123 (WebKit::SpeechInputClientImpl::~SpeechInputClientImpl): 13124 (WebKit::SpeechInputClientImpl::startRecognition): 13125 (WebKit::SpeechInputClientImpl::stopRecording): 13126 (WebKit::SpeechInputClientImpl::didCompleteRecording): 13127 (WebKit::SpeechInputClientImpl::setRecognitionResult): 13128 (WebKit::SpeechInputClientImpl::didCompleteRecognition): 13129 * src/SpeechInputClientImpl.h: Added. 13130 * src/WebViewImpl.cpp: 13131 (WebKit::WebViewImpl::WebViewImpl): Pass on the above mentioned speech input connector to WebCore. 13132 * src/WebViewImpl.h: 13133 13134 2010-07-26 Ilya Tikhonovsky <loislo (a] chromium.org> 13135 13136 Reviewed by Pavel Feldman. 13137 13138 Chromium DevTools: refactor query params, add basic 13139 support for WebSocket-based backend. 13140 13141 https://bugs.webkit.org/show_bug.cgi?id=42893 13142 13143 * src/js/DevTools.js: 13144 (devtools.ToolsAgent.prototype.dispatchOnClient_): 13145 (WebInspector.loaded): 13146 (WebInspector.doLoadedDone): 13147 (devtools.domContentLoaded): 13148 * src/js/InspectorControllerImpl.js: 13149 13150 2010-07-24 Pavel Feldman <pfeldman (a] chromium.org> 13151 13152 Not reviewed: chromium build fix. 13153 13154 * src/ApplicationCacheHost.cpp: 13155 (WebCore::ApplicationCacheHost::fillResourceList): 13156 13157 2010-07-23 Kavita Kanetkar <kkanetkar (a] chromium.org> 13158 13159 Reviewed by Joseph Pecoraro. 13160 13161 Implement remaining Inspector support for chrome's appcache 13162 https://bugs.webkit.org/show_bug.cgi?id=42426 13163 13164 * src/ApplicationCacheHost.cpp: Plugging in chrome's appcache info. 13165 (WebCore::ApplicationCacheHost::applicationCacheInfo): 13166 (WebCore::ApplicationCacheHost::fillResourceList): 13167 * src/js/InspectorControllerImpl.js: 13168 (devtools.InspectorBackendImpl): 13169 13170 2010-07-23 Pavel Feldman <pfeldman (a] chromium.org> 13171 13172 Reviewed by Reviewed by Yury Semikhatsky. 13173 13174 Chromium DevTools: migrate from utility context-based injected 13175 script dispatch to upstream schema. 13176 13177 https://bugs.webkit.org/show_bug.cgi?id=42883 13178 13179 * src/ToolsAgent.h: 13180 * src/WebDevToolsAgentImpl.cpp: 13181 * src/WebDevToolsAgentImpl.h: 13182 * src/js/DevToolsHostStub.js: 13183 * src/js/InspectorControllerImpl.js: 13184 (devtools.InspectorBackendImpl): 13185 13186 2010-07-23 Pavel Feldman <pfeldman (a] chromium.org> 13187 13188 Not reviewed: rolling out r63963. 13189 13190 * src/ToolsAgent.h: 13191 * src/WebDevToolsAgentImpl.cpp: 13192 (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript): 13193 * src/WebDevToolsAgentImpl.h: 13194 * src/js/DevToolsHostStub.js: 13195 (.window.dispatchOnInjectedScript): 13196 * src/js/InspectorControllerImpl.js: 13197 (devtools.InspectorBackendImpl): 13198 (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript): 13199 13200 2010-07-23 Pavel Feldman <pfeldman (a] chromium.org> 13201 13202 Reviewed by Reviewed by Yury Semikhatsky. 13203 13204 Chromium DevTools: migrate from utility context-based injected 13205 script dispatch to upstream schema. 13206 13207 https://bugs.webkit.org/show_bug.cgi?id=42883 13208 13209 * src/ToolsAgent.h: 13210 * src/WebDevToolsAgentImpl.cpp: 13211 * src/WebDevToolsAgentImpl.h: 13212 * src/js/DevToolsHostStub.js: 13213 * src/js/InspectorControllerImpl.js: 13214 (devtools.InspectorBackendImpl): 13215 13216 2010-07-23 Kent Tamura <tkent (a] chromium.org> 13217 13218 Reviewed by Shinichiro Hamaji. 13219 13220 Roll Chromium revision 13221 https://bugs.webkit.org/show_bug.cgi?id=42876 13222 13223 * DEPS: Roll Chromium revision to r53434 in order to have the 13224 logger initialization change (r53303) 13225 13226 2010-07-22 Ilya Tikhonovsky <loislo (a] chromium.org> 13227 13228 Reviewed by Yury Semikhatsky. 13229 13230 WebInspector: CodeGeneratorInspector was extended and now it can 13231 generate InspectorBackedDispatcher's code. This dispatcher will 13232 validate and dispatch incoming inspector commands only by native 13233 code without using javaScript. That is necessary step for 13234 RemoteDebugging support. 13235 https://bugs.webkit.org/show_bug.cgi?id=42588 13236 13237 * src/ToolsAgent.h: 13238 * src/WebDevToolsAgentImpl.cpp: 13239 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController): 13240 * src/WebDevToolsAgentImpl.h: 13241 * src/js/InspectorControllerImpl.js: 13242 (devtools.InspectorBackendImpl.prototype.callInspectorController_): 13243 13244 2010-07-22 Darin Fisher <darin (a] chromium.org> 13245 13246 Reviewed by David Levin. 13247 13248 [Chromium] Propagate return value of EventHandler::handleMouseWheelEvent 13249 to caller of WebViewImpl::handleInputEvent. 13250 13251 https://bugs.webkit.org/show_bug.cgi?id=42835 13252 13253 * src/WebViewImpl.cpp: 13254 (WebKit::WebViewImpl::mouseWheel): 13255 (WebKit::WebViewImpl::handleInputEvent): 13256 * src/WebViewImpl.h: 13257 13258 2010-07-22 Darin Fisher <darin (a] chromium.org> 13259 13260 Reviewed by Kent Tamura. 13261 13262 https://bugs.webkit.org/show_bug.cgi?id=42808 13263 Pass context menu events through WebInputEvent to WebPlugin::handleInputEvent. 13264 13265 The DOM treats a context menu event as a type of mouse event. We therefore 13266 do the same here, and reuse the WebMouseEvent subclass. This makes sense 13267 since a context menu event has (x,y)-coordinates. 13268 13269 * public/WebInputEvent.h: 13270 (WebKit::WebInputEvent::): 13271 (WebKit::WebInputEvent::isMouseEventType): 13272 * src/WebInputEventConversion.cpp: 13273 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder): 13274 13275 2010-07-22 Andrey Kosyakov <caseq (a] chromium.org> 13276 13277 Reviewed by Yury Semikhatsky. 13278 13279 Web Inspector: Stop granting universal access to inspector front-end page. 13280 https://bugs.webkit.org/show_bug.cgi?id=42817 13281 13282 * src/WebDevToolsFrontendImpl.cpp: 13283 (WebKit::WebDevToolsFrontendImpl::frontendLoaded): 13284 13285 2010-07-22 Alexander Pavlov <apavlov (a] chromium.org> 13286 13287 Reviewed by Pavel Feldman. 13288 13289 Web Inspector: Rename method for CSS rule source range retrieval and fix return object format 13290 https://bugs.webkit.org/show_bug.cgi?id=42379 13291 13292 * src/js/InspectorControllerImpl.js: 13293 (devtools.InspectorBackendImpl): 13294 13295 2010-07-21 Pavel Feldman <pfeldman (a] chromium.org> 13296 13297 Reviewed by Yury Semikhatsky. 13298 13299 Chromium Dev Tools: Separators are missing in the context menu. 13300 13301 https://bugs.webkit.org/show_bug.cgi?id=42761 13302 13303 * src/ContextMenuClientImpl.cpp: 13304 (WebKit::ContextMenuClientImpl::populateCustomMenuItems): 13305 13306 2010-07-21 Kent Tamura <tkent (a] chromium.org> 13307 13308 Reviewed by Dimitri Glazkov. 13309 13310 [DRT/Chromium] Copy the test plugin into DumpRenderTree.app/ 13311 https://bugs.webkit.org/show_bug.cgi?id=42733 13312 13313 This was dropped in plugin copy refactoring. 13314 13315 * WebKit.gyp: 13316 13317 2010-07-21 Brady Eidson <beidson (a] apple.com> 13318 13319 Reviewed by Geoffrey Garen. 13320 13321 Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry 13322 https://bugs.webkit.org/show_bug.cgi?id=42783 13323 13324 * src/WebSecurityPolicy.cpp: 13325 (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal): 13326 (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess): 13327 (WebKit::WebSecurityPolicy::registerURLSchemeAsSecure): 13328 13329 2010-07-21 Bo Liu <boliu (a] chromium.org> 13330 13331 Reviewed by Darin Fisher. 13332 13333 [Chromium] Add chromium WebMediaPlayer to PlatformMedia 13334 https://bugs.webkit.org/show_bug.cgi?id=41295 13335 13336 * WebKit.gyp: 13337 * public/WebMediaElement.h: Added. 13338 * src/WebMediaElement.cpp: Added. 13339 (WebKit::WebMediaElement::player): 13340 (WebKit::WebMediaElement::WebMediaElement): 13341 (WebKit::WebMediaElement::operator=): 13342 (WebKit::WebMediaElement::operator PassRefPtr<HTMLMediaElement>): 13343 * src/WebMediaPlayerClientImpl.cpp: 13344 (WebKit::WebMediaPlayerClientImpl::fromMediaElement): 13345 (WebKit::WebMediaPlayerClientImpl::mediaPlayer): 13346 (WebKit::WebMediaPlayerClientImpl::platformLayer): 13347 (WebKit::WebMediaPlayerClientImpl::platformMedia): 13348 * src/WebMediaPlayerClientImpl.h: 13349 13350 2010-07-21 Finnur Thorarinsson <finnur.webkit (a] gmail.com> 13351 13352 Reviewed by Dimitri Glazkov. 13353 13354 Avoid crashing during find-in-page when |view| is NULL. 13355 https://bugs.webkit.org/show_bug.cgi?id=42760 13356 13357 There are no layout tests because we don't have a repro case 13358 to work with, so this is a speculative fix based on crash dump 13359 diagnosis. See bug for details. 13360 13361 * src/WebFrameImpl.cpp: 13362 (WebKit::WebFrameImpl::shouldScopeMatches): 13363 13364 2010-07-21 Hans Wennborg <hans (a] chromium.org> 13365 13366 Reviewed by Steve Block. 13367 13368 Runtime feature switch for device orientation 13369 https://bugs.webkit.org/show_bug.cgi?id=42265 13370 13371 Add a runtime feature switch that decides whether device orientation 13372 events are available or not. Defaults to true. 13373 13374 * public/WebRuntimeFeatures.h: 13375 * src/WebRuntimeFeatures.cpp: 13376 (WebKit::WebRuntimeFeatures::enableDeviceOrientation): 13377 (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled): 13378 13379 2010-07-21 Yury Semikhatsky <yurys (a] chromium.org> 13380 13381 Reviewed by Pavel Feldman. 13382 13383 Web Inspector: should be possible to debug inspector 13384 https://bugs.webkit.org/show_bug.cgi?id=42730 13385 13386 * src/WebDevToolsFrontendImpl.cpp: 13387 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 13388 13389 2010-07-16 James Hawkins <jhawkins (a] chromium.org> 13390 13391 Reviewed by Darin Fisher. 13392 13393 [Chromium] Implement WebFormElement::wasUserSubmitted(). This is used to 13394 verify that the user submitted the form instead of JS when saving form 13395 data in AutoFill. 13396 https://bugs.webkit.org/show_bug.cgi?id=42479 13397 13398 * public/WebFormElement.h: 13399 * src/WebFormElement.cpp: 13400 (WebKit::WebFormElement::wasUserSubmitted): 13401 13402 2010-07-20 Daniel Erat <derat (a] chromium.org> 13403 13404 Reviewed by Ojan Vafai. 13405 13406 Subpixel rendering always disabled for Chromium Linux 13407 https://bugs.webkit.org/show_bug.cgi?id=42220 13408 13409 Honor Fontconfig subpixel rendering setting on Chromium Linux. 13410 13411 * src/gtk/WebFontInfo.cpp: 13412 (WebKit::WebFontInfo::renderStyleForStrike): 13413 13414 2010-07-20 Darin Fisher <darin (a] chromium.org> 13415 13416 Fix Chromium build bustage. 13417 13418 * src/ResourceHandle.cpp: 13419 (WebCore::ResourceHandle::hasAuthenticationChallenge): Add 13420 implementation of this method that always returns false. 13421 13422 2010-07-20 Darin Fisher <darin (a] chromium.org> 13423 13424 Reviewed by Jian Li. 13425 13426 [Chromium] Add interface for downloading to a file. This can be used 13427 in the future to support XMLHttpRequest.responseBlob, but it also 13428 serves a use case in Chromium. 13429 13430 https://bugs.webkit.org/show_bug.cgi?id=42657 13431 13432 * public/WebURLLoaderClient.h: 13433 (WebKit::WebURLLoaderClient::willSendRequest): 13434 (WebKit::WebURLLoaderClient::didSendData): 13435 (WebKit::WebURLLoaderClient::didReceiveResponse): 13436 (WebKit::WebURLLoaderClient::didDownloadData): 13437 (WebKit::WebURLLoaderClient::didReceiveData): 13438 (WebKit::WebURLLoaderClient::didFinishLoading): 13439 (WebKit::WebURLLoaderClient::didFail): 13440 * public/WebURLRequest.h: 13441 * public/WebURLResponse.h: 13442 * src/WebURLRequest.cpp: 13443 (WebKit::WebURLRequest::downloadToFile): 13444 (WebKit::WebURLRequest::setDownloadToFile): 13445 * src/WebURLRequestPrivate.h: 13446 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate): 13447 * src/WebURLResponse.cpp: 13448 (WebKit::WebURLResponse::downloadFilePath): 13449 (WebKit::WebURLResponse::setDownloadFilePath): 13450 * src/WebURLResponsePrivate.h: 13451 13452 2010-07-20 Sheriff Bot <webkit.review.bot (a] gmail.com> 13453 13454 Unreviewed, rolling out r63750. 13455 http://trac.webkit.org/changeset/63750 13456 https://bugs.webkit.org/show_bug.cgi?id=42648 13457 13458 This revision breaks the windows builds (Requested by 13459 hwennborg on #webkit). 13460 13461 * public/WebRuntimeFeatures.h: 13462 * src/WebRuntimeFeatures.cpp: 13463 13464 2010-07-19 Victor Wang <victorw (a] chromium.org> 13465 13466 Reviewed by Darin Fisher. 13467 13468 [Chromium] Add webkit api reset to WebIDBDatabaseError and WebIDBKey 13469 and refactor their destructors for chromium multi dll build. 13470 13471 https://bugs.webkit.org/show_bug.cgi?id=42574 13472 13473 * public/WebIDBDatabaseError.h: 13474 (WebKit::WebIDBDatabaseError::~WebIDBDatabaseError): 13475 * public/WebIDBKey.h: 13476 (WebKit::WebIDBKey::~WebIDBKey): 13477 * src/WebIDBDatabaseError.cpp: 13478 (WebKit::WebIDBDatabaseError::reset): 13479 * src/WebIDBKey.cpp: 13480 (WebKit::WebIDBKey::reset): 13481 13482 2010-07-20 Hans Wennborg <hans (a] chromium.org> 13483 13484 Reviewed by Steve Block. 13485 13486 Runtime feature switch for device orientation 13487 https://bugs.webkit.org/show_bug.cgi?id=42265 13488 13489 Add a runtime feature switch that decides whether device orientation 13490 events are available or not. Defaults to true. 13491 13492 * public/WebRuntimeFeatures.h: 13493 * src/WebRuntimeFeatures.cpp: 13494 (WebKit::WebRuntimeFeatures::enableDeviceOrientation): 13495 (WebKit::WebRuntimeFeatures::isDeviceOrientationEnabled): 13496 13497 2010-07-19 Victoria Kirst <vrk (a] google.com> 13498 13499 Reviewed by David Levin. 13500 13501 Updated WebMediaPlayer to support accelerated rendering and to 13502 create and return a VideoChromiumLayer as its platform layer. 13503 https://bugs.webkit.org/show_bug.cgi?id=42234 13504 13505 * src/WebMediaPlayerClientImpl.cpp: 13506 (WebKit::WebMediaPlayerClientImpl::platformLayer): 13507 (WebKit::WebMediaPlayerClientImpl::create): 13508 * src/WebMediaPlayerClientImpl.h: 13509 (WebKit::WebMediaPlayerClientImpl::supportsAcceleratedRendering): 13510 13511 2010-07-19 Kenneth Russell <kbr (a] google.com> 13512 13513 Reviewed by Nate Chapin. 13514 13515 WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage 13516 https://bugs.webkit.org/show_bug.cgi?id=34719 13517 13518 Fixed compiler warning introduced by original patch. 13519 13520 * src/WebGraphicsContext3DDefaultImpl.cpp: 13521 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): 13522 13523 2010-07-19 Tony Chang <tony (a] chromium.org> 13524 13525 Reviewed by Kent Tamura. 13526 13527 [chromium] refactor npapi plugin copy step 13528 https://bugs.webkit.org/show_bug.cgi?id=42493 13529 13530 This is to avoid duplicate copy rules in the Linux make build. 13531 13532 * WebKit.gyp: 13533 * DEPS: 52483:52869 13534 13535 2010-07-19 Ilya Tikhonovsky <loislo (a] chromium.org> 13536 13537 Reviewed by Pavel Feldman. 13538 13539 Web Inspector: Live edit is not working in chromium. 13540 https://bugs.webkit.org/show_bug.cgi?id=42572 13541 13542 * src/js/DebuggerScript.js: 13543 13544 2010-07-16 Pavel Podivilov <podivilov (a] chromium.org> 13545 13546 Reviewed by Pavel Feldman. 13547 13548 [V8] Web Inspector: get actual breakpoint location from v8 and pass it 13549 to ScripDebugServer. 13550 https://bugs.webkit.org/show_bug.cgi?id=42452 13551 13552 * src/js/DebuggerScript.js: 13553 13554 2010-07-17 John Gregg <johnnyg (a] google.com> 13555 13556 Reviewed by Kent Tamura. 13557 13558 [chromium] directory upload: pass the attribute up to the chrome client 13559 https://bugs.webkit.org/show_bug.cgi?id=42475 13560 13561 This allows chromium to display the native system directory picker when 13562 the directory attribute is present on the input element. 13563 13564 * public/WebFileChooserParams.h: 13565 * src/ChromeClientImpl.cpp: 13566 (WebKit::ChromeClientImpl::runOpenPanel): 13567 13568 2010-07-16 Zhe Su <suzhe (a] chromium.org> 13569 13570 Reviewed by Darin Adler. 13571 13572 REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms 13573 https://bugs.webkit.org/show_bug.cgi?id=42253 13574 13575 Implement EditorClient::willSetInputMethodState which replaces 13576 setInputMethodState method. 13577 13578 * src/EditorClientImpl.cpp: 13579 (WebKit::EditorClientImpl::willSetInputMethodState): 13580 (WebKit::EditorClientImpl::setInputMethodState): 13581 * src/EditorClientImpl.h: 13582 13583 2010-07-16 Kent Tamura <tkent (a] chromium.org> 13584 13585 Reviewed by Darin Fisher. 13586 13587 [Chromium] <input type=number> UI implementation for Windows 13588 https://bugs.webkit.org/show_bug.cgi?id=42259 13589 13590 * public/WebThemeEngine.h: 13591 (WebKit::WebThemeEngine::paintSpinButton): Added. 13592 * src/ChromiumBridge.cpp: 13593 (WebCore::ChromiumBridge::paintSpinButton): 13594 Added. It calls WebThemeEngine::paintSpinButton(). 13595 13596 2010-07-16 James Robinson <jamesr (a] chromium.org> 13597 13598 Reviewed by Darin Fisher. 13599 13600 [chromium] Avoid crashing if offscreen GLES2 context creation fails 13601 https://bugs.webkit.org/show_bug.cgi?id=42469 13602 13603 If creating or initializing an offscreen GLES2Context fails we should return null 13604 rather than crashing or returning an invalid context. 13605 13606 * src/WebViewImpl.cpp: 13607 (WebKit::WebViewImpl::getOffscreenGLES2Context): 13608 13609 2010-07-15 Tony Gentilcore <tonyg (a] chromium.org> 13610 13611 Reviewed by Darin Fisher. 13612 13613 Enable window.webkitPerformance (Web Timing) for chromium 13614 https://bugs.webkit.org/show_bug.cgi?id=42313 13615 13616 * features.gypi: 13617 13618 2010-07-16 Sheriff Bot <webkit.review.bot (a] gmail.com> 13619 13620 Unreviewed, rolling out r63551. 13621 http://trac.webkit.org/changeset/63551 13622 https://bugs.webkit.org/show_bug.cgi?id=42460 13623 13624 "Problems with gyp" (Requested by yurys on #webkit). 13625 13626 * DEPS: 13627 13628 2010-07-16 Yury Semikhatsky <yurys (a] chromium.org> 13629 13630 Unreviewed. Bump up Chromium revision. 13631 13632 * DEPS: 13633 13634 2010-07-16 Pavel Feldman <pfeldman (a] chromium.org> 13635 13636 Reviewed by Yury Semikhatsky. 13637 13638 Web Inspector: disable AppCache in chromium. 13639 13640 https://bugs.webkit.org/show_bug.cgi?id=41858 13641 13642 * src/js/DevTools.js: 13643 (WebInspector.loaded): 13644 13645 2010-07-16 Alexander Pavlov <apavlov (a] chromium.org> 13646 13647 Reviewed by Yury Semikhatsky. 13648 13649 Web Inspector: [Chromium] A non-existent resource is referenced from devTools.css 13650 13651 The erroneous rule has been removed. 13652 https://bugs.webkit.org/show_bug.cgi?id=42454 13653 13654 * src/js/devTools.css: 13655 13656 2010-07-16 Andrey Kosyakov <caseq (a] chromium.org> 13657 13658 Reviewed by Pavel Feldman. 13659 13660 Check that end node of a range has a valid renderer in WebViewImpl::caretOrSelectionBounds() 13661 to avoid crash in Position::getInlineBoxAndOffset() when start node has renderer but end one doesn't. 13662 https://bugs.webkit.org/show_bug.cgi?id=42449 13663 13664 * src/WebViewImpl.cpp: 13665 (WebKit::WebViewImpl::caretOrSelectionBounds): 13666 13667 2010-07-16 Mikhail Naganov <mnaganov (a] chromium.org> 13668 13669 Reviewed by Pavel Feldman. 13670 13671 Make JS memory stats available via 'Performance' object (Web Timing). 13672 This statistics is populated only if 'WebKitMemoryInfoEnabled' 13673 preference is set. 13674 13675 'console.memory' is kept until Web Timing object becomes visible by 13676 default (currently it is hidden under compile-time flag). These stats 13677 are guarded with the same preference. 13678 13679 https://bugs.webkit.org/show_bug.cgi?id=41617 13680 13681 * public/WebSettings.h: 13682 * src/WebSettingsImpl.cpp: 13683 (WebKit::WebSettingsImpl::setMemoryInfoEnabled): 13684 * src/WebSettingsImpl.h: 13685 13686 2010-07-15 Victor Wang <victorw (a] chromium.org> 13687 13688 Reviewed by David Levin. 13689 13690 [Chromium] Chromium webkit dll updates: 13691 -. Fix WEBKIT_IMPLEMENTATION in WebCommon so 13692 dllimport works as expected. 13693 -. Update webkit.gyp so targets that depend on webkit 13694 has correct macros defined. 13695 13696 https://bugs.webkit.org/show_bug.cgi?id=42177 13697 13698 * WebKit.gyp: 13699 * public/WebCommon.h: 13700 13701 2010-07-13 Zhenyao Mo <zmo (a] google.com> 13702 13703 Reviewed by Nate Chapin. 13704 13705 WebGL rendering results must be made available to Canvas.toDataURL and 2D drawImage 13706 https://bugs.webkit.org/show_bug.cgi?id=34719 13707 13708 * src/GraphicsContext3D.cpp: 13709 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas): Implement paintRenderingResultsToCanvas(). 13710 (WebCore::GraphicsContext3DInternal::beginPaint): Just use paintRenderingResultsToCanvas(). 13711 13712 2010-07-15 Victor Wang <victorw (a] chromium.org> 13713 13714 Reviewed by David Levin. 13715 13716 Roll Chromium DEPS forward to r52483. 13717 https://bugs.webkit.org/show_bug.cgi?id=42386 13718 13719 * DEPS: 13720 13721 2010-07-15 Scott Violet <sky (a] chromium.org> 13722 13723 Reviewed by David Levin. 13724 13725 [chromium] WebViewClient::removeAutofillSuggestions is not passed the correct name 13726 https://bugs.webkit.org/show_bug.cgi?id=42385 13727 13728 * src/WebViewImpl.cpp: 13729 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Use WebInputElement::nameForAutofill() instead of name. 13730 13731 2010-07-15 Sheriff Bot <webkit.review.bot (a] gmail.com> 13732 13733 Unreviewed, rolling out r63446. 13734 http://trac.webkit.org/changeset/63446 13735 https://bugs.webkit.org/show_bug.cgi?id=42412 13736 13737 It broke the Chromium Windows bot due to missing dependencies 13738 there. (Requested by dave_levin on #webkit). 13739 13740 * DEPS: 13741 13742 2010-07-15 Victor Wang <victorw (a] chromium.org> 13743 13744 Reviewed by David Levin. 13745 13746 Roll Chromium DEPS forward to r52483. 13747 https://bugs.webkit.org/show_bug.cgi?id=42386 13748 13749 * DEPS: 13750 13751 2010-07-15 Michael Nordman <michaeln (a] google.com> 13752 13753 Reviewed by Darin Fisher. 13754 13755 WebKitAPI additions to support inspecting application caches. 13756 https://bugs.webkit.org/show_bug.cgi?id=41993 13757 13758 * public/WebApplicationCacheHost.h: 13759 (WebKit::WebApplicationCacheHost::CacheInfo::CacheInfo): 13760 (WebKit::WebApplicationCacheHost::ResourceInfo::ResourceInfo): 13761 (WebKit::WebApplicationCacheHost::getAssociatedCacheInfo): 13762 (WebKit::WebApplicationCacheHost::getResourceList): 13763 (WebKit::WebApplicationCacheHost::deleteAssociatedCacheGroup): 13764 * public/WebApplicationCacheHostClient.h: 13765 (WebKit::WebApplicationCacheHostClient::didChangeCacheAssociation): 13766 * src/ApplicationCacheHostInternal.h: 13767 (WebCore::ApplicationCacheHostInternal::didChangeCacheAssociation): 13768 13769 2010-07-15 Pavel Feldman <pfeldman (a] chromium.org> 13770 13771 Reviewed by Yury Semikhatsky. 13772 13773 Web Inspector: differentiate between blocking and connecting timers. 13774 13775 https://bugs.webkit.org/show_bug.cgi?id=42372 13776 13777 * public/WebURLResponse.h: 13778 * src/WebURLResponse.cpp: 13779 (WebKit::WebURLResponse::connectionReused): 13780 (WebKit::WebURLResponse::setConnectionReused): 13781 13782 2010-07-15 Pavel Podivilov <podivilov (a] chromium.org> 13783 13784 Reviewed by Yury Semikhatsky. 13785 13786 Fix mac compilation failure 13787 https://bugs.webkit.org/show_bug.cgi?id=42344 13788 13789 * src/AutoFillPopupMenuClient.cpp: 13790 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): 13791 (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex): 13792 13793 2010-07-14 George Yakovlev <georgey (a] chromium.org> 13794 13795 Reviewed by Darin Fisher. 13796 13797 Allow Chromium access to Select control choices 13798 https://bugs.webkit.org/show_bug.cgi?id=41384 13799 13800 * WebKit.gyp: 13801 * public/WebOptionElement.h: Added. 13802 (WebKit::WebOptionElement::WebOptionElement): 13803 (WebKit::WebOptionElement::operator=): 13804 (WebKit::WebOptionElement::assign): 13805 * public/WebSelectElement.h: 13806 * src/WebOptionElement.cpp: Added. 13807 (WebKit::WebOptionElement::setValue): 13808 (WebKit::WebOptionElement::value): 13809 (WebKit::WebOptionElement::index): 13810 (WebKit::WebOptionElement::text): 13811 (WebKit::WebOptionElement::defaultSelected): 13812 (WebKit::WebOptionElement::setDefaultSelected): 13813 (WebKit::WebOptionElement::label): 13814 (WebKit::WebOptionElement::disabled): 13815 (WebKit::WebOptionElement::WebOptionElement): 13816 (WebKit::WebOptionElement::operator=): 13817 (WebKit::WebOptionElement::operator PassRefPtr<HTMLOptionElement>): 13818 * src/WebSelectElement.cpp: 13819 (WebKit::WebSelectElement::listItems): 13820 13821 2010-07-14 Sheriff Bot <webkit.review.bot (a] gmail.com> 13822 13823 Unreviewed, rolling out r63389. 13824 http://trac.webkit.org/changeset/63389 13825 https://bugs.webkit.org/show_bug.cgi?id=42311 13826 13827 It broke the Chromium Linux build. (Requested by dave_levin on 13828 #webkit). 13829 13830 * DEPS: 13831 * WebKit.gyp: 13832 * public/WebCommon.h: 13833 13834 2010-07-14 Scott Violet <sky (a] chromium.org> 13835 13836 Reviewed by David Levin. 13837 13838 [chromium] Autofill menu shows seperator at the wrong place when an entry is deleted 13839 https://bugs.webkit.org/show_bug.cgi?id=42210 13840 13841 * src/AutoFillPopupMenuClient.cpp: 13842 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): Updates internal data appropriately. 13843 (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex): Now called before removal to see if can remove. 13844 * src/AutoFillPopupMenuClient.h: Fixed whitespace and added method. 13845 * src/WebViewImpl.cpp: 13846 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): Added call to canRemoveSuggestionAtIndex. 13847 13848 2010-07-14 James Robinson <jamesr (a] chromium.org> 13849 13850 Unreviewed. Compile fix, initialization/declaration order mismatch. 13851 13852 * src/GLES2ContextInternal.h: 13853 13854 2010-07-14 Jay Civelli <jcivelli (a] chromium.org> 13855 13856 Reviewed by David Levin. 13857 13858 [chromium] don't restrict the width of the autofill popup. 13859 https://bugs.webkit.org/show_bug.cgi?id=42206 13860 13861 * src/WebViewImpl.cpp: 13862 13863 2010-07-14 Victor Wang <victorw (a] chromium.org> 13864 13865 Reviewed by Darin Fisher. 13866 13867 [Chromium] Chromium webkit dll updates: 13868 -. Fix WEBKIT_IMPLEMENTATION in WebCommon so 13869 dllimport works as expected. 13870 -. Update webkit.gyp so targets that depend on webkit 13871 has correct macros defined. 13872 -. Roll forward chromium deps to r52273. 13873 13874 https://bugs.webkit.org/show_bug.cgi?id=42177 13875 13876 * DEPS: 13877 * WebKit.gyp: 13878 * public/WebCommon.h: 13879 13880 2010-07-14 James Hawkins <jhawkins (a] chromium.org> 13881 13882 UNREVIEWED Build Fix. 13883 13884 Fix a typo. 13885 13886 * src/WebViewImpl.cpp: 13887 (WebKit::WebViewImpl::applyAutoFillSuggestions): 13888 13889 2010-07-14 James Robinson <jamesr (a] chromium.org> 13890 13891 Reviewed by Darin Fisher. 13892 13893 Breaks all dependencies on Page from platform/ and cleans up GLES2Context lifetime 13894 https://bugs.webkit.org/show_bug.cgi?id=42203 13895 13896 Rather than constructing a GLES2Context from a Page, pass the LayerRendererChromium 13897 a GLES2Context in from the constructor. This way the platform/ directory can remain 13898 ignorant of Page and friends. Also adds functions on ChromeClientChromium to request 13899 onscreen and offscreen GLES2Contexts for callers in WebCore that need them. 13900 13901 * WebKit.gyp: 13902 * src/ChromeClientImpl.cpp: 13903 (WebKit::ChromeClientImpl::getOnscreenGLES2Context): 13904 (WebKit::ChromeClientImpl::getOffscreenGLES2Context): 13905 * src/ChromeClientImpl.h: 13906 * src/GLES2Context.cpp: 13907 (WebCore::GLES2ContextInternal::create): 13908 (WebCore::GLES2Context::create): 13909 (WebCore::GLES2Context::GLES2Context): 13910 * src/GLES2ContextInternal.cpp: Added. 13911 (WebCore::GLES2ContextInternal::~GLES2ContextInternal): 13912 * src/GLES2ContextInternal.h: Added. 13913 (WebCore::GLES2ContextInternal::getWebGLES2Context): 13914 (WebCore::GLES2ContextInternal::GLES2ContextInternal): 13915 * src/WebViewImpl.cpp: 13916 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 13917 (WebKit::WebViewImpl::getOnscreenGLES2Context): 13918 (WebKit::WebViewImpl::getOffscreenGLES2Context): 13919 * src/WebViewImpl.h: 13920 13921 2010-07-14 James Hawkins <jhawkins (a] chromium.org> 13922 13923 Reviewed by Darin Fisher. 13924 13925 [Chromium] Use the unique ID instead of the profile label to identify 13926 the accepted AutoFill suggestion. 13927 https://bugs.webkit.org/show_bug.cgi?id=42301 13928 13929 * public/WebView.h: 13930 * public/WebViewClient.h: 13931 (WebKit::WebViewClient::didAcceptAutoFillSuggestion): 13932 (WebKit::WebViewClient::didSelectAutoFillSuggestion): 13933 * src/AutoFillPopupMenuClient.cpp: 13934 (WebKit::AutoFillPopupMenuClient::valueChanged): 13935 (WebKit::AutoFillPopupMenuClient::selectionChanged): 13936 (WebKit::AutoFillPopupMenuClient::initialize): 13937 (WebKit::AutoFillPopupMenuClient::setSuggestions): 13938 (WebKit::AutoFillPopupMenuClient::textFieldStyle): 13939 * src/AutoFillPopupMenuClient.h: 13940 * src/WebViewImpl.cpp: 13941 (WebKit::WebViewImpl::applyAutoFillSuggestions): 13942 (WebKit::WebViewImpl::applyAutocompleteSuggestions): 13943 * src/WebViewImpl.h: 13944 13945 2010-07-14 Jay Civelli <jcivelli (a] chromium.org> 13946 13947 Reviewed by David Levin. 13948 13949 Don't notify the WebView that the popup has been closed when the 13950 selection is cleared, as the popup is not gone and would linger 13951 as a ghost popup. 13952 https://bugs.webkit.org/show_bug.cgi?id=42180 13953 13954 * src/AutoFillPopupMenuClient.cpp: 13955 (WebKit::AutoFillPopupMenuClient::selectionCleared): 13956 13957 2010-07-14 Sam Weinig <sam (a] webkit.org> 13958 13959 Fix the chromium mac build. 13960 13961 * src/WebPopupMenuImpl.cpp: 13962 (WebKit::WebPopupMenuImpl::setCursor): 13963 13964 2010-07-14 Sam Weinig <sam (a] webkit.org> 13965 13966 Reviewed by Darin Adler. 13967 13968 Patch for https://bugs.webkit.org/show_bug.cgi?id=42232 13969 Make changing Cursors work in WebKit2. 13970 13971 * src/ChromeClientImpl.h: 13972 (WebKit::ChromeClientImpl::setCursor): 13973 Change prototype to match new one. 13974 13975 * src/WebPopupMenuImpl.cpp: 13976 (WebKit::WebPopupMenuImpl::setCursor): 13977 * src/WebPopupMenuImpl.h: 13978 Add empty setCursor function to satisfy the HostWindow interface. 13979 13980 2010-07-13 Alexey Proskuryakov <ap (a] apple.com> 13981 13982 Reviewed by Darin Adler. 13983 13984 https://bugs.webkit.org/show_bug.cgi?id=42201 13985 Use ResourceHandle object for synchronous loading 13986 13987 * src/ResourceHandle.cpp: 13988 (WebCore::ResourceHandle::request): 13989 This method is no longer const in cross-platform code, and is called firstRequest. 13990 13991 2010-07-14 Sheriff Bot <webkit.review.bot (a] gmail.com> 13992 13993 Unreviewed, rolling out r63305. 13994 http://trac.webkit.org/changeset/63305 13995 https://bugs.webkit.org/show_bug.cgi?id=42256 13996 13997 "debugger-breakpoints-not-activated-on-reload.html fails on 13998 GTK" (Requested by yurys on #webkit). 13999 14000 * src/js/DebuggerScript.js: 14001 (): 14002 14003 2010-07-14 Yury Semikhatsky <yurys (a] chromium.org> 14004 14005 Reviewed by Pavel Feldman. 14006 14007 Web Inspector: remove v8 debugger code that doesn't use ScriptDebugServer 14008 https://bugs.webkit.org/show_bug.cgi?id=42164 14009 14010 * WebKit.gypi: 14011 * src/DebuggerAgentManager.cpp: 14012 (WebKit::DebuggerAgentManager::debugAttach): 14013 (WebKit::DebuggerAgentManager::debugDetach): 14014 * src/InspectorFrontendClientImpl.cpp: 14015 (WebKit::InspectorFrontendClientImpl::windowObjectCleared): 14016 * src/WebDevToolsAgentImpl.cpp: 14017 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl): 14018 (WebKit::WebDevToolsAgentImpl::attach): 14019 (WebKit::WebDevToolsAgentImpl::didNavigate): 14020 (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy): 14021 * src/js/DebuggerAgent.js: Removed. 14022 * src/js/DevTools.js: 14023 (devtools.ToolsAgent): 14024 (WebInspector.loaded): 14025 * src/js/DevToolsHostStub.js: 14026 * src/js/InspectorControllerImpl.js: 14027 (devtools.InspectorBackendImpl): 14028 * src/js/Tests.js: 14029 (.TestSuite.prototype.testAutoContinueOnSyntaxError): 14030 (.TestSuite.prototype.testExpandScope.examineScopes): 14031 (.TestSuite.prototype.testExpandScope): 14032 (.TestSuite.prototype.testDebugIntrinsicProperties): 14033 14034 2010-07-14 Ilya Tikhonovsky <loislo (a] chromium.org> 14035 14036 Reviewed by Yury Semikhatsky. 14037 14038 WebInspector: Clean-up InspectorBackend code. In the next changes 14039 InspectorBackend content will be generated by scripts. As far as 14040 generator is very simple thing all nontrivial function should be 14041 moved to InspectorController and DOMAgent. 14042 https://bugs.webkit.org/show_bug.cgi?id=42171 14043 14044 * src/js/InspectorControllerImpl.js: 14045 (devtools.InspectorBackendImpl): 14046 (.devtools.InspectorBackendImpl.prototype.pause): 14047 (.devtools.InspectorBackendImpl.prototype.resume): 14048 (.devtools.InspectorBackendImpl.prototype.stepIntoStatement): 14049 (.devtools.InspectorBackendImpl.prototype.stepOutOfFunction): 14050 (.devtools.InspectorBackendImpl.prototype.stepOverStatement): 14051 (else.devtools.InspectorBackendImpl.prototype.pause): 14052 14053 2010-07-14 Pavel Podivilov <podivilov (a] chromium.org> 14054 14055 Reviewed by Yury Semikhatsky. 14056 14057 Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled. 14058 https://bugs.webkit.org/show_bug.cgi?id=41461 14059 14060 * src/js/DebuggerScript.js: 14061 (): 14062 14063 2010-07-14 Kent Tamura <tkent (a] chromium.org> 14064 14065 Unreviewed, 2nd attempt to fix build on 'Webkit.org Reliability Builder'. 14066 14067 * WebKit.gyp: 14068 14069 2010-07-14 Kent Tamura <tkent (a] chromium.org> 14070 14071 Unreviewed, attempt to fix build on 'Webkit.org Reliability Builder'. 14072 14073 * WebKit.gyp: 14074 14075 2010-07-14 Kent Tamura <tkent (a] chromium.org> 14076 14077 Reviewed by David Levin. 14078 14079 [Chromium] Upstreaming inspector_resources target 14080 https://bugs.webkit.org/show_bug.cgi?id=41669 14081 14082 'inspector_resource' is currently in src/webkit/webkit.gyp of 14083 Chromium tree. We move it to WebKit tree because: 14084 - DumpRenderTree in WebKit tree needs it, and 14085 - It's hard to refer to WebKit.gypi and WebCore.gypi from 14086 webkit_support in both cases of Chromium-tree build and 14087 WebKit-tree build. 14088 14089 * WebKit.gyp: 14090 14091 2010-07-13 Kent Tamura <tkent (a] chromium.org> 14092 14093 Reviewed by Darin Fisher. 14094 14095 [Chromium] Linux implementation of <input type=number> UI 14096 https://bugs.webkit.org/show_bug.cgi?id=41925 14097 14098 * src/WebViewImpl.cpp: 14099 (WebKit::WebViewImpl::setScrollbarColors): 14100 Call PlatformThemeChromiumGtk::setScrollbarColors() instead of 14101 RenderThemeChromiumLinux::setScrollbarColors(). 14102 14103 2010-07-13 Chris Guillory <chris.guillory (a] google.com> 14104 14105 Reviewed by David Levin. 14106 14107 Fix adoptRef usage violation in WebAccessibilityCacheImpl.cpp. 14108 https://bugs.webkit.org/show_bug.cgi?id=42092 14109 14110 * src/WebAccessibilityCacheImpl.cpp: 14111 (WebKit::WebAccessibilityCacheImpl::WeakHandle::create): 14112 (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle): 14113 14114 2010-07-13 Albert J. Wong <ajwong (a] chromium.org> 14115 14116 Unreviewed, build fix. 14117 14118 [chromium] The comparision between signed/unsigned breaks the chromium 14119 mac build. 14120 14121 * src/AutoFillPopupMenuClient.cpp: 14122 (WebKit::AutoFillPopupMenuClient::getSuggestion): 14123 (WebKit::AutoFillPopupMenuClient::getLabel): 14124 14125 2010-07-10 Zhenyao Mo <zmo (a] google.com> 14126 14127 Reviewed by Darin Fisher. 14128 14129 Implement bufferData and bufferSubData with ArrayBuffer as input 14130 https://bugs.webkit.org/show_bug.cgi?id=41884 14131 14132 * src/GraphicsContext3D.cpp: Implement bufferData and bufferSubData with ArrayBuffer as input. 14133 (WebCore::GraphicsContext3DInternal::bufferData): 14134 (WebCore::GraphicsContext3DInternal::bufferSubData): 14135 14136 2010-07-10 Zhenyao Mo <zmo (a] google.com> 14137 14138 Reviewed by Darin Fisher. 14139 14140 Need to emulate MAX_VARYING_VECTORS/MAX_FRAGMENT_UNIFORM_VECTORs/MAX_VERTEX_UNIFORM_VECTORS for glGet 14141 https://bugs.webkit.org/show_bug.cgi?id=42032 14142 14143 * src/WebGraphicsContext3DDefaultImpl.cpp: 14144 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Emulate the enums. 14145 14146 2010-07-13 Andrey Kosyakov <caseq (a] chromium.org> 14147 14148 Reviewed by Yury Semikhatsky. 14149 14150 Web Inspector: catch and log JS exceptions resulting from executing a 14151 script on inspector front-end to prevent renderer from crashing. 14152 https://bugs.webkit.org/show_bug.cgi?id=42157 14153 14154 * src/WebDevToolsFrontendImpl.cpp: 14155 (WebKit::WebDevToolsFrontendImpl::executeScript): 14156 14157 2010-07-13 Kent Tamura <tkent (a] chromium.org> 14158 14159 Unreviewed, build fix. 14160 14161 Fix a build error by r63179 for Chromium. 14162 14163 * tests/PopupMenuTest.cpp: 14164 (WebKit::TestPopupMenuClient::itemLabel): Added. 14165 14166 2010-07-12 Jay Civelli <jcivelli (a] chromium.org> 14167 14168 Reviewed by Kent Tamura. 14169 14170 Making the autofill popup use labels to show the label 14171 associated with an item. 14172 https://bugs.webkit.org/show_bug.cgi?id=41964 14173 14174 * src/AutoFillPopupMenuClient.cpp: 14175 (WebKit::AutoFillPopupMenuClient::getSuggestion): 14176 (WebKit::AutoFillPopupMenuClient::getLabel): 14177 (WebKit::AutoFillPopupMenuClient::itemLabel): 14178 (WebKit::AutoFillPopupMenuClient::setSuggestions): 14179 (WebKit::AutoFillPopupMenuClient::convertListIndexToInternalIndex): 14180 * src/AutoFillPopupMenuClient.h: 14181 14182 2010-07-12 Sheriff Bot <webkit.review.bot (a] gmail.com> 14183 14184 Unreviewed, rolling out r63171. 14185 http://trac.webkit.org/changeset/63171 14186 https://bugs.webkit.org/show_bug.cgi?id=42144 14187 14188 Broke Chromium canary (Requested by tkent on #webkit). 14189 14190 * WebKit.gyp: 14191 14192 2010-07-12 Kent Tamura <tkent (a] chromium.org> 14193 14194 Reviewed by David Levin. 14195 14196 [Chromium] Upstreaming inspector_resources target 14197 https://bugs.webkit.org/show_bug.cgi?id=41669 14198 14199 'inspector_resource' is currently in src/webkit/webkit.gyp of 14200 Chromium tree. We move it to WebKit tree because: 14201 - DumpRenderTree in WebKit tree needs it, and 14202 - It's hard to refer to WebKit.gypi and WebCore.gypi from 14203 webkit_support in both cases of Chromium-tree build and 14204 WebKit-tree build. 14205 14206 * WebKit.gyp: 14207 14208 2010-07-12 Viet-Trung Luu <viettrungluu (a] chromium.org> 14209 14210 Reviewed by Darin Fisher. 14211 14212 [Chromium] Pass key down events on to plugins. 14213 https://bugs.webkit.org/show_bug.cgi?id=42113 14214 14215 * src/WebPluginContainerImpl.cpp: 14216 (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 14217 14218 2010-07-12 Pavel Feldman <pfeldman (a] chromium.org> 14219 14220 Reviewed by Joseph Pecoraro. 14221 14222 Web Inspector: provide starts and ends for network phases instead of duration. 14223 14224 https://bugs.webkit.org/show_bug.cgi?id=42091 14225 14226 * public/WebURLLoadTiming.h: 14227 * public/WebURLResponse.h: 14228 * src/WebURLLoadTiming.cpp: 14229 (WebKit::WebURLLoadTiming::proxyStart): 14230 (WebKit::WebURLLoadTiming::setProxyStart): 14231 (WebKit::WebURLLoadTiming::proxyEnd): 14232 (WebKit::WebURLLoadTiming::setProxyEnd): 14233 (WebKit::WebURLLoadTiming::dnsStart): 14234 (WebKit::WebURLLoadTiming::setDNSStart): 14235 (WebKit::WebURLLoadTiming::dnsEnd): 14236 (WebKit::WebURLLoadTiming::setDNSEnd): 14237 (WebKit::WebURLLoadTiming::connectStart): 14238 (WebKit::WebURLLoadTiming::setConnectStart): 14239 (WebKit::WebURLLoadTiming::connectEnd): 14240 (WebKit::WebURLLoadTiming::setConnectEnd): 14241 (WebKit::WebURLLoadTiming::sendStart): 14242 (WebKit::WebURLLoadTiming::setSendStart): 14243 (WebKit::WebURLLoadTiming::sendEnd): 14244 (WebKit::WebURLLoadTiming::setSendEnd): 14245 (WebKit::WebURLLoadTiming::receiveHeadersStart): 14246 (WebKit::WebURLLoadTiming::setReceiveHeadersStart): 14247 (WebKit::WebURLLoadTiming::receiveHeadersEnd): 14248 (WebKit::WebURLLoadTiming::setReceiveHeadersEnd): 14249 (WebKit::WebURLLoadTiming::sslStart): 14250 (WebKit::WebURLLoadTiming::setSSLStart): 14251 (WebKit::WebURLLoadTiming::sslEnd): 14252 (WebKit::WebURLLoadTiming::setSSLEnd): 14253 * src/WebURLResponse.cpp: 14254 (WebKit::WebURLResponse::wasCached): 14255 (WebKit::WebURLResponse::setWasCached): 14256 14257 2010-07-12 Sheriff Bot <webkit.review.bot (a] gmail.com> 14258 14259 Unreviewed, rolling out r63156. 14260 http://trac.webkit.org/changeset/63156 14261 https://bugs.webkit.org/show_bug.cgi?id=42129 14262 14263 broke chromium compile (Requested by jamesr on #webkit). 14264 14265 * WebKit.gyp: 14266 * public/WebAccessibilityObject.h: 14267 * public/WebAttribute.h: Removed. 14268 * public/WebDocumentType.h: Removed. 14269 * public/WebElement.h: 14270 * public/WebNamedNodeMap.h: Removed. 14271 * public/WebNode.h: 14272 * public/WebRenderStyle.h: Removed. 14273 * src/WebAccessibilityObject.cpp: 14274 * src/WebAttribute.cpp: Removed. 14275 * src/WebDocumentType.cpp: Removed. 14276 * src/WebElement.cpp: 14277 * src/WebNamedNodeMap.cpp: Removed. 14278 * src/WebNode.cpp: 14279 * src/WebRenderStyle.cpp: Removed. 14280 14281 2010-07-12 Dominic Mazzoni <dmazzoni (a] google.com> 14282 14283 Reviewed by Darin Fisher. 14284 14285 Add methods to WebAccessibilityObject to access the Node and 14286 Document, and then add methods to access some document, node, 14287 and element properties needed for Windows accessibility. 14288 14289 https://bugs.webkit.org/show_bug.cgi?id=41569 14290 14291 * WebKit.gyp: 14292 * public/WebAccessibilityObject.h: 14293 * public/WebAttribute.h: Added. 14294 (WebKit::WebAttribute::~WebAttribute): 14295 (WebKit::WebAttribute::WebAttribute): 14296 (WebKit::WebAttribute::operator=): 14297 * public/WebDocumentType.h: Added. 14298 (WebKit::WebDocumentType::WebDocumentType): 14299 (WebKit::WebDocumentType::operator=): 14300 (WebKit::WebDocumentType::assign): 14301 * public/WebElement.h: 14302 * public/WebNamedNodeMap.h: Added. 14303 (WebKit::WebNamedNodeMap::~WebNamedNodeMap): 14304 (WebKit::WebNamedNodeMap::WebNamedNodeMap): 14305 (WebKit::WebNamedNodeMap::operator=): 14306 * public/WebNode.h: 14307 * public/WebRenderStyle.h: Added. 14308 (WebKit::WebRenderStyle::~WebRenderStyle): 14309 (WebKit::WebRenderStyle::WebRenderStyle): 14310 (WebKit::WebRenderStyle::operator=): 14311 * src/WebAccessibilityObject.cpp: 14312 (WebKit::WebAccessibilityObject::node): 14313 (WebKit::WebAccessibilityObject::document): 14314 * src/WebAttribute.cpp: Added. 14315 (WebKit::WebAttribute::reset): 14316 (WebKit::WebAttribute::assign): 14317 (WebKit::WebAttribute::WebAttribute): 14318 (WebKit::WebAttribute::localName): 14319 (WebKit::WebAttribute::value): 14320 * src/WebDocumentType.cpp: Added. 14321 (WebKit::WebDocumentType::name): 14322 (WebKit::WebDocumentType::WebDocumentType): 14323 (WebKit::WebDocumentType::operator=): 14324 (WebKit::WebDocumentType::operator PassRefPtr<DocumentType>): 14325 * src/WebElement.cpp: 14326 (WebKit::WebElement::attributes): 14327 * src/WebNamedNodeMap.cpp: Added. 14328 (WebKit::WebNamedNodeMap::reset): 14329 (WebKit::WebNamedNodeMap::assign): 14330 (WebKit::WebNamedNodeMap::WebNamedNodeMap): 14331 (WebKit::WebNamedNodeMap::length): 14332 (WebKit::WebNamedNodeMap::attributeItem): 14333 * src/WebNode.cpp: 14334 (WebKit::WebNode::element): 14335 (WebKit::WebNode::hasComputedStyle): 14336 (WebKit::WebNode::computedStyle): 14337 * src/WebRenderStyle.cpp: Added. 14338 (WebKit::WebRenderStyle::reset): 14339 (WebKit::WebRenderStyle::assign): 14340 (WebKit::WebRenderStyle::WebRenderStyle): 14341 (WebKit::WebRenderStyle::display): 14342 14343 2010-07-12 Alexander Pavlov <apavlov (a] chromium.org> 14344 14345 Reviewed by Yury Semikhatsky. 14346 14347 [Chromium] Crash when stepping on a breakpoint while debugging Web Inspector 14348 https://bugs.webkit.org/show_bug.cgi?id=41958 14349 14350 * src/WebViewImpl.cpp: 14351 (WebKit::WebView::willEnterModalLoop): 14352 (WebKit::WebView::didExitModalLoop): 14353 14354 2010-07-12 Jeremy Orlow <jorlow (a] chromium.org> 14355 14356 Speculative fix for visual studio retardedness. 14357 14358 * public/WebCommon.h: 14359 14360 2010-07-12 Jeremy Orlow <jorlow (a] chromium.org> 14361 14362 Build fix. Add an include. 14363 14364 * public/WebCommon.h: 14365 14366 2010-06-27 Jeremy Orlow <jorlow (a] chromium.org> 14367 14368 Reviewed by Dumitru Daniliuc. 14369 14370 Implement IDBObjectStore.get/set/remove 14371 https://bugs.webkit.org/show_bug.cgi?id=41250 14372 14373 Plumbing for new features, IDBKey, and added support 14374 for both invalid (i.e. not serializable) and null 14375 (i.e. the RefPtr was 0) to SerializedScriptValue. 14376 14377 * WebKit.gyp: 14378 * public/WebIDBCallbacks.h: 14379 (WebKit::WebIDBCallbacks::onSuccess): 14380 * public/WebIDBKey.h: Added. 14381 (WebKit::WebIDBKey::WebIDBKey): 14382 (WebKit::WebIDBKey::operator=): 14383 (WebKit::WebIDBKey::): 14384 * public/WebIDBObjectStore.h: 14385 (WebKit::WebIDBObjectStore::get): 14386 (WebKit::WebIDBObjectStore::set): 14387 (WebKit::WebIDBObjectStore::remove): 14388 (WebKit::WebIDBObjectStore::createIndex): 14389 (WebKit::WebIDBObjectStore::index): 14390 (WebKit::WebIDBObjectStore::removeIndex): 14391 * public/WebSerializedScriptValue.h: 14392 * src/IDBCallbacksProxy.cpp: 14393 (WebCore::IDBCallbacksProxy::onSuccess): 14394 * src/IDBCallbacksProxy.h: 14395 * src/IDBObjectStoreProxy.cpp: 14396 (WebCore::IDBObjectStoreProxy::get): 14397 (WebCore::IDBObjectStoreProxy::set): 14398 (WebCore::IDBObjectStoreProxy::remove): 14399 * src/IDBObjectStoreProxy.h: 14400 * src/WebIDBCallbacksImpl.cpp: 14401 (WebCore::WebIDBCallbacksImpl::onSuccess): 14402 * src/WebIDBCallbacksImpl.h: 14403 * src/WebIDBKey.cpp: Added. 14404 (WebKit::WebIDBKey::~WebIDBKey): 14405 (WebKit::WebIDBKey::createNull): 14406 (WebKit::WebIDBKey::createInvalid): 14407 (WebKit::WebIDBKey::assign): 14408 (WebKit::WebIDBKey::assignNull): 14409 (WebKit::WebIDBKey::assignInvalid): 14410 (WebKit::WebIDBKey::type): 14411 (WebKit::WebIDBKey::string): 14412 (WebKit::WebIDBKey::number): 14413 (WebKit::WebIDBKey::WebIDBKey): 14414 (WebKit::WebIDBKey::operator=): 14415 (WebKit::WebIDBKey::operator PassRefPtr<IDBKey>): 14416 * src/WebIDBObjectStoreImpl.cpp: 14417 (WebKit::WebIDBObjectStoreImpl::get): 14418 (WebKit::WebIDBObjectStoreImpl::set): 14419 (WebKit::WebIDBObjectStoreImpl::remove): 14420 * src/WebIDBObjectStoreImpl.h: 14421 * src/WebSerializedScriptValue.cpp: 14422 (WebKit::WebSerializedScriptValue::createInvalid): 14423 14424 2010-07-09 John Abd-El-Malek <jam (a] chromium.org> 14425 14426 Reviewed by Darin Fisher. 14427 14428 [chromium] Take out WebPlugin::supportsFind since we can accomplish the same thing by having a return value on startFind 14429 https://bugs.webkit.org/show_bug.cgi?id=42011 14430 14431 * public/WebPlugin.h: 14432 (WebKit::WebPlugin::startFind): 14433 14434 2010-07-09 Leon Clarke <leonclarke (a] google.com> 14435 14436 Reviewed by Adam Barth. 14437 14438 add support for link prefetching 14439 https://bugs.webkit.org/show_bug.cgi?id=3652 14440 14441 * public/WebURLRequest.h: 14442 (WebKit::WebURLRequest::): 14443 14444 2010-07-09 Michael Nordman <michaeln (a] google.com> 14445 14446 Reviewed by Dumitru Daniliuc. 14447 14448 Use class ProgressEvent when raising appcache related progress events and 14449 set the 'total', 'loaded', and 'lengthComputable' attributes. 14450 Also raise the final progress event with the 'total' and 'loaded' attribute 14451 values are equal to one another to keep pace with the spec for this feature. 14452 https://bugs.webkit.org/show_bug.cgi?id=37602 14453 14454 * src/ApplicationCacheHost.cpp: 14455 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): 14456 (WebCore::ApplicationCacheHost::stopDeferringEvents): 14457 (WebCore::ApplicationCacheHost::dispatchDOMEvent): 14458 * src/ApplicationCacheHostInternal.h: 14459 (WebCore::ApplicationCacheHostInternal::notifyEventListener): 14460 (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener): 14461 14462 2010-07-09 David Holloway <dhollowa (a] chromium.org> 14463 14464 Reviewed by Dimitri Glazkov. 14465 14466 Roll Chromium DEPS forward to r51736. 14467 https://bugs.webkit.org/show_bug.cgi?id=41867 14468 14469 * DEPS: 14470 14471 2010-07-09 Pavel Feldman <pfeldman (a] chromium.org> 14472 14473 Not reviewed: chromium build fix. 14474 14475 * public/WebGLES2Context.h: 14476 14477 2010-07-09 Yael Aharon <yael.aharon (a] nokia.com> 14478 14479 Reviewed by Laszlo Gombos. 14480 14481 NotificationPresenter needs a cancelRequestPermission API 14482 https://bugs.webkit.org/show_bug.cgi?id=41783 14483 14484 Updated the NotificationPresenter API. 14485 14486 * src/NotificationPresenterImpl.cpp: 14487 (WebKit::NotificationPresenterImpl::checkPermission): 14488 (WebKit::NotificationPresenterImpl::requestPermission): 14489 * src/NotificationPresenterImpl.h: 14490 (WebKit::NotificationPresenterImpl::cancelRequestsForPermission): 14491 14492 2010-07-08 Pavel Feldman <pfeldman (a] chromium.org> 14493 14494 Reviewed by Yury Semikhatsky. 14495 14496 Web Inspector: Provide detailed network info in the resources panel. 14497 14498 https://bugs.webkit.org/show_bug.cgi?id=40227 14499 14500 * WebKit.gyp: 14501 * public/WebDevToolsAgent.h: 14502 * public/WebURLLoadTiming.h: Added. 14503 (WebKit::WebURLLoadTiming::~WebURLLoadTiming): 14504 (WebKit::WebURLLoadTiming::WebURLLoadTiming): 14505 (WebKit::WebURLLoadTiming::operator=): 14506 (WebKit::WebURLLoadTiming::isNull): 14507 * public/WebURLRequest.h: 14508 * public/WebURLResponse.h: 14509 * src/WebDevToolsAgentImpl.cpp: 14510 (WebKit::WebDevToolsAgentImpl::willSendRequest): 14511 * src/WebDevToolsAgentImpl.h: 14512 * src/WebURLLoadTiming.cpp: Added. 14513 (WebKit::WebURLLoadTiming::initialize): 14514 (WebKit::WebURLLoadTiming::reset): 14515 (WebKit::WebURLLoadTiming::assign): 14516 (WebKit::WebURLLoadTiming::setDomainLookupTimes): 14517 (WebKit::WebURLLoadTiming::setConnectStartTime): 14518 (WebKit::WebURLLoadTiming::setRequestTimes): 14519 (WebKit::WebURLLoadTiming::setHeadersAvailableTime): 14520 (WebKit::WebURLLoadTiming::WebURLLoadTiming): 14521 (WebKit::WebURLLoadTiming::operator=): 14522 (WebKit::WebURLLoadTiming::operator PassRefPtr<ResourceLoadTiming>): 14523 * src/WebURLRequest.cpp: 14524 (WebKit::WebURLRequest::reportLoadTiming): 14525 (WebKit::WebURLRequest::setReportLoadTiming): 14526 * src/WebURLResponse.cpp: 14527 (WebKit::WebURLResponse::setConnectionID): 14528 (WebKit::WebURLResponse::setLoadTiming): 14529 14530 2010-07-08 Jay Civelli <jcivelli (a] chromium.org> 14531 14532 Reviewed by Darin Fisher. 14533 14534 [chromium] Exposing the EditorClient text field related methods 14535 to the WebViewClient. Also adding some more accessors methods 14536 to the WebNode and WebInputElement. 14537 This is needed to move the password autocomplete out of the 14538 Chromium WebKit API to the Chromium code. 14539 https://bugs.webkit.org/show_bug.cgi?id=41286 14540 14541 * public/WebInputElement.h: 14542 * public/WebNode.h: 14543 (WebKit::operator!=): 14544 (WebKit::operator<): 14545 * public/WebViewClient.h: 14546 (WebKit::WebViewClient::textFieldDidBeginEditing): 14547 (WebKit::WebViewClient::textFieldDidEndEditing): 14548 (WebKit::WebViewClient::textDidChangeInTextField): 14549 (WebKit::WebViewClient::textFieldHandlingKeyDown): 14550 (WebKit::WebViewClient::didAcceptAutocompleteSuggestion): 14551 * src/EditorClientImpl.cpp: 14552 (WebKit::EditorClientImpl::textFieldDidBeginEditing): 14553 (WebKit::EditorClientImpl::textFieldDidEndEditing): 14554 (WebKit::EditorClientImpl::textDidChangeInTextField): 14555 (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted): 14556 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent): 14557 * src/WebInputElement.cpp: 14558 (WebKit::WebInputElement::readOnly): 14559 (WebKit::WebInputElement::setSelectionRange): 14560 (WebKit::WebInputElement::selectionStart): 14561 (WebKit::WebInputElement::selectionEnd): 14562 * src/WebNode.cpp: 14563 (WebKit::WebNode::lessThan): 14564 14565 2010-07-08 Aaron Boodman <aa (a] chromium.org> 14566 14567 Reviewed by Timothy Hatcher. 14568 14569 Add the ability for user scripts and user styles to affect just the top frame. 14570 14571 https://bugs.webkit.org/show_bug.cgi?id=41529 14572 14573 * public/WebView.h: 14574 (WebKit::WebView::): 14575 (WebKit::WebView::addUserScript): 14576 (WebKit::WebView::addUserStyleSheet): 14577 * src/AssertMatchingEnums.cpp: 14578 * src/WebViewImpl.cpp: 14579 (WebKit::WebView::addUserScript): 14580 (WebKit::WebView::addUserStyleSheet): 14581 14582 2010-07-08 James Robinson <jamesr (a] google.com> 14583 14584 Reviewed by Darin Fisher. 14585 14586 Allow resizing and getting the texture ID from an offscreen GLES2Context 14587 https://bugs.webkit.org/show_bug.cgi?id=41828 14588 14589 When using an offscreen GLES2Context the caller needs to be able to resize the backing store 14590 managed by the embedder and get access to a texture id to pass to the compositor. WebGL 14591 does these actions in an indirect way, it will be refactored to use this path. 14592 14593 * public/WebGLES2Context.h: 14594 * src/GLES2Context.cpp: 14595 (WebCore::GLES2Context::resizeOffscreenContent): 14596 (WebCore::GLES2Context::getOffscreenContentParentTextureId): 14597 14598 2010-07-08 Vitaly Repeshko <vitalyr (a] chromium.org> 14599 14600 Reviewed by Pavel Feldman. 14601 14602 [chromium] Fix deletion has begun assert in TestWebPopupMenuImpl. 14603 https://bugs.webkit.org/show_bug.cgi?id=41899 14604 14605 * tests/PopupMenuTest.cpp: 14606 (WebKit::TestWebPopupMenuImpl::create): 14607 (WebKit::TestWebViewClient::TestWebViewClient): 14608 (WebKit::TestWebViewClient::createPopupMenu): 14609 14610 2010-07-08 Vitaly Repeshko <vitalyr (a] chromium.org> 14611 14612 Reviewed by Pavel Feldman. 14613 14614 [chromium] Fix deletion has begun assertion in TestImage destructor. 14615 https://bugs.webkit.org/show_bug.cgi?id=41883 14616 14617 * tests/DragImageTest.cpp: 14618 (WebCore::TestImage::create): 14619 (WebCore::TEST): 14620 14621 2010-07-08 Vitaly Repeshko <vitalyr (a] chromium.org> 14622 14623 Reviewed by Pavel Feldman. 14624 14625 Fix adoptRef usage violations (mostly in chromium) 14626 https://bugs.webkit.org/show_bug.cgi?id=41863 14627 14628 * src/IDBCallbacksProxy.cpp: 14629 (WebCore::IDBCallbacksProxy::create): 14630 * src/WebPopupMenuImpl.cpp: 14631 (WebKit::WebPopupMenu::create): 14632 * src/WebViewImpl.cpp: 14633 (WebKit::WebView::create): 14634 14635 2010-07-07 Alexander Pavlov <apavlov (a] chromium.org> 14636 14637 Reviewed by Darin Fisher. 14638 14639 [Chromium] Crash when re-entering message loop 14640 14641 Allow re-entrancy of the message loop by tracking all suspended pages 14642 through a PageGroupLoadDeferrer stack. 14643 https://bugs.webkit.org/show_bug.cgi?id=41697 14644 14645 * src/WebViewImpl.cpp: 14646 (WebKit::WebView::willEnterModalLoop): 14647 (WebKit::WebView::didExitModalLoop): 14648 * src/js/Tests.js: 14649 (.TestSuite.prototype.evaluateInConsole_): 14650 (.TestSuite.prototype.testCompletionOnPause): 14651 (.TestSuite.prototype.testMessageLoopReentrant.this): 14652 14653 2010-07-08 David Holloway <dhollowa (a] chromium.org> 14654 14655 Reviewed by Darin Fisher. 14656 14657 [chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for 14658 use by other code in WebKit/chromium/src. 14659 14660 Specific use of these methods is made in WebFrameImpl.cpp. This is 14661 preferred to the cast operator call that was happening prior to this 14662 change. 14663 14664 https://bugs.webkit.org/show_bug.cgi?id=41477 14665 14666 * public/WebNode.h: 14667 * src/WebFrameImpl.cpp: 14668 (WebKit::WebFrameImpl::registerPasswordListener): 14669 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete): 14670 (WebKit::WebFrameImpl::getPasswordListener): 14671 * src/WebFrameImpl.h: 14672 14673 2010-07-07 Pavel Podivilov <podivilov (a] chromium.org> 14674 14675 Reviewed by Yury Semikhatsky. 14676 14677 Web Inspector: convert script offset to webkit format 14678 https://bugs.webkit.org/show_bug.cgi?id=41755 14679 14680 * src/js/DebuggerScript.js: 14681 (): 14682 14683 2010-07-07 Kent Tamura <tkent (a] chromium.org> 14684 14685 Reviewed by Adam Barth. 14686 14687 [DRT/Chromium] DumpRenderTree should depend on ImageDiff 14688 https://bugs.webkit.org/show_bug.cgi?id=41749 14689 14690 We usually use DumpRenderTree with ImageDiff. So ImageDiff should 14691 be built with DumpRenderTree. Without this change, ImageDiff is not 14692 built in a case of Chromium tree build. 14693 test_shell in Chromium tree also depends on image_diff. 14694 14695 * WebKit.gyp: 14696 14697 2010-07-07 John Abd-El-Malek <jam (a] chromium.org> 14698 14699 Reviewed by Darin Fisher. 14700 14701 [chromium] Add a few more methods to WebPlugin so that Pepper v2 plugins can support copy/zoom/find 14702 https://bugs.webkit.org/show_bug.cgi?id=41649 14703 14704 * public/WebPlugin.h: 14705 (WebKit::WebPlugin::hasSelection): 14706 (WebKit::WebPlugin::selectionAsText): 14707 (WebKit::WebPlugin::selectionAsMarkup): 14708 (WebKit::WebPlugin::setZoomFactor): 14709 (WebKit::WebPlugin::supportsFind): 14710 (WebKit::WebPlugin::startFind): 14711 (WebKit::WebPlugin::selectFindResult): 14712 (WebKit::WebPlugin::stopFind): 14713 * src/ContextMenuClientImpl.cpp: 14714 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 14715 * src/WebFrameImpl.cpp: 14716 (WebKit::WebFrameImpl::pluginContainerFromFrame): 14717 (WebKit::ChromePluginPrintContext::end): 14718 (WebKit::ChromePluginPrintContext::computePageRects): 14719 (WebKit::ChromePluginPrintContext::spoolPage): 14720 (WebKit::WebFrameImpl::executeCommand): 14721 * src/WebFrameImpl.h: 14722 * src/WebPluginContainerImpl.cpp: 14723 (WebKit::WebPluginContainerImpl::copy): 14724 (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 14725 * src/WebPluginContainerImpl.h: 14726 * src/WebViewImpl.cpp: 14727 (WebKit::WebViewImpl::setZoomLevel): 14728 14729 2010-07-07 James Hawkins <jhawkins (a] chromium.org> 14730 14731 Reviewed by Dimitri Glazkov. 14732 14733 [Chromium] Add setSuggestedValue to WebInputElement 14734 https://bugs.webkit.org/show_bug.cgi?id=41785 14735 14736 * public/WebInputElement.h: 14737 * src/WebInputElement.cpp: 14738 (WebKit::WebInputElement::setSuggestedValue): 14739 (WebKit::WebInputElement::suggestedValue): 14740 14741 2010-07-07 James Robinson <jamesr (a] chromium.org> and Vincent Scheib <schieb (a] chromium.org> 14742 14743 Reviewed by Dimitri Glazkov. 14744 14745 WebCore::GLES2Context should allow creating onscreen and offscreen contexts 14746 https://bugs.webkit.org/show_bug.cgi?id=41492 14747 14748 You should be able to create a GLES2Context for rendering both on screen 14749 and off screen (to a texture). Currently WebGL does the latter by side 14750 stepping the WebCore::GLES2Context API completely. Longer term it should 14751 move over to using this. 14752 14753 * src/GLES2Context.cpp: 14754 (WebCore::GLES2ContextInternal::initializeOnscreen): 14755 (WebCore::GLES2ContextInternal::initializeOffscreen): 14756 (WebCore::GLES2Context::createOnscreen): 14757 (WebCore::GLES2Context::createOffscreen): 14758 14759 2010-07-07 Sam Weinig <sam (a] webkit.org> 14760 14761 Reviewed by Anders Carlsson. 14762 14763 Patch for https://bugs.webkit.org/show_bug.cgi?id=41772 14764 Add basic piping for BackForwardControllerClient. 14765 14766 * src/WebViewImpl.cpp: 14767 (WebKit::WebViewImpl::WebViewImpl): 14768 14769 2010-07-07 Sheriff Bot <webkit.review.bot (a] gmail.com> 14770 14771 Unreviewed, rolling out r62645. 14772 http://trac.webkit.org/changeset/62645 14773 https://bugs.webkit.org/show_bug.cgi?id=41757 14774 14775 "Broken inspector tests on several platforms" (Requested by 14776 eseidel on #webkit). 14777 14778 * src/js/DebuggerScript.js: 14779 (): 14780 14781 2010-07-07 Pavel Podivilov <podivilov (a] chromium.org> 14782 14783 Reviewed by Yury Semikhatsky. 14784 14785 Web Inspector: if breakpoints were deactivated, add new breakpoints as disabled. 14786 https://bugs.webkit.org/show_bug.cgi?id=41461 14787 14788 * src/js/DebuggerScript.js: 14789 (): 14790 14791 2010-07-06 Darin Adler <darin (a] apple.com> 14792 14793 Try to fix build. 14794 14795 Why do the Chromium bots stop after the first error they encounter? 14796 14797 * src/WebWorkerImpl.cpp: 14798 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): Removed 14799 unneeded release called on a PassOwnPtr to pass it as an argument of 14800 type PassOwnPtr. 14801 14802 2010-07-06 Darin Adler <darin (a] apple.com> 14803 14804 Try to fix build. 14805 14806 * src/WebWorkerBase.cpp: 14807 (WebKit::WebWorkerBase::dispatchTaskToMainThread): Use leakPtr instead 14808 of release. 14809 * src/WebWorkerClientImpl.cpp: 14810 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): Removed 14811 unneeded release called on a PassOwnPtr to pass it as an argument of 14812 type PassOwnPtr. 14813 14814 2010-07-06 Darin Adler <darin (a] apple.com> 14815 14816 Try to fix build. 14817 14818 * src/WebSharedWorkerImpl.cpp: 14819 (WebKit::WebSharedWorkerImpl::connectTask): Removed unneeded release 14820 called on a PassOwnPtr to pass it as an argument of type PassOwnPtr. 14821 14822 2010-07-06 Darin Adler <darin (a] apple.com> 14823 14824 Try to fix build. 14825 14826 * src/WebDataSourceImpl.cpp: 14827 (WebKit::WebDataSourceImpl::setNextPluginLoadObserver): Call leakPtr 14828 here instead of release. Comment makes it really unclear why it's OK! 14829 14830 2010-07-06 Darin Adler <darin (a] apple.com> 14831 14832 Try to fix build. 14833 14834 * src/SharedWorkerRepository.cpp: 14835 (WebCore::SharedWorkerRepository::connect): Removed unneeded release 14836 called on a PassOwnPtr to pass it as an argument of type PassOwnPtr. 14837 14838 2010-07-05 Yury Semikhatsky <yurys (a] chromium.org> 14839 14840 Reviewed by Pavel Feldman. 14841 14842 [v8] Web Inspector: remove v8-specific code dealing with getOwnPropertyNames from InjectedScript.js 14843 https://bugs.webkit.org/show_bug.cgi?id=41595 14844 14845 * src/js/DebuggerScript.js: 14846 14847 2010-07-03 Erik Arvidsson <arv (a] chromium.org> 14848 14849 Reviewed by Ojan Vafai. 14850 14851 Fix issue where a contextmenu event was reporting the wrong target 14852 if the context menu was shown due to pressing the context menu key 14853 (or Shift+F10). 14854 14855 https://bugs.webkit.org/show_bug.cgi?id=38129 14856 14857 * src/WebViewImpl.cpp: 14858 (WebKit::WebViewImpl::sendContextMenuEvent): 14859 14860 2010-07-02 Yury Semikhatsky <yurys (a] chromium.org> 14861 14862 Reviewed by Pavel Feldman. 14863 14864 [v8] Web Inspector: inspected page crashes on attempt to change iframe's src attribute 14865 https://bugs.webkit.org/show_bug.cgi?id=41511 14866 14867 * src/WebBindings.cpp: 14868 (WebKit::getEvent): 14869 14870 2010-07-01 Sheriff Bot <webkit.review.bot (a] gmail.com> 14871 14872 Unreviewed, rolling out r62349. 14873 http://trac.webkit.org/changeset/62349 14874 https://bugs.webkit.org/show_bug.cgi?id=41499 14875 14876 It broke the chromium Linux build. (Requested by dave_levin on 14877 #webkit). 14878 14879 * public/WebNode.h: 14880 * src/WebFrameImpl.cpp: 14881 (WebKit::WebFrameImpl::registerPasswordListener): 14882 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete): 14883 14884 2010-07-01 David Holloway <dhollowa (a] chromium.org> 14885 14886 Reviewed by Darin Fisher. 14887 14888 [chromium] Exposes WebNode::unwrap() and WebNode::constUnwrap() for 14889 use by other code in WebKit/chromium/src. 14890 14891 Specific use of these methods is made in WebFrameImpl.cpp. This is 14892 preferred to the cast operator call that was happening prior to this 14893 change. 14894 14895 https://bugs.webkit.org/show_bug.cgi?id=41477 14896 14897 * public/WebNode.h: 14898 * src/WebFrameImpl.cpp: 14899 (WebKit::WebFrameImpl::registerPasswordListener): 14900 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete): 14901 14902 2010-07-01 Kenneth Russell <kbr (a] google.com> 14903 14904 Reviewed by Dimitri Glazkov. 14905 14906 Stop linking against opengl32.lib in Windows Chromium port 14907 https://bugs.webkit.org/show_bug.cgi?id=41424 14908 14909 * WebKit.gyp: 14910 * src/WebGraphicsContext3DDefaultImpl.cpp: 14911 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): 14912 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 14913 (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent): 14914 * src/WebGraphicsContext3DDefaultImpl.h: 14915 14916 2010-07-01 Sheriff Bot <webkit.review.bot (a] gmail.com> 14917 14918 Unreviewed, rolling out r62246. 14919 http://trac.webkit.org/changeset/62246 14920 https://bugs.webkit.org/show_bug.cgi?id=41470 14921 14922 "Worker tests are broken in Chromium" (Requested by yurys on 14923 #webkit). 14924 14925 * src/WebBindings.cpp: 14926 (WebKit::getEvent): 14927 14928 2010-07-01 David Holloway <dhollowa (a] chromium.org> 14929 14930 Reviewed by Darin Fisher. 14931 14932 [chromium] Consolidates AutoFill and Autocomplete popup menus into a single popup menu. 14933 14934 This change combines SuggestionsPopupMenuClient, AutoFillPopupMenuClient, and 14935 AutocompletePopupMenuClient classes into a single consolidated AutoFillPopupMenuClient class. 14936 Prior to this change the contents of the AutoFill popup menu only included AutoFill 14937 suggestions and similarly the Autocomplete popup menu only included Autocomplete 14938 suggestions. With this consolidation, both AutoFill and Autocomplete suggestions can 14939 now be displayed in a single menu. 14940 14941 https://bugs.webkit.org/show_bug.cgi?id=41236 14942 14943 * WebKit.gyp: 14944 * public/WebFrame.h: 14945 * public/WebView.h: 14946 * src/AutoFillPopupMenuClient.cpp: 14947 (WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient): 14948 (WebKit::AutoFillPopupMenuClient::~AutoFillPopupMenuClient): 14949 (WebKit::AutoFillPopupMenuClient::valueChanged): 14950 (WebKit::AutoFillPopupMenuClient::selectionCleared): 14951 (WebKit::AutoFillPopupMenuClient::itemText): 14952 (WebKit::AutoFillPopupMenuClient::itemStyle): 14953 (WebKit::AutoFillPopupMenuClient::menuStyle): 14954 (WebKit::AutoFillPopupMenuClient::clientPaddingLeft): 14955 (WebKit::AutoFillPopupMenuClient::clientPaddingRight): 14956 (WebKit::AutoFillPopupMenuClient::popupDidHide): 14957 (WebKit::AutoFillPopupMenuClient::setTextFromItem): 14958 (WebKit::AutoFillPopupMenuClient::fontSelector): 14959 (WebKit::AutoFillPopupMenuClient::hostWindow): 14960 (WebKit::AutoFillPopupMenuClient::createScrollbar): 14961 (WebKit::AutoFillPopupMenuClient::initialize): 14962 (WebKit::AutoFillPopupMenuClient::getWebView): 14963 (WebKit::AutoFillPopupMenuClient::textFieldStyle): 14964 * src/AutoFillPopupMenuClient.h: 14965 (WebKit::AutoFillPopupMenuClient::itemToolTip): 14966 (WebKit::AutoFillPopupMenuClient::itemAccessibilityText): 14967 (WebKit::AutoFillPopupMenuClient::itemIsEnabled): 14968 (WebKit::AutoFillPopupMenuClient::clientInsetLeft): 14969 (WebKit::AutoFillPopupMenuClient::clientInsetRight): 14970 (WebKit::AutoFillPopupMenuClient::listSize): 14971 (WebKit::AutoFillPopupMenuClient::selectedIndex): 14972 (WebKit::AutoFillPopupMenuClient::itemIsLabel): 14973 (WebKit::AutoFillPopupMenuClient::itemIsSelected): 14974 (WebKit::AutoFillPopupMenuClient::shouldPopOver): 14975 (WebKit::AutoFillPopupMenuClient::valueShouldChangeOnHotTrack): 14976 (WebKit::AutoFillPopupMenuClient::setAutocompleteMode): 14977 (WebKit::AutoFillPopupMenuClient::getTextField): 14978 (WebKit::AutoFillPopupMenuClient::getSelectedIndex): 14979 (WebKit::AutoFillPopupMenuClient::setSelectedIndex): 14980 * src/AutocompletePopupMenuClient.cpp: Removed. 14981 * src/AutocompletePopupMenuClient.h: Removed. 14982 * src/EditorClientImpl.cpp: 14983 (WebKit::EditorClientImpl::textFieldDidEndEditing): 14984 (WebKit::EditorClientImpl::doAutofill): 14985 (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted): 14986 * src/SuggestionsPopupMenuClient.cpp: Removed. 14987 * src/SuggestionsPopupMenuClient.h: Removed. 14988 * src/WebFrameImpl.cpp: 14989 (WebKit::WebFrameImpl::currentHistoryItem): 14990 (WebKit::WebFrameImpl::notifiyPasswordListenerOfAutocomplete): 14991 * src/WebFrameImpl.h: 14992 * src/WebViewImpl.cpp: 14993 (WebKit::): 14994 (WebKit::WebViewImpl::WebViewImpl): 14995 (WebKit::WebViewImpl::mouseDown): 14996 (WebKit::WebViewImpl::mouseUp): 14997 (WebKit::WebViewImpl::selectPopupHandleKeyEvent): 14998 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): 14999 (WebKit::WebViewImpl::hideAutoFillPopup): 15000 (WebKit::WebViewImpl::setFocus): 15001 (WebKit::WebViewImpl::applyAutoFillSuggestions): 15002 (WebKit::WebViewImpl::applyAutocompleteSuggestions): 15003 (WebKit::WebViewImpl::hidePopups): 15004 (WebKit::WebViewImpl::refreshAutoFillPopup): 15005 * src/WebViewImpl.h: 15006 (WebKit::WebViewImpl::autoFillPopupDidHide): 15007 15008 2010-07-01 Yury Semikhatsky <yurys (a] chromium.org> 15009 15010 Reviewed by Adam Barth. 15011 15012 [v8] Web Inspector: inspected page crashes on attempt to change iframe's src attribute 15013 https://bugs.webkit.org/show_bug.cgi?id=41350 15014 15015 * src/WebBindings.cpp: 15016 (WebKit::getEvent): 15017 15018 2010-07-01 Aaron Boodman <aa (a] chromium.org> 15019 15020 Reviewed by Darin Fisher. 15021 15022 Make the user script API static. This makes it more convenient to use 15023 if you don't have a WebView instance yet. 15024 15025 Added static versions of the three methods and re-route current ones 15026 temporarily through the static versions. Will remove the non-static 15027 versions once Chromium has been updated. 15028 15029 Also, expose the URLPattern configuration for user stylesheets, since 15030 they were not before. 15031 15032 https://bugs.webkit.org/show_bug.cgi?id=41385 15033 15034 * public/WebView.h: 15035 (WebKit::WebView::addUserScript): 15036 (WebKit::WebView::addUserStyleSheet): 15037 * src/WebViewImpl.cpp: 15038 (WebKit::WebView::addUserScript): 15039 (WebKit::WebView::addUserStyleSheet): 15040 (WebKit::WebView::removeAllUserContent): 15041 15042 2010-06-30 Kenneth Russell <kbr (a] google.com> 15043 15044 Reviewed by Dimitri Glazkov. 15045 15046 Roll forward Chromium DEPS to r51287 15047 https://bugs.webkit.org/show_bug.cgi?id=41430 15048 15049 * DEPS: 15050 15051 2010-06-25 Pavel Feldman <pfeldman (a] chromium.org> 15052 15053 Reviewed by Yury Semikhatsky. 15054 15055 Chrome DevTools: Finalize migration to new WebView constructor 15056 (devtools agent is now created within WebViewImpl only). 15057 15058 https://bugs.webkit.org/show_bug.cgi?id=41212 15059 15060 * public/WebDevToolsAgent.h: 15061 * public/WebView.h: 15062 * src/WebDevToolsAgentImpl.cpp: 15063 * src/WebViewImpl.cpp: 15064 (WebKit::WebViewImpl::WebViewImpl): 15065 * src/WebViewImpl.h: 15066 * src/WebWorkerBase.cpp: 15067 (WebKit::WebWorkerBase::initializeLoader): 15068 * tests/PopupMenuTest.cpp: 15069 (WebKit::SelectPopupMenuTest::SetUp): 15070 15071 2010-06-29 Zhenyao Mo <zmo (a] google.com> 15072 15073 Reviewed by Dimitri Glazkov. 15074 15075 Implement getAttachedShaders 15076 https://bugs.webkit.org/show_bug.cgi?id=31172 15077 15078 * public/WebGraphicsContext3D.h: Declaration of getAttachedShaders(). 15079 * src/GraphicsContext3D.cpp: Implementation of getAttachedShaders(). 15080 * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto. 15081 * src/WebGraphicsContext3DDefaultImpl.h: Declaration of getAttachedShaders(). 15082 15083 2010-06-29 Dumitru Daniliuc <dumi (a] chromium.org> 15084 15085 Reviewed by Darin Fisher. 15086 15087 Simplify the WebDatabase interface. 15088 https://bugs.webkit.org/show_bug.cgi?id=40607 15089 15090 Do not ref()/deref() the private AbstractDatabase member. This 15091 allows us to use WebDatabase in the destructors of the DB 15092 classes. 15093 15094 * public/WebDatabase.h: 15095 (WebKit::WebDatabase::WebDatabase): 15096 * src/WebDatabase.cpp: 15097 (WebKit::WebDatabase::name): 15098 (WebKit::WebDatabase::displayName): 15099 (WebKit::WebDatabase::estimatedSize): 15100 (WebKit::WebDatabase::securityOrigin): 15101 (WebKit::WebDatabase::WebDatabase): 15102 15103 2010-06-29 Zhe Su <suzhe (a] chromium.org> 15104 15105 Reviewed by Darin Fisher. 15106 15107 A crash caused by the patch of bug 40608. 15108 https://bugs.webkit.org/show_bug.cgi?id=41334 15109 15110 * src/WebViewImpl.cpp: 15111 (WebKit::WebViewImpl::caretOrSelectionBounds): 15112 15113 2010-06-29 Victor Wang <victorw (a] chromium.org> 15114 15115 Reviewed by Darin Fisher. 15116 15117 [chromium]: Update webkit for chromium multi dll build. 15118 15119 1. Export more webkit APIs for chromium multi dll build. 15120 2. Update DumpRenderTree sources so it can build with webkit.dll 15121 3. Temp disable webkit unit tests for chromium multi dll build. 15122 15123 https://bugs.webkit.org/show_bug.cgi?id=41231 15124 15125 * WebKit.gyp: 15126 * public/WebAccessibilityCache.h: 15127 * public/WebAccessibilityObject.h: 15128 * public/WebEventListener.h: 15129 * public/WebGeolocationServiceMock.h: 15130 * public/WebGraphicsContext3D.h: 15131 * public/WebIDBDatabaseError.h: 15132 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError): 15133 (WebKit::WebIDBDatabaseError::operator=): 15134 * public/WebNotification.h: 15135 * public/WebPasswordFormData.h: 15136 * public/WebSearchableFormData.h: 15137 * public/WebStorageEventDispatcher.h: 15138 * public/WebString.h: 15139 (WebKit::WebString::WebString): 15140 (WebKit::WebString::operator=): 15141 15142 2010-06-29 Vangelis Kokkevis <vangelis (a] chromium.org> 15143 15144 Reviewed by Darin Fisher. 15145 15146 [Chromium] Hooking up GraphicsContext3D to the gpu compositor. 15147 GraphicsContext3DInternal is now initialized with a pointer to the HostWindow 15148 that corresponds to the WebView containing the context. The initializer 15149 forces a WebGLES2Context to be created for the WebView (if one doesn't already 15150 exist) and uses the view's GL context as a parent to the GL context created 15151 for WebGL. This allows the compositor to read the texture associated with 15152 WebGL's frame buffer. We also plumb though GraphicsContext3D's prepareTexture 15153 and platformLayer methods which are required by the compositor code. 15154 https://bugs.webkit.org/show_bug.cgi?id=41243 15155 15156 * public/WebGraphicsContext3D.h: 15157 * public/WebView.h: 15158 Made gles2Context() a virtual method on WebView instead of WebViewImpl 15159 to allow access to it from GraphicsContext3DInternal::initialize(). 15160 * src/GraphicsContext3D.cpp: 15161 (WebCore::GraphicsContext3DInternal::initialize): 15162 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D): 15163 (WebCore::GraphicsContext3DInternal::platformTexture): 15164 (WebCore::GraphicsContext3DInternal::prepareTexture): 15165 (WebCore::GraphicsContext3DInternal::platformLayer): 15166 (WebCore::GraphicsContext3D::create): 15167 (WebCore::GraphicsContext3D::prepareTexture): 15168 (WebCore::GraphicsContext3D::platformLayer): 15169 * src/WebGraphicsContext3DDefaultImpl.cpp: 15170 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 15171 (WebKit::WebGraphicsContext3DDefaultImpl::getPlatformTextureId): 15172 (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture): 15173 * src/WebGraphicsContext3DDefaultImpl.h: 15174 * src/WebViewImpl.h: 15175 15176 2010-06-29 Pavel Podivilov <podivilov (a] chromium.org> 15177 15178 Reviewed by Yury Semikhatsky. 15179 15180 Web Inspector: return line number where breakpoint was actually set by v8 from setBreakpoint function. 15181 https://bugs.webkit.org/show_bug.cgi?id=40781 15182 15183 * src/js/DebuggerScript.js: 15184 (): 15185 15186 2010-06-23 John Gregg <johnnyg (a] google.com> 15187 15188 Reviewed by Kent Tamura. 15189 15190 add ENABLE_DIRECTORY_UPLOAD build support 15191 https://bugs.webkit.org/show_bug.cgi?id=41100 15192 15193 * features.gypi: 15194 15195 2010-06-28 Zhe Su <suzhe (a] chromium.org> 15196 15197 Reviewed by Jian Li. 15198 15199 [chromium]Remove deprecated code related to input method. 15200 https://bugs.webkit.org/show_bug.cgi?id=41244 15201 15202 Also update TestWebWidget in tests/PopupMenuTest.cpp to add missing implementations. 15203 15204 * WebKit.gyp: 15205 * public/WebCompositionCommand.h: Removed. 15206 * public/WebViewClient.h: 15207 * public/WebWidget.h: 15208 * src/EditorClientImpl.cpp: 15209 (WebKit::EditorClientImpl::setInputMethodState): 15210 * src/WebPopupMenuImpl.cpp: 15211 * src/WebPopupMenuImpl.h: 15212 * src/WebViewImpl.cpp: 15213 * src/WebViewImpl.h: 15214 * tests/PopupMenuTest.cpp: 15215 (WebKit::TestWebWidget::setComposition): 15216 (WebKit::TestWebWidget::confirmComposition): 15217 (WebKit::TestWebWidget::textInputType): 15218 (WebKit::TestWebWidget::caretOrSelectionBounds): 15219 15220 2010-06-27 John Abd-El-Malek <jam (a] chromium.org> 15221 15222 Reviewed by Darin Fisher. 15223 15224 [chromium] Get the selected text from plugins for right click menu 15225 https://bugs.webkit.org/show_bug.cgi?id=41242 15226 15227 * public/WebContextMenuData.h: 15228 (WebKit::WebContextMenuData::): 15229 * public/WebPlugin.h: 15230 (WebKit::WebPlugin::selectedText): 15231 * src/ContextMenuClientImpl.cpp: 15232 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 15233 * src/WebPluginContainerImpl.cpp: 15234 (WebKit::WebPluginContainerImpl::selectedText): 15235 * src/WebPluginContainerImpl.h: 15236 15237 2010-06-28 Yury Semikhatsky <yurys (a] chromium.org> 15238 15239 Unreviewed. Fix Chromium debugger tests. 15240 15241 * src/js/Tests.js: 15242 (.TestSuite.prototype.testDebugIntrinsicProperties): 15243 15244 2010-06-25 Yuzo Fujishima <yuzo (a] google.com> 15245 15246 Reviewed by Shinichiro Hamaji. 15247 15248 Improve default value handling for page format properties. 15249 https://bugs.webkit.org/show_bug.cgi?id=41150 15250 15251 * public/WebFrame.h: 15252 * src/WebFrameImpl.cpp: 15253 (WebKit::WebFrameImpl::pageSizeAndMarginsInPixels): 15254 * src/WebFrameImpl.h: 15255 15256 2010-06-26 Sheriff Bot <webkit.review.bot (a] gmail.com> 15257 15258 Unreviewed, rolling out r61943. 15259 http://trac.webkit.org/changeset/61943 15260 https://bugs.webkit.org/show_bug.cgi?id=41251 15261 15262 Totally breaks webkit_unit_tests on Chromium linux and mac 15263 (Requested by mnaganov on #webkit). 15264 15265 * WebKit.gyp: 15266 * src/WebFrameImpl.cpp: 15267 (WebKit::frameContentAsPlainText): 15268 * tests/RunAllTests.cpp: 15269 (main): 15270 * tests/WebFrameTest.cpp: Removed. 15271 * tests/data/iframes_test.html: Removed. 15272 * tests/data/invisible_iframe.html: Removed. 15273 * tests/data/visible_iframe.html: Removed. 15274 * tests/data/zero_sized_iframe.html: Removed. 15275 15276 2010-06-26 Tony Gentilcore <tonyg (a] chromium.org> 15277 15278 Reviewed by Dimitri Glazkov. 15279 15280 Disable Web Timing support by default for chromium port. 15281 https://bugs.webkit.org/show_bug.cgi?id=38924 15282 15283 * features.gypi: 15284 15285 2010-06-25 Jay Civelli <jcivelli (a] chromium.org> 15286 15287 Reviewed by Darin Fisher. 15288 15289 [chromium] Made WebFrame not report the text from hidden frames. 15290 (some pages contain hidden frames with garbage text that 15291 should not be indexed or used to detect the page's language). 15292 https://bugs.webkit.org/show_bug.cgi?id=39456 15293 15294 * DEPS: 15295 * WebKit.gyp: 15296 * src/WebFrameImpl.cpp: 15297 (WebKit::frameContentAsPlainText): 15298 * tests/RunAllTests.cpp: 15299 (main): 15300 * tests/WebFrameTest.cpp: Added. 15301 * tests/data: Added. 15302 * tests/data/iframes_test.html: Added. 15303 * tests/data/invisible_iframe.html: Added. 15304 * tests/data/visible_iframe.html: Added. 15305 * tests/data/zero_sized_iframe.html: Added. 15306 15307 2010-06-25 Bernhard Bauer <bauerb (a] chromium.org> 15308 15309 Reviewed by Darin Fisher. 15310 15311 Add plugin accessors to WebPluginContainer. 15312 https://bugs.webkit.org/show_bug.cgi?id=41145 15313 15314 * public/WebPluginContainer.h: 15315 * src/WebPluginContainerImpl.h: 15316 (WebKit::WebPluginContainerImpl::setPlugin): 15317 15318 2010-06-25 Sterling Swigart <sswigart (a] google.com> 15319 15320 Reviewed by David Levin. 15321 15322 Resetting ENABLE_IMAGE_RESIZER to 0. Image.webkitGetImage needs to be developed under 15323 a 0 value, at least until both the JSC and V8 bindings are in place. 15324 https://bugs.webkit.org/show_bug.cgi?id=41116 15325 15326 * features.gypi: ENABLE_IMAGE_RESIZER=0 15327 15328 2010-06-25 Victor Wang <victorw (a] chromium.org> 15329 15330 Reviewed by Darin Fisher. 15331 15332 [Chromium] Update chromium webkit gyp so it has 15333 option to be built as DLL. 15334 15335 Chromium webkit is built as webkit.dll on windows 15336 if it is inside chromium build and variable component 15337 is set to shared_library. 15338 15339 https://bugs.webkit.org/show_bug.cgi?id=41161 15340 15341 * WebKit.gyp: 15342 15343 2010-06-25 John Abd-El-Malek <jam (a] chromium.org> 15344 15345 Reviewed by David Levin. 15346 15347 [chromium] Send unhandled events to Node's default handler 15348 https://bugs.webkit.org/show_bug.cgi?id=41223 15349 15350 * src/WebPluginContainerImpl.cpp: 15351 (WebKit::WebPluginContainerImpl::handleEvent): 15352 15353 2010-06-25 Daniel Cheng <dcheng (a] chromium.org> 15354 15355 Reviewed by Darin Fisher. 15356 15357 [chromium] Add new stubs for querying platform drag-and-drop and copy-and-paste data. 15358 15359 This change adds new stubs for querying for data in a clipboard or drag operation. This is 15360 so adding support for more data types in clipboard/drag operations doesn't become 15361 increasingly expensive, since we currently copy all the drag data we need every time a new 15362 web drop target is entered. It also adds a new mechanism to write back to the system 15363 clipboard that isn't tied to one data type. 15364 15365 https://bugs.webkit.org/show_bug.cgi?id=40540 15366 15367 * public/WebClipboard.h: 15368 (WebKit::WebClipboard::): 15369 (WebKit::WebClipboard::isFormatAvailable): 15370 (WebKit::WebClipboard::readPlainText): 15371 (WebKit::WebClipboard::readHTML): 15372 (WebKit::WebClipboard::writePlainText): 15373 (WebKit::WebClipboard::writeHTML): 15374 (WebKit::WebClipboard::writeURL): 15375 (WebKit::WebClipboard::writeImage): 15376 (WebKit::WebClipboard::writeData): 15377 (WebKit::WebClipboard::readAvailableTypes): 15378 (WebKit::WebClipboard::readData): 15379 (WebKit::WebClipboard::readFilenames): 15380 * public/WebKitClient.h: 15381 * src/AssertMatchingEnums.cpp: 15382 * src/ChromiumBridge.cpp: 15383 (WebCore::ChromiumBridge::clipboardWriteData): 15384 (WebCore::ChromiumBridge::clipboardReadAvailableTypes): 15385 (WebCore::ChromiumBridge::clipboardReadData): 15386 (WebCore::ChromiumBridge::clipboardReadFilenames): 15387 15388 2010-06-25 Lei Zheng <lzheng (a] chromium.org> 15389 15390 Reviewed by Dimitri Glazkov. 15391 15392 [Chromium] Add a flag to the ResourceResponse for tracking if a request was fetched 15393 when Alternate-Protocol is available. 15394 15395 https://bugs.webkit.org/show_bug.cgi?id=41001 15396 15397 * public/WebURLResponse.h: 15398 * src/WebURLResponse.cpp: 15399 (WebKit::WebURLResponse::wasAlternateProtocolAvailable): 15400 (WebKit::WebURLResponse::setWasAlternateProtocolAvailable): 15401 15402 2010-06-25 Michael Nordman <michaeln (a] google.com> 15403 15404 Reviewed by Dumitru Daniliuc. 15405 15406 Additional API to pass additional info needed for AppCache progress events. 15407 https://bugs.webkit.org/show_bug.cgi?id=37602 15408 15409 Also, delete an obsolete method from the worker API. 15410 15411 * public/WebApplicationCacheHostClient.h: define a new method 15412 * public/WebSharedWorker.h: remove an obsolte method 15413 * src/ApplicationCacheHostInternal.h: implement the new method 15414 (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener): 15415 15416 2010-06-25 John Gregg <johnnyg (a] google.com> 15417 15418 Reviewed by Darin Fisher. 15419 15420 Notification should expose ltr/rtl as TextDirection, not String 15421 https://bugs.webkit.org/show_bug.cgi?id=40871 15422 15423 * public/WebNotification.h: 15424 * src/WebNotification.cpp: 15425 (WebKit::WebNotification::direction): 15426 15427 2010-06-24 Eric Seidel <eric (a] webkit.org> 15428 15429 Reviewed by Adam Barth. 15430 15431 Clean up and document DocumentWriter::replaceDocument code path 15432 https://bugs.webkit.org/show_bug.cgi?id=41182 15433 15434 * src/WebFrameImpl.cpp: 15435 (WebKit::WebFrameImpl::loadJavaScriptURL): 15436 - Make Chromium use DocumentWriter like it should. 15437 15438 2010-06-24 Vangelis Kokkevis <vangelis (a] chromium.org> 15439 15440 Reviewed by Darin Fisher. 15441 15442 [Chromium] A WebView can now own a GLES2Context which gets created on 15443 demand. This context will typically be created for the gpu compositor 15444 and used as a parent context for any elements on the page that use the 15445 gpu for rendering (e.g. WebGL) and need to pass their backbuffer directly 15446 to the compositor. 15447 https://bugs.webkit.org/show_bug.cgi?id=41010 15448 15449 * public/WebGLES2Context.h: 15450 * src/GLES2Context.cpp: 15451 (WebCore::GLES2ContextInternal::getWebGLES2Context): 15452 (WebCore::GLES2ContextInternal::initialize): 15453 * src/WebViewImpl.cpp: 15454 (WebKit::WebViewImpl::WebViewImpl): 15455 (WebKit::WebViewImpl::gles2Context): 15456 * src/WebViewImpl.h: 15457 15458 2010-06-24 Pavel Feldman <pfeldman (a] chromium.org> 15459 15460 Reviewed by Yury Semikhatsky. 15461 15462 Web Inspector: Inspector cleanup + better DevTools alignment with Inspector. 15463 15464 https://bugs.webkit.org/show_bug.cgi?id=41094 15465 15466 - Merged InspectorClient implementation into WebDevToolsAgent 15467 - Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing) 15468 - Removed a lot of legacy code from WebDevToolsAgentImpl 15469 - Removed a lot of overrides from DevTools.js 15470 - Simplified devtools stubs 15471 - Got rid of all logic from within InjectDispatch.js 15472 15473 * public/WebView.h: 15474 * src/FrameLoaderClientImpl.cpp: 15475 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad): 15476 * src/InspectorClientImpl.cpp: 15477 (WebKit::InspectorClientImpl::inspectorDestroyed): 15478 (WebKit::InspectorClientImpl::openInspectorFrontend): 15479 (WebKit::InspectorClientImpl::highlight): 15480 (WebKit::InspectorClientImpl::hideHighlight): 15481 (WebKit::InspectorClientImpl::populateSetting): 15482 (WebKit::InspectorClientImpl::storeSetting): 15483 (WebKit::InspectorClientImpl::sendMessageToFrontend): 15484 (WebKit::InspectorClientImpl::resourceTrackingWasEnabled): 15485 (WebKit::InspectorClientImpl::resourceTrackingWasDisabled): 15486 (WebKit::InspectorClientImpl::timelineProfilerWasStarted): 15487 (WebKit::InspectorClientImpl::timelineProfilerWasStopped): 15488 (WebKit::InspectorClientImpl::devToolsAgent): 15489 * src/InspectorClientImpl.h: 15490 * src/InspectorFrontendClientImpl.cpp: 15491 (WebKit::InspectorFrontendClientImpl::inspectedURLChanged): 15492 * src/ToolsAgent.h: 15493 * src/WebDevToolsAgentImpl.cpp: 15494 (WebKit::): 15495 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost): 15496 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 15497 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient): 15498 (WebKit::WebDevToolsAgentImpl::inspectorDestroyed): 15499 (WebKit::WebDevToolsAgentImpl::openInspectorFrontend): 15500 (WebKit::WebDevToolsAgentImpl::highlight): 15501 (WebKit::WebDevToolsAgentImpl::hideHighlight): 15502 (WebKit::WebDevToolsAgentImpl::populateSetting): 15503 (WebKit::WebDevToolsAgentImpl::storeSetting): 15504 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend): 15505 (WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled): 15506 (WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled): 15507 (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted): 15508 (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped): 15509 * src/WebDevToolsAgentImpl.h: 15510 * src/WebDevToolsAgentPrivate.h: 15511 * src/WebViewImpl.cpp: 15512 (WebKit::WebView::create): 15513 (WebKit::WebViewImpl::WebViewImpl): 15514 * src/WebViewImpl.h: 15515 * src/js/DevTools.js: 15516 (devtools.ToolsAgent): 15517 (): 15518 (devtools): 15519 * src/js/DevToolsHostStub.js: 15520 (.window.setDebuggerScriptSource): 15521 (.window.dispatchOnInjectedScript): 15522 * src/js/InjectDispatch.js: 15523 (dispatch): 15524 * src/js/InspectorControllerImpl.js: 15525 15526 2010-06-24 Pavel Feldman <pfeldman (a] chromium.org> 15527 15528 Not reviewed: revert 61766. 15529 15530 * WebKit.gyp: 15531 * public/WebView.h: 15532 * src/FrameLoaderClientImpl.cpp: 15533 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad): 15534 * src/InspectorClientImpl.cpp: Added. 15535 (WebKit::InspectorClientImpl::InspectorClientImpl): 15536 (WebKit::InspectorClientImpl::~InspectorClientImpl): 15537 (WebKit::InspectorClientImpl::inspectorDestroyed): 15538 (WebKit::InspectorClientImpl::openInspectorFrontend): 15539 (WebKit::invalidateNodeBoundingRect): 15540 (WebKit::InspectorClientImpl::highlight): 15541 (WebKit::InspectorClientImpl::hideHighlight): 15542 (WebKit::InspectorClientImpl::populateSetting): 15543 (WebKit::InspectorClientImpl::storeSetting): 15544 (WebKit::InspectorClientImpl::sendMessageToFrontend): 15545 * src/InspectorClientImpl.h: Added. 15546 * src/InspectorFrontendClientImpl.cpp: 15547 (WebKit::InspectorFrontendClientImpl::inspectedURLChanged): 15548 * src/ToolsAgent.h: 15549 * src/WebDevToolsAgentImpl.cpp: 15550 (WebKit::): 15551 (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad): 15552 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost): 15553 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 15554 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient): 15555 (WebKit::WebDevToolsAgentImpl::jsDispatchToApu): 15556 (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf): 15557 (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged): 15558 * src/WebDevToolsAgentImpl.h: 15559 * src/WebDevToolsAgentPrivate.h: 15560 * src/WebViewImpl.cpp: 15561 (WebKit::WebView::create): 15562 (WebKit::WebViewImpl::WebViewImpl): 15563 (WebKit::WebViewImpl::setDevToolsAgent): 15564 * src/WebViewImpl.h: 15565 * src/WebWorkerBase.cpp: 15566 (WebKit::WebWorkerBase::initializeLoader): 15567 * src/js/DevTools.js: 15568 (devtools.ToolsAgent): 15569 (devtools.ToolsAgent.prototype.frameNavigate_): 15570 (): 15571 * src/js/DevToolsHostStub.js: 15572 (.RemoteDebuggerAgentStub): 15573 (.RemoteDebuggerAgentStub.prototype.getContextId): 15574 (.RemoteDebuggerAgentStub.prototype.processDebugCommands): 15575 (.RemoteProfilerAgentStub): 15576 (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules): 15577 (.RemoteProfilerAgentStub.prototype.getLogLines): 15578 (.RemoteToolsAgentStub): 15579 (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript): 15580 (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController): 15581 (.ProfilerStubHelper): 15582 (.ProfilerStubHelper.GetInstance): 15583 (.ProfilerStubHelper.prototype.StopProfiling): 15584 (.ProfilerStubHelper.prototype.StartProfiling): 15585 (.ProfilerStubHelper.prototype.getActiveProfilerModules): 15586 (.ProfilerStubHelper.prototype.getLogLines): 15587 (.RemoteDebuggerCommandExecutorStub): 15588 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand): 15589 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript): 15590 (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_): 15591 (.DevToolsHostStub): 15592 (.DevToolsHostStub.prototype.reset): 15593 (.DevToolsHostStub.prototype.setting): 15594 (.DevToolsHostStub.prototype.setSetting): 15595 * src/js/InjectDispatch.js: 15596 (ApuAgentDispatcher.dispatchToApu): 15597 (dispatch): 15598 * src/js/InspectorControllerImpl.js: 15599 (devtools.InspectorBackendImpl.prototype.debuggerEnabled): 15600 (devtools.InspectorBackendImpl.prototype.profilerEnabled): 15601 15602 2010-06-23 Pavel Feldman <pfeldman (a] chromium.org> 15603 15604 Reviewed by Yury Semikhatsky. 15605 15606 Web Inspector: Inspector cleanup + better DevTools alignment with Inspector. 15607 15608 https://bugs.webkit.org/show_bug.cgi?id=41094 15609 15610 - Merged InspectorClient implementation into WebDevToolsAgent 15611 - Changed the way WebDevToolsAgent is initialized (will break chromium bot, needs coordinated landing) 15612 - Removed a lot of legacy code from WebDevToolsAgentImpl 15613 - Removed a lot of overrides from DevTools.js 15614 - Simplified devtools stubs 15615 - Got rid of all logic from within InjectDispatch.js 15616 15617 * WebKit.gyp: 15618 * public/WebDevToolsAgent.h: 15619 * public/WebView.h: 15620 * src/FrameLoaderClientImpl.cpp: 15621 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad): 15622 * src/InspectorFrontendClientImpl.cpp: 15623 (WebKit::InspectorFrontendClientImpl::inspectedURLChanged): 15624 * src/ToolsAgent.h: 15625 * src/WebDevToolsAgentImpl.cpp: 15626 (WebKit::): 15627 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost): 15628 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 15629 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient): 15630 (WebKit::WebDevToolsAgentImpl::inspectorDestroyed): 15631 (WebKit::WebDevToolsAgentImpl::openInspectorFrontend): 15632 (WebKit::WebDevToolsAgentImpl::highlight): 15633 (WebKit::WebDevToolsAgentImpl::hideHighlight): 15634 (WebKit::WebDevToolsAgentImpl::populateSetting): 15635 (WebKit::WebDevToolsAgentImpl::storeSetting): 15636 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend): 15637 (WebKit::WebDevToolsAgentImpl::resourceTrackingWasEnabled): 15638 (WebKit::WebDevToolsAgentImpl::resourceTrackingWasDisabled): 15639 (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStarted): 15640 (WebKit::WebDevToolsAgentImpl::timelineProfilerWasStopped): 15641 * src/WebDevToolsAgentImpl.h: 15642 * src/WebDevToolsAgentPrivate.h: 15643 * src/WebViewImpl.cpp: 15644 (WebKit::WebView::create): 15645 (WebKit::WebViewImpl::WebViewImpl): 15646 * src/WebViewImpl.h: 15647 * src/WebWorkerBase.cpp: 15648 (WebKit::WebWorkerBase::initializeLoader): 15649 * src/js/DevTools.js: 15650 (devtools.ToolsAgent): 15651 (): 15652 (devtools): 15653 * src/js/DevToolsHostStub.js: 15654 (.window.setDebuggerScriptSource): 15655 (.window.dispatchOnInjectedScript): 15656 * src/js/InjectDispatch.js: 15657 (dispatch): 15658 * src/js/InspectorControllerImpl.js: 15659 15660 2010-06-24 Yury Semikhatsky <yurys (a] chromium.org> 15661 15662 Reviewed by Pavel Feldman. 15663 15664 Web Inspector: implement layout tests for debugger 15665 https://bugs.webkit.org/show_bug.cgi?id=40774 15666 15667 * src/WebDevToolsFrontendImpl.cpp: 15668 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 15669 15670 2010-06-23 Tony Chang <tony (a] chromium.org> 15671 15672 Reviewed by Darin Fisher. 15673 15674 layout test for a crash in chromium multipart request handling 15675 https://bugs.webkit.org/show_bug.cgi?id=41050 15676 15677 Also roll DEPS to pick up the crash fix. 15678 15679 * DEPS: 15680 15681 2010-06-23 Yuzo Fujishima <yuzo (a] google.com> 15682 15683 Reviewed by Shinichiro Hamaji. 15684 15685 Make page format data methods accessible from Chromium 15686 https://bugs.webkit.org/show_bug.cgi?id=41056 15687 15688 * public/WebFrame.h: 15689 * src/WebFrameImpl.cpp: 15690 (WebKit::WebFrameImpl::isPageBoxVisible): 15691 (WebKit::WebFrameImpl::pageAreaRectInPixels): 15692 (WebKit::WebFrameImpl::preferredPageSizeInPixels): 15693 * src/WebFrameImpl.h: 15694 15695 2010-06-22 Adam Barth <abarth (a] webkit.org> 15696 15697 Reviewed by Eric Seidel. 15698 15699 Rename HTMLDocumentParser to LegacyHTMLDocumentParser 15700 https://bugs.webkit.org/show_bug.cgi?id=41043 15701 15702 * src/WebEntities.cpp: 15703 15704 2010-06-22 Pavel Feldman <pfeldman (a] chromium.org> 15705 15706 Not reviewed: follow up to r61655 to make Chromium tests happy. 15707 15708 * src/js/InspectorControllerImpl.js: 15709 (devtools.InspectorBackendImpl): 15710 15711 2010-06-22 Mikhail Naganov <mnaganov (a] chromium.org> 15712 15713 Reviewed by Pavel Feldman. 15714 15715 [Chromium] Clean up after removal of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread. 15716 15717 https://bugs.webkit.org/show_bug.cgi?id=40914 15718 15719 * public/WebDevToolsAgentClient.h: 15720 15721 2010-06-22 Mikhail Naganov <mnaganov (a] chromium.org> 15722 15723 Reviewed by Pavel Feldman. 15724 15725 [Chromium] Add a sanity test for heap profiler. 15726 15727 https://bugs.webkit.org/show_bug.cgi?id=40917 15728 15729 * src/js/Tests.js: 15730 (.TestSuite.prototype.testHeapProfiler.findDisplayedNode): 15731 (.TestSuite.prototype.testHeapProfiler.findVisibleView): 15732 (.TestSuite.prototype.testHeapProfiler): 15733 15734 2010-06-21 MORITA Hajime <morrita (a] google.com> 15735 15736 Reviewed by Darin Fisher. 15737 15738 [Chromium] Dragging outside the frame immediately causes page to scroll 15739 http://webkit.org/b/40461 15740 15741 This is regression that was introduced at http://webkit.org/b/39725. 15742 15743 There are 2 problems: 15744 1. It starts auto-scrolling immediately. We should have some delay. 15745 2. The scroll continues even after a mouse cursor goes outside a frame. 15746 The scroll should be stopped when the curosr has left. 15747 15748 This change introduced DragScrollTimer to handle 1. 15749 At the same time, it fixed DragScrollTimer::scrollDistanceFor() to 15750 handle 2, We now stop scrolling when the cursor gone. 15751 15752 * WebKit.gyp: 15753 * src/DragScrollTimer.cpp: Added. 15754 (WebKit::distanceToRect): 15755 (WebKit::DragScrollTimer::DragScrollTimer): 15756 (WebKit::DragScrollTimer::~DragScrollTimer): 15757 (WebKit::DragScrollTimer::stop): 15758 (WebKit::DragScrollTimer::scroll): 15759 (WebKit::DragScrollTimer::update): 15760 (WebKit::DragScrollTimer::triggerScroll): 15761 (WebKit::DragScrollTimer::scrollDistanceFor): 15762 * src/DragScrollTimer.h: Added. 15763 (WebKit::DragScrollTimer::fired): 15764 (WebKit::DragScrollTimer::shouldScroll): 15765 * src/WebViewImpl.cpp: 15766 (WebKit::WebViewImpl::WebViewImpl): 15767 (WebKit::WebViewImpl::dragSourceEndedAt): 15768 (WebKit::WebViewImpl::dragSourceMovedTo): 15769 (WebKit::WebViewImpl::dragTargetDrop): 15770 (WebKit::WebViewImpl::dragTargetDragEnterOrOver): 15771 * src/WebViewImpl.h: 15772 15773 2010-06-21 Kent Tamura <tkent (a] chromium.org> 15774 15775 Reviewed by Dimitri Glazkov. 15776 15777 [Chromium] Enable EVENTSOURCE, FILE_WRITER, and IMAGE_RESIZER 15778 https://bugs.webkit.org/show_bug.cgi?id=40905 15779 15780 EVENTSOURCE: It is already enabled in Chromium browser. This fixes 15781 some tests with Chromium DRT. 15782 15783 FILE_WRITER and IMAGE_RESIZER: Enable experimental features in 15784 order to test them before enabling them in Chromium browser. 15785 15786 * features.gypi: 15787 15788 2010-06-21 Satish Sampath <satish (a] chromium.org> 15789 15790 Reviewed by Steve Block. 15791 15792 Speech Input Patch 0: Added compilation argument to conditionally compile pending patches. 15793 https://bugs.webkit.org/show_bug.cgi?id=40878 15794 15795 * features.gypi: 15796 15797 2010-06-21 Mikhail Naganov <mnaganov (a] chromium.org> 15798 15799 Reviewed by Yury Semikhatsky. 15800 15801 [Chromium] Remove usage of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread. 15802 15803 Also, move WebDevToolsMessageTransport to its own header file. 15804 15805 https://bugs.webkit.org/show_bug.cgi?id=40913 15806 15807 * DEPS: 15808 * WebKit.gyp: 15809 * public/WebDevToolsAgent.h: 15810 * public/WebDevToolsAgentClient.h: 15811 * public/WebDevToolsMessageTransport.h: Added. 15812 (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport): 15813 * src/WebDevToolsAgentImpl.cpp: 15814 (WebKit::): 15815 15816 2010-06-20 Yury Semikhatsky <yurys (a] chromium.org> 15817 15818 Reviewed by Pavel Feldman. 15819 15820 [v8] Web Inspector: don't add ScriptDebugServer as v8 listener if browser exposes 15821 v8 debugging protocol. 15822 15823 * src/DebuggerAgentManager.cpp: 15824 (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol): 15825 15826 2010-06-19 Jay Civelli <jcivelli (a] chromium.org> 15827 15828 Reviewed by David Levin. 15829 15830 Adding a < operator to WebURLs so they can be used in std::maps. 15831 https://bugs.webkit.org/show_bug.cgi?id=40632 15832 15833 * public/WebCString.h: 15834 (WebKit::operator<): 15835 * public/WebURL.h: 15836 (WebKit::operator<): 15837 * src/WebCString.cpp: 15838 (WebKit::WebCString::compare): 15839 15840 2010-06-19 Kent Tamura <tkent (a] chromium.org> 15841 15842 Unreviewed. Build fix for r61488. 15843 15844 * features.gypi: Define use_accelerated_compositing. 15845 15846 2010-06-19 Thomas Van Lenten <thomasvl (a] chromium.org> 15847 15848 Reviewed by David Levin. 15849 15850 Warnings from -Wextra in a Chromium Mac build 15851 1. checks of unsigned >= 0 15852 2. enumeral and non-enumeral type in conditional expression 15853 3. copy ctors that don't call the super copy ctor or ctor 15854 15855 https://bugs.webkit.org/show_bug.cgi?id=40791 15856 15857 * src/AutoFillPopupMenuClient.cpp: 15858 (WebKit::AutoFillPopupMenuClient::getSuggestion): 15859 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): 15860 (WebKit::AutoFillPopupMenuClient::valueChanged): 15861 (WebKit::AutoFillPopupMenuClient::selectionChanged): 15862 * src/AutocompletePopupMenuClient.cpp: 15863 (WebKit::AutocompletePopupMenuClient::getSuggestion): 15864 (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex): 15865 15866 2010-06-19 Zhe Su <suzhe (a] chromium.org> 15867 15868 Reviewed by Darin Fisher. 15869 15870 [chromium]Refactor input method related APIs. 15871 https://bugs.webkit.org/show_bug.cgi?id=40608 15872 15873 * WebKit.gyp: 15874 * public/WebCompositionCommand.h: 15875 * public/WebCompositionUnderline.h: Added. 15876 (WebKit::WebCompositionUnderline::WebCompositionUnderline): 15877 * public/WebTextInputType.h: Added. 15878 (WebKit::): 15879 * public/WebViewClient.h: 15880 * public/WebWidget.h: 15881 * public/WebWidgetClient.h: 15882 (WebKit::WebWidgetClient::resetInputMethod): 15883 * src/CompositionUnderlineBuilder.h: Added. 15884 (WebKit::CompositionUnderlineBuilder::CompositionUnderlineBuilder): 15885 * src/CompositionUnderlineVectorBuilder.cpp: Added. 15886 (WebKit::CompositionUnderlineVectorBuilder::CompositionUnderlineVectorBuilder): 15887 * src/CompositionUnderlineVectorBuilder.h: Added. 15888 * src/EditorClientImpl.cpp: 15889 (WebKit::EditorClientImpl::setInputMethodState): 15890 * src/WebPopupMenuImpl.cpp: 15891 (WebKit::WebPopupMenuImpl::setComposition): 15892 (WebKit::WebPopupMenuImpl::confirmComposition): 15893 (WebKit::WebPopupMenuImpl::textInputType): 15894 (WebKit::WebPopupMenuImpl::caretOrSelectionBounds): 15895 * src/WebPopupMenuImpl.h: 15896 * src/WebViewImpl.cpp: 15897 (WebKit::WebViewImpl::handleCompositionEvent): 15898 (WebKit::WebViewImpl::setComposition): 15899 (WebKit::WebViewImpl::confirmComposition): 15900 (WebKit::WebViewImpl::textInputType): 15901 (WebKit::WebViewImpl::caretOrSelectionBounds): 15902 * src/WebViewImpl.h: 15903 15904 2010-06-19 Victoria Kirst <vrk (a] google.com> 15905 15906 Reviewed by David Levin. 15907 15908 Modifying the WebMediaPlayer interface to be compatible with 15909 a change in chrome. 15910 This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome 15911 has been updated, so this commit should NOT break chromium anymore, 15912 nor should it cause any test failures. 15913 https://bugs.webkit.org/show_bug.cgi?id=39445 15914 15915 * public/WebMediaPlayer.h: Changed buffered() to be non-const. 15916 15917 2010-06-19 Zhenyao Mo <zmo (a] google.com> 15918 15919 Reviewed by Dimitri Glazkov. 15920 15921 fast/canvas/webgl/get-active-test.html failed in Chrome Mac 15922 https://bugs.webkit.org/show_bug.cgi?id=40496 15923 15924 * src/WebGraphicsContext3DDefaultImpl.cpp: Call makeContextCurrent(). 15925 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib): 15926 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform): 15927 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): 15928 15929 2010-06-18 Aaron Boodman <aa (a] chromium.org> 15930 15931 Remove WebKit::WebDocument::isXHTMLDocument. 15932 https://bugs.webkit.org/show_bug.cgi?id=40815 15933 15934 * public/WebDocument.h: Remove isXHTMLDocument(). 15935 * src/WebDocument.cpp: Ditto. 15936 15937 2010-06-19 Aaron Boodman <aa (a] chromium.org> 15938 15939 Unreviewed, rolling out r61466. 15940 http://trac.webkit.org/changeset/61466 15941 https://bugs.webkit.org/show_bug.cgi?id=40816 15942 15943 Landed wrong change 15944 15945 * src/WebKit.cpp: 15946 (WebKit::shutdown): 15947 15948 2010-06-18 Aaron Boodman <aa (a] chromium.org> 15949 15950 WebKit API: Undo static hooks into V8 when WebKit is shut downm 15951 https://bugs.webkit.org/show_bug.cgi?id=40816 15952 15953 * src/WebKit.cpp: 15954 (WebKit::shutdown): Call new WebCore::V8DOMWindowShell::uninitializeV8IfNeeded(). 15955 15956 2010-06-18 Drew Wilson <atwilson (a] chromium.org> 15957 15958 Reviewed by Darin Fisher. 15959 15960 [Chromium] Plumbing for top-level frame names 15961 https://bugs.webkit.org/show_bug.cgi?id=40430 15962 15963 * public/WebFrame.h: 15964 Removed obsolete clearName() API and added better documentation for 15965 setName(). 15966 * src/WebFrameImpl.cpp: 15967 Removed clearName() API. 15968 * src/WebFrameImpl.h: 15969 Removed clearName() API. 15970 15971 2010-06-18 Drew Wilson <atwilson (a] chromium.org> 15972 15973 Reviewed by Dumitru Daniliuc. 15974 15975 Roll chromium DEPS 50089:50171 15976 https://bugs.webkit.org/show_bug.cgi?id=40842 15977 15978 * DEPS: 15979 Update chromium_rev to r50171 to remove downstream reference to WebFrame::clearName(). 15980 15981 2010-06-18 Mikhail Naganov <mnaganov (a] chromium.org> 15982 15983 Reviewed by Yury Semikhatsky. 15984 15985 Implement 'takeHeapSnapshot' in InspectorController. 15986 15987 https://bugs.webkit.org/show_bug.cgi?id=40834 15988 15989 * src/js/HeapProfilerPanel.js: 15990 (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked): 15991 * src/js/InspectorControllerImpl.js: 15992 (devtools.InspectorBackendImpl): 15993 * src/js/ProfilerAgent.js: 15994 (devtools.ProfilerAgent.prototype.startProfiling): 15995 15996 2010-06-18 Anton Muhin <antonm (a] chromium.org> 15997 15998 Reviewed by Dimitri Glazkov. 15999 16000 [v8] Finish migration to new named property query API 16001 https://bugs.webkit.org/show_bug.cgi?id=40771 16002 Remove definition which allowed gradual transition to new API. 16003 See https://bugs.webkit.org/show_bug.cgi?id=40303 for first phase. 16004 Requires V8 roll. 16005 16006 * DEPS: 16007 16008 2010-06-17 Pavel Feldman <pfeldman (a] chromium.org> 16009 16010 Reviewed by Yury Semikhatsky. 16011 16012 Web Inspector: bring XHR console records back. 16013 - adds "Enable XHR Monitor" / "Disable XHR Monitor" actions to the console's context menu 16014 - make the chosen option persist in the settings. 16015 16016 https://bugs.webkit.org/show_bug.cgi?id=40799 16017 16018 * src/js/InspectorControllerImpl.js: 16019 (devtools.InspectorBackendImpl): 16020 16021 2010-06-15 Dumitru Daniliuc <dumi (a] chromium.org> 16022 16023 Reviewed by Adam Barth. 16024 16025 Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase. 16026 https://bugs.webkit.org/show_bug.cgi?id=39041 16027 16028 * src/WebRuntimeFeatures.cpp: 16029 (WebKit::WebRuntimeFeatures::enableDatabase): 16030 (WebKit::WebRuntimeFeatures::isDatabaseEnabled): 16031 16032 2010-06-17 Tony Chang <tony (a] chromium.org> 16033 16034 Reviewed by Kent Tamura. 16035 16036 [chromium] cleanup redundant DEPS value and remove buildbot cleanup code 16037 https://bugs.webkit.org/show_bug.cgi?id=40615 16038 16039 * DEPS: tools/data_pack was listed twice for linux (harmless, but unnecessary) 16040 16041 2010-06-17 Jeremy Moskovich <jeremy (a] chromium.org> 16042 16043 Reviewed by Darin Fisher. 16044 16045 [Chromium API] Implement WebSandboxSupport on OS X and add stubs to allow 16046 OOP loading of fonts. 16047 16048 https://bugs.webkit.org/show_bug.cgi?id=40544 16049 16050 * WebKit.gyp: Add mac WebSandboxSupport.h 16051 * public/mac/WebSandboxSupport.h: Added. 16052 * src/ChromiumBridge.cpp: 16053 (WebCore::ChromiumBridge::loadFont): 16054 16055 2010-06-17 Pavel Feldman <pfeldman (a] chromium.org> 16056 16057 Unreviewed: chromium tests fix. Added InspectorBackend delegates for new inspector methods. 16058 16059 * src/js/InspectorControllerImpl.js: 16060 (devtools.InspectorBackendImpl): 16061 16062 2010-06-17 Mikhail Naganov <mnaganov (a] chromium.org> 16063 16064 Reviewed by Pavel Feldman. 16065 16066 [Chromium] Prepare to making WebDevToolsAgentClient::sendMessageToFrontendOnIOThread virtual 16067 16068 https://bugs.webkit.org/show_bug.cgi?id=39302 16069 16070 * public/WebDevToolsAgent.h: 16071 * public/WebDevToolsAgentClient.h: 16072 (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport): 16073 * src/WebDevToolsAgentImpl.cpp: 16074 (WebKit::): 16075 (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread): 16076 16077 2010-06-17 John Gregg <johnnyg (a] google.com> 16078 16079 Reviewed by David Levin. 16080 16081 Undo the build fix with the correct patch: Chromium NotificationPresenter 16082 is now informed of the destruction before it actually happens, so this 16083 use of the Notification object is correct. 16084 https://bugs.webkit.org/show_bug.cgi?id=40097 16085 16086 * src/NotificationPresenterImpl.cpp: 16087 (WebKit::NotificationPresenterImpl::notificationObjectDestroyed): 16088 16089 2010-06-16 Kent Tamura <tkent (a] chromium.org> 16090 16091 Reviewed by Dimitri Glazkov. 16092 16093 [DRT/Chromium] Set current working directory for each of tests 16094 https://bugs.webkit.org/show_bug.cgi?id=40668 16095 16096 * DEPS: Update Chromium to r49915 to have 16097 webkit_support::SetCurrentDirectoryForFileURL(). 16098 16099 2010-06-16 Drew Wilson <atwilson (a] chromium.org> 16100 16101 Reviewed by Kent Tamura. 16102 16103 Added plumbing to Chromium WebKit API to allow setting/getting the name 16104 of top level frames. 16105 16106 https://bugs.webkit.org/show_bug.cgi?id=40430 16107 * public/WebFrame.h: 16108 Added setName() API. 16109 * public/WebViewClient.h: 16110 (WebKit::WebViewClient::createView): 16111 Now takes a "name" parameter. 16112 * src/ChromeClientImpl.cpp: 16113 (WebKit::ChromeClientImpl::createWindow): 16114 Passes a name parameter. 16115 * src/WebFrameImpl.cpp: 16116 (WebKit::WebFrameImpl::setName): 16117 Allows setting the frame name by calling through to the WebCore API. 16118 * src/WebFrameImpl.h: 16119 16120 2010-06-15 Darin Adler <darin (a] apple.com> 16121 16122 Reviewed by Adam Barth. 16123 16124 Move functions out of Frame class that were marked "move to Chrome" 16125 https://bugs.webkit.org/show_bug.cgi?id=39636 16126 16127 * src/WebViewImpl.cpp: 16128 (WebKit::WebViewImpl::dispatchBeforeUnloadEvent): Call shouldClose 16129 on FrameLoader instead of going through Frame. 16130 16131 2010-06-11 Darin Fisher <darin (a] chromium.org> 16132 16133 Reviewed by Brady Eidson. 16134 16135 Expose WebHistoryItem::itemSequenceNumber. 16136 16137 https://bugs.webkit.org/show_bug.cgi?id=40451 16138 16139 * public/WebHistoryItem.h: 16140 * src/WebHistoryItem.cpp: 16141 (WebKit::WebHistoryItem::itemSequenceNumber): 16142 (WebKit::WebHistoryItem::setItemSequenceNumber): 16143 16144 2010-06-15 Yury Semikhatsky <yurys (a] chromium.org> 16145 16146 Reviewed by Pavel Feldman. 16147 16148 [v8] Web Inspector: make ui tests pass when ScriptDebugServer is used 16149 https://bugs.webkit.org/show_bug.cgi?id=40623 16150 16151 * src/js/DebuggerAgent.js: 16152 (devtools.DebuggerAgent.prototype.formatCallFrame_): return empty function name for anonymous functions. 16153 * src/js/DebuggerScript.js: 16154 * src/js/Tests.js: 16155 (.TestSuite.prototype.testProfilerTab.findVisibleView): 16156 (.TestSuite.prototype.testProfilerTab): 16157 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed): 16158 (.TestSuite.prototype.testSetBreakpoint.this): 16159 (.TestSuite.prototype.testSetBreakpoint): 16160 (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit): 16161 (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage): 16162 (.TestSuite.prototype.testExpandScope.examineScopes): 16163 (.TestSuite.prototype.testExpandScope): 16164 (.TestSuite.prototype.testDebugIntrinsicProperties): 16165 16166 2010-06-14 Anders Carlsson <andersca (a] apple.com> 16167 16168 Fix Chromium build. 16169 16170 * src/WebPluginListBuilderImpl.cpp: 16171 (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType): 16172 16173 2010-06-14 Dumitru Daniliuc <dumi (a] chromium.org> 16174 16175 Reviewed by Adam Barth. 16176 16177 Get DatabaseTracker ready for sync DBs. 16178 https://bugs.webkit.org/show_bug.cgi?id=39041 16179 16180 * public/WebDatabase.h: 16181 * src/DatabaseObserver.cpp: 16182 (WebCore::DatabaseObserver::databaseOpened): 16183 (WebCore::DatabaseObserver::databaseModified): 16184 (WebCore::DatabaseObserver::databaseClosed): 16185 * src/WebDatabase.cpp: 16186 (WebKit::WebDatabase::closeDatabaseImmediately): 16187 (WebKit::WebDatabase::WebDatabase): 16188 (WebKit::WebDatabase::operator=): 16189 (WebKit::WebDatabase::operator WTF::PassRefPtr<AbstractDatabase>): 16190 16191 2010-06-14 Chris Fleizach <cfleizach (a] apple.com> 16192 16193 Reviewed by Darin Adler. 16194 16195 AX: need ListItemRole and PresentationalRole 16196 https://bugs.webkit.org/show_bug.cgi?id=40133 16197 16198 * public/WebAccessibilityRole.h: 16199 * src/AssertMatchingEnums.cpp: 16200 16201 2010-06-14 Anders Carlsson <andersca (a] apple.com> 16202 16203 Reviewed by Sam Weinig. 16204 16205 Remove pluginIndex from MimeClassInfo 16206 https://bugs.webkit.org/show_bug.cgi?id=40588 16207 16208 * src/WebPluginListBuilderImpl.cpp: 16209 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin): 16210 16211 2010-06-14 Jeremy Orlow <jorlow (a] chromium.org> 16212 16213 Build fix. 16214 16215 * src/IDBCallbacksProxy.h: 16216 16217 2010-06-14 Ilya Tikhonovsky <loislo (a] chromium.org> 16218 16219 Reviewed by Pavel Feldman. 16220 16221 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc 16222 data from inspected page to WebInspector as JSON string via http. The native 16223 serialization to JSON string is supported by InspectorValue's classes. This patch 16224 has the implementation of sendMessageToFrontend function. WebKit version of it still 16225 uses ScriptFunctionCall and will be switched to another transport a little bit later. 16226 https://bugs.webkit.org/show_bug.cgi?id=40134 16227 16228 * src/InspectorClientImpl.cpp: 16229 (WebKit::InspectorClientImpl::sendMessageToFrontend): 16230 * src/InspectorClientImpl.h: 16231 * src/WebDevToolsAgentImpl.cpp: 16232 (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController): 16233 16234 2010-06-13 Tony Chang <tony (a] chromium.org> 16235 16236 Reviewed by Darin Fisher. 16237 16238 [chromium] checkout chromium third_party directly 16239 https://bugs.webkit.org/show_bug.cgi?id=40556 16240 16241 * DEPS: 16242 16243 2010-06-13 Tony Chang <tony (a] chromium.org> 16244 16245 Build fix, not reviewed. 16246 16247 fix chromium compile after r61094 (id attribute refactor) 16248 https://bugs.webkit.org/show_bug.cgi?id=40553 16249 16250 * src/ChromeClientImpl.cpp: 16251 * src/WebFormControlElement.cpp: 16252 (WebKit::WebFormControlElement::nameForAutofill): 16253 16254 2010-06-13 Andras Becsi <abecsi (a] inf.u-szeged.hu> 16255 16256 Reviewed by Darin Adler. 16257 16258 Centralize the gperf code generation commands into make-hash-tools.pl 16259 to avoid redundancy across multiple build systems. 16260 Do this in preparation of refactoring the usage of these generated 16261 sources to fix the debug linking error on Linux with gcc >= 4.4.0. 16262 16263 webkit.org/b/29244 16264 16265 * src/WebEntities.cpp: 16266 16267 2010-06-11 Eric Seidel <eric (a] webkit.org> 16268 16269 Reviewed by Adam Barth. 16270 16271 Rename the rest of the *Tokenizer classes to *DocumentParser 16272 https://bugs.webkit.org/show_bug.cgi?id=40507 16273 16274 * src/WebEntities.cpp: 16275 - Fix a comment to match new class names. 16276 16277 2010-06-12 Evan Stade <estade (a] chromium.org> 16278 16279 Reviewed by Eric Seidel. 16280 16281 [chromium] Menu key should act on current selection even if it is not editable 16282 https://bugs.webkit.org/show_bug.cgi?id=40348 16283 16284 Allow the menu key to act on non-editable selections. 16285 16286 * src/WebViewImpl.cpp: 16287 (WebKit::WebViewImpl::sendContextMenuEvent): 16288 16289 2010-06-11 James Hawkins <jhawkins (a] chromium.org> 16290 16291 Reviewed by Darin Fisher. 16292 16293 [Chromium] Notify the WebView when the AutoFill popup hides. 16294 16295 https://bugs.webkit.org/show_bug.cgi?id=40459 16296 16297 * src/AutoFillPopupMenuClient.cpp: 16298 (WebKit::AutoFillPopupMenuClient::selectionCleared): 16299 16300 2010-06-11 Tony Gentilcore <tonyg (a] chromium.org> 16301 16302 Reviewed by Dimitri Glazkov. 16303 16304 Roll chromium DEPS 49376:49521 16305 https://bugs.webkit.org/show_bug.cgi?id=40488 16306 16307 * DEPS: 16308 16309 2010-06-10 Jeremy Orlow <jorlow (a] chromium.org> 16310 16311 Reviewed by Steve Block. 16312 16313 Implement more of IndexedDB's Indexes and ObjectStores 16314 https://bugs.webkit.org/show_bug.cgi?id=40424 16315 16316 Add plumbing for both of these classes. 16317 16318 * public/WebIDBDatabase.h: 16319 (WebKit::WebIDBDatabase::name): 16320 (WebKit::WebIDBDatabase::description): 16321 (WebKit::WebIDBDatabase::version): 16322 (WebKit::WebIDBDatabase::objectStores): 16323 (WebKit::WebIDBDatabase::objectStore): 16324 (WebKit::WebIDBDatabase::removeObjectStore): 16325 * public/WebIDBObjectStore.h: 16326 (WebKit::WebIDBObjectStore::indexNames): 16327 (WebKit::WebIDBObjectStore::createIndex): 16328 (WebKit::WebIDBObjectStore::index): 16329 (WebKit::WebIDBObjectStore::removeIndex): 16330 * src/IDBDatabaseProxy.cpp: 16331 (WebCore::IDBDatabaseProxy::name): 16332 (WebCore::IDBDatabaseProxy::description): 16333 (WebCore::IDBDatabaseProxy::version): 16334 (WebCore::IDBDatabaseProxy::objectStores): 16335 (WebCore::IDBDatabaseProxy::objectStore): 16336 (WebCore::IDBDatabaseProxy::removeObjectStore): 16337 * src/IDBDatabaseProxy.h: 16338 * src/IDBObjectStoreProxy.cpp: 16339 (WebCore::IDBObjectStoreProxy::indexNames): 16340 (WebCore::IDBObjectStoreProxy::createIndex): 16341 (WebCore::IDBObjectStoreProxy::index): 16342 (WebCore::IDBObjectStoreProxy::removeIndex): 16343 * src/IDBObjectStoreProxy.h: 16344 * src/WebIDBDatabaseImpl.cpp: 16345 (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl): 16346 (WebKit::WebIDBDatabaseImpl::name): 16347 (WebKit::WebIDBDatabaseImpl::description): 16348 (WebKit::WebIDBDatabaseImpl::version): 16349 (WebKit::WebIDBDatabaseImpl::objectStores): 16350 (WebKit::WebIDBDatabaseImpl::createObjectStore): 16351 (WebKit::WebIDBDatabaseImpl::objectStore): 16352 (WebKit::WebIDBDatabaseImpl::removeObjectStore): 16353 * src/WebIDBDatabaseImpl.h: 16354 * src/WebIDBObjectStoreImpl.cpp: 16355 (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl): 16356 (WebKit::WebIDBObjectStoreImpl::name): 16357 (WebKit::WebIDBObjectStoreImpl::keyPath): 16358 (WebKit::WebIDBObjectStoreImpl::indexNames): 16359 (WebKit::WebIDBObjectStoreImpl::createIndex): 16360 (WebKit::WebIDBObjectStoreImpl::index): 16361 (WebKit::WebIDBObjectStoreImpl::removeIndex): 16362 * src/WebIDBObjectStoreImpl.h: 16363 16364 2010-06-11 Alexander Pavlov <apavlov (a] chromium.org> 16365 16366 Reviewed by Pavel Feldman. 16367 16368 Web Inspector: Enable serialization/deserialization of the frontend state 16369 https://bugs.webkit.org/show_bug.cgi?id=40228 16370 16371 * src/js/InspectorControllerImpl.js: 16372 (devtools.InspectorBackendImpl): 16373 16374 2010-06-10 Sren Gjesse <sgjesse (a] chromium.org> 16375 16376 Reviewed by Pavel Feldman. 16377 16378 V8: Chromium test expectations not matching improved V8 JavaScript stepping 16379 https://bugs.webkit.org/show_bug.cgi?id=40419 16380 16381 Update test expetations to match chaged V8 break locations. 16382 16383 * src/js/Tests.js: 16384 16385 2010-06-10 Pavel Feldman <pfeldman (a] chromium.org> 16386 16387 Reviewed by Yury Semikhatsky. 16388 16389 Web Inspector: Port performSearch from InjectedScript to InspectorDOMAgent. 16390 16391 https://bugs.webkit.org/show_bug.cgi?id=40422 16392 16393 * src/js/InspectorControllerImpl.js: 16394 (devtools.InspectorBackendImpl): 16395 16396 2010-06-11 Vangelis Kokkevis <vangelis (a] chromium.org> 16397 16398 Reviewed by David Levin. 16399 16400 [chromium] Adding a build dependency to the gles2 C library to the webkit_unit_tests 16401 project to allow it to link when WebCore is compiled with the ACCELERATED_COMPOSITING 16402 flag. 16403 https://bugs.webkit.org/show_bug.cgi?id=40341 16404 16405 * WebKit.gyp: 16406 16407 2010-06-10 Kent Tamura <tkent (a] chromium.org> 16408 16409 Reviewed by Dimitri Glazkov. 16410 16411 [DRT/Chromium] Support plugin tests 16412 https://bugs.webkit.org/show_bug.cgi?id=40413 16413 16414 * DEPS: 16415 Bump the Chromium revision to r49376 to have a npapi_layout_test_plugin 16416 change and Linux <progress> resources. 16417 Add third_party/mesa because app/ depends on them 16418 since r49332. 16419 * WebKit.gyp: 16420 Copy a plugin binary for DRT to recognize it. 16421 16422 2010-06-10 James Hawkins <jhawkins (a] chromium.org> 16423 16424 Not reviwed. 16425 16426 Build fix for Chromium Mac Release. 16427 16428 * src/AutoFillPopupMenuClient.cpp: 16429 (WebKit::AutoFillPopupMenuClient::getSuggestion): 16430 (WebKit::AutoFillPopupMenuClient::valueChanged): 16431 (WebKit::AutoFillPopupMenuClient::selectionChanged): 16432 (WebKit::AutoFillPopupMenuClient::itemIsSeparator): 16433 16434 2010-06-09 James Hawkins <jhawkins (a] chromium.org> 16435 16436 Reviewed by Darin Fisher. 16437 16438 [Chromium] Add the ability to specify a separator in 16439 AutoFillPopupMenuClient. 16440 16441 https://bugs.webkit.org/show_bug.cgi?id=40397 16442 16443 * public/WebViewClient.h: 16444 (WebKit::WebViewClient::didAcceptAutoFillSuggestion): 16445 * src/AutoFillPopupMenuClient.cpp: 16446 (WebKit::AutoFillPopupMenuClient::getSuggestionsCount): 16447 (WebKit::AutoFillPopupMenuClient::getSuggestion): 16448 (WebKit::AutoFillPopupMenuClient::valueChanged): 16449 (WebKit::AutoFillPopupMenuClient::selectionChanged): 16450 (WebKit::AutoFillPopupMenuClient::itemIsSeparator): 16451 (WebKit::AutoFillPopupMenuClient::initialize): 16452 (WebKit::AutoFillPopupMenuClient::setSuggestions): 16453 * src/AutoFillPopupMenuClient.h: 16454 * src/WebViewImpl.cpp: 16455 (WebKit::WebViewImpl::applyAutoFillSuggestions): 16456 * src/WebViewImpl.h: 16457 16458 2010-06-10 Dmitry Titov <dimich (a] chromium.org> 16459 16460 Not reviewed, Chromium build fix from Abhishek Arya. 16461 16462 * src/WebImageCG.cpp: 16463 (WebKit::WebImage::WebImage): 16464 (WebKit::WebImage::operator=): 16465 16466 2010-06-10 Abhishek Arya <inferno (a] chromium.org> 16467 16468 Reviewed by Dimitri Glazkov. 16469 16470 Add null pointer checks for nativeImageForCurrentFrame 16471 function calls. 16472 https://bugs.webkit.org/show_bug.cgi?id=39797 16473 16474 * src/WebImageCG.cpp: 16475 (WebKit::WebImage::WebImage): 16476 (WebKit::WebImage::operator=): 16477 16478 2010-06-10 Yury Semikhatsky <yurys (a] chromium.org> 16479 16480 Reviewed by Pavel Feldman. 16481 16482 Web Inspector: to reduce the front end start up time don't push script 16483 sources to frontend if debugger is always enabled, instead request 16484 script content lazily at the moment it should be displyed. It is critical for 16485 always enabled debugger because in that case lots of script may have 16486 already been parsed when the front end is opening and pushing all 16487 of them at once may slow things down(even though the script sources will never 16488 be used if scripts panel isn't open). 16489 https://bugs.webkit.org/show_bug.cgi?id=40364 16490 16491 * src/js/DevTools.js: 16492 * src/js/InspectorControllerImpl.js: 16493 (devtools.InspectorBackendImpl): 16494 (.devtools.InspectorBackendImpl.prototype.getScriptSource): 16495 16496 2010-06-10 Mike Belshe <mbelshe (a] google.com> 16497 16498 Reviewed by David Levin 16499 16500 Track whether a resource is loaded via a proxy. 16501 16502 https://bugs.webkit.org/show_bug.cgi?id=40312 16503 16504 * public/WebURLResponse.h: 16505 * src/WebURLResponse.cpp: 16506 (WebKit::WebURLResponse::wasFetchedViaProxy): 16507 (WebKit::WebURLResponse::setWasFetchedViaProxy): 16508 16509 2010-06-10 Vangelis Kokkevis <vangelis (a] chromium.org> 16510 16511 Reviewed by Dimitri Glazkov. 16512 16513 [chromium] Adding the ANGLE project to the DEPS file as it's required 16514 by the gpu-accelerated compositor. 16515 https://bugs.webkit.org/show_bug.cgi?id=40379 16516 16517 * DEPS: 16518 16519 2010-06-09 Bo Liu <boliu (a] chromium.org> 16520 16521 Reviewed by David Levin. 16522 16523 [Chromium] Pass <video> full screen calls to Chromium port client 16524 https://bugs.webkit.org/show_bug.cgi?id=40317 16525 16526 * public/WebViewClient.h: 16527 (WebKit::WebViewClient::supportsFullscreen): 16528 (WebKit::WebViewClient::enterFullscreenForNode): 16529 (WebKit::WebViewClient::exitFullscreenForNode): 16530 * src/ChromeClientImpl.cpp: 16531 (WebKit::ChromeClientImpl::supportsFullscreenForNode): 16532 (WebKit::ChromeClientImpl::enterFullscreenForNode): 16533 (WebKit::ChromeClientImpl::exitFullscreenForNode): 16534 * src/ChromeClientImpl.h: 16535 16536 2010-06-09 Kenneth Russell <kbr (a] google.com> 16537 16538 Reviewed by Dimitri Glazkov. 16539 16540 Rename FloatArray to Float32Array 16541 https://bugs.webkit.org/show_bug.cgi?id=40323 16542 16543 Used do-webcore-rename to perform renaming. Manually undid 16544 incorrect changes to WebCore/bridge/jni/jsc/JNIBridgeJSC.cpp, 16545 WebCore/manual-tests/resources/ArrayParameterTestApplet.java and 16546 ArrayParameterTestApplet.class. Updated LayoutTests. Built and ran 16547 all layout tests on Safari; built Chromium and ran selected WebGL 16548 tests. 16549 16550 * src/GraphicsContext3D.cpp: 16551 16552 2010-06-09 Sheriff Bot <webkit.review.bot (a] gmail.com> 16553 16554 Unreviewed, rolling out r60889. 16555 http://trac.webkit.org/changeset/60889 16556 https://bugs.webkit.org/show_bug.cgi?id=40365 16557 16558 gtk bot has some kind of memory corruption (Requested by 16559 loislo on #webkit). 16560 16561 * src/InspectorClientImpl.cpp: 16562 * src/InspectorClientImpl.h: 16563 * src/WebDevToolsAgentImpl.cpp: 16564 (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController): 16565 16566 2010-06-09 Pavel Podivilov <podivilov (a] chromium.org> 16567 16568 Reviewed by Yury Semikhatsky. 16569 16570 Web Inspector: retreive debugger script source synchronously when 16571 frontend is attached. We need this to be able to stop on top-level 16572 breakpoints. 16573 https://bugs.webkit.org/show_bug.cgi?id=40289 16574 16575 * WebKit.gypi: 16576 * src/DebuggerAgent.h: 16577 * src/DebuggerAgentImpl.cpp: 16578 * src/DebuggerAgentImpl.h: 16579 * src/WebDevToolsAgentImpl.cpp: 16580 (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy): 16581 * src/js/DebuggerScript.js: 16582 * src/js/DevTools.js: 16583 (WebInspector.loaded): 16584 * src/js/DevToolsHostStub.js: 16585 16586 2010-06-07 Ilya Tikhonovsky <loislo (a] chromium.org> 16587 16588 Reviewed by Pavel Feldman. 16589 16590 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc 16591 data from inspected page to WebInspector as JSON string via http. The native 16592 serialization to JSON string is supported by InspectorValue's classes. This patch 16593 has the implementation of sendMessageToFrontend function. WebKit version of it still 16594 uses ScriptFunctionCall and will be switched to another transport a little bit later. 16595 https://bugs.webkit.org/show_bug.cgi?id=40134 16596 16597 * src/InspectorClientImpl.cpp: 16598 (WebKit::InspectorClientImpl::sendMessageToFrontend): 16599 * src/InspectorClientImpl.h: 16600 * src/WebDevToolsAgentImpl.cpp: 16601 (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController): 16602 16603 2010-06-09 Yury Semikhatsky <yurys (a] chromium.org> 16604 16605 Reviewed by Pavel Feldman. 16606 16607 Web Inspector: update stack trace after script source editing 16608 https://bugs.webkit.org/show_bug.cgi?id=40357 16609 16610 * src/js/DebuggerAgent.js: 16611 (devtools.DebuggerAgent.prototype.editScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber): 16612 (devtools.DebuggerAgent.prototype.editScriptSource.requestBacktrace): 16613 (devtools.DebuggerAgent.prototype.editScriptSource.handleBacktraceResponse): 16614 (devtools.DebuggerAgent.prototype.editScriptSource.reportDidCommitEditing): 16615 (devtools.DebuggerAgent.prototype.editScriptSource): 16616 (devtools.DebuggerAgent.prototype.requestBacktrace_): 16617 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_): 16618 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_): 16619 (devtools.DebuggerAgent.prototype.updateCallFramesFromBacktraceResponse_): 16620 * src/js/InspectorControllerImpl.js: 16621 (.devtools.InspectorBackendImpl.prototype.editScriptSource): 16622 16623 2010-06-08 Tony Chang <tony (a] chromium.org> 16624 16625 Reviewed by David Levin. 16626 16627 [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out 16628 https://bugs.webkit.org/show_bug.cgi?id=40285 16629 16630 Take 2 at landing this patch, this time rolling DEPS just a bit 16631 further to pick up some chromium fixes. 16632 16633 * DEPS 16634 * gyp_webkit: 16635 16636 2010-06-08 Sheriff Bot <webkit.review.bot (a] gmail.com> 16637 16638 Unreviewed, rolling out r60878. 16639 http://trac.webkit.org/changeset/60878 16640 https://bugs.webkit.org/show_bug.cgi?id=40349 16641 16642 broke linux build (Requested by tony^work on #webkit). 16643 16644 * DEPS: 16645 * gyp_webkit: 16646 16647 2010-06-08 Tony Chang <tony (a] chromium.org> 16648 16649 Reviewed by David Levin. 16650 16651 [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out 16652 https://bugs.webkit.org/show_bug.cgi?id=40285 16653 16654 * gyp_webkit: 16655 16656 2010-06-08 Tony Chang <tony (a] chromium.org> 16657 16658 Not reviewed, build fix. 16659 16660 [chromium] fix linux compile 16661 https://bugs.webkit.org/show_bug.cgi?id=40343 16662 16663 * DEPS: 16664 16665 2010-06-08 Yury Semikhatsky <yurys (a] chromium.org> 16666 16667 Reviewed by Pavel Feldman. 16668 16669 Web Inspector: extend ScriptDebugServer to support script source editing 16670 https://bugs.webkit.org/show_bug.cgi?id=40297 16671 16672 * src/js/DebuggerAgent.js: 16673 (devtools.ScriptInfo.prototype.worldType): 16674 * src/js/DebuggerScript.js: 16675 (debuggerScriptConstructor.DebuggerScript.editScriptSource): 16676 * src/js/DevTools.js: 16677 (WebInspector.loaded): 16678 * src/js/InspectorControllerImpl.js: 16679 (devtools.InspectorBackendImpl): 16680 16681 2010-06-08 Antonio Gomes <tonikitoo (a] webkit.org> 16682 16683 Reviewed by Ojan Vafai and Darin Adler. 16684 16685 Refactor platform dependent editing behavior code out of Settings 16686 https://bugs.webkit.org/show_bug.cgi?id=39854 16687 16688 EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to 16689 EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly. 16690 16691 * src/WebSettingsImpl.cpp: 16692 (WebKit::WebSettingsImpl::setEditingBehavior): 16693 2010-06-07 Tony Chang <tony (a] chromium.org> 16694 16695 Reviewed by Kent Tamura. 16696 16697 [chromium] roll chromium DEPS 16698 https://bugs.webkit.org/show_bug.cgi?id=40277 16699 16700 * DEPS: 16701 16702 2010-06-07 Kinuko Yasuda <kinuko (a] chromium.org> 16703 16704 Reviewed by Jian Li. 16705 16706 Refactor FormData and Blob for better support of Blobs synthesized by BlobBuilder. 16707 https://bugs.webkit.org/show_bug.cgi?id=39083 16708 16709 Replace FormDataList::Item list with BlobItemList to get it compiled 16710 with the refactoring in FormDataList. 16711 16712 * src/WebSearchableFormData.cpp: 16713 (WebCore::HasSuitableTextElement): 16714 16715 2010-06-07 Andrei Popescu <andreip (a] google.com> 16716 16717 Reviewed by Jeremy Orlow. 16718 16719 [indexedDB] It is impossible to create object stores 16720 https://bugs.webkit.org/show_bug.cgi?id=40054 16721 16722 * WebKit.gyp: 16723 * public/WebIDBCallbacks.h: 16724 (WebKit::WebIDBCallbacks::onSuccess): 16725 * public/WebIDBDatabase.h: 16726 (WebKit::WebIDBDatabase::createObjectStore): 16727 * public/WebIDBObjectStore.h: Added. 16728 (WebKit::WebIDBObjectStore::~WebIDBObjectStore): 16729 (WebKit::WebIDBObjectStore::name): 16730 (WebKit::WebIDBObjectStore::keyPath): 16731 * src/IDBCallbacksProxy.cpp: 16732 (WebCore::IDBCallbacksProxy::onSuccess): 16733 * src/IDBCallbacksProxy.h: 16734 * src/IDBDatabaseProxy.cpp: 16735 (WebCore::IDBDatabaseProxy::createObjectStore): 16736 * src/IDBDatabaseProxy.h: 16737 * src/IDBObjectStoreProxy.cpp: Added. 16738 (WebCore::IDBObjectStoreProxy::create): 16739 (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy): 16740 (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy): 16741 (WebCore::IDBObjectStoreProxy::name): 16742 (WebCore::IDBObjectStoreProxy::keyPath): 16743 (WebCore::IDBObjectStoreProxy::indexNames): 16744 (WebCore::IDBObjectStoreProxy::createIndex): 16745 (WebCore::IDBObjectStoreProxy::index): 16746 (WebCore::IDBObjectStoreProxy::removeIndex): 16747 * src/IDBObjectStoreProxy.h: Added. 16748 * src/IndexedDatabaseProxy.cpp: 16749 (WebCore::IndexedDatabaseProxy::open): 16750 * src/WebIDBCallbacksImpl.cpp: 16751 (WebCore::WebIDBCallbacksImpl::onSuccess): 16752 * src/WebIDBCallbacksImpl.h: 16753 * src/WebIDBDatabaseImpl.cpp: 16754 (WebKit::WebIDBDatabaseImpl::createObjectStore): 16755 * src/WebIDBDatabaseImpl.h: 16756 * src/WebIDBObjectStoreImpl.cpp: Added. 16757 (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl): 16758 (WebKit::WebIDBObjectStoreImpl::~WebIDBObjectStoreImpl): 16759 (WebKit::WebIDBObjectStoreImpl::name): 16760 (WebKit::WebIDBObjectStoreImpl::keyPath): 16761 * src/WebIDBObjectStoreImpl.h: Added. 16762 * src/WebIndexedDatabaseImpl.cpp: 16763 (WebKit::WebIndexedDatabaseImpl::open): 16764 16765 2010-06-07 Yury Semikhatsky <yurys (a] chromium.org> 16766 16767 Reviewed by Pavel Feldman. 16768 16769 Web Inspector: should be possible to distinguish extension scripts from main world scripts 16770 https://bugs.webkit.org/show_bug.cgi?id=40220 16771 16772 * src/js/DebuggerAgent.js: 16773 (devtools.DebuggerAgent.prototype.initUI): 16774 (devtools.DebuggerAgent.prototype.addScriptInfo_): 16775 (devtools.DebuggerAgent.prototype.formatCallFrame_): 16776 (devtools.ScriptInfo.prototype.worldType): 16777 * src/js/DebuggerScript.js: 16778 (debuggerScriptConstructor.DebuggerScript.getScripts): use only context id without context type 16779 when filtering scripts so that extension scripts are also included. 16780 (debuggerScriptConstructor.DebuggerScript._formatScript): 16781 * src/js/devTools.css: 16782 16783 2010-06-04 Jay Civelli <jcivelli (a] chromium.org> 16784 16785 Reviewed by Dimitri Glazkov. 16786 16787 Accessibility focus change notifications are now sent from 16788 ChromeClientImpl::focusedNodeChanged(). 16789 https://bugs.webkit.org/show_bug.cgi?id=39792 16790 16791 * src/ChromeClientImpl.cpp: 16792 (WebKit::ChromeClientImpl::focus): 16793 (WebKit::ChromeClientImpl::focusedNodeChanged): 16794 16795 2010-06-04 Jay Civelli <jcivelli (a] chromium.org> 16796 16797 Reviewed by David Levin. 16798 16799 [chromium] Adding support for the left and right Windows keys to the 16800 NativeWebKeyboardEvent. 16801 https://bugs.webkit.org/show_bug.cgi?id=39752 16802 16803 * src/gtk/WebInputEventFactory.cpp: 16804 (WebKit::gdkEventToWindowsKeyCode): 16805 16806 2010-06-04 Pavel Podivilov <podivilov (a] chromium.org> 16807 16808 Reviewed by Yury Semikhatsky. 16809 16810 Web Inspector: Create resource for DebuggerScript.js. 16811 https://bugs.webkit.org/show_bug.cgi?id=40122 16812 16813 * WebKit.grd: 16814 * public/WebDevToolsAgentClient.h: 16815 (WebKit::WebDevToolsAgentClient::debuggerScriptSource): 16816 16817 2010-05-26 MORITA Hajime <morrita (a] google.com> 16818 16819 Reviewed by Jian Li. 16820 16821 [Chromium] Dragging over an element with scrollbars should scroll the element when dragging near edges 16822 https://bugs.webkit.org/show_bug.cgi?id=39725 16823 16824 Added WebViewImpl::scrollForDragging() to handle scroll-on-drag. 16825 Note that this change handes both source and destination cases. 16826 16827 * public/WebView.h: 16828 * src/WebViewImpl.cpp: 16829 (WebKit::WebViewImpl::dragSourceMovedTo): 16830 (WebKit::WebViewImpl::dragTargetDragEnterOrOver): 16831 (WebKit::WebViewImpl::scrollForDragging): 16832 * src/WebViewImpl.h: 16833 16834 2010-06-03 Yury Semikhatsky <yurys (a] chromium.org> 16835 16836 Reviewed by Pavel Feldman. 16837 16838 [v8] Web Inspector: show "Object" as description for values with anonymous constructor 16839 https://bugs.webkit.org/show_bug.cgi?id=40121 16840 16841 * src/js/DevTools.js: don't call DebuggerAgent methods if ScriptDebugServer is used. 16842 16843 2010-06-03 Kent Tamura <tkent (a] chromium.org> 16844 16845 Reviewed by Dimitri Glazkov. 16846 16847 [DRT/Chromium] Checking out lighttpd 16848 https://bugs.webkit.org/show_bug.cgi?id=39948 16849 16850 - Add lighttpd only on Windows. It is used by new-run-webkit-tests. 16851 - Add libvpx. 16852 - Remove pthreads-win32 from DEPS. 16853 It has not been used since Chromium r28642. 16854 - Update Chromium revision to use Windows resource query code and 16855 webkit_glue dependency fix. 16856 16857 * DEPS: 16858 16859 2010-06-02 Tony Chang <tony (a] chromium.org> 16860 16861 Reviewed by Kent Tamura. 16862 16863 [chromium] refactor WebKit.gyp's DRT section so the conditions are less messy 16864 https://bugs.webkit.org/show_bug.cgi?id=40104 16865 16866 * WebKit.gyp: 16867 16868 2010-06-02 Tony Chang <tony (a] chromium.org> 16869 16870 Not reviewed, build fix in downstream chromium. 16871 16872 Fix the path to repack.py so it works in a chromium checkout too. 16873 16874 * WebKit.gyp: 16875 16876 2010-06-02 Tony Chang <tony (a] chromium.org> 16877 16878 Reviewed by Kent Tamura. 16879 16880 [chromium] generate DumpRenderTree.pak on DRT linux 16881 https://bugs.webkit.org/show_bug.cgi?id=40098 16882 16883 * WebKit.gyp: 16884 16885 2010-06-02 Sheriff Bot <webkit.review.bot (a] gmail.com> 16886 16887 Unreviewed, rolling out r60592. 16888 http://trac.webkit.org/changeset/60592 16889 https://bugs.webkit.org/show_bug.cgi?id=40099 16890 16891 broke the build, need to coordiate updating DEPS (Requested by 16892 tony^work on #webkit). 16893 16894 * DEPS: 16895 * public/WebMediaPlayer.h: 16896 16897 2010-06-02 Victoria Kirst <vrk (a] google.com> 16898 16899 Reviewed by David Levin. 16900 16901 Modifying the WebMediaPlayer interface to be compatible with 16902 a change in chrome. 16903 This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome 16904 has been updated, so this commit should NOT break chromium anymore. 16905 https://bugs.webkit.org/show_bug.cgi?id=39445 16906 16907 * DEPS: Updated to a newer chrome revision number. 16908 * public/WebMediaPlayer.h: Changed buffered() to be non-const. 16909 16910 2010-06-02 Peter Kasting <pkasting (a] google.com> 16911 16912 Unreviewed, emergency fix for test crashes (verbal r+ beforehand from 16913 John Gregg). 16914 16915 Temporarily make notificationObjectDestroyed() a no-op to avoid an 16916 ASSERT failure. 16917 16918 https://bugs.webkit.org/show_bug.cgi?id=40097 16919 16920 * src/NotificationPresenterImpl.cpp: 16921 (WebKit::NotificationPresenterImpl::notificationObjectDestroyed): 16922 16923 2010-06-02 Sterling Swigart <sswigart (a] google.com> 16924 16925 Reviewed by David Levin. 16926 16927 Image Resizer Patch 0: Added compilation argument to conditionally compile pending patches. 16928 https://bugs.webkit.org/show_bug.cgi?id=39906 16929 16930 * features.gypi: 16931 16932 2010-06-01 James Hawkins <jhawkins (a] chromium.org> 16933 16934 UNREVIEWED: build fix. 16935 16936 Implement the added virtual methods from PopupMenuClient to 16937 TestPopupMenuClient. 16938 16939 * tests/PopupMenuTest.cpp: 16940 (WebKit::TestPopupMenuClient::selectionChanged): 16941 (WebKit::TestPopupMenuClient::selectionCleared): 16942 16943 2010-05-24 James Hawkins <jhawkins (a] chromium.org> 16944 16945 Reviewed by Darin Fisher. 16946 16947 [Chromium] Implement new PopupMenuClient methods selectionChanged() 16948 and selectionCleared(). Expose placeHolder methods and isAutoFilled() 16949 in WebInputElement. 16950 16951 https://bugs.webkit.org/show_bug.cgi?id=39639 16952 16953 * public/WebInputElement.h: 16954 * public/WebViewClient.h: 16955 (WebKit::WebViewClient::didSelectAutoFillSuggestion): 16956 (WebKit::WebViewClient::didClearAutoFillSelection): 16957 * src/AutoFillPopupMenuClient.cpp: 16958 (WebKit::AutoFillPopupMenuClient::selectionChanged): 16959 (WebKit::AutoFillPopupMenuClient::selectionCleared): 16960 (WebKit::AutoFillPopupMenuClient::popupDidHide): 16961 * src/AutoFillPopupMenuClient.h: 16962 * src/SuggestionsPopupMenuClient.h: 16963 (WebKit::SuggestionsPopupMenuClient::selectionChanged): 16964 (WebKit::SuggestionsPopupMenuClient::selectionCleared): 16965 * src/WebInputElement.cpp: 16966 (WebKit::WebInputElement::setPlaceholder): 16967 (WebKit::WebInputElement::placeholder): 16968 (WebKit::WebInputElement::isAutofilled): 16969 16970 2010-06-01 Sheriff Bot <webkit.review.bot (a] gmail.com> 16971 16972 Unreviewed, rolling out r60483. 16973 http://trac.webkit.org/changeset/60483 16974 https://bugs.webkit.org/show_bug.cgi?id=40013 16975 16976 Breaks Mac and Linux builds (Requested by antonm on #webkit). 16977 16978 * DEPS: 16979 16980 2010-06-01 Jeremy Orlow <jorlow (a] chromium.org> 16981 16982 Reviewed by Darin Fisher. 16983 16984 IndexedDB cleanup 16985 https://bugs.webkit.org/show_bug.cgi?id=40007 16986 16987 Remove the exception code paramter (that hasn't been used for a while). 16988 Add asserts to default implementations. 16989 16990 * public/WebIDBDatabase.h: 16991 (WebKit::WebIDBDatabase::name): 16992 (WebKit::WebIDBDatabase::description): 16993 (WebKit::WebIDBDatabase::version): 16994 (WebKit::WebIDBDatabase::objectStores): 16995 * public/WebIndexedDatabase.h: 16996 (WebKit::WebIndexedDatabase::open): 16997 * src/WebIndexedDatabaseImpl.cpp: 16998 (WebKit::WebIndexedDatabaseImpl::open): 16999 * src/WebIndexedDatabaseImpl.h: 17000 17001 2010-06-01 Anton Muhin <antonm (a] chromium.org> 17002 17003 Reviewed by Dimitri Glazkov. 17004 17005 Rolling Chromium revision to bring recent changes to V8. 17006 17007 * DEPS: 17008 17009 2010-06-01 Sheriff Bot <webkit.review.bot (a] gmail.com> 17010 17011 Unreviewed, rolling out r60470. 17012 http://trac.webkit.org/changeset/60470 17013 https://bugs.webkit.org/show_bug.cgi?id=39990 17014 17015 Need to rollout until bot can be updated (Requested by jorlow 17016 on #webkit). 17017 17018 * DEPS: 17019 17020 2010-05-31 Pavel Podivilov <podivilov (a] chromium.org> 17021 17022 Reviewed by Pavel Feldman. 17023 17024 Chromium: save inspector settings as dictionary, not as string. 17025 https://bugs.webkit.org/show_bug.cgi?id=32118 17026 17027 * public/WebView.h: 17028 * public/WebViewClient.h: 17029 (WebKit::WebViewClient::didUpdateInspectorSetting): 17030 * src/InspectorClientImpl.cpp: 17031 (WebKit::InspectorClientImpl::populateSetting): 17032 (WebKit::InspectorClientImpl::storeSetting): 17033 * src/InspectorClientImpl.h: 17034 * src/WebViewImpl.cpp: 17035 (WebKit::WebViewImpl::WebViewImpl): 17036 (WebKit::WebViewImpl::inspectorSetting): 17037 (WebKit::WebViewImpl::setInspectorSetting): 17038 * src/WebViewImpl.h: 17039 17040 2010-05-31 James Robinson <jamesr (a] chromium.org> 17041 17042 Reviewed by Darin Fisher. 17043 17044 Expose html5 parser enabled flag in WebSettings 17045 https://bugs.webkit.org/show_bug.cgi?id=39913 17046 17047 * public/WebSettings.h: 17048 * src/WebSettingsImpl.cpp: 17049 (WebKit::WebSettingsImpl::setHTML5ParserEnabled): 17050 * src/WebSettingsImpl.h: 17051 17052 2010-05-31 Lyon Chen <liachen (a] rim.com> 17053 17054 Reviewed by Kent Tamura. 17055 17056 Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts. 17057 https://bugs.webkit.org/show_bug.cgi?id=35530 17058 17059 Change enum EAlteration from { MOVE, EXTEND } to { AlterationMove, AlterationExtend } and enum EDirection { FORWARD, BACKWARD, RIGHT, LEFT} to { DirectionForward, DirectionBackward, DirectionRight, DirectionLeft } to avoid macro conflict, and also better coding style conformance. 17060 17061 * src/WebFrameImpl.cpp: 17062 (WebKit::WebFrameImpl::executeCommand): 17063 17064 2010-05-31 Roland Steiner <rolandsteiner (a] chromium.org> 17065 17066 Bug 39977 - Missing Chromium bindings for InspectorController methods introduced in r60443 17067 https://bugs.webkit.org/show_bug.cgi?id=39977 17068 17069 add missing InspectorController JS bindings: 17070 - getStyleSheet 17071 - getRuleRangesForStyleSheetId 17072 17073 Tests: inspector/styles-source-offsets.html 17074 17075 * src/js/InspectorControllerImpl.js: 17076 (devtools.InspectorBackendImpl): 17077 17078 2010-05-31 Sheriff Bot <webkit.review.bot (a] gmail.com> 17079 17080 Unreviewed, rolling out r60456. 17081 http://trac.webkit.org/changeset/60456 17082 https://bugs.webkit.org/show_bug.cgi?id=39974 17083 17084 Broke Chromium Linux/Max build (Requested by tkent on 17085 #webkit). 17086 17087 * DEPS: 17088 17089 2010-05-31 Kent Tamura <tkent (a] chromium.org> 17090 17091 Reviewed by Dimitri Glazkov. 17092 17093 [DRT/Chromium] Checking out lighttpd 17094 https://bugs.webkit.org/show_bug.cgi?id=39948 17095 17096 - Checking out lighttpd only on Windows. It is used by new-run-webkit-tests. 17097 - Update Chromium revision to use Windows resource query code 17098 17099 * DEPS: 17100 17101 2010-05-31 Yury Semikhatsky <yurys (a] chromium.org> 17102 17103 Reviewed by Pavel Feldman. 17104 17105 Web Inspector: allow hiding Scripts panel from Chromium code. This 17106 is needed to support v8 debugging protocol which has an implementation 17107 that conflicts with debugger provided by the inspector. 17108 https://bugs.webkit.org/show_bug.cgi?id=39952 17109 17110 * public/WebDevToolsAgentClient.h: 17111 (WebKit::WebDevToolsAgentClient::exposeV8DebuggerProtocol): 17112 * public/WebDevToolsFrontendClient.h: 17113 (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient): 17114 (WebKit::WebDevToolsFrontendClient::sendMessageToAgent): 17115 (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent): 17116 (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript): 17117 (WebKit::WebDevToolsFrontendClient::activateWindow): 17118 (WebKit::WebDevToolsFrontendClient::closeWindow): 17119 (WebKit::WebDevToolsFrontendClient::requestDockWindow): 17120 (WebKit::WebDevToolsFrontendClient::requestUndockWindow): 17121 (WebKit::WebDevToolsFrontendClient::hideScriptsPanel): 17122 * src/DebuggerAgentManager.cpp: 17123 (WebKit::DebuggerAgentManager::debugAttach): 17124 (WebKit::DebuggerAgentManager::debugDetach): 17125 (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol): 17126 * src/DebuggerAgentManager.h: 17127 * src/InspectorFrontendClientImpl.cpp: 17128 (WebKit::InspectorFrontendClientImpl::hiddenPanels): 17129 * src/WebDevToolsAgentImpl.cpp: 17130 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl): 17131 (WebKit::WebDevToolsAgentImpl::attach): 17132 17133 2010-05-30 Lyon Chen <liachen (a] rim.com> 17134 17135 Reviewed by Kent Tamura. 17136 17137 This is a coding style cleanup before fixing to bug 35530. 17138 17139 Enum value FORWARD, BACKWARD, RIGHT, LEFT are causing macro conflicts. 17140 https://bugs.webkit.org/show_bug.cgi?id=35530 17141 17142 * src/WebFrameImpl.cpp: 17143 (WebKit::WebFrameImpl::find): 17144 (WebKit::WebFrameImpl::scopeStringMatches): 17145 (WebKit::WebFrameImpl::createChildFrame): 17146 (WebKit::WebFrameImpl::shouldScopeMatches): 17147 17148 2010-05-30 Daniel Bates <dbates (a] rim.com> 17149 17150 Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418. 17151 17152 I missed a few call sites in the Chromium source when I 17153 landed http://trac.webkit.org/changeset/60419. 17154 17155 Credit to Chris Jerdonek for looking over both this patch and the patch 17156 committed in r60419. 17157 17158 * src/WebSearchableFormData.cpp: 17159 (WebCore::GetButtonToActivate): 17160 (WebCore::HasSuitableTextElement): 17161 17162 2010-05-30 Daniel Bates <dbates (a] rim.com> 17163 17164 Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418. 17165 17166 * src/EditorClientImpl.cpp: 17167 (WebKit::EditorClientImpl::autofill): 17168 * src/WebFormControlElement.cpp: 17169 (WebKit::WebFormControlElement::formControlName): 17170 (WebKit::WebFormControlElement::formControlType): 17171 * src/WebFormElement.cpp: 17172 (WebKit::WebFormElement::getFormControlElements): 17173 * src/WebPasswordFormUtils.cpp: 17174 (WebKit::findPasswordFormFields): 17175 17176 2010-05-30 Jessie Berlin <jberlin (a] webkit.org> 17177 17178 Reviewed by Pavel Feldman. 17179 17180 https://bugs.webkit.org/show_bug.cgi?id=39224 17181 Bug 39224 - Web Inspector: There should be a way to clean up profiles 17182 17183 * src/js/InspectorControllerImpl.js: 17184 (devtools.InspectorBackendImpl): 17185 17186 2010-05-29 Vangelis Kokkevis <vangelis (a] chromium.org> 17187 17188 Reviewed by Darin Fisher. 17189 17190 Adding support for a runtime flag to enable accelerated 17191 compositing in chromium. 17192 https://bugs.webkit.org/show_bug.cgi?id=39917 17193 17194 * public/WebSettings.h: 17195 * src/WebSettingsImpl.cpp: 17196 (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled): 17197 * src/WebSettingsImpl.h: 17198 17199 2010-05-28 Aaron Boodman <aa (a] chromium.org> 17200 17201 Reviewed by Darin Fisher. 17202 17203 Add isXHTMLDocument() to WebDocument. 17204 17205 https://bugs.webkit.org/show_bug.cgi?id=39887 17206 17207 * public/WebDocument.h: Add isXHTMLDocument(). 17208 * src/WebDocument.cpp: ditto. 17209 (WebKit::WebDocument::isXHTMLDocument): dittorama. 17210 17211 2010-05-27 Jeremy Orlow <jorlow (a] chromium.org> 17212 17213 Reviewed by Steve Block. 17214 17215 Add IndexedDB's IDBIndex 17216 https://bugs.webkit.org/show_bug.cgi?id=39850 17217 17218 Add WebKit layer for IDBIndex. 17219 17220 * WebKit.gyp: 17221 * public/WebCommon.h: 17222 * public/WebIDBCallbacks.h: 17223 (WebKit::WebIDBCallbacks::onError): 17224 (WebKit::WebIDBCallbacks::onSuccess): 17225 * public/WebIDBDatabase.h: 17226 * public/WebIDBIndex.h: Added. 17227 (WebKit::WebIDBIndex::~WebIDBIndex): 17228 (WebKit::WebIDBIndex::name): 17229 (WebKit::WebIDBIndex::keyPath): 17230 (WebKit::WebIDBIndex::unique): 17231 * src/IDBCallbacksProxy.cpp: 17232 (WebCore::IDBCallbacksProxy::onSuccess): 17233 * src/IDBCallbacksProxy.h: 17234 * src/IDBDatabaseProxy.cpp: 17235 * src/IDBDatabaseProxy.h: 17236 * src/IDBIndexProxy.cpp: Added. 17237 (WebCore::IDBIndexProxy::create): 17238 (WebCore::IDBIndexProxy::IDBIndexProxy): 17239 (WebCore::IDBIndexProxy::~IDBIndexProxy): 17240 (WebCore::IDBIndexProxy::name): 17241 (WebCore::IDBIndexProxy::keyPath): 17242 (WebCore::IDBIndexProxy::unique): 17243 * src/IDBIndexProxy.h: Added. 17244 * src/WebIDBCallbacksImpl.cpp: 17245 (WebCore::WebIDBCallbacksImpl::onSuccess): 17246 * src/WebIDBCallbacksImpl.h: 17247 * src/WebIDBDatabaseImpl.cpp: 17248 * src/WebIDBDatabaseImpl.h: 17249 * src/WebIDBIndexImpl.cpp: Added. 17250 (WebKit::WebIDBIndexImpl::WebIDBIndexImpl): 17251 (WebKit::WebIDBIndexImpl::~WebIDBIndexImpl): 17252 (WebKit::WebIDBIndexImpl::name): 17253 (WebKit::WebIDBIndexImpl::keyPath): 17254 (WebKit::WebIDBIndexImpl::unique): 17255 * src/WebIDBIndexImpl.h: Added. 17256 17257 2010-05-28 Yury Semikhatsky <yurys (a] chromium.org> 17258 17259 Reviewed by Pavel Feldman. 17260 17261 Web Inspector: check that ClientMessageLoopAdapter is not 0 before 17262 accessing its fileds from inspectedViewClosed method. It may be 0 17263 if inspector frontend has not been open. 17264 https://bugs.webkit.org/show_bug.cgi?id=39876 17265 17266 * src/WebDevToolsAgentImpl.cpp: 17267 (WebKit::): 17268 17269 2010-05-27 Eric Uhrhane <ericu (a] chromium.org> 17270 17271 Reviewed by Adam Barth. 17272 17273 Add v8 bindings for async DB API in workers 17274 https://bugs.webkit.org/show_bug.cgi?id=39145 17275 17276 * src/DatabaseObserver.cpp: 17277 We should check that we're on the context thread now, not the main 17278 thread. 17279 (WebCore::DatabaseObserver::databaseOpened): 17280 (WebCore::DatabaseObserver::databaseModified): 17281 (WebCore::DatabaseObserver::databaseClosed): 17282 17283 2010-05-27 Yury Semikhatsky <yurys (a] chromium.org> 17284 17285 Reviewed by Pavel Feldman. 17286 17287 Resume script execution if user tries to navigate to another URL 17288 https://bugs.webkit.org/show_bug.cgi?id=39842 17289 17290 * src/WebDevToolsAgentImpl.cpp: 17291 (WebKit::): 17292 (WebKit::WebDevToolsAgentImpl::didNavigate): 17293 17294 2010-05-27 Zhenyao Mo <zmo (a] google.com> 17295 17296 Reviewed by Dimitri Glazkov. 17297 17298 Implement lazy clearing of renderbuffers 17299 https://bugs.webkit.org/show_bug.cgi?id=36248 17300 17301 * src/WebGraphicsContext3DDefaultImpl.cpp: 17302 (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Clear WebGL internal buffers. 17303 17304 2010-05-26 Roland Steiner <rolandsteiner (a] chromium.org> 17305 17306 Reviewed by NOBODY (layout test crashing fix). 17307 17308 Bug 39811 - WebPluginListBuilderImpl::addMediaTypeToLastPlugin does not initialize pluginIndex 17309 https://bugs.webkit.org/show_bug.cgi?id=39811 17310 17311 Initialize the pluginIndex field (quick fix). 17312 17313 Tests: covered by fast/dom/prototype-inheritance-2.html 17314 (crashed under Chromium Linux and Windows) 17315 17316 * src/WebPluginListBuilderImpl.cpp: 17317 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin): 17318 17319 2010-05-26 Anders Carlsson <andersca (a] apple.com> 17320 17321 Reviewed by Darin Adler. 17322 17323 Clean up MimeClassInfo and PluginInfo 17324 https://bugs.webkit.org/show_bug.cgi?id=39700 17325 17326 Update for WebCore changes. 17327 17328 * src/WebPluginListBuilderImpl.cpp: 17329 (WebKit::WebPluginListBuilderImpl::addPlugin): 17330 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin): 17331 (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType): 17332 * src/WebPluginListBuilderImpl.h: 17333 (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl): 17334 17335 2010-05-26 Jeremy Orlow <jorlow (a] chromium.org> 17336 17337 Unreviewed chromium build fix 17338 https://bugs.webkit.org/show_bug.cgi?id=39739 17339 17340 The backwards compat function needs to take in a WebSecurityOrigin 17341 instead of a WebString. 17342 17343 * public/WebIndexedDatabase.h: 17344 (WebKit::WebIndexedDatabase::open): 17345 17346 2010-05-26 Jeremy Orlow <jorlow (a] chromium.org> 17347 17348 Reviewed by Darin Fisher. 17349 17350 Implement WebDOMStorageList and make WebIDBDatabase use it 17351 https://bugs.webkit.org/show_bug.cgi?id=39731 17352 17353 * WebKit.gyp: 17354 * public/WebDOMStringList.h: Added. 17355 (WebKit::WebDOMStringList::~WebDOMStringList): 17356 (WebKit::WebDOMStringList::WebDOMStringList): 17357 (WebKit::WebDOMStringList::operator=): 17358 * public/WebIDBDatabase.h: 17359 (WebKit::WebIDBDatabase::objectStores): 17360 * src/IDBDatabaseProxy.cpp: 17361 (WebCore::IDBDatabaseProxy::objectStores): 17362 * src/WebDOMStringList.cpp: Added. 17363 (WebKit::WebDOMStringList::reset): 17364 (WebKit::WebDOMStringList::assign): 17365 (WebKit::WebDOMStringList::append): 17366 (WebKit::WebDOMStringList::length): 17367 (WebKit::WebDOMStringList::item): 17368 (WebKit::WebDOMStringList::WebDOMStringList): 17369 (WebKit::WebDOMStringList::operator=): 17370 (WebKit::WebDOMStringList::operator WTF::PassRefPtr<WebCore::DOMStringList>): 17371 * src/WebIDBDatabaseImpl.cpp: 17372 (WebKit::WebIDBDatabaseImpl::objectStores): 17373 * src/WebIDBDatabaseImpl.h: 17374 17375 2010-05-24 Jeremy Orlow <jorlow (a] chromium.org> 17376 17377 Reviewed by Steve Block. 17378 17379 Add IDBDatabase's attributes 17380 https://bugs.webkit.org/show_bug.cgi?id=39602 17381 17382 Plumbing to hook up the synchronous attribute requests 17383 on IDBDatabase. 17384 17385 * public/WebIDBDatabase.h: 17386 (WebKit::WebIDBDatabase::name): 17387 (WebKit::WebIDBDatabase::description): 17388 (WebKit::WebIDBDatabase::version): 17389 (WebKit::WebIDBDatabase::objectStores): 17390 * src/IDBDatabaseProxy.cpp: 17391 (WebCore::IDBDatabaseProxy::name): 17392 (WebCore::IDBDatabaseProxy::description): 17393 (WebCore::IDBDatabaseProxy::version): 17394 (WebCore::IDBDatabaseProxy::objectStores): 17395 * src/IDBDatabaseProxy.h: 17396 * src/WebIDBDatabaseImpl.cpp: 17397 (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl): 17398 (WebKit::WebIDBDatabaseImpl::name): 17399 (WebKit::WebIDBDatabaseImpl::description): 17400 (WebKit::WebIDBDatabaseImpl::version): 17401 (WebKit::WebIDBDatabaseImpl::objectStores): 17402 * src/WebIDBDatabaseImpl.h: 17403 17404 2010-05-24 Dirk Pranke <dpranke (a] chromium.org> 17405 17406 Reviewed by Dimitri Glazkov. 17407 17408 Re-commit r58765 - it had been rolled out to see if it was causing 17409 a perf regression (in r59787 and r59789), but that does not seem to 17410 have been the case. 17411 17412 * public/WebNotification.h: 17413 * src/WebNotification.cpp: 17414 (WebKit::WebNotification::dir): 17415 (WebKit::WebNotification::replaceId): 17416 17417 2010-05-25 Brett Wilson <brettw (a] chromium.org> 17418 17419 Reviewed by Darin Fisher. 17420 17421 Remove obsolete code for Mac & Windows plugin creation in the Chromium 17422 port. This non-Windows code was to prevent a crash which we no longer 17423 seem to have, and it is preventing other types of plugins from working. 17424 https://bugs.webkit.org/show_bug.cgi?id=39684 17425 17426 * src/FrameLoaderClientImpl.cpp: 17427 (WebKit::FrameLoaderClientImpl::createPlugin): 17428 17429 2010-05-25 Kent Tamura <tkent (a] chromium.org> 17430 17431 Reviewed by Dimitri Glazkov. 17432 17433 [DRT/Chromium] Enable 3D_CANVAS, FILTERS, METER_TAG and PROGRESS_TAG 17434 https://bugs.webkit.org/show_bug.cgi?id=39652 17435 17436 3D_CANVAS and FILTERS have been enabled for Chromium tree 17437 build. They fix dozens of unexpected test results in a case of 17438 upstreaming build. 17439 Enable METER_TAG and PROGRESS_TAG too because they will be enabled 17440 in Chromium tree in the near future. 17441 17442 * features.gypi: 17443 17444 2010-05-25 Vangelis Kokkevis <vangelis (a] chromium.org> 17445 17446 Reviewed by Darin Fisher. 17447 17448 The GraphicsContext that serves as a backing store for the root layer 17449 updates when doing accelerated compositing is now stored in LayerRendererChromium 17450 instead of the Layer itself. Updating code in WebViewImpl to reflect 17451 that change. 17452 https://bugs.webkit.org/show_bug.cgi?id=39640 17453 17454 * src/WebViewImpl.cpp: 17455 (WebKit::WebViewImpl::updateRootLayerContents): 17456 17457 2010-05-24 Yury Semikhatsky <yurys (a] chromium.org> 17458 17459 Reviewed by Pavel Feldman. 17460 17461 ScriptDebugServer is now implemented as DebugEventListener which means it doesn't 17462 depend on v8 debugging protocol, instead it uses ExecState to collect debugging 17463 info and pass it to the listeners. 17464 17465 New implementation of ScriptDebugServer uses methods provided by client to dispatch 17466 its messages while JS is paused(previously the messages was dispatched in a callback 17467 passed to v8 along with DebugEventHandler). 17468 17469 Pause command is dispatched on IO thread. 17470 17471 https://bugs.webkit.org/show_bug.cgi?id=39594 17472 17473 * public/WebDevToolsAgentClient.h: 17474 (WebKit::WebDevToolsAgentClient::ClientMessageLoop::~ClientMessageLoop): 17475 (WebKit::WebDevToolsAgentClient::createClientMessageLoop): Returns an object that allows to run 17476 nested client message loop while script execution is paused on a breakpoint. 17477 * src/DebuggerAgentManager.cpp: 17478 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler): 17479 * src/DebuggerAgentManager.h: 17480 * src/WebDevToolsAgentImpl.cpp: 17481 (WebKit::): 17482 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl): 17483 (WebKit::WebDevToolsAgentImpl::attach): 17484 * src/js/DebuggerScript.js: 17485 (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript): 17486 (debuggerScriptConstructor.DebuggerScript.stepIntoStatement): 17487 (debuggerScriptConstructor.DebuggerScript.stepOverStatement): 17488 (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction): 17489 * src/js/InspectorControllerImpl.js: 17490 (devtools.InspectorBackendImpl): 17491 (else.devtools.InspectorBackendImpl.prototype.pauseInDebugger): Pause command should be handled on IO 17492 thread so that script can be paused even if it's in an infinite loop. 17493 17494 2010-05-25 Yury Semikhatsky <yurys (a] chromium.org> 17495 17496 Reviewed by Pavel Feldman. 17497 17498 Add memory graph to Timeline overview pane. 17499 17500 https://bugs.webkit.org/show_bug.cgi?id=37879 17501 17502 * src/js/devTools.css: 17503 (.timeline-category-statusbar-item input): 17504 17505 2010-05-24 Tony Chang <tony (a] chromium.org> 17506 17507 Reviewed by David Levin. 17508 17509 [chromium] Fix zoom tests after r60104 17510 https://bugs.webkit.org/show_bug.cgi?id=39645 17511 17512 m_zoomFactor moved from Frame to FrameView. FrameView has separate 17513 notions of page zoom and text zoom. In my hurried compile fix, I 17514 assumed that m_zoomFactor was for page zoom, but it's not always. 17515 17516 * src/WebViewImpl.cpp: 17517 (WebKit::WebViewImpl::setZoomLevel): 17518 17519 2010-05-24 Kent Tamura <tkent (a] chromium.org> 17520 17521 Unreviewed. Sort features. 17522 17523 * features.gypi: 17524 17525 2010-05-24 Kent Tamura <tkent (a] chromium.org> 17526 17527 Reviewed by Dimitri Glazkov. 17528 17529 [DRT/Chromium] Import layout_test_helper for Windows 17530 https://bugs.webkit.org/show_bug.cgi?id=39581 17531 17532 * WebKit.gyp: Add a build rule for LayoutTestHelper.exe for Windows. 17533 17534 2010-05-24 Marcus Bulach <bulach (a] chromium.org> 17535 17536 Reviewed by Kent Tamura. 17537 17538 [chromium] Adds WebGeolocationServiceMockImpl to remove public dependency on wtf/HashMap.h 17539 https://bugs.webkit.org/show_bug.cgi?id=39587 17540 17541 * public/WebGeolocationServiceMock.h: 17542 * src/WebGeolocationServiceMock.cpp: 17543 (WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl): 17544 (WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock): 17545 (WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame): 17546 (WebKit::WebGeolocationServiceMockImpl::attachBridge): 17547 (WebKit::WebGeolocationServiceMockImpl::detachBridge): 17548 17549 2010-05-24 Tony Chang <tony (a] chromium.org> 17550 17551 Reviewed by Kent Tamura. 17552 17553 [chromium] setup fonts on chromium linux DRT 17554 https://bugs.webkit.org/show_bug.cgi?id=39644 17555 17556 * WebKit.gyp: 17557 17558 2010-05-24 Tony Chang <tony (a] chromium.org> 17559 17560 Not reviewed, build fix. 17561 17562 Fix the chromium compile due to pageZoomFactor refactoring. 17563 17564 * src/WebViewImpl.cpp: 17565 (WebKit::WebViewImpl::setZoomLevel): 17566 17567 2010-05-24 Darin Adler <darin (a] apple.com> 17568 17569 Reviewed by Eric Seidel. 17570 17571 Move view-related functions from Frame to FrameView 17572 https://bugs.webkit.org/show_bug.cgi?id=39366 17573 17574 * src/WebViewImpl.cpp: 17575 (WebKit::WebViewImpl::setZoomLevel): Call setZoomLevel on FrameView. 17576 17577 2010-05-24 Anders Carlsson <andersca (a] apple.com> 17578 17579 Attempt to fix the Chromium build. 17580 17581 * src/WebViewImpl.cpp: 17582 17583 2010-05-21 Tony Chang <tony (a] chromium.org> 17584 17585 Reviewed by Ojan Vafai. 17586 17587 [chromium] if keydown is prevented, don't update the IME and clear the IME state 17588 https://bugs.webkit.org/show_bug.cgi?id=39475 17589 17590 * src/WebViewImpl.cpp: 17591 (WebKit::WebViewImpl::handleCompositionEvent): 17592 17593 2010-05-23 Roman Gershman <romange (a] google.com> 17594 17595 Reviewed by Darin Fisher. 17596 17597 [Chromium] Suggestion popup is not closed when the view is scrolled. 17598 https://bugs.webkit.org/show_bug.cgi?id=38640 17599 17600 This bug appears on both Windows and Linux platforms. 17601 Mac OS, however handles window messages differently and 17602 closes popup menu in RenderWidgetHostViewMac::Destroy(). 17603 17604 No tests were added because test_shell does not support suggestion 17605 popup. 17606 17607 * src/ChromeClientImpl.cpp: 17608 (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll): 17609 (WebKit::ChromeClientImpl::scroll): 17610 17611 2010-05-23 Marcus Bulach <bulach (a] chromium.org> 17612 17613 Reviewed by Kent Tamura. 17614 17615 [chromium] Adds Geolocation support to DumpRenderTree. 17616 https://bugs.webkit.org/show_bug.cgi?id=39440 17617 17618 Existing LayoutTests/fast/dom/Geolocation/* should pass. 17619 17620 * public/WebGeolocationServiceMock.h: 17621 * src/WebGeolocationServiceMock.cpp: 17622 (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission): 17623 (WebKit::WebGeolocationServiceMock::requestPermissionForFrame): 17624 (WebKit::WebGeolocationServiceMock::attachBridge): 17625 (WebKit::WebGeolocationServiceMock::detachBridge): 17626 17627 2010-05-22 Kent Tamura <tkent (a] chromium.org> 17628 17629 Reviewed by Dimitri Glazkov. 17630 17631 [DRT/Chromium] Link resources and load Ahem font for Windows 17632 https://bugs.webkit.org/show_bug.cgi?id=39473 17633 17634 * WebKit.gyp: 17635 Add net and webkit resources for Windows. 17636 Copy AHEM____.TTF to DumpRenderTree.exe directory. 17637 17638 2010-05-21 Steve Block <steveblock (a] google.com> 17639 17640 Reviewed by Jeremy Orlow. 17641 17642 Add DeviceOrientation and DeviceOrientationClient 17643 https://bugs.webkit.org/show_bug.cgi?id=39479 17644 17645 * src/WebViewImpl.cpp: 17646 (WebKit::WebViewImpl::WebViewImpl): 17647 17648 2010-05-20 Viet-Trung Luu <viettrungluu (a] chromium.org> 17649 17650 Reviewed by Darin Fisher. 17651 17652 [Chromium] Don't rely on focused node to route mouse events to plugins. 17653 https://bugs.webkit.org/show_bug.cgi?id=39375 17654 http://crbug.com/43935 17655 17656 On mouse down, do a hit test and check if a plugin was hit. If so, then 17657 save the node for future mouse events (until mouse up or capture lost). 17658 17659 * src/WebViewImpl.cpp: 17660 (WebKit::WebViewImpl::WebViewImpl): 17661 (WebKit::WebViewImpl::mouseDown): 17662 (WebKit::WebViewImpl::handleInputEvent): 17663 (WebKit::WebViewImpl::mouseCaptureLost): 17664 * src/WebViewImpl.h: Remove m_haveMouseCapture; add m_mouseCaptureNode. 17665 17666 2010-05-20 Dominic Mazzoni <dmazzoni (a] chromium.org> 17667 17668 Reviewed by Darin Fisher. 17669 17670 Add headingLevel and setFocused methods. 17671 17672 https://bugs.webkit.org/show_bug.cgi?id=39238 17673 17674 * public/WebAccessibilityObject.h: 17675 * src/WebAccessibilityObject.cpp: 17676 (WebKit::WebAccessibilityObject::headingLevel): 17677 (WebKit::WebAccessibilityObject::setFocused): 17678 17679 2010-05-20 Zhenyao Mo <zmo (a] google.com> 17680 17681 Reviewed by Dimitri Glazkov. 17682 17683 Map RGBA4/RGB5_A1 to RGBA and RGB565 to RGB in RenderbufferStorage 17684 https://bugs.webkit.org/show_bug.cgi?id=39077 17685 17686 * src/WebGraphicsContext3DDefaultImpl.cpp: 17687 (WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage): Mapping the enums. 17688 17689 2010-05-20 Abhishek Arya <inferno (a] chromium.org> 17690 17691 Reviewed by Adam Barth. 17692 17693 Added method to WebSecurityOrigin for invoking 17694 SecurityOrigin::canAccessPasswordManager. 17695 https://bugs.webkit.org/show_bug.cgi?id=38916 17696 17697 * public/WebSecurityOrigin.h: 17698 * src/WebSecurityOrigin.cpp: 17699 (WebKit::WebSecurityOrigin::canAccessPasswordManager): 17700 17701 2010-05-20 Darin Fisher <darin (a] chromium.org> 17702 17703 Reviewed by Nate Chapin. 17704 17705 [chromium] Provide a way to catch exceptions thrown while interacting 17706 with a NPObject via WebBindings methods. 17707 https://bugs.webkit.org/show_bug.cgi?id=39378 17708 17709 * public/WebBindings.h: 17710 * src/WebBindings.cpp: 17711 (WebKit::WebBindings::pushExceptionHandler): 17712 (WebKit::WebBindings::popExceptionHandler): 17713 17714 2010-05-20 Jian Li <jianli (a] chromium.org> 17715 17716 Reviewed by David Levin. 17717 17718 Rename GenericWorkerTask.h to CrossThreadTask.h and move it to dom directory. 17719 https://bugs.webkit.org/show_bug.cgi?id=39135 17720 17721 * src/WebSharedWorkerImpl.cpp: 17722 * src/WebWorkerBase.cpp: 17723 * src/WebWorkerClientImpl.cpp: 17724 * src/WebWorkerImpl.cpp: 17725 17726 2010-05-20 Martin Robinson <mrobinson (a] webkit.org> 17727 17728 Reviewed by Ojan Vafai. 17729 17730 Expose the editing behavior setting in DRT to test all editing code paths 17731 https://bugs.webkit.org/show_bug.cgi?id=38603 17732 17733 * public/WebSettings.h: 17734 (WebKit::WebSettings::): Added an enum for EditingBehavior types. 17735 * src/WebSettingsImpl.cpp: 17736 (WebKit::WebSettingsImpl::setEditingBehavior): Added. 17737 * src/WebSettingsImpl.h: 17738 17739 2010-05-19 Vangelis Kokkevis <vangelis (a] chromium.org> 17740 17741 Reviewed by Darin Fisher. 17742 17743 Modifying WebViewImpl to support new hardware compositing for 17744 LayerChromium layers. 17745 https://bugs.webkit.org/show_bug.cgi?id=38783 17746 17747 * src/WebViewImpl.cpp: 17748 (WebKit::WebViewImpl::paint): 17749 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 17750 (WebKit::WebViewImpl::updateRootLayerContents): 17751 (WebKit::WebViewImpl::setRootLayerNeedsDisplay): 17752 17753 2010-05-19 Tony Chang <tony (a] chromium.org> 17754 17755 Reviewed by Kent Tamura. 17756 17757 [chromium] disable spelling suggestions if spellcheck=false 17758 https://bugs.webkit.org/show_bug.cgi?id=39402 17759 17760 This is the Chromium fix for bug 25639 that was fixed in the 17761 other ports in r59585. 17762 17763 * src/ContextMenuClientImpl.cpp: 17764 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 17765 17766 2010-05-19 Darin Fisher <darin (a] chromium.org> 17767 17768 Revert r59790 due to failing Chromium npruntime tests. 17769 17770 * public/WebBindings.h: 17771 * src/WebBindings.cpp: 17772 17773 2010-05-19 Darin Fisher <darin (a] chromium.org> 17774 17775 Reviewed by Nate Chapin. 17776 17777 [chromium] Provide a way to catch exceptions thrown while interacting 17778 with a NPObject via WebBindings methods. 17779 https://bugs.webkit.org/show_bug.cgi?id=39378 17780 17781 * public/WebBindings.h: 17782 * src/WebBindings.cpp: 17783 (WebKit::WebBindings::pushExceptionHandler): 17784 (WebKit::WebBindings::popExceptionHandler): 17785 17786 2010-05-19 Dirk Pranke <dpranke (a] chromium.org> 17787 17788 Try again to roll out r58765. 17789 17790 * public/WebNotification.h: 17791 * src/WebNotification.cpp: 17792 17793 2010-05-19 Sheriff Bot <webkit.review.bot (a] gmail.com> 17794 17795 Unreviewed, rolling out r59782. 17796 http://trac.webkit.org/changeset/59782 17797 https://bugs.webkit.org/show_bug.cgi?id=39379 17798 17799 broke DRT build (Requested by dpranke on #webkit). 17800 17801 * public/WebNotification.h: 17802 * src/WebNotification.cpp: 17803 (WebKit::WebNotification::dir): 17804 (WebKit::WebNotification::replaceId): 17805 17806 2010-05-19 Jian Li <jianli (a] chromium.org> 17807 17808 Reviewed by Darin Fisher. 17809 17810 Remove obsolete ChromiumBridge code that routes FileSystem calls to WebKitClient. 17811 https://bugs.webkit.org/show_bug.cgi?id=39332 17812 17813 * public/WebKitClient.h: 17814 * src/ChromiumBridge.cpp: 17815 (WebCore::ChromiumBridge::fileExists): 17816 (WebCore::ChromiumBridge::deleteFile): 17817 (WebCore::ChromiumBridge::deleteEmptyDirectory): 17818 (WebCore::ChromiumBridge::getFileSize): 17819 (WebCore::ChromiumBridge::getFileModificationTime): 17820 (WebCore::ChromiumBridge::directoryName): 17821 (WebCore::ChromiumBridge::pathByAppendingComponent): 17822 (WebCore::ChromiumBridge::makeAllDirectories): 17823 (WebCore::ChromiumBridge::getAbsolutePath): 17824 (WebCore::ChromiumBridge::isDirectory): 17825 (WebCore::ChromiumBridge::filePathToURL): 17826 17827 2010-05-19 Marcus Bulach <bulach (a] chromium.org> 17828 17829 Reviewed by Steve Block. 17830 17831 [chromium] Adds supports for layout tests using GeolocationServiceMock. 17832 https://bugs.webkit.org/show_bug.cgi?id=39081 17833 17834 Allows injection of GeolocationServiceMock factory. 17835 Tests: existing fast/dom/Geolocation/* 17836 17837 * WebKit.gyp: 17838 * public/WebGeolocationServiceMock.h: Added. 17839 * src/WebGeolocationServiceMock.cpp: Added. 17840 (WebCore::GeolocationServiceChromiumMock::create): 17841 (WebCore::GeolocationServiceChromiumMock::GeolocationServiceChromiumMock): 17842 (WebCore::GeolocationServiceChromiumMock::startUpdating): 17843 (WebCore::GeolocationServiceChromiumMock::stopUpdating): 17844 (WebCore::GeolocationServiceChromiumMock::lastPosition): 17845 (WebCore::GeolocationServiceChromiumMock::lastError): 17846 (WebCore::GeolocationServiceChromiumMock::geolocationServicePositionChanged): 17847 (WebCore::GeolocationServiceChromiumMock::geolocationServiceErrorOccurred): 17848 (WebKit::WebGeolocationServiceMock::setMockGeolocationPosition): 17849 (WebKit::WebGeolocationServiceMock::setMockGeolocationError): 17850 17851 2010-05-17 Jeremy Orlow <jorlow (a] chromium.org> 17852 17853 Reviewed by Darin Fisher. 17854 17855 Hook Chromium's WebIndexedDatabaseImpl up to IndexedDatabaseImpl 17856 https://bugs.webkit.org/show_bug.cgi?id=39216 17857 17858 Web____Impl is for re-entering the WebKit layer from the browser layer. 17859 Thus the previous IDBCallbacksProxy was mis-named (and should have been 17860 WebIDBCallbacksImpl). This patch renames it and then implements the 17861 proper proxy (which is for going from WebCore to WebKit). 17862 17863 Also change using security origin strings to using WebSecurityOrigin 17864 objects. 17865 17866 This patch also implements the glue between WebIndexedDatabaseImpl and 17867 IndexedDatabaseImpl. 17868 17869 * WebKit.gyp: 17870 * src/IDBCallbacksProxy.cpp: 17871 (WebCore::IDBCallbacksProxy::create): 17872 (WebCore::IDBCallbacksProxy::IDBCallbacksProxy): 17873 (WebCore::IDBCallbacksProxy::onError): 17874 (WebCore::IDBCallbacksProxy::onSuccess): 17875 * src/IDBCallbacksProxy.h: 17876 * src/IndexedDatabaseProxy.cpp: 17877 (WebCore::IndexedDatabaseProxy::open): 17878 * src/IndexedDatabaseProxy.h: 17879 * src/WebIDBCallbacksImpl.cpp: Added. 17880 (WebCore::WebIDBCallbacksImpl::WebIDBCallbacksImpl): 17881 (WebCore::WebIDBCallbacksImpl::~WebIDBCallbacksImpl): 17882 (WebCore::WebIDBCallbacksImpl::onError): 17883 (WebCore::WebIDBCallbacksImpl::onSuccess): 17884 * src/WebIDBCallbacksImpl.h: Added. 17885 * src/WebIDBDatabaseImpl.cpp: Added. 17886 (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl): 17887 (WebKit::WebIDBDatabaseImpl::~WebIDBDatabaseImpl): 17888 * src/WebIDBDatabaseImpl.h: Added. 17889 * src/WebIndexedDatabaseImpl.cpp: 17890 (WebKit::WebIndexedDatabaseImpl::WebIndexedDatabaseImpl): 17891 (WebKit::WebIndexedDatabaseImpl::open): 17892 * src/WebIndexedDatabaseImpl.h: 17893 17894 2010-05-18 Kent Tamura <tkent (a] chromium.org> 17895 17896 Reviewed by Dimitri Glazkov. 17897 17898 [DRT/Chromium] Fix a repaint issue and textarea tests 17899 https://bugs.webkit.org/show_bug.cgi?id=39054 17900 17901 * DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion 17902 and textAreaResizeCorner.png 17903 * WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource 17904 17905 2010-05-18 Tony Chang <tony (a] chromium.org> 17906 17907 Reviewed by Ojan Vafai. 17908 17909 [chromium] ignore IME events if the keydown event was prevented 17910 https://bugs.webkit.org/show_bug.cgi?id=37692 17911 17912 * src/WebViewImpl.cpp: 17913 (WebKit::WebViewImpl::handleCompositionEvent): 17914 17915 2010-05-18 MORITA Hajime <morrita (a] google.com> 17916 17917 Reviewed by Kent Tamura. 17918 17919 [Chromium] Windows: Determinate progress bar should have glossy overlay 17920 https://bugs.webkit.org/show_bug.cgi?id=39269 17921 17922 Changed WebThemeEngine::drawProgressBar() signature to delegate 17923 theme implementation detail to the engine. 17924 Chromium side will come to http://crbug.com/44430. 17925 17926 No new tests, animation effect can be confirmed only manually. 17927 17928 * public/WebThemeEngine.h: 17929 (WebKit::WebThemeEngine::paintProgressBar): 17930 * src/ChromiumBridge.cpp: 17931 (WebCore::ChromiumBridge::paintProgressBar): 17932 17933 2010-05-16 Mike Belshe <mbelshe (a] chromium.org> 17934 17935 Reviewed by Dimitri Glazkov. 17936 17937 Add a flag to the ResourceResponse for tracking if a request was 17938 fetched via the TLS/Next-Protocol-Negotiation mechanism. 17939 17940 Also cleaned up the style in ResourceResponse to group the flags 17941 together (and alphabetically) and hopefully improve readability of 17942 the file. 17943 17944 https://bugs.webkit.org/show_bug.cgi?id=39078 17945 17946 * public/WebURLResponse.h: 17947 * src/WebURLResponse.cpp: 17948 (WebKit::WebURLResponse::wasNpnNegotiated): 17949 (WebKit::WebURLResponse::setWasNpnNegotiated): 17950 17951 2010-05-16 Eric Seidel <eric (a] webkit.org> 17952 17953 Unreviewed, rolling out r59571. 17954 http://trac.webkit.org/changeset/59571 17955 https://bugs.webkit.org/show_bug.cgi?id=39054 17956 17957 Broke Cr Win, but we didn't notice immediately due to 17958 https://bugs.webkit.org/show_bug.cgi?id=38926. It's possible 17959 that this didn't actually break Cr Win, but rather that bug 17960 38926 necessitates a clean compile after this and sucessive 17961 checkins only produced a partial recompile and thus failed to 17962 build. 17963 17964 * DEPS: 17965 * WebKit.gyp: 17966 * features.gypi: 17967 17968 2010-05-16 Sheriff Bot <webkit.review.bot (a] gmail.com> 17969 17970 Unreviewed, rolling out r59574. 17971 http://trac.webkit.org/changeset/59574 17972 https://bugs.webkit.org/show_bug.cgi?id=39176 17973 17974 Supposedly broke cr-win, but the errors seems somewhat 17975 unrelated (Requested by abarth on #webkit). 17976 17977 * public/WebURLResponse.h: 17978 * src/WebURLResponse.cpp: 17979 17980 2010-05-16 Mike Belshe <mbelshe (a] chromium.org> 17981 17982 Reviewed by Dimitri Glazkov. 17983 17984 Add a flag to the ResourceResponse for tracking if a request was 17985 fetched via the TLS/Next-Protocol-Negotiation mechanism. 17986 17987 Also cleaned up the style in ResourceResponse to group the flags 17988 together (and alphabetically) and hopefully improve readability of 17989 the file. 17990 17991 https://bugs.webkit.org/show_bug.cgi?id=39078 17992 17993 * public/WebURLResponse.h: 17994 * src/WebURLResponse.cpp: 17995 (WebKit::WebURLResponse::wasNpnNegotiated): 17996 (WebKit::WebURLResponse::setWasNpnNegotiated): 17997 17998 2010-05-16 Kent Tamura <tkent (a] chromium.org> 17999 18000 Reviewed by Dimitri Glazkov. 18001 18002 [DRT/Chromium] Fix repaint, WebGL, textarea tests 18003 https://bugs.webkit.org/show_bug.cgi?id=39054 18004 18005 * DEPS: Update to Chromium r47248 to use a fix for CommandLine assertion 18006 and textAreaResizeCorner.png 18007 * WebKit.gyp: Add textAreaResizeCorner.png as a Mac resource 18008 * features.gypi: Enable ENABLE_3D_CANVAS. 18009 18010 2010-05-15 Darin Fisher <darin (a] chromium.org> 18011 18012 Reviewed by Adam Barth. 18013 18014 [chromium] Expose element accessor on WebPluginContainer 18015 https://bugs.webkit.org/show_bug.cgi?id=39152 18016 18017 * public/WebPluginContainer.h: 18018 * src/WebPluginContainerImpl.cpp: 18019 (WebKit::WebPluginContainerImpl::element): 18020 * src/WebPluginContainerImpl.h: 18021 18022 2010-05-15 Jochen Eisinger <jochen (a] chromium.org> 18023 18024 Reviewed by Dmitry Titov. 18025 18026 Implement canEstablishDatabase call for workers. 18027 https://bugs.webkit.org/show_bug.cgi?id=38742 18028 18029 * public/WebCommonWorkerClient.h: 18030 * src/DatabaseObserver.cpp: 18031 (WebCore::DatabaseObserver::canEstablishDatabase): 18032 * src/WebWorkerBase.cpp: 18033 (WebKit::WebWorkerBase::allowDatabase): 18034 (WebKit::WebWorkerBase::allowDatabaseTask): 18035 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge): 18036 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::cancel): 18037 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::result): 18038 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::signalCompleted): 18039 (WebKit::WebWorkerBase::AllowDatabaseMainThreadBridge::didComplete): 18040 * src/WebWorkerBase.h: 18041 * src/WebWorkerClientImpl.h: 18042 (WebKit::WebWorkerClientImpl::allowDatabase): 18043 18044 2010-05-15 Jay Civelli <jcivelli (a] chromium.org> 18045 18046 Reviewed by Darin Fisher. 18047 18048 [chromium] Adding a notification on WebViewClient when a new 18049 node gets focused. 18050 https://bugs.webkit.org/show_bug.cgi?id=38508 18051 18052 * public/WebViewClient.h: 18053 (WebKit::WebViewClient::focusedNodeChanged): 18054 * src/ChromeClientImpl.cpp: 18055 (WebKit::ChromeClientImpl::focusedNodeChanged): 18056 18057 2010-05-15 Evan Stade <estade (a] chromium.org> 18058 18059 Reviewed by Adam Barth. 18060 18061 [chromium] "Check spelling in this field" context menu item always checked 18062 https://bugs.webkit.org/show_bug.cgi?id=39018 18063 18064 Initialize all POD members of WebContextMenuData in a default 18065 constructor. 18066 18067 No tests because this code would need some major refactoring to unit 18068 test, and AFAICT it's not testable via layout tests. See note at top 18069 of getCustomMenuFromDefaultItems. 18070 18071 * public/WebContextMenuData.h: 18072 (WebKit::WebContextMenuData::WebContextMenuData): 18073 * src/ContextMenuClientImpl.cpp: 18074 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 18075 18076 2010-05-14 Darin Fisher <darin (a] chromium.org> 18077 18078 Reviewed by Dimitri Glazkov. 18079 18080 [chromium] Remove temporary relative include paths 18081 https://bugs.webkit.org/show_bug.cgi?id=38776 18082 18083 * public/WebPasswordAutocompleteListener.h: 18084 * src/FrameLoaderClientImpl.h: 18085 * src/PlatformMessagePortChannel.h: 18086 * src/WebAnimationControllerImpl.h: 18087 * src/WebBindings.cpp: 18088 * src/WebDataSourceImpl.h: 18089 * src/WebDevToolsAgentPrivate.h: 18090 * src/WebFileChooserCompletionImpl.h: 18091 * src/WebFrameImpl.h: 18092 * src/WebInputEventConversion.h: 18093 * src/WebPluginContainerImpl.h: 18094 * src/WebPluginLoadObserver.h: 18095 * src/WebPopupMenuImpl.h: 18096 * src/WebSettingsImpl.h: 18097 * src/WebViewImpl.h: 18098 * src/WebWorkerClientImpl.h: 18099 * src/WrappedResourceRequest.h: 18100 * src/WrappedResourceResponse.h: 18101 18102 2010-05-14 Anton Muhin <antonm (a] chromium.org> 18103 18104 Reviewed by Darin Fisher. 18105 18106 [Chromium] Consider implementing addOriginAccessWhitelistEntry method 18107 https://bugs.webkit.org/show_bug.cgi?id=37578 18108 18109 Remove deprecated methods. 18110 18111 * public/WebSecurityPolicy.h: 18112 * src/WebSecurityPolicy.cpp: 18113 18114 2010-05-14 Kenneth Russell <kbr (a] google.com> 18115 18116 Reviewed by Darin Adler. 18117 18118 Rename WebGLArray types to TypedArray types 18119 https://bugs.webkit.org/show_bug.cgi?id=39091 18120 18121 Extended functionality of do-webcore-rename script and used it to 18122 rename the WebGLArray types to the TypedArray naming convention. 18123 The only source files which were touched by hand, and which are 18124 being manually reviewed, are: 18125 WebCore/page/DOMWindow.idl 18126 WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone) 18127 WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp 18128 WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp 18129 These only needed to be touched to update the aliases between the 18130 WebGLArray and TypedArray names introduced in bug 39036. (It was 18131 not feasible to have do-webcore-rename handle this as it would 18132 introduce circular renamings.) These aliases will be removed in 18133 roughly a month once existing WebGL content has been updated. 18134 18135 No new tests; covered under existing WebGL tests. Updated 18136 constructed-objects-prototypes and prototype-inheritance-2 tests. 18137 Ran all layout tests in Safari and all WebGL tests in Chromium. 18138 18139 * src/GraphicsContext3D.cpp: 18140 (WebCore::GraphicsContext3DInternal::bufferData): 18141 (WebCore::GraphicsContext3DInternal::bufferSubData): 18142 18143 2010-05-14 Jochen Eisinger <jochen (a] chromium.org> 18144 18145 Reviewed by Eric Seidel. 18146 18147 Make ImageDiff depend on webkit (again). 18148 https://bugs.webkit.org/show_bug.cgi?id=39000 18149 18150 * WebKit.gyp: 18151 18152 2010-05-14 James Simonsen <simonjam+webkit (a] google.com> 18153 18154 Reviewed by Darin Fisher. 18155 18156 [chromium] Expose volume through WebMediaPlayerClient 18157 https://bugs.webkit.org/show_bug.cgi?id=38947 18158 18159 * public/WebMediaPlayerClient.h: 18160 * src/WebMediaPlayerClientImpl.cpp: 18161 (WebKit::WebMediaPlayerClientImpl::volume): 18162 * src/WebMediaPlayerClientImpl.h: 18163 18164 2010-05-14 Tony Gentilcore <tonyg (a] chromium.org> 18165 18166 Reviewed by Darin Fisher. 18167 18168 [chromium] Update chromium port to send/receive cached metadata 18169 https://bugs.webkit.org/show_bug.cgi?id=38665 18170 18171 * public/WebKitClient.h: 18172 (WebKit::WebKitClient::cacheMetadata): 18173 * public/WebURLLoaderClient.h: 18174 (WebKit::WebURLLoaderClient::didReceiveCachedMetadata): 18175 * public/WebURLResponse.h: 18176 * src/ChromiumBridge.cpp: 18177 (WebCore::ChromiumBridge::cacheMetadata): 18178 * src/ResourceHandle.cpp: 18179 (WebCore::ResourceHandleInternal::didReceiveCachedMetadata): 18180 (WebCore::ResourceHandle::cacheMetadata): 18181 * src/WebURLResponse.cpp: 18182 (WebKit::WebURLResponse::responseTime): 18183 (WebKit::WebURLResponse::setResponseTime): 18184 18185 2010-05-13 Tony Chang <tony (a] chromium.org> 18186 18187 Reviewed by Kent Tamura. 18188 18189 [chromium] enable DRT build in chromium (for the last time) 18190 https://bugs.webkit.org/show_bug.cgi?id=39109 18191 18192 * WebKit.gyp: 18193 18194 2010-05-13 Pavel Feldman <pfeldman (a] chromium.org> 18195 18196 Reviewed by Yury Semikhatsky. 18197 18198 Web Inspector: main inspector toolbar takes noticeable time to expand. 18199 18200 https://bugs.webkit.org/show_bug.cgi?id=39013 18201 18202 * src/js/DevTools.js: 18203 (devtools.domContentLoaded): 18204 18205 2010-05-12 Hans Wennborg <hans (a] chromium.org> 18206 18207 Reviewed by Jeremy Orlow. 18208 18209 [Chromium] Remove transitional functions from WebStorageNamespace and WebViewClient. 18210 https://bugs.webkit.org/show_bug.cgi?id=38985 18211 18212 These functions are no longer called as of Chromium revision 47020. 18213 This is part of resolving http://crbug.com/42740 18214 18215 * public/WebStorageNamespace.h: 18216 * public/WebViewClient.h: 18217 (WebKit::WebViewClient::createSessionStorageNamespace): 18218 18219 2010-05-12 Tony Chang <tony (a] chromium.org> 18220 18221 Reviewed by Kent Tamura. 18222 18223 [chromium] disable DRT in chromium again 18224 https://bugs.webkit.org/show_bug.cgi?id=39049 18225 18226 * WebKit.gyp: 18227 18228 2010-05-12 John Abd-El-Malek <jam (a] chromium.org> 18229 18230 Reviewed by Darin Fisher. 18231 18232 [chromium] Disable WebScrollbarImpl's scrollbar if it's not needed 18233 https://bugs.webkit.org/show_bug.cgi?id=39025 18234 18235 * src/WebScrollbarImpl.cpp: 18236 (WebKit::WebScrollbarImpl::setLocation): 18237 (WebKit::WebScrollbarImpl::setDocumentSize): 18238 18239 2010-05-12 Dumitru Daniliuc <dumi (a] chromium.org> 18240 18241 Reviewed by Dimitri Glazkov. 18242 18243 Removing the unnecessary dirfd parameter. 18244 https://bugs.webkit.org/show_bug.cgi?id=38869 18245 18246 * public/WebKitClient.h: 18247 (WebKit::WebKitClient::databaseOpenFile): 18248 * src/ChromiumBridge.cpp: 18249 (WebCore::ChromiumBridge::databaseOpenFile): 18250 18251 2010-05-12 Jeremy Orlow <jorlow (a] chromium.org> 18252 18253 Reviewed by Steve Block. 18254 18255 [Chromium] Pass the origin parameter for WebIndexedDatabase::open 18256 https://bugs.webkit.org/show_bug.cgi?id=38983 18257 18258 * public/WebIndexedDatabase.h: 18259 * src/IndexedDatabaseProxy.cpp: 18260 (WebCore::IndexedDatabaseProxy::open): 18261 * src/WebIndexedDatabaseImpl.cpp: 18262 (WebKit::WebIndexedDatabaseImpl::open): 18263 * src/WebIndexedDatabaseImpl.h: 18264 18265 2010-05-10 yael aharon <yael.aharon (a] nokia.com> 18266 18267 Reviewed by Darin Adler. 18268 18269 Support control attribute of HTMLLabelElement 18270 https://bugs.webkit.org/show_bug.cgi?id=38688 18271 18272 Renamed HTMLLabelElement::correspondingControl to HTMLLabelElement::control 18273 18274 * src/WebLabelElement.cpp: 18275 (WebKit::WebLabelElement::correspondingControl): 18276 18277 2010-05-12 MORITA Hajime <morrita (a] google.com> 18278 18279 Reviewed by Kent Tamura. 18280 18281 [Chromium] Support HTML5 <progress> element on Windows. 18282 https://bugs.webkit.org/show_bug.cgi?id=37308 18283 18284 Extended ChromiumBridge to handle progress bar painting, 18285 and added delegations to it. 18286 18287 No new tests. Test cases should be shared with existing ones for 18288 progress element. Expectaions will be added after PROGRESS_TAG is 18289 enabled on Chromium tree. 18290 18291 * public/WebThemeEngine.h: 18292 (WebKit::WebThemeEngine::paintProgressBar): 18293 * src/ChromiumBridge.cpp: 18294 (WebCore::ChromiumBridge::paintProgressBar): 18295 18296 2010-05-12 Marcus Bulach <bulach (a] chromium.org> 18297 18298 Reviewed by Steve Block. 18299 18300 Attaches the geolocation bridge later on startUpdating(). 18301 This prevents a page requesting permission when it has just accessed navigator.geolocation (without calling navigator.geolocation.getCurrentPosition/watchPosition). 18302 Note: when Geolocation::haveSuitableCachedPosition(), WebGeolocationServiceBridgeImpl::startUpdating() is not called, 18303 so we attach the bridge if needed at requestGeolocationPermissionForFrame(). 18304 https://bugs.webkit.org/show_bug.cgi?id=38323 18305 http://crbug.com/42789 18306 18307 * src/ChromeClientImpl.cpp: 18308 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame): 18309 * src/WebGeolocationServiceBridgeImpl.cpp: 18310 (WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded): 18311 (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition): 18312 18313 2010-05-12 Tony Chang <tony (a] chromium.org> 18314 18315 Reviewed by Kent Tamura. 18316 18317 [chromium] add DRT back to the chromium build 18318 https://bugs.webkit.org/show_bug.cgi?id=38978 18319 18320 * WebKit.gyp: 18321 18322 2010-05-11 Kent Tamura <tkent (a] chromium.org> 18323 18324 Reviewed by Dimitri Glazkov. 18325 18326 [DRT/Chromium] Apply recent changes of test_shell to DRT 18327 https://bugs.webkit.org/show_bug.cgi?id=38895 18328 18329 * DEPS: Update Chromium revision to use the recent webkit_support change. 18330 * WebKit.gyp: Add JavaScriptCore/wtf to 'include' section. 18331 * src/WebGraphicsContext3D.cpp: 18332 Remove ENABLE(3D_CANVAS) to provide an empty implementation of 18333 WebGraphicsContext3D::createDefault(). 18334 18335 2010-05-11 Avi Drissman <avi (a] chromium.org> 18336 18337 Reviewed by Darin Fisher. 18338 18339 [Chromium] Pipe RTL info into WebPopupMenuInfo 18340 https://bugs.webkit.org/show_bug.cgi?id=38749 18341 18342 * public/WebPopupMenuInfo.h: 18343 * src/ChromeClientImpl.cpp: 18344 (WebKit::ChromeClientImpl::getPopupMenuInfo): 18345 18346 2010-05-11 David Holloway <dhollowa (a] chromium.org> 18347 18348 Reviewed by Darin Fisher. 18349 18350 [chromium] Add size method to WebInputElement class, providing same data 18351 as HTMLInputElement::size(). During form AutoFill Chromium needs to 18352 access the input element's size attribute in aid of form matching and 18353 filling heuristics. 18354 18355 https://bugs.webkit.org/show_bug.cgi?id=38825 18356 18357 * public/WebInputElement.h: 18358 * src/WebInputElement.cpp: 18359 (WebKit::WebInputElement::size): 18360 18361 2010-05-11 Nate Chapin <japhet (a] chromium.org> 18362 18363 Reviewed by Adam Barth. 18364 18365 Crash fix in WebPageSerializerImpl::serialize(). 18366 18367 https://bugs.webkit.org/show_bug.cgi?id=38543 18368 18369 The relevant test is a test_shell_test in src.chromium.org, because neither 18370 DRT nor the Chromium webkit unit tests can currently cover the serializer 18371 functionality. 18372 18373 * src/WebPageSerializerImpl.cpp: 18374 (WebKit::WebPageSerializerImpl::serialize): Check each frame's url before using it, 18375 since they are not guaranteed to be valid (e.g., if the frame was treated as a download). 18376 18377 2010-05-11 Jian Li <jianli (a] chromium.org> 18378 18379 Reviewed by Dmitry Titov. 18380 18381 Expose FileReader interface. 18382 https://bugs.webkit.org/show_bug.cgi?id=38609 18383 18384 * features.gypi: turn on building FileReader for Chromium. 18385 18386 2010-05-10 Tony Chang <tony (a] chromium.org> 18387 18388 Reviewed by Kent Tamura. 18389 18390 [chromium] don't build DRT in chromium checkouts due to a circular gyp dependency 18391 https://bugs.webkit.org/show_bug.cgi?id=38889 18392 18393 * WebKit.gyp: 18394 18395 2010-05-10 John Abd-El-Malek <jam (a] chromium.org> 18396 18397 Reviewed by Darin Fisher. 18398 18399 [chromium] Add WebKitScrollbar interface to allow Chromium code to reuse the scrollbar code 18400 https://bugs.webkit.org/show_bug.cgi?id=38854 18401 18402 * public/WebScrollbar.h: Added. 18403 (WebKit::WebScrollbar::): 18404 (WebKit::WebScrollbar::~WebScrollbar): 18405 * public/WebScrollbarClient.h: Added. 18406 * public/WebThemeEngine.h: 18407 * src/AssertMatchingEnums.cpp: 18408 * src/WebScrollbarImpl.cpp: Added. 18409 (WebKit::WebScrollbar::create): 18410 (WebKit::WebScrollbar::defaultThickness): 18411 (WebKit::WebScrollbarImpl::WebScrollbarImpl): 18412 (WebKit::WebScrollbarImpl::~WebScrollbarImpl): 18413 (WebKit::WebScrollbarImpl::setLocation): 18414 (WebKit::WebScrollbarImpl::value): 18415 (WebKit::WebScrollbarImpl::setValue): 18416 (WebKit::WebScrollbarImpl::setDocumentSize): 18417 (WebKit::WebScrollbarImpl::scroll): 18418 (WebKit::WebScrollbarImpl::paint): 18419 (WebKit::WebScrollbarImpl::handleInputEvent): 18420 (WebKit::WebScrollbarImpl::onMouseDown): 18421 (WebKit::WebScrollbarImpl::onMouseUp): 18422 (WebKit::WebScrollbarImpl::onMouseMove): 18423 (WebKit::WebScrollbarImpl::onMouseLeave): 18424 (WebKit::WebScrollbarImpl::onMouseWheel): 18425 (WebKit::WebScrollbarImpl::onKeyDown): 18426 (WebKit::WebScrollbarImpl::valueChanged): 18427 (WebKit::WebScrollbarImpl::invalidateScrollbarRect): 18428 (WebKit::WebScrollbarImpl::isActive): 18429 (WebKit::WebScrollbarImpl::scrollbarCornerPresent): 18430 (WebKit::WebScrollbarImpl::getTickmarks): 18431 * src/WebScrollbarImpl.h: Added. 18432 * src/WebViewImpl.cpp: 18433 (WebKit::WebViewImpl::scrollViewWithKeyboard): 18434 (WebKit::WebViewImpl::mapKeyCodeForScroll): 18435 * src/WebViewImpl.h: 18436 18437 2010-05-10 Tony Gentilcore <tonyg (a] chromium.org> 18438 18439 Reviewed by Adam Barth. 18440 18441 Provide mechanism to cache metadata for a resource 18442 https://bugs.webkit.org/show_bug.cgi?id=37874 18443 18444 * src/ResourceHandle.cpp: 18445 (WebCore::ResourceHandle::cacheMetadata): 18446 18447 2010-05-10 Hans Wennborg <hans (a] chromium.org> 18448 18449 Reviewed by Jeremy Orlow. 18450 18451 [Chromium] Add quota parameter to WebViewClient::createSessionStorageNamespace() 18452 https://bugs.webkit.org/show_bug.cgi?id=38750 18453 18454 Put a per-origin quota on session storage since it is using memory in 18455 the browser process, and should not be allowed to grow arbitrarily 18456 large. See also http://trac.webkit.org/changeset/58828. 18457 18458 * public/WebStorageNamespace.h: 18459 * public/WebViewClient.h: 18460 (WebKit::WebViewClient::createSessionStorageNamespace): 18461 * src/StorageNamespaceProxy.cpp: 18462 (WebCore::StorageNamespace::sessionStorageNamespace): 18463 18464 18465 2010-05-10 Jeremy Orlow <jorlow (a] chromium.org> 18466 18467 Reviewed by Nate Chapin. 18468 18469 Change IndexedDB to use events instead of callbacks 18470 https://bugs.webkit.org/show_bug.cgi?id=38594 18471 18472 Change the glue here to match the changes I made in WebCore. 18473 18474 * WebKit.gyp: 18475 * public/WebIDBCallbacks.h: 18476 * public/WebIndexedDatabase.h: 18477 * src/IDBCallbacksProxy.cpp: Added. 18478 (WebCore::IDBCallbacksProxy::IDBCallbacksProxy): 18479 (WebCore::IDBCallbacksProxy::~IDBCallbacksProxy): 18480 (WebCore::IDBCallbacksProxy::onError): 18481 (WebCore::IDBCallbacksProxy::onSuccess): 18482 * src/IDBCallbacksProxy.h: 18483 * src/IndexedDatabaseProxy.cpp: 18484 (WebCore::IndexedDatabaseProxy::open): 18485 * src/IndexedDatabaseProxy.h: 18486 * src/WebIndexedDatabaseImpl.cpp: 18487 (WebKit::WebIndexedDatabaseImpl::open): 18488 * src/WebIndexedDatabaseImpl.h: 18489 18490 2010-05-08 Jens Alfke <snej (a] chromium.org> 18491 18492 Reviewed by Darin Fisher. 18493 18494 [chromium] WebFrame::registerPasswordListener shouldn't assert on duplicate listener. 18495 https://bugs.webkit.org/show_bug.cgi?id=38765 18496 18497 * public/WebFrame.h: 18498 (WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool. Updated comment. 18499 * src/WebFrameImpl.cpp: 18500 (WebKit::WebFrameImpl::registerPasswordListener): Return false instead of asserting. 18501 * src/WebFrameImpl.h: 18502 (WebKit::WebFrameImpl::registerPasswordListener): Changed return type to bool. 18503 18504 2010-05-08 Michael Nordman <michaeln (a] google.com> 18505 18506 Reviewed by Dmitry Titov. 18507 18508 Add an additional parameter to the WebSharedWorker::startWorkerContext method 18509 to indicate which appcache the shared worker script resource was loaded from, 18510 and provide that value when calling out to chrome via this interface. 18511 https://bugs.webkit.org/show_bug.cgi?id=38605 18512 18513 I'm keeping the old method around until patches can land in both repositories 18514 that make the old method obsolete and unneeded. There's a FIXME for that. 18515 18516 Also somewhat related but independent change to propagate the runtime enabled 18517 flag thru to the page settings instance used by the 'shadow page'. 18518 18519 * public/WebSharedWorker.h: Add the new param (but keep the old interface around for now too) 18520 (WebKit::WebSharedWorker::startWorkerContext): 18521 * src/SharedWorkerRepository.cpp: Provide the value when calling out to chrome. 18522 (WebCore::SharedWorkerScriptLoader::notifyFinished): 18523 * src/WebSharedWorkerImpl.cpp: 18524 (WebKit::WebSharedWorkerImpl::startWorkerContext): 18525 * src/WebSharedWorkerImpl.h: 18526 * src/WebWorkerBase.cpp: Propagate runtime enabled flag thru to the page settings. 18527 (WebKit::WebWorkerBase::initializeLoader): 18528 18529 2010-05-07 Darin Fisher <darin (a] chromium.org> 18530 18531 Fix build bustage. Update to Chromium code that avoids a bad 18532 dependency from net/ on chrome/. 18533 18534 * DEPS: 18535 18536 2010-05-07 Darin Fisher <darin (a] chromium.org> 18537 18538 Fix build bustage. Update to Chromium code that no longer uses 18539 deprecated methods. 18540 18541 * DEPS: 18542 18543 2010-05-07 Darin Fisher <darin (a] chromium.org> 18544 18545 Reviewed by Dimitri Glazkov. 18546 18547 [chromium] clear out more deprecated methods that are no longer used 18548 https://bugs.webkit.org/show_bug.cgi?id=38702 18549 18550 * public/WebFrame.h: 18551 * public/WebNode.h: 18552 * src/WebFrameImpl.cpp: 18553 * src/WebFrameImpl.h: 18554 * src/WebNode.cpp: 18555 18556 2010-05-07 Finnur Thorarinsson <finnur.webkit (a] gmail.com> 18557 18558 Reviewed by Dimitri Glazkov. 18559 18560 [chromium]: Fixing Find in page crash on sites.google.com 18561 https://bugs.webkit.org/show_bug.cgi?id=38591 18562 18563 setMarkerActive should not try to set a collapsed marker as 18564 active. This can happen when you Edit a Sites page after doing 18565 a Find operation and then you press FindNext. 18566 18567 * src/WebFrameImpl.cpp: 18568 (WebKit::WebFrameImpl::setMarkerActive): 18569 18570 2010-05-06 Kent Tamura <tkent (a] chromium.org> 18571 18572 Reviewed by Dimitri Glazkov. 18573 18574 [DRT/Chromium] Add support for resources on Mac 18575 https://bugs.webkit.org/show_bug.cgi?id=38637 18576 18577 * DEPS: Check out tools/data_pack. 18578 18579 2010-05-06 Pavel Feldman <pfeldman (a] chromium.org> 18580 18581 Reviewed by Timothy Hatcher. 18582 18583 Chromium Dev Tools: Large toolbar icons flash when dev 18584 tools is opened in docked mode. 18585 18586 https://bugs.webkit.org/show_bug.cgi?id=38631 18587 18588 * src/js/DevTools.js: 18589 (devtools.domContentLoaded): 18590 18591 2010-05-06 Adam Barth <abarth (a] webkit.org> 18592 18593 Reviewed by Eric Seidel. 18594 18595 drop support for sessionStorage in sandbox iframes 18596 https://bugs.webkit.org/show_bug.cgi?id=38151 18597 18598 Update client of sessionStorage to handle exceptions. 18599 18600 * src/StorageAreaProxy.cpp: 18601 (WebCore::StorageAreaProxy::storageEvent): 18602 18603 2010-05-05 Darin Fisher <darin (a] chromium.org> 18604 18605 Reviewed by Dimitri Glazkov. 18606 18607 [chromium] clear out deprecated methods that are no longer used 18608 https://bugs.webkit.org/show_bug.cgi?id=38610 18609 18610 * public/WebFormElement.h: 18611 * public/WebInputElement.h: 18612 * public/WebKitClient.h: 18613 * public/WebView.h: 18614 * public/WebViewClient.h: 18615 (WebKit::WebViewClient::createPopupMenu): 18616 * src/ChromeClientImpl.cpp: 18617 (WebKit::ChromeClientImpl::popupOpened): 18618 * src/WebFormElement.cpp: 18619 * src/WebInputElement.cpp: 18620 (WebKit::WebInputElement::setSelectionRange): 18621 * src/WebViewImpl.cpp: 18622 (WebKit::WebViewImpl::hideSuggestionsPopup): 18623 * src/WebViewImpl.h: 18624 18625 2010-05-05 Hans Wennborg <hans (a] chromium.org> 18626 18627 Reviewed by Jeremy Orlow. 18628 18629 [chromium] Add quota parameter to WebStorageNamespace::createSessionStorageNamespace 18630 https://bugs.webkit.org/show_bug.cgi?id=38589 18631 18632 * public/WebStorageNamespace.h: 18633 (WebKit::WebStorageNamespace::createSessionStorageNamespace): 18634 * src/WebStorageNamespaceImpl.cpp: 18635 (WebKit::WebStorageNamespace::createSessionStorageNamespace): 18636 18637 2010-05-05 Stuart Morgan <stuartmorgan (a] chromium.org> 18638 18639 Reviewed by Darin Fisher. 18640 18641 Update the plugin container's setFocus implementation to pass the new 18642 boolean argument to the next layer. 18643 18644 https://bugs.webkit.org/show_bug.cgi?id=37961 18645 18646 * src/WebPluginContainerImpl.cpp: 18647 (WebKit::WebPluginContainerImpl::setFocus): 18648 * src/WebPluginContainerImpl.h: 18649 18650 2010-05-04 Vangelis Kokkevis <vangelis (a] chromium.org> 18651 18652 Reviewed by Darin Fisher. 18653 18654 Provide an API for querying whether a WebWidget is using gpu accelerated compositing. 18655 Also changed: isAcceleratedCompositing to: isAcceleratedCompositingActive. 18656 https://bugs.webkit.org/show_bug.cgi?id=38220 18657 18658 * public/WebWidget.h: 18659 * src/WebPopupMenuImpl.h: 18660 (WebKit::WebPopupMenuImpl::isAcceleratedCompositingActive): 18661 * src/WebViewImpl.cpp: 18662 (WebKit::WebViewImpl::WebViewImpl): 18663 (WebKit::WebViewImpl::paint): 18664 (WebKit::WebViewImpl::isAcceleratedCompositingActive): 18665 (WebKit::WebViewImpl::setRootGraphicsLayer): 18666 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): 18667 (WebKit::WebViewImpl::updateRootLayerContents): 18668 * src/WebViewImpl.h: 18669 18670 2010-04-29 John Gregg <johnnyg (a] google.com> 18671 18672 Reviewed by Dmitry Titov. 18673 18674 notifications should have dir and replaceId attributes 18675 https://bugs.webkit.org/show_bug.cgi?id=38336 18676 18677 * public/WebNotification.h: 18678 * src/WebNotification.cpp: 18679 (WebKit::WebNotification::dir): 18680 (WebKit::WebNotification::replaceId): 18681 18682 2010-05-04 Jay Civelli <jcivelli (a] chromium.org> 18683 18684 Reviewed by David Levin. 18685 18686 [chromium] Make the select popup not close on right/middle clicks. 18687 https://bugs.webkit.org/show_bug.cgi?id=38473 18688 18689 * src/WebViewImpl.cpp: 18690 (WebKit::WebViewImpl::mouseDown): 18691 18692 2010-05-03 Abhishek Arya <inferno (a] chromium.org> 18693 18694 Reviewed by Adam Barth. 18695 18696 Add support for controlling clipboard access from javascript. 18697 Clipboard access from javascript is disabled by default. 18698 https://bugs.webkit.org/show_bug.cgi?id=27751 18699 18700 * public/WebSettings.h: 18701 * src/WebSettingsImpl.cpp: 18702 (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard): 18703 * src/WebSettingsImpl.h: 18704 18705 2010-05-03 Jens Alfke <snej (a] chromium.org> 18706 18707 Reviewed by Darin Fisher. 18708 18709 [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient 18710 https://bugs.webkit.org/show_bug.cgi?id=38397 18711 18712 No tests (functionality is exposed only through native WebKit API.) 18713 18714 * public/WebFrameClient.h: 18715 (WebKit::WebFrameClient::willSendSubmitEvent): New empty method 18716 * src/FrameLoaderClientImpl.cpp: 18717 (WebKit::FrameLoaderClientImpl::dispatchWillSendSubmitEvent): Delegate to client 18718 * src/FrameLoaderClientImpl.h: 18719 18720 2010-05-02 Michael Nordman <michaeln (a] google.com> 18721 18722 Reviewed by Dmitry Titov. 18723 18724 Define two new ResourceRequestBase TargetTypes for worker and shared worker 18725 main resources. Use the new target types where appropiate. Add logic to marshal 18726 the target type specified by requests initiated on a background worker thread. 18727 18728 https://bugs.webkit.org/show_bug.cgi?id=38295 18729 18730 * src/SharedWorkerRepository.cpp: use TargetIsSharedWorker 18731 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader): 18732 18733 2010-05-02 Rafael Weinstein <rafaelw (a] chromium.org> 18734 18735 Reviewed by Darin Fisher. 18736 18737 Include WebWindowFeatures in call to WebViewClient::createView. 18738 https://bugs.webkit.org/show_bug.cgi?id=38301 18739 18740 * public/WebViewClient.h: 18741 (WebKit::WebViewClient::createView): 18742 * public/WebWindowFeatures.h: 18743 * src/ChromeClientImpl.cpp: 18744 (WebKit::ChromeClientImpl::createWindow): 18745 18746 2010-05-01 Evan Stade <estade (a] chromium.org> 18747 18748 Reviewed by David Levin 18749 18750 [chromium] Skia needs to fade DragImages 18751 https://bugs.webkit.org/show_bug.cgi?id=38008 18752 18753 * tests/DragImageTest.cpp: 18754 (DragImageTest.CreateDragImage): test that the drag image is a deep copy 18755 18756 2010-04-30 Jian Li <jianli (a] chromium.org> 18757 18758 Reviewed by Darin Fisher. 18759 18760 [chromium] Add WebFileSystem interface and hook up with all FileSystem methods. 18761 https://bugs.webkit.org/show_bug.cgi?id=38228 18762 18763 * WebKit.gyp: 18764 * public/WebFileSystem.h: Added. 18765 * public/WebKitClient.h: 18766 (WebKit::WebKitClient::fileSystem): 18767 * src/ChromiumBridge.cpp: 18768 (WebCore::ChromiumBridge::fileExists): 18769 (WebCore::ChromiumBridge::deleteFile): 18770 (WebCore::ChromiumBridge::deleteEmptyDirectory): 18771 (WebCore::ChromiumBridge::getFileSize): 18772 (WebCore::ChromiumBridge::getFileModificationTime): 18773 (WebCore::ChromiumBridge::directoryName): 18774 (WebCore::ChromiumBridge::pathByAppendingComponent): 18775 (WebCore::ChromiumBridge::makeAllDirectories): 18776 (WebCore::ChromiumBridge::getAbsolutePath): 18777 (WebCore::ChromiumBridge::isDirectory): 18778 (WebCore::ChromiumBridge::filePathToURL): 18779 (WebCore::ChromiumBridge::openFile): 18780 (WebCore::ChromiumBridge::closeFile): 18781 (WebCore::ChromiumBridge::seekFile): 18782 (WebCore::ChromiumBridge::truncateFile): 18783 (WebCore::ChromiumBridge::readFromFile): 18784 (WebCore::ChromiumBridge::writeToFile): 18785 18786 2010-04-29 Jeremy Orlow <jorlow (a] chromium.org> 18787 18788 Reviewed by Darin Fisher. 18789 18790 Change StorageEvent.uri to StorageEvent.url to match the spec 18791 https://bugs.webkit.org/show_bug.cgi?id=38331 18792 18793 Get rid of a stale FIXME and combine 2 lines that needn't be split. 18794 18795 * src/StorageEventDispatcherImpl.cpp: 18796 (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent): 18797 18798 2010-04-29 Anton Muhin <antonm (a] chromium.org> 18799 18800 Reviewed by Darin Fisher. 18801 18802 [Chromium] Consider implementing addOriginAccessWhitelistEntry method 18803 http://trac.webkit.org/changeset/57537 introduced a new method 18804 to manage whitelisting of origins. 18805 Expose this method in Chromium's bridge. 18806 https://bugs.webkit.org/show_bug.cgi?id=37578 18807 18808 * public/WebSecurityPolicy.h: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method 18809 * src/WebSecurityPolicy.cpp: Start renaming (keep old function names) and add new removeOriginAccessWhitelistEntry method 18810 18811 2010-04-29 Sheriff Bot <webkit.review.bot (a] gmail.com> 18812 18813 Unreviewed, rolling out r58498. 18814 http://trac.webkit.org/changeset/58498 18815 https://bugs.webkit.org/show_bug.cgi?id=38332 18816 18817 "Broke a bunch of tests on Chromium canaries" (Requested by 18818 dglazkov on #webkit). 18819 18820 * public/WebViewClient.h: 18821 (WebKit::WebViewClient::createView): 18822 * public/WebWindowFeatures.h: 18823 * src/ChromeClientImpl.cpp: 18824 (WebKit::ChromeClientImpl::createWindow): 18825 18826 2010-04-29 Adam Langley <agl (a] chromium.org> 18827 18828 Unreviewed, DEPS roll. 18829 18830 WebKit's r58517 needs OTS's r30 which was rolled into Chromium in 18831 r45932. 18832 18833 * DEPS: 18834 Use Chromium r45932. 18835 18836 2010-04-29 Rafael Weinstein <rafaelw (a] chromium.org> 18837 18838 Reviewed by Darin Fisher. 18839 18840 Include WindowFeatures in call to WebViewClient::createView. 18841 18842 https://bugs.webkit.org/show_bug.cgi?id=38301 18843 18844 * public/WebViewClient.h: 18845 (WebKit::WebViewClient::createView): 18846 * public/WebWindowFeatures.h: 18847 * src/ChromeClientImpl.cpp: 18848 (WebKit::ChromeClientImpl::createWindow): 18849 18850 2010-04-29 Garret Kelly <gdk (a] chromium.org> 18851 18852 Reviewed by Darin Fisher. 18853 18854 Expose the RuntimeFeature for touch events through the 18855 WebRuntimeFeatures mechanism. 18856 https://bugs.webkit.org/show_bug.cgi?id=37486 18857 18858 * public/WebRuntimeFeatures.h: 18859 * src/WebRuntimeFeatures.cpp: 18860 (WebKit::WebRuntimeFeatures::enableTouch): 18861 (WebKit::WebRuntimeFeatures::isTouchEnabled): 18862 18863 2010-04-29 Zhenyao Mo <zmo (a] google.com> 18864 18865 Reviewed by Dimitri Glazkov. 18866 18867 Remove the unnecessary texImage2D function with Image as input in GraphicsContext3D 18868 https://bugs.webkit.org/show_bug.cgi?id=38235 18869 18870 * src/GraphicsContext3D.cpp: Remove tex*image implementation with Image input. 18871 18872 2010-04-28 Pavel Feldman <pfeldman (a] chromium.org> 18873 18874 Reviewed by Yury Semikhatsky. 18875 18876 Web Inspector: Allow editing script resources when resource tracking is enabled. 18877 18878 http://bugs.webkit.org/show_bug.cgi?id=38269 18879 18880 * src/js/DebuggerAgent.js: 18881 * src/js/InspectorControllerImpl.js: 18882 (.devtools.InspectorBackendImpl.prototype.setBreakpoint): 18883 (.devtools.InspectorBackendImpl.prototype.editScriptSource): 18884 18885 2010-04-28 Darin Fisher <darin (a] chromium.org> 18886 18887 Reviewed by David Levin. 18888 18889 [Chromium] callOnMainThread should equate to MessageLoop::PostTask 18890 https://bugs.webkit.org/show_bug.cgi?id=38276 18891 18892 * public/WebKitClient.h: 18893 (WebKit::WebKitClient::callOnMainThread): 18894 * src/ChromiumThreading.cpp: 18895 (WTF::ChromiumThreading::callOnMainThread): 18896 18897 2010-04-27 John Abd-El-Malek <jam (a] chromium.org> 18898 18899 Reviewed by Darin Fisher. 18900 18901 Make WebThemeEngine::paint take a const ref of ExtraParams 18902 https://bugs.webkit.org/show_bug.cgi?id=38242 18903 18904 * public/WebThemeEngine.h: 18905 (WebKit::WebThemeEngine::paint): 18906 18907 2010-04-28 Andrey Kosyakov <caseq (a] chromium.org> 18908 18909 Reviewed by Pavel Feldman. 18910 18911 Fixed passing breakpoints to V8. 18912 https://bugs.webkit.org/show_bug.cgi?id=38266 18913 18914 * src/js/InspectorControllerImpl.js: 18915 (.devtools.InspectorBackendImpl.prototype.setBreakpoint): 18916 18917 2010-04-28 Yury Semikhatsky <yurys (a] chromium.org> 18918 18919 Reviewed by Pavel Feldman. 18920 18921 Support pause on exceptions in v8 implementation of ScriptDebugServer. 18922 18923 https://bugs.webkit.org/show_bug.cgi?id=38205 18924 18925 * src/js/DebuggerScript.js: 18926 (debuggerScriptConstructor.DebuggerScript.getScripts): 18927 (debuggerScriptConstructor.DebuggerScript.pauseOnExceptionsState): 18928 (debuggerScriptConstructor.DebuggerScript.setPauseOnExceptionsState): 18929 (debuggerScriptConstructor.DebuggerScript._v8ToWebkitLineNumber): 18930 (debuggerScriptConstructor): 18931 18932 2010-04-27 Jens Alfke <snej (a] chromium.org> 18933 18934 Reviewed by Eric Seidel. 18935 18936 [chromium] Fix bug that prevents autosave of forms without action attribute 18937 https://bugs.webkit.org/show_bug.cgi?id=38014 18938 Change is in the Chromium WebKit API so it can't be tested with a JS-based layout test. 18939 It needs a native unit test, which would go in the Chromium repo, not WebKit. 18940 18941 * src/WebPasswordFormData.cpp: 18942 (WebKit::WebPasswordFormData::WebPasswordFormData): Set correct URL if action is NULL 18943 18944 2010-04-27 Michael Nordman <michaeln (a] google.com> 18945 18946 Reviewed by Dmitry Titov. 18947 18948 [Chromium] Add two things to the webkit API to support appcaches in workers. 18949 1) WebURLRequest TargetTypes for worker and shared worker main resources. 18950 2) Factory method on class WebCommonWorkerClient to 18951 createApplicationCacheHost() for the associated worker. 18952 18953 https://bugs.webkit.org/show_bug.cgi?id=38147 18954 18955 * public/WebCommonWorkerClient.h: add the factory method 18956 * public/WebURLRequest.h: add the TargetTypes 18957 * src/WebWorkerBase.cpp: call the embedder's factory when needed 18958 (WebKit::WebWorkerBase::didCreateDataSource) 18959 (WebKit::WebWorkerBase::createApplicationCacheHost) 18960 * src/WebWorkerBase.h: ditto 18961 * src/WebWorkerClientImpl.h: add a stub impl of the factory method 18962 (WebKit::WebWorkerClientImpl::createApplicationCacheHost): 18963 18964 2010-04-27 Kent Tamura <tkent (a] chromium.org> 18965 18966 Reviewed by Shinichiro Hamaji. 18967 18968 [DRT/Chromium] Enable Windows project generation 18969 https://bugs.webkit.org/show_bug.cgi?id=38103 18970 18971 - Avoid platform.system(), which causes a crash with python.exe in 18972 depot_tools. Use sys.platform instead. 18973 - Process DumpRenderTree.gyp on all platforms. 18974 18975 * gyp_webkit: 18976 18977 2010-04-27 Jay Civelli <jcivelli (a] chromium.org> 18978 18979 Reviewed by Darin Fisher. 18980 18981 Makes clicking a select element close its associated popup if 18982 it is open. 18983 https://bugs.webkit.org/show_bug.cgi?id=38105 18984 18985 * src/WebViewImpl.cpp: 18986 (WebKit::WebViewImpl::mouseDown): 18987 18988 2010-04-27 Jay Civelli <jcivelli (a] chromium.org> 18989 18990 Reviewed by Darin Fisher. 18991 18992 [chromium] Merged the WebView public method to close suggestion popups 18993 into a single method to close all popups (select and suggestions). 18994 That ensures select popups are closed when the browser window is moved 18995 or resized. 18996 https://bugs.webkit.org/show_bug.cgi?id=37837 18997 18998 * public/WebView.h: 18999 * src/WebViewImpl.cpp: 19000 (WebKit::WebViewImpl::hidePopups): 19001 (WebKit::WebViewImpl::hideSuggestionsPopup): 19002 * src/WebViewImpl.h: 19003 19004 2010-04-27 John Abd-El-Malek <jam (a] chromium.org> 19005 19006 Reviewed by Darin Adler. 19007 19008 Remove unnecessary header now that Chrome is updated 19009 https://bugs.webkit.org/show_bug.cgi?id=38211 19010 19011 * public/win/WebThemeEngine.h: Removed. 19012 19013 2010-04-27 Jens Alfke <snej (a] chromium.org> 19014 19015 Reviewed by Darin Fisher. 19016 19017 [Chromium] Add some notifications and an accessor to WebKit API 19018 https://bugs.webkit.org/show_bug.cgi?id=37625 19019 19020 * public/WebFrameClient.h: 19021 (WebKit::WebFrameClient::didFirstLayout): 19022 (WebKit::WebFrameClient::didFirstVisuallyNonEmptyLayout): 19023 * public/WebNode.h: 19024 * src/FrameLoaderClientImpl.cpp: 19025 (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout): 19026 (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout): 19027 * src/WebElement.cpp: 19028 * src/WebNode.cpp: 19029 (WebKit::WebNode::hasNonEmptyBoundingBox): 19030 19031 2010-04-27 Darin Fisher <darin (a] chromium.org> 19032 19033 Reviewed by Dimitri Glazkov. 19034 19035 [Chromium] Remove deprecated form of didChangeLocationWithinPage 19036 https://bugs.webkit.org/show_bug.cgi?id=38178 19037 19038 * public/WebFrameClient.h: 19039 * src/FrameLoaderClientImpl.cpp: 19040 (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage): 19041 19042 2010-04-27 Evan Martin <evan (a] chromium.org> 19043 19044 Reviewed by David Levin. 19045 19046 [chromium] bold bengali text not rendered properly on Linux 19047 Roll forward Chrome DEPS so we get new Skia API. 19048 19049 * DEPS: update Chrome to r45696. 19050 19051 2010-04-27 Andrey Kosyakov <caseq (a] chromium.org> 19052 19053 Reviewed by Pavel Feldman. 19054 19055 Restore breakpoints associated with script's URL once 19056 script is parsed. 19057 https://bugs.webkit.org/show_bug.cgi?id=38132 19058 19059 * src/js/DebuggerAgent.js: 19060 (devtools.DebuggerAgent.prototype.initUI): 19061 (devtools.DebuggerAgent.prototype.addBreakpoint): 19062 (devtools.DebuggerAgent.prototype.addScriptInfo_): 19063 (devtools.DebuggerAgent.prototype.restoreBreakpoints_): 19064 (devtools.BreakpointInfo): 19065 (devtools.BreakpointInfo.prototype.enabled): 19066 (devtools.BreakpointInfo.prototype.condition): 19067 19068 2010-04-27 Pavel Feldman <pfeldman (a] chromium.org> 19069 19070 Reviewed by Yury Semikhatsky. 19071 19072 Chrome Dev Tools: Further beautify themes. 19073 19074 https://bugs.webkit.org/show_bug.cgi?id=38187 19075 19076 * src/js/DevTools.js: 19077 (WebInspector.setToolbarColors): 19078 * src/js/devTools.css: 19079 (body.platform-windows #toolbar, body.platform-windows.inactive #toolbar): 19080 19081 2010-04-26 John Abd-El-Malek <jam (a] chromium.org> 19082 19083 Reviewed by Darin Fisher. 19084 19085 [chromium] Prepare to making WebThemeEngine cross-platform 19086 https://bugs.webkit.org/show_bug.cgi?id=38077 19087 19088 * WebKit.gyp: 19089 * public/WebThemeEngine.h: Added. 19090 * public/win/WebThemeEngine.h: 19091 19092 2010-04-26 Darin Fisher <darin (a] chromium.org> 19093 19094 Reviewed by Adam Barth. 19095 19096 [Chromium] Crash after calling window.print() on a window object that has been closed. 19097 https://bugs.webkit.org/show_bug.cgi?id=38148 19098 19099 It is unfortunately not possible to write a layout test for this as the 19100 crash occurs in an API that is only called by Chrome while showing a 19101 print dialog. 19102 19103 * src/WebViewImpl.cpp: 19104 (WebKit::WebView::willEnterModalLoop): 19105 (WebKit::WebView::didExitModalLoop): 19106 19107 2010-04-25 Sam Weinig <sam (a] webkit.org> 19108 19109 Reviewed by Maciej Stachowiak. 19110 19111 Fix for https://bugs.webkit.org/show_bug.cgi?id=38097 19112 Disentangle initializing the main thread from initializing threading 19113 19114 * src/WebKit.cpp: 19115 (WebKit::initialize): Add call to initializeMainThread. 19116 * src/WebViewImpl.cpp: 19117 (WebKit::WebViewImpl::WebViewImpl): Ditto. 19118 19119 2010-04-26 Roman Gershman <romange (a] google.com> 19120 19121 Reviewed by Adam Barth. 19122 19123 [Chromium] Font size in suggestions popup menu should be correlated with the font size of its text field. 19124 19125 https://bugs.webkit.org/show_bug.cgi?id=37977 19126 19127 * src/SuggestionsPopupMenuClient.cpp: 19128 (WebKit::SuggestionsPopupMenuClient::initialize): 19129 19130 2010-04-26 Pavel Feldman <pfeldman (a] chromium.org> 19131 19132 Reviewed by Yury Semikhatsky. 19133 19134 Chromium Dev Tools: brush up images. 19135 19136 https://bugs.webkit.org/show_bug.cgi?id=38124 19137 19138 * WebKit.gypi: 19139 * src/js/DevTools.js: 19140 (WebInspector.setToolbarColors): 19141 * src/js/Images/segmentChromium.png: 19142 * src/js/Images/segmentChromium2.png: Removed. 19143 * src/js/Images/segmentHoverChromium2.png: Removed. 19144 * src/js/Images/segmentSelectedChromium2.png: Removed. 19145 * src/js/Images/statusbarBackgroundChromium.png: 19146 * src/js/Images/statusbarBackgroundChromium2.png: Removed. 19147 * src/js/Images/statusbarBottomBackgroundChromium.png: 19148 * src/js/Images/statusbarButtonsChromium.png: 19149 * src/js/Images/statusbarMenuButtonChromium.png: 19150 * src/js/Images/statusbarMenuButtonChromium2.png: Removed. 19151 * src/js/devTools.css: 19152 (.section > .header): 19153 (.console-group-messages .section > .header): 19154 (#resources-filter): 19155 (.crumbs .crumb): 19156 (.crumbs .crumb.end): 19157 (.crumbs .crumb.selected): 19158 (.crumbs .crumb.selected:hover): 19159 (.crumbs .crumb.selected.end, .crumbs .crumb.selected.end:hover): 19160 (.crumbs .crumb:hover): 19161 (.crumbs .crumb.dimmed:hover): 19162 (.crumbs .crumb.end:hover): 19163 (body.drawer-visible #main-status-bar): 19164 (.status-bar): 19165 (button.status-bar-item): 19166 (select.status-bar-item:active): 19167 (#drawer): 19168 (select.status-bar-item): 19169 19170 2010-04-23 Zhenyao Mo <zmo (a] google.com> 19171 19172 Reviewed by Darin Fisher. 19173 19174 Add isGLES2Compliant to GraphicsContext3D: make the method const. 19175 https://bugs.webkit.org/show_bug.cgi?id=37872 19176 19177 * src/GraphicsContext3D.cpp: Make isGLES2Compliant() const. 19178 (WebCore::GraphicsContext3DInternal::isGLES2Compliant): 19179 (WebCore::GraphicsContext3D::isGLES2Compliant): 19180 19181 2010-04-23 Rafael Weinstein <rafaelw (a] grafaelw.sfo.corp.google.com> 19182 19183 Reviewed by Darin Fisher. 19184 19185 This patch adds a WebWindowFeatures binding struct for the 19186 chromium client in anticipation of a follow-on patch which will 19187 pass it to WebViewClient::createWindow. 19188 19189 https://bugs.webkit.org/show_bug.cgi?id=38013 19190 19191 * public/WebViewClient.h: 19192 (WebKit::WebViewClient::createView): 19193 * public/WebWindowFeatures.h: Added. 19194 (WebKit::WebWindowFeatures::WebWindowFeatures): 19195 * src/ChromeClientImpl.cpp: 19196 (WebKit::ChromeClientImpl::createWindow): 19197 19198 2010-04-22 Zhenyao Mo <zmo (a] google.com> 19199 19200 Reviewed by Darin Fisher. 19201 19202 Add isGLES2Compliant to GraphicsContext3D 19203 https://bugs.webkit.org/show_bug.cgi?id=37872 19204 19205 * public/WebGraphicsContext3D.h: Add isGLES2Compliant(). 19206 * src/GraphicsContext3D.cpp: Ditto. 19207 * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto. 19208 (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2Compliant): 19209 * src/WebGraphicsContext3DDefaultImpl.h: Ditto. 19210 19211 2010-04-22 Dave Moore <davemoore (a] chromium.org> 19212 19213 Reviewed by Dimitri Glazkov. 19214 19215 Added notification when the favicons for a page are changed 19216 from a script. 19217 The Document object will notify the frame loader, which will 19218 notify the client. Implementations of FrameLoaderClient will 19219 have to add one method; dispatchDidChangeIcons(). 19220 19221 https://bugs.webkit.org/show_bug.cgi?id=33812 19222 19223 * public/WebFrameClient.h: 19224 (WebKit::WebFrameClient::didChangeIcons): 19225 * src/FrameLoaderClientImpl.cpp: 19226 (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons): 19227 * src/FrameLoaderClientImpl.h: 19228 19229 2010-04-22 Zhenyao Mo <zmo (a] google.com> 19230 19231 Reviewed by Dimitri Glazkov. 19232 19233 Emulate GL_IMPLEMENTATION_COLOR_READ_FORMAT/TYPE for glGet 19234 https://bugs.webkit.org/show_bug.cgi?id=37281 19235 19236 * src/WebGraphicsContext3DDefaultImpl.cpp: 19237 (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Emulate two enums. 19238 19239 2010-04-22 Adam Barth <abarth (a] webkit.org> 19240 19241 Unreviewed, rolling out r58069. 19242 http://trac.webkit.org/changeset/58069 19243 https://bugs.webkit.org/show_bug.cgi?id=27751 19244 19245 Broke compile on Windows. 19246 19247 * public/WebSettings.h: 19248 * src/WebSettingsImpl.cpp: 19249 * src/WebSettingsImpl.h: 19250 19251 2010-04-22 Tony Chang <tony (a] chromium.org> 19252 19253 Reviewed by Shinichiro Hamaji. 19254 19255 [chromium] roll chromium deps to pick up some windows build fixes 19256 https://bugs.webkit.org/show_bug.cgi?id=37972 19257 19258 * DEPS: 19259 19260 2010-04-22 Abhishek Arya <inferno (a] chromium.org> 19261 19262 Reviewed by Adam Barth. 19263 19264 Add support for controlling clipboard access from javascript. 19265 Clipboard access from javascript is disabled by default. 19266 https://bugs.webkit.org/show_bug.cgi?id=27751 19267 19268 * public/WebSettings.h: 19269 * src/WebSettingsImpl.cpp: 19270 (WebKit::WebSettingsImpl::setJavaScriptCanAccessClipboard): 19271 * src/WebSettingsImpl.h: 19272 19273 2010-04-21 Tony Chang <tony (a] chromium.org> 19274 19275 Reviewed by Shinichiro Hamaji. 19276 19277 [chromium] gyp_webkit should be executable 19278 https://bugs.webkit.org/show_bug.cgi?id=37971 19279 19280 * gyp_webkit: Added property svn:executable. 19281 19282 2010-04-21 Jay Civelli <jcivelli (a] chromium.org> 19283 19284 Reviewed by Darin Fisher. 19285 19286 [Chromium] Don't notify the WebView that a popup was 19287 opened when the popup is handled externally, as the popup 19288 is in that case transparent to the WebView. 19289 The notification was causing an ASSERT on Mac (where 19290 the popup is handled externally) as there would be no 19291 notification that the popup was closed. 19292 https://bugs.webkit.org/show_bug.cgi?id=37825 19293 19294 * src/ChromeClientImpl.cpp: 19295 (WebKit::ChromeClientImpl::popupOpened): 19296 19297 2010-04-21 Sheriff Bot <webkit.review.bot (a] gmail.com> 19298 19299 Unreviewed, rolling out r58028. 19300 http://trac.webkit.org/changeset/58028 19301 https://bugs.webkit.org/show_bug.cgi?id=37962 19302 19303 broke the chromium build (Requested by tony^work on #webkit). 19304 19305 * DEPS: 19306 19307 2010-04-21 Evan Martin <evan (a] chromium.org> 19308 19309 Unreviewed, just a dependency change. 19310 19311 [chromium] roll skia forward to r538 19312 https://bugs.webkit.org/show_bug.cgi?id=37960 19313 19314 This will cause a bunch of pixel tests to fail due to bulleted 19315 lists rendering slightly differently. I will grab new baselines 19316 from the bots and check them in in a followup. 19317 19318 * DEPS: 19319 19320 2010-04-21 Evan Stade <estade (a] chromium.org> 19321 19322 Reviewed by Darin Fisher. 19323 19324 [chromium] Web page serializer saves tag names in upper case 19325 https://bugs.webkit.org/show_bug.cgi?id=37940 19326 19327 Simply convert all tags to lower case. 19328 19329 This is tested by chrome tests: 19330 - save page browser tests 19331 - encoding ui tests 19332 - web page serializer test shell tests 19333 19334 * src/WebPageSerializer.cpp: 19335 (WebKit::WebPageSerializer::generateMetaCharsetDeclaration): 19336 (WebKit::WebPageSerializer::generateBaseTagDeclaration): 19337 * src/WebPageSerializerImpl.cpp: 19338 (WebKit::WebPageSerializerImpl::openTagToString): 19339 (WebKit::WebPageSerializerImpl::endTagToString): 19340 19341 2010-04-20 Adam Barth <abarth (a] webkit.org> 19342 19343 Reviewed by Eric Seidel. 19344 19345 Factor DocumentWriter out of FrameLoader 19346 https://bugs.webkit.org/show_bug.cgi?id=37175 19347 19348 Update these callsites because the method moved to DocumentWriter. 19349 19350 * src/ContextMenuClientImpl.cpp: 19351 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 19352 * src/FrameLoaderClientImpl.cpp: 19353 (WebKit::FrameLoaderClientImpl::finishedLoading): 19354 * src/WebFrameImpl.cpp: 19355 (WebKit::WebFrameImpl::encoding): 19356 (WebKit::WebFrameImpl::commitDocumentData): 19357 * src/WebPageSerializerImpl.cpp: 19358 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): 19359 (WebKit::WebPageSerializerImpl::serialize): 19360 * src/WebSearchableFormData.cpp: 19361 (WebCore::GetFormEncoding): 19362 * src/WebViewImpl.cpp: 19363 (WebKit::WebViewImpl::pageEncoding): 19364 19365 2010-04-20 Pavel Feldman <pfeldman (a] chromium.org> 19366 19367 Reviewed by Timothy Hatcher. 19368 19369 Web Inspector: add basic script editing capabilities to the front-end. 19370 19371 https://bugs.webkit.org/show_bug.cgi?id=37875 19372 19373 * src/js/DebuggerAgent.js: 19374 (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber): 19375 (devtools.DebuggerAgent.prototype.resolveScriptSource): 19376 (devtools.DebuggerAgent.prototype.editScriptLine.this.requestSeqToCallback_.cmd.getSequenceNumber): 19377 (devtools.DebuggerAgent.prototype.editScriptLine): 19378 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_): 19379 * src/js/DevTools.js: 19380 * src/js/InspectorControllerImpl.js: 19381 (.devtools.InspectorBackendImpl.prototype.editScriptLine): 19382 19383 2010-04-20 Kent Tamura <tkent (a] chromium.org> 19384 19385 Reviewed by Darin Adler. 19386 19387 Change a parameter type of chooseIconForFiles() 19388 https://bugs.webkit.org/show_bug.cgi?id=37504 19389 19390 * src/ChromeClientImpl.cpp: 19391 (WebKit::ChromeClientImpl::chooseIconForFiles): 19392 * src/ChromeClientImpl.h: 19393 19394 2010-04-20 Jay Civelli <jcivelli (a] chromium.org> 19395 19396 Reviewed by Dimitri Glazkov. 19397 19398 [chromium] Tests that pressing tab now closes the select popup. 19399 https://bugs.webkit.org/show_bug.cgi?id=37721 19400 19401 * tests/PopupMenuTest.cpp: 19402 (WebKit::TEST_F): 19403 19404 2010-04-20 Evan Stade <estade (a] chromium.org> 19405 19406 Reviewed by David Levin. 19407 19408 [chromium] crash when dragging images 19409 https://bugs.webkit.org/show_bug.cgi?id=37715 19410 19411 Added unit tests for DragImageChromiumSkia. 19412 19413 * WebKit.gyp: 19414 * tests/DragImageTest.cpp: Added. 19415 (WebCore::TestImage::TestImage): 19416 (WebCore::TestImage::~TestImage): 19417 (WebCore::TestImage::size): 19418 (WebCore::TestImage::nativeImageForCurrentFrame): 19419 (WebCore::TestImage::destroyDecodedData): 19420 (WebCore::TestImage::decodedSize): 19421 (WebCore::TestImage::draw): 19422 (WebCore::TEST): 19423 19424 2010-04-20 Stuart Morgan <stuartmorgan (a] chromium.org> 19425 19426 Reviewed by David Levin. 19427 19428 Remove a workaround in plugin cursor setting that was obsoleted by 19429 the change in https://bugs.webkit.org/show_bug.cgi?id=35132 19430 https://bugs.webkit.org/show_bug.cgi?id=37811 19431 19432 * src/ChromeClientImpl.cpp: 19433 (WebKit::ChromeClientImpl::ChromeClientImpl): 19434 (WebKit::ChromeClientImpl::setCursor): 19435 (WebKit::ChromeClientImpl::setCursorForPlugin): 19436 * src/ChromeClientImpl.h: 19437 19438 2010-04-19 Ada Chan <adachan (a] apple.com> 19439 19440 Reviewed by Jeremy Orlow. 19441 19442 https://bugs.webkit.org/show_bug.cgi?id=37717 19443 Changes needed now that StorageNamespaceImpl::sessionStorageNamespace() and 19444 StorageNamespace::sessionStorageNamespace() take in a quota parameter. 19445 19446 * src/StorageNamespaceProxy.cpp: 19447 (WebCore::StorageNamespace::sessionStorageNamespace): 19448 * src/WebStorageNamespaceImpl.cpp: 19449 (WebKit::WebStorageNamespace::createSessionStorageNamespace): 19450 19451 2010-04-17 Vangelis Kokkevis <vangelis (a] chromium.org> 19452 19453 Reviewed by Dimitri Glazkov. 19454 19455 Adding the implementation of GLES2Context class which provides WebCore access to a GL ES context. 19456 https://bugs.webkit.org/show_bug.cgi?id=37541 19457 19458 * WebKit.gyp: 19459 * public/WebGLES2Context.h: Added. 19460 (WebKit::WebGLES2Context::~WebGLES2Context): 19461 * src/GLES2Context.cpp: Added. 19462 (WebCore::GLES2ContextInternal::GLES2ContextInternal): 19463 (WebCore::GLES2ContextInternal::~GLES2ContextInternal): 19464 (WebCore::GLES2ContextInternal::getWebGLES2Context): 19465 (WebCore::GLES2ContextInternal::initialize): 19466 (WebCore::GLES2Context::create): 19467 (WebCore::GLES2Context::~GLES2Context): 19468 (WebCore::GLES2Context::initialize): 19469 (WebCore::GLES2Context::makeCurrent): 19470 (WebCore::GLES2Context::destroy): 19471 (WebCore::GLES2Context::swapBuffers): 19472 19473 2010-04-16 Dumitru Daniliuc <dumi (a] chromium.org> 19474 19475 Reviewed by Eric Seidel. 19476 19477 Get rid of the UNUSED_PARAM macro in GraphicsContext3D.cpp. 19478 https://bugs.webkit.org/show_bug.cgi?id=37733 19479 19480 * src/GraphicsContext3D.cpp: 19481 (WebCore::GraphicsContext3D::GraphicsContext3D): 19482 19483 2010-04-16 Dumitru Daniliuc <dumi (a] chromium.org> 19484 19485 Reviewed by Jeremy Orlow. 19486 19487 Changing the return type of WebSecurityOrigin::createFromDatabaseIdentifier(). 19488 https://bugs.webkit.org/show_bug.cgi?id=34466 19489 19490 Changing the return type of 19491 WebSecurityOrigin::createFromDatabaseIdentifier() from 19492 WebSecurityOrigin* to WebSecurityOrigin, to make it more 19493 consistent with the other WebSecurityOrigin methods. 19494 19495 * public/WebSecurityOrigin.h: 19496 * src/WebDatabase.cpp: 19497 (WebKit::WebDatabase::closeDatabaseImmediately): 19498 * src/WebSecurityOrigin.cpp: 19499 (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier): 19500 19501 2010-04-16 Dmitry Titov <dimich (a] chromium.org> 19502 19503 Reviewed by Yury Semikhatsky. 19504 19505 [v8] In Workers, script errors right after close() are not delivered to the Worker.onerror 19506 https://bugs.webkit.org/show_bug.cgi?id=37691 19507 19508 * src/WebWorkerClientImpl.cpp: 19509 (WebKit::WebWorkerClientImpl::createWorkerContextProxy): Don't need to pull V8 proxy to retrieve current WorkerContext. 19510 19511 2010-04-16 Albert J. Wong <ajwong (a] chromium.org> 19512 19513 Not reviewed. Build fix. 19514 19515 [chromium] Compile fix. Missing include header, and missing type conversion. 19516 19517 * src/GraphicsContext3D.cpp: 19518 (WebCore::GraphicsContext3DInternal::beginPaint): 19519 19520 2010-04-16 Jarkko Sakkinen <jarkko.j.sakkinen (a] gmail.com> 19521 19522 Reviewed by Simon Hausmann. 19523 19524 [Qt] WebGL is not visible when QGLWidget viewport is used 19525 https://bugs.webkit.org/show_bug.cgi?id=37070 19526 19527 Added HostWindow parameter to the constructor of GraphicsContext3D. 19528 Shared OpenGL context is initialized with parent QGLWidget. 19529 19530 * src/GraphicsContext3D.cpp: 19531 (WebCore::GraphicsContext3D::GraphicsContext3D): 19532 19533 2010-04-16 Fumitoshi Ukai <ukai (a] chromium.org> 19534 19535 Reviewed by Jian Li. 19536 19537 [chromium] WebKit::WebURLResponse::addHTTPHeaderField will crash if response is invalid UTF-8 19538 https://bugs.webkit.org/show_bug.cgi?id=37687 19539 19540 * src/WebURLResponse.cpp: 19541 (WebKit::WebURLResponse::addHTTPHeaderField): ignore if name or value is null string. 19542 19543 2010-04-16 Jay Civelli <jcivelli (a] chromium.org> 19544 19545 Reviewed by Dimitri Glazkov. 19546 19547 [chromium] Select popups would assert when destroyed. 19548 Also adding unit-tests for the select popup code. 19549 https://bugs.webkit.org/show_bug.cgi?id=37436 19550 19551 * WebKit.gyp: 19552 * src/WebViewImpl.h: 19553 (WebKit::WebViewImpl::selectPopup): 19554 * tests/PopupMenuTest.cpp: Added. 19555 19556 2010-04-16 Tony Chang <tony (a] chromium.org> 19557 19558 Reviewed by Dimitri Glazkov. 19559 19560 [chromium] build DRT on Linux 19561 https://bugs.webkit.org/show_bug.cgi?id=37690 19562 19563 * DEPS: Need to roll deps to remove a dependency on src/chrome 19564 * gyp_webkit: generate makefiles for DRT.gyp on Linux 19565 19566 2010-04-15 Tony Chang <tony (a] chromium.org> 19567 19568 Reviewed by Dimitri Glazkov. 19569 19570 build DRT on chromium mac 19571 https://bugs.webkit.org/show_bug.cgi?id=37639 19572 19573 * gyp_webkit: generate build files for DRT on mac 19574 19575 2010-04-15 Yury Semikhatsky <yurys (a] google.com> 19576 19577 Reviewed by Pavel Feldman. 19578 19579 Support basic debugging capabilities including step in/over/out in v8 19580 implementation of ScriptDebugServer. 19581 19582 https://bugs.webkit.org/show_bug.cgi?id=37604 19583 19584 * WebKit.gypi: 19585 * src/DebuggerAgent.h: 19586 * src/DebuggerAgentImpl.cpp: 19587 (WebKit::DebuggerAgentImpl::setDebuggerScriptSource): 19588 * src/DebuggerAgentImpl.h: 19589 * src/DebuggerAgentManager.cpp: 19590 (WebKit::DebuggerAgentManager::hostDispatchHandler): 19591 (WebKit::DebuggerAgentManager::debugAttach): 19592 (WebKit::DebuggerAgentManager::debugDetach): 19593 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler): 19594 * src/DebuggerAgentManager.h: 19595 * src/InspectorFrontendClientImpl.cpp: 19596 (WebKit::InspectorFrontendClientImpl::windowObjectCleared): 19597 * src/js/DebuggerScript.js: Added. 19598 (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript): 19599 (debuggerScriptConstructor.DebuggerScript.getScripts): 19600 (debuggerScriptConstructor.DebuggerScript._formatScript): 19601 (debuggerScriptConstructor.DebuggerScript.setBreakpoint): 19602 (debuggerScriptConstructor.DebuggerScript.removeBreakpoint): 19603 (debuggerScriptConstructor.DebuggerScript.currentCallFrame): 19604 (debuggerScriptConstructor.DebuggerScript.stepIntoStatement): 19605 (debuggerScriptConstructor.DebuggerScript.stepOverStatement): 19606 (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction): 19607 (debuggerScriptConstructor.DebuggerScript.clearBreakpoints): 19608 (debuggerScriptConstructor.DebuggerScript.setBreakpointsActivated): 19609 (debuggerScriptConstructor.DebuggerScript._frameMirrorToJSCallFrame): 19610 (debuggerScriptConstructor.DebuggerScript._webkitToV8LineNumber): 19611 (debuggerScriptConstructor.DebuggerScript._v8ToWwebkitLineNumber): 19612 (debuggerScriptConstructor): 19613 * src/js/DevTools.js: 19614 (WebInspector.loaded): 19615 (.): 19616 (): 19617 * src/js/DevToolsHostStub.js: 19618 (.RemoteDebuggerAgentStub.prototype.setDebuggerScriptSource): 19619 * src/js/InspectorControllerImpl.js: 19620 (devtools.InspectorBackendImpl): 19621 19622 2010-04-15 Matt Perry <mpcomplete (a] chromium.org> 19623 19624 Reviewed by Dimitri Glazkov. 19625 19626 Implement layoutTestController's addUserStyleSheet and 19627 setAuthorAndUserStylesEnabled on Chromium port. 19628 https://bugs.webkit.org/show_bug.cgi?id=37595 19629 19630 * public/WebSettings.h: 19631 * public/WebView.h: 19632 * src/WebSettingsImpl.cpp: 19633 (WebKit::WebSettingsImpl::setAuthorAndUserStylesEnabled): 19634 * src/WebSettingsImpl.h: 19635 * src/WebViewImpl.cpp: 19636 (WebKit::WebViewImpl::addUserStyleSheet): 19637 * src/WebViewImpl.h: 19638 19639 2010-04-15 Zhenyao Mo <zmo (a] google.com> 19640 19641 Reviewed by Dimitri Glazkov. 19642 19643 Must enable GL_VERTEX_PROGRAM_POINT_SIZE during initialization 19644 https://bugs.webkit.org/show_bug.cgi?id=37178 19645 19646 * src/WebGraphicsContext3DDefaultImpl.cpp: Enable GL_VERTEX_PROGRAM_POINT_SIZE during initialization. 19647 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 19648 19649 2010-04-15 Albert J. Wong <ajwong (a] chromium.org> 19650 19651 Unreviewed, rolling out r57660. 19652 http://trac.webkit.org/changeset/57660 19653 https://bugs.webkit.org/show_bug.cgi?id=37604 19654 19655 Broke a large number of inspector layout tests in chromium. 19656 19657 * WebKit.gypi: 19658 * src/DebuggerAgent.h: 19659 * src/DebuggerAgentImpl.cpp: 19660 * src/DebuggerAgentImpl.h: 19661 * src/DebuggerAgentManager.cpp: 19662 (WebKit::DebuggerAgentManager::debugAttach): 19663 (WebKit::DebuggerAgentManager::debugDetach): 19664 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler): 19665 * src/DebuggerAgentManager.h: 19666 * src/InspectorFrontendClientImpl.cpp: 19667 (WebKit::InspectorFrontendClientImpl::windowObjectCleared): 19668 * src/js/DebuggerScript.js: Removed. 19669 * src/js/DevTools.js: 19670 (WebInspector.loaded): 19671 (WebInspector.UnresolvedPropertyValue): 19672 (): 19673 * src/js/DevToolsHostStub.js: 19674 * src/js/InspectorControllerImpl.js: 19675 (devtools.InspectorBackendImpl): 19676 19677 2010-04-15 Yury Semikhatsky <yurys (a] google.com> 19678 19679 Reviewed by Pavel Feldman. 19680 19681 Support basic debugging capabilities including step in/over/out in v8 19682 implementation of ScriptDebugServer. 19683 19684 https://bugs.webkit.org/show_bug.cgi?id=37604 19685 19686 * WebKit.gypi: 19687 * src/DebuggerAgent.h: 19688 * src/DebuggerAgentImpl.cpp: 19689 (WebKit::DebuggerAgentImpl::setDebuggerScriptSource): 19690 * src/DebuggerAgentImpl.h: 19691 * src/DebuggerAgentManager.cpp: 19692 (WebKit::DebuggerAgentManager::hostDispatchHandler): 19693 (WebKit::DebuggerAgentManager::debugAttach): 19694 (WebKit::DebuggerAgentManager::debugDetach): 19695 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler): 19696 * src/DebuggerAgentManager.h: 19697 * src/InspectorFrontendClientImpl.cpp: 19698 (WebKit::InspectorFrontendClientImpl::windowObjectCleared): 19699 * src/js/DebuggerScript.js: Added. 19700 (debuggerScriptConstructor.DebuggerScript.getAfterCompileScript): 19701 (debuggerScriptConstructor.DebuggerScript.getScripts): 19702 (debuggerScriptConstructor.DebuggerScript._formatScript): 19703 (debuggerScriptConstructor.DebuggerScript.setBreakpoint): 19704 (debuggerScriptConstructor.DebuggerScript.removeBreakpoint): 19705 (debuggerScriptConstructor.DebuggerScript.currentCallFrame): 19706 (debuggerScriptConstructor.DebuggerScript.stepIntoStatement): 19707 (debuggerScriptConstructor.DebuggerScript.stepOverStatement): 19708 (debuggerScriptConstructor.DebuggerScript.stepOutOfFunction): 19709 (debuggerScriptConstructor.DebuggerScript.clearBreakpoints): 19710 (debuggerScriptConstructor.DebuggerScript.setBreakpointsActivated): 19711 (debuggerScriptConstructor.DebuggerScript._frameMirrorToJSCallFrame): 19712 (debuggerScriptConstructor.DebuggerScript._webkitToV8LineNumber): 19713 (debuggerScriptConstructor.DebuggerScript._v8ToWwebkitLineNumber): 19714 (debuggerScriptConstructor): 19715 * src/js/DevTools.js: 19716 (WebInspector.loaded): 19717 (.): 19718 (): 19719 * src/js/DevToolsHostStub.js: 19720 (.RemoteDebuggerAgentStub.prototype.setDebuggerScriptSource): 19721 * src/js/InspectorControllerImpl.js: 19722 (devtools.InspectorBackendImpl): 19723 19724 2010-04-15 Ben Murdoch <benm (a] google.com> 19725 19726 Unreviewed, rolling out r57652. 19727 http://trac.webkit.org/changeset/57652 19728 https://bugs.webkit.org/show_bug.cgi?id=37609 19729 19730 Caused a build break on Chromium Mac and Layout Test fail on 19731 Qt 19732 19733 * src/WebInputEventConversion.cpp: 19734 (WebKit::toPlatformTouchPointState): 19735 19736 2010-04-14 Ben Murdoch <benm (a] google.com> 19737 19738 Reviewed by Kenneth Rohde Christiansen. 19739 19740 The TouchStationary state of WebCore::PlatformTouchPoint is not 19741 handled inside the touch event handler. 19742 https://bugs.webkit.org/show_bug.cgi?id=37609 19743 19744 After discussions at the WebKit contributors meeting, we decided that 19745 this is a currently unused state without a good future use case in the 19746 Touch API and thus decided to remove it. This patch actions that decision. 19747 19748 * src/WebInputEventConversion.cpp: 19749 (WebKit::toPlatformTouchPointState): Remove TouchStationary. 19750 19751 2010-04-12 Tony Chang <tony (a] chromium.org> 19752 19753 Reviewed by Darin Fisher. 19754 19755 [chromium] update chromium DEPS for upstream compile 19756 https://bugs.webkit.org/show_bug.cgi?id=36578 19757 19758 * DEPS: Pull sub deps from chromium's DEPS file 19759 19760 2010-04-14 Sheriff Bot <webkit.review.bot (a] gmail.com> 19761 19762 Unreviewed, rolling out r57599. 19763 http://trac.webkit.org/changeset/57599 19764 https://bugs.webkit.org/show_bug.cgi?id=37605 19765 19766 "Broke Chromium build" (Requested by dglazkov on #webkit). 19767 19768 * WebKit.gyp: 19769 * src/WebViewImpl.h: 19770 * tests/PopupMenuTest.cpp: Removed. 19771 19772 2010-04-14 Aaron Boodman <aa (a] chromium.org> 19773 19774 Reviewed by David Levin. 19775 19776 Support relative URLs for notifications on Chromium. They weren't working previously because WebCore was inserting 19777 the relative URL into a KURL instance, but when KURL is backed by GURL as it is on Chromium, relative URLs are 19778 unsupported. Fixed by resolving the relative URL first. 19779 19780 https://bugs.webkit.org/show_bug.cgi?id=36623 19781 19782 Adding tests for this is difficult because we don't currently have DRT support for notifications on Mac, only Windows. 19783 19784 * public/WebNotification.h: Remove deprecated icon() method. 19785 * src/WebNotification.cpp: Ditto. 19786 19787 2010-04-14 Jay Civelli <jcivelli (a] chromium.org> 19788 19789 Reviewed by Dimitri Glazkov. 19790 19791 [chromium] Select popups would assert when destroyed. 19792 Also adding unit-tests for the select popup code. 19793 https://bugs.webkit.org/show_bug.cgi?id=37436 19794 19795 * WebKit.gyp: 19796 * src/WebViewImpl.h: 19797 (WebKit::WebViewImpl::selectPopup): 19798 * tests/PopupMenuTest.cpp: Added. 19799 19800 2010-04-14 Zhenyao Mo <zmo (a] google.com> 19801 19802 Reviewed by Dimitri Glazkov. 19803 19804 readPixels must take PACK_ALIGNMENT into account 19805 https://bugs.webkit.org/show_bug.cgi?id=34718 19806 19807 * src/GraphicsContext3D.cpp: Refactor readPixels. 19808 * src/WebGraphicsContext3DDefaultImpl.cpp: 19809 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): Temporarily disable pack alignment for glReadPixels. 19810 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): Move array allocation and alpha fix to WebGLRenderingContext; flush before read pixels. 19811 19812 2010-04-14 Mikhail Naganov <mnaganov (a] chromium.org> 19813 19814 Reviewed by Pavel Feldman. 19815 19816 Re-write testProfilerTab to match the new implementation. 19817 19818 https://bugs.webkit.org/show_bug.cgi?id=37516 19819 19820 * src/js/Tests.js: 19821 (.TestSuite.prototype.testProfilerTab.findDisplayedNode): 19822 (.TestSuite.prototype.testProfilerTab.findVisibleView): 19823 (.TestSuite.prototype.testProfilerTab): 19824 19825 2010-04-13 Timothy Hatcher <timothy (a] apple.com> 19826 19827 Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry. 19828 And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists. 19829 19830 SecurityOrigin needs a way to remove individual OriginAccessEntries 19831 https://bugs.webkit.org/show_bug.cgi?id=37449 19832 19833 Reviewed by Dave Hyatt. 19834 19835 * src/WebSecurityPolicy.cpp: 19836 (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin): 19837 (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists): 19838 19839 2010-04-13 Mikhail Naganov <mnaganov (a] chromium.org> 19840 19841 Reviewed by Pavel Feldman. 19842 19843 Fix search behavior in Heap profiles. 19844 19845 https://bugs.webkit.org/show_bug.cgi?id=37498 19846 19847 * src/js/HeapProfilerPanel.js: 19848 19849 2010-04-13 Jeremy Moskovich <jeremy (a] chromium.org> 19850 19851 Reviewed by David Levin. 19852 19853 Add some diagnostics to try to track down cause of crash in ArchiveFactory::isArchiveMimeType(). 19854 19855 https://bugs.webkit.org/show_bug.cgi?id=36426 19856 19857 * src/ResourceHandle.cpp: Track state across ResourceHandle invocations. 19858 (WebCore::ResourceHandleInternal::ResourceHandleInternal): 19859 (WebCore::ResourceHandleInternal::): 19860 (WebCore::ResourceHandleInternal::start): 19861 (WebCore::ResourceHandleInternal::cancel): 19862 (WebCore::ResourceHandleInternal::didReceiveResponse): 19863 (WebCore::ResourceHandleInternal::didReceiveData): 19864 (WebCore::ResourceHandleInternal::didFinishLoading): 19865 (WebCore::ResourceHandleInternal::didFail): 19866 19867 2010-04-13 Mikhail Naganov <mnaganov (a] chromium.org> 19868 19869 Unreviewed Chromium build fix: pin to a newer V8 revision (4386). 19870 19871 * DEPS: 19872 19873 2010-04-12 Mikhail Naganov <mnaganov (a] chromium.org> 19874 19875 Reviewed by Yury Semikhatsky. 19876 19877 Replace hand-written JavaScriptProfile* bindings with idl-based, and 19878 in Chromium port, bind them to the new V8's profiler API that is 19879 aligned with JSC. 19880 19881 https://bugs.webkit.org/show_bug.cgi?id=37448 19882 19883 * src/js/InspectorControllerImpl.js: 19884 (devtools.InspectorBackendImpl): 19885 * src/js/ProfilerAgent.js: 19886 (devtools.ProfilerAgent): 19887 (devtools.ProfilerAgent.prototype.initializeProfiling): 19888 (devtools.ProfilerAgent.prototype._didGetActiveProfilerModules): 19889 (devtools.ProfilerAgent.prototype._didGetLogLines): 19890 * src/js/Tests.js: 19891 19892 2010-04-11 Sheriff Bot <webkit.review.bot (a] gmail.com> 19893 19894 Unreviewed, rolling out r57468. 19895 http://trac.webkit.org/changeset/57468 19896 https://bugs.webkit.org/show_bug.cgi?id=37433 19897 19898 Broke the world... Must have applied the patch wrong 19899 (Requested by abarth on #webkit). 19900 19901 * src/ContextMenuClientImpl.cpp: 19902 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 19903 * src/FrameLoaderClientImpl.cpp: 19904 (WebKit::FrameLoaderClientImpl::finishedLoading): 19905 * src/WebFrameImpl.cpp: 19906 (WebKit::WebFrameImpl::encoding): 19907 (WebKit::WebFrameImpl::commitDocumentData): 19908 * src/WebPageSerializerImpl.cpp: 19909 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): 19910 (WebKit::WebPageSerializerImpl::serialize): 19911 * src/WebSearchableFormData.cpp: 19912 (WebCore::GetFormEncoding): 19913 * src/WebViewImpl.cpp: 19914 (WebKit::WebViewImpl::pageEncoding): 19915 19916 2010-04-11 Adam Barth <abarth (a] webkit.org> 19917 19918 Reviewed by Eric Seidel. 19919 19920 Factor DocumentWriter out of FrameLoader 19921 https://bugs.webkit.org/show_bug.cgi?id=37175 19922 19923 Update these callsites because the method moved to DocumentWriter. 19924 19925 * src/ContextMenuClientImpl.cpp: 19926 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 19927 * src/FrameLoaderClientImpl.cpp: 19928 (WebKit::FrameLoaderClientImpl::finishedLoading): 19929 * src/WebFrameImpl.cpp: 19930 (WebKit::WebFrameImpl::encoding): 19931 (WebKit::WebFrameImpl::commitDocumentData): 19932 * src/WebPageSerializerImpl.cpp: 19933 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): 19934 (WebKit::WebPageSerializerImpl::serialize): 19935 * src/WebSearchableFormData.cpp: 19936 (WebCore::GetFormEncoding): 19937 * src/WebViewImpl.cpp: 19938 (WebKit::WebViewImpl::pageEncoding): 19939 19940 2010-04-11 Sheriff Bot <webkit.review.bot (a] gmail.com> 19941 19942 Unreviewed, rolling out r57460. 19943 http://trac.webkit.org/changeset/57460 19944 https://bugs.webkit.org/show_bug.cgi?id=37424 19945 19946 broke chromium builders (Requested by tony^work on #webkit). 19947 19948 * DEPS: 19949 * gyp_webkit: 19950 19951 2010-04-11 Tony Chang <tony (a] chromium.org> 19952 19953 Reviewed by Darin Fisher. 19954 19955 [chromium] update chromium DEPS for upstream compile 19956 https://bugs.webkit.org/show_bug.cgi?id=36578 19957 19958 * DEPS: 19959 * gyp_webkit: Add DumpRenderTree.gyp so we generate xcode projects for DRT. 19960 19961 2010-04-10 Vangelis Kokkevis <vangelis (a] chromium.org> 19962 19963 Reviewed by Dimitri Glazkov. 19964 19965 Include file change as a result of renaming LayerRenderSkia.h to LayerRenderChromium.h 19966 https://bugs.webkit.org/show_bug.cgi?id=37231 19967 19968 * src/WebViewImpl.h: 19969 19970 2010-04-10 Rafael Weinstein <rafaelw (a] chromium.org> 19971 19972 Reviewed by Eric Seidel. 19973 19974 Cleanup after chromium breakage. All interface methods are 19975 returned to being abstract. 19976 19977 * public/WebNotificationPresenter.h: 19978 19979 2010-04-09 Evan Stade <estade (a] chromium.org> 19980 19981 Reviewed by Eric Seidel. 19982 19983 [chromium] Linux: respect the scale factor during printing 19984 https://bugs.webkit.org/show_bug.cgi?id=37168 19985 19986 Chromium doesn't support testing .pdfs from printing at the moment, so 19987 this change is not covered by any tests. 19988 19989 * src/WebFrameImpl.cpp: 19990 (WebKit::ChromePrintContext::spoolPage): 19991 19992 2010-04-09 Aaron Boodman <aa (a] chromium.org> 19993 19994 Reviewed by Eric Seidel. 19995 19996 Remove applicationID() from WebDocument as it is Chromium-specific. 19997 https://bugs.webkit.org/show_bug.cgi?id=37350 19998 19999 * public/WebDocument.h: 20000 * src/WebDocument.cpp: 20001 20002 2010-04-09 Jeremy Orlow <jorlow (a] chromium.org> 20003 20004 Reviewed by Darin Adler. 20005 20006 Move the IDB::open ExceptionCode paramter to be last 20007 https://bugs.webkit.org/show_bug.cgi?id=37277 20008 20009 Move the ExceptionCode paramter to the last position in 20010 IndexedDatabaseRequest::open and friends. It should definitely 20011 go after the callbacks to keep the parameters that come directly 20012 from javascript together. And having output parameters appear 20013 last is done often in the code base, so it makes sense to push 20014 it past the Frame* param as well. 20015 20016 * public/WebIndexedDatabase.h: 20017 * src/IndexedDatabaseProxy.cpp: 20018 (WebCore::IndexedDatabaseProxy::open): 20019 * src/IndexedDatabaseProxy.h: 20020 * src/WebIndexedDatabaseImpl.cpp: 20021 (WebKit::WebIndexedDatabaseImpl::open): 20022 * src/WebIndexedDatabaseImpl.h: 20023 20024 2010-04-09 Jochen Eisinger <jochen (a] chromium.org> 20025 20026 Reviewed by Darin Fisher. 20027 20028 Complete move of createApplicationCacheHost from WebKitClient to WebFrameClient. 20029 https://bugs.webkit.org/show_bug.cgi?id=37330 20030 20031 * public/WebApplicationCacheHost.h: 20032 * public/WebKitClient.h: 20033 * src/ApplicationCacheHostInternal.h: 20034 (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal): 20035 20036 2010-04-09 Marcus Bulach <bulach (a] chromium.org> 20037 20038 Reviewed by Jeremy Orlow. 20039 20040 Crash on WebKit::WebGeolocationServiceBridgeImpl::stopUpdating() during frame disconnection 20041 Should not try to access WebViewClient if the frame has already been disconnected. 20042 https://bugs.webkit.org/show_bug.cgi?id=37318 20043 20044 * src/WebGeolocationServiceBridgeImpl.cpp: 20045 (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating): 20046 20047 2010-04-09 Jochen Eisinger <jochen (a] chromium.org> 20048 20049 Reviewed by Adam Barth. 20050 20051 Expose SecurityOrigin::canRequest in WebSecurityOrigin. 20052 https://bugs.webkit.org/show_bug.cgi?id=37271 20053 20054 * public/WebSecurityOrigin.h: 20055 * src/WebSecurityOrigin.cpp: 20056 (WebKit::WebSecurityOrigin::canRequest): 20057 20058 2010-04-09 Zhenyao Mo <zmo (a] google.com> 20059 20060 Reviewed by Dimitri Glazkov. 20061 20062 Must resolve multisampled back buffer during copyTexImage2D and copyTexSubImage2D 20063 https://bugs.webkit.org/show_bug.cgi?id=37174 20064 20065 Test: fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html 20066 20067 * src/WebGraphicsContext3DDefaultImpl.cpp: Resolve multisampled back buffer during copyTexImage2D and copyTexSubImage2D. 20068 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D): 20069 (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D): 20070 20071 2010-04-07 Pavel Feldman <pfeldman (a] chromium.org> 20072 20073 Reviewed by Yury Semikhatsky. 20074 20075 Chromium: support themes in devtools window. 20076 20077 https://bugs.webkit.org/attachment.cgi?bugid=37216 20078 20079 * WebKit.gypi: 20080 * src/js/DevTools.js: 20081 (WebInspector.setToolbarColors): 20082 (WebInspector.resetToolbarColors): 20083 * src/js/Images/segmentChromium2.png: Added. 20084 * src/js/Images/segmentHoverChromium2.png: Added. 20085 * src/js/Images/segmentSelectedChromium2.png: Added. 20086 * src/js/Images/statusbarBackgroundChromium2.png: Added. 20087 * src/js/Images/statusbarMenuButtonChromium2.png: Added. 20088 20089 2010-04-07 Andrey Kosyakov <caseq (a] chromium.org> 20090 20091 Reviewed by Yury Semikhatsky. 20092 20093 Removed inspector methods from ScriptExecutionContext and derived classes. 20094 Removed MessageDestination parameter from console-related calls (we now always 20095 log to the same destination(s)). 20096 Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest() 20097 https://bugs.webkit.org/show_bug.cgi?id=36949 20098 20099 * public/WebCommonWorkerClient.h: 20100 (WebKit::WebCommonWorkerClient::postConsoleMessageToWorkerObject): 20101 * src/FrameLoaderClientImpl.cpp: 20102 * src/FrameLoaderClientImpl.h: 20103 * src/WebWorkerBase.cpp: 20104 (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject): 20105 (WebKit::WebWorkerBase::postConsoleMessageTask): 20106 * src/WebWorkerBase.h: 20107 * src/WebWorkerClientImpl.cpp: 20108 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject): 20109 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask): 20110 * src/WebWorkerClientImpl.h: 20111 20112 2010-04-07 Jeremy Orlow <jorlow (a] chromium.org> 20113 20114 Reviewed by Darin Fisher. 20115 20116 [Chromium] WebIDBDatabaseError::assign doesn't work correctly 20117 https://bugs.webkit.org/show_bug.cgi?id=37209 20118 20119 * src/WebIDBDatabaseError.cpp: 20120 (WebKit::WebIDBDatabaseError::assign): 20121 20122 2010-04-07 Dawit Alemayehu <adawit (a] kde.org> 20123 20124 Reviewed by Simon Hausmann. 20125 20126 https://bugs.webkit.org/show_bug.cgi?id=36827 20127 20128 Updated the WebCore::shouldTreatAsAttachement function call with the 20129 new more generic replacement WebCore::contentDispositionType. 20130 20131 See comments 39-42 in https://bugs.webkit.org/show_bug.cgi?id=36395 20132 20133 * src/FrameLoaderClientImpl.cpp: 20134 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType): 20135 20136 2010-04-07 Jochen Eisinger <jochen (a] chromium.org> 20137 20138 Reviewed by Darin Fisher. 20139 20140 Add createApplicationCacheHost to WebFrameClient so 20141 the ApplicationCacheHost has access to its frame. 20142 20143 https://bugs.webkit.org/show_bug.cgi?id=36882 20144 20145 * public/WebFrameClient.h: 20146 (WebKit::WebFrameClient::createApplicationCacheHost): 20147 * src/ApplicationCacheHostInternal.h: 20148 (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal): 20149 20150 2010-04-06 Nicolas Weber <thakis (a] chromium.org> 20151 20152 Reviewed by Dimitri Glazkov. 20153 20154 Use drag images on OS X as well. 20155 https://bugs.webkit.org/show_bug.cgi?id=37069 20156 20157 * src/DragClientImpl.cpp: 20158 (WebKit::DragClientImpl::startDrag): 20159 20160 2010-04-06 Vangelis Kokkevis <vangelis (a] chromium.org> 20161 20162 Reviewed by Dimitri Glazkov. 20163 20164 Changing references to Graphics Layer related classes from *Skia to *Chromium. 20165 https://bugs.webkit.org/show_bug.cgi?id=37116 20166 20167 * src/WebViewImpl.cpp: 20168 (WebKit::WebViewImpl::paint): 20169 (WebKit::WebViewImpl::setAcceleratedCompositing): 20170 (WebKit::WebViewImpl::updateRootLayerContents): 20171 * src/WebViewImpl.h: 20172 20173 2010-04-06 James Hawkins <jhawkins (a] chromium.org> 20174 20175 Reviewed by Adam Barth. 20176 20177 [Chromium] Implement WebInputElement::maxLength. 20178 https://bugs.webkit.org/show_bug.cgi?id=37172 20179 20180 * public/WebInputElement.h: 20181 * src/WebInputElement.cpp: 20182 (WebKit::WebInputElement::maxLength): 20183 20184 2010-04-06 Evan Stade <estade (a] chromium.org> 20185 20186 Reviewed by Dimitri Glazkov. 20187 20188 [chromium] need DragImage implementation 20189 https://bugs.webkit.org/show_bug.cgi?id=35811 20190 20191 Basic implementation using SkBitmap. Transformations are not supported 20192 yet. No implementation for mac. 20193 20194 This was previously committed but rolled back for breaking layout 20195 tests. 20196 20197 * public/WebViewClient.h: 20198 (WebKit::WebViewClient::startDragging): 20199 * src/DragClientImpl.cpp: 20200 (WebKit::DragClientImpl::startDrag): new: check for null dragImage. 20201 * src/WebViewImpl.cpp: 20202 (WebKit::WebViewImpl::startDragging): 20203 * src/WebViewImpl.h: 20204 20205 2010-04-06 James Hawkins <jhawkins (a] chromium.org> 20206 20207 Reviewed by Dimitri Glazkov. 20208 20209 [Chromium] Move the getElementsByTagName from WebDocument to WebNode. 20210 https://bugs.webkit.org/show_bug.cgi?id=37161 20211 20212 * public/WebDocument.h: 20213 * public/WebNode.h: 20214 * src/WebDocument.cpp: 20215 * src/WebNode.cpp: 20216 (WebKit::WebNode::getElementsByTagName): 20217 20218 2010-04-06 Ilya Tikhonovsky <loislo (a] chromium.org> 20219 20220 Unreviewed build fix for Chromium DEPS. 20221 20222 * DEPS: 20223 20224 2010-04-06 Ilya Tikhonovsky <loislo (a] chromium.org> 20225 20226 Unreviewed: build fix. 20227 20228 * DEPS: 20229 20230 2010-04-06 Mattias Nissler <mnissler (a] chromium.org> 20231 20232 Reviewed by Pavel Feldman. 20233 20234 Handle docking requests from the developer tools and forward them to 20235 WebDevToolsFrontendClient. 20236 https://bugs.webkit.org/show_bug.cgi?id=36944 20237 20238 * public/WebDevToolsFrontendClient.h: 20239 (WebKit::WebDevToolsFrontendClient::requestDockWindow): 20240 * src/WebDevToolsFrontendImpl.cpp: 20241 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 20242 (WebKit::WebDevToolsFrontendImpl::jsRequestAttachWindow): 20243 * src/WebDevToolsFrontendImpl.h: 20244 20245 2010-04-06 Andrey Kosyakov <caseq (a] chromium.org> 20246 20247 Reviewed by Yury Semikhatsky. 20248 20249 Fixed logging of unhndled worker exceptions. 20250 https://bugs.webkit.org/show_bug.cgi?id=37143 20251 20252 * src/WebWorkerClientImpl.cpp: 20253 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject): 20254 20255 2010-04-05 Alexey Proskuryakov <ap (a] apple.com> 20256 20257 Reviewed by Darin Adler. 20258 20259 https://bugs.webkit.org/show_bug.cgi?id=37111 20260 <rdar://problem/7790327> Draw replacement text when plug-in host crashes 20261 20262 * src/LocalizedStrings.cpp: (WebCore::crashedPluginText): Added a stub string for plug-in 20263 failure. 20264 20265 2010-04-04 Pavel Feldman <pfeldman (a] chromium.org> 20266 20267 Not reviewed. Rolling out chromium changes r57028 and r57032 20268 for breaking chromium layout tests. 20269 20270 * public/WebViewClient.h: 20271 (WebKit::WebViewClient::startDragging): 20272 * src/DragClientImpl.cpp: 20273 (WebKit::DragClientImpl::startDrag): 20274 * src/WebViewImpl.cpp: 20275 (WebKit::WebViewImpl::startDragging): 20276 * src/WebViewImpl.h: 20277 20278 2010-04-03 Darin Fisher <darin (a] chromium.org> 20279 20280 Add default implementations of WebNotificationPresenter methods to 20281 repair the downstream Chromium build. 20282 20283 * public/WebNotificationPresenter.h: 20284 (WebKit::WebNotificationPresenter::show): 20285 (WebKit::WebNotificationPresenter::cancel): 20286 (WebKit::WebNotificationPresenter::objectDestroyed): 20287 (WebKit::WebNotificationPresenter::checkPermission): 20288 (WebKit::WebNotificationPresenter::requestPermission): 20289 20290 2010-04-02 Michael Nordman <michaeln (a] google.com> 20291 20292 Reviewed by Nate Chapin. 20293 20294 Set the close policy used by the DatabaseCloseTask at this callsite to 20295 RemoveDatabaseFromContext. This restores its behavior to what it was prior to 20296 r56293. 20297 https://bugs.webkit.org/show_bug.cgi?id=37037 20298 20299 * src/WebDatabase.cpp: 20300 (WebKit::WebDatabase::closeDatabaseImmediately): 20301 20302 2010-04-02 Evan Stade <estade (a] chromium.org> 20303 20304 Reviewed by Eric Seidel. 20305 20306 [chromium] need DragImage implementation 20307 https://bugs.webkit.org/show_bug.cgi?id=35811 20308 20309 Use the DragImageRef that the DragController passes to us. 20310 20311 * public/WebViewClient.h: 20312 (WebKit::WebViewClient::startDragging): 20313 * src/DragClientImpl.cpp: 20314 (WebKit::DragClientImpl::startDrag): 20315 * src/WebViewImpl.cpp: 20316 (WebKit::WebViewImpl::startDragging): 20317 * src/WebViewImpl.h: 20318 20319 2010-04-02 Rafael Weinstein <rafaelw (a] chromium.org> 20320 20321 Reviewed by Adam Barth. 20322 20323 Clean up unused calls after changes to checkPermission and requestPermission argument lists. 20324 20325 * public/WebNotificationPresenter.h: 20326 * src/NotificationPresenterImpl.cpp: 20327 (WebKit::NotificationPresenterImpl::checkPermission): 20328 (WebKit::NotificationPresenterImpl::requestPermission): 20329 20330 2010-04-02 Zhenyao Mo <zmo (a] google.com> 20331 20332 Reviewed by Eric Seidel. 20333 20334 Implement and test new framebuffer object attachment behavior. 20335 https://bugs.webkit.org/show_bug.cgi?id=35611 20336 20337 Test: fast/canvas/webgl/framebuffer-object-attachment.html 20338 20339 * src/WebGraphicsContext3DDefaultImpl.cpp: Map to correct DEPTH_STENCIL format. 20340 (WebKit::WebGraphicsContext3DDefaultImpl::framebufferRenderbuffer): 20341 (WebKit::WebGraphicsContext3DDefaultImpl::getFramebufferAttachmentParameteriv): 20342 (WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage): 20343 20344 2010-04-02 Jay Civelli <jcivelli (a] chromium.org> 20345 20346 Reviewed by Darin Fisher. 20347 20348 The popup type (select or suggestion) is now passed to the 20349 WebClient::createPopupMenu() method. This is required for 20350 Chromium on Linux to make the select popups work correctly. 20351 https://bugs.webkit.org/show_bug.cgi?id=37013 20352 20353 * WebKit.gyp: 20354 * public/WebPopupType.h: Added. 20355 (WebKit::): 20356 * public/WebViewClient.h: 20357 (WebKit::WebViewClient::createPopupMenu): 20358 * src/ChromeClientImpl.cpp: 20359 (WebCore::convertPopupType): 20360 (WebKit::ChromeClientImpl::popupOpened): 20361 20362 2010-04-02 Yury Semikhatsky <yurys (a] chromium.org> 20363 20364 Reviewed by Pavel Feldman. 20365 20366 Implement InspectorFrontendClient in Chromium and remove all custom bindings for the host methods from WebDevToolsFrontendImpl. 20367 20368 https://bugs.webkit.org/show_bug.cgi?id=36817 20369 20370 * WebKit.gyp: 20371 * src/InspectorFrontendClientImpl.cpp: Added. 20372 (WebKit::InspectorFrontendClientImpl::InspectorFrontendClientImpl): 20373 (WebKit::InspectorFrontendClientImpl::~InspectorFrontendClientImpl): 20374 (WebKit::InspectorFrontendClientImpl::windowObjectCleared): 20375 (WebKit::InspectorFrontendClientImpl::frontendLoaded): 20376 (WebKit::InspectorFrontendClientImpl::moveWindowBy): 20377 (WebKit::InspectorFrontendClientImpl::localizedStringsURL): 20378 (WebKit::InspectorFrontendClientImpl::hiddenPanels): 20379 (WebKit::InspectorFrontendClientImpl::bringToFront): 20380 (WebKit::InspectorFrontendClientImpl::closeWindow): 20381 (WebKit::InspectorFrontendClientImpl::canAttachWindow): 20382 (WebKit::InspectorFrontendClientImpl::attachWindow): 20383 (WebKit::InspectorFrontendClientImpl::detachWindow): 20384 (WebKit::InspectorFrontendClientImpl::changeAttachedWindowHeight): 20385 (WebKit::InspectorFrontendClientImpl::inspectedURLChanged): 20386 * src/InspectorFrontendClientImpl.h: Added. 20387 * src/WebDevToolsFrontendImpl.cpp: 20388 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 20389 (WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl): 20390 (WebKit::WebDevToolsFrontendImpl::frontendLoaded): 20391 * src/WebDevToolsFrontendImpl.h: 20392 * src/js/DebuggerAgent.js: 20393 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_): 20394 * src/js/DevTools.js: 20395 (): 20396 20397 2010-04-01 Jay Civelli <jcivelli (a] google.com> 20398 20399 Reviewed by David Levin. 20400 20401 Adds a method to WebFrame to execute JavaScript and get the value 20402 it evaluates to. 20403 https://bugs.webkit.org/show_bug.cgi?id=36907 20404 20405 * public/WebFrame.h: 20406 * src/WebFrameImpl.cpp: 20407 (WebKit::WebFrameImpl::executeScriptAndReturnValue): 20408 * src/WebFrameImpl.h: 20409 20410 2010-04-01 Kinuko Yasuda <kinuko (a] chromium.org> 20411 20412 Reviewed by Dmitry Titov. 20413 20414 Add FileThread for async file operation support in FileReader and FileWriter 20415 https://bugs.webkit.org/show_bug.cgi?id=36896 20416 20417 Add ENABLE_FILE_READER and ENABLE_FILE_WRITER flags. 20418 20419 * features.gypi: 20420 20421 2010-04-01 Finnur Thorarinsson <finnur.webkit (a] gmail.com> 20422 20423 Reviewed by Eric Seidel. 20424 20425 [chromium] FindInPage on multi-frame pages wasn't always updating 20426 tickmarks on scrollbars for the subframes. It was calling invalidateRect 20427 on the View and specifying a rect that's in window coordinates, whereas 20428 the invalidateRect expects frame coordinates. 20429 20430 https://bugs.webkit.org/show_bug.cgi?id=36982 20431 20432 * src/WebFrameImpl.cpp: 20433 (WebKit::WebFrameImpl::invalidateArea): 20434 20435 2010-04-01 Finnur Thorarinsson <finnur.webkit (a] gmail.com> 20436 20437 Reviewed by Dimitri Glazkov. 20438 20439 [chromium] FindInPage should clear the focused node when a match has 20440 been found. This is because WebFrameImpl::setFocus will try to refocus 20441 editable elements if it thinks they have focus, causing the page to 20442 scroll. 20443 20444 https://bugs.webkit.org/show_bug.cgi?id=36923 20445 20446 * src/WebFrameImpl.cpp: 20447 (WebKit::WebFrameImpl::find): 20448 20449 2010-04-01 Marcus Bulach <bulach (a] chromium.org> 20450 20451 Reviewed by Jeremy Orlow. 20452 20453 As a follow up on https://bugs.webkit.org/show_bug.cgi?id=36535, remove: 20454 GeolocationServiceBridgeChromium.h 20455 dettachBridge() 20456 getGeolocationService() 20457 https://bugs.webkit.org/show_bug.cgi?id=36895 20458 20459 * WebKit.gyp: 20460 * public/GeolocationServiceBridgeChromium.h: Removed. 20461 * public/WebGeolocationService.h: 20462 (WebKit::WebGeolocationService::detachBridge): 20463 * public/WebViewClient.h: 20464 (WebKit::WebViewClient::geolocationService): 20465 20466 2010-03-31 Jeremy Orlow <jorlow (a] chromium.org> 20467 20468 Reviewed by Nate Chapin. 20469 20470 Misc IndexedDatabase cleanup 20471 https://bugs.webkit.org/show_bug.cgi?id=36889 20472 20473 Plumb the Frame* so Chromium knows where the request originated from. 20474 20475 * public/WebIndexedDatabase.h: 20476 * src/IndexedDatabaseProxy.cpp: 20477 (WebCore::IndexedDatabaseProxy::open): 20478 * src/IndexedDatabaseProxy.h: 20479 * src/WebIndexedDatabaseImpl.cpp: 20480 (WebKit::WebIndexedDatabaseImpl::open): 20481 * src/WebIndexedDatabaseImpl.h: 20482 20483 2010-03-31 Alpha Lam <hclam (a] chromium.org> 20484 20485 Not reviewed. Build fix. 20486 20487 Fixing a build break caused by 56872. One of the Chromium bots doesn't 20488 like std::strstr(). Includes string.h and use strstr() instead. 20489 20490 * src/WebGraphicsContext3DDefaultImpl.cpp: 20491 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes): 20492 Includes string.h and use strstr(). 20493 20494 2010-03-31 Zhenyao Mo <zmo (a] google.com> 20495 20496 Reviewed by Darin Fisher. 20497 20498 Hook up WebGLContextAttributes to OpenGL context creation code 20499 https://bugs.webkit.org/show_bug.cgi?id=33416 20500 20501 * src/WebGraphicsContext3DDefaultImpl.cpp: Hook up WebGLContextAttributes to OpenGL context creation code for Chrome. 20502 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): 20503 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): 20504 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 20505 (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes): 20506 (WebKit::WebGraphicsContext3DDefaultImpl::reshape): 20507 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): 20508 (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer): 20509 (WebKit::WebGraphicsContext3DDefaultImpl::readPixels): Deal with wrong returned alpha values in Mac. 20510 * src/WebGraphicsContext3DDefaultImpl.h: Add a function. 20511 20512 2010-03-31 Darin Fisher <darin (a] chromium.org> 20513 20514 Reviewed by David Levin. 20515 20516 [chromium] including WebKit.gyp:webkit should automatically add Skia 20517 and NPAPI include paths 20518 20519 https://bugs.webkit.org/show_bug.cgi?id=36887 20520 20521 * WebKit.gyp: 20522 20523 2010-03-31 Marcus Bulach <bulach (a] chromium.org> 20524 20525 Reviewed by Jeremy Orlow. 20526 20527 Implements cancelGeolocationPermissionRequestForFrame. 20528 https://bugs.webkit.org/show_bug.cgi?id=35031 20529 20530 * public/WebGeolocationService.h: 20531 (WebKit::WebGeolocationService::cancelPermissionRequestForFrame): 20532 * src/ChromeClientImpl.cpp: 20533 (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame): 20534 * src/ChromeClientImpl.h: 20535 20536 2010-03-31 Pavel Feldman <pfeldman (a] chromium.org> 20537 20538 Not reviewed. Rolling out r56829 since it broke chromium layout tests. 20539 20540 [REGRESSION] Inspector tests started crashing since r56829 20541 https://bugs.webkit.org/show_bug.cgi?id=36888 20542 20543 * public/WebFrameClient.h: 20544 * src/FrameLoaderClientImpl.cpp: 20545 * src/FrameLoaderClientImpl.h: 20546 20547 2010-03-31 Yury Semikhatsky <yurys (a] chromium.org> 20548 20549 Reviewed by Pavel Feldman. 20550 20551 Add stubs for moveWindowBy and setAttachedWindowHeight. 20552 20553 https://bugs.webkit.org/show_bug.cgi?id=36842 20554 20555 * src/WebDevToolsFrontendImpl.cpp: 20556 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 20557 (WebKit::WebDevToolsFrontendImpl::jsSetAttachedWindowHeight): 20558 (WebKit::WebDevToolsFrontendImpl::jsMoveWindowBy): 20559 * src/WebDevToolsFrontendImpl.h: 20560 20561 2010-03-31 John Gregg <johnnyg (a] google.com> 20562 20563 Reviewed by Darin Fisher. 20564 20565 [chromium] add logging of cross-frame property accesses for site isolation 20566 https://bugs.webkit.org/show_bug.cgi?id=35773 20567 20568 * public/WebFrameClient.h: 20569 (WebKit::WebFrameClient::logCrossFramePropertyAccess): 20570 * src/FrameLoaderClientImpl.cpp: 20571 (WebKit::FrameLoaderClientImpl::logCrossFramePropertyAccess): 20572 * src/FrameLoaderClientImpl.h: 20573 20574 2010-03-30 Gavin Barraclough <barraclough (a] apple.com> 20575 20576 Rubber stamped by Sam Weinig. 20577 20578 https://bugs.webkit.org/show_bug.cgi?id=36866 20579 Move CString to WTF 20580 20581 * public/WebCString.h: 20582 * src/FrameLoaderClientImpl.cpp: 20583 * src/GraphicsContext3D.cpp: 20584 * src/WebCString.cpp: 20585 (WebKit::WebCString::assign): 20586 (WebKit::WebCString::WebCString): 20587 (WebKit::WebCString::operator=): 20588 (WebKit::WebCString::operator WTF::CString): 20589 * src/WebMediaPlayerClientImpl.cpp: 20590 * src/WebString.cpp: 20591 * src/WebURLError.cpp: 20592 20593 2010-03-30 Marcus Bulach <bulach (a] chromium.org> 20594 20595 Reviewed by Darin Fisher. 20596 20597 Rename / tidy up Geolocation bridge: 20598 Rename GeolocationServiceBridgeChromium.cpp to WebGeolocationServiceBridgeImpl.cpp 20599 Uses a temporary compatibility layer in GeolocationServiceBridgeChromium.h. 20600 20601 https://bugs.webkit.org/show_bug.cgi?id=36535 20602 20603 * WebKit.gyp: 20604 * public/GeolocationServiceBridgeChromium.h: 20605 * public/WebGeolocationService.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h. 20606 (WebKit::WebGeolocationService::detachBridge): 20607 * public/WebGeolocationServiceBridge.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h. 20608 * public/WebViewClient.h: 20609 (WebKit::WebViewClient::geolocationService): 20610 * src/ChromeClientImpl.cpp: 20611 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame): 20612 * src/ChromiumBridge.cpp: 20613 * src/GeolocationServiceBridgeChromium.cpp: Removed. 20614 * src/WebGeolocationServiceBridgeImpl.cpp: Copied from WebKit/chromium/src/GeolocationServiceBridgeChromium.cpp. 20615 (WebKit::createGeolocationServiceBridgeImpl): 20616 (WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl): 20617 (WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl): 20618 (WebKit::WebGeolocationServiceBridgeImpl::startUpdating): 20619 (WebKit::WebGeolocationServiceBridgeImpl::stopUpdating): 20620 (WebKit::WebGeolocationServiceBridgeImpl::suspend): 20621 (WebKit::WebGeolocationServiceBridgeImpl::resume): 20622 (WebKit::WebGeolocationServiceBridgeImpl::getBridgeId): 20623 (WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed): 20624 (WebKit::WebGeolocationServiceBridgeImpl::setLastPosition): 20625 (WebKit::WebGeolocationServiceBridgeImpl::setLastError): 20626 (WebKit::WebGeolocationServiceBridgeImpl::getWebViewClient): 20627 * src/WebGeolocationServiceBridgeImpl.h: Copied from WebKit/chromium/public/GeolocationServiceBridgeChromium.h. 20628 20629 2010-03-30 Jochen Eisinger <jochen (a] chromium.org> 20630 20631 Reviewed by Jeremy Orlow. 20632 20633 Remove dysfunctional implementation of canEstablishDatabase for 20634 Workers. I postpone this implementation until Workers can actually 20635 access Web Databases. 20636 20637 https://bugs.webkit.org/show_bug.cgi?id=36795 20638 20639 * src/DatabaseObserver.cpp: 20640 (WebCore::DatabaseObserver::canEstablishDatabase): 20641 * src/WebWorkerBase.h: 20642 20643 2010-03-29 Jeremy Orlow <jorlow (a] chromium.org> 20644 20645 Reviewed by Darin Fisher. 20646 20647 More IndexedDB work 20648 https://bugs.webkit.org/show_bug.cgi?id=36770 20649 20650 Start the implementation of WebIndexedDatabase (for entrance back into WebKit). 20651 20652 * WebKit.gyp: 20653 * public/WebIndexedDatabase.h: 20654 * src/WebIndexedDatabaseImpl.cpp: Added. 20655 (WebKit::WebIndexedDatabase::create): 20656 (WebKit::WebIndexedDatabaseImpl::~WebIndexedDatabaseImpl): 20657 (WebKit::WebIndexedDatabaseImpl::open): 20658 * src/WebIndexedDatabaseImpl.h: Added. 20659 20660 2010-03-29 Rafael Weinstein <rafaelw (a] chromium.org> 20661 20662 Reviewed by Adam Barth. 20663 20664 Change NotificationPresenter::checkPermission() to take the source frames full KURL, 20665 rather than its SecurityOrigin. This will aid chromium in having more fine grained 20666 permissions to control notification spam. 20667 20668 * public/WebNotificationPresenter.h: 20669 (WebKit::WebNotificationPresenter::checkPermission): 20670 * src/NotificationPresenterImpl.cpp: 20671 (WebKit::NotificationPresenterImpl::checkPermission): 20672 * src/NotificationPresenterImpl.h: 20673 20674 2010-03-29 Dawit Alemayehu <adawit (a] kde.org> 20675 20676 Reviewed by Simon Hausmann. 20677 20678 Factored out the 'ShouldTreatAsAttachment' function to HTTPParsers.* 20679 and replacted local version with the factored out version. 20680 20681 The code was factored out to make possible its use in other implementations 20682 such as QtWebKit. 20683 20684 * src/FrameLoaderClientImpl.cpp: 20685 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType): 20686 20687 2010-03-29 Jochen Eisinger <jochen (a] chromium.org> 20688 20689 Reviewed by Darin Fisher. 20690 20691 Pass a WebFrame to WebFrameClient::allowDatabase instead of a WebSecurityOrigin 20692 https://bugs.webkit.org/show_bug.cgi?id=36743 20693 20694 * public/WebFrameClient.h: 20695 (WebKit::WebFrameClient::allowDatabase): 20696 * src/DatabaseObserver.cpp: 20697 (WebCore::DatabaseObserver::canEstablishDatabase): 20698 20699 2010-03-24 Jeremy Orlow <jorlow (a] chromium.org> 20700 20701 Reviewed by Darin Fisher. 20702 20703 More IndexedDB plumbing 20704 https://bugs.webkit.org/show_bug.cgi?id=36546 20705 20706 Plumbing work towards the goal of making IndexedDatabase::open work. 20707 20708 * WebKit.gyp: 20709 * public/WebIDBCallbacks.h: Added. 20710 (WebKit::WebIDBCallbacks::~WebIDBCallbacks): 20711 * public/WebIDBDatabase.h: Added. 20712 (WebKit::WebIDBDatabase::~WebIDBDatabase): 20713 * public/WebIDBDatabaseError.h: Added. 20714 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError): 20715 (WebKit::WebIDBDatabaseError::operator=): 20716 * public/WebIndexedDatabase.h: 20717 * public/WebKitClient.h: 20718 (WebKit::WebKitClient::indexedDatabase): 20719 * public/WebSerializedScriptValue.h: 20720 * src/IDBCallbacksProxy.h: Added. 20721 (WebCore::IDBCallbacksProxy::IDBCallbacksProxy): 20722 (WebCore::IDBCallbacksProxy::~IDBCallbacksProxy): 20723 (WebCore::IDBCallbacksProxy::onSuccess): 20724 (WebCore::IDBCallbacksProxy::onError): 20725 * src/IDBDatabaseProxy.cpp: Added. 20726 (WebCore::IDBDatabaseProxy::create): 20727 (WebCore::IDBDatabaseProxy::IDBDatabaseProxy): 20728 (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy): 20729 * src/IDBDatabaseProxy.h: Added. 20730 * src/IndexedDatabaseProxy.cpp: 20731 (WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy): 20732 (WebCore::IndexedDatabaseProxy::open): 20733 * src/IndexedDatabaseProxy.h: 20734 * src/WebIDBDatabaseError.cpp: Added. 20735 (WebKit::WebIDBDatabaseError::~WebIDBDatabaseError): 20736 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError): 20737 (WebKit::WebIDBDatabaseError::assign): 20738 (WebKit::WebIDBDatabaseError::code): 20739 (WebKit::WebIDBDatabaseError::message): 20740 (WebKit::WebIDBDatabaseError::operator=): 20741 (WebKit::WebIDBDatabaseError::operator PassRefPtr<IDBDatabaseError>): 20742 20743 2010-03-29 Mikhail Naganov <mnaganov (a] chromium.org> 20744 20745 Reviewed by Pavel Feldman. 20746 20747 Remove a possibility of confusion from Profiles panel Welcome screen 20748 by turning buttons into non-clickable glyphs. Also, span instructions 20749 alongside panel width. 20750 20751 https://bugs.webkit.org/show_bug.cgi?id=34319 20752 20753 * src/js/HeapProfilerPanel.js: 20754 (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage): 20755 20756 2010-03-28 Alexey Proskuryakov <ap (a] apple.com> 20757 20758 Build fix. Removed extraneous includes of KeyboardCodesWin.h and KeyboardCodesPosix.h - 20759 these no longer exist, but they weren't needed even before reshuffling KeyboardCodes headers. 20760 20761 * src/WebViewImpl.cpp: 20762 20763 2010-03-27 Kenneth Russell <kbr (a] google.com> 20764 20765 Reviewed by Darin Fisher. 20766 20767 Use WebKitClient to instantiate WebGraphicsContext3D 20768 https://bugs.webkit.org/show_bug.cgi?id=36669 20769 20770 * src/GraphicsContext3D.cpp: 20771 (WebCore::GraphicsContext3DInternal::initialize): 20772 20773 2010-03-24 James Hawkins <jhawkins (a] chromium.org> 20774 20775 Reviewed by Darin Fisher. 20776 20777 [Chromium] Implement WebFormControlElement and WebSelectElement. Add 20778 a getFormControlElements method to WebFormElement. 20779 20780 https://bugs.webkit.org/show_bug.cgi?id=36562 20781 20782 * WebKit.gyp: 20783 * public/WebElement.h: 20784 * public/WebFormControlElement.h: Added. 20785 * public/WebFormElement.h: 20786 * public/WebInputElement.h: 20787 (WebKit::WebInputElement::WebInputElement): 20788 (WebKit::WebInputElement::operator=): 20789 (WebKit::WebInputElement::assign): 20790 * public/WebSelectElement.h: Added. 20791 * src/WebElement.cpp: 20792 (WebKit::WebElement::isFormControlElement): 20793 * src/WebFormControlElement.cpp: Added. 20794 * src/WebFormElement.cpp: 20795 (WebKit::WebFormElement::getFormControlElements): 20796 * src/WebInputElement.cpp: 20797 (WebKit::WebInputElement::WebInputElement): 20798 * src/WebSelectElement.cpp: Added. 20799 20800 2010-03-26 Andrey Kosyakov <caseq (a] chromium.org> 20801 20802 Reviewed by Pavel Feldman. 20803 20804 Send worker resource content to inspector to enable display of web 20805 workers in inspector's resource tab. 20806 https://bugs.webkit.org/show_bug.cgi?id=36658 20807 20808 * src/SharedWorkerRepository.cpp: 20809 (WebCore::SharedWorkerScriptLoader::notifyFinished): 20810 20811 2010-03-25 Tony Chang <tony (a] chromium.org> 20812 20813 Reviewed by David Levin. 20814 20815 [chromium] correctly handle move drag operations 20816 https://bugs.webkit.org/show_bug.cgi?id=36484 20817 20818 * src/WebViewImpl.cpp: 20819 (WebKit::WebViewImpl::dragTargetDragEnter): 20820 (WebKit::WebViewImpl::dragTargetDragOver): 20821 (WebKit::WebViewImpl::dragTargetDragEnterOrOver): Combine common code into a helper method 20822 and properly mask against the drag effect. 20823 (WebKit::WebViewImpl::createUniqueIdentifierForRequest): 20824 * src/WebViewImpl.h: 20825 20826 2010-03-25 Drew Wilson <atwilson (a] chromium.org> 20827 20828 Reviewed by Nate Chapin. 20829 20830 [v8] Error in getScriptExecutionContext() when worker context is terminating 20831 https://bugs.webkit.org/show_bug.cgi?id=36565 20832 20833 Test: Existing worker tests suffice. 20834 20835 * src/WebWorkerClientImpl.cpp: 20836 (WebKit::WebWorkerClientImpl::createWorkerContextProxy): 20837 Changed to use WorkerScriptController::controllerForContext() instead of WorkerScriptExecutionProxy::retrieve(). 20838 20839 2010-03-25 Jeremy Orlow <jorlow (a] chromium.org> 20840 20841 Reviewed by Darin Fisher. 20842 20843 [Chromium] Add an ASSERT macro to the Chromium WebKit API 20844 https://bugs.webkit.org/show_bug.cgi?id=36545 20845 20846 * WebKit.gyp: Add WebCommon.cpp 20847 * public/WebCommon.h: Add the Macro. 20848 * public/WebPrivatePtr.h: 20849 (WebKit::WebPrivatePtr::~WebPrivatePtr): Verify the pointer is now 0. 20850 * src/WebCommon.cpp: Added. 20851 (WebKit::failedAssertion): Calls the WTF assert function and then crashes. 20852 20853 2010-03-25 Jochen Eisinger <jochen (a] chromium.org> 20854 20855 Reviewed by Jeremy Orlow. 20856 20857 Remove ASSERT(isMainThread()) which is violated for workers and not necessary at this point. 20858 https://bugs.webkit.org/show_bug.cgi?id=36614 20859 20860 * src/DatabaseObserver.cpp: 20861 (WebCore::DatabaseObserver::canEstablishDatabase): 20862 20863 2010-03-25 Jochen Eisinger <jochen (a] chromium.org> 20864 20865 Reviewed by Jeremy Orlow. 20866 20867 Forward DatabaseTracker::canEstablishDatabase to chromium layer. 20868 https://bugs.webkit.org/show_bug.cgi?id=36595 20869 20870 * public/WebFrameClient.h: 20871 (WebKit::WebFrameClient::allowDatabase): 20872 * src/DatabaseObserver.cpp: 20873 (WebCore::DatabaseObserver::canEstablishDatabase): 20874 * src/WebWorkerBase.h: 20875 (WebKit::WebWorkerBase::allowDatabase): 20876 20877 2010-03-10 John Abd-El-Malek <jam (a] chromium.org> 20878 20879 Reviewed by Darin Fisher. 20880 20881 [chromium] Fix up WebMouseWheelEventBuilder to properly calculate the units 20882 https://bugs.webkit.org/show_bug.cgi?id=35989 20883 20884 * src/WebInputEventConversion.cpp: 20885 20886 2010-03-24 Vangelis Kokkevis <vangelis (a] chromium.org> 20887 20888 Reviewed by Dimitri Glazkov. 20889 20890 Eliminate unecessary redraws of GraphicsLayer contents when doing accelerated compositing: 20891 https://bugs.webkit.org/show_bug.cgi?id=36470 20892 20893 * src/WebViewImpl.cpp: 20894 (WebKit::WebViewImpl::paint): 20895 Remove call that forced redrawing the contents of the entire layer hierarchy. 20896 20897 2010-03-24 Dmitry Titov <dimich (a] chromium.org> 20898 20899 No review, rolling out r56453. 20900 http://trac.webkit.org/changeset/56453 20901 https://bugs.webkit.org/show_bug.cgi?id=36426 20902 20903 In Chromium port, it broke invalid-image-data-standalone.html 20904 invalid-image-data.html multipart-wait-before-boundary.html 20905 stop-crash.html win-boundary-crash.html 20906 20907 * src/ResourceHandle.cpp: 20908 (WebCore::ResourceHandleInternal::ResourceHandleInternal): 20909 (WebCore::ResourceHandleInternal::start): 20910 (WebCore::ResourceHandleInternal::cancel): 20911 (WebCore::ResourceHandleInternal::didReceiveResponse): 20912 (WebCore::ResourceHandleInternal::didReceiveData): 20913 (WebCore::ResourceHandleInternal::didFinishLoading): 20914 (WebCore::ResourceHandleInternal::didFail): 20915 20916 2010-03-24 John Abd-El-Malek <jam (a] chromium.org> 20917 20918 Reviewed by Darin Fisher. 20919 20920 [chromium]WebKit side of adding search support to Pepper. 20921 https://bugs.webkit.org/show_bug.cgi?id=36434 20922 20923 * WebKit.gyp: 20924 * public/WebDocument.h: 20925 * public/WebNode.h: 20926 (WebKit::WebNode::to): 20927 (WebKit::WebNode::toConst): 20928 * public/WebPluginDocument.h: Added. 20929 (WebKit::WebPluginDocument::WebPluginDocument): 20930 (WebKit::WebPluginDocument::operator=): 20931 (WebKit::WebPluginDocument::assign): 20932 * src/WebDocument.cpp: 20933 (WebKit::WebDocument::isPluginDocument): 20934 * src/WebPluginDocument.cpp: Added. 20935 (WebKit::WebPluginDocument::plugin): 20936 (WebKit::WebPluginDocument::WebPluginDocument): 20937 (WebKit::WebPluginDocument::operator=): 20938 (WebKit::WebPluginDocument::operator PassRefPtr<PluginDocument>): 20939 20940 2010-03-24 Jeremy Moskovich <jeremy (a] chromium.org> 20941 20942 Reviewed by Jeremy Orlow. 20943 20944 Add some diagnostics to try to track down cause of crash in ArchiveFactory::isArchiveMimeType(). 20945 20946 https://bugs.webkit.org/show_bug.cgi?id=36426 20947 20948 * src/ResourceHandle.cpp: Track state across ResourceHandle invocations. 20949 (WebCore::ResourceHandleInternal::ResourceHandleInternal): 20950 (WebCore::ResourceHandleInternal::): 20951 (WebCore::ResourceHandleInternal::start): 20952 (WebCore::ResourceHandleInternal::cancel): 20953 (WebCore::ResourceHandleInternal::didReceiveResponse): 20954 (WebCore::ResourceHandleInternal::didReceiveData): 20955 (WebCore::ResourceHandleInternal::didFinishLoading): 20956 (WebCore::ResourceHandleInternal::didFail): 20957 20958 2010-03-24 Jay Campan <jcampan (a] google.com> 20959 20960 Reviewed by Darin Fisher. 20961 20962 Making Chromium select popups not steal activation from the browser. 20963 Select popups are now like autocomplete popups, shown in non-activated 20964 windows. 20965 https://bugs.webkit.org/show_bug.cgi?id=36062 20966 20967 * public/WebViewClient.h: 20968 (WebKit::WebViewClient::createPopupMenu): 20969 * src/ChromeClientImpl.cpp: 20970 (WebKit::ChromeClientImpl::popupOpened): 20971 (WebKit::ChromeClientImpl::popupClosed): 20972 * src/ChromeClientImpl.h: 20973 * src/WebViewImpl.cpp: 20974 (WebKit::): 20975 (WebKit::WebViewImpl::mouseDown): 20976 (WebKit::WebViewImpl::keyEvent): 20977 (WebKit::WebViewImpl::selectPopupHandleKeyEvent): 20978 (WebKit::WebViewImpl::hideSelectPopup): 20979 (WebKit::WebViewImpl::popupOpened): 20980 (WebKit::WebViewImpl::popupClosed): 20981 (WebKit::WebViewImpl::setFocus): 20982 (WebKit::WebViewImpl::applyAutoFillSuggestions): 20983 (WebKit::WebViewImpl::applyAutocompleteSuggestions): 20984 * src/WebViewImpl.h: 20985 20986 2010-03-24 Alexander Pavlov <apavlov (a] chromium.org> 20987 20988 Reviewed by Pavel Feldman. 20989 20990 Web Inspector: [Chromium] Audits never complete 20991 https://bugs.webkit.org/show_bug.cgi?id=36544 20992 20993 * src/js/InspectorControllerImpl.js: 20994 (devtools.InspectorBackendImpl): 20995 20996 2010-03-24 Alexander Pavlov <apavlov (a] chromium.org> 20997 20998 Reviewed by Pavel Feldman. 20999 21000 [Chromium] Fix VKEY_F10, VKEY_F11 translation in WebInputEvent.cpp 21001 https://bugs.webkit.org/show_bug.cgi?id=36524 21002 21003 * src/WebInputEvent.cpp: 21004 (WebKit::staticKeyIdentifiers): 21005 21006 2010-03-24 Kent Tamura <tkent (a] chromium.org> 21007 21008 Reviewed by Darin Adler. 21009 21010 Make Icon::createIconForFiles() optional. 21011 https://bugs.webkit.org/show_bug.cgi?id=35072 21012 21013 - Rename iconForFiles() to chooseIconForFiles(). 21014 - Call Icon::createIconForFiles() from chooseIconForFiles(). 21015 21016 * src/ChromeClientImpl.cpp: 21017 (WebKit::ChromeClientImpl::chooseIconForFiles): 21018 * src/ChromeClientImpl.h: 21019 21020 2010-03-23 Kenneth Russell <kbr (a] google.com> 21021 21022 Unreviewed build fix. 21023 21024 Add #include <stdio.h> to fix Chromium Linux build. 21025 21026 * src/WebGraphicsContext3DDefaultImpl.cpp: 21027 21028 2010-03-23 Nate Chapin <japhet (a] chromium.org> 21029 21030 Unreviewed, revert r56376. 21031 21032 This revision introduced a crash in a couple of layout tests 21033 on Chromium Linux. 21034 21035 * public/WebViewClient.h: 21036 (WebKit::WebViewClient::createPopupMenu): 21037 * src/ChromeClientImpl.cpp: 21038 (WebKit::ChromeClientImpl::popupOpened): 21039 * src/ChromeClientImpl.h: 21040 * src/WebViewImpl.cpp: 21041 (WebKit::): 21042 (WebKit::WebViewImpl::mouseDown): 21043 (WebKit::WebViewImpl::keyEvent): 21044 (WebKit::WebViewImpl::setFocus): 21045 (WebKit::WebViewImpl::applyAutoFillSuggestions): 21046 (WebKit::WebViewImpl::applyAutocompleteSuggestions): 21047 * src/WebViewImpl.h: 21048 21049 2010-03-23 Sergey Ulanov <sergeyu (a] chromium.org> 21050 21051 Reviewed by Dmitry Titov. 21052 21053 Changes needed to implement Show/Hide Controls command for <video> in 21054 chrome: (1) added Controls action in WebMediaPlayerAction that toggles 21055 controls for media player, (2) added MediaHasVideo in 21056 WebContextMenuData so that controls can be made toggleable only for 21057 video player but not for audio. 21058 https://bugs.webkit.org/show_bug.cgi?id=36460 21059 21060 * public/WebContextMenuData.h: 21061 (WebKit::WebContextMenuData::): 21062 * public/WebMediaPlayerAction.h: 21063 (WebKit::WebMediaPlayerAction::): 21064 * src/ContextMenuClientImpl.cpp: 21065 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 21066 * src/WebViewImpl.cpp: 21067 (WebKit::WebViewImpl::performMediaPlayerAction): 21068 21069 2010-03-23 Yury Semikhatsky <yurys (a] chromium.org> 21070 21071 Reviewed by Pavel Feldman. 21072 21073 When uncaught exception happens reveal Scripts panel only if reporting uncaught exceptions is on. 21074 21075 https://bugs.webkit.org/show_bug.cgi?id=36498 21076 21077 * src/js/DebuggerAgent.js: 21078 (devtools.DebuggerAgent.prototype.handleExceptionEvent_): 21079 21080 2010-03-23 Ilya Tikhonovsky <loislo (a] chromium.org> 21081 21082 Reviewed by Pavel Feldman. 21083 21084 Web Inspector: TimelinePanel stays in the recording state after reopening WebInspector. 21085 https://bugs.webkit.org/show_bug.cgi?id=36503 21086 21087 * src/WebDevToolsAgentImpl.cpp: 21088 (WebKit::WebDevToolsAgentImpl::detach): 21089 21090 2010-03-22 Kenneth Russell <kbr (a] google.com> 21091 21092 Reviewed by Darin Fisher. 21093 21094 Add GraphicsContext3D abstraction to WebKit API 21095 https://bugs.webkit.org/show_bug.cgi?id=36262 21096 21097 Added WebGraphicsContext3D to the WebKit API and refactored Chromium's 21098 GraphicsContext3D implementation to use it. All of the OpenGL calls have 21099 been moved out of WebKit/chromium/src/GraphicsContext3D.cpp and into the 21100 WebGraphicsContext3D implementation. GraphicsContext3D is still 21101 responsible for the transfer of rendered output from the 21102 WebGraphicsContext3D to the HTMLCanvasElement. 21103 21104 The GraphicsContext3DInternal class, which is a data member of 21105 GraphicsContext3D for the Chromium port, remains. It is possible to 21106 eliminate this class and thereby one level of delegation, but this is 21107 being deferred. 21108 21109 The needed entry point for a Chrome implementation of 21110 WebGraphicsContext3D has been added to WebKitClient, but it is not being 21111 called yet by GraphicsContext3D. It will be once this patch lands and 21112 Chromium is rolled forward to support this entry point. 21113 21114 This is a large patch, but the transformation is almost entirely 21115 mechanical and there is no change in functionality. Nearly all of 21116 GraphicsContext3D and GraphicsContext3DInternal has been moved to 21117 WebGraphicsContext3DDefaultImpl. The only area where the splitting of 21118 logic is less than mechanical is GraphicsContext3D::beginPaint() and its 21119 callees. 21120 21121 Ran all WebGL layout tests and demos from Khronos site in Chromium 21122 on Mac and Windows. 21123 21124 * WebKit.gyp: 21125 * public/WebGraphicsContext3D.h: Added. 21126 (WebKit::WebGraphicsContext3D::Attributes::Attributes): 21127 (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D): 21128 * public/WebKitClient.h: 21129 (WebKit::WebKitClient::createGraphicsContext3D): 21130 * src/GraphicsContext3D.cpp: 21131 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 21132 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 21133 (WebCore::GraphicsContext3DInternal::initialize): 21134 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D): 21135 (WebCore::GraphicsContext3DInternal::platformTexture): 21136 (WebCore::GraphicsContext3DInternal::beginPaint): 21137 (WebCore::GraphicsContext3DInternal::endPaint): 21138 (WebCore::GraphicsContext3DInternal::reshape): 21139 (WebCore::GraphicsContext3DInternal::bindAttribLocation): 21140 (WebCore::GraphicsContext3DInternal::bindTexture): 21141 (WebCore::GraphicsContext3DInternal::bufferData): 21142 (WebCore::GraphicsContext3DInternal::bufferSubData): 21143 (WebCore::GraphicsContext3DInternal::getActiveAttrib): 21144 (WebCore::GraphicsContext3DInternal::getActiveUniform): 21145 (WebCore::GraphicsContext3DInternal::getAttribLocation): 21146 (WebCore::GraphicsContext3DInternal::getContextAttributes): 21147 (WebCore::GraphicsContext3DInternal::getProgramInfoLog): 21148 (WebCore::GraphicsContext3DInternal::getShaderInfoLog): 21149 (WebCore::GraphicsContext3DInternal::getShaderSource): 21150 (WebCore::GraphicsContext3DInternal::getString): 21151 (WebCore::GraphicsContext3DInternal::getUniformLocation): 21152 (WebCore::GraphicsContext3DInternal::readPixels): 21153 (WebCore::GraphicsContext3DInternal::shaderSource): 21154 (WebCore::GraphicsContext3DInternal::texImage2D): 21155 (WebCore::GraphicsContext3DInternal::texSubImage2D): 21156 (WebCore::GraphicsContext3DInternal::uniform1fv): 21157 (WebCore::GraphicsContext3DInternal::uniform1iv): 21158 (WebCore::GraphicsContext3DInternal::uniform2fv): 21159 (WebCore::GraphicsContext3DInternal::uniform2iv): 21160 (WebCore::GraphicsContext3DInternal::uniform3fv): 21161 (WebCore::GraphicsContext3DInternal::uniform3iv): 21162 (WebCore::GraphicsContext3DInternal::uniform4fv): 21163 (WebCore::GraphicsContext3DInternal::uniform4iv): 21164 (WebCore::GraphicsContext3DInternal::uniformMatrix2fv): 21165 (WebCore::GraphicsContext3DInternal::uniformMatrix3fv): 21166 (WebCore::GraphicsContext3DInternal::uniformMatrix4fv): 21167 (WebCore::GraphicsContext3D::GraphicsContext3D): 21168 (WebCore::GraphicsContext3D::~GraphicsContext3D): 21169 (WebCore::GraphicsContext3D::create): 21170 (WebCore::GraphicsContext3D::platformGraphicsContext3D): 21171 (WebCore::GraphicsContext3D::platformTexture): 21172 (WebCore::GraphicsContext3D::texImage2D): 21173 (WebCore::GraphicsContext3D::texSubImage2D): 21174 * src/WebGraphicsContext3D.cpp: Added. 21175 (WebKit::WebGraphicsContext3D::createDefault): 21176 * src/WebGraphicsContext3DDefaultImpl.cpp: Added. 21177 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::create): 21178 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::~GLConnection): 21179 (WebKit::WebGraphicsContext3DDefaultImpl::VertexAttribPointerState::VertexAttribPointerState): 21180 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): 21181 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): 21182 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 21183 (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent): 21184 (WebKit::WebGraphicsContext3DDefaultImpl::width): 21185 (WebKit::WebGraphicsContext3DDefaultImpl::height): 21186 (WebKit::WebGraphicsContext3DDefaultImpl::sizeInBytes): 21187 (WebKit::createTextureObject): 21188 (WebKit::WebGraphicsContext3DDefaultImpl::reshape): 21189 (WebKit::WebGraphicsContext3DDefaultImpl::flipVertically): 21190 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): 21191 (WebKit::WebGraphicsContext3DDefaultImpl::activeTexture): 21192 (WebKit::WebGraphicsContext3DDefaultImpl::bindBuffer): 21193 (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer): 21194 (WebKit::WebGraphicsContext3DDefaultImpl::disableVertexAttribArray): 21195 (WebKit::WebGraphicsContext3DDefaultImpl::drawElements): 21196 (WebKit::WebGraphicsContext3DDefaultImpl::enableVertexAttribArray): 21197 (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap): 21198 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib): 21199 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform): 21200 (WebKit::WebGraphicsContext3DDefaultImpl::getContextAttributes): 21201 (WebKit::WebGraphicsContext3DDefaultImpl::getError): 21202 (WebKit::WebGraphicsContext3DDefaultImpl::getProgramInfoLog): 21203 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog): 21204 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource): 21205 (WebKit::WebGraphicsContext3DDefaultImpl::getString): 21206 (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset): 21207 (WebKit::WebGraphicsContext3DDefaultImpl::releaseShaderCompiler): 21208 (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource): 21209 (WebKit::WebGraphicsContext3DDefaultImpl::vertexAttribPointer): 21210 (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer): 21211 (WebKit::WebGraphicsContext3DDefaultImpl::createFramebuffer): 21212 (WebKit::WebGraphicsContext3DDefaultImpl::createProgram): 21213 (WebKit::WebGraphicsContext3DDefaultImpl::createRenderbuffer): 21214 (WebKit::WebGraphicsContext3DDefaultImpl::createTexture): 21215 (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer): 21216 (WebKit::WebGraphicsContext3DDefaultImpl::deleteFramebuffer): 21217 (WebKit::WebGraphicsContext3DDefaultImpl::deleteProgram): 21218 (WebKit::WebGraphicsContext3DDefaultImpl::deleteRenderbuffer): 21219 (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader): 21220 (WebKit::WebGraphicsContext3DDefaultImpl::deleteTexture): 21221 (WebKit::WebGraphicsContext3DDefaultImpl::synthesizeGLError): 21222 * src/WebGraphicsContext3DDefaultImpl.h: Added. 21223 (WebKit::WebGraphicsContext3DDefaultImpl::): 21224 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::chooseFBConfig): 21225 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createNewContext): 21226 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createPbuffer): 21227 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyPbuffer): 21228 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::makeCurrent): 21229 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyContext): 21230 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::getCurrentContext): 21231 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::GLConnection): 21232 21233 2010-03-22 Jay Campan <jcampan (a] google.com> 21234 21235 Reviewed by Darin Fisher. 21236 21237 Making Chromium select popups not steal activation from the browser. 21238 Select popups are now like autocomplete popups, shown in non-activated 21239 windows. 21240 https://bugs.webkit.org/show_bug.cgi?id=36062 21241 21242 * public/WebViewClient.h: 21243 (WebKit::WebViewClient::createPopupMenu): 21244 * src/ChromeClientImpl.cpp: 21245 (WebKit::ChromeClientImpl::popupOpened): 21246 (WebKit::ChromeClientImpl::popupClosed): 21247 * src/ChromeClientImpl.h: 21248 * src/WebViewImpl.cpp: 21249 (WebKit::): 21250 (WebKit::WebViewImpl::mouseDown): 21251 (WebKit::WebViewImpl::keyEvent): 21252 (WebKit::WebViewImpl::selectPopupHandleKeyEvent): 21253 (WebKit::WebViewImpl::hideSelectPopup): 21254 (WebKit::WebViewImpl::popupOpened): 21255 (WebKit::WebViewImpl::popupClosed): 21256 (WebKit::WebViewImpl::setFocus): 21257 (WebKit::WebViewImpl::applyAutoFillSuggestions): 21258 (WebKit::WebViewImpl::applyAutocompleteSuggestions): 21259 * src/WebViewImpl.h: 21260 21261 2010-03-22 Darin Fisher <darin (a] chromium.org> 21262 21263 Reviewed by Nate Chapin. 21264 21265 [chromium] Renderer crashes when navigating to a reference fragment in 21266 a frame that has no current HistoryItem. 21267 21268 https://bugs.webkit.org/show_bug.cgi?id=36443 21269 21270 Test: fast/loader/crash-replacing-location-before-load.html 21271 21272 * src/FrameLoaderClientImpl.cpp: 21273 (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage): 21274 21275 2010-03-22 Kevin Decker <kdecker (a] apple.com> 21276 21277 Reviewed by John Sullivan. 21278 21279 https://bugs.webkit.org/show_bug.cgi?id=36328 21280 21281 * src/LocalizedStrings.cpp: 21282 (WebCore::missingPluginText): Added 21283 21284 2010-03-22 Yury Semikhatsky <yurys (a] chromium.org> 21285 21286 Reviewed by Pavel Feldman. 21287 21288 Fix inspected Page crash in destructor when Web Inspector is open. 21289 21290 https://bugs.webkit.org/show_bug.cgi?id=36441 21291 21292 * src/js/InjectDispatch.js: 21293 (inspectedPageDestroyed): Added stub for missing method. 21294 21295 2010-03-22 Jochen Eisinger <jochen (a] chromium.org> 21296 21297 Reviewed by Jeremy Orlow. 21298 21299 Added methods to WebSecurityOrigin for invoking 21300 SecurityOrigin::canAccess and SecurityOrigin::Create 21301 https://bugs.webkit.org/show_bug.cgi?id=36356 21302 21303 * public/WebSecurityOrigin.h: 21304 * src/WebSecurityOrigin.cpp: 21305 (WebKit::WebSecurityOrigin::create): 21306 (WebKit::WebSecurityOrigin::canAccess): 21307 21308 2010-03-20 Dimitri Glazkov <dglazkov (a] chromium.org> 21309 21310 No review, rolling out r56294. 21311 http://trac.webkit.org/changeset/56294 21312 https://bugs.webkit.org/show_bug.cgi?id=36262 21313 21314 Broke compile on Chromium canaries. 21315 21316 * WebKit.gyp: 21317 * public/WebGraphicsContext3D.h: Removed. 21318 * public/WebKitClient.h: 21319 * src/GraphicsContext3D.cpp: 21320 (WebCore::GraphicsContext3DInternal::): 21321 (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig): 21322 (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext): 21323 (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer): 21324 (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer): 21325 (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent): 21326 (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext): 21327 (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext): 21328 (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection): 21329 (WebCore::GraphicsContext3DInternal::GLConnection::create): 21330 (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection): 21331 (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState): 21332 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 21333 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 21334 (WebCore::GraphicsContext3DInternal::makeContextCurrent): 21335 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D): 21336 (WebCore::GraphicsContext3DInternal::platformTexture): 21337 (WebCore::createTextureObject): 21338 (WebCore::GraphicsContext3DInternal::reshape): 21339 (WebCore::GraphicsContext3DInternal::flipVertically): 21340 (WebCore::GraphicsContext3DInternal::beginPaint): 21341 (WebCore::GraphicsContext3DInternal::activeTexture): 21342 (WebCore::GraphicsContext3DInternal::bindBuffer): 21343 (WebCore::GraphicsContext3DInternal::bindFramebuffer): 21344 (WebCore::GraphicsContext3DInternal::bindTexture): 21345 (WebCore::GraphicsContext3DInternal::bufferDataImpl): 21346 (WebCore::GraphicsContext3DInternal::disableVertexAttribArray): 21347 (WebCore::GraphicsContext3DInternal::enableVertexAttribArray): 21348 (WebCore::GraphicsContext3DInternal::getError): 21349 (WebCore::GraphicsContext3DInternal::getContextAttributes): 21350 (WebCore::GraphicsContext3DInternal::vertexAttribPointer): 21351 (WebCore::GraphicsContext3DInternal::viewportImpl): 21352 (WebCore::GraphicsContext3DInternal::synthesizeGLError): 21353 (WebCore::GraphicsContext3D::create): 21354 (WebCore::GraphicsContext3D::GraphicsContext3D): 21355 (WebCore::GraphicsContext3D::~GraphicsContext3D): 21356 (WebCore::GraphicsContext3D::platformGraphicsContext3D): 21357 (WebCore::GraphicsContext3D::platformTexture): 21358 (WebCore::GraphicsContext3D::makeContextCurrent): 21359 (WebCore::GraphicsContext3D::reshape): 21360 (WebCore::GraphicsContext3D::beginPaint): 21361 (WebCore::GraphicsContext3D::endPaint): 21362 (WebCore::GraphicsContext3D::sizeInBytes): 21363 (WebCore::GraphicsContext3D::createBuffer): 21364 (WebCore::GraphicsContext3D::createFramebuffer): 21365 (WebCore::GraphicsContext3D::createProgram): 21366 (WebCore::GraphicsContext3D::createRenderbuffer): 21367 (WebCore::GraphicsContext3D::createShader): 21368 (WebCore::GraphicsContext3D::createTexture): 21369 (WebCore::GraphicsContext3D::deleteBuffer): 21370 (WebCore::GraphicsContext3D::deleteFramebuffer): 21371 (WebCore::GraphicsContext3D::deleteProgram): 21372 (WebCore::GraphicsContext3D::deleteRenderbuffer): 21373 (WebCore::GraphicsContext3D::deleteShader): 21374 (WebCore::GraphicsContext3D::deleteTexture): 21375 (WebCore::GraphicsContext3D::activeTexture): 21376 (WebCore::GraphicsContext3D::bindAttribLocation): 21377 (WebCore::GraphicsContext3D::bindBuffer): 21378 (WebCore::GraphicsContext3D::bindFramebuffer): 21379 (WebCore::GraphicsContext3D::bindTexture): 21380 (WebCore::GraphicsContext3D::bufferData): 21381 (WebCore::GraphicsContext3D::bufferSubData): 21382 (WebCore::GraphicsContext3D::checkFramebufferStatus): 21383 (WebCore::GraphicsContext3D::detachShader): 21384 (WebCore::GraphicsContext3D::disableVertexAttribArray): 21385 (WebCore::GraphicsContext3D::drawArrays): 21386 (WebCore::GraphicsContext3D::drawElements): 21387 (WebCore::GraphicsContext3D::enableVertexAttribArray): 21388 (WebCore::GraphicsContext3D::generateMipmap): 21389 (WebCore::GraphicsContext3D::getActiveAttrib): 21390 (WebCore::GraphicsContext3D::getActiveUniform): 21391 (WebCore::GraphicsContext3D::getAttribLocation): 21392 (WebCore::GraphicsContext3D::getBooleanv): 21393 (WebCore::GraphicsContext3D::getBufferParameteriv): 21394 (WebCore::GraphicsContext3D::getContextAttributes): 21395 (WebCore::GraphicsContext3D::getError): 21396 (WebCore::GraphicsContext3D::getFloatv): 21397 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv): 21398 (WebCore::GraphicsContext3D::getIntegerv): 21399 (WebCore::GraphicsContext3D::getProgramiv): 21400 (WebCore::GraphicsContext3D::getProgramInfoLog): 21401 (WebCore::GraphicsContext3D::getRenderbufferParameteriv): 21402 (WebCore::GraphicsContext3D::getShaderiv): 21403 (WebCore::GraphicsContext3D::getShaderInfoLog): 21404 (WebCore::GraphicsContext3D::getShaderSource): 21405 (WebCore::GraphicsContext3D::getString): 21406 (WebCore::GraphicsContext3D::getTexParameterfv): 21407 (WebCore::GraphicsContext3D::getTexParameteriv): 21408 (WebCore::GraphicsContext3D::getUniformfv): 21409 (WebCore::GraphicsContext3D::getUniformiv): 21410 (WebCore::GraphicsContext3D::getUniformLocation): 21411 (WebCore::GraphicsContext3D::getVertexAttribfv): 21412 (WebCore::GraphicsContext3D::getVertexAttribiv): 21413 (WebCore::GraphicsContext3D::getVertexAttribOffset): 21414 (WebCore::GraphicsContext3D::isBuffer): 21415 (WebCore::GraphicsContext3D::isEnabled): 21416 (WebCore::GraphicsContext3D::isFramebuffer): 21417 (WebCore::GraphicsContext3D::isProgram): 21418 (WebCore::GraphicsContext3D::isRenderbuffer): 21419 (WebCore::GraphicsContext3D::isShader): 21420 (WebCore::GraphicsContext3D::isTexture): 21421 (WebCore::GraphicsContext3D::pixelStorei): 21422 (WebCore::GraphicsContext3D::readPixels): 21423 (WebCore::GraphicsContext3D::releaseShaderCompiler): 21424 (WebCore::GraphicsContext3D::shaderSource): 21425 (WebCore::GraphicsContext3D::synthesizeGLError): 21426 (WebCore::GraphicsContext3D::texImage2D): 21427 (WebCore::GraphicsContext3D::texSubImage2D): 21428 (WebCore::GraphicsContext3D::uniform1fv): 21429 (WebCore::GraphicsContext3D::uniform1iv): 21430 (WebCore::GraphicsContext3D::uniform2fv): 21431 (WebCore::GraphicsContext3D::uniform2iv): 21432 (WebCore::GraphicsContext3D::uniform3fv): 21433 (WebCore::GraphicsContext3D::uniform3iv): 21434 (WebCore::GraphicsContext3D::uniform4fv): 21435 (WebCore::GraphicsContext3D::uniform4iv): 21436 (WebCore::GraphicsContext3D::uniformMatrix2fv): 21437 (WebCore::GraphicsContext3D::uniformMatrix3fv): 21438 (WebCore::GraphicsContext3D::uniformMatrix4fv): 21439 (WebCore::GraphicsContext3D::vertexAttrib1fv): 21440 (WebCore::GraphicsContext3D::vertexAttrib2fv): 21441 (WebCore::GraphicsContext3D::vertexAttrib3fv): 21442 (WebCore::GraphicsContext3D::vertexAttrib4fv): 21443 (WebCore::GraphicsContext3D::vertexAttribPointer): 21444 (WebCore::GraphicsContext3D::viewport): 21445 * src/WebGraphicsContext3D.cpp: Removed. 21446 * src/WebGraphicsContext3DDefaultImpl.cpp: Removed. 21447 * src/WebGraphicsContext3DDefaultImpl.h: Removed. 21448 21449 2010-03-19 Kenneth Russell <kbr (a] google.com> 21450 21451 Reviewed by Darin Fisher. 21452 21453 Add GraphicsContext3D abstraction to WebKit API 21454 https://bugs.webkit.org/show_bug.cgi?id=36262 21455 21456 Added WebGraphicsContext3D to the WebKit API and refactored Chromium's 21457 GraphicsContext3D implementation to use it. All of the OpenGL calls have 21458 been moved out of WebKit/chromium/src/GraphicsContext3D.cpp and into the 21459 WebGraphicsContext3D implementation. GraphicsContext3D is still 21460 responsible for the transfer of rendered output from the 21461 WebGraphicsContext3D to the HTMLCanvasElement. 21462 21463 The GraphicsContext3DInternal class, which is a data member of 21464 GraphicsContext3D for the Chromium port, remains. It is possible to 21465 eliminate this class and thereby one level of delegation, but this is 21466 being deferred. 21467 21468 The needed entry point for a Chrome implementation of 21469 WebGraphicsContext3D has been added to WebKitClient, but it is not being 21470 called yet by GraphicsContext3D. It will be once this patch lands and 21471 Chromium is rolled forward to support this entry point. 21472 21473 This is a large patch, but the transformation is almost entirely 21474 mechanical and there is no change in functionality. Nearly all of 21475 GraphicsContext3D and GraphicsContext3DInternal has been moved to 21476 WebGraphicsContext3DDefaultImpl. The only area where the splitting of 21477 logic is less than mechanical is GraphicsContext3D::beginPaint() and its 21478 callees. 21479 21480 Ran all WebGL layout tests and demos from Khronos site in Chromium. 21481 21482 * WebKit.gyp: 21483 * public/WebGraphicsContext3D.h: Added. 21484 (WebKit::WebGraphicsContext3D::Attributes::Attributes): 21485 (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D): 21486 * public/WebKitClient.h: 21487 (WebKit::WebKitClient::createGraphicsContext3D): 21488 * src/GraphicsContext3D.cpp: 21489 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 21490 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 21491 (WebCore::GraphicsContext3DInternal::initialize): 21492 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D): 21493 (WebCore::GraphicsContext3DInternal::platformTexture): 21494 (WebCore::GraphicsContext3DInternal::beginPaint): 21495 (WebCore::GraphicsContext3DInternal::endPaint): 21496 (WebCore::GraphicsContext3DInternal::reshape): 21497 (WebCore::GraphicsContext3DInternal::bindAttribLocation): 21498 (WebCore::GraphicsContext3DInternal::bindTexture): 21499 (WebCore::GraphicsContext3DInternal::bufferData): 21500 (WebCore::GraphicsContext3DInternal::bufferSubData): 21501 (WebCore::GraphicsContext3DInternal::getActiveAttrib): 21502 (WebCore::GraphicsContext3DInternal::getActiveUniform): 21503 (WebCore::GraphicsContext3DInternal::getAttribLocation): 21504 (WebCore::GraphicsContext3DInternal::getContextAttributes): 21505 (WebCore::GraphicsContext3DInternal::getProgramInfoLog): 21506 (WebCore::GraphicsContext3DInternal::getShaderInfoLog): 21507 (WebCore::GraphicsContext3DInternal::getShaderSource): 21508 (WebCore::GraphicsContext3DInternal::getString): 21509 (WebCore::GraphicsContext3DInternal::getUniformLocation): 21510 (WebCore::GraphicsContext3DInternal::readPixels): 21511 (WebCore::GraphicsContext3DInternal::shaderSource): 21512 (WebCore::GraphicsContext3DInternal::texImage2D): 21513 (WebCore::GraphicsContext3DInternal::texSubImage2D): 21514 (WebCore::GraphicsContext3DInternal::uniform1fv): 21515 (WebCore::GraphicsContext3DInternal::uniform1iv): 21516 (WebCore::GraphicsContext3DInternal::uniform2fv): 21517 (WebCore::GraphicsContext3DInternal::uniform2iv): 21518 (WebCore::GraphicsContext3DInternal::uniform3fv): 21519 (WebCore::GraphicsContext3DInternal::uniform3iv): 21520 (WebCore::GraphicsContext3DInternal::uniform4fv): 21521 (WebCore::GraphicsContext3DInternal::uniform4iv): 21522 (WebCore::GraphicsContext3DInternal::uniformMatrix2fv): 21523 (WebCore::GraphicsContext3DInternal::uniformMatrix3fv): 21524 (WebCore::GraphicsContext3DInternal::uniformMatrix4fv): 21525 (WebCore::GraphicsContext3D::GraphicsContext3D): 21526 (WebCore::GraphicsContext3D::~GraphicsContext3D): 21527 (WebCore::GraphicsContext3D::create): 21528 (WebCore::GraphicsContext3D::platformGraphicsContext3D): 21529 (WebCore::GraphicsContext3D::platformTexture): 21530 (WebCore::GraphicsContext3D::texImage2D): 21531 (WebCore::GraphicsContext3D::texSubImage2D): 21532 * src/WebGraphicsContext3D.cpp: Added. 21533 (WebKit::WebGraphicsContext3D::createDefault): 21534 * src/WebGraphicsContext3DDefaultImpl.cpp: Added. 21535 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::create): 21536 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::~GLConnection): 21537 (WebKit::WebGraphicsContext3DDefaultImpl::VertexAttribPointerState::VertexAttribPointerState): 21538 (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl): 21539 (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl): 21540 (WebKit::WebGraphicsContext3DDefaultImpl::initialize): 21541 (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent): 21542 (WebKit::WebGraphicsContext3DDefaultImpl::width): 21543 (WebKit::WebGraphicsContext3DDefaultImpl::height): 21544 (WebKit::WebGraphicsContext3DDefaultImpl::sizeInBytes): 21545 (WebKit::createTextureObject): 21546 (WebKit::WebGraphicsContext3DDefaultImpl::reshape): 21547 (WebKit::WebGraphicsContext3DDefaultImpl::flipVertically): 21548 (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer): 21549 (WebKit::WebGraphicsContext3DDefaultImpl::activeTexture): 21550 (WebKit::WebGraphicsContext3DDefaultImpl::bindBuffer): 21551 (WebKit::WebGraphicsContext3DDefaultImpl::bindFramebuffer): 21552 (WebKit::WebGraphicsContext3DDefaultImpl::disableVertexAttribArray): 21553 (WebKit::WebGraphicsContext3DDefaultImpl::drawElements): 21554 (WebKit::WebGraphicsContext3DDefaultImpl::enableVertexAttribArray): 21555 (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap): 21556 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib): 21557 (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform): 21558 (WebKit::WebGraphicsContext3DDefaultImpl::getContextAttributes): 21559 (WebKit::WebGraphicsContext3DDefaultImpl::getError): 21560 (WebKit::WebGraphicsContext3DDefaultImpl::getProgramInfoLog): 21561 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog): 21562 (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource): 21563 (WebKit::WebGraphicsContext3DDefaultImpl::getString): 21564 (WebKit::WebGraphicsContext3DDefaultImpl::getVertexAttribOffset): 21565 (WebKit::WebGraphicsContext3DDefaultImpl::releaseShaderCompiler): 21566 (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource): 21567 (WebKit::WebGraphicsContext3DDefaultImpl::vertexAttribPointer): 21568 (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer): 21569 (WebKit::WebGraphicsContext3DDefaultImpl::createFramebuffer): 21570 (WebKit::WebGraphicsContext3DDefaultImpl::createProgram): 21571 (WebKit::WebGraphicsContext3DDefaultImpl::createRenderbuffer): 21572 (WebKit::WebGraphicsContext3DDefaultImpl::createTexture): 21573 (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer): 21574 (WebKit::WebGraphicsContext3DDefaultImpl::deleteFramebuffer): 21575 (WebKit::WebGraphicsContext3DDefaultImpl::deleteProgram): 21576 (WebKit::WebGraphicsContext3DDefaultImpl::deleteRenderbuffer): 21577 (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader): 21578 (WebKit::WebGraphicsContext3DDefaultImpl::deleteTexture): 21579 (WebKit::WebGraphicsContext3DDefaultImpl::synthesizeGLError): 21580 * src/WebGraphicsContext3DDefaultImpl.h: Added. 21581 (WebKit::WebGraphicsContext3DDefaultImpl::): 21582 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::chooseFBConfig): 21583 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createNewContext): 21584 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::createPbuffer): 21585 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyPbuffer): 21586 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::makeCurrent): 21587 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::destroyContext): 21588 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::getCurrentContext): 21589 (WebKit::WebGraphicsContext3DDefaultImpl::GLConnection::GLConnection): 21590 21591 2010-03-19 Dimitri Glazkov <dglazkov (a] chromium.org> 21592 21593 Unreviewed, build fix. 21594 21595 Rename enqueueStorageEvent to enqueueEvent to match changes in 21596 http://trac.webkit.org/changeset/56249. 21597 21598 * src/StorageAreaProxy.cpp: 21599 (WebCore::StorageAreaProxy::storageEvent): Renamed. 21600 21601 2010-03-19 Darin Fisher <darin (a] chromium.org> 21602 21603 Reviewed by Dimitri Glazkov. 21604 21605 [chromium] querying the current history item during a back/forward 21606 navigation should not clobber the scroll offset, etc. 21607 https://bugs.webkit.org/show_bug.cgi?id=36347 21608 21609 We should only allow the current history item to be modified if we are 21610 no longer loading or if the load is a new navigation (i.e., not a 21611 back/forward/reload variant). 21612 21613 * src/WebFrameImpl.cpp: 21614 (WebKit::WebFrameImpl::currentHistoryItem): 21615 21616 2010-03-18 Vangelis Kokkevis <vangelis (a] chromium.org> 21617 21618 Reviewed by Adam Barth. 21619 21620 Adding support for the ACCELERATED_COMPOSITING render path to Chromium. 21621 https://bugs.webkit.org/show_bug.cgi?id=35557 21622 Currently compositing of layers is performed via s/w compositor which relies on Skia. This is an initial check-in 21623 and it's only been tested on Windows. Compiling the code requires seting "use_accelerated_compositing=1" 21624 to GYP_DEFINES. The update of layer contents and compositing is fairly inefficient but this will be fixed in 21625 subsequent check-ins. 21626 21627 * src/ChromeClientImpl.cpp: 21628 (WebKit::ChromeClientImpl::attachRootGraphicsLayer): 21629 (WebKit::ChromeClientImpl::scheduleCompositingLayerSync): 21630 * src/ChromeClientImpl.h: 21631 (WebKit::ChromeClientImpl::setNeedsOneShotDrawingSynchronization): 21632 Added methods required by the RenderLayerCompositor 21633 21634 * src/WebFrameImpl.cpp: 21635 (WebKit::WebFrameImpl::paintWithContext): 21636 (WebKit::WebFrameImpl::paint): 21637 * src/WebFrameImpl.h: 21638 Split WebFrameImpl::paint() into two methods to make it possible to call the paint 21639 routine with an existing GraphicsContext, which is necessary for painting the root layer into 21640 its own backing surface. 21641 21642 * src/WebViewImpl.cpp: 21643 (WebKit::WebViewImpl::WebViewImpl): 21644 (WebKit::WebViewImpl::paint): 21645 Modified method to handle the accelerated compositing path. Now, when doing accelerated compositing, 21646 paint() results in repainting the contents of the root layer and then doing a composite operation. 21647 (WebKit::WebViewImpl::setRootGraphicsLayer): 21648 (WebKit::WebViewImpl::setAcceleratedCompositing): 21649 (WebKit::WebViewImpl::updateRootLayerContents): 21650 (WebKit::WebViewImpl::setRootLayerNeedsDisplay): 21651 * src/WebViewImpl.h: 21652 (WebKit::WebViewImpl::isAcceleratedCompositing): 21653 21654 2010-03-18 Jian Li <jianli (a] chromium.org> 21655 21656 Reviewed by Darin Fisher. 21657 21658 Chromium interface change to support Blob.slice. 21659 https://bugs.webkit.org/show_bug.cgi?id=35318 21660 21661 * features.gypi: 21662 * public/WebHTTPBody.h: 21663 * public/WebKitClient.h: 21664 (WebKit::WebKitClient::getFileModificationTime): 21665 * src/ChromiumBridge.cpp: 21666 (WebCore::ChromiumBridge::getFileModificationTime): 21667 * src/WebHTTPBody.cpp: 21668 (WebKit::WebHTTPBody::elementAt): 21669 (WebKit::WebHTTPBody::appendFile): 21670 (WebKit::WebHTTPBody::appendFileRange): 21671 21672 2010-03-12 Ojan Vafai <ojan (a] chromium.org> 21673 21674 Reviewed by David Levin. 21675 21676 smartdelete should only occur after double-click 21677 https://bugs.webkit.org/show_bug.cgi?id=35314 21678 21679 * src/WebFrameImpl.cpp: 21680 (WebKit::WebFrameImpl::selectWordAroundPosition): 21681 21682 2010-03-18 Nate Chapin <japhet (a] chromium.org> 21683 21684 Unreviewed, build fix. 21685 21686 Left a parentheses unclosed somehow. 21687 21688 * src/WebDevToolsFrontendImpl.cpp: 21689 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu): 21690 21691 2010-03-18 Nate Chapin <japhet (a] chromium.org> 21692 21693 Reviewed by Dimitri Glazkov. 21694 21695 Remove all references to V8Index.h and V8ClassIndex. 21696 21697 https://bugs.webkit.org/show_bug.cgi?id=33477 21698 21699 * src/WebBindings.cpp: 21700 (WebKit::getRangeImpl): 21701 * src/WebDevToolsAgentImpl.cpp: 21702 * src/WebDevToolsFrontendImpl.cpp: 21703 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu): 21704 21705 2010-03-17 Garret Kelly <gdk (a] chromium.org> 21706 21707 Reviewed by Darin Fisher. 21708 21709 PlatformTouchEventBuilder should not be resizing the touch point 21710 array before appending touch points to it. 21711 https://bugs.webkit.org/show_bug.cgi?id=36231 21712 21713 * src/WebInputEventConversion.cpp: 21714 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder): 21715 21716 2010-03-17 Dmitry Titov <dimich (a] chromium.org> 21717 21718 Reviewed by Dimitri Glazkov. 21719 21720 [chromium] Roll Chromium builder's DEPS to current revs. 21721 https://bugs.webkit.org/show_bug.cgi?id=36241 21722 21723 * DEPS: 21724 21725 2010-03-17 Kenneth Russell <kbr (a] google.com> 21726 21727 Reviewed by Darin Fisher. 21728 21729 Revert WebGL context attributes changes 33416 / r56074 and 36200 / r56093 21730 https://bugs.webkit.org/show_bug.cgi?id=36233 21731 21732 The patch for bug 33416, which added multisampling support to the 21733 WebGL back buffer, uncovered some OpenGL driver bugs on the build 21734 bots which need further investigation to determine the appropriate 21735 workaround. Reverting this change, the minor build fix in 36189, 21736 and the skipping of the affected tests in bug 36200. 21737 21738 Built and tested WebKit and Chromium and ran all WebGL layout 21739 tests in both. 21740 21741 * src/GraphicsContext3D.cpp: 21742 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 21743 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 21744 (WebCore::GraphicsContext3DInternal::reshape): 21745 (WebCore::GraphicsContext3DInternal::beginPaint): 21746 (WebCore::GraphicsContext3DInternal::bindFramebuffer): 21747 (WebCore::GraphicsContext3D::readPixels): 21748 21749 2010-03-16 James Hawkins <jhawkins (a] chromium.org> 21750 21751 Reviewed by David Levin. 21752 21753 [Chromium] Size the WebVector of forms after determining how many 21754 forms are valid and will be returned. 21755 21756 https://bugs.webkit.org/show_bug.cgi?id=36204 21757 21758 No new tests, as this is only triggered by Chromium's use of the 21759 WebFormElement API. 21760 21761 * src/WebFrameImpl.cpp: 21762 (WebKit::WebFrameImpl::forms): 21763 21764 2010-03-16 Kenneth Russell <kbr (a] google.com> 21765 21766 Reviewed by Darin Fisher. 21767 21768 Build breakage from 33416 21769 https://bugs.webkit.org/show_bug.cgi?id=36189 21770 21771 No new tests. Built release Chromium. 21772 21773 * src/GraphicsContext3D.cpp: 21774 (WebCore::GraphicsContext3DInternal::reshape): 21775 21776 2010-03-16 Zhenyao Mo <zmo (a] google.com> 21777 21778 Reviewed by Darin Fisher. 21779 21780 Hook up WebGLContextAttributes to OpenGL context creation code 21781 https://bugs.webkit.org/show_bug.cgi?id=33416 21782 21783 Test: fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html 21784 21785 * src/GraphicsContext3D.cpp: Hook up WebGLContextAttributes to OpenGL context creation code for Windows. 21786 21787 2010-03-16 Yury Semikhatsky <yurys (a] chromium.org> 21788 21789 Unreviewed. 21790 21791 Fix Chromium Mac build: remove unused code. 21792 21793 * src/WebDevToolsAgentImpl.cpp: 21794 (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy): 21795 21796 2010-03-16 Yury Semikhatsky <yurys (a] chromium.org> 21797 21798 Reviewed by Pavel Feldman. 21799 21800 Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost. 21801 21802 Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder 21803 https://bugs.webkit.org/show_bug.cgi?id=35036 21804 21805 * src/InspectorClientImpl.cpp: 21806 (WebKit::InspectorClientImpl::openInspectorFrontend): 21807 * src/InspectorClientImpl.h: 21808 * src/WebDevToolsAgentImpl.cpp: 21809 (WebKit::WebDevToolsAgentImpl::attach): 21810 (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad): 21811 (WebKit::WebDevToolsAgentImpl::createInspectorFrontendProxy): 21812 (WebKit::WebDevToolsAgentImpl::setInspectorFrontendProxyToInspectorController): 21813 * src/WebDevToolsAgentImpl.h: 21814 * src/WebDevToolsFrontendImpl.cpp: 21815 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 21816 (WebKit::WebDevToolsFrontendImpl::jsBringToFront): 21817 (WebKit::WebDevToolsFrontendImpl::jsInspectedURLChanged): 21818 * src/WebDevToolsFrontendImpl.h: 21819 * src/js/InjectDispatch.js: 21820 (close): 21821 21822 2010-03-16 Pavel Feldman <pfeldman (a] chromium.org> 21823 21824 Not reviewed: chromium tests fix. 21825 21826 * src/js/InspectorControllerImpl.js: 21827 (devtools.InspectorBackendImpl): 21828 21829 2010-03-16 Pavel Feldman <pfeldman (a] chromium.org> 21830 21831 Reviewed by Timothy Hatcher. 21832 21833 Web Inspector: migrate to native styles inspector in order to inspect styles from foreighn domains. 21834 21835 https://bugs.webkit.org/show_bug.cgi?id=36117 21836 21837 * src/js/InspectorControllerImpl.js: 21838 (devtools.InspectorBackendImpl): 21839 21840 2010-03-15 John Gregg <johnnyg (a] google.com> 21841 21842 Reviewed by David Levin. 21843 21844 Notification object should expose absolute URL of icon 21845 https://bugs.webkit.org/show_bug.cgi?id=35800 21846 21847 * public/WebNotification.h: 21848 * src/WebNotification.cpp: 21849 (WebKit::WebNotification::iconURL): 21850 21851 2010-03-15 Darin Fisher <darin (a] chromium.org> 21852 21853 Reviewed by Adam Barth. 21854 21855 https://bugs.webkit.org/show_bug.cgi?id=36152 21856 [chromium] Add support for history.pushState and history.replaceState 21857 21858 * public/WebFrameClient.h: 21859 (WebKit::WebFrameClient::didNavigateWithinPage): Move implementation of 21860 didChangeLocationWithinPage to here. Only add to the redirect chain if 21861 we are performing a simple hash change (i.e., no state object on the 21862 history item). Call the old didChangeLocationWithinPage for backwards 21863 compat with Chromium. This will be removed in a subsequent patch. 21864 21865 (WebKit::WebFrameClient::didChangeLocationWithinPage): 21866 * src/FrameLoaderClientImpl.cpp: 21867 (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage): 21868 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): 21869 Call the new version of didChangeLocationWithinPage without the 21870 parameter to indicate whether this is a new navigation or not. We only 21871 need this method on WebFrameClient to support TestShell / DRT. 21872 21873 (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage): 21874 Call dispatchDidNavigateWithinPage since pushState is just a type of 21875 in-page navigation. This is an in-page navigation that adds another 21876 entry to session history. 21877 21878 (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage): 21879 Call dispatchDidNavigateWithinPage since replaceState is just a type of 21880 in-page navigation. This is an in-page navigation that replaces the 21881 current session history entry. 21882 21883 (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage): Do 21884 nothing since dispatchDidNavigateWithinPage is called in this case by 21885 the FrameLoader. 21886 21887 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction): 21888 (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem): Move the code 21889 for handling the dummy chrome-back-forward://go/ URLs from 21890 dispatchDecidePolicyForNavigationAction to shouldGoToHistoryItem, which 21891 prevents the URLs from leaking into session history. 21892 shouldGoToHistoryItem is called before any work is done by history 21893 traversal, so this is a better place for this hack. Ultimately, this 21894 code should be eliminatd in favor of better integration with 21895 FrameLoader or HistoryController. 21896 21897 * src/FrameLoaderClientImpl.h: 21898 21899 2010-03-15 Darin Fisher <darin (a] chromium.org> 21900 21901 Fix build bustage. We also need to pull down "third_party/tcmalloc" 21902 21903 * DEPS: 21904 21905 2010-03-15 Darin Fisher <darin (a] chromium.org> 21906 21907 Fix build bustage. We also need to pull down "gfx" 21908 21909 * DEPS: 21910 21911 2010-03-15 Darin Fisher <darin (a] chromium.org> 21912 21913 Reviewed by David Levin. 21914 21915 https://bugs.webkit.org/show_bug.cgi?id=36131 21916 Update include paths for chromium Rect, Point, and Size types. 21917 21918 Update DEPS to pull latest chromium code that reflects the 21919 new location of these headers. 21920 21921 * DEPS: 21922 * public/WebPoint.h: 21923 * public/WebRect.h: 21924 * public/WebSize.h: 21925 21926 2010-03-15 Marcus Bulach <bulach (a] chromium.org> 21927 21928 Reviewed by Jeremy Orlow. 21929 21930 Send the frame URL on GeolocationServiceBridgeImpl::startUpdating. 21931 https://bugs.webkit.org/show_bug.cgi?id=36012 21932 21933 * public/GeolocationServiceBridgeChromium.h: 21934 * src/GeolocationServiceBridgeChromium.cpp: 21935 (WebKit::GeolocationServiceBridgeImpl::startUpdating): 21936 21937 2010-03-15 Patrik Persson <patrik.j.persson (a] ericsson.com> 21938 21939 Reviewed by Darin Adler. 21940 21941 https://bugs.webkit.org/show_bug.cgi?id=32369 21942 21943 Revise iframe sandbox behavior to match the updated HTML5 spec. 21944 21945 - Enables window.sessionStorage in sandboxed iframes. 21946 21947 - Raises SECURITY_ERR exceptions when window.localStorage or 21948 window.openDatabase() is blocked by iframe sandboxing. 21949 21950 Note: window.sessionStorage does not raise exceptions. 21951 21952 WebKit would previously return null references in these cases. The 21953 new behavior is in accordance with HTML5: 21954 21955 http://dev.w3.org/html5/webstorage/ (sections 4.2 and 4.3) 21956 http://dev.w3.org/html5/webdatabase/ (section 4.1) 21957 http://www.mail-archive.com/whatwg@lists.whatwg.org/msg19786.html 21958 21959 * src/StorageAreaProxy.cpp: 21960 (WebCore::StorageAreaProxy::storageEvent): exception handling 21961 * src/StorageEventDispatcherImpl.cpp: 21962 (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent): exception handling 21963 21964 2010-03-15 Tony Chang <tony (a] chromium.org> 21965 21966 Reviewed by Darin Adler. 21967 21968 option-pageup/down should move cursor on chromium mac 21969 https://bugs.webkit.org/show_bug.cgi?id=36108 21970 21971 * src/EditorClientImpl.cpp: 21972 (WebKit::): 21973 21974 2010-03-13 Eric Roman <eroman (a] chromium.org> 21975 21976 Reviewed by Adam Barth. 21977 21978 Add a firstPartyForCookies() property to WebDocument. 21979 https://bugs.webkit.org/show_bug.cgi?id=35592 21980 21981 * public/WebDocument.h: 21982 * src/WebDocument.cpp: 21983 (WebKit::WebDocument::firstPartyForCookies): 21984 21985 2010-03-12 Garret Kelly <gdk (a] chromium.org> 21986 21987 Unreiviewed. 21988 21989 Fix Chromium Mac build. Last patch did not apply properly. 21990 (Garret assures me this patch will actually work.) 21991 21992 * src/WebInputEventConversion.cpp: 21993 (WebKit::toPlatformTouchEventType): 21994 (WebKit::toPlatformTouchPointState): 21995 21996 2010-03-12 Garret Kelly <gdk (a] chromium.org> 21997 21998 Unreviewed. 21999 22000 Fix Chromium Mac build. This time, with actual fixing goodness. 22001 22002 * src/WebInputEventConversion.cpp: 22003 (WebKit::toPlatformTouchEventType): 22004 (WebKit::toPlatformTouchPointState): 22005 22006 2010-03-12 Garret Kelly <gdk (a] chromium.org> 22007 22008 Unreviewed. 22009 22010 Fix Chromium Mac build. 22011 22012 * src/WebInputEventConversion.cpp: 22013 (WebKit::toPlatformTouchEventType): 22014 (WebKit::toPlatformTouchPointState): 22015 22016 2010-03-12 Garret Kelly <gdk (a] chromium.org> 22017 22018 Reviewed by Eric Seidel. 22019 22020 Enable touch events in Chromium features gypi file. 22021 https://bugs.webkit.org/show_bug.cgi?id=35994 22022 22023 * features.gypi: 22024 22025 2010-03-12 Darin Fisher <darin (a] chromium.org> 22026 22027 Fix Chromium build bustage. 22028 22029 Wrap usage of WebPrivatePtr from WebNode.h in a #if 22030 WEBKIT_IMPLEMENTATION guard. 22031 22032 * public/WebNode.h: 22033 22034 2010-03-12 Nicolas Weber <thakis (a] chromium.org> 22035 22036 Reviewed by David Levin. 22037 22038 [Chromium] Cmd-clicking submit buttons should submit in new tab 22039 https://bugs.webkit.org/show_bug.cgi?id=36023 22040 22041 Take modifiers into account when clicking form buttons. E.g. 22042 cmd-clicking a submit button will submit in a new background tab, 22043 cmd-shift-clicking in a new foreground tab, shift-clicking in a new 22044 window. (On windows/linux, it's ctrl instead of cmd.) 22045 22046 * src/FrameLoaderClientImpl.cpp: 22047 (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy): 22048 22049 2010-03-12 Kavita Kanetkar <kkanetkar (a] chromium.org> 22050 22051 Reviewed by Darin Fisher. 22052 22053 [chromium] Fix memory leak in WebImageDecoder API 22054 https://bugs.webkit.org/show_bug.cgi?id=35946 22055 22056 * src/WebImageDecoder.cpp: 22057 (WebKit::WebImageDecoder::setData): 22058 (WebKit::WebImageDecoder::getFrameAtIndex): 22059 22060 2010-03-11 Aaron Boodman <aa (a] chromium.org> 22061 22062 Kill WebDocument::applicationID() (part 1). 22063 22064 Modify interface to WebCore::NotificationPresenter::checkPermission() 22065 and remove implementation of WebDocument::applicationID(). Breaking 22066 API changes will be in a subsequent change. 22067 https://bugs.webkit.org/show_bug.cgi?id=35846 22068 22069 * public/WebNotificationPresenter.h: 22070 * src/NotificationPresenterImpl.cpp: 22071 (WebKit::NotificationPresenterImpl::checkPermission): 22072 * src/NotificationPresenterImpl.h: 22073 * src/WebDocument.cpp: 22074 (WebKit::WebDocument::applicationID): 22075 22076 2010-03-11 Stuart Morgan <stuartmorgan (a] chromium.org> 22077 22078 Reviewed by Darin Fisher. 22079 22080 Fix the screen coordinate conversion of Chromium Mac mouse events for 22081 multiple-moniter setups. Also changes the global coordinate values 22082 to be computed from the event, rather than the instantaneous mouse 22083 location, and reduces code duplication for location conversion. 22084 22085 Dual-sided patch with http://codereview.chromium.org/751002 22086 22087 https://bugs.webkit.org/show_bug.cgi?id=35950 22088 22089 * src/mac/WebInputEventFactory.mm: 22090 (WebKit::setWebEventLocationFromEventInView): 22091 (WebKit::WebInputEventFactory::mouseEvent): 22092 (WebKit::WebInputEventFactory::mouseWheelEvent): 22093 22094 2010-03-11 Anders Carlsson <andersca (a] apple.com> 22095 22096 Reviewed by David Hyatt. 22097 22098 Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents. 22099 22100 * src/ChromeClientImpl.cpp: 22101 * src/ChromeClientImpl.h: 22102 22103 2010-03-10 Darin Fisher <darin (a] chromium.org> 22104 22105 Reviewed by Jeremy Orlow. 22106 22107 Use WebPrivatePtr for WebNode 22108 https://bugs.webkit.org/show_bug.cgi?id=36005 22109 22110 * public/WebElement.h: 22111 * public/WebFormElement.h: 22112 * public/WebInputElement.h: 22113 * public/WebLabelElement.h: 22114 * public/WebNode.h: 22115 (WebKit::WebNode::WebNode): 22116 (WebKit::WebNode::isNull): 22117 (WebKit::WebNode::unwrap): 22118 (WebKit::WebNode::constUnwrap): 22119 * public/WebPrivatePtr.h: 22120 (WebKit::WebPrivatePtr::assign): 22121 * src/WebDocument.cpp: 22122 (WebKit::WebDocument::WebDocument): 22123 (WebKit::WebDocument::operator=): 22124 (WebKit::WebDocument::operator PassRefPtr<Document>): 22125 * src/WebElement.cpp: 22126 (WebKit::WebElement::hasTagName): 22127 (WebKit::WebElement::WebElement): 22128 (WebKit::WebElement::operator=): 22129 (WebKit::WebElement::operator PassRefPtr<Element>): 22130 * src/WebFormElement.cpp: 22131 (WebKit::WebFormElement::WebFormElement): 22132 (WebKit::WebFormElement::operator=): 22133 (WebKit::WebFormElement::operator PassRefPtr<HTMLFormElement>): 22134 * src/WebInputElement.cpp: 22135 (WebKit::WebInputElement::WebInputElement): 22136 (WebKit::WebInputElement::operator=): 22137 (WebKit::WebInputElement::operator PassRefPtr<HTMLInputElement>): 22138 * src/WebLabelElement.cpp: 22139 (WebKit::WebLabelElement::correspondingControl): 22140 (WebKit::WebLabelElement::operator=): 22141 (WebKit::WebLabelElement::operator PassRefPtr<HTMLLabelElement>): 22142 * src/WebNode.cpp: 22143 (WebKit::WebNode::reset): 22144 (WebKit::WebNode::assign): 22145 (WebKit::WebNode::equals): 22146 (WebKit::WebNode::parentNode): 22147 (WebKit::WebNode::createMarkup): 22148 (WebKit::WebNode::addEventListener): 22149 (WebKit::WebNode::removeEventListener): 22150 (WebKit::WebNode::simulateClick): 22151 (WebKit::WebNode::WebNode): 22152 (WebKit::WebNode::operator=): 22153 (WebKit::WebNode::operator PassRefPtr<Node>): 22154 22155 2010-03-10 Darin Fisher <darin (a] chromium.org> 22156 22157 Reviewed by Jeremy Orlow. 22158 22159 Add API wrapper for WebCore::SerializedScriptValue 22160 https://bugs.webkit.org/show_bug.cgi?id=35988 22161 22162 WebSerializedScriptValue is a wrapper around SerializedScriptValue. 22163 22164 WebPrivatePtr is used to simplify wrapping reference counted WebCore 22165 types. This class is used to cleanup WebHistoryItem, and will be used 22166 to clean up other classes in the WebKit API in a follow-up patch. 22167 22168 * WebKit.gyp: 22169 * public/WebHistoryItem.h: 22170 * public/WebPrivatePtr.h: Added. 22171 * public/WebSerializedScriptValue.h: Added. 22172 * src/WebHistoryItem.cpp: 22173 * src/WebSerializedScriptValue.cpp: Added. 22174 22175 2010-03-10 Sanjeev Radhakrishnan <sanjeevr (a] chromium.org> 22176 22177 Reviewed by Darin Fisher. 22178 22179 Allow a plugin to participate in the browser's print workflow. 22180 https://bugs.webkit.org/show_bug.cgi?id=35550 22181 22182 * public/WebFrame.h: 22183 * public/WebPlugin.h: 22184 * src/WebFrameImpl.cpp: 22185 * src/WebFrameImpl.h: 22186 * src/WebPluginContainerImpl.cpp: 22187 * src/WebPluginContainerImpl.h: 22188 22189 2010-03-10 John Abd-El-Malek <jam (a] chromium.org> 22190 22191 Reviewed by Nate Chapin. 22192 22193 [chromium]: Fix regression in mouse capture on Mac/Linux 22194 https://bugs.webkit.org/show_bug.cgi?id=35987 22195 22196 * src/WebViewImpl.cpp: 22197 22198 2010-03-10 Evan Stade <estade (a] chromium.org> 22199 22200 Reviewed by David Levin. 22201 22202 [chromium] add functionality to activate the focused node in a WebView 22203 https://bugs.webkit.org/show_bug.cgi?id=35407 22204 22205 * public/WebDocument.h: 22206 * public/WebNode.h: 22207 * src/WebDocument.cpp: 22208 (WebKit::WebDocument::focusedNode): Added 22209 * src/WebNode.cpp: 22210 (WebKit::WebNode::simulateClick): Added 22211 22212 2010-03-10 John Abd-El-Malek <jam (a] chromium.org> 22213 22214 Reviewed by Darin Fisher. 22215 22216 https://bugs.webkit.org/show_bug.cgi?id=35952 22217 Propagate mouse wheel events to Pepper plugins. 22218 22219 * src/WebInputEventConversion.cpp: 22220 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder): 22221 * src/WebInputEventConversion.h: 22222 * src/WebPluginContainerImpl.cpp: 22223 (WebKit::WebPluginContainerImpl::handleEvent): 22224 (WebKit::WebPluginContainerImpl::handleMouseEvent): 22225 (WebKit::WebPluginContainerImpl::handleWheelEvent): 22226 (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 22227 * src/WebPluginContainerImpl.h: 22228 22229 2010-03-10 Garret Kelly <gdk (a] chromium.org> 22230 22231 Reviewed by Darin Fisher. 22232 22233 Add support for converting WebTouchEvents to PlatformTouchEvents and 22234 routing them into the EventHandler for the frame in which they 22235 originate. 22236 https://bugs.webkit.org/show_bug.cgi?id=35874 22237 22238 * src/ChromeClientImpl.h: 22239 (WebKit::ChromeClientImpl::needTouchEvents): 22240 * src/WebViewImpl.cpp: 22241 (WebKit::WebViewImpl::touchEvent): Handle incoming WebTouchEvents, 22242 converting them to PlatformTouchEvents and sending them to the 22243 EventHandler. 22244 (WebKit::WebViewImpl::handleInputEvent): Now routes WebTouchEvents to 22245 the touchEvent handler. 22246 * src/WebViewImpl.h: 22247 22248 2010-03-10 Nate Chapin <japhet (a] chromium.org> 22249 22250 Reviewed by Dimitri Glazkov. 22251 22252 Wrap and unwrap v8 objects with WrapperTypeInfo instead of V8ClassIndex::V8WrapperType. 22253 22254 https://bugs.webkit.org/show_bug.cgi?id=35941 22255 22256 * src/WebBindings.cpp: 22257 (WebKit::getRangeImpl): 22258 * src/WebDevToolsAgentImpl.cpp: 22259 (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper): 22260 * src/WebDevToolsFrontendImpl.cpp: 22261 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu): 22262 22263 2010-03-10 Garret Kelly <gdk (a] chromium.org> 22264 22265 Reviewed by Darin Fisher. 22266 22267 Fixing build warning caused by using 0 instead of NULL as the sentiel 22268 in a varargs call. 22269 https://bugs.webkit.org/show_bug.cgi?id=35898 22270 22271 * src/gtk/WebInputEventFactory.cpp: 22272 22273 2010-03-10 Jeremy Orlow <jorlow (a] chromium.org> 22274 22275 Reviewed by Darin Fisher. 22276 22277 Add IndexedDatabase class and hook it up. 22278 https://bugs.webkit.org/show_bug.cgi?id=35927 22279 22280 This change is mostly just adding the plumbing necessary for 22281 the IndexedDatabaseRequest and IndexedDatabaseSync (not written 22282 yet). 22283 22284 * WebKit.gyp: 22285 * public/WebIndexedDatabase.h: Added. 22286 (WebKit::WebIndexedDatabase::~WebIndexedDatabase): 22287 * public/WebKitClient.h: 22288 (WebKit::WebKitClient::getIndexedDatabase): 22289 * src/ChromiumBridge.cpp: 22290 (WebCore::ChromiumBridge::getIndexedDatabase): 22291 * src/IndexedDatabaseProxy.cpp: Added. 22292 (WebCore::IndexedDatabaseProxy::create): 22293 (WebCore::IndexedDatabaseProxy::IndexedDatabaseProxy): 22294 (WebCore::IndexedDatabaseProxy::~IndexedDatabaseProxy): 22295 (WebCore::IndexedDatabaseProxy::open): 22296 * src/IndexedDatabaseProxy.h: Added. 22297 22298 2010-03-10 Andrey Kosyakov <caseq (a] chromium.org> 22299 22300 Reviewed by Pavel Feldman. 22301 22302 Web Inspector: display list of active workers & support debugging 22303 with fake workers 22304 https://bugs.webkit.org/show_bug.cgi?id=35568 22305 22306 * src/js/InspectorControllerImpl.js: 22307 (devtools.InspectorBackendImpl): 22308 22309 2010-03-10 Tony Chang <tony (a] chromium.org> 22310 22311 Reviewed by Darin Fisher. 22312 22313 https://bugs.webkit.org/show_bug.cgi?id=35956 22314 Create a grd file upstream for resources that chromium uses 22315 that are pulled directly from the upstream repository. 22316 22317 * WebKit.grd: Added. 22318 22319 2010-03-10 Roland Steiner <rolandsteiner (a] chromium.org> 22320 22321 Reviewed by David Levin. 22322 22323 Bug 28293 - [Chromium] event.datatransfer.getdata("text/uri-list") is treated the same as getdata("URL") 22324 https://bugs.webkit.org/show_bug.cgi?id=28293 22325 22326 Change ChromiumDataObject such that it treats types "URL" and "text/uri-list" 22327 correctly for event.dataTransfer.getData/setData. Currently both are treated 22328 as synonyms, but for "URL", getData is supposed to only return the first valid URL 22329 contained within the data for "text/uri-list" (see HTML5 spec). 22330 22331 Tests: editing/pasteboard/dataTransfer-setData-getData.html 22332 22333 * src/WebDragData.cpp: 22334 (WebKit::WebDragData::url): 22335 (WebKit::WebDragData::setURL): 22336 22337 2010-03-08 John Abd-El-Malek <jam (a] chromium.org> 22338 22339 Reviewed by Darin Fisher. 22340 22341 Need to send mouse events to plugin when it has mouse capture 22342 https://bugs.webkit.org/show_bug.cgi?id=35900 22343 22344 * public/WebInputEvent.h: 22345 (WebKit::WebInputEvent::isMouseEventType): 22346 * src/WebViewImpl.cpp: 22347 (WebKit::WebViewImpl::WebViewImpl): 22348 (WebKit::WebViewImpl::mouseDown): 22349 (WebKit::WebViewImpl::mouseUp): 22350 (WebKit::WebViewImpl::handleInputEvent): 22351 * src/WebViewImpl.h: 22352 22353 2010-03-09 Anton Muhin <antonm (a] chromium.org> 22354 22355 Reviewed by Darin Fisher. 22356 22357 Accept and bailout NULL widgets in ChromiumBridge 22358 https://bugs.webkit.org/show_bug.cgi?id=35796 22359 22360 * src/ChromiumBridge.cpp: 22361 (WebCore::toChromeClientImpl): 22362 22363 2010-03-09 Yury Semikhatsky <yurys (a] chromium.org> 22364 22365 Reviewed by Pavel Feldman. 22366 22367 Use clean global object for devtools utility context instead of 22368 trying to simulate inspected context. 22369 22370 https://bugs.webkit.org/show_bug.cgi?id=35923 22371 22372 * src/DebuggerAgentImpl.cpp: 22373 * src/DebuggerAgentImpl.h: 22374 * src/WebDevToolsAgentImpl.cpp: 22375 (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy): 22376 22377 2010-03-08 Alexey Proskuryakov <ap (a] apple.com> 22378 22379 Chromium build fix. 22380 22381 Updated for the removal of "mightDownloadFromHandle". 22382 22383 * src/ResourceHandle.cpp: 22384 (WebCore::ResourceHandle::ResourceHandle): 22385 (WebCore::ResourceHandle::create): 22386 22387 2010-03-08 Dimitri Glazkov <dglazkov (a] chromium.org> 22388 22389 Reviewed by Darin Fisher. 22390 22391 [Chromium] Reset multiple form submission protection on mouse events. 22392 https://bugs.webkit.org/show_bug.cgi?id=35128 22393 22394 * src/WebViewImpl.cpp: 22395 (WebKit::WebViewImpl::mouseDown): 22396 22397 2010-03-08 Michael Nordman <michaeln (a] google.com> 22398 22399 Reviewed by Darin Fisher. 22400 22401 Quick fix for a chromium unit test failures around r55675 (repaint refactoring). 22402 This change restores the tests for empty rects that were deleted. 22403 22404 https://bugs.webkit.org/show_bug.cgi?id=35878 22405 22406 * src/ChromeClientImpl.cpp: 22407 (WebKit::ChromeClientImpl::invalidateContentsAndWindow): 22408 * src/WebPopupMenuImpl.cpp: 22409 (WebKit::WebPopupMenuImpl::invalidateContentsAndWindow): 22410 22411 2010-03-02 Adam Treat <atreat (a] rim.com> 22412 22413 Reviewed by Dave Hyatt. 22414 22415 Adapt the chromium port to the refactoring of repaint methods. 22416 22417 https://bugs.webkit.org/show_bug.cgi?id=34214 22418 22419 * src/ChromeClientImpl.cpp: 22420 (WebKit::ChromeClientImpl::invalidateContents): 22421 (WebKit::ChromeClientImpl::invalidateWindow): 22422 (WebKit::ChromeClientImpl::invalidateContentsAndWindow): 22423 (WebKit::ChromeClient::invalidateContentsForSlowScroll): 22424 * src/ChromeClientImpl.h: 22425 22426 2010-03-08 Jian Li <jianli (a] chromium.org> 22427 22428 Reviewed by Dmitry Titov. 22429 22430 Blob.slice support. 22431 https://bugs.webkit.org/show_bug.cgi?id=32993 22432 22433 Add ENABLE_BLOB_SLICE feature define. 22434 22435 * features.gypi: 22436 22437 2010-03-08 Eric Uhrhane <ericu (a] chromium.org> 22438 22439 Reviewed by David Levin. 22440 22441 Remove the now-redundant Settings fields for the Database 22442 https://bugs.webkit.org/show_bug.cgi?id=35763 22443 22444 No new tests; this code isn't called. 22445 22446 * public/WebSettings.h: 22447 * src/WebSettingsImpl.cpp: 22448 * src/WebSettingsImpl.h: 22449 22450 2010-03-08 Jeremy Orlow <jorlow (a] chromium.org> 22451 22452 Reviewed by Darin Fisher. 22453 22454 Pass the WebFrame into WebStorageArea::setItem so we can figure out the routing ID 22455 https://bugs.webkit.org/show_bug.cgi?id=35758 22456 22457 This is necessary since setItem is sometimes blocked and the embedder might need 22458 to display some piece of UI associated with such an event. 22459 22460 * public/WebStorageArea.h: 22461 (WebKit::WebStorageArea::setItem): 22462 * src/StorageAreaProxy.cpp: 22463 (WebCore::StorageAreaProxy::setItem): 22464 * src/WebStorageAreaImpl.cpp: 22465 (WebKit::WebStorageAreaImpl::setItem): 22466 * src/WebStorageAreaImpl.h: 22467 22468 2010-03-07 Mark Rowe <mrowe (a] apple.com> 22469 22470 Chromium build fix. 22471 22472 * src/ChromiumBridge.cpp: Include SharedBuffer.h since WebCore::SharedBuffer is being used. 22473 22474 2010-03-07 Mark Rowe <mrowe (a] apple.com> 22475 22476 Chromium build fix. 22477 22478 * src/ResourceHandle.cpp: Include SharedBuffer.h since WebCore::SharedBuffer is being used. 22479 22480 2010-03-06 Pavel Feldman <pfeldman (a] chromium.org> 22481 22482 Reviewed by Timothy Hatcher. 22483 22484 Chromium: Restore devtools window activate upon node search complete. 22485 22486 https://bugs.webkit.org/show_bug.cgi?id=35832 22487 22488 * src/js/DevTools.js: 22489 22490 2010-03-06 Darin Fisher <darin (a] chromium.org> 22491 22492 Reviewed by David Levin. 22493 22494 [Chromium] Embedder initiated loads should not always stop existing loads 22495 https://bugs.webkit.org/show_bug.cgi?id=33862 22496 22497 * src/WebFrameImpl.cpp: 22498 (WebKit::WebFrameImpl::reload): 22499 (WebKit::WebFrameImpl::loadRequest): 22500 (WebKit::WebFrameImpl::loadHistoryItem): 22501 (WebKit::WebFrameImpl::loadData): 22502 22503 2010-03-06 Darin Fisher <darin (a] chromium.org> 22504 22505 Reviewed by David Levin. 22506 22507 [Chromium] spurious WebViewClient::didStopLoading if changing 22508 location.hash while a subframe is still loading 22509 22510 https://bugs.webkit.org/show_bug.cgi?id=33884 22511 22512 * src/FrameLoaderClientImpl.cpp: 22513 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): 22514 Call isLoadingInAPISense, which checks subframes. 22515 22516 2010-03-06 Hironori Bono <hbono (a] chromium.org> 22517 22518 Reviewed by Eric Seidel. 22519 22520 [Chromium] Typing into Flash with wmode = opaque|transparent and 22521 non-latin language active outputs as if US keyboard layout active 22522 22523 https://bugs.webkit.org/show_bug.cgi?id=34936 22524 22525 This change is a WebKit-side change for this issue. It dispatches 22526 Char events to plug-ins so plug-ins can receive non-ASCII characters 22527 as well as ASCII characters. 22528 22529 * src/WebViewImpl.cpp: 22530 (WebKit::WebViewImpl::keyEvent): 22531 22532 2010-03-06 Kavita Kanetkar <kkanetkar (a] chromium.org> 22533 22534 Reviewed by Darin Fisher. 22535 22536 Create WebKit API for WebCore::ImageDecoder 22537 https://bugs.webkit.org/show_bug.cgi?id=35415 22538 22539 * WebKit.gyp: 22540 * public/WebImageDecoder.h: Added. 22541 * src/WebImageDecoder.cpp: Added. 22542 22543 2010-03-05 John Abd-El-Malek <jam (a] chromium.org> 22544 22545 Reviewed by Darin Fisher. 22546 22547 Take out code hack that flips the result of NPP_HandleEvent. This needs to move to 22548 the NPAPI code so that Pepper plugins don't hit it. 22549 https://bugs.webkit.org/show_bug.cgi?id=35779 22550 22551 * public/WebPluginContainer.h: 22552 * src/WebPluginContainerImpl.cpp: 22553 (WebKit::WebPluginContainerImpl::handleMouseEvent): 22554 (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 22555 22556 2010-03-05 Ilya Tikhonovsky <loislo (a] chromium.org> 22557 22558 Reviewed by Pavel Feldman. 22559 22560 Web Inspector: Do not show link helper in popovers and/or for external resources. 22561 22562 https://bugs.webkit.org/show_bug.cgi?id=35785 22563 22564 * src/js/DebuggerAgent.js: 22565 (devtools.DebuggerAgent.prototype.initUI): 22566 (devtools.DebuggerAgent.prototype.addScriptInfo_): 22567 22568 2010-03-04 Garret Kelly <gdk (a] chromium.org> 22569 22570 Reviewed by Darin Fisher. 22571 22572 Adding PlatformTouchEventBuilder and PlatformTouchPointBuilder for 22573 converting Chromium WebTouchEvent and WebTouchPoint types to 22574 corresponding WebCore types. 22575 https://bugs.webkit.org/show_bug.cgi?id=35760 22576 22577 * src/WebInputEventConversion.cpp: 22578 (WebKit::toPlatformTouchEventType): 22579 (WebKit::toPlatformTouchPointState): 22580 (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder): 22581 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder): 22582 * src/WebInputEventConversion.h: 22583 22584 2010-03-04 John Gregg <johnnyg (a] google.com> 22585 22586 Reviewed by Darin Fisher. 22587 22588 [chromium] WebDocument:applicationID() crashes on <meta> tag with no http-equiv attribute 22589 https://bugs.webkit.org/show_bug.cgi?id=35771 22590 22591 * src/WebDocument.cpp: 22592 (WebKit::WebDocument::applicationID): 22593 check for presence of http-equiv attribute before lower()ing it. 22594 22595 2010-03-04 Darin Fisher <darin (a] chromium.org> 22596 22597 Reviewed by Dmitry Titov. 22598 22599 [chromium] make history.{push,replace}State enabled at runtime 22600 https://bugs.webkit.org/show_bug.cgi?id=35753 22601 22602 * public/WebRuntimeFeatures.h: 22603 * src/WebRuntimeFeatures.cpp: 22604 (WebKit::WebRuntimeFeatures::enablePushState): 22605 (WebKit::WebRuntimeFeatures::isPushStateEnabled): 22606 22607 2010-03-04 Pavel Feldman <pfeldman (a] chromium.org> 22608 22609 Not reviewed: chromium tests fix. 22610 22611 * src/js/Tests.js: 22612 22613 2010-03-03 Pavel Feldman <pfeldman (a] chromium.org> 22614 22615 Reviewed by Timothy Hatcher. 22616 22617 Web Inspector: Remove two last synchronous calls from front-end to InspectorBackend. 22618 22619 https://bugs.webkit.org/show_bug.cgi?id=35720 22620 22621 * src/js/InspectorControllerImpl.js: 22622 (devtools.InspectorBackendImpl): 22623 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState): 22624 22625 2010-03-03 Pavel Feldman <pfeldman (a] chromium.org> 22626 22627 Reviewed by Timothy Hatcher. 22628 22629 Web Inspector: Remove sync access to resourceTrackingEnabled. 22630 22631 https://bugs.webkit.org/show_bug.cgi?id=35693 22632 22633 * src/js/DevTools.js: 22634 22635 2010-03-04 Darin Fisher <darin (a] chromium.org> 22636 22637 Reviewed by Pavel Feldman. 22638 22639 Fix failing DevToolsSanityTest.TestResourceContentLength 22640 https://bugs.webkit.org/show_bug.cgi?id=35725 22641 22642 http://trac.webkit.org/changeset/55466 missed one more spot 22643 where contentLength needed to be renamed resourceSize. 22644 22645 * src/js/Tests.js: 22646 22647 2010-03-03 Garret Kelly <gdk (a] chromium.org> 22648 22649 Reviewed by Darin Fisher. 22650 22651 Adding touch event type and point type. Tested against the try bots. 22652 https://bugs.webkit.org/show_bug.cgi?id=35691 22653 22654 * public/WebInputEvent.h: 22655 (WebKit::WebInputEvent::): 22656 (WebKit::WebInputEvent::isTouchEventType): 22657 (WebKit::WebTouchEvent::WebTouchEvent): 22658 * public/WebTouchPoint.h: Added. 22659 (WebKit::WebTouchPoint::WebTouchPoint): 22660 (WebKit::WebTouchPoint::): 22661 22662 2010-03-02 Tony Chang <tony (a] chromium.org> 22663 22664 Reviewed by Darin Fisher. 22665 22666 add a flag to WebURLResponse so we can identify multipart content 22667 https://bugs.webkit.org/show_bug.cgi?id=35628 22668 22669 * public/WebURLResponse.h: 22670 * src/WebURLResponse.cpp: 22671 (WebKit::WebURLResponse::isMultipartPayload): 22672 (WebKit::WebURLResponse::setIsMultipartPayload): 22673 22674 2010-03-02 Adam Barth <abarth (a] webkit.org> 22675 22676 Reviewed by Darin Fisher. 22677 22678 Google Analytics triggers "blocked plugin" UI 22679 https://bugs.webkit.org/show_bug.cgi?id=35565 22680 22681 Plumb didNotAllowPlugins to the client. 22682 22683 * public/WebFrameClient.h: 22684 (WebKit::WebFrameClient::didNotAllowPlugins): 22685 * src/FrameLoaderClientImpl.cpp: 22686 (WebKit::FrameLoaderClientImpl::didNotAllowPlugins): 22687 * src/FrameLoaderClientImpl.h: 22688 22689 2010-03-02 Chris Fleizach <cfleizach (a] apple.com> 22690 22691 Reviewed by Beth Dakin. 22692 22693 aria-label isn't respected on option elements 22694 https://bugs.webkit.org/show_bug.cgi?id=35400 22695 22696 * src/SuggestionsPopupMenuClient.h: 22697 (WebKit::SuggestionsPopupMenuClient::itemAccessibilityText): 22698 22699 2010-03-02 Mads Ager <ager (a] chromium.org> 22700 22701 Reviewed by Adam Barth. 22702 22703 [V8] V8 should be notified of context disposals 22704 https://bugs.webkit.org/show_bug.cgi?id=35526 22705 22706 Update V8 DEPS in order to get V8 API changes needed for context 22707 disposal notifications. 22708 22709 * DEPS: 22710 22711 2010-03-02 Kenneth Russell <kbr (a] google.com> 22712 22713 Reviewed by Darin Fisher. 22714 22715 Add EnabledAtRuntime attribute to WebGLArray constructors 22716 https://bugs.webkit.org/show_bug.cgi?id=35558 22717 22718 * public/WebRuntimeFeatures.h: 22719 * src/WebRuntimeFeatures.cpp: 22720 (WebKit::WebRuntimeFeatures::enableWebGL): 22721 (WebKit::WebRuntimeFeatures::isWebGLEnabled): 22722 22723 2010-03-02 James Hawkins <jhawkins (a] chromium.org> 22724 22725 Reviewed by Darin Fisher. 22726 22727 [Chromium] Implement WebNode::equals and add inline operators for == 22728 and !=. 22729 22730 https://bugs.webkit.org/show_bug.cgi?id=35543 22731 22732 * public/WebNode.h: 22733 (WebKit::operator==): 22734 (WebKit::operator!=): 22735 * src/WebNode.cpp: 22736 (WebKit::WebNode::equals): 22737 22738 2010-03-01 Jakob Petsovits <jpetsovits (a] rim.com> 22739 22740 Reviewed by Adam Barth. 22741 22742 Adapt to the new ZoomMode enum. 22743 https://bugs.webkit.org/show_bug.cgi?id=35347 22744 22745 * src/WebViewImpl.cpp: 22746 (WebKit::WebViewImpl::setZoomLevel): 22747 22748 2010-03-01 Thatcher Ulrich <tulrich (a] google.com> 22749 22750 Reviewed by Darin Fisher. 22751 22752 Fix chromium iframe shims. Add another test case to the 22753 iframes-shims test. After r53637, the plugin widget doesn't get 22754 moved every paint. This used to hide the bug that if an iframe 22755 gets added, the plugin's cutout rectangles don't get updated until 22756 a layout happens. 22757 https://bugs.webkit.org/show_bug.cgi?id=35184 22758 22759 * src/WebPluginContainerImpl.cpp: 22760 (WebKit::WebPluginContainerImpl::widgetPositionsUpdated): do reportGeometry() to ensure that 22761 the plugin is aware of the positions of cutouts on the page (for iframe shim behavior). 22762 * src/WebPluginContainerImpl.h: 22763 22764 2010-02-27 Pavel Feldman <pfeldman (a] chromium.org> 22765 22766 Reviewed by Timothy Hatcher. 22767 22768 Chromium: remove DevTools part that has been upstreamed. 22769 22770 * src/js/DevTools.js: 22771 22772 2010-02-26 Pavel Feldman <pfeldman (a] chromium.org> 22773 22774 Reviewed by Timothy Hatcher. 22775 22776 Web Inspector: reload inspected page on Cmd+R / Ctrl+R / F5 key event in inspector. 22777 22778 * src/WebDevToolsFrontendImpl.cpp: 22779 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 22780 (WebKit::WebDevToolsFrontendImpl::jsCanAttachWindow): 22781 * src/WebDevToolsFrontendImpl.h: 22782 * src/js/InspectorControllerImpl.js: 22783 (devtools.InspectorBackendImpl): 22784 (devtools.InspectorBackendImpl.prototype.toggleNodeSearch): 22785 22786 2010-02-26 James Hawkins <jhawkins (a] chromium.org> 22787 22788 Reviewed by Darin Fisher. 22789 22790 [Chromium] Verify that the Nodes being enumerated are HTML elements. 22791 22792 https://bugs.webkit.org/show_bug.cgi?id=35463 22793 22794 * src/WebFrameImpl.cpp: 22795 (WebKit::WebFrameImpl::forms): 22796 22797 2010-02-26 Adam Barth <abarth (a] webkit.org> 22798 22799 Reviewed by Darin Fisher. 22800 22801 Expose an API for ports to add schemes to the mixed content whitelist 22802 https://bugs.webkit.org/show_bug.cgi?id=35438 22803 22804 Expose registerURLSchemeAsSecure via the WebKit API. 22805 22806 * public/WebSecurityPolicy.h: 22807 * src/WebSecurityPolicy.cpp: 22808 (WebKit::WebSecurityPolicy::registerURLSchemeAsSecure): 22809 22810 2010-02-26 Brett Wilson <brettw (a] chromium.org> 22811 22812 Fix chromium build. This test's expectation became obsolete with 22813 recent changes to KURL which my previous change brings Chromium's 22814 port in compliance with. 22815 22816 * tests/KURLTest.cpp: 22817 (ComponentCase::TEST): 22818 22819 2010-02-26 Yaar Schnitman <yaar (a] chromium.org> 22820 22821 Chromium build fix. 22822 22823 * features.gypi: Added missing new variable enable_svg. 22824 22825 2010-02-26 Yaar Schnitman <yaar (a] chromium.org> 22826 22827 Reviewed by Dimitri Glazkov. 22828 22829 [V8] Auto-generate and split DerivedSourcesAllInOne.cpp 22830 https://bugs.webkit.org/show_bug.cgi?id=33048 22831 22832 * DEPS: Incremented gyp revision. 22833 22834 2010-02-26 Darin Fisher <darin (a] chromium.org> 22835 22836 Fix mac warning (that gets treated as an error in the chromium build). 22837 22838 * src/ChromiumBridge.cpp: 22839 (WebCore::ChromiumBridge::cookiesEnabled): 22840 22841 2010-02-25 Darin Fisher <darin (a] chromium.org> 22842 22843 Reviewed by David Levin. 22844 22845 Remove deprecated cookie methods. 22846 https://bugs.webkit.org/show_bug.cgi?id=35420 22847 22848 * public/WebFrameClient.h: 22849 * public/WebKitClient.h: 22850 * src/ChromiumBridge.cpp: 22851 (WebCore::ChromiumBridge::setCookies): 22852 (WebCore::ChromiumBridge::cookies): 22853 (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue): 22854 (WebCore::ChromiumBridge::rawCookies): 22855 (WebCore::ChromiumBridge::deleteCookie): 22856 (WebCore::ChromiumBridge::cookiesEnabled): 22857 22858 2010-02-25 James Hawkins <jhawkins (a] chromium.org> 22859 22860 Reviewed by Darin Fisher. 22861 22862 [Chromium] Implement WebLabelElement. 22863 22864 https://bugs.webkit.org/show_bug.cgi?id=35317 22865 22866 * WebKit.gyp: 22867 * public/WebLabelElement.h: Added. 22868 * src/WebLabelElement.cpp: Added. 22869 22870 2010-02-25 Pavel Feldman <pfeldman (a] chromium.org> 22871 22872 Reviewed by Dimitri Glazkov. 22873 22874 Web Inspector: make script lines count calculation lazy. 22875 22876 https://bugs.webkit.org/show_bug.cgi?id=35392 22877 22878 * src/js/Tests.js: 22879 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed): 22880 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel): 22881 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh): 22882 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel): 22883 (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList): 22884 (.TestSuite.prototype._executeFunctionForStepTest): 22885 22886 2010-02-24 Darin Fisher <darin (a] chromium.org> 22887 22888 Reviewed by David Levin. 22889 22890 Add a missing WebString.h include. 22891 https://bugs.webkit.org/show_bug.cgi?id=35360 22892 22893 This is required since some of the methods have implementations that 22894 return a WebString. 22895 22896 * public/WebCookieJar.h: 22897 22898 2010-02-24 Jay Campan <jcampan (a] google.com> 22899 22900 Reviewed by David Levin. 22901 22902 Don't show the autofill popup when the input text is disabled or read only. 22903 22904 https://bugs.webkit.org/show_bug.cgi?id=35129 22905 22906 * src/EditorClientImpl.cpp: 22907 (WebKit::EditorClientImpl::autofill): 22908 22909 2010-02-24 Adam Barth <abarth (a] webkit.org> 22910 22911 Reviewed by Darin Fisher. 22912 22913 [Chromium API] Disambiguate allowJavaScript from didNotAllowScript 22914 https://bugs.webkit.org/show_bug.cgi?id=35205 22915 22916 Plumb didNotAllowScript through Chromium's WebKit API. 22917 22918 * public/WebFrameClient.h: 22919 (WebKit::WebFrameClient::didNotAllowScript): 22920 * src/DebuggerAgentImpl.cpp: 22921 (WebKit::DebuggerAgentImpl::createUtilityContext): 22922 * src/FrameLoaderClientImpl.cpp: 22923 (WebKit::FrameLoaderClientImpl::didNotAllowScript): 22924 * src/FrameLoaderClientImpl.h: 22925 * src/WebFrameImpl.cpp: 22926 (WebKit::WebFrameImpl::bindToWindowObject): 22927 22928 2010-02-23 James Hawkins <jhawkins (a] chromium.org> 22929 22930 Reviewed by Darin Fisher. 22931 22932 [Chromium] Implement WebDocument::getElementsByTagName. 22933 22934 https://bugs.webkit.org/show_bug.cgi?id=35272 22935 22936 * public/WebDocument.h: 22937 * src/WebDocument.cpp: 22938 (WebKit::WebDocument::getElementsByTagName): 22939 22940 2010-02-23 Steve Block <steveblock (a] google.com> 22941 22942 Reviewed by Jeremy Orlow. 22943 22944 Removes redundant Settings::setGeolocationEnabled and Settings::geolocationEnabled 22945 https://bugs.webkit.org/show_bug.cgi?id=35242 22946 22947 This removes Chromium's WebSettings::setGeolocationEnabled 22948 22949 * public/WebSettings.h: 22950 * src/WebSettingsImpl.cpp: 22951 * src/WebSettingsImpl.h: 22952 22953 2010-02-23 Dmitriy Belenko <dbelenko (a] google.com> 22954 22955 Reviewed by Darin Fisher. 22956 22957 Chromium: Need to be able to get the bounds of selection 22958 rectangle(s) 22959 https://bugs.webkit.org/show_bug.cgi?id=34915 22960 22961 This change will enable about 30 test cases to pass in Chromium. 22962 All of these test cases are related to selection rect boundaries. 22963 This change will enable the test cases to retrieve the selection 22964 rect boundary rectangle for the current selection. 22965 22966 * public/WebFrame.h: 22967 * src/WebFrameImpl.cpp: 22968 (WebKit::WebFrameImpl::selectionBoundsRect): 22969 * src/WebFrameImpl.h: 22970 22971 2010-02-23 Steve Block <steveblock (a] google.com> 22972 22973 Reviewed by Darin Adler. 22974 22975 Adds ChromeClient::cancelGeolocationPermissionRequestForFrame 22976 https://bugs.webkit.org/show_bug.cgi?id=34962 22977 22978 This method is required so that a Geolocation object can cancel an 22979 asynchronous permission request. This allows the chrome client to cancel 22980 any UI it is showing for the permission request. 22981 22982 * src/ChromeClientImpl.h: 22983 (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame): 22984 22985 2009-02-22 Adam Langley <agl (a] google.com> 22986 22987 Reviewed by Darin Fisher. 22988 22989 fontconfig on Linux can change the render preferences on a per strike 22990 basis (a strike a combination of face and size). Because of this, we 22991 need to query fontconfig each time a new FontPlatformData is created 22992 for a new size. 22993 22994 This patch adds support for querying this via ChromiumBridge. 22995 22996 https://bugs.webkit.org/show_bug.cgi?id=33065 22997 22998 * WebKit.gyp: 22999 * public/gtk/WebFontInfo.h: 23000 * public/linux/WebSandboxSupport.h: 23001 * src/ChromiumBridge.cpp: 23002 (WebCore::ChromiumBridge::getRenderStyleForStrike): 23003 * src/gtk/WebFontInfo.cpp: 23004 (WebKit::WebFontInfo::renderStyleForStrike): 23005 23006 2010-02-22 Alexander Pavlov <apavlov (a] chromium.org> 23007 23008 Reviewed by Pavel Feldman. 23009 23010 Web Inspector: there should be a way to "deactivate" or "skip" all breakpoints while debugging. 23011 https://bugs.webkit.org/show_bug.cgi?id=33217 23012 23013 * src/js/DebuggerAgent.js: 23014 (devtools.DebuggerAgent): 23015 (devtools.DebuggerAgent.prototype.setBreakpointsActivated): 23016 (devtools.DebuggerAgent.prototype.handleBreakEvent_): 23017 (devtools.DebuggerAgent.prototype.handleExceptionEvent_): 23018 * src/js/InspectorControllerImpl.js: 23019 (devtools.InspectorBackendImpl.prototype.activateBreakpoints): 23020 (devtools.InspectorBackendImpl.prototype.deactivateBreakpoints): 23021 23022 2010-02-21 Pavel Feldman <pfeldman (a] chromium.org> 23023 23024 Reviewed by Timothy Hatcher. 23025 23026 Chromium DevTools: kepp debugger API in sync with inspector. 23027 23028 https://bugs.webkit.org/show_bug.cgi?id=28799 23029 23030 * src/js/DebuggerAgent.js: 23031 * src/js/InspectorControllerImpl.js: 23032 (devtools.InspectorBackendImpl.prototype.setBreakpoint): 23033 23034 2010-02-19 Maciej Stachowiak <mjs (a] apple.com> 23035 23036 Reviewed by David Levin. 23037 23038 Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases 23039 https://bugs.webkit.org/show_bug.cgi?id=35147 23040 23041 * features.gypi: 23042 23043 2010-02-19 James Hawkins <jhawkins (a] chromium.org> 23044 23045 Reviewed by Darin Fisher. 23046 23047 [Chromium] Call WebViewClient::didAcceptAutoFillSuggestion when the 23048 user selects a suggestion from the AutoFill suggestions popup. 23049 23050 https://bugs.webkit.org/show_bug.cgi?id=35174 23051 23052 * public/WebViewClient.h: 23053 (WebKit::WebViewClient::didAcceptAutoFillSuggestion): 23054 * src/AutoFillPopupMenuClient.cpp: 23055 (WebKit::AutoFillPopupMenuClient::valueChanged): 23056 * src/AutoFillPopupMenuClient.h: 23057 23058 2010-02-19 James Hawkins <jhawkins (a] chromium.org> 23059 23060 Reviewed by Eric Seidel. 23061 23062 [Chromium] Use the m_suggestionsPopupClient pointer to refer to the 23063 popup client, as the Autocomplete popup might not be the current 23064 popup. 23065 23066 https://bugs.webkit.org/show_bug.cgi?id=35172 23067 23068 * src/WebViewImpl.cpp: 23069 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): 23070 (WebKit::WebViewImpl::refreshSuggestionsPopup): 23071 23072 2010-02-19 James Hawkins <jhawkins (a] chromium.org> 23073 23074 Reviewed by Eric Seidel. 23075 23076 [Chromium] Rename EditorClientImpl::onAutofillSuggestionAccepted to 23077 onAutocompleteSuggestionAccepted to better match the purpose of the 23078 function. 23079 23080 https://bugs.webkit.org/show_bug.cgi?id=35171 23081 23082 * src/EditorClientImpl.cpp: 23083 (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted): 23084 * src/EditorClientImpl.h: 23085 * src/SuggestionsPopupMenuClient.cpp: 23086 (WebKit::SuggestionsPopupMenuClient::valueChanged): 23087 23088 2010-02-18 Peter Kasting <pkasting (a] google.com> 23089 23090 Reviewed by Darin Fisher. 23091 23092 Add an isImageBlocked bool to the WebContextMenuData struct. 23093 https://bugs.webkit.org/show_bug.cgi?id=35136 23094 23095 This lets us properly enable/disable the "Copy Image" context menu entry 23096 (and, in the future, maybe add a "Load Image" function). 23097 23098 * public/WebContextMenuData.h: 23099 * src/ContextMenuClientImpl.cpp: 23100 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 23101 23102 2010-02-19 Marcus Bulach <bulach (a] chromium.org> 23103 23104 Reviewed by Jeremy Orlow. 23105 23106 Fixes GeolocationServiceBridgeImpl::stopUpdating (it can be called multiple times). 23107 23108 * src/GeolocationServiceBridgeChromium.cpp: 23109 (WebKit::GeolocationServiceBridgeImpl::stopUpdating): 23110 23111 2010-02-19 Pavel Feldman <pfeldman (a] chromium.org> 23112 23113 Not reviewed. Chromium build fix: reverting r54997 and r54998. 23114 23115 * DEPS: 23116 23117 2010-02-19 Pavel Feldman <pfeldman (a] chromium.org> 23118 23119 Not reviewed. Chromium tests fix: update devtools code to match new 23120 web inspector object proxy format. 23121 23122 * src/js/DebuggerAgent.js: 23123 (devtools.DebuggerAgent.prototype.formatCallFrame_): 23124 (devtools.DebuggerAgent.formatObjectProxy_): 23125 23126 2010-02-12 Kent Tamura <tkent (a] chromium.org> 23127 23128 Unreviewed. Fix Chromium build. 23129 23130 * DEPS: Bump Google URL revision to 123. 23131 23132 2010-02-18 Yury Semikhatsky <yurys (a] chromium.org> 23133 23134 Reviewed by Pavel Feldman. 23135 23136 Don't truncate long lines when evaluating expressions on a breakpoint. 23137 23138 https://bugs.webkit.org/show_bug.cgi?id=35102 23139 23140 * src/js/DebuggerAgent.js: 23141 23142 2010-02-18 Jay Campan <jcampan (a] google.com> 23143 23144 Reviewed by Adam Barth. 23145 23146 Exposing the title in WebDocument. 23147 23148 https://bugs.webkit.org/show_bug.cgi?id=35058 23149 23150 * public/WebDocument.h: 23151 * src/WebDocument.cpp: 23152 (WebKit::WebDocument::title): 23153 23154 2010-02-17 Dmitry Titov <dimich (a] chromium.org> 23155 23156 Reviewed by David Levin, Darin Fisher, Simon Hausmann. 23157 23158 When a live iframe element is moved between pages, it still depends on the old page. 23159 https://bugs.webkit.org/show_bug.cgi?id=34382 23160 23161 * src/FrameLoaderClientImpl.cpp: 23162 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 23163 (WebKit::FrameLoaderClientImpl::didTransferChildFrameToNewDocument): 23164 Since Chromium's WebFrameClient is destroyed once a window is closed, 23165 if Frame moves between Pages, the client of corresponding WebFrame 23166 should be replaced as well. 23167 23168 * src/FrameLoaderClientImpl.h: 23169 * src/WebFrameImpl.h: 23170 (WebKit::WebFrameImpl::setClient): 23171 23172 2010-02-17 Evan Martin <evan (a] chromium.org> 23173 23174 Reviewed by Eric Seidel. 23175 23176 [chromium] expose cache-bypass flag in reload() API 23177 https://bugs.webkit.org/show_bug.cgi?id=34969 23178 23179 This flag is used to force a reload to ignore caches. 23180 (Aka "shift-reload".) 23181 23182 * public/WebFrame.h: 23183 * src/WebFrameImpl.cpp: 23184 (WebKit::WebFrameImpl::reload): 23185 * src/WebFrameImpl.h: 23186 23187 2010-02-17 Kent Tamura <tkent (a] chromium.org> 23188 23189 Reviewed by Eric Seidel. 23190 23191 Introduces new Icon loading interface in order to support 23192 asynchronous loading. 23193 https://bugs.webkit.org/show_bug.cgi?id=32054 23194 23195 Add an empty implementation of ChromeClient::iconForFiles(). 23196 23197 * src/ChromeClientImpl.cpp: 23198 (WebKit::ChromeClientImpl::iconForFiles): 23199 * src/ChromeClientImpl.h: 23200 23201 2010-02-17 Kenneth Russell <kbr (a] google.com> 23202 23203 Reviewed by Oliver Hunt. 23204 23205 Refactor texImage2D and texSubImage2D taking Image to use common code 23206 https://bugs.webkit.org/show_bug.cgi?id=34458 23207 23208 Merged the Safari and Chromium code which extracts the data from 23209 Image objects into common entry points on GraphicsContext3D. This 23210 immediately fixes the following three problems: 23211 - Chromium not implementing texSubImage2D taking Image. 23212 - Safari not obeying the flipY parameter to texImage2D or 23213 texSubImage2D taking Image. 23214 - Safari not obeying the premultipyAlpha parameter to texImage2D 23215 or texSubImage2D taking Image. 23216 Added new test verifying the behavior of texImage2D and 23217 texSubImage2D and the flipY parameter. The premultiplyAlpha 23218 parameter can not be tested yet as the implementation is not yet 23219 spec compliant. This will be fixed in a follow-on bug. 23220 23221 Ran all WebGL demos in demo repository on Safari and Chromium; 23222 textures are now the right way up in both browsers, and 23223 transparent textures in Particles demo now look correct in Safari. 23224 23225 * src/GraphicsContext3D.cpp: 23226 (WebCore::GraphicsContext3D::texImage2D): 23227 (WebCore::GraphicsContext3D::texSubImage2D): 23228 23229 2010-02-17 Alok Priyadarshi <alokp (a] chromium.org> 23230 23231 Reviewed by Ariya Hidayat. 23232 23233 Bug 34900: Implement accelerated compositing for chromium. 23234 https://bugs.webkit.org/show_bug.cgi?id=34900 23235 23236 * features.gypi: Added WTF_USE_ACCELERATED_COMPOSITING flag. 23237 23238 2010-02-17 Jian Li <jianli (a] chromium.org> 23239 23240 Reviewed by Darin Fisher. 23241 23242 [chromium] Remove the obsolete chromium interface for handling DownloadURL. 23243 https://bugs.webkit.org/show_bug.cgi?id=34982 23244 23245 * public/WebDragData.h: 23246 * src/WebDragData.cpp: 23247 23248 2010-02-16 James Hawkins <jhawkins (a] chromium.org> 23249 23250 Reviewed by Eric Seidel. 23251 23252 [Chromium] Remove calls to releaseRef when passing PassRefPtrs to base 23253 classes. releaseRef releases the original pointer without decreasing 23254 the reference count, and the base class constructor increases the 23255 reference count, leading to a leak. 23256 23257 https://bugs.webkit.org/show_bug.cgi?id=35000 23258 23259 * src/WebDocument.cpp: 23260 (WebKit::WebDocument::WebDocument): 23261 * src/WebElement.cpp: 23262 (WebKit::WebElement::WebElement): 23263 * src/WebFormElement.cpp: 23264 (WebKit::WebFormElement::WebFormElement): 23265 * src/WebInputElement.cpp: 23266 (WebKit::WebInputElement::WebInputElement): 23267 23268 2010-02-15 Jeremy Orlow <jorlow (a] chromium.org> 23269 23270 Reviewed by Darin Fisher. 23271 23272 [Chromium] Fix StorageNamespaceProxy::copy() for test shell 23273 https://bugs.webkit.org/show_bug.cgi?id=34949 23274 23275 Chromium passes back NULL when you call WebStorageNamespace::proxy() 23276 but TestShell returns a valid object. Both need to work via 23277 the WebStorageNamespace. 23278 23279 * src/StorageNamespaceProxy.cpp: 23280 (WebCore::StorageNamespaceProxy::copy): 23281 23282 2010-02-14 Vangelis Kokkevis <vangelis (a] chromium.org> 23283 23284 Reviewed by Darin Fisher. 23285 23286 [Chromium] Add support for the showDebugBorders setting to Chromium. 23287 23288 https://bugs.webkit.org/show_bug.cgi?id=34906 23289 23290 * public/WebSettings.h: Add declaration for setShowDebugBorders 23291 * src/WebSettingsImpl.cpp: 23292 (WebKit::WebSettingsImpl::setShowDebugBorders): Add method implementation 23293 * src/WebSettingsImpl.h: Added declaration for setShowDebugBorders 23294 23295 2010-02-11 Darin Fisher <darin (a] chromium.org> 23296 23297 Reviewed by Jeremy Orlow. 23298 23299 Introduce WebCookieJar, and provide for a frame specific cookie jar. 23300 23301 https://bugs.webkit.org/show_bug.cgi?id=34878 23302 23303 * WebKit.gyp: 23304 * public/WebCookieJar.h: Added. 23305 * public/WebFrameClient.h: 23306 (WebKit::WebFrameClient::cookieJar): 23307 * public/WebKitClient.h: 23308 (WebKit::WebKitClient::cookieJar): 23309 (WebKit::WebKitClient::setCookies): 23310 (WebKit::WebKitClient::cookies): 23311 (WebKit::WebKitClient::rawCookies): 23312 (WebKit::WebKitClient::deleteCookie): 23313 (WebKit::WebKitClient::cookiesEnabled): 23314 * src/ChromiumBridge.cpp: 23315 (WebCore::getCookieJar): 23316 (WebCore::ChromiumBridge::setCookies): 23317 (WebCore::ChromiumBridge::cookies): 23318 (WebCore::ChromiumBridge::rawCookies): 23319 (WebCore::ChromiumBridge::deleteCookie): 23320 (WebCore::ChromiumBridge::cookiesEnabled): 23321 23322 2010-02-12 Pavel Feldman <pfeldman (a] chromium.org> 23323 23324 Reviewed by David Levin. 23325 23326 Chromium: provide theme overrides for Chromium devtools on Mac. 23327 23328 https://bugs.webkit.org/show_bug.cgi?id=34856 23329 23330 * src/js/devTools.css: 23331 23332 2010-02-12 Jeremy Orlow <jorlow (a] chromium.org> 23333 23334 Reviewed by Darin Fisher. 23335 23336 [Chromium] Add a blockedByPolicy output to WebStorageArea::setItem. 23337 https://bugs.webkit.org/show_bug.cgi?id=34897 23338 23339 * public/WebStorageArea.h: 23340 (WebKit::WebStorageArea::setItem): 23341 * src/WebStorageAreaImpl.cpp: 23342 (WebKit::WebStorageAreaImpl::setItem): 23343 * src/WebStorageAreaImpl.h: 23344 23345 2010-02-11 Jeremy Orlow <jorlow (a] chromium.org> 23346 23347 Reviewed by David Levin. 23348 23349 [Chromium] Add ENABLE_RUBY to the feature defines gypi 23350 https://bugs.webkit.org/show_bug.cgi?id=34841 23351 23352 * features.gypi: 23353 23354 2010-02-12 Yury Semikhatsky <yurys (a] chromium.org> 23355 23356 Reviewed by Pavel Feldman. 23357 23358 Chromium: Web Inspector on an element in a page where JS is blocked crashes the renderer 23359 23360 https://bugs.webkit.org/show_bug.cgi?id=34890 23361 23362 * src/DebuggerAgentImpl.cpp: 23363 (WebKit::DebuggerAgentImpl::createUtilityContext): 23364 23365 2010-02-11 Mikhail Naganov <mnaganov (a] chromium.org> 23366 23367 Reviewed by Pavel Feldman. 23368 23369 [Chromium] Ignore subsequent requests of the same profiler log 23370 chunks. This eliminates emission of several instances for the same 23371 heap snapshot. 23372 23373 https://bugs.webkit.org/show_bug.cgi?id=34833 23374 23375 * src/js/ProfilerAgent.js: 23376 (devtools.ProfilerAgent): 23377 (devtools.ProfilerAgent.prototype.initializeProfiling): 23378 (devtools.ProfilerAgent.prototype._getNextLogLines): 23379 (devtools.ProfilerAgent.prototype.startProfiling): 23380 (devtools.ProfilerAgent.prototype._didGetActiveProfilerModules): 23381 (devtools.ProfilerAgent.prototype._didGetLogLines): 23382 23383 2010-02-10 James Hawkins <jhawkins (a] chromium.org> 23384 23385 Reviewed by Eric Seidel. 23386 23387 [Chromium] Remove code from SuggestionsPopup that was removed in a 23388 previous revision of AutocompletePopup and accidentally added back in 23389 the refactoring. 23390 23391 https://bugs.webkit.org/show_bug.cgi?id=34818 23392 23393 * src/AutoFillPopupMenuClient.cpp: 23394 * src/AutoFillPopupMenuClient.h: Added property svn:eol-style. 23395 * src/SuggestionsPopupMenuClient.cpp: 23396 (WebKit::SuggestionsPopupMenuClient::popupDidHide): 23397 (WebKit::SuggestionsPopupMenuClient::setTextFromItem): 23398 (WebKit::SuggestionsPopupMenuClient::initialize): 23399 * src/SuggestionsPopupMenuClient.h: 23400 23401 2010-02-10 Nate Chapin <japhet (a] chromium.org> 23402 23403 Reviewed by Adam Barth. 23404 23405 Update call to V8DOMWrapper::lookupDOMWrapper() to match new parameters. 23406 23407 https://bugs.webkit.org/show_bug.cgi?id=34768 23408 23409 * src/DebuggerAgentImpl.cpp: 23410 (WebKit::DebuggerAgentImpl::createUtilityContext): 23411 23412 2010-02-10 Kenneth Russell <kbr (a] google.com> 23413 23414 Reviewed by Oliver Hunt. 23415 23416 Remove automatic viewport resizing 23417 https://bugs.webkit.org/show_bug.cgi?id=34766 23418 23419 Removed automatic viewport resizing per conclusions on the WebGL 23420 mailing list. Added test verifying new behavior and updated a 23421 couple of previous tests failing after this change. 23422 23423 * src/GraphicsContext3D.cpp: 23424 (WebCore::GraphicsContext3DInternal::reshape): 23425 23426 2010-02-10 Yury Semikhatsky <yurys (a] chromium.org> 23427 23428 Reviewed by Pavel Feldman. 23429 23430 Chromium Win build fix. Add third_party/nss to the dependencies list on Windows. 23431 23432 https://bugs.webkit.org/show_bug.cgi?id=34789 23433 23434 * DEPS: 23435 23436 2010-02-10 Yury Semikhatsky <yurys (a] chromium.org> 23437 23438 Reviewed by Pavel Feldman. 23439 23440 Rolling Chromium dependencies to match Chromium revision 38580. 23441 23442 https://bugs.webkit.org/show_bug.cgi?id=34789 23443 23444 * DEPS: 23445 23446 2010-02-10 Yury Semikhatsky <yurys (a] chromium.org> 23447 23448 Reviewed by Pavel Feldman. 23449 23450 Use v8::Debug::ProcessDebugMessages instead of executing an empty function 23451 23452 https://bugs.webkit.org/show_bug.cgi?id=34704 23453 23454 * src/DebuggerAgent.h: 23455 * src/DebuggerAgentImpl.cpp: 23456 (WebKit::DebuggerAgentImpl::processDebugCommands): 23457 * src/DebuggerAgentImpl.h: 23458 * src/ToolsAgent.h: 23459 * src/WebDevToolsAgentImpl.cpp: 23460 * src/WebDevToolsAgentImpl.h: 23461 * src/js/DebuggerAgent.js: 23462 (devtools.DebuggerAgent.prototype.addBreakpoint): 23463 * src/js/DevToolsHostStub.js: 23464 (.RemoteDebuggerAgentStub.prototype.processDebugCommands): 23465 * src/js/InjectDispatch.js: 23466 (dispatch): 23467 * src/js/ProfilerAgent.js: 23468 (devtools.ProfilerAgent.prototype.startProfiling): 23469 (devtools.ProfilerAgent.prototype.stopProfiling): 23470 * src/js/Tests.js: 23471 23472 2010-02-10 Tony Chang <tony (a] chromium.org> 23473 23474 Unreviewed, build fix for Chromium Mac take 2. 23475 23476 * src/AutoFillPopupMenuClient.cpp: 23477 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): 23478 23479 2010-02-10 Tony Chang <tony (a] chromium.org> 23480 23481 Unreviewed, build fix for Chromium Mac. 23482 23483 * src/AutoFillPopupMenuClient.cpp: 23484 (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex): 23485 23486 2010-02-09 James Hawkins <jhawkins (a] chromium.org> 23487 23488 Reviewed by Darin Fisher. 23489 23490 [Chromium] Refactor AutocompletePopupMenuClient into a base class, 23491 SuggestionsPopupMenuClient, and two derived classes, 23492 AutocompletePopupMenuClient and AutoFillPopupMenuClient. Currently 23493 the behavior of suggestions popups has not changed. 23494 23495 https://bugs.webkit.org/show_bug.cgi?id=34721 23496 23497 * WebKit.gyp: 23498 * public/WebView.h: 23499 * src/AutoFillPopupMenuClient.cpp: Added. 23500 * src/AutoFillPopupMenuClient.h: Added. 23501 * src/AutocompletePopupMenuClient.cpp: 23502 (WebKit::AutocompletePopupMenuClient::getSuggestionsCount): 23503 (WebKit::AutocompletePopupMenuClient::getSuggestion): 23504 (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex): 23505 (WebKit::AutocompletePopupMenuClient::initialize): 23506 (WebKit::AutocompletePopupMenuClient::setSuggestions): 23507 * src/AutocompletePopupMenuClient.h: 23508 * src/SuggestionsPopupMenuClient.cpp: Added. 23509 * src/SuggestionsPopupMenuClient.h: Added. 23510 * src/WebViewImpl.cpp: 23511 (WebKit::WebViewImpl::WebViewImpl): 23512 (WebKit::WebViewImpl::keyEvent): 23513 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): 23514 (WebKit::WebViewImpl::applyAutofillSuggestions): 23515 (WebKit::WebViewImpl::applyAutoFillSuggestions): 23516 (WebKit::WebViewImpl::applyAutocompleteSuggestions): 23517 * src/WebViewImpl.h: 23518 23519 2010-02-09 Chris Guillory <ctguil (a] google.com> 23520 23521 Reviewed by Darin Fisher. 23522 23523 [Chromium] Add function for accessibility object state change notifications. 23524 23525 https://bugs.webkit.org/show_bug.cgi?id=34464 23526 23527 * gyp_webkit: 23528 * public/WebViewClient.h: 23529 (WebKit::WebViewClient::didChangeAccessibilityObjectState): 23530 * src/ChromeClientImpl.cpp: 23531 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState): 23532 * src/ChromeClientImpl.h: 23533 23534 2010-02-09 Mikhail Naganov <mnaganov (a] chromium.org> 23535 23536 Reviewed by Pavel Feldman. 23537 23538 Continuing debugger and profiler unforking: narrow scope of JSC-specific ifdefs. 23539 Also, enable JAVASCRIPT_DEBUGGER explicitly in features, it appears to be required 23540 for really enabling it in V8 bindings generation. 23541 23542 https://bugs.webkit.org/show_bug.cgi?id=34706 23543 23544 * features.gypi: 23545 23546 2010-02-09 Jian Li <jianli (a] chromium.org> 23547 23548 Reviewed by Darin Fisher. 23549 23550 [chromium] Add the chromium interface to support Blob.slice. 23551 https://bugs.webkit.org/show_bug.cgi?id=34652 23552 23553 * WebKit.gyp: 23554 * public/WebFileInfo.h: Added. 23555 * public/WebHTTPBody.h: 23556 * src/WebHTTPBody.cpp: 23557 (WebKit::WebHTTPBody::elementAt): 23558 (WebKit::WebHTTPBody::appendFile): 23559 23560 2010-02-09 Yury Semikhatsky <yurys (a] chromium.org> 23561 23562 Unreviewed. Follow-up fix. 23563 23564 Add missing devTools.css file. 23565 23566 https://bugs.webkit.org/show_bug.cgi?id=34756 23567 23568 * src/js/devTools.css: Added. 23569 23570 2010-02-09 Yury Semikhatsky <yurys (a] chromium.org> 23571 23572 Reviewed by Pavel Feldman. 23573 23574 Upstream DevTools Images and .css files. 23575 23576 https://bugs.webkit.org/show_bug.cgi?id=34756 23577 23578 * WebKit.gypi: 23579 * src/js/DevTools.css: Added. 23580 * src/js/Images/segmentChromium.png: Added. 23581 * src/js/Images/segmentHoverChromium.png: Added. 23582 * src/js/Images/segmentHoverEndChromium.png: Added. 23583 * src/js/Images/segmentSelectedChromium.png: Added. 23584 * src/js/Images/segmentSelectedEndChromium.png: Added. 23585 * src/js/Images/statusbarBackgroundChromium.png: Added. 23586 * src/js/Images/statusbarBottomBackgroundChromium.png: Added. 23587 * src/js/Images/statusbarButtonsChromium.png: Added. 23588 * src/js/Images/statusbarMenuButtonChromium.png: Added. 23589 * src/js/Images/statusbarMenuButtonSelectedChromium.png: Added. 23590 23591 2010-02-09 Yury Semikhatsky <yurys (a] chromium.org> 23592 23593 Reviewed by Pavel Feldman. 23594 23595 Upstream JavaScript part of DevTools WebKit API implementation(now 23596 with the added files). 23597 23598 https://bugs.webkit.org/show_bug.cgi?id=34744 23599 23600 * WebKit.gypi: Added. 23601 * src/js/DebuggerAgent.js: Added. 23602 (devtools.DebuggerAgent): 23603 (devtools.DebuggerAgent.prototype.reset): 23604 (devtools.DebuggerAgent.prototype.initUI): 23605 (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber): 23606 (devtools.DebuggerAgent.prototype.resolveScriptSource): 23607 (devtools.DebuggerAgent.prototype.pauseExecution): 23608 (devtools.DebuggerAgent.prototype.addBreakpoint): 23609 (devtools.DebuggerAgent.prototype.removeBreakpoint): 23610 (devtools.DebuggerAgent.prototype.updateBreakpoint): 23611 (devtools.DebuggerAgent.prototype.stepIntoStatement): 23612 (devtools.DebuggerAgent.prototype.stepOutOfFunction): 23613 (devtools.DebuggerAgent.prototype.stepOverStatement): 23614 (devtools.DebuggerAgent.prototype.resumeExecution): 23615 (devtools.DebuggerAgent.prototype.createExceptionMessage_): 23616 (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_): 23617 (devtools.DebuggerAgent.prototype.clearExceptionMessage_): 23618 (devtools.DebuggerAgent.prototype.pauseOnExceptions): 23619 (devtools.DebuggerAgent.prototype.setPauseOnExceptions): 23620 (devtools.DebuggerAgent.prototype.requestEvaluate): 23621 (devtools.DebuggerAgent.prototype.resolveChildren): 23622 (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber): 23623 (devtools.DebuggerAgent.prototype.resolveScope): 23624 (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler): 23625 (devtools.DebuggerAgent.prototype.resolveFrameVariables_): 23626 (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame): 23627 (devtools.DebuggerAgent.prototype.getScriptContextType): 23628 (devtools.DebuggerAgent.prototype.requestClearBreakpoint_): 23629 (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_): 23630 (devtools.DebuggerAgent.prototype.requestBacktrace_): 23631 (devtools.DebuggerAgent.sendCommand_): 23632 (devtools.DebuggerAgent.prototype.stepCommand_): 23633 (devtools.DebuggerAgent.prototype.requestLookup_): 23634 (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber): 23635 (devtools.DebuggerAgent.prototype.setContextId_): 23636 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_): 23637 (devtools.DebuggerAgent.prototype.handleBreakEvent_): 23638 (devtools.DebuggerAgent.prototype.handleExceptionEvent_): 23639 (devtools.DebuggerAgent.prototype.handleScriptsResponse_): 23640 (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_): 23641 (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_): 23642 (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_): 23643 (devtools.DebuggerAgent.prototype.addScriptInfo_): 23644 (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_): 23645 (devtools.DebuggerAgent.prototype.handleBacktraceResponse_): 23646 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_): 23647 (devtools.DebuggerAgent.prototype.evaluateInCallFrame): 23648 (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_): 23649 (devtools.DebuggerAgent.prototype.formatCallFrame_): 23650 (devtools.DebuggerAgent.formatObjectProperties_): 23651 (devtools.DebuggerAgent.propertiesToProxies_): 23652 (devtools.DebuggerAgent.formatObjectProxy_): 23653 (devtools.DebuggerAgent.webkitToV8LineNumber_): 23654 (devtools.DebuggerAgent.v8ToWwebkitLineNumber_): 23655 (devtools.ScriptInfo): 23656 (devtools.ScriptInfo.prototype.getLineOffset): 23657 (devtools.ScriptInfo.prototype.getContextType): 23658 (devtools.ScriptInfo.prototype.getUrl): 23659 (devtools.ScriptInfo.prototype.isUnresolved): 23660 (devtools.ScriptInfo.prototype.getBreakpointInfo): 23661 (devtools.ScriptInfo.prototype.addBreakpointInfo): 23662 (devtools.ScriptInfo.prototype.removeBreakpointInfo): 23663 (devtools.BreakpointInfo): 23664 (devtools.BreakpointInfo.prototype.getLine): 23665 (devtools.BreakpointInfo.prototype.getV8Id): 23666 (devtools.BreakpointInfo.prototype.setV8Id): 23667 (devtools.BreakpointInfo.prototype.markAsRemoved): 23668 (devtools.BreakpointInfo.prototype.isRemoved): 23669 (devtools.CallFrame): 23670 (devtools.CallFrame.prototype.evaluate_): 23671 (devtools.DebugCommand): 23672 (devtools.DebugCommand.prototype.getSequenceNumber): 23673 (devtools.DebugCommand.prototype.toJSONProtocol): 23674 (devtools.DebuggerMessage): 23675 (devtools.DebuggerMessage.prototype.getType): 23676 (devtools.DebuggerMessage.prototype.getEvent): 23677 (devtools.DebuggerMessage.prototype.getCommand): 23678 (devtools.DebuggerMessage.prototype.getRequestSeq): 23679 (devtools.DebuggerMessage.prototype.isRunning): 23680 (devtools.DebuggerMessage.prototype.isSuccess): 23681 (devtools.DebuggerMessage.prototype.getMessage): 23682 (devtools.DebuggerMessage.prototype.getBody): 23683 (devtools.DebuggerMessage.prototype.lookup): 23684 * src/js/DevTools.js: Added. 23685 (devtools.dispatch): 23686 (devtools.ToolsAgent): 23687 (devtools.ToolsAgent.prototype.reset): 23688 (devtools.ToolsAgent.prototype.evaluateJavaScript): 23689 (devtools.ToolsAgent.prototype.getDebuggerAgent): 23690 (devtools.ToolsAgent.prototype.getProfilerAgent): 23691 (devtools.ToolsAgent.prototype.frameNavigate_): 23692 (devtools.ToolsAgent.prototype.dispatchOnClient_): 23693 (devtools.ToolsAgent.prototype.evaluate): 23694 (WebInspector.setResourcesPanelEnabled): 23695 (debugPrint): 23696 (devtools): 23697 (WebInspector.loaded): 23698 (): 23699 (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded): 23700 (WebInspector.ScriptView.prototype.didResolveScriptSource_): 23701 (WebInspector.UnresolvedPropertyValue): 23702 (WebInspector.UIString): 23703 (WebInspector.resourceTrackingWasEnabled): 23704 (WebInspector.resourceTrackingWasDisabled): 23705 (WebInspector.TestController.prototype.runAfterPendingDispatches): 23706 (WebInspector.queuesAreEmpty): 23707 (WebInspector.pausedScript): 23708 * src/js/DevToolsHostStub.js: Added. 23709 (.RemoteDebuggerAgentStub): 23710 (.RemoteDebuggerAgentStub.prototype.getContextId): 23711 (.RemoteProfilerAgentStub): 23712 (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules): 23713 (.RemoteProfilerAgentStub.prototype.getLogLines): 23714 (.RemoteToolsAgentStub): 23715 (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript): 23716 (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController): 23717 (.RemoteToolsAgentStub.prototype.executeVoidJavaScript): 23718 (.ProfilerStubHelper): 23719 (.ProfilerStubHelper.GetInstance): 23720 (.ProfilerStubHelper.prototype.StopProfiling): 23721 (.ProfilerStubHelper.prototype.StartProfiling): 23722 (.ProfilerStubHelper.prototype.getActiveProfilerModules): 23723 (.ProfilerStubHelper.prototype.getLogLines): 23724 (.RemoteDebuggerCommandExecutorStub): 23725 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand): 23726 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript): 23727 (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_): 23728 (.DevToolsHostStub): 23729 (.DevToolsHostStub.prototype.reset): 23730 (.DevToolsHostStub.prototype.setting): 23731 (.DevToolsHostStub.prototype.setSetting): 23732 * src/js/HeapProfilerPanel.js: Added. 23733 (WebInspector.ProfilesPanel.prototype.addSnapshot): 23734 (WebInspector.HeapSnapshotView): 23735 (WebInspector.HeapSnapshotView.prototype.get statusBarItems): 23736 (WebInspector.HeapSnapshotView.prototype.get profile): 23737 (WebInspector.HeapSnapshotView.prototype.set profile): 23738 (WebInspector.HeapSnapshotView.prototype.show): 23739 (WebInspector.HeapSnapshotView.prototype.hide): 23740 (WebInspector.HeapSnapshotView.prototype.resize): 23741 (WebInspector.HeapSnapshotView.prototype.refresh): 23742 (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents): 23743 (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags): 23744 (WebInspector.HeapSnapshotView.prototype.searchCanceled): 23745 (WebInspector.HeapSnapshotView.prototype.performSearch): 23746 (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData): 23747 (WebInspector.HeapSnapshotView.prototype._changeBase): 23748 (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList): 23749 (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid): 23750 (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent): 23751 (WebInspector.HeapSnapshotView.prototype._percentClicked): 23752 (WebInspector.HeapSnapshotView.prototype._resetDataGridList): 23753 (WebInspector.HeapSnapshotView.prototype._sortData): 23754 (WebInspector.HeapSnapshotView.prototype._updateBaseOptions): 23755 (WebInspector.HeapSnapshotView.prototype._updatePercentButton): 23756 (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph): 23757 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS): 23758 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL): 23759 (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL): 23760 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL): 23761 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER): 23762 (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber): 23763 (WebInspector.HeapSummaryCalculator): 23764 (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues): 23765 (WebInspector.HeapSummaryCalculator.prototype.formatValue): 23766 (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent): 23767 (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent): 23768 (WebInspector.HeapSummaryCountCalculator): 23769 (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow): 23770 (WebInspector.HeapSummaryCountCalculator.prototype._valueToString): 23771 (WebInspector.HeapSummarySizeCalculator): 23772 (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow): 23773 (WebInspector.HeapSnapshotSidebarTreeElement): 23774 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle): 23775 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle): 23776 (WebInspector.HeapSnapshotDataGridNodeWithRetainers): 23777 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers): 23778 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent): 23779 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if): 23780 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate): 23781 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff): 23782 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort): 23783 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta): 23784 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent): 23785 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount): 23786 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize): 23787 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent): 23788 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent): 23789 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent): 23790 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent): 23791 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data): 23792 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell): 23793 (WebInspector.HeapSnapshotDataGridNode): 23794 (WebInspector.HeapSnapshotDataGridList): 23795 (WebInspector.HeapSnapshotDataGridList.prototype.appendChild): 23796 (WebInspector.HeapSnapshotDataGridList.prototype.insertChild): 23797 (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren): 23798 (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren): 23799 (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator): 23800 (WebInspector.HeapSnapshotDataGridList.propertyComparator): 23801 (WebInspector.HeapSnapshotDataGridRetainerNode): 23802 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent): 23803 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent): 23804 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers): 23805 (WebInspector.HeapSnapshotProfileType): 23806 (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip): 23807 (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle): 23808 (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked): 23809 (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage): 23810 (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile): 23811 (WebInspector.HeapSnapshotProfileType.prototype.createView): 23812 (): 23813 * src/js/InjectDispatch.js: Added. 23814 (InspectorControllerDispatcher.dispatch): 23815 (ApuAgentDispatcher.dispatchToApu): 23816 (dispatch): 23817 (devtools): 23818 * src/js/InspectorControllerImpl.js: Added. 23819 (devtools.InspectorBackendImpl): 23820 (devtools.InspectorBackendImpl.prototype.toggleNodeSearch): 23821 (devtools.InspectorBackendImpl.prototype.debuggerEnabled): 23822 (devtools.InspectorBackendImpl.prototype.profilerEnabled): 23823 (devtools.InspectorBackendImpl.prototype.addBreakpoint): 23824 (devtools.InspectorBackendImpl.prototype.removeBreakpoint): 23825 (devtools.InspectorBackendImpl.prototype.updateBreakpoint): 23826 (devtools.InspectorBackendImpl.prototype.pauseInDebugger): 23827 (devtools.InspectorBackendImpl.prototype.resumeDebugger): 23828 (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger): 23829 (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger): 23830 (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger): 23831 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState): 23832 (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState): 23833 (devtools.InspectorBackendImpl.prototype.pauseOnExceptions): 23834 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions): 23835 (devtools.InspectorBackendImpl.prototype.startProfiling): 23836 (devtools.InspectorBackendImpl.prototype.stopProfiling): 23837 (devtools.InspectorBackendImpl.prototype.getProfileHeaders): 23838 (devtools.InspectorBackendImpl.prototype.addFullProfile): 23839 (devtools.InspectorBackendImpl.prototype.getProfile): 23840 (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot): 23841 (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript): 23842 (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_): 23843 (devtools.InspectorBackendImpl.prototype.callInspectorController_): 23844 * src/js/ProfilerAgent.js: Added. 23845 (devtools.ProfilerAgent): 23846 (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks): 23847 (devtools.ProfilerAgent.prototype.initializeProfiling): 23848 (devtools.ProfilerAgent.prototype.startProfiling): 23849 (devtools.ProfilerAgent.prototype.stopProfiling): 23850 (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_): 23851 (devtools.ProfilerAgent.prototype.didGetLogLines_): 23852 * src/js/ProfilerProcessor.js: Added. 23853 (devtools.profiler.WebKitViewBuilder): 23854 (devtools.profiler.WebKitViewBuilder.prototype.createViewNode): 23855 (devtools.profiler.WebKitViewNode): 23856 (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_): 23857 (devtools.profiler.JsProfile): 23858 (devtools.profiler.JsProfile.prototype.skipThisFunction): 23859 (devtools.profiler.Processor): 23860 (devtools.profiler.Processor.prototype.printError): 23861 (devtools.profiler.Processor.prototype.skipDispatch): 23862 (devtools.profiler.Processor.prototype.setCallbacks): 23863 (devtools.profiler.Processor.prototype.setNewProfileCallback): 23864 (devtools.profiler.Processor.prototype.processProfiler_.switch.break): 23865 (devtools.profiler.Processor.prototype.processProfiler_): 23866 (devtools.profiler.Processor.prototype.processCodeCreation_): 23867 (devtools.profiler.Processor.prototype.processCodeMove_): 23868 (devtools.profiler.Processor.prototype.processCodeDelete_): 23869 (devtools.profiler.Processor.prototype.processFunctionCreation_): 23870 (devtools.profiler.Processor.prototype.processFunctionMove_): 23871 (devtools.profiler.Processor.prototype.processFunctionDelete_): 23872 (devtools.profiler.Processor.prototype.processTick_): 23873 (devtools.profiler.Processor.prototype.processTickV2_): 23874 (devtools.profiler.Processor.prototype.processHeapSampleBegin_): 23875 (devtools.profiler.Processor.prototype.processHeapSampleStats_): 23876 (devtools.profiler.Processor.prototype.processHeapSampleItem_): 23877 (devtools.profiler.Processor.prototype.processHeapJsConsItem_): 23878 (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers): 23879 (devtools.profiler.Processor.prototype.processHeapJsRetItem_): 23880 (devtools.profiler.Processor.prototype.processHeapSampleEnd_): 23881 (devtools.profiler.Processor.prototype.createProfileForView): 23882 * src/js/Tests.js: Added. 23883 (.TestSuite): 23884 (.TestSuite.prototype.fail): 23885 (.TestSuite.prototype.assertEquals): 23886 (.TestSuite.prototype.assertTrue): 23887 (.TestSuite.prototype.assertContains): 23888 (.TestSuite.prototype.takeControl): 23889 (.TestSuite.prototype.releaseControl): 23890 (.TestSuite.prototype.reportOk_): 23891 (.TestSuite.prototype.reportFailure_): 23892 (.TestSuite.prototype.runTest): 23893 (.TestSuite.prototype.showPanel): 23894 (.TestSuite.prototype.addSniffer.receiver.methodName): 23895 (.TestSuite.prototype.addSniffer): 23896 (.TestSuite.prototype.testHostIsPresent): 23897 (.TestSuite.prototype.testElementsTreeRoot): 23898 (.TestSuite.prototype.testMainResource): 23899 (.TestSuite.prototype.testResourceContentLength.this.addSniffer.): 23900 (.TestSuite.prototype.testResourceHeaders): 23901 (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.): 23902 (.TestSuite.prototype.testCachedResourceMimeType): 23903 (.TestSuite.prototype.testProfilerTab): 23904 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed): 23905 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel): 23906 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh): 23907 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab): 23908 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab): 23909 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel): 23910 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates): 23911 (.TestSuite.prototype.testPauseOnException): 23912 (.TestSuite.prototype.testPauseWhenLoadingDevTools): 23913 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay): 23914 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause): 23915 (.TestSuite.prototype.testPauseWhenScriptIsRunning): 23916 (.TestSuite.prototype.optionsToString_): 23917 (.TestSuite.prototype.evaluateInConsole_): 23918 (.TestSuite.prototype.waitForSetBreakpointResponse_): 23919 (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback): 23920 (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit): 23921 (.TestSuite.prototype.testCompletionOnPause): 23922 (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion): 23923 (.TestSuite.prototype.testCompletionOnPause.testThisCompletion): 23924 (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion): 23925 (.TestSuite.prototype.testCompletionOnPause.checkCompletions): 23926 (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList): 23927 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test): 23928 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent): 23929 (.TestSuite.prototype._checkExecutionLine): 23930 (.TestSuite.prototype._scriptsAreParsed): 23931 (.TestSuite.prototype._waitForScriptPause): 23932 (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine): 23933 (.TestSuite.prototype._checkSourceFrameWhenLoaded): 23934 (.TestSuite.prototype._performSteps.doNextAction): 23935 (.TestSuite.prototype._performSteps): 23936 (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage): 23937 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts): 23938 (.TestSuite.prototype._waitUntilScriptsAreParsed): 23939 (.TestSuite.prototype._executeFunctionForStepTest): 23940 (.TestSuite.prototype.testStepOver): 23941 (.TestSuite.prototype.testStepOut): 23942 (.TestSuite.prototype.testStepIn): 23943 (.TestSuite.prototype._evaluateXpath): 23944 (.TestSuite.prototype._findNode): 23945 (.TestSuite.prototype._findText): 23946 (.TestSuite.prototype._nodeIterator): 23947 (.TestSuite.prototype._checkScopeSectionDiv): 23948 (.TestSuite.prototype._expandScopeSections.updateListener): 23949 (.TestSuite.prototype._expandScopeSections): 23950 (.TestSuite.prototype.testExpandScope): 23951 (.TestSuite.prototype.testExpandScope.examineScopes): 23952 (.TestSuite.prototype._findChildProperty): 23953 (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties): 23954 (.TestSuite.prototype._hookGetPropertiesCallback.try): 23955 (.TestSuite.prototype._hookGetPropertiesCallback): 23956 (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope): 23957 (.TestSuite.prototype.testDebugIntrinsicProperties): 23958 (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty): 23959 (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty): 23960 (.TestSuite.createKeyEvent): 23961 (.TestSuite.prototype.testConsoleLog.assertNext): 23962 (.TestSuite.prototype.testConsoleLog): 23963 (.TestSuite.prototype.testEvalGlobal.initEval): 23964 (.TestSuite.prototype.testEvalGlobal): 23965 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.): 23966 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer): 23967 (.uiTests.runAllTests): 23968 (.uiTests.runTest): 23969 23970 2010-02-09 Yury Semikhatsky <yurys (a] chromium.org> 23971 23972 Reviewed by Pavel Feldman. 23973 23974 Upstream JavaScript part of DevTools WebKit API implementation 23975 23976 https://bugs.webkit.org/show_bug.cgi?id=34744 23977 23978 * WebKit.gypi: Added. 23979 * src/js/DebuggerAgent.js: Added. 23980 (devtools.DebuggerAgent): 23981 (devtools.DebuggerAgent.prototype.reset): 23982 (devtools.DebuggerAgent.prototype.initUI): 23983 (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber): 23984 (devtools.DebuggerAgent.prototype.resolveScriptSource): 23985 (devtools.DebuggerAgent.prototype.pauseExecution): 23986 (devtools.DebuggerAgent.prototype.addBreakpoint): 23987 (devtools.DebuggerAgent.prototype.removeBreakpoint): 23988 (devtools.DebuggerAgent.prototype.updateBreakpoint): 23989 (devtools.DebuggerAgent.prototype.stepIntoStatement): 23990 (devtools.DebuggerAgent.prototype.stepOutOfFunction): 23991 (devtools.DebuggerAgent.prototype.stepOverStatement): 23992 (devtools.DebuggerAgent.prototype.resumeExecution): 23993 (devtools.DebuggerAgent.prototype.createExceptionMessage_): 23994 (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_): 23995 (devtools.DebuggerAgent.prototype.clearExceptionMessage_): 23996 (devtools.DebuggerAgent.prototype.pauseOnExceptions): 23997 (devtools.DebuggerAgent.prototype.setPauseOnExceptions): 23998 (devtools.DebuggerAgent.prototype.requestEvaluate): 23999 (devtools.DebuggerAgent.prototype.resolveChildren): 24000 (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber): 24001 (devtools.DebuggerAgent.prototype.resolveScope): 24002 (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler): 24003 (devtools.DebuggerAgent.prototype.resolveFrameVariables_): 24004 (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame): 24005 (devtools.DebuggerAgent.prototype.getScriptContextType): 24006 (devtools.DebuggerAgent.prototype.requestClearBreakpoint_): 24007 (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_): 24008 (devtools.DebuggerAgent.prototype.requestBacktrace_): 24009 (devtools.DebuggerAgent.sendCommand_): 24010 (devtools.DebuggerAgent.prototype.stepCommand_): 24011 (devtools.DebuggerAgent.prototype.requestLookup_): 24012 (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber): 24013 (devtools.DebuggerAgent.prototype.setContextId_): 24014 (devtools.DebuggerAgent.prototype.handleDebuggerOutput_): 24015 (devtools.DebuggerAgent.prototype.handleBreakEvent_): 24016 (devtools.DebuggerAgent.prototype.handleExceptionEvent_): 24017 (devtools.DebuggerAgent.prototype.handleScriptsResponse_): 24018 (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_): 24019 (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_): 24020 (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_): 24021 (devtools.DebuggerAgent.prototype.addScriptInfo_): 24022 (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_): 24023 (devtools.DebuggerAgent.prototype.handleBacktraceResponse_): 24024 (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_): 24025 (devtools.DebuggerAgent.prototype.evaluateInCallFrame): 24026 (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_): 24027 (devtools.DebuggerAgent.prototype.formatCallFrame_): 24028 (devtools.DebuggerAgent.formatObjectProperties_): 24029 (devtools.DebuggerAgent.propertiesToProxies_): 24030 (devtools.DebuggerAgent.formatObjectProxy_): 24031 (devtools.DebuggerAgent.webkitToV8LineNumber_): 24032 (devtools.DebuggerAgent.v8ToWwebkitLineNumber_): 24033 (devtools.ScriptInfo): 24034 (devtools.ScriptInfo.prototype.getLineOffset): 24035 (devtools.ScriptInfo.prototype.getContextType): 24036 (devtools.ScriptInfo.prototype.getUrl): 24037 (devtools.ScriptInfo.prototype.isUnresolved): 24038 (devtools.ScriptInfo.prototype.getBreakpointInfo): 24039 (devtools.ScriptInfo.prototype.addBreakpointInfo): 24040 (devtools.ScriptInfo.prototype.removeBreakpointInfo): 24041 (devtools.BreakpointInfo): 24042 (devtools.BreakpointInfo.prototype.getLine): 24043 (devtools.BreakpointInfo.prototype.getV8Id): 24044 (devtools.BreakpointInfo.prototype.setV8Id): 24045 (devtools.BreakpointInfo.prototype.markAsRemoved): 24046 (devtools.BreakpointInfo.prototype.isRemoved): 24047 (devtools.CallFrame): 24048 (devtools.CallFrame.prototype.evaluate_): 24049 (devtools.DebugCommand): 24050 (devtools.DebugCommand.prototype.getSequenceNumber): 24051 (devtools.DebugCommand.prototype.toJSONProtocol): 24052 (devtools.DebuggerMessage): 24053 (devtools.DebuggerMessage.prototype.getType): 24054 (devtools.DebuggerMessage.prototype.getEvent): 24055 (devtools.DebuggerMessage.prototype.getCommand): 24056 (devtools.DebuggerMessage.prototype.getRequestSeq): 24057 (devtools.DebuggerMessage.prototype.isRunning): 24058 (devtools.DebuggerMessage.prototype.isSuccess): 24059 (devtools.DebuggerMessage.prototype.getMessage): 24060 (devtools.DebuggerMessage.prototype.getBody): 24061 (devtools.DebuggerMessage.prototype.lookup): 24062 * src/js/DevTools.js: Added. 24063 (devtools.dispatch): 24064 (devtools.ToolsAgent): 24065 (devtools.ToolsAgent.prototype.reset): 24066 (devtools.ToolsAgent.prototype.evaluateJavaScript): 24067 (devtools.ToolsAgent.prototype.getDebuggerAgent): 24068 (devtools.ToolsAgent.prototype.getProfilerAgent): 24069 (devtools.ToolsAgent.prototype.frameNavigate_): 24070 (devtools.ToolsAgent.prototype.dispatchOnClient_): 24071 (devtools.ToolsAgent.prototype.evaluate): 24072 (WebInspector.setResourcesPanelEnabled): 24073 (debugPrint): 24074 (devtools): 24075 (WebInspector.loaded): 24076 (): 24077 (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded): 24078 (WebInspector.ScriptView.prototype.didResolveScriptSource_): 24079 (WebInspector.UnresolvedPropertyValue): 24080 (WebInspector.UIString): 24081 (WebInspector.resourceTrackingWasEnabled): 24082 (WebInspector.resourceTrackingWasDisabled): 24083 (WebInspector.TestController.prototype.runAfterPendingDispatches): 24084 (WebInspector.queuesAreEmpty): 24085 (WebInspector.pausedScript): 24086 * src/js/DevToolsHostStub.js: Added. 24087 (.RemoteDebuggerAgentStub): 24088 (.RemoteDebuggerAgentStub.prototype.getContextId): 24089 (.RemoteProfilerAgentStub): 24090 (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules): 24091 (.RemoteProfilerAgentStub.prototype.getLogLines): 24092 (.RemoteToolsAgentStub): 24093 (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript): 24094 (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController): 24095 (.RemoteToolsAgentStub.prototype.executeVoidJavaScript): 24096 (.ProfilerStubHelper): 24097 (.ProfilerStubHelper.GetInstance): 24098 (.ProfilerStubHelper.prototype.StopProfiling): 24099 (.ProfilerStubHelper.prototype.StartProfiling): 24100 (.ProfilerStubHelper.prototype.getActiveProfilerModules): 24101 (.ProfilerStubHelper.prototype.getLogLines): 24102 (.RemoteDebuggerCommandExecutorStub): 24103 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand): 24104 (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript): 24105 (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_): 24106 (.DevToolsHostStub): 24107 (.DevToolsHostStub.prototype.reset): 24108 (.DevToolsHostStub.prototype.setting): 24109 (.DevToolsHostStub.prototype.setSetting): 24110 * src/js/HeapProfilerPanel.js: Added. 24111 (WebInspector.ProfilesPanel.prototype.addSnapshot): 24112 (WebInspector.HeapSnapshotView): 24113 (WebInspector.HeapSnapshotView.prototype.get statusBarItems): 24114 (WebInspector.HeapSnapshotView.prototype.get profile): 24115 (WebInspector.HeapSnapshotView.prototype.set profile): 24116 (WebInspector.HeapSnapshotView.prototype.show): 24117 (WebInspector.HeapSnapshotView.prototype.hide): 24118 (WebInspector.HeapSnapshotView.prototype.resize): 24119 (WebInspector.HeapSnapshotView.prototype.refresh): 24120 (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents): 24121 (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags): 24122 (WebInspector.HeapSnapshotView.prototype.searchCanceled): 24123 (WebInspector.HeapSnapshotView.prototype.performSearch): 24124 (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData): 24125 (WebInspector.HeapSnapshotView.prototype._changeBase): 24126 (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList): 24127 (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid): 24128 (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent): 24129 (WebInspector.HeapSnapshotView.prototype._percentClicked): 24130 (WebInspector.HeapSnapshotView.prototype._resetDataGridList): 24131 (WebInspector.HeapSnapshotView.prototype._sortData): 24132 (WebInspector.HeapSnapshotView.prototype._updateBaseOptions): 24133 (WebInspector.HeapSnapshotView.prototype._updatePercentButton): 24134 (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph): 24135 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS): 24136 (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL): 24137 (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL): 24138 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL): 24139 (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER): 24140 (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber): 24141 (WebInspector.HeapSummaryCalculator): 24142 (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues): 24143 (WebInspector.HeapSummaryCalculator.prototype.formatValue): 24144 (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent): 24145 (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent): 24146 (WebInspector.HeapSummaryCountCalculator): 24147 (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow): 24148 (WebInspector.HeapSummaryCountCalculator.prototype._valueToString): 24149 (WebInspector.HeapSummarySizeCalculator): 24150 (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow): 24151 (WebInspector.HeapSnapshotSidebarTreeElement): 24152 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle): 24153 (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle): 24154 (WebInspector.HeapSnapshotDataGridNodeWithRetainers): 24155 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers): 24156 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent): 24157 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if): 24158 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate): 24159 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff): 24160 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort): 24161 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta): 24162 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent): 24163 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount): 24164 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize): 24165 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent): 24166 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent): 24167 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent): 24168 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent): 24169 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data): 24170 (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell): 24171 (WebInspector.HeapSnapshotDataGridNode): 24172 (WebInspector.HeapSnapshotDataGridList): 24173 (WebInspector.HeapSnapshotDataGridList.prototype.appendChild): 24174 (WebInspector.HeapSnapshotDataGridList.prototype.insertChild): 24175 (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren): 24176 (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren): 24177 (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator): 24178 (WebInspector.HeapSnapshotDataGridList.propertyComparator): 24179 (WebInspector.HeapSnapshotDataGridRetainerNode): 24180 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent): 24181 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent): 24182 (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers): 24183 (WebInspector.HeapSnapshotProfileType): 24184 (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip): 24185 (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle): 24186 (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked): 24187 (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage): 24188 (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile): 24189 (WebInspector.HeapSnapshotProfileType.prototype.createView): 24190 (): 24191 * src/js/InjectDispatch.js: Added. 24192 (InspectorControllerDispatcher.dispatch): 24193 (ApuAgentDispatcher.dispatchToApu): 24194 (dispatch): 24195 (devtools): 24196 * src/js/InspectorControllerImpl.js: Added. 24197 (devtools.InspectorBackendImpl): 24198 (devtools.InspectorBackendImpl.prototype.toggleNodeSearch): 24199 (devtools.InspectorBackendImpl.prototype.debuggerEnabled): 24200 (devtools.InspectorBackendImpl.prototype.profilerEnabled): 24201 (devtools.InspectorBackendImpl.prototype.addBreakpoint): 24202 (devtools.InspectorBackendImpl.prototype.removeBreakpoint): 24203 (devtools.InspectorBackendImpl.prototype.updateBreakpoint): 24204 (devtools.InspectorBackendImpl.prototype.pauseInDebugger): 24205 (devtools.InspectorBackendImpl.prototype.resumeDebugger): 24206 (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger): 24207 (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger): 24208 (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger): 24209 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState): 24210 (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState): 24211 (devtools.InspectorBackendImpl.prototype.pauseOnExceptions): 24212 (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions): 24213 (devtools.InspectorBackendImpl.prototype.startProfiling): 24214 (devtools.InspectorBackendImpl.prototype.stopProfiling): 24215 (devtools.InspectorBackendImpl.prototype.getProfileHeaders): 24216 (devtools.InspectorBackendImpl.prototype.addFullProfile): 24217 (devtools.InspectorBackendImpl.prototype.getProfile): 24218 (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot): 24219 (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript): 24220 (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_): 24221 (devtools.InspectorBackendImpl.prototype.callInspectorController_): 24222 * src/js/ProfilerAgent.js: Added. 24223 (devtools.ProfilerAgent): 24224 (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks): 24225 (devtools.ProfilerAgent.prototype.initializeProfiling): 24226 (devtools.ProfilerAgent.prototype.startProfiling): 24227 (devtools.ProfilerAgent.prototype.stopProfiling): 24228 (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_): 24229 (devtools.ProfilerAgent.prototype.didGetLogLines_): 24230 * src/js/ProfilerProcessor.js: Added. 24231 (devtools.profiler.WebKitViewBuilder): 24232 (devtools.profiler.WebKitViewBuilder.prototype.createViewNode): 24233 (devtools.profiler.WebKitViewNode): 24234 (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_): 24235 (devtools.profiler.JsProfile): 24236 (devtools.profiler.JsProfile.prototype.skipThisFunction): 24237 (devtools.profiler.Processor): 24238 (devtools.profiler.Processor.prototype.printError): 24239 (devtools.profiler.Processor.prototype.skipDispatch): 24240 (devtools.profiler.Processor.prototype.setCallbacks): 24241 (devtools.profiler.Processor.prototype.setNewProfileCallback): 24242 (devtools.profiler.Processor.prototype.processProfiler_.switch.break): 24243 (devtools.profiler.Processor.prototype.processProfiler_): 24244 (devtools.profiler.Processor.prototype.processCodeCreation_): 24245 (devtools.profiler.Processor.prototype.processCodeMove_): 24246 (devtools.profiler.Processor.prototype.processCodeDelete_): 24247 (devtools.profiler.Processor.prototype.processFunctionCreation_): 24248 (devtools.profiler.Processor.prototype.processFunctionMove_): 24249 (devtools.profiler.Processor.prototype.processFunctionDelete_): 24250 (devtools.profiler.Processor.prototype.processTick_): 24251 (devtools.profiler.Processor.prototype.processTickV2_): 24252 (devtools.profiler.Processor.prototype.processHeapSampleBegin_): 24253 (devtools.profiler.Processor.prototype.processHeapSampleStats_): 24254 (devtools.profiler.Processor.prototype.processHeapSampleItem_): 24255 (devtools.profiler.Processor.prototype.processHeapJsConsItem_): 24256 (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers): 24257 (devtools.profiler.Processor.prototype.processHeapJsRetItem_): 24258 (devtools.profiler.Processor.prototype.processHeapSampleEnd_): 24259 (devtools.profiler.Processor.prototype.createProfileForView): 24260 * src/js/Tests.js: Added. 24261 (.TestSuite): 24262 (.TestSuite.prototype.fail): 24263 (.TestSuite.prototype.assertEquals): 24264 (.TestSuite.prototype.assertTrue): 24265 (.TestSuite.prototype.assertContains): 24266 (.TestSuite.prototype.takeControl): 24267 (.TestSuite.prototype.releaseControl): 24268 (.TestSuite.prototype.reportOk_): 24269 (.TestSuite.prototype.reportFailure_): 24270 (.TestSuite.prototype.runTest): 24271 (.TestSuite.prototype.showPanel): 24272 (.TestSuite.prototype.addSniffer.receiver.methodName): 24273 (.TestSuite.prototype.addSniffer): 24274 (.TestSuite.prototype.testHostIsPresent): 24275 (.TestSuite.prototype.testElementsTreeRoot): 24276 (.TestSuite.prototype.testMainResource): 24277 (.TestSuite.prototype.testResourceContentLength.this.addSniffer.): 24278 (.TestSuite.prototype.testResourceHeaders): 24279 (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.): 24280 (.TestSuite.prototype.testCachedResourceMimeType): 24281 (.TestSuite.prototype.testProfilerTab): 24282 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed): 24283 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel): 24284 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh): 24285 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab): 24286 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab): 24287 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel): 24288 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates): 24289 (.TestSuite.prototype.testPauseOnException): 24290 (.TestSuite.prototype.testPauseWhenLoadingDevTools): 24291 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay): 24292 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause): 24293 (.TestSuite.prototype.testPauseWhenScriptIsRunning): 24294 (.TestSuite.prototype.optionsToString_): 24295 (.TestSuite.prototype.evaluateInConsole_): 24296 (.TestSuite.prototype.waitForSetBreakpointResponse_): 24297 (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback): 24298 (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit): 24299 (.TestSuite.prototype.testCompletionOnPause): 24300 (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion): 24301 (.TestSuite.prototype.testCompletionOnPause.testThisCompletion): 24302 (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion): 24303 (.TestSuite.prototype.testCompletionOnPause.checkCompletions): 24304 (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList): 24305 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test): 24306 (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent): 24307 (.TestSuite.prototype._checkExecutionLine): 24308 (.TestSuite.prototype._scriptsAreParsed): 24309 (.TestSuite.prototype._waitForScriptPause): 24310 (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine): 24311 (.TestSuite.prototype._checkSourceFrameWhenLoaded): 24312 (.TestSuite.prototype._performSteps.doNextAction): 24313 (.TestSuite.prototype._performSteps): 24314 (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage): 24315 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts): 24316 (.TestSuite.prototype._waitUntilScriptsAreParsed): 24317 (.TestSuite.prototype._executeFunctionForStepTest): 24318 (.TestSuite.prototype.testStepOver): 24319 (.TestSuite.prototype.testStepOut): 24320 (.TestSuite.prototype.testStepIn): 24321 (.TestSuite.prototype._evaluateXpath): 24322 (.TestSuite.prototype._findNode): 24323 (.TestSuite.prototype._findText): 24324 (.TestSuite.prototype._nodeIterator): 24325 (.TestSuite.prototype._checkScopeSectionDiv): 24326 (.TestSuite.prototype._expandScopeSections.updateListener): 24327 (.TestSuite.prototype._expandScopeSections): 24328 (.TestSuite.prototype.testExpandScope): 24329 (.TestSuite.prototype.testExpandScope.examineScopes): 24330 (.TestSuite.prototype._findChildProperty): 24331 (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties): 24332 (.TestSuite.prototype._hookGetPropertiesCallback.try): 24333 (.TestSuite.prototype._hookGetPropertiesCallback): 24334 (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope): 24335 (.TestSuite.prototype.testDebugIntrinsicProperties): 24336 (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty): 24337 (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty): 24338 (.TestSuite.createKeyEvent): 24339 (.TestSuite.prototype.testConsoleLog.assertNext): 24340 (.TestSuite.prototype.testConsoleLog): 24341 (.TestSuite.prototype.testEvalGlobal.initEval): 24342 (.TestSuite.prototype.testEvalGlobal): 24343 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.): 24344 (.TestSuite.prototype.testShowStoragePanel.this.addSniffer): 24345 (.uiTests.runAllTests): 24346 (.uiTests.runTest): 24347 24348 2010-02-09 Avi Drissman <avi (a] chromium.org> 24349 24350 Reviewed by David Levin. 24351 24352 Chromium Mac: Control-A shouldn't select all/Control-C shouldn't copy 24353 https://bugs.webkit.org/show_bug.cgi?id=34615 24354 24355 * src/WebViewImpl.cpp: 24356 (WebKit::WebViewImpl::keyEventDefault): 24357 24358 2010-02-08 Evan Martin <evan (a] chromium.org> 24359 24360 dlopen() knows how to search the library search path, so just rely on 24361 it. While I'm at it, print out the dlerror() error message on failure. 24362 24363 [chromium] webgl shouldn't hard code library search path 24364 https://bugs.webkit.org/show_bug.cgi?id=34659 24365 24366 * src/GraphicsContext3D.cpp: 24367 (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection): 24368 (WebCore::GraphicsContext3DInternal::GLConnection::create): 24369 24370 2010-02-08 Charlie Reis <creis (a] chromium.org> 24371 24372 Reviewed by Darin Adler. 24373 24374 onbeforeunload not called at window close + frame or iframe focused 24375 https://bugs.webkit.org/show_bug.cgi?id=27481 24376 http://code.google.com/p/chromium/issues/detail?id=32615 24377 http://code.google.com/p/chromium/issues/detail?id=17157 24378 24379 Chromium and WebKit on Windows will now fire beforeunload handlers 24380 even if an inner frame is focused. 24381 24382 Layout tests aren't able to test this bug, since it requires closing 24383 the actual browser window, not calling window.close(). Instead, 24384 test with WebCore/manual-tests/onbeforeunload-focused-iframe.html. 24385 24386 * src/WebViewImpl.cpp: 24387 (WebKit::WebViewImpl::dispatchBeforeUnloadEvent): 24388 24389 2010-02-08 Pavel Feldman <pfeldman (a] chromium.org> 24390 24391 Reviewed by David Levin. 24392 24393 WebKit/chromium: Custom context menu does not work in inspector. 24394 https://bugs.webkit.org/show_bug.cgi?id=34711 24395 24396 * src/WebDevToolsFrontendImpl.cpp: 24397 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu): 24398 24399 2010-02-08 Nate Chapin <japhet (a] chromium.org> 24400 24401 Reviewed by Darin Fisher. 24402 24403 Check that the index passed into BackForwardListClientImpl::itemAtIndex() 24404 is valid, and return null if it isn't. 24405 24406 https://bugs.webkit.org/show_bug.cgi?id=34722 24407 24408 * src/BackForwardListClientImpl.cpp: 24409 (WebKit::BackForwardListClientImpl::itemAtIndex): 24410 24411 2010-02-05 Dumitru Daniliuc <dumi (a] chromium.org> 24412 24413 Reviewed by Jeremy Orlow. 24414 24415 Adding a way to close all database handles pointing to a certain 24416 database as soon as possible. 24417 https://bugs.webkit.org/show_bug.cgi?id=34619 24418 24419 * public/WebDatabase.h: 24420 * src/WebDatabase.cpp: 24421 (WebKit::WebDatabase::closeDatabaseImmediately): 24422 24423 2010-02-08 Dirk Schulze <krit (a] webkit.org> 24424 24425 Reviewed by Nikolas Zimmermann. 24426 24427 Add back an AffineTransform class for use by SVG 24428 https://bugs.webkit.org/show_bug.cgi?id=33750 24429 24430 Use AffineTransform instead of TransformationMatrix here. 24431 24432 * tests/TransparencyWinTest.cpp: 24433 (WebCore::TEST): 24434 24435 2010-02-07 Jian Li <jianli (a] chromium.org> 24436 24437 Reviewed by Darin Fisher. 24438 24439 [chromium] Change chromium interface to handle DownloadURL format. 24440 https://bugs.webkit.org/show_bug.cgi?id=34655 24441 24442 * public/WebDragData.h: 24443 * src/WebDragData.cpp: 24444 (WebKit::WebDragData::downloadMetadata): 24445 (WebKit::WebDragData::setDownloadMetadata): 24446 24447 2010-02-06 Dimitri Glazkov <dglazkov (a] chromium.org> 24448 24449 No review, rolling out r54364. 24450 http://trac.webkit.org/changeset/54364 24451 https://bugs.webkit.org/show_bug.cgi?id=34464 24452 24453 Introduced asserts in layout tests, needs more testing 24454 locally. 24455 24456 * public/WebViewClient.h: 24457 * src/ChromeClientImpl.cpp: 24458 * src/ChromeClientImpl.h: 24459 24460 2010-02-05 James Hawkins <jhawkins (a] chromium.org> 24461 24462 Reviewed by David Levin. 24463 24464 [Chromium] Rename autocomplete* to suggestions* to prepare for the 24465 refactoring of AutocompletePopupMenuClient. 24466 24467 https://bugs.webkit.org/show_bug.cgi?id=34664 24468 24469 * public/WebView.h: 24470 * src/AutocompletePopupMenuClient.cpp: 24471 (WebKit::AutocompletePopupMenuClient::popupDidHide): 24472 * src/EditorClientImpl.cpp: 24473 (WebKit::EditorClientImpl::textFieldDidEndEditing): 24474 (WebKit::EditorClientImpl::doAutofill): 24475 * src/WebViewImpl.cpp: 24476 (WebKit::): 24477 (WebKit::WebViewImpl::WebViewImpl): 24478 (WebKit::WebViewImpl::mouseDown): 24479 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): 24480 (WebKit::WebViewImpl::setFocus): 24481 (WebKit::WebViewImpl::applyAutofillSuggestions): 24482 (WebKit::WebViewImpl::hideAutofillPopup): 24483 (WebKit::WebViewImpl::hideSuggestionsPopup): 24484 (WebKit::WebViewImpl::refreshSuggestionsPopup): 24485 * src/WebViewImpl.h: 24486 (WebKit::WebViewImpl::suggestionsPopupDidHide): 24487 24488 2010-02-05 James Hawkins <jhawkins (a] chromium.org> 24489 24490 Reviewed by David Levin. 24491 24492 [Chromium] Remove an unused forward declaration in WebKitClient.h. 24493 24494 https://bugs.webkit.org/show_bug.cgi?id=34622 24495 24496 * public/WebKitClient.h: 24497 24498 2010-02-05 James Hawkins <jhawkins (a] chromium.org> 24499 24500 Reviewed by Darin Fisher. 24501 24502 Implement WebInputElement::isActivatedSubmit(). 24503 24504 https://bugs.webkit.org/show_bug.cgi?id=34623 24505 24506 * public/WebInputElement.h: 24507 * src/WebInputElement.cpp: 24508 (WebKit::WebInputElement::isActivatedSubmit): 24509 24510 2010-02-05 Nate Chapin <japhet (a] chromium.org> 24511 24512 Reviewed by Dimitri Glazkov. 24513 24514 Update code for getting a v8::FunctionTemplate. 24515 24516 https://bugs.webkit.org/show_bug.cgi?id=34606 24517 24518 * src/WebDevToolsAgentImpl.cpp: 24519 (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper): 24520 24521 2010-02-05 Mikhail Naganov <mnaganov (a] chromium.org> 24522 24523 Reviewed by Pavel Feldman. 24524 24525 Enable JAVASCRIPT_DEBUGGER in chromium port. 24526 24527 https://bugs.webkit.org/show_bug.cgi?id=34638 24528 24529 * features.gypi: 24530 24531 2010-02-04 Yaar Schnitman <yaar (a] chromium.org> 24532 24533 Reviewed by Darin Fisher. 24534 24535 Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin 24536 https://bugs.webkit.org/show_bug.cgi?id=34509 24537 24538 Resubmit: The previous commit (r54333) was rolled back. 24539 24540 * WebKit.gyp: 24541 * tests/TransparencyWinTest.cpp: Added. 24542 (WebCore::RECTToFloatRect): 24543 (WebCore::drawNativeRect): 24544 (WebCore::getPixelAt): 24545 (WebCore::clearTopLayerAlphaChannel): 24546 (WebCore::clearTopLayerAlphaPixel): 24547 (WebCore::operator<<): 24548 (WebCore::TEST): 24549 * tests/UniscribeHelperTest.cpp: Added. 24550 (WebCore::UniscribeTest::UniscribeTest): 24551 (WebCore::UniscribeTest::MakeFont): 24552 (WebCore::UniscribeTest::SetUp): 24553 (WebCore::UniscribeTest::TearDown): 24554 (TEST_F): 24555 24556 2010-02-04 Drew Wilson <atwilson (a] chromium.org> 24557 24558 Reviewed by David Levin. 24559 24560 WorkerContext.close() does not work in the chromium port 24561 https://bugs.webkit.org/show_bug.cgi?id=34551 24562 24563 Test: Adding new downstream test. 24564 24565 * src/WebWorkerBase.cpp: 24566 (WebKit::WebWorkerBase::workerContextClosedTask): 24567 Now shuts down the worker thread when WorkerContext::close() is invoked. 24568 24569 2010-02-04 Chris Guillory <chris.guillory (a] google.com> 24570 24571 Reviewed by Darin Fisher. 24572 24573 [Chromium] Add function for AccessibilityObject state change notifications. 24574 24575 https://bugs.webkit.org/show_bug.cgi?id=34464 24576 24577 * public/WebViewClient.h: 24578 (WebKit::WebViewClient::didChangeAccessibilityObjectState): 24579 * src/ChromeClientImpl.cpp: 24580 (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState): 24581 * src/ChromeClientImpl.h: 24582 24583 2010-02-04 Jeremy Moskovich <jeremy (a] chromium.org> 24584 24585 Reviewed by Darin Fisher. 24586 24587 Update comments to better document the possible values of the 24588 writing direction menu state variables. 24589 24590 * public/WebContextMenuData.h: 24591 24592 2010-02-04 Nate Chapin <japhet (a] chromium.org> 24593 24594 Reviewed by Dimitri Glazkov. 24595 24596 Remove references to V8Custom. 24597 24598 https://bugs.webkit.org/show_bug.cgi?id=32638 24599 24600 * src/DebuggerAgentImpl.cpp: 24601 * src/WebDevToolsFrontendImpl.cpp: 24602 24603 2010-02-04 Yury Semikhatsky <yurys (a] chromium.org> 24604 24605 Unreviewed. Revert 54333 which broke Chromium build. 24606 24607 * WebKit.gyp: 24608 * tests/TransparencyWinTest.cpp: Removed. 24609 * tests/UniscribeHelperTest.cpp: Removed. 24610 24611 2010-02-04 Yaar Schnitman <yaar (a] chromium.org> 24612 24613 Reviewed by Darin Fisher. 24614 24615 Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin. 24616 https://bugs.webkit.org/show_bug.cgi?id=34509 24617 24618 * WebKit.gyp: 24619 * tests/TransparencyWinTest.cpp: Added. 24620 (WebCore::RECTToFloatRect): 24621 (WebCore::drawNativeRect): 24622 (WebCore::getPixelAt): 24623 (WebCore::clearTopLayerAlphaChannel): 24624 (WebCore::clearTopLayerAlphaPixel): 24625 (WebCore::operator<<): 24626 (WebCore::TEST): 24627 * tests/UniscribeHelperTest.cpp: Added. 24628 (WebCore::UniscribeTest::UniscribeTest): 24629 (WebCore::UniscribeTest::MakeFont): 24630 (WebCore::UniscribeTest::SetUp): 24631 (WebCore::UniscribeTest::TearDown): 24632 (WebCore::TEST_F): 24633 24634 2010-02-04 Jeremy Moskovich <jeremy (a] chromium.org> 24635 24636 Reviewed by David Levin. 24637 24638 [Chromium] WebKit side of "Writing direction" context menu on OS X. 24639 https://bugs.webkit.org/show_bug.cgi?id=34524 24640 24641 * public/WebContextMenuData.h: 24642 (WebKit::WebContextMenuData::): 24643 * src/ContextMenuClientImpl.cpp: 24644 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 24645 24646 2010-02-03 Drew Wilson <atwilson (a] chromium.org> 24647 24648 Reviewed by Alexey Proskuryakov. 24649 24650 SharedWorkerScriptLoader should not be an ActiveDOMObject 24651 https://bugs.webkit.org/show_bug.cgi?id=34513 24652 24653 * src/SharedWorkerRepository.cpp: 24654 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader): 24655 Changed SharedWorkerScriptLoader to manage its own lifecycle without using ActiveDOMObject. 24656 (WebCore::SharedWorkerScriptLoader::parentContext): 24657 (WebCore::pendingLoaders): 24658 Now we manually track pending loads so we can shut them down when the parent context shuts down. 24659 (WebCore::SharedWorkerScriptLoader::contextDetached): 24660 Shuts down/frees any pending worker loads. 24661 (WebCore::SharedWorkerScriptLoader::~SharedWorkerScriptLoader): 24662 Marks the SharedWorker object as not having pending activity if there was a load active (handles case where load was pending when parent document exits). 24663 (WebCore::SharedWorkerScriptLoader::load): 24664 (WebCore::SharedWorkerRepository::documentDetached): 24665 Now calls SharedWorkerScriptLoader::contextDetached() to shutdown any pending worker loads. 24666 24667 2010-02-03 Alexander Pavlov <apavlov (a] chromium.org> 24668 24669 Reviewed by Timothy Hatcher. 24670 24671 [Chromium] Return a consistent set of platforms from WebDevToolsFrontendImpl 24672 https://bugs.webkit.org/show_bug.cgi?id=34523 24673 24674 * src/WebDevToolsFrontendImpl.cpp: 24675 (WebKit::WebDevToolsFrontendImpl::jsPlatform): 24676 24677 2010-02-02 Joel Stanley <joel (a] jms.id.au> 24678 24679 Reviewed by David Levin. 24680 24681 [Chromium] Add API method for setting caret blink frequency. 24682 https://bugs.webkit.org/show_bug.cgi?id=31704 24683 24684 This enables the RenderThemeChromiumLinux::setCaretBlinkInterval method 24685 to be called Chromium's API. The API is linux-only as it is currently 24686 the only port to implement RenderTheme::setCaretBlinkInterval. 24687 24688 * WebKit.gyp: Add WebRenderTheme.{h,cpp} 24689 * public/linux/WebRenderTheme.h: Added. 24690 * src/linux/WebRenderTheme.cpp: Added. 24691 (WebKit::setCaretBlinkInterval): Exposed API 24692 24693 2010-02-02 Shinichiro Hamaji <hamaji (a] chromium.org> 24694 24695 Reviewed by Dimitri Glazkov. 24696 24697 [Chromium] Implement WebFrameImpl::pageNumberForElementById 24698 https://bugs.webkit.org/show_bug.cgi?id=34471 24699 24700 * public/WebFrame.h: 24701 * src/WebFrameImpl.cpp: 24702 (WebKit::WebFrameImpl::pageNumberForElementById): 24703 * src/WebFrameImpl.h: 24704 24705 2010-02-02 Yury Semikhatsky <yurys (a] chromium.org> 24706 24707 Reviewed by Pavel Feldman. 24708 24709 Upstream DevTools code. 24710 24711 https://bugs.webkit.org/show_bug.cgi?id=34326 24712 24713 * WebKit.gyp: 24714 * src/APUAgentDelegate.h: Added. 24715 * src/BoundObject.cpp: Added. 24716 (WebKit::BoundObject::BoundObject): 24717 (WebKit::BoundObject::~BoundObject): 24718 (WebKit::BoundObject::addProtoFunction): 24719 (WebKit::BoundObject::build): 24720 * src/BoundObject.h: Added. 24721 * src/DebuggerAgent.h: Added. 24722 * src/DebuggerAgentImpl.cpp: Added. 24723 (WebKit::DebuggerAgentImpl::DebuggerAgentImpl): 24724 (WebKit::DebuggerAgentImpl::~DebuggerAgentImpl): 24725 (WebKit::DebuggerAgentImpl::getContextId): 24726 (WebKit::DebuggerAgentImpl::debuggerOutput): 24727 (WebKit::DebuggerAgentImpl::createUtilityContext): 24728 (WebKit::DebuggerAgentImpl::executeUtilityFunction): 24729 (WebKit::DebuggerAgentImpl::executeVoidJavaScript): 24730 (WebKit::DebuggerAgentImpl::page): 24731 * src/DebuggerAgentImpl.h: Added. 24732 (WebKit::DebuggerAgentImpl::setAutoContinueOnException): 24733 (WebKit::DebuggerAgentImpl::autoContinueOnException): 24734 (WebKit::DebuggerAgentImpl::webdevtoolsAgent): 24735 (WebKit::DebuggerAgentImpl::webView): 24736 * src/DebuggerAgentManager.cpp: Added. 24737 (WebKit::DebuggerAgentManager::debugHostDispatchHandler): 24738 (WebKit::DebuggerAgentManager::debugAttach): 24739 (WebKit::DebuggerAgentManager::debugDetach): 24740 (WebKit::DebuggerAgentManager::onV8DebugMessage): 24741 (WebKit::DebuggerAgentManager::pauseScript): 24742 (WebKit::DebuggerAgentManager::executeDebuggerCommand): 24743 (WebKit::DebuggerAgentManager::setMessageLoopDispatchHandler): 24744 (WebKit::DebuggerAgentManager::setHostId): 24745 (WebKit::DebuggerAgentManager::onWebViewClosed): 24746 (WebKit::DebuggerAgentManager::onNavigate): 24747 (WebKit::DebuggerAgentManager::sendCommandToV8): 24748 (WebKit::DebuggerAgentManager::sendContinueCommandToV8): 24749 (WebKit::DebuggerAgentManager::findAgentForCurrentV8Context): 24750 (WebKit::DebuggerAgentManager::debuggerAgentForHostId): 24751 * src/DebuggerAgentManager.h: Added. 24752 (WebKit::DebuggerAgentManager::UtilityContextScope::UtilityContextScope): 24753 (WebKit::DebuggerAgentManager::UtilityContextScope::~UtilityContextScope): 24754 * src/DevToolsRPC.h: Added. 24755 (WebKit::): 24756 (WebKit::DevToolsRPC::Delegate::Delegate): 24757 (WebKit::DevToolsRPC::Delegate::~Delegate): 24758 (WebKit::DevToolsRPC::DevToolsRPC): 24759 (WebKit::DevToolsRPC::~DevToolsRPC): 24760 (WebKit::DevToolsRPC::sendRpcMessage): 24761 * src/DevToolsRPCJS.h: Added. 24762 * src/ProfilerAgent.h: Added. 24763 * src/ProfilerAgentImpl.cpp: Added. 24764 (WebKit::ProfilerAgentImpl::getActiveProfilerModules): 24765 (WebKit::ProfilerAgentImpl::getLogLines): 24766 * src/ProfilerAgentImpl.h: Added. 24767 (WebKit::ProfilerAgentImpl::ProfilerAgentImpl): 24768 (WebKit::ProfilerAgentImpl::~ProfilerAgentImpl): 24769 * src/ToolsAgent.h: Added. 24770 * src/WebDevToolsAgentImpl.cpp: Added. 24771 (WebKit::): 24772 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl): 24773 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl): 24774 (WebKit::WebDevToolsAgentImpl::disposeUtilityContext): 24775 (WebKit::WebDevToolsAgentImpl::unhideResourcesPanelIfNecessary): 24776 (WebKit::WebDevToolsAgentImpl::attach): 24777 (WebKit::WebDevToolsAgentImpl::detach): 24778 (WebKit::WebDevToolsAgentImpl::didNavigate): 24779 (WebKit::WebDevToolsAgentImpl::didCommitProvisionalLoad): 24780 (WebKit::WebDevToolsAgentImpl::didClearWindowObject): 24781 (WebKit::WebDevToolsAgentImpl::forceRepaint): 24782 (WebKit::WebDevToolsAgentImpl::dispatchOnInspectorController): 24783 (WebKit::WebDevToolsAgentImpl::dispatchOnInjectedScript): 24784 (WebKit::WebDevToolsAgentImpl::executeVoidJavaScript): 24785 (WebKit::WebDevToolsAgentImpl::dispatchMessageFromFrontend): 24786 (WebKit::WebDevToolsAgentImpl::inspectElementAt): 24787 (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled): 24788 (WebKit::WebDevToolsAgentImpl::sendRpcMessage): 24789 (WebKit::WebDevToolsAgentImpl::compileUtilityScripts): 24790 (WebKit::WebDevToolsAgentImpl::initDevToolsAgentHost): 24791 (WebKit::WebDevToolsAgentImpl::createInspectorBackendV8Wrapper): 24792 (WebKit::WebDevToolsAgentImpl::resetInspectorFrontendProxy): 24793 (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled): 24794 (WebKit::WebDevToolsAgentImpl::jsDispatchOnClient): 24795 (WebKit::WebDevToolsAgentImpl::jsDispatchToApu): 24796 (WebKit::WebDevToolsAgentImpl::jsEvaluateOnSelf): 24797 (WebKit::WebDevToolsAgentImpl::jsOnRuntimeFeatureStateChanged): 24798 (WebKit::WebDevToolsAgentImpl::inspectorController): 24799 (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest): 24800 (WebKit::WebDevToolsAgentImpl::willSendRequest): 24801 (WebKit::WebDevToolsAgentImpl::didReceiveData): 24802 (WebKit::WebDevToolsAgentImpl::didReceiveResponse): 24803 (WebKit::WebDevToolsAgentImpl::didFinishLoading): 24804 (WebKit::WebDevToolsAgentImpl::didFailLoading): 24805 (WebKit::WebDevToolsAgentImpl::evaluateInWebInspector): 24806 (WebKit::WebDevToolsAgentImpl::setTimelineProfilingEnabled): 24807 (WebKit::WebDevToolsAgent::create): 24808 (WebKit::WebDevToolsAgent::executeDebuggerCommand): 24809 (WebKit::WebDevToolsAgent::debuggerPauseScript): 24810 (WebKit::WebDevToolsAgent::setMessageLoopDispatchHandler): 24811 (WebKit::WebDevToolsAgent::dispatchMessageFromFrontendOnIOThread): 24812 * src/WebDevToolsAgentImpl.h: Added. 24813 (WebKit::WebDevToolsAgentImpl::hostId): 24814 * src/WebDevToolsFrontendImpl.cpp: Added. 24815 (WebKit::ToV8String): 24816 (WebKit::WebDevToolsFrontend::create): 24817 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl): 24818 (WebKit::WebDevToolsFrontendImpl::~WebDevToolsFrontendImpl): 24819 (WebKit::WebDevToolsFrontendImpl::dispatchMessageFromAgent): 24820 (WebKit::WebDevToolsFrontendImpl::executeScript): 24821 (WebKit::WebDevToolsFrontendImpl::dispatchOnWebInspector): 24822 (WebKit::WebDevToolsFrontendImpl::sendRpcMessage): 24823 (WebKit::WebDevToolsFrontendImpl::contextMenuItemSelected): 24824 (WebKit::WebDevToolsFrontendImpl::contextMenuCleared): 24825 (WebKit::WebDevToolsFrontendImpl::jsLoaded): 24826 (WebKit::WebDevToolsFrontendImpl::jsPlatform): 24827 (WebKit::WebDevToolsFrontendImpl::jsPort): 24828 (WebKit::WebDevToolsFrontendImpl::jsCopyText): 24829 (WebKit::WebDevToolsFrontendImpl::jsActivateWindow): 24830 (WebKit::WebDevToolsFrontendImpl::jsCloseWindow): 24831 (WebKit::WebDevToolsFrontendImpl::jsDockWindow): 24832 (WebKit::WebDevToolsFrontendImpl::jsUndockWindow): 24833 (WebKit::WebDevToolsFrontendImpl::jsLocalizedStringsURL): 24834 (WebKit::WebDevToolsFrontendImpl::jsHiddenPanels): 24835 (WebKit::WebDevToolsFrontendImpl::jsDebuggerCommand): 24836 (WebKit::WebDevToolsFrontendImpl::jsSetting): 24837 (WebKit::WebDevToolsFrontendImpl::jsSetSetting): 24838 (WebKit::WebDevToolsFrontendImpl::jsDebuggerPauseScript): 24839 (WebKit::WebDevToolsFrontendImpl::jsWindowUnloading): 24840 (WebKit::WebDevToolsFrontendImpl::jsShowContextMenu): 24841 * src/WebDevToolsFrontendImpl.h: Added. 24842 (WebKit::WebDevToolsFrontendImpl::MenuProvider::create): 24843 (WebKit::WebDevToolsFrontendImpl::MenuProvider::~MenuProvider): 24844 (WebKit::WebDevToolsFrontendImpl::MenuProvider::disconnect): 24845 (WebKit::WebDevToolsFrontendImpl::MenuProvider::populateContextMenu): 24846 (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuItemSelected): 24847 (WebKit::WebDevToolsFrontendImpl::MenuProvider::contextMenuCleared): 24848 (WebKit::WebDevToolsFrontendImpl::MenuProvider::MenuProvider): 24849 24850 2010-02-01 Jeremy Orlow <jorlow (a] chromium.org> 24851 24852 Reviewed by Darin Fisher. 24853 24854 [Chromium] Add WebSecurityOrigin::createFromString factory 24855 https://bugs.webkit.org/show_bug.cgi?id=34460 24856 24857 * public/WebSecurityOrigin.h: 24858 * src/WebSecurityOrigin.cpp: 24859 (WebKit::WebSecurityOrigin::createFromString): 24860 24861 2010-02-02 Kent Tamura <tkent (a] chromium.org> 24862 24863 Reviewed by Darin Fisher. 24864 24865 [Chromium] Should not select a word on right-click. 24866 https://bugs.webkit.org/show_bug.cgi?id=33364 24867 24868 For non-Mac platforms, do not select a word around the caret when 24869 a context menu is opening. This behavior is not common in non-Mac 24870 platforms, and it prevents pasting with a context menu. 24871 24872 In order that the spell checker works without the selection, we 24873 introduce WebFrame::selectWordAroundCaret(). We can replace a word 24874 around the caret with selectWordAroundCaret() + replaceSelection(). 24875 24876 * public/WebFrame.h: Add pure selectWordAroundCaret() declaration. 24877 * src/ContextMenuClientImpl.cpp: 24878 (WebKit::selectMisspelledWord): Move word-selection code to 24879 WebFrameImpl::selectWordAroundPosition(), and clear the selection 24880 on non-Mac. 24881 * src/WebFrameImpl.cpp: 24882 (WebKit::WebFrameImpl::selectWordAroundPosition): 24883 (WebKit::WebFrameImpl::selectWordAroundCaret): 24884 * src/WebFrameImpl.h: Add selectWordAroundCaret() declaration. 24885 24886 2010-02-01 Shinichiro Hamaji <hamaji (a] chromium.org> 24887 24888 Unreviewed attempt to fix the broken build. 24889 24890 This was introduced in http://trac.webkit.org/changeset/54182 24891 24892 * src/WebViewImpl.cpp: 24893 (WebKit::WebViewImpl::performMediaPlayerAction): 24894 24895 2010-01-27 Matt Perry <mpcomplete (a] chromium.org> 24896 24897 Reviewed by Eric Seidel. 24898 24899 Add support for addUserScript to chromium port. 24900 24901 * public/WebView.h: 24902 * src/WebViewImpl.cpp: 24903 (WebKit::WebViewImpl::addUserScript): 24904 (WebKit::WebViewImpl::removeAllUserContent): 24905 * src/WebViewImpl.h: 24906 24907 2010-01-29 Philippe Normand <pnormand (a] igalia.com> 24908 24909 Reviewed by Eric Carlson. 24910 24911 [GTK] set playbin mute property depending on volume value 24912 https://bugs.webkit.org/show_bug.cgi?id=31586 24913 24914 New API in MediaPlayer for mute control 24915 24916 * public/WebMediaPlayerClient.h: 24917 * src/WebMediaPlayerClientImpl.cpp: 24918 (WebKit::WebMediaPlayerClientImpl::volumeChanged): 24919 (WebKit::WebMediaPlayerClientImpl::muteChanged): 24920 * src/WebMediaPlayerClientImpl.h: 24921 24922 2010-01-31 Kent Tamura <tkent (a] chromium.org> 24923 24924 Reviewed by Jeremy Orlow. 24925 24926 [Chromium] Fix a bug that a selected word is not recognized as a 24927 spell-check source. 24928 https://bugs.webkit.org/show_bug.cgi?id=33660 24929 24930 * src/ContextMenuClientImpl.cpp: 24931 (WebKit::isASingleWord): Use wordBreakIterator(), and correctly check 24932 the return value of textBreakNext(). 24933 24934 2010-01-29 Jeremy Orlow <jorlow (a] chromium.org> 24935 24936 Reviewed by Eric Seidel. 24937 24938 [Chromium] Clean up WebStorageArea 24939 https://bugs.webkit.org/show_bug.cgi?id=34353 24940 24941 Get rid of legacy glue code and fix a typo. 24942 24943 * public/WebStorageArea.h: 24944 24945 2010-01-29 Jeremy Orlow <jorlow (a] chromium.org> 24946 24947 Reviewed by Dimitri Glazkov. 24948 24949 A first step towards the Indexed Database API 24950 https://bugs.webkit.org/show_bug.cgi?id=34342 24951 24952 Add runtime enable support for Indexed Database API. 24953 24954 * features.gypi: 24955 * public/WebRuntimeFeatures.h: 24956 * src/WebRuntimeFeatures.cpp: 24957 (WebKit::WebRuntimeFeatures::enableIndexedDatabase): 24958 (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled): 24959 24960 2010-01-29 Yury Semikhatsky <yurys (a] chromium.org> 24961 24962 Reviewed by Pavel Feldman. 24963 24964 Add API methods for loading inspector utility scripts. 24965 24966 https://bugs.webkit.org/show_bug.cgi?id=34326 24967 24968 * public/WebDevToolsAgentClient.h: 24969 (WebKit::WebDevToolsAgentClient::injectedScriptSource): 24970 (WebKit::WebDevToolsAgentClient::injectedScriptDispatcherSource): 24971 24972 2010-01-29 Darin Fisher <darin (a] chromium.org> 24973 24974 Reviewed by Adam Barth. 24975 24976 Add FrameLoaderClient::allowImages method to allow the client to 24977 overrule image loading policy on a per frame basis. 24978 24979 https://bugs.webkit.org/show_bug.cgi?id=34225 24980 24981 * public/WebFrameClient.h: 24982 (WebKit::WebFrameClient::allowImages): 24983 * public/WebSettings.h: 24984 * src/FrameLoaderClientImpl.cpp: 24985 (WebKit::FrameLoaderClientImpl::allowImages): 24986 * src/FrameLoaderClientImpl.h: 24987 * src/WebSettingsImpl.cpp: 24988 (WebKit::WebSettingsImpl::setImagesEnabled): 24989 * src/WebSettingsImpl.h: 24990 24991 2010-01-28 Jeremy Orlow <jorlow (a] chromium.org> 24992 24993 Reviewed by Darin Fisher. 24994 24995 StorageNamespaceProxy::copy() should be a no-op 24996 https://bugs.webkit.org/show_bug.cgi?id=34298 24997 24998 The comment in the code should make clear why. 24999 25000 * public/WebViewClient.h: 25001 * src/StorageNamespaceProxy.cpp: 25002 (WebCore::StorageNamespaceProxy::copy): 25003 25004 2010-01-28 Michael Nordman <michaeln (a] google.com> 25005 25006 Reviewed by Alexey Proskuryakov. 25007 25008 ApplicationCache events should be deferred until after Document onload has fired. 25009 https://bugs.webkit.org/show_bug.cgi?id=29690 25010 25011 * src/ApplicationCacheHost.cpp: 25012 (WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true. 25013 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event. 25014 (WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag. 25015 25016 2010-01-27 Aaron Boodman <aa (a] chromium.org> 25017 25018 Reviewed by Darin Adler. 25019 25020 Send full URL and application id of requesting context to Chromium 25021 when checking notification permissions. 25022 25023 https://bugs.webkit.org/show_bug.cgi?id=34238 25024 25025 * public/WebDocument.h: 25026 * src/WebDocument.cpp: 25027 (WebKit::WebDocument::applicationID): 25028 Implement applicationID() method. 25029 25030 * public/WebNotificationPresenter.h: 25031 * src/NotificationPresenterImpl.cpp: 25032 (WebKit::NotificationPresenterImpl::checkPermission): 25033 * src/NotificationPresenterImpl.h: 25034 Send applicationID and full URL through to Chromium. 25035 25036 2010-01-27 Darin Fisher <darin (a] chromium.org> 25037 25038 Reviewed by Pavel Feldman. 25039 25040 Expose HistoryItem::documentSequenceNumber 25041 https://bugs.webkit.org/show_bug.cgi?id=34243 25042 25043 * public/WebHistoryItem.h: 25044 * src/WebHistoryItem.cpp: 25045 (WebKit::WebHistoryItem::documentSequenceNumber): 25046 (WebKit::WebHistoryItem::setDocumentSequenceNumber): 25047 25048 2010-01-26 Darin Fisher <darin (a] chromium.org> 25049 25050 Reviewed by David Levin. 25051 25052 Add methods to support running a nested modal loop outside of WebKit. 25053 https://bugs.webkit.org/show_bug.cgi?id=34199 25054 25055 * public/WebView.h: 25056 * src/WebViewImpl.cpp: 25057 (WebKit::WebView::willEnterModalLoop): Create PageGroupLoadDeferrer 25058 (WebKit::WebView::didExitModalLoop): Destroy PageGroupLoadDeferrer 25059 25060 2010-01-27 Darin Fisher <darin (a] chromium.org> 25061 25062 Reviewed by Dimitri Glazkov. 25063 25064 Adding missing WebMutationEvent.cpp file to fix build bustage. 25065 https://bugs.webkit.org/show_bug.cgi?id=33882 25066 25067 * public/WebMutationEvent.h: Remove unnecessary constructor. 25068 * src/WebEvent.cpp: Remove unnecessary include of WebMutationEvent.h. 25069 * src/WebMutationEvent.cpp: Added. 25070 25071 2010-01-27 Jay Campan <jcampan (a] google.com> 25072 25073 Reviewed by Darin Fisher. 25074 25075 Adding EventListeners to the chromium API. 25076 25077 https://bugs.webkit.org/show_bug.cgi?id=33882 25078 25079 * WebKit.gyp: 25080 * public/WebEvent.h: Added. 25081 * public/WebEventListener.h: Added. 25082 * public/WebMutationEvent.h: Added. 25083 * public/WebNode.h: 25084 * public/WebString.h: 25085 (WebKit::operator==): 25086 (WebKit::operator!=): 25087 * src/EventListenerWrapper.cpp: Added. 25088 * src/EventListenerWrapper.h: Added. 25089 * src/WebEvent.cpp: Added. 25090 * src/WebEventListener.cpp: Added. 25091 * src/WebEventListenerPrivate.cpp: Added. 25092 * src/WebEventListenerPrivate.h: Added. 25093 * src/WebNode.cpp: 25094 (WebKit::WebNode::addEventListener): 25095 (WebKit::WebNode::removeEventListener): 25096 * src/WebString.cpp: 25097 (WebKit::WebString::equals): 25098 25099 2010-01-26 Yaar Schnitman <yaar (a] chromium.org> 25100 25101 Reviewed by Darin Fisher. 25102 25103 Add KeyboardTest to WebKit API tests 25104 https://bugs.webkit.org/show_bug.cgi?id=34178 25105 25106 * WebKit.gyp: 25107 * tests/KeyboardTest.cpp: Added. 25108 25109 2010-01-22 Jeremy Orlow <jorlow (a] chromium.org> 25110 25111 Reviewed by Darin Adler. 25112 25113 Make storage events match the spec. 25114 https://bugs.webkit.org/show_bug.cgi?id=30546 25115 25116 Update the storageEvent algorithm to match the change in WebCore. 25117 25118 * src/StorageAreaProxy.cpp: 25119 (WebCore::StorageAreaProxy::storageEvent): 25120 25121 2010-01-22 Elliot Glaysher <erg (a] chromium.org> 25122 25123 Reviewed by David Levin. 25124 25125 Chromium: theme selection colors to match gtk theme 25126 Add functions to RenderThemeChromiumLinux to change the selection color 25127 according to the current GTK+ theme. 25128 25129 Since the change is to the Chromium WebKit API layer, testing is done 25130 in Chromium's test shell (see Chromium side of this patch: 25131 http://codereview.chromium.org/554004) 25132 25133 https://bugs.webkit.org/show_bug.cgi?id=33921 25134 25135 * public/WebView.h: Adds interface to change the selection colors 25136 * src/WebViewImpl.cpp: 25137 (WebKit::WebViewImpl::setSelectionColors): Implements new interface. 25138 * src/WebViewImpl.h: 25139 25140 2010-01-22 Steve VanDeBogart <vandebo (a] chromium.org> 25141 25142 Reviewed by David Levin. 25143 25144 Middle clicking the main scroll bars should not trigger a paste event 25145 in Linux chromium. 25146 https://bugs.webkit.org/show_bug.cgi?id=33062 25147 25148 * src/WebViewImpl.cpp: 25149 (WebKit::WebViewImpl::mouseUp): 25150 25151 2010-01-22 Albert J. Wong <ajwong (a] chromium.org> 25152 25153 Not reviewed. backout. 25154 25155 Backout r53705. 25156 Causes ui_tests to timeout, and browser_tests to fail with 25157 TestConnectToBadPort and WindowOpenInvalidExtension. 25158 25159 * src/FrameLoaderClientImpl.cpp: 25160 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): 25161 (WebKit::FrameLoaderClientImpl::postProgressStartedNotification): 25162 (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification): 25163 * src/WebViewImpl.cpp: 25164 (WebKit::WebViewImpl::WebViewImpl): 25165 * src/WebViewImpl.h: 25166 25167 2010-01-22 Peter Kasting <pkasting (a] google.com> 25168 25169 Not reviewed, backout. 25170 25171 Back out r52673, which caused several regressions. 25172 https://bugs.webkit.org/show_bug.cgi?id=32533 25173 25174 * src/AutocompletePopupMenuClient.cpp: 25175 (WebKit::AutocompletePopupMenuClient::initialize): 25176 (WebKit::AutocompletePopupMenuClient::popupDidHide): 25177 (WebKit::AutocompletePopupMenuClient::setTextFromItem): 25178 * src/AutocompletePopupMenuClient.h: 25179 25180 2010-01-21 Jeremy Orlow <jorlow (a] chromium.org> 25181 25182 Reviewed by Darin Fisher. 25183 25184 The Chromium WebKit API needs to expose storage event related data 25185 https://bugs.webkit.org/show_bug.cgi?id=33985 25186 25187 setItem and removeItem on WebStorageArea need to expose what the previous 25188 value was for the key being modified. Clear needs to return whether it 25189 actually cleared anything. 25190 25191 * public/WebStorageArea.h: 25192 (WebKit::WebStorageArea::setItem): 25193 (WebKit::WebStorageArea::removeItem): 25194 (WebKit::WebStorageArea::clear): 25195 * src/StorageAreaProxy.cpp: 25196 (WebCore::StorageAreaProxy::StorageAreaProxy): 25197 (WebCore::StorageAreaProxy::setItem): 25198 (WebCore::StorageAreaProxy::removeItem): 25199 (WebCore::StorageAreaProxy::clear): 25200 (WebCore::StorageAreaProxy::storageEvent): 25201 * src/StorageAreaProxy.h: 25202 * src/StorageNamespaceProxy.cpp: 25203 (WebCore::StorageNamespace::localStorageNamespace): 25204 (WebCore::StorageNamespace::sessionStorageNamespace): 25205 (WebCore::StorageNamespaceProxy::StorageNamespaceProxy): 25206 (WebCore::StorageNamespaceProxy::copy): 25207 (WebCore::StorageNamespaceProxy::storageArea): 25208 * src/StorageNamespaceProxy.h: 25209 * src/WebStorageAreaImpl.cpp: 25210 (WebKit::WebStorageAreaImpl::setItem): 25211 (WebKit::WebStorageAreaImpl::removeItem): 25212 (WebKit::WebStorageAreaImpl::clear): 25213 * src/WebStorageAreaImpl.h: 25214 25215 2010-01-21 Darin Fisher <darin (a] chromium.org> 25216 25217 Reviewed by David Levin. 25218 25219 [Chromium] spurious WebViewClient::didStopLoading if changing 25220 location.hash while a subframe is still loading 25221 25222 https://bugs.webkit.org/show_bug.cgi?id=33884 25223 25224 This is a refinement of http://trac.webkit.org/changeset/51548 25225 25226 * src/FrameLoaderClientImpl.cpp: 25227 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): 25228 (WebKit::FrameLoaderClientImpl::postProgressStartedNotification): 25229 (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification): 25230 * src/WebViewImpl.cpp: 25231 (WebKit::WebViewImpl::WebViewImpl): 25232 (WebKit::WebViewImpl::didStartLoading): 25233 (WebKit::WebViewImpl::didStopLoading): 25234 * src/WebViewImpl.h: 25235 25236 2010-01-21 Adam Barth <abarth (a] webkit.org> 25237 25238 Unreviewed. Added a blank line requested by the great an powerful 25239 fishd. 25240 25241 * public/WebFrameClient.h: 25242 25243 2010-01-21 Adam Barth <abarth (a] webkit.org> 25244 25245 Reviewed by Eric Seidel. 25246 25247 [chromium] Add allowPlugins callback to allow per-site enabling of plugins 25248 https://bugs.webkit.org/show_bug.cgi?id=33974 25249 25250 Forward the new allowPlugins callback to WebKitClient so that it can 25251 make the policy decision. 25252 25253 * public/WebFrameClient.h: 25254 (WebKit::WebFrameClient::allowPlugins): 25255 * src/FrameLoaderClientImpl.cpp: 25256 (WebKit::FrameLoaderClientImpl::allowJavaScript): 25257 (WebKit::FrameLoaderClientImpl::allowPlugins): 25258 * src/FrameLoaderClientImpl.h: 25259 25260 2010-01-21 James Robinson <jamesr (a] chromium.org> 25261 25262 Reviewed by Darin Fisher. 25263 25264 Bumps the refcount when WebNode::toElement/toConstElement are called. 25265 https://bugs.webkit.org/show_bug.cgi?id=33977 25266 25267 Ensures that when a wrapper around a WebNode is create via the 25268 toElement() or toConstElement() calls that the refcount on the WebNode 25269 is increased, by forcing a call to WebNode::assign(). This is needed 25270 so that the following code: 25271 { 25272 WebNode n = someNode(); 25273 WebElement e = n.toElement<WebElement>(); 25274 } 25275 does not decrease the overall refcount on the Node that someNode() 25276 returns. 25277 25278 This caused crashes in the 'Save page as..' feature. 25279 25280 * public/WebNode.h: 25281 (WebKit::WebNode::toElement): 25282 (WebKit::WebNode::toConstElement): 25283 25284 2010-01-21 Michael Nordman <michaeln (a] google.com> 25285 25286 Reviewed by Darin Fisher. 25287 25288 Adds WebKit::WebDataSource::applicationCacheHost() to the API. 25289 https://bugs.webkit.org/show_bug.cgi?id=33880 25290 25291 * WebKit.gyp: 25292 * public/WebDataSource.h: 25293 * src/ApplicationCacheHost.cpp: 25294 * src/ApplicationCacheHostInternal.h: Copied from WebKit/chromium/src/ApplicationCacheHost.cpp. 25295 (WebCore::ApplicationCacheHostInternal::notifyEventListener): 25296 (WebCore::ApplicationCacheHostInternal::toWebApplicationCacheHost): 25297 * src/WebDataSourceImpl.cpp: 25298 (WebKit::WebDataSourceImpl::applicationCacheHost): 25299 * src/WebDataSourceImpl.h: 25300 25301 2010-01-21 Eric Uhrhane <ericu (a] chromium.org> 25302 25303 Reviewed by Dmitry Titov. 25304 25305 Add changes missing from r53595, without which Chromium has no database. 25306 25307 https://bugs.webkit.org/show_bug.cgi?id=33966 25308 25309 No new tests - fixes database layout tests in Chromium. 25310 25311 * src/WebRuntimeFeatures.cpp: 25312 (WebKit::WebRuntimeFeatures::enableDatabase): 25313 (WebKit::WebRuntimeFeatures::isDatabaseEnabled): 25314 25315 2010-01-21 Kenneth Russell <kbr (a] google.com> 25316 25317 Reviewed by Oliver Hunt. 25318 25319 [Chromium] Implement texSubImage2D taking WebGLArray 25320 https://bugs.webkit.org/show_bug.cgi?id=33932 25321 25322 * src/GraphicsContext3D.cpp: 25323 (WebCore::GraphicsContext3D::texSubImage2D): 25324 25325 2010-01-20 Vitaly Repeshko <vitalyr (a] chromium.org> 25326 25327 Reviewed by Pavel Feldman. 25328 25329 [V8] Support SerializedScriptValue. 25330 https://bugs.webkit.org/show_bug.cgi?id=32920 25331 http://crbug.com/30620 25332 25333 Updated uses of SerializedScriptValue: 25334 * src/PlatformMessagePortChannel.cpp: 25335 (WebCore::PlatformMessagePortChannel::postMessageToRemote): 25336 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote): 25337 * src/WebWorkerBase.cpp: 25338 (WebKit::WebWorkerBase::postMessageToWorkerObject): 25339 * src/WebWorkerClientImpl.cpp: 25340 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext): 25341 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): 25342 * src/WebWorkerImpl.cpp: 25343 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): 25344 25345 2010-01-20 Shinichiro Hamaji <hamaji (a] chromium.org> 25346 25347 Reviewed by Darin Fisher. 25348 25349 [Chromium] computePageRectsForFrame seems to be unnecessary 25350 https://bugs.webkit.org/show_bug.cgi?id=33881 25351 25352 * src/WebFrameImpl.cpp: Stop including FrameChromium.h 25353 25354 2010-01-19 Jon Honeycutt <jhoneycutt (a] apple.com> 25355 25356 Chromium build fix. 25357 25358 * public/WebAccessibilityRole.h: 25359 (WebKit::): 25360 Correct enum names. 25361 25362 * src/LocalizedStrings.cpp: 25363 (WebCore::AXMenuListPopupActionVerb): 25364 Stubbed. 25365 (WebCore::AXMenuListActionVerb): 25366 Stubbed. 25367 25368 2010-01-19 Jon Honeycutt <jhoneycutt (a] apple.com> 25369 25370 Chromium build fix. 25371 25372 * public/WebAccessibilityRole.h: 25373 (WebKit::): 25374 25375 * src/AssertMatchingEnums.cpp: 25376 25377 2010-01-18 Jonathan Dixon <joth (a] chromium.org> 25378 25379 Reviewed by Adam Barth. 25380 25381 Add support for enabling navigator.geolocation at runtime in the V8 bindings. 25382 Adds the [EnabledAtRuntime] modifier to the navigator IDL. 25383 https://bugs.webkit.org/show_bug.cgi?id=33467 25384 25385 * public/WebRuntimeFeatures.h: 25386 * src/WebRuntimeFeatures.cpp: 25387 (WebKit::WebRuntimeFeatures::enableGeolocation): 25388 (WebKit::WebRuntimeFeatures::isGeolocationEnabled): 25389 25390 2010-01-17 Kent Tamura <tkent (a] chromium.org> 25391 25392 Reviewed by Shinichiro Hamaji. 25393 25394 [Chromium] Remove an old runFileChooser() method. 25395 https://bugs.webkit.org/show_bug.cgi?id=33778 25396 25397 Chromium code switched to new runFileChooser() introduced by 25398 r53269. The old one is not needed anymore. 25399 25400 * public/WebViewClient.h: 25401 * src/ChromeClientImpl.cpp: 25402 (WebKit::ChromeClientImpl::runOpenPanel): 25403 25404 2010-01-15 Eric Seidel <eric (a] webkit.org> 25405 25406 No review, rolling out r53344. 25407 http://trac.webkit.org/changeset/53344 25408 https://bugs.webkit.org/show_bug.cgi?id=32920 25409 25410 Broke the Chromium Mac builder. 25411 25412 * src/PlatformMessagePortChannel.cpp: 25413 (WebCore::PlatformMessagePortChannel::postMessageToRemote): 25414 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote): 25415 * src/WebWorkerBase.cpp: 25416 (WebKit::WebWorkerBase::postMessageToWorkerObject): 25417 * src/WebWorkerClientImpl.cpp: 25418 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext): 25419 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): 25420 * src/WebWorkerImpl.cpp: 25421 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): 25422 25423 2010-01-15 Vitaly Repeshko <vitalyr (a] chromium.org> 25424 25425 Reviewed by David Levin. 25426 25427 [V8] Support SerializedScriptValue. 25428 https://bugs.webkit.org/show_bug.cgi?id=32920 25429 http://crbug.com/30620 25430 25431 Updated uses of SerializedScriptValue: 25432 * src/PlatformMessagePortChannel.cpp: 25433 (WebCore::PlatformMessagePortChannel::postMessageToRemote): 25434 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote): 25435 * src/WebWorkerBase.cpp: 25436 (WebKit::WebWorkerBase::postMessageToWorkerObject): 25437 * src/WebWorkerClientImpl.cpp: 25438 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext): 25439 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): 25440 * src/WebWorkerImpl.cpp: 25441 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): 25442 25443 2010-01-14 Jeremy Orlow <jorlow (a] chromium.org> 25444 25445 Reviewed by Oliver Hunt. 25446 25447 [Chromium] Forgot to adopt a ref counted object in StorageNamespaceProxy 25448 https://bugs.webkit.org/show_bug.cgi?id=33704 25449 25450 * src/StorageNamespaceProxy.cpp: 25451 (WebCore::StorageNamespace::localStorageNamespace): 25452 (WebCore::StorageNamespace::sessionStorageNamespace): 25453 25454 2010-01-14 Marcus Bulach <bulach (a] chromium.org> 25455 25456 Reviewed by Dimitri Glazkov. 25457 25458 Adds WebKit::WebSecurityOrigin::createFromDatabaseIdentifier. 25459 https://bugs.webkit.org/show_bug.cgi?id=33648 25460 25461 * public/WebSecurityOrigin.h: 25462 * src/WebSecurityOrigin.cpp: 25463 (WebKit::WebSecurityOrigin::createFromDatabaseIdentifier): 25464 25465 2010-01-14 Brian Weinstein <bweinstein (a] apple.com> 25466 25467 Reviewed by Adam Roben. 25468 25469 Drag and Drop source/destination code needs cleanup. 25470 <https://bugs.webkit.org/show_bug.cgi?id=33691>. 25471 25472 Update to new way of calling sourceOperation. 25473 25474 * src/DragClientImpl.cpp: 25475 (WebKit::DragClientImpl::startDrag): 25476 25477 2010-01-14 Nate Chapin <japhet (a] chromium.org> 25478 25479 Reviewed by Dimitri Glazkov. 25480 25481 Remove references to V8DOMWrapper::convertToNative*(). 25482 25483 https://bugs.webkit.org/show_bug.cgi?id=33677 25484 25485 * src/WebBindings.cpp: 25486 (WebKit::getDragDataImpl): 25487 (WebKit::getRangeImpl): 25488 25489 2010-01-14 Kent Tamura <tkent (a] chromium.org> 25490 25491 Reviewed by Darin Fisher. 25492 25493 Introduce WebFileChooserParams to convey parameters for 25494 WebViewClient::runFileChooser(), and add new parameters to it. 25495 https://bugs.webkit.org/show_bug.cgi?id=32473 25496 25497 The new parameters are 25498 - selected file names 25499 - "accept" attribute value 25500 25501 * WebKit.gyp: Add WebFileChooserParams.h 25502 * public/WebFileChooserParams.h: Added. 25503 * public/WebViewClient.h: 25504 (WebKit::WebViewClient::runFileChooser): 25505 Add runFileChooser() with WebFileChooserParams, and mark the old one deprecated. 25506 * src/ChromeClientImpl.cpp: 25507 (WebKit::ChromeClientImpl::runOpenPanel): 25508 Call the new runFileChooser() first, then call the old 25509 runFileChooser() if the new one failed. 25510 25511 2010-01-13 Kenneth Russell <kbr (a] google.com> 25512 25513 Reviewed by Oliver Hunt. 25514 25515 Need to implement WebGLContextAttributes 25516 https://bugs.webkit.org/show_bug.cgi?id=31169 25517 25518 Added the WebGLContextAttributes class and custom JavaScript 25519 bindings to accept a native object as the second argument to 25520 getContext("experimental-webgl") per the WebGL specification. 25521 Added GraphicsContext3D::Attributes struct to isolate DOM and 25522 graphics layers. Added getContextAttributes() to 25523 WebGLRenderingContext. Added test case ensuring that context 25524 attributes can be passed down and returned. Tested in Safari and 25525 Chromium. The attributes will be hooked up to the creation of the 25526 OpenGL context in bug 33416. 25527 25528 * src/GraphicsContext3D.cpp: 25529 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 25530 (WebCore::GraphicsContext3DInternal::getContextAttributes): 25531 (WebCore::GraphicsContext3D::create): 25532 (WebCore::GraphicsContext3D::GraphicsContext3D): 25533 (WebCore::GraphicsContext3D::getContextAttributes): 25534 25535 2010-01-13 Jon Honeycutt <jhoneycutt (a] apple.com> 25536 25537 MSAA: selected, selectable, extended selectable, and multiple 25538 selectable states are not reported 25539 25540 https://bugs.webkit.org/show_bug.cgi?id=33574 25541 <rdar://problem/7536826> 25542 25543 Reviewed by Darin Adler. 25544 25545 * public/WebAccessibilityObject.h: 25546 Update for WebCore::AccessibilityObject function rename. 25547 25548 * src/WebAccessibilityObject.cpp: 25549 (WebKit::WebAccessibilityObject::isMultiSelectable): 25550 Ditto. 25551 25552 2010-01-13 Jeremy Orlow <jorlow (a] chromium.org> 25553 25554 Reviewed by Darin Fisher. 25555 25556 [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient 25557 https://bugs.webkit.org/show_bug.cgi?id=33492 25558 25559 * public/WebKitClient.h: 25560 * public/WebViewClient.h: 25561 (WebKit::WebViewClient::createSessionStorageNamespace): 25562 * src/StorageNamespaceProxy.cpp: 25563 (WebCore::StorageNamespace::sessionStorageNamespace): 25564 25565 2010-01-13 Jeremy Orlow <jorlow (a] chromium.org> 25566 25567 No reviewer. More or less a build fix. My 53180 broke some 25568 stuff on the Chromium port so I'm reverting. 25569 25570 * public/WebKitClient.h: 25571 * public/WebViewClient.h: 25572 * src/StorageNamespaceProxy.cpp: 25573 (WebCore::StorageNamespace::sessionStorageNamespace): 25574 25575 2010-01-11 Jeremy Orlow <jorlow (a] chromium.org> 25576 25577 Reviewed by Darin Fisher. 25578 25579 [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient 25580 https://bugs.webkit.org/show_bug.cgi?id=33492 25581 25582 * public/WebKitClient.h: 25583 * public/WebViewClient.h: 25584 (WebKit::WebViewClient::getSessionStorageNamespace): 25585 * src/StorageNamespaceProxy.cpp: 25586 (WebCore::StorageNamespace::sessionStorageNamespace): 25587 25588 2010-01-11 Darin Fisher <darin (a] chromium.org> 25589 25590 Reviewed by Dimitri Glazkov. 25591 25592 [Chromium] Re-work webkit_unit_tests so that WebKit is initialized only once 25593 https://bugs.webkit.org/show_bug.cgi?id=33504 25594 25595 * WebKit.gyp: 25596 * tests/KURLTest.cpp: 25597 (ComponentCase::TEST): 25598 * tests/RunAllTests.cpp: Added. 25599 (main): 25600 * tests/WebKitTest.h: Removed. 25601 25602 2010-01-09 Adam Barth <abarth (a] webkit.org> 25603 25604 Reviewed by Darin Adler. 25605 25606 ScriptController::isEnabled needs to be renamed 25607 https://bugs.webkit.org/show_bug.cgi?id=32063 25608 25609 Rename ScriptController::isEnabled to 25610 ScriptController::canExecuteScripts. 25611 25612 * src/WebFrameImpl.cpp: 25613 (WebKit::WebFrameImpl::bindToWindowObject): 25614 25615 2010-01-08 Daniel Bates <dbates (a] webkit.org> 25616 25617 Reviewed by Adam Barth. 25618 25619 https://bugs.webkit.org/show_bug.cgi?id=33417 25620 25621 Cleans up style errors exposed by the patch for bug #33198. 25622 25623 No functionality was changed. So, no new tests. 25624 25625 * src/GraphicsContext3D.cpp: 25626 25627 2010-01-08 Darin Fisher <darin (a] chromium.org> 25628 25629 Reviewed by Dimitri Glazkov. 25630 25631 [Chromium] Upstream webkit unit tests from the chromium repository 25632 https://bugs.webkit.org/show_bug.cgi?id=33351 25633 25634 This adds one such test (for KURL) and sets up the test framework. 25635 25636 Switch WebKit to build a static library on all platforms. Add a 25637 webkit_unit_tests executable target that runs the unit tests and also 25638 ensures that we don't have any missing symbols (a function that WebKit 25639 as a shared library used to serve). 25640 25641 Changes chromium_src_dir to ../../WebKit/chromium to match how 25642 WebCore.gyp defines that variable. 25643 25644 * WebKit.gyp: 25645 * public/WebKitClient.h: 25646 (WebKit::WebKitClient::getPluginList): Remove bogus trailing semi-colon. 25647 (WebKit::WebKitClient::decrementStatsCounter): Remove bogus trailing semi-colon. 25648 (WebKit::WebKitClient::incrementStatsCounter): Remove bogus trailing semi-colon. 25649 (WebKit::WebKitClient::traceEventBegin): Remove bogus trailing semi-colon. 25650 (WebKit::WebKitClient::traceEventEnd): Remove bogus trailing semi-colon. 25651 (WebKit::WebKitClient::histogramCounts): Remove bogus trailing semi-colon. 25652 * tests: Added. 25653 * tests/KURLTest.cpp: Added. 25654 * tests/WebKitTest.h: Added. 25655 25656 2010-01-07 Mike Belshe <mbelshe (a] chromium.org> 25657 25658 Reviewed by Darin Adler. 25659 25660 Fix Spdy casing to match style guide. 25661 25662 https://bugs.webkit.org/show_bug.cgi?id=33326 25663 25664 * public/WebURLResponse.h: 25665 * src/WebURLResponse.cpp: 25666 (WebKit::WebURLResponse::wasFetchedViaSPDY): 25667 (WebKit::WebURLResponse::setWasFetchedViaSPDY): 25668 25669 2010-01-07 Daniel Bates <dbates (a] rim.com> 25670 25671 Reviewed by Eric Seidel. 25672 25673 https://bugs.webkit.org/show_bug.cgi?id=32987 25674 25675 Added ENABLE_XHTMLMP flag. Disabled by default. 25676 25677 * features.gypi: 25678 25679 2010-01-07 Adam Barth <abarth (a] webkit.org> 25680 25681 No review, rolling out r52847. 25682 http://trac.webkit.org/changeset/52847 25683 https://bugs.webkit.org/show_bug.cgi?id=33232 25684 25685 Might have caused a perf regression. 25686 25687 * src/FrameLoaderClientImpl.cpp: 25688 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 25689 25690 2010-01-06 Mike Belshe <mike (a] belshe.com> 25691 25692 Add a flag to the ResourceResponse for tracking if a request was 25693 fetched via SPDY. This is plumbed through so that we can inform 25694 a webpage via JavaScript if it was fecthed via the experimental 25695 SPDY protocol. 25696 25697 https://bugs.webkit.org/show_bug.cgi?id=33186 25698 25699 * public/WebURLResponse.h: 25700 * src/WebURLResponse.cpp: 25701 (WebKit::WebURLResponse::wasFetchedViaSpdy): 25702 (WebKit::WebURLResponse::setWasFetchedViaSpdy): 25703 25704 2010-01-06 Darin Fisher <darin (a] chromium.org> 25705 25706 Fix release build bustage. 25707 25708 * src/WebKit.cpp: Need to include Logging.h 25709 25710 2010-01-05 Darin Fisher <darin (a] chromium.org> 25711 25712 Reviewed by Adam Barth. 25713 25714 [Chromium] Expose more APIs to eliminate WebCore usage in Chromium. 25715 https://bugs.webkit.org/show_bug.cgi?id=33249 25716 25717 * WebKit.gyp: 25718 * public/WebFrame.h: 25719 * public/WebGlyphCache.h: Added. 25720 * public/WebKit.h: 25721 * src/WebFrameImpl.cpp: 25722 (WebKit::WebFrame::instanceCount): 25723 (WebKit::WebFrameImpl::WebFrameImpl): 25724 (WebKit::WebFrameImpl::~WebFrameImpl): 25725 * src/WebFrameImpl.h: 25726 * src/WebGlyphCache.cpp: Added. 25727 (WebKit::WebGlyphCache::pageCount): 25728 * src/WebKit.cpp: 25729 (WebKit::enableLogChannel): 25730 25731 2010-01-05 Adam Barth <abarth (a] webkit.org> 25732 25733 Reviewed by Dimitri Glazkov. 25734 25735 [v8] Move V8DOMWindowShell to ScriptController 25736 https://bugs.webkit.org/show_bug.cgi?id=33232 25737 25738 Update FrameLoaderClientImpl.cpp to call clearForClose on 25739 ScriptController instead of on V8Proxy. 25740 25741 * src/FrameLoaderClientImpl.cpp: 25742 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 25743 25744 2010-01-05 Rachel Petterson <rlp (a] google.com> 25745 25746 Reviewed by Adam Barth. 25747 25748 Matches the texImage2D and texSubImage2D functions to their 25749 declarations. Elminates uncessary versions of those functions. 25750 https://bugs.webkit.org/show_bug.cgi?id=31562 25751 Also bug: https://bugs.webkit.org/show_bug.cgi?id=31493 25752 25753 * src/GraphicsContext3D.cpp: 25754 (WebCore::GraphicsContext3D::texImage2D): 25755 (WebCore::GraphicsContext3D::texSubImage2D): 25756 25757 2010-01-04 Maciej Stachowiak <mjs (a] apple.com> 25758 25759 Reviewed by Darin Fisher. 25760 25761 Reorganize, document and rename OS() platform macros. 25762 https://bugs.webkit.org/show_bug.cgi?id=33198 25763 25764 Adapt to name changes. 25765 25766 * src/ChromiumBridge.cpp: 25767 * src/EditorClientImpl.cpp: 25768 (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled): 25769 (WebKit::): 25770 (WebKit::EditorClientImpl::handleEditingKeyboardEvent): 25771 * src/FrameLoaderClientImpl.cpp: 25772 (WebKit::FrameLoaderClientImpl::createPlugin): 25773 * src/GraphicsContext3D.cpp: 25774 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 25775 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 25776 (WebCore::GraphicsContext3DInternal::makeContextCurrent): 25777 * src/WebFrameImpl.cpp: 25778 (WebKit::WebFrameImpl::selectionAsText): 25779 (WebKit::WebFrameImpl::printPage): 25780 * src/WebPluginContainerImpl.cpp: 25781 (WebKit::WebPluginContainerImpl::handleMouseEvent): 25782 (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 25783 * src/WebViewImpl.cpp: 25784 (WebKit::WebViewImpl::mouseDown): 25785 (WebKit::WebViewImpl::mouseContextMenu): 25786 (WebKit::WebViewImpl::mouseUp): 25787 (WebKit::WebViewImpl::keyEvent): 25788 (WebKit::WebViewImpl::sendContextMenuEvent): 25789 (WebKit::WebViewImpl::setScrollbarColors): 25790 (WebKit::WebViewImpl::navigationPolicyFromMouseEvent): 25791 25792 2010-01-04 Darin Fisher <darin (a] chromium.org> 25793 25794 Reviewed by Eric Seidel. 25795 25796 [Chromium] Expose more DOM methods to support LayoutTests 25797 https://bugs.webkit.org/show_bug.cgi?id=33185 25798 25799 * public/WebDocument.h: Adds documentElement method. 25800 * public/WebElement.h: Adds innerText method. 25801 * public/WebFrame.h: Adds renderTreeAsText and counterValueForElementById 25802 methods, and fixes a few whitespace issues. 25803 * src/WebDocument.cpp: 25804 (WebKit::WebDocument::documentElement): 25805 * src/WebElement.cpp: 25806 (WebKit::WebElement::innerText): 25807 * src/WebFrameImpl.cpp: 25808 (WebKit::WebFrameImpl::clearName): 25809 (WebKit::WebFrameImpl::renderTreeAsText): 25810 (WebKit::WebFrameImpl::counterValueForElementById): 25811 * src/WebFrameImpl.h: 25812 25813 2010-01-04 Darin Fisher <darin (a] chromium.org> 25814 25815 Fix Chromium build bustage. 25816 25817 * src/WebAnimationControllerImpl.h: 25818 25819 2010-01-04 Yaar Schnitman <yaar (a] chromium.org> 25820 25821 Reviewed by Darin Fisher. 25822 25823 Adding WebAnimationController to chromium's WebKit API. 25824 25825 https://bugs.webkit.org/show_bug.cgi?id=32870 25826 25827 * WebKit.gyp: 25828 * public/WebAnimationController.h: Added. 25829 (WebKit::WebAnimationController::~WebAnimationController): 25830 * public/WebFrame.h: 25831 * src/WebAnimationControllerImpl.cpp: Added. 25832 (WebKit::WebAnimationControllerImpl::WebAnimationControllerImpl): 25833 (WebKit::WebAnimationControllerImpl::pauseAnimationAtTime): 25834 (WebKit::WebAnimationControllerImpl::pauseTransitionAtTime): 25835 (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations): 25836 * src/WebAnimationControllerImpl.h: Added. 25837 (WebKit::WebAnimationControllerImpl::~WebAnimationControllerImpl): 25838 * src/WebFrameImpl.cpp: 25839 (WebKit::WebFrameImpl::animationController): 25840 (WebKit::WebFrameImpl::WebFrameImpl): 25841 * src/WebFrameImpl.h: 25842 25843 2010-01-04 Jay Campan <jcampan (a] google.com> 25844 25845 Reviewed by Darin Fisher 25846 25847 Adding more DOM API methods. They are needed for the upcoming 25848 translate feature. 25849 25850 * public/WebElement.h: 25851 * public/WebNode.h: 25852 * src/WebElement.cpp: 25853 (WebKit::WebElement::tagName): 25854 (WebKit::WebElement::setAttribute): 25855 * src/WebNode.cpp: 25856 (WebKit::WebNode::setNodeValue): 25857 25858 2010-01-03 Adam Barth <abarth (a] webkit.org> 25859 25860 Reviewed by Eric Seidel. 25861 25862 [Chromium] Implement CookieJarChromium::cookiesEnabled 25863 https://bugs.webkit.org/show_bug.cgi?id=33123 25864 25865 Call out to the webKitClient() to see if cookies are enabled. Also 25866 remove some straggling references to policyURL! 25867 25868 * public/WebKitClient.h: 25869 (WebKit::WebKitClient::setCookies): 25870 (WebKit::WebKitClient::cookies): 25871 (WebKit::WebKitClient::rawCookies): 25872 (WebKit::WebKitClient::cookiesEnabled): 25873 * src/ChromiumBridge.cpp: 25874 (WebCore::ChromiumBridge::cookiesEnabled): 25875 25876 2010-01-03 Adam Barth <abarth (a] webkit.org> 25877 25878 Reviewed by Eric Seidel. 25879 25880 [Chromium] Remove evaluateInNewContext (it's useless) 25881 https://bugs.webkit.org/show_bug.cgi?id=33068 25882 25883 This function has no clients and makes life complicated. Isolated 25884 worlds won out over NewContext and there's not really any going back 25885 now. 25886 25887 * public/WebFrame.h: 25888 * src/FrameLoaderClientImpl.h: 25889 * src/WebFrameImpl.cpp: 25890 * src/WebFrameImpl.h: 25891 25892 2009-12-30 Darin Fisher <darin (a] chromium.org> 25893 25894 Reviewed by David Levin. 25895 25896 [Chromium] Delete ResourceRequest::securityInfo 25897 https://bugs.webkit.org/show_bug.cgi?id=26847 25898 25899 * src/WebWorkerBase.cpp: 25900 (WebKit::WebWorkerBase::initializeLoader): 25901 25902 2009-12-30 Albert J. Wong <ajwong (a] chromium.org> 25903 25904 Not reviewed. Trivial Chromium build fix. 25905 25906 Add static_cast<unsigned>() to fix signed/unsigned comparison warning. 25907 25908 * src/AutocompletePopupMenuClient.cpp: 25909 (WebKit::AutocompletePopupMenuClient::selectionChanged): 25910 25911 2009-12-30 Zelidrag Hornung <zelidrag (a] chromium.org> 25912 25913 Reviewed by Dimitri Glazkov. 25914 25915 Autocomplete in Chromium now offers suggestions within the input element as a user 25916 a) types text that produces some autocomplete suggestions, and 25917 b) scrolls through suggested values in the menu 25918 The suggested value is rendered but not exposed through JS unti the 25919 user makes the final selection. 25920 25921 No new tests since this new functionality (autocomplete suggestions) 25922 is intentionally hidden from everything else than renderer. 25923 25924 * src/AutocompletePopupMenuClient.cpp: 25925 (WebKit::AutocompletePopupMenuClient::initialize): 25926 (WebKit::AutocompletePopupMenuClient::setInitialAutocompleteValue): 25927 (WebKit::AutocompletePopupMenuClient::selectionChanged): 25928 (WebKit::AutocompletePopupMenuClient::popupDidHide): 25929 (WebKit::AutocompletePopupMenuClient::setTextFromItem): 25930 (WebKit::AutocompletePopupMenuClient::resetLastFieldValue): 25931 * src/AutocompletePopupMenuClient.h: 25932 25933 2009-12-28 Kinuko Yasuda <kinuko (a] chromium.org> 25934 25935 Reviewed by Maciej Stachowiak. 25936 25937 Fixed isKeypadEvent behavior for chromium/Mac to correctly report 25938 keyLocation as DOM_KEY_LOCATION_NUMPAD for numeric pad key events. 25939 https://bugs.webkit.org/show_bug.cgi?id=28247 25940 25941 Test: fast/events/keydown-numpad-keys.html 25942 25943 * src/mac/WebInputEventFactory.mm: 25944 (WebKit::isKeypadEvent): 25945 25946 2009-12-22 Kenneth Russell <kbr (a] google.com> 25947 25948 Reviewed by Eric Seidel. 25949 25950 [Chromium] Garbage in transparent regions of images uploaded as textures 25951 https://bugs.webkit.org/show_bug.cgi?id=32888 25952 25953 Test: fast/canvas/webgl/bug-32888.html (works in Safari / DumpRenderTree) 25954 25955 * src/GraphicsContext3D.cpp: 25956 (WebCore::GraphicsContext3D::texImage2D): 25957 25958 2009-12-22 Adam Langley <agl (a] google.com> 25959 25960 Build fix: not reviewed. 25961 25962 r52504 (https://bugs.webkit.org/show_bug.cgi?id=32845) broke the 25963 Chromium build on Windows and Mac due to a misplaced #endif. The 25964 buildbot didn't find the problem because it runs on Linux. 25965 25966 Have verified this patch with the author of the above. 25967 25968 * src/GraphicsContext3D.cpp: 25969 25970 2009-12-22 Kenneth Russell <kbr (a] google.com> 25971 25972 Reviewed by Eric Seidel. 25973 25974 [Chromium] WebGL crashes intermittently on Linux 25975 https://bugs.webkit.org/show_bug.cgi?id=32845 25976 25977 The dlclose'ing of libGL.so.1 and dlopen'ing of it each time a 25978 GraphicsContext3D was created was occasionally causing it to be 25979 re-mapped at a different base address. Since GLEW is not 25980 re-initialized every time, primarily for performance reasons, its 25981 cached function pointers were pointing to garbage. Stopped closing 25982 and re-opening libGL.so.1 each time; now it is loaded lazily, when 25983 the first 3D context is created. Also reused the X display 25984 connection since the GLX routines' correctness might hinge upon it 25985 not resulting in a change of GL implementation. 25986 25987 * src/GraphicsContext3D.cpp: 25988 (WebCore::GraphicsContext3DInternal::GLConnection::chooseFBConfig): 25989 (WebCore::GraphicsContext3DInternal::GLConnection::createNewContext): 25990 (WebCore::GraphicsContext3DInternal::GLConnection::createPbuffer): 25991 (WebCore::GraphicsContext3DInternal::GLConnection::destroyPbuffer): 25992 (WebCore::GraphicsContext3DInternal::GLConnection::makeCurrent): 25993 (WebCore::GraphicsContext3DInternal::GLConnection::destroyContext): 25994 (WebCore::GraphicsContext3DInternal::GLConnection::getCurrentContext): 25995 (WebCore::GraphicsContext3DInternal::GLConnection::GLConnection): 25996 (WebCore::GraphicsContext3DInternal::GLConnection::tryLoad): 25997 (WebCore::GraphicsContext3DInternal::GLConnection::create): 25998 (WebCore::GraphicsContext3DInternal::GLConnection::~GLConnection): 25999 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 26000 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 26001 (WebCore::GraphicsContext3DInternal::makeContextCurrent): 26002 26003 2009-12-22 Yaar Schnitman <yaar (a] chromium.org> 26004 26005 Reviewed by Darin Fisher. 26006 26007 autoComplete and getElementById methods for WebKit API 26008 26009 https://bugs.webkit.org/show_bug.cgi?id=32866 26010 26011 * public/WebDocument.h: 26012 * public/WebInputElement.h: 26013 * src/WebDocument.cpp: 26014 (WebKit::WebDocument::getElementById): 26015 * src/WebInputElement.cpp: 26016 (WebKit::WebInputElement::autoComplete): 26017 26018 2009-12-18 Kenneth Russell <kbr (a] google.com> 26019 26020 Reviewed by Darin Fisher. 26021 26022 [Chromium] Eliminate redundant data copy in GraphicsContext3D readback 26023 https://bugs.webkit.org/show_bug.cgi?id=32763 26024 26025 Eliminated useless creation of a CGBitmapContext and from there a 26026 CGImage. Now create CGImage directly from data. Also changed 26027 readPixels parameters and CGImage alpha info to try to avoid byte 26028 swapping, and disabled interpolation when drawing the GL content. 26029 Some test cases run twice as fast with these changes, though more 26030 work is needed to achieve desired performance. 26031 26032 No test case; performance optimization only. Ran WebGL demos from 26033 Khronos site to verify changes. 26034 26035 * src/GraphicsContext3D.cpp: 26036 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 26037 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 26038 (WebCore::GraphicsContext3DInternal::reshape): 26039 (WebCore::GraphicsContext3DInternal::beginPaint): 26040 26041 2009-12-18 Peter Kasting <pkasting (a] google.com> 26042 26043 Reviewed by Adam Barth. 26044 26045 Chromium build fix 26046 https://bugs.webkit.org/show_bug.cgi?id=32756 26047 26048 * public/WebAccessibilityRole.h: 26049 (WebKit::): 26050 * src/AssertMatchingEnums.cpp: 26051 26052 2009-12-18 Adam Roben <aroben (a] apple.com> 26053 26054 Chromium build fix 26055 26056 * src/ChromiumBridge.cpp: 26057 * src/WebPluginContainerImpl.cpp: 26058 * src/WebViewImpl.cpp: 26059 Added #includes. 26060 26061 2009-12-17 Eric Seidel <eric (a] webkit.org> 26062 26063 No review, rolling out r52291. 26064 http://trac.webkit.org/changeset/52291 26065 https://bugs.webkit.org/show_bug.cgi?id=32618 26066 26067 Darin Fisher points out that this will likely break 26068 the SSL security indicator in Chromium. Rolling out for now. 26069 26070 * src/WebViewImpl.cpp: 26071 (WebKit::WebViewImpl::WebViewImpl): 26072 26073 2009-12-17 Alexander Pavlov <apavlov (a] chromium.org> 26074 26075 Reviewed by Eric Seidel. 26076 26077 Disable memory cache client calls so that a new identifier isn't created 26078 for the same resource on reload. 26079 26080 With the calls enabled, duplicate entries for cached resources are created 26081 in the Web Inspector. Safari for Windows disables the calls near the point of the 26082 Frame instance creation, and we just follow this for Chromium. 26083 https://bugs.webkit.org/show_bug.cgi?id=32618 26084 26085 * src/WebViewImpl.cpp: 26086 (WebKit::WebViewImpl::WebViewImpl): 26087 26088 2009-12-17 Yaar Schnitman <yaar (a] chromium.org> 26089 26090 Reviewed by Darin Fisher. 26091 26092 Added WebPageSerializer to WebKit API and enriched the WebNode hierarchy to support 26093 downstream unit-testing of serialization. 26094 26095 WebPageSerializer was adapted from Chromium's dom_serializer, originally authored by Johnny Ding. 26096 26097 https://bugs.webkit.org/show_bug.cgi?id=31737 26098 26099 * WebKit.gyp: 26100 * public/WebDocument.h: Added. 26101 (WebKit::WebDocument::WebDocument): 26102 (WebKit::WebDocument::operator=): 26103 (WebKit::WebDocument::assign): 26104 * public/WebElement.h: 26105 * public/WebFormElement.h: 26106 (WebKit::WebFormElement::operator=): 26107 * public/WebFrame.h: 26108 * public/WebNode.h: 26109 (WebKit::WebNode::): 26110 (WebKit::WebNode::toConstElement): 26111 * public/WebNodeCollection.h: Added. 26112 (WebKit::WebNodeCollection::~WebNodeCollection): 26113 (WebKit::WebNodeCollection::WebNodeCollection): 26114 (WebKit::WebNodeCollection::operator=): 26115 * public/WebNodeList.h: Added. 26116 (WebKit::WebNodeList::~WebNodeList): 26117 (WebKit::WebNodeList::WebNodeList): 26118 (WebKit::WebNodeList::operator=): 26119 * public/WebPageSerializer.h: Added. 26120 * public/WebPageSerializerClient.h: Added. 26121 (WebKit::WebPageSerializerClient::): 26122 (WebKit::WebPageSerializerClient::WebPageSerializerClient): 26123 (WebKit::WebPageSerializerClient::~WebPageSerializerClient): 26124 * public/WebString.h: 26125 * public/WebView.h: 26126 * src/AssertMatchingEnums.cpp: 26127 * src/DOMUtilitiesPrivate.cpp: 26128 (WebKit::elementHasLegalLinkAttribute): 26129 * src/DOMUtilitiesPrivate.h: 26130 * src/WebDocument.cpp: Added. 26131 (WebKit::WebDocument::WebDocument): 26132 (WebKit::WebDocument::operator=): 26133 (WebKit::WebDocument::operator WTF::PassRefPtr<Document>): 26134 (WebKit::WebDocument::frame): 26135 (WebKit::WebDocument::isHTMLDocument): 26136 (WebKit::WebDocument::baseURL): 26137 (WebKit::WebDocument::body): 26138 (WebKit::WebDocument::head): 26139 (WebKit::WebDocument::all): 26140 (WebKit::WebDocument::completeURL): 26141 * src/WebElement.cpp: 26142 (WebKit::WebElement::hasTagName): 26143 (WebKit::WebElement::hasAttribute): 26144 (WebKit::WebElement::getAttribute): 26145 * src/WebEntities.cpp: Added. 26146 (WebKit::populateMap): 26147 (WebKit::): 26148 (WebKit::WebEntities::WebEntities): 26149 (WebKit::WebEntities::entityNameByCode): 26150 (WebKit::WebEntities::convertEntitiesInString): 26151 * src/WebEntities.h: Added. 26152 * src/WebFrameImpl.cpp: 26153 (WebKit::WebFrame::fromFrameOwnerElement): 26154 (WebKit::WebFrameImpl::encoding): 26155 (WebKit::WebFrameImpl::document): 26156 (WebKit::WebFrameImpl::fromFrameOwnerElement): 26157 * src/WebFrameImpl.h: 26158 * src/WebNode.cpp: 26159 (WebKit::WebNode::nodeType): 26160 (WebKit::WebNode::nodeValue): 26161 (WebKit::WebNode::document): 26162 (WebKit::WebNode::firstChild): 26163 (WebKit::WebNode::lastChild): 26164 (WebKit::WebNode::previousSibling): 26165 (WebKit::WebNode::nextSibling): 26166 (WebKit::WebNode::hasChildNodes): 26167 (WebKit::WebNode::childNodes): 26168 (WebKit::WebNode::createMarkup): 26169 (WebKit::WebNode::isTextNode): 26170 (WebKit::WebNode::isElementNode): 26171 * src/WebNodeCollection.cpp: Added. 26172 (WebKit::WebNodeCollection::reset): 26173 (WebKit::WebNodeCollection::assign): 26174 (WebKit::WebNodeCollection::WebNodeCollection): 26175 (WebKit::WebNodeCollection::length): 26176 (WebKit::WebNodeCollection::nextItem): 26177 (WebKit::WebNodeCollection::firstItem): 26178 * src/WebNodeList.cpp: Added. 26179 (WebKit::WebNodeList::reset): 26180 (WebKit::WebNodeList::assign): 26181 (WebKit::WebNodeList::WebNodeList): 26182 (WebKit::WebNodeList::length): 26183 (WebKit::WebNodeList::item): 26184 * src/WebPageSerializer.cpp: Added. 26185 (WebKit::WebPageSerializer::serialize): 26186 (WebKit::WebPageSerializer::generateMetaCharsetDeclaration): 26187 (WebKit::WebPageSerializer::generateMarkOfTheWebDeclaration): 26188 (WebKit::WebPageSerializer::generateBaseTagDeclaration): 26189 * src/WebPageSerializerImpl.cpp: Added. 26190 (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam): 26191 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag): 26192 (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag): 26193 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeEndTag): 26194 (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag): 26195 (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer): 26196 (WebKit::WebPageSerializerImpl::openTagToString): 26197 (WebKit::WebPageSerializerImpl::endTagToString): 26198 (WebKit::WebPageSerializerImpl::buildContentForNode): 26199 (WebKit::WebPageSerializerImpl::WebPageSerializerImpl): 26200 (WebKit::WebPageSerializerImpl::collectTargetFrames): 26201 (WebKit::WebPageSerializerImpl::serialize): 26202 * src/WebPageSerializerImpl.h: Added. 26203 * src/WebString.cpp: 26204 (WebKit::WebString::WebString): 26205 (WebKit::WebString::operator=): 26206 * src/WebViewImpl.cpp: 26207 26208 2009-12-17 Yury Semikhatsky <yurys (a] chromium.org> 26209 26210 Reviewed by David Levin. 26211 26212 Provide explicit implementation of 'non-template' WebVector<T>::operator= 26213 26214 https://bugs.webkit.org/show_bug.cgi?id=32363 26215 26216 * public/WebVector.h: 26217 26218 2009-12-16 Fumitoshi Ukai <ukai (a] chromium.org> 26219 26220 Unreviewed, build fix. 26221 26222 [Chromium] Add EditableTextRole to catch up with 26223 http://trac.webkit.org/changeset/52233 26224 26225 * public/WebAccessibilityRole.h: 26226 (WebKit::): Added WebAccessibilityRoleEditableText 26227 * src/AssertMatchingEnums.cpp: Added matching compile assert. 26228 26229 2009-12-15 Kenneth Russell <kbr (a] google.com> 26230 26231 Reviewed by Darin Fisher. 26232 26233 Don't allow default framebuffer to be mutated 26234 https://bugs.webkit.org/show_bug.cgi?id=32391 26235 26236 * src/GraphicsContext3D.cpp: 26237 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 26238 (WebCore::GraphicsContext3DInternal::reshape): 26239 (WebCore::GraphicsContext3DInternal::beginPaint): 26240 (WebCore::GraphicsContext3DInternal::bindFramebuffer): 26241 (WebCore::GraphicsContext3D::bindFramebuffer): 26242 26243 2009-12-15 Dimitri Glazkov <dglazkov (a] chromium.org> 26244 26245 Unreviewed, build fix. 26246 26247 [Chromium] Add TreeGridRole to catch up with 26248 http://trac.webkit.org/changeset/52159. 26249 26250 * public/WebAccessibilityRole.h: 26251 (WebKit::): Added WebAccessibilityRoleTreeGrid. 26252 * src/AssertMatchingEnums.cpp: Added matching compile assert. 26253 26254 2009-12-15 Jian Li <jianli (a] chromium.org> 26255 26256 Reviewed by Dmitry Titov. 26257 26258 Bug 31090 - [Chromium] Add DownloadURL format to Chromium clipboard. 26259 https://bugs.webkit.org/show_bug.cgi?id=31090 26260 26261 The proposal to whatwg can be found here: 26262 http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/022118.html 26263 26264 * public/WebDragData.h: 26265 * src/WebDragData.cpp: 26266 (WebKit::WebDragData::downloadURL): 26267 (WebKit::WebDragData::setDownloadURL): 26268 26269 2009-12-14 Evan Stade <estade (a] chromium.org> 26270 26271 Reviewed by Darin Fisher. 26272 26273 https://bugs.webkit.org/show_bug.cgi?id=32347 26274 Chromium: Context menu launched by menu key has funky behavior 26275 26276 Make the context menu's position depend on the selection only when an 26277 editable field has focus. Also, don't send multiple context menu events 26278 for a single keypress. 26279 26280 * src/WebViewImpl.cpp: 26281 (WebKit::WebViewImpl::keyEvent): 26282 (WebKit::WebViewImpl::sendContextMenuEvent): 26283 26284 2009-12-13 Sam Weinig <sam (a] webkit.org> 26285 26286 Reviewed by Dan Bernstein. 26287 26288 Fix for https://bugs.webkit.org/show_bug.cgi?id=32499 26289 Add client based Geolocation provider 26290 26291 Add first cut of a client based Geolocation provider. This is guarded by 26292 ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a 26293 GeolocationControllerClient interface that no-one currently implements, 26294 but will in a subsequent patch. 26295 26296 * src/WebViewImpl.cpp: 26297 (WebKit::WebViewImpl::WebViewImpl): 26298 26299 2009-12-13 Charles Reis <creis (a] chromium.org> 26300 26301 Reviewed by Adam Barth. 26302 26303 Refactor some security code out of V8 bindings 26304 https://bugs.webkit.org/show_bug.cgi?id=32326 26305 26306 * src/WebBindings.cpp: 26307 (WebKit::getDragDataImpl): 26308 26309 2009-12-11 Nate Chapin <japhet (a] chromium.org> 26310 26311 Reviewed by Darin Fisher. 26312 26313 Expose shouldHideReferrer() in WebSecurityPolicy. 26314 26315 https://bugs.webkit.org/show_bug.cgi?id=32398 26316 26317 * public/WebSecurityPolicy.h: Add shouldHideReferrer(). 26318 * src/WebSecurityPolicy.cpp: 26319 (WebKit:: WebSecurityPolicy::shouldHideReferrer): Added. 26320 26321 2009-12-11 Avi Drissman <avi (a] chromium.org> 26322 26323 Reviewed by Darin Fisher. 26324 26325 Tickmarks in the scrollbar are not cleared for non-main frames 26326 https://bugs.webkit.org/show_bug.cgi?id=32385 26327 26328 * src/WebFrameImpl.cpp: 26329 (WebKit::WebFrameImpl::stopFinding): 26330 26331 2009-12-11 Yury Semikhatsky <yurys (a] chromium.org> 26332 26333 Reviewed by Pavel Feldman. 26334 26335 Remove obsolete message handling methods from WebDevTools* interfaces 26336 26337 https://bugs.webkit.org/show_bug.cgi?id=32320 26338 26339 * public/WebDevToolsAgent.h: 26340 * public/WebDevToolsAgentClient.h: 26341 * public/WebDevToolsFrontend.h: 26342 * public/WebDevToolsFrontendClient.h: 26343 26344 2009-12-10 Mike Belshe <mike (a] belshe.com> 26345 26346 Unreviewed, build fix for chromium. 26347 26348 * src/FrameLoaderClientImpl.cpp: 26349 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest): 26350 26351 2009-12-10 Kenneth Russell <kbr (a] google.com> 26352 26353 Reviewed by Oliver Hunt. 26354 26355 Changed WebGLRenderingContext to synthesize GL errors rather than 26356 raising JavaScript exceptions. Removed internal getError() calls 26357 after each graphics call. The GraphicsContext3D maintains the 26358 synthetic exceptions because only it has complete information 26359 about certain conditions requiring them to be raised. 26360 26361 Based on idea from Ilmari Heikkinen, added create3DDebugContext() 26362 to webgl-test.js and changed the WebGL layout tests expecting 26363 error conditions to use it. Updated expected.txt files, which now 26364 implicitly test the OpenGL error as it is part of the exception's 26365 message. 26366 26367 Added new targeted test covering aspects of synthetic errors as 26368 well as regression tests for bugs uncovered during its development. 26369 26370 Test: fast/canvas/webgl/error-reporting.html 26371 26372 * src/GraphicsContext3D.cpp: 26373 (WebCore::GraphicsContext3DInternal::reshape): 26374 (WebCore::GraphicsContext3DInternal::getError): 26375 (WebCore::GraphicsContext3DInternal::synthesizeGLError): 26376 (WebCore::GraphicsContext3D::getActiveAttrib): 26377 (WebCore::GraphicsContext3D::getActiveUniform): 26378 (WebCore::GraphicsContext3D::getError): 26379 (WebCore::GraphicsContext3D::synthesizeGLError): 26380 26381 2009-12-10 Mike Belshe <mike (a] belshe.com> 26382 26383 Reviewed by Darin Fisher. 26384 26385 Fix FrameLoader to use the new ResourceTypes properly. 26386 26387 https://bugs.webkit.org/show_bug.cgi?id=32336 26388 26389 * public/WebURLRequest.h: 26390 (WebKit::WebURLRequest::): 26391 * src/FrameLoaderClientImpl.cpp: 26392 (WebKit::setTargetTypeFromLoader): 26393 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest): 26394 26395 2009-12-10 Ilya Tikhonovsky <loislo (a] google.com> 26396 26397 Reviewed by Pavel Feldman. 26398 26399 Chromium: Expose devtools agent API for inspector layout tests. 26400 26401 https://bugs.webkit.org/show_bug.cgi?id=32379 26402 26403 * public/WebDevToolsAgent.h: 26404 (WebKit::WebDevToolsAgent::setTimelineProfilingEnabled): 26405 (WebKit::WebDevToolsAgent::evaluateInWebInspector): 26406 26407 2009-12-09 Yury Semikhatsky <yurys (a] chromium.org> 26408 26409 Unreviewed, build fix. 26410 26411 Change forward declaration of WebContextMenuData from class to 26412 struct to match its definition. The bug was introduced by 26413 http://trac.webkit.org/changeset/51874 26414 26415 * src/ContextMenuClientImpl.h: 26416 26417 2009-12-09 Darin Fisher <darin (a] chromium.org> 26418 26419 Reviewed by Eric Seidel. 26420 26421 https://bugs.webkit.org/show_bug.cgi?id=32324 26422 [Chromium] Suppress WebFrameClient callbacks from a detached frame. 26423 26424 This change means that we no longer need the ClientHandle class. 26425 FrameLoaderClient::detachedFromParent3() is called on each frame 26426 in the frame tree from within frameDetached(). 26427 26428 Test: http/tests/loading/gmail-assert-on-load.html 26429 26430 * src/FrameLoaderClientImpl.cpp: 26431 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 26432 * src/WebFrameImpl.cpp: 26433 (WebKit::WebFrameImpl::create): 26434 (WebKit::WebFrameImpl::WebFrameImpl): 26435 (WebKit::WebFrameImpl::createChildFrame): 26436 * src/WebFrameImpl.h: 26437 (WebKit::WebFrameImpl::client): 26438 (WebKit::WebFrameImpl::dropClient): 26439 * src/WebViewImpl.cpp: 26440 (WebKit::WebViewImpl::close): 26441 26442 2009-12-08 Stuart Morgan <stuartmorgan (a] chromium.org> 26443 26444 Reviewed by Darin Fisher. 26445 26446 Include clickCount when doing MouseEvent -> WebMouseEvent conversion 26447 in Chromium API. 26448 26449 https://bugs.webkit.org/show_bug.cgi?id=32289 26450 26451 * src/WebInputEventConversion.cpp: 26452 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder): 26453 26454 2009-12-09 Yury Semikhatsky <yurys (a] chromium.org> 26455 26456 Unreviewed, build fix. 26457 26458 Add return statement to default implementation of hostIdentifier method 26459 introduced in http://trac.webkit.org/changeset/51897 26460 26461 * public/WebDevToolsAgentClient.h: 26462 (WebKit::WebDevToolsAgentClient::hostIdentifier): 26463 26464 2009-12-09 Yury Semikhatsky <yurys (a] chromium.org> 26465 26466 Reviewed by Pavel Feldman. 26467 26468 Add declaration of static methods that allow to dispatch 26469 DevTools messages on the IO thread and accept WebDevToolsMessageData 26470 argument. 26471 26472 https://bugs.webkit.org/show_bug.cgi?id=32314 26473 26474 * public/WebDevToolsAgent.h: 26475 * public/WebDevToolsAgentClient.h: 26476 26477 2009-12-09 Yury Semikhatsky <yurys (a] chromium.org> 26478 26479 Reviewed by Pavel Feldman. 26480 26481 Introduce a class for devtools message data 26482 26483 https://bugs.webkit.org/show_bug.cgi?id=32314 26484 26485 * WebKit.gyp: 26486 * public/WebDevToolsAgent.h: 26487 * public/WebDevToolsAgentClient.h: 26488 (WebKit::WebDevToolsAgentClient::sendMessageToFrontend): 26489 (WebKit::WebDevToolsAgentClient::forceRepaint): 26490 (WebKit::WebDevToolsAgentClient::hostIdentifier): 26491 (WebKit::WebDevToolsAgentClient::runtimeFeatureStateChanged): 26492 * public/WebDevToolsFrontend.h: 26493 * public/WebDevToolsFrontendClient.h: 26494 (WebKit::WebDevToolsFrontendClient::sendMessageToAgent): 26495 * public/WebDevToolsMessageData.h: Added. 26496 26497 2009-12-08 Pavel Feldman <pfeldman (a] chromium.org> 26498 26499 Reviewed by Darin Fisher. 26500 26501 Chromium: support custom WebCore context menu items in Chromium port. 26502 26503 https://bugs.webkit.org/show_bug.cgi?id=32277 26504 26505 * public/WebContextMenuData.h: 26506 * public/WebPopupMenuInfo.h: 26507 (WebKit::WebPopupMenuInfo::Item::): 26508 * public/WebView.h: 26509 * src/ContextMenuClientImpl.cpp: 26510 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 26511 * src/WebViewImpl.cpp: 26512 (WebKit::WebViewImpl::executeCustomContextMenuAction): 26513 * src/WebViewImpl.h: 26514 26515 2009-12-08 Albert J. Wong <ajwong (a] chromium.org> 26516 26517 Not reviewed: Chromium build fix. 26518 26519 r51859 changed the case for some of the ResourceRequest::TargetType 26520 enums. 26521 26522 * src/FrameLoaderClientImpl.cpp: 26523 (WebKit::determineTargetTypeFromLoader): 26524 26525 2009-12-07 Zhe Su <suzhe (a] chromium.org> 26526 26527 Reviewed by Darin Fisher. 26528 26529 [Chromium] accesskey is not supported on Chromium Mac. 26530 https://bugs.webkit.org/show_bug.cgi?id=32213 26531 26532 This change fixes (partially) the accesskey issue by decoupling the 26533 code for handling accesskeys and system keys. Because on Mac, 26534 the modifiers of accesskeys are ctrl+alt, which are not marked as 26535 system keys. 26536 In order to fully fix this issue, some changes in Chromium code is 26537 also required. 26538 26539 * src/WebViewImpl.cpp: 26540 (WebKit::WebViewImpl::keyEvent): 26541 (WebKit::WebViewImpl::charEvent): 26542 26543 2009-12-07 Evan Martin <evan (a] chromium.org> 26544 26545 Reviewed by Eric Seidel. 26546 26547 Chromium: theme scrollbars to match GTK theme. 26548 Add API to set the colors. 26549 26550 Since the change is to the Chromium WebKit API layer, testing will 26551 be in Chromium's test shell. 26552 http://bugs.webkit.org/show_bug.cgi?id=32048 26553 26554 Patch from Markus Gutschke <markus (a] chromium.org>. 26555 26556 * public/WebView.h: 26557 * src/WebViewImpl.cpp: 26558 (WebKit::WebViewImpl::setScrollbarColors): 26559 * src/WebViewImpl.h: 26560 26561 2009-12-07 Finnur Thorarinsson <finnur.webkit (a] gmail.com> 26562 26563 Reviewed by Darin Fisher. 26564 26565 A patch for Chromium to restrict the scope of the Gmail focus fix, 26566 where we set the Selection to 0,0 for content-editable fields and 26567 also make sure we set the selection end-state for find to select the 26568 text found (when not focusing a link we found). 26569 WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=32248 26570 26571 * src/WebFrameImpl.cpp: 26572 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection): 26573 * src/WebViewImpl.cpp: 26574 (WebKit::WebViewImpl::setFocus): 26575 26576 2009-12-07 Dmitry Titov <dimich (a] chromium.org> 26577 26578 Rubber-stamped by Darin Adler. 26579 26580 Remove ENABLE_SHARED_SCRIPT flags 26581 https://bugs.webkit.org/show_bug.cgi?id=32245 26582 This patch was obtained by "git revert" command and then un-reverting of ChangeLog files. 26583 26584 * features.gypi: 26585 26586 2009-12-07 Yaar Schnitman <yaar (a] chromium.org> 26587 26588 Reviewed by Darin Fisher. 26589 26590 fixes to build-webkit --chromium 26591 https://bugs.webkit.org/show_bug.cgi?id=32179 26592 26593 * DEPS: 26594 * WebKit.gyp: 26595 * gyp_webkit: 26596 26597 2009-12-07 Mikhail Naganov <mnaganov (a] chromium.org> 26598 26599 Reviewed by Pavel Feldman. 26600 26601 [Chromium] Add declarations for DevTools message dispatching on IO thread 26602 (see http://codereview.chromium.org/460018) 26603 26604 https://bugs.webkit.org/show_bug.cgi?id=32217 26605 26606 * public/WebDevToolsAgent.h: 26607 * public/WebDevToolsAgentClient.h: 26608 26609 2009-12-04 James Hawkins <jhawkins (a] chromium.org> 26610 26611 Reviewed by Darin Fisher. 26612 26613 https://bugs.webkit.org/show_bug.cgi?id=32095 26614 Implement WebRegularExpression, a WebKit API for accessing 26615 WebCore::RegularExpression. 26616 26617 * WebKit.gyp: 26618 * public/WebRegularExpression.h: Added. 26619 * public/WebTextCaseSensitivity.h: Added. 26620 (WebKit::): 26621 * src/AssertMatchingEnums.cpp: 26622 * src/WebRegularExpression.cpp: Added. 26623 (WebKit::WebRegularExpression::WebRegularExpression): 26624 (WebKit::WebRegularExpression::~WebRegularExpression): 26625 (WebKit::WebRegularExpression::match): 26626 26627 2009-12-04 Peter Kasting <pkasting (a] google.com> 26628 26629 Reviewed by Darin Fisher. 26630 26631 [Chromium] Simplify zoom-related APIs and add a zoom level getter, 26632 part two: Remove deprecated APIs. 26633 https://bugs.webkit.org/show_bug.cgi?id=31893 26634 26635 * public/WebView.h: 26636 * src/WebViewImpl.cpp: 26637 * src/WebViewImpl.h: 26638 26639 2009-12-03 Jonathan Dixon <joth (a] chromium.org> 26640 26641 Reviewed by Dimitri Glazkov. 26642 26643 Bug 32066 - Add enable geolocation flag to WebCore::Settings for Chromium 26644 https://bugs.webkit.org/show_bug.cgi?id=32066 26645 26646 Add the plumbing to map WebSettings through to WebCore::Settings 26647 26648 * features.gypi: 26649 * public/WebSettings.h: Add setGeolocationEnabled API to interface 26650 * src/WebSettingsImpl.cpp: 26651 (WebKit::WebSettingsImpl::setGeolocationEnabled): Calls through to WebCore::Settings::setGeolocationEnabled 26652 * src/WebSettingsImpl.h: Add setGeolocationEnabled interface function 26653 26654 2009-12-03 Brady Eidson <beidson (a] apple.com> 26655 26656 Reviewed by Sam Weinig. 26657 26658 <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API 26659 26660 * src/FrameLoaderClientImpl.cpp: 26661 (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage): 26662 (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage): 26663 (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage): 26664 * src/FrameLoaderClientImpl.h: 26665 26666 2009-12-03 Pavel Feldman <pfeldman (a] chromium.org> 26667 26668 Reviewed by Timothy Hatcher. 26669 26670 Chromium: Add support for settings containing ":" 26671 26672 https://bugs.webkit.org/show_bug.cgi?id=32118 26673 26674 * src/InspectorClientImpl.cpp: 26675 (WebKit::InspectorClientImpl::loadSettings): 26676 26677 2009-12-03 Pavel Feldman <pfeldman (a] dhcp-172-28-174-220.spb.corp.google.com> 26678 26679 Reviewed by Timothy Hatcher. 26680 26681 Web Inspector: Simplify the settings support in inspector controller. 26682 26683 https://bugs.webkit.org/show_bug.cgi?id=32076 26684 26685 * src/InspectorClientImpl.cpp: 26686 (WebKit::InspectorClientImpl::hiddenPanels): 26687 (WebKit::InspectorClientImpl::populateSetting): 26688 (WebKit::InspectorClientImpl::storeSetting): 26689 (WebKit::InspectorClientImpl::loadSettings): 26690 (WebKit::InspectorClientImpl::saveSettings): 26691 * src/InspectorClientImpl.h: 26692 26693 2009-12-03 Ben Murdoch <benm (a] google.com> 26694 26695 Reviewed by Brady Eidson. 26696 26697 [Android] The FrameLoaderClient is unaware of BackForwardList changes. 26698 https://bugs.webkit.org/show_bug.cgi?id=31914 26699 26700 * src/FrameLoaderClientImpl.cpp: 26701 (WebKit::FrameLoaderClientImpl::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug). 26702 (WebKit::FrameLoaderClientImpl::dispatchDidRemoveBackForwardItem): ditto. 26703 (WebKit::FrameLoaderClientImpl::dispatchDidChangeBackForwardIndex): dito. 26704 * src/FrameLoaderClientImpl.h: 26705 26706 2009-12-02 Yusuke Sato <yusukes (a] chromium.org> 26707 26708 Reviewed by Eric Seidel. 26709 26710 Sanitize web fonts using the OTS library 26711 https://bugs.webkit.org/show_bug.cgi?id=31106 26712 26713 * DEPS: Added dependency to the OpenType sanitizer library. 26714 * features.gypi: Added ENABLE_OPENTYPE_SANITIZER=1. 26715 26716 2009-12-02 Evan Stade <estade (a] chromium.org> 26717 26718 Reviewed by Darin Fisher. 26719 26720 https://bugs.webkit.org/show_bug.cgi?id=32029 26721 Mousewheel event delta has reversed sign on Linux Chrome. 26722 26723 No new tests (layout tests don't cover event conversion code). 26724 Manual test: http://www.switchonthecode.com/tutorials/javascript-tutorial-the-scroll-wheel 26725 26726 * src/gtk/WebInputEventFactory.cpp: 26727 (WebKit::WebInputEventFactory::mouseWheelEvent): 26728 26729 2009-12-02 Anton Muhin <antonm (a] chromium.org> 26730 26731 Reviewed by Adam Barth. 26732 26733 Allow to skip thread checks when accessing DOMDataStore for processes 26734 which run V8 in single thread mode. 26735 https://bugs.webkit.org/show_bug.cgi?id=31877 26736 26737 * src/WebScriptController.cpp: 26738 (WebKit::WebScriptController::enableV8SingleThreadMode): 26739 26740 2009-12-01 Peter Kasting <pkasting (a] google.com> 26741 26742 Reviewed by Darin Fisher. 26743 26744 [Chromium] Simplify zoom-related APIs and add a zoom level getter, 26745 part one: Add new APIs. (Old APIs will be removed in a second pass.) 26746 https://bugs.webkit.org/show_bug.cgi?id=31893 26747 26748 * public/WebView.h: 26749 * src/WebViewImpl.cpp: 26750 (WebKit::WebViewImpl::zoomLevel): 26751 (WebKit::WebViewImpl::setZoomLevel): 26752 * src/WebViewImpl.h: 26753 26754 2009-12-01 Xiyuan Xia <xiyuan (a] chromium.org> 26755 26756 Reviewed by Darin Fisher. 26757 26758 Only fire start/stop events when main frame is not loading. 26759 26760 https://bugs.webkit.org/show_bug.cgi?id=31838 26761 26762 * src/FrameLoaderClientImpl.cpp: 26763 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): 26764 26765 2009-11-27 Yury Semikhatsky <yurys (a] chromium.org> 26766 26767 Reviewed by Pavel Feldman. 26768 26769 Add separate method for pause command to WebDevToolsAgent 26770 and WebDevToolsFrontendClient interfaces so that pause command 26771 can be processed on the IO thread. 26772 26773 https://bugs.webkit.org/show_bug.cgi?id=31934 26774 26775 * public/WebDevToolsAgent.h: 26776 * public/WebDevToolsFrontendClient.h: 26777 (WebKit::WebDevToolsFrontendClient::sendDebuggerCommandToAgent): 26778 (WebKit::WebDevToolsFrontendClient::sendDebuggerPauseScript): 26779 (WebKit::WebDevToolsFrontendClient::activateWindow): 26780 (WebKit::WebDevToolsFrontendClient::closeWindow): 26781 (WebKit::WebDevToolsFrontendClient::dockWindow): 26782 (WebKit::WebDevToolsFrontendClient::undockWindow): 26783 26784 2009-11-27 Yury Semikhatsky <yurys (a] chromium.org> 26785 26786 Reviewed by Pavel Feldman. 26787 26788 WebCore part of the fix that allows to view plugin 26789 resources loaded by plugins. Methods that for resource 26790 loading notifications are exposed through WebDevToolsAgent 26791 interface to the glue code to allow Chromium's plugin 26792 implementation to notify InspectorController about resource 26793 loading in plugins. 26794 26795 https://bugs.webkit.org/show_bug.cgi?id=31832 26796 26797 * public/WebDevToolsAgent.h: 26798 * public/WebView.h: 26799 * src/WebViewImpl.cpp: 26800 (WebKit::WebViewImpl::createUniqueIdentifierForRequest): 26801 * src/WebViewImpl.h: 26802 26803 2009-11-26 Yury Semikhatsky <yurys (a] chromium.org> 26804 26805 Not reviewed. Build fix: revert r51421. 26806 26807 * public/WebDevToolsAgent.h: 26808 * public/WebView.h: 26809 * src/WebViewImpl.cpp: 26810 * src/WebViewImpl.h: 26811 26812 2009-11-25 Dimitri Glazkov <dglazkov (a] chromium.org> 26813 26814 Reviewed by David Levin. 26815 26816 [Chromium] Implement canSetValueAttribute in the API. 26817 https://bugs.webkit.org/show_bug.cgi?id=31894 26818 26819 * public/WebAccessibilityObject.h: Added decl. 26820 * src/WebAccessibilityCacheImpl.h: Cleaned up mis-include. 26821 * src/WebAccessibilityObject.cpp: 26822 (WebKit::WebAccessibilityObject::canSetValueAttribute): Added impl. 26823 26824 2009-11-25 Dimitri Glazkov <dglazkov (a] chromium.org> 26825 26826 Reviewed by Darin Fisher. 26827 26828 [Chromium] Plumb setNeedsSiteSpecificQuirks throught WebKit API. 26829 https://bugs.webkit.org/show_bug.cgi?id=31878 26830 26831 * public/WebSettings.h: Added decl. 26832 * src/WebSettingsImpl.cpp: 26833 (WebKit::WebSettingsImpl::setNeedsSiteSpecificQuirks): Added impl. 26834 * src/WebSettingsImpl.h: 26835 26836 2009-11-24 Dmitry Titov <dimich (a] chromium.org> 26837 26838 Reviewed by Eric Seidel. 26839 26840 Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit 26841 https://bugs.webkit.org/show_bug.cgi?id=31444 26842 26843 * features.gypi: 26844 26845 2009-11-24 Evan Stade <estade (a] chromium.org> 26846 26847 Reviewed by David Levin. 26848 26849 Linux Chromium sends too many click events 26850 https://bugs.webkit.org/show_bug.cgi?id=31841 26851 26852 Manually count number of clicks for double/triple click events. This 26853 makes us match Firefox on http://www.quirksmode.org/js/events_mouse.html 26854 Chromium side of this patch is here: 26855 http://codereview.chromium.org/431031/show 26856 26857 * src/gtk/WebInputEventFactory.cpp: 26858 (WebKit::WebInputEventFactory::mouseEvent): 26859 26860 2009-11-24 Darin Fisher <darin (a] chromium.org> 26861 26862 Reviewed by Adam Barth. 26863 26864 [Chromium] Renderer hang when using www.expedia.com 26865 https://bugs.webkit.org/show_bug.cgi?id=31822 26866 26867 * src/FrameLoaderClientImpl.cpp: 26868 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest): 26869 Assign ReturnCacheDataDontLoad cache policy at the last moment 26870 to match Safari. This way the cache policy does not get stored 26871 in DocumentLoader's originalRequest preventing it from being 26872 inherited by subresource requests. 26873 * src/ResourceHandle.cpp: 26874 (WebCore::ResourceHandle::willLoadFromCache): Remove assignment 26875 of ReturnCacheDataDontLoad cache policy so that it doesn't end 26876 up applying to the DocumentLoader's originalRequest. 26877 26878 2009-11-23 Kenneth Russell <kbr (a] google.com> 26879 26880 Reviewed by Oliver Hunt. 26881 26882 Change get... calls to latest spec 26883 https://bugs.webkit.org/show_bug.cgi?id=30091 26884 26885 Removed old versions of get calls on WebGLRenderingContext and 26886 added new ones per spec returning "any". New code simplifies 26887 GraphicsContext3D and fixes previously unimplemented routines. 26888 Added custom JS and V8 bindings. Added exhaustive test case 26889 exercising all new code paths. Updated preexisting test cases for 26890 new APIs. Fixed preexisting bugs in WebKit's and Chrome's WebGL 26891 implementations. 26892 26893 Ran WebGL layout tests in WebKit (clean) and Chrome (couple of 26894 preexisting known failures) and manual WebGL tests in both 26895 browsers. 26896 26897 Test: fast/canvas/webgl/gl-object-get-calls.html 26898 26899 * src/GraphicsContext3D.cpp: 26900 (WebCore::GraphicsContext3D::createFramebuffer): 26901 (WebCore::GraphicsContext3D::createRenderbuffer): 26902 (WebCore::GraphicsContext3D::deleteFramebuffer): 26903 (WebCore::GraphicsContext3D::deleteRenderbuffer): 26904 (WebCore::GraphicsContext3D::checkFramebufferStatus): 26905 (WebCore::GraphicsContext3D::getBooleanv): 26906 (WebCore::GraphicsContext3D::getBufferParameteriv): 26907 (WebCore::GraphicsContext3D::getFloatv): 26908 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv): 26909 (WebCore::GraphicsContext3D::getIntegerv): 26910 (WebCore::GraphicsContext3D::getProgramiv): 26911 (WebCore::GraphicsContext3D::getRenderbufferParameteriv): 26912 (WebCore::GraphicsContext3D::getShaderiv): 26913 (WebCore::GraphicsContext3D::getTexParameterfv): 26914 (WebCore::GraphicsContext3D::getTexParameteriv): 26915 (WebCore::GraphicsContext3D::getUniformfv): 26916 (WebCore::GraphicsContext3D::getUniformiv): 26917 (WebCore::GraphicsContext3D::getVertexAttribfv): 26918 (WebCore::GraphicsContext3D::getVertexAttribiv): 26919 (WebCore::GraphicsContext3D::isFramebuffer): 26920 (WebCore::GraphicsContext3D::isRenderbuffer): 26921 26922 2009-11-24 Pavel Feldman <pfeldman (a] chromium.org> 26923 26924 Reviewed by Darin Fisher. 26925 26926 Chromium: Expose method for reporting user stats 26927 to the host. Also includes drive-by default implementation. 26928 26929 https://bugs.webkit.org/show_bug.cgi?id=31830 26930 26931 * public/WebKitClient.h: 26932 26933 2009-11-24 Adam Barth <abarth (a] webkit.org> 26934 26935 Reviewed by Dimitri Glazkov. 26936 26937 [Chromium] Fix DOM storage layout tests 26938 https://bugs.webkit.org/show_bug.cgi?id=31833 26939 26940 The issue is, essentially, that this code assumes that 26941 SecurityOrigin::createString can re-create a SecurityOrigin given 26942 the string produced from SecurityOrigin::toString. This is a bogus 26943 assumption in a number of corner cases (e.g., document.domain, 26944 @sandbox). A recent patch (http://trac.webkit.org/changeset/51294) 26945 make this assumption further invalid in the case of of file:// URLs. 26946 26947 The correct fix is for this code to use WebSecurityOrigin objects 26948 (and not strings) to represent SecurityOrigin objects. However, the 26949 expert on this code is on vacation, and I don't want to do major 26950 surgery here without his involvement. This patch is a temporary fix 26951 to get these tests passing again. We'll do the right fix once 26952 jorlow gets back from vacation. 26953 26954 Tests: Covered by a number of existing DOM storage tests. 26955 26956 * src/WebStorageNamespaceImpl.cpp: 26957 (WebKit::WebStorageNamespaceImpl::createStorageArea): 26958 26959 2009-11-23 Jian Li <jianli (a] chromium.org> 26960 26961 Reviewed by NOBODY (Chromium build fix). 26962 26963 * src/GraphicsContext3D.cpp: 26964 (WebCore::GraphicsContext3D::createShader): 26965 26966 2009-11-20 Jian Li <jianli (a] chromium.org> 26967 26968 Not reviewed. Fix chromium build. 26969 26970 * public/WebAccessibilityRole.h: 26971 (WebKit::): 26972 * src/AssertMatchingEnums.cpp: 26973 26974 2009-11-19 Yaar Schnitman <yaar (a] chromium.org> 26975 26976 Reviewed by Darin Fisher. 26977 26978 Make chromium/webkit/glue/FormFieldValues use the WebKit API 26979 26980 https://bugs.webkit.org/show_bug.cgi?id=31650 26981 26982 * public/WebElement.h: 26983 * public/WebFormElement.h: 26984 * public/WebInputElement.h: 26985 (WebKit::WebInputElement::): 26986 * public/WebNode.h: 26987 * src/AssertMatchingEnums.cpp: 26988 * src/DOMUtilitiesPrivate.cpp: 26989 (WebKit::nameOfInputElement): 26990 * src/DOMUtilitiesPrivate.h: 26991 * src/EditorClientImpl.cpp: 26992 (WebKit::EditorClientImpl::autofill): 26993 (WebKit::EditorClientImpl::doAutofill): 26994 * src/WebFormElement.cpp: 26995 (WebKit::WebFormElement::name): 26996 (WebKit::WebFormElement::method): 26997 (WebKit::WebFormElement::getNamedElements): 26998 (WebKit::WebFormElement::getInputElements): 26999 * src/WebInputElement.cpp: 27000 (WebKit::WebInputElement::isEnabledFormControl): 27001 (WebKit::WebInputElement::inputType): 27002 (WebKit::WebInputElement::formControlType): 27003 (WebKit::WebInputElement::value): 27004 (WebKit::WebInputElement::dispatchFormControlChangeEvent): 27005 (WebKit::WebInputElement::setSelectionRange): 27006 (WebKit::WebInputElement::name): 27007 (WebKit::WebInputElement::nameForAutofill): 27008 * src/WebNode.cpp: 27009 (WebKit::WebNode::frame): 27010 27011 2009-11-18 Michelangelo De Simone <micdesim (a] gmail.com> 27012 27013 Reviewed by Darin Adler. 27014 27015 Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>. 27016 Support for validationMessage attribute, as per HTML5 specs. 27017 27018 * src/LocalizedStrings.cpp: 27019 (WebCore::validationMessageValueMissingText): 27020 (WebCore::validationMessageTypeMismatchText): 27021 (WebCore::validationMessagePatternMismatchText): 27022 (WebCore::validationMessageTooLongText): 27023 (WebCore::validationMessageRangeUnderflowText): 27024 (WebCore::validationMessageRangeOverflowText): 27025 (WebCore::validationMessageStepMismatchText): 27026 27027 2009-11-18 Nate Chapin <japhet (a] chromium.org> 27028 27029 Reviewed by Darin Fisher. 27030 27031 Remove Chromium port's dependency on some dummy pthreads header 27032 files that live in the Chromium repository. 27033 27034 https://bugs.webkit.org/show_bug.cgi?id=31648 27035 27036 * DEPS: Remove reference to chromium svn's webkit/build/ directory. 27037 27038 2009-11-18 Evan Stade <estade (a] chromium.org> 27039 27040 Reviewed by Darin Fisher. 27041 27042 Menu button shows wrong content in Chromium 27043 https://bugs.webkit.org/show_bug.cgi?id=31448 27044 27045 Make context menu button (VK_APPS) show context menu for node that has 27046 keyboard focus. This affects both the content and the positioning. 27047 27048 * src/WebViewImpl.cpp: 27049 (WebKit::WebViewImpl::sendContextMenuEvent): 27050 27051 2009-11-17 Darin Fisher <darin (a] chromium.org> 27052 27053 Reviewed by Dmitry Titov. 27054 27055 Minor cleanup in WebKit API 27056 https://bugs.webkit.org/show_bug.cgi?id=31616 27057 27058 * public/WebFormElement.h: Add missing WEBKIT_API prefix. 27059 * public/WebNode.h: Add missing WEBKIT_API prefix. 27060 * src/WebFormElement.cpp: 27061 (WebKit::WebFormElement::action): Make action getter const. 27062 * src/WebNode.cpp: 27063 (WebKit::WebNode::frame): Utilize WebFrameImpl::fromFrame. 27064 27065 2009-11-17 Nicolas Weber <thakis (a] chromium.org> 27066 27067 Reviewed by Darin Fisher, Dmitry Titov. 27068 27069 Revert r50887, it regressed handling of cmd-left when a text box is focused. 27070 https://bugs.webkit.org/show_bug.cgi?id=31566 27071 27072 * src/mac/WebInputEventFactory.mm: 27073 (WebKit::WebInputEventFactory::keyboardEvent): 27074 27075 2009-11-16 Kenneth Russell <kbr (a] google.com> 27076 27077 Reviewed by Oliver Hunt. 27078 27079 Update API of WebGLArray and friends 27080 https://bugs.webkit.org/show_bug.cgi?id=31175 27081 27082 * src/GraphicsContext3D.cpp: 27083 (WebCore::GraphicsContext3D::bufferData): 27084 (WebCore::GraphicsContext3D::bufferSubData): 27085 27086 2009-11-15 Dimitri Glazkov <dglazkov (a] chromium.org> 27087 27088 Unreviewed, build fix. 27089 27090 Correct an error in the previous commit 27091 27092 * public/WebAccessibilityRole.h: It should be WebAccessibilityRoleDirectory, 27093 not WebAccessibilityDirectoryRole. 27094 27095 2009-11-15 Dimitri Glazkov <dglazkov (a] chromium.org> 27096 27097 Unreviewed, build fix. 27098 27099 Bring WebAccessibilityRole up to sync after 27100 http://trac.webkit.org/changeset/51007. 27101 27102 * public/WebAccessibilityRole.h: Added WebAccessibilityRoleDirectory. 27103 * src/AssertMatchingEnums.cpp: Added a match between DirectoryRole and 27104 WebAccessibilityRoleDirectory. 27105 27106 2009-11-13 Dimitri Glazkov <dglazkov (a] chromium.org> 27107 27108 Unreviewed, build fix. 27109 27110 [Chromium] Rename windowObjectCleared to dispatchDidClearWindowObjectInWorld 27111 to catch up http://trac.webkit.org/changeset/50973. 27112 27113 * src/FrameLoaderClientImpl.cpp: 27114 (WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld): 27115 * src/FrameLoaderClientImpl.h: 27116 27117 2009-11-13 Yaar Schnitman <yaar (a] chromium.org> 27118 27119 Reviewed by Dimitri Glazkov. 27120 27121 Chromium WebKit Port to compile as dynamic lib 27122 27123 https://bugs.webkit.org/show_bug.cgi?id=31478 27124 27125 * WebKit.gyp: 27126 27127 2009-11-13 Aaron Boodman <aa (a] chromium.org> 27128 27129 Reviewed by Eric Seidel. 27130 27131 Adds a way to get the document element's scrollHeight, 27132 which is sort of the moral equivalent to 27133 RenderBox::minPrefWidth(). 27134 27135 https://bugs.webkit.org/show_bug.cgi?id=31036 27136 27137 * public/WebFrame.h: Declare documentElementScrollHeight() 27138 * src/WebFrameImpl.h: Ditto 27139 * src/WebFrameImpl.cpp: Implement documentElementScrollHeight() 27140 (WebKit::WebFrameImpl::documentElementScrollHeight): Return the 27141 scroll height of the document element, or zero if there's no 27142 documentElement. 27143 27144 2009-11-12 Dumitru Daniliuc <dumi (a] chromium.org> 27145 27146 Reviewed by Dimitri Glazkov. 27147 27148 Adding Chromium's DatabaseTracker implementation. 27149 27150 https://bugs.webkit.org/show_bug.cgi?id=31440 27151 27152 * WebKit.gyp: 27153 * src/ChromeClientImpl.cpp: 27154 (WebKit::ChromeClientImpl::exceededDatabaseQuota): 27155 * src/DatabaseObserver.cpp: Added. 27156 (WebCore::DatabaseObserver::databaseOpened): 27157 (WebCore::DatabaseObserver::databaseModified): 27158 (WebCore::DatabaseObserver::databaseClosed): 27159 * src/WebDatabase.cpp: 27160 (WebKit::WebDatabase::name): 27161 (WebKit::WebDatabase::displayName): 27162 (WebKit::WebDatabase::estimatedSize): 27163 (WebKit::WebDatabase::securityOrigin): 27164 (WebKit::WebDatabase::updateDatabaseSize): 27165 * src/WebSecurityOrigin.cpp: 27166 (WebKit::WebSecurityOrigin::toString): 27167 (WebKit::WebSecurityOrigin::databaseIdentifier): 27168 27169 2009-11-13 Yaar Schnitman <yaar (a] chromium.org> 27170 27171 Reviewed by Dimitri Glazkov. 27172 27173 Rolling Chromium dependencies to match Chromium revision 31834. 27174 27175 https://bugs.webkit.org/show_bug.cgi?id=31445 27176 27177 * DEPS: 27178 27179 2009-11-12 Dumitru Daniliuc <dumi (a] chromium.org> 27180 27181 Reviewed by Dimitri Glazkov. 27182 27183 Renaming some parameters passed to DB-related methods to better 27184 indicate their purpose. 27185 27186 https://bugs.webkit.org/show_bug.cgi?id=31449 27187 27188 * public/WebKitClient.h: 27189 * src/ChromiumBridge.cpp: 27190 (WebCore::ChromiumBridge::databaseOpenFile): 27191 (WebCore::ChromiumBridge::databaseDeleteFile): 27192 (WebCore::ChromiumBridge::databaseGetFileAttributes): 27193 (WebCore::ChromiumBridge::databaseGetFileSize): 27194 27195 2009-11-12 Adam Barth <abarth> 27196 27197 Reviewed by Dimitri Glazkov. 27198 27199 [Chromium] reload-subframe-object.html fails 27200 https://bugs.webkit.org/show_bug.cgi?id=31398 27201 27202 More closely match FrameLoaderClient.mm. Turns out we don't want to 27203 use MIMETypeRegistry::getMIMETypeForPath because we can't distinguish 27204 between application/octet-stream and lack of knowledge of the MIME 27205 type. 27206 27207 Covered by reload-subframe-object.html. 27208 27209 * src/FrameLoaderClientImpl.cpp: 27210 (WebKit::FrameLoaderClientImpl::objectContentType): 27211 27212 2009-11-12 Nate Chapin <japhet (a] chromium.org> 27213 27214 Unreviewed, Chromium build fix. 27215 27216 Add new accessibility enum values to Chromium enums from 27217 http://trac.webkit.org/changeset/50865 and 27218 http://trac.webkit.org/changeset/50883. 27219 27220 https://bugs.webkit.org/show_bug.cgi?id=31424 27221 27222 * public/WebAccessibilityRole.h: 27223 (WebKit::): 27224 * src/AssertMatchingEnums.cpp: 27225 27226 2009-11-12 Nicolas Weber <thakis (a] chromium.org> 27227 27228 Reviewed by Dimitri Glazkov. 27229 27230 Send |keypress()| events for keys with cmd down, like safari. 27231 Test: Hit cmd-shift-a on unixpapa.com/js/testkey.html , should show a 27232 keypress() event. 27233 27234 * src/mac/WebInputEventFactory.mm: 27235 (WebKit::WebInputEventFactory::keyboardEvent): 27236 27237 2009-11-11 Jeremy Orlow <jorlow (a] chromium.org> 27238 27239 Not reviewed. Build fix. Will be cleaned up in subsequent patch once we know exaclty what's going on. 27240 27241 * src/WebBindings.cpp: 27242 27243 2009-11-11 Drew Wilson <atwilson (a] chromium.org> 27244 27245 Reviewed by Dimitri Glazkov. 27246 27247 SharedWorkerRepository.connect() does not call WebSharedWorkerRepository 27248 https://bugs.webkit.org/show_bug.cgi?id=31371 27249 27250 Test: Unit tests can be enabled downstream when this lands. 27251 27252 * src/SharedWorkerRepository.cpp: 27253 (WebCore::SharedWorkerRepository::connect): 27254 Added missing call to WebSharedWorkerRepository.addSharedWorker(). 27255 27256 2009-11-11 Yaar Schnitman <yaar (a] chromium.org> 27257 27258 Reviewed by Dimitri Glazkov. 27259 27260 Tiny path fixes in Chromium API includes. 27261 27262 https://bugs.webkit.org/show_bug.cgi?id=31369 27263 27264 * public/linux/WebSandboxSupport.h: Fixed path. 27265 * src/WebBindings.cpp: Fixed path. 27266 27267 2009-11-11 Nate Chapin <japhet (a] chromium.org> 27268 27269 Reviewed by Dimitri Glazkov. 27270 27271 http://trac.webkit.org/changeset/50811 removed some methods from 27272 platform/network/SocketStreamHandleClient.h, so remove them 27273 here too. 27274 27275 https://bugs.webkit.org/show_bug.cgi?id=31360 27276 27277 * public/WebSocketStreamHandleClient.h: 27278 * src/SocketStreamHandle.cpp: 27279 (WebCore::SocketStreamHandleInternal::send): 27280 27281 2009-11-11 Nate Chapin <japhet (a] chromium.org> 27282 27283 Reviewed by Eric Seidel. 27284 27285 Remove some additional references to dragSourceMovedTo() not 27286 needed after http://trac.webkit.org/changeset/50786. 27287 27288 https://bugs.webkit.org/show_bug.cgi?id=31354 27289 27290 * public/WebView.h: 27291 * src/WebViewImpl.h: 27292 27293 2009-11-11 Nate Chapin <japhet (a] chromium.org> 27294 27295 Reviewed by Dimitri Glazkov. 27296 27297 Remove WebViewImpl::dragSourceMovedTo(), as it is no longer 27298 needed after http://trac.webkit.org/changeset/50786. 27299 27300 https://bugs.webkit.org/show_bug.cgi?id=31354 27301 27302 * src/WebViewImpl.cpp: 27303 27304 2009-11-10 Nate Chapin <japhet (a] chromium.org> 27305 27306 Unreviewed, Chromium build fix for http://trac.webkit.org/changeset/50760. 27307 27308 * src/WebFrameImpl.cpp: 27309 (WebKit::WebFrameImpl::paint): 27310 27311 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 27312 27313 Reviewed by Dimitri Glazkov. 27314 27315 Modified WebKit.gyp to build the webkit api. 27316 27317 https://bugs.webkit.org/show_bug.cgi?id=31320 27318 27319 * README: Added. 27320 * WebKit.gyp: Added. 27321 * webkit.gyp: Removed. 27322 27323 2009-11-10 Nate Chapin <japhet (a] chromium.org> 27324 27325 Reviewed by Eric Seidel. 27326 27327 Update references to Canvas 3D classes to use the WebGL prefix 27328 introduced in http://trac.webkit.org/changeset/50725. 27329 27330 https://bugs.webkit.org/show_bug.cgi?id=31276 27331 27332 * src/GraphicsContext3D.cpp: 27333 (WebCore::GraphicsContext3DInternal::beginPaint): 27334 (WebCore::GraphicsContext3DInternal::bindBuffer): 27335 (WebCore::GraphicsContext3DInternal::bindTexture): 27336 (WebCore::GraphicsContext3D::beginPaint): 27337 (WebCore::GraphicsContext3D::bindAttribLocation): 27338 (WebCore::GraphicsContext3D::bindBuffer): 27339 (WebCore::GraphicsContext3D::bindTexture): 27340 (WebCore::GraphicsContext3D::bufferData): 27341 (WebCore::GraphicsContext3D::bufferSubData): 27342 (WebCore::GraphicsContext3D::detachShader): 27343 (WebCore::GraphicsContext3D::getActiveAttrib): 27344 (WebCore::GraphicsContext3D::getActiveUniform): 27345 (WebCore::GraphicsContext3D::getAttribLocation): 27346 (WebCore::GraphicsContext3D::getBooleanv): 27347 (WebCore::GraphicsContext3D::getBufferParameteriv): 27348 (WebCore::GraphicsContext3D::getFloatv): 27349 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv): 27350 (WebCore::GraphicsContext3D::getIntegerv): 27351 (WebCore::GraphicsContext3D::getProgrami): 27352 (WebCore::GraphicsContext3D::getProgramiv): 27353 (WebCore::GraphicsContext3D::getProgramInfoLog): 27354 (WebCore::GraphicsContext3D::getRenderbufferParameteriv): 27355 (WebCore::GraphicsContext3D::getShaderi): 27356 (WebCore::GraphicsContext3D::getShaderiv): 27357 (WebCore::GraphicsContext3D::getShaderInfoLog): 27358 (WebCore::GraphicsContext3D::getShaderSource): 27359 (WebCore::GraphicsContext3D::getTexParameterfv): 27360 (WebCore::GraphicsContext3D::getTexParameteriv): 27361 (WebCore::GraphicsContext3D::getUniformf): 27362 (WebCore::GraphicsContext3D::getUniformfv): 27363 (WebCore::GraphicsContext3D::getUniformi): 27364 (WebCore::GraphicsContext3D::getUniformiv): 27365 (WebCore::GraphicsContext3D::getUniformLocation): 27366 (WebCore::GraphicsContext3D::getVertexAttribfv): 27367 (WebCore::GraphicsContext3D::getVertexAttribiv): 27368 (WebCore::GraphicsContext3D::isBuffer): 27369 (WebCore::GraphicsContext3D::isFramebuffer): 27370 (WebCore::GraphicsContext3D::isProgram): 27371 (WebCore::GraphicsContext3D::isRenderbuffer): 27372 (WebCore::GraphicsContext3D::isShader): 27373 (WebCore::GraphicsContext3D::isTexture): 27374 (WebCore::GraphicsContext3D::readPixels): 27375 (WebCore::GraphicsContext3D::shaderSource): 27376 (WebCore::GraphicsContext3D::texImage2D): 27377 (WebCore::GraphicsContext3D::texSubImage2D): 27378 27379 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 27380 27381 Reviewed by Dimitri Glazkov. 27382 27383 Up-streaming Chromium API src files: WebWorker and friends. 27384 27385 https://bugs.webkit.org/show_bug.cgi?id=31276 27386 27387 * src/WebWorkerBase.cpp: Added. 27388 (WebKit::WorkerWebFrameClient::didCreateDataSource): 27389 (WebKit::WorkerWebFrameClient::sharedInstance): 27390 (WebKit::WorkerWebFrameClient::WorkerWebFrameClient): 27391 (WebKit::initializeWebKitStaticValues): 27392 (WebKit::WebWorkerBase::WebWorkerBase): 27393 (WebKit::WebWorkerBase::~WebWorkerBase): 27394 (WebKit::WebWorkerBase::stopWorkerThread): 27395 (WebKit::WebWorkerBase::initializeLoader): 27396 (WebKit::WebWorkerBase::dispatchTaskToMainThread): 27397 (WebKit::WebWorkerBase::invokeTaskMethod): 27398 (WebKit::WebWorkerBase::postMessageToWorkerObject): 27399 (WebKit::WebWorkerBase::postMessageTask): 27400 (WebKit::WebWorkerBase::postExceptionToWorkerObject): 27401 (WebKit::WebWorkerBase::postExceptionTask): 27402 (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject): 27403 (WebKit::WebWorkerBase::postConsoleMessageTask): 27404 (WebKit::WebWorkerBase::confirmMessageFromWorkerObject): 27405 (WebKit::WebWorkerBase::confirmMessageTask): 27406 (WebKit::WebWorkerBase::reportPendingActivity): 27407 (WebKit::WebWorkerBase::reportPendingActivityTask): 27408 (WebKit::WebWorkerBase::workerContextClosed): 27409 (WebKit::WebWorkerBase::workerContextClosedTask): 27410 (WebKit::WebWorkerBase::workerContextDestroyed): 27411 (WebKit::WebWorkerBase::workerContextDestroyedTask): 27412 (WebKit::WebWorkerBase::postTaskToLoader): 27413 (WebKit::WebWorkerBase::postTaskForModeToWorkerContext): 27414 * src/WebWorkerBase.h: Added. 27415 (WebKit::WebWorkerBase::setWorkerThread): 27416 (WebKit::WebWorkerBase::workerThread): 27417 * src/WebWorkerClientImpl.cpp: Added. 27418 (WebKit::WebWorkerClientImpl::createWorkerContextProxy): 27419 (WebKit::WebWorkerClientImpl::WebWorkerClientImpl): 27420 (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl): 27421 (WebKit::WebWorkerClientImpl::setWebWorker): 27422 (WebKit::WebWorkerClientImpl::startWorkerContext): 27423 (WebKit::WebWorkerClientImpl::terminateWorkerContext): 27424 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext): 27425 (WebKit::WebWorkerClientImpl::hasPendingActivity): 27426 (WebKit::WebWorkerClientImpl::workerObjectDestroyed): 27427 (WebKit::WebWorkerClientImpl::postMessageToWorkerObject): 27428 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject): 27429 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject): 27430 (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject): 27431 (WebKit::WebWorkerClientImpl::reportPendingActivity): 27432 (WebKit::WebWorkerClientImpl::workerContextDestroyed): 27433 (WebKit::WebWorkerClientImpl::workerContextClosed): 27434 (WebKit::WebWorkerClientImpl::startWorkerContextTask): 27435 (WebKit::WebWorkerClientImpl::terminateWorkerContextTask): 27436 (WebKit::WebWorkerClientImpl::postMessageToWorkerContextTask): 27437 (WebKit::WebWorkerClientImpl::workerObjectDestroyedTask): 27438 (WebKit::WebWorkerClientImpl::postMessageToWorkerObjectTask): 27439 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask): 27440 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask): 27441 (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask): 27442 (WebKit::WebWorkerClientImpl::reportPendingActivityTask): 27443 * src/WebWorkerClientImpl.h: Added. 27444 (WebKit::WebWorkerClientImpl::createWorker): 27445 (WebKit::WebWorkerClientImpl::notificationPresenter): 27446 * src/WebWorkerImpl.cpp: Added. 27447 (WebKit::WebWorker::create): 27448 (WebKit::WebWorkerImpl::WebWorkerImpl): 27449 (WebKit::WebWorkerImpl::~WebWorkerImpl): 27450 (WebKit::WebWorkerImpl::commonClient): 27451 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask): 27452 (WebKit::WebWorkerImpl::startWorkerContext): 27453 (WebKit::WebWorkerImpl::terminateWorkerContext): 27454 (WebKit::WebWorkerImpl::postMessageToWorkerContext): 27455 (WebKit::WebWorkerImpl::workerObjectDestroyed): 27456 (WebKit::WebWorkerImpl::clientDestroyed): 27457 * src/WebWorkerImpl.h: Added. 27458 (WebKit::WebWorkerImpl::client): 27459 27460 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 27461 27462 Reviewed by Dimitri Glazkov. 27463 27464 Up-streaming Chromium API src files: Platform specific files. 27465 27466 https://bugs.webkit.org/show_bug.cgi?id=31276 27467 27468 * src/gtk/WebFontInfo.cpp: Added. 27469 (WebKit::WebFontInfo::familyForChars): 27470 * src/gtk/WebInputEventFactory.cpp: Added. 27471 (WebKit::gdkEventTimeToWebEventTime): 27472 (WebKit::gdkStateToWebEventModifiers): 27473 (WebKit::gdkEventToWindowsKeyCode): 27474 (WebKit::getControlCharacter): 27475 (WebKit::WebInputEventFactory::keyboardEvent): 27476 (WebKit::WebInputEventFactory::mouseEvent): 27477 (WebKit::WebInputEventFactory::mouseWheelEvent): 27478 * src/gtk/WebScreenInfoFactory.cpp: Added. 27479 (WebKit::WebScreenInfoFactory::screenInfo): 27480 * src/linux/WebFontRendering.cpp: Added. 27481 (WebKit::WebFontRendering::setHinting): 27482 (WebKit::WebFontRendering::setAntiAlias): 27483 (WebKit::WebFontRendering::setSubpixelGlyphs): 27484 (WebKit::WebFontRendering::setLCDOrder): 27485 (WebKit::WebFontRendering::setLCDOrientation): 27486 * src/mac/WebInputEventFactory.mm: Added. 27487 (WebKit::isKeyUpEvent): 27488 (WebKit::isKeypadEvent): 27489 (WebKit::windowsKeyCodeForKeyEvent): 27490 (WebKit::textFromEvent): 27491 (WebKit::unmodifiedTextFromEvent): 27492 (WebKit::keyIdentifierForKeyEvent): 27493 (WebKit::modifiersFromEvent): 27494 (WebKit::WebInputEventFactory::keyboardEvent): 27495 (WebKit::WebInputEventFactory::mouseEvent): 27496 (WebKit::WebInputEventFactory::mouseWheelEvent): 27497 * src/mac/WebScreenInfoFactory.mm: Added. 27498 (WebKit::screenForWindow): 27499 (WebKit::toUserSpace): 27500 (WebKit::WebScreenInfoFactory::screenInfo): 27501 * src/win/WebInputEventFactory.cpp: Added. 27502 (WebKit::isKeyPad): 27503 (WebKit::WebInputEventFactory::keyboardEvent): 27504 (WebKit::GetRelativeCursorPos): 27505 (WebKit::WebInputEventFactory::resetLastClickState): 27506 (WebKit::WebInputEventFactory::mouseEvent): 27507 (WebKit::WebInputEventFactory::mouseWheelEvent): 27508 * src/win/WebScreenInfoFactory.cpp: Added. 27509 (WebKit::toWebRect): 27510 (WebKit::WebScreenInfoFactory::screenInfo): 27511 * src/x11/WebScreenInfoFactory.cpp: Added. 27512 (WebKit::WebScreenInfoFactory::screenInfo): 27513 27514 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 27515 27516 Reviewed by Eric Seidel. 27517 27518 Up-streaming Chromium API src files: WrapperResourceRequest and Response 27519 27520 https://bugs.webkit.org/show_bug.cgi?id=31276 27521 27522 * src/WrappedResourceRequest.h: Added. 27523 (WebKit::WrappedResourceRequest::~WrappedResourceRequest): 27524 (WebKit::WrappedResourceRequest::WrappedResourceRequest): 27525 (WebKit::WrappedResourceRequest::bind): 27526 (WebKit::WrappedResourceRequest::Handle::dispose): 27527 * src/WrappedResourceResponse.h: Added. 27528 (WebKit::WrappedResourceResponse::~WrappedResourceResponse): 27529 (WebKit::WrappedResourceResponse::WrappedResourceResponse): 27530 (WebKit::WrappedResourceResponse::bind): 27531 (WebKit::WrappedResourceResponse::Handle::dispose): 27532 27533 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 27534 27535 Reviewed by Dimitri Glazkov. 27536 27537 Up-streaming Chromium API src files: StorageStreamHandlers...StorageNamespaceProxy 27538 27539 https://bugs.webkit.org/show_bug.cgi?id=31276 27540 27541 * src/SocketStreamHandle.cpp: Added. 27542 (WebCore::SocketStreamHandleInternal::create): 27543 (WebCore::SocketStreamHandleInternal::SocketStreamHandleInternal): 27544 (WebCore::SocketStreamHandleInternal::~SocketStreamHandleInternal): 27545 (WebCore::SocketStreamHandleInternal::connect): 27546 (WebCore::SocketStreamHandleInternal::send): 27547 (WebCore::SocketStreamHandleInternal::close): 27548 (WebCore::SocketStreamHandleInternal::willOpenStream): 27549 (WebCore::SocketStreamHandleInternal::didOpenStream): 27550 (WebCore::SocketStreamHandleInternal::didSendData): 27551 (WebCore::SocketStreamHandleInternal::didReceiveData): 27552 (WebCore::SocketStreamHandleInternal::didClose): 27553 (WebCore::SocketStreamHandleInternal::didFail): 27554 (WebCore::SocketStreamHandle::SocketStreamHandle): 27555 (WebCore::SocketStreamHandle::~SocketStreamHandle): 27556 (WebCore::SocketStreamHandle::platformSend): 27557 (WebCore::SocketStreamHandle::platformClose): 27558 (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge): 27559 (WebCore::SocketStreamHandle::receivedCredential): 27560 (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential): 27561 (WebCore::SocketStreamHandle::receivedCancellation): 27562 * src/StorageAreaProxy.cpp: Added. 27563 (WebCore::StorageAreaProxy::StorageAreaProxy): 27564 (WebCore::StorageAreaProxy::~StorageAreaProxy): 27565 (WebCore::StorageAreaProxy::length): 27566 (WebCore::StorageAreaProxy::key): 27567 (WebCore::StorageAreaProxy::getItem): 27568 (WebCore::StorageAreaProxy::setItem): 27569 (WebCore::StorageAreaProxy::removeItem): 27570 (WebCore::StorageAreaProxy::clear): 27571 (WebCore::StorageAreaProxy::contains): 27572 * src/StorageAreaProxy.h: Added. 27573 * src/StorageEventDispatcherChromium.cpp: Added. 27574 (WebCore::StorageEventDispatcher::dispatch): 27575 * src/StorageEventDispatcherImpl.cpp: Added. 27576 (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl): 27577 (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent): 27578 * src/StorageEventDispatcherImpl.h: Added. 27579 * src/StorageNamespaceProxy.cpp: Added. 27580 (WebCore::StorageNamespace::localStorageNamespace): 27581 (WebCore::StorageNamespace::sessionStorageNamespace): 27582 (WebCore::StorageNamespaceProxy::StorageNamespaceProxy): 27583 (WebCore::StorageNamespaceProxy::~StorageNamespaceProxy): 27584 (WebCore::StorageNamespaceProxy::copy): 27585 (WebCore::StorageNamespaceProxy::storageArea): 27586 (WebCore::StorageNamespaceProxy::close): 27587 (WebCore::StorageNamespaceProxy::unlock): 27588 * src/StorageNamespaceProxy.h: Added. 27589 27590 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 27591 27592 Reviewed by Dimitri Glazkov. 27593 27594 Up-streaming Chromium API src files: NotificationPresenterImpl...SharedWorkerRepository 27595 27596 https://bugs.webkit.org/show_bug.cgi?id=31276 27597 27598 * src/NotificationPresenterImpl.cpp: Added. 27599 (WebKit::VoidCallbackClient::VoidCallbackClient): 27600 (WebKit::VoidCallbackClient::permissionRequestComplete): 27601 (WebKit::NotificationPresenterImpl::initialize): 27602 (WebKit::NotificationPresenterImpl::isInitialized): 27603 (WebKit::NotificationPresenterImpl::show): 27604 (WebKit::NotificationPresenterImpl::cancel): 27605 (WebKit::NotificationPresenterImpl::notificationObjectDestroyed): 27606 (WebKit::NotificationPresenterImpl::checkPermission): 27607 (WebKit::NotificationPresenterImpl::requestPermission): 27608 * src/NotificationPresenterImpl.h: Added. 27609 (WebKit::NotificationPresenterImpl::NotificationPresenterImpl): 27610 * src/PlatformMessagePortChannel.cpp: Added. 27611 (WebCore::MessagePortChannel::create): 27612 (WebCore::MessagePortChannel::createChannel): 27613 (WebCore::MessagePortChannel::MessagePortChannel): 27614 (WebCore::MessagePortChannel::~MessagePortChannel): 27615 (WebCore::MessagePortChannel::entangleIfOpen): 27616 (WebCore::MessagePortChannel::disentangle): 27617 (WebCore::MessagePortChannel::postMessageToRemote): 27618 (WebCore::MessagePortChannel::tryGetMessageFromRemote): 27619 (WebCore::MessagePortChannel::close): 27620 (WebCore::MessagePortChannel::isConnectedTo): 27621 (WebCore::MessagePortChannel::hasPendingActivity): 27622 (WebCore::MessagePortChannel::locallyEntangledPort): 27623 (WebCore::PlatformMessagePortChannel::create): 27624 (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel): 27625 (WebCore::PlatformMessagePortChannel::~PlatformMessagePortChannel): 27626 (WebCore::PlatformMessagePortChannel::createChannel): 27627 (WebCore::PlatformMessagePortChannel::messageAvailable): 27628 (WebCore::PlatformMessagePortChannel::entangleIfOpen): 27629 (WebCore::PlatformMessagePortChannel::disentangle): 27630 (WebCore::PlatformMessagePortChannel::postMessageToRemote): 27631 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote): 27632 (WebCore::PlatformMessagePortChannel::close): 27633 (WebCore::PlatformMessagePortChannel::isConnectedTo): 27634 (WebCore::PlatformMessagePortChannel::hasPendingActivity): 27635 (WebCore::PlatformMessagePortChannel::setEntangledChannel): 27636 (WebCore::PlatformMessagePortChannel::webChannelRelease): 27637 * src/PlatformMessagePortChannel.h: Added. 27638 * src/ResourceHandle.cpp: Added. 27639 (WebCore::ResourceHandleInternal::ResourceHandleInternal): 27640 (WebCore::ResourceHandleInternal::start): 27641 (WebCore::ResourceHandleInternal::cancel): 27642 (WebCore::ResourceHandleInternal::setDefersLoading): 27643 (WebCore::ResourceHandleInternal::allowStoredCredentials): 27644 (WebCore::ResourceHandleInternal::willSendRequest): 27645 (WebCore::ResourceHandleInternal::didSendData): 27646 (WebCore::ResourceHandleInternal::didReceiveResponse): 27647 (WebCore::ResourceHandleInternal::didReceiveData): 27648 (WebCore::ResourceHandleInternal::didFinishLoading): 27649 (WebCore::ResourceHandleInternal::didFail): 27650 (WebCore::ResourceHandle::ResourceHandle): 27651 (WebCore::ResourceHandle::create): 27652 (WebCore::ResourceHandle::request): 27653 (WebCore::ResourceHandle::client): 27654 (WebCore::ResourceHandle::setClient): 27655 (WebCore::ResourceHandle::setDefersLoading): 27656 (WebCore::ResourceHandle::start): 27657 (WebCore::ResourceHandle::clearAuthentication): 27658 (WebCore::ResourceHandle::cancel): 27659 (WebCore::ResourceHandle::~ResourceHandle): 27660 (WebCore::ResourceHandle::bufferedData): 27661 (WebCore::ResourceHandle::loadsBlocked): 27662 (WebCore::ResourceHandle::supportsBufferedData): 27663 (WebCore::ResourceHandle::loadResourceSynchronously): 27664 (WebCore::ResourceHandle::willLoadFromCache): 27665 * src/SharedWorkerRepository.cpp: Added. 27666 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader): 27667 (WebCore::SharedWorkerScriptLoader::load): 27668 (WebCore::getWebPort): 27669 (WebCore::SharedWorkerScriptLoader::notifyFinished): 27670 (WebCore::SharedWorkerScriptLoader::sendConnect): 27671 (WebCore::SharedWorkerScriptLoader::contextDestroyed): 27672 (WebCore::SharedWorkerScriptLoader::connected): 27673 (WebCore::SharedWorkerRepository::isAvailable): 27674 (WebCore::getId): 27675 (WebCore::SharedWorkerRepository::connect): 27676 (WebCore::SharedWorkerRepository::documentDetached): 27677 (WebCore::SharedWorkerRepository::hasSharedWorkers): 27678 27679 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 27680 27681 Reviewed by Dimitri Glazkov. 27682 27683 Up-streaming Chromium API src files: GraphicContext3D...MediaPlaterPrivateChromium 27684 27685 https://bugs.webkit.org/show_bug.cgi?id=31276 27686 27687 * src/GraphicsContext3D.cpp: Added. 27688 (WebCore::GraphicsContext3DInternal::): 27689 (WebCore::GraphicsContext3DInternal::VertexAttribPointerState::VertexAttribPointerState): 27690 (WebCore::tryLoad): 27691 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal): 27692 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal): 27693 (WebCore::GraphicsContext3DInternal::checkError): 27694 (WebCore::GraphicsContext3DInternal::makeContextCurrent): 27695 (WebCore::GraphicsContext3DInternal::platformGraphicsContext3D): 27696 (WebCore::GraphicsContext3DInternal::platformTexture): 27697 (WebCore::createTextureObject): 27698 (WebCore::GraphicsContext3DInternal::reshape): 27699 (WebCore::GraphicsContext3DInternal::flipVertically): 27700 (WebCore::GraphicsContext3DInternal::beginPaint): 27701 (WebCore::GraphicsContext3DInternal::validateTextureTarget): 27702 (WebCore::GraphicsContext3DInternal::validateTextureParameter): 27703 (WebCore::GraphicsContext3DInternal::activeTexture): 27704 (WebCore::GraphicsContext3DInternal::bindBuffer): 27705 (WebCore::GraphicsContext3DInternal::bindTexture): 27706 (WebCore::GraphicsContext3DInternal::bufferDataImpl): 27707 (WebCore::GraphicsContext3DInternal::disableVertexAttribArray): 27708 (WebCore::GraphicsContext3DInternal::enableVertexAttribArray): 27709 (WebCore::GraphicsContext3DInternal::vertexAttribPointer): 27710 (WebCore::GraphicsContext3DInternal::viewportImpl): 27711 (WebCore::GraphicsContext3D::create): 27712 (WebCore::GraphicsContext3D::GraphicsContext3D): 27713 (WebCore::GraphicsContext3D::~GraphicsContext3D): 27714 (WebCore::GraphicsContext3D::platformGraphicsContext3D): 27715 (WebCore::GraphicsContext3D::platformTexture): 27716 (WebCore::GraphicsContext3D::checkError): 27717 (WebCore::GraphicsContext3D::makeContextCurrent): 27718 (WebCore::GraphicsContext3D::reshape): 27719 (WebCore::GraphicsContext3D::beginPaint): 27720 (WebCore::GraphicsContext3D::endPaint): 27721 (WebCore::GraphicsContext3D::sizeInBytes): 27722 (WebCore::GraphicsContext3D::createBuffer): 27723 (WebCore::GraphicsContext3D::createFramebuffer): 27724 (WebCore::GraphicsContext3D::createProgram): 27725 (WebCore::GraphicsContext3D::createRenderbuffer): 27726 (WebCore::GraphicsContext3D::createShader): 27727 (WebCore::GraphicsContext3D::createTexture): 27728 (WebCore::GraphicsContext3D::deleteBuffer): 27729 (WebCore::GraphicsContext3D::deleteFramebuffer): 27730 (WebCore::GraphicsContext3D::deleteProgram): 27731 (WebCore::GraphicsContext3D::deleteRenderbuffer): 27732 (WebCore::GraphicsContext3D::deleteShader): 27733 (WebCore::GraphicsContext3D::deleteTexture): 27734 (WebCore::GraphicsContext3D::activeTexture): 27735 (WebCore::GraphicsContext3D::bindAttribLocation): 27736 (WebCore::GraphicsContext3D::bindBuffer): 27737 (WebCore::GraphicsContext3D::bindTexture): 27738 (WebCore::GraphicsContext3D::bufferData): 27739 (WebCore::GraphicsContext3D::bufferSubData): 27740 (WebCore::GraphicsContext3D::checkFramebufferStatus): 27741 (WebCore::GraphicsContext3D::detachShader): 27742 (WebCore::GraphicsContext3D::disableVertexAttribArray): 27743 (WebCore::GraphicsContext3D::drawArrays): 27744 (WebCore::GraphicsContext3D::drawElements): 27745 (WebCore::GraphicsContext3D::enableVertexAttribArray): 27746 (WebCore::GraphicsContext3D::generateMipmap): 27747 (WebCore::GraphicsContext3D::getActiveAttrib): 27748 (WebCore::GraphicsContext3D::getActiveUniform): 27749 (WebCore::GraphicsContext3D::getAttribLocation): 27750 (WebCore::GraphicsContext3D::getBoolean): 27751 (WebCore::GraphicsContext3D::getBooleanv): 27752 (WebCore::GraphicsContext3D::getBufferParameteri): 27753 (WebCore::GraphicsContext3D::getBufferParameteriv): 27754 (WebCore::GraphicsContext3D::getError): 27755 (WebCore::GraphicsContext3D::getFloat): 27756 (WebCore::GraphicsContext3D::getFloatv): 27757 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteri): 27758 (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv): 27759 (WebCore::GraphicsContext3D::getInteger): 27760 (WebCore::GraphicsContext3D::getIntegerv): 27761 (WebCore::GraphicsContext3D::getProgrami): 27762 (WebCore::GraphicsContext3D::getProgramiv): 27763 (WebCore::GraphicsContext3D::getProgramInfoLog): 27764 (WebCore::GraphicsContext3D::getRenderbufferParameteri): 27765 (WebCore::GraphicsContext3D::getRenderbufferParameteriv): 27766 (WebCore::GraphicsContext3D::getShaderi): 27767 (WebCore::GraphicsContext3D::getShaderiv): 27768 (WebCore::GraphicsContext3D::getShaderInfoLog): 27769 (WebCore::GraphicsContext3D::getShaderSource): 27770 (WebCore::GraphicsContext3D::getString): 27771 (WebCore::GraphicsContext3D::getTexParameterf): 27772 (WebCore::GraphicsContext3D::getTexParameterfv): 27773 (WebCore::GraphicsContext3D::getTexParameteri): 27774 (WebCore::GraphicsContext3D::getTexParameteriv): 27775 (WebCore::GraphicsContext3D::getUniformf): 27776 (WebCore::GraphicsContext3D::getUniformfv): 27777 (WebCore::GraphicsContext3D::getUniformi): 27778 (WebCore::GraphicsContext3D::getUniformiv): 27779 (WebCore::GraphicsContext3D::getUniformLocation): 27780 (WebCore::GraphicsContext3D::getVertexAttribf): 27781 (WebCore::GraphicsContext3D::getVertexAttribfv): 27782 (WebCore::GraphicsContext3D::getVertexAttribi): 27783 (WebCore::GraphicsContext3D::getVertexAttribiv): 27784 (WebCore::GraphicsContext3D::getVertexAttribOffset): 27785 (WebCore::GraphicsContext3D::isBuffer): 27786 (WebCore::GraphicsContext3D::isEnabled): 27787 (WebCore::GraphicsContext3D::isFramebuffer): 27788 (WebCore::GraphicsContext3D::isProgram): 27789 (WebCore::GraphicsContext3D::isRenderbuffer): 27790 (WebCore::GraphicsContext3D::isShader): 27791 (WebCore::GraphicsContext3D::isTexture): 27792 (WebCore::GraphicsContext3D::pixelStorei): 27793 (WebCore::GraphicsContext3D::readPixels): 27794 (WebCore::GraphicsContext3D::releaseShaderCompiler): 27795 (WebCore::GraphicsContext3D::shaderSource): 27796 (WebCore::GraphicsContext3D::texImage2D): 27797 (WebCore::unmultiplyAlpha): 27798 (WebCore::texImage2DHelper): 27799 (WebCore::GraphicsContext3D::texSubImage2D): 27800 (WebCore::GraphicsContext3D::uniform1fv): 27801 (WebCore::GraphicsContext3D::uniform1iv): 27802 (WebCore::GraphicsContext3D::uniform2fv): 27803 (WebCore::GraphicsContext3D::uniform2iv): 27804 (WebCore::GraphicsContext3D::uniform3fv): 27805 (WebCore::GraphicsContext3D::uniform3iv): 27806 (WebCore::GraphicsContext3D::uniform4fv): 27807 (WebCore::GraphicsContext3D::uniform4iv): 27808 (WebCore::GraphicsContext3D::uniformMatrix2fv): 27809 (WebCore::GraphicsContext3D::uniformMatrix3fv): 27810 (WebCore::GraphicsContext3D::uniformMatrix4fv): 27811 (WebCore::GraphicsContext3D::vertexAttrib1fv): 27812 (WebCore::GraphicsContext3D::vertexAttrib2fv): 27813 (WebCore::GraphicsContext3D::vertexAttrib3fv): 27814 (WebCore::GraphicsContext3D::vertexAttrib4fv): 27815 (WebCore::GraphicsContext3D::vertexAttribPointer): 27816 (WebCore::GraphicsContext3D::viewport): 27817 * src/InspectorClientImpl.cpp: Added. 27818 (WebKit::InspectorClientImpl::InspectorClientImpl): 27819 (WebKit::InspectorClientImpl::~InspectorClientImpl): 27820 (WebKit::InspectorClientImpl::inspectorDestroyed): 27821 (WebKit::InspectorClientImpl::createPage): 27822 (WebKit::InspectorClientImpl::showWindow): 27823 (WebKit::InspectorClientImpl::closeWindow): 27824 (WebKit::InspectorClientImpl::windowVisible): 27825 (WebKit::InspectorClientImpl::attachWindow): 27826 (WebKit::InspectorClientImpl::detachWindow): 27827 (WebKit::InspectorClientImpl::setAttachedWindowHeight): 27828 (WebKit::invalidateNodeBoundingRect): 27829 (WebKit::InspectorClientImpl::highlight): 27830 (WebKit::InspectorClientImpl::hideHighlight): 27831 (WebKit::InspectorClientImpl::inspectedURLChanged): 27832 (WebKit::InspectorClientImpl::localizedStringsURL): 27833 (WebKit::InspectorClientImpl::hiddenPanels): 27834 (WebKit::InspectorClientImpl::populateSetting): 27835 (WebKit::InspectorClientImpl::storeSetting): 27836 (WebKit::InspectorClientImpl::removeSetting): 27837 (WebKit::InspectorClientImpl::inspectorWindowObjectCleared): 27838 (WebKit::InspectorClientImpl::loadSettings): 27839 (WebKit::InspectorClientImpl::saveSettings): 27840 * src/InspectorClientImpl.h: Added. 27841 * src/LocalizedStrings.cpp: Added. 27842 (WebCore::query): 27843 (WebCore::searchableIndexIntroduction): 27844 (WebCore::submitButtonDefaultLabel): 27845 (WebCore::inputElementAltText): 27846 (WebCore::resetButtonDefaultLabel): 27847 (WebCore::fileButtonChooseFileLabel): 27848 (WebCore::fileButtonNoFileSelectedLabel): 27849 (WebCore::searchMenuNoRecentSearchesText): 27850 (WebCore::searchMenuRecentSearchesText): 27851 (WebCore::searchMenuClearRecentSearchesText): 27852 (WebCore::AXWebAreaText): 27853 (WebCore::AXLinkText): 27854 (WebCore::AXListMarkerText): 27855 (WebCore::AXImageMapText): 27856 (WebCore::AXHeadingText): 27857 (WebCore::AXDefinitionListTermText): 27858 (WebCore::AXDefinitionListDefinitionText): 27859 (WebCore::AXButtonActionVerb): 27860 (WebCore::AXRadioButtonActionVerb): 27861 (WebCore::AXTextFieldActionVerb): 27862 (WebCore::AXCheckedCheckBoxActionVerb): 27863 (WebCore::AXUncheckedCheckBoxActionVerb): 27864 (WebCore::AXLinkActionVerb): 27865 (WebCore::multipleFileUploadText): 27866 (WebCore::unknownFileSizeText): 27867 (WebCore::keygenMenuHighGradeKeySize): 27868 (WebCore::keygenMenuMediumGradeKeySize): 27869 (WebCore::imageTitle): 27870 (WebCore::contextMenuItemTagOpenLinkInNewWindow): 27871 (WebCore::contextMenuItemTagDownloadLinkToDisk): 27872 (WebCore::contextMenuItemTagCopyLinkToClipboard): 27873 (WebCore::contextMenuItemTagOpenImageInNewWindow): 27874 (WebCore::contextMenuItemTagDownloadImageToDisk): 27875 (WebCore::contextMenuItemTagCopyImageToClipboard): 27876 (WebCore::contextMenuItemTagOpenFrameInNewWindow): 27877 (WebCore::contextMenuItemTagCopy): 27878 (WebCore::contextMenuItemTagGoBack): 27879 (WebCore::contextMenuItemTagGoForward): 27880 (WebCore::contextMenuItemTagStop): 27881 (WebCore::contextMenuItemTagReload): 27882 (WebCore::contextMenuItemTagCut): 27883 (WebCore::contextMenuItemTagPaste): 27884 (WebCore::contextMenuItemTagNoGuessesFound): 27885 (WebCore::contextMenuItemTagIgnoreSpelling): 27886 (WebCore::contextMenuItemTagLearnSpelling): 27887 (WebCore::contextMenuItemTagSearchWeb): 27888 (WebCore::contextMenuItemTagLookUpInDictionary): 27889 (WebCore::contextMenuItemTagOpenLink): 27890 (WebCore::contextMenuItemTagIgnoreGrammar): 27891 (WebCore::contextMenuItemTagSpellingMenu): 27892 (WebCore::contextMenuItemTagCheckSpelling): 27893 (WebCore::contextMenuItemTagCheckSpellingWhileTyping): 27894 (WebCore::contextMenuItemTagCheckGrammarWithSpelling): 27895 (WebCore::contextMenuItemTagFontMenu): 27896 (WebCore::contextMenuItemTagBold): 27897 (WebCore::contextMenuItemTagItalic): 27898 (WebCore::contextMenuItemTagUnderline): 27899 (WebCore::contextMenuItemTagOutline): 27900 (WebCore::contextMenuItemTagWritingDirectionMenu): 27901 (WebCore::contextMenuItemTagTextDirectionMenu): 27902 (WebCore::contextMenuItemTagDefaultDirection): 27903 (WebCore::contextMenuItemTagLeftToRight): 27904 (WebCore::contextMenuItemTagRightToLeft): 27905 (WebCore::contextMenuItemTagInspectElement): 27906 (WebCore::contextMenuItemTagShowSpellingPanel): 27907 (WebCore::mediaElementLiveBroadcastStateText): 27908 (WebCore::mediaElementLoadingStateText): 27909 (WebCore::localizedMediaControlElementString): 27910 (WebCore::localizedMediaControlElementHelpText): 27911 (WebCore::localizedMediaTimeDescription): 27912 * src/MediaPlayerPrivateChromium.cpp: Added. 27913 (WebCore::MediaPlayerPrivate::registerMediaEngine): 27914 27915 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 27916 27917 Reviewed by Dimitri Glazkov. 27918 27919 Up-streaming Chromium API src files: DOMUtilities...FrameLoaderClientImpl 27920 27921 https://bugs.webkit.org/show_bug.cgi?id=31276 27922 27923 * src/DOMUtilitiesPrivate.cpp: Added. 27924 (WebCore::toHTMLElement): 27925 (WebKit::toHTMLInputElement): 27926 (WebKit::toHTMLLinkElement): 27927 (WebKit::toHTMLMetaElement): 27928 (WebKit::toHTMLOptionElement): 27929 (WebKit::nameOfInputElement): 27930 * src/DOMUtilitiesPrivate.h: Added. 27931 * src/DragClientImpl.cpp: Added. 27932 (WebKit::DragClientImpl::willPerformDragDestinationAction): 27933 (WebKit::DragClientImpl::willPerformDragSourceAction): 27934 (WebKit::DragClientImpl::actionMaskForDrag): 27935 (WebKit::DragClientImpl::dragSourceActionMaskForPoint): 27936 (WebKit::DragClientImpl::startDrag): 27937 (WebKit::DragClientImpl::createDragImageForLink): 27938 (WebKit::DragClientImpl::dragControllerDestroyed): 27939 * src/DragClientImpl.h: Added. 27940 (WebKit::DragClientImpl::DragClientImpl): 27941 * src/EditorClientImpl.cpp: Added. 27942 (WebKit::EditorClientImpl::EditorClientImpl): 27943 (WebKit::EditorClientImpl::~EditorClientImpl): 27944 (WebKit::EditorClientImpl::pageDestroyed): 27945 (WebKit::EditorClientImpl::shouldShowDeleteInterface): 27946 (WebKit::EditorClientImpl::smartInsertDeleteEnabled): 27947 (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled): 27948 (WebKit::EditorClientImpl::shouldSpellcheckByDefault): 27949 (WebKit::EditorClientImpl::isContinuousSpellCheckingEnabled): 27950 (WebKit::EditorClientImpl::toggleContinuousSpellChecking): 27951 (WebKit::EditorClientImpl::isGrammarCheckingEnabled): 27952 (WebKit::EditorClientImpl::toggleGrammarChecking): 27953 (WebKit::EditorClientImpl::spellCheckerDocumentTag): 27954 (WebKit::EditorClientImpl::isEditable): 27955 (WebKit::EditorClientImpl::shouldBeginEditing): 27956 (WebKit::EditorClientImpl::shouldEndEditing): 27957 (WebKit::EditorClientImpl::shouldInsertNode): 27958 (WebKit::EditorClientImpl::shouldInsertText): 27959 (WebKit::EditorClientImpl::shouldDeleteRange): 27960 (WebKit::EditorClientImpl::shouldChangeSelectedRange): 27961 (WebKit::EditorClientImpl::shouldApplyStyle): 27962 (WebKit::EditorClientImpl::shouldMoveRangeAfterDelete): 27963 (WebKit::EditorClientImpl::didBeginEditing): 27964 (WebKit::EditorClientImpl::respondToChangedSelection): 27965 (WebKit::EditorClientImpl::respondToChangedContents): 27966 (WebKit::EditorClientImpl::didEndEditing): 27967 (WebKit::EditorClientImpl::didWriteSelectionToPasteboard): 27968 (WebKit::EditorClientImpl::didSetSelectionTypesForPasteboard): 27969 (WebKit::EditorClientImpl::registerCommandForUndo): 27970 (WebKit::EditorClientImpl::registerCommandForRedo): 27971 (WebKit::EditorClientImpl::clearUndoRedoOperations): 27972 (WebKit::EditorClientImpl::canUndo): 27973 (WebKit::EditorClientImpl::canRedo): 27974 (WebKit::EditorClientImpl::undo): 27975 (WebKit::EditorClientImpl::redo): 27976 (WebKit::): 27977 (WebKit::EditorClientImpl::interpretKeyEvent): 27978 (WebKit::EditorClientImpl::handleEditingKeyboardEvent): 27979 (WebKit::EditorClientImpl::handleKeyboardEvent): 27980 (WebKit::EditorClientImpl::handleInputMethodKeydown): 27981 (WebKit::EditorClientImpl::textFieldDidBeginEditing): 27982 (WebKit::EditorClientImpl::textFieldDidEndEditing): 27983 (WebKit::EditorClientImpl::textDidChangeInTextField): 27984 (WebKit::EditorClientImpl::showFormAutofillForNode): 27985 (WebKit::EditorClientImpl::autofill): 27986 (WebKit::EditorClientImpl::doAutofill): 27987 (WebKit::EditorClientImpl::cancelPendingAutofill): 27988 (WebKit::EditorClientImpl::onAutofillSuggestionAccepted): 27989 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent): 27990 (WebKit::EditorClientImpl::textWillBeDeletedInTextField): 27991 (WebKit::EditorClientImpl::textDidChangeInTextArea): 27992 (WebKit::EditorClientImpl::ignoreWordInSpellDocument): 27993 (WebKit::EditorClientImpl::learnWord): 27994 (WebKit::EditorClientImpl::checkSpellingOfString): 27995 (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord): 27996 (WebKit::EditorClientImpl::checkGrammarOfString): 27997 (WebKit::EditorClientImpl::updateSpellingUIWithGrammarString): 27998 (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord): 27999 (WebKit::EditorClientImpl::showSpellingUI): 28000 (WebKit::EditorClientImpl::spellingUIIsShowing): 28001 (WebKit::EditorClientImpl::getGuessesForWord): 28002 (WebKit::EditorClientImpl::setInputMethodState): 28003 * src/EditorClientImpl.h: Added. 28004 (WebKit::EditorClientImpl::): 28005 * src/FrameLoaderClientImpl.cpp: Added. 28006 (WebKit::): 28007 (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl): 28008 (WebKit::FrameLoaderClientImpl::~FrameLoaderClientImpl): 28009 (WebKit::FrameLoaderClientImpl::frameLoaderDestroyed): 28010 (WebKit::FrameLoaderClientImpl::windowObjectCleared): 28011 (WebKit::FrameLoaderClientImpl::documentElementAvailable): 28012 (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame): 28013 (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame): 28014 (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext): 28015 (WebKit::FrameLoaderClientImpl::didPerformFirstNavigation): 28016 (WebKit::FrameLoaderClientImpl::registerForIconNotification): 28017 (WebKit::FrameLoaderClientImpl::didChangeScrollOffset): 28018 (WebKit::FrameLoaderClientImpl::allowJavaScript): 28019 (WebKit::FrameLoaderClientImpl::hasWebView): 28020 (WebKit::FrameLoaderClientImpl::hasFrameView): 28021 (WebKit::FrameLoaderClientImpl::makeDocumentView): 28022 (WebKit::FrameLoaderClientImpl::makeRepresentation): 28023 (WebKit::FrameLoaderClientImpl::forceLayout): 28024 (WebKit::FrameLoaderClientImpl::forceLayoutForNonHTML): 28025 (WebKit::FrameLoaderClientImpl::setCopiesOnScroll): 28026 (WebKit::FrameLoaderClientImpl::detachedFromParent2): 28027 (WebKit::FrameLoaderClientImpl::detachedFromParent3): 28028 (WebKit::FrameLoaderClientImpl::assignIdentifierToInitialRequest): 28029 (WebKit::determineTargetTypeFromLoader): 28030 (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest): 28031 (WebKit::FrameLoaderClientImpl::shouldUseCredentialStorage): 28032 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveAuthenticationChallenge): 28033 (WebKit::FrameLoaderClientImpl::dispatchDidCancelAuthenticationChallenge): 28034 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveResponse): 28035 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength): 28036 (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoading): 28037 (WebKit::FrameLoaderClientImpl::dispatchDidFailLoading): 28038 (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad): 28039 (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceFromMemoryCache): 28040 (WebKit::FrameLoaderClientImpl::dispatchDidLoadResourceByXMLHttpRequest): 28041 (WebKit::FrameLoaderClientImpl::dispatchDidHandleOnloadEvents): 28042 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveServerRedirectForProvisionalLoad): 28043 (WebKit::FrameLoaderClientImpl::dispatchDidCancelClientRedirect): 28044 (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect): 28045 (WebKit::FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage): 28046 (WebKit::FrameLoaderClientImpl::dispatchWillClose): 28047 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveIcon): 28048 (WebKit::FrameLoaderClientImpl::dispatchDidStartProvisionalLoad): 28049 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle): 28050 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad): 28051 (WebKit::FrameLoaderClientImpl::dispatchDidFailProvisionalLoad): 28052 (WebKit::FrameLoaderClientImpl::dispatchDidFailLoad): 28053 (WebKit::FrameLoaderClientImpl::dispatchDidFinishLoad): 28054 (WebKit::FrameLoaderClientImpl::dispatchDidFirstLayout): 28055 (WebKit::FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout): 28056 (WebKit::FrameLoaderClientImpl::dispatchCreatePage): 28057 (WebKit::FrameLoaderClientImpl::dispatchShow): 28058 (WebKit::shouldTreatAsAttachment): 28059 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForMIMEType): 28060 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction): 28061 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction): 28062 (WebKit::FrameLoaderClientImpl::cancelPolicyCheck): 28063 (WebKit::FrameLoaderClientImpl::dispatchUnableToImplementPolicy): 28064 (WebKit::FrameLoaderClientImpl::dispatchWillSubmitForm): 28065 (WebKit::FrameLoaderClientImpl::dispatchDidLoadMainResource): 28066 (WebKit::FrameLoaderClientImpl::revertToProvisionalState): 28067 (WebKit::FrameLoaderClientImpl::setMainDocumentError): 28068 (WebKit::FrameLoaderClientImpl::postProgressStartedNotification): 28069 (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification): 28070 (WebKit::FrameLoaderClientImpl::postProgressFinishedNotification): 28071 (WebKit::FrameLoaderClientImpl::setMainFrameDocumentReady): 28072 (WebKit::FrameLoaderClientImpl::startDownload): 28073 (WebKit::FrameLoaderClientImpl::willChangeTitle): 28074 (WebKit::FrameLoaderClientImpl::didChangeTitle): 28075 (WebKit::FrameLoaderClientImpl::committedLoad): 28076 (WebKit::FrameLoaderClientImpl::finishedLoading): 28077 (WebKit::FrameLoaderClientImpl::updateGlobalHistory): 28078 (WebKit::FrameLoaderClientImpl::updateGlobalHistoryRedirectLinks): 28079 (WebKit::FrameLoaderClientImpl::shouldGoToHistoryItem): 28080 (WebKit::FrameLoaderClientImpl::didDisplayInsecureContent): 28081 (WebKit::FrameLoaderClientImpl::didRunInsecureContent): 28082 (WebKit::FrameLoaderClientImpl::blockedError): 28083 (WebKit::FrameLoaderClientImpl::cancelledError): 28084 (WebKit::FrameLoaderClientImpl::cannotShowURLError): 28085 (WebKit::FrameLoaderClientImpl::interruptForPolicyChangeError): 28086 (WebKit::FrameLoaderClientImpl::cannotShowMIMETypeError): 28087 (WebKit::FrameLoaderClientImpl::fileDoesNotExistError): 28088 (WebKit::FrameLoaderClientImpl::pluginWillHandleLoadError): 28089 (WebKit::FrameLoaderClientImpl::shouldFallBack): 28090 (WebKit::FrameLoaderClientImpl::canHandleRequest): 28091 (WebKit::FrameLoaderClientImpl::canShowMIMEType): 28092 (WebKit::FrameLoaderClientImpl::representationExistsForURLScheme): 28093 (WebKit::FrameLoaderClientImpl::generatedMIMETypeForURLScheme): 28094 (WebKit::FrameLoaderClientImpl::frameLoadCompleted): 28095 (WebKit::FrameLoaderClientImpl::saveViewStateToItem): 28096 (WebKit::FrameLoaderClientImpl::restoreViewState): 28097 (WebKit::FrameLoaderClientImpl::provisionalLoadStarted): 28098 (WebKit::FrameLoaderClientImpl::didFinishLoad): 28099 (WebKit::FrameLoaderClientImpl::prepareForDataSourceReplacement): 28100 (WebKit::FrameLoaderClientImpl::createDocumentLoader): 28101 (WebKit::FrameLoaderClientImpl::setTitle): 28102 (WebKit::FrameLoaderClientImpl::userAgent): 28103 (WebKit::FrameLoaderClientImpl::savePlatformDataToCachedFrame): 28104 (WebKit::FrameLoaderClientImpl::transitionToCommittedFromCachedFrame): 28105 (WebKit::FrameLoaderClientImpl::transitionToCommittedForNewPage): 28106 (WebKit::FrameLoaderClientImpl::canCachePage): 28107 (WebKit::FrameLoaderClientImpl::download): 28108 (WebKit::FrameLoaderClientImpl::createFrame): 28109 (WebKit::FrameLoaderClientImpl::createPlugin): 28110 (WebKit::FrameLoaderClientImpl::redirectDataToPlugin): 28111 (WebKit::FrameLoaderClientImpl::createJavaAppletWidget): 28112 (WebKit::FrameLoaderClientImpl::objectContentType): 28113 (WebKit::FrameLoaderClientImpl::overrideMediaType): 28114 (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy): 28115 (WebKit::FrameLoaderClientImpl::handleBackForwardNavigation): 28116 (WebKit::FrameLoaderClientImpl::pluginLoadObserver): 28117 * src/FrameLoaderClientImpl.h: Added. 28118 (WebKit::FrameLoaderClientImpl::webFrame): 28119 (WebKit::FrameLoaderClientImpl::willChangeEstimatedProgress): 28120 (WebKit::FrameLoaderClientImpl::didChangeEstimatedProgress): 28121 28122 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 28123 28124 Reviewed by Dimitri Glazkov. 28125 28126 Up-streaming Chromium API src files: ChromeClientImpl...ContextMenuClientImpl 28127 28128 https://bugs.webkit.org/show_bug.cgi?id=31276 28129 28130 * src/ChromeClientImpl.cpp: Added. 28131 (WebKit::ChromeClientImpl::ChromeClientImpl): 28132 (WebKit::ChromeClientImpl::~ChromeClientImpl): 28133 (WebKit::ChromeClientImpl::chromeDestroyed): 28134 (WebKit::ChromeClientImpl::setWindowRect): 28135 (WebKit::ChromeClientImpl::windowRect): 28136 (WebKit::ChromeClientImpl::pageRect): 28137 (WebKit::ChromeClientImpl::scaleFactor): 28138 (WebKit::ChromeClientImpl::focus): 28139 (WebKit::ChromeClientImpl::unfocus): 28140 (WebKit::ChromeClientImpl::canTakeFocus): 28141 (WebKit::ChromeClientImpl::takeFocus): 28142 (WebKit::ChromeClientImpl::focusedNodeChanged): 28143 (WebKit::ChromeClientImpl::createWindow): 28144 (WebKit::currentEventShouldCauseBackgroundTab): 28145 (WebKit::ChromeClientImpl::show): 28146 (WebKit::ChromeClientImpl::canRunModal): 28147 (WebKit::ChromeClientImpl::runModal): 28148 (WebKit::ChromeClientImpl::setToolbarsVisible): 28149 (WebKit::ChromeClientImpl::toolbarsVisible): 28150 (WebKit::ChromeClientImpl::setStatusbarVisible): 28151 (WebKit::ChromeClientImpl::statusbarVisible): 28152 (WebKit::ChromeClientImpl::setScrollbarsVisible): 28153 (WebKit::ChromeClientImpl::scrollbarsVisible): 28154 (WebKit::ChromeClientImpl::setMenubarVisible): 28155 (WebKit::ChromeClientImpl::menubarVisible): 28156 (WebKit::ChromeClientImpl::setResizable): 28157 (WebKit::ChromeClientImpl::addMessageToConsole): 28158 (WebKit::ChromeClientImpl::canRunBeforeUnloadConfirmPanel): 28159 (WebKit::ChromeClientImpl::runBeforeUnloadConfirmPanel): 28160 (WebKit::ChromeClientImpl::closeWindowSoon): 28161 (WebKit::ChromeClientImpl::runJavaScriptAlert): 28162 (WebKit::ChromeClientImpl::runJavaScriptConfirm): 28163 (WebKit::ChromeClientImpl::runJavaScriptPrompt): 28164 (WebKit::ChromeClientImpl::setStatusbarText): 28165 (WebKit::ChromeClientImpl::shouldInterruptJavaScript): 28166 (WebKit::ChromeClientImpl::tabsToLinks): 28167 (WebKit::ChromeClientImpl::windowResizerRect): 28168 (WebKit::ChromeClientImpl::repaint): 28169 (WebKit::ChromeClientImpl::scroll): 28170 (WebKit::ChromeClientImpl::screenToWindow): 28171 (WebKit::ChromeClientImpl::windowToScreen): 28172 (WebKit::ChromeClientImpl::contentsSizeChanged): 28173 (WebKit::ChromeClientImpl::scrollbarsModeDidChange): 28174 (WebKit::ChromeClientImpl::mouseDidMoveOverElement): 28175 (WebKit::ChromeClientImpl::setToolTip): 28176 (WebKit::ChromeClientImpl::print): 28177 (WebKit::ChromeClientImpl::exceededDatabaseQuota): 28178 (WebKit::ChromeClientImpl::reachedMaxAppCacheSize): 28179 (WebKit::ChromeClientImpl::runOpenPanel): 28180 (WebKit::ChromeClientImpl::popupOpened): 28181 (WebKit::ChromeClientImpl::setCursor): 28182 (WebKit::ChromeClientImpl::setCursorForPlugin): 28183 (WebKit::ChromeClientImpl::formStateDidChange): 28184 (WebKit::ChromeClientImpl::getPopupMenuInfo): 28185 (WebKit::ChromeClientImpl::notificationPresenter): 28186 * src/ChromeClientImpl.h: Added. 28187 (WebKit::ChromeClientImpl::webView): 28188 (WebKit::ChromeClientImpl::platformPageClient): 28189 (WebKit::ChromeClientImpl::scrollRectIntoView): 28190 (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame): 28191 (WebKit::ChromeClientImpl::setCursor): 28192 (WebKit::ChromeClientImpl::createHTMLParserQuirks): 28193 * src/ChromiumBridge.cpp: Added. 28194 (WebCore::toChromeClientImpl): 28195 (WebCore::toWebWidgetClient): 28196 (WebCore::ChromiumBridge::clipboardIsFormatAvailable): 28197 (WebCore::ChromiumBridge::clipboardReadPlainText): 28198 (WebCore::ChromiumBridge::clipboardReadHTML): 28199 (WebCore::ChromiumBridge::clipboardWriteSelection): 28200 (WebCore::ChromiumBridge::clipboardWritePlainText): 28201 (WebCore::ChromiumBridge::clipboardWriteURL): 28202 (WebCore::ChromiumBridge::clipboardWriteImage): 28203 (WebCore::ChromiumBridge::setCookies): 28204 (WebCore::ChromiumBridge::cookies): 28205 (WebCore::ChromiumBridge::rawCookies): 28206 (WebCore::ChromiumBridge::deleteCookie): 28207 (WebCore::ChromiumBridge::prefetchDNS): 28208 (WebCore::ChromiumBridge::fileExists): 28209 (WebCore::ChromiumBridge::deleteFile): 28210 (WebCore::ChromiumBridge::deleteEmptyDirectory): 28211 (WebCore::ChromiumBridge::getFileSize): 28212 (WebCore::ChromiumBridge::getFileModificationTime): 28213 (WebCore::ChromiumBridge::directoryName): 28214 (WebCore::ChromiumBridge::pathByAppendingComponent): 28215 (WebCore::ChromiumBridge::makeAllDirectories): 28216 (WebCore::ChromiumBridge::getAbsolutePath): 28217 (WebCore::ChromiumBridge::isDirectory): 28218 (WebCore::ChromiumBridge::filePathToURL): 28219 (WebCore::ChromiumBridge::ensureFontLoaded): 28220 (WebCore::ChromiumBridge::getFontFamilyForCharacters): 28221 (WebCore::ChromiumBridge::databaseOpenFile): 28222 (WebCore::ChromiumBridge::databaseDeleteFile): 28223 (WebCore::ChromiumBridge::databaseGetFileAttributes): 28224 (WebCore::ChromiumBridge::databaseGetFileSize): 28225 (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString): 28226 (WebCore::ChromiumBridge::computedDefaultLanguage): 28227 (WebCore::ChromiumBridge::layoutTestMode): 28228 (WebCore::ChromiumBridge::isSupportedImageMIMEType): 28229 (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType): 28230 (WebCore::ChromiumBridge::isSupportedNonImageMIMEType): 28231 (WebCore::ChromiumBridge::mimeTypeForExtension): 28232 (WebCore::ChromiumBridge::mimeTypeFromFile): 28233 (WebCore::ChromiumBridge::preferredExtensionForMIMEType): 28234 (WebCore::ChromiumBridge::plugins): 28235 (WebCore::ChromiumBridge::pluginScriptableObject): 28236 (WebCore::ChromiumBridge::loadPlatformImageResource): 28237 (WebCore::ChromiumBridge::sandboxEnabled): 28238 (WebCore::ChromiumBridge::setSharedTimerFiredFunction): 28239 (WebCore::ChromiumBridge::setSharedTimerFireTime): 28240 (WebCore::ChromiumBridge::stopSharedTimer): 28241 (WebCore::ChromiumBridge::decrementStatsCounter): 28242 (WebCore::ChromiumBridge::incrementStatsCounter): 28243 (WebCore::ChromiumBridge::suddenTerminationChanged): 28244 (WebCore::ChromiumBridge::currentTime): 28245 (WebCore::ChromiumBridge::paintButton): 28246 (WebCore::ChromiumBridge::paintMenuList): 28247 (WebCore::ChromiumBridge::paintScrollbarArrow): 28248 (WebCore::ChromiumBridge::paintScrollbarThumb): 28249 (WebCore::ChromiumBridge::paintScrollbarTrack): 28250 (WebCore::ChromiumBridge::paintTextField): 28251 (WebCore::ChromiumBridge::paintTrackbar): 28252 (WebCore::ChromiumBridge::traceEventBegin): 28253 (WebCore::ChromiumBridge::traceEventEnd): 28254 (WebCore::ChromiumBridge::visitedLinkHash): 28255 (WebCore::ChromiumBridge::isLinkVisited): 28256 (WebCore::ChromiumBridge::notifyJSOutOfMemory): 28257 (WebCore::ChromiumBridge::memoryUsageMB): 28258 (WebCore::ChromiumBridge::screenDepth): 28259 (WebCore::ChromiumBridge::screenDepthPerComponent): 28260 (WebCore::ChromiumBridge::screenIsMonochrome): 28261 (WebCore::ChromiumBridge::screenRect): 28262 (WebCore::ChromiumBridge::screenAvailableRect): 28263 (WebCore::ChromiumBridge::popupsAllowed): 28264 (WebCore::ChromiumBridge::widgetSetCursor): 28265 (WebCore::ChromiumBridge::widgetSetFocus): 28266 (WebCore::WorkerContextProxy::create): 28267 * src/ChromiumCurrentTime.cpp: Added. 28268 (WTF::currentTime): 28269 * src/ChromiumThreading.cpp: Added. 28270 (WTF::ChromiumThreading::initializeMainThread): 28271 (WTF::ChromiumThreading::scheduleDispatchFunctionsOnMainThread): 28272 * src/ContextMenuClientImpl.cpp: Added. 28273 (WebKit::urlFromFrame): 28274 (WebKit::isASingleWord): 28275 (WebKit::selectMisspelledWord): 28276 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): 28277 * src/ContextMenuClientImpl.h: Added. 28278 (WebKit::ContextMenuClientImpl::ContextMenuClientImpl): 28279 (WebKit::ContextMenuClientImpl::~ContextMenuClientImpl): 28280 (WebKit::ContextMenuClientImpl::copyImageToClipboard): 28281 (WebKit::ContextMenuClientImpl::contextMenuDestroyed): 28282 (WebKit::ContextMenuClientImpl::contextMenuItemSelected): 28283 (WebKit::ContextMenuClientImpl::downloadURL): 28284 (WebKit::ContextMenuClientImpl::isSpeaking): 28285 (WebKit::ContextMenuClientImpl::lookUpInDictionary): 28286 (WebKit::ContextMenuClientImpl::searchWithGoogle): 28287 (WebKit::ContextMenuClientImpl::shouldIncludeInspectElementItem): 28288 (WebKit::ContextMenuClientImpl::speak): 28289 (WebKit::ContextMenuClientImpl::stopSpeaking): 28290 28291 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 28292 28293 Reviewed by Dimitri Glazkov. 28294 28295 Up-streaming Chromium API src files: AppCach...BackForwardListClientImpl 28296 28297 https://bugs.webkit.org/show_bug.cgi?id=31276 28298 28299 * src/ApplicationCacheHost.cpp: Added. 28300 (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal): 28301 (WebCore::ApplicationCacheHostInternal::notifyEventListener): 28302 (WebCore::ApplicationCacheHost::ApplicationCacheHost): 28303 (WebCore::ApplicationCacheHost::~ApplicationCacheHost): 28304 (WebCore::ApplicationCacheHost::maybeLoadMainResource): 28305 (WebCore::ApplicationCacheHost::selectCacheWithoutManifest): 28306 (WebCore::ApplicationCacheHost::selectCacheWithManifest): 28307 (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainResponse): 28308 (WebCore::ApplicationCacheHost::maybeLoadFallbackForMainError): 28309 (WebCore::ApplicationCacheHost::mainResourceDataReceived): 28310 (WebCore::ApplicationCacheHost::failedLoadingMainResource): 28311 (WebCore::ApplicationCacheHost::finishedLoadingMainResource): 28312 (WebCore::ApplicationCacheHost::maybeLoadResource): 28313 (WebCore::ApplicationCacheHost::maybeLoadFallbackForRedirect): 28314 (WebCore::ApplicationCacheHost::maybeLoadFallbackForResponse): 28315 (WebCore::ApplicationCacheHost::maybeLoadFallbackForError): 28316 (WebCore::ApplicationCacheHost::maybeLoadSynchronously): 28317 (WebCore::ApplicationCacheHost::maybeLoadFallbackSynchronously): 28318 (WebCore::ApplicationCacheHost::canCacheInPageCache): 28319 (WebCore::ApplicationCacheHost::setDOMApplicationCache): 28320 (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): 28321 (WebCore::ApplicationCacheHost::status): 28322 (WebCore::ApplicationCacheHost::update): 28323 (WebCore::ApplicationCacheHost::swapCache): 28324 (WebCore::ApplicationCacheHost::isApplicationCacheEnabled): 28325 * src/AssertMatchingEnums.cpp: Added. 28326 * src/AutocompletePopupMenuClient.cpp: Added. 28327 (WebKit::AutocompletePopupMenuClient::AutocompletePopupMenuClient): 28328 (WebKit::AutocompletePopupMenuClient::~AutocompletePopupMenuClient): 28329 (WebKit::AutocompletePopupMenuClient::initialize): 28330 (WebKit::AutocompletePopupMenuClient::valueChanged): 28331 (WebKit::AutocompletePopupMenuClient::itemText): 28332 (WebKit::AutocompletePopupMenuClient::itemStyle): 28333 (WebKit::AutocompletePopupMenuClient::menuStyle): 28334 (WebKit::AutocompletePopupMenuClient::clientPaddingLeft): 28335 (WebKit::AutocompletePopupMenuClient::clientPaddingRight): 28336 (WebKit::AutocompletePopupMenuClient::popupDidHide): 28337 (WebKit::AutocompletePopupMenuClient::setTextFromItem): 28338 (WebKit::AutocompletePopupMenuClient::fontSelector): 28339 (WebKit::AutocompletePopupMenuClient::hostWindow): 28340 (WebKit::AutocompletePopupMenuClient::createScrollbar): 28341 (WebKit::AutocompletePopupMenuClient::setSuggestions): 28342 (WebKit::AutocompletePopupMenuClient::removeItemAtIndex): 28343 (WebKit::AutocompletePopupMenuClient::textFieldStyle): 28344 * src/AutocompletePopupMenuClient.h: Added. 28345 (WebKit::AutocompletePopupMenuClient::textField): 28346 (WebKit::AutocompletePopupMenuClient::itemToolTip): 28347 (WebKit::AutocompletePopupMenuClient::itemIsEnabled): 28348 (WebKit::AutocompletePopupMenuClient::clientInsetLeft): 28349 (WebKit::AutocompletePopupMenuClient::clientInsetRight): 28350 (WebKit::AutocompletePopupMenuClient::listSize): 28351 (WebKit::AutocompletePopupMenuClient::selectedIndex): 28352 (WebKit::AutocompletePopupMenuClient::itemIsSeparator): 28353 (WebKit::AutocompletePopupMenuClient::itemIsLabel): 28354 (WebKit::AutocompletePopupMenuClient::itemIsSelected): 28355 (WebKit::AutocompletePopupMenuClient::shouldPopOver): 28356 (WebKit::AutocompletePopupMenuClient::valueShouldChangeOnHotTrack): 28357 * src/BackForwardListClientImpl.cpp: Added. 28358 (WebKit::BackForwardListClientImpl::BackForwardListClientImpl): 28359 (WebKit::BackForwardListClientImpl::~BackForwardListClientImpl): 28360 (WebKit::BackForwardListClientImpl::setCurrentHistoryItem): 28361 (WebKit::BackForwardListClientImpl::previousHistoryItem): 28362 (WebKit::BackForwardListClientImpl::addItem): 28363 (WebKit::BackForwardListClientImpl::goToItem): 28364 (WebKit::BackForwardListClientImpl::currentItem): 28365 (WebKit::BackForwardListClientImpl::itemAtIndex): 28366 (WebKit::BackForwardListClientImpl::backListCount): 28367 (WebKit::BackForwardListClientImpl::forwardListCount): 28368 (WebKit::BackForwardListClientImpl::close): 28369 * src/BackForwardListClientImpl.h: Added. 28370 28371 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 28372 28373 Reviewed by Dimitri Glazkov. 28374 28375 Up-streaming Chromium API src files: WebString...WebViewImpl 28376 28377 https://bugs.webkit.org/show_bug.cgi?id=31276 28378 28379 * src/WebString.cpp: Added. 28380 (WebKit::WebString::reset): 28381 (WebKit::WebString::assign): 28382 (WebKit::WebString::length): 28383 (WebKit::WebString::data): 28384 (WebKit::WebString::utf8): 28385 (WebKit::WebString::fromUTF8): 28386 (WebKit::WebString::WebString): 28387 (WebKit::WebString::operator=): 28388 (WebKit::WebString::operator WebCore::String): 28389 (WebKit::WebString::operator WebCore::AtomicString): 28390 * src/WebURL.cpp: Added. 28391 (WebKit::WebURL::WebURL): 28392 (WebKit::WebURL::operator=): 28393 (WebKit::WebURL::operator WebCore::KURL): 28394 * src/WebURLError.cpp: Added. 28395 (WebKit::WebURLError::WebURLError): 28396 (WebKit::WebURLError::operator=): 28397 (WebKit::WebURLError::operator ResourceError): 28398 * src/WebURLRequest.cpp: Added. 28399 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl): 28400 (WebKit::WebURLRequestPrivateImpl::dispose): 28401 (WebKit::WebURLRequest::initialize): 28402 (WebKit::WebURLRequest::reset): 28403 (WebKit::WebURLRequest::assign): 28404 (WebKit::WebURLRequest::isNull): 28405 (WebKit::WebURLRequest::url): 28406 (WebKit::WebURLRequest::setURL): 28407 (WebKit::WebURLRequest::firstPartyForCookies): 28408 (WebKit::WebURLRequest::setFirstPartyForCookies): 28409 (WebKit::WebURLRequest::allowCookies): 28410 (WebKit::WebURLRequest::setAllowCookies): 28411 (WebKit::WebURLRequest::allowStoredCredentials): 28412 (WebKit::WebURLRequest::setAllowStoredCredentials): 28413 (WebKit::WebURLRequest::cachePolicy): 28414 (WebKit::WebURLRequest::setCachePolicy): 28415 (WebKit::WebURLRequest::httpMethod): 28416 (WebKit::WebURLRequest::setHTTPMethod): 28417 (WebKit::WebURLRequest::httpHeaderField): 28418 (WebKit::WebURLRequest::setHTTPHeaderField): 28419 (WebKit::WebURLRequest::addHTTPHeaderField): 28420 (WebKit::WebURLRequest::clearHTTPHeaderField): 28421 (WebKit::WebURLRequest::visitHTTPHeaderFields): 28422 (WebKit::WebURLRequest::httpBody): 28423 (WebKit::WebURLRequest::setHTTPBody): 28424 (WebKit::WebURLRequest::reportUploadProgress): 28425 (WebKit::WebURLRequest::setReportUploadProgress): 28426 (WebKit::WebURLRequest::targetType): 28427 (WebKit::WebURLRequest::setTargetType): 28428 (WebKit::WebURLRequest::requestorID): 28429 (WebKit::WebURLRequest::setRequestorID): 28430 (WebKit::WebURLRequest::requestorProcessID): 28431 (WebKit::WebURLRequest::setRequestorProcessID): 28432 (WebKit::WebURLRequest::appCacheHostID): 28433 (WebKit::WebURLRequest::setAppCacheHostID): 28434 (WebKit::WebURLRequest::toMutableResourceRequest): 28435 (WebKit::WebURLRequest::toResourceRequest): 28436 * src/WebURLRequestPrivate.h: Added. 28437 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate): 28438 * src/WebURLResponse.cpp: Added. 28439 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl): 28440 (WebKit::WebURLResponsePrivateImpl::dispose): 28441 (WebKit::WebURLResponse::initialize): 28442 (WebKit::WebURLResponse::reset): 28443 (WebKit::WebURLResponse::assign): 28444 (WebKit::WebURLResponse::isNull): 28445 (WebKit::WebURLResponse::url): 28446 (WebKit::WebURLResponse::setURL): 28447 (WebKit::WebURLResponse::mimeType): 28448 (WebKit::WebURLResponse::setMIMEType): 28449 (WebKit::WebURLResponse::expectedContentLength): 28450 (WebKit::WebURLResponse::setExpectedContentLength): 28451 (WebKit::WebURLResponse::textEncodingName): 28452 (WebKit::WebURLResponse::setTextEncodingName): 28453 (WebKit::WebURLResponse::suggestedFileName): 28454 (WebKit::WebURLResponse::setSuggestedFileName): 28455 (WebKit::WebURLResponse::httpStatusCode): 28456 (WebKit::WebURLResponse::setHTTPStatusCode): 28457 (WebKit::WebURLResponse::httpStatusText): 28458 (WebKit::WebURLResponse::setHTTPStatusText): 28459 (WebKit::WebURLResponse::httpHeaderField): 28460 (WebKit::WebURLResponse::setHTTPHeaderField): 28461 (WebKit::WebURLResponse::addHTTPHeaderField): 28462 (WebKit::WebURLResponse::clearHTTPHeaderField): 28463 (WebKit::WebURLResponse::visitHTTPHeaderFields): 28464 (WebKit::WebURLResponse::lastModifiedDate): 28465 (WebKit::WebURLResponse::setLastModifiedDate): 28466 (WebKit::WebURLResponse::isContentFiltered): 28467 (WebKit::WebURLResponse::setIsContentFiltered): 28468 (WebKit::WebURLResponse::appCacheID): 28469 (WebKit::WebURLResponse::setAppCacheID): 28470 (WebKit::WebURLResponse::appCacheManifestURL): 28471 (WebKit::WebURLResponse::setAppCacheManifestURL): 28472 (WebKit::WebURLResponse::securityInfo): 28473 (WebKit::WebURLResponse::setSecurityInfo): 28474 (WebKit::WebURLResponse::toMutableResourceResponse): 28475 (WebKit::WebURLResponse::toResourceResponse): 28476 * src/WebURLResponsePrivate.h: Added. 28477 (WebKit::WebURLResponsePrivate::WebURLResponsePrivate): 28478 * src/WebViewImpl.cpp: Added. 28479 (WebKit::): 28480 (WebKit::WebView::create): 28481 (WebKit::WebView::updateVisitedLinkState): 28482 (WebKit::WebView::resetVisitedLinkState): 28483 (WebKit::WebViewImpl::initializeMainFrame): 28484 (WebKit::WebViewImpl::WebViewImpl): 28485 (WebKit::WebViewImpl::~WebViewImpl): 28486 (WebKit::WebViewImpl::theme): 28487 (WebKit::WebViewImpl::mainFrameImpl): 28488 (WebKit::WebViewImpl::tabKeyCyclesThroughElements): 28489 (WebKit::WebViewImpl::setTabKeyCyclesThroughElements): 28490 (WebKit::WebViewImpl::mouseMove): 28491 (WebKit::WebViewImpl::mouseLeave): 28492 (WebKit::WebViewImpl::mouseDown): 28493 (WebKit::WebViewImpl::mouseContextMenu): 28494 (WebKit::WebViewImpl::mouseUp): 28495 (WebKit::WebViewImpl::mouseWheel): 28496 (WebKit::WebViewImpl::keyEvent): 28497 (WebKit::WebViewImpl::autocompleteHandleKeyEvent): 28498 (WebKit::WebViewImpl::charEvent): 28499 (WebKit::WebViewImpl::sendContextMenuEvent): 28500 (WebKit::WebViewImpl::keyEventDefault): 28501 (WebKit::WebViewImpl::scrollViewWithKeyboard): 28502 (WebKit::WebViewImpl::propagateScroll): 28503 (WebKit::WebViewImpl::focusedWebCoreFrame): 28504 (WebKit::WebViewImpl::fromPage): 28505 (WebKit::WebViewImpl::close): 28506 (WebKit::WebViewImpl::resize): 28507 (WebKit::WebViewImpl::layout): 28508 (WebKit::WebViewImpl::paint): 28509 (WebKit::WebViewImpl::handleInputEvent): 28510 (WebKit::WebViewImpl::mouseCaptureLost): 28511 (WebKit::WebViewImpl::setFocus): 28512 (WebKit::WebViewImpl::handleCompositionEvent): 28513 (WebKit::WebViewImpl::queryCompositionStatus): 28514 (WebKit::WebViewImpl::setTextDirection): 28515 (WebKit::WebViewImpl::settings): 28516 (WebKit::WebViewImpl::pageEncoding): 28517 (WebKit::WebViewImpl::setPageEncoding): 28518 (WebKit::WebViewImpl::dispatchBeforeUnloadEvent): 28519 (WebKit::WebViewImpl::dispatchUnloadEvent): 28520 (WebKit::WebViewImpl::mainFrame): 28521 (WebKit::WebViewImpl::findFrameByName): 28522 (WebKit::WebViewImpl::focusedFrame): 28523 (WebKit::WebViewImpl::setFocusedFrame): 28524 (WebKit::WebViewImpl::setInitialFocus): 28525 (WebKit::WebViewImpl::clearFocusedNode): 28526 (WebKit::WebViewImpl::zoomIn): 28527 (WebKit::WebViewImpl::zoomOut): 28528 (WebKit::WebViewImpl::zoomDefault): 28529 (WebKit::WebViewImpl::performMediaPlayerAction): 28530 (WebKit::WebViewImpl::copyImageAt): 28531 (WebKit::WebViewImpl::dragSourceEndedAt): 28532 (WebKit::WebViewImpl::dragSourceMovedTo): 28533 (WebKit::WebViewImpl::dragSourceSystemDragEnded): 28534 (WebKit::WebViewImpl::dragTargetDragEnter): 28535 (WebKit::WebViewImpl::dragTargetDragOver): 28536 (WebKit::WebViewImpl::dragTargetDragLeave): 28537 (WebKit::WebViewImpl::dragTargetDrop): 28538 (WebKit::WebViewImpl::dragIdentity): 28539 (WebKit::WebViewImpl::inspectElementAt): 28540 (WebKit::WebViewImpl::inspectorSettings): 28541 (WebKit::WebViewImpl::setInspectorSettings): 28542 (WebKit::WebViewImpl::devToolsAgent): 28543 (WebKit::WebViewImpl::setDevToolsAgent): 28544 (WebKit::WebViewImpl::accessibilityObject): 28545 (WebKit::WebViewImpl::applyAutofillSuggestions): 28546 (WebKit::WebViewImpl::hideAutofillPopup): 28547 (WebKit::WebViewImpl::setDropEffect): 28548 (WebKit::WebViewImpl::setIsTransparent): 28549 (WebKit::WebViewImpl::isTransparent): 28550 (WebKit::WebViewImpl::setIsActive): 28551 (WebKit::WebViewImpl::isActive): 28552 (WebKit::WebViewImpl::didCommitLoad): 28553 (WebKit::WebViewImpl::navigationPolicyFromMouseEvent): 28554 (WebKit::WebViewImpl::startDragging): 28555 (WebKit::WebViewImpl::setCurrentHistoryItem): 28556 (WebKit::WebViewImpl::previousHistoryItem): 28557 (WebKit::WebViewImpl::observeNewNavigation): 28558 (WebKit::WebViewImpl::hideAutoCompletePopup): 28559 (WebKit::WebViewImpl::autoCompletePopupDidHide): 28560 (WebKit::WebViewImpl::setIgnoreInputEvents): 28561 (WebKit::WebViewImpl::notificationPresenterImpl): 28562 (WebKit::WebViewImpl::refreshAutofillPopup): 28563 (WebKit::WebViewImpl::focusedWebCoreNode): 28564 (WebKit::WebViewImpl::hitTestResultForWindowPos): 28565 (WebKit::WebViewImpl::setTabsToLinks): 28566 (WebKit::WebViewImpl::tabsToLinks): 28567 * src/WebViewImpl.h: Added. 28568 (WebKit::WebViewImpl::size): 28569 (WebKit::WebViewImpl::devToolsAgentPrivate): 28570 (WebKit::WebViewImpl::lastMouseDownPoint): 28571 (WebKit::WebViewImpl::client): 28572 (WebKit::WebViewImpl::page): 28573 (WebKit::WebViewImpl::contextMenuAllowed): 28574 (WebKit::WebViewImpl::setInitialNavigationPolicy): 28575 (WebKit::WebViewImpl::initialNavigationPolicy): 28576 (WebKit::WebViewImpl::currentInputEvent): 28577 (WebKit::WebViewImpl::): 28578 28579 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 28580 28581 Reviewed by Dimitri Glazkov. 28582 28583 Up-streaming Chromium API src files: WebScriptController...WebStorageNamespaceImpl 28584 28585 https://bugs.webkit.org/show_bug.cgi?id=31276 28586 28587 * src/WebScriptController.cpp: Added. 28588 (WebKit::WebScriptController::registerExtension): 28589 (WebKit::WebScriptController::enableV8SingleThreadMode): 28590 (WebKit::WebScriptController::flushConsoleMessages): 28591 * src/WebSearchableFormData.cpp: Added. 28592 (WebCore::GetFormEncoding): 28593 (WebCore::IsHTTPFormSubmit): 28594 (WebCore::GetButtonToActivate): 28595 (WebCore::IsSelectInDefaultState): 28596 (WebCore::IsInDefaultState): 28597 (WebCore::HasSuitableTextElement): 28598 (WebKit::WebSearchableFormData::WebSearchableFormData): 28599 * src/WebSecurityOrigin.cpp: Added. 28600 (WebKit::WebSecurityOrigin::reset): 28601 (WebKit::WebSecurityOrigin::assign): 28602 (WebKit::WebSecurityOrigin::protocol): 28603 (WebKit::WebSecurityOrigin::host): 28604 (WebKit::WebSecurityOrigin::port): 28605 (WebKit::WebSecurityOrigin::isEmpty): 28606 (WebKit::WebSecurityOrigin::toString): 28607 (WebKit::WebSecurityOrigin::databaseIdentifier): 28608 (WebKit::WebSecurityOrigin::WebSecurityOrigin): 28609 (WebKit::WebSecurityOrigin::operator=): 28610 (WebKit::WebSecurityOrigin::operator WTF::PassRefPtr<WebCore::SecurityOrigin>): 28611 * src/WebSecurityPolicy.cpp: Added. 28612 (WebKit::WebSecurityPolicy::registerURLSchemeAsLocal): 28613 (WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess): 28614 (WebKit::WebSecurityPolicy::whiteListAccessFromOrigin): 28615 (WebKit::WebSecurityPolicy::resetOriginAccessWhiteLists): 28616 * src/WebSettingsImpl.cpp: Added. 28617 (WebKit::WebSettingsImpl::WebSettingsImpl): 28618 (WebKit::WebSettingsImpl::setStandardFontFamily): 28619 (WebKit::WebSettingsImpl::setFixedFontFamily): 28620 (WebKit::WebSettingsImpl::setSerifFontFamily): 28621 (WebKit::WebSettingsImpl::setSansSerifFontFamily): 28622 (WebKit::WebSettingsImpl::setCursiveFontFamily): 28623 (WebKit::WebSettingsImpl::setFantasyFontFamily): 28624 (WebKit::WebSettingsImpl::setDefaultFontSize): 28625 (WebKit::WebSettingsImpl::setDefaultFixedFontSize): 28626 (WebKit::WebSettingsImpl::setMinimumFontSize): 28627 (WebKit::WebSettingsImpl::setMinimumLogicalFontSize): 28628 (WebKit::WebSettingsImpl::setDefaultTextEncodingName): 28629 (WebKit::WebSettingsImpl::setJavaScriptEnabled): 28630 (WebKit::WebSettingsImpl::setWebSecurityEnabled): 28631 (WebKit::WebSettingsImpl::setJavaScriptCanOpenWindowsAutomatically): 28632 (WebKit::WebSettingsImpl::setLoadsImagesAutomatically): 28633 (WebKit::WebSettingsImpl::setPluginsEnabled): 28634 (WebKit::WebSettingsImpl::setDOMPasteAllowed): 28635 (WebKit::WebSettingsImpl::setDeveloperExtrasEnabled): 28636 (WebKit::WebSettingsImpl::setShrinksStandaloneImagesToFit): 28637 (WebKit::WebSettingsImpl::setUsesEncodingDetector): 28638 (WebKit::WebSettingsImpl::setTextAreasAreResizable): 28639 (WebKit::WebSettingsImpl::setJavaEnabled): 28640 (WebKit::WebSettingsImpl::setAllowScriptsToCloseWindows): 28641 (WebKit::WebSettingsImpl::setUserStyleSheetLocation): 28642 (WebKit::WebSettingsImpl::setUsesPageCache): 28643 (WebKit::WebSettingsImpl::setDownloadableBinaryFontsEnabled): 28644 (WebKit::WebSettingsImpl::setXSSAuditorEnabled): 28645 (WebKit::WebSettingsImpl::setLocalStorageEnabled): 28646 (WebKit::WebSettingsImpl::setEditableLinkBehaviorNeverLive): 28647 (WebKit::WebSettingsImpl::setFontRenderingModeNormal): 28648 (WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars): 28649 (WebKit::WebSettingsImpl::setDatabasesEnabled): 28650 (WebKit::WebSettingsImpl::setAllowUniversalAccessFromFileURLs): 28651 (WebKit::WebSettingsImpl::setTextDirectionSubmenuInclusionBehaviorNeverIncluded): 28652 (WebKit::WebSettingsImpl::setOfflineWebApplicationCacheEnabled): 28653 (WebKit::WebSettingsImpl::setExperimentalWebGLEnabled): 28654 * src/WebSettingsImpl.h: Added. 28655 (WebKit::WebSettingsImpl::~WebSettingsImpl): 28656 * src/WebSharedWorkerImpl.cpp: Added. 28657 (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl): 28658 (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl): 28659 (WebKit::WebSharedWorkerImpl::isStarted): 28660 (WebKit::WebSharedWorkerImpl::connect): 28661 (WebKit::WebSharedWorkerImpl::connectTask): 28662 (WebKit::WebSharedWorkerImpl::startWorkerContext): 28663 (WebKit::WebSharedWorkerImpl::terminateWorkerContext): 28664 (WebKit::WebSharedWorkerImpl::clientDestroyed): 28665 (WebKit::WebSharedWorkerImpl::client): 28666 (WebKit::WebSharedWorker::create): 28667 * src/WebSharedWorkerImpl.h: Added. 28668 (WebKit::WebSharedWorkerImpl::commonClient): 28669 * src/WebStorageAreaImpl.cpp: Added. 28670 (WebKit::WebStorageAreaImpl::WebStorageAreaImpl): 28671 (WebKit::WebStorageAreaImpl::~WebStorageAreaImpl): 28672 (WebKit::WebStorageAreaImpl::length): 28673 (WebKit::WebStorageAreaImpl::key): 28674 (WebKit::WebStorageAreaImpl::getItem): 28675 (WebKit::WebStorageAreaImpl::setItem): 28676 (WebKit::WebStorageAreaImpl::removeItem): 28677 (WebKit::WebStorageAreaImpl::clear): 28678 * src/WebStorageAreaImpl.h: Added. 28679 (WebKit::WebStorageAreaImpl::currentStorageEventURL): 28680 (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::ScopedStorageEventURL): 28681 (WebKit::WebStorageAreaImpl::ScopedStorageEventURL::~ScopedStorageEventURL): 28682 * src/WebStorageEventDispatcherImpl.cpp: Added. 28683 (WebKit::WebStorageEventDispatcher::create): 28684 (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl): 28685 (WebKit::WebStorageEventDispatcherImpl::dispatchStorageEvent): 28686 * src/WebStorageEventDispatcherImpl.h: Added. 28687 * src/WebStorageNamespaceImpl.cpp: Added. 28688 (WebKit::WebStorageNamespace::createLocalStorageNamespace): 28689 (WebKit::WebStorageNamespace::createSessionStorageNamespace): 28690 (WebKit::WebStorageNamespaceImpl::WebStorageNamespaceImpl): 28691 (WebKit::WebStorageNamespaceImpl::~WebStorageNamespaceImpl): 28692 (WebKit::WebStorageNamespaceImpl::createStorageArea): 28693 (WebKit::WebStorageNamespaceImpl::copy): 28694 (WebKit::WebStorageNamespaceImpl::close): 28695 * src/WebStorageNamespaceImpl.h: Added. 28696 28697 2009-11-10 Yaar Schnitman <yaar (a] chromium.org> 28698 28699 Reviewed by Dimitri Glazkov. 28700 28701 Up-streaming Chromium API src files: WebPasswordFormData...WebRuntimeFeatures 28702 28703 https://bugs.webkit.org/show_bug.cgi?id=31276 28704 28705 * src/WebPasswordFormData.cpp: Added. 28706 (WebKit::): 28707 (WebKit::WebPasswordFormData::WebPasswordFormData): 28708 * src/WebPasswordFormUtils.cpp: Added. 28709 (WebKit::findPasswordFormFields): 28710 * src/WebPasswordFormUtils.h: Added. 28711 (WebKit::PasswordFormFields::PasswordFormFields): 28712 * src/WebPluginContainerImpl.cpp: Added. 28713 (WebKit::WebPluginContainerImpl::setFrameRect): 28714 (WebKit::WebPluginContainerImpl::paint): 28715 (WebKit::WebPluginContainerImpl::invalidateRect): 28716 (WebKit::WebPluginContainerImpl::setFocus): 28717 (WebKit::WebPluginContainerImpl::show): 28718 (WebKit::WebPluginContainerImpl::hide): 28719 (WebKit::WebPluginContainerImpl::handleEvent): 28720 (WebKit::WebPluginContainerImpl::frameRectsChanged): 28721 (WebKit::WebPluginContainerImpl::setParentVisible): 28722 (WebKit::WebPluginContainerImpl::setParent): 28723 (WebKit::WebPluginContainerImpl::invalidate): 28724 (WebKit::WebPluginContainerImpl::reportGeometry): 28725 (WebKit::WebPluginContainerImpl::clearScriptObjects): 28726 (WebKit::WebPluginContainerImpl::scriptableObjectForElement): 28727 (WebKit::WebPluginContainerImpl::executeScriptURL): 28728 (WebKit::WebPluginContainerImpl::loadFrameRequest): 28729 (WebKit::WebPluginContainerImpl::didReceiveResponse): 28730 (WebKit::WebPluginContainerImpl::didReceiveData): 28731 (WebKit::WebPluginContainerImpl::didFinishLoading): 28732 (WebKit::WebPluginContainerImpl::didFailLoading): 28733 (WebKit::WebPluginContainerImpl::scriptableObject): 28734 (WebKit::WebPluginContainerImpl::willDestroyPluginLoadObserver): 28735 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl): 28736 (WebKit::WebPluginContainerImpl::handleMouseEvent): 28737 (WebKit::WebPluginContainerImpl::handleKeyboardEvent): 28738 (WebKit::WebPluginContainerImpl::calculateGeometry): 28739 (WebKit::WebPluginContainerImpl::windowClipRect): 28740 (WebKit::getObjectStack): 28741 (WebKit::checkStackOnTop): 28742 (WebKit::WebPluginContainerImpl::windowCutOutRects): 28743 * src/WebPluginContainerImpl.h: Added. 28744 (WebKit::WebPluginContainerImpl::create): 28745 (WebKit::WebPluginContainerImpl::plugin): 28746 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl): 28747 * src/WebPluginListBuilderImpl.cpp: Added. 28748 (WebKit::WebPluginListBuilderImpl::addPlugin): 28749 (WebKit::WebPluginListBuilderImpl::addMediaTypeToLastPlugin): 28750 (WebKit::WebPluginListBuilderImpl::addFileExtensionToLastMediaType): 28751 * src/WebPluginListBuilderImpl.h: Added. 28752 (WebKit::WebPluginListBuilderImpl::WebPluginListBuilderImpl): 28753 * src/WebPluginLoadObserver.cpp: Added. 28754 (WebKit::WebPluginLoadObserver::~WebPluginLoadObserver): 28755 (WebKit::WebPluginLoadObserver::didFinishLoading): 28756 (WebKit::WebPluginLoadObserver::didFailLoading): 28757 * src/WebPluginLoadObserver.h: Added. 28758 (WebKit::WebPluginLoadObserver::WebPluginLoadObserver): 28759 (WebKit::WebPluginLoadObserver::url): 28760 (WebKit::WebPluginLoadObserver::clearPluginContainer): 28761 * src/WebPopupMenuImpl.cpp: Added. 28762 (WebKit::WebPopupMenu::create): 28763 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl): 28764 (WebKit::WebPopupMenuImpl::~WebPopupMenuImpl): 28765 (WebKit::WebPopupMenuImpl::Init): 28766 (WebKit::WebPopupMenuImpl::MouseMove): 28767 (WebKit::WebPopupMenuImpl::MouseLeave): 28768 (WebKit::WebPopupMenuImpl::MouseDown): 28769 (WebKit::WebPopupMenuImpl::MouseUp): 28770 (WebKit::WebPopupMenuImpl::MouseWheel): 28771 (WebKit::WebPopupMenuImpl::KeyEvent): 28772 (WebKit::WebPopupMenuImpl::close): 28773 (WebKit::WebPopupMenuImpl::resize): 28774 (WebKit::WebPopupMenuImpl::layout): 28775 (WebKit::WebPopupMenuImpl::paint): 28776 (WebKit::WebPopupMenuImpl::handleInputEvent): 28777 (WebKit::WebPopupMenuImpl::mouseCaptureLost): 28778 (WebKit::WebPopupMenuImpl::setFocus): 28779 (WebKit::WebPopupMenuImpl::handleCompositionEvent): 28780 (WebKit::WebPopupMenuImpl::queryCompositionStatus): 28781 (WebKit::WebPopupMenuImpl::setTextDirection): 28782 (WebKit::WebPopupMenuImpl::repaint): 28783 (WebKit::WebPopupMenuImpl::scroll): 28784 (WebKit::WebPopupMenuImpl::screenToWindow): 28785 (WebKit::WebPopupMenuImpl::windowToScreen): 28786 (WebKit::WebPopupMenuImpl::scrollRectIntoView): 28787 (WebKit::WebPopupMenuImpl::scrollbarsModeDidChange): 28788 (WebKit::WebPopupMenuImpl::popupClosed): 28789 * src/WebPopupMenuImpl.h: Added. 28790 (WebKit::WebPopupMenuImpl::size): 28791 (WebKit::WebPopupMenuImpl::client): 28792 (WebKit::WebPopupMenuImpl::platformPageClient): 28793 * src/WebRange.cpp: Added. 28794 (WebKit::WebRange::reset): 28795 (WebKit::WebRange::assign): 28796 (WebKit::WebRange::startOffset): 28797 (WebKit::WebRange::endOffset): 28798 (WebKit::WebRange::startContainer): 28799 (WebKit::WebRange::endContainer): 28800 (WebKit::WebRange::toHTMLText): 28801 (WebKit::WebRange::toPlainText): 28802 (WebKit::WebRange::WebRange): 28803 (WebKit::WebRange::operator=): 28804 (WebKit::WebRange::operator WTF::PassRefPtr<WebCore::Range>): 28805 * src/WebRuntimeFeatures.cpp: Added. 28806 (WebKit::WebRuntimeFeatures::enableDatabase): 28807 (WebKit::WebRuntimeFeatures::isDatabaseEnabled): 28808 (WebKit::WebRuntimeFeatures::enableLocalStorage): 28809 (WebKit::WebRuntimeFeatures::isLocalStorageEnabled): 28810 (WebKit::WebRuntimeFeatures::enableSessionStorage): 28811 (WebKit::WebRuntimeFeatures::isSessionStorageEnabled): 28812 (WebKit::WebRuntimeFeatures::enableMediaPlayer): 28813 (WebKit::WebRuntimeFeatures::isMediaPlayerEnabled): 28814 (WebKit::WebRuntimeFeatures::enableSockets): 28815 (WebKit::WebRuntimeFeatures::isSocketsEnabled): 28816 (WebKit::WebRuntimeFeatures::enableNotifications): 28817 (WebKit::WebRuntimeFeatures::isNotificationsEnabled): 28818 (WebKit::WebRuntimeFeatures::enableApplicationCache): 28819 (WebKit::WebRuntimeFeatures::isApplicationCacheEnabled): 28820 28821 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 28822 28823 Reviewed by Dimitri Glazkov. 28824 28825 Up-streaming Chromium API src files: WebFileInputElement...WebNotifications 28826 28827 https://bugs.webkit.org/show_bug.cgi?id=31276 28828 28829 * src/WebInputElement.cpp: Added. 28830 (WebKit::WebInputElement::WebInputElement): 28831 (WebKit::WebInputElement::operator=): 28832 (WebKit::WebInputElement::operator WTF::PassRefPtr<HTMLInputElement>): 28833 (WebKit::WebInputElement::setActivatedSubmit): 28834 (WebKit::WebInputElement::setValue): 28835 (WebKit::WebInputElement::value): 28836 (WebKit::WebInputElement::setAutofilled): 28837 (WebKit::WebInputElement::dispatchFormControlChangeEvent): 28838 (WebKit::WebInputElement::setSelectionRange): 28839 * src/WebInputEvent.cpp: Added. 28840 (WebKit::staticKeyIdentifiers): 28841 (WebKit::WebKeyboardEvent::setKeyIdentifierFromWindowsKeyCode): 28842 * src/WebInputEventConversion.cpp: Added. 28843 (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder): 28844 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder): 28845 (WebKit::toPlatformKeyboardEventType): 28846 (WebKit::PlatformKeyboardEventBuilder::PlatformKeyboardEventBuilder): 28847 (WebKit::PlatformKeyboardEventBuilder::setKeyType): 28848 (WebKit::PlatformKeyboardEventBuilder::isCharacterKey): 28849 (WebKit::getWebInputModifiers): 28850 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder): 28851 (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder): 28852 * src/WebInputEventConversion.h: Added. 28853 * src/WebKit.cpp: Added. 28854 (WebKit::initialize): 28855 (WebKit::shutdown): 28856 (WebKit::webKitClient): 28857 (WebKit::setLayoutTestMode): 28858 (WebKit::layoutTestMode): 28859 (WebKit::resetPluginCache): 28860 * src/WebMediaPlayerClientImpl.cpp: Added. 28861 (WebKit::createWebMediaPlayer): 28862 (WebKit::WebMediaPlayerClientImpl::isEnabled): 28863 (WebKit::WebMediaPlayerClientImpl::setIsEnabled): 28864 (WebKit::WebMediaPlayerClientImpl::registerSelf): 28865 (WebKit::WebMediaPlayerClientImpl::networkStateChanged): 28866 (WebKit::WebMediaPlayerClientImpl::readyStateChanged): 28867 (WebKit::WebMediaPlayerClientImpl::volumeChanged): 28868 (WebKit::WebMediaPlayerClientImpl::timeChanged): 28869 (WebKit::WebMediaPlayerClientImpl::repaint): 28870 (WebKit::WebMediaPlayerClientImpl::durationChanged): 28871 (WebKit::WebMediaPlayerClientImpl::rateChanged): 28872 (WebKit::WebMediaPlayerClientImpl::sizeChanged): 28873 (WebKit::WebMediaPlayerClientImpl::sawUnsupportedTracks): 28874 (WebKit::WebMediaPlayerClientImpl::load): 28875 (WebKit::WebMediaPlayerClientImpl::cancelLoad): 28876 (WebKit::WebMediaPlayerClientImpl::play): 28877 (WebKit::WebMediaPlayerClientImpl::pause): 28878 (WebKit::WebMediaPlayerClientImpl::naturalSize): 28879 (WebKit::WebMediaPlayerClientImpl::hasVideo): 28880 (WebKit::WebMediaPlayerClientImpl::hasAudio): 28881 (WebKit::WebMediaPlayerClientImpl::setVisible): 28882 (WebKit::WebMediaPlayerClientImpl::duration): 28883 (WebKit::WebMediaPlayerClientImpl::currentTime): 28884 (WebKit::WebMediaPlayerClientImpl::seek): 28885 (WebKit::WebMediaPlayerClientImpl::seeking): 28886 (WebKit::WebMediaPlayerClientImpl::setEndTime): 28887 (WebKit::WebMediaPlayerClientImpl::setRate): 28888 (WebKit::WebMediaPlayerClientImpl::paused): 28889 (WebKit::WebMediaPlayerClientImpl::supportsFullscreen): 28890 (WebKit::WebMediaPlayerClientImpl::supportsSave): 28891 (WebKit::WebMediaPlayerClientImpl::setVolume): 28892 (WebKit::WebMediaPlayerClientImpl::networkState): 28893 (WebKit::WebMediaPlayerClientImpl::readyState): 28894 (WebKit::WebMediaPlayerClientImpl::maxTimeSeekable): 28895 (WebKit::WebMediaPlayerClientImpl::buffered): 28896 (WebKit::WebMediaPlayerClientImpl::dataRate): 28897 (WebKit::WebMediaPlayerClientImpl::totalBytesKnown): 28898 (WebKit::WebMediaPlayerClientImpl::totalBytes): 28899 (WebKit::WebMediaPlayerClientImpl::bytesLoaded): 28900 (WebKit::WebMediaPlayerClientImpl::setSize): 28901 (WebKit::WebMediaPlayerClientImpl::paint): 28902 (WebKit::WebMediaPlayerClientImpl::setAutobuffer): 28903 (WebKit::WebMediaPlayerClientImpl::hasSingleSecurityOrigin): 28904 (WebKit::WebMediaPlayerClientImpl::movieLoadType): 28905 (WebKit::WebMediaPlayerClientImpl::create): 28906 (WebKit::WebMediaPlayerClientImpl::getSupportedTypes): 28907 (WebKit::WebMediaPlayerClientImpl::supportsType): 28908 (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl): 28909 * src/WebMediaPlayerClientImpl.h: Added. 28910 * src/WebNode.cpp: Added. 28911 (WebKit::WebNode::reset): 28912 (WebKit::WebNode::assign): 28913 (WebKit::WebNode::parentNode): 28914 (WebKit::WebNode::nodeName): 28915 (WebKit::WebNode::WebNode): 28916 (WebKit::WebNode::operator=): 28917 (WebKit::WebNode::operator WTF::PassRefPtr<WebCore::Node>): 28918 (WebKit::WebNode::frame): 28919 * src/WebNotification.cpp: Added. 28920 (WebKit::WebNotification::reset): 28921 (WebKit::WebNotification::assign): 28922 (WebKit::WebNotification::lessThan): 28923 (WebKit::WebNotification::isHTML): 28924 (WebKit::WebNotification::url): 28925 (WebKit::WebNotification::icon): 28926 (WebKit::WebNotification::title): 28927 (WebKit::WebNotification::body): 28928 (WebKit::WebNotification::dispatchDisplayEvent): 28929 (WebKit::WebNotification::dispatchErrorEvent): 28930 (WebKit::WebNotification::dispatchCloseEvent): 28931 (WebKit::WebNotification::WebNotification): 28932 (WebKit::WebNotification::operator=): 28933 (WebKit::WebNotification::operator WTF::PassRefPtr<Notification>): 28934 28935 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 28936 28937 Reviewed by Dimitri Glazkov. 28938 28939 Up-streaming Chromium API src files: WebFileChooser...WebImageSkia 28940 28941 https://bugs.webkit.org/show_bug.cgi?id=31276 28942 28943 * src/WebFileChooserCompletionImpl.cpp: Added. 28944 (WebKit::WebFileChooserCompletionImpl::WebFileChooserCompletionImpl): 28945 (WebKit::WebFileChooserCompletionImpl::~WebFileChooserCompletionImpl): 28946 (WebKit::WebFileChooserCompletionImpl::didChooseFile): 28947 * src/WebFileChooserCompletionImpl.h: Added. 28948 * src/WebFontCache.cpp: Added. 28949 (WebKit::WebFontCache::fontDataCount): 28950 (WebKit::WebFontCache::inactiveFontDataCount): 28951 (WebKit::WebFontCache::clear): 28952 * src/WebFormElement.cpp: Added. 28953 (WebKit::WebFormElement::WebFormElement): 28954 (WebKit::WebFormElement::operator=): 28955 (WebKit::WebFormElement::operator WTF::PassRefPtr<WebCore::HTMLFormElement>): 28956 (WebKit::WebFormElement::autoComplete): 28957 (WebKit::WebFormElement::action): 28958 (WebKit::WebFormElement::submit): 28959 (WebKit::WebFormElement::getNamedElements): 28960 * src/WebFrameImpl.cpp: Added. 28961 (WebKit::frameContentAsPlainText): 28962 (WebKit::ChromePrintContext::ChromePrintContext): 28963 (WebKit::ChromePrintContext::begin): 28964 (WebKit::ChromePrintContext::getPageShrink): 28965 (WebKit::ChromePrintContext::spoolPage): 28966 (WebKit::DataSourceForDocLoader): 28967 (WebKit::WebFrameImpl::DeferredScopeStringMatches::DeferredScopeStringMatches): 28968 (WebKit::WebFrameImpl::DeferredScopeStringMatches::doTimeout): 28969 (WebKit::WebFrame::frameForEnteredContext): 28970 (WebKit::WebFrame::frameForCurrentContext): 28971 (WebKit::WebFrameImpl::name): 28972 (WebKit::WebFrameImpl::url): 28973 (WebKit::WebFrameImpl::favIconURL): 28974 (WebKit::WebFrameImpl::openSearchDescriptionURL): 28975 (WebKit::WebFrameImpl::scrollOffset): 28976 (WebKit::WebFrameImpl::contentsSize): 28977 (WebKit::WebFrameImpl::contentsPreferredWidth): 28978 (WebKit::WebFrameImpl::hasVisibleContent): 28979 (WebKit::WebFrameImpl::view): 28980 (WebKit::WebFrameImpl::opener): 28981 (WebKit::WebFrameImpl::parent): 28982 (WebKit::WebFrameImpl::top): 28983 (WebKit::WebFrameImpl::firstChild): 28984 (WebKit::WebFrameImpl::lastChild): 28985 (WebKit::WebFrameImpl::nextSibling): 28986 (WebKit::WebFrameImpl::previousSibling): 28987 (WebKit::WebFrameImpl::traverseNext): 28988 (WebKit::WebFrameImpl::traversePrevious): 28989 (WebKit::WebFrameImpl::findChildByName): 28990 (WebKit::WebFrameImpl::findChildByExpression): 28991 (WebKit::WebFrameImpl::forms): 28992 (WebKit::WebFrameImpl::securityOrigin): 28993 (WebKit::WebFrameImpl::grantUniversalAccess): 28994 (WebKit::WebFrameImpl::windowObject): 28995 (WebKit::WebFrameImpl::bindToWindowObject): 28996 (WebKit::WebFrameImpl::executeScript): 28997 (WebKit::WebFrameImpl::executeScriptInNewContext): 28998 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld): 28999 (WebKit::WebFrameImpl::addMessageToConsole): 29000 (WebKit::WebFrameImpl::collectGarbage): 29001 (WebKit::WebFrameImpl::mainWorldScriptContext): 29002 (WebKit::WebFrameImpl::insertStyleText): 29003 (WebKit::WebFrameImpl::reload): 29004 (WebKit::WebFrameImpl::loadRequest): 29005 (WebKit::WebFrameImpl::loadHistoryItem): 29006 (WebKit::WebFrameImpl::loadData): 29007 (WebKit::WebFrameImpl::loadHTMLString): 29008 (WebKit::WebFrameImpl::isLoading): 29009 (WebKit::WebFrameImpl::stopLoading): 29010 (WebKit::WebFrameImpl::provisionalDataSource): 29011 (WebKit::WebFrameImpl::dataSource): 29012 (WebKit::WebFrameImpl::previousHistoryItem): 29013 (WebKit::WebFrameImpl::currentHistoryItem): 29014 (WebKit::WebFrameImpl::enableViewSourceMode): 29015 (WebKit::WebFrameImpl::isViewSourceModeEnabled): 29016 (WebKit::WebFrameImpl::setReferrerForRequest): 29017 (WebKit::WebFrameImpl::dispatchWillSendRequest): 29018 (WebKit::WebFrameImpl::commitDocumentData): 29019 (WebKit::WebFrameImpl::unloadListenerCount): 29020 (WebKit::WebFrameImpl::isProcessingUserGesture): 29021 (WebKit::WebFrameImpl::willSuppressOpenerInNewFrame): 29022 (WebKit::WebFrameImpl::replaceSelection): 29023 (WebKit::WebFrameImpl::insertText): 29024 (WebKit::WebFrameImpl::setMarkedText): 29025 (WebKit::WebFrameImpl::unmarkText): 29026 (WebKit::WebFrameImpl::hasMarkedText): 29027 (WebKit::WebFrameImpl::markedRange): 29028 (WebKit::WebFrameImpl::executeCommand): 29029 (WebKit::WebFrameImpl::isCommandEnabled): 29030 (WebKit::WebFrameImpl::enableContinuousSpellChecking): 29031 (WebKit::WebFrameImpl::isContinuousSpellCheckingEnabled): 29032 (WebKit::WebFrameImpl::hasSelection): 29033 (WebKit::WebFrameImpl::selectionRange): 29034 (WebKit::WebFrameImpl::selectionAsText): 29035 (WebKit::WebFrameImpl::selectionAsMarkup): 29036 (WebKit::WebFrameImpl::printBegin): 29037 (WebKit::WebFrameImpl::getPrintPageShrink): 29038 (WebKit::WebFrameImpl::printPage): 29039 (WebKit::WebFrameImpl::printEnd): 29040 (WebKit::WebFrameImpl::find): 29041 (WebKit::WebFrameImpl::stopFinding): 29042 (WebKit::WebFrameImpl::scopeStringMatches): 29043 (WebKit::WebFrameImpl::cancelPendingScopingEffort): 29044 (WebKit::WebFrameImpl::increaseMatchCount): 29045 (WebKit::WebFrameImpl::reportFindInPageSelection): 29046 (WebKit::WebFrameImpl::resetMatchCount): 29047 (WebKit::WebFrameImpl::completeURL): 29048 (WebKit::WebFrameImpl::contentAsText): 29049 (WebKit::WebFrameImpl::contentAsMarkup): 29050 (WebKit::WebFrameImpl::create): 29051 (WebKit::WebFrameImpl::WebFrameImpl): 29052 (WebKit::WebFrameImpl::~WebFrameImpl): 29053 (WebKit::WebFrameImpl::initializeAsMainFrame): 29054 (WebKit::WebFrameImpl::createChildFrame): 29055 (WebKit::WebFrameImpl::layout): 29056 (WebKit::WebFrameImpl::paint): 29057 (WebKit::WebFrameImpl::createFrameView): 29058 (WebKit::WebFrameImpl::fromFrame): 29059 (WebKit::WebFrameImpl::viewImpl): 29060 (WebKit::WebFrameImpl::dataSourceImpl): 29061 (WebKit::WebFrameImpl::provisionalDataSourceImpl): 29062 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection): 29063 (WebKit::WebFrameImpl::didFail): 29064 (WebKit::WebFrameImpl::setAllowsScrolling): 29065 (WebKit::WebFrameImpl::registerPasswordListener): 29066 (WebKit::WebFrameImpl::getPasswordListener): 29067 (WebKit::WebFrameImpl::closing): 29068 (WebKit::WebFrameImpl::invalidateArea): 29069 (WebKit::WebFrameImpl::addMarker): 29070 (WebKit::WebFrameImpl::setMarkerActive): 29071 (WebKit::WebFrameImpl::ordinalOfFirstMatchForFrame): 29072 (WebKit::WebFrameImpl::shouldScopeMatches): 29073 (WebKit::WebFrameImpl::scopeStringMatchesSoon): 29074 (WebKit::WebFrameImpl::callScopeStringMatches): 29075 (WebKit::WebFrameImpl::invalidateIfNecessary): 29076 (WebKit::WebFrameImpl::clearPasswordListeners): 29077 (WebKit::WebFrameImpl::loadJavaScriptURL): 29078 * src/WebFrameImpl.h: Added. 29079 (WebKit::WebFrameImpl::liveObjectCount): 29080 (WebKit::WebFrameImpl::frame): 29081 (WebKit::WebFrameImpl::frameView): 29082 (WebKit::WebFrameImpl::activeMatchFrame): 29083 (WebKit::WebFrameImpl::client): 29084 (WebKit::WebFrameImpl::dropClient): 29085 (WebKit::WebFrameImpl::ClientHandle::create): 29086 (WebKit::WebFrameImpl::ClientHandle::client): 29087 (WebKit::WebFrameImpl::ClientHandle::dropClient): 29088 (WebKit::WebFrameImpl::ClientHandle::ClientHandle): 29089 (WebKit::WebFrameImpl::): 29090 * src/WebHTTPBody.cpp: Added. 29091 (WebKit::WebHTTPBody::initialize): 29092 (WebKit::WebHTTPBody::reset): 29093 (WebKit::WebHTTPBody::assign): 29094 (WebKit::WebHTTPBody::elementCount): 29095 (WebKit::WebHTTPBody::elementAt): 29096 (WebKit::WebHTTPBody::appendData): 29097 (WebKit::WebHTTPBody::appendFile): 29098 (WebKit::WebHTTPBody::identifier): 29099 (WebKit::WebHTTPBody::setIdentifier): 29100 (WebKit::WebHTTPBody::WebHTTPBody): 29101 (WebKit::WebHTTPBody::operator=): 29102 (WebKit::WebHTTPBody::operator PassRefPtr<FormData>): 29103 (WebKit::WebHTTPBody::ensureMutable): 29104 * src/WebHistoryItem.cpp: Added. 29105 (WebKit::WebHistoryItem::initialize): 29106 (WebKit::WebHistoryItem::reset): 29107 (WebKit::WebHistoryItem::assign): 29108 (WebKit::WebHistoryItem::urlString): 29109 (WebKit::WebHistoryItem::setURLString): 29110 (WebKit::WebHistoryItem::originalURLString): 29111 (WebKit::WebHistoryItem::setOriginalURLString): 29112 (WebKit::WebHistoryItem::referrer): 29113 (WebKit::WebHistoryItem::setReferrer): 29114 (WebKit::WebHistoryItem::target): 29115 (WebKit::WebHistoryItem::setTarget): 29116 (WebKit::WebHistoryItem::parent): 29117 (WebKit::WebHistoryItem::setParent): 29118 (WebKit::WebHistoryItem::title): 29119 (WebKit::WebHistoryItem::setTitle): 29120 (WebKit::WebHistoryItem::alternateTitle): 29121 (WebKit::WebHistoryItem::setAlternateTitle): 29122 (WebKit::WebHistoryItem::lastVisitedTime): 29123 (WebKit::WebHistoryItem::setLastVisitedTime): 29124 (WebKit::WebHistoryItem::scrollOffset): 29125 (WebKit::WebHistoryItem::setScrollOffset): 29126 (WebKit::WebHistoryItem::isTargetItem): 29127 (WebKit::WebHistoryItem::setIsTargetItem): 29128 (WebKit::WebHistoryItem::visitCount): 29129 (WebKit::WebHistoryItem::setVisitCount): 29130 (WebKit::WebHistoryItem::documentState): 29131 (WebKit::WebHistoryItem::setDocumentState): 29132 (WebKit::WebHistoryItem::httpContentType): 29133 (WebKit::WebHistoryItem::setHTTPContentType): 29134 (WebKit::WebHistoryItem::httpBody): 29135 (WebKit::WebHistoryItem::setHTTPBody): 29136 (WebKit::WebHistoryItem::children): 29137 (WebKit::WebHistoryItem::setChildren): 29138 (WebKit::WebHistoryItem::appendToChildren): 29139 (WebKit::WebHistoryItem::WebHistoryItem): 29140 (WebKit::WebHistoryItem::operator=): 29141 (WebKit::WebHistoryItem::operator PassRefPtr<HistoryItem>): 29142 (WebKit::WebHistoryItem::ensureMutable): 29143 * src/WebImageCG.cpp: Added. 29144 (WebKit::WebImage::fromData): 29145 (WebKit::WebImage::reset): 29146 (WebKit::WebImage::assign): 29147 (WebKit::WebImage::isNull): 29148 (WebKit::WebImage::size): 29149 (WebKit::WebImage::WebImage): 29150 (WebKit::WebImage::operator=): 29151 * src/WebImageSkia.cpp: Added. 29152 (WebKit::WebImage::fromData): 29153 (WebKit::WebImage::reset): 29154 (WebKit::WebImage::assign): 29155 (WebKit::WebImage::isNull): 29156 (WebKit::WebImage::size): 29157 (WebKit::WebImage::WebImage): 29158 (WebKit::WebImage::operator=): 29159 29160 2009-11-09 Yaar Schnitman <yaar (a] chromium.src> 29161 29162 Reviewed by Dimitri Glazkov. 29163 29164 Up-streaming Chromium API src files: WebData...WebElement 29165 29166 https://bugs.webkit.org/show_bug.cgi?id=31276 29167 29168 * src/WebData.cpp: Added. 29169 (WebKit::WebData::reset): 29170 (WebKit::WebData::assign): 29171 (WebKit::WebData::size): 29172 (WebKit::WebData::data): 29173 (WebKit::WebData::WebData): 29174 (WebKit::WebData::operator=): 29175 (WebKit::WebData::operator PassRefPtr<SharedBuffer>): 29176 * src/WebDataSourceImpl.cpp: Added. 29177 (WebKit::WebDataSourceImpl::create): 29178 (WebKit::WebDataSourceImpl::originalRequest): 29179 (WebKit::WebDataSourceImpl::request): 29180 (WebKit::WebDataSourceImpl::response): 29181 (WebKit::WebDataSourceImpl::hasUnreachableURL): 29182 (WebKit::WebDataSourceImpl::unreachableURL): 29183 (WebKit::WebDataSourceImpl::redirectChain): 29184 (WebKit::WebDataSourceImpl::pageTitle): 29185 (WebKit::WebDataSourceImpl::navigationType): 29186 (WebKit::WebDataSourceImpl::triggeringEventTime): 29187 (WebKit::WebDataSourceImpl::extraData): 29188 (WebKit::WebDataSourceImpl::setExtraData): 29189 (WebKit::WebDataSourceImpl::toWebNavigationType): 29190 (WebKit::WebDataSourceImpl::endOfRedirectChain): 29191 (WebKit::WebDataSourceImpl::clearRedirectChain): 29192 (WebKit::WebDataSourceImpl::appendRedirect): 29193 (WebKit::WebDataSourceImpl::setNextPluginLoadObserver): 29194 (WebKit::WebDataSourceImpl::WebDataSourceImpl): 29195 (WebKit::WebDataSourceImpl::~WebDataSourceImpl): 29196 * src/WebDataSourceImpl.h: Added. 29197 (WebKit::WebDataSourceImpl::fromDocumentLoader): 29198 (WebKit::WebDataSourceImpl::hasRedirectChain): 29199 (WebKit::WebDataSourceImpl::releasePluginLoadObserver): 29200 * src/WebDatabase.cpp: Added. 29201 (WebKit::WebDatabase::reset): 29202 (WebKit::WebDatabase::assign): 29203 (WebKit::WebDatabase::name): 29204 (WebKit::WebDatabase::displayName): 29205 (WebKit::WebDatabase::estimatedSize): 29206 (WebKit::WebDatabase::securityOrigin): 29207 (WebKit::WebDatabase::setObserver): 29208 (WebKit::WebDatabase::observer): 29209 (WebKit::WebDatabase::updateDatabaseSize): 29210 (WebKit::WebDatabase::WebDatabase): 29211 (WebKit::WebDatabase::operator=): 29212 (WebKit::WebDatabase::operator WTF::PassRefPtr<Database>): 29213 * src/WebDevToolsAgentPrivate.h: Added. 29214 * src/WebDragData.cpp: Added. 29215 (WebKit::WebDragData::initialize): 29216 (WebKit::WebDragData::reset): 29217 (WebKit::WebDragData::assign): 29218 (WebKit::WebDragData::url): 29219 (WebKit::WebDragData::setURL): 29220 (WebKit::WebDragData::urlTitle): 29221 (WebKit::WebDragData::setURLTitle): 29222 (WebKit::WebDragData::fileExtension): 29223 (WebKit::WebDragData::setFileExtension): 29224 (WebKit::WebDragData::hasFileNames): 29225 (WebKit::WebDragData::fileNames): 29226 (WebKit::WebDragData::setFileNames): 29227 (WebKit::WebDragData::appendToFileNames): 29228 (WebKit::WebDragData::plainText): 29229 (WebKit::WebDragData::setPlainText): 29230 (WebKit::WebDragData::htmlText): 29231 (WebKit::WebDragData::setHTMLText): 29232 (WebKit::WebDragData::htmlBaseURL): 29233 (WebKit::WebDragData::setHTMLBaseURL): 29234 (WebKit::WebDragData::fileContentFileName): 29235 (WebKit::WebDragData::setFileContentFileName): 29236 (WebKit::WebDragData::fileContent): 29237 (WebKit::WebDragData::setFileContent): 29238 (WebKit::WebDragData::WebDragData): 29239 (WebKit::WebDragData::operator=): 29240 (WebKit::WebDragData::operator WTF::PassRefPtr<WebCore::ChromiumDataObject>): 29241 (WebKit::WebDragData::ensureMutable): 29242 * src/WebElement.cpp: Added. 29243 (WebKit::WebElement::WebElement): 29244 (WebKit::WebElement::operator=): 29245 (WebKit::WebElement::operator WTF::PassRefPtr<Element>): 29246 29247 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29248 29249 Reviewed by Dimitri Glazkov. 29250 29251 WebPo*.h and WebRunetimeFeatures.h Chromium API headers. 29252 29253 https://bugs.webkit.org/show_bug.cgi?id=28394 29254 29255 * public/WebPoint.h: Added. 29256 (WebKit::WebPoint::WebPoint): 29257 (WebKit::WebPoint::operator=): 29258 (WebKit::WebPoint::operator WebCore::IntPoint): 29259 (WebKit::WebPoint::operator gfx::Point): 29260 (WebKit::operator==): 29261 (WebKit::operator!=): 29262 * public/WebPopupMenu.h: Added. 29263 * public/WebPopupMenuInfo.h: Added. 29264 (WebKit::WebPopupMenuInfo::Item::): 29265 * public/WebRuntimeFeatures.h: Added. 29266 29267 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29268 29269 Reviewed by Dimitri Glazkov. 29270 29271 WebPa*.h and WebPl*.h Chromium API headers. 29272 29273 https://bugs.webkit.org/show_bug.cgi?id=28394 29274 29275 * public/WebPasswordAutocompleteListener.h: Added. 29276 (WebKit::WebPasswordAutocompleteListener::~WebPasswordAutocompleteListener): 29277 * public/WebPasswordFormData.h: Added. 29278 (WebKit::WebPasswordFormData::isValid): 29279 * public/WebPlugin.h: Added. 29280 (WebKit::WebPlugin::~WebPlugin): 29281 * public/WebPluginContainer.h: Added. 29282 (WebKit::WebPluginContainer::~WebPluginContainer): 29283 * public/WebPluginListBuilder.h: Added. 29284 * public/WebPluginParams.h: Added. 29285 29286 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 29287 29288 Reviewed by Dimitri Glazkov. 29289 29290 Up-streaming Chromium API src files: WebBindging ... WebCursorInfo 29291 29292 https://bugs.webkit.org/show_bug.cgi?id=31276 29293 29294 * src/WebBindings.cpp: Added. 29295 (WebKit::WebBindings::construct): 29296 (WebKit::WebBindings::createObject): 29297 (WebKit::WebBindings::enumerate): 29298 (WebKit::WebBindings::evaluate): 29299 (WebKit::WebBindings::evaluateHelper): 29300 (WebKit::WebBindings::getIntIdentifier): 29301 (WebKit::WebBindings::getProperty): 29302 (WebKit::WebBindings::getStringIdentifier): 29303 (WebKit::WebBindings::getStringIdentifiers): 29304 (WebKit::WebBindings::hasMethod): 29305 (WebKit::WebBindings::hasProperty): 29306 (WebKit::WebBindings::identifierIsString): 29307 (WebKit::WebBindings::intFromIdentifier): 29308 (WebKit::WebBindings::initializeVariantWithStringCopy): 29309 (WebKit::WebBindings::invoke): 29310 (WebKit::WebBindings::invokeDefault): 29311 (WebKit::WebBindings::releaseObject): 29312 (WebKit::WebBindings::releaseVariantValue): 29313 (WebKit::WebBindings::removeProperty): 29314 (WebKit::WebBindings::retainObject): 29315 (WebKit::WebBindings::setException): 29316 (WebKit::WebBindings::setProperty): 29317 (WebKit::WebBindings::unregisterObject): 29318 (WebKit::WebBindings::utf8FromIdentifier): 29319 (WebKit::WebBindings::extractIdentifierData): 29320 (WebKit::getEvent): 29321 (WebKit::getDragDataImpl): 29322 (WebKit::getRangeImpl): 29323 (WebKit::WebBindings::getDragData): 29324 (WebKit::WebBindings::isDragEvent): 29325 (WebKit::WebBindings::getRange): 29326 * src/WebCString.cpp: Added. 29327 (WebKit::WebCString::reset): 29328 (WebKit::WebCString::assign): 29329 (WebKit::WebCString::length): 29330 (WebKit::WebCString::data): 29331 (WebKit::WebCString::utf16): 29332 (WebKit::WebCString::fromUTF16): 29333 (WebKit::WebCString::WebCString): 29334 (WebKit::WebCString::operator=): 29335 (WebKit::WebCString::operator WebCore::CString): 29336 * src/WebCache.cpp: Added. 29337 (WebKit::ToResourceTypeStat): 29338 (WebKit::WebCache::setCapacities): 29339 (WebKit::WebCache::clear): 29340 (WebKit::WebCache::getUsageStats): 29341 (WebKit::WebCache::getResourceTypeStats): 29342 * src/WebColor.cpp: Added. 29343 (WebKit::toCSSValueKeyword): 29344 (WebKit::setNamedColors): 29345 * src/WebCrossOriginPreflightResultCache.cpp: Added. 29346 (WebKit::WebCrossOriginPreflightResultCache::clear): 29347 * src/WebCursorInfo.cpp: Added. 29348 (WebKit::WebCursorInfo::WebCursorInfo): 29349 29350 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 29351 29352 Reviewed by Dimitri Glazkov. 29353 29354 Up-streaming Chromium API src files: WebAccessibilty 29355 29356 https://bugs.webkit.org/show_bug.cgi?id=31276 29357 29358 * src/WebAccessibilityCache.cpp: Added. 29359 (WebKit::WebAccessibilityCache::enableAccessibility): 29360 * src/WebAccessibilityCacheImpl.cpp: Added. 29361 (WebKit::toAccessibilityObject): 29362 (WebKit::WebAccessibilityCache::create): 29363 (WebKit::WebAccessibilityCacheImpl::WeakHandle::create): 29364 (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle): 29365 (WebKit::WebAccessibilityCacheImpl::WeakHandle::detach): 29366 (WebKit::WebAccessibilityCacheImpl::WebAccessibilityCacheImpl): 29367 (WebKit::WebAccessibilityCacheImpl::~WebAccessibilityCacheImpl): 29368 (WebKit::WebAccessibilityCacheImpl::initialize): 29369 (WebKit::WebAccessibilityCacheImpl::getObjectById): 29370 (WebKit::WebAccessibilityCacheImpl::isValidId): 29371 (WebKit::WebAccessibilityCacheImpl::remove): 29372 (WebKit::WebAccessibilityCacheImpl::clear): 29373 (WebKit::WebAccessibilityCacheImpl::addOrGetId): 29374 * src/WebAccessibilityCacheImpl.h: Added. 29375 (WebKit::WebAccessibilityCacheImpl::isInitialized): 29376 * src/WebAccessibilityObject.cpp: Added. 29377 (WebKit::WebAccessibilityObject::reset): 29378 (WebKit::WebAccessibilityObject::assign): 29379 (WebKit::WebAccessibilityObject::accessibilityDescription): 29380 (WebKit::WebAccessibilityObject::actionVerb): 29381 (WebKit::WebAccessibilityObject::canSetFocusAttribute): 29382 (WebKit::WebAccessibilityObject::childCount): 29383 (WebKit::WebAccessibilityObject::childAt): 29384 (WebKit::WebAccessibilityObject::firstChild): 29385 (WebKit::WebAccessibilityObject::focusedChild): 29386 (WebKit::WebAccessibilityObject::lastChild): 29387 (WebKit::WebAccessibilityObject::nextSibling): 29388 (WebKit::WebAccessibilityObject::parentObject): 29389 (WebKit::WebAccessibilityObject::previousSibling): 29390 (WebKit::WebAccessibilityObject::isAnchor): 29391 (WebKit::WebAccessibilityObject::isChecked): 29392 (WebKit::WebAccessibilityObject::isFocused): 29393 (WebKit::WebAccessibilityObject::isEnabled): 29394 (WebKit::WebAccessibilityObject::isHovered): 29395 (WebKit::WebAccessibilityObject::isIndeterminate): 29396 (WebKit::WebAccessibilityObject::isMultiSelect): 29397 (WebKit::WebAccessibilityObject::isOffScreen): 29398 (WebKit::WebAccessibilityObject::isPasswordField): 29399 (WebKit::WebAccessibilityObject::isPressed): 29400 (WebKit::WebAccessibilityObject::isReadOnly): 29401 (WebKit::WebAccessibilityObject::isVisited): 29402 (WebKit::WebAccessibilityObject::boundingBoxRect): 29403 (WebKit::WebAccessibilityObject::helpText): 29404 (WebKit::WebAccessibilityObject::hitTest): 29405 (WebKit::WebAccessibilityObject::keyboardShortcut): 29406 (WebKit::WebAccessibilityObject::performDefaultAction): 29407 (WebKit::WebAccessibilityObject::roleValue): 29408 (WebKit::WebAccessibilityObject::stringValue): 29409 (WebKit::WebAccessibilityObject::title): 29410 (WebKit::WebAccessibilityObject::WebAccessibilityObject): 29411 (WebKit::WebAccessibilityObject::operator=): 29412 (WebKit::WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>): 29413 29414 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 29415 29416 Reviewed by Dimitri Glazkov. 29417 29418 Upstreaming Chromium API: Platform specific files 29419 29420 https://bugs.webkit.org/show_bug.cgi?id=28394 29421 29422 * public/gtk/WebFontInfo.h: Added. 29423 * public/gtk/WebInputEventFactory.h: Added. 29424 * public/gtk/WebScreenInfoFactory.h: Added. 29425 * public/linux/WebFontRendering.h: Added. 29426 * public/linux/WebSandboxSupport.h: Added. 29427 * public/mac/WebInputEventFactory.h: Added. 29428 * public/mac/WebScreenInfoFactory.h: Added. 29429 * public/win/WebInputEventFactory.h: Added. 29430 * public/win/WebSandboxSupport.h: Added. 29431 * public/win/WebScreenInfoFactory.h: Added. 29432 * public/win/WebThemeEngine.h: Added. 29433 * public/x11/WebScreenInfoFactory.h: Added. 29434 29435 2009-11-09 David Levin <levin (a] chromium.org> 29436 29437 Reviewed by Dmitry Titov. 29438 29439 Change struct ResourceRequest to class ResourceRequest per 29440 http://trac.webkit.org/changeset/50625. 29441 29442 * public/WebURLRequest.h: 29443 29444 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29445 29446 Reviewed by Dimitri Glazkov. 29447 29448 Upstream remaining Chromium API WebN*.h headers. 29449 29450 https://bugs.webkit.org/show_bug.cgi?id=28394 29451 29452 * public/WebNonCopyable.h: Added. 29453 (WebKit::WebNonCopyable::WebNonCopyable): 29454 (WebKit::WebNonCopyable::~WebNonCopyable): 29455 * public/WebNotification.h: Added. 29456 (WebKit::WebNotification::WebNotification): 29457 (WebKit::WebNotification::~WebNotification): 29458 (WebKit::WebNotification::operator=): 29459 (WebKit::WebNotification::equals): 29460 (WebKit::operator==): 29461 (WebKit::operator!=): 29462 (WebKit::operator<): 29463 * public/WebNotificationPermissionCallback.h: Added. 29464 (WebKit::WebNotificationPermissionCallback::~WebNotificationPermissionCallback): 29465 * public/WebNotificationPresenter.h: Added. 29466 (WebKit::WebNotificationPresenter::): 29467 29468 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29469 29470 Reviewed by Dimitri Glazkov. 29471 29472 Upstream Chromium API headers WebMessage through WebNavigation. 29473 29474 https://bugs.webkit.org/show_bug.cgi?id=28394 29475 29476 * public/WebMessagePortChannel.h: Added. 29477 (WebKit::WebMessagePortChannel::~WebMessagePortChannel): 29478 * public/WebMessagePortChannelClient.h: Added. 29479 (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient): 29480 * public/WebMimeRegistry.h: Added. 29481 (WebKit::WebMimeRegistry::): 29482 (WebKit::WebMimeRegistry::~WebMimeRegistry): 29483 * public/WebNavigationPolicy.h: Added. 29484 (WebKit::): 29485 * public/WebNavigationType.h: Added. 29486 (WebKit::): 29487 29488 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 29489 29490 Reviewed by Dimitri Glazkov. 29491 29492 Upstreaming the Chromium WebKit API: WebScreenInfo to WebSharedWorkerRepo. 29493 29494 https://bugs.webkit.org/show_bug.cgi?id=28394 29495 29496 * public/WebScreenInfo.h: Added. 29497 (WebKit::WebScreenInfo::WebScreenInfo): 29498 * public/WebScriptController.h: Added. 29499 * public/WebScriptSource.h: Added. 29500 (WebKit::WebScriptSource::WebScriptSource): 29501 * public/WebSearchableFormData.h: Added. 29502 (WebKit::WebSearchableFormData::isValid): 29503 (WebKit::WebSearchableFormData::url): 29504 (WebKit::WebSearchableFormData::encoding): 29505 * public/WebSecurityOrigin.h: Added. 29506 (WebKit::WebSecurityOrigin::~WebSecurityOrigin): 29507 (WebKit::WebSecurityOrigin::WebSecurityOrigin): 29508 (WebKit::WebSecurityOrigin::operator=): 29509 (WebKit::WebSecurityOrigin::isNull): 29510 * public/WebSecurityPolicy.h: Added. 29511 * public/WebSettings.h: Added. 29512 (WebKit::WebSettings::~WebSettings): 29513 * public/WebSharedWorker.h: Added. 29514 (WebKit::WebSharedWorker::~WebSharedWorker): 29515 * public/WebSharedWorkerRepository.h: Added. 29516 29517 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29518 29519 Reviewed by Dimitri Glazkov. 29520 29521 Upstream Chromium API headers Webkit.h thru WebMediaPlayerClient.h. 29522 29523 https://bugs.webkit.org/show_bug.cgi?id=28394 29524 29525 * public/WebKit.h: Added. 29526 * public/WebKitClient.h: Added. 29527 (WebKit::WebKitClient::~WebKitClient): 29528 * public/WebLocalizedString.h: Added. 29529 (WebKit::WebLocalizedString::): 29530 * public/WebMediaPlayer.h: Added. 29531 (WebKit::WebTimeRange::WebTimeRange): 29532 (WebKit::WebMediaPlayer::): 29533 (WebKit::WebMediaPlayer::~WebMediaPlayer): 29534 * public/WebMediaPlayerAction.h: Added. 29535 (WebKit::WebMediaPlayerAction::): 29536 (WebKit::WebMediaPlayerAction::WebMediaPlayerAction): 29537 * public/WebMediaPlayerClient.h: Added. 29538 (WebKit::WebMediaPlayerClient::~WebMediaPlayerClient): 29539 29540 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29541 29542 Reviewed by Dimitri Glazkov. 29543 29544 Upstream rest of WebH*.h and WebI*.h Chromium API headers. 29545 29546 https://bugs.webkit.org/show_bug.cgi?id=28394 29547 29548 * public/WebHTTPBody.h: Added. 29549 (WebKit::WebHTTPBody::Element::): 29550 (WebKit::WebHTTPBody::~WebHTTPBody): 29551 (WebKit::WebHTTPBody::WebHTTPBody): 29552 (WebKit::WebHTTPBody::operator=): 29553 (WebKit::WebHTTPBody::isNull): 29554 * public/WebHTTPHeaderVisitor.h: Added. 29555 (WebKit::WebHTTPHeaderVisitor::~WebHTTPHeaderVisitor): 29556 * public/WebHistoryItem.h: Added. 29557 (WebKit::WebHistoryItem::~WebHistoryItem): 29558 (WebKit::WebHistoryItem::WebHistoryItem): 29559 (WebKit::WebHistoryItem::operator=): 29560 (WebKit::WebHistoryItem::isNull): 29561 * public/WebImage.h: Added. 29562 (WebKit::WebImage::~WebImage): 29563 (WebKit::WebImage::WebImage): 29564 (WebKit::WebImage::operator=): 29565 (WebKit::WebImage::getSkBitmap): 29566 (WebKit::WebImage::init): 29567 (WebKit::WebImage::getCGImageRef): 29568 * public/WebInputEvent.h: Added. 29569 (WebKit::WebInputEvent::WebInputEvent): 29570 (WebKit::WebInputEvent::): 29571 (WebKit::WebInputEvent::isKeyboardEventType): 29572 (WebKit::WebKeyboardEvent::WebKeyboardEvent): 29573 (WebKit::WebMouseEvent::): 29574 (WebKit::WebMouseEvent::WebMouseEvent): 29575 (WebKit::WebMouseWheelEvent::WebMouseWheelEvent): 29576 29577 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 29578 29579 Reviewed by Eric Seidel. 29580 29581 Upstreaming the Chromium WebKit API: WebSockets and WebStorage. 29582 29583 https://bugs.webkit.org/show_bug.cgi?id=28394 29584 29585 * public/WebSocketStreamError.h: Added. 29586 * public/WebSocketStreamHandle.h: Added. 29587 (WebKit::WebSocketStreamHandle::~WebSocketStreamHandle): 29588 * public/WebSocketStreamHandleClient.h: Added. 29589 * public/WebStorageArea.h: Added. 29590 (WebKit::WebStorageArea::~WebStorageArea): 29591 * public/WebStorageEventDispatcher.h: Added. 29592 (WebKit::WebStorageEventDispatcher::~WebStorageEventDispatcher): 29593 * public/WebStorageNamespace.h: Added. 29594 (WebKit::WebStorageNamespace::~WebStorageNamespace): 29595 29596 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 29597 29598 Reviewed by Dimitri Glazkov. 29599 29600 Upstreaming the Chromium WebKit API: WebString and other basic objects. 29601 29602 https://bugs.webkit.org/show_bug.cgi?id=28394 29603 29604 * public/WebRange.h: Added. 29605 (WebKit::WebRange::~WebRange): 29606 (WebKit::WebRange::WebRange): 29607 (WebKit::WebRange::operator=): 29608 (WebKit::WebRange::isNull): 29609 * public/WebRect.h: Added. 29610 (WebKit::WebRect::isEmpty): 29611 (WebKit::WebRect::WebRect): 29612 (WebKit::WebRect::operator=): 29613 (WebKit::WebRect::operator WebCore::IntRect): 29614 (WebKit::WebRect::operator gfx::Rect): 29615 (WebKit::operator==): 29616 (WebKit::operator!=): 29617 * public/WebSize.h: Added. 29618 (WebKit::WebSize::isEmpty): 29619 (WebKit::WebSize::WebSize): 29620 (WebKit::WebSize::operator=): 29621 (WebKit::WebSize::operator WebCore::IntSize): 29622 (WebKit::WebSize::operator gfx::Size): 29623 (WebKit::operator==): 29624 (WebKit::operator!=): 29625 * public/WebString.h: Added. 29626 (WebKit::WebString::~WebString): 29627 (WebKit::WebString::WebString): 29628 (WebKit::WebString::operator=): 29629 (WebKit::WebString::isEmpty): 29630 (WebKit::WebString::isNull): 29631 (WebKit::WebString::operator string16): 29632 (WebKit::WebString::operator NullableString16): 29633 (WebKit::WebString::fromUTF8): 29634 29635 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 29636 29637 Reviewed by Eric Seidel. 29638 29639 Upstreaming the Chromium WebKit API: WebText* 29640 29641 https://bugs.webkit.org/show_bug.cgi?id=28394 29642 29643 * public/WebTextAffinity.h: Added. 29644 (WebKit::): 29645 * public/WebTextDirection.h: Added. 29646 (WebKit::): 29647 29648 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29649 29650 Reviewed by Dimitri Glazkov. 29651 29652 Upstream remainder of WebE*.h and WebF*.h Chromium API headers. 29653 29654 https://bugs.webkit.org/show_bug.cgi?id=28394 29655 29656 * public/WebEditingAction.h: Added. 29657 (WebKit::): 29658 * public/WebFileChooserCompletion.h: Added. 29659 (WebKit::WebFileChooserCompletion::~WebFileChooserCompletion): 29660 * public/WebFindOptions.h: Added. 29661 (WebKit::WebFindOptions::WebFindOptions): 29662 * public/WebFontCache.h: Added. 29663 * public/WebFrame.h: Added. 29664 (WebKit::WebFrame::~WebFrame): 29665 * public/WebFrameClient.h: Added. 29666 (WebKit::WebFrameClient::createPlugin): 29667 (WebKit::WebFrameClient::createWorker): 29668 (WebKit::WebFrameClient::createSharedWorker): 29669 (WebKit::WebFrameClient::createMediaPlayer): 29670 (WebKit::WebFrameClient::willClose): 29671 (WebKit::WebFrameClient::loadURLExternally): 29672 (WebKit::WebFrameClient::decidePolicyForNavigation): 29673 (WebKit::WebFrameClient::canHandleRequest): 29674 (WebKit::WebFrameClient::cannotHandleRequestError): 29675 (WebKit::WebFrameClient::cancelledError): 29676 (WebKit::WebFrameClient::unableToImplementPolicyWithError): 29677 (WebKit::WebFrameClient::willSubmitForm): 29678 (WebKit::WebFrameClient::willPerformClientRedirect): 29679 (WebKit::WebFrameClient::didCancelClientRedirect): 29680 (WebKit::WebFrameClient::didCompleteClientRedirect): 29681 (WebKit::WebFrameClient::didCreateDataSource): 29682 (WebKit::WebFrameClient::didStartProvisionalLoad): 29683 (WebKit::WebFrameClient::didReceiveServerRedirectForProvisionalLoad): 29684 (WebKit::WebFrameClient::didFailProvisionalLoad): 29685 (WebKit::WebFrameClient::didReceiveDocumentData): 29686 (WebKit::WebFrameClient::didCommitProvisionalLoad): 29687 (WebKit::WebFrameClient::didClearWindowObject): 29688 (WebKit::WebFrameClient::didCreateDocumentElement): 29689 (WebKit::WebFrameClient::didReceiveTitle): 29690 (WebKit::WebFrameClient::didFinishDocumentLoad): 29691 (WebKit::WebFrameClient::didHandleOnloadEvents): 29692 (WebKit::WebFrameClient::didFailLoad): 29693 (WebKit::WebFrameClient::didFinishLoad): 29694 (WebKit::WebFrameClient::didChangeLocationWithinPage): 29695 (WebKit::WebFrameClient::didUpdateCurrentHistoryItem): 29696 (WebKit::WebFrameClient::assignIdentifierToRequest): 29697 (WebKit::WebFrameClient::willSendRequest): 29698 (WebKit::WebFrameClient::didReceiveResponse): 29699 (WebKit::WebFrameClient::didFinishResourceLoad): 29700 (WebKit::WebFrameClient::didFailResourceLoad): 29701 (WebKit::WebFrameClient::didLoadResourceFromMemoryCache): 29702 (WebKit::WebFrameClient::didDisplayInsecureContent): 29703 (WebKit::WebFrameClient::didRunInsecureContent): 29704 (WebKit::WebFrameClient::allowScript): 29705 (WebKit::WebFrameClient::didExhaustMemoryAvailableForScript): 29706 (WebKit::WebFrameClient::didCreateScriptContext): 29707 (WebKit::WebFrameClient::didDestroyScriptContext): 29708 (WebKit::WebFrameClient::didCreateIsolatedScriptContext): 29709 (WebKit::WebFrameClient::didChangeContentsSize): 29710 (WebKit::WebFrameClient::didChangeScrollOffset): 29711 (WebKit::WebFrameClient::reportFindInPageMatchCount): 29712 (WebKit::WebFrameClient::reportFindInPageSelection): 29713 (WebKit::WebFrameClient::~WebFrameClient): 29714 29715 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29716 29717 Reviewed by Dimitri Glazkov. 29718 29719 Upstream WebDevTools*.h and WebDrag*.h Chromium API headers. 29720 29721 https://bugs.webkit.org/show_bug.cgi?id=28394 29722 29723 * public/WebDevToolsAgent.h: Added. 29724 (WebKit::WebDevToolsAgent::~WebDevToolsAgent): 29725 * public/WebDevToolsAgentClient.h: Added. 29726 (WebKit::WebDevToolsAgentClient::~WebDevToolsAgentClient): 29727 * public/WebDevToolsFrontend.h: Added. 29728 (WebKit::WebDevToolsFrontend::~WebDevToolsFrontend): 29729 * public/WebDevToolsFrontendClient.h: Added. 29730 (WebKit::WebDevToolsFrontendClient::WebDevToolsFrontendClient): 29731 (WebKit::WebDevToolsFrontendClient::~WebDevToolsFrontendClient): 29732 * public/WebDragData.h: Added. 29733 (WebKit::WebDragData::~WebDragData): 29734 (WebKit::WebDragData::WebDragData): 29735 (WebKit::WebDragData::operator=): 29736 (WebKit::WebDragData::isNull): 29737 * public/WebDragOperation.h: Added. 29738 (WebKit::): 29739 29740 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 29741 29742 Reviewed by Dimitri Glazkov. 29743 29744 Upstreaming the Chromium WebKit API: WebURL and friends. 29745 29746 https://bugs.webkit.org/show_bug.cgi?id=28394 29747 29748 * public/WebURL.h: Added. 29749 (WebKit::WebURL::~WebURL): 29750 (WebKit::WebURL::WebURL): 29751 (WebKit::WebURL::operator=): 29752 (WebKit::WebURL::assign): 29753 (WebKit::WebURL::spec): 29754 (WebKit::WebURL::parsed): 29755 (WebKit::WebURL::isValid): 29756 (WebKit::WebURL::isEmpty): 29757 (WebKit::WebURL::isNull): 29758 (WebKit::WebURL::operator GURL): 29759 * public/WebURLError.h: Added. 29760 (WebKit::WebURLError::WebURLError): 29761 * public/WebURLLoader.h: Added. 29762 (WebKit::WebURLLoader::~WebURLLoader): 29763 * public/WebURLLoaderClient.h: Added. 29764 (WebKit::WebURLLoaderClient::~WebURLLoaderClient): 29765 * public/WebURLRequest.h: Added. 29766 (WebKit::WebURLRequest::): 29767 (WebKit::WebURLRequest::~WebURLRequest): 29768 (WebKit::WebURLRequest::WebURLRequest): 29769 (WebKit::WebURLRequest::operator=): 29770 * public/WebURLResponse.h: Added. 29771 (WebKit::WebURLResponse::~WebURLResponse): 29772 (WebKit::WebURLResponse::WebURLResponse): 29773 (WebKit::WebURLResponse::operator=): 29774 29775 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 29776 29777 Reviewed by Dimitri Glazkov. 29778 29779 Upstreaming the Chromium WebKit API: WebVector to WebWorkerClient 29780 29781 https://bugs.webkit.org/show_bug.cgi?id=28394 29782 29783 * public/WebVector.h: Added. 29784 (WebKit::WebVector::~WebVector): 29785 (WebKit::WebVector::WebVector): 29786 (WebKit::WebVector::operator=): 29787 (WebKit::WebVector::assign): 29788 (WebKit::WebVector::size): 29789 (WebKit::WebVector::isEmpty): 29790 (WebKit::WebVector::operator[]): 29791 (WebKit::WebVector::data): 29792 (WebKit::WebVector::swap): 29793 (WebKit::WebVector::initialize): 29794 (WebKit::WebVector::initializeFrom): 29795 (WebKit::WebVector::destroy): 29796 * public/WebView.h: Added. 29797 (WebKit::WebView::~WebView): 29798 * public/WebViewClient.h: Added. 29799 (WebKit::WebViewClient::createView): 29800 (WebKit::WebViewClient::createPopupMenu): 29801 (WebKit::WebViewClient::didAddMessageToConsole): 29802 (WebKit::WebViewClient::printPage): 29803 (WebKit::WebViewClient::notificationPresenter): 29804 (WebKit::WebViewClient::didStartLoading): 29805 (WebKit::WebViewClient::didStopLoading): 29806 (WebKit::WebViewClient::shouldBeginEditing): 29807 (WebKit::WebViewClient::shouldEndEditing): 29808 (WebKit::WebViewClient::shouldInsertNode): 29809 (WebKit::WebViewClient::shouldInsertText): 29810 (WebKit::WebViewClient::shouldChangeSelectedRange): 29811 (WebKit::WebViewClient::shouldDeleteRange): 29812 (WebKit::WebViewClient::shouldApplyStyle): 29813 (WebKit::WebViewClient::isSmartInsertDeleteEnabled): 29814 (WebKit::WebViewClient::isSelectTrailingWhitespaceEnabled): 29815 (WebKit::WebViewClient::setInputMethodEnabled): 29816 (WebKit::WebViewClient::didBeginEditing): 29817 (WebKit::WebViewClient::didChangeSelection): 29818 (WebKit::WebViewClient::didChangeContents): 29819 (WebKit::WebViewClient::didExecuteCommand): 29820 (WebKit::WebViewClient::didEndEditing): 29821 (WebKit::WebViewClient::handleCurrentKeyboardEvent): 29822 (WebKit::WebViewClient::spellCheck): 29823 (WebKit::WebViewClient::autoCorrectWord): 29824 (WebKit::WebViewClient::showSpellingUI): 29825 (WebKit::WebViewClient::isShowingSpellingUI): 29826 (WebKit::WebViewClient::updateSpellingUIWithMisspelledWord): 29827 (WebKit::WebViewClient::runFileChooser): 29828 (WebKit::WebViewClient::runModalAlertDialog): 29829 (WebKit::WebViewClient::runModalConfirmDialog): 29830 (WebKit::WebViewClient::runModalPromptDialog): 29831 (WebKit::WebViewClient::runModalBeforeUnloadDialog): 29832 (WebKit::WebViewClient::setStatusText): 29833 (WebKit::WebViewClient::setMouseOverURL): 29834 (WebKit::WebViewClient::setKeyboardFocusURL): 29835 (WebKit::WebViewClient::setToolTipText): 29836 (WebKit::WebViewClient::showContextMenu): 29837 (WebKit::WebViewClient::startDragging): 29838 (WebKit::WebViewClient::acceptsLoadDrops): 29839 (WebKit::WebViewClient::focusNext): 29840 (WebKit::WebViewClient::focusPrevious): 29841 (WebKit::WebViewClient::navigateBackForwardSoon): 29842 (WebKit::WebViewClient::historyBackListCount): 29843 (WebKit::WebViewClient::historyForwardListCount): 29844 (WebKit::WebViewClient::didAddHistoryItem): 29845 (WebKit::WebViewClient::focusAccessibilityObject): 29846 (WebKit::WebViewClient::didUpdateInspectorSettings): 29847 (WebKit::WebViewClient::queryAutofillSuggestions): 29848 (WebKit::WebViewClient::removeAutofillSuggestions): 29849 (WebKit::WebViewClient::~WebViewClient): 29850 * public/WebWidget.h: Added. 29851 (WebKit::WebWidget::~WebWidget): 29852 * public/WebWidgetClient.h: Added. 29853 (WebKit::WebWidgetClient::didInvalidateRect): 29854 (WebKit::WebWidgetClient::didScrollRect): 29855 (WebKit::WebWidgetClient::didFocus): 29856 (WebKit::WebWidgetClient::didBlur): 29857 (WebKit::WebWidgetClient::didChangeCursor): 29858 (WebKit::WebWidgetClient::closeWidgetSoon): 29859 (WebKit::WebWidgetClient::show): 29860 (WebKit::WebWidgetClient::runModal): 29861 (WebKit::WebWidgetClient::windowRect): 29862 (WebKit::WebWidgetClient::setWindowRect): 29863 (WebKit::WebWidgetClient::windowResizerRect): 29864 (WebKit::WebWidgetClient::rootWindowRect): 29865 (WebKit::WebWidgetClient::screenInfo): 29866 (WebKit::WebWidgetClient::~WebWidgetClient): 29867 * public/WebWorker.h: Added. 29868 (WebKit::WebWorker::~WebWorker): 29869 * public/WebWorkerClient.h: Added. 29870 (WebKit::WebWorkerClient::~WebWorkerClient): 29871 29872 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29873 29874 Reviewed by Dimitri Glazkov. 29875 29876 Upstream WebData*.h Chromium API files. 29877 29878 https://bugs.webkit.org/show_bug.cgi?id=28394 29879 29880 * public/WebData.h: Added. 29881 (WebKit::WebData::~WebData): 29882 (WebKit::WebData::WebData): 29883 (WebKit::WebData::operator=): 29884 (WebKit::WebData::isEmpty): 29885 (WebKit::WebData::isNull): 29886 * public/WebDataSource.h: Added. 29887 (WebKit::WebDataSource::ExtraData::~ExtraData): 29888 (WebKit::WebDataSource::~WebDataSource): 29889 * public/WebDatabase.h: Added. 29890 (WebKit::WebDatabase::WebDatabase): 29891 (WebKit::WebDatabase::~WebDatabase): 29892 (WebKit::WebDatabase::operator=): 29893 (WebKit::WebDatabase::isNull): 29894 * public/WebDatabaseObserver.h: Added. 29895 (WebKit::WebDatabaseObserver::~WebDatabaseObserver): 29896 29897 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29898 29899 Reviewed by Dimitri Glazkov. 29900 29901 Upstream the last of the Chromium API WebC*.h files. 29902 29903 https://bugs.webkit.org/show_bug.cgi?id=28394 29904 29905 * public/WebConsoleMessage.h: Added. 29906 (WebKit::WebConsoleMessage::): 29907 (WebKit::WebConsoleMessage::WebConsoleMessage): 29908 * public/WebContextMenuData.h: Added. 29909 (WebKit::WebContextMenuData::): 29910 * public/WebCookie.h: Added. 29911 (WebKit::WebCookie::WebCookie): 29912 * public/WebCrossOriginPreflightResultCache.h: Added. 29913 * public/WebCursorInfo.h: Added. 29914 (WebKit::WebCursorInfo::): 29915 (WebKit::WebCursorInfo::WebCursorInfo): 29916 29917 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29918 29919 Reviewed by Dimitri Glazkov. 29920 29921 More WebC*.h upstreaming. 29922 29923 https://bugs.webkit.org/show_bug.cgi?id=28394 29924 29925 * public/WebCString.h: Added. 29926 (WebKit::WebCString::~WebCString): 29927 (WebKit::WebCString::WebCString): 29928 (WebKit::WebCString::operator=): 29929 (WebKit::WebCString::isEmpty): 29930 (WebKit::WebCString::isNull): 29931 (WebKit::WebCString::operator std::string): 29932 (WebKit::WebCString::fromUTF16): 29933 * public/WebColorName.h: Added. 29934 (WebKit::): 29935 * public/WebCommon.h: Added. 29936 * public/WebCommonWorkerClient.h: Added. 29937 (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient): 29938 * public/WebCompositionCommand.h: Added. 29939 (WebKit::): 29940 29941 2009-11-09 Yaar Schnitman <yaar (a] chromium.org> 29942 29943 Reviewed by Dimitri Glazkov. 29944 29945 Upstreaming the Chromium WebKit API: WebNode.h and friends are thin wrappers around WebCore::Nodes 29946 29947 https://bugs.webkit.org/show_bug.cgi?id=28394 29948 29949 * public/WebElement.h: Added. 29950 (WebKit::WebElement::WebElement): 29951 (WebKit::WebElement::operator=): 29952 (WebKit::WebElement::assign): 29953 * public/WebFormElement.h: Added. 29954 (WebKit::WebFormElement::~WebFormElement): 29955 (WebKit::WebFormElement::WebFormElement): 29956 (WebKit::WebFormElement::operator=): 29957 (WebKit::WebFormElement::assign): 29958 * public/WebInputElement.h: Added. 29959 (WebKit::WebInputElement::WebInputElement): 29960 (WebKit::WebInputElement::operator=): 29961 (WebKit::WebInputElement::assign): 29962 * public/WebNode.h: Added. 29963 (WebKit::WebNode::~WebNode): 29964 (WebKit::WebNode::WebNode): 29965 (WebKit::WebNode::operator=): 29966 (WebKit::WebNode::isNull): 29967 (WebKit::WebNode::toElement): 29968 (WebKit::WebNode::unwrap): 29969 (WebKit::WebNode::constUnwrap): 29970 29971 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29972 29973 Reviewed by Dimitri Glazkov. 29974 29975 WebKit Chromium API upstreaming, WebBindings.h through WebColor.h. 29976 29977 * public/WebBindings.h: Added. 29978 * public/WebCache.h: Added. 29979 * public/WebCanvas.h: Added. 29980 * public/WebClipboard.h: Added. 29981 (WebKit::WebClipboard::): 29982 (WebKit::WebClipboard::~WebClipboard): 29983 * public/WebColor.h: Added. 29984 29985 2009-11-09 Nate Chapin <japhet (a] chromium.org> 29986 29987 Reviewed by Dimitri Glazkov. 29988 29989 Starting upstreaming the Chromium WebKit API. public/ contains header files only. 29990 29991 https://bugs.webkit.org/show_bug.cgi?id=28394 29992 29993 * ChangeLog: First!! 29994 * public: Added. 29995 * public/WebAccessibilityCache.h: Added. 29996 (WebKit::WebAccessibilityCache::WebAccessibilityCache): 29997 (WebKit::WebAccessibilityCache::~WebAccessibilityCache): 29998 * public/WebAccessibilityObject.h: Added. 29999 (WebKit::WebAccessibilityObject::~WebAccessibilityObject): 30000 (WebKit::WebAccessibilityObject::WebAccessibilityObject): 30001 (WebKit::WebAccessibilityObject::operator=): 30002 (WebKit::WebAccessibilityObject::isNull): 30003 * public/WebAccessibilityRole.h: Added. 30004 (WebKit::): 30005 * public/WebApplicationCacheHost.h: Added. 30006 (WebKit::WebApplicationCacheHost::): 30007 (WebKit::WebApplicationCacheHost::~WebApplicationCacheHost): 30008 * public/WebApplicationCacheHostClient.h: Added. 30009 (WebKit::WebApplicationCacheHostClient::~WebApplicationCacheHostClient): 30010