1 2011-04-19 Dirk Pranke <dpranke@chromium.org>
3 Unreviewed, attempting build fix.
5 Disable leveldb to work around
6 http://code.google.com/p/leveldb/issues/detail?id=1.
10 2011-04-19 Dominic Cooney <dominicc@chromium.org>
12 Reviewed by Dimitri Glazkov.
14 Check the type of the wrapper when unwrapping NPObjects to native
16 https://bugs.webkit.org/show_bug.cgi?id=58957
18 * src/WebBindings.cpp:
19 (WebKit::getRangeImpl): check HasInstance
20 (WebKit::getElementImpl): check HasInstance
22 2011-04-19 Evan Martin <evan@chromium.org>
24 Reviewed by Darin Fisher.
26 [chromium] didReceiveTitle API signature should not change
27 https://bugs.webkit.org/show_bug.cgi?id=58909
29 My previous attempt at a temporary shim was wrong.
30 This second try should correctly work with older clients.
32 * public/WebFrameClient.h:
33 (WebKit::WebFrameClient::didReceiveTitle):
35 2011-04-19 Jungshik Shin <jshin@chromium.org>
37 Reviewed by Adam Barth
39 Fix the compile failure in UniscribeHelperTest.cpp due to
40 a change in UniscribeHelper made by the CL for bug 48860
43 http://bugs.webkit.org/show_bug.cgi?id=48860
45 * tests/UniscribeHelperTest.cpp:
48 2011-04-19 Stuart Morgan <stuartmorgan@chromium.org>
50 Reviewed by Tony Chang.
52 [chromium] Clicking on plugin for first time blocks focus shift
53 https://bugs.webkit.org/show_bug.cgi?id=58419
55 Switched to using FocusController when moving focus to a plugin
56 so that cross-frame focus changes are handled correctly.
58 * src/WebPluginContainerImpl.cpp:
59 (WebKit::WebPluginContainerImpl::handleMouseEvent):
61 2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>
63 Reviewed by Pavel Feldman.
65 Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
66 https://bugs.webkit.org/show_bug.cgi?id=58883
68 Renamed lengthReceived to encodedDataLength/dataLength.
70 * public/WebURLLoaderClient.h:
71 (WebKit::WebURLLoaderClient::didReceiveData):
72 * src/AssociatedURLLoader.cpp:
73 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
74 * src/FrameLoaderClientImpl.cpp:
75 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
76 * src/FrameLoaderClientImpl.h:
77 * src/ResourceHandle.cpp:
78 (WebCore::ResourceHandleInternal::didReceiveData):
80 2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>
82 Reviewed by Pavel Feldman.
84 Chromium DevTools: Network panel timing test is flaky
85 https://bugs.webkit.org/show_bug.cgi?id=58699
87 Fixed network timing test flakiness.
90 (.TestSuite.prototype.testNetworkTiming.finishResource):
92 2011-04-19 Andrey Kosyakov <caseq@chromium.org>
94 Reviewed by Pavel Feldman.
96 Web Inspector: add chrome.devTools alias to webInspector namespace for chromium port
97 https://bugs.webkit.org/show_bug.cgi?id=58894
100 (WebInspector.platformExtensionAPI):
102 2011-04-19 Kinuko Yasuda <kinuko@chromium.org>
104 Not reviewed; another build fix attempt.
106 * src/StorageInfoChromium.cpp:
107 (WebCore::StorageInfo::queryUsageAndQuota):
108 (WebCore::StorageInfo::requestQuota):
109 * src/WebStorageQuotaCallbacksImpl.cpp:
110 (WebKit::WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl):
111 * src/WebStorageQuotaCallbacksImpl.h:
113 2011-04-19 Kinuko Yasuda <kinuko@chromium.org>
115 Reviewed by David Levin.
117 [Chromium] Enable QUOTA API at runtime if enable-quota flag is given
118 https://bugs.webkit.org/show_bug.cgi?id=58784
120 * features.gypi: Added ENABLE_QUOTA=1.
121 * public/WebRuntimeFeatures.h:
122 * src/WebRuntimeFeatures.cpp:
123 (WebKit::WebRuntimeFeatures::enableQuota): Added.
124 (WebKit::WebRuntimeFeatures::isQuotaEnabled): Added.
126 2011-04-19 John Gregg <johnnyg@google.com>
128 Reviewed by Darin Fisher.
130 Enable folder drag-n-drop when using a "webkitdirectory" file input
131 https://bugs.webkit.org/show_bug.cgi?id=58401
133 This uses a new ChromeClient API to enumerate the directory and
134 return all the files, as if the user had selected that directory
135 by clicking the control in the normal way.
137 * public/WebViewClient.h:
138 (WebKit::WebViewClient::enumerateChosenDirectory):
139 * src/ChromeClientImpl.cpp:
140 (WebKit::ChromeClientImpl::enumerateChosenDirectory):
141 * src/ChromeClientImpl.h:
143 2011-04-18 Evan Martin <evan@chromium.org>
145 Reviewed by Eric Seidel.
147 [chromium] expose title direction to webkit client
148 https://bugs.webkit.org/show_bug.cgi?id=58823
150 * public/WebFrameClient.h:
151 (WebKit::WebFrameClient::didReceiveTitle):
152 Add new param to API.
154 * src/FrameLoaderClientImpl.cpp:
155 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
156 Pass new param in API.
158 2011-04-17 Patrick Gansterer <paroga@webkit.org>
160 Reviewed by Adam Barth.
162 Rename PLATFORM(CG) to USE(CG)
163 https://bugs.webkit.org/show_bug.cgi?id=58729
165 * src/GraphicsContext3DChromium.cpp:
166 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
167 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
168 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
169 (WebCore::GraphicsContext3DInternal::reshape):
170 * src/GraphicsContext3DInternal.h:
171 * src/PlatformBridge.cpp:
172 * src/WebViewImpl.cpp:
173 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
175 2011-04-15 John Bates <jbates@google.com>
177 Reviewed by Kenneth Russell.
179 Change WebGraphicsContext3D virtuals to pure virtuals as intended
180 https://bugs.webkit.org/show_bug.cgi?id=58479
182 * public/WebGraphicsContext3D.h:
184 2011-04-15 Shishir Agrawal <shishir@chromium.org>
186 Reviewed by James Robinson.
188 Add a flag to guard Page Visibility API changes.
189 https://bugs.webkit.org/show_bug.cgi?id=58464
193 2011-04-15 Charlie Reis <creis@chromium.org>
195 Reviewed by Darin Fisher.
197 [Chromium] fast/events/popup-allowed-from-gesture-initiated-form-submit.html causing debug ASSERT
198 https://bugs.webkit.org/show_bug.cgi?id=44079
200 Remove an assert whose invariant doesn't hold.
202 * src/FrameLoaderClientImpl.cpp:
204 2011-04-15 Kinuko Yasuda <kinuko@chromium.org>
206 Reviewed by David Levin.
208 Expose unified Quota API if QUOTA build flag is enabled
209 https://bugs.webkit.org/show_bug.cgi?id=58648
211 * src/AssertMatchingEnums.cpp: Added enum assertions.
212 * src/StorageInfoChromium.cpp: Made a build fix.
214 2011-04-15 Vsevolod Vlasov <vsevik@chromium.org>
216 Reviewed by Pavel Feldman.
218 Web Inspector: Rename rawRequestHeadersText and RawResponseHeadersText to requestHeadersText and responseHeadersText
219 https://bugs.webkit.org/show_bug.cgi?id=58650
221 * public/WebHTTPLoadInfo.h:
222 * src/WebHTTPLoadInfo.cpp:
223 (WebKit::WebHTTPLoadInfo::requestHeadersText):
224 (WebKit::WebHTTPLoadInfo::setRequestHeadersText):
225 (WebKit::WebHTTPLoadInfo::responseHeadersText):
226 (WebKit::WebHTTPLoadInfo::setResponseHeadersText):
228 2011-04-15 Zelidrag Hornung <zelidrag@chromium.org>
230 Reviewed by Darin Fisher.
232 Added enums for external file system type and exposed factory function
233 for creating File- and DirectoryEntry objects from Chromium side.
234 https://bugs.webkit.org/show_bug.cgi?id=58456
236 * public/WebFileSystem.h:
238 * src/AssertMatchingEnums.cpp:
239 * src/WebFrameImpl.cpp:
240 (WebKit::WebFrameImpl::createFileSystem):
241 (WebKit::WebFrameImpl::createFileEntry):
242 * src/WebFrameImpl.h:
244 2011-04-15 Vsevolod Vlasov <vsevik@chromium.org>
246 Reviewed by Pavel Feldman.
248 Web Inspector: [Chromium] Create tests for network panel timing, size and raw headers text
249 https://bugs.webkit.org/show_bug.cgi?id=58566
251 Added network timing, size and raw headers tests for Inspector
252 Since chromium used different version of network stack for layout
253 tests, these are interactive ui tests (DevToolsSanityTest.TestNetwork*)
256 (.TestSuite.prototype.testNetworkSize.finishResource):
257 (.TestSuite.prototype.testNetworkSyncSize.finishResource):
258 (.TestSuite.prototype.testNetworkRawHeadersText.finishResource):
259 (.TestSuite.prototype.testNetworkTiming.finishResource):
261 2011-04-14 Vsevolod Vlasov <vsevik@chromium.org>
263 Reviewed by Pavel Feldman.
265 Web Inspector: Enable raw HTTP headers support
266 https://bugs.webkit.org/show_bug.cgi?id=58259
268 Added raw headers text support to inspector.
270 * public/WebHTTPLoadInfo.h:
271 * src/WebHTTPLoadInfo.cpp:
272 (WebKit::WebHTTPLoadInfo::rawRequestHeadersText):
273 (WebKit::WebHTTPLoadInfo::setRawRequestHeadersText):
274 (WebKit::WebHTTPLoadInfo::rawResponseHeadersText):
275 (WebKit::WebHTTPLoadInfo::setRawResponseHeadersText):
277 2011-04-14 Vsevolod Vlasov <vsevik@chromium.org>
279 Reviewed by Pavel Feldman.
281 Web Inspector: ResourceResponse should have encodedDataLength field for synchronous requests transfer size
282 https://bugs.webkit.org/show_bug.cgi?id=58447
284 FrameLoader now takes encoded data length for synchronous requests from the field with the same name.
286 * public/WebHTTPLoadInfo.h:
287 * src/WebHTTPLoadInfo.cpp:
288 (WebKit::WebHTTPLoadInfo::encodedDataLength):
289 (WebKit::WebHTTPLoadInfo::setEncodedDataLength):
291 2011-04-14 Alok Priyadarshi <alokp@chromium.org>
293 Reviewed by James Robinson.
295 Remove dependency on chromium skia::PlatformCanvas
296 https://bugs.webkit.org/show_bug.cgi?id=57563
298 * public/WebCanvas.h:
299 * src/WebFrameImpl.cpp:
300 (WebKit::WebFrameImpl::printPage):
301 * tests/TransparencyWinTest.cpp:
302 (WebCore::drawNativeRect):
303 (WebCore::getPixelAt):
304 (WebCore::clearTopLayerAlphaChannel):
305 (WebCore::clearTopLayerAlphaPixel):
308 2011-04-14 Brian Salomon <bsalomon@google.com>
310 Reviewed by Kenneth Russell.
312 In skia platform call SkBitmap::notifyPixelsChanged on WebGL readback
313 https://bugs.webkit.org/show_bug.cgi?id=58543
315 No new tests. Tested by fast/canvas/webgl/canvas-test.html
317 * src/GraphicsContext3DChromium.cpp:
318 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
320 2011-04-14 Adrienne Walker <enne@google.com>
322 Reviewed by James Robinson.
324 [chromium] TilingData should return 1 tile if tile size is texture size.
325 https://bugs.webkit.org/show_bug.cgi?id=58364
327 Update test to properly handle this case.
329 * tests/TilingDataTest.cpp:
332 2011-04-14 Bill Budge <bbudge@chromium.org>
334 Reviewed by Darin Fisher.
336 Make WebURLLoaderOptions disallow cross origin requests by default.
337 https://bugs.webkit.org/show_bug.cgi?id=58475
339 No new tests. Exposes no new functionality.
341 * public/WebURLLoaderOptions.h:
342 (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
344 2011-04-13 James Robinson <jamesr@chromium.org>
346 Reviewed by Simon Fraser.
348 Allow setting composited backing stores for scrollbars and scroll corners
349 https://bugs.webkit.org/show_bug.cgi?id=57202
351 Remove a lot of scrollbar hacks from the chromium compositor implementation now that
352 scrollbars go to real layers.
354 * src/WebScrollbarImpl.cpp:
355 (WebKit::WebScrollbarImpl::invalidateScrollCornerRect):
356 (WebKit::WebScrollbarImpl::scrollCornerPresent):
357 * src/WebScrollbarImpl.h:
358 (WebKit::WebScrollbarImpl::scrollCornerRect):
359 * src/WebViewImpl.cpp:
360 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
361 (WebKit::WebViewImpl::reallocateRenderer):
363 2011-04-13 John Abd-El-Malek <jam@chromium.org>
367 [chromium] Remove unnecessary #define now that chrome has rolled to the latest WebKit
368 https://bugs.webkit.org/show_bug.cgi?id=58474
371 * public/WebSpellCheckClient.h:
373 2011-04-13 Zhenyao Mo <zmo@google.com>
375 Reviewed by Kenneth Russell.
377 Extension3D needs to provide a way to check if an extension is enabled
378 https://bugs.webkit.org/show_bug.cgi?id=58410
380 Implement isEnabled() in chromium port.
382 * src/Extensions3DChromium.cpp:
383 (WebCore::Extensions3DChromium::isEnabled):
384 * src/GraphicsContext3DChromium.cpp:
385 (WebCore::GraphicsContext3DInternal::isExtensionEnabled):
386 * src/GraphicsContext3DInternal.h:
388 2011-04-13 Kinuko Yasuda <kinuko@chromium.org>
390 Reviewed by David Levin.
392 Add mock implementation and plumbing code for unified Quota API
393 https://bugs.webkit.org/show_bug.cgi?id=57927
395 Added plumbing code for the quota API, that is based on the
396 discussion on public-webapps:
397 http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0346.html
399 * WebKit.gyp: Added new file entries.
400 * src/StorageInfoChromium.cpp: Added.
401 * src/WebStorageQuotaCallbacksImpl.cpp: Added. An implementation of
402 WebStorageQuotaCallbacks.
403 * src/WebStorageQuotaCallbacksImpl.h: Added.
405 2011-04-12 Hans Wennborg <hans@chromium.org>
407 Reviewed by Jeremy Orlow.
409 Chromium: Set ENABLE_LEVELDB=1 and add leveldb and snappy to DEPS
410 https://bugs.webkit.org/show_bug.cgi?id=58343
412 Set ENABLE_LEVELDB=1 so that code gets compiled by the EWS bots.
413 Add the necessary dependencies to the DEPS file.
418 2011-04-12 Kent Tamura <tkent@chromium.org>
420 Reviewed by Dimitri Glazkov.
422 [Chromium] Add WebSettings::setValidationMessageTimerMagnification()
423 https://bugs.webkit.org/show_bug.cgi?id=57426
425 * public/WebSettings.h: Declare new function.
426 * src/WebSettingsImpl.cpp:
427 (WebKit::WebSettingsImpl::setValidationMessageTimerMagnification):
428 Passing the specified value to WebCore::Settings.
429 * src/WebSettingsImpl.h: Declare new function.
431 2011-04-12 Antoine Labour <piman@chromium.org>
433 Reviewed by Kenneth Russell.
435 Allow WebView users to recreate dependent contexts after a context lost
436 event. Similarly to the startup case, a temporary context gets created,
437 that gets used by the layer renderer once it itself gets recreated.
438 https://bugs.webkit.org/show_bug.cgi?id=58385
440 * src/WebViewImpl.cpp:
441 (WebKit::WebViewImpl::reallocateRenderer): use the temporary context to
442 recreate the layer renderer if it's valid.
443 (WebKit::WebViewImpl::graphicsContext3D): create a temporary context if
444 the layer renderer's context is lost.
446 2011-04-12 Adrienne Walker <enne@google.com>
448 Reviewed by James Robinson.
450 [chromium] TilingData mishandles very small texture sizes
451 https://bugs.webkit.org/show_bug.cgi?id=58364
453 Update test to properly handle texture sizes of 0-3.
455 * tests/TilingDataTest.cpp:
458 2011-04-12 Jian Li <jianli@chromium.org>
460 Unreviewed, rolling out r83649.
461 http://trac.webkit.org/changeset/83649
462 https://bugs.webkit.org/show_bug.cgi?id=57563
464 This patch causes compiling errors for chromium
466 * public/WebCanvas.h:
467 * src/WebFrameImpl.cpp:
468 (WebKit::WebFrameImpl::printPage):
469 * tests/TransparencyWinTest.cpp:
470 (WebCore::drawNativeRect):
471 (WebCore::getPixelAt):
472 (WebCore::clearTopLayerAlphaChannel):
473 (WebCore::clearTopLayerAlphaPixel):
476 2011-04-12 John Abd-El-Malek <jam@chromium.org>
480 [chromium] Fix spellcheck regression in context menus
481 https://bugs.webkit.org/show_bug.cgi?id=58386
483 * src/ContextMenuClientImpl.cpp:
484 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
486 2011-04-12 Noel Gordon <noel.gordon@gmail.com>
488 Reviewed by Tony Chang.
490 [chromium] Use new dragTargetDragEnter() function signature
491 https://bugs.webkit.org/show_bug.cgi?id=58303
493 After WebKit/chromium/DEPS rolls to chromium r80907, the drag identity
494 based version of dragTargetDragEnter() is no longer used; remove it.
497 * src/WebViewImpl.cpp:
500 2011-04-12 Alok Priyadarshi <alokp@chromium.org>
502 Reviewed by James Robinson.
504 Remove dependency on chromium skia::PlatformCanvas
505 https://bugs.webkit.org/show_bug.cgi?id=57563
507 * public/WebCanvas.h:
508 * src/WebFrameImpl.cpp:
509 (WebKit::WebFrameImpl::printPage):
510 * tests/TransparencyWinTest.cpp:
511 (WebCore::drawNativeRect):
512 (WebCore::getPixelAt):
513 (WebCore::clearTopLayerAlphaChannel):
514 (WebCore::clearTopLayerAlphaPixel):
517 2011-04-12 Adam Barth <abarth@webkit.org>
519 Revert unintentional changes to WebKit.
521 * public/WebSettings.h:
522 * src/WebSettingsImpl.cpp:
523 * src/WebSettingsImpl.h:
525 2011-04-11 John Abd-El-Malek <jam@chromium.org>
527 Reviewed by Darin Fisher.
529 [chromium]: Get the list of misspelled words in the WebKit code insetad of in chromium's RenderView
530 https://bugs.webkit.org/show_bug.cgi?id=58260
532 * public/WebContextMenuData.h:
533 * public/WebSpellCheckClient.h:
534 (WebKit::WebSpellCheckClient::spellCheck):
535 * src/ContextMenuClientImpl.cpp:
536 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
537 * src/EditorClientImpl.cpp:
538 (WebKit::EditorClientImpl::checkSpellingOfString):
540 2011-04-12 Bill Budge <bbudge@chromium.org>
542 Reviewed by Darin Fisher.
544 Move the WebURLLoaderOptions struct into its own file and rename the CrossOriginRequestPolicy enum to conform to the WebKit coding standard.
545 https://bugs.webkit.org/show_bug.cgi?id=58287
547 No new tests. No new functionality exposed.
550 * public/WebURLLoader.h:
551 * public/WebURLLoaderOptions.h: Added.
552 (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
553 * src/AssociatedURLLoader.cpp:
554 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
555 * src/AssociatedURLLoader.h:
557 2011-04-11 Pavel Podivilov <podivilov@chromium.org>
559 Reviewed by Pavel Feldman.
561 Web Inspector: [chromium] script formatting doesn't work when chromium is built with debug_devtools=1.
562 https://bugs.webkit.org/show_bug.cgi?id=58232
566 2011-04-11 John Bates <jbates@google.com>
568 Reviewed by Kenneth Russell.
570 chromium support for glSetLatch and glWaitLatch between 3D contexts
571 https://bugs.webkit.org/show_bug.cgi?id=58003
573 * public/WebGraphicsContext3D.h:
574 (WebKit::WebGraphicsContext3D::getParentToChildLatchCHROMIUM):
575 (WebKit::WebGraphicsContext3D::getChildToParentLatchCHROMIUM):
576 (WebKit::WebGraphicsContext3D::waitLatchCHROMIUM):
577 (WebKit::WebGraphicsContext3D::setLatchCHROMIUM):
578 * src/Extensions3DChromium.cpp:
579 (WebCore::Extensions3DChromium::waitLatchCHROMIUM):
580 (WebCore::Extensions3DChromium::setLatchCHROMIUM):
581 * src/GraphicsContext3DChromium.cpp:
582 * src/GraphicsContext3DInternal.h:
584 2011-04-11 Ryosuke Niwa <rniwa@webkit.org>
586 Reviewed by Tony Chang.
588 [chromium] Crash in WebViewImpl::caretOrSelectionBounds
589 https://bugs.webkit.org/show_bug.cgi?id=58269
591 The bug was caused by caretOrSelectionBounds's incorrectly assuming
592 SelectionController::toNormalizedRange to always return a non-null Range.
594 Fixed the bug by adding a null pointer check. Also replaced calls to deprecatedNode
595 by containerNode() and calls to SelectionController::start() and SelectionController::end()
596 by calls to SelectionController::base() and SelectionController::extent() because
597 selection extends from base to extent, not from start to end.
599 Test: editing/selection/extend-over-file-input-by-drag-crash.html
601 * src/WebViewImpl.cpp:
602 (WebKit::WebViewImpl::caretOrSelectionBounds):
604 2011-04-11 Dimitri Glazkov <dglazkov@chromium.org>
606 Reviewed by Eric Carlson.
608 Rename MediaControls to MediaControlRootElement.
609 https://bugs.webkit.org/show_bug.cgi?id=58250
611 Mechanical move using do-webcore-rename.
613 2011-04-11 Daniel Cheng <dcheng@chromium.org>
615 Reviewed by Dmitry Titov.
617 [chromium] Implement image/png support in DataTransferItems
618 https://bugs.webkit.org/show_bug.cgi?id=58106
620 Add glue for reading image data from clipboard.
623 * src/PlatformBridge.cpp:
624 (WebCore::PlatformBridge::clipboardReadImage):
626 2011-04-05 Hans Wennborg <hans@chromium.org>
628 Reviewed by Steve Block.
630 IndexedDB: Introduce skeleton for LevelDB backend
631 https://bugs.webkit.org/show_bug.cgi?id=57827
634 Add ENABLE_LEVELDB=0.
635 * public/WebIDBFactory.h:
636 (WebKit::WebIDBFactory::open):
637 Remove pre-roll open() function.
639 2011-04-10 Kent Tamura <tkent@chromium.org>
641 [Chromium] Fix build errors on "Win Shared Builder (dbg)"
643 * WebKit.gyp: Exclude WebFrameTest.cpp for WEBKIT_DLL.
645 2011-04-10 Kent Tamura <tkent@chromium.org>
647 Unreviewed, rolling out r83353.
648 http://trac.webkit.org/changeset/83353
649 https://bugs.webkit.org/show_bug.cgi?id=58106
651 The new test doesn't pass on all Chromium platforms.
654 * src/PlatformBridge.cpp:
656 2011-04-09 Sreeram Ramachandran <sreeram@google.com>
658 Reviewed by Ryosuke Niwa.
660 Gather data on modal dialogs shown during unload events
661 https://bugs.webkit.org/show_bug.cgi?id=58115
663 Implementation of the new API to receive notifications of modal dialogs
664 dispatched during unload events. Count the notifications through a histogram.
666 No tests because it's not clear how to test chromium histograms from webkit.
668 * src/ChromeClientImpl.cpp:
669 (WebKit::ChromeClientImpl::willRunModalDialogDuringPageDismissal):
670 * src/ChromeClientImpl.h:
672 2011-04-08 Aaron Boodman <aa@chromium.org>
674 Reviewed by Dmitry Titov.
676 Re-land http://trac.webkit.org/changeset/83007. This works
677 without changes after https://bugs.webkit.org/show_bug.cgi?id=58110.
679 https://bugs.webkit.org/show_bug.cgi?id=58096
684 * src/WebFrameImpl.cpp:
685 (WebKit::WebFrame::frameForContext):
686 * tests/WebFrameTest.cpp:
687 (WebKit::WebFrameTest::WebFrameTest):
688 (WebKit::WebFrameTest::registerMockedURLLoad):
689 (WebKit::WebFrameTest::loadFrame):
692 2011-04-08 Daniel Cheng <dcheng@chromium.org>
694 Reviewed by Dmitry Titov.
696 [chromium] Implement image/png support in DataTransferItems
697 https://bugs.webkit.org/show_bug.cgi?id=58106
699 Add glue for reading image data from clipboard.
702 * src/PlatformBridge.cpp:
703 (WebCore::PlatformBridge::clipboardReadImage):
705 2011-04-08 Alpha Lam <hclam@chromium.org>
707 Unreviewed, rolling out r83335.
708 http://trac.webkit.org/changeset/83335
709 https://bugs.webkit.org/show_bug.cgi?id=53556
711 GTK and QT bots are broken
715 2011-04-07 Anna Cavender <annacc@chromium.org>
717 Reviewed by Eric Carlson.
719 Setup ENABLE(TRACK) feature define
720 https://bugs.webkit.org/show_bug.cgi?id=53556
724 2011-04-08 Dmitry Titov <dimich@chromium.org>
726 Reviewed by Adam Barth.
728 [Chromium] Remove unneeded usage of V8::Lockers in IDB tests.
729 https://bugs.webkit.org/show_bug.cgi?id=58110
730 Since they are simple one-thread tests.
731 This code parallels the code in Chromium's idb bindings that uses v8 Lockers in utility process,
732 which is equally not needed since there is only one thread running v8 in that process.
734 * tests/IDBBindingUtilitiesTest.cpp:
736 2011-04-07 Pavel Podivilov <podivilov@chromium.org>
738 Reviewed by Pavel Feldman.
740 Web Inspector: add test for script formatter worker.
741 https://bugs.webkit.org/show_bug.cgi?id=57447
745 2011-04-08 Kent Tamura <tkent@chromium.org>
747 [Chromium] The second attempt of fixing for Windows (dbg)(shared) build.
749 * WebKit.gyp: webkit should not depend on webkit_support.
751 2011-04-08 Kent Tamura <tkent@chromium.org>
753 [Chromium] Build fix for Windows (dbg)(shared).
755 * WebKit.gyp: Add webkit_support dependency, which is required for webkit_unittest_files.
757 2011-04-07 Kinuko Yasuda <kinuko@chromium.org>
759 Reviewed by Darin Fisher.
761 [Chromium] Add WebKit API to query and request unified offline-storage quota
762 https://bugs.webkit.org/show_bug.cgi?id=57849
763 Just adding the API, this does not do anything yet.
765 The API is based on the public discussion for unified quota API:
766 http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0346.html
767 (The detail is not yet fully specified and might be subject to change.)
769 * public/WebFrameClient.h:
770 (WebKit::WebFrameClient::queryStorageUsageAndQuota): Added.
771 (WebKit::WebFrameClient::requestStorageQuota): Added.
772 * public/WebStorageQuotaCallbacks.h: Added.
773 (WebKit::WebStorageQuotaCallbacks::~WebStorageQuotaCallbacks):
774 * public/WebStorageQuotaType.h: Added.
776 2011-04-07 Dominic Cooney <dominicc@google.com>
778 Reviewed by Dimitri Glazkov.
780 Let shadow DOM have a list of nodes at the top level of a shadow.
781 https://bugs.webkit.org/show_bug.cgi?id=57813
783 * src/WebElement.cpp:
784 (WebKit::WebElement::shadowRoot): shadow roots are ContainerNodes now
786 2011-04-07 Magnus Danielsson <public@fuzzac.com>
788 Reviewed by Darin Fisher.
790 [chromium] WebPageSerializerImpl doesn't serialize sub-frames correctly
791 https://bugs.webkit.org/show_bug.cgi?id=53897
793 When serializing a web page using 'save page as', sub-frames and resources gets
794 saved in a sub-directory. However, frame elements didn't get updated to reference
795 these saved sub-frames, but were still referencing the original url. So when opening
796 a saved web page, any sub-frames would get pulled in from the original url rather than
799 In addition to this, sub-frames in the sub-directory erroneously had the name of the
800 sub-directory prepended to the path of resources located in the same sub-directory.
802 * src/WebPageSerializerImpl.cpp:
803 (WebKit::WebPageSerializerImpl::openTagToStrne: Fixed resource paths in sub-frames.
804 Also made sure sub-frames are referenced correctly from parent frame.
805 (WebKit::WebPageSerializerImpl::endTagToString): Removed constness from argument.
806 (WebKit::WebPageSerializerImpl::buildContentForNode): Ditto.
807 * src/WebPageSerializerImpl.h:
809 2011-04-07 Nat Duca <nduca@chromium.org>
811 Reviewed by David Levin.
813 [chromium] Compositor thread infrastructure
814 https://bugs.webkit.org/show_bug.cgi?id=56131
816 Tests for chrome compositor thread and related infrastructure.
820 * tests/CCThreadTaskTest.cpp: Added.
822 * tests/CCThreadTest.cpp: Added.
824 (WebCore::PingPongUsingCondition::ping):
825 (WebCore::PingPongTestUsingTasks::ping):
826 (WebCore::PingPongTestUsingTasks::pong):
827 * tests/RunAllTests.cpp:
830 2011-04-07 Andrew Scherkus <scherkus@chromium.org>
832 Revert ENABLE_TRACK patch due to compile failures.
836 2011-04-07 Pavel Feldman <pfeldman@google.com>
838 Not reviewed: rolling chromium DEPS 80421:80767.
842 2011-04-07 Vsevolod Vlasov <vsevik@chromium.org>
844 Reviewed by Pavel Feldman.
846 Web Inspector: [Chromium] Rename didReceiveData2 to didReceiveData as part of enabling transfer size support.
847 https://bugs.webkit.org/show_bug.cgi?id=58036
849 Renamed didReceiveData2 to didReceiveData.
851 * public/WebURLLoaderClient.h:
852 (WebKit::WebURLLoaderClient::didReceiveData):
853 * src/AssociatedURLLoader.cpp:
854 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
855 * src/ResourceHandle.cpp:
856 (WebCore::ResourceHandleInternal::didReceiveData):
858 2011-04-07 Vsevolod Vlasov <vsevik@chromium.org>
860 Reviewed by Pavel Feldman.
862 Web Inspector: [Chromium] Migrate didReceiveData in upstream for plugins as part of enabling transfer size support.
863 https://bugs.webkit.org/show_bug.cgi?id=58034
865 Migrated didReceiveData to support new lengthReceived parameter.
867 * src/AssociatedURLLoader.cpp:
868 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
870 2011-04-06 Asanka Herath <asanka@chromium.org>
872 Reviewed by Darin Fisher.
874 Add new TargetType: TargetIsFavicon
876 https://bugs.webkit.org/show_bug.cgi?id=57659
878 * public/WebURLRequest.h:
880 2011-04-06 Alok Priyadarshi <alokp@chromium.org>
882 Reviewed by Eric Seidel.
884 [chromium] Add settings API to enable accelerated drawing
885 https://bugs.webkit.org/show_bug.cgi?id=57863
887 If accelerated drawing is enabled we try to render content and
888 root layers using GPU. Please note that this setting is ignored if
889 accelerated compositing is disabled.
891 * public/WebSettings.h:
892 * src/WebSettingsImpl.cpp:
893 (WebKit::WebSettingsImpl::setAcceleratedDrawingEnabled):
894 * src/WebSettingsImpl.h:
896 2011-04-05 Zelidrag Hornung <zelidrag@chromium.org>
898 Reviewed by David Levin.
900 Added MediaTypeFile enum value to WebContextMenuData::MediaType.
901 https://bugs.webkit.org/show_bug.cgi?id=57566
903 * public/WebContextMenuData.h:
905 2011-04-05 Sheriff Bot <webkit.review.bot@gmail.com>
907 Unreviewed, rolling out r83007.
908 http://trac.webkit.org/changeset/83007
909 https://bugs.webkit.org/show_bug.cgi?id=57920
911 Broke WebFrameTest.FrameForEnteredContext on Chromium-win and
912 Chromium-mac (Requested by tkent on #webkit).
917 * src/WebFrameImpl.cpp:
918 * tests/WebFrameTest.cpp:
919 (WebKit::WebFrameTest::WebFrameTest):
920 (WebKit::WebFrameTest::registerMockedURLLoad):
921 (WebKit::WebFrameTest::serveRequests):
924 2011-04-05 James Kozianski <koz@chromium.org>
926 Unreviewed, rolling out r82976.
927 http://trac.webkit.org/changeset/82976
928 https://bugs.webkit.org/show_bug.cgi?id=57566
930 Breaks chromium canary build
932 * public/WebContextMenuData.h:
934 2011-04-05 Aaron Boodman <aa@chromium.org>
936 Reviewed by Adam Barth.
938 Add ability to get frame from v8 context to chromium WebKit API
939 https://bugs.webkit.org/show_bug.cgi?id=57516
942 * src/WebFrameImpl.cpp:
943 (WebKit::WebFrame::frameForV8Context):
945 2011-04-05 Nico Weber <thakis@chromium.org>
947 Reviewed by Dimitri Glazkov.
949 [chromium] Don't have 'using namespace' declarations in header files
950 https://bugs.webkit.org/show_bug.cgi?id=57882
952 * src/EventListenerWrapper.cpp:
953 * src/EventListenerWrapper.h:
954 * src/VideoFrameChromiumImpl.h:
955 * src/WebDOMEventListener.cpp:
956 * src/WebDOMEventListenerPrivate.cpp:
957 * src/WebDOMEventListenerPrivate.h:
958 (WebKit::WebDOMEventListenerPrivate::ListenerInfo::ListenerInfo):
960 2011-04-05 Zelidrag Hornung <zelidrag@chromium.org>
962 Reviewed by David Levin.
964 Added MediaTypeFile enum value to WebContextMenuData::MediaType.
965 https://bugs.webkit.org/show_bug.cgi?id=57566
967 * public/WebContextMenuData.h:
969 2011-04-04 MORITA Hajime <morrita@google.com>
971 Reviewed by Ryosuke Niwa.
973 [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
974 https://bugs.webkit.org/show_bug.cgi?id=56085
976 Followed the signature change.
978 * src/EditorClientImpl.h:
979 * src/EditorClientImpl.cpp:
980 * src/WebTextCheckingCompletionImpl.cpp
982 2011-04-05 Hans Wennborg <hans@chromium.org>
984 Reviewed by Adam Barth
986 Clean up IndexedDB WebKit API
987 https://bugs.webkit.org/show_bug.cgi?id=57507
989 Rename the backend proxy files that didn't have Backend in their name.
990 Everything in WebKit should be in the WebKit namespace.
991 Put everything behind the feature flag so we're consistient.
992 Put the feature flag #if above includes.
995 * src/IDBCallbacksProxy.cpp:
996 (WebKit::IDBCallbacksProxy::create):
997 (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
998 (WebKit::IDBCallbacksProxy::onError):
999 (WebKit::IDBCallbacksProxy::onSuccess):
1000 * src/IDBCallbacksProxy.h:
1001 * src/IDBCursorBackendProxy.cpp:
1002 (WebKit::IDBCursorBackendProxy::create):
1003 (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
1004 * src/IDBCursorBackendProxy.h:
1005 * src/IDBDatabaseBackendProxy.cpp:
1006 (WebKit::IDBDatabaseBackendProxy::create):
1007 (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
1008 (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
1009 (WebKit::IDBDatabaseBackendProxy::name):
1010 (WebKit::IDBDatabaseBackendProxy::version):
1011 (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
1012 (WebKit::IDBDatabaseBackendProxy::createObjectStore):
1013 (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
1014 (WebKit::IDBDatabaseBackendProxy::setVersion):
1015 (WebKit::IDBDatabaseBackendProxy::transaction):
1016 (WebKit::IDBDatabaseBackendProxy::close):
1017 (WebKit::IDBDatabaseBackendProxy::open):
1018 * src/IDBDatabaseCallbacksProxy.cpp:
1019 (WebKit::IDBDatabaseCallbacksProxy::create):
1020 (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
1021 * src/IDBDatabaseCallbacksProxy.h:
1022 * src/IDBFactoryBackendProxy.cpp:
1023 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1024 (WebKit::IDBFactoryBackendProxy::open):
1025 * src/IDBFactoryBackendProxy.h:
1026 * src/IDBIndexBackendProxy.cpp:
1027 (WebKit::IDBIndexBackendProxy::create):
1028 (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
1029 * src/IDBIndexBackendProxy.h:
1030 * src/IDBObjectStoreBackendProxy.cpp:
1031 (WebKit::IDBObjectStoreBackendProxy::create):
1032 (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
1033 (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
1034 (WebKit::IDBObjectStoreBackendProxy::name):
1035 (WebKit::IDBObjectStoreBackendProxy::keyPath):
1036 (WebKit::IDBObjectStoreBackendProxy::indexNames):
1037 (WebKit::IDBObjectStoreBackendProxy::get):
1038 (WebKit::IDBObjectStoreBackendProxy::put):
1039 (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
1040 (WebKit::IDBObjectStoreBackendProxy::clear):
1041 (WebKit::IDBObjectStoreBackendProxy::createIndex):
1042 (WebKit::IDBObjectStoreBackendProxy::index):
1043 (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
1044 (WebKit::IDBObjectStoreBackendProxy::openCursor):
1045 * src/IDBObjectStoreBackendProxy.h: Added.
1046 * src/IDBObjectStoreProxy.h: Removed.
1047 * src/IDBTransactionBackendProxy.cpp:
1048 (WebKit::IDBTransactionBackendProxy::create):
1049 (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
1050 (WebKit::IDBTransactionBackendProxy::objectStore):
1051 * src/IDBTransactionBackendProxy.h:
1052 (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
1053 * src/IDBTransactionCallbacksProxy.cpp:
1054 (WebKit::IDBTransactionCallbacksProxy::create):
1055 (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
1056 * src/IDBTransactionCallbacksProxy.h:
1057 * src/WebIDBCallbacksImpl.cpp:
1058 (WebKit::WebIDBCallbacksImpl::onError):
1059 (WebKit::WebIDBCallbacksImpl::onSuccess):
1060 * src/WebIDBCallbacksImpl.h:
1061 * src/WebIDBCursorImpl.cpp:
1062 * src/WebIDBCursorImpl.h:
1063 * src/WebIDBDatabaseCallbacksImpl.cpp:
1064 (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
1065 * src/WebIDBDatabaseCallbacksImpl.h:
1066 * src/WebIDBDatabaseError.cpp:
1067 * src/WebIDBDatabaseImpl.cpp:
1068 * src/WebIDBDatabaseImpl.h:
1069 * src/WebIDBFactoryImpl.cpp:
1070 (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
1071 * src/WebIDBFactoryImpl.h:
1072 * src/WebIDBIndexImpl.cpp:
1073 * src/WebIDBIndexImpl.h:
1074 * src/WebIDBKey.cpp:
1075 (WebKit::WebIDBKey::createFromValueAndKeyPath):
1076 (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
1077 * src/WebIDBKeyPath.cpp:
1078 (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
1079 * src/WebIDBKeyRange.cpp:
1080 * src/WebIDBObjectStoreImpl.cpp:
1081 * src/WebIDBObjectStoreImpl.h:
1082 * src/WebIDBTransactionCallbacksImpl.cpp:
1083 * src/WebIDBTransactionCallbacksImpl.h:
1084 * src/WebIDBTransactionImpl.cpp:
1085 * src/WebIDBTransactionImpl.h:
1087 2011-04-05 Sailesh Agrawal <sail@chromium.org>
1089 Reviewed by Darin Fisher.
1091 Don't clear existing files if the user cancels the file chooser dialog.
1092 https://bugs.webkit.org/show_bug.cgi?id=55200
1094 * src/WebFileChooserCompletionImpl.cpp:
1095 (WebKit::WebFileChooserCompletionImpl::didChooseFile):
1097 2011-04-05 John Mellor <johnme@chromium.org>
1099 Reviewed by Darin Fisher.
1101 [chromium] Minor cleanup: simplify WebFrameImpl by using contentsToWindow instead of convertToContainingWindow.
1102 https://bugs.webkit.org/show_bug.cgi?id=55681
1104 * src/WebFrameImpl.cpp:
1105 (WebKit::WebFrameImpl::find):
1106 (WebKit::WebFrameImpl::scopeStringMatches):
1108 2011-04-05 Adam Barth <abarth@webkit.org>
1114 2011-04-04 Chang Shu <cshu@webkit.org>
1116 Reviewed by Ryosuke Niwa.
1118 setContentEditable with true/false/inherit string is not working properly
1119 https://bugs.webkit.org/show_bug.cgi?id=52058
1121 Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
1122 as rendererIsEditable is for WebCore internal use.
1125 (WebKit::WebNode::isContentEditable):
1126 * src/WebViewImpl.cpp:
1127 (WebKit::WebViewImpl::setFocus):
1128 (WebKit::WebViewImpl::setComposition):
1129 (WebKit::WebViewImpl::confirmComposition):
1131 2011-04-04 Alexey Proskuryakov <ap@apple.com>
1133 Reviewed by Dan Bernstein.
1135 REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
1136 https://bugs.webkit.org/show_bug.cgi?id=51230
1137 <rdar://problem/8780989>
1139 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::keyEvent): Moved Caps Lock handling from
1140 WebKits to WebCore, because WebKit shouldn't be smart.
1142 2011-04-01 Adam Barth <abarth@webkit.org>
1144 Attempt to fix the Chromium build using the great and powerful git.
1145 This patch should be the remaining part of reverting Jeremy's ill-fated
1148 * src/IDBDatabaseProxy.cpp:
1149 (WebCore::IDBDatabaseProxy::create):
1150 (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
1151 (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
1152 (WebCore::IDBDatabaseProxy::name):
1153 (WebCore::IDBDatabaseProxy::version):
1154 (WebCore::IDBDatabaseProxy::objectStoreNames):
1155 (WebCore::IDBDatabaseProxy::createObjectStore):
1156 (WebCore::IDBDatabaseProxy::deleteObjectStore):
1157 (WebCore::IDBDatabaseProxy::setVersion):
1158 (WebCore::IDBDatabaseProxy::transaction):
1159 (WebCore::IDBDatabaseProxy::close):
1160 (WebCore::IDBDatabaseProxy::open):
1161 * src/IDBDatabaseProxy.h:
1162 * src/IDBObjectStoreProxy.cpp:
1163 (WebCore::IDBObjectStoreProxy::create):
1164 (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
1165 (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
1166 (WebCore::IDBObjectStoreProxy::name):
1167 (WebCore::IDBObjectStoreProxy::keyPath):
1168 (WebCore::IDBObjectStoreProxy::indexNames):
1169 (WebCore::IDBObjectStoreProxy::get):
1170 (WebCore::IDBObjectStoreProxy::put):
1171 (WebCore::IDBObjectStoreProxy::deleteFunction):
1172 (WebCore::IDBObjectStoreProxy::clear):
1173 (WebCore::IDBObjectStoreProxy::createIndex):
1174 (WebCore::IDBObjectStoreProxy::index):
1175 (WebCore::IDBObjectStoreProxy::deleteIndex):
1176 (WebCore::IDBObjectStoreProxy::openCursor):
1178 2011-04-01 Adam Barth <abarth@webkit.org>
1180 Move these files back to their old locations. I'm not sure why the
1181 rollout didn't move them properly.
1183 * src/IDBDatabaseBackendProxy.cpp: Removed.
1184 * src/IDBDatabaseBackendProxy.h: Removed.
1185 * src/IDBDatabaseProxy.cpp: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
1186 * src/IDBDatabaseProxy.h: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
1187 * src/IDBObjectStoreBackendProxy.cpp: Removed.
1188 * src/IDBObjectStoreProxy.cpp: Copied from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
1190 2011-04-01 Sheriff Bot <webkit.review.bot@gmail.com>
1192 Unreviewed, rolling out r82738.
1193 http://trac.webkit.org/changeset/82738
1194 https://bugs.webkit.org/show_bug.cgi?id=57684
1196 Broke storage/indexeddb/objectstore-autoincrement.html and
1197 InjectIDBKey (Requested by abarth|gardening on #webkit).
1200 * src/IDBCallbacksProxy.cpp:
1201 (WebCore::IDBCallbacksProxy::create):
1202 (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
1203 (WebCore::IDBCallbacksProxy::onError):
1204 (WebCore::IDBCallbacksProxy::onSuccess):
1205 * src/IDBCallbacksProxy.h:
1206 * src/IDBCursorBackendProxy.cpp:
1207 (WebCore::IDBCursorBackendProxy::create):
1208 (WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy):
1209 * src/IDBCursorBackendProxy.h:
1210 * src/IDBDatabaseCallbacksProxy.cpp:
1211 (WebCore::IDBDatabaseCallbacksProxy::create):
1212 (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
1213 * src/IDBDatabaseCallbacksProxy.h:
1214 * src/IDBDatabaseProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
1215 (WebCore::IDBDatabaseProxy::create):
1216 (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
1217 (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
1218 (WebCore::IDBDatabaseProxy::name):
1219 (WebCore::IDBDatabaseProxy::version):
1220 (WebCore::IDBDatabaseProxy::objectStoreNames):
1221 (WebCore::IDBDatabaseProxy::createObjectStore):
1222 (WebCore::IDBDatabaseProxy::deleteObjectStore):
1223 (WebCore::IDBDatabaseProxy::setVersion):
1224 (WebCore::IDBDatabaseProxy::transaction):
1225 (WebCore::IDBDatabaseProxy::close):
1226 (WebCore::IDBDatabaseProxy::open):
1227 * src/IDBDatabaseProxy.h: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
1228 * src/IDBFactoryBackendProxy.cpp:
1229 (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1230 (WebCore::IDBFactoryBackendProxy::open):
1231 * src/IDBFactoryBackendProxy.h:
1232 * src/IDBIndexBackendProxy.cpp:
1233 (WebCore::IDBIndexBackendProxy::create):
1234 (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
1235 * src/IDBIndexBackendProxy.h:
1236 * src/IDBObjectStoreBackendProxy.h: Removed.
1237 * src/IDBObjectStoreProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
1238 (WebCore::IDBObjectStoreProxy::create):
1239 (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
1240 (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
1241 (WebCore::IDBObjectStoreProxy::name):
1242 (WebCore::IDBObjectStoreProxy::keyPath):
1243 (WebCore::IDBObjectStoreProxy::indexNames):
1244 (WebCore::IDBObjectStoreProxy::get):
1245 (WebCore::IDBObjectStoreProxy::put):
1246 (WebCore::IDBObjectStoreProxy::deleteFunction):
1247 (WebCore::IDBObjectStoreProxy::clear):
1248 (WebCore::IDBObjectStoreProxy::createIndex):
1249 (WebCore::IDBObjectStoreProxy::index):
1250 (WebCore::IDBObjectStoreProxy::deleteIndex):
1251 (WebCore::IDBObjectStoreProxy::openCursor):
1252 * src/IDBObjectStoreProxy.h: Added.
1253 * src/IDBTransactionBackendProxy.cpp:
1254 (WebCore::IDBTransactionBackendProxy::create):
1255 (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
1256 (WebCore::IDBTransactionBackendProxy::objectStore):
1257 * src/IDBTransactionBackendProxy.h:
1258 (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction):
1259 * src/IDBTransactionCallbacksProxy.cpp:
1260 (WebCore::IDBTransactionCallbacksProxy::create):
1261 (WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
1262 * src/IDBTransactionCallbacksProxy.h:
1263 * src/WebIDBCallbacksImpl.cpp:
1264 (WebCore::WebIDBCallbacksImpl::onError):
1265 (WebCore::WebIDBCallbacksImpl::onSuccess):
1266 * src/WebIDBCallbacksImpl.h:
1267 * src/WebIDBCursorImpl.cpp:
1268 * src/WebIDBCursorImpl.h:
1269 * src/WebIDBDatabaseCallbacksImpl.cpp:
1270 (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
1271 * src/WebIDBDatabaseCallbacksImpl.h:
1272 * src/WebIDBDatabaseError.cpp:
1273 * src/WebIDBDatabaseImpl.cpp:
1274 * src/WebIDBDatabaseImpl.h:
1275 * src/WebIDBFactoryImpl.cpp:
1276 (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
1277 * src/WebIDBFactoryImpl.h:
1278 * src/WebIDBIndexImpl.cpp:
1279 * src/WebIDBIndexImpl.h:
1280 * src/WebIDBKey.cpp:
1281 (WebKit::WebIDBKey::createFromValueAndKeyPath):
1282 (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
1283 * src/WebIDBKeyPath.cpp:
1284 (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):
1285 * src/WebIDBKeyRange.cpp:
1286 * src/WebIDBObjectStoreImpl.cpp:
1287 * src/WebIDBObjectStoreImpl.h:
1288 * src/WebIDBTransactionCallbacksImpl.cpp:
1289 * src/WebIDBTransactionCallbacksImpl.h:
1290 * src/WebIDBTransactionImpl.cpp:
1291 * src/WebIDBTransactionImpl.h:
1293 2011-03-30 Jeremy Orlow <jorlow@chromium.org>
1295 Reviewed by Nate Chapin.
1297 Clean up IndexedDB WebKit API
1298 https://bugs.webkit.org/show_bug.cgi?id=57507
1300 Rename the backend proxy files that didn't have Backend in their name.
1301 Everything in WebKit should be in the WebKit namespace.
1302 Put everything behind the feature flag so we're consistient.
1303 Put the feature flag #if above includes.
1306 * src/IDBCallbacksProxy.cpp:
1307 (WebKit::IDBCallbacksProxy::create):
1308 (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
1309 (WebKit::IDBCallbacksProxy::onError):
1310 (WebKit::IDBCallbacksProxy::onSuccess):
1311 * src/IDBCallbacksProxy.h:
1312 * src/IDBCursorBackendProxy.cpp:
1313 (WebKit::IDBCursorBackendProxy::create):
1314 (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
1315 * src/IDBCursorBackendProxy.h:
1316 * src/IDBDatabaseBackendProxy.cpp:
1317 (WebKit::IDBDatabaseBackendProxy::create):
1318 (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
1319 (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
1320 (WebKit::IDBDatabaseBackendProxy::name):
1321 (WebKit::IDBDatabaseBackendProxy::version):
1322 (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
1323 (WebKit::IDBDatabaseBackendProxy::createObjectStore):
1324 (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
1325 (WebKit::IDBDatabaseBackendProxy::setVersion):
1326 (WebKit::IDBDatabaseBackendProxy::transaction):
1327 (WebKit::IDBDatabaseBackendProxy::close):
1328 (WebKit::IDBDatabaseBackendProxy::open):
1329 * src/IDBDatabaseCallbacksProxy.cpp:
1330 (WebKit::IDBDatabaseCallbacksProxy::create):
1331 (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
1332 * src/IDBDatabaseCallbacksProxy.h:
1333 * src/IDBFactoryBackendProxy.cpp:
1334 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1335 (WebKit::IDBFactoryBackendProxy::open):
1336 * src/IDBFactoryBackendProxy.h:
1337 * src/IDBIndexBackendProxy.cpp:
1338 (WebKit::IDBIndexBackendProxy::create):
1339 (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
1340 * src/IDBIndexBackendProxy.h:
1341 * src/IDBObjectStoreBackendProxy.cpp:
1342 (WebKit::IDBObjectStoreBackendProxy::create):
1343 (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
1344 (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
1345 (WebKit::IDBObjectStoreBackendProxy::name):
1346 (WebKit::IDBObjectStoreBackendProxy::keyPath):
1347 (WebKit::IDBObjectStoreBackendProxy::indexNames):
1348 (WebKit::IDBObjectStoreBackendProxy::get):
1349 (WebKit::IDBObjectStoreBackendProxy::put):
1350 (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
1351 (WebKit::IDBObjectStoreBackendProxy::clear):
1352 (WebKit::IDBObjectStoreBackendProxy::createIndex):
1353 (WebKit::IDBObjectStoreBackendProxy::index):
1354 (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
1355 (WebKit::IDBObjectStoreBackendProxy::openCursor):
1356 * src/IDBObjectStoreBackendProxy.h: Added.
1357 * src/IDBObjectStoreProxy.h: Removed.
1358 * src/IDBTransactionBackendProxy.cpp:
1359 (WebKit::IDBTransactionBackendProxy::create):
1360 (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
1361 (WebKit::IDBTransactionBackendProxy::objectStore):
1362 * src/IDBTransactionBackendProxy.h:
1363 (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
1364 * src/IDBTransactionCallbacksProxy.cpp:
1365 (WebKit::IDBTransactionCallbacksProxy::create):
1366 (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
1367 * src/IDBTransactionCallbacksProxy.h:
1368 * src/WebIDBCallbacksImpl.cpp:
1369 (WebKit::WebIDBCallbacksImpl::onError):
1370 (WebKit::WebIDBCallbacksImpl::onSuccess):
1371 * src/WebIDBCallbacksImpl.h:
1372 * src/WebIDBCursorImpl.cpp:
1373 * src/WebIDBCursorImpl.h:
1374 * src/WebIDBDatabaseCallbacksImpl.cpp:
1375 (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
1376 * src/WebIDBDatabaseCallbacksImpl.h:
1377 * src/WebIDBDatabaseError.cpp:
1378 * src/WebIDBDatabaseImpl.cpp:
1379 * src/WebIDBDatabaseImpl.h:
1380 * src/WebIDBFactoryImpl.cpp:
1381 (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
1382 * src/WebIDBFactoryImpl.h:
1383 * src/WebIDBIndexImpl.cpp:
1384 * src/WebIDBIndexImpl.h:
1385 * src/WebIDBKey.cpp:
1386 (WebKit::WebIDBKey::createFromValueAndKeyPath):
1387 (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
1388 * src/WebIDBKeyPath.cpp:
1389 (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
1390 * src/WebIDBKeyRange.cpp:
1391 * src/WebIDBObjectStoreImpl.cpp:
1392 * src/WebIDBObjectStoreImpl.h:
1393 * src/WebIDBTransactionCallbacksImpl.cpp:
1394 * src/WebIDBTransactionCallbacksImpl.h:
1395 * src/WebIDBTransactionImpl.cpp:
1396 * src/WebIDBTransactionImpl.h:
1398 2011-03-30 Pavel Podivilov <podivilov@chromium.org>
1400 Reviewed by Pavel Feldman.
1402 Web Inspector: [chromium] script formatting doesn't work when all scripts are concatenated.
1403 https://bugs.webkit.org/show_bug.cgi?id=57446
1406 * scripts/inline_js_imports.py: Added.
1408 2011-03-31 Victoria Kirst <vrk@google.com>
1410 Reviewed by Eric Carlson.
1412 [chromium] Implement preload=none, setPreload hooks to media player
1413 https://bugs.webkit.org/show_bug.cgi?id=56983
1415 This patch implements preload=none in Chromium. It also replaces
1416 the now-deprecated setAutobuffer method with setPreload.
1418 * public/WebMediaPlayer.h:
1419 (WebKit::WebMediaPlayer::setPreload):
1420 * public/WebMediaPlayerClient.h:
1421 * src/WebMediaPlayerClientImpl.cpp:
1422 (WebKit::WebMediaPlayerClientImpl::preload):
1423 (WebKit::WebMediaPlayerClientImpl::load):
1424 (WebKit::WebMediaPlayerClientImpl::loadInternal):
1425 (WebKit::WebMediaPlayerClientImpl::prepareToPlay):
1426 (WebKit::WebMediaPlayerClientImpl::setPreload):
1427 (WebKit::WebMediaPlayerClientImpl::startDelayedLoad):
1428 (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
1429 * src/WebMediaPlayerClientImpl.h:
1431 2011-03-31 Evan Martin <evan@chromium.org>
1433 Reviewed by Eric Seidel.
1435 <title> should support dir attribute
1436 https://bugs.webkit.org/show_bug.cgi?id=50961
1438 Update to new FrameLoaderClient interface.
1440 * src/FrameLoaderClientImpl.cpp:
1441 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
1442 (WebKit::FrameLoaderClientImpl::setTitle):
1443 * src/FrameLoaderClientImpl.h:
1444 * src/WebDataSourceImpl.cpp:
1445 (WebKit::WebDataSourceImpl::pageTitle):
1447 2011-03-30 David Levin <levin@chromium.org>
1449 Reviewed by Dmitry Titov.
1451 UnlockNonLocked condition reached in WorkerFileSystemsCallbackBridge::mayPostTaskToWorker
1452 https://bugs.webkit.org/show_bug.cgi?id=57382
1454 There were two issues to address:
1455 1. The use of a non-thread safe class (RefPtr) in a ThreadSafeRefCounted class.
1456 The problem was that this RefPtr could be changed on either thread.
1457 2. Keeping WorkerFileSystemCallbacksBridge alive for while it was being used
1458 including while its mutex was in use.
1460 * src/WorkerFileSystemCallbacksBridge.cpp:
1461 (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnMainThread):
1462 Changed to take a PassRefPtr and leak the ref count as opposed to relying on
1463 dispatchTaskToMainThread to store the pointer in m_selfRef.
1464 (WebKit::WorkerFileSystemCallbacksBridge::dispatchTaskToMainThread): Remove the
1465 m_selfRef and hand off a PassRefPtr instead.
1466 (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker): Balance out the leaked ref
1467 and ensure that WorkerFileSystemCallbacksBridge stays alive while the mutex is held.
1468 * src/WorkerFileSystemCallbacksBridge.h: Removed m_selfRef and derefIfWorkerIsStopped which
1469 was simply due to m_selfRef.
1471 2011-03-29 John Abd-El-Malek <jam@chromium.org>
1473 Reviewed by Tony Chang.
1475 [chromium]: Remove the code that called WebViewClient for spelling now that chromium is updated
1476 https://bugs.webkit.org/show_bug.cgi?id=57396
1479 * public/WebFrame.h:
1481 * public/WebViewClient.h:
1482 (WebKit::WebViewClient::handleCurrentKeyboardEvent):
1483 * src/EditorClientImpl.cpp:
1484 (WebKit::EditorClientImpl::checkSpellingOfString):
1485 (WebKit::EditorClientImpl::requestCheckingOfString):
1486 (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
1487 (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
1488 (WebKit::EditorClientImpl::showSpellingUI):
1489 (WebKit::EditorClientImpl::spellingUIIsShowing):
1490 * src/WebViewImpl.cpp:
1491 (WebKit::WebView::create):
1492 * src/WebViewImpl.h:
1493 * src/WebWorkerBase.cpp:
1494 (WebKit::WebWorkerBase::initializeLoader):
1495 * tests/PopupMenuTest.cpp:
1496 (WebKit::SelectPopupMenuTest::SetUp):
1497 * tests/WebFrameTest.cpp:
1499 * tests/WebPageSerializerTest.cpp:
1500 (WebKit::WebPageSerializerTest::SetUp):
1502 2011-03-30 MORITA Hajime <morrita@google.com>
1504 Reviewed by Dimitri Glazkov.
1506 [Chromium] Expose the shadow DOM to DumpRenderTree JS tests.
1507 https://bugs.webkit.org/show_bug.cgi?id=56573
1510 - WebBindins::makeNode() to convert WebNode to a JS object, and
1511 - WebElement::shadowRoot().
1513 * public/WebBindings.h:
1514 * public/WebElement.h:
1515 * src/WebBindings.cpp:
1516 (WebKit::makeNodeImpl):
1517 (WebKit::WebBindings::makeNode):
1518 * src/WebElement.cpp:
1519 (WebKit::WebElement::shadowRoot):
1521 2011-03-30 Mario Sanchez Prada <msanchez@igalia.com>
1523 Reviewed by Chris Fleizach.
1525 AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
1526 https://bugs.webkit.org/show_bug.cgi?id=47636
1528 Duplicate new internal WebCore roles in the Chromium port.
1530 * public/WebAccessibilityRole.h: Update enumeration
1531 WebAccessibilityRole to reflect newly added roles in WebCore.
1532 * src/AssertMatchingEnums.cpp: Added new assertions.
1534 2011-03-30 Yury Semikhatsky <yurys@chromium.org>
1536 Reviewed by Pavel Feldman.
1538 Web Inspector: split debugger agent into Page and Worker-specific ones
1539 https://bugs.webkit.org/show_bug.cgi?id=57345
1541 ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
1542 for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
1543 and Page/WorkerDebuggerAgent.
1545 * src/DebuggerAgentManager.cpp:
1546 (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
1547 * src/WebDevToolsAgentImpl.cpp:
1548 (WebKit::WebDevToolsAgent::interruptAndDispatch):
1549 (WebKit::WebDevToolsAgent::processPendingMessages):
1551 2011-03-30 Yury Semikhatsky <yurys@chromium.org>
1553 Unreviewed. Rollout r82438 and r82436.
1555 * src/DebuggerAgentManager.cpp:
1556 (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
1557 * src/WebDevToolsAgentImpl.cpp:
1558 (WebKit::WebDevToolsAgent::interruptAndDispatch):
1559 (WebKit::WebDevToolsAgent::processPendingMessages):
1561 2011-03-30 Yury Semikhatsky <yurys@chromium.org>
1563 Reviewed by Pavel Feldman.
1565 Web Inspector: split debugger agent into Page and Worker-specific ones
1566 https://bugs.webkit.org/show_bug.cgi?id=57345
1568 ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
1569 for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
1570 and Page/WorkerDebuggerAgent.
1572 * src/DebuggerAgentManager.cpp:
1573 (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
1574 * src/WebDevToolsAgentImpl.cpp:
1575 (WebKit::WebDevToolsAgent::interruptAndDispatch):
1576 (WebKit::WebDevToolsAgent::processPendingMessages):
1578 2011-03-29 Sheriff Bot <webkit.review.bot@gmail.com>
1580 Unreviewed, rolling out r82293.
1581 http://trac.webkit.org/changeset/82293
1582 https://bugs.webkit.org/show_bug.cgi?id=57390
1584 Breaks RetrieveCSSResources (Requested by abarth|gardener on
1588 * src/WebPageSerializer.cpp:
1589 (WebCore::getSubResourceURLFromElement):
1590 (WebCore::retrieveResourcesForElement):
1591 (WebCore::retrieveResourcesForFrame):
1592 (WebKit::WebPageSerializer::retrieveAllResources):
1593 * tests/WebPageSerializerTest.cpp:
1594 * tests/data/pageserialization/css_test_page.html: Removed.
1595 * tests/data/pageserialization/import_style_from_link.css: Removed.
1596 * tests/data/pageserialization/import_styles.css: Removed.
1597 * tests/data/pageserialization/link_styles.css: Removed.
1599 2011-03-29 Tony Chang <tony@chromium.org>
1601 Roll chromium version to r79710 to pick up libpng changes.
1605 2011-03-29 Sheriff Bot <webkit.review.bot@gmail.com>
1607 Unreviewed, rolling out r82295 and r82300.
1608 http://trac.webkit.org/changeset/82295
1609 http://trac.webkit.org/changeset/82300
1610 https://bugs.webkit.org/show_bug.cgi?id=57380
1612 This patch breaks compile on Chromium (Requested by
1613 abarth|gardener on #webkit).
1615 * public/WebAccessibilityRole.h:
1616 * src/AssertMatchingEnums.cpp:
1618 2011-03-29 Mario Sanchez Prada <msanchez@igalia.com>
1620 Reviewed by Adam Barth.
1622 REGRESSION(r82295): This patch does not compile on Chromium (Requested by abarth|gardener on #webkit).
1623 https://bugs.webkit.org/show_bug.cgi?id=57377
1625 Fix build errors on Chromium bots.
1627 * public/WebAccessibilityRole.h: Update to reflect newly added roles in WebCore.
1628 * src/AssertMatchingEnums.cpp: Ditto.
1630 2011-03-29 Adam Barth <abarth@webkit.org>
1633 https://bugs.webkit.org/show_bug.cgi?id=57361
1637 2011-03-29 Jay Civelli <jcivelli@chromium.org>
1639 Reviewed by David Levin.
1641 Adding retrieval off CSS resources to WebPageSerializer::retrieveAllResources.
1642 https://bugs.webkit.org/show_bug.cgi?id=56650
1645 * src/WebPageSerializer.cpp:
1646 (WebCore::getResourceAttributeForElement):
1647 (WebCore::retrieveStyleSheetForElement):
1648 (WebCore::retrieveResourcesForElement):
1649 (WebCore::retrieveResourcesForFrame):
1650 (WebCore::retrieveResourcesForCSSRule):
1651 (WebCore::retrieveResourcesForCSSStyleDeclaration):
1652 (WebCore::retrieveResourcesForCSSStyleSheet):
1653 (WebKit::WebPageSerializer::retrieveAllResources):
1654 * tests/WebPageSerializerTest.cpp:
1655 (WebKit::TestWebFrameClient::TestWebFrameClient):
1656 (WebKit::TestWebFrameClient::allowScript):
1657 (WebKit::WebPageSerializerTest::enableJS):
1658 (WebKit::WebPageSerializerTest::runOnLoad):
1660 * tests/data/pageserialization/css_test_page.html: Added.
1661 * tests/data/pageserialization/import_style_from_link.css: Added.
1663 * tests/data/pageserialization/import_styles.css: Added.
1665 * tests/data/pageserialization/link_styles.css: Added.
1668 2011-03-29 Vsevolod Vlasov <vsevik@chromium.org>
1670 Reviewed by Pavel Feldman.
1672 [Chromium] Inspector does not always shows transferred size correctly (e.g. gzipped/chunked content)
1673 https://bugs.webkit.org/show_bug.cgi?id=56602
1675 Added new methods to interface while keeping the old ones to keep
1676 chromium working until it is also patched.
1678 * public/WebURLLoaderClient.h:
1679 (WebKit::WebURLLoaderClient::didReceiveData2):
1680 * src/AssociatedURLLoader.cpp:
1681 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
1682 * src/ResourceHandle.cpp:
1683 (WebCore::ResourceHandleInternal::didReceiveData):
1684 (WebCore::ResourceHandleInternal::didReceiveData2):
1686 2011-03-29 Vsevolod Vlasov <vsevik@chromium.org>
1688 Reviewed by Pavel Feldman.
1690 Web Inspector: [Chromium] DevTools shows two resources for each plugin resource loaded
1691 https://bugs.webkit.org/show_bug.cgi?id=57101
1693 Remove DevToolsAgent network callbacks as this information is now available through ResourceLoader
1695 * public/WebDevToolsAgent.h:
1696 * src/WebDevToolsAgentImpl.cpp:
1697 * src/WebDevToolsAgentImpl.h:
1699 2011-03-29 Emil A Eklund <eae@chromium.org>
1701 Reviewed by Dimitri Glazkov.
1703 Relative mouse coordinates recalculated for each target
1704 https://bugs.webkit.org/show_bug.cgi?id=57130
1706 * public/WebDOMMouseEvent.h:
1707 * src/WebDOMMouseEvent.cpp:
1708 (WebKit::WebDOMMouseEvent::layerX):
1709 (WebKit::WebDOMMouseEvent::layerY):
1710 (WebKit::WebDOMMouseEvent::offsetX):
1711 (WebKit::WebDOMMouseEvent::offsetY):
1713 2011-03-29 Yuta Kitamura <yutak@chromium.org>
1715 Unreviewed, rolling out r82195.
1716 http://trac.webkit.org/changeset/82195
1717 https://bugs.webkit.org/show_bug.cgi?id=56602
1719 Broke Chromium Clang builds.
1721 * public/WebDevToolsAgent.h:
1722 * public/WebURLLoaderClient.h:
1723 * src/AssociatedURLLoader.cpp:
1724 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
1725 * src/ResourceHandle.cpp:
1726 (WebCore::ResourceHandleInternal::didReceiveData):
1727 * src/WebDevToolsAgentImpl.cpp:
1728 (WebKit::WebDevToolsAgentImpl::didReceiveData):
1729 * src/WebDevToolsAgentImpl.h:
1731 2011-03-29 Yuta Kitamura <yutak@chromium.org>
1733 Unreviewed. Another build fix. The last fix was incorrect.
1735 * src/ChromeClientImpl.cpp:
1736 (WebKit::ChromeClientImpl::supportsFullscreenForNode):
1737 (WebKit::ChromeClientImpl::supportsFullScreenForElement):
1738 * src/ChromeClientImpl.h:
1740 2011-03-29 Yuta Kitamura <yutak@chromium.org>
1742 Unreviewed. Build fix for Chromium Clang bot.
1744 * src/ChromeClientImpl.cpp:
1745 (WebKit::ChromeClientImpl::supportsFullscreenForNode):
1746 * src/ChromeClientImpl.h:
1748 2011-03-28 Vsevolod Vlasov <vsevik@chromium.org>
1750 Reviewed by Pavel Feldman.
1752 [Chromium] Inspector does not always shows transferred size correctly (e.g. gzipped/chunked content)
1753 https://bugs.webkit.org/show_bug.cgi?id=56602
1755 Added new methods to interface while keeping the old ones to keep
1756 chromium working until it is also patched.
1758 * public/WebDevToolsAgent.h:
1759 * public/WebURLLoaderClient.h:
1760 (WebKit::WebURLLoaderClient::didReceiveData):
1761 * src/AssociatedURLLoader.cpp:
1762 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
1763 * src/ResourceHandle.cpp:
1764 (WebCore::ResourceHandleInternal::didReceiveData):
1765 * src/WebDevToolsAgentImpl.cpp:
1766 (WebKit::WebDevToolsAgentImpl::didReceiveData):
1767 * src/WebDevToolsAgentImpl.h:
1769 2011-03-28 Tony Chang <tony@chromium.org>
1771 Reviewed by Adam Barth.
1773 [chromium] have DRT write the png checksum into a png comment
1774 https://bugs.webkit.org/show_bug.cgi?id=57255
1776 * DEPS: Pull in version of chromium with comment writing
1778 2011-03-28 Adele Peterson <adele@apple.com>
1782 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor):
1783 Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
1785 2011-03-28 Pavel Feldman <pfeldman@chromium.org>
1787 Not reviewed: fixed chromium build.
1789 * src/WebDevToolsAgentImpl.cpp:
1790 (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
1792 2011-03-25 Andy Estes <aestes@apple.com>
1794 Reviewed by Adele Peterson.
1796 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
1797 https://bugs.webkit.org/show_bug.cgi?id=49016
1799 Update objectContentType() implementation to handle the
1800 shouldPreferPlugInsForImages flag.
1802 * src/FrameLoaderClientImpl.cpp:
1803 (WebKit::FrameLoaderClientImpl::objectContentType):
1804 * src/FrameLoaderClientImpl.h:
1806 2011-03-25 Kinuko Yasuda <kinuko@chromium.org>
1808 Reviewed by David Levin.
1810 Data race between ~WorkerFileSystemCallbacksBridge and runTasksOnWorkerThread
1811 https://bugs.webkit.org/show_bug.cgi?id=56138
1812 Stopped passing the WorkerFileSystemCallbacksBridge's reference to
1813 MainThreadFileSystemCallbacks so that in most cases (in normal cases)
1814 its reference is only maintained by WorkerThread.
1816 * src/WorkerFileSystemCallbacksBridge.cpp:
1817 (WebKit::MainThreadFileSystemCallbacks::createLeakedPtr):
1818 (WebKit::MainThreadFileSystemCallbacks::MainThreadFileSystemCallbacks):
1819 (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
1820 * src/WorkerFileSystemCallbacksBridge.h:
1822 2011-03-24 John Abd-El-Malek <jam@chromium.org>
1824 Reviewed by Dimitri Glazkov.
1826 [chromium] Add setters for various client interfaces, and add WebSpellCheckClient
1827 https://bugs.webkit.org/show_bug.cgi?id=57070
1829 * public/WebSpellCheckClient.h: Added.
1830 (WebKit::WebSpellCheckClient::spellCheck):
1831 (WebKit::WebSpellCheckClient::requestCheckingOfText):
1832 (WebKit::WebSpellCheckClient::autoCorrectWord):
1833 (WebKit::WebSpellCheckClient::showSpellingUI):
1834 (WebKit::WebSpellCheckClient::isShowingSpellingUI):
1835 (WebKit::WebSpellCheckClient::updateSpellingUIWithMisspelledWord):
1836 (WebKit::WebSpellCheckClient::~WebSpellCheckClient):
1838 * public/WebViewClient.h:
1839 * src/EditorClientImpl.cpp:
1840 (WebKit::EditorClientImpl::checkSpellingOfString):
1841 (WebKit::EditorClientImpl::requestCheckingOfString):
1842 (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
1843 (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
1844 (WebKit::EditorClientImpl::showSpellingUI):
1845 (WebKit::EditorClientImpl::spellingUIIsShowing):
1846 * src/WebViewImpl.cpp:
1847 (WebKit::WebViewImpl::setWebDevToolsAgentClient):
1848 (WebKit::WebViewImpl::setWebAutoFillClient):
1849 (WebKit::WebViewImpl::setWebSpellCheckClient):
1850 (WebKit::WebViewImpl::WebViewImpl):
1851 * src/WebViewImpl.h:
1852 (WebKit::WebViewImpl::spellCheckClient):
1854 2011-03-25 Cary Clark <caryclark@google.com>
1856 Reviewed by Dimitri Glazkov.
1858 Add CGBitmapContext.h include to WebViewImpl.cpp
1859 https://bugs.webkit.org/show_bug.cgi?id=57097
1861 No tests. Exposes no new functionality.
1863 * src/WebViewImpl.cpp:
1865 2011-03-25 Adam Klein <adamk@chromium.org>
1867 Reviewed by David Levin.
1869 [chromium] Remove deprecated overload of openFileSystem for workers
1870 https://bugs.webkit.org/show_bug.cgi?id=57062
1872 * public/WebCommonWorkerClient.h:
1874 2011-03-25 Chang Shu <cshu@webkit.org>
1876 Reviewed by Ryosuke Niwa.
1878 rename Node::isContentEditable and all call sites to rendererIsEditable
1879 https://bugs.webkit.org/show_bug.cgi?id=54290
1881 This is part of the effort to separate JS API HTMLElement isContentEditable from
1882 internal Node::rendererIsEditable.
1885 (WebKit::WebNode::isContentEditable):
1886 * src/WebViewImpl.cpp:
1887 (WebKit::WebViewImpl::setFocus):
1888 (WebKit::WebViewImpl::setComposition):
1889 (WebKit::WebViewImpl::confirmComposition):
1891 2011-03-25 Mikhail Naganov <mnaganov@chromium.org>
1893 Roll forward Chromium deps to r79379 to pick up V8 3.2.4.2.
1897 2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com>
1899 Unreviewed, rolling out r81916 and r81917.
1900 http://trac.webkit.org/changeset/81916
1901 http://trac.webkit.org/changeset/81917
1902 https://bugs.webkit.org/show_bug.cgi?id=57071
1904 broke a test on platforms that do not have QuickTime installed
1905 (Requested by estes on #webkit).
1907 * src/FrameLoaderClientImpl.cpp:
1908 (WebKit::FrameLoaderClientImpl::objectContentType):
1909 * src/FrameLoaderClientImpl.h:
1911 2011-03-24 Min Qin <qinmin@google.com>
1913 Reviewed by James Robinson.
1915 Allow WebMediaPlayerClient to notify MediaPlayer that the playback state has changed
1917 https://bugs.webkit.org/show_bug.cgi?id=56837
1919 * public/WebMediaPlayerClient.h:
1920 * src/WebMediaPlayerClientImpl.cpp:
1921 (WebKit::WebMediaPlayerClientImpl::playbackStateChanged):
1922 * src/WebMediaPlayerClientImpl.h:
1924 2011-03-23 John Abd-El-Malek <jam@chromium.org>
1926 Reviewed by Tony Chang.
1928 [chromium] Get rid of WEB_TEXT_CHECKING_RESULT_IS_A_STRUCT since it's not needed anymore
1929 https://bugs.webkit.org/show_bug.cgi?id=56955
1932 * public/WebTextCheckingResult.h:
1934 2011-03-24 Bill Budge <bbudge@chromium.org>
1936 Reviewed by Eric Seidel.
1938 Change a forward declaration of WebURLLoaderOptions to struct to prevent a build break in Chromium.
1939 https://bugs.webkit.org/show_bug.cgi?id=57064
1941 No tests. Exposes no new functionality.
1943 * public/WebFrame.h:
1945 2011-03-24 Andy Estes <aestes@apple.com>
1947 Fix the chromium build.
1949 * src/FrameLoaderClientImpl.cpp:
1950 (WebKit::FrameLoaderClientImpl::objectContentType):
1952 2011-03-24 Andy Estes <aestes@apple.com>
1954 Reviewed by Darin Adler.
1956 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
1957 https://bugs.webkit.org/show_bug.cgi?id=49016
1959 Update objectContentType() implementation to handle the
1960 shouldPreferPlugInsForImages flag.
1962 * src/FrameLoaderClientImpl.cpp:
1963 (WebKit::FrameLoaderClientImpl::objectContentType):
1964 * src/FrameLoaderClientImpl.h:
1966 2011-03-24 Bill Budge <bbudge@chromium.org>
1968 Reviewed by Dmitry Titov.
1970 Add an overloaded WebFrame::createAssociatedURLLoader method that takes WebURLLoaderOptions, so clients can specify CORS options to allow cross-origin requests.
1971 https://bugs.webkit.org/show_bug.cgi?id=56885
1973 No new tests. Exposes no new functionality.
1975 * public/WebFrame.h:
1976 * src/WebFrameImpl.cpp:
1977 (WebKit::WebFrameImpl::createAssociatedURLLoader):
1978 * src/WebFrameImpl.h:
1980 2011-03-24 Sam Weinig <sam@webkit.org>
1982 Reviewed by Anders Carlsson.
1984 Remove legacy version of findPlainText.
1985 https://bugs.webkit.org/show_bug.cgi?id=57056
1987 * src/WebFrameImpl.cpp:
1988 (WebKit::WebFrameImpl::scopeStringMatches):
1989 Replace use of legacy findPlainText with a version that
1990 takes an options parameter.
1992 2011-03-24 Nat Duca <nduca@chromium.org>
1994 Reviewed by Kenneth Russell.
1996 [chromium] Add traceEvents to compositor
1997 https://bugs.webkit.org/show_bug.cgi?id=56965
1999 * src/WebViewImpl.cpp:
2000 (WebKit::WebViewImpl::composite):
2002 2011-03-24 Dominic Mazzoni <dmazzoni@google.com>
2004 Reviewed by Dimitri Glazkov.
2006 Add accessibilityObject accessor to WebDocument (needed for
2007 building an accessibility tree that includes iframes).
2008 https://bugs.webkit.org/show_bug.cgi?id=56984
2010 * public/WebDocument.h:
2011 * src/WebDocument.cpp:
2012 (WebKit::WebDocument::accessibilityObject):
2014 2011-03-24 Ilya Sherman <isherman@chromium.org>
2016 Reviewed by Dimitri Glazkov.
2018 Expose Node::isFocusable() in the Chromium WebKit API
2019 In service of https://code.google.com/p/chromium/issues/detail?id=72918
2020 https://bugs.webkit.org/show_bug.cgi?id=56809
2024 (WebKit::WebNode::isFocusable):
2026 2011-03-24 Pavel Feldman <pfeldman@chromium.org>
2028 Not reviewed: fix chromium compilation.
2030 * public/WebDevToolsAgent.h:
2032 2011-03-24 Pavel Feldman <pfeldman@chromium.org>
2034 Reviewed by Yury Semikhatsky.
2036 Web Inspector: brush up Network agent API.
2037 https://bugs.webkit.org/show_bug.cgi?id=57001
2039 * public/WebDevToolsAgent.h:
2040 * src/WebDevToolsAgentImpl.cpp:
2041 (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
2042 (WebKit::WebDevToolsAgentImpl::willSendRequest):
2043 * src/WebDevToolsAgentImpl.h:
2045 2011-03-24 Noel Gordon <noel.gordon@gmail.com>
2047 Reviewed by Ojan Vafai.
2049 [chromium] WebBindings::getRangeImpl() should NULL check its NPObject argument
2050 https://bugs.webkit.org/show_bug.cgi?id=56996
2052 * src/WebBindings.cpp:
2053 (WebKit::getRangeImpl):
2055 2011-03-23 Noel Gordon <noel.gordon@gmail.com>
2057 Reviewed by Ojan Vafai.
2059 [chromium] WebBindings{.h,.cpp}: should use consistent argument naming
2060 https://bugs.webkit.org/show_bug.cgi?id=56898
2062 Address FIXME I noted/added in r81676. Wanted to just copy/paste the checking
2063 code from elsewhere in the file, but inconsistent argument naming made it more
2064 difficult than it need be, so first step: use consistent naming.
2066 * public/WebBindings.h:
2067 * src/WebBindings.cpp:
2068 (WebKit::WebBindings::construct):
2069 (WebKit::WebBindings::enumerate):
2070 (WebKit::WebBindings::evaluate):
2071 (WebKit::WebBindings::evaluateHelper):
2072 (WebKit::WebBindings::getProperty):
2073 (WebKit::WebBindings::hasMethod):
2074 (WebKit::WebBindings::hasProperty):
2075 (WebKit::WebBindings::invoke):
2076 (WebKit::WebBindings::invokeDefault):
2077 (WebKit::WebBindings::releaseObject):
2078 (WebKit::WebBindings::removeProperty):
2079 (WebKit::WebBindings::retainObject):
2080 (WebKit::WebBindings::setException):
2081 (WebKit::WebBindings::setProperty):
2082 (WebKit::WebBindings::unregisterObject):
2083 (WebKit::WebBindings::extractIdentifierData):
2084 (WebKit::getRangeImpl):
2085 (WebKit::getElementImpl):
2086 (WebKit::makeIntArrayImpl):
2087 (WebKit::WebBindings::getRange):
2088 (WebKit::WebBindings::makeIntArray):
2090 2011-03-23 Jay Civelli <jcivelli@chromium.org>
2092 Reviewed by David Levin.
2095 Moving the method that is used to retrieve all the resources in
2096 a page from the Chromium code (dom_operations.cc) to WebKit.
2097 https://bugs.webkit.org/show_bug.cgi?id=55859
2100 * public/WebPageSerializer.h:
2102 (WebKit::operator==):
2103 (WebKit::operator!=):
2104 * public/WebVector.h:
2105 (WebKit::WebVector::contains):
2106 * src/WebDataSourceImpl.cpp:
2107 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2108 * src/WebPageSerializer.cpp:
2109 (WebCore::getSubResourceURLFromElement):
2110 (WebCore::retrieveResourcesForElement):
2111 (WebCore::retrieveResourcesForFrame):
2112 (WebKit::WebPageSerializer::retrieveAllResources):
2113 * tests/WebFrameTest.cpp:
2114 * tests/WebPageSerializerTest.cpp: Added.
2115 * tests/data/pageserialization/awesome.png: Added.
2116 * tests/data/pageserialization/embed_iframe.html: Added.
2117 * tests/data/pageserialization/object_iframe.html: Added.
2118 * tests/data/pageserialization/simple_iframe.html: Added.
2119 * tests/data/pageserialization/simple_page.html: Added.
2120 * tests/data/pageserialization/top_frame.html: Added.
2122 2011-03-23 Kenneth Russell <kbr@google.com>
2124 Rolled forward Chromium DEPS again to fix DumpRenderTree build
2125 failure caused by r81821.
2129 2011-03-23 Kenneth Russell <kbr@google.com>
2131 Rolled forward Chromium DEPS to fix build breakage after r81821.
2135 2011-03-23 Kenneth Russell <kbr@google.com>
2137 Reviewed by James Robinson.
2139 [chromium] WebGLRenderingContext and other DOMWindow properties should remain if WebGL is disabled
2140 https://bugs.webkit.org/show_bug.cgi?id=56947
2142 Removed the WebRuntimeFeatures setting for WebGL. WebGL support is
2143 now controlled exclusively through the page's Settings.
2145 * public/WebRuntimeFeatures.h:
2146 * src/WebRuntimeFeatures.cpp:
2148 2011-03-23 Chris Rogers <crogers@google.com>
2150 Reviewed by Kenneth Russell.
2152 Add API to retrieve the audio hardware sample-rate
2153 https://bugs.webkit.org/show_bug.cgi?id=56882
2155 * public/WebAudioDevice.h:
2156 * public/WebKitClient.h:
2157 (WebKit::WebKitClient::audioHardwareSampleRate):
2158 * src/AudioDestinationChromium.cpp:
2159 (WebCore::AudioDestination::hardwareSampleRate):
2161 2011-03-23 Cris Neckar <cdn@chromium.org>
2163 Reviewed by Eric Seidel.
2165 Add refptr for widget. Mutations can happen within the event handler.
2166 https://bugs.webkit.org/show_bug.cgi?id=56774
2168 * src/WebPluginContainerImpl.cpp:
2169 (WebKit::WebPluginContainerImpl::handleEvent):
2171 2011-03-23 Viet-Trung Luu <viettrungluu@chromium.org>
2173 Reviewed by Tony Chang.
2175 [chromium] Add FormatPlainText to WebClipboard::Format enumeration.
2176 https://bugs.webkit.org/show_bug.cgi?id=56868
2178 Chromium's WebClipboard::isFormatAvailable() will be correspondingly
2181 * public/WebClipboard.h:
2182 * src/AssertMatchingEnums.cpp:
2184 2011-03-23 Yury Semikhatsky <yurys@chromium.org>
2186 Reviewed by Pavel Feldman.
2188 [Chromium] Web Inspector: Remove DebuggerScript.js from Chromium resource bundle.
2189 https://bugs.webkit.org/show_bug.cgi?id=56916
2191 * DEPS: bump up Chromium dependency to the revision where no references to the DebuggerScript.js resource are left.
2194 2011-03-23 Yury Semikhatsky <yurys@chromium.org>
2196 Reviewed by Pavel Feldman.
2198 [Chromium] Web Inspector: remove inspectNode method from WebDevToolsAgent
2199 https://bugs.webkit.org/show_bug.cgi?id=56926
2201 * public/WebDevToolsAgent.h:
2202 * src/WebDevToolsAgentImpl.cpp:
2203 * src/WebDevToolsAgentImpl.h:
2205 2011-03-23 Sheriff Bot <webkit.review.bot@gmail.com>
2207 Unreviewed, rolling out r81686.
2208 http://trac.webkit.org/changeset/81686
2209 https://bugs.webkit.org/show_bug.cgi?id=56914
2211 Breaks webkit_tests in Chromium again. (Requested by pfeldman
2215 * public/WebPageSerializer.h:
2217 * public/WebVector.h:
2218 (WebKit::WebVector::operator[]):
2219 * src/WebDataSourceImpl.cpp:
2220 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2221 * src/WebPageSerializer.cpp:
2222 * tests/WebFrameTest.cpp:
2223 * tests/WebPageSerializerTest.cpp: Removed.
2224 * tests/data/pageserialization/awesome.png: Removed.
2225 * tests/data/pageserialization/embed_iframe.html: Removed.
2226 * tests/data/pageserialization/object_iframe.html: Removed.
2227 * tests/data/pageserialization/simple_iframe.html: Removed.
2228 * tests/data/pageserialization/simple_page.html: Removed.
2229 * tests/data/pageserialization/top_frame.html: Removed.
2231 2011-03-22 Yury Semikhatsky <yurys@chromium.org>
2233 Reviewed by Pavel Feldman.
2235 [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
2236 https://bugs.webkit.org/show_bug.cgi?id=56843
2238 * public/WebDevToolsAgentClient.h: the script source is now compiled along with the inspector code.
2239 * src/WebDevToolsAgentImpl.cpp:
2240 (WebKit::WebDevToolsAgentImpl::attach):
2242 2011-03-22 Yury Semikhatsky <yurys@chromium.org>
2244 Reviewed by Pavel Feldman.
2246 [Chromium] Web Inspector: remove obsolete methods from WebDevToolsAgentClient.h
2247 https://bugs.webkit.org/show_bug.cgi?id=56897
2249 * public/WebDevToolsAgentClient.h:
2251 2011-03-22 Noel Gordon <noel.gordon@gmail.com>
2253 Reviewed by Tony Chang.
2255 [chromium] Remove identity from dragTargetDragEnter() function signature
2256 https://bugs.webkit.org/show_bug.cgi?id=56875
2258 First part of 3-sided patch. Add new function signature sans identity.
2261 * src/WebViewImpl.cpp:
2262 (WebKit::WebViewImpl::dragTargetDragEnter):
2263 * src/WebViewImpl.h:
2265 2011-03-22 John Bauman <jbauman@chromium.org>
2267 Reviewed by Kenneth Russell.
2269 Add support for preserveDrawingBuffer context creation attribute
2270 https://bugs.webkit.org/show_bug.cgi?id=56431
2272 * src/GraphicsContext3DChromium.cpp:
2273 (WebCore::GraphicsContext3DInternal::markContextChanged):
2274 (WebCore::GraphicsContext3DInternal::markLayerComposited):
2275 (WebCore::GraphicsContext3DInternal::layerComposited):
2276 (WebCore::GraphicsContext3D::layerComposited):
2277 * src/GraphicsContext3DInternal.h:
2279 2011-03-22 John Abd-El-Malek <jam@chromium.org>
2281 Reviewed by Tony Chang.
2283 [chromium] Make WebTextCheckingResult's members be public in preparation for converting it to a struct
2284 https://bugs.webkit.org/show_bug.cgi?id=56857
2287 * public/WebTextCheckingResult.h:
2289 2011-03-22 Jay Civelli <jcivelli@chromium.org>
2291 Reviewed by David Levin.
2294 Moving the method that is used to retrieve all the resources in
2295 a page from the Chromium code (dom_operations.cc) to WebKit.
2296 https://bugs.webkit.org/show_bug.cgi?id=55859
2300 * public/WebPageSerializer.h:
2302 (WebKit::operator==):
2303 (WebKit::operator!=):
2304 * public/WebVector.h:
2305 (WebKit::WebVector::contains):
2306 * src/WebDataSourceImpl.cpp:
2307 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2308 * src/WebPageSerializer.cpp:
2309 (WebCore::getSubResourceURLFromElement):
2310 (WebCore::retrieveResourcesForElement):
2311 (WebCore::retrieveResourcesForFrame):
2312 (WebKit::WebPageSerializer::retrieveAllResources):
2313 * tests/WebFrameTest.cpp:
2314 * tests/WebPageSerializerTest.cpp: Added.
2315 * tests/data/pageserialization/awesome.png: Added.
2316 * tests/data/pageserialization/embed_iframe.html: Added.
2317 * tests/data/pageserialization/object_iframe.html: Added.
2318 * tests/data/pageserialization/simple_iframe.html: Added.
2319 * tests/data/pageserialization/simple_page.html: Added.
2320 * tests/data/pageserialization/top_frame.html: Added.
2322 2011-03-22 Noel Gordon <noel.gordon@gmail.com>
2324 Reviewed by Tony Chang.
2326 [chromium] Remove Gears from Chromium WebKit
2327 https://bugs.webkit.org/show_bug.cgi?id=56808
2329 Gears has been removed from Chromium 12. Remove Gears drag drop support
2330 from WebKit. That work lead to http://webkit.org/b/25916, a proposal to
2331 add native file drag drop, and its subsequent standardization in HTML5.
2333 * public/WebBindings.h:
2335 * src/WebBindings.cpp:
2336 (WebKit::getRangeImpl): FIXME note added.
2337 * src/WebViewImpl.cpp:
2338 (WebKit::WebViewImpl::WebViewImpl):
2339 (WebKit::WebViewImpl::dragTargetDragEnter):
2340 (WebKit::WebViewImpl::dragTargetDragLeave):
2341 (WebKit::WebViewImpl::dragTargetDrop):
2342 (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
2343 * src/WebViewImpl.h:
2345 2011-03-21 Adam Klein <adamk@chromium.org>
2347 Reviewed by David Levin.
2349 [fileapi] Add URI resolution support to WorkerContext
2350 https://bugs.webkit.org/show_bug.cgi?id=55644
2352 Pass "create" bool through to allow opening
2353 a filesystem without allowing creation.
2355 * src/LocalFileSystemChromium.cpp:
2356 (WebCore::LocalFileSystem::readFileSystem):
2357 (WebCore::LocalFileSystem::requestFileSystem):
2358 * src/WebWorkerBase.cpp:
2359 (WebKit::WebWorkerBase::openFileSystemForWorker):
2360 * src/WebWorkerBase.h:
2361 * src/WorkerFileSystemCallbacksBridge.cpp:
2362 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
2363 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
2364 * src/WorkerFileSystemCallbacksBridge.h:
2366 2011-03-21 Ilya Sherman <isherman@chromium.org>
2368 Reviewed by James Robinson.
2370 Remove WebInputElement::isEnabledFormControl() from Chromium WebKit API
2371 Clients should instead call into WebFormControlElement::isEnabled().
2372 https://bugs.webkit.org/show_bug.cgi?id=56364
2374 * public/WebInputElement.h: Removed isEnabledFormControl().
2375 * src/WebInputElement.cpp: Removed isEnabledFormControl().
2377 2011-03-21 Robert Kroeger <rjkroege@chromium.org>
2379 Reviewed by Antonio Gomes.
2381 Flag to enable a platform specific GestureReocognizer framework in Chromium.
2383 https://bugs.webkit.org/show_bug.cgi?id=49345
2387 2011-03-21 Tony Chang <tony@chromium.org>
2389 Reviewed by Pavel Feldman.
2391 [chromium] remove devtools_html's dependency on WebKit.gypi
2392 https://bugs.webkit.org/show_bug.cgi?id=56661
2394 We want to depend on the values in the gypi file, not the gypi file
2395 itself. Actually, if someone edits a gypi file, s/he should re-run
2396 gyp to pick up the new dependencies.
2398 It turns out that this doesn't matter much for this target anymore
2399 since we pull the .js dependencies from the inspector html file.
2401 * WebKit.gyp: cleanup dependencies
2402 * scripts/generate_devtools_html.py: remove unused param
2404 2011-03-21 Sheriff Bot <webkit.review.bot@gmail.com>
2406 Unreviewed, rolling out r81377.
2407 http://trac.webkit.org/changeset/81377
2408 https://bugs.webkit.org/show_bug.cgi?id=56765
2410 WebPageSerializerTest.MultipleFrames is broken (Requested by
2411 simonjam on #webkit).
2414 * public/WebPageSerializer.h:
2416 * public/WebVector.h:
2417 (WebKit::WebVector::operator[]):
2418 * src/WebDataSourceImpl.cpp:
2419 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2420 * src/WebPageSerializer.cpp:
2421 * tests/WebFrameTest.cpp:
2422 * tests/WebPageSerializerTest.cpp: Removed.
2423 * tests/data/pageserialization/awesome.png: Removed.
2424 * tests/data/pageserialization/embed_iframe.html: Removed.
2425 * tests/data/pageserialization/object_iframe.html: Removed.
2426 * tests/data/pageserialization/simple_iframe.html: Removed.
2427 * tests/data/pageserialization/simple_page.html: Removed.
2428 * tests/data/pageserialization/top_frame.html: Removed.
2430 2011-03-21 Daniel Sievers <sievers@google.com>
2432 Reviewed by Simon Fraser.
2434 [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
2435 https://bugs.webkit.org/show_bug.cgi?id=56139
2437 * public/WebFrame.h:
2438 * src/WebFrameImpl.cpp:
2439 (WebKit::WebFrameImpl::renderTreeAsText):
2440 (WebKit::WebFrameImpl::layerTreeAsText):
2441 * src/WebFrameImpl.h:
2443 2011-03-21 Eric Uhrhane <ericu@chromium.org>
2445 Reviewed by David Levin.
2447 [fileapi/chromium] Fetch platform path using GetMetadata before creating File from FileEntry*
2448 https://bugs.webkit.org/show_bug.cgi?id=56704
2450 * src/WebFileSystemCallbacksImpl.cpp:
2451 (WebFileSystemCallbacksImpl::didReadMetadata)
2452 Pass new platformPath member through.
2454 * src/WorkerFileSystemCallbacksBridge.cpp:
2455 (CrossThreadCopierBase)
2456 Copy new platformPath member.
2458 * public/WebFileInfo.h:
2459 (struct WebFileInfo)
2460 Add new platformPath member.
2462 2011-03-21 Leandro Gracia Gil <leandrogracia@chromium.org>
2464 Reviewed by Steve Block.
2466 Media Stream API patch 0: adding compilation guards.
2467 https://bugs.webkit.org/show_bug.cgi?id=56458
2469 Enabling the feature by default for chromium builds.
2473 2011-03-21 Vsevolod Vlasov <vsevik@chromium.org>
2475 Reviewed by Pavel Feldman.
2477 Web Inspector: Inspector does not always show correct transfer size (for compressed/chunked data)
2478 https://bugs.webkit.org/show_bug.cgi?id=56691
2480 Added transfer size support in inspector for compressed data.
2482 * src/ResourceHandle.cpp:
2483 (WebCore::ResourceHandleInternal::didReceiveData):
2484 * src/WebDevToolsAgentImpl.cpp:
2485 (WebKit::WebDevToolsAgentImpl::didReceiveData):
2487 2011-03-20 Bill Budge <bbudge@chromium.org>
2489 Reviewed by Adam Barth.
2491 Rename ThreadSafeShared to ThreadSafeRefCounted
2492 https://bugs.webkit.org/show_bug.cgi?id=56714
2494 No new tests. Exposes no new functionality.
2496 * src/PlatformMessagePortChannel.h:
2497 * src/WebWorkerBase.cpp:
2498 * src/WorkerFileSystemCallbacksBridge.h:
2499 * src/WorkerFileWriterCallbacksBridge.h:
2501 2011-03-18 Tony Chang <tony@chromium.org>
2503 Reviewed by Eric Seidel.
2505 [chromium] make devtool concatenation targets conditional based on debug_devtools
2506 https://bugs.webkit.org/show_bug.cgi?id=56667
2508 We don't want to run these targets when debug_devtools=1 because it
2509 will overwrite the devtools.js and devtools.css files copied by
2510 inspector_resources. On Linux, this triggers a warning because
2511 there are two commands that target the same output file when
2514 I also removed the 'sources' lines since I don't think they do
2515 anything for actions.
2519 2011-03-17 Alexey Marinichev <amarinichev@chromium.org>
2521 Reviewed by Kenneth Russell.
2523 chromium: uninitialized field in WebViewImpl
2524 https://bugs.webkit.org/show_bug.cgi?id=56620
2526 * src/WebViewImpl.cpp:
2527 (WebKit::WebViewImpl::WebViewImpl):
2529 2011-03-17 Adrienne Walker <enne@google.com>
2531 Reviewed by James Robinson.
2533 [chromium] Turn off accelerated compositing for RTL style pages.
2534 https://bugs.webkit.org/show_bug.cgi?id=56585
2536 * src/WebViewImpl.cpp:
2537 (WebKit::WebViewImpl::layout):
2538 (WebKit::WebViewImpl::pageHasRTLStyle):
2539 (WebKit::WebViewImpl::setRootGraphicsLayer):
2540 * src/WebViewImpl.h:
2542 2011-03-17 Jay Civelli <jcivelli@chromium.org>
2544 Reviewed by David Levin.
2546 Moving the method that is used to retrieve all the resources in
2547 a page from the Chromium code (dom_operations.cc) to WebKit.
2548 https://bugs.webkit.org/show_bug.cgi?id=55859
2551 * public/WebPageSerializer.h:
2553 (WebKit::operator==):
2554 (WebKit::operator!=):
2555 * public/WebVector.h:
2556 (WebKit::WebVector::contains):
2557 * src/WebDataSourceImpl.cpp:
2558 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2559 * src/WebPageSerializer.cpp:
2560 (WebCore::getSubResourceURLFromElement):
2561 (WebCore::retrieveResourcesForElement):
2562 (WebCore::retrieveResourcesForFrame):
2563 (WebKit::WebPageSerializer::retrieveAllResources):
2564 * tests/WebFrameTest.cpp:
2565 * tests/WebPageSerializerTest.cpp: Added.
2566 * tests/data/pageserialization: Added.
2567 * tests/data/pageserialization/awesome.png: Added.
2568 * tests/data/pageserialization/embed_iframe.html: Added.
2569 * tests/data/pageserialization/object_iframe.html: Added.
2570 * tests/data/pageserialization/simple_iframe.html: Added.
2571 * tests/data/pageserialization/simple_page.html: Added.
2572 * tests/data/pageserialization/top_frame.html: Added.
2574 2011-03-17 Tony Chang <tony@chromium.org>
2576 Reviewed by Pavel Feldman.
2578 [chromium] don't concatenate devtools files when debug_devtools=1
2579 https://bugs.webkit.org/show_bug.cgi?id=56572
2583 2011-03-17 Tony Chang <tony@chromium.org>
2585 Reviewed by Eric Seidel.
2587 [chromium] minor cleanup of devtools_files variable in WebKit.gyp
2588 https://bugs.webkit.org/show_bug.cgi?id=56503
2590 * WebKit.gyp: Moving duplicate variables out of a condition.
2592 2011-03-16 Adam Barth <abarth@webkit.org>
2594 Reviewed by James Robinson.
2596 Remove USE(BUILTIN_UTF8_CODEC)
2597 https://bugs.webkit.org/show_bug.cgi?id=56508
2601 2011-03-16 Tony Chang <tony@chromium.org>
2603 Reviewed by Adam Barth.
2605 [chromium] include inspector gif files in the list of resources
2606 https://bugs.webkit.org/show_bug.cgi?id=56504
2608 * scripts/generate_devtools_grd.py:
2610 2011-03-16 Bill Budge <bbudge@chromium.org>
2612 Reviewed by David Levin.
2614 AssociatedURLLoader does not support Cross Origin Requests
2615 https://bugs.webkit.org/show_bug.cgi?id=53925
2617 No new tests. Exposes no new functionality.
2619 * public/WebURLLoader.h:
2620 (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
2621 * src/AssociatedURLLoader.cpp:
2622 (WebKit::AssociatedURLLoader::ClientAdapter::isDocumentThreadableLoaderClient):
2623 (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
2624 (WebKit::AssociatedURLLoader::ClientAdapter::create):
2625 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
2626 (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
2627 (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
2628 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
2629 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
2630 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
2631 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
2632 (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
2633 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2634 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2635 (WebKit::AssociatedURLLoader::loadSynchronously):
2636 (WebKit::AssociatedURLLoader::loadAsynchronously):
2637 (WebKit::AssociatedURLLoader::cancel):
2638 (WebKit::AssociatedURLLoader::setDefersLoading):
2639 * src/AssociatedURLLoader.h:
2641 2011-03-16 Adam Barth <abarth@webkit.org>
2647 2011-03-16 Daniel Sievers <sievers@google.com>
2649 Reviewed by James Robinson.
2651 Add setting to always force compositing mode
2652 https://bugs.webkit.org/show_bug.cgi?id=56156
2654 * public/WebSettings.h:
2655 * src/WebSettingsImpl.cpp:
2656 (WebKit::WebSettingsImpl::setForceCompositingMode):
2657 * src/WebSettingsImpl.h:
2659 2011-03-16 Sreeram Ramachandran <sreeram@google.com>
2661 Reviewed by Dimitri Glazkov.
2663 Revert of r80451. Decided to do this in WebCore instead.
2664 https://bugs.webkit.org/show_bug.cgi?id=55844
2666 * public/WebFrame.h:
2667 * src/WebFrameImpl.cpp:
2668 * src/WebFrameImpl.h:
2670 2011-03-15 Ilya Sherman <isherman@chromium.org>
2672 Reviewed by Darin Fisher.
2674 Move isReadOnly() from WebInputElement to WebFormControlElement
2675 https://bugs.webkit.org/show_bug.cgi?id=55760
2677 * public/WebFormControlElement.h:
2678 * public/WebInputElement.h:
2679 * src/WebFormControlElement.cpp:
2680 (WebKit::WebFormControlElement::isReadOnly):
2681 * src/WebInputElement.cpp:
2683 2011-03-15 John Bauman <jbauman@chromium.org>
2685 Reviewed by Kenneth Russell.
2687 Non-premultiplied-alpha canvas attribute is ignore for toDataURL, drawImage, texImage2D
2688 https://bugs.webkit.org/show_bug.cgi?id=56238
2690 Add support for reading a webgl context into an ImageData.
2692 * src/GraphicsContext3DChromium.cpp:
2693 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2694 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToImageData):
2695 * src/GraphicsContext3DInternal.h:
2697 2011-03-15 Sheriff Bot <webkit.review.bot@gmail.com>
2699 Unreviewed, rolling out r81144.
2700 http://trac.webkit.org/changeset/81144
2701 https://bugs.webkit.org/show_bug.cgi?id=56432
2703 It broke the ui test
2704 NPAPITesterBase.GetURLRedirectNotification. (Requested by
2705 dave_levin on #webkit).
2707 * public/WebURLLoader.h:
2708 * src/AssociatedURLLoader.cpp:
2709 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2710 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2711 (WebKit::AssociatedURLLoader::loadSynchronously):
2712 (WebKit::AssociatedURLLoader::loadAsynchronously):
2713 (WebKit::AssociatedURLLoader::cancel):
2714 (WebKit::AssociatedURLLoader::setDefersLoading):
2715 (WebKit::AssociatedURLLoader::prepareRequest):
2716 (WebKit::AssociatedURLLoader::willSendRequest):
2717 (WebKit::AssociatedURLLoader::didSendData):
2718 (WebKit::AssociatedURLLoader::didReceiveResponse):
2719 (WebKit::AssociatedURLLoader::didDownloadData):
2720 (WebKit::AssociatedURLLoader::didReceiveData):
2721 (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
2722 (WebKit::AssociatedURLLoader::didFinishLoading):
2723 (WebKit::AssociatedURLLoader::didFail):
2724 * src/AssociatedURLLoader.h:
2726 2011-03-15 Tony Chang <tony@chromium.org>
2728 Reviewed by Adam Barth.
2730 pngcrush images used by inspector
2731 https://bugs.webkit.org/show_bug.cgi?id=56426
2733 This saves 120k in WebCore and 8k in WebKit/chromium. I ran
2734 pngcrush -brute, so none of the meta data (ancillary chunks)
2737 * src/js/Images/segmentChromium.png:
2738 * src/js/Images/segmentHoverChromium.png:
2739 * src/js/Images/segmentHoverEndChromium.png:
2740 * src/js/Images/segmentSelectedChromium.png:
2741 * src/js/Images/segmentSelectedEndChromium.png:
2742 * src/js/Images/statusbarBackgroundChromium.png:
2743 * src/js/Images/statusbarBottomBackgroundChromium.png:
2744 * src/js/Images/statusbarMenuButtonChromium.png:
2745 * src/js/Images/statusbarMenuButtonSelectedChromium.png:
2747 2011-03-15 Michael Nordman <michaeln@google.com>
2749 Reviewed by Alexey Proskuryakov.
2751 When initiating a main resource load, let the application cache
2752 know which frame the load is being conducted for. This patch doesn't
2753 resolve the following bug, but the additional WebFrame parameter
2754 should provide the chromium port with enough info to pick the
2755 "most appropiate" cached resource.
2756 https://bugs.webkit.org/show_bug.cgi?id=55505
2758 Also fixup a stale comment in stopLoadingInFrame.
2760 * public/WebApplicationCacheHost.h:
2761 (WebKit::WebApplicationCacheHost::willStartMainResourceRequest):
2762 * src/ApplicationCacheHost.cpp:
2763 (WebCore::ApplicationCacheHost::maybeLoadMainResource):
2764 (WebCore::ApplicationCacheHost::stopLoadingInFrame):
2766 2011-03-15 Tony Chang <tony@chromium.org>
2768 Reviewed by Adam Barth.
2770 [chromium] add a build target to create a grd file with devtool resources
2771 https://bugs.webkit.org/show_bug.cgi?id=56335
2773 Reland with a fix to avoid really long command lines on Windows.
2776 * scripts/generate_devtools_grd.py: Added.
2778 2011-03-15 Alok priyadarshi <alokp@chromium.org>
2780 Reviewed by James Robinson.
2782 Valgrind error due to uninitialized PluginLayerChromium::m_textureId
2783 https://bugs.webkit.org/show_bug.cgi?id=56390
2785 * src/WebPluginContainerImpl.cpp:
2786 (WebKit::WebPluginContainerImpl::setBackingTextureId):
2787 (WebKit::WebPluginContainerImpl::platformLayer):
2789 2011-03-15 Brett Wilson <brettw@chromium.org>
2791 Reviewed by Adam Barth.
2793 Make WebConsoleMessage properly respect the log level.
2794 https://bugs.webkit.org/show_bug.cgi?id=56386
2796 * public/WebConsoleMessage.h:
2797 (WebKit::WebConsoleMessage::WebConsoleMessage):
2799 2011-03-15 Tony Chang <tony@chromium.org>
2801 Revert r81147 and r81149, broke the chromium win build.
2804 * scripts/generate_devtools_grd.py: Removed.
2806 2011-03-15 Tony Chang <tony@chromium.org>
2808 Fix chromium build using python 2.5 (with statement).
2810 * scripts/generate_devtools_grd.py:
2812 2011-03-15 Tony Chang <tony@chromium.org>
2814 Reviewed by Adam Barth.
2816 [chromium] add a build target to create a grd file with devtool resources
2817 https://bugs.webkit.org/show_bug.cgi?id=56335
2819 This is the webkit side of the fix for
2820 http://code.google.com/p/chromium/issues/detail?id=35793
2823 * scripts/generate_devtools_grd.py: Added.
2825 2011-03-15 Bill Budge <bbudge@chromium.org>
2827 Reviewed by David Levin.
2829 AssociatedURLLoader does not support Cross Origin Requests
2830 https://bugs.webkit.org/show_bug.cgi?id=53925
2832 No new tests. No new functionality exposed.
2834 * public/WebURLLoader.h:
2835 (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
2836 * src/AssociatedURLLoader.cpp:
2837 (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
2838 (WebKit::AssociatedURLLoader::ClientAdapter::create):
2839 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
2840 (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
2841 (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
2842 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
2843 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
2844 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
2845 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
2846 (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
2847 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2848 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2849 (WebKit::AssociatedURLLoader::loadSynchronously):
2850 (WebKit::AssociatedURLLoader::loadAsynchronously):
2851 (WebKit::AssociatedURLLoader::cancel):
2852 (WebKit::AssociatedURLLoader::setDefersLoading):
2853 * src/AssociatedURLLoader.h:
2855 2011-03-15 Alok priyadarshi <alokp@chromium.org>
2857 Reviewed by James Robinson.
2859 Remove unnecessary function WebPlugin::getBackingTextureId
2860 https://bugs.webkit.org/show_bug.cgi?id=56122
2862 It will be tested by Pepper2D and Pepper3D layout/smoke tests
2863 on the Chromium side.
2865 * public/WebPlugin.h:
2866 * src/WebPluginContainerImpl.cpp:
2867 (WebKit::WebPluginContainerImpl::platformLayer):
2869 2011-03-15 Mikhail Naganov <mnaganov@chromium.org>
2871 Unreviewed. Update chromium deps to pick up the latest V8.
2875 2011-03-14 Alexey Marinichev <amarinichev@chromium.org>
2877 Reviewed by Kenneth Russell.
2879 Graphics Context is not properly recovered if the GPU process dies.
2880 https://bugs.webkit.org/show_bug.cgi?id=56148
2882 Split context recreation into two steps.
2884 * src/WebViewImpl.cpp:
2885 (WebKit::WebViewImpl::composite):
2886 (WebKit::WebViewImpl::doComposite):
2887 (WebKit::WebViewImpl::reallocateRenderer):
2888 * src/WebViewImpl.h:
2890 2011-03-14 Sheriff Bot <webkit.review.bot@gmail.com>
2892 Unreviewed, rolling out r81094.
2893 http://trac.webkit.org/changeset/81094
2894 https://bugs.webkit.org/show_bug.cgi?id=56355
2896 Broke the chromium DRT related build. (Requested by dave_levin
2899 * public/WebFrame.h:
2900 * src/WebFrameImpl.cpp:
2901 (WebKit::WebFrameImpl::renderTreeAsText):
2902 (WebKit::WebFrameImpl::layerTreeAsText):
2903 * src/WebFrameImpl.h:
2905 2011-03-14 Daniel Sievers <sievers@google.com>
2907 Reviewed by Simon Fraser.
2909 [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
2910 https://bugs.webkit.org/show_bug.cgi?id=56139
2912 * public/WebFrame.h:
2913 * src/WebFrameImpl.cpp:
2914 (WebKit::WebFrameImpl::renderTreeAsText):
2915 (WebKit::WebFrameImpl::layerTreeAsText):
2916 * src/WebFrameImpl.h:
2918 2011-03-14 John Knottenbelt <jknotten@chromium.org>
2920 Reviewed by Steve Block.
2922 Detach Geolocation from Frame when Page destroyed.
2923 https://bugs.webkit.org/show_bug.cgi?id=52877
2925 Add accessors to the WebGeolocationClientMock to allow the number of
2926 pending geolocation permission requests to be queried.
2928 * public/WebGeolocationClientMock.h:
2929 * src/WebGeolocationClientMock.cpp:
2930 (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
2932 2011-03-11 David Levin <levin@chromium.org>
2934 Rollout the chromium deps roll as it adds a dependency on a header
2935 that the bots building for WebKit don't seem to have.
2937 Specifically gfx\gl\gl_context_egl.cc depends on d3dcompiler.h
2941 2011-03-11 Daniel Cheng <dcheng@chromium.org>
2943 Reviewed by Tony Chang.
2945 [chromium] Correct return type of WebClipboard::readImage.
2946 https://bugs.webkit.org/show_bug.cgi?id=56234
2948 Update the return type to reflect that we are returning a blob of PNG
2951 * public/WebClipboard.h:
2952 (WebKit::WebClipboard::readImage):
2954 2011-03-11 David Levin <levin@chromium.org>
2956 Update chromium deps to pick up the skia roll.
2960 2011-03-11 Adrienne Walker <enne@google.com>
2962 Reviewed by Kenneth Russell.
2964 Add missing unit tests to TilingData.
2965 https://bugs.webkit.org/show_bug.cgi?id=54143
2967 * tests/TilingDataTest.cpp:
2970 2011-03-11 Anton D'Auria <adauria@apple.com>
2972 Reviewed and landed by Brady Eidson.
2974 Add WebKit1 API to view and delete local storage
2975 https://bugs.webkit.org/show_bug.cgi?id=51878
2977 * src/StorageNamespaceProxy.cpp:
2978 (WebCore::StorageNamespaceProxy::clearOriginForDeletion):
2979 (WebCore::StorageNamespaceProxy::clearAllOriginsForDeletion):
2980 (WebCore::StorageNamespaceProxy::sync):
2981 * src/StorageNamespaceProxy.h:
2983 2011-03-11 Dominic Mazzoni <dmazzoni@google.com>
2985 Reviewed by Dimitri Glazkov.
2987 Add an accessibilityIsIgnored method to WebAccessibilityObject.
2988 https://bugs.webkit.org/show_bug.cgi?id=50969
2990 * public/WebAccessibilityObject.h:
2991 * src/WebAccessibilityObject.cpp:
2992 (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
2994 2011-03-11 Avi Drissman <avi@google.com>
2996 Reviewed by Tony Chang.
2998 Fix missing initialization of new member variables.
2999 https://bugs.webkit.org/show_bug.cgi?id=50969
3001 * public/WebMenuItemInfo.h:
3002 (WebKit::WebMenuItemInfo::WebMenuItemInfo):
3004 2011-03-11 Roland Steiner <rolandsteiner@chromium.org>
3006 Reviewed by Ryosuke Niwa.
3008 Bug 55570 - Remove dependency of dom/InputElement.cpp on html/ and wml/
3009 https://bugs.webkit.org/show_bug.cgi?id=55570
3011 Add a virtual function toInputElement() to Node that has a default
3012 implementation of returning 0.
3013 For HTMLInputElement and WMLInputElement (which derive from InputElement)
3014 override this to return the object.
3015 Change all calling sites of the old toInputElement to use the new member
3016 function. This also allows us to save some casts.
3018 No new tests (refactoring).
3020 * src/WebInputElement.cpp:
3021 (WebKit::toWebInputElement):
3023 2011-03-10 Takayoshi Kochi <kochi@chromium.org>
3025 Reviewed by Tony Chang.
3027 Remove default parameter declaration for familiForChars(), which is no longer necessary.
3029 * public/gtk/WebFontInfo.h:
3031 2011-03-10 Nat Duca <nduca@chromium.org>
3033 Reviewed by James Robinson.
3035 [chromium] Make updateAndDrawLayers argumentless.
3036 https://bugs.webkit.org/show_bug.cgi?id=55985
3038 Made the TilePainters and viewport parameters for
3039 LayerRendererChromium member variables instead of arguments on
3040 updateAndDrawLayers. In a future change, this will allows us to
3041 draw the layer tree without the WebView's assistance.
3043 * src/WebViewImpl.cpp:
3044 (WebKit::WebViewImpl::resize):
3045 (WebKit::WebViewImpl::paint):
3046 (WebKit::WebViewImpl::scrollRootLayerRect):
3047 (WebKit::WebViewImpl::invalidateRootLayerRect):
3048 (WebKit::WebViewImplContentPainter::create):
3049 (WebKit::WebViewImplContentPainter::paint):
3050 (WebKit::WebViewImplContentPainter::WebViewImplContentPainter):
3051 (WebKit::WebViewImplScrollbarPainter::create):
3052 (WebKit::WebViewImplScrollbarPainter::paint):
3053 (WebKit::WebViewImplScrollbarPainter::WebViewImplScrollbarPainter):
3054 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3055 (WebKit::WebViewImpl::doComposite):
3056 (WebKit::WebViewImpl::reallocateRenderer):
3057 (WebKit::WebViewImpl::updateLayerRendererViewport):
3058 * src/WebViewImpl.h:
3060 2011-03-10 Tony Chang <tony@chromium.org>
3062 Unreviewed, roll chromium version to r77259 to pick up
3063 webfontinfo api change.
3067 2011-03-10 Sheriff Bot <webkit.review.bot@gmail.com>
3069 Unreviewed, rolling out r80701.
3070 http://trac.webkit.org/changeset/80701
3071 https://bugs.webkit.org/show_bug.cgi?id=56126
3073 fast/dom/Geolocation/window-close-crash.html fails on Snow
3074 Leopard release builds (Requested by mihaip on #webkit).
3076 * public/WebGeolocationClientMock.h:
3077 * src/WebGeolocationClientMock.cpp:
3079 2011-03-10 Andrey Kosyakov <caseq@chromium.org>
3081 Reviewed by Yury Semikhatsky.
3083 Web Inspector: better names for HAR export commands
3084 https://bugs.webkit.org/show_bug.cgi?id=56097
3086 Rename Export to HAR to Copy entry/network log as HAR
3087 Expose Copy as HAR unconditionally, remove related settings entry.
3089 * src/js/DevTools.js: removed override for resourceExportEnabled
3091 2011-01-26 John Knottenbelt <jknotten@chromium.org>
3093 Reviewed by Dmitry Titov.
3095 Detach Geolocation from Frame when Page destroyed.
3096 https://bugs.webkit.org/show_bug.cgi?id=52877
3098 Add accessors to the WebGeolocationClientMock to allow the number of
3099 pending geolocation permission requests to be queried.
3101 * public/WebGeolocationClientMock.h:
3102 * src/WebGeolocationClientMock.cpp:
3103 (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
3105 2011-03-08 Hans Wennborg <hans@chromium.org>
3107 Reviewed by Jeremy Orlow.
3109 IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
3110 https://bugs.webkit.org/show_bug.cgi?id=55948
3112 Add a parameter that allows for selection of alternative backing store
3115 * public/WebIDBFactory.h:
3116 (WebKit::WebIDBFactory::open):
3117 * src/AssertMatchingEnums.cpp:
3118 * src/IDBFactoryBackendProxy.cpp:
3119 (WebCore::IDBFactoryBackendProxy::open):
3120 * src/IDBFactoryBackendProxy.h:
3121 * src/WebIDBFactoryImpl.cpp:
3122 (WebKit::WebIDBFactoryImpl::open):
3123 * src/WebIDBFactoryImpl.h:
3125 2011-03-08 Kinuko Yasuda <kinuko@chromium.org>
3127 Reviewed by David Levin.
3129 Destroying WorkerFileSystemCallbacksBridge on main thread results in ASSERT in WorkerContext::Observer::~Observer
3130 https://bugs.webkit.org/show_bug.cgi?id=55895
3132 * src/WorkerFileSystemCallbacksBridge.cpp:
3133 (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnWorkerThread):
3134 Added stopObserving() so that releasing the bridge on the main thread
3135 (this could happen before or after the runTaskOnWorkerThread) does
3136 not cause the assertion error.
3138 2011-03-08 Alok priyadarshi <alokp@chromium.org>
3140 Reviewed by Dimitri Glazkov.
3142 Plugins needs a way to trigger style recalc
3143 https://bugs.webkit.org/show_bug.cgi?id=55242
3145 It will be tested by Pepper2D and Pepper3D layout/smoke tests
3146 on the Chromium side.
3148 * public/WebPluginContainer.h:
3149 * src/WebPluginContainerImpl.cpp:
3150 (WebKit::WebPluginContainerImpl::setBackingTextureId):
3151 * src/WebPluginContainerImpl.h:
3153 2011-03-08 Andrei Popescu <andreip@google.com>
3155 Reviewed by Steve Block.
3157 IDBCallbacks::onsuccess(IDBIndex*) is unused and should be removed.
3158 https://bugs.webkit.org/show_bug.cgi?id=55938
3160 * public/WebIDBCallbacks.h:
3161 * src/IDBCallbacksProxy.cpp:
3162 * src/IDBCallbacksProxy.h:
3163 * src/WebIDBCallbacksImpl.cpp:
3164 * src/WebIDBCallbacksImpl.h:
3165 * src/WebIDBObjectStoreImpl.cpp:
3167 2011-03-07 Daniel Cheng <dcheng@chromium.org>
3169 Reviewed by David Levin.
3171 Add support for DataTransferItems
3172 https://bugs.webkit.org/show_bug.cgi?id=55115
3174 Add new runtime enabled flag for data transfer items feature.
3176 * public/WebRuntimeFeatures.h:
3177 * src/WebRuntimeFeatures.cpp:
3178 (WebKit::WebRuntimeFeatures::enableDataTransferItems):
3179 (WebKit::WebRuntimeFeatures::isDataTransferItemsEnabled):
3181 2011-03-07 Ryosuke Niwa <rniwa@webkit.org>
3185 * src/ContextMenuClientImpl.cpp:
3186 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3188 2011-03-07 Ryosuke Niwa <rniwa@webkit.org>
3190 Reviewed by Darin Adler.
3192 selectionHasStyle and selectionStartHasStyle should use EditingStyle
3193 https://bugs.webkit.org/show_bug.cgi?id=55902
3195 selectionHasStyle now takes a property id and a value instead of a CSSMutableStyleDeclaration.
3197 * src/ContextMenuClientImpl.cpp:
3198 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Calls selectionHasStyle.
3200 2011-03-07 Daniel Cheng <dcheng@chromium.org>
3202 Reviewed by Tony Chang.
3204 Add plumbing for paste support to ChromiumDataObject::types()
3205 https://bugs.webkit.org/show_bug.cgi?id=55792
3207 This requires a DEPS roll for a Chromium-side change to support DRT testing of
3208 event.dataTransfer.types.
3212 2011-03-07 Takayoshi Kochi <kochi@chromium.org>
3214 Reviewed by Tony Chang.
3216 Use preferred locale information when choosing fallback font using
3217 fontconfig on Linux platform.
3218 https://bugs.webkit.org/show_bug.cgi?id=55453
3220 Tests will be covered by Chromium side.
3222 * public/gtk/WebFontInfo.h:
3223 (WebKit::WebFontInfo::familyForChars): added 3rd parameter |preferredLocale|
3224 * public/linux/WebSandboxSupport.h:
3225 (WebKit::WebSandboxSupport::getFontFamilyForCharacters): added 3rd parameter |preferredLocale|
3226 * src/PlatformBridge.cpp:
3227 * src/gtk/WebFontInfo.cpp:
3229 2011-03-07 James Robinson <jamesr@chromium.org>
3231 Reviewed by Kenneth Russell.
3233 [chromium] Separate the "update" and "draw" portions of LayerRendererChromium's drawLayers function
3234 https://bugs.webkit.org/show_bug.cgi?id=54047
3236 Call updated LayerRendererChromium APIs.
3238 * src/WebViewImpl.cpp:
3239 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
3240 (WebKit::WebViewImpl::paint):
3241 (WebKit::WebViewImpl::doComposite):
3243 2011-03-07 Sam Weinig <sam@webkit.org>
3245 Reviewed by Anders Carlsson.
3247 Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
3248 https://bugs.webkit.org/show_bug.cgi?id=55827
3250 Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
3251 and pass the entire response, instead of just the MIMEType.
3253 * src/FrameLoaderClientImpl.cpp:
3254 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForResponse):
3255 * src/FrameLoaderClientImpl.h:
3257 2011-03-07 Marcus Bulach <bulach@chromium.org>
3259 Reviewed by Dan Bernstein.
3261 WebViewImpl::focusedWebCoreFrame() should be const.
3262 https://bugs.webkit.org/show_bug.cgi?id=55870
3264 * src/WebViewImpl.cpp:
3265 (WebKit::WebViewImpl::focusedWebCoreFrame):
3266 * src/WebViewImpl.h:
3268 2011-03-07 Eric Carlson <eric.carlson@apple.com>
3270 Reviewed by Darin Adler.
3272 Add API to enumerate/delete files downloaded for <audio> and <video>
3273 https://bugs.webkit.org/show_bug.cgi?id=55267
3275 * src/WebMediaPlayerClientImpl.cpp:
3276 (WebKit::WebMediaPlayerClientImpl::registerSelf): Update for MediaEngineRegistrar change.
3278 2011-03-07 Andrei Popescu <andreip@google.com>
3280 Reviewed by Steve Block.
3282 IDBRequest::onSuccess(IDBObjectStore*) should be removed as it is unused.
3283 https://bugs.webkit.org/show_bug.cgi?id=55777
3285 * src/IDBCallbacksProxy.cpp:
3286 * src/IDBCallbacksProxy.h:
3287 * src/WebIDBCallbacksImpl.cpp:
3288 * src/WebIDBCallbacksImpl.h:
3290 2011-03-07 Sheriff Bot <webkit.review.bot@gmail.com>
3292 Unreviewed, rolling out r80458.
3293 http://trac.webkit.org/changeset/80458
3294 https://bugs.webkit.org/show_bug.cgi?id=55863
3296 caused tests to crash on several chromium bots (Requested by
3299 * src/AssociatedURLLoader.cpp:
3300 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3301 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3302 (WebKit::AssociatedURLLoader::loadSynchronously):
3303 (WebKit::AssociatedURLLoader::loadAsynchronously):
3304 (WebKit::AssociatedURLLoader::cancel):
3305 (WebKit::AssociatedURLLoader::setDefersLoading):
3306 (WebKit::AssociatedURLLoader::prepareRequest):
3307 (WebKit::AssociatedURLLoader::willSendRequest):
3308 (WebKit::AssociatedURLLoader::didSendData):
3309 (WebKit::AssociatedURLLoader::didReceiveResponse):
3310 (WebKit::AssociatedURLLoader::didDownloadData):
3311 (WebKit::AssociatedURLLoader::didReceiveData):
3312 (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
3313 (WebKit::AssociatedURLLoader::didFinishLoading):
3314 (WebKit::AssociatedURLLoader::didFail):
3315 * src/AssociatedURLLoader.h:
3317 2011-03-07 Bill Budge <bbudge@chromium.org>
3319 Reviewed by David Levin.
3321 AssociatedURLLoader does not support Cross Origin Requests
3322 https://bugs.webkit.org/show_bug.cgi?id=53925
3324 No tests needed. Exposes no new functionality.
3326 * src/AssociatedURLLoader.cpp:
3327 (WebKit::AssociatedURLLoader::ClientAdapter::create):
3328 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
3329 (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
3330 (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
3331 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
3332 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
3333 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
3334 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
3335 (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
3336 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3337 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3338 (WebKit::AssociatedURLLoader::loadSynchronously):
3339 (WebKit::AssociatedURLLoader::loadAsynchronously):
3340 (WebKit::AssociatedURLLoader::cancel):
3341 (WebKit::AssociatedURLLoader::setDefersLoading):
3342 * src/AssociatedURLLoader.h:
3343 (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
3345 2011-03-06 Sreeram Ramachandran <sreeram@google.com>
3347 Reviewed by Dimitri Glazkov.
3349 Expose page dismissal event status through the WebKit API for chromium.
3350 https://bugs.webkit.org/show_bug.cgi?id=55844
3352 Chromium will find it useful to know the page dismissal status (i.e.,
3353 whether a frame is in the midst of executing a beforeunload or unload
3354 handler), so expose that information through the chromium port in the
3357 This is my second attempt at this patch. The previous one broke
3358 downstream Chromium builds of some unit tests which had classes derived
3359 from WebFrame (and thus became uninstantiable because of this new pure
3360 virtual method). Those have now been fixed (http://crrev.com/77101).
3362 * public/WebFrame.h:
3363 * src/WebFrameImpl.cpp:
3364 (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
3365 * src/WebFrameImpl.h:
3367 2011-03-06 Sheriff Bot <webkit.review.bot@gmail.com>
3369 Unreviewed, rolling out r80436.
3370 http://trac.webkit.org/changeset/80436
3371 https://bugs.webkit.org/show_bug.cgi?id=55849
3373 Broke Chromium compile across the board (Requested by dglazkov
3376 * public/WebFrame.h:
3377 * src/WebFrameImpl.cpp:
3378 * src/WebFrameImpl.h:
3380 2011-03-06 Sreeram Ramachandran <sreeram@google.com>
3382 Reviewed by Dimitri Glazkov.
3384 Expose page dismissal event status through the WebKit API for chromium
3385 https://bugs.webkit.org/show_bug.cgi?id=55844
3387 * public/WebFrame.h:
3388 * src/WebFrameImpl.cpp:
3389 (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
3390 * src/WebFrameImpl.h:
3392 2011-03-05 Daniel Cheng <dcheng@chromium.org>
3394 Reviewed by Dmitry Titov.
3396 [chromium] Add method to WebClipboard to read images from the clipboard.
3397 https://bugs.webkit.org/show_bug.cgi?id=55814
3399 * public/WebClipboard.h:
3400 (WebKit::WebClipboard::readImage):
3402 2011-03-04 Adam Barth <abarth@webkit.org>
3404 Reviewed by Dimitri Glazkov.
3406 Remove unneeded round-trips through ../Source in the Chromium GYP build
3407 https://bugs.webkit.org/show_bug.cgi?id=55795
3411 2011-03-03 John Abd-El-Malek <jam@chromium.org>
3413 Reviewed by Dimitri Glazkov.
3415 [chromium] Get rid of IsContentFiltered flags since they're not used anymore
3416 https://bugs.webkit.org/show_bug.cgi?id=55748
3419 * public/WebURLResponse.h:
3420 * src/WebURLResponse.cpp:
3422 2011-03-04 James Su <suzhe@chromium.org>
3424 Reviewed by Dimitri Glazkov.
3426 [Chromium] keycode is always 0 when using non-Latin keyboard layout.
3427 https://bugs.webkit.org/show_bug.cgi?id=54939
3429 No intended functionality change.
3431 * src/mac/WebInputEventFactory.mm:
3432 (WebKit::windowsKeyCodeForKeyEvent): Use the same implementation
3433 provided in WebCore/platform/mac/KeyEventMac.mm.
3435 2011-03-04 Zelidrag Hornung <zelidrag@chromium.org>
3437 Reviewed by David Levin
3439 Expose ability to create instance of DOMFileSystem from Chromium side.
3440 https://bugs.webkit.org/show_bug.cgi?id=55618
3442 * public/WebFrame.h:
3443 * src/WebFrameImpl.cpp:
3444 (WebKit::WebFrameImpl::createFileSystem):
3445 * src/WebFrameImpl.h:
3447 2011-03-03 Nat Duca <nduca@chromium.org>
3449 Reviewed by James Robinson.
3451 [chromium] Create a LayerChromium layerTreeAsText. Add HUD to
3452 LayerRendererChromium that draws compositor FPS and, optionally,
3454 https://bugs.webkit.org/show_bug.cgi?id=54710
3456 * public/WebSettings.h:
3457 * src/WebSettingsImpl.cpp:
3458 (WebKit::WebSettingsImpl::WebSettingsImpl):
3459 (WebKit::WebSettingsImpl::setShowFPSCounter):
3460 (WebKit::WebSettingsImpl::setShowPlatformLayerTree):
3461 * src/WebSettingsImpl.h:
3462 (WebKit::WebSettingsImpl::showFPSCounter):
3463 (WebKit::WebSettingsImpl::showPlatformLayerTree):
3464 * src/WebViewImpl.cpp:
3465 (WebKit::WebViewImpl::doComposite):
3467 2011-03-03 Alexey Proskuryakov <ap@apple.com>
3469 Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
3472 * src/ChromeClientImpl.h:
3474 2011-03-02 Alexey Proskuryakov <ap@apple.com>
3476 Reviewed by Darin Adler.
3478 REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
3479 https://bugs.webkit.org/show_bug.cgi?id=55633
3480 <rdar://problem/8963023>
3482 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::keyboardUIMode):
3483 * src/ChromeClientImpl.h:
3484 Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
3485 this platform doesn't observe or have full keyboard access state.
3487 2011-03-03 Sheriff Bot <webkit.review.bot@gmail.com>
3489 Unreviewed, rolling out r80219.
3490 http://trac.webkit.org/changeset/80219
3491 https://bugs.webkit.org/show_bug.cgi?id=55680
3493 "Causes several media test crashes" (Requested by tonyg-cr on
3496 * src/AssociatedURLLoader.cpp:
3497 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3498 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3499 (WebKit::AssociatedURLLoader::loadSynchronously):
3500 (WebKit::AssociatedURLLoader::loadAsynchronously):
3501 (WebKit::AssociatedURLLoader::cancel):
3502 (WebKit::AssociatedURLLoader::setDefersLoading):
3503 (WebKit::AssociatedURLLoader::prepareRequest):
3504 (WebKit::AssociatedURLLoader::willSendRequest):
3505 (WebKit::AssociatedURLLoader::didSendData):
3506 (WebKit::AssociatedURLLoader::didReceiveResponse):
3507 (WebKit::AssociatedURLLoader::didDownloadData):
3508 (WebKit::AssociatedURLLoader::didReceiveData):
3509 (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
3510 (WebKit::AssociatedURLLoader::didFinishLoading):
3511 (WebKit::AssociatedURLLoader::didFail):
3512 * src/AssociatedURLLoader.h:
3514 2011-03-03 Dominic Mazzoni <dmazzoni@google.com>
3516 Reviewed by Dimitri Glazkov.
3518 Add an equals() method to WebAccessibilityObject.
3519 https://bugs.webkit.org/show_bug.cgi?id=55631
3521 * public/WebAccessibilityObject.h:
3522 * src/WebAccessibilityObject.cpp:
3523 (WebKit::WebAccessibilityObject::equals):
3525 2011-03-03 Pavel Podivilov <podivilov@chromium.org>
3527 Reviewed by Yury Semikhatsky.
3529 Web Inspector: make selected call frame debugger presentation model property.
3530 https://bugs.webkit.org/show_bug.cgi?id=55582
3534 2011-03-03 Bill Budge <bbudge@chromium.org>
3536 Reviewed by David Levin.
3538 AssociatedURLLoader does not support Cross Origin Requests
3539 https://bugs.webkit.org/show_bug.cgi?id=53925
3541 No tests needed. Exposes no new functionality.
3543 * src/AssociatedURLLoader.cpp:
3544 (WebKit::AssociatedURLLoader::ClientAdapter::create):
3545 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
3546 (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
3547 (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
3548 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
3549 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
3550 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
3551 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
3552 (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
3553 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3554 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3555 (WebKit::AssociatedURLLoader::loadSynchronously):
3556 (WebKit::AssociatedURLLoader::loadAsynchronously):
3557 (WebKit::AssociatedURLLoader::cancel):
3558 (WebKit::AssociatedURLLoader::setDefersLoading):
3559 * src/AssociatedURLLoader.h:
3560 (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
3562 2011-03-03 Steve Lacey <sjl@chromium.org>
3564 Reviewed by Darin Fisher.
3566 Wire up webkit metrics changes to chromium changes.
3567 https://bugs.webkit.org/show_bug.cgi?id=54580
3570 * public/WebMediaPlayer.h:
3571 * src/WebMediaPlayerClientImpl.cpp:
3572 (WebKit::WebMediaPlayerClientImpl::decodedFrameCount):
3573 (WebKit::WebMediaPlayerClientImpl::droppedFrameCount):
3574 (WebKit::WebMediaPlayerClientImpl::audioDecodedByteCount):
3575 (WebKit::WebMediaPlayerClientImpl::videoDecodedByteCount):
3576 * src/WebMediaPlayerClientImpl.h:
3578 2011-03-02 Daniel Cheng <dcheng@chromium.org>
3580 Reviewed by David Levin.
3582 Manually revert ChromiumDataObject changes.
3583 https://bugs.webkit.org/show_bug.cgi?id=55627
3586 * src/WebDragData.cpp:
3587 (WebKit::WebDragData::initialize):
3588 * src/WebViewImpl.cpp:
3589 (WebKit::WebViewImpl::dragTargetDragEnter):
3590 * src/WebViewImpl.h:
3592 2011-03-02 David Grogan <dgrogan@chromium.org>
3594 Reviewed by Jeremy Orlow.
3596 IndexedDB: fire versionchange events when calling setVersion
3597 https://bugs.webkit.org/show_bug.cgi?id=55095
3600 * src/IDBDatabaseCallbacksProxy.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
3601 (WebCore::IDBDatabaseCallbacksProxy::create):
3602 (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
3603 (WebCore::IDBDatabaseCallbacksProxy::~IDBDatabaseCallbacksProxy):
3604 (WebCore::IDBDatabaseCallbacksProxy::onVersionChange):
3605 * src/IDBDatabaseCallbacksProxy.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
3606 * src/IDBDatabaseProxy.cpp:
3607 (WebCore::IDBDatabaseProxy::setVersion):
3608 (WebCore::IDBDatabaseProxy::close):
3609 (WebCore::IDBDatabaseProxy::open):
3610 * src/IDBDatabaseProxy.h:
3611 * src/WebIDBDatabaseCallbacksImpl.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.cpp.
3612 (WebCore::WebIDBDatabaseCallbacksImpl::WebIDBDatabaseCallbacksImpl):
3613 (WebCore::WebIDBDatabaseCallbacksImpl::~WebIDBDatabaseCallbacksImpl):
3614 (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
3615 * src/WebIDBDatabaseCallbacksImpl.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
3616 * src/WebIDBDatabaseImpl.cpp:
3617 (WebKit::WebIDBDatabaseImpl::setVersion):
3618 (WebKit::WebIDBDatabaseImpl::close):
3619 (WebKit::WebIDBDatabaseImpl::open):
3620 * src/WebIDBDatabaseImpl.h:
3622 2011-03-02 Sheriff Bot <webkit.review.bot@gmail.com>
3624 Unreviewed, rolling out r80139.
3625 http://trac.webkit.org/changeset/80139
3626 https://bugs.webkit.org/show_bug.cgi?id=55620
3628 failing and crashing tests on Snow Leopard bot (Requested by
3629 mihaip1 on #webkit).
3631 * public/WebGeolocationClientMock.h:
3632 * src/WebGeolocationClientMock.cpp:
3634 2011-03-02 Daniel Cheng <dcheng@chromium.org>
3636 Revert frame-specific WebClipboard changes
3637 https://bugs.webkit.org/show_bug.cgi?id=55617
3639 This code is no longer needed since we've decided to use the original
3640 approach to copy/paste drag/drop handling in ClipboardChromium.
3642 * public/WebFrameClient.h:
3643 * src/PlatformBridge.cpp:
3644 (WebCore::PlatformBridge::clipboardReadAvailableTypes):
3645 (WebCore::PlatformBridge::clipboardReadData):
3646 (WebCore::PlatformBridge::clipboardReadFilenames):
3647 * src/WebFrameImpl.cpp:
3648 (WebKit::WebFrameImpl::fromFrame):
3649 * src/WebFrameImpl.h:
3650 * src/WebViewImpl.cpp:
3651 (WebKit::WebViewImpl::dragTargetDragEnterNew):
3653 2011-03-02 Tony Chang <tony@chromium.org>
3655 Unreviewed, rolling chromium DEPS to r76362.
3657 https://bugs.webkit.org/show_bug.cgi?id=55564
3661 2011-02-28 Jeremy Orlow <jorlow@chromium.org>
3663 Reviewed by James Robinson.
3665 Split IDBCursor.value into IDBCursor.primaryKey and IDBCursor.value
3666 https://bugs.webkit.org/show_bug.cgi?id=55443
3668 * public/WebIDBCursor.h:
3669 (WebKit::WebIDBCursor::primaryKey):
3670 (WebKit::WebIDBCursor::value):
3671 * src/IDBCursorBackendProxy.cpp:
3672 (WebCore::IDBCursorBackendProxy::primaryKey):
3673 (WebCore::IDBCursorBackendProxy::value):
3674 * src/IDBCursorBackendProxy.h:
3675 * src/WebIDBCursorImpl.cpp:
3676 (WebKit::WebIDBCursorImpl::key):
3677 (WebKit::WebIDBCursorImpl::primaryKey):
3678 (WebKit::WebIDBCursorImpl::value):
3679 * src/WebIDBCursorImpl.h:
3681 2011-03-02 Daniel Cheng <dcheng@chromium.org>
3683 Reviewed by David Levin.
3685 Add feature define for data transfer items
3686 https://bugs.webkit.org/show_bug.cgi?id=55510
3690 2011-01-26 John Knottenbelt <jknotten@chromium.org>
3692 Detach Geolocation from Frame when Page destroyed.
3693 https://bugs.webkit.org/show_bug.cgi?id=52877
3695 Add accessors to the WebGeolocationClientMock to allow the number of
3696 pending geolocation permission requests to be queried.
3698 * public/WebGeolocationClientMock.h:
3699 * src/WebGeolocationClientMock.cpp:
3700 (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
3702 2011-03-01 David Grogan <dgrogan@chromium.org>
3704 Reviewed by Jeremy Orlow.
3706 IndexedDB: public webkit interfaces for firing versionchange events to IDBDatabase objects
3707 https://bugs.webkit.org/show_bug.cgi?id=55548
3710 * public/WebIDBDatabase.h:
3711 (WebKit::WebIDBDatabase::createObjectStore):
3712 (WebKit::WebIDBDatabase::open):
3713 * public/WebIDBDatabaseCallbacks.h: Added.
3714 (WebKit::WebIDBDatabaseCallbacks::~WebIDBDatabaseCallbacks):
3715 (WebKit::WebIDBDatabaseCallbacks::onVersionChange):
3717 2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>
3719 Unreviewed, rolling out r80079.
3720 http://trac.webkit.org/changeset/80079
3721 https://bugs.webkit.org/show_bug.cgi?id=55547
3723 "Broke the Win debug build?" (Requested by dcheng on #webkit).
3727 2011-03-01 Daniel Cheng <dcheng@chromium.org>
3729 Reviewed by David Levin.
3731 Add feature define for data transfer items
3732 https://bugs.webkit.org/show_bug.cgi?id=55510
3736 2011-03-01 Jeremy Orlow <jorlow@chromium.org>
3738 Reviewed by James Robinson.
3740 Add a primaryKey method to IDBCursor
3741 https://bugs.webkit.org/show_bug.cgi?id=55518
3743 In prep for https://bugs.webkit.org/show_bug.cgi?id=55443
3745 * public/WebIDBCursor.h:
3746 (WebKit::WebIDBCursor::primaryKey):
3748 2011-02-28 Chang Shu <cshu@webkit.org>
3750 Reviewed by Ryosuke Niwa.
3752 Remove the support of Frame::isContentEditable and its dependencies.
3753 https://bugs.webkit.org/show_bug.cgi?id=54292
3755 Remove the WebKit side implementation.
3757 * src/EditorClientImpl.cpp:
3758 * src/EditorClientImpl.h:
3760 2011-02-28 Avi Drissman <avi@google.com>
3762 Reviewed by James Robinson.
3764 WebCursorInfo needs to match enums in platform/Cursor.h
3765 https://bugs.webkit.org/show_bug.cgi?id=55094
3767 * public/WebCursorInfo.h:
3768 * src/AssertMatchingEnums.cpp:
3770 2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
3772 Unreviewed, rolling out r78789.
3773 http://trac.webkit.org/changeset/78789
3774 https://bugs.webkit.org/show_bug.cgi?id=55409
3776 Incorrect canvas fallback implementation (Requested by
3777 inferno-sec on #webkit).
3779 * public/WebAccessibilityRole.h:
3780 * src/AssertMatchingEnums.cpp:
3782 2011-02-28 Adam Klein <adamk@chromium.org>
3784 Reviewed by Adam Barth.
3786 [fileapi] Implement LocalFileSystem.resolveLocalFileSystemURI
3787 https://bugs.webkit.org/show_bug.cgi?id=54774
3789 * src/LocalFileSystemChromium.cpp:
3790 (WebCore::LocalFileSystem::readFileSystem):
3791 Removed size argument to readFileSystem()
3793 2011-02-27 Pavel Feldman <pfeldman@chromium.org>
3795 Reviewed by Darin Fisher.
3797 Pass frame history state in the context menu parameters.
3798 https://bugs.webkit.org/show_bug.cgi?id=55232
3800 * public/WebContextMenuData.h:
3801 * src/ContextMenuClientImpl.cpp:
3802 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3804 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
3806 Reviewed by Pavel Feldman.
3808 DumpRenderTree should reset frame opener between tests.
3809 https://bugs.webkit.org/show_bug.cgi?id=54874
3811 Added clearOpener method to WebFrame.
3813 * public/WebFrame.h:
3814 * src/WebFrameImpl.cpp:
3815 (WebKit::WebFrameImpl::clearOpener):
3816 * src/WebFrameImpl.h:
3818 2011-02-26 Pavel Feldman <pfeldman@chromium.org>
3820 Not reviewed: rolling chromium DEPS.
3824 2011-02-26 Bill Budge <bbudge@chromium.org>
3826 Reviewed by David Levin.
3828 WebURLRequest, WebURLResponse properties should be passed to WebCore Layer
3829 https://bugs.webkit.org/show_bug.cgi?id=54489
3831 No tests needed. This is already tested by ui_tests, nacl_ui_tests, and nacl_sandbox_tests
3833 * src/WebURLRequest.cpp:
3834 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
3835 (WebKit::WebURLRequest::downloadToFile):
3836 (WebKit::WebURLRequest::setDownloadToFile):
3837 * src/WebURLRequestPrivate.h:
3838 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
3839 * src/WebURLResponse.cpp:
3840 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
3841 (WebKit::WebURLResponse::downloadFilePath):
3842 (WebKit::WebURLResponse::setDownloadFilePath):
3843 * src/WebURLResponsePrivate.h:
3845 2011-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
3847 Unreviewed, rolling out r79764.
3848 http://trac.webkit.org/changeset/79764
3849 https://bugs.webkit.org/show_bug.cgi?id=55295
3851 "broke Chromium builds" (Requested by rniwa on #webkit).
3853 * public/WebFrame.h:
3854 * src/WebFrameImpl.cpp:
3855 * src/WebFrameImpl.h:
3857 2011-02-26 David Dorwin <ddorwin@chromium.org>
3859 Reviewed by Darin Fisher.
3861 Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default.
3863 fullscreen javascript bindings not implemented for v8
3864 https://bugs.webkit.org/show_bug.cgi?id=44797
3867 * public/WebSettings.h:
3868 * src/ChromeClientImpl.cpp:
3869 (WebKit::ChromeClientImpl::supportsFullScreenForElement):
3870 (WebKit::ChromeClientImpl::enterFullScreenForElement):
3871 (WebKit::ChromeClientImpl::exitFullScreenForElement):
3872 (WebKit::ChromeClientImpl::fullScreenRendererChanged):
3873 * src/ChromeClientImpl.h:
3874 * src/WebSettingsImpl.cpp:
3875 (WebKit::WebSettingsImpl::setFullScreenEnabled):
3876 * src/WebSettingsImpl.h:
3878 2011-02-26 John Mellor <johnme@chromium.org>
3880 Reviewed by Antonio Gomes.
3882 [chromium] WebFrameImpl::m_totalMatchCount should be an int
3883 https://bugs.webkit.org/show_bug.cgi?id=55134
3885 WebFrameImpl::m_totalMatchCount should be an int instead of a size_t since it can be -1.
3887 * src/WebFrameImpl.h:
3889 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
3891 Reviewed by Pavel Feldman.
3893 DumpRenderTree should reset frame opener between tests.
3894 https://bugs.webkit.org/show_bug.cgi?id=54874
3896 Added clearOpener method to WebFrame.
3898 * public/WebFrame.h:
3899 * src/WebFrameImpl.cpp:
3900 (WebKit::WebFrameImpl::clearOpener):
3901 * src/WebFrameImpl.h:
3903 2011-02-25 Tony Chang <tony@chromium.org>
3905 Roll chromium deps to include RBGToHSL fix and ICU update.
3909 2011-02-15 Brett Wilson <brettw@chromium.org>
3911 Reviewed by Darin Fisher.
3913 Recover the mouse capture state when we recieve a mouse event where there is no longer a button down.
3914 https://bugs.webkit.org/show_bug.cgi?id=54503
3916 * src/WebViewImpl.cpp:
3917 (WebKit::WebViewImpl::handleInputEvent):
3919 2011-02-24 James Robinson <jamesr@chromium.org>
3921 Reviewed by Darin Fisher.
3923 Add a USE() macro to control use of the built-in UTF8 codec
3924 https://bugs.webkit.org/show_bug.cgi?id=55189
3926 Defaults USE(BUILTIN_UTF8_CODEC) to true for the Chromium port.
3930 2011-02-24 James Kozianski <koz@chromium.org>
3932 Reviewed by Ojan Vafai.
3934 Add missing plumbing for registerProtocolHandler in ChromeClientImpl.
3935 https://bugs.webkit.org/show_bug.cgi?id=55112
3937 * src/ChromeClientImpl.cpp:
3938 (WebKit::ChromeClientImpl::registerProtocolHandler):
3940 2011-02-24 James Robinson <jamesr@chromium.org>
3942 Unreviewed, rolling out r79584.
3943 http://trac.webkit.org/changeset/79584
3944 https://bugs.webkit.org/show_bug.cgi?id=44797
3946 [chromium] Patch does not compile if ENABLE_FULLSCREEN_API is
3950 * public/WebSettings.h:
3951 * src/ChromeClientImpl.cpp:
3952 * src/ChromeClientImpl.h:
3953 * src/WebSettingsImpl.cpp:
3954 * src/WebSettingsImpl.h:
3956 2011-02-24 Andrew Wilson <atwilson@chromium.org>
3958 Unreviewed, rolling out r79570.
3959 http://trac.webkit.org/changeset/79570
3960 https://bugs.webkit.org/show_bug.cgi?id=54874
3962 Breaks chromium build because glue/mocks/mock_web_frame.h/cc
3965 * public/WebFrame.h:
3966 * src/WebFrameImpl.cpp:
3967 * src/WebFrameImpl.h:
3969 2011-02-24 David Dorwin <ddorwin@chromium.org>
3971 Reviewed by Eric Seidel.
3973 Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default.
3975 fullscreen javascript bindings not implemented for v8
3976 https://bugs.webkit.org/show_bug.cgi?id=44797
3979 * public/WebSettings.h:
3980 * src/ChromeClientImpl.cpp:
3981 (WebKit::ChromeClientImpl::supportsFullScreenForElement):
3982 (WebKit::ChromeClientImpl::enterFullScreenForElement):
3983 (WebKit::ChromeClientImpl::exitFullScreenForElement):
3984 (WebKit::ChromeClientImpl::fullScreenRendererChanged):
3985 * src/ChromeClientImpl.h:
3986 * src/WebSettingsImpl.cpp:
3987 (WebKit::WebSettingsImpl::setFullScreenEnabled):
3988 * src/WebSettingsImpl.h:
3990 2011-02-24 Patrick Gansterer <paroga@webkit.org>
3992 Reviewed by Eric Seidel.
3994 Rename PLATFORM(SKIA) to USE(SKIA)
3995 https://bugs.webkit.org/show_bug.cgi?id=55090
3997 * src/GraphicsContext3DChromium.cpp:
3998 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
3999 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
4000 * src/GraphicsContext3DInternal.h:
4001 * src/WebViewImpl.cpp:
4002 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
4004 2011-02-24 Vsevolod Vlasov <vsevik@chromium.org>
4006 Reviewed by Alexey Proskuryakov.
4008 DumpRenderTree should reset frame opener between tests.
4009 https://bugs.webkit.org/show_bug.cgi?id=54874
4011 Added clearOpener method to WebFrame.
4013 * public/WebFrame.h:
4014 * src/WebFrameImpl.cpp:
4015 (WebKit::WebFrameImpl::clearOpener):
4016 * src/WebFrameImpl.h:
4018 2011-02-24 Adam Klein <adamk@chromium.org>
4020 Reviewed by Darin Fisher.
4022 [chromium] Add code to WebKit Chromium to allow access to NetworkStateNotifier
4023 https://bugs.webkit.org/show_bug.cgi?id=54516
4025 Add a new WebNetworkStateNotifier class with a single static method,
4026 setOnLine(), which dispatches to WebCore's singleton NetworkStateNotifier.
4029 * public/WebNetworkStateNotifier.h: Added.
4030 * src/WebNetworkStateNotifier.cpp: Added.
4031 (WebKit::WebNetworkStateNotifier::setOnLine):
4033 2011-02-24 Robert Kroeger <rjkroege@chromium.org>
4035 Reviewed by Darin Fisher.
4037 Added timestamps to PlatformTouchEvent etc.
4039 PlatformTouchEvent doesn't have a timestamp and so
4040 eventSender.leapForward cannot be used for touchevent based tests.
4041 This change constructs PlatformTouchEvents with timestamps
4042 provided from a WebTouchEvent on chromium. It also adds an enum
4043 to make code referring to specific WebTouchPoints easier to read.
4045 [chromium] [WebCore] [android] Touch events are missing time stamps
4046 https://bugs.webkit.org/show_bug.cgi?id=53510
4048 * public/WebTouchPoint.h:
4049 (WebKit::WebTouchPoint::WebTouchPoint):
4050 * src/WebInputEventConversion.cpp:
4051 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
4053 2011-02-23 Adam Barth <abarth@webkit.org>
4055 Reviewed by James Robinson.
4057 [Chromium] Use WebKitClient for OSRandomSource instead of trying to talk to the file system in the sandbox
4058 https://bugs.webkit.org/show_bug.cgi?id=55093
4060 We need to get OS randomness from the WebKit client rather than try to
4061 get it from /dev/urandom directly because WebKit doesn't have access to
4062 the file system when running inside the Chromium sandbox.
4065 * src/ChromiumOSRandomSource.cpp: Added.
4067 2011-02-23 Adam Barth <abarth@webkit.org>
4069 Reviewed by James Robinson.
4072 https://bugs.webkit.org/show_bug.cgi?id=55096
4074 Rolling to the future, like a truck.
4078 2011-02-23 Adam Barth <abarth@webkit.org>
4080 Reviewed by Darin Fisher.
4082 [Chromium] Add WebKitClient::cryptographicallyRandomValues
4083 https://bugs.webkit.org/show_bug.cgi?id=55073
4085 This patch adds a WebKit client API to get cryptographic randomness.
4086 We'll use this API to gather seed randomness while inside the sandbox.
4088 * public/WebKitClient.h:
4089 (WebKit::WebKitClient::cryptographicallyRandomValues):
4091 2011-02-23 Kenneth Russell <kbr@google.com>
4093 Unreviewed, rolling out r79387.
4094 https://bugs.webkit.org/show_bug.cgi?id=54885
4096 Reapply the code changes from r79038 since they weren't the root
4097 cause of the test timeouts.
4100 (WebKit::initialize):
4102 2011-02-23 Takashi Toyoshima <toyoshim@chromium.org>
4104 Reviewed by Shinichiro Hamaji.
4106 [chromium] Control-Up/Down should be PageUp/Down on Mac.
4107 https://bugs.webkit.org/show_bug.cgi?id=54606
4109 * src/WebViewImpl.cpp:
4110 (WebKit::WebViewImpl::scrollViewWithKeyboard):
4112 2011-02-22 Kenneth Russell <kbr@google.com>
4114 Reviewed by James Robinson.
4116 Many tests started timing out on the chrome mac canaries around r79035
4117 https://bugs.webkit.org/show_bug.cgi?id=54885
4119 Revert the code changes, but not the Chromium DEPS roll, from
4120 r79038 to see whether this clears up the timing-out tests. Was not
4121 able to reproduce the timeouts locally with a Release mode build
4122 of DRT (on Snow Leopard).
4125 (WebKit::initialize):
4127 2011-02-21 Nico Weber <thakis@chromium.org>
4129 Reviewed by James Robinson.
4131 [chromium] WebWorkerBase::openFileSystem confuses clang's -Woverloaded-virtual
4132 https://bugs.webkit.org/show_bug.cgi?id=54920
4134 Rename WebWorkerBase::openFileSystem() to openFileSystemForWorker() to
4135 make it obvious it's not an override of
4136 WebFrameClient::openFileSystem().
4138 Remove a failed attempt to override it in WebWorkerClientImpl (the
4139 override didn't change the behavior).
4141 No intended functionality change.
4143 * src/LocalFileSystemChromium.cpp:
4144 (WebCore::LocalFileSystem::requestFileSystem):
4146 * src/WebWorkerBase.cpp:
4147 (WebKit::WebWorkerBase::openFileSystemForWorker):
4148 Rename openFileSystem() to openFileSystemForWorker().
4149 * src/WebWorkerBase.h:
4150 Rename openFileSystem() to openFileSystemForWorker().
4151 * src/WebWorkerClientImpl.h:
4152 (WebKit::WebWorkerClientImpl::allowDatabase):
4153 Remove unsuccessful (and pointless) override.
4155 2011-02-22 Ilya Tikhonovsky <loislo@chromium.org>
4157 Reviewed by Pavel Feldman.
4159 Web Inspector: flakyness of inspector tests.
4160 https://bugs.webkit.org/show_bug.cgi?id=54729
4162 As far as we have the protocol with sequence numbers we can simplify test harness support
4163 and drop out chomium specific methods.