1 2012-05-22 Daniel Sievers <sievers@chromium.org>
3 [Chromium] Fix tests being flaky when multiple draws occur in between commits
4 https://bugs.webkit.org/show_bug.cgi?id=83935
6 Tests that are verifying events in a commit/draw lock-step pattern, should use
7 sourceFrameNumber() not frameNumber() on the impl side.
8 Otherwise they will fail if the same frame is drawn more than once in
9 between commits (which is perfectly legal and could happen for example
10 because we draw without a new commit because we are still in BEGIN_FRAME
11 or updating resources).
13 Reviewed by Adrienne Walker.
15 * tests/CCLayerTreeHostTest.cpp:
16 (WTF::CCLayerTreeHostTestScrollSimple::drawLayersOnCCThread):
17 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
18 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::commitCompleteOnCCThread):
19 (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
20 (WTF::CCLayerTreeHostTestAtomicCommit::drawLayersOnCCThread):
21 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
22 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
23 (WTF::CCLayerTreeHostTestFractionalScroll::drawLayersOnCCThread):
25 2012-05-22 Ian Vollick <vollick@chromium.org>
27 [chromium] Move asserts in CCLayerTreeHostTest::dispatch*
28 https://bugs.webkit.org/show_bug.cgi?id=87134
30 Reviewed by Adrienne Walker.
32 * tests/CCLayerTreeHostTest.cpp:
33 (WTF::CCLayerTreeHostTest::dispatchSetNeedsAnimate):
34 (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
35 (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
36 (WTF::CCLayerTreeHostTest::dispatchSetNeedsAnimateAndCommit):
37 (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommit):
38 (WTF::CCLayerTreeHostTest::dispatchAcquireLayerTextures):
39 (WTF::CCLayerTreeHostTest::dispatchSetNeedsRedraw):
40 (WTF::CCLayerTreeHostTest::dispatchSetVisible):
41 (WTF::CCLayerTreeHostTest::dispatchSetInvisible):
43 2012-05-22 Dana Jansens <danakj@chromium.org>
45 [chromium] Expand damage from the background-blurred layer to ensure readback is only including pixels below that layer
46 https://bugs.webkit.org/show_bug.cgi?id=86884
48 Reviewed by Adrienne Walker.
50 * tests/CCDamageTrackerTest.cpp:
51 (WebKitTests::TEST_F):
53 2012-05-22 David Grogan <dgrogan@chromium.org>
55 IndexedDB: Fire error when there are problems opening a DB
56 https://bugs.webkit.org/show_bug.cgi?id=85579
58 Reviewed by Tony Chang.
61 * tests/IDBAbortOnCorruptTest.cpp: Added.
64 (WebCore::MockIDBCallbacks::MockIDBCallbacks):
65 (WebCore::MockIDBCallbacks::~MockIDBCallbacks):
66 (WebCore::MockIDBCallbacks::onError):
67 (WebCore::MockIDBCallbacks::onSuccess):
68 (WebCore::MockIDBCallbacks::onSuccessWithContinuation):
69 (WebCore::MockIDBCallbacks::onSuccessWithPrefetch):
70 (WebCore::MockIDBCallbacks::onBlocked):
71 (FailingBackingStore):
72 (WebCore::FailingBackingStore::~FailingBackingStore):
73 (WebCore::FailingBackingStore::open):
74 (WebCore::FailingBackingStore::createIDBDatabaseMetaData):
75 (FailingIDBFactoryBackendImpl):
76 (WebCore::FailingIDBFactoryBackendImpl::~FailingIDBFactoryBackendImpl):
77 (WebCore::FailingIDBFactoryBackendImpl::create):
78 (WebCore::FailingIDBFactoryBackendImpl::removeIDBDatabaseBackend):
79 (WebCore::FailingIDBFactoryBackendImpl::openBackingStore):
81 * tests/IDBFakeBackingStore.h: Copied from Source/WebCore/Modules/indexeddb/IDBLevelDBBackingStore.h.
83 (IDBFakeBackingStore):
85 2012-05-22 Alexander Pavlov <apavlov@chromium.org>
87 [Chromium] Implement the ContextMenuItem SubMenu type
88 https://bugs.webkit.org/show_bug.cgi?id=86625
90 Reviewed by Pavel Feldman.
92 * public/WebMenuItemInfo.h:
93 (WebMenuItemInfo): Add the SubMenu type and a vector of subMenuItems.
94 * src/ContextMenuClientImpl.cpp:
95 (WebKit::populateSubMenuItems): A recursive implementation that populates submenu items as well as other item types.
97 (WebKit::ContextMenuClientImpl::populateCustomMenuItems): Consider submenus when populating WebMenuItemInfos.
99 2012-05-22 Ian Vollick <vollick@chromium.org>
101 [chromium] Speed up CCLayerTreeHostTestTickAnimationWhileBackgrounded
102 https://bugs.webkit.org/show_bug.cgi?id=86871
104 Reviewed by James Robinson.
106 Use a shorter time interval for background animation ticking so that
107 unit tests can run faster.
109 * tests/CCLayerTreeHostTest.cpp:
110 (WTF::MockLayerTreeHostImpl::lowFrequencyAnimationInterval):
111 (MockLayerTreeHostImpl):
113 2012-05-21 Alexandre Elias <aelias@google.com>
115 [chromium] Simplify RTL root layer adjustment
116 https://bugs.webkit.org/show_bug.cgi?id=85672
118 Reviewed by Adrienne Walker.
120 The compositor needs a translation to compensate for a nonzero
121 scrollOrigin to avoid painting at negative coordinates on RTL pages.
122 Previously, we were recomputing it from first principles; this change
123 directly reads it off the actual scrollOrigin.
125 * src/WebViewImpl.cpp:
126 (WebKit::WebViewImpl::updateLayerTreeViewport):
130 2012-05-21 James Robinson <jamesr@chromium.org>
132 Chromium compile fix, unreviewed.
134 Fixed is defined in WebCore and is a typedef in the OS X 10.5 SDK headers, so it needs an explicit WebCore::
135 prefix to be unambiguous on mac.
137 * tests/FilterOperationsTest.cpp:
140 2012-05-21 James Robinson <jamesr@chromium.org>
142 [chromium] Port chromium compositor to use WebFilterOperation(s)
143 https://bugs.webkit.org/show_bug.cgi?id=87046
145 Reviewed by Adrienne Walker.
148 * src/AssertMatchingEnums.cpp:
150 (WebKit::WebLayer::setFilters):
151 (WebKit::WebLayer::setBackgroundFilters):
152 * tests/CCDamageTrackerTest.cpp:
153 (WebKitTests::TEST_F):
154 * tests/CCLayerImplTest.cpp:
156 * tests/CCLayerTreeHostTest.cpp:
157 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
158 * tests/CCOcclusionTrackerTest.cpp:
159 (WebKitTests::CCOcclusionTrackerTest::createSurface):
160 (WebKitTests::CCOcclusionTrackerTest::createDrawingSurface):
161 (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
162 (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
163 (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
164 (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip::runMyTest):
165 (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
166 (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
167 (WebKitTests::CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded::runMyTest):
168 * tests/FilterOperationsTest.cpp: Added.
169 Tests the existing behavior of WebCore::FilterOperations::getOutsets and makes sure WebFilterOperations'
173 * tests/GraphicsLayerChromiumTest.cpp:
175 2012-05-21 Joshua Bell <jsbell@chromium.org>
177 IndexedDB: Store key paths in IDBKeyPath type instead of String
178 https://bugs.webkit.org/show_bug.cgi?id=85298
180 Reviewed by Tony Chang, Kentaro Hara and James Robinson.
182 No functional changes, just finish migration from String to IDBKeyPath
183 for storing key paths, for eventual array support http://webkit.org/b/84207
185 * public/WebIDBDatabase.h: Remove temporary overload.
187 (WebKit::WebIDBDatabase::objectStoreNames):
188 * public/WebIDBIndex.h: Remove temporary method.
189 (WebKit::WebIDBIndex::keyPath):
190 * public/WebIDBKeyPath.h: Remove obsolete methods, wrap WebCore::IDBKeyPath
192 (WebKit::WebIDBKeyPath::WebIDBKeyPath):
193 * public/WebIDBObjectStore.h: Remove temporary method and overload.
194 (WebKit::WebIDBObjectStore::keyPath):
195 * public/platform/WebKitPlatformSupport.h: Remove temporary overloads.
197 * src/AssertMatchingEnums.cpp: WebIDBKeyPath vs. IDBKeyPath enums.
198 * src/IDBDatabaseBackendProxy.cpp: Switch from String to IDBKeyPath.
199 (WebKit::IDBDatabaseBackendProxy::createObjectStore):
200 * src/IDBDatabaseBackendProxy.h: Switch from String to IDBKeyPath.
201 (IDBDatabaseBackendProxy):
202 * src/IDBIndexBackendProxy.cpp: Switch from String to IDBKeyPath.
203 (WebKit::IDBIndexBackendProxy::keyPath):
204 * src/IDBIndexBackendProxy.h: Switch from String to IDBKeyPath.
205 (IDBIndexBackendProxy):
206 * src/IDBObjectStoreBackendProxy.cpp: Switch from String to IDBKeyPath.
207 (WebKit::IDBObjectStoreBackendProxy::keyPath):
208 (WebKit::IDBObjectStoreBackendProxy::createIndex):
209 * src/IDBObjectStoreBackendProxy.h: Switch from String to IDBKeyPath.
210 (IDBObjectStoreBackendProxy):
211 * src/PlatformSupport.cpp: Switch from String to IDBKeyPath.
212 (WebCore::PlatformSupport::createIDBKeysFromSerializedValuesAndKeyPath):
213 (WebCore::PlatformSupport::injectIDBKeyIntoSerializedValue):
214 * src/WebIDBDatabaseImpl.cpp: Switch from String to IDBKeyPath.
215 (WebKit::WebIDBDatabaseImpl::createObjectStore):
216 * src/WebIDBDatabaseImpl.h: Remove temporary overload.
217 (WebIDBDatabaseImpl):
218 * src/WebIDBIndexImpl.cpp: Remove temporary method.
219 * src/WebIDBIndexImpl.h: Remove temporary method.
221 * src/WebIDBKeyPath.cpp: Remove most logic; just a wrapper for WebCore::IDBKeyPath.
222 (WebKit::WebIDBKeyPath::~WebIDBKeyPath):
223 (WebKit::WebIDBKeyPath::create):
224 (WebKit::WebIDBKeyPath::createNull):
225 (WebKit::WebIDBKeyPath::isValid):
226 (WebKit::WebIDBKeyPath::type):
228 (WebKit::WebIDBKeyPath::array):
229 (WebKit::WebIDBKeyPath::string):
230 (WebKit::WebIDBKeyPath::WebIDBKeyPath):
231 (WebKit::WebIDBKeyPath::operator=):
232 (WebKit::WebIDBKeyPath::operator const WebCore::IDBKeyPath&):
233 * src/WebIDBObjectStoreImpl.cpp: Remove temporary method and overload.
234 (WebKit::WebIDBObjectStoreImpl::keyPath):
235 (WebKit::WebIDBObjectStoreImpl::createIndex):
236 * src/WebIDBObjectStoreImpl.h: Remove temporary method and overload.
237 (WebIDBObjectStoreImpl):
238 * tests/IDBBindingUtilitiesTest.cpp: Use IDBKeyPath.
239 (WebCore::checkKeyFromValueAndKeyPathInternal):
240 (WebCore::injectKey):
241 * tests/IDBLevelDBCodingTest.cpp: Added EncodeIDBKeyPath and DecodeIDBKeyPath tests.
242 (IDBLevelDBCoding::TEST):
244 * tests/IDBKeyPathTest.cpp:
245 (WebCore::checkKeyPath): Test IDBKeyPath validity.
247 2012-05-18 Michael Nordman <michaeln@google.com>
249 [chromium] DomStorage events handling needs TLC (2)
250 https://bugs.webkit.org/show_bug.cgi?id=85221
251 Alter the WebStorageArea virtual interface such that the mutators no longer
252 return old values. This is to allow implementations of the interface to operate
255 Also clean up from a previous patch, remove support for the DEPRECATED event
258 Reviewed by Adam Barth.
260 * WebKit.gyp: delete three files indicated below
261 * public/WebStorageArea.h:
262 (WebKit::WebStorageArea::setItem): no longer returns the old value
263 (WebKit::WebStorageArea::removeItem): no longer returns the old value
264 (WebKit::WebStorageArea::clear): no longer returns a bool indicated if something was cleared
265 * public/WebStorageEventDispatcher.h: removed the DEPRECATED instance methods
266 * public/WebStorageNamespace.h: removed the DEPRECATED close() method
267 * public/platform/WebKitPlatformSupport.h: removed the DEPRECATED dispatchStorageEvent() method
268 * src/StorageAreaProxy.cpp: removed the DEPREACTED storageEvent() method
269 (WebCore::StorageAreaProxy::setItem): no return value
270 (WebCore::StorageAreaProxy::removeItem): no return value
271 (WebCore::StorageAreaProxy::clear): no return value
272 (WebCore::StorageAreaProxy::dispatchLocalStorageEvent): remove an early return thats no longer needed
273 (WebCore::findPageWithSessionStorageNamespace): switched to passing pageGroup by ptr value instead of by name
274 (WebCore::StorageAreaProxy::dispatchSessionStorageEvent): remove an early return thats no longer needed
275 * src/StorageAreaProxy.h:
278 * src/StorageEventDispatcherImpl.cpp: Deleted the file.
279 * src/StorageEventDispatcherImpl.h: Deleted the file.
280 * src/WebStorageEventDispatcherImpl.cpp: Deleted the DEPRECATED instance methods.
281 (WebKit::WebStorageEventDispatcher::dispatchLocalStorageEvent): use WebViewImpl::defaultPageGroup
282 (WebKit::WebStorageEventDispatcher::dispatchSessionStorageEvent): use WebViewImpl::defaultPageGroup
283 * src/WebStorageEventDispatcherImpl.h: Deleted the file.
284 * src/WebViewImpl.cpp: added a static method to retrieve a ptr to the default page group,
285 (WebKit::WebViewImpl::defaultPageGroup):
288 2012-05-21 Greg Billock <gbillock@google.com>
290 Add suggestions field to web intents API.
291 https://bugs.webkit.org/show_bug.cgi?id=86791
293 Reviewed by Adam Barth.
295 * public/WebIntent.h:
298 (WebKit::WebIntent::suggestions):
301 2012-05-20 Kinuko Yasuda <kinuko@chromium.org>
303 Cleanup: Remove WebCore::revealFolderInOS() which is no longer used anywhere
304 https://bugs.webkit.org/show_bug.cgi?id=86993
306 Reviewed by Adam Barth.
308 * public/WebFileUtilities.h:
310 * src/PlatformSupport.cpp:
312 2012-05-21 Adam Barth <abarth@webkit.org>
314 [Chromium] Implement WebViewImpl::textInputInfo() for Android
315 https://bugs.webkit.org/show_bug.cgi?id=86440
317 Reviewed by Darin Fisher.
319 This patch adds WebView::textInputInfo(), which describes the text
320 input that currently has focus. Android is planning to use this to
321 determine what sort of keyboard or text entry UI to show. This API
322 subsumes the textInputType() API, which will be removed once the
323 clients have been updated.
326 * public/WebTextInputInfo.h: Added.
329 (WebKit::WebTextInputInfo::WebTextInputInfo):
330 (WebKit::operator==):
331 (WebKit::operator!=):
332 * public/WebTextInputType.h:
333 * public/WebWidget.h:
335 (WebKit::WebWidget::textInputInfo):
336 (WebKit::WebWidget::textInputType):
337 * src/WebViewImpl.cpp:
338 (WebKit::WebViewImpl::textInputInfo):
340 (WebKit::WebViewImpl::textInputType):
344 2012-05-21 Sheriff Bot <webkit.review.bot@gmail.com>
346 Unreviewed. Rolled DEPS.
350 2012-05-20 Joshua Bell <jsbell@chromium.org>
352 IndexedDB: Delete obsolete Chromium WebKit API method
353 https://bugs.webkit.org/show_bug.cgi?id=86933
355 Implementation was previously removed in r17512 and callers are updated.
357 Reviewed by Adam Barth.
359 * public/WebIDBIndex.h: Delete storeName()
360 (WebKit::WebIDBIndex::name):
362 2012-05-19 Sheriff Bot <webkit.review.bot@gmail.com>
364 Unreviewed, rolling out r117675.
365 http://trac.webkit.org/changeset/117675
366 https://bugs.webkit.org/show_bug.cgi?id=86938
368 Broke builds. You can't initialize members by members
369 themselves (Requested by rniwa on #webkit).
373 * public/WebPlugin.h:
375 (WebKit::WebPlugin::printBegin):
376 * public/WebPrintParams.h:
377 * src/WebFrameImpl.cpp:
379 (WebKit::WebFrameImpl::printBegin):
380 * src/WebFrameImpl.h:
382 * src/WebPluginContainerImpl.cpp:
383 (WebKit::WebPluginContainerImpl::printBegin):
385 2012-05-18 Jochen Eisinger <jochen@chromium.org>
387 [chromium] remove obsolete WebViewClient::startDragging version
388 https://bugs.webkit.org/show_bug.cgi?id=86887
390 Reviewed by Adam Barth.
392 * public/WebViewClient.h:
393 (WebKit::WebViewClient::startDragging):
395 2012-05-18 Kausalya Madhusudhanan <kmadhusu@chromium.org>
397 [Chromium] Use overloaded printBegin() webkit API to support auto fit to page functionality.
398 https://bugs.webkit.org/show_bug.cgi?id=86684
400 Reviewed by Darin Fisher.
404 * public/WebPlugin.h:
406 * public/WebPrintParams.h:
407 (WebKit::WebPrintParams::WebPrintParams):
409 * src/WebFrameImpl.cpp:
411 * src/WebFrameImpl.h:
413 * src/WebPluginContainerImpl.cpp:
414 (WebKit::WebPluginContainerImpl::printBegin):
416 2012-05-18 Ryosuke Niwa <rniwa@webkit.org>
418 Roll Chromium DEPS from r136942 to r137976.
422 2012-05-18 Aaron Colwell <acolwell@chromium.org>
424 Update Media Source implementation to reflect changes in 0.5 spec.
425 https://bugs.webkit.org/show_bug.cgi?id=83607
427 Reviewed by Darin Fisher.
429 * public/WebMediaPlayer.h:
430 (WebKit::WebMediaPlayer::sourceAddId): Update the signature to take the parsed type and codecs vector.
431 (WebKit::WebMediaPlayer::sourceBuffered): Add default implementation for new method.
432 (WebKit::WebMediaPlayer::sourceAppend): Update signature to include id parameter.
433 (WebKit::WebMediaPlayer::sourceAbort): Add default implementation for new method.
434 * src/WebMediaPlayerClientImpl.cpp:
435 (WebKit::WebMediaPlayerClientImpl::sourceAddId): Update the signature to take the parsed type and codecs vector.
436 (WebKit::WebMediaPlayerClientImpl::sourceBuffered): Added implementation for new method. Converts WebKit::WebTimeRanges to WebCore::TimeRanges.
438 (WebKit::WebMediaPlayerClientImpl::sourceAppend): Update signature to include id parameter.
439 (WebKit::WebMediaPlayerClientImpl::sourceAbort): Implementation for new method.
440 * src/WebMediaPlayerClientImpl.h:
441 (WebMediaPlayerClientImpl): Added declarations for new methods and updated signatures for existing ones.
443 2012-05-18 Shawn Singh <shawnsingh@chromium.org>
445 [chromium] add back-face visibility check for renderSurfaces
446 https://bugs.webkit.org/show_bug.cgi?id=86870
448 Reviewed by Adrienne Walker.
450 * tests/CCLayerTreeHostCommonTest.cpp:
454 2012-05-18 Greg Billock <gbillock@google.com>
456 Enable web intents flag for chromium build
457 https://bugs.webkit.org/show_bug.cgi?id=86762
459 Reviewed by Adam Barth.
461 This flag is enabled in the Chromium-side build.
465 2012-05-18 Tony Chang <tony@chromium.org>
467 remove the CSS_GRID_LAYOUT compiler define, but default grid layout to off
468 https://bugs.webkit.org/show_bug.cgi?id=86767
470 Reviewed by Ojan Vafai.
472 * public/WebSettings.h:
473 * src/WebSettingsImpl.cpp:
474 (WebKit::WebSettingsImpl::setExperimentalCSSGridLayoutEnabled):
476 * src/WebSettingsImpl.h:
479 2012-05-18 Ian Vollick <vollick@chromium.org>
481 [chromium] Multithreaded compositor unit tests intermittently failing
482 https://bugs.webkit.org/show_bug.cgi?id=74623
484 Reviewed by Adrienne Walker.
486 The flakiness of the CCLayerTreeHost tests stem from processing tasks after the
487 tests finish. To fix this, I've disabled the dispatch* methods after endTest is
488 called, effectively preventing any further tasks scheduled by the tests from
489 being processed. I have also reworked the checks in
490 CCLayerTreeHostTestWriteLayersRedraw to make the test more robust.
492 * tests/CCLayerTreeHostTest.cpp:
493 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
494 (WTF::CCLayerTreeHostTest::dispatchSetNeedsAnimate):
495 (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
496 (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
497 (WTF::CCLayerTreeHostTest::dispatchSetNeedsAnimateAndCommit):
498 (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommit):
499 (WTF::CCLayerTreeHostTest::dispatchAcquireLayerTextures):
500 (WTF::CCLayerTreeHostTest::dispatchSetNeedsRedraw):
501 (WTF::CCLayerTreeHostTest::dispatchSetVisible):
502 (WTF::CCLayerTreeHostTest::dispatchSetInvisible):
503 (CCLayerTreeHostTest):
504 (WTF::CCLayerTreeHostTest::endTest):
505 (WTF::CCLayerTreeHostTestWriteLayersRedraw::drawLayersOnCCThread):
506 (WTF::CCLayerTreeHostTestWriteLayersRedraw::afterTest):
508 2012-05-18 MORITA Hajime <morrita@google.com>
510 https://bugs.webkit.org/show_bug.cgi?id=85515
511 Stale frame in WebCore::SpellChecker::didCheckSucceeded
513 Added WebTextCheckingCompletionImpl::invalidate() to mark
514 pending spellcheck request as invalid, and added frameWillDetachPage()
517 Reviewed by Ryosuke Niwa.
519 * src/EditorClientImpl.cpp:
520 (WebKit::EditorClientImpl::frameWillDetachPage):
522 (WebKit::EditorClientImpl::requestCheckingOfString):
523 (WebKit::EditorClientImpl::didCheckString):
524 * src/EditorClientImpl.h:
527 * src/WebTextCheckingCompletionImpl.cpp:
528 (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
529 (WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
530 (WebKit::WebTextCheckingCompletionImpl::invalidate):
532 * src/WebTextCheckingCompletionImpl.h:
534 (WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
535 (WebTextCheckingCompletionImpl):
536 (WebKit::WebTextCheckingCompletionImpl::spellChecker):
538 2012-05-18 Jochen Eisinger <jochen@chromium.org>
540 [chromium] plumb the frame for which a drag was initiated to the WebViewClient
541 https://bugs.webkit.org/show_bug.cgi?id=86670
543 Reviewed by Kent Tamura.
545 * public/WebViewClient.h:
546 (WebKit::WebViewClient::startDragging):
548 * src/DragClientImpl.cpp:
549 (WebKit::DragClientImpl::startDrag):
550 * src/WebViewImpl.cpp:
551 (WebKit::WebViewImpl::startDragging):
555 2012-05-17 Mark Pilgrim <pilgrim@chromium.org>
557 [Chromium] Move Web Workers methods to Platform.h
558 https://bugs.webkit.org/show_bug.cgi?id=86799
560 Reviewed by Adam Barth.
562 Part of a refactoring series. See tracking bug 82948.
565 * public/WebWorkerRunLoop.h:
566 * public/platform/WebKitPlatformSupport.h:
568 (WebKitPlatformSupport):
569 * src/PlatformSupport.cpp:
570 (WebCore::PlatformSupport::didStartWorkerRunLoop):
571 (WebCore::PlatformSupport::didStopWorkerRunLoop):
573 2012-05-17 Dana Jansens <danakj@chromium.org>
575 [chromium] Scale all compositor output by the defaultDeviceScaleFactor
576 https://bugs.webkit.org/show_bug.cgi?id=86051
578 Reviewed by James Robinson.
580 Add the applyDefaultDeviceScaleInCompositor setting. When enabled, we
581 apply the scale factor during compositing instead of applying it through
584 NonCompositedContentHost is the GraphicLayerClient for the GraphicsLayer
585 containing the document's body. It needs to report the page/device scale
586 that should be used when scaling the contents of the GraphicsLayer, and
587 when changes occur to them such that its contentsSize or contentsScale
590 Store the deviceScaleFactor being used in the compositor. The remainder
591 of the deviceScaleFactor() is being applied to the pageScale.
593 * public/WebSettings.h:
594 * src/NonCompositedContentHost.cpp:
595 (WebKit::NonCompositedContentHost::NonCompositedContentHost):
596 (WebKit::NonCompositedContentHost::setViewport):
597 * src/NonCompositedContentHost.h:
598 (NonCompositedContentHost):
599 * src/WebLayerTreeView.cpp:
600 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
601 * src/WebSettingsImpl.cpp:
602 (WebKit::WebSettingsImpl::setApplyDefaultDeviceScaleFactorInCompositor):
604 * src/WebSettingsImpl.h:
606 (WebKit::WebSettingsImpl::applyDefaultDeviceScaleFactorInCompositor):
607 * src/WebViewImpl.cpp:
608 (WebKit::WebViewImpl::WebViewImpl):
609 (WebKit::WebViewImpl::setPageScaleFactor):
610 (WebKit::WebViewImpl::setDeviceScaleFactor):
611 (WebKit::WebViewImpl::enableFixedLayoutMode):
612 (WebKit::WebViewImpl::computePageScaleFactorLimits):
613 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
614 (WebKit::WebViewImpl::updateLayerTreeViewport):
616 * tests/CCLayerTreeHostTest.cpp:
617 (MockLayerTreeHostImpl):
618 (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
619 (CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers):
620 (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers):
621 (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::beginTest):
622 (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commitCompleteOnCCThread):
623 (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::afterTest):
626 * tests/LayerRendererChromiumTest.cpp:
627 * tests/WebFrameTest.cpp:
630 2012-05-17 Vangelis Kokkevis <vangelis@chromium.org>
632 Expose layer tiling size options to WebSettings.
633 https://bugs.webkit.org/show_bug.cgi?id=86425
635 This will allow tiling parameters to be set via command line flags
636 passed to the Renderer.
638 Reviewed by Adrienne Walker.
640 * public/WebSettings.h:
641 * src/WebLayerTreeView.cpp:
642 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
643 * src/WebSettingsImpl.cpp:
644 (WebKit::WebSettingsImpl::WebSettingsImpl):
645 (WebKit::WebSettingsImpl::setDefaultTileSize):
647 (WebKit::WebSettingsImpl::setMaxUntiledLayerSize):
648 * src/WebSettingsImpl.h:
650 (WebKit::WebSettingsImpl::defaultTileSize):
651 (WebKit::WebSettingsImpl::maxUntiledLayerSize):
652 * src/WebViewImpl.cpp:
653 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
655 2012-05-17 Mark Pilgrim <pilgrim@chromium.org>
657 [Chromium] Move fileUtilities to Platform.h
658 https://bugs.webkit.org/show_bug.cgi?id=86777
660 Reviewed by Adam Barth.
662 Part of a refactoring series. See tracking bug 82948.
665 * public/WebFileUtilities.h:
666 * public/platform/WebKitPlatformSupport.h:
668 (WebKitPlatformSupport):
669 * src/PlatformSupport.cpp:
670 (WebCore::PlatformSupport::fileExists):
671 (WebCore::PlatformSupport::deleteFile):
672 (WebCore::PlatformSupport::deleteEmptyDirectory):
673 (WebCore::PlatformSupport::getFileSize):
674 (WebCore::PlatformSupport::revealFolderInOS):
675 (WebCore::PlatformSupport::getFileModificationTime):
676 (WebCore::PlatformSupport::directoryName):
677 (WebCore::PlatformSupport::pathByAppendingComponent):
678 (WebCore::PlatformSupport::makeAllDirectories):
679 (WebCore::PlatformSupport::getAbsolutePath):
680 (WebCore::PlatformSupport::isDirectory):
681 (WebCore::PlatformSupport::filePathToURL):
682 (WebCore::PlatformSupport::openFile):
683 (WebCore::PlatformSupport::closeFile):
684 (WebCore::PlatformSupport::seekFile):
685 (WebCore::PlatformSupport::truncateFile):
686 (WebCore::PlatformSupport::readFromFile):
687 (WebCore::PlatformSupport::writeToFile):
689 2012-05-17 Joshua Bell <jsbell@chromium.org>
691 IndexedDB: Remove IDBIndex.storeName
692 https://bugs.webkit.org/show_bug.cgi?id=86676
694 Reviewed by Tony Chang.
696 * public/WebIDBIndex.h:
697 (WebIDBIndex): Can't remove from here until Chromium is updated
698 * src/IDBIndexBackendProxy.cpp: Removed storeName()
699 * src/IDBIndexBackendProxy.h: Removed storeName()
700 (IDBIndexBackendProxy):
701 * src/WebIDBIndexImpl.cpp: Removed storeName()
702 * src/WebIDBIndexImpl.h: Removed storeName()
705 2012-05-17 Joshua Bell <jsbell@chromium.org>
707 IndexedDB: Implement IDBObjectStore.autoIncrement
708 https://bugs.webkit.org/show_bug.cgi?id=86662
710 Reviewed by Dimitri Glazkov.
712 * src/IDBObjectStoreBackendProxy.cpp:
713 (WebKit::IDBObjectStoreBackendProxy::autoIncrement):
715 * src/IDBObjectStoreBackendProxy.h:
716 (IDBObjectStoreBackendProxy):
717 * src/WebIDBObjectStoreImpl.cpp:
718 (WebKit::WebIDBObjectStoreImpl::autoIncrement):
720 * src/WebIDBObjectStoreImpl.h:
721 (WebIDBObjectStoreImpl):
723 2012-05-17 Mikhail Naganov <mnaganov@chromium.org>
725 Support Copy ... actions for the Web Inspector remote debugging mode.
726 https://bugs.webkit.org/show_bug.cgi?id=86621
728 Reviewed by Pavel Feldman.
730 * src/js/DevTools.js:
731 (WebInspector.clipboardAccessDeniedMessage):
733 2012-05-17 Hironori Bono <hbono@chromium.org>
735 [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
736 https://bugs.webkit.org/show_bug.cgi?id=86591
738 Reviewed by Ryosuke Niwa.
740 This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
741 function to remove platform-specific code from Editor::respondToChangedSelection
744 No new tests, no change in behavior.
746 * src/EditorClientImpl.cpp:
747 (WebKit::EditorClientImpl::shouldEraseMarkersAfterChangeSelection):
749 * src/EditorClientImpl.h:
752 2012-05-11 James Robinson <jamesr@chromium.org>
754 [chromium] Convert GraphicsLayerChromium to use WebLayer types
755 https://bugs.webkit.org/show_bug.cgi?id=86269
757 Reviewed by Adrienne Walker.
760 * src/WebContentLayer.cpp:
761 (WebKit::WebContentLayer::clearClient):
763 (WebKit::WebContentLayer::setDrawsContent):
764 (WebKit::WebContentLayer::drawsContent):
765 (WebKit::WebContentLayer::WebContentLayer):
766 (WebKit::WebContentLayer::operator=):
767 (WebKit::WebContentLayer::operator PassRefPtr<ContentLayerChromium>):
768 * src/WebContentLayerImpl.cpp:
769 * src/WebContentLayerImpl.h:
770 (WebContentLayerImpl):
772 (WebKit::WebLayer::setSublayerTransform):
774 (WebKit::WebLayer::setTransform):
775 (WebKit::WebLayer::setIsDrawable):
776 (WebKit::WebLayer::setPreserves3D):
777 (WebKit::WebLayer::setDoubleSided):
778 (WebKit::WebLayer::setBackgroundColor):
779 (WebKit::WebLayer::setContentsScale):
780 * tests/ImageLayerChromiumTest.cpp:
783 2012-05-17 Dan Bernstein <mitz@apple.com>
785 REGRESSION (r117428): WebKit API/SPI was removed
786 https://bugs.webkit.org/show_bug.cgi?id=86748
791 * src/WebViewImpl.cpp:
792 (WebKit::WebViewImpl::setDomainRelaxationForbidden):
797 2012-05-17 Gyuyoung Kim <gyuyoung.kim@samsung.com>
799 Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface
800 https://bugs.webkit.org/show_bug.cgi?id=86704
802 Reviewed by Eric Seidel.
804 Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the
805 cross-port way through the InternalSettings interface.
808 * src/WebViewImpl.cpp:
812 2012-05-17 MORITA Hajime <morrita@google.com>
814 Unreviewed attempt to fix a Windows build breakage.
816 * public/WebIntent.h:
819 2012-05-16 Sheriff Bot <webkit.review.bot@gmail.com>
821 Unreviewed, rolling out r117396.
822 http://trac.webkit.org/changeset/117396
823 https://bugs.webkit.org/show_bug.cgi?id=86709
825 "breaks chromium tree" (Requested by morrita on #webkit).
828 * public/WebTextInputInfo.h: Removed.
829 * public/WebTextInputType.h:
830 * public/WebWidget.h:
831 (WebKit::WebWidget::textInputType):
832 * src/WebTextInputInfo.cpp: Removed.
833 * src/WebViewImpl.cpp:
834 (WebKit::WebViewImpl::textInputType):
838 2012-05-16 Hao Zheng <zhenghao@chromium.org>
840 [chromium] Get text direction at the start and end of selection.
841 https://bugs.webkit.org/show_bug.cgi?id=86573
843 Reviewed by Adam Barth.
845 Add an interface to get text direction at the start and end of
846 selection for Android, as on Android different selection delimiters
847 are needed for RTL text. Unlike other platforms, the start and end
848 delimiters of selection are different, so we need determine the shape
849 of delimiter based on text direction.
851 * public/WebWidget.h:
853 (WebKit::WebWidget::selectionTextDirection):
854 * src/WebViewImpl.cpp:
856 (WebKit::WebViewImpl::selectionTextDirection):
860 2012-05-16 Adam Barth <abarth@webkit.org>
862 [Chromium] Implement WebViewImpl::textInputInfo() for Android
863 https://bugs.webkit.org/show_bug.cgi?id=86440
865 Reviewed by Darin Fisher.
867 This patch adds WebView::textInputInfo(), which describes the text
868 input that currently has focus. Android is planning to use this to
869 determine what sort of keyboard or text entry UI to show. This API
870 subsumes the textInputType() API, which will be removed once the
871 clients have been updated.
874 * public/WebTextInputInfo.h: Added.
877 (WebKit::WebTextInputInfo::WebTextInputInfo):
878 (WebKit::operator==):
879 (WebKit::operator!=):
880 * public/WebTextInputType.h:
881 * public/WebWidget.h:
883 (WebKit::WebWidget::textInputInfo):
884 (WebKit::WebWidget::textInputType):
885 * src/WebViewImpl.cpp:
886 (WebKit::WebViewImpl::textInputInfo):
888 (WebKit::WebViewImpl::textInputType):
892 2012-05-16 Greg Billock <gbillock@google.com>
894 IDL and implementation for Web Intents delivery
895 https://bugs.webkit.org/show_bug.cgi?id=83634
897 Reviewed by Adam Barth.
899 The embedder will implement the WebDeliveredIntentClient interface, which
900 will get notifications of postResult/postFailure from the service page.
902 * public/WebDeliveredIntentClient.h:
906 * src/WebDeliveredIntentClient.cpp:
907 * src/WebFrameImpl.cpp:
908 (WebKit::WebFrameImpl::deliverIntent):
910 * src/WebFrameImpl.h:
913 2012-05-16 James Robinson <jamesr@chromium.org>
915 GraphicsContext3D interface should not be aware of CanvasRenderingContext
916 https://bugs.webkit.org/show_bug.cgi?id=86550
918 Reviewed by Darin Adler.
920 Updates chromium implementation of GraphicsContext3D for API change and removes a bunch of unnecessary
923 * src/GraphicsContext3DChromium.cpp:
924 (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
925 (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
926 (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
927 * src/GraphicsContext3DPrivate.h:
928 (GraphicsContext3DPrivate):
930 2012-05-16 Joshua Bell <jsbell@chromium.org>
932 [Chromium] IndexedDB: WebKit API for IDBObjectStore.autoIncrement property
933 https://bugs.webkit.org/show_bug.cgi?id=86661
935 Reviewed by Dimitri Glazkov.
937 * public/WebIDBObjectStore.h:
938 (WebKit::WebIDBObjectStore::autoIncrement):
940 2012-05-16 Varun Jain <varunjain@google.com>
942 [chromium] No modifier flags (shift/ctrl/alt) in drag&drop events on chromium linux
943 https://bugs.webkit.org/show_bug.cgi?id=86236
945 Reviewed by Tony Chang.
949 * src/WebViewImpl.cpp:
950 (WebKit::webInputEventKeyStateToPlatformEventKeyState):
952 (WebKit::WebViewImpl::dragTargetDragEnter):
953 (WebKit::WebViewImpl::dragTargetDragOver):
954 (WebKit::WebViewImpl::dragTargetDrop):
955 (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
959 2012-05-16 Yury Semikhatsky <yurys@chromium.org>
961 [Chromium] Web Inspector: DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh is broken
962 https://bugs.webkit.org/show_bug.cgi?id=86629
964 Reviewed by Pavel Feldman.
966 Listen to DebuggerModel instead of DebuggerPresentationModel which is gone.
969 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
971 2012-05-16 Yury Semikhatsky <yurys@chromium.org>
973 [Chromium] Web Inspector: debugger browser tests are broken
974 https://bugs.webkit.org/show_bug.cgi?id=86624
976 Reviewed by Vsevolod Vlasov.
978 Use WebInspector.panels.scripts._scriptMapping instead of
979 WebInspector.panels.scripts._presentationModel as the latter
983 (.TestSuite.prototype.nonAnonymousUISourceCodes_):
985 2012-05-16 Keishi Hattori <keishi@webkit.org>
987 [chromium] Add WebKit API to access inner text value of input element
988 https://bugs.webkit.org/show_bug.cgi?id=85353
990 Reviewed by Kent Tamura.
992 * public/WebInputElement.h:
994 * src/WebInputElement.cpp:
995 (WebKit::WebInputElement::editingValue):
997 (WebKit::WebInputElement::setEditingValue):
999 2012-05-16 Hans Wennborg <hans@chromium.org>
1001 Speech JavaScript API: pass WebSecurityOrigin to embedder
1002 https://bugs.webkit.org/show_bug.cgi?id=86348
1004 Reviewed by Adam Barth.
1006 Pass the WebSecurityOrigin of the SpeecReco object to the embedder when calling
1007 start(). The origin will be used to determine whether speech recognition is
1010 * public/WebSpeechRecognitionParams.h:
1011 (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
1012 (WebKit::WebSpeechRecognitionParams::origin):
1013 (WebSpeechRecognitionParams):
1014 * src/SpeechRecognitionClientProxy.cpp:
1015 (WebKit::SpeechRecognitionClientProxy::start):
1017 2012-05-15 Tien-Ren Chen <trchen@chromium.org>
1019 [Chromium] CCTimer::isActive() is incorrect inside tick callback
1020 https://bugs.webkit.org/show_bug.cgi?id=86513
1022 Update test cases to verify CCTimer::isActive() values.
1024 Reviewed by James Robinson.
1026 * tests/CCTimerTest.cpp:
1027 (WebKitTests::TEST_F):
1029 2012-05-15 Sheriff Bot <webkit.review.bot@gmail.com>
1031 Unreviewed, rolling out r117204.
1032 http://trac.webkit.org/changeset/117204
1033 https://bugs.webkit.org/show_bug.cgi?id=86559
1035 causing win compilation failures (Requested by pilgrim_google_
1039 * public/WebMessagePortChannel.h:
1041 (WebMessagePortChannel):
1042 (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
1043 * public/platform/WebKitPlatformSupport.h:
1045 (WebKitPlatformSupport):
1046 (WebKit::WebKitPlatformSupport::createMessagePortChannel):
1047 * src/PlatformMessagePortChannel.cpp:
1048 (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
1049 * src/PlatformMessagePortChannel.h:
1050 * src/SharedWorkerRepository.cpp:
1051 * src/WebSharedWorkerImpl.cpp:
1052 * src/WebWorkerClientImpl.cpp:
1054 2012-05-15 Shinya Kawanaka <shinyak@chromium.org>
1056 Rename Node::shadowTreeRootNode() to Node::shadowRoot()
1057 https://bugs.webkit.org/show_bug.cgi?id=86449
1059 Reviewed by Darin Adler.
1061 * src/WebFrameImpl.cpp:
1062 (WebKit::WebFrameImpl::scopeStringMatches):
1064 2012-05-15 Mark Pilgrim <pilgrim@chromium.org>
1066 [Chromium] Move createMessagePortChannel to Platform.h
1067 https://bugs.webkit.org/show_bug.cgi?id=85764
1069 Reviewed by Adam Barth.
1071 Part of a refactoring series. See tracking bug 82948.
1074 * public/WebMessagePortChannel.h:
1075 * public/platform/WebKitPlatformSupport.h:
1077 (WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
1078 * src/PlatformMessagePortChannel.cpp:
1079 (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
1080 * src/PlatformMessagePortChannel.h:
1081 * src/SharedWorkerRepository.cpp:
1082 * src/WebSharedWorkerImpl.cpp:
1083 * src/WebWorkerClientImpl.cpp:
1085 2012-05-15 Fady Samuel <fsamuel@chromium.org>
1087 [Chromium] Reset ScriptInstance in HTMLPlugInElement on WebPluginContainerImpl::setPlugin
1088 https://bugs.webkit.org/show_bug.cgi?id=86535
1090 Reviewed by Darin Fisher.
1092 * src/WebPluginContainerImpl.cpp:
1093 (WebKit::WebPluginContainerImpl::setPlugin):
1095 * src/WebPluginContainerImpl.h:
1096 (WebPluginContainerImpl):
1098 2012-05-15 Mark Pilgrim <pilgrim@chromium.org>
1100 [Chromium] Move blobRegistry to Platform.h
1101 https://bugs.webkit.org/show_bug.cgi?id=85765
1103 Reviewed by Adam Barth.
1105 Part of a refactoring series. See tracking bug 82948.
1108 * public/platform/WebBlobData.h:
1109 * public/platform/WebBlobRegistry.h:
1110 * public/platform/WebKitPlatformSupport.h:
1112 (WebKit::WebKitPlatformSupport::cookieJar):
1113 * src/BlobRegistryProxy.cpp:
1114 (WebCore::BlobRegistryProxy::BlobRegistryProxy):
1115 * src/WebBlobData.cpp:
1117 2012-05-15 Kausalya Madhusudhanan <kmadhusu@chromium.org>
1119 [chromium] Overloaded printBegin() function to support auto fit to page functionality.
1120 https://bugs.webkit.org/show_bug.cgi?id=84312
1122 Reviewed by Darin Fisher.
1125 * public/WebFrame.h:
1128 * public/WebPlugin.h:
1131 (WebKit::WebPlugin::printBegin):
1132 * public/WebPrintParams.h: Added.
1135 (WebKit::WebPrintParams::WebPrintParams):
1136 * src/WebFrameImpl.cpp:
1137 (WebKit::ChromePluginPrintContext::ChromePluginPrintContext):
1138 (WebKit::ChromePluginPrintContext::computePageRects):
1139 (ChromePluginPrintContext):
1141 (WebKit::WebFrameImpl::printBegin):
1142 * src/WebFrameImpl.h:
1145 * src/WebPluginContainerImpl.cpp:
1146 (WebKit::WebPluginContainerImpl::printBegin):
1147 * src/WebPluginContainerImpl.h:
1149 (WebPluginContainerImpl):
1151 2012-05-15 Shawn Singh <shawnsingh@chromium.org>
1153 [chromium] Add unit testing to WebTransformationMatrix
1154 https://bugs.webkit.org/show_bug.cgi?id=86421
1156 Reviewed by Adrienne Walker.
1159 * tests/WebTransformationMatrixTest.cpp: Added.
1161 (WebKit::printTransform):
1162 (WebKit::initializeTestMatrix):
1163 (WebKit::initializeTestMatrix2):
1166 2012-05-15 James Robinson <jamesr@chromium.org>
1168 [chromium] Chromium port never sets USE(CG) so code behind it is dead
1169 https://bugs.webkit.org/show_bug.cgi?id=86537
1171 Reviewed by Adrienne Walker.
1173 Deletes code behind USE(CG) in chromium-specific code and removes unneeded USE(SKIA) guards.
1175 * src/GraphicsContext3DChromium.cpp:
1176 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
1177 (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
1178 (WebCore::GraphicsContext3DPrivate::grContext):
1179 (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
1180 (WebCore::GraphicsContext3D::grContext):
1181 * src/GraphicsContext3DPrivate.h:
1182 (GraphicsContext3DPrivate):
1183 * src/PlatformSupport.cpp:
1184 * src/WebViewImpl.cpp:
1185 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
1187 2012-05-15 Anders Carlsson <andersca@apple.com>
1189 Set the new PlatformWheelEvent member variables to sane defaults
1190 https://bugs.webkit.org/show_bug.cgi?id=86542
1192 Reviewed by Andreas Kling.
1194 * src/WebInputEventConversion.cpp:
1195 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1197 2012-05-15 Ian Vollick <vollick@chromium.org>
1199 [chromium] Ensure animations get ticked at least once when added.
1200 https://bugs.webkit.org/show_bug.cgi?id=86013
1202 Reviewed by James Robinson.
1204 * tests/CCLayerTreeHostTest.cpp:
1205 (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
1208 2012-05-15 Alexandre Elias <aelias@google.com>
1210 [chromium] Fix unsafe viewport tag dispatch
1211 https://bugs.webkit.org/show_bug.cgi?id=80554
1213 Reviewed by Adam Barth.
1215 In some uncommon situations (such as window.open() new tab on
1216 Android), dispatchViewportPropertiesDidChange may early-return without
1217 setting the page scale because the window size is not yet
1218 available from the embedder. At that point, the previous behavior was
1219 to call it again in layoutUpdated(), but this is unsafe since it
1220 leaves a pending needsLayout.
1222 I moved the dispatch call into WebViewImpl::didChangeContentsSize and
1223 WebViewImpl::resize() instead -- these represent more explicitly the
1224 situations where the inputs to the viewport tag calculation change. I
1225 removed the other dispatch call from setFrameRect as it's now
1228 Covered by FixedLayoutInitializeAtMinimumPageScale test introduced
1229 in http://webk.it/82949 (an assertion will fire there without
1232 * src/ChromeClientImpl.cpp:
1233 (WebKit::ChromeClientImpl::layoutUpdated):
1234 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
1235 * src/WebViewImpl.cpp:
1236 (WebKit::WebViewImpl::resize):
1237 (WebKit::WebViewImpl::didChangeContentsSize):
1239 2012-05-15 James Robinson <jamesr@chromium.org>
1241 [chromium] Move createOffscreenGraphicsContext3D() from WebKitPlatformSupport to Platform
1242 https://bugs.webkit.org/show_bug.cgi?id=86524
1244 Reviewed by Adam Barth.
1246 Moves createOffscreenGraphicsContext3D() out (to WebKit::Platform) and updates GraphicsContext3DChromium to use
1247 the new location. Also removes a few unnecessary includes from GraphicsContext3DChromium.cpp.
1249 * public/platform/WebKitPlatformSupport.h:
1250 (WebKitPlatformSupport):
1251 * src/GraphicsContext3DChromium.cpp:
1252 (WebCore::GraphicsContext3D::create):
1254 2012-05-15 Terry Anderson <tdanderson@chromium.org>
1256 [chromium] Compute the best target node on a GestureTap event
1257 https://bugs.webkit.org/show_bug.cgi?id=85101
1259 Reviewed by Adam Barth.
1262 Enable the touch adjustment code by default.
1263 * src/WebInputEventConversion.cpp:
1264 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1265 In the case of a GestureTap, deltaX represents the horizontal padding of the touch
1266 area and deltaY represents the vertical padding of the touch area.
1268 2012-05-15 James Robinson <jamesr@chromium.org>
1270 Unreviewed, rolling out r116811.
1271 http://trac.webkit.org/changeset/116811
1272 https://bugs.webkit.org/show_bug.cgi?id=86257
1274 Introduced layering violation
1277 * src/Extensions3DChromium.cpp: Renamed from Source/WebCore/platform/chromium/support/Extensions3DChromium.cpp.
1279 (WebCore::Extensions3DChromium::Extensions3DChromium):
1280 (WebCore::Extensions3DChromium::~Extensions3DChromium):
1281 (WebCore::Extensions3DChromium::supports):
1282 (WebCore::Extensions3DChromium::ensureEnabled):
1283 (WebCore::Extensions3DChromium::isEnabled):
1284 (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
1285 (WebCore::Extensions3DChromium::blitFramebuffer):
1286 (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
1287 (WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
1288 (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
1289 (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
1290 (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
1291 (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
1292 (WebCore::Extensions3DChromium::setVisibilityCHROMIUM):
1293 (WebCore::Extensions3DChromium::discardFramebufferEXT):
1294 (WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM):
1295 (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
1296 (WebCore::Extensions3DChromium::createVertexArrayOES):
1297 (WebCore::Extensions3DChromium::deleteVertexArrayOES):
1298 (WebCore::Extensions3DChromium::isVertexArrayOES):
1299 (WebCore::Extensions3DChromium::bindVertexArrayOES):
1300 (WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE):
1301 (WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
1302 (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
1303 (WebCore::Extensions3DChromium::paintFramebufferToCanvas):
1304 (WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
1305 (WebCore::Extensions3DChromium::texStorage2DEXT):
1306 (WebCore::Extensions3DChromium::createQueryEXT):
1307 (WebCore::Extensions3DChromium::deleteQueryEXT):
1308 (WebCore::Extensions3DChromium::isQueryEXT):
1309 (WebCore::Extensions3DChromium::beginQueryEXT):
1310 (WebCore::Extensions3DChromium::endQueryEXT):
1311 (WebCore::Extensions3DChromium::getQueryivEXT):
1312 (WebCore::Extensions3DChromium::getQueryObjectuivEXT):
1313 * src/GraphicsContext3DChromium.cpp: Renamed from Source/WebCore/platform/chromium/support/GraphicsContext3DChromium.cpp.
1315 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
1316 (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
1317 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
1318 (WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
1319 (WebCore::GraphicsContext3DPrivate::platformGraphicsContext3D):
1320 (WebCore::GraphicsContext3DPrivate::platformTexture):
1321 (GrMemoryAllocationChangedCallback):
1322 (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
1323 (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
1324 (WebCore::GraphicsContext3DPrivate::grContext):
1325 (WebCore::GraphicsContext3DPrivate::prepareTexture):
1326 (WebCore::GraphicsContext3DPrivate::markContextChanged):
1327 (WebCore::GraphicsContext3DPrivate::markLayerComposited):
1328 (WebCore::GraphicsContext3DPrivate::layerComposited):
1329 (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
1330 (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
1331 (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
1332 (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
1333 (WebCore::GraphicsContext3DPrivate::reshape):
1334 (WebCore::GraphicsContext3DPrivate::getInternalFramebufferSize):
1335 (WebCore::GraphicsContext3DPrivate::isContextLost):
1336 (WebCore::GraphicsContext3DPrivate::isGLES2Compliant):
1337 (WebCore::GraphicsContext3DPrivate::bindAttribLocation):
1338 (WebCore::GraphicsContext3DPrivate::bufferData):
1339 (WebCore::GraphicsContext3DPrivate::bufferSubData):
1340 (WebCore::GraphicsContext3DPrivate::getActiveAttrib):
1341 (WebCore::GraphicsContext3DPrivate::getActiveUniform):
1342 (WebCore::GraphicsContext3DPrivate::getAttribLocation):
1343 (WebCore::GraphicsContext3DPrivate::getContextAttributes):
1344 (WebCore::GraphicsContext3DPrivate::getProgramInfoLog):
1345 (WebCore::GraphicsContext3DPrivate::getShaderInfoLog):
1346 (WebCore::GraphicsContext3DPrivate::getShaderSource):
1347 (WebCore::GraphicsContext3DPrivate::getString):
1348 (WebCore::GraphicsContext3DPrivate::getUniformLocation):
1349 (WebCore::GraphicsContext3DPrivate::shaderSource):
1350 (WebCore::GraphicsContext3DPrivate::texImage2D):
1351 (WebCore::GraphicsContext3DPrivate::texSubImage2D):
1352 (WebCore::GraphicsContext3DPrivate::uniform1fv):
1353 (WebCore::GraphicsContext3DPrivate::uniform1iv):
1354 (WebCore::GraphicsContext3DPrivate::uniform2fv):
1355 (WebCore::GraphicsContext3DPrivate::uniform2iv):
1356 (WebCore::GraphicsContext3DPrivate::uniform3fv):
1357 (WebCore::GraphicsContext3DPrivate::uniform3iv):
1358 (WebCore::GraphicsContext3DPrivate::uniform4fv):
1359 (WebCore::GraphicsContext3DPrivate::uniform4iv):
1360 (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
1361 (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
1362 (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
1363 (WebCore::GraphicsContext3DPrivate::getExtensions):
1364 (WebCore::GraphicsContext3DPrivate::isResourceSafe):
1365 (WebCore::GraphicsContext3DPrivate::initializeExtensions):
1366 (WebCore::GraphicsContext3DPrivate::supportsExtension):
1367 (WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
1368 (WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
1369 (WebCore::GraphicsContext3D::GraphicsContext3D):
1370 (WebCore::GraphicsContext3D::~GraphicsContext3D):
1371 (WebCore::GraphicsContext3D::create):
1372 (WebCore::GraphicsContext3D::platformGraphicsContext3D):
1373 (WebCore::GraphicsContext3D::platformTexture):
1374 (WebCore::GraphicsContext3D::grContext):
1375 (WebCore::GraphicsContext3D::prepareTexture):
1376 (WebCore::GraphicsContext3D::getInternalFramebufferSize):
1377 (WebCore::GraphicsContext3D::isResourceSafe):
1378 (WebCore::GraphicsContext3D::platformLayer):
1379 (WebCore::GraphicsContext3D::layerComposited):
1380 (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
1381 (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
1382 (GraphicsContextLostCallbackAdapter):
1383 (WebCore::GraphicsContextLostCallbackAdapter::~GraphicsContextLostCallbackAdapter):
1384 (WebCore::GraphicsContextLostCallbackAdapter::GraphicsContextLostCallbackAdapter):
1385 (WebCore::GraphicsContextLostCallbackAdapter::onContextLost):
1386 (WebCore::GraphicsContextLostCallbackAdapter::create):
1387 (WebCore::GraphicsContext3DPrivate::setContextLostCallback):
1388 (GraphicsErrorMessageCallbackAdapter):
1389 (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter):
1390 (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter):
1391 (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
1392 (WebCore::GraphicsErrorMessageCallbackAdapter::create):
1393 (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
1394 (WebCore::GraphicsContext3D::isGLES2Compliant):
1395 (GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
1396 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
1397 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
1398 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
1399 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::create):
1400 (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
1401 (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1402 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1403 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1404 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
1405 (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
1406 * src/GraphicsContext3DPrivate.h: Renamed from Source/WebCore/platform/chromium/support/GraphicsContext3DPrivate.h.
1409 (GraphicsContext3DPrivate):
1411 2012-05-15 Sheriff Bot <webkit.review.bot@gmail.com>
1413 Unreviewed, rolling out r116712.
1414 http://trac.webkit.org/changeset/116712
1415 https://bugs.webkit.org/show_bug.cgi?id=86484
1417 This patch is causing crashes in Chromium Canary builds
1418 (Requested by pilgrim_google__ on #webkit).
1421 * public/WebStorageArea.h:
1423 * public/WebStorageEventDispatcher.h:
1424 (WebStorageEventDispatcher):
1425 (WebKit::WebStorageEventDispatcher::~WebStorageEventDispatcher):
1426 * public/WebStorageNamespace.h:
1427 (WebStorageNamespace):
1428 (WebKit::WebStorageNamespace::close):
1429 * public/platform/WebKitPlatformSupport.h:
1430 (WebKitPlatformSupport):
1431 (WebKit::WebKitPlatformSupport::dispatchStorageEvent):
1432 * src/StorageAreaProxy.cpp:
1433 (WebCore::StorageAreaProxy::setItem):
1434 (WebCore::StorageAreaProxy::removeItem):
1435 (WebCore::StorageAreaProxy::clear):
1437 (WebCore::StorageAreaProxy::storageEvent):
1438 (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
1439 (WebCore::findPageWithSessionStorageNamespace):
1440 (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
1441 * src/StorageAreaProxy.h:
1444 * src/StorageEventDispatcherImpl.cpp: Added.
1446 (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl):
1447 (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
1448 * src/StorageEventDispatcherImpl.h: Copied from Source/WebKit/chromium/public/WebStorageEventDispatcher.h.
1450 (StorageEventDispatcherImpl):
1451 * src/WebStorageEventDispatcherImpl.cpp:
1453 (WebKit::WebStorageEventDispatcher::dispatchLocalStorageEvent):
1454 (WebKit::WebStorageEventDispatcher::dispatchSessionStorageEvent):
1455 (WebKit::WebStorageEventDispatcher::create):
1456 (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
1457 (WebKit::WebStorageEventDispatcherImpl::dispatchStorageEvent):
1458 * src/WebStorageEventDispatcherImpl.h: Copied from Source/WebKit/chromium/public/WebStorageEventDispatcher.h.
1460 (WebStorageEventDispatcherImpl):
1461 * src/WebViewImpl.cpp:
1462 * src/WebViewImpl.h:
1466 2012-05-15 Terry Anderson <tdanderson@chromium.org>
1468 [chromium] Remove unused code for tap target fuzzing
1469 https://bugs.webkit.org/show_bug.cgi?id=86252
1471 Reviewed by Adam Barth.
1473 * public/WebInputEvent.h:
1475 (WebKit::WebGestureEvent::WebGestureEvent):
1476 * src/WebInputEvent.cpp:
1477 (SameSizeAsWebGestureEvent):
1478 * src/WebInputEventConversion.cpp:
1479 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1480 A rectangular touch region is defined by the touch center and the
1481 delta values only, so gammaX and gammaY are not needed.
1483 2012-05-15 Hans Wennborg <hans@chromium.org>
1485 Speech JavaScript API: Introduce error code enum in Chromium plumbing
1486 https://bugs.webkit.org/show_bug.cgi?id=86353
1488 Reviewed by Adam Barth.
1490 Introduce an enum for receiving error codes from the embedder.
1491 This enum matches the enum in SpeechRecognitionError.
1493 * public/WebSpeechRecognizerClient.h:
1494 * src/AssertMatchingEnums.cpp:
1495 * src/SpeechRecognitionClientProxy.cpp:
1496 (WebKit::SpeechRecognitionClientProxy::didReceiveError):
1497 * src/SpeechRecognitionClientProxy.h:
1498 (SpeechRecognitionClientProxy):
1500 2012-05-14 Shinya Kawanaka <shinyak@chromium.org>
1502 document.execCommand('Indent') in the direct child of ShadowRoot causes a crash.
1503 https://bugs.webkit.org/show_bug.cgi?id=86341
1505 Reviewed by Ryosuke Niwa.
1508 (WebKit::WebRange::fromDocumentRange):
1510 2012-05-14 Shinya Kawanaka <shinyak@chromium.org>
1512 Node::shadowTreeRootNode() should return ShadowRoot instead of Node.
1513 https://bugs.webkit.org/show_bug.cgi?id=86428
1515 Reviewed by Hajime Morita.
1517 Adds include directive to build.
1519 * src/WebFrameImpl.cpp:
1521 2012-05-14 Gavin Peters <gavinp@chromium.org>
1523 Add Prerenderer, PrerenderHandle and a chromium interface for Prerendering.
1524 https://bugs.webkit.org/show_bug.cgi?id=85005
1526 Reviewed by Adam Barth.
1528 The prerender case isn't quite a resource load, and using resource loading to
1529 retrieve them has constrained the API, and unnecessarily complicated the loader.
1531 The new Prerenderer and PrerenderHandle let <link rel=prerender...> elements signal
1532 removal and unload to their platform.
1536 * src/PrerendererClientImpl.cpp: Copied from Source/WebCore/html/LinkRelAttribute.h.
1538 (WebKit::PrerendererClientImpl::PrerendererClientImpl):
1539 (WebKit::PrerendererClientImpl::willAddPrerender):
1540 * src/PrerendererClientImpl.h: Copied from Source/WebCore/html/LinkRelAttribute.h.
1543 (PrerendererClientImpl):
1546 * src/WebViewImpl.cpp:
1547 (WebKit::WebViewImpl::setPrerendererClient):
1549 * src/WebViewImpl.h:
1553 2012-05-14 Luke Macpherson <macpherson@chromium.org>
1555 Introduce ENABLE_CSS_VARIABLES compile flag.
1556 https://bugs.webkit.org/show_bug.cgi?id=86338
1558 Reviewed by Dimitri Glazkov.
1560 Add a configuration option for CSS Variables support, disabling it by default.
1564 2012-05-14 Gavin Peters <gavinp@chromium.org>
1566 [Chromium] remove skia/third_party/glu from DEPS
1567 https://bugs.webkit.org/show_bug.cgi?id=86431
1569 Chromium rev 136872 removed skia/third_party/glu, but nobody updated it in WebKit. This
1572 Unreviewed, remove bad Chromium repo.
1576 2012-05-14 Dirk Pranke <dpranke@chromium.org>
1578 Unreviewed, roll Chromium DEPS to r136942.
1580 2012-05-14 Adam Barth <abarth@webkit.org>
1582 [Chromium] android/WebInputEventFactory should handle wheel events and gesture events
1583 https://bugs.webkit.org/show_bug.cgi?id=86270
1585 Reviewed by Eric Seidel.
1587 * public/android/WebInputEventFactory.h:
1588 * src/android/WebInputEventFactory.cpp:
1589 (WebKit::WebInputEventFactory::keyboardEvent):
1590 (WebKit::WebInputEventFactory::mouseEvent):
1592 (WebKit::WebInputEventFactory::mouseWheelEvent):
1593 (WebKit::WebInputEventFactory::gestureEvent):
1595 2012-05-14 Sheriff Bot <webkit.review.bot@gmail.com>
1597 Unreviewed, rolling out r116983.
1598 http://trac.webkit.org/changeset/116983
1599 https://bugs.webkit.org/show_bug.cgi?id=86397
1601 Does not compile on chromium-win (Requested by abarth on
1605 * src/WebInputEventConversion.cpp:
1606 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1608 2012-05-14 Terry Anderson <tdanderson@chromium.org>
1610 [chromium] Compute the best target node on a GestureTap event
1611 https://bugs.webkit.org/show_bug.cgi?id=85101
1613 Reviewed by Adam Barth.
1616 Enable the touch adjustment code by default.
1617 * src/WebInputEventConversion.cpp:
1618 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1619 In the case of a GestureTap, deltaX represents the horizontal padding of the touch
1620 area and deltaY represents the vertical padding of the touch area.
1622 2012-05-14 Adrienne Walker <enne@google.com>
1624 [chromium] Add compositor debug asserts for blocked main thread
1625 https://bugs.webkit.org/show_bug.cgi?id=86384
1627 Reviewed by James Robinson.
1629 For tests that are just on the impl tree, pretend that the main thread
1632 * tests/CCLayerTreeHostImplTest.cpp:
1633 (CCLayerTreeHostImplTest):
1635 2012-05-12 Sheriff Bot <webkit.review.bot@gmail.com>
1637 Unreviewed, rolling out r116812.
1638 http://trac.webkit.org/changeset/116812
1639 https://bugs.webkit.org/show_bug.cgi?id=86313
1641 Appears to be causing a top crash (Requested by abarth on
1645 * public/WebStorageArea.h:
1648 (WebKit::WebStorageArea::~WebStorageArea):
1649 (WebKit::WebStorageArea::setItem):
1650 (WebKit::WebStorageArea::removeItem):
1651 (WebKit::WebStorageArea::clear):
1652 * public/WebStorageNamespace.h:
1654 (WebStorageNamespace):
1655 (WebKit::WebStorageNamespace::~WebStorageNamespace):
1656 (WebKit::WebStorageNamespace::isSameNamespace):
1657 * public/platform/WebKitPlatformSupport.h:
1659 (WebKitPlatformSupport):
1660 (WebKit::WebKitPlatformSupport::createLocalStorageNamespace):
1661 * src/StorageAreaProxy.cpp:
1662 * src/StorageNamespaceProxy.cpp:
1663 (WebCore::StorageNamespace::localStorageNamespace):
1665 2012-05-11 Mark Pilgrim <pilgrim@chromium.org>
1667 [Chromium] Call isLinkVisited directly
1668 https://bugs.webkit.org/show_bug.cgi?id=85412
1670 Reviewed by Adam Barth.
1672 Part of a refactoring series. See tracking bug 82948.
1674 * src/PlatformSupport.cpp:
1677 2012-05-11 Tony Chang <tony@chromium.org>
1679 [chromium] Port gtest WebViewTest.ActiveState from test_shell_tests to webkit_unit_tests
1680 https://bugs.webkit.org/show_bug.cgi?id=86271
1682 Reviewed by James Robinson.
1684 The original test is in src/webkit/glue/webview_unittest.cc.
1686 * tests/WebViewTest.cpp:
1690 2012-05-11 Shawn Singh <shawnsingh@chromium.org>
1692 [chromium] Plumb --show-paint-rects to accelerated compositor
1693 https://bugs.webkit.org/show_bug.cgi?id=86255
1695 Reviewed by James Robinson.
1697 * public/WebSettings.h:
1698 * src/WebLayerTreeView.cpp:
1699 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1700 * src/WebSettingsImpl.cpp:
1701 (WebKit::WebSettingsImpl::WebSettingsImpl):
1702 (WebKit::WebSettingsImpl::setShowPaintRects):
1704 * src/WebSettingsImpl.h:
1706 (WebKit::WebSettingsImpl::showFPSCounter):
1707 (WebKit::WebSettingsImpl::showPlatformLayerTree):
1708 (WebKit::WebSettingsImpl::showPaintRects):
1709 * src/WebViewImpl.cpp:
1710 (WebKit::WebViewImpl::settingsImpl):
1711 (WebKit::WebViewImpl::settings):
1713 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1714 * src/WebViewImpl.h:
1716 2012-05-11 Ryosuke Niwa <rniwa@webkit.org>
1718 Do a DEPS roll per build failure caused by r116810.
1720 See http://webkitmemes.tumblr.com/post/21734202168/the-solution-to-any-chromium-problem for the rationale.
1724 2012-05-11 Sheriff Bot <webkit.review.bot@gmail.com>
1726 Unreviewed, rolling out r116802.
1727 http://trac.webkit.org/changeset/116802
1728 https://bugs.webkit.org/show_bug.cgi?id=86260
1730 This patch causes compiling error to chromium builds
1731 (Requested by jianli_ on #webkit).
1734 * src/WebInputEventConversion.cpp:
1735 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1737 2012-05-11 Mark Pilgrim <pilgrim@chromium.org>
1739 [Chromium] Move createLocalStorageNamespace to Platform.h
1740 https://bugs.webkit.org/show_bug.cgi?id=85766
1742 Reviewed by Adam Barth.
1744 Part of a refactoring series. See tracking bug 82948.
1747 * public/WebStorageArea.h:
1748 * public/WebStorageNamespace.h:
1749 * public/platform/WebKitPlatformSupport.h:
1751 (WebKit::WebKitPlatformSupport::blobRegistry):
1752 * src/StorageAreaProxy.cpp:
1753 * src/StorageNamespaceProxy.cpp:
1754 (WebCore::StorageNamespace::localStorageNamespace):
1756 2012-05-11 James Robinson <jamesr@chromium.org>
1758 [chromium] Move implementation of WebCore::GraphicsContext3D and related from WebKit/chromium/src to WebCore/platform/chromium/support
1759 https://bugs.webkit.org/show_bug.cgi?id=86257
1761 Reviewed by Adam Barth.
1765 2012-05-11 Fady Samuel <fsamuel@chromium.org>
1767 [Chromium] Expose WebPluginContainer of WebPlugin to embedder
1768 https://bugs.webkit.org/show_bug.cgi?id=85916
1770 Reviewed by Darin Fisher.
1772 The browser plugin needs to access its current guest's WebPluginContainer
1773 so that it can replace the guest with another guest WebPlugin when navigating
1776 * public/WebPlugin.h:
1778 (WebKit::WebPlugin::container):
1780 2012-05-11 Terry Anderson <tdanderson@chromium.org>
1782 [chromium] Compute the best target node on a GestureTap event
1783 https://bugs.webkit.org/show_bug.cgi?id=85101
1785 Reviewed by Adam Barth.
1788 Enable the touch adjustment code by default.
1789 * src/WebInputEventConversion.cpp:
1790 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1791 In the case of a GestureTap, deltaX represents the horizontal padding of the touch
1792 area and deltaY represents the vertical padding of the touch area.
1794 2012-05-11 Ian Vollick <vollick@chromium.org>
1796 [chromium] Ensure that animations continue to run when transform-style is changed
1797 https://bugs.webkit.org/show_bug.cgi?id=83283
1799 Reviewed by James Robinson.
1802 * tests/GraphicsLayerChromiumTest.cpp: Added.
1804 (MockGraphicsLayerClient):
1805 (WebKitTests::MockGraphicsLayerClient::notifyAnimationStarted):
1806 (WebKitTests::MockGraphicsLayerClient::notifySyncRequired):
1807 (WebKitTests::MockGraphicsLayerClient::paintContents):
1808 (WebKitTests::MockGraphicsLayerClient::showDebugBorders):
1809 (WebKitTests::MockGraphicsLayerClient::showRepaintCounter):
1810 (WebKitTests::TEST):
1812 2012-05-11 Min Qin <qinmin@google.com>
1814 split MediaPlayer::enterFullscreen into 2 seperate functions
1815 https://bugs.webkit.org/show_bug.cgi?id=86052
1817 Reviewed by Adam Barth.
1819 In WebCore, we splitted bool enterFullscreen() into two seperate calls:
1820 void enterFullscreen() and bool canEnterFullscreen()
1821 This is the change in the chromium part that we needed to support the WebCore change
1822 No behavior change, just refactoring.
1824 * public/WebMediaPlayer.h:
1826 (WebKit::WebMediaPlayer::enterFullscreen):
1827 (WebKit::WebMediaPlayer::canEnterFullscreen):
1828 * src/WebMediaPlayerClientImpl.cpp:
1829 (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
1831 (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
1832 * src/WebMediaPlayerClientImpl.h:
1833 (WebMediaPlayerClientImpl):
1834 * src/WebViewImpl.cpp:
1835 (WebKit::WebViewImpl::enterFullScreenForElement):
1837 2012-05-11 David Reveman <reveman@chromium.org>
1839 [Chromium] Move instantiation of texture uploader to LayerRendererChromium.
1840 https://bugs.webkit.org/show_bug.cgi?id=85893
1842 Reviewed by Adrienne Walker.
1844 * tests/CCLayerTreeHostImplTest.cpp:
1845 (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
1846 (WebKitTests::TEST_F):
1847 * tests/LayerRendererChromiumTest.cpp:
1848 (FakeLayerRendererChromium::FakeLayerRendererChromium):
1849 (LayerRendererChromiumTest::LayerRendererChromiumTest):
1852 2012-05-11 Sheriff Bot <webkit.review.bot@gmail.com>
1854 Unreviewed, rolling out r116727.
1855 http://trac.webkit.org/changeset/116727
1856 https://bugs.webkit.org/show_bug.cgi?id=86181
1858 Build error on Chromium-Android (Requested by tkent on
1861 * public/WebMediaPlayer.h:
1863 (WebKit::WebMediaPlayer::enterFullscreen):
1864 (WebKit::WebMediaPlayer::exitFullscreen):
1865 * src/WebMediaPlayerClientImpl.cpp:
1866 (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
1867 (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
1868 * src/WebMediaPlayerClientImpl.h:
1869 (WebMediaPlayerClientImpl):
1870 * src/WebViewImpl.cpp:
1871 (WebKit::WebViewImpl::enterFullScreenForElement):
1873 2012-05-11 Sheriff Bot <webkit.review.bot@gmail.com>
1875 Unreviewed, rolling out r116731.
1876 http://trac.webkit.org/changeset/116731
1877 https://bugs.webkit.org/show_bug.cgi?id=86178
1879 Build failure on Chromium-mac (Requested by tkent on #webkit).
1881 * tests/CCLayerTreeHostImplTest.cpp:
1882 (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
1883 (WebKitTests::TEST_F):
1884 * tests/LayerRendererChromiumTest.cpp:
1885 (FakeLayerRendererChromium::FakeLayerRendererChromium):
1886 (LayerRendererChromiumTest::LayerRendererChromiumTest):
1889 2012-05-10 David Reveman <reveman@chromium.org>
1891 [Chromium] Move instantiation of texture uploader to LayerRendererChromium.
1892 https://bugs.webkit.org/show_bug.cgi?id=85893
1894 Reviewed by Adrienne Walker.
1896 * tests/CCLayerTreeHostImplTest.cpp:
1897 (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
1898 (WebKitTests::TEST_F):
1899 * tests/LayerRendererChromiumTest.cpp:
1900 (FakeLayerRendererChromium::FakeLayerRendererChromium):
1901 (LayerRendererChromiumTest::LayerRendererChromiumTest):
1904 2012-05-10 Min Qin <qinmin@google.com>
1906 split MediaPlayer::enterFullscreen into 2 seperate functions
1907 https://bugs.webkit.org/show_bug.cgi?id=86052
1909 Reviewed by Benjamin Poulain.
1911 It is confusing that enterFullscreen returns a boolean while exitFullscreen does
1912 not do the same. And ios does not need the return value.
1913 So remove the return value on enterFullscreen and make a seperate canEnterFullscreen()
1914 function for android.
1915 No behavior change, just refactoring.
1917 * public/WebMediaPlayer.h:
1919 (WebKit::WebMediaPlayer::enterFullscreen):
1920 (WebKit::WebMediaPlayer::canEnterFullscreen):
1921 * src/WebMediaPlayerClientImpl.cpp:
1922 (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
1924 (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
1925 * src/WebMediaPlayerClientImpl.h:
1926 (WebMediaPlayerClientImpl):
1927 * src/WebViewImpl.cpp:
1928 (WebKit::WebViewImpl::enterFullScreenForElement):
1930 2012-05-10 Hajime Morrita <morrita@google.com>
1932 WebKit should support tab-size.
1933 https://bugs.webkit.org/show_bug.cgi?id=52994
1935 Reviewed by Simon Fraser.
1937 * src/WebTextRun.cpp:
1938 (WebKit::WebTextRun::operator WebCore::TextRun):
1940 2012-05-10 Kent Tamura <tkent@chromium.org>
1942 Unreviewed, rolling out r116594.
1943 http://trac.webkit.org/changeset/116594
1944 https://bugs.webkit.org/show_bug.cgi?id=86013
1946 r116594 might have made some composition tests flaky.
1948 * tests/CCLayerTreeHostTest.cpp:
1949 (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
1953 2012-05-10 Jian Li <jianli@chromium.org>
1955 Unreviewed. Fix chromium build break.
1957 * src/LocalizedStrings.cpp:
1958 (WebCore::insecurePluginVersionText):
1960 2012-05-10 Michael Nordman <michaeln@google.com>
1962 [chromium] DomStorage events handling needs TLC (2)
1963 https://bugs.webkit.org/show_bug.cgi?id=85221
1964 Alter the WebStorageArea virtual interface such that the mutators no longer
1965 return old values. This is to allow implementations of the interface to operate
1966 more asynchronously.
1968 Also clean up from the last patch, remove support for the DEPRECATED event
1971 Reviewed by Adam Barth.
1973 * WebKit.gyp: delete three files indicated below
1974 * public/WebStorageArea.h:
1975 (WebKit::WebStorageArea::setItem): no longer returns the old value
1976 (WebKit::WebStorageArea::removeItem): no longer returns the old value
1977 (WebKit::WebStorageArea::clear): no longer returns a bool indicated if something was cleared
1978 * public/WebStorageEventDispatcher.h: removed the DEPRECATED instance methods
1979 * public/WebStorageNamespace.h: removed the DEPRECATED close() method
1980 * public/platform/WebKitPlatformSupport.h: removed the DEPRECATED dispatchStorageEvent() method
1981 * src/StorageAreaProxy.cpp: removed the DEPREACTED storageEvent() method
1982 (WebCore::StorageAreaProxy::setItem): no return value
1983 (WebCore::StorageAreaProxy::removeItem): no return value
1984 (WebCore::StorageAreaProxy::clear): no return value
1985 (WebCore::StorageAreaProxy::dispatchLocalStorageEvent): remove an early return thats no longer needed
1986 (WebCore::findPageWithSessionStorageNamespace): switched to passing pageGroup by ptr value instead of by name
1987 (WebCore::StorageAreaProxy::dispatchSessionStorageEvent): remove an early return thats no longer needed
1988 * src/StorageAreaProxy.h:
1991 * src/StorageEventDispatcherImpl.cpp: Deleted the file.
1992 * src/StorageEventDispatcherImpl.h: Deleted the file.
1993 * src/WebStorageEventDispatcherImpl.cpp: Deleted the DEPRECATED instance methods.
1994 (WebKit::WebStorageEventDispatcher::dispatchLocalStorageEvent): use WebViewImpl::defaultPageGroup
1995 (WebKit::WebStorageEventDispatcher::dispatchSessionStorageEvent): use WebViewImpl::defaultPageGroup
1996 * src/WebStorageEventDispatcherImpl.h: Deleted the file.
1997 * src/WebViewImpl.cpp: added a static method to retrieve a ptr to the default page group,
1998 (WebKit::WebViewImpl::defaultPageGroup):
1999 * src/WebViewImpl.h:
2002 2012-05-10 Anders Carlsson <andersca@apple.com>
2004 Add insecurePluginVersionText stub here too.
2006 * src/LocalizedStrings.cpp:
2008 2012-05-10 Mark Pilgrim <pilgrim@chromium.org>
2010 [Chromium] Call addTraceEvent and getTraceCategoryEnabledFlag directly
2011 https://bugs.webkit.org/show_bug.cgi?id=85399
2013 Reviewed by Adam Barth.
2015 Part of a refactoring series. See tracking bug 82948.
2017 * src/PlatformSupport.cpp:
2020 2012-05-10 Mark Pilgrim <pilgrim@chromium.org>
2022 [Chromium] Remove WEBKIT_USING_SKIA ifdefs that are always true
2023 https://bugs.webkit.org/show_bug.cgi?id=86121
2025 Reviewed by Adam Barth.
2027 Chromium always uses Skia now, so this just removes the barriers
2028 around code that was previously #if'd.
2031 * src/DragClientImpl.cpp:
2032 (WebKit::DragClientImpl::startDrag):
2033 * src/PageOverlay.cpp:
2034 * src/PlatformSupport.cpp:
2035 (WebCore::PlatformSupport::clipboardWriteImage):
2036 (WebCore::PlatformSupport::paintScrollbarThumb):
2037 * src/WebContentLayerImpl.cpp:
2038 (WebKit::WebContentLayerImpl::paintContents):
2039 * src/WebFontImpl.cpp:
2040 (WebKit::WebFontImpl::drawText):
2041 * src/WebFrameImpl.cpp:
2042 (WebKit::WebFrameImpl::printPage):
2043 (WebKit::WebFrameImpl::printPagesWithBoundaries):
2044 * src/WebGraphicsContext3D.cpp:
2045 (WebKit::WebGraphicsContext3D::createGrGLInterface):
2046 * src/WebImageDecoder.cpp:
2047 (WebKit::WebImageDecoder::getFrameAtIndex):
2048 * src/WebPluginContainerImpl.cpp:
2049 (WebKit::WebPluginContainerImpl::paint):
2050 (WebKit::WebPluginContainerImpl::printPage):
2051 * src/painting/GraphicsContextBuilder.h:
2054 2012-05-10 Tom Sepez <tsepez@chromium.org>
2056 [Chromium] WebFrameTest.ChromePageNoJavascript isn't catching regressions
2057 https://bugs.webkit.org/show_bug.cgi?id=86046
2059 Reviewed by Adam Barth.
2061 Test both cases for registerURLSchemeAsNotAllowingJavascriptURLs. Also add
2062 a call to layout() to ensure the javascript result is seen.
2064 * tests/WebFrameTest.cpp:
2068 2012-05-10 Varun Jain <varunjain@google.com>
2070 [chromium] Trigger context menu for long press gesture
2071 https://bugs.webkit.org/show_bug.cgi?id=85919
2073 Reviewed by Adam Barth.
2075 * src/PageWidgetDelegate.cpp:
2076 (WebKit::PageWidgetDelegate::handleInputEvent):
2077 * src/WebViewImpl.cpp:
2078 (WebKit::WebViewImpl::handleGestureEvent):
2080 2012-05-10 Mark Pilgrim <pilgrim@chromium.org>
2082 [Chromium] Remove dead code behind unused WEBKIT_USING_CG
2083 https://bugs.webkit.org/show_bug.cgi?id=86018
2085 Reviewed by Adam Barth.
2087 We never use CoreGraphics as the backend for GraphicsContext in
2088 Chromium, so this is all dead code.
2091 * src/PageOverlay.cpp:
2092 * src/WebContentLayerImpl.cpp:
2093 (WebKit::WebContentLayerImpl::paintContents):
2094 * src/WebFontImpl.cpp:
2095 (WebKit::WebFontImpl::drawText):
2096 * src/WebImageDecoder.cpp:
2097 (WebKit::WebImageDecoder::getFrameAtIndex):
2098 * src/WebPluginContainerImpl.cpp:
2099 (WebKit::WebPluginContainerImpl::paint):
2100 (WebKit::WebPluginContainerImpl::printPage):
2101 * src/painting/GraphicsContextBuilder.h:
2104 2012-05-10 Sam D <dsam2912@gmail.com>
2106 Web Inspector: rename InspectorBackendStub.js to InspectorBackendCommands.js
2107 https://bugs.webkit.org/show_bug.cgi?id=72306
2109 Changed name for InspectorBackendStub.js to InspectorBackendCommands.js
2111 Reviewed by Yury Semikhatsky.
2115 2012-05-09 Kent Tamura <tkent@chromium.org>
2117 [Chromium] Mark CCLayerTreeHostTestSetNeedsCommit2.runMultiThread and
2118 CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity.runMultiThread flaky.
2120 * tests/CCLayerTreeHostTest.cpp:
2122 2012-05-09 Dan Alcantara <dfalcantara@chromium.org>
2124 [chromium] Add ability to override user agent string per-WebFrameClient
2125 https://bugs.webkit.org/show_bug.cgi?id=83959
2127 Reviewed by Adam Barth.
2129 Adds a method that can be used to override the normal user agent in
2130 chromium. Also adds a unit test to check if the override is taking effect.
2133 * public/WebFrameClient.h:
2135 (WebKit::WebFrameClient::userAgent):
2136 * src/FrameLoaderClientImpl.cpp:
2137 (WebKit::FrameLoaderClientImpl::userAgent):
2138 * tests/FrameLoaderClientImplTest.cpp: Added.
2140 (TestWebFrameClient):
2141 (WebKit::TestWebFrameClient::setUserAgentOverride):
2142 (FrameLoaderClientImplTest):
2143 (WebKit::FrameLoaderClientImplTest::SetUp):
2144 (WebKit::FrameLoaderClientImplTest::TearDown):
2145 (WebKit::FrameLoaderClientImplTest::setUserAgentOverride):
2146 (WebKit::FrameLoaderClientImplTest::userAgent):
2149 2012-05-09 Charlie Reis <creis@chromium.org>
2151 Add dispatchMessageEventWithOriginCheck to WebFrame
2152 https://bugs.webkit.org/show_bug.cgi?id=85815
2154 Reviewed by Adam Barth.
2156 Tested by WebFrameTest.DispatchMessageEventWithOriginCheck.
2157 Also fixes source frame bug in willCheckAndDispatchMessageEvent.
2159 * public/WebFrame.h:
2161 * src/FrameLoaderClientImpl.cpp:
2162 (WebKit::FrameLoaderClientImpl::willCheckAndDispatchMessageEvent):
2163 * src/WebFrameImpl.cpp:
2164 (WebKit::WebFrameImpl::checkAndDispatchMessageEvent):
2166 * src/WebFrameImpl.h:
2169 2012-05-09 Hironori Bono <hbono@chromium.org>
2171 Fix a crash in ContextMenuClientImpl::getCustomMenuFromDefaultItems
2172 https://bugs.webkit.org/show_bug.cgi?id=85866
2174 Reviewed by Ryosuke Niwa.
2176 DocumentMarkerController::markersInRange crashes if the input range is NULL.
2177 This change adds a NULL check before getCustomMenuFromDefaultItems() calls this
2178 function to avoid this crash.
2180 * src/ContextMenuClientImpl.cpp:
2181 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Added a NULL check.
2183 2012-05-09 Sheriff Bot <webkit.review.bot@gmail.com>
2185 Unreviewed, rolling out r116602.
2186 http://trac.webkit.org/changeset/116602
2187 https://bugs.webkit.org/show_bug.cgi?id=86057
2189 Build error on Windows (Requested by tkent on #webkit).
2192 * public/WebFrameClient.h:
2193 * src/FrameLoaderClientImpl.cpp:
2194 (WebKit::FrameLoaderClientImpl::userAgent):
2195 * tests/FrameLoaderClientImplTest.cpp: Removed.
2197 2012-05-09 Kent Tamura <tkent@chromium.org>
2199 [Chromium] Fix compilation warning on Android.
2200 https://bugs.webkit.org/show_bug.cgi?id=85958
2202 * features.gypi: Move ENABLE_MEDIA_CAPTURE=0 to non-Android block.
2204 2012-05-09 Dan Alcantara <dfalcantara@chromium.org>
2206 [chromium] Add ability to override user agent string per-WebFrameClient
2207 https://bugs.webkit.org/show_bug.cgi?id=83959
2209 Reviewed by Adam Barth.
2211 Adds a method that can be used to override the normal user agent in
2212 chromium. Also adds a unit test to check if the override is taking effect.
2215 * public/WebFrameClient.h:
2217 (WebKit::WebFrameClient::userAgent):
2218 * src/FrameLoaderClientImpl.cpp:
2219 (WebKit::FrameLoaderClientImpl::userAgent):
2220 * tests/FrameLoaderClientImplTest.cpp: Added.
2222 (TestWebFrameClient):
2223 (WebKit::TestWebFrameClient::setUserAgentOverride):
2224 (FrameLoaderClientImplTest):
2225 (WebKit::FrameLoaderClientImplTest::SetUp):
2226 (WebKit::FrameLoaderClientImplTest::TearDown):
2227 (WebKit::FrameLoaderClientImplTest::setUserAgentOverride):
2228 (WebKit::FrameLoaderClientImplTest::userAgent):
2231 2012-05-09 Ian Vollick <vollick@chromium.org>
2233 [chromium] Ensure animations get ticked at least once when added.
2234 https://bugs.webkit.org/show_bug.cgi?id=86013
2236 Reviewed by James Robinson.
2238 * tests/CCLayerTreeHostTest.cpp:
2239 (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
2242 2012-05-09 Adam Barth <abarth@webkit.org>
2244 Implement HTML Media Capture
2245 https://bugs.webkit.org/show_bug.cgi?id=85958
2247 Reviewed by Eric Seidel.
2250 * public/WebFileChooserParams.h:
2251 (WebFileChooserParams):
2252 * src/ChromeClientImpl.cpp:
2253 (WebKit::ChromeClientImpl::runOpenPanel):
2255 2012-05-09 Dana Jansens <danakj@chromium.org>
2257 [chromium] Don't draw when canDraw() is false
2258 https://bugs.webkit.org/show_bug.cgi?id=85829
2260 Reviewed by Adrienne Walker.
2262 * tests/CCLayerTreeHostImplTest.cpp:
2263 (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
2264 (WebKitTests::TEST_F):
2265 * tests/CCLayerTreeHostTest.cpp:
2267 (CCLayerTreeHostTestCanDrawBlocksDrawing):
2268 (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::CCLayerTreeHostTestCanDrawBlocksDrawing):
2269 (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::beginTest):
2270 (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::commitCompleteOnCCThread):
2271 (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::drawLayersOnCCThread):
2272 (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::didCommitAndDrawFrame):
2273 (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::afterTest):
2276 2012-05-09 Sheriff Bot <webkit.review.bot@gmail.com>
2278 Unreviewed, rolling out r116573.
2279 http://trac.webkit.org/changeset/116573
2280 https://bugs.webkit.org/show_bug.cgi?id=86038
2282 Broke the Chromium Mac compile (Requested by ojan_gardening on
2285 * public/WebPlugin.h:
2288 2012-05-09 Fady Samuel <fsamuel@chromium.org>
2290 [Chromium] Expose WebPluginContainer of WebPlugin to embedder
2291 https://bugs.webkit.org/show_bug.cgi?id=85916
2293 Reviewed by Darin Fisher.
2295 The browser plugin needs to access its current guest's WebPluginContainer
2296 so that it can replace the guest with another guest WebPlugin when navigating
2299 * public/WebPlugin.h:
2301 (WebKit::WebPlugin::container):
2303 2012-05-09 Mark Pilgrim <pilgrim@chromium.org>
2305 [Chromium] Move clipboard to Platform.h
2306 https://bugs.webkit.org/show_bug.cgi?id=85758
2308 Reviewed by Adam Barth.
2310 Part of a refactoring series. See tracking bug 82948.
2313 * public/platform/WebClipboard.h:
2314 * public/platform/WebDragData.h:
2315 * public/platform/WebImage.h:
2316 * public/platform/WebKitPlatformSupport.h:
2318 (WebKitPlatformSupport):
2319 * src/AssertMatchingEnums.cpp:
2320 * src/DragClientImpl.cpp:
2321 * src/PlatformSupport.cpp:
2322 * src/WebDragData.cpp:
2323 * src/WebImageCG.cpp:
2324 * src/WebImageDecoder.cpp:
2325 * src/WebImageSkia.cpp:
2326 * src/WebPluginContainerImpl.cpp:
2327 (WebKit::WebPluginContainerImpl::copy):
2328 * src/WebViewImpl.cpp:
2330 2012-05-09 Mark Pilgrim <pilgrim@chromium.org>
2332 [Chromium] Remove PlatformSupport::loadPlatformImageResource, call loadResource directly
2333 https://bugs.webkit.org/show_bug.cgi?id=84417
2335 Reviewed by Adam Barth.
2337 Part of a refactoring series. See tracking bug 82948.
2339 * src/PlatformSupport.cpp:
2342 2012-05-09 Jochen Eisinger <jochen@chromium.org>
2344 [chromium] remove the obsolete WebFrame::referrerPolicy method
2345 https://bugs.webkit.org/show_bug.cgi?id=86003
2347 Reviewed by Adam Barth.
2349 * public/WebFrame.h:
2350 * src/WebFrameImpl.cpp:
2351 * src/WebFrameImpl.h:
2354 2012-05-09 Jochen Eisinger <jochen@chromium.org>
2356 [chromium] Check whether an active document loader exists before accessing it
2357 https://bugs.webkit.org/show_bug.cgi?id=85892
2359 Reviewed by Eric Seidel.
2361 Although FrameLoader::loadInSameDocument which invokes this
2362 method does not have a provisional document loader, we're seeing crashes
2363 where the FrameLoader is in provisional state, and thus
2364 activeDocumentLoader returns 0. Lacking any understanding of how this
2365 can happen, we do this check here to avoid crashing.
2367 * src/FrameLoaderClientImpl.cpp:
2368 (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
2370 2012-05-09 Ian Vollick <vollick@chromium.org>
2372 [chromium] Add impl-thread support for fill-mode and direction css animation properties
2373 https://bugs.webkit.org/show_bug.cgi?id=77662
2375 Reviewed by James Robinson.
2377 * tests/CCActiveAnimationTest.cpp:
2380 * tests/CCLayerAnimationControllerTest.cpp:
2381 (WebKitTests::TEST):
2384 2012-05-09 Ojan Vafai <ojan@chromium.org>
2386 Unreviewed. Rolled DEPS.
2390 2012-05-09 Marcus Bulach <bulach@chromium.org>
2392 [chromium] Exposes OrientationChangeEvent.
2393 https://bugs.webkit.org/show_bug.cgi?id=85976
2395 Reviewed by Adam Barth.
2397 This is used by the android port, we need to expose the existing
2400 * public/WebFrame.h:
2402 * src/WebFrameImpl.cpp:
2403 (WebKit::WebFrameImpl::sendOrientationChangeEvent):
2405 * src/WebFrameImpl.h:
2408 2012-05-09 Dana Jansens <danakj@chromium.org>
2410 Early-out and avoid any copying when possible for Region operations
2411 https://bugs.webkit.org/show_bug.cgi?id=85260
2413 Reviewed by Anders Carlsson.
2415 * tests/RegionTest.cpp:
2419 2012-05-09 Tommy Widenflycht <tommyw@google.com>
2421 [chromium] MediaStream API: Fixing a memory leak in WebUserMediaRequest
2422 https://bugs.webkit.org/show_bug.cgi?id=85992
2424 Reviewed by Adam Barth.
2426 * src/WebUserMediaRequest.cpp:
2427 (WebKit::WebUserMediaRequest::assign):
2429 2012-05-09 Kent Tamura <tkent@chromium.org>
2431 [Chromium] Disable WebViewTest.TextInputType because the test is incomplete.
2433 * tests/WebViewTest.cpp:
2435 2012-05-09 Kent Tamura <tkent@chromium.org>
2437 [Chromium] Some of *.runMultiThread tests intermittently crash.
2440 * tests/CCLayerTreeHostTest.cpp:
2442 2012-05-09 Oli Lan <olilan@chromium.org>
2444 Adds date/time input types to WebTextInputType, and adds support for these
2445 to WebViewImpl.textInputType().
2447 Adds a new test WebViewTest.TextInputType to test WebViewImpl.textInputType(),
2448 including the new types.
2450 https://bugs.webkit.org/show_bug.cgi?id=78746
2452 Reviewed by Kent Tamura.
2454 * public/WebTextInputType.h:
2455 * src/WebViewImpl.cpp:
2456 (WebKit::WebViewImpl::textInputType):
2457 * tests/WebViewTest.cpp:
2459 (WebKit::WebViewTest::testTextInputType):
2462 * tests/data/input_field_date.html: Added.
2463 * tests/data/input_field_datetime.html: Added.
2464 * tests/data/input_field_default.html: Added.
2465 * tests/data/input_field_email.html: Added.
2466 * tests/data/input_field_number.html: Added.
2467 * tests/data/input_field_search.html: Added.
2468 * tests/data/input_field_time.html: Added.
2469 * tests/data/input_field_week.html: Added.
2471 2012-05-08 Jochen Eisinger <jochen@chromium.org>
2473 Unreviewed. Rolled DEPS.
2477 2012-05-08 Dana Jansens <danakj@chromium.org>
2479 [chromium] Show borders for partial-draw-culled quads to visualize culling behaviour
2480 https://bugs.webkit.org/show_bug.cgi?id=85414
2482 Reviewed by Adrienne Walker.
2484 * tests/CCQuadCullerTest.cpp:
2485 (WebCore::appendQuads):
2486 * tests/MockCCQuadCuller.h:
2487 (WebCore::MockCCQuadCuller::MockCCQuadCuller):
2489 2012-05-08 Tony Chang <tony@chromium.org>
2491 [chromium] force ENABLE_REGISTER_PROTOCOL_HANDLER=1 in features.gypi
2492 https://bugs.webkit.org/show_bug.cgi?id=85924
2494 Reviewed by Adam Barth.
2496 This has been enabled for a few months on Chromium trunk so remove the
2497 ability to turn it off via a gyp flag. This simplifies features.gypi.
2501 2012-05-08 Dana Jansens <danakj@chromium.org>
2503 [chromium] Reflections with masks should not occlude
2504 https://bugs.webkit.org/show_bug.cgi?id=85927
2506 Reviewed by James Robinson.
2508 * tests/CCOcclusionTrackerTest.cpp:
2509 (WebKitTests::CCOcclusionTrackerTest::TearDown):
2510 (WebKitTests::CCOcclusionTrackerTest::createMaskLayer):
2511 (CCOcclusionTrackerTest):
2512 (WebKitTests::CCOcclusionTrackerTest::setMask):
2513 (CCOcclusionTrackerTestReplicaWithMask):
2514 (WebKitTests::CCOcclusionTrackerTestReplicaWithMask::runMyTest):
2517 2012-05-08 Dana Jansens <danakj@chromium.org>
2519 Region reads past end of spans
2520 https://bugs.webkit.org/show_bug.cgi?id=85909
2522 Reviewed by Anders Carlsson.
2524 * tests/RegionTest.cpp:
2528 2012-05-08 Tony Chang <tony@chromium.org>
2530 move listener_leak_test to webkit_unit_tests
2531 https://bugs.webkit.org/show_bug.cgi?id=85922
2533 Reviewed by Ojan Vafai.
2535 Porting the test from src/webkit/tools/test_shell/listener_leak_test.cc.
2536 All I did was change the style and use the FrameTestHelper to load the file.
2538 * WebKit.gyp: Exclude file in components build.
2539 * WebKit.gypi: Add new file.
2540 * tests/ListenerLeakTest.cpp: Added.
2542 (WebKit::GetProperty):
2543 (WebKit::GetNumObjects):
2545 (WebKit::ListenerLeakTest::ListenerLeakTest):
2546 (WebKit::ListenerLeakTest::RunTest):
2548 * tests/data/listener/listener_leak1.html: Added.
2549 * tests/data/listener/listener_leak2.html: Added.
2551 2012-05-08 W. James MacLean <wjmaclean@chromium.org>
2553 [chromium] Create LinkHighlightLayerChromium class to provide link-highlight preview animations for GraphicsLayerChromium.
2554 https://bugs.webkit.org/show_bug.cgi?id=85084
2556 Reviewed by James Robinson.
2559 * tests/LinkHighlightTest.cpp: Added.
2561 (MockGraphicsLayerClient):
2562 (WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
2563 (WebCore::MockGraphicsLayerClient::notifySyncRequired):
2564 (WebCore::MockGraphicsLayerClient::paintContents):
2565 (WebCore::MockGraphicsLayerClient::showDebugBorders):
2566 (WebCore::MockGraphicsLayerClient::showRepaintCounter):
2569 2012-05-08 Tony Chang <tony@chromium.org>
2571 [chromium] move event_listener_unittest to webkit_unit_tests
2572 https://bugs.webkit.org/show_bug.cgi?id=85836
2574 Reviewed by James Robinson.
2576 Porting the test from src/webkit/tools/test_shell/event_listener_unittest.cc.
2577 All I did was change the style and use the FrameTestHelper to load the file.
2579 * WebKit.gyp: Exclude file in components build.
2580 * WebKit.gypi: Add new file.
2581 * tests/EventListenerTest.cpp: Added.
2583 (TestWebDOMEventListener):
2584 (WebKit::TestWebDOMEventListener::TestWebDOMEventListener):
2585 (WebKit::TestWebDOMEventListener::~TestWebDOMEventListener):
2586 (WebKit::TestWebDOMEventListener::eventCount):
2587 (WebKit::TestWebDOMEventListener::eventAt):
2588 (WebKit::TestWebDOMEventListener::clearEvents):
2589 (WebDOMEventListenerTest):
2590 (WebKit::WebDOMEventListenerTest::WebDOMEventListenerTest):
2591 (WebKit::WebDOMEventListenerTest::SetUp):
2592 (WebKit::WebDOMEventListenerTest::TearDown):
2593 (WebKit::WebDOMEventListenerTest::mainFrame):
2594 (WebKit::WebDOMEventListenerTest::document):
2595 (WebKit::WebDOMEventListenerTest::executeScript):
2596 (WebKit::WebDOMEventListenerTest::GetNodeID):
2598 * tests/data/listener/mutation_event_listener.html: Added.
2600 2012-05-07 Kinuko Yasuda <kinuko@chromium.org>
2602 Unreviewed build fix: didOpenFileSystem hides overloaded virtual function
2604 * src/WorkerAsyncFileSystemChromium.cpp:
2606 2012-05-07 Kinuko Yasuda <kinuko@chromium.org>
2608 Unreviewed build fix: adding missing include.
2610 * src/AsyncFileSystemChromium.cpp:
2612 2012-05-07 Kinuko Yasuda <kinuko@chromium.org>
2614 Support cross-filesystem operations in FileSystem API
2615 https://bugs.webkit.org/show_bug.cgi?id=84135
2617 Reviewed by David Levin.
2619 Currently we pass Entry's fullPath to AsyncFileSystem layer where
2620 we convert the given path to filesystem URL which includes origin and
2621 filesystem type information, but in that way we cannot handle
2622 cross-filesystem operations (e.g. cross-filesystem copy and move)
2623 well since we end up with always attaching the source filesystem's
2624 origin and type information for argument paths.
2627 - move filesystem-type related code out of AsyncFileSystemChromium.cpp
2628 (moving into DOMFileSystemChromium.cpp)
2629 - change AsyncFileSystemChromium's methods implementation not to take
2630 entry paths but complete filesystem URLs.
2632 * src/AsyncFileSystemChromium.cpp:
2633 (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
2634 (WebCore::AsyncFileSystemChromium::move):
2635 (WebCore::AsyncFileSystemChromium::copy):
2636 (WebCore::AsyncFileSystemChromium::remove):
2637 (WebCore::AsyncFileSystemChromium::removeRecursively):
2638 (WebCore::AsyncFileSystemChromium::readMetadata):
2639 (WebCore::AsyncFileSystemChromium::createFile):
2640 (WebCore::AsyncFileSystemChromium::createDirectory):
2641 (WebCore::AsyncFileSystemChromium::fileExists):
2642 (WebCore::AsyncFileSystemChromium::directoryExists):
2643 (WebCore::AsyncFileSystemChromium::readDirectory):
2644 (WebCore::AsyncFileSystemChromium::createWriter):
2645 (WebCore::AsyncFileSystemChromium::createSnapshotFileAndReadMetadata):
2646 * src/AsyncFileSystemChromium.h:
2647 (WebCore::AsyncFileSystemChromium::create):
2648 (AsyncFileSystemChromium):
2649 * src/LocalFileSystemChromium.cpp:
2650 (WebCore::openFileSystemHelper):
2651 * src/PlatformSupport.cpp:
2652 (WebCore::PlatformSupport::createAsyncFileSystem):
2653 * src/WebFileSystemCallbacksImpl.cpp:
2654 (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
2655 (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem):
2656 * src/WebFileSystemCallbacksImpl.h:
2657 (WebFileSystemCallbacksImpl):
2658 * src/WebFrameImpl.cpp:
2659 (WebKit::WebFrameImpl::createFileSystem):
2660 (WebKit::WebFrameImpl::createFileEntry):
2661 * src/WorkerAsyncFileSystemChromium.cpp:
2662 (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
2663 (WebCore::WorkerAsyncFileSystemChromium::move):
2664 (WebCore::WorkerAsyncFileSystemChromium::copy):
2665 (WebCore::WorkerAsyncFileSystemChromium::remove):
2666 (WebCore::WorkerAsyncFileSystemChromium::removeRecursively):
2667 (WebCore::WorkerAsyncFileSystemChromium::readMetadata):
2668 (WebCore::WorkerAsyncFileSystemChromium::createFile):
2669 (WebCore::WorkerAsyncFileSystemChromium::createDirectory):
2670 (WebCore::WorkerAsyncFileSystemChromium::fileExists):
2671 (WebCore::WorkerAsyncFileSystemChromium::directoryExists):
2672 (WebCore::WorkerAsyncFileSystemChromium::readDirectory):
2673 (WebCore::WorkerAsyncFileSystemChromium::createWriter):
2674 (WebCore::WorkerAsyncFileSystemChromium::createSnapshotFileAndReadMetadata):
2675 * src/WorkerAsyncFileSystemChromium.h:
2676 (WebCore::WorkerAsyncFileSystemChromium::create):
2677 (WorkerAsyncFileSystemChromium):
2679 2012-05-07 Greg Billock <gbillock@google.com>
2681 [Web Intents] Flagged-off implementation of an intent tag for registration.
2682 https://bugs.webkit.org/show_bug.cgi?id=73039
2684 Reviewed by Adam Barth.
2686 The intent tag allows web pages to mark themselves declaratively as accepting
2687 web intent delivery of particular characteristics (action/type).
2689 http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview.html
2692 * src/FrameLoaderClientImpl.cpp:
2693 (WebKit::FrameLoaderClientImpl::registerIntentService):
2694 * src/FrameLoaderClientImpl.h:
2696 2012-05-07 Sheriff Bot <webkit.review.bot@gmail.com>
2698 Unreviewed, rolling out r116375.
2699 http://trac.webkit.org/changeset/116375
2700 https://bugs.webkit.org/show_bug.cgi?id=85850
2702 Build break on Chromium-win and Chromium-mac. (Requested by
2707 * tests/EventListenerTest.cpp: Removed.
2708 * tests/data/listener/mutation_event_listener.html: Removed.
2710 2012-05-07 Dana Jansens <danakj@chromium.org>
2712 Region::intersects() and Region::contains() are slow due to copy overhead
2713 https://bugs.webkit.org/show_bug.cgi?id=81076
2715 Reviewed by Anders Carlsson.
2717 * tests/RegionTest.cpp:
2721 2012-05-07 Tony Chang <tony@chromium.org>
2723 [chromium] move event_listener_unittest to webkit_unit_tests
2724 https://bugs.webkit.org/show_bug.cgi?id=85836
2726 Reviewed by James Robinson.
2728 Porting the test from src/webkit/tools/test_shell/event_listener_unittest.cc.
2729 All I did was change the style and use the FrameTestHelper to load the file.
2731 * WebKit.gyp: Exclude file in components build.
2732 * WebKit.gypi: Add new file.
2733 * tests/EventListenerTest.cpp: Added.
2735 (TestWebDOMEventListener):
2736 (WebKit::TestWebDOMEventListener::TestWebDOMEventListener):
2737 (WebKit::TestWebDOMEventListener::~TestWebDOMEventListener):
2738 (WebKit::TestWebDOMEventListener::eventCount):
2739 (WebKit::TestWebDOMEventListener::eventAt):
2740 (WebKit::TestWebDOMEventListener::clearEvents):
2741 (WebDOMEventListenerTest):
2742 (WebKit::WebDOMEventListenerTest::WebDOMEventListenerTest):
2743 (WebKit::WebDOMEventListenerTest::SetUp):
2744 (WebKit::WebDOMEventListenerTest::TearDown):
2745 (WebKit::WebDOMEventListenerTest::mainFrame):
2746 (WebKit::WebDOMEventListenerTest::document):
2747 (WebKit::WebDOMEventListenerTest::executeScript):
2748 (WebKit::WebDOMEventListenerTest::GetNodeID):
2750 * tests/data/listener/mutation_event_listener.html: Added.
2752 2012-05-07 Julien Chaffraix <jchaffraix@webkit.org>
2754 Refactor windowClipRectForLayer to remove the explicit RenderLayer dependency
2755 https://bugs.webkit.org/show_bug.cgi?id=84090
2757 Reviewed by David Hyatt.
2759 * src/WebPluginContainerImpl.cpp:
2760 Updated after windowClipRectForLayer name and signature change.
2762 2012-05-07 Dana Jansens <danakj@chromium.org>
2764 [chromium] Ensure synchronization in threaded unit tests by checking the sourceFrameNumber() to count commits
2765 https://bugs.webkit.org/show_bug.cgi?id=85390
2767 Reviewed by Adrienne Walker.
2769 * tests/CCLayerTreeHostTest.cpp:
2770 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginCommitOnCCThread):
2771 (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
2772 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
2773 (WTF::CCLayerTreeHostTestScrollChildLayer::beginCommitOnCCThread):
2775 2012-05-07 Adrienne Walker <enne@google.com>
2777 [chromium] Allow for asymmetric tile sizes on composited tiled layers
2778 https://bugs.webkit.org/show_bug.cgi?id=85687
2780 Reviewed by James Robinson.
2782 Update tests for new constructor and function args. Add a few more
2783 tests that use non-square tile sizes.
2785 * tests/TilingDataTest.cpp:
2786 (WebCore::TestTiling::TestTiling):
2790 2012-05-07 David Reveman <reveman@chromium.org>
2792 [Chromium] Use GL_CHROMIUM_command_buffer_query to throttle texture uploads.
2793 https://bugs.webkit.org/show_bug.cgi?id=81004
2795 Reviewed by Adrienne Walker.
2798 * tests/CCLayerTreeHostImplTest.cpp:
2799 (WebKitTests::TEST_F):
2800 * tests/CCTiledLayerTestCommon.h:
2801 (WebKitTests::FakeTextureUploader::isBusy):
2802 (WebKitTests::FakeTextureUploader::beginUploads):
2803 (WebKitTests::FakeTextureUploader::endUploads):
2804 * tests/Canvas2DLayerChromiumTest.cpp:
2805 * tests/LayerRendererChromiumTest.cpp:
2806 (FakeLayerRendererChromium::FakeLayerRendererChromium):
2807 (LayerRendererChromiumTest::LayerRendererChromiumTest):
2809 * tests/ThrottledTextureUploaderTest.cpp: Added.
2811 (FakeWebGraphicsContext3DWithQueryTesting):
2812 (WebKit::FakeWebGraphicsContext3DWithQueryTesting::FakeWebGraphicsContext3DWithQueryTesting):
2813 (WebKit::FakeWebGraphicsContext3DWithQueryTesting::getQueryObjectuivEXT):
2814 (WebKit::FakeWebGraphicsContext3DWithQueryTesting::setResultAvailable):
2816 * tests/TiledLayerChromiumTest.cpp:
2819 2012-05-07 Sheriff Bot <webkit.review.bot@gmail.com>
2821 Unreviewed, rolling out r116334.
2822 http://trac.webkit.org/changeset/116334
2823 https://bugs.webkit.org/show_bug.cgi?id=85816
2825 Broke the Chromium Win/Mac compile (Requested by
2826 ojan_gardening on #webkit).
2829 * tests/LinkHighlightLayerDelegateTest.cpp: Removed.
2831 2012-05-07 Mark Pilgrim <pilgrim@chromium.org>
2833 [Chromium] Move fileSystem to Platform.h
2834 https://bugs.webkit.org/show_bug.cgi?id=85760
2836 Reviewed by Adam Barth.
2838 Part of a refactoring series. See tracking bug 82948.
2841 * public/platform/WebFileSystem.h:
2842 * public/platform/WebKitPlatformSupport.h:
2844 (WebKitPlatformSupport):
2845 * src/AssertMatchingEnums.cpp:
2846 * src/AsyncFileSystemChromium.cpp:
2847 (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
2848 * src/LocalFileSystemChromium.cpp:
2849 * src/WebFileSystemCallbacksImpl.cpp:
2850 * src/WebFileSystemCallbacksImpl.h:
2851 * src/WebFrameImpl.cpp:
2852 * src/WebWorkerClientImpl.h:
2853 * src/WorkerAsyncFileSystemChromium.cpp:
2854 * src/WorkerAsyncFileWriterChromium.cpp:
2855 * src/WorkerFileSystemCallbacksBridge.h:
2856 * src/WorkerFileWriterCallbacksBridge.cpp:
2857 (WebKit::WorkerFileWriterCallbacksBridge::initOnMainThread):
2859 2012-05-07 W. James MacLean <wjmaclean@chromium.org>
2861 [chromium] Create LinkHighlightLayerChromium class to provide link-highlight preview animations for GraphicsLayerChromium.
2862 https://bugs.webkit.org/show_bug.cgi?id=85084
2864 Reviewed by Adrienne Walker.
2867 * tests/LinkHighlightLayerDelegateTest.cpp: Added.
2869 (MockGraphicsLayerClient):
2870 (WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
2871 (WebCore::MockGraphicsLayerClient::notifySyncRequired):
2872 (WebCore::MockGraphicsLayerClient::paintContents):
2873 (WebCore::MockGraphicsLayerClient::showDebugBorders):
2874 (WebCore::MockGraphicsLayerClient::showRepaintCounter):
2877 2012-05-07 Joshua Bell <jsbell@chromium.org>
2879 IndexedDB: LevelDB coding for bools is broken
2880 https://bugs.webkit.org/show_bug.cgi?id=85810
2882 Reviewed by Tony Chang.
2884 Added tests for encodeBool/decodeBool.
2886 * tests/IDBLevelDBCodingTest.cpp:
2887 (IDBLevelDBCoding::TEST):
2890 2012-05-07 Shawn Singh <shawnsingh@chromium.org>
2892 [chromium] CCMathUtil projectPoint needs to avoid divide-by-zero
2893 https://bugs.webkit.org/show_bug.cgi?id=85560
2895 Reviewed by Adrienne Walker.
2897 * tests/CCLayerTreeHostCommonTest.cpp:
2898 (WebKitTests::TEST):
2899 * tests/CCMathUtilTest.cpp:
2903 2012-05-07 Nat Duca <nduca@chromium.org>
2905 Unreviewed, rolling out r115525.
2906 http://trac.webkit.org/changeset/115525
2907 https://bugs.webkit.org/show_bug.cgi?id=66683
2909 Too many pages rely on DOMTimeStamp as first argument.
2910 Reverting while we consider next steps.
2912 * src/PageWidgetDelegate.cpp:
2913 (WebKit::PageWidgetDelegate::animate):
2914 * src/WebViewImpl.cpp:
2915 (WebKit::WebViewImpl::updateAnimations):
2917 2012-05-07 Tommy Widenflycht <tommyw@google.com>
2919 MediaStream API: Allow UserMediaRequest::succeed to take an MediaStreamDescriptor
2920 https://bugs.webkit.org/show_bug.cgi?id=85798
2922 Reviewed by Adam Barth.
2924 Adding another WebUserMediaRequest::requestSucceed function that takes an
2925 WebMediaStreamDescriptor instead of the two WebMediaStreamSource arrays.
2927 * public/WebUserMediaRequest.h:
2929 (WebUserMediaRequest):
2930 * src/WebUserMediaRequest.cpp:
2931 (WebKit::WebUserMediaRequest::requestSucceeded):
2933 2012-05-07 Kinuko Yasuda <kinuko@chromium.org>
2935 Unreviewed: the same fix in another file for chromium win build. Adding WebCore namespace to FileSystemTypes.
2937 * src/WebFrameImpl.cpp:
2938 (WebKit::WebFrameImpl::createFileSystem):
2939 (WebKit::WebFrameImpl::createFileEntry):
2941 2012-05-07 Kinuko Yasuda <kinuko@chromium.org>
2943 Not reviewed: chromium win build fix attempt; adding WebCore namespace to ambiguous type name.
2945 * src/WebFileSystemCallbacksImpl.cpp:
2946 (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
2948 2012-05-06 Kinuko Yasuda <kinuko@chromium.org>
2950 Cleanup: Change boolean synchronous flag argument into enum in FileSystem API code
2951 https://bugs.webkit.org/show_bug.cgi?id=85741
2953 Reviewed by David Levin.
2955 * src/LocalFileSystemChromium.cpp:
2956 (WebCore::openFileSystemHelper):
2957 (WebCore::LocalFileSystem::readFileSystem):
2958 (WebCore::LocalFileSystem::requestFileSystem):
2959 * src/WebFileSystemCallbacksImpl.cpp:
2960 (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
2961 (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem):
2962 * src/WebFileSystemCallbacksImpl.h:
2963 (WebFileSystemCallbacksImpl):
2964 * src/WorkerAsyncFileSystemChromium.cpp:
2965 (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
2966 (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
2967 * src/WorkerAsyncFileSystemChromium.h:
2968 (WebCore::WorkerAsyncFileSystemChromium::create):
2969 (WorkerAsyncFileSystemChromium):
2971 2012-05-06 Kinuko Yasuda <kinuko@chromium.org>
2973 Cleanup: Move FileSystem API type definitions into a separate header file
2974 https://bugs.webkit.org/show_bug.cgi?id=85738
2976 Reviewed by David Levin.
2978 Move FileSystem API type definitions from AsyncFileSystem.h and
2979 AsyncFileSystemChromium.cpp for chromium port into a single separate
2980 header file: FileSystemType.h
2982 By doing this we make it clearer that every filesystem type can be
2983 found in the header file and also can save including entire
2984 AsyncFileSystem definition just for referring type enum value.
2986 * src/AssertMatchingEnums.cpp:
2987 * src/AsyncFileSystemChromium.cpp:
2988 (WebCore::AsyncFileSystem::crackFileSystemURL):
2989 (WebCore::AsyncFileSystem::isValidType):
2990 (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
2991 (WebCore::AsyncFileSystemChromium::createIsolatedFileSystem):
2992 (WebCore::AsyncFileSystemChromium::toURL):
2993 * src/AsyncFileSystemChromium.h:
2994 (WebCore::AsyncFileSystemChromium::create):
2995 (AsyncFileSystemChromium):
2996 * src/LocalFileSystemChromium.cpp:
2997 (WebCore::openFileSystemHelper):
2998 (WebCore::LocalFileSystem::readFileSystem):
2999 (WebCore::LocalFileSystem::requestFileSystem):
3000 * src/WebFileSystemCallbacksImpl.cpp:
3001 (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
3002 * src/WebFileSystemCallbacksImpl.h:
3003 (WebFileSystemCallbacksImpl):
3004 * src/WebFrameImpl.cpp:
3005 (WebKit::WebFrameImpl::createFileSystem):
3006 (WebKit::WebFrameImpl::createFileEntry):
3007 * src/WorkerAsyncFileSystemChromium.cpp:
3008 (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
3009 * src/WorkerAsyncFileSystemChromium.h:
3010 (WebCore::WorkerAsyncFileSystemChromium::create):
3011 (WorkerAsyncFileSystemChromium):
3013 2012-05-06 Kinuko Yasuda <kinuko@chromium.org>
3015 Cleanup: FileSystem API's Entry.toURL() impl should return KURL instead of String
3016 https://bugs.webkit.org/show_bug.cgi?id=85736
3018 Reviewed by David Levin.
3020 Change AsyncFileSystemChromium::toURL()'s return type from String to KURL.
3022 * src/AsyncFileSystemChromium.cpp:
3023 (WebCore::AsyncFileSystemChromium::toURL):
3025 * src/AsyncFileSystemChromium.h:
3026 (AsyncFileSystemChromium):
3028 2012-05-06 Mark Pilgrim <pilgrim@chromium.org>
3030 [Chromium] Call currentThread through Platform.h directly
3031 https://bugs.webkit.org/show_bug.cgi?id=85769
3033 Reviewed by Kentaro Hara.
3035 Part of a refactoring series. See tracking bug 82948.
3037 * tests/CCLayerTreeHostTest.cpp:
3038 (WTF::CCLayerTreeHostTest::onEndTest):
3039 (WTF::CCLayerTreeHostTest::runTest):
3041 2012-05-06 Mark Pilgrim <pilgrim@chromium.org>
3043 [Chromium] Call cryptographicallyRandomValues through Platform.h
3044 https://bugs.webkit.org/show_bug.cgi?id=85763
3046 Reviewed by Adam Barth.
3048 Part of a refactoring series. See tracking bug 82948.
3050 * src/ChromiumOSRandomSource.cpp:
3051 (WTF::cryptographicallyRandomValuesFromOS):
3053 2012-05-06 Keishi Hattori <keishi@webkit.org>
3055 [chromium] Add WebKit API to access multiple attribute of input element
3056 https://bugs.webkit.org/show_bug.cgi?id=85355
3058 Reviewed by Kent Tamura.
3060 We need this to implement the datalist UI for <input type=email multiple>.
3062 * public/WebInputElement.h:
3064 * src/WebInputElement.cpp:
3065 (WebKit::WebInputElement::isMultiple):
3068 2012-05-06 Adam Barth <abarth@webkit.org>
3070 CSP should let sites both enforce one policy and monitor another
3071 https://bugs.webkit.org/show_bug.cgi?id=85561
3073 Reviewed by Eric Seidel.
3075 * src/SharedWorkerRepository.cpp:
3076 (WebCore::SharedWorkerScriptLoader::notifyFinished):
3077 * src/WebWorkerClientImpl.cpp:
3078 (WebKit::WebWorkerClientImpl::startWorkerContext):
3080 2012-05-06 Kent Tamura <tkent@chromium.org>
3082 Rename ICULocale to LocaleICU, part 2
3083 https://bugs.webkit.org/show_bug.cgi?id=85695
3085 Reviewed by Kentaro Hara.
3087 * tests/LocalizedNumberICUTest.cpp:
3088 (testNumberIsReversible): Rename ICULocale to LocaleICU.
3090 2012-05-06 Adrienne Walker <enne@google.com>
3092 [chromium] Allow WebMediaPlayerClientImpl to switch clients
3093 https://bugs.webkit.org/show_bug.cgi?id=85093
3095 Reviewed by James Robinson.
3097 WebVideoFrameProviderClient has a 1:1 relationship with a
3098 WebVideoFrameProvider. The client here is CCVideoLayerImpl and the
3099 provider is WebMediaPlayerClientImpl. If the provider gets a new
3100 client, then the old client needs to be informed to stop using the
3103 If this doesn't happen, then the old client will have an unsafe
3104 pointer to the provider, will not get informed if the provider gets
3105 deleted, and the client will crash when it dereferences the provider
3106 pointer trying to tell the provider that its client is going away.
3108 Test: WebMediaPlayerClientImplTest.InitialNullVideoClient
3109 WebMediaPlayerClientImplTest.SetAndUnsetVideoClient
3110 WebMediaPlayerClientImplTest.DestroyProvider
3111 WebMediaPlayerClientImplTest.SetMultipleVideoClients
3114 * src/WebMediaPlayerClientImpl.cpp:
3115 (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
3116 * src/WebMediaPlayerClientImpl.h:
3117 (WebMediaPlayerClientImpl):
3118 * tests/WebMediaPlayerClientImplTest.cpp: Added.
3120 (FakeWebMediaPlayerClientImpl):
3121 (WebKit::FakeWebMediaPlayerClientImpl::create):
3122 (WebKit::FakeWebMediaPlayerClientImpl::FakeWebMediaPlayerClientImpl):
3123 (FakeVideoFrameProviderClient):
3124 (WebKit::FakeVideoFrameProviderClient::create):
3125 (WebKit::FakeVideoFrameProviderClient::~FakeVideoFrameProviderClient):
3126 (WebKit::FakeVideoFrameProviderClient::didReceiveFrame):
3127 (WebKit::FakeVideoFrameProviderClient::didUpdateMatrix):
3128 (WebKit::FakeVideoFrameProviderClient::stopUsingProvider):
3129 (WebKit::FakeVideoFrameProviderClient::provider):
3130 (WebKit::FakeVideoFrameProviderClient::FakeVideoFrameProviderClient):
3133 2012-05-06 Sheriff Bot <webkit.review.bot@gmail.com>
3135 Unreviewed. Rolled DEPS.
3139 2012-05-06 Andrey Kosyakov <caseq@chromium.org>
3141 Web Inspector: take timeline frame mode out of experimental
3142 https://bugs.webkit.org/show_bug.cgi?id=85707
3144 Reviewed by Pavel Feldman.
3146 - exposed supportFrameInstrumentation method to InspectorClient. Client must return true iff the platform will call
3147 InspectorInstrumentation::instrumentBeginFrame() upon beginning of frame rendering;
3149 * src/InspectorClientImpl.cpp:
3150 (WebKit::InspectorClientImpl::supportsFrameInstrumentation):
3152 * src/InspectorClientImpl.h:
3153 (InspectorClientImpl):
3155 2012-05-04 Kent Tamura <tkent@chromium.org>
3157 Rename ICULocale to LocaleICU, part 1
3158 https://bugs.webkit.org/show_bug.cgi?id=85688
3160 Reviewed by Kentaro Hara.
3162 * tests/LocalizedNumberICUTest.cpp: Rename ICULocale.h to LocaleICU.h.
3164 2012-05-04 Shawn Singh <shawnsingh@chromium.org>
3166 [chromium] Changes to layer tree structure need to be tracked properly
3167 https://bugs.webkit.org/show_bug.cgi?id=85421
3169 Reviewed by Adrienne Walker.
3171 Unit test added: TreeSynchronizerTest.syncSimpleTreeAndTrackStackingOrderChange
3173 * tests/TreeSynchronizerTest.cpp:
3175 (WebKitTests::TEST):
3177 2012-05-04 Tony Chang <tony@chromium.org>
3179 [chromium] enable msvs_error_on_missing_sources at gyp time
3180 https://bugs.webkit.org/show_bug.cgi?id=85683
3182 Reviewed by Adam Barth.
3184 This flag checks for missing files, which cause compile times to be
3185 slow on Windows. Since this flag is on by default for the
3186 build.chromium.org bots, we should add it here too so everyone can fix
3189 * DEPS: Roll to a chromium version that has no missing files.
3190 * gyp_webkit: Add the flag.
3192 2012-05-04 Satoru Takabayashi <satorux@chromium.org>
3194 [chromium] Add plumbing for file display names for drag and drop
3195 https://bugs.webkit.org/show_bug.cgi?id=85673
3197 Reviewed by Darin Fisher.
3199 * public/platform/WebDragData.h:
3200 * src/WebDragData.cpp:
3201 (WebKit::WebDragData::items):
3202 (WebKit::WebDragData::addItem):
3204 2012-05-04 Adam Barth <abarth@webkit.org>
3206 Refactor CSP state to prepare for having both a ReportOnly and an Enforced policy
3207 https://bugs.webkit.org/show_bug.cgi?id=85662
3209 Reviewed by Eric Seidel.
3211 Update callers to the new function name.
3213 * src/SharedWorkerRepository.cpp:
3214 (WebCore::SharedWorkerScriptLoader::notifyFinished):
3215 * src/WebWorkerClientImpl.cpp:
3216 (WebKit::WebWorkerClientImpl::startWorkerContext):
3218 2012-05-04 Sami Kyostila <skyostil@chromium.org>
3220 [chromium] Revert compositor layer scrolling
3221 https://bugs.webkit.org/show_bug.cgi?id=85644
3223 Reviewed by Steve Block.
3225 * src/WebContentLayerImpl.cpp:
3226 * src/WebContentLayerImpl.h:
3227 (WebContentLayerImpl):
3228 * tests/CCLayerTreeHostCommonTest.cpp:
3229 * tests/CCLayerTreeHostImplTest.cpp:
3230 (WebKitTests::TEST_F):
3231 * tests/CCLayerTreeHostTest.cpp:
3232 (WTF::MockContentLayerDelegate::paintContents):
3234 2012-05-04 Tommy Widenflycht <tommyw@google.com>
3236 MediaStream API: Make PeerConnection00's API fully compliant with the draft
3237 https://bugs.webkit.org/show_bug.cgi?id=85491
3239 Reviewed by Adam Barth.
3241 * src/AssertMatchingEnums.cpp:
3243 2012-05-04 Nate Chapin <japhet@chromium.org>
3245 Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
3246 https://bugs.webkit.org/show_bug.cgi?id=85533
3248 Reviewed by Alexey Proskuryakov.
3250 * src/FrameLoaderClientImpl.cpp:
3251 (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl):
3253 (WebKit::FrameLoaderClientImpl::finishedLoading):
3254 * src/FrameLoaderClientImpl.h:
3255 (WebKit::FrameLoaderClientImpl::makeRepresentation):
3256 (WebKit::FrameLoaderClientImpl::revertToProvisionalState):
3257 (FrameLoaderClientImpl):
3259 2012-05-04 Alexander Pavlov <apavlov@chromium.org>
3261 Web Inspector: [Device Metrics] With "Fit window" option on, page contents are downscaled incorrectly
3262 https://bugs.webkit.org/show_bug.cgi?id=85510
3264 Reviewed by Pavel Feldman.
3266 Use the RenderView width rather than FrameView contents width whenever possible.
3267 Drive-by: add protection from division-by-zero (for some weird rendering states).
3269 Test: inspector/styles/device-metrics-fit-window.html
3271 * src/WebDevToolsAgentImpl.cpp:
3272 (WebKit::DeviceMetricsSupport::ensureOriginalZoomFactor):
3273 (WebKit::DeviceMetricsSupport::scaledEmulatedFrameSize):
3275 2012-05-03 W. James MacLean <wjmaclean@chromium.org>
3277 [chromium] Revise touchpad fling curve to use exponential curve, to improve feel and small fling performance.
3278 https://bugs.webkit.org/show_bug.cgi?id=85530
3280 Reviewed by Kenneth Russell.
3282 * tests/PlatformGestureCurveTest.cpp:
3284 2012-05-03 Dimitri Glazkov <dglazkov@chromium.org>
3286 [Chromium] Use correct define in the features.gypi
3287 https://bugs.webkit.org/show_bug.cgi?id=85520
3289 Patch by Ben Goodger.
3291 Reviewed by Tony Chang.
3293 * features.gypi: Replaced use_aura with a more appropriate chromeos
3295 2012-05-03 Antony Sargent <asargent@chromium.org>
3297 Add methods to create WebArrayBuffer/WebArrayBufferView from v8 objects
3298 https://bugs.webkit.org/show_bug.cgi?id=84899
3300 Reviewed by Adam Barth.
3302 * public/WebArrayBuffer.h:
3304 * public/platform/WebArrayBufferView.h:
3306 (WebArrayBufferView):
3307 * src/WebArrayBuffer.cpp:
3309 (WebKit::WebArrayBuffer::createFromV8Value):
3310 * src/WebArrayBufferView.cpp:
3312 (WebKit::WebArrayBufferView::createFromV8Value):
3314 2012-05-03 Dana Jansens <danakj@chromium.org>
3316 [chromium] Don't add small opaque areas to the occlusion tracker's Region
3317 https://bugs.webkit.org/show_bug.cgi?id=85297
3319 Reviewed by Adrienne Walker.
3321 * tests/CCOcclusionTrackerTest.cpp:
3323 (CCOcclusionTrackerTestMinimumTrackingSize):
3324 (WebKitTests::CCOcclusionTrackerTestMinimumTrackingSize::runMyTest):
3326 2012-05-02 Jon Lee <jonlee@apple.com>
3328 Migrate permission functions to Notification from NotificationCenter
3329 https://bugs.webkit.org/show_bug.cgi?id=80485
3330 <rdar://problem/10965458>
3332 Reviewed by Jian Li.
3334 * src/NotificationPresenterImpl.h:
3335 (NotificationPresenterImpl): Add stub implementation of requestPermission.
3336 (WebKit::NotificationPresenterImpl::requestPermission):
3338 2012-05-02 Dana Jansens <danakj@chromium.org>
3340 [chromium] Don't occlude pixels in a surface that are needed for a background filter blur
3341 https://bugs.webkit.org/show_bug.cgi?id=84317
3343 Reviewed by Adrienne Walker.
3345 * tests/CCOcclusionTrackerTest.cpp:
3346 (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
3347 (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
3348 (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
3349 (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
3350 (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
3351 (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
3352 (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
3353 (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
3354 (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
3355 (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
3357 (CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter):
3358 (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
3359 (CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice):
3360 (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
3361 (CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip):
3362 (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip::runMyTest):
3363 (CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter):
3364 (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
3365 (CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded):
3366 (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
3367 (CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded):
3368 (WebKitTests::CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded::runMyTest):
3370 2012-04-18 Jon Honeycutt <jhoneycutt@apple.com>
3372 FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
3373 information about the form being submitted
3374 https://bugs.webkit.org/show_bug.cgi?id=84297
3376 Reviewed by Andy Estes.
3378 * src/FrameLoaderClientImpl.cpp:
3379 (WebKit::FrameLoaderClientImpl::dispatchWillSendSubmitEvent):
3380 Updated to use the FormState.
3382 * src/FrameLoaderClientImpl.h:
3383 (FrameLoaderClientImpl):
3384 Updated method declaration.
3386 2012-05-02 Joshua Bell <jsbell@chromium.org>
3388 Roll Chromium DEPS r134537 to r134581.
3389 https://bugs.webkit.org/show_bug.cgi?id=85428
3391 Unreviewed - just a deps roll.
3395 2012-05-02 Jochen Eisinger <jochen@chromium.org>
3397 [chromium] Add WebDocument::referrerPolicy() which wraps the same method on Document
3398 https://bugs.webkit.org/show_bug.cgi?id=85201
3400 Reviewed by Adam Barth.
3402 Embedders should use webFrame->document()->referrerPolicy() instead of webFrame->referrerPolicy(). The latter will be removed soon.
3404 * public/WebDocument.h:
3406 * src/WebDocument.cpp:
3407 (WebKit::WebDocument::referrerPolicy):
3410 2012-05-02 Michal Mocny <mmocny@google.com>
3412 [chromium] Set contents texture manager preferred memory limit based on GpuMemoryManager suggestion.
3413 https://bugs.webkit.org/show_bug.cgi?id=84270
3415 Reviewed by Kenneth Russell.
3417 * tests/CCLayerTreeHostImplTest.cpp:
3418 * tests/LayerRendererChromiumTest.cpp:
3420 2012-05-02 Emil A Eklund <eae@chromium.org>
3422 Fix usage of layout types in platform code
3423 https://bugs.webkit.org/show_bug.cgi?id=85392
3425 Reviewed by Eric Seidel.
3427 * src/WebHitTestResult.cpp:
3428 (WebKit::WebHitTestResult::localPoint):
3429 * src/WebSurroundingText.cpp:
3430 (WebKit::WebSurroundingText::initialize):
3431 Explicitly cast WebPoint to IntPoint to avoid ambiguous conversion error.
3433 2012-05-02 Yury Semikhatsky <yurys@chromium.org>
3435 Web Inspector: TypeError: Cannot call method 'createLiveLocation' of undefined
3436 https://bugs.webkit.org/show_bug.cgi?id=85371
3438 Standard extension scripts injected to the Chromium background page should have
3439 correct script data which means that context debug id should be already set on
3440 the context where they are compiled before the compilation. This patch moves
3441 assignment of context debug id earlier where it is known that no scripts have
3442 been evaluated in the context.
3444 Reviewed by Pavel Feldman.
3446 * src/FrameLoaderClientImpl.cpp:
3447 (WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld):
3448 (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
3449 * src/WebDevToolsAgentImpl.cpp:
3450 (WebKit::WebDevToolsAgentImpl::didCreateScriptContext):
3451 * src/WebDevToolsAgentImpl.h:
3452 (WebDevToolsAgentImpl):
3453 * src/WebDevToolsAgentPrivate.h:
3454 (WebDevToolsAgentPrivate):
3456 2012-05-02 Tommy Widenflycht <tommyw@google.com>
3458 MediaStream API: Changing webkitGetUserMedia to take an object instead of a string
3459 https://bugs.webkit.org/show_bug.cgi?id=84850
3461 Reviewed by Dimitri Glazkov.
3463 * public/WebUserMediaRequest.h:
3464 (WebUserMediaRequest):
3465 * src/WebUserMediaRequest.cpp:
3467 2012-05-01 Mark Pilgrim <pilgrim@chromium.org>
3469 [Chromium] Additional instances of calling histogramCustomCounts directly
3470 https://bugs.webkit.org/show_bug.cgi?id=85322
3472 Reviewed by Kentaro Hara.
3474 Part of a refactoring series. See tracking bug 82948.
3476 * src/painting/PaintAggregator.cpp:
3477 (WebKit::PaintAggregator::invalidateRect):
3479 2012-05-01 Min Qin <qinmin@google.com>
3481 use USE(NATIVE_FULLSCREEN_VIDEO) instead of ENABLE(NATIVE_FULLSCREEN_VIDEO)
3482 https://bugs.webkit.org/show_bug.cgi?id=85316
3484 Reviewed by Kent Tamura.
3486 NATIVE_FULLSCREEN_VIDEO means the fullscreen video is implemented by native
3487 system view instead of webkit
3488 So it is more appropriate to use USE(NATIVE_FULLSCREEN_VIDEO).
3489 Just rename the flag, no new tests
3492 * src/WebMediaPlayerClientImpl.cpp:
3494 * src/WebMediaPlayerClientImpl.h:
3495 (WebMediaPlayerClientImpl):
3496 * src/WebViewImpl.cpp:
3497 (WebKit::WebViewImpl::enterFullScreenForElement):
3498 (WebKit::WebViewImpl::exitFullScreenForElement):
3500 2012-05-01 Mark Pilgrim <pilgrim@chromium.org>
3502 [Chromium] Additional instances of calling createAudioDevice directly
3503 https://bugs.webkit.org/show_bug.cgi?id=85321
3505 Reviewed by Kentaro Hara.
3507 Part of a refactoring series. See tracking bug 82948.
3509 * src/AudioDestinationChromium.cpp:
3510 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
3512 2012-05-01 Mark Pilgrim <pilgrim@chromium.org>
3514 [Chromium] Additional instances of calling mimeRegistry directly
3515 https://bugs.webkit.org/show_bug.cgi?id=85320
3517 Reviewed by Eric Seidel.
3519 Part of a refactoring series. See tracking bug 82948.
3521 * src/FrameLoaderClientImpl.cpp:
3522 (WebKit::FrameLoaderClientImpl::canShowMIMEType):
3523 * src/WebMediaPlayerClientImpl.cpp:
3524 (WebKit::WebMediaPlayerClientImpl::supportsType):
3526 2012-05-01 Ryosuke Niwa <rniwa@webkit.org>
3528 *Command.h files shouldn't be exported to WebKit layer
3529 https://bugs.webkit.org/show_bug.cgi?id=74778
3531 Reviewed by Eric Seidel.
3533 * src/WebFrameImpl.cpp:
3534 * src/WebViewImpl.cpp:
3536 2012-05-01 Julien Chaffraix <jchaffraix@webkit.org>
3538 WebKit test RenderTableCellDeathTest.CanSetRow is failing as of r115705
3539 https://bugs.webkit.org/show_bug.cgi?id=85274
3541 Reviewed by Ojan Vafai.
3543 The tests were crashing as we were creating a RenderTableCell without any RenderTableRow parent
3544 which shouldn't happen inside the render tree.
3546 Using RenderTableCell to access RenderTableRow was artificial and the checks have now been moved
3547 to using a RenderTableRow directly.
3553 * tests/RenderTableCellTest.cpp:
3554 Removed the row index tests as they are now in the following file.
3556 * tests/RenderTableRowTest.cpp: Copied from Source/WebKit/chromium/tests/RenderTableCellTest.cpp.
3557 Changed a bit the row index tests and re-enabled them.
3559 2012-05-01 Pavel Feldman <pfeldman@chromium.org>
3561 WebKit unit tests RenderTableCellDeathTest.CanSetRow* are failing as of r115705
3562 https://bugs.webkit.org/show_bug.cgi?id=85274
3564 Not reviewed: test disabled.
3566 * tests/RenderTableCellTest.cpp:
3568 2012-05-01 Pavel Feldman <pfeldman@chromium.org>
3570 WebKit test RenderTableCellDeathTest.CanSetRow is failing as of r115705
3571 https://bugs.webkit.org/show_bug.cgi?id=85274
3573 Not reviewed: test disabled.
3575 The test is based on the standalone cell, while the new logic
3576 requires parent to be present upon the row index set.
3578 * tests/RenderTableCellTest.cpp:
3580 2012-05-01 Hironori Bono <hbono@chromium.org>
3582 [Chromium] Regression r113405 ContextMenuImpl does not set a misspelled word
3583 https://bugs.webkit.org/show_bug.cgi?id=85271
3585 Reviewed by Kent Tamura.
3587 This change calls selectMisspelledWord() to get a misspelled word so Chrome can
3588 set the misspelledWord variable without selecting text.
3590 * src/ContextMenuClientImpl.cpp:
3591 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3593 2012-04-30 Kent Tamura <tkent@chromium.org>
3595 [Chromium/Windows] Add LocalizedDateWin
3596 https://bugs.webkit.org/show_bug.cgi?id=84935
3598 Reviewed by Kentaro Hara.
3600 Add test for LocaleWin.cpp.
3603 * tests/LocaleWinTest.cpp: Added.
3604 (msForDate): A helper function.
3607 2012-04-30 Julien Chaffraix <jchaffraix@webkit.org>
3609 Move RenderTableCell's row index to RenderTableRow
3610 https://bugs.webkit.org/show_bug.cgi?id=85229
3612 Reviewed by Ojan Vafai.
3614 * tests/RenderTableCellTest.cpp:
3615 Updated after the refactoring.
3617 2012-04-30 Gavin Peters <gavinp@chromium.org>
3619 [Chromium] Add thunk headers for staging Prerendering API.
3620 https://bugs.webkit.org/show_bug.cgi?id=84880
3622 Reviewed by Adam Barth.
3624 These empty headers will be replaced by the actual API when Bug 85005 is commited.
3627 * public/WebPrerendererClient.h: Added.
3629 (WebPrerendererClient):
3632 (WebKit::WebView::setPrerendererClient):
3634 2012-04-30 Ilya Sherman <isherman@chromium.org>
3636 [Chromium] Fix Autofill popup visibility behavior
3637 Prevent users from interacting with invisible Autofill popups rendered outside the main frame's contents view.
3638 This is a recommit of r115400, restricted to just Autofill popups.
3639 https://bugs.webkit.org/show_bug.cgi?id=84420
3641 Reviewed by Abhishek Arya
3643 * src/ChromeClientImpl.cpp:
3644 (WebKit::ChromeClientImpl::popupOpened): Hide popups rendered outside the main frame's contents view.
3645 * src/WebViewImpl.cpp:
3646 (WebKit::WebViewImpl::applyAutofillSuggestions): Fix up order of operations to support immediately hiding a popup if it would not be visible
3648 2012-04-30 Sadrul Habib Chowdhury <sadrul@chromium.org>
3650 [chromium] Disable battery-status API support.
3652 The battery-status API support should not have view-dependency. So disable it until
3654 https://bugs.webkit.org/show_bug.cgi?id=84499
3656 Reviewed by Adam Barth.
3660 2012-04-30 Gavin Peters <gavinp@chromium.org>
3662 [Chromium] Remove Webkit/chromium/public/WebReferrerPolicy.h thunk.
3663 https://bugs.webkit.org/show_bug.cgi?id=84552
3665 After http://codereview.chromium.org/10139023/ lands, this thunk is no
3668 Reviewed by Adam Barth.
3671 * public/WebReferrerPolicy.h: Removed.
3673 2012-04-29 Sam Weinig <sam@webkit.org>
3676 https://bugs.webkit.org/show_bug.cgi?id=84036
3678 Reviewed by Anders Carlsson.
3681 Keep WebKitBlobBuilder enabled for Chromium, since it has shipped it.
3683 2012-04-30 Min Qin <qinmin@google.com>
3685 Expose a flag so that fullscreen video on android can work with FULLSCREEN_API
3686 https://bugs.webkit.org/show_bug.cgi?id=84414
3688 Reviewed by Darin Fisher.
3690 On android, the fullscreen video was implemented by passing a java
3691 surfaceView to an android mediaplayer class.
3692 The implementation of that logic should happen in WebKit::WebMediaPlayer.
3693 This change makes it possble for WebViewImpl::enterFullScreenForElement()
3694 to call WebMediaPlayer->enterFullscreen(), thus solving the issue.
3696 Sorry, there is a merge error during the previous commit, resolved now
3698 No new tests. This just exposes the flag so later it can be used by android.
3701 * public/WebMediaPlayer.h:
3703 (WebKit::WebMediaPlayer::enterFullscreen):
3704 (WebKit::WebMediaPlayer::exitFullscreen):
3705 * src/WebMediaPlayerClientImpl.cpp:
3707 (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
3708 (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
3709 * src/WebMediaPlayerClientImpl.h:
3710 (WebMediaPlayerClientImpl):
3711 * src/WebViewImpl.cpp:
3712 (WebKit::WebViewImpl::enterFullScreenForElement):
3713 (WebKit::WebViewImpl::exitFullScreenForElement):
3715 2012-04-30 Gavin Peters <gavinp@chromium.org>
3717 Unreviewed. Rolled DEPS.
3721 2012-04-30 Mark Pilgrim <pilgrim@chromium.org>
3723 [Chromium] Remove PlatformSupport::loadPlatformAudioResource, call loadResource directly
3724 https://bugs.webkit.org/show_bug.cgi?id=85193
3726 Reviewed by Kentaro Hara.
3728 Part of a refactoring series. See tracking bug 82948.
3730 * src/PlatformSupport.cpp:
3733 2012-04-30 Mark Pilgrim <pilgrim@chromium.org>
3735 [Chromium] Call defaultLocale directly
3736 https://bugs.webkit.org/show_bug.cgi?id=85192
3738 Reviewed by Kentaro Hara.
3740 Part of a refactoring series. See tracking bug 82948.
3742 * src/PlatformSupport.cpp:
3745 2012-04-30 Mark Pilgrim <pilgrim@chromium.org>
3747 [Chromium] Use new syntax to call callOnMainThread directly
3748 https://bugs.webkit.org/show_bug.cgi?id=85190
3750 Reviewed by Kentaro Hara.
3752 Part of a refactoring series. See tracking bug 82948.
3754 * src/ChromiumThreading.cpp:
3755 (WTF::ChromiumThreading::callOnMainThread):
3757 2012-04-30 Mark Pilgrim <pilgrim@chromium.org>
3759 [Chromium] Use new syntax to call monotonicallyIncreasingTime directly
3760 https://bugs.webkit.org/show_bug.cgi?id=85189
3762 Reviewed by Kentaro Hara.
3764 Part of a refactoring series. See tracking bug 82948.
3766 * src/ChromiumCurrentTime.cpp:
3767 (WTF::monotonicallyIncreasingTime):
3769 2012-04-30 Mark Pilgrim <pilgrim@chromium.org>
3771 [Chromium] Use new syntax to call userAgent directly
3772 https://bugs.webkit.org/show_bug.cgi?id=85188
3774 Reviewed by Kentaro Hara.
3776 Part of a refactoring series. See tracking bug 82948.
3778 * src/FrameLoaderClientImpl.cpp:
3779 (WebKit::FrameLoaderClientImpl::userAgent):
3781 2012-04-30 Mark Pilgrim <pilgrim@chromium.org>
3783 [Chromium] Use new syntax to call currentTime directly
3784 https://bugs.webkit.org/show_bug.cgi?id=85187
3786 Reviewed by Kentaro Hara.
3788 Part of a refactoring series. See tracking bug 82948.
3790 * src/ChromiumCurrentTime.cpp:
3793 2012-04-30 Mark Pilgrim <pilgrim@chromium.org>
3795 [Chromium] Use new syntax to call currentThread directly
3796 https://bugs.webkit.org/show_bug.cgi?id=85185
3798 Reviewed by Kentaro Hara.
3800 Part of a refactoring series. See tracking bug 82948.
3802 * src/CCThreadImpl.cpp:
3803 (WebKit::CCThreadImpl::CCThreadImpl):
3804 * src/WebCompositorImpl.cpp:
3805 (WebKit::WebCompositorImpl::initialize):
3807 2012-04-30 Mark Pilgrim <pilgrim@chromium.org>
3809 [Chromium] Use new syntax to call createThread directly
3810 https://bugs.webkit.org/show_bug.cgi?id=85186
3812 Reviewed by Kentaro Hara.
3814 Part of a refactoring series. See tracking bug 82948.
3816 * tests/CCLayerTreeHostTest.cpp:
3817 (WTF::CCLayerTreeHostTest::runTest):
3818 * tests/Canvas2DLayerChromiumTest.cpp:
3819 (Canvas2DLayerChromiumTest::fullLifecycleTest):
3821 2012-04-30 Mark Pilgrim <pilgrim@chromium.org>
3823 [Chromium] Use new syntax to call createSocketStreamHandle directly
3824 https://bugs.webkit.org/show_bug.cgi?id=85184
3826 Reviewed by Kentaro Hara.
3828 Part of a refactoring series. See tracking bug 82948.
3830 * src/SocketStreamHandle.cpp:
3831 (WebCore::SocketStreamHandleInternal::connect):
3833 2012-04-29 Mark Pilgrim <pilgrim@chromium.org>
3835 [Chromium] Call highUsageDeltaMB directly
3836 https://bugs.webkit.org/show_bug.cgi?id=84844
3838 Reviewed by Kentaro Hara.
3840 Part of a refactoring series. See tracking bug 82948.
3842 * src/PlatformSupport.cpp:
3845 2012-04-28 Ilya Tikhonovsky <loislo@chromium.org>
3847 Web Inspector: InspectorFrontendHost.append has to be implemented for saving heap snapshots.
3848 https://bugs.webkit.org/show_bug.cgi?id=85137
3850 We can save a file with help of InspectorFrontendHost.save method,
3851 but it is suitable only for relatively small portions of data and
3852 can't process the 6Gb heap snapshot.
3853 These methods just pass the url and content into embedder.
3855 Reviewed by Yury Semikhatsky.
3857 * public/WebDevToolsFrontendClient.h:
3858 (WebKit::WebDevToolsFrontendClient::append):
3859 * src/InspectorFrontendClientImpl.cpp:
3860 (WebKit::InspectorFrontendClientImpl::append):
3862 * src/InspectorFrontendClientImpl.h:
3863 (InspectorFrontendClientImpl):
3865 2012-04-28 Andrey Kosyakov <caseq@chromium.org>
3867 [chromium] add frame boundaries instrumentation for the threaded compositor
3868 https://bugs.webkit.org/show_bug.cgi?id=83926
3870 - call instrumentBeginFrame() in a callback invoked by CCThreadProxy to fix frame marks in WebInspector's
3871 timeline panel, currently broken for threaded compositor.
3873 * src/WebViewImpl.cpp:
3874 (WebKit::WebViewImpl::willBeginFrame):
3876 2012-04-27 Sheriff Bot <webkit.review.bot@gmail.com>
3878 Unreviewed, rolling out r115529.
3879 http://trac.webkit.org/changeset/115529
3880 https://bugs.webkit.org/show_bug.cgi?id=85125
3882 Broke Clang build (Requested by enne on #webkit).
3885 * src/WebMediaPlayerClientImpl.cpp:
3886 (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
3887 * src/WebMediaPlayerClientImpl.h:
3888 (WebMediaPlayerClientImpl):
3889 * tests/WebMediaPlayerClientImplTest.cpp: Removed.
3891 2012-04-27 Mark Pilgrim <pilgrim@chromium.org>
3893 [Chromium] Call highMemoryUsageMB directly
3894 https://bugs.webkit.org/show_bug.cgi?id=84841
3896 Reviewed by Kentaro Hara.
3898 Part of a refactoring series. See tracking bug 82948.
3900 * src/PlatformSupport.cpp:
3903 2012-04-27 Adrienne Walker <enne@google.com>
3905 [chromium] Allow WebMediaPlayerClientImpl to switch clients
3906 https://bugs.webkit.org/show_bug.cgi?id=85093
3908 Reviewed by James Robinson.
3910 WebVideoFrameProviderClient has a 1:1 relationship with a
3911 WebVideoFrameProvider. The client here is CCVideoLayerImpl and the
3912 provider is WebMediaPlayerClientImpl. If the provider gets a new
3913 client, then the old client needs to be informed to stop using the
3916 If this doesn't happen, then the old client will have an unsafe
3917 pointer to the provider, will not get informed if the provider gets
3918 deleted, and the client will crash when it dereferences the provider
3919 pointer trying to tell the provider that its client is going away.
3921 Test: WebMediaPlayerClientImplTest.InitialNullVideoClient
3922 WebMediaPlayerClientImplTest.SetAndUnsetVideoClient
3923 WebMediaPlayerClientImplTest.DestroyProvider
3924 WebMediaPlayerClientImplTest.SetMultipleVideoClients
3927 * src/WebMediaPlayerClientImpl.cpp:
3928 (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
3929 * src/WebMediaPlayerClientImpl.h:
3930 (WebMediaPlayerClientImpl):
3931 * tests/WebMediaPlayerClientImplTest.cpp: Added.
3933 (FakeWebMediaPlayerClientImpl):
3934 (WebKit::FakeWebMediaPlayerClientImpl::create):
3935 (WebKit::FakeWebMediaPlayerClientImpl::FakeWebMediaPlayerClientImpl):
3936 (FakeVideoFrameProviderClient):
3937 (WebKit::FakeVideoFrameProviderClient::create):
3938 (WebKit::FakeVideoFrameProviderClient::~FakeVideoFrameProviderClient):
3939 (WebKit::FakeVideoFrameProviderClient::didReceiveFrame):
3940 (WebKit::FakeVideoFrameProviderClient::didUpdateMatrix):
3941 (WebKit::FakeVideoFrameProviderClient::stopUsingProvider):
3942 (WebKit::FakeVideoFrameProviderClient::provider):
3943 (WebKit::FakeVideoFrameProviderClient::FakeVideoFrameProviderClient):
3946 2012-04-27 Tony Chang <tony@chromium.org>
3948 [chromium] Fix compiler warning in CCSchedulerTest.cpp with gcc 4.6.3
3949 https://bugs.webkit.org/show_bug.cgi?id=85110
3951 Reviewed by James Robinson.
3953 Using gcc 4.6.3 (default on Precise), I get:
3954 third_party/WebKit/Source/WebKit/chromium/tests/CCSchedulerTest.cpp:188:5: error: converting 'false' to pointer type
3955 for argument 1 of 'char testing::internal::IsNullLiteralHelper(testing::internal::Secret*)' [-Werror=conversion-null]
3957 * tests/CCSchedulerTest.cpp:
3958 (WebKitTests::TEST):
3960 2012-04-27 Nat Duca <nduca@chromium.org>
3962 Expose high-resolution on requestAnimationFrame callback
3963 https://bugs.webkit.org/show_bug.cgi?id=66683
3965 This changes requestAnimationFrame's animationStartTime argument
3966 to be a high resolution DOM timestamp, per disucssion here:
3967 http://lists.w3.org/Archives/Public/public-web-perf/2012Apr/0004.html
3969 Reviewed by James Robinson.
3971 * src/PageWidgetDelegate.cpp:
3972 (WebKit::PageWidgetDelegate::animate):
3973 * src/WebViewImpl.cpp:
3974 (WebKit::WebViewImpl::updateAnimations):
3976 2012-04-27 Mark Pilgrim <pilgrim@chromium.org>
3978 [Chromium] Call lowMemoryUsageMB directly
3979 https://bugs.webkit.org/show_bug.cgi?id=84840
3981 Reviewed by Kentaro Hara.
3983 Part of a refactoring series. See tracking bug 82948.
3985 * src/PlatformSupport.cpp:
3988 2012-04-27 Ian Vollick <vollick@chromium.org>
3990 [chromium] Add pause and resume support for accelerated css animations.
3991 https://bugs.webkit.org/show_bug.cgi?id=84601
3993 Reviewed by James Robinson.
3995 * tests/CCActiveAnimationTest.cpp:
3998 * tests/CCLayerAnimationControllerTest.cpp:
3999 (WebKitTests::TEST):
4002 2012-04-26 James Robinson <jamesr@chromium.org>
4004 [chromium] Separate IOSurface layer type from texture layers
4005 https://bugs.webkit.org/show_bug.cgi?id=85030
4007 Reviewed by Adrienne Walker.
4009 Update WebPluginContainerImpl to support having either a texture or IOSurface layer (but never both) depending
4010 on the plugin's contents.
4013 * src/WebExternalTextureLayer.cpp:
4014 * src/WebIOSurfaceLayer.cpp:
4016 (WebKit::WebIOSurfaceLayer::create):
4017 (WebKit::WebIOSurfaceLayer::setIOSurfaceProperties):
4018 (WebKit::WebIOSurfaceLayer::WebIOSurfaceLayer):
4019 * src/WebPluginContainerImpl.cpp:
4020 (WebKit::WebPluginContainerImpl::setBackingTextureId):
4021 (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
4022 (WebKit::WebPluginContainerImpl::commitBackingTexture):
4023 (WebKit::WebPluginContainerImpl::setOpaque):
4024 (WebKit::WebPluginContainerImpl::platformLayer):
4025 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
4026 * src/WebPluginContainerImpl.h:
4027 (WebPluginContainerImpl):
4029 2012-04-27 Hans Wennborg <hans@chromium.org>
4031 Speech JavaScript API: Fix Vector use failure
4032 https://bugs.webkit.org/show_bug.cgi?id=85069
4034 Reviewed by Tony Gentilcore.
4036 Fix think-o in code copying from WebVector to Vector.
4038 * src/SpeechRecognitionClientProxy.cpp:
4039 (WebKit::SpeechRecognitionClientProxy::didReceiveResult):
4040 (WebKit::SpeechRecognitionClientProxy::didDeleteResult):
4041 * src/WebSpeechRecognitionResult.cpp:
4042 (WebKit::WebSpeechRecognitionResult::assign):
4044 2012-04-27 Leandro Gracia Gil <leandrogracia@chromium.org>
4046 Selectively retrieve text around a touched point.
4047 https://bugs.webkit.org/show_bug.cgi?id=82460
4049 Reviewed by Darin Fisher.
4051 Implements an embedding API to WebCore's SurroundingText, adding also
4052 the possibility of select and highlight the retrieved text range.
4055 * public/WebFrame.h:
4057 * public/WebHitTestResult.h: Added.
4061 (WebKit::WebHitTestResult::WebHitTestResult):
4062 (WebKit::WebHitTestResult::~WebHitTestResult):
4063 * public/WebRange.h:
4066 * public/WebSurroundingText.h: Added.
4069 (WebSurroundingText):
4070 (WebKit::WebSurroundingText::WebSurroundingText):
4071 (WebKit::WebSurroundingText::~WebSurroundingText):
4074 * src/WebFrameImpl.cpp:
4075 (WebKit::WebFrameImpl::selectRange):
4077 * src/WebFrameImpl.h:
4079 * src/WebHitTestResult.cpp: Added.
4081 (WebKit::WebHitTestResult::node):
4082 (WebKit::WebHitTestResult::localPoint):
4083 (WebKit::WebHitTestResult::WebHitTestResult):
4084 (WebKit::WebHitTestResult::operator=):
4085 (WebKit::WebHitTestResult::operator HitTestResult):
4086 (WebKit::WebHitTestResult::isNull):
4087 (WebKit::WebHitTestResult::assign):
4088 (WebKit::WebHitTestResult::reset):
4090 (WebKit::WebRange::textQuads):
4092 * src/WebSurroundingText.cpp: Added.
4094 (WebKit::WebSurroundingText::initialize):
4095 (WebKit::WebSurroundingText::textContent):
4096 (WebKit::WebSurroundingText::hitOffsetInTextContent):
4097 (WebKit::WebSurroundingText::rangeFromContentOffsets):
4098 (WebKit::WebSurroundingText::isNull):
4099 (WebKit::WebSurroundingText::reset):
4101 2012-04-27 Dimitri Glazkov <dglazkov@chromium.org>
4103 Unreviewed, rolling out r115463.
4104 http://trac.webkit.org/changeset/115463
4105 https://bugs.webkit.org/show_bug.cgi?id=82460
4110 * public/WebFrame.h:
4112 * public/WebHitTestResult.h: Removed.
4113 * public/WebRange.h:
4115 * public/WebSurroundingText.h: Removed.
4118 * src/WebFrameImpl.cpp:
4119 * src/WebFrameImpl.h:
4121 * src/WebHitTestResult.cpp: Removed.
4123 * src/WebSurroundingText.cpp: Removed.
4125 2012-04-27 Kausalya Madhusudhanan <kmadhusu@chromium.org>
4127 Added a chromium webkit public header file to support different web print scaling options.
4128 https://bugs.webkit.org/show_bug.cgi?id=84608
4130 Reviewed by Darin Fisher.
4133 * public/WebPrintScalingOption.h: Added.
4136 2012-04-27 Leandro Gracia Gil <leandrogracia@chromium.org>
4138 Selectively retrieve text around a touched point.
4139 https://bugs.webkit.org/show_bug.cgi?id=82460
4141 Reviewed by Darin Fisher.
4143 Implements an embedding API to WebCore's SurroundingText, adding also
4144 the possibility of select and highlight the retrieved text range.
4147 * public/WebFrame.h:
4149 * public/WebHitTestResult.h: Added.
4153 (WebKit::WebHitTestResult::WebHitTestResult):
4154 (WebKit::WebHitTestResult::~WebHitTestResult):
4155 * public/WebRange.h:
4158 * public/WebSurroundingText.h: Added.
4161 (WebSurroundingText):
4162 (WebKit::WebSurroundingText::WebSurroundingText):
4163 (WebKit::WebSurroundingText::~WebSurroundingText):
4166 * src/WebFrameImpl.cpp:
4167 (WebKit::WebFrameImpl::selectRange):
4169 * src/WebFrameImpl.h:
4171 * src/WebHitTestResult.cpp: Added.
4173 (WebKit::WebHitTestResult::node):
4174 (WebKit::WebHitTestResult::localPoint):
4175 (WebKit::WebHitTestResult::WebHitTestResult):
4176 (WebKit::WebHitTestResult::operator=):
4177 (WebKit::WebHitTestResult::operator HitTestResult):
4178 (WebKit::WebHitTestResult::isNull):
4179 (WebKit::WebHitTestResult::assign):
4180 (WebKit::WebHitTestResult::reset):
4182 (WebKit::WebRange::textQuads):
4184 * src/WebSurroundingText.cpp: Added.
4186 (WebKit::WebSurroundingText::initialize):
4187 (WebKit::WebSurroundingText::textContent):
4188 (WebKit::WebSurroundingText::hitOffsetInTextContent):
4189 (WebKit::WebSurroundingText::rangeFromContentOffsets):
4190 (WebKit::WebSurroundingText::isNull):
4191 (WebKit::WebSurroundingText::reset):
4193 2012-04-27 Sheriff Bot <webkit.review.bot@gmail.com>
4195 Unreviewed, rolling out r115436.
4196 http://trac.webkit.org/changeset/115436
4197 https://bugs.webkit.org/show_bug.cgi?id=85079
4199 "broke the build" (Requested by tonyg-cr on #webkit).
4202 * public/WebReferrerPolicy.h: Added.
4204 2012-04-27 Gavin Peters <gavinp@chromium.org>
4206 Add new ENABLE_LINK_PRERENDER define to control the Prerendering API
4207 https://bugs.webkit.org/show_bug.cgi?id=84871
4209 Reviewed by Adam Barth.
4211 Prerendering is currently covered by the ENABLE_LINK_PREFETCH macro, but the new Prerendering
4212 API separates it from prefetching. Having separate include guards lets ports enable prefetching,
4213 a relatively easy change, without needing to build the infrastructure for prerendering, which
4214 is considerably more complicated.
4216 2012-04-27 Dimitri Glazkov <dglazkov@chromium.org>
4218 Unreviewed, rolling out r115433.
4219 http://trac.webkit.org/changeset/115433
4220 https://bugs.webkit.org/show_bug.cgi?id=85052
4222 Enable unit tests again.
4224 * tests/PopupMenuTest.cpp:
4227 2012-04-27 Dimitri Glazkov <dglazkov@chromium.org>
4229 Unreviewed, rolling out r115421.
4230 http://trac.webkit.org/changeset/115421
4231 https://bugs.webkit.org/show_bug.cgi?id=85052
4233 Enable unit tests again.
4235 * tests/PopupMenuTest.cpp:
4238 2012-04-27 Dimitri Glazkov <dglazkov@chromium.org>
4240 Unreviewed, rolling out r115400.
4241 http://trac.webkit.org/changeset/115400
4242 https://bugs.webkit.org/show_bug.cgi?id=84420
4246 * src/ChromeClientImpl.cpp:
4247 (WebKit::ChromeClientImpl::popupOpened):
4248 * src/WebViewImpl.cpp:
4249 (WebKit::WebViewImpl::applyAutofillSuggestions):
4251 2012-04-27 Gavin Peters <gavinp@chromium.org>
4253 [Chromium] Remove Webkit/chromium/public/WebReferrerPolicy.h thunk.
4254 https://bugs.webkit.org/show_bug.cgi?id=84552
4256 After http://codereview.chromium.org/10139023/ lands, this thunk is no
4259 Reviewed by Adam Barth.
4262 * public/WebReferrerPolicy.h: Removed.
4264 2012-04-27 Marcus Bulach <bulach@chromium.org>
4266 [chromium] Disables a few more webkit_unittests.
4267 https://bugs.webkit.org/show_bug.cgi?id=85052
4269 Unreviewed build fix.
4271 Failing on Windows bots, probably due to r115400.
4273 * tests/PopupMenuTest.cpp:
4276 2012-04-27 Marcus Bulach <bulach@chromium.org>
4278 [chromium] Disables a few webkit_unittests.
4279 https://bugs.webkit.org/show_bug.cgi?id=85052
4281 Unreviewed build fix.
4283 * tests/PopupMenuTest.cpp:
4286 2012-04-24 James Robinson <jamesr@chromium.org>
4288 [chromium] Move ProgramBinding definitions to LayerRendererChromium and normalize naming
4289 https://bugs.webkit.org/show_bug.cgi?id=84808
4291 Reviewed by Adrienne Walker.
4293 Add some includes needed by this test that were previously picked up by upstream headers.
4295 * tests/CCLayerTreeHostImplTest.cpp:
4297 2012-04-26 Ilya Sherman <isherman@chromium.org>
4299 [Chromium] Security: Autofill info can be captured by innocuous social engineering
4300 Prevent users from interacting with invisible popups rendered outside the main frame's contents view.
4301 https://bugs.webkit.org/show_bug.cgi?id=84420
4302 https://code.google.com/p/chromium/issues/detail?id=122925
4304 Reviewed by Kent Tamura.
4306 * src/ChromeClientImpl.cpp:
4307 (WebKit::ChromeClientImpl::popupOpened): Hide popups rendered outside the main frame's contents view.
4308 * src/WebViewImpl.cpp:
4309 (WebKit::WebViewImpl::applyAutofillSuggestions): Fix up order of operations to support immediately hiding a popup if it would not be visible
4311 2012-04-26 Dana Jansens <danakj@chromium.org>
4313 [chromium] Some background filters require inflating damage on the surface behind them
4314 https://bugs.webkit.org/show_bug.cgi?id=84479
4316 Reviewed by Adrienne Walker.
4318 * tests/CCDamageTrackerTest.cpp:
4319 (WebKitTests::TEST_F):
4322 2012-04-26 Aaron Colwell <acolwell@chromium.org>
4324 Cleanup WebMediaPlayer enum values that didn't match Chromium style guidelines
4325 https://bugs.webkit.org/show_bug.cgi?id=84998
4327 Reviewed by Darin Fisher.
4329 * public/WebMediaPlayer.h:
4330 (WebKit::WebMediaPlayer::generateKeyRequest):
4331 (WebKit::WebMediaPlayer::addKey):
4332 (WebKit::WebMediaPlayer::cancelKeyRequest):
4334 2012-04-26 Shawn Singh <shawnsingh@chromium.org>
4336 [chromium] re-implement backFaceVisibility to avoid dealing with perspective w<0 problem
4337 https://bugs.webkit.org/show_bug.cgi?id=84059
4339 Reviewed by Adrienne Walker.
4342 * tests/CCMathUtilTest.cpp: Added.
4346 2012-04-26 Justin Novosad <junov@chromium.org>
4348 [Chromium] Single buffered canvas layers with the threaded compositor
4349 https://bugs.webkit.org/show_bug.cgi?id=80540
4351 Reviewed by James Robinson.
4353 * tests/CCLayerTreeHostTest.cpp:
4354 (WTF::CCLayerTreeHostTest::AcquireLayerTextures):
4355 (CCLayerTreeHostTest):
4356 (WTF::CCLayerTreeHostTest::dispatchAcquireLayerTextures):
4359 (CCLayerTreeHostTestWriteLayersRedraw):
4360 (WTF::CCLayerTreeHostTestWriteLayersRedraw::CCLayerTreeHostTestWriteLayersRedraw):
4361 (WTF::CCLayerTreeHostTestWriteLayersRedraw::beginTest):
4362 (WTF::CCLayerTreeHostTestWriteLayersRedraw::drawLayersOnCCThread):
4363 (WTF::CCLayerTreeHostTestWriteLayersRedraw::commitCompleteOnCCThread):
4364 (WTF::CCLayerTreeHostTestWriteLayersRedraw::afterTest):
4365 (CCLayerTreeHostTestWriteLayersAfterVisible):
4366 (WTF::CCLayerTreeHostTestWriteLayersAfterVisible::CCLayerTreeHostTestWriteLayersAfterVisible):
4367 (WTF::CCLayerTreeHostTestWriteLayersAfterVisible::beginTest):
4368 (WTF::CCLayerTreeHostTestWriteLayersAfterVisible::commitCompleteOnCCThread):
4369 (WTF::CCLayerTreeHostTestWriteLayersAfterVisible::afterTest):
4370 * tests/CCSchedulerTest.cpp:
4371 (WebKitTests::TEST):
4373 * tests/Canvas2DLayerChromiumTest.cpp:
4374 (Canvas2DLayerChromiumTest::fullLifecycleTest):
4376 2012-04-26 Joshua Bell <jsbell@chromium.org>
4378 [Chromium] IndexedDB: Use WebIDBKeyPath type for key paths in WebKit API
4379 https://bugs.webkit.org/show_bug.cgi?id=84631
4381 Reviewed by James Robinson.
4383 WebIDBKeyPath was previously a utility class for parsing key paths into components,
4384 but the API exposed key paths only as nullable strings. To support array-type keypaths,
4385 WebIDBKeyPath becomes a value class with type flags. For landing, several legacy methods
4386 are retained but will be cleaned up after all callers have been updated, tracked as
4387 the bug: http://webkit.org/b/84207
4389 * public/WebIDBDatabase.h:
4390 (WebKit::WebIDBDatabase::createObjectStore): Add WebIDBKeyPath overload; WebString overload delegates so implementers can switch.
4391 * public/WebIDBIndex.h:
4392 (WebKit::WebIDBIndex::keyPath): Calls keyPathString if not overridden.
4393 (WebKit::WebIDBIndex::keyPathString): Comment change.
4394 * public/WebIDBKeyPath.h:
4395 (WebKit::WebIDBKeyPath::create): Overload added for creating array-type key paths.
4396 (WebKit::WebIDBKeyPath::array): Accessor for array-type key paths.
4397 (WebKit::WebIDBKeyPath::operator const WebString ): Temporary, for compatibility.
4398 * public/WebIDBObjectStore.h:
4399 (WebKit::WebIDBObjectStore::keyPath): Calls keyPathString if not overridden.
4400 (WebKit::WebIDBObjectStore::keyPathString): Comment change.
4401 (WebKit::WebIDBObjectStore::createIndex): Add WebIDBKeyPath overload; WebString overload delegates so implementers can switch.
4402 * public/platform/WebKitPlatformSupport.h:
4403 (WebKitPlatformSupport): WebIDBKeyPath overloads for these methods added, delegate to WebString version until implementers are updated.
4404 (WebKit::WebKitPlatformSupport::createIDBKeysFromSerializedValuesAndKeyPath):
4405 (WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
4406 * src/IDBIndexBackendProxy.cpp:
4407 (WebKit::IDBIndexBackendProxy::keyPath): Returns the string version until WebCore is updated.
4408 * src/IDBObjectStoreBackendProxy.cpp:
4409 (WebKit::IDBObjectStoreBackendProxy::keyPath): Returns the string version until WebCore is updated.
4410 * src/WebIDBDatabaseImpl.h:
4411 (WebIDBDatabaseImpl): Add createObjectStore overload for WebIDBKeyPath type, delegates to WebString version until callers are updated.
4412 * src/WebIDBIndexImpl.cpp:
4413 (WebKit::WebIDBIndexImpl::keyPath): Implements the new WebIDBKeyPath return type.
4415 * src/WebIDBIndexImpl.h:
4416 (WebIDBIndexImpl): Implements the new WebIDBKeyPath return type.
4417 * src/WebIDBKeyPath.cpp:
4418 (WebKit::WebIDBKeyPath::create): Support null key path types.
4419 (WebKit::WebIDBKeyPath::createNull): New API.
4421 (WebKit::WebIDBKeyPath::isValid): New API.
4422 (WebKit::WebIDBKeyPath::type): New API.
4423 (WebKit::WebIDBKeyPath::string): New API (value accessor).
4424 (WebKit::WebIDBKeyPath::WebIDBKeyPath):
4425 (WebKit::WebIDBKeyPath::assign): This API will be removed.
4426 (WebKit::WebIDBKeyPath::operator const WTF::Vector<WTF::String, 0>&): Ensure it is non-null - only used in copy constructor which guards against this.
4427 * src/WebIDBObjectStoreImpl.cpp:
4428 (WebKit::WebIDBObjectStoreImpl::keyPath): Implement the new WebIDBKeyPath return type.
4430 * src/WebIDBObjectStoreImpl.h:
4431 (WebIDBObjectStoreImpl): Add createIndex overload for WebIDBKeyPath type, delegates to WebString version until callers are updated.
4433 2012-04-26 Alexander Pavlov <apavlov@chromium.org>
4435 Web Inspector: [CRASH] WebViewImpl::setZoomLevel when emulating device metrics
4436 https://bugs.webkit.org/show_bug.cgi?id=84938
4438 Check for the presence of a live Frame/FrameView before invoking methods that depend on them.
4440 Reviewed by Yury Semikhatsky.
4442 * src/WebDevToolsAgentImpl.cpp:
4443 (WebKit::DeviceMetricsSupport::restore):
4445 2012-04-25 Dana Jansens <danakj@chromium.org>
4447 [chromium] Remove guarded virtual methods from WebFilterOperation API
4448 https://bugs.webkit.org/show_bug.cgi?id=84926
4450 Reviewed by James Robinson.
4452 * src/AssertMatchingEnums.cpp:
4454 2012-04-25 James Robinson <jamesr@chromium.org>
4456 [chromium] REGRESSION(112286) Compositor initialization blocks for program compilation / linking
4457 https://bugs.webkit.org/show_bug.cgi?id=84822
4459 Reviewed by Adrienne Walker.
4461 Add a test that makes sure we don't make blocking calls during LayerRendererChromium initialization.
4463 * tests/LayerRendererChromiumTest.cpp:
4464 (ForbidSynchronousCallContext):
4465 (ForbidSynchronousCallContext::ForbidSynchronousCallContext):
4466 (ForbidSynchronousCallContext::finish):
4467 (ForbidSynchronousCallContext::getActiveAttrib):
4468 (ForbidSynchronousCallContext::getActiveUniform):
4469 (ForbidSynchronousCallContext::getAttachedShaders):
4470 (ForbidSynchronousCallContext::getAttribLocation):
4471 (ForbidSynchronousCallContext::getBooleanv):
4472 (ForbidSynchronousCallContext::getBufferParameteriv):
4473 (ForbidSynchronousCallContext::getContextAttributes):
4474 (ForbidSynchronousCallContext::getError):
4475 (ForbidSynchronousCallContext::getFloatv):
4476 (ForbidSynchronousCallContext::getFramebufferAttachmentParameteriv):
4479 2012-04-25 Alec Flett <alecflett@chromium.org>
4481 IndexedDB: implement cursor.advance()
4482 https://bugs.webkit.org/show_bug.cgi?id=84174
4484 Reviewed by Ojan Vafai.
4486 Hook up chromium IPC to IDBCursor.advance().
4488 * src/IDBCursorBackendProxy.cpp:
4489 (WebKit::IDBCursorBackendProxy::advance):
4491 * src/IDBCursorBackendProxy.h:
4492 (IDBCursorBackendProxy):
4493 * src/WebIDBCursorImpl.cpp:
4494 (WebKit::WebIDBCursorImpl::advance):
4496 2012-04-25 Alpha Lam <hclam@chromium.org>
4498 Unreviewed, rolling out r115262.
4499 http://trac.webkit.org/changeset/115262
4500 https://bugs.webkit.org/show_bug.cgi?id=84631
4502 r115262 is causing link error in WebKit Win Builder (dbg)
4504 * public/WebIDBDatabase.h:
4505 (WebKit::WebIDBDatabase::createObjectStore):
4506 * public/WebIDBIndex.h:
4507 (WebKit::WebIDBIndex::keyPath):
4508 (WebKit::WebIDBIndex::keyPathString):
4509 * public/WebIDBKeyPath.h:
4512 * public/WebIDBObjectStore.h:
4513 (WebKit::WebIDBObjectStore::keyPath):
4514 (WebKit::WebIDBObjectStore::keyPathString):
4515 (WebKit::WebIDBObjectStore::createIndex):
4516 * public/platform/WebKitPlatformSupport.h:
4517 (WebKit::WebKitPlatformSupport::createIDBKeysFromSerializedValuesAndKeyPath):
4518 (WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
4519 * src/IDBIndexBackendProxy.cpp:
4520 (WebKit::IDBIndexBackendProxy::keyPath):
4521 * src/IDBObjectStoreBackendProxy.cpp:
4522 (WebKit::IDBObjectStoreBackendProxy::keyPath):
4523 * src/WebIDBDatabaseImpl.h:
4524 (WebIDBDatabaseImpl):
4525 * src/WebIDBIndexImpl.cpp:
4526 * src/WebIDBIndexImpl.h:
4528 * src/WebIDBKeyPath.cpp:
4529 (WebKit::WebIDBKeyPath::create):
4530 (WebKit::WebIDBKeyPath::assign):
4531 (WebKit::WebIDBKeyPath::operator const WTF::Vector<WTF::String, 0>&):
4532 * src/WebIDBObjectStoreImpl.cpp:
4533 * src/WebIDBObjectStoreImpl.h:
4534 (WebIDBObjectStoreImpl):
4535 (WebKit::WebIDBObjectStoreImpl::createIndex):
4537 2012-04-24 Adrienne Walker <enne@google.com>
4539 [chromium] Prevent CCLayerImpl::willDraw/didDraw mismatches
4540 https://bugs.webkit.org/show_bug.cgi?id=84812
4542 Reviewed by James Robinson.
4544 Update all tests to call CCLayerTreeHostImpl::didDrawAllLayers if they
4545 call CCLayerTreeHostImpl::prepareToDraw.
4547 * tests/CCLayerTreeHostImplTest.cpp:
4548 (WebKitTests::CCLayerTreeHostImplTest::initializeLayerRendererAndDrawFrame):
4549 (WebKitTests::TEST_F):
4551 2012-04-25 Joshua Bell <jsbell@chromium.org>
4553 [Chromium] IndexedDB: Use WebIDBKeyPath type for key paths in WebKit API
4554 https://bugs.webkit.org/show_bug.cgi?id=84631
4556 Reviewed by James Robinson.
4558 WebIDBKeyPath was previously a utility class for parsing key paths into components,
4559 but the API exposed key paths only as nullable strings. To support array-type keypaths,
4560 WebIDBKeyPath becomes a value class with type flags. For landing, several legacy methods
4561 are retained but will be cleaned up after all callers have been updated, tracked as
4562 the bug: http://webkit.org/b/84207
4564 * public/WebIDBDatabase.h:
4565 (WebKit::WebIDBDatabase::createObjectStore): Add WebIDBKeyPath overload; WebString overload delegates so implementers can switch.
4566 * public/WebIDBIndex.h:
4567 (WebKit::WebIDBIndex::keyPath): Calls keyPathString if not overridden.
4568 (WebKit::WebIDBIndex::keyPathString): Comment change.
4569 * public/WebIDBKeyPath.h:
4570 (WebKit::WebIDBKeyPath::create): Overload added for creating array-type key paths.
4571 (WebKit::WebIDBKeyPath::array): Accessor for array-type key paths.
4572 (WebKit::WebIDBKeyPath::operator const WebString ): Temporary, for compatibility.
4573 * public/WebIDBObjectStore.h:
4574 (WebKit::WebIDBObjectStore::keyPath): Calls keyPathString if not overridden.
4575 (WebKit::WebIDBObjectStore::keyPathString): Comment change.
4576 (WebKit::WebIDBObjectStore::createIndex): Add WebIDBKeyPath overload; WebString overload delegates so implementers can switch.
4577 * public/platform/WebKitPlatformSupport.h:
4578 (WebKitPlatformSupport): WebIDBKeyPath overloads for these methods added, delegate to WebString version until implementers are updated.
4579 (WebKit::WebKitPlatformSupport::createIDBKeysFromSerializedValuesAndKeyPath):
4580 (WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
4581 * src/IDBIndexBackendProxy.cpp:
4582 (WebKit::IDBIndexBackendProxy::keyPath): Returns the string version until WebCore is updated.
4583 * src/IDBObjectStoreBackendProxy.cpp:
4584 (WebKit::IDBObjectStoreBackendProxy::keyPath): Returns the string version until WebCore is updated.
4585 * src/WebIDBDatabaseImpl.h:
4586 (WebIDBDatabaseImpl): Add createObjectStore overload for WebIDBKeyPath type, delegates to WebString version until callers are updated.
4587 * src/WebIDBIndexImpl.cpp:
4588 (WebKit::WebIDBIndexImpl::keyPath): Implements the new WebIDBKeyPath return type.
4590 * src/WebIDBIndexImpl.h:
4591 (WebIDBIndexImpl): Implements the new WebIDBKeyPath return type.
4592 * src/WebIDBKeyPath.cpp:
4593 (WebKit::WebIDBKeyPath::create): Support null key path types.
4594 (WebKit::WebIDBKeyPath::createNull): New API.
4596 (WebKit::WebIDBKeyPath::isValid): New API.
4597 (WebKit::WebIDBKeyPath::type): New API.
4598 (WebKit::WebIDBKeyPath::string): New API (value accessor).
4599 (WebKit::WebIDBKeyPath::WebIDBKeyPath):
4600 (WebKit::WebIDBKeyPath::assign): This API will be removed.
4601 (WebKit::WebIDBKeyPath::operator const WTF::Vector<WTF::String, 0>&): Ensure it is non-null - only used in copy constructor which guards against this.
4602 * src/WebIDBObjectStoreImpl.cpp:
4603 (WebKit::WebIDBObjectStoreImpl::keyPath): Implement the new WebIDBKeyPath return type.
4605 * src/WebIDBObjectStoreImpl.h:
4606 (WebIDBObjectStoreImpl): Add createIndex overload for WebIDBKeyPath type, delegates to WebString version until callers are updated.
4608 2012-04-25 Ian Vollick <vollick@chromium.org>
4610 [chromium] Add support for animation finished events.
4611 https://bugs.webkit.org/show_bug.cgi?id=84454
4613 Reviewed by James Robinson.
4615 * tests/CCLayerAnimationControllerTest.cpp:
4616 (WebKitTests::TEST):
4617 * tests/CCLayerTreeHostTest.cpp:
4618 (WTF::TestHooks::notifyAnimationFinished):
4621 (CCLayerTreeHostTestAnimationFinishedEvents):
4622 (WTF::CCLayerTreeHostTestAnimationFinishedEvents::CCLayerTreeHostTestAnimationFinishedEvents):
4623 (WTF::CCLayerTreeHostTestAnimationFinishedEvents::beginTest):
4624 (WTF::CCLayerTreeHostTestAnimationFinishedEvents::notifyAnimationFinished):
4625 (WTF::CCLayerTreeHostTestAnimationFinishedEvents::afterTest):
4627 2012-04-25 Ian Vollick <vollick@chromium.org>
4629 [chromium] Do not clobber synchronized start times.
4630 https://bugs.webkit.org/show_bug.cgi?id=84605
4632 Reviewed by James Robinson.
4634 * tests/CCLayerAnimationControllerTest.cpp:
4636 (WebKitTests::TEST):
4638 2012-04-25 Mark Pilgrim <pilgrim@chromium.org>
4640 [Chromium] Call actualMemoryUsageMB directly
4641 https://bugs.webkit.org/show_bug.cgi?id=84837
4643 Reviewed by Kentaro Hara.
4645 Part of a refactoring series. See tracking bug 82948.
4647 * src/PlatformSupport.cpp:
4650 2012-04-25 Alexis Menard <alexis.menard@openbossa.org>
4652 Rename CSSStyleSelector files to StyleResolver.
4653 https://bugs.webkit.org/show_bug.cgi?id=84814
4655 Reviewed by Antti Koivisto.
4657 Rename CSSStyleSelector files to match the new class name StyleResolver.
4658 Update the includes all over the code base to the new name.
4660 * src/AutofillPopupMenuClient.cpp:
4661 * src/WebViewImpl.cpp:
4663 2012-04-25 Gavin Peters <gavinp@chromium.org>
4665 [Chromium] Fix some conditional compilation logic in Platform
4666 https://bugs.webkit.org/show_bug.cgi?id=83798
4668 Reviewed by Darin Fisher.
4670 * tests/WebFrameTest.cpp:
4671 (WebKit::TestReloadDoesntRedirectWebFrameClient::cancelledError):
4673 2012-04-25 Yury Semikhatsky <yurys@chromium.org>
4675 Web Inspector: move HeapSnapshotLoader into a separate file
4676 https://bugs.webkit.org/show_bug.cgi?id=84860
4678 Extracted HeapSnapshotLoader into its own file.
4680 Reviewed by Pavel Feldman.
4684 2012-04-25 Ian Vollick <vollick@chromium.org>
4686 [chromium] Animations waiting for a synchronized start time should never be marked finished.
4687 https://bugs.webkit.org/show_bug.cgi?id=84519
4689 Reviewed by James Robinson.
4691 * tests/CCLayerAnimationControllerTest.cpp:
4692 (WebKitTests::TEST):
4695 2012-04-25 Gavin Peters <gavinp@chromium.org>
4697 Move WebReferrerPolicy.h from WebKit to Platform
4698 https://bugs.webkit.org/show_bug.cgi?id=84539
4700 Reviewed by Adam Barth.
4703 * public/WebContextMenuData.h:
4704 * public/WebFrame.h:
4705 * public/WebReferrerPolicy.h:
4706 * public/WebSecurityPolicy.h:
4707 * public/platform/WebReferrerPolicy.h: Copied from Source/WebKit/chromium/public/WebReferrerPolicy.h.
4708 * src/AssertMatchingEnums.cpp:
4710 2012-04-24 Dana Jansens <danakj@chromium.org>
4712 [chromium] Unbounded draws should use clip to limit their damage to opaque tracking
4713 https://bugs.webkit.org/show_bug.cgi?id=84494
4715 Reviewed by Adrienne Walker.
4717 * tests/PlatformContextSkiaTest.cpp:
4721 2012-04-24 Dana Jansens <danakj@chromium.org>
4723 [chromium] Image masks are considered opaque incorrectly
4724 https://bugs.webkit.org/show_bug.cgi?id=84275
4726 Reviewed by Adrienne Walker.
4728 * tests/PlatformContextSkiaTest.cpp:
4732 2012-04-24 Alexis Menard <alexis.menard@openbossa.org>
4734 Replace occurences of style selector from variables and methods names by style resolver.
4735 https://bugs.webkit.org/show_bug.cgi?id=84765
4737 Reviewed by Andreas Kling.
4739 Rename methods and variables to follow the new name StyleResolver. It requires to update the
4740 local variables, methods parameters, and function names to match the new name and to remove
4741 the concept of "selector" to avoid clashing with the CSS concept. The next and last patch
4742 will be to rename CSSStyleSelector file and update the includes.
4744 * src/AutofillPopupMenuClient.cpp:
4745 (WebKit::AutofillPopupMenuClient::fontSelector):
4746 (WebKit::AutofillPopupMenuClient::initialize):
4747 * src/WebDevToolsAgentImpl.cpp:
4748 (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
4749 (WebKit::DeviceMetricsSupport::applySizeOverrideInternal):
4751 2012-04-24 Kent Tamura <tkent@chromium.org>
4753 [Chromium] Implement WebCore::dateFormat{DayInMonth,Month,Year}Text()
4754 https://bugs.webkit.org/show_bug.cgi?id=84683
4756 Reviewed by Dimitri Glazkov.
4758 * public/platform/WebLocalizedString.h:
4759 Add DateFormat{DayInMonth,Month,Year}Label
4760 * src/LocalizedStrings.cpp:
4761 (WebCore::dateFormatYearText): Implemented.
4762 (WebCore::dateFormatMonthText): ditto.
4763 (WebCore::dateFormatDayInMonthText): ditto.
4765 2012-04-24 Tommy Widenflycht <tommyw@google.com>
4767 MediaStream API: Create a new flag for PeerConnection
4768 https://bugs.webkit.org/show_bug.cgi?id=84723
4770 Reviewed by Dimitri Glazkov.
4772 To allow Chrome to make the GetUserMedia functionality available by default we
4773 need another flag for the PeerConnection related parts. This new flag is in
4774 addition to the general media stream flag, and both need to be enabled for
4775 PeerConnection object creation.
4777 * public/WebRuntimeFeatures.h:
4778 (WebRuntimeFeatures):
4779 * src/WebRuntimeFeatures.cpp:
4780 (WebKit::WebRuntimeFeatures::enablePeerConnection):
4782 (WebKit::WebRuntimeFeatures::isPeerConnectionEnabled):
4784 2012-04-24 Sami Kyostila <skyostil@chromium.org>
4786 [chromium] Don't keep pointers to released layer tree
4787 https://bugs.webkit.org/show_bug.cgi?id=84715
4789 Reviewed by Adrienne Walker.
4791 Added new unit test to check that we can keep scrolling even if the layer
4792 tree is replaced from under us.
4794 * tests/CCLayerTreeHostImplTest.cpp:
4795 (WebKitTests::TEST_F):
4798 2012-04-24 Sheriff Bot <webkit.review.bot@gmail.com>
4800 Unreviewed. Rolled DEPS.
4804 2012-04-24 Sheriff Bot <webkit.review.bot@gmail.com>
4806 Unreviewed, rolling out r115000.
4807 http://trac.webkit.org/changeset/115000
4808 https://bugs.webkit.org/show_bug.cgi?id=84703
4810 Breaks webkit_unit_tests on Mac in Chromium:
4811 http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Mac10.6/builds/15157
4812 (Requested by mnaganov on #webkit).
4814 * tests/PlatformContextSkiaTest.cpp:
4818 2012-04-23 Dana Jansens <danakj@chromium.org>
4820 [chromium] Image masks are considered opaque incorrectly
4821 https://bugs.webkit.org/show_bug.cgi?id=84275
4823 Reviewed by Adrienne Walker.
4825 * tests/PlatformContextSkiaTest.cpp:
4829 2012-04-23 Kent Tamura <tkent@chromium.org>
4831 Show the format indicator in a date field
4832 https://bugs.webkit.org/show_bug.cgi?id=83872
4834 Reviewed by Hajime Morita.
4836 * src/LocalizedStrings.cpp:
4837 (WebCore::dateFormatYearText): Added a stub.
4838 (WebCore::dateFormatMonthText): ditto.
4839 (WebCore::dateFormatDayInMonthText): ditto.
4841 2012-04-23 Michael Nordman <michaeln@google.com>
4843 [chromium] DomStorage event handling mods.
4844 https://bugs.webkit.org/show_bug.cgi?id=84387
4846 Events are currently handled inconsistently. The dispatch of some events are
4847 initiated from within webkit/webcore, the dispatch of other events are initiated
4848 from the outside via the WebKit::WebStorageEventDispatcher interface. The existing
4849 WebStorageEventDispatcher is not expressive enough to handle initiation all
4850 events from the outside. There's a chunk of nearly replicated code in there
4851 that shouldn't be. The existing code has several FIXMEs related to making
4854 The current state of things in webkit/webcore is also blocking development of some
4855 overall performance improvements to chromium's implemention of this feature (getting
4856 rid of sync ipcs for each access and adding a renderer-side caching layer).
4858 To facilitate the perf improvements, this patch adds WebKit API to allow all
4859 DomStorage events to be initiated from the outside. This is needed because
4860 there will be an async latency between setting an item and receiving the
4861 'oldValue' from the main browser process which is required to raise the
4864 This is the first of a multi-sided sequence of patches to make this transition.
4865 wkpatch 1: add the new wider WebKit API and impl
4866 crpatch 2: start using the new wider WebKit API
4867 wkpatch 3: cleanup, delete the old WebKit API and impl
4868 xxxxxxx 4/5: cleanup, remove extra params from new API whose only purpose was to allow the transition
4870 Reviewed by Dimitri Glazkov.
4872 * public/WebStorageEventDispatcher.h: Add new API to dispatch events.
4873 * public/WebStorageNamespace.h: Add new API to test for namespace equality.
4874 * src/StorageAreaProxy.cpp:
4875 (WebCore::StorageAreaProxy::dispatchLocalStorageEvent): implementation of the new API
4876 (WebCore::StorageAreaProxy::dispatchSessionStorageEvent): implementation of the new API
4877 (WebCore::StorageAreaProxy::IsEventSource): a helper method
4878 (WebCore::StorageAreaProxy::FindPageWithSessionStorageNamespace): a helper method
4879 * src/StorageAreaProxy.h:
4880 * src/StorageEventDispatcherImpl.cpp: added a FIXME comment to delete soon
4881 * src/StorageNamespaceProxy.cpp:
4882 (WebCore::StorageNamespaceProxy::IsSameNamespace): plumbing to call the new API
4883 * src/StorageNamespaceProxy.h:
4884 * src/WebStorageEventDispatcherImpl.cpp:
4885 (WebKit::WebStorageEventDispatcher::dispatchLocalStorageEvent): plumbing to call the new impl
4886 (WebKit::WebStorageEventDispatcher::dispatchSessionStorageEvent): plumbing to call the new impl
4887 * src/WebStorageEventDispatcherImpl.h: added a FIXME comment to delete soon
4889 2012-04-23 Kenneth Russell <kbr@google.com>
4891 Change ImageData to reference Uint8ClampedArray rather than CanvasPixelArray
4892 https://bugs.webkit.org/show_bug.cgi?id=73011
4894 Reviewed by Oliver Hunt.
4896 * src/GraphicsContext3DChromium.cpp:
4897 (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
4898 * src/WebViewImpl.cpp:
4899 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
4901 2012-04-23 Kent Tamura <tkent@chromium.org>
4903 Crash when the page with a calendar picker is scrolled
4904 https://bugs.webkit.org/show_bug.cgi?id=84287
4906 Reviewed by Hajime Morita.
4908 Use the same ownership model as WebPopupMenuImpl's.
4910 * src/WebPagePopupImpl.cpp:
4911 (WebKit::WebPagePopupImpl::close):
4912 Clear m_widgetClient to avoid furthur access to it. deref instead of delete.
4913 (WebKit::WebPagePopupImpl::closePopup):
4914 Do not call closeWidgetSoon() if close() was already called.
4915 (WebKit::WebPagePopup::create):
4916 Add a reference. Add explanation of the ownership.
4917 * src/WebPagePopupImpl.h:
4918 (WebPagePopupImpl): Make this RefCounted. Make the destuctor public.
4919 * src/WebViewImpl.cpp:
4920 (WebKit::WebViewImpl::WebViewImpl): No need to clear m_pagePopup explicitly.
4921 (WebKit::WebViewImpl::openPagePopup): Need to use .get() because m_pagePopup is a RefPtr.
4922 (WebKit::WebViewImpl::closePagePopup): ditto.
4923 (WebKit::WebViewImpl::hidePopups): ditto.
4924 * src/WebViewImpl.h: Make m_pagePopup a RefPtr.
4926 2012-04-18 James Robinson <jamesr@chromium.org>
4928 [chromium] Use TextureLayerChromium for WebGL content instead of a dedicated layer type
4929 https://bugs.webkit.org/show_bug.cgi?id=84311
4931 Reviewed by Adrienne Walker.
4934 * src/WebExternalTextureLayer.cpp:
4935 (WebKit::WebExternalTextureLayer::create):
4937 * tests/WebGLLayerChromiumTest.cpp: Removed.
4938 * tests/WebLayerTest.cpp:
4940 2012-04-23 Alec Flett <alecflett@chromium.org>
4942 IndexedDB: remove IDB(Index|ObjectStore)BackendImpl::get/getKey for IDBKey
4943 https://bugs.webkit.org/show_bug.cgi?id=84285
4945 Reviewed by Dimitri Glazkov.
4947 This is old code supporting IDBKey-based lookup, supplanted by
4948 IDBKeyRange. Now that chromium IPC/proxy code has landed,
4949 these functions can be removed.
4951 * public/WebIDBIndex.h:
4952 * public/WebIDBObjectStore.h:
4953 * src/IDBIndexBackendProxy.cpp:
4954 * src/IDBIndexBackendProxy.h:
4955 (IDBIndexBackendProxy):
4956 * src/IDBObjectStoreBackendProxy.cpp:
4957 * src/IDBObjectStoreBackendProxy.h:
4958 (IDBObjectStoreBackendProxy):
4959 * src/WebIDBIndexImpl.cpp:
4960 * src/WebIDBIndexImpl.h:
4962 * src/WebIDBObjectStoreImpl.cpp:
4963 * src/WebIDBObjectStoreImpl.h:
4964 (WebIDBObjectStoreImpl):
4966 2012-04-23 Eriq Augustine <eaugusti@chromium.org>
4968 Return value from executed script in Chromium.
4969 https://bugs.webkit.org/show_bug.cgi?id=79851
4971 Reviewed by Adam Barth.
4973 Providing a variant of evaluateScriptInIsolatedWorld that
4974 returns the value of the evaluated script.
4976 * public/WebFrame.h:
4978 * src/WebFrameImpl.cpp:
4979 (WebKit::WebFrameImpl::executeScriptInIsolatedWorldAndReturnValues):
4981 * src/WebFrameImpl.h:
4985 2012-04-23 Raymond Toy <rtoy@google.com>
4987 Move AudioDestinationChromium FIFO class to its own class.
4988 https://bugs.webkit.org/show_bug.cgi?id=84058
4990 Reviewed by Chris Rogers.
4992 Remove private FIFO class and use new AudioPullFIFO class.
4993 * src/AudioDestinationChromium.cpp:
4994 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
4995 * src/AudioDestinationChromium.h:
4996 (AudioDestinationChromium):
4998 2012-04-23 Dmitry Titov <dimich@chromium.org>
5000 Chromium roll 133422:133506.
5005 2012-04-23 Ian Vollick <vollick@chromium.org>
5007 [chromium] Properly ignore unsupported animation directions.
5008 https://bugs.webkit.org/show_bug.cgi?id=84599
5010 Reviewed by Adrienne Walker.
5012 * tests/CCLayerAnimationControllerTest.cpp:
5013 (WebKitTests::TEST):
5016 2012-04-23 Ian Vollick <vollick@chromium.org>
5018 [chromium] When prepareToDraw fails due to animation checkerboard, we need to call setNeedsCommit
5019 https://bugs.webkit.org/show_bug.cgi?id=84520
5021 Reviewed by Adrienne Walker.
5023 * tests/CCLayerTreeHostImplTest.cpp:
5024 (WebKitTests::TEST_F):
5026 2012-04-23 Mikhail Naganov <mnaganov@chromium.org>
5028 Chromium roll from r133348 to r133422.
5032 2012-04-23 Gavin Peters <gavinp@chromium.org>
5034 Move ReferrerPolicy out of SecurityPolicy class into its own header in platform.
5035 https://bugs.webkit.org/show_bug.cgi?id=84516
5038 Reviewed by Adam Barth.
5040 No change in behaviour; same enum, different class.
5042 * src/AssertMatchingEnums.cpp:
5043 * src/WebSecurityPolicy.cpp:
5044 (WebKit::WebSecurityPolicy::generateReferrerHeader):
5046 2012-04-22 Andreas Kling <kling@webkit.org>
5048 Optimize Element attribute storage for the common case (no Attr objects.)
5049 <http://webkit.org/b/83440>
5051 Reviewed by Antti Koivisto.
5053 Remove the WebNamedNodeMap and WebAttribute API classes since they are no
5054 longer needed by chromium after <http://crrev.com/133299>.
5057 * public/WebAttribute.h: Removed.
5058 * public/WebElement.h:
5059 * public/WebNamedNodeMap.h: Removed.
5060 * src/WebAttribute.cpp: Removed.
5061 * src/WebElement.cpp:
5062 * src/WebNamedNodeMap.cpp: Removed.
5064 2012-04-22 Mikhail Naganov <mnaganov@chromium.org>
5066 [Chromium] Fix clang build after r114827, unreviewed.
5068 * tests/LayerTextureUpdaterTest.cpp:
5071 2012-04-22 Shawn Singh <shawnsingh@chromium.org>
5073 [chromium] Damage Tracker needs to use CCMathUtil transforms
5074 https://bugs.webkit.org/show_bug.cgi?id=84070
5076 Reviewed by Adrienne Walker.
5078 * tests/CCDamageTrackerTest.cpp:
5079 (WebKitTests::TEST_F):
5082 2012-04-21 Ryosuke Niwa <rniwa@webkit.org>
5084 Chromium roll attempt from r133173 to r133348.
5088 2012-04-20 Adrienne Walker <enne@google.com>
5090 [chromium] Refactor opaque content transform out of Skia context
5091 https://bugs.webkit.org/show_bug.cgi?id=83608
5093 Reviewed by James Robinson.
5095 Add tests for opaque tracking in LayerTextureUpdater, since the
5096 transform logic has moved there.
5098 * tests/CCTiledLayerTestCommon.cpp:
5099 (WebKitTests::FakeLayerTextureUpdater::prepareToUpdate):
5100 * tests/CCTiledLayerTestCommon.h:
5101 (FakeLayerTextureUpdater):
5102 * tests/LayerTextureUpdaterTest.cpp:
5103 (WebCore::PaintFillPartialOpaque::PaintFillPartialOpaque):
5104 (PaintFillPartialOpaque):
5105 (WebCore::PaintFillPartialOpaque::operator()):
5108 * tests/PlatformContextSkiaTest.cpp:
5111 2012-04-20 Dana Jansens <danakj@chromium.org>
5113 [chromium] Remove special case for recreating layers during sync
5114 https://bugs.webkit.org/show_bug.cgi?id=84458
5116 Reviewed by James Robinson.
5118 * tests/TreeSynchronizerTest.cpp:
5120 2012-04-20 Alec Flett <alecflett@chromium.org>
5122 IndexedDB: Support get/getKey(keyRange)
5123 https://bugs.webkit.org/show_bug.cgi?id=83638
5125 Reviewed by Ojan Vafai.
5127 Hook up WebKit API to the new get/getKey implementations.
5129 * src/IDBIndexBackendProxy.cpp:
5130 (WebKit::IDBIndexBackendProxy::get):
5132 (WebKit::IDBIndexBackendProxy::getKey):
5133 * src/IDBIndexBackendProxy.h:
5134 (IDBIndexBackendProxy):
5135 * src/WebIDBIndexImpl.cpp:
5136 (WebKit::WebIDBIndexImpl::getObject):
5137 (WebKit::WebIDBIndexImpl::getKey):
5138 * src/WebIDBObjectStoreImpl.cpp:
5139 (WebKit::WebIDBObjectStoreImpl::get):
5141 2012-04-20 Brady Eidson <beidson@apple.com>
5143 https://bugs.webkit.org/show_bug.cgi?id=84512
5144 Repurpose ActiveDOMObject::WillShowDialog to WillDeferLoading
5146 Reviewed by Eric Carlson.
5148 PageGroupLoadDeferrer's don't take a ReasonForSuspension argument anymore;
5149 They just use WillDeferLoading by default.
5151 * src/WebViewImpl.cpp:
5152 (WebKit::WebView::willEnterModalLoop):
5154 2012-04-20 James Robinson <jamesr@chromium.org>
5156 [chromium] Plumb a compositor surface ready notification through to the threaded compositor
5157 https://bugs.webkit.org/show_bug.cgi?id=84305
5159 Reviewed by Adrienne Walker.
5161 Adds a notification to WebWidget for when the compositor surface is ready to use. This exists to fix a race
5162 condition when WebKit requires that we enter compositing mode but we haven't completed initialization of the
5163 native window/etc backing the WebWidget, and we can't block for this initialization to complete without inducing
5164 deadlocks. In this situation, we proceed as usual except that we can't attempt to use the compositor context or
5167 * public/WebWidget.h:
5169 * src/WebLayerTreeView.cpp:
5170 (WebKit::WebLayerTreeView::setSurfaceReady):
5172 * src/WebPagePopupImpl.cpp:
5173 (WebKit::WebPagePopupImpl::setCompositorSurfaceReady):
5175 * src/WebPagePopupImpl.h:
5177 * src/WebPopupMenuImpl.cpp:
5178 (WebKit::WebPopupMenuImpl::setCompositorSurfaceReady):
5180 * src/WebPopupMenuImpl.h:
5181 * src/WebViewImpl.cpp:
5182 (WebKit::WebViewImpl::setCompositorSurfaceReady):
5184 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
5185 * src/WebViewImpl.h:
5188 2012-04-20 Mark Pilgrim <pilgrim@chromium.org>
5190 [Chromium] Call memoryUsageMB directly
5191 https://bugs.webkit.org/show_bug.cgi?id=84376
5193 Reviewed by Kentaro Hara.
5195 Part of a refactoring series. See tracking bug 82948.
5197 * src/PlatformSupport.cpp:
5200 2012-04-20 Adrienne Walker <enne@google.com>
5202 [chromium] Clip TransparencyWin to prevent OOM from large Skia canvas
5203 https://bugs.webkit.org/show_bug.cgi?id=84289
5205 Reviewed by James Robinson.
5207 Add a test that would OOM if the layer wasn't clipped. Also, verify
5208 that clipping the canvas doesn't shift pixels around incorrectly.
5210 * tests/TransparencyWinTest.cpp:
5211 (WebCore::testClippedLayerKeepTransform):
5215 2012-04-20 Brady Eidson <beidson@apple.com>
5217 https://bugs.webkit.org/show_bug.cgi?id=84490
5218 PageGroupLoadDeferrer needs to take a ReasonForSuspension argument
5220 Reviewed by Anders Carlsson.
5222 * src/WebViewImpl.cpp:
5223 (WebKit::WebView::willEnterModalLoop): Pass along ActiveDOMObject::WillShowDialog, which used
5226 2012-04-20 James Robinson <jamesr@chromium.org>
5228 Avoid synchronously recalculating the nonFastScrollableRegion when the ScrollableArea set changes
5229 https://bugs.webkit.org/show_bug.cgi?id=84470
5231 Reviewed by Anders Carlsson.
5233 Trigger a layout when a plugin becomes or stops being scrollable so the nonFastScrollableRegion
5236 * src/ScrollbarGroup.cpp:
5237 (WebKit::ScrollbarGroup::scrollbarCreated):
5238 (WebKit::ScrollbarGroup::scrollbarDestroyed):
5240 2012-04-20 Dana Jansens <danakj@chromium.org>
5242 [chromium] Some filters require inflating damage rect in CCDamageTracker
5243 https://bugs.webkit.org/show_bug.cgi?id=84373
5245 Reviewed by James Robinson.
5247 * tests/CCDamageTrackerTest.cpp:
5248 (WebKitTests::emulateDrawingOneFrame):
5249 (WebKitTests::TEST_F):
5252 2012-04-20 Sami Kyostila <skyostil@chromium.org>
5254 [chromium] Don't crash when scrolling empty layer tree
5255 https://bugs.webkit.org/show_bug.cgi?id=84455
5257 Reviewed by James Robinson.
5259 Try to scroll an empty layer tree.
5261 * tests/CCLayerTreeHostImplTest.cpp:
5262 (WebKitTests::TEST_F):
5265 2012-04-20 Sheriff Bot <webkit.review.bot@gmail.com>
5267 Unreviewed. Rolled DEPS.
5271 2012-04-20 'Pavel Feldman' <pfeldman@chromium.org>
5273 Not reviewed: fixed chromium sanity tests for inspector via assigning last path component
5274 to entire url for parsed urls with invalid specs.
5277 (.TestSuite.prototype._scriptsAreParsed):
5279 2012-04-20 Mark Pilgrim <pilgrim@chromium.org>
5281 [Chromium] Call cacheMetadata directly
5282 https://bugs.webkit.org/show_bug.cgi?id=84415
5284 Reviewed by Kentaro Hara.
5286 Part of a refactoring series. See tracking bug 82948.
5288 * src/PlatformSupport.cpp:
5291 2012-04-20 Mark Pilgrim <pilgrim@chromium.org>
5293 [Chromium] Call stopSharedTimer directly
5294 https://bugs.webkit.org/show_bug.cgi?id=84418
5296 Reviewed by Kentaro Hara.
5298 Part of a refactoring series. See tracking bug 82948.
5300 * src/PlatformSupport.cpp:
5303 2012-04-19 Jeremy Mao <yujie.mao@intel.com>
5305 Media Stream API: Piece of code cleanup for the chromium port
5306 https://bugs.webkit.org/show_bug.cgi?id=84328
5308 Reviewed by Kent Tamura.
5310 Remove some deprecated interfaces.
5312 No new tests. No behavior changes.
5314 * public/WebUserMediaClient.h:
5315 Remove deprecated requestUserMedia interface.
5316 * public/WebUserMediaRequest.h:
5317 Remove deprecated requestSucceeded interface.
5318 * src/UserMediaClientImpl.cpp:
5319 (WebKit::UserMediaClientImpl::requestUserMedia):
5320 Use the requestUserMedia split sources implementation.
5321 * src/WebUserMediaRequest.cpp:
5322 Remove deprecated requestSucceeded implementation.
5324 2012-04-19 Joshua Bell <jsbell@chromium.org>
5326 [Chromium] IndexedDB: Prep for changing keyPath return type
5327 https://bugs.webkit.org/show_bug.cgi?id=84208
5329 To introduce Array-type key paths (see http://webkit.org/b/84207) the keyPath() accessors
5330 on WebIDBObjectStore and WebIDBIndex need to change return type. To do so requires temporarily
5331 changing the method names to keyPathString with compatibility shims (on the WebKit side)
5332 then switching the implementation in the Chromium port in a follow-up patch.
5334 Reviewed by Kent Tamura.
5336 * public/WebIDBIndex.h:
5337 (WebKit::WebIDBIndex::keyPath):
5338 (WebKit::WebIDBIndex::keyPathString):
5339 * public/WebIDBObjectStore.h:
5340 (WebKit::WebIDBObjectStore::keyPath):
5341 (WebKit::WebIDBObjectStore::keyPathString):
5342 * src/WebIDBIndexImpl.cpp:
5343 (WebKit::WebIDBIndexImpl::keyPathString):
5344 * src/WebIDBIndexImpl.h:
5346 * src/WebIDBObjectStoreImpl.cpp:
5347 (WebKit::WebIDBObjectStoreImpl::keyPathString):
5348 * src/WebIDBObjectStoreImpl.h:
5349 (WebIDBObjectStoreImpl):
5351 2012-04-19 Andreas Kling <kling@webkit.org>
5353 [chromium] Add simplified API for iterating over a WebElement's attributes.
5354 <http://webkit.org/b/84183>
5356 Reviewed by Dimitri Glazkov.
5358 Add attributeCount(), attributeLocalName(index) and attributeValue(index) to the
5359 WebElement API so that call sites currently using WebNamedNodeMap can be
5360 converted, which will ultimately allow us to refactor WebCore::Attribute
5361 on <http://webkit.org/b/83440>.
5363 * public/WebElement.h:
5364 * src/WebElement.cpp:
5365 (WebKit::WebElement::attributeCount):
5366 (WebKit::WebElement::attributeLocalName):
5367 (WebKit::WebElement::attributeValue):
5369 2012-04-19 Mark Pilgrim <pilgrim@chromium.org>
5371 [Chromium] Call signedPublicKeyAndChallengeString directly
5372 https://bugs.webkit.org/show_bug.cgi?id=84372
5374 Reviewed by Kentaro Hara.
5376 Part of a refactoring series. See tracking bug 82948.
5378 * src/PlatformSupport.cpp:
5381 2012-04-19 Mark Pilgrim <pilgrim@chromium.org>
5383 [Chromium] Call audioHardwareBufferSize directly
5384 https://bugs.webkit.org/show_bug.cgi?id=84370
5386 Reviewed by Kentaro Hara.
5388 Part of a refactoring series. See tracking bug 82948.
5390 * src/AudioDestinationChromium.cpp:
5391 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
5393 2012-04-19 Sami Kyostila <skyostil@chromium.org>
5395 [chromium] Add tests for scrolling non-root layers in the compositor thread
5396 https://bugs.webkit.org/show_bug.cgi?id=73350
5398 Reviewed by James Robinson.
5400 * src/WebContentLayerImpl.cpp:
5401 (WebKit::WebContentLayerImpl::didScroll):
5403 * src/WebContentLayerImpl.h:
5404 (WebContentLayerImpl):
5405 * tests/CCLayerImplTest.cpp:
5408 * tests/CCLayerTreeHostImplTest.cpp:
5409 (WebKitTests::CCLayerTreeHostImplTest::createScrollableLayer):
5410 (CCLayerTreeHostImplTest):
5411 (WebKitTests::CCLayerTreeHostImplTest::initializeLayerRendererAndDrawFrame):
5412 (WebKitTests::TEST_F):
5414 * tests/CCLayerTreeHostTest.cpp:
5415 (WTF::TestOpacityChangeLayerDelegate::didScroll):
5416 (WTF::MockContentLayerDelegate::paintContents):
5417 (WTF::MockContentLayerDelegate::didScroll):
5418 (CCLayerTreeHostTestScrollChildLayer):
5419 (WTF::CCLayerTreeHostTestScrollChildLayer::CCLayerTreeHostTestScrollChildLayer):
5420 (WTF::CCLayerTreeHostTestScrollChildLayer::beginTest):
5421 (WTF::CCLayerTreeHostTestScrollChildLayer::applyScrollAndScale):
5422 (WTF::CCLayerTreeHostTestScrollChildLayer::beginCommitOnCCThread):
5423 (WTF::CCLayerTreeHostTestScrollChildLayer::drawLayersOnCCThread):
5424 (WTF::CCLayerTreeHostTestScrollChildLayer::afterTest):
5428 2012-04-19 Alec Flett <alecflett@chromium.org>
5430 IndexedDB: Stub out IDBCursor.advance for landing
5431 https://bugs.webkit.org/show_bug.cgi?id=84280
5433 Reviewed by Dimitri Glazkov.
5435 Just a stub method so it can be implemented on chromium
5437 * public/WebIDBCursor.h:
5438 (WebKit::WebIDBCursor::advance):
5439 * src/WebIDBCursorImpl.cpp:
5440 (WebKit::WebIDBCursorImpl::advance):
5442 * src/WebIDBCursorImpl.h:
5445 2012-04-19 Mark Pilgrim <pilgrim@chromium.org>
5447 [Chromium] Call mimeRegistry directly
5448 https://bugs.webkit.org/show_bug.cgi?id=84334
5450 Reviewed by Kentaro Hara.
5452 Part of a refactoring series. See tracking bug 82948.
5454 * src/PlatformSupport.cpp:
5455 (WebCore::PlatformSupport::layoutTestMode):
5457 2012-04-19 Mark Pilgrim <pilgrim@chromium.org>
5459 [Chromium] Call sampleGamepads directly
5460 https://bugs.webkit.org/show_bug.cgi?id=84339
5462 Reviewed by Kentaro Hara.
5464 Part of a refactoring series. See tracking bug 82948.
5466 * src/PlatformSupport.cpp:
5467 (WebCore::PlatformSupport::injectIDBKeyIntoSerializedValue):
5469 2012-04-19 Mark Pilgrim <pilgrim@chromium.org>
5471 [Chromium] Call audioHardwareSampleRate directly
5472 https://bugs.webkit.org/show_bug.cgi?id=84335
5474 Reviewed by Kentaro Hara.
5476 Part of a refactoring series. See tracking bug 82948.
5478 * src/AudioDestinationChromium.cpp:
5479 (WebCore::AudioDestination::hardwareSampleRate):
5481 2012-04-18 Nico Weber <thakis@chromium.org>
5483 [chromium/mac] Fix build.
5484 https://bugs.webkit.org/show_bug.cgi?id=84314
5486 Unreviewed, build fix after http://trac.webkit.org/changeset/114604
5488 * src/WebPluginContainerImpl.cpp:
5489 (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
5491 2012-04-18 Hironori Bono <hbono@chromium.org>
5493 Split SpellChecker::didCheck() to SpellChecker::didCheckSucceeded() and SpellChecker::didCheckCanceled()
5494 https://bugs.webkit.org/show_bug.cgi?id=83748
5496 Reviewed by Ryosuke Niwa.
5498 This change adds a new API WebTextCheckingCompletion::didCancelCheckingText(),
5499 which encapsulates SpellChecker::didCheckCanceled() and implements it so
5500 Chromium can use it.
5502 * public/WebTextCheckingCompletion.h:
5503 (WebKit::WebTextCheckingCompletion::didCancelCheckingText):
5504 * src/WebTextCheckingCompletionImpl.cpp:
5505 (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
5507 (WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
5508 * src/WebTextCheckingCompletionImpl.h:
5509 (WebTextCheckingCompletionImpl):
5511 2012-04-16 James Robinson <jamesr@chromium.org>
5513 [chromium] Convert WebPluginContainerImpl over to use WebExternalTextureLayer
5514 https://bugs.webkit.org/show_bug.cgi?id=84120
5516 Reviewed by Adrienne Walker.
5518 This ports WebPluginContainerImpl over to use WebExternalTextureLayer instead of directly using a *LayerChromium
5519 type for better layering and code sharing. The changes to WebPluginContainerImpl are fairly straightforward. In
5520 addition to renames I also moved some state tracking into WPCI instead of having it exposed on the interface. I
5521 also removed the WebExternalTextureLayerImpl intermediate class since it wasn't doing anything useful.
5525 * src/WebContentLayer.cpp:
5526 * src/WebExternalTextureLayer.cpp:
5527 (WebKit::WebExternalTextureLayer::create):
5528 (WebKit::WebExternalTextureLayer::setTextureId):
5529 (WebKit::WebExternalTextureLayer::setIOSurfaceProperties):
5530 (WebKit::WebExternalTextureLayer::setFlipped):
5531 (WebKit::WebExternalTextureLayer::flipped):
5532 (WebKit::WebExternalTextureLayer::setUVRect):
5533 (WebKit::WebExternalTextureLayer::uvRect):
5534 (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
5535 * src/WebExternalTextureLayerImpl.cpp: Removed.
5536 * src/WebExternalTextureLayerImpl.h: Removed.
5538 (WebKit::WebLayer::invalidateRect):
5540 (WebKit::WebLayer::invalidate):
5541 * src/WebPluginContainerImpl.cpp:
5542 (WebKit::WebPluginContainerImpl::setBackingTextureId):
5543 (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
5544 (WebKit::WebPluginContainerImpl::commitBackingTexture):
5545 (WebKit::WebPluginContainerImpl::setOpaque):
5546 (WebKit::WebPluginContainerImpl::platformLayer):
5547 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
5548 * src/WebPluginContainerImpl.h:
5550 (WebPluginContainerImpl):
5551 * tests/WebExternalTextureLayerImplTest.cpp: Removed.
5552 * tests/WebLayerTest.cpp:
5554 2012-04-18 Dana Jansens <danakj@chromium.org>
5556 [chromium] Simplify occlusion tracker API by passing layer iterator data
5557 https://bugs.webkit.org/show_bug.cgi?id=84088
5559 Reviewed by Adrienne Walker.
5561 * tests/CCOcclusionTrackerTest.cpp:
5562 (CCOcclusionTrackerTestMainThreadTypes):
5563 (CCOcclusionTrackerTestImplThreadTypes):
5564 (WebKitTests::CCOcclusionTrackerTest::CCOcclusionTrackerTest):
5565 (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
5566 (CCOcclusionTrackerTest):
5567 (WebKitTests::CCOcclusionTrackerTest::enterLayer):
5568 (WebKitTests::CCOcclusionTrackerTest::leaveLayer):
5569 (WebKitTests::CCOcclusionTrackerTest::visitLayer):
5570 (WebKitTests::CCOcclusionTrackerTest::enterContributingSurface):
5571 (WebKitTests::CCOcclusionTrackerTest::leaveContributingSurface):
5572 (WebKitTests::CCOcclusionTrackerTest::visitContributingSurface):
5573 (WebKitTests::CCOcclusionTrackerTest::resetLayerIterator):
5574 (WebKitTests::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
5575 (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
5576 (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
5577 (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
5578 (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
5579 (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
5580 (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
5581 (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
5582 (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
5583 (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
5584 (WebKitTests::CCOcclusionTrackerTestReplicaDoesOcclude::runMyTest):
5585 (WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest):
5586 (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
5587 (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
5588 (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
5589 (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
5590 (WebKitTests::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
5591 (WebKitTests::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
5592 (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
5593 (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
5594 (WebKitTests::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
5595 (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
5596 (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
5597 (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
5598 (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
5599 (WebKitTests::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
5600 (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest):
5601 (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
5602 (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
5603 (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
5604 (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
5605 (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
5606 (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest):
5607 (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
5608 (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
5609 (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
5610 (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
5611 (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
5612 * tests/CCQuadCullerTest.cpp:
5614 (WebCore::makeLayer):
5615 (WebCore::appendQuads):
5618 2012-04-18 James Robinson <jamesr@chromium.org>
5620 [chromium] Add canBeginFrame state to CCSchedulerStateMachine to suppress initialization before our surface is available
5621 https://bugs.webkit.org/show_bug.cgi?id=84301
5623 Reviewed by Adrienne Walker.
5625 Update unit tests for new canBeginFrame bit.
5627 * tests/CCSchedulerStateMachineTest.cpp:
5630 * tests/CCSchedulerTest.cpp:
5631 (WebKitTests::TEST):
5633 2012-04-18 David Reveman <reveman@chromium.org>
5635 [Chromium] Solid color layers should respect opacity value.
5636 https://bugs.webkit.org/show_bug.cgi?id=84197
5638 Reviewed by Adrienne Walker.
5640 * tests/CCSolidColorLayerImplTest.cpp:
5641 (CCLayerTestCommon::TEST):
5642 (CCLayerTestCommon):
5644 2012-04-18 Mark Pilgrim <pilgrim@chromium.org>
5646 [Chromium] Call prefetchDNS directly
5647 https://bugs.webkit.org/show_bug.cgi?id=84262
5649 Reviewed by Kentaro Hara.
5651 Part of a series, see tracking bug 82948.
5653 * src/PlatformSupport.cpp:
5656 2012-04-18 Myles Maxfield <mmaxfield@google.com>
5658 Chromium compile of WebDatabase.cpp fails without SQL_DATABASE
5659 https://bugs.webkit.org/show_bug.cgi?id=84212
5661 Reviewed by Kentaro Hara.
5663 * src/WebDatabase.cpp:
5664 (WebCore::AbstractDatabase::isSyncDatabase):
5666 2012-04-18 Keishi Hattori <keishi@webkit.org>
5668 [chromium] Turn on ENABLE_DATALIST for chromium
5669 https://bugs.webkit.org/show_bug.cgi?id=84118
5671 Reviewed by Kent Tamura.
5673 * features.gypi: Turn on ENABLE_DATALIST.
5674 * src/WebInputElement.cpp: Touched to avoid build issues. No code change.
5676 2012-04-18 Alexander Pavlov <apavlov@chromium.org>
5678 [Chromium] REGRESSION: Popup shrinks because of autocomplete
5679 https://bugs.webkit.org/show_bug.cgi?id=84139
5680 http://code.google.com/p/chromium/issues/detail?id=123432
5682 Do not use the PopupContainer's frameRect() to update the popup client's window rect,
5683 since PopupContainer is always positioned at (0, 0) inside the client's window rect,
5684 and the latter one is positioned relative to the screen origin.
5686 Reviewed by Kent Tamura.
5688 * src/WebViewImpl.cpp:
5689 (WebKit::WebViewImpl::refreshAutofillPopup):
5691 2012-04-17 Rafael Weinstein <rafaelw@chromium.org>
5693 [MutationObservers] enable V8RecursionScope debug ASSERT()
5694 https://bugs.webkit.org/show_bug.cgi?id=84094
5696 Reviewed by Ojan Vafai.
5698 This patch enables the ASSERT() which enforces usage of
5702 (WebKit::assertV8RecursionScope):
5704 2012-04-17 Dana Jansens <danakj@chromium.org>
5706 [chromium] Fix gyp for WebFilterOperation.h and WebFilterOperations.h
5707 https://bugs.webkit.org/show_bug.cgi?id=84182
5709 Reviewed by James Robinson.
5713 2012-04-17 David Reveman <reveman@chromium.org>
5715 [Chromium] Add TextureUploader which allows us to use persistent GC3D state for texture uploads.
5716 https://bugs.webkit.org/show_bug.cgi?id=83972
5718 Reviewed by James Robinson.
5720 * tests/CCTiledLayerTestCommon.h:
5721 (FakeTextureUploader):
5722 (WebKitTests::FakeTextureUploader::uploadTexture):
5724 * tests/Canvas2DLayerChromiumTest.cpp:
5725 * tests/TiledLayerChromiumTest.cpp:
5728 2012-04-17 Alec Flett <alecflett@chromium.org>
5730 IndexedDB: stub getKey/getObject interfaces for IDBKeyRange
5731 https://bugs.webkit.org/show_bug.cgi?id=84089
5733 Reviewed by Dimitri Glazkov.
5735 Added stub methods on WebIDBIndex.h to cleanly land
5736 https://bugs.webkit.org/show_bug.cgi?id=83638
5738 * public/WebIDBIndex.h:
5739 (WebKit::WebIDBIndex::getObject):
5740 (WebKit::WebIDBIndex::getKey):
5741 * src/WebIDBIndexImpl.cpp:
5742 (WebKit::WebIDBIndexImpl::getObject):
5744 (WebKit::WebIDBIndexImpl::getKey):
5745 * src/WebIDBIndexImpl.h:
5748 2012-04-17 Aaron Colwell <acolwell@chromium.org>
5750 Add sourceAddId() & sourceRemoveId() stubs for Chromium.
5751 These are needed to bring the Media Source implementation
5752 up to date with the new 0.4 version of the Media Source spec.
5753 http://html5-mediasource-api.googlecode.com/svn/tags/0.4/draft-spec/mediasource-draft-spec.html
5754 https://bugs.webkit.org/show_bug.cgi?id=83616
5756 Reviewed by Eric Carlson, Darin Fisher.
5758 * public/WebMediaPlayer.h:
5759 (WebKit::WebMediaPlayer::sourceAddId):
5760 (WebKit::WebMediaPlayer::sourceRemoveId):
5761 * src/AssertMatchingEnums.cpp:
5762 * src/WebMediaPlayerClientImpl.cpp:
5763 (WebKit::WebMediaPlayerClientImpl::sourceAddId):
5765 (WebKit::WebMediaPlayerClientImpl::sourceRemoveId):
5766 * src/WebMediaPlayerClientImpl.h:
5767 (WebMediaPlayerClientImpl):
5769 2012-04-17 Kent Tamura <tkent@chromium.org>
5771 [Chromium] Calendar Picker: Popup position is wrong when there are
5772 no enough space below the target date field
5773 https://bugs.webkit.org/show_bug.cgi?id=84007
5775 Reviewed by Hajime Morita.
5777 The popup was detached from the origin element because
5778 calendarPicker.js resizes its window. To fix this bug, we move the
5779 window position vertically when it is resized.
5781 No new tests. This is not testable in WebKit.
5783 * src/WebPagePopupImpl.cpp:
5784 (WebKit::PagePopupChromeClient::setWindowRect):
5785 If this request is just a resize and m_isPutAboveOrigin is true,
5786 update the vertical position so that the popup attaches to the
5788 (WebKit::WebPagePopupImpl::WebPagePopupImpl):
5789 Initialize m_isPutAboveOrigin with false.
5790 (WebKit::WebPagePopupImpl::init): Set m_isPutAboveOrigin true.
5791 * src/WebPagePopupImpl.h:
5792 (WebPagePopupImpl): Add m_isPutAboveOrigin.
5794 2012-04-16 Kent Tamura <tkent@chromium.org>
5796 Rename LocalizedNumberICU.h to ICULocale.h
5797 https://bugs.webkit.org/show_bug.cgi?id=84119
5799 Reviewed by Kentaro Hara.
5801 * tests/LocalizedNumberICUTest.cpp: Rename LocalizedNumberICU.h to ICULocale.h
5803 2012-04-16 Dana Jansens <danakj@chromium.org>
5805 [chromium] Expose compositor filters to Aura through WebLayer
5806 https://bugs.webkit.org/show_bug.cgi?id=80054
5808 Reviewed by James Robinson.
5812 (WebKit::WebLayer::setFilters):
5814 (WebKit::WebLayer::setBackgroundFilters):
5816 2012-04-16 Sheriff Bot <webkit.review.bot@gmail.com>
5818 Unreviewed. Rolled DEPS.
5822 2012-04-16 Kent Tamura <tkent@chromium.org>
5824 [Chromium] Move popup location detection code from WebViewImpl to WebPagePopupImpl
5825 https://bugs.webkit.org/show_bug.cgi?id=84116
5827 Reviewed by Kentaro Hara.
5829 This makes no behavior change. Just move some code.
5830 To fix Bug 84007, WebPagePopupImpl needs to know if the popup is
5831 above the target element or below the target element.
5833 * src/WebPagePopupImpl.cpp:
5834 (WebKit::WebPagePopupImpl::init): Move some code from WebViewImpl::openPagePopup().
5835 * src/WebPagePopupImpl.h:
5836 (WebPagePopupImpl): Rename an argument name.
5837 * src/WebViewImpl.cpp:
5838 (WebKit::WebViewImpl::openPagePopup): Move some code to WebPagePopupImpl::init().
5840 2012-04-13 James Robinson <jamesr@chromium.org>
5842 [chromium] Expose WebVideoLayer to Platform API and port WebMediaPlayerClientImpl to using it
5843 https://bugs.webkit.org/show_bug.cgi?id=83963
5845 Reviewed by Adrienne Walker.
5847 Adds implementation of WebVideoLayer and ports WebMediaPlayerClientImpl over to using it.
5848 WebMediaPlayerClientImpl still exposes a WebCore::VideoLayerChromium* to the compositor via the platformLayer()
5849 interface, but this is temporary until we can change the PlatformLayer typedef over to WebLayer.
5852 * src/WebContentLayer.cpp:
5854 (WebKit::WebLayer::invalidate):
5856 * src/WebMediaPlayerClientImpl.cpp:
5857 (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
5858 (WebKit::WebMediaPlayerClientImpl::repaint):
5859 (WebKit::WebMediaPlayerClientImpl::setOpaque):
5860 (WebKit::WebMediaPlayerClientImpl::platformLayer):
5861 (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
5862 (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
5863 (WebKit::WebMediaPlayerClientImpl::supportsType):
5864 * src/WebMediaPlayerClientImpl.h:
5865 (WebMediaPlayerClientImpl):
5866 * src/WebVideoLayer.cpp: Copied from Source/WebKit/chromium/src/WebContentLayer.cpp.
5868 (WebKit::WebVideoLayer::create):
5869 (WebKit::WebVideoLayer::WebVideoLayer):
5870 (WebKit::WebVideoLayer::active):
5872 2012-04-16 Aaron Colwell <acolwell@chromium.org>
5874 Fix WebKit style violations in Chromium WebMediaPlayer.h & WebMediaPlayerClient.h
5875 https://bugs.webkit.org/show_bug.cgi?id=84046
5877 Reviewed by Darin Fisher.
5880 * public/WebMediaPlayer.h:
5882 * public/WebMediaPlayerClient.h:
5883 * public/WebTimeRange.h: Copied from Source/WebKit/chromium/public/WebMediaPlayerClient.h.
5885 (WebKit::WebTimeRange::WebTimeRange):
5887 * src/AssertMatchingEnums.cpp:
5889 2012-04-16 Terry Anderson <tdanderson@chromium.org>
5891 [chromium] Allow WebGestureEvent to store four floating point values
5892 https://bugs.webkit.org/show_bug.cgi?id=84053
5894 Reviewed by Darin Fisher.
5896 See bug description for an explanation of the changes made.
5898 * public/WebInputEvent.h:
5900 (WebKit::WebGestureEvent::WebGestureEvent):
5901 * src/WebInputEvent.cpp:
5902 (SameSizeAsWebGestureEvent):
5903 * src/WebInputEventConversion.cpp:
5904 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
5906 2012-04-16 Alexey Proskuryakov <ap@apple.com>
5908 [chromium] Remove BlobRegistryProxy::createResourceHandle
5909 https://bugs.webkit.org/show_bug.cgi?id=84047
5911 Reviewed by Nate Chapin.
5913 * src/BlobRegistryProxy.h: (BlobRegistryProxy::createResourceHandle): This function
5916 2012-04-16 Raymes Khoury <raymes@chromium.org>
5918 Fix bug in WebPluginContainer::isRectTopmost() which gave the incorrect result for a scrolled window.
5919 https://bugs.webkit.org/show_bug.cgi?id=80606
5921 Reviewed by Darin Fisher.
5923 * src/WebPluginContainerImpl.cpp:
5924 (WebKit::WebPluginContainerImpl::isRectTopmost):
5926 2012-04-15 Keishi Hattori <keishi@webkit.org>
5928 Introduce MenuItemID to autofill popup
5929 https://bugs.webkit.org/show_bug.cgi?id=83777
5931 Introducing MenuItemIDs because we want to add multiple separators and
5932 need to identify non-autofill menu items without resorting to the separator position.
5934 Reviewed by Kent Tamura.
5936 * public/WebAutofillClient.h:
5937 (WebKit::WebAutofillClient::didAcceptAutofillSuggestion): Changed uniqueID to itemID because they aren't unique.
5938 (WebKit::WebAutofillClient::didSelectAutofillSuggestion):
5941 * src/AutofillPopupMenuClient.cpp:
5942 (WebKit::AutofillPopupMenuClient::AutofillPopupMenuClient):
5943 (WebKit::AutofillPopupMenuClient::getSuggestionsCount):
5944 (WebKit::AutofillPopupMenuClient::getSuggestion):
5945 (WebKit::AutofillPopupMenuClient::getLabel):
5946 (WebKit::AutofillPopupMenuClient::getIcon):
5947 (WebKit::AutofillPopupMenuClient::removeSuggestionAtIndex):
5948 (WebKit::AutofillPopupMenuClient::canRemoveSuggestionAtIndex):
5949 (WebKit::AutofillPopupMenuClient::valueChanged):
5950 (WebKit::AutofillPopupMenuClient::selectionChanged):
5951 (WebKit::AutofillPopupMenuClient::itemIsSeparator):
5952 (WebKit::AutofillPopupMenuClient::itemIsWarning):
5953 (WebKit::AutofillPopupMenuClient::initialize):
5954 (WebKit::AutofillPopupMenuClient::setSuggestions):
5955 * src/AutofillPopupMenuClient.h: Removed m_separatorIndex because now we use itemID to identify separators.
5956 Added m_useLegacyBehavior which is true when it is initialized with a valid separator index. This is to keep
5957 the autofill working even when the chromium side hasn't been updated yet.
5958 (AutofillPopupMenuClient):
5959 * src/WebViewImpl.cpp:
5960 (WebKit::WebViewImpl::applyAutofillSuggestions):
5961 * src/WebViewImpl.h:
5964 2012-04-15 James Robinson <jamesr@chromium.org>
5966 [chromium] LayerRendererChromium shouldn't know anything about CCLayerImpl
5967 https://bugs.webkit.org/show_bug.cgi?id=83415
5969 Reviewed by Adrienne Walker.
5971 Add an explicit rootLayer getter to the test implementation of LayerRendererChromium since there isn't one on
5972 the base class any more.
5974 * tests/LayerRendererChromiumTest.cpp:
5975 (FakeLayerRendererChromiumClient::rootLayer):
5976 (FakeLayerRendererChromiumClient):
5979 2012-04-15 Yuta Kitamura <yutak@chromium.org>
5981 Leak in WebSocketChannel with workers/worker-reload.html (part 2)
5982 https://bugs.webkit.org/show_bug.cgi?id=83749
5984 Reviewed by David Levin.
5986 * src/WebWorkerClientImpl.cpp:
5987 (WebKit::WebWorkerClientImpl::postTaskForModeToWorkerContext):
5988 Correctly propagate the return value of postTaskForModeToWorkerContext().
5990 2012-04-13 David Reveman <reveman@chromium.org>
5992 [Chromium] Avoid unnecessary full tile updates for checkerboard tiles.
5993 https://bugs.webkit.org/show_bug.cgi?id=83804
5995 Reviewed by James Robinson.
5997 * tests/CCLayerTreeHostTest.cpp:
5998 (WTF::setLayerPropertiesForTesting):
6000 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
6001 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
6002 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
6003 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::layout):
6004 (WTF::setTestLayerPropertiesForTesting):
6005 (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
6006 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
6007 (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
6008 * tests/TiledLayerChromiumTest.cpp:
6011 2012-04-13 Nico Weber <thakis@chromium.org>
6013 [chromium] There is no Color(float, float, float) constructor, fix an attempt to call it.
6014 https://bugs.webkit.org/show_bug.cgi?id=83920
6016 Reviewed by James Robinson.
6019 third_party/WebKit/Source/WebKit/chromium/tests/LayerChromiumTest.cpp:508:89:error: implicit conversion turns literal floating-point number into integer: 'float' to 'int' [-Werror,-Wliteral-conversion]
6020 EXECUTE_AND_VERIFY_SET_NEEDS_COMMIT_BEHAVIOR(1, testLayer->setBackgroundColor(Color(0.4f, 0.4f, 0.4f)));
6021 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
6023 * tests/LayerChromiumTest.cpp:
6025 2012-04-13 Dana Jansens <danakj@chromium.org>
6027 [chromium] Replicas should be included in the computed occlusion
6028 https://bugs.webkit.org/show_bug.cgi?id=82262
6030 Reviewed by Adrienne Walker.
6032 * tests/CCOcclusionTrackerTest.cpp:
6033 (CCOcclusionTrackerTestReplicaDoesOcclude):
6034 (WebKitTests::CCOcclusionTrackerTestReplicaDoesOcclude::runMyTest):
6036 (CCOcclusionTrackerTestReplicaWithClipping):
6037 (WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest):
6038 (CCOcclusionTrackerTestSurfaceChildOfSurface):
6039 (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
6041 2012-04-13 Bernhard Bauer <bauerb@google.com>
6043 [chromium] Remove fallback code for "Missing plug-in" string.
6044 https://bugs.webkit.org/show_bug.cgi?id=81907
6046 Reviewed by Adam Barth.
6048 * src/LocalizedStrings.cpp:
6049 (WebCore::missingPluginText):
6051 2012-04-11 James Robinson <jamesr@chromium.org>
6053 [chromium] Remove unused compositeToTexture / compositeOffscreen setting
6054 https://bugs.webkit.org/show_bug.cgi?id=83733
6056 Reviewed by Adrienne Walker.
6058 Remove compositeOffscreen / compositeToTexture setting. This was an experiment that is no longer needed.
6060 * public/WebSettings.h:
6061 * src/WebLayerTreeView.cpp:
6062 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
6063 * src/WebSettingsImpl.cpp:
6064 (WebKit::WebSettingsImpl::WebSettingsImpl):
6065 * src/WebSettingsImpl.h:
6067 * src/WebViewImpl.cpp:
6068 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6070 2012-04-13 James Robinson <jamesr@chromium.org>
6072 [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API
6073 https://bugs.webkit.org/show_bug.cgi?id=83851
6075 Reviewed by Adam Barth.
6077 Moves the WebVideoFrame interface into Platform and removes the now unnecessary VideoFrameChromiumImpl adapter
6081 * public/WebVideoFrame.h:
6082 * src/AssertMatchingEnums.cpp:
6083 * src/VideoFrameChromiumImpl.cpp: Removed.
6084 * src/VideoFrameChromiumImpl.h: Removed.
6085 * src/WebMediaPlayerClientImpl.cpp:
6086 (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
6087 (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
6088 (WebKit::WebMediaPlayerClientImpl::supportsType):
6089 * src/WebMediaPlayerClientImpl.h:
6090 (WebMediaPlayerClientImpl):
6092 2012-04-13 Rob Flack <flackr@chromium.org>
6094 Chromium: Should enable -webkit-image-set
6095 https://bugs.webkit.org/show_bug.cgi?id=81859
6097 Reviewed by Adam Barth.
6101 2012-04-12 Michael Nordman <michaeln@google.com>
6103 [chromium] Now that the chromium port is using a different dom_storage backend
6104 library in its main browser process, there are a handful of files that should no
6105 longer be included in the build, and a few files than should be deleted
6106 outright, and the webkit api should be modified to reflect the new (and smaller)
6107 contract between the embedder and webkit/webcore.
6108 https://bugs.webkit.org/show_bug.cgi?id=83807
6110 Reviewed by Adam Barth.
6112 * WebKit.gyp: Delete a few files.
6113 * public/WebStorageNamespace.h: Remove some unused data members and methods, and annotate close() as deprecated.
6114 * public/platform/WebKitPlatformSupport.h: Annotate a method as deprecated.
6115 * src/StorageAreaProxy.cpp: Remove the include of a deleted file.
6116 * src/StorageEventDispatcherChromium.cpp: Removed.
6117 * src/StorageEventDispatcherImpl.cpp: Added a FIXME comment for upcoming work.
6118 * src/StorageNamespaceProxy.cpp: Modified to no longer call out to the embedder thru the deprecated close() method.
6119 * src/StorageNamespaceProxy.h: Moved some blank lines around.
6120 * src/WebStorageAreaImpl.cpp: Removed.
6121 * src/WebStorageAreaImpl.h: Removed.
6122 * src/WebStorageEventDispatcherImpl.cpp: Cleaned up some cruft.
6123 * src/WebStorageNamespaceImpl.cpp: Removed.
6124 * src/WebStorageNamespaceImpl.h: Removed.
6126 2012-04-13 Sheriff Bot <webkit.review.bot@gmail.com>
6128 Unreviewed, rolling out r114140.
6129 http://trac.webkit.org/changeset/114140
6130 https://bugs.webkit.org/show_bug.cgi?id=83921
6132 Fails fast/css/image-set-parsing.html test it attempts to
6133 introduce. (Requested by scheib on #webkit).
6137 2012-04-13 Rob Flack <flackr@chromium.org>
6139 Chromium: Should enable -webkit-image-set
6140 https://bugs.webkit.org/show_bug.cgi?id=81859
6142 Reviewed by Adam Barth.
6146 2012-04-13 Yury Semikhatsky <yurys@chromium.org>
6148 Unreviewed. Build fix after r114126.
6152 2012-04-13 Keishi Hattori <keishi@webkit.org>
6154 [chromium] Add WebKit API to access <datalist> options
6155 https://bugs.webkit.org/show_bug.cgi?id=83762
6157 Introduce WebInputElement::dataListOptions so we can implement a UI for datalist.
6159 Reviewed by Kent Tamura.
6161 * public/WebInputElement.h:
6164 * src/WebInputElement.cpp:
6165 (WebKit::WebInputElement::dataListOptions): Added. Returns a WebNodeCollection containing WebOptionElements.
6167 2012-04-13 Kent Tamura <tkent@chromium.org>
6169 Add a runtime flag for <input type=date>
6170 https://bugs.webkit.org/show_bug.cgi?id=83853
6172 Reviewed by Adam Barth.
6174 * public/WebRuntimeFeatures.h:
6175 (WebRuntimeFeatures): Add enableInputTypeDate() and isInputTypeDateEnabled().
6176 * src/WebRuntimeFeatures.cpp:
6177 (WebKit::WebRuntimeFeatures::enableInputTypeDate): Added.
6178 (WebKit::WebRuntimeFeatures::isInputTypeDateEnabled): Added.
6180 2012-04-13 Sheriff Bot <webkit.review.bot@gmail.com>
6182 Unreviewed. Rolled DEPS.
6186 2012-04-12 Dana Jansens <danakj@chromium.org>
6188 [chromium] Background filters for composited layers
6189 https://bugs.webkit.org/show_bug.cgi?id=80046
6191 Reviewed by Adrienne Walker.
6193 * tests/CCLayerImplTest.cpp:
6196 2012-04-12 Sheriff Bot <webkit.review.bot@gmail.com>
6198 Unreviewed, rolling out r114075.
6199 http://trac.webkit.org/changeset/114075
6200 https://bugs.webkit.org/show_bug.cgi?id=83857
6202 Breaks compile (Requested by jamesr on #webkit).
6205 * public/WebVideoFrame.h:
6208 (WebKit::WebVideoFrame::~WebVideoFrame):
6209 (WebKit::WebVideoFrame::format):
6210 (WebKit::WebVideoFrame::width):
6211 (WebKit::WebVideoFrame::height):
6212 (WebKit::WebVideoFrame::planes):
6213 (WebKit::WebVideoFrame::stride):
6214 (WebKit::WebVideoFrame::data):
6215 (WebKit::WebVideoFrame::textureId):
6216 (WebKit::WebVideoFrame::textureTarget):
6217 * src/AssertMatchingEnums.cpp:
6218 * src/VideoFrameChromiumImpl.cpp: Added.
6220 (WebKit::VideoFrameChromiumImpl::toWebVideoFrame):
6221 (WebKit::VideoFrameChromiumImpl::VideoFrameChromiumImpl):
6222 (WebKit::VideoFrameChromiumImpl::format):
6223 (WebKit::VideoFrameChromiumImpl::width):
6224 (WebKit::VideoFrameChromiumImpl::height):
6225 (WebKit::VideoFrameChromiumImpl::planes):
6226 (WebKit::VideoFrameChromiumImpl::stride):
6227 (WebKit::VideoFrameChromiumImpl::data):
6228 (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
6229 (WebKit::VideoFrameChromiumImpl::hasPaddingBytes):
6230 (WebKit::VideoFrameChromiumImpl::textureId):
6231 (WebKit::VideoFrameChromiumImpl::textureTarget):
6232 * src/VideoFrameChromiumImpl.h: Renamed from Source/Platform/chromium/public/WebVideoFrame.h.
6234 (VideoFrameChromiumImpl):
6235 * src/WebMediaPlayerClientImpl.cpp:
6236 (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
6237 (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
6238 (WebKit::WebMediaPlayerClientImpl::supportsType):
6239 * src/WebMediaPlayerClientImpl.h:
6240 (WebMediaPlayerClientImpl):
6242 2012-04-12 James Robinson <jamesr@chromium.org>
6244 [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API
6245 https://bugs.webkit.org/show_bug.cgi?id=83851
6247 Reviewed by Adam Barth.
6249 Moves the WebVideoFrame interface into Platform and removes the now unnecessary VideoFrameChromiumImpl adapter
6253 * public/WebVideoFrame.h:
6254 * src/AssertMatchingEnums.cpp:
6255 * src/VideoFrameChromiumImpl.cpp: Removed.
6256 * src/VideoFrameChromiumImpl.h: Removed.
6257 * src/WebMediaPlayerClientImpl.cpp:
6258 (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
6259 (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
6260 (WebKit::WebMediaPlayerClientImpl::supportsType):
6261 * src/WebMediaPlayerClientImpl.h:
6262 (WebMediaPlayerClientImpl):
6264 2012-04-12 David Dorwin <ddorwin@chromium.org>
6266 Add Encrypted Media Extensions events and errors to HTMLMediaElement
6267 https://bugs.webkit.org/show_bug.cgi?id=82974
6269 Reviewed by Adam Barth.
6271 The new events and errors are behind the ENABLE(ENCRYPTED_MEDIA) feature define.
6272 Implementation is based on v0.1 of the draft proposal at
6273 http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#events.
6275 * public/WebMediaPlayerClient.h:
6276 * src/AssertMatchingEnums.cpp:
6277 * src/WebMediaPlayerClientImpl.cpp:
6278 (WebKit::WebMediaPlayerClientImpl::keyAdded):
6280 (WebKit::WebMediaPlayerClientImpl::keyError):
6281 (WebKit::WebMediaPlayerClientImpl::keyMessage):
6282 (WebKit::WebMediaPlayerClientImpl::keyNeeded):
6283 * src/WebMediaPlayerClientImpl.h:
6284 (WebMediaPlayerClientImpl):
6286 2012-04-12 Kent Tamura <tkent@chromium.org>
6288 [Chromium] Enable INPUT_TYPE_DATE
6289 https://bugs.webkit.org/show_bug.cgi?id=83761
6291 Reviewed by Kentaro Hara.
6293 * features.gypi: Turn ENABLE_INPUT_TYPE_DATE on.
6295 2012-04-12 Kent Tamura <tkent@chromium.org>
6297 [Chromium] Fix !ENABLE(PAGE_POPUP) build
6299 * src/WebViewImpl.cpp:
6300 (WebKit::WebViewImpl::WebViewImpl): Wrap m_pagePopup with ENABLE(PAGE_POPUP).
6302 2012-04-12 Kent Tamura <tkent@chromium.org>
6304 [Chromium] Add PagePopup implementation
6305 https://bugs.webkit.org/show_bug.cgi?id=81081
6307 Reviewed by Adam Barth.
6309 Add WebPagePopupImpl class, which is an implementation of
6310 WebCore::PagePopup interface and WebKit::WebPagePopup interface. It's a
6311 WebWidget which has a Page object.
6313 No new tests because this makes no behavior change yet.
6315 * WebKit.gyp: Add WebPagePopupImpl.h.
6316 * src/ChromeClientImpl.cpp:
6317 (WebKit::ChromeClientImpl::hasOpenedPopup): Supports the PagePopup.
6318 (WebKit::ChromeClientImpl::openPagePopup):
6319 just delegate to WebViewImpl::openPagePopup().
6320 (WebKit::ChromeClientImpl::closePagePopup): ditto.
6322 * src/WebPagePopupImpl.cpp:
6323 (PagePopupChromeClient):
6324 This is a light implementation of ChromeClient for the page in
6325 WebPagePopupImpl. This is a friend of WebPagePopupImpl becase of ease of
6326 access to its members.
6327 (WebKit::PagePopupChromeClient::PagePopupChromeClient):
6328 (WebKit::WebPagePopupImpl::WebPagePopupImpl):
6329 (WebKit::WebPagePopupImpl::~WebPagePopupImpl):
6330 (WebKit::WebPagePopupImpl::init):
6331 (WebKit::WebPagePopupImpl::initPage):
6332 (WebKit::WebPagePopupImpl::size):
6333 (WebKit::WebPagePopupImpl::animate): Calls PageWidgetDelegate::animate().
6334 (WebKit::WebPagePopupImpl::composite):
6335 (WebKit::WebPagePopupImpl::layout): Calls PageWidgetDelegate::layout().
6336 (WebKit::WebPagePopupImpl::paint): Calls PageWidgetDelegate::paint().
6337 (WebKit::WebPagePopupImpl::resize):
6338 (WebKit::WebPagePopupImpl::handleKeyEvent):
6339 (WebKit::WebPagePopupImpl::handleCharEvent):
6340 (WebKit::WebPagePopupImpl::handleGestureEvent):
6341 (WebKit::WebPagePopupImpl::handleInputEvent):
6342 (WebKit::WebPagePopupImpl::setFocus):
6343 (WebKit::WebPagePopupImpl::close): Delete the page, and kill itself.
6344 (WebKit::WebPagePopupImpl::closePopup):
6345 (WebKit::WebPagePopup::create):
6346 * src/WebPagePopupImpl.h: Added.
6348 * src/WebViewImpl.cpp:
6349 (WebKit::WebViewImpl::WebViewImpl): Initialize m_pagePopup.
6350 (WebKit::WebViewImpl::handleKeyEvent):
6351 Renamed from keyEvent(). Forward key events to a PagePopup if it is open.
6352 (WebKit::WebViewImpl::handleCharEvent):
6353 Renamed from charEvent(). Forward char events to a PagePopup if it is open.
6354 (WebKit::WebViewImpl::openPagePopup):
6355 Added. Instantiate a WebPagePopupImpl, calculates a good bounding
6356 rectangle of the page popup from the specified element rectangle,
6357 initialize the WebPagePopupImpl, and stop caret blink.
6358 (WebKit::WebViewImpl::closePagePopup):
6359 Close the popup, clear m_pagePopup, and resume caret blink.
6360 (WebKit::WebViewImpl::setFocus): Hide all the popups.
6361 (WebKit::WebViewImpl::hidePopups): Hide the page popup too.
6362 * src/WebViewImpl.h:
6363 (WebKit::WebViewImpl::hasOpenedPopup): Checks the page popup too.
6365 2012-04-12 Kent Tamura <tkent@chromium.org>
6367 [Chromium] Move some code of WebViewImpl and WebFrameImpl to PageWidgetDelegate
6368 https://bugs.webkit.org/show_bug.cgi?id=83750
6370 Reviewed by Adam Barth.
6372 In order to share code in WebViewImpl and the incoming WebPagePopupImpl,
6373 we move some code of WebViewImpl and WebFrameImpl to PageWidgetDelegate.
6374 PageWidgetDelegate is a set of static functions because we can't use
6375 virtual inheritance in this case and we don't want to move WebView's
6376 data members to another class.
6378 No new tests. Just refactoring.
6380 * WebKit.gyp: Add PageWidgetDelegate.{cpp,h} and WebPagePopupImpl.h.
6381 * src/PageWidgetDelegate.cpp: Added.
6382 (WebKit::mainFrameView):
6383 (WebKit::PageWidgetDelegate::animate):
6384 Moved from a part of WebViewImpl::animatie()
6385 (WebKit::PageWidgetDelegate::layout):
6386 Moved from WebViewImpl::layout() and WebFrameImpl::layout().
6387 (WebKit::PageWidgetDelegate::paint):
6388 Moved from WebFrameImpl::paint() and paintWithContext().
6389 (WebKit::PageWidgetDelegate::handleInputEvent):
6390 Moved from a part of WebViewImpl::handleInputEvent().
6391 (WebKit::PageWidgetEventHandler::handleMouseMove):
6392 Common implementation of an event handling.
6393 (WebKit::PageWidgetEventHandler::handleMouseLeave): ditto.
6394 (WebKit::PageWidgetEventHandler::handleMouseDown): ditto.
6395 (WebKit::PageWidgetEventHandler::handleMouseUp): ditto.
6396 (WebKit::PageWidgetEventHandler::handleMouseWheel): ditto.
6397 (WebKit::PageWidgetEventHandler::handleTouchEvent): ditto.
6398 * src/PageWidgetDelegate.h: Added.
6399 * src/WebFrameImpl.cpp:
6400 Remove layout(), paintWithContext(), and paint(). They are moved to
6402 * src/WebFrameImpl.h:
6403 (WebFrameImpl): Remove layout(), paintWithContext(), and paint().
6404 * src/WebViewImpl.cpp:
6405 (WebKit::WebViewImpl::handleMouseLeave):
6406 Renamed from mouseLeave(), use PageWidgetDelegate::handleMouseLeave().
6407 (WebKit::WebViewImpl::handleMouseDown):
6408 Renamed from mouseDown(), use PageWidgetDelegate::handleMouseDown().
6409 (WebKit::WebViewImpl::handleMouseUp):
6410 Renamed from mouseUp(), use PageWidgetDelegate::handleMouseUp().
6411 (WebKit::WebViewImpl::scrollBy): Calls renamed handleMouseWheel().
6412 (WebKit::WebViewImpl::handleGestureEvent): Renamed from gestureEvent().
6413 (WebKit::WebViewImpl::handleKeyEvent): Renamed from keyEvent().
6414 (WebKit::WebViewImpl::handleCharEvent): Renamed from charEvent().
6415 (WebKit::WebViewImpl::updateAnimations): Uses PageWidgetDelegate::animate().
6416 (WebKit::WebViewImpl::layout): Uses PageWidgetDelegate::layout().
6417 (WebKit::WebViewImpl::paint): Uses PageWidgetDelegate::paint().
6418 (WebKit::WebViewImpl::handleInputEvent): Uses PageWidgetDelegate::handleInputEvent().
6419 * src/WebViewImpl.h:
6421 2012-04-12 Adrienne Walker <enne@google.com>
6423 [chromium] Fix Windows compiler warnings in webkit_unit_test target
6424 https://bugs.webkit.org/show_bug.cgi?id=83732
6426 Reviewed by Kent Tamura.
6428 * tests/CCDamageTrackerTest.cpp:
6429 (WebKitTests::TEST_F):
6430 * tests/CCLayerImplTest.cpp:
6432 * tests/CCLayerTreeHostCommonTest.cpp:
6433 (WebKitTests::TEST):
6434 * tests/CCLayerTreeHostImplTest.cpp:
6435 (WebKitTests::TEST_F):
6436 * tests/CCQuadCullerTest.cpp:
6438 * tests/FloatQuadTest.cpp:
6440 * tests/ScrollAnimatorNoneTest.cpp:
6442 * tests/TreeSynchronizerTest.cpp:
6443 (WebKitTests::TEST):
6444 * tests/WebLayerTest.cpp:
6446 2012-04-11 Alec Flett <alecflett@chromium.org>
6448 IndexedDB: Stub out WebKit interface for get(IndexedKeyRange)
6449 https://bugs.webkit.org/show_bug.cgi?id=83637
6451 Reviewed by Kent Tamura.
6453 This is just a stub-out of IDBObjectStore.get(IDBKeyRange) to coordinate
6454 a landing in chromium
6456 * public/WebIDBObjectStore.h:
6457 (WebKit::WebIDBObjectStore::get):
6458 (WebIDBObjectStore):
6459 * src/IDBObjectStoreBackendProxy.cpp:
6460 (WebKit::IDBObjectStoreBackendProxy::get):
6462 * src/IDBObjectStoreBackendProxy.h:
6463 (IDBObjectStoreBackendProxy):
6464 * src/WebIDBObjectStoreImpl.cpp:
6465 (WebKit::WebIDBObjectStoreImpl::get):
6467 * src/WebIDBObjectStoreImpl.h:
6468 (WebIDBObjectStoreImpl):
6470 2012-04-11 Kenichi Ishibashi <bashi@chromium.org>
6472 [chromium] Fix Windows warnings in WebSocketDeflaterTest
6473 https://bugs.webkit.org/show_bug.cgi?id=83731
6475 Reviewed by Kent Tamura.
6477 Use const char* instead of const char[] to suppress warnings on
6480 * tests/WebSocketDeflaterTest.cpp:
6483 2012-04-11 David Dorwin <ddorwin@chromium.org>
6485 Add keySystem attribute to canPlayType() for Encrypted Media Extensions
6486 https://bugs.webkit.org/show_bug.cgi?id=82973
6488 Reviewed by Adam Barth.
6490 The new attribute is behind the ENABLE(ENCRYPTED_MEDIA) feature define.
6491 Implementation is based on v0.1 of the draft proposal at
6492 http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#extensions.
6494 * src/WebMediaPlayerClientImpl.cpp:
6495 (WebKit::WebMediaPlayerClientImpl::supportsType):
6496 * src/WebMediaPlayerClientImpl.h:
6497 (WebMediaPlayerClientImpl):
6499 2012-04-10 James Robinson <jamesr@chromium.org>
6501 [chromium] Add OVERRIDE annotations for cc layer types
6502 https://bugs.webkit.org/show_bug.cgi?id=83658
6504 Reviewed by Daniel Bates.
6506 This adds OVERRIDE annotations to overrides of functions on these classes:
6509 - TiledLayerChromium
6511 * src/WebLayerImpl.cpp:
6512 * src/WebLayerImpl.h:
6513 (WebLayerImpl): Removed unused and empty paintContents() function.
6514 * tests/CCLayerIteratorTest.cpp:
6515 * tests/CCLayerTreeHostCommonTest.cpp:
6516 * tests/CCLayerTreeHostImplTest.cpp:
6517 * tests/CCLayerTreeHostTest.cpp:
6518 * tests/CCOcclusionTrackerTest.cpp:
6519 * tests/CCTiledLayerTestCommon.h:
6520 (FakeTiledLayerChromium):
6521 * tests/LayerChromiumTest.cpp:
6522 * tests/TreeSynchronizerTest.cpp:
6524 2012-04-11 James Robinson <jamesr@chromium.org>
6526 [chromium] Add OVERRIDE annotations for cc animation-related interfaces
6527 https://bugs.webkit.org/show_bug.cgi?id=83650
6529 Reviewed by Daniel Bates.
6531 This adds OVERRIDE annotations to the implementations of the following interfaces:
6533 - CCFloatAnimationCurve
6534 - CCLayerAnimationControllerClient
6535 - CCTransformAnimationCurve
6537 * tests/CCAnimationTestCommon.h:
6539 2012-04-11 Aaron Colwell <acolwell@chromium.org>
6541 Remove webkit prefix from Media Source runtime feature name.
6542 https://bugs.webkit.org/show_bug.cgi?id=83633
6544 Reviewed by Adam Barth.
6546 * src/WebRuntimeFeatures.cpp:
6547 (WebKit::WebRuntimeFeatures::enableMediaSource):
6548 (WebKit::WebRuntimeFeatures::isMediaSourceEnabled):
6550 2012-04-11 Adrienne Walker <enne@google.com>
6552 [chromium] Draw missing layer tile checkerboards as checkerboards
6553 https://bugs.webkit.org/show_bug.cgi?id=83241
6555 Reviewed by James Robinson.
6557 Rename usedCheckerboard to hadMissingTile to avoid confusion. Update
6558 tests to not expect SolidColor quads for checkerboards.
6560 * src/NonCompositedContentHost.cpp:
6561 (WebKit::NonCompositedContentHost::NonCompositedContentHost):
6562 * tests/CCQuadCullerTest.cpp:
6563 (WebCore::appendQuads):
6564 * tests/CCSolidColorLayerImplTest.cpp:
6565 (CCLayerTestCommon::TEST):
6566 * tests/CCTiledLayerImplTest.cpp:
6567 (CCLayerTestCommon::TEST):
6568 (CCLayerTestCommon::getQuads):
6569 * tests/LayerChromiumTest.cpp:
6571 2012-04-11 Ami Fischman <fischman@chromium.org>
6573 Remove unused WebVideoFrame::Format values
6574 https://bugs.webkit.org/show_bug.cgi?id=83625
6576 Reviewed by Kenneth Russell.
6578 * public/WebVideoFrame.h:
6580 * src/AssertMatchingEnums.cpp:
6582 2012-04-11 'Pavel Feldman' <pfeldman@chromium.org>
6584 Follow up to r113863: fix chromium inspector interactive test harness.
6588 2012-04-11 Sadrul Habib Chowdhury <sadrul@chromium.org>
6590 [chromium] Add Battery Status API support.
6592 The battery-client (BatteryClientChromium) will notify the client (WebBatteryStatusClient) when to start or stop
6593 sending battery status updates. The client, in response will send the notifications to WebViewImpl, which sends
6594 this update information to the WebCore::BatteryClient, and it triggers the appropriate javascript-callbacks.
6595 The spec is at http://www.w3.org/TR/2011/WD-battery-status-20111129/.
6596 https://bugs.webkit.org/show_bug.cgi?id=83284
6598 Reviewed by Adam Barth.
6602 * public/WebBatteryStatus.h: Added.
6605 (WebKit::WebBatteryStatus::WebBatteryStatus):
6606 * public/WebBatteryStatusClient.h: Added.
6608 (WebBatteryStatusClient):
6609 (WebKit::WebBatteryStatusClient::~WebBatteryStatusClient):
6613 (WebKit::WebView::updateBatteryStatus):
6614 * public/WebViewClient.h:
6617 (WebKit::WebViewClient::batteryStatusClient):
6618 * src/BatteryClientImpl.cpp: Added.
6620 (WebKit::BatteryClientImpl::BatteryClientImpl):
6621 (WebKit::BatteryClientImpl::updateBatteryStatus):
6622 (WebKit::BatteryClientImpl::setController):
6623 (WebKit::BatteryClientImpl::startUpdating):
6624 (WebKit::BatteryClientImpl::stopUpdating):
6625 (WebKit::BatteryClientImpl::batteryControllerDestroyed):
6626 * src/BatteryClientImpl.h: Added.
6628 (BatteryClientImpl):
6629 (WebKit::BatteryClientImpl::~BatteryClientImpl):
6630 * src/WebViewImpl.cpp:
6631 (WebKit::WebViewImpl::WebViewImpl):
6633 (WebKit::WebViewImpl::updateBatteryStatus):
6634 * src/WebViewImpl.h:
6638 2012-04-10 Ami Fischman <fischman@chromium.org>
6640 Roll Chromium DEPS to last-known good revision
6641 https://bugs.webkit.org/show_bug.cgi?id=83652
6643 Unreviewed, just a DEPS roll (131469:131684)
6647 2012-04-10 Alexandre Elias <aelias@google.com>
6649 Add gesture event enums for long-press and pinch
6650 https://bugs.webkit.org/show_bug.cgi?id=83640
6652 Reviewed by James Robinson.
6654 Add new enum values GestureLongPress and GesturePinchBegin/End/Update,
6655 along with no-op default handling.
6657 * public/WebInputEvent.h:
6658 * src/WebInputEventConversion.cpp:
6659 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
6660 * src/WebPopupMenuImpl.cpp:
6661 (WebKit::WebPopupMenuImpl::handleInputEvent):
6662 * src/WebViewImpl.cpp:
6663 (WebKit::WebViewImpl::gestureEvent):
6665 2012-04-10 James Robinson <jamesr@chromium.org>
6667 [chromium] Add OVERRIDE annotations for cc tree host and proxy interfaces
6668 https://bugs.webkit.org/show_bug.cgi?id=83653
6670 Reviewed by Adrienne Walker.
6672 This adds OVERRIDE annotations to the implementations of the following interfaces:
6673 - CCLayerTreeHostClient
6674 - CCLayerTreeHostImplClient
6676 - LayerRendererChromiumClient
6678 * src/WebLayerTreeViewImpl.h:
6679 (WebLayerTreeViewImpl):
6680 * src/WebViewImpl.h:
6682 * tests/CCLayerTreeHostImplTest.cpp:
6683 * tests/CCLayerTreeHostTest.cpp:
6684 * tests/FakeCCLayerTreeHostClient.h:
6685 * tests/LayerRendererChromiumTest.cpp:
6687 2012-04-10 James Robinson <jamesr@chromium.org>
6689 [chromium] Add OVERRIDE annotations for cc scheduler-related client interfaces
6690 https://bugs.webkit.org/show_bug.cgi?id=83646
6692 Reviewed by Adrienne Walker.
6694 This adds OVERRIDE annotations to the implementations of the following interfaces:
6695 - CCFrameRateControllerClient
6698 - CCTimeSourceClient
6702 * tests/CCSchedulerTest.cpp:
6703 * tests/CCSchedulerTestCommon.h:
6705 2012-04-10 James Robinson <jamesr@chromium.org>
6707 [chromium] Fold LayerChromium::updateCompositorResources into main update
6708 https://bugs.webkit.org/show_bug.cgi?id=83530
6710 Reviewed by Adrienne Walker.
6712 Update tests for interface changes.
6714 * tests/CCLayerTreeHostTest.cpp:
6715 (WTF::CCLayerTreeHostTest::runTest):
6716 (WTF::ContentLayerChromiumWithUpdateTracking::update):
6717 (WTF::ContentLayerChromiumWithUpdateTracking::idleUpdate):
6718 (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
6719 (ContentLayerChromiumWithUpdateTracking):
6720 (WTF::CCLayerTreeHostTestOpacityChange::afterTest):
6721 (WTF::CCLayerTreeHostTestSetViewportSize::beginTest):
6722 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
6723 (WTF::TestLayerChromium::update):
6724 (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
6725 (WTF::CCLayerTreeHostTestContentLayerOcclusion::beginTest):
6726 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
6727 (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
6728 * tests/CCTiledLayerTestCommon.cpp:
6729 (WebKitTests::FakeLayerTextureUpdater::updateLayerRect):
6730 (WebKitTests::FakeTiledLayerChromium::update):
6731 * tests/CCTiledLayerTestCommon.h:
6732 (FakeLayerTextureUpdater):
6733 (FakeTiledLayerChromium):
6734 * tests/Canvas2DLayerChromiumTest.cpp:
6735 * tests/TiledLayerChromiumTest.cpp:
6737 (WTF::idlePaintRepeat):
6739 2012-04-10 Adam Barth <abarth@webkit.org>
6741 Limit -apple- and -khtml- to ENABLE(DASHBOARD_SUPPORT)
6742 https://bugs.webkit.org/show_bug.cgi?id=83256
6744 Reviewed by Eric Seidel.
6748 2012-04-10 Tim Dresser <tdresser@chromium.org>
6750 [Chromium] defaultDeviceScaleFactor != 0 should set deviceScaleFactor = defaultDeviceScaleFactor in the absence of a viewport tag for debugging purposes
6751 https://bugs.webkit.org/show_bug.cgi?id=82757
6753 Reviewed by Darin Fisher.
6755 If there is no viewport tag, the deviceScaleFactor is set to the defaultDeviceScaleFactor.
6756 Tested by: WebFrameTest.DeviceScaleFactorUsesDefaultWithoutViewportTag.
6758 * src/ChromeClientImpl.cpp:
6760 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
6761 * tests/WebFrameTest.cpp:
6763 (FixedLayoutTestWebViewClient):
6765 * tests/data/no_viewport_tag.html: Added.
6767 2012-04-10 Sheriff Bot <webkit.review.bot@gmail.com>
6769 Unreviewed, rolling out r113734.
6770 http://trac.webkit.org/changeset/113734
6771 https://bugs.webkit.org/show_bug.cgi?id=83606
6773 causing a bunch of unrelated test failures (Requested by
6774 simonjam on #webkit).
6778 * public/WebBatteryStatus.h: Removed.
6779 * public/WebBatteryStatusClient.h: Removed.
6783 * public/WebViewClient.h:
6785 * src/BatteryClientImpl.cpp: Removed.
6786 * src/BatteryClientImpl.h: Removed.
6787 * src/WebViewImpl.cpp:
6788 (WebKit::WebViewImpl::WebViewImpl):
6789 * src/WebViewImpl.h:
6793 2012-04-09 James Robinson <jamesr@chromium.org>
6795 [chromium] Defer texture id allocation for copies until the actual copy executes
6796 https://bugs.webkit.org/show_bug.cgi?id=83514
6798 Reviewed by Adrienne Walker.
6800 * tests/CCTiledLayerTestCommon.cpp:
6801 * tests/CCTiledLayerTestCommon.h:
6802 * tests/Canvas2DLayerChromiumTest.cpp:
6803 * tests/TiledLayerChromiumTest.cpp:
6806 2012-04-10 David Dorwin <ddorwin@chromium.org>
6808 Add Encrypted Media Extensions methods to HTMLMediaElement
6809 https://bugs.webkit.org/show_bug.cgi?id=82971
6811 Reviewed by Adam Barth.
6813 The extensions are behind the ENABLE(ENCRYPTED_MEDIA) feature define.
6814 Implementation is based on v0.1 of the draft proposal at
6815 http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html.
6818 * public/WebMediaPlayer.h:
6821 (WebKit::WebMediaPlayer::generateKeyRequest):
6822 (WebKit::WebMediaPlayer::addKey):
6823 (WebKit::WebMediaPlayer::cancelKeyRequest):
6824 * public/WebRuntimeFeatures.h:
6825 (WebRuntimeFeatures):
6826 * src/AssertMatchingEnums.cpp:
6827 * src/WebMediaPlayerClientImpl.cpp:
6829 (WebKit::WebMediaPlayerClientImpl::generateKeyRequest):
6830 (WebKit::WebMediaPlayerClientImpl::addKey):
6831 (WebKit::WebMediaPlayerClientImpl::cancelKeyRequest):
6832 * src/WebMediaPlayerClientImpl.h:
6833 (WebMediaPlayerClientImpl):
6834 * src/WebRuntimeFeatures.cpp:
6835 (WebKit::WebRuntimeFeatures::isMediaStreamEnabled):
6836 (WebKit::WebRuntimeFeatures::enableEncryptedMedia):
6838 (WebKit::WebRuntimeFeatures::isEncryptedMediaEnabled):
6840 2012-04-10 Sadrul Habib Chowdhury <sadrul@chromium.org>
6842 [chromium] Add Battery Status API support.
6844 The battery-client (BatteryClientChromium) will notify the client (WebBatteryStatusClient) when to start or stop
6845 sending battery status updates. The client, in response will send the notifications to WebViewImpl, which sends
6846 this update information to the WebCore::BatteryClient, and it triggers the appropriate javascript-callbacks.
6847 The spec is at http://www.w3.org/TR/2011/WD-battery-status-20111129/.
6848 https://bugs.webkit.org/show_bug.cgi?id=83284
6850 Reviewed by Adam Barth.
6854 * public/WebBatteryStatus.h: Added.
6857 (WebKit::WebBatteryStatus::WebBatteryStatus):
6858 * public/WebBatteryStatusClient.h: Added.
6860 (WebBatteryStatusClient):
6861 (WebKit::WebBatteryStatusClient::~WebBatteryStatusClient):
6865 (WebKit::WebView::updateBatteryStatus):
6866 * public/WebViewClient.h:
6869 (WebKit::WebViewClient::batteryStatusClient):
6870 * src/BatteryClientImpl.cpp: Added.
6872 (WebKit::BatteryClientImpl::BatteryClientImpl):
6873 (WebKit::BatteryClientImpl::updateBatteryStatus):
6874 (WebKit::BatteryClientImpl::setController):
6875 (WebKit::BatteryClientImpl::startUpdating):
6876 (WebKit::BatteryClientImpl::stopUpdating):
6877 (WebKit::BatteryClientImpl::batteryControllerDestroyed):
6878 * src/BatteryClientImpl.h: Added.
6880 (BatteryClientImpl):
6881 (WebKit::BatteryClientImpl::~BatteryClientImpl):
6882 * src/WebViewImpl.cpp:
6883 (WebKit::WebViewImpl::WebViewImpl):
6885 (WebKit::WebViewImpl::updateBatteryStatus):
6886 * src/WebViewImpl.h:
6890 2012-04-10 Zhenyao Mo <zmo@google.com>
6892 Unreviewed, roll chromium to 131469
6896 2012-04-09 Alexander Pavlov <apavlov@chromium.org>
6898 Web Inspector: [Device Metrics] Introduce the "Fit window" option
6899 https://bugs.webkit.org/show_bug.cgi?id=83280
6901 Implement the scaling of the FrameView to the WebViewImpl size, handle WebViewImpl resizes.
6903 Reviewed by Pavel Feldman.
6905 * src/InspectorClientImpl.cpp:
6906 (WebKit::InspectorClientImpl::overrideDeviceMetrics):
6907 * src/InspectorClientImpl.h:
6908 (InspectorClientImpl):
6909 * src/WebDevToolsAgentImpl.cpp:
6910 (WebKit::DeviceMetricsSupport::DeviceMetricsSupport):
6911 (WebKit::DeviceMetricsSupport::setDeviceMetrics):
6912 (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidthOnNavigation):
6913 (DeviceMetricsSupport):
6914 (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
6915 (WebKit::DeviceMetricsSupport::webViewResized):
6916 (WebKit::DeviceMetricsSupport::applySizeOverrideIfNecessary):
6917 (WebKit::DeviceMetricsSupport::ensureOriginalZoomFactor):
6918 (WebKit::DeviceMetricsSupport::restore):
6919 (WebKit::DeviceMetricsSupport::scaledEmulatedFrameSize):
6920 (WebKit::DeviceMetricsSupport::forcedScrollbarDimensions):
6921 (WebKit::DeviceMetricsSupport::applySizeOverrideInternal):
6922 (WebKit::WebDevToolsAgentImpl::webViewResized):
6924 (WebKit::WebDevToolsAgentImpl::overrideDeviceMetrics):
6925 (WebKit::WebDevToolsAgentImpl::autoZoomPageToFitWidth):
6926 * src/WebDevToolsAgentImpl.h:
6927 (WebDevToolsAgentImpl):
6928 * src/WebDevToolsAgentPrivate.h:
6929 (WebDevToolsAgentPrivate):
6930 * src/WebViewImpl.cpp:
6931 (WebKit::WebViewImpl::resize):
6933 2012-04-09 Kent Tamura <tkent@chromium.org>
6935 [Chromium] Remove unused variable, WebViewImpl::m_lastMousePosition.
6936 https://bugs.webkit.org/show_bug.cgi?id=83550
6938 Reviewed by Kentaro Hara.
6940 * src/WebViewImpl.cpp:
6941 (WebKit::WebViewImpl::WebViewImpl):
6942 (WebKit::WebViewImpl::mouseMove):
6943 * src/WebViewImpl.h:
6945 2012-04-09 Dana Jansens <danakj@chromium.org>
6947 [chromium] Viewport is not filled when out of texture memory on mac
6948 https://bugs.webkit.org/show_bug.cgi?id=83351
6950 Reviewed by Adrienne Walker.
6952 * src/NonCompositedContentHost.cpp:
6953 (WebKit::NonCompositedContentHost::NonCompositedContentHost):
6954 (WebKit::NonCompositedContentHost::setBackgroundColor):
6955 * src/WebLayerTreeView.cpp:
6956 (WebKit::WebLayerTreeView::setBackgroundColor):
6958 * src/WebViewImpl.cpp:
6959 (WebKit::WebViewImpl::setBackgroundColor):
6961 (WebKit::WebViewImplContentPainter::paint):
6962 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6963 * src/WebViewImpl.h:
6966 * tests/CCLayerImplTest.cpp:
6968 * tests/CCLayerTreeHostImplTest.cpp:
6969 (WebKitTests::BlendStateCheckLayer::appendQuads):
6970 (WebKitTests::TEST_F):
6972 * tests/CCLayerTreeHostTest.cpp:
6974 (CCLayerTreeHostTestCommit):
6975 (WTF::CCLayerTreeHostTestCommit::CCLayerTreeHostTestCommit):
6976 (WTF::CCLayerTreeHostTestCommit::beginTest):
6977 (WTF::CCLayerTreeHostTestCommit::commitCompleteOnCCThread):
6978 (WTF::CCLayerTreeHostTestCommit::afterTest):
6980 (TestLayerChromium):
6981 * tests/CCOcclusionTrackerTest.cpp:
6982 (WebKitTests::TestContentLayerChromium::TestContentLayerChromium):
6983 (WebKitTests::TestContentLayerChromium::visibleContentOpaqueRegion):
6984 (WebKitTests::TestContentLayerChromium::setOpaqueContentsRect):
6985 (TestContentLayerChromium):
6986 (WebKitTests::TestContentLayerImpl::TestContentLayerImpl):
6987 (TestContentLayerImpl):
6988 (WebKitTests::TestContentLayerImpl::visibleContentOpaqueRegion):
6989 (WebKitTests::TestContentLayerImpl::setOpaqueContentsRect):
6990 * tests/CCTiledLayerImplTest.cpp:
6991 * tests/LayerChromiumTest.cpp:
6993 2012-04-09 Sheriff Bot <webkit.review.bot@gmail.com>
6995 Unreviewed, rolling out r113656.
6996 http://trac.webkit.org/changeset/113656
6997 https://bugs.webkit.org/show_bug.cgi?id=83542
6999 test is broken on chromium-win (Requested by simonjam on
7002 * public/WebIntent.h:
7004 * src/WebIntent.cpp:
7006 2012-04-09 James Robinson <jamesr@chromium.org>
7008 [chromium] More unreviewed OwnPtr<>::operator= related clang build fixes in unit tests.
7010 * tests/Canvas2DLayerChromiumTest.cpp:
7011 * tests/LayerChromiumTest.cpp:
7013 2012-04-09 Dana Jansens <danakj@chromium.org>
7015 [chromium] Cull occluded surface quads
7016 https://bugs.webkit.org/show_bug.cgi?id=81227
7018 Reviewed by Adrienne Walker.
7020 * tests/CCOcclusionTrackerTest.cpp:
7021 (WebKitTests::CCOcclusionTrackerTest::TearDown):
7022 (WebKitTests::CCOcclusionTrackerTest::createReplicaLayer):
7023 (CCOcclusionTrackerTest):
7024 (WebKitTests::CCOcclusionTrackerTest::setReplica):
7025 (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
7026 (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
7027 (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
7028 (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
7029 (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
7030 (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest):
7032 (CCOcclusionTrackerTestReplicaOccluded):
7033 (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
7034 (CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded):
7035 (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
7036 (CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently):
7037 (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
7038 (CCOcclusionTrackerTestSurfaceChildOfSurface):
7039 (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
7041 2012-04-09 James Robinson <jamesr@chromium.org>
7043 [chromium] Unreviewed build fix. OwnPtr<>::operator = breaks the build on clang, but not gcc :(
7045 * tests/CCLayerTreeHostTest.cpp:
7046 (WTF::MockLayerTreeHost::create):
7047 * tests/Canvas2DLayerChromiumTest.cpp:
7048 * tests/LayerChromiumTest.cpp:
7050 2012-04-09 Dana Jansens <danakj@chromium.org>
7052 [chromium] Make culling work with clipped rects
7053 https://bugs.webkit.org/show_bug.cgi?id=83494
7055 Reviewed by Adrienne Walker.
7057 * tests/CCOcclusionTrackerTest.cpp:
7058 (CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude):
7059 (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest):
7061 (CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect):
7062 (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
7063 * tests/CCQuadCullerTest.cpp:
7064 (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
7065 (WebCore::makeLayer):
7068 2012-04-09 Sheriff Bot <webkit.review.bot@gmail.com>
7070 Unreviewed, rolling out r113613.
7071 http://trac.webkit.org/changeset/113613
7072 https://bugs.webkit.org/show_bug.cgi?id=83509
7074 crashing most chromium bots (Requested by simonjam on
7079 * public/WebBatteryStatus.h: Removed.
7080 * public/WebBatteryStatusClient.h: Removed.
7084 * public/WebViewClient.h:
7086 * src/BatteryClientImpl.cpp: Removed.
7087 * src/BatteryClientImpl.h: Removed.
7088 * src/WebViewImpl.cpp:
7089 (WebKit::WebViewImpl::WebViewImpl):
7090 * src/WebViewImpl.h:
7094 2012-04-09 James Robinson <jamesr@chromium.org>
7096 [chromium] CCLayerTreeHost / WebLayerTreeView should be single ownership, not RefCounted
7097 https://bugs.webkit.org/show_bug.cgi?id=83413
7099 Reviewed by Adrienne Walker.
7101 Updates tests and implementation for RefPtr->OwnPtr switch. One nice benefit is that since WebLayerTreeView is
7102 explicitly owned by the user of the API we can safely rely on them managing the lifetime of the client and thus
7103 don't have to null check the client all the time.
7105 * src/WebLayerTreeView.cpp:
7106 (WebKit::WebLayerTreeView::reset):
7107 (WebKit::WebLayerTreeView::isNull):
7108 (WebKit::WebLayerTreeView::initialize):
7109 * src/WebLayerTreeViewImpl.cpp:
7110 (WebKit::WebLayerTreeViewImpl::create):
7111 (WebKit::WebLayerTreeViewImpl::willBeginFrame):
7112 (WebKit::WebLayerTreeViewImpl::updateAnimations):
7113 (WebKit::WebLayerTreeViewImpl::layout):
7114 (WebKit::WebLayerTreeViewImpl::applyScrollAndScale):
7115 (WebKit::WebLayerTreeViewImpl::createContext):
7116 (WebKit::WebLayerTreeViewImpl::didRecreateContext):
7117 (WebKit::WebLayerTreeViewImpl::didCommit):
7118 (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
7119 (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
7120 (WebKit::WebLayerTreeViewImpl::scheduleComposite):
7121 * src/WebLayerTreeViewImpl.h:
7122 (WebLayerTreeViewImpl):
7123 * tests/CCLayerTreeHostTest.cpp:
7124 (WTF::MockLayerTreeHost::create):
7125 (CCLayerTreeHostTest):
7126 * tests/Canvas2DLayerChromiumTest.cpp:
7127 * tests/LayerChromiumTest.cpp:
7128 * tests/TiledLayerChromiumTest.cpp:
7131 2012-04-09 Joshua Bell <jsbell@chromium.org>
7133 Unreviewed, rolling out r113473.
7134 http://trac.webkit.org/changeset/113473
7135 https://bugs.webkit.org/show_bug.cgi?id=83074
7137 Change does not handle cursor retention of LevelDB iterators
7140 * tests/IDBDatabaseBackendTest.cpp: Removed.
7142 2012-04-06 James Robinson <jamesr@chromium.org>
7144 [chromium] Texture copies should happen after incremental updates to preserve commit atomicity
7145 https://bugs.webkit.org/show_bug.cgi?id=83392
7147 Reviewed by Adrienne Walker.
7149 * tests/Canvas2DLayerChromiumTest.cpp:
7151 2012-04-09 Sadrul Habib Chowdhury <sadrul@chromium.org>
7153 [chromium] Add Battery Status API support.
7155 The battery-client (BatteryClientChromium) will notify the client (WebBatteryStatusClient) when to start or stop
7156 sending battery status updates. The client, in response will send the notifications to WebViewImpl, which sends
7157 this update information to the WebCore::BatteryClient, and it triggers the appropriate javascript-callbacks.
7158 The spec is at http://www.w3.org/TR/2011/WD-battery-status-20111129/.
7159 https://bugs.webkit.org/show_bug.cgi?id=83284
7161 Reviewed by Adam Barth.
7165 * public/WebBatteryStatus.h: Added.
7168 (WebKit::WebBatteryStatus::WebBatteryStatus):
7169 * public/WebBatteryStatusClient.h: Added.
7171 (WebBatteryStatusClient):
7172 (WebKit::WebBatteryStatusClient::~WebBatteryStatusClient):
7176 (WebKit::WebView::updateBatteryStatus):
7177 * public/WebViewClient.h:
7180 (WebKit::WebViewClient::batteryStatusClient):
7181 * src/BatteryClientImpl.cpp: Added.
7183 (WebKit::BatteryClientImpl::BatteryClientImpl):
7184 (WebKit::BatteryClientImpl::updateBatteryStatus):
7185 (WebKit::BatteryClientImpl::setController):
7186 (WebKit::BatteryClientImpl::startUpdating):
7187 (WebKit::BatteryClientImpl::stopUpdating):
7188 (WebKit::BatteryClientImpl::batteryControllerDestroyed):
7189 * src/BatteryClientImpl.h: Added.
7191 (BatteryClientImpl):
7192 (WebKit::BatteryClientImpl::~BatteryClientImpl):
7193 * src/WebViewImpl.cpp:
7194 (WebKit::WebViewImpl::WebViewImpl):
7196 (WebKit::WebViewImpl::updateBatteryStatus):
7197 * src/WebViewImpl.h:
7201 2012-04-09 Shawn Singh <shawnsingh@chromium.org>
7203 [chromium] Fix layer sorting perspective w if w becomes negative
7204 https://bugs.webkit.org/show_bug.cgi?id=82997
7206 Reviewed by Adrienne Walker.
7208 * tests/CCLayerSorterTest.cpp:
7212 2012-04-09 Dana Jansens <danakj@chromium.org>
7214 [chromium] Flip transition painting delayed with threaded animations
7215 https://bugs.webkit.org/show_bug.cgi?id=82571
7217 Reviewed by Adrienne Walker.
7219 * tests/CCLayerTreeHostCommonTest.cpp:
7220 (WebKitTests::TEST):
7223 2012-04-09 Sheriff Bot <webkit.review.bot@gmail.com>
7225 Unreviewed, rolling out r113561.
7226 http://trac.webkit.org/changeset/113561
7227 https://bugs.webkit.org/show_bug.cgi?id=83487
7229 broke webkit_unit_tests (Requested by simonjam on #webkit).
7231 * tests/CCOcclusionTrackerTest.cpp:
7233 * tests/CCQuadCullerTest.cpp:
7234 (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
7236 2012-04-09 Dana Jansens <danakj@chromium.org>
7238 [chromium] Make culling work with clipped rects
7239 https://bugs.webkit.org/show_bug.cgi?id=83217
7241 Reviewed by Adrienne Walker.
7243 * tests/CCOcclusionTrackerTest.cpp:
7244 (CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude):
7245 (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest):
7247 (CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect):
7248 (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
7249 * tests/CCQuadCullerTest.cpp:
7250 (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
7252 2012-04-06 Ami Fischman <fischman@chromium.org>
7255 https://bugs.webkit.org/show_bug.cgi?id=83389
7257 Unreviewed, just a DEPS roll (130110:131183)
7261 2012-04-06 James Robinson <jamesr@chromium.org>
7263 WebGL content swapped at wrong time in threaded compositing mode
7264 https://bugs.webkit.org/show_bug.cgi?id=82275
7266 Reviewed by Kenneth Russell.
7268 * tests/WebGLLayerChromiumTest.cpp:
7271 2012-04-06 Joshua Bell <jsbell@chromium.org>
7273 IndexedDB: ObjectStore/Index shouldn't hold reference to backing store
7274 https://bugs.webkit.org/show_bug.cgi?id=83074
7276 Reviewed by Tony Chang.
7279 * tests/IDBDatabaseBackendTest.cpp: Added.
7281 (MockIDBBackingStore):
7284 2012-04-06 Kent Tamura <tkent@chromium.org>
7286 Calendar Picker: Add code to open/close the calendar picker
7287 https://bugs.webkit.org/show_bug.cgi?id=83258
7289 Reviewed by Hajime Morita.
7291 * features.gypi: Enable ENABLE_PAGE_POPUP for non-Android
7292 platforms. This is needed because ENABLE_CALENDAR_PICKER now depends on
7294 * src/ChroemClientImpl.cpp: Add stubs.
7295 (WebKit::ChromeClientImpl::openPagePopup):
7296 (WebKit::ChromeClientImpl::closePagePopup):
7297 * src/ChromeClientImpl.h: Add declarations of openPagePopup() and closePagePopup().
7299 2012-04-05 Hironori Bono <hbono@chromium.org>
7301 [Chromium] moving a cursor on a misspelled word should not remove a misspelled underline
7302 https://bugs.webkit.org/show_bug.cgi?id=83214
7304 Reviewed by Ryosuke Niwa.
7306 When Chrome enables asynchronous spellchecking, it adds Spelling markers in the
7307 background. For this case, moving a cursor should not remove these markers
7308 because it requires Chrome to spellcheck text again. This change prevents
7309 removing Spelling markers added by spellcheckers asynchronously.
7311 * src/ContextMenuClientImpl.cpp:
7312 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): use marker descriptions instead of spellchecking text when Chrome enables asynchronous spellchecking.
7314 2012-04-05 Dana Jansens <danakj@chromium.org>
7316 [chromium] Record the number of tiles paint-culled instead of the incorrect number of pixels
7317 https://bugs.webkit.org/show_bug.cgi?id=82423
7319 Reviewed by Adrienne Walker.
7321 * tests/CCQuadCullerTest.cpp:
7323 * tests/TiledLayerChromiumTest.cpp:
7326 2012-04-05 Shawn Singh <shawnsingh@chromium.org>
7328 [chromium] Need to clip to homogeneous w=0 plane when applying transforms.
7329 https://bugs.webkit.org/show_bug.cgi?id=80806
7331 Reviewed by Adrienne Walker.
7333 * tests/CCLayerTreeHostCommonTest.cpp:
7334 (WebKitTests::TEST):
7337 2012-04-05 Dana Jansens <danakj@chromium.org>
7339 [chromium] Cleanup test, redundant code in CCSchedulerTest.NoBeginFrameWhenDrawFails
7340 https://bugs.webkit.org/show_bug.cgi?id=83300
7342 Reviewed by Adrienne Walker.
7344 * tests/CCSchedulerTest.cpp:
7345 (WebKitTests::TEST):
7347 2012-04-05 Sheriff Bot <webkit.review.bot@gmail.com>
7349 Unreviewed, rolling out r113241.
7350 http://trac.webkit.org/changeset/113241
7351 https://bugs.webkit.org/show_bug.cgi?id=83293
7353 Requested by sievers@chromium.org (Requested by zhenyao on
7356 * tests/CCLayerTreeHostImplTest.cpp:
7357 (WebKitTests::TEST_F):
7358 * tests/CCLayerTreeHostTest.cpp:
7359 (WTF::CCLayerTreeHostTest::doBeginTest):
7361 2012-04-05 Sheriff Bot <webkit.review.bot@gmail.com>
7363 Unreviewed, rolling out r113341.
7364 http://trac.webkit.org/changeset/113341
7365 https://bugs.webkit.org/show_bug.cgi?id=83299
7367 bots caught some build errors (Requested by shawnsingh on
7370 * tests/CCLayerTreeHostCommonTest.cpp:
7372 2012-04-05 Ian Vollick <vollick@chromium.org>
7374 [chromium] Race condition in CCLayerTreeHostTestSynchronizeAnimationStartTimes
7375 https://bugs.webkit.org/show_bug.cgi?id=83179
7377 Reviewed by James Robinson.
7379 * tests/CCLayerTreeHostTest.cpp:
7380 (WTF::TestHooks::willAnimateLayers):
7381 (WTF::MockLayerTreeHostImpl::animateLayers):
7382 (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::CCLayerTreeHostTestSynchronizeAnimationStartTimes):
7383 (CCLayerTreeHostTestSynchronizeAnimationStartTimes):
7384 (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::willAnimateLayers):
7385 (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::notifyAnimationStarted):
7387 2012-04-05 Justin Novosad <junov@chromium.org>
7389 [Chromium] With the skia port, setting LCD text filtering is causing
7390 texture cache invalidations of gpu canvas backing store
7391 https://bugs.webkit.org/show_bug.cgi?id=74183
7393 Reviewed by Stephen White.
7395 Replacing unnecessary usage of SkCanvas::LayerIter with call to
7396 SkCanvas::isDrawingToLayer(). Same results, lower overhead, and no
7397 GPU texture invalidation.
7399 * src/WebFontImpl.cpp:
7400 (WebKit::WebFontImpl::drawText):
7402 2012-04-05 Lei Zhang <thestig@chromium.org>
7404 [Chromium] Properly align members in WebInputEvent and subclasses to make Valgrind happy.
7405 https://bugs.webkit.org/show_bug.cgi?id=81570
7407 Reviewed by Darin Fisher.
7409 * public/WebInputEvent.h:
7411 (WebKit::WebInputEvent::WebInputEvent):
7413 (WebKit::WebTouchEvent::WebTouchEvent):
7415 2012-04-05 Shawn Singh <shawnsingh@chromium.org>
7417 [chromium] Need to clip to homogeneous w=0 plane when applying transforms.
7418 https://bugs.webkit.org/show_bug.cgi?id=80806
7420 Reviewed by Adrienne Walker.
7422 * tests/CCLayerTreeHostCommonTest.cpp:
7423 (WebKitTests::TEST):
7426 2012-04-05 Sheriff Bot <webkit.review.bot@gmail.com>
7428 Unreviewed, rolling out r113307.
7429 http://trac.webkit.org/changeset/113307
7430 https://bugs.webkit.org/show_bug.cgi?id=83288
7432 Requested by sievers@chromium.org (Requested by zhenyao on
7435 * tests/CCLayerTreeHostTest.cpp:
7438 2012-04-05 Pavel Feldman <pfeldman@chromium.org>
7440 Web Inspector: [chromium] clean up WDTFC::saveAs after migration to save()
7441 https://bugs.webkit.org/show_bug.cgi?id=83271
7443 Reviewed by Yury Semikhatsky.
7445 * public/WebDevToolsFrontendClient.h:
7447 2012-04-05 Hans Wennborg <hans@chromium.org>
7449 webkit_unit_tests build fix.
7450 https://bugs.webkit.org/show_bug.cgi?id=83261
7452 Unreviewed, webkit_unit_tests buildfix.
7454 The CCLayerTreeHostTestEmptyContentsShouldNotDraw.runMultiThread test
7455 stopped working after r113254.
7459 * tests/CCLayerTreeHostTest.cpp:
7463 2012-04-05 Jochen Eisinger <jochen@chromium.org>
7465 [chromium] Only shut down V8 if we actually initialized it
7466 https://bugs.webkit.org/show_bug.cgi?id=83159
7468 Reviewed by Pavel Feldman.
7471 (WebKit::initialize):
7474 2012-04-05 Kinuko Yasuda <kinuko@chromium.org>
7476 Expose DataTransferItem.getAsEntry() to allow users access dropped files as FileEntry
7477 https://bugs.webkit.org/show_bug.cgi?id=82592
7479 Reviewed by David Levin.
7481 * src/WebDragData.cpp:
7482 (WebKit::WebDragData::filesystemId): Added implementation.
7483 (WebKit::WebDragData::setFilesystemId): Added implementation.
7485 2012-04-04 Kent Tamura <tkent@chromium.org>
7487 [Chromium] Calendar Picker: Add localization functions
7488 https://bugs.webkit.org/show_bug.cgi?id=83235
7490 Reviewed by Adam Barth.
7492 Implement calendarTodayText() and calendarClearText(), which are
7493 introduced in http://trac.webkit.org/changeset/113166
7495 * public/platform/WebLocalizedString.h:
7496 Add CalendarClear and CalendarToday.
7497 * src/LocalizedStrings.cpp:
7498 (WebCore::calendarTodayText): Added.
7499 (WebCore::calendarClearText): Added.
7501 2012-04-04 Mark Pilgrim <pilgrim@chromium.org>
7503 Call histogramEnumeration directly
7504 https://bugs.webkit.org/show_bug.cgi?id=83106
7506 Reviewed by Adam Barth.
7508 Part of a refactoring project to remove the PlatformSupport
7509 abstraction from some functions. See bug 82948.
7511 * src/ChromeClientImpl.cpp:
7512 (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
7513 * src/PlatformSupport.cpp:
7516 2012-04-04 Shawn Singh <shawnsingh@chromium.org>
7518 [chromium] Move recursive renderSurface clearing to CCLayerTreeHostImpl
7519 https://bugs.webkit.org/show_bug.cgi?id=82091
7521 Reviewed by James Robinson.
7523 * tests/LayerRendererChromiumTest.cpp:
7524 (FakeLayerRendererChromiumClient::FakeLayerRendererChromiumClient):
7526 2012-04-04 Daniel Sievers <sievers@chromium.org>
7528 [Chromium] Always skip draw and readback if there is nothing
7530 https://bugs.webkit.org/show_bug.cgi?id=82680
7532 This avoids corruption from pushing frames that have no valid
7533 content drawn into them.
7534 Also in addition to checking for non-existing root layers, check
7535 for root layers with no content bounds. It's possible to see those
7536 with kForceCompositing mode for empty documents.
7538 Reviewed by James Robinson.
7540 Added CCLayerTreeHostTestEmptyContentsShouldNotDraw.
7542 * tests/CCLayerTreeHostImplTest.cpp:
7543 (WebKitTests::TEST_F):
7544 * tests/CCLayerTreeHostTest.cpp:
7545 (WTF::CCLayerTreeHostTest::doBeginTest):
7547 (CCLayerTreeHostTestEmptyContentsShouldNotDraw):
7548 (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::CCLayerTreeHostTestEmptyContentsShouldNotDraw):
7549 (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::beginTest):
7550 (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::drawLayersOnCCThread):
7551 (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::didCommitAndDrawFrame):
7552 (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::afterTest):
7555 2012-04-04 Mark Pilgrim <pilgrim@chromium.org>
7557 Call histogramCustomCounts directly
7558 https://bugs.webkit.org/show_bug.cgi?id=83112
7560 Reviewed by Adam Barth.
7562 * src/PlatformSupport.cpp:
7564 * src/WebViewImpl.cpp:
7565 (WebKit::WebViewImpl::paint):
7566 (WebKit::WebViewImplContentPainter::paint):
7567 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
7568 * src/painting/PaintAggregator.cpp:
7570 2012-04-04 Mark Pilgrim <pilgrim@chromium.org>
7572 Call suddenTerminationChanged directly
7573 https://bugs.webkit.org/show_bug.cgi?id=83114
7575 Reviewed by Adam Barth.
7577 * src/PlatformSupport.cpp:
7580 2012-04-04 Adam Barth <abarth@webkit.org>
7582 figure out how to export webcore symbols from webkit.dll properly
7583 https://bugs.webkit.org/show_bug.cgi?id=83105
7585 Reviewed by Dimitri Glazkov.
7588 - We now compile the platform support files as part of webkit.dll
7589 to make sure the lib contains the obj files and therefore exports
7590 the necessary symbols. In principle, we could use a defs file to
7591 achieve the same thing, but those files are a pain to maintain.
7594 - Unwind our ugly, ugly hack to make the Windows component build
7597 2012-04-04 Mark Pilgrim <pilgrim@chromium.org>
7599 Call sandboxEnabled directly
7600 https://bugs.webkit.org/show_bug.cgi?id=83113
7602 Reviewed by Adam Barth.
7604 * src/PlatformSupport.cpp:
7607 2012-04-04 Kausalya Madhusudhanan <kmadhusu@chromium.org>
7609 [Coverity] Address some uninit constructor values.
7610 https://bugs.webkit.org/show_bug.cgi?id=82424
7612 Reviewed by Stephen White.
7614 New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
7616 * src/DatabaseObserver.cpp:
7617 (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
7618 * src/LocalFileSystemChromium.cpp:
7621 2012-04-04 Dimitri Glazkov <dglazkov@chromium.org>
7623 Unreviewed, temporary dirty hack to make Win Debug work again.
7625 * All.gyp: Temporarily removed TestWebKitAPI target.
7627 2012-04-04 Pavel Feldman <pfeldman@chromium.org>
7629 Web Inspector: migrate from InspectorFrontendHost.saveAs to InspectorFrontendHost.save.
7630 https://bugs.webkit.org/show_bug.cgi?id=83162
7632 Reviewed by Yury Semikhatsky.
7634 * public/WebDevToolsFrontendClient.h:
7635 * src/InspectorFrontendClientImpl.cpp:
7636 (WebKit::InspectorFrontendClientImpl::canSave):
7637 (WebKit::InspectorFrontendClientImpl::save):
7638 * src/InspectorFrontendClientImpl.h:
7639 (InspectorFrontendClientImpl):
7641 2012-04-04 Hans Wennborg <hans@chromium.org>
7643 WebSpeechRecognizer.h: add missing forward declaration
7644 https://bugs.webkit.org/show_bug.cgi?id=83150
7646 Reviewed by Tony Gentilcore.
7648 Add missing forward declaration of WebSpeechRecognitionParams.
7650 * public/WebSpeechRecognizer.h:
7653 2012-04-03 Hans Wennborg <hans@chromium.org>
7655 Speech JavaScript API: Plumbing for Chromium
7656 https://bugs.webkit.org/show_bug.cgi?id=81667
7658 Reviewed by Darin Fisher.
7660 Add plumbing for speech recognition.
7662 The implementer is expected to implement the WebSpeechRecognizer interface.
7663 The start(), stop(), and abort() functions of that interface take a
7664 WebSpeechRecognitionHandle argument, which identifies the object which has
7665 requested the action, and a pointer to a WebSpeechRecognitionClient interface,
7666 through which it should send back notifications on progress, errors, etc.
7668 SpeechRecognitionClientProxy passes data between the WebCore and WebKit layers,
7669 implementing the WebCore::SpeechRecognitionClient and WebKit::WebSpeechRecognizerClient
7673 * public/WebSpeechGrammar.h:
7677 (WebKit::WebSpeechGrammar::WebSpeechGrammar):
7678 (WebKit::WebSpeechGrammar::~WebSpeechGrammar):
7679 * public/WebSpeechRecognitionHandle.h: Added.
7682 (WebSpeechRecognitionHandle):
7683 (WebKit::WebSpeechRecognitionHandle::~WebSpeechRecognitionHandle):
7684 (WebKit::WebSpeechRecognitionHandle::WebSpeechRecognitionHandle):
7685 (WebKit::WebSpeechRecognitionHandle::operator=):
7686 (WebKit::operator==):
7687 (WebKit::operator!=):
7688 (WebKit::operator<):
7689 * public/WebSpeechRecognitionParams.h:
7691 (WebSpeechRecognitionParams):
7692 (WebKit::WebSpeechRecognitionParams::grammars):
7693 (WebKit::WebSpeechRecognitionParams::language):
7694 (WebKit::WebSpeechRecognitionParams::continuous):
7695 * public/WebSpeechRecognitionResult.h: Added.
7698 (WebSpeechRecognitionResult):
7699 (WebKit::WebSpeechRecognitionResult::WebSpeechRecognitionResult):
7700 (WebKit::WebSpeechRecognitionResult::~WebSpeechRecognitionResult):
7701 * public/WebSpeechRecognizer.h:
7703 (WebSpeechRecognizer):
7704 (WebKit::WebSpeechRecognizer::start):
7705 (WebKit::WebSpeechRecognizer::stop):
7706 (WebKit::WebSpeechRecognizer::abort):
7707 (WebKit::WebSpeechRecognizer::~WebSpeechRecognizer):
7708 * public/WebSpeechRecognizerClient.h: Added.
7710 (WebSpeechRecognizerClient):
7711 * public/WebViewClient.h:
7714 (WebKit::WebViewClient::speechRecognizer):
7715 * src/SpeechRecognitionClientProxy.cpp: Added.
7717 (WebKit::SpeechRecognitionClientProxy::~SpeechRecognitionClientProxy):
7718 (WebKit::SpeechRecognitionClientProxy::create):
7719 (WebKit::SpeechRecognitionClientProxy::start):
7720 (WebKit::SpeechRecognitionClientProxy::stop):
7721 (WebKit::SpeechRecognitionClientProxy::abort):
7722 (WebKit::SpeechRecognitionClientProxy::didStartAudio):
7723 (WebKit::SpeechRecognitionClientProxy::didStartSound):
7724 (WebKit::SpeechRecognitionClientProxy::didStartSpeech):
7725 (WebKit::SpeechRecognitionClientProxy::didEndSpeech):
7726 (WebKit::SpeechRecognitionClientProxy::didEndSound):
7727 (WebKit::SpeechRecognitionClientProxy::didEndAudio):
7728 (WebKit::SpeechRecognitionClientProxy::didReceiveResult):
7729 (WebKit::SpeechRecognitionClientProxy::didReceiveNoMatch):
7730 (WebKit::SpeechRecognitionClientProxy::didDeleteResult):
7731 (WebKit::SpeechRecognitionClientProxy::didReceiveError):
7732 (WebKit::SpeechRecognitionClientProxy::didStart):
7733 (WebKit::SpeechRecognitionClientProxy::didEnd):
7734 (WebKit::SpeechRecognitionClientProxy::SpeechRecognitionClientProxy):
7735 * src/SpeechRecognitionClientProxy.h: Added.
7737 (SpeechRecognitionClientProxy):
7738 * src/WebSpeechGrammar.cpp: Added.
7740 (WebKit::WebSpeechGrammar::reset):
7741 (WebKit::WebSpeechGrammar::WebSpeechGrammar):
7742 (WebKit::WebSpeechGrammar::operator=):
7743 (WebKit::WebSpeechGrammar::src):
7744 (WebKit::WebSpeechGrammar::weight):
7745 * src/WebSpeechRecognitionHandle.cpp: Added.
7747 (WebKit::WebSpeechRecognitionHandle::reset):
7748 (WebKit::WebSpeechRecognitionHandle::assign):
7749 (WebKit::WebSpeechRecognitionHandle::equals):
7750 (WebKit::WebSpeechRecognitionHandle::lessThan):
7751 (WebKit::WebSpeechRecognitionHandle::WebSpeechRecognitionHandle):
7752 (WebKit::WebSpeechRecognitionHandle::operator=):
7753 (WebKit::WebSpeechRecognitionHandle::operator PassRefPtr<SpeechRecognition>):
7754 * src/WebSpeechRecognitionParams.cpp: Added.
7756 (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
7757 * src/WebSpeechRecognitionResult.cpp: Added.
7759 (WebKit::WebSpeechRecognitionResult::assign):
7760 (WebKit::WebSpeechRecognitionResult::reset):
7761 (WebKit::WebSpeechRecognitionResult::operator PassRefPtr<WebCore::SpeechRecognitionResult>):
7762 * src/WebViewImpl.cpp:
7763 (WebKit::WebViewImpl::WebViewImpl):
7764 * src/WebViewImpl.h:
7767 2012-04-04 Sheriff Bot <webkit.review.bot@gmail.com>
7769 Unreviewed, rolling out r113149.
7770 http://trac.webkit.org/changeset/113149
7771 https://bugs.webkit.org/show_bug.cgi?id=83126
7773 for breaking Chromium builders (Requested by pfeldman on
7777 * public/WebSpeechGrammar.h: Removed.
7778 * public/WebSpeechRecognitionHandle.h: Removed.
7779 * public/WebSpeechRecognitionParams.h: Removed.
7780 * public/WebSpeechRecognitionResult.h: Removed.
7781 * public/WebSpeechRecognizer.h: Removed.
7782 * public/WebSpeechRecognizerClient.h: Removed.
7783 * public/WebViewClient.h:
7785 * src/SpeechRecognitionClientProxy.cpp: Removed.
7786 * src/SpeechRecognitionClientProxy.h: Removed.
7787 * src/WebSpeechGrammar.cpp: Removed.
7788 * src/WebSpeechRecognitionHandle.cpp: Removed.
7789 * src/WebSpeechRecognitionResult.cpp: Removed.
7790 * src/WebViewImpl.cpp:
7791 (WebKit::WebViewImpl::WebViewImpl):
7792 * src/WebViewImpl.h:
7795 2012-04-03 Hans Wennborg <hans@chromium.org>
7797 Speech JavaScript API: Plumbing for Chromium
7798 https://bugs.webkit.org/show_bug.cgi?id=81667
7800 Reviewed by Darin Fisher.
7802 Add plumbing for speech recognition.
7804 The implementer is expected to implement the WebSpeechRecognizer interface.
7805 The start(), stop(), and abort() functions of that interface take a
7806 WebSpeechRecognitionHandle argument, which identifies the object which has
7807 requested the action, and a pointer to a WebSpeechRecognitionClient interface,
7808 through which it should send back notifications on progress, errors, etc.
7810 SpeechRecognitionClientProxy passes data between the WebCore and WebKit layers,
7811 implementing the WebCore::SpeechRecognitionClient and WebKit::WebSpeechRecognizerClient
7815 * public/WebSpeechGrammar.h:
7819 (WebKit::WebSpeechGrammar::WebSpeechGrammar):
7820 (WebKit::WebSpeechGrammar::~WebSpeechGrammar):
7821 * public/WebSpeechRecognitionHandle.h: Added.
7824 (WebSpeechRecognitionHandle):
7825 (WebKit::WebSpeechRecognitionHandle::~WebSpeechRecognitionHandle):
7826 (WebKit::WebSpeechRecognitionHandle::WebSpeechRecognitionHandle):
7827 (WebKit::WebSpeechRecognitionHandle::operator=):
7828 (WebKit::operator==):
7829 (WebKit::operator!=):
7830 (WebKit::operator<):
7831 * public/WebSpeechRecognitionParams.h:
7833 (WebSpeechRecognitionParams):
7834 (WebKit::WebSpeechRecognitionParams::grammars):
7835 (WebKit::WebSpeechRecognitionParams::language):
7836 (WebKit::WebSpeechRecognitionParams::continuous):
7837 * public/WebSpeechRecognitionResult.h: Added.
7840 (WebSpeechRecognitionResult):
7841 (WebKit::WebSpeechRecognitionResult::WebSpeechRecognitionResult):
7842 (WebKit::WebSpeechRecognitionResult::~WebSpeechRecognitionResult):
7843 * public/WebSpeechRecognizer.h:
7845 (WebSpeechRecognizer):
7846 (WebKit::WebSpeechRecognizer::start):
7847 (WebKit::WebSpeechRecognizer::stop):
7848 (WebKit::WebSpeechRecognizer::abort):
7849 (WebKit::WebSpeechRecognizer::~WebSpeechRecognizer):
7850 * public/WebSpeechRecognizerClient.h: Added.
7852 (WebSpeechRecognizerClient):
7853 * public/WebViewClient.h:
7856 (WebKit::WebViewClient::speechRecognizer):
7857 * src/SpeechRecognitionClientProxy.cpp: Added.
7859 (WebKit::SpeechRecognitionClientProxy::~SpeechRecognitionClientProxy):
7860 (WebKit::SpeechRecognitionClientProxy::create):
7861 (WebKit::SpeechRecognitionClientProxy::start):
7862 (WebKit::SpeechRecognitionClientProxy::stop):
7863 (WebKit::SpeechRecognitionClientProxy::abort):
7864 (WebKit::SpeechRecognitionClientProxy::didStartAudio):
7865 (WebKit::SpeechRecognitionClientProxy::didStartSound):
7866 (WebKit::SpeechRecognitionClientProxy::didStartSpeech):
7867 (WebKit::SpeechRecognitionClientProxy::didEndSpeech):
7868 (WebKit::SpeechRecognitionClientProxy::didEndSound):
7869 (WebKit::SpeechRecognitionClientProxy::didEndAudio):
7870 (WebKit::SpeechRecognitionClientProxy::didReceiveResult):
7871 (WebKit::SpeechRecognitionClientProxy::didReceiveNoMatch):
7872 (WebKit::SpeechRecognitionClientProxy::didDeleteResult):
7873 (WebKit::SpeechRecognitionClientProxy::didReceiveError):
7874 (WebKit::SpeechRecognitionClientProxy::didStart):
7875 (WebKit::SpeechRecognitionClientProxy::didEnd):
7876 (WebKit::SpeechRecognitionClientProxy::SpeechRecognitionClientProxy):
7877 * src/SpeechRecognitionClientProxy.h: Added.
7879 (SpeechRecognitionClientProxy):
7880 * src/WebSpeechGrammar.cpp: Added.
7882 (WebKit::WebSpeechGrammar::reset):
7883 (WebKit::WebSpeechGrammar::WebSpeechGrammar):
7884 (WebKit::WebSpeechGrammar::operator=):
7885 (WebKit::WebSpeechGrammar::src):
7886 (WebKit::WebSpeechGrammar::weight):
7887 * src/WebSpeechRecognitionHandle.cpp: Added.
7889 (WebKit::WebSpeechRecognitionHandle::reset):
7890 (WebKit::WebSpeechRecognitionHandle::assign):
7891 (WebKit::WebSpeechRecognitionHandle::equals):
7892 (WebKit::WebSpeechRecognitionHandle::lessThan):
7893 (WebKit::WebSpeechRecognitionHandle::WebSpeechRecognitionHandle):
7894 (WebKit::WebSpeechRecognitionHandle::operator=):
7895 (WebKit::WebSpeechRecognitionHandle::operator PassRefPtr<SpeechRecognition>):
7896 * src/WebSpeechRecognitionParams.cpp: Added.
7898 (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
7899 * src/WebSpeechRecognitionResult.cpp: Added.
7901 (WebKit::WebSpeechRecognitionResult::assign):
7902 (WebKit::WebSpeechRecognitionResult::reset):
7903 (WebKit::WebSpeechRecognitionResult::operator PassRefPtr<WebCore::SpeechRecognitionResult>):
7904 * src/WebViewImpl.cpp:
7905 (WebKit::WebViewImpl::WebViewImpl):
7906 * src/WebViewImpl.h:
7909 2012-04-03 Yuta Kitamura <yutak@chromium.org>
7911 Crash in WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadCreateWebSocketChannel
7912 https://bugs.webkit.org/show_bug.cgi?id=82873
7914 Reviewed by David Levin.
7916 Change the function signature of WorkerLoaderProxy::postTaskForModeToWorkerContext().
7918 * src/WebSharedWorkerImpl.cpp:
7919 (WebKit::WebSharedWorkerImpl::postTaskForModeToWorkerContext):
7920 * src/WebSharedWorkerImpl.h:
7921 (WebSharedWorkerImpl):
7922 * src/WebWorkerClientImpl.cpp:
7923 (WebKit::WebWorkerClientImpl::postTaskForModeToWorkerContext):
7924 * src/WebWorkerClientImpl.h:
7925 (WebWorkerClientImpl):
7927 2012-04-03 Ian Vollick <vollick@chromium.org>
7929 [chromium] Include Image.h in TextFieldDecoratorImpl.cpp
7930 https://bugs.webkit.org/show_bug.cgi?id=83066
7932 Reviewed by James Robinson.
7934 * src/TextFieldDecoratorImpl.cpp:
7936 2012-04-03 Rafael Weinstein <rafaelw@chromium.org>
7938 Use V8 completion callback API to assert that V8RecursionScope is on the stack whenever invoking script
7939 https://bugs.webkit.org/show_bug.cgi?id=79131
7941 Reviewed by Adam Barth.
7944 * public/WebFrame.h:
7947 * src/WebFrameImpl.cpp:
7949 (WebKit::WebFrameImpl::callFunctionEvenIfScriptDisabled):
7950 * src/WebFrameImpl.h:
7954 (WebKit::assertV8RecursionScope):
7955 (WebKit::initialize):
7958 2012-04-03 Adam Barth <abarth@webkit.org>
7960 Unreviewed. This patch adds an ugly, ugly hack to bandaid over the
7961 Windows component build. See comments in the code for details.
7966 2012-04-03 Dimitri Glazkov <dglazkov@chromium.org>
7968 Unreviewed, rolling out r113087.
7969 http://trac.webkit.org/changeset/113087
7970 https://bugs.webkit.org/show_bug.cgi?id=83068
7972 Breaks Windows builds in other unpredictable ways.
7974 * WebKit.gyp: Removed the hack.
7976 2012-04-03 W. James MacLean <wjmaclean@chromium.org>
7978 [chromium] Switch touchpad fling curve physics to absolute (not scaled) curve.
7979 https://bugs.webkit.org/show_bug.cgi?id=83061
7981 Reviewed by James Robinson.
7983 * tests/PlatformGestureCurveTest.cpp:
7985 2012-04-02 Zhenyao Mo <zmo@google.com>
7987 Implement WebGLShaderPrecisionFormat
7988 https://bugs.webkit.org/show_bug.cgi?id=75925
7990 Reviewed by Kenneth Russell.
7992 * src/GraphicsContext3DChromium.cpp: Add getShaderPrecisionFormat().
7994 * src/GraphicsContext3DPrivate.h: Ditto.
7995 (GraphicsContext3DPrivate):
7996 * tests/FakeWebGraphicsContext3D.h: Ditto.
7997 (FakeWebGraphicsContext3D):
7999 2012-04-03 Dirk Pranke <dpranke@chromium.org>
8001 disable incremental linking for debug of webkit
8002 https://bugs.webkit.org/show_bug.cgi?id=83068
8004 Reviewed by Adam Barth.
8006 Now that we need to export symbols from webkit.dll that are
8007 defined in webcore_platform, we have to enable ULDI in order for
8008 incremental linking to work (which is used in debug mode).
8012 2012-04-03 Shawn Singh <shawnsingh@chromium.org>
8014 [chromium] Fix incorrect comment in CCDamageTrackerTest
8015 https://bugs.webkit.org/show_bug.cgi?id=82118
8017 Reviewed by Adrienne Walker.
8019 * tests/CCDamageTrackerTest.cpp:
8020 (WebKitTests::TEST_F):
8022 2012-04-03 Adam Barth <abarth@webkit.org>
8024 Another attempt to fix the Windows build. This uses WebSecurityOrigin
8025 has a value type but doesn't include the header.
8027 * public/WebUserMediaRequest.h:
8030 2012-04-03 'Pavel Feldman' <pfeldman@chromium.org>
8032 Not reviewed. Follow up to inspector's r113032: change provisional method signature a bit.
8034 * public/WebDevToolsFrontendClient.h:
8035 (WebKit::WebDevToolsFrontendClient::save):
8037 2012-04-03 Bolin Hsu <bhsu@google.com>
8039 [Chromium] Add click count and modifiers to the factory method of mouse event.
8040 https://bugs.webkit.org/show_bug.cgi?id=82502
8042 Modify WebInputEventFactory::mouseEvent() to take click count
8043 and modifiers from input parameters. Sample use cases of these
8044 are double click, triple click, Ctrl+click, etc.
8046 Reviewed by Eric Seidel.
8048 * public/android/WebInputEventFactory.h:
8049 * src/android/WebInputEventFactory.cpp:
8050 (WebKit::WebInputEventFactory::mouseEvent):
8052 2012-04-03 Mark Pilgrim <pilgrim@chromium.org>
8054 Call incrementStatsCounter directly
8055 https://bugs.webkit.org/show_bug.cgi?id=83023
8057 Reviewed by Kentaro Hara.
8059 * src/PlatformSupport.cpp:
8061 * src/WebFrameImpl.cpp:
8062 (WebKit::WebFrameImpl::WebFrameImpl):
8064 2012-04-03 Sami Kyostila <skyostil@chromium.org>
8066 [chromium] Canvas2DLayerChromium::updateCompositorResources should flush after copying
8067 https://bugs.webkit.org/show_bug.cgi?id=83013
8069 Reviewed by Stephen White.
8071 * tests/Canvas2DLayerChromiumTest.cpp: Make sure context is flushed after copying.
8073 2012-04-03 Pavel Feldman <pfeldman@chromium.org>
8075 Web Inspector: [chromium] add provisional save method into the frontend client.
8076 https://bugs.webkit.org/show_bug.cgi?id=83022
8078 Reviewed by Yury Semikhatsky.
8080 * public/WebDevToolsFrontendClient.h:
8081 (WebKit::WebDevToolsFrontendClient::save):
8083 2012-04-03 Bill Budge <bbudge@chromium.org>
8085 WebViewImpl doesn't notify the page that the user has canceled fullscreen.
8086 https://bugs.webkit.org/show_bug.cgi?id=82760
8088 Reviewed by Darin Fisher.
8090 * src/WebViewImpl.cpp:
8091 (WebKit::WebViewImpl::WebViewImpl):
8092 (WebKit::WebViewImpl::willExitFullScreen):
8093 (WebKit::WebViewImpl::exitFullScreenForElement):
8094 * src/WebViewImpl.h:
8096 2012-04-02 Kent Tamura <tkent@chromium.org>
8098 [Chromium] Add WebKit API for WebCore::TextFieldDecorator
8099 https://bugs.webkit.org/show_bug.cgi?id=82143
8101 Reviewed by Dimitri Glazkov.
8103 Expose WebCore::TextFieldDecorator as
8104 WebKit::WebTextFieldDecoratorClient. This change add capability to add
8105 decoration buttons to text field <input> elements.
8107 * WebKit.gyp: Add new files.
8108 * public/WebTextFieldDecoratorClient.h: Added.
8110 (WebKit): Add addTextFieldDecoratorClient().
8111 * src/ChromeClientImpl.cpp:
8112 (WebKit::ChromeClientImpl::willAddTextFieldDecorationsTo):
8113 Calls willAddDecorationTo() of TextFieldDecorator objects owned by WebViewImpl.
8114 (WebKit::ChromeClientImpl::addTextFieldDecorationsTo):
8115 Apply TextFieldDecorationElement::decorate() for the specified input element.
8116 * src/ChromeClientImpl.h:
8117 (ChromeClientImpl): Add new function declarations.
8118 * src/TextFieldDecoratorImpl.cpp:
8119 Added. This is a bridge of WebCore::TextFieldDecorator and
8120 WebKit::WebTextFieldDecoratorClient. This owns CachedImage objects
8121 specfied by WebTextFieldDecoratorClient.
8122 (WebKit::TextFieldDecoratorImpl::TextFieldDecoratorImpl):
8123 (WebKit::TextFieldDecoratorImpl::create):
8124 (WebKit::TextFieldDecoratorImpl::~TextFieldDecoratorImpl):
8125 (WebKit::TextFieldDecoratorImpl::willAddDecorationTo):
8126 (WebKit::TextFieldDecoratorImpl::imageForNormalState):
8127 (WebKit::TextFieldDecoratorImpl::imageForDisabledState):
8128 (WebKit::TextFieldDecoratorImpl::imageForReadonlyState):
8129 (WebKit::TextFieldDecoratorImpl::handleClick):
8130 (WebKit::TextFieldDecoratorImpl::willDetach):
8131 * src/TextFieldDecoratorImpl.h: Added.
8132 (TextFieldDecoratorImpl):
8133 * src/WebViewImpl.cpp:
8134 (WebKit::WebViewImpl::addTextFieldDecoratorClient):
8135 Add implementation of WebView::addTextFieldDecoratorClient().
8136 * src/WebViewImpl.h:
8137 WebViewImpl owns a vector of TextFieldDecoratorImpl.
8139 (WebKit::WebViewImpl::textFieldDecorators):
8141 2012-04-02 Dana Jansens <danakj@chromium.org>
8143 [chromium] Remove SkCanvas::LayerIter use from OpaqueRegionSkia
8144 https://bugs.webkit.org/show_bug.cgi?id=82564
8146 Reviewed by Stephen White.
8148 * tests/PlatformContextSkiaTest.cpp:
8152 2012-04-02 Mark Pilgrim <pilgrim@chromium.org>
8154 Call decrementStatsCounter directly
8155 https://bugs.webkit.org/show_bug.cgi?id=82950
8157 Reviewed by Adam Barth.
8159 * src/PlatformSupport.cpp:
8161 * src/WebFrameImpl.cpp:
8162 (WebKit::WebFrameImpl::~WebFrameImpl):
8164 2012-04-02 Alexander Pavlov <apavlov@chromium.org>
8166 [Chromium] Unreviewed, CCLayerTreeHost runMultiThread is flaky.
8167 Related bug: https://bugs.webkit.org/show_bug.cgi?id=80811
8169 Disabled CCLayerTreeHostTestAddAnimationWithTimingFunction.runMultiThread.
8171 * tests/CCLayerTreeHostTest.cpp:
8174 2012-04-02 Alexander Pavlov <apavlov@chromium.org>
8176 Web Inspector: Device metrics emulation should turn off when zero width and height are passed in
8177 https://bugs.webkit.org/show_bug.cgi?id=82907
8179 Currently this also requires the fontScaleFactor of 1 to be passed in, too. However, it results in
8180 downsizing the FrameView to (0x0) on navigation with the open Inspector when the emulation is disabled.
8182 Reviewed by Yury Semikhatsky.
8184 * src/WebDevToolsAgentImpl.cpp:
8185 (WebKit::WebDevToolsAgentImpl::overrideDeviceMetrics):
8187 2012-04-02 Kinuko Yasuda <kinuko@chromium.org>
8189 Unreviewed, rolling chromium DEPS.
8193 2012-04-02 Keishi Hattori <keishi@webkit.org>
8195 [chromium] Disable ENABLE_INPUT_TYPE_COLOR for aura and android
8196 https://bugs.webkit.org/show_bug.cgi?id=82863
8198 Reviewed by Kent Tamura.
8202 2012-04-02 Adam Barth <abarth@webkit.org>
8204 [Chromium] Move a number of virtual functions from WebKitPlatformSupport.h into Platform.h
8205 https://bugs.webkit.org/show_bug.cgi?id=82865
8207 Reviewed by Kent Tamura.
8209 * public/platform/WebKitPlatformSupport.h:
8211 (WebKitPlatformSupport):
8213 2012-04-02 Kent Tamura <tkent@chromium.org>
8215 Add a calendar picker indicator to date-type input fields
8216 https://bugs.webkit.org/show_bug.cgi?id=80478
8218 Reviewed by Hajime Morita.
8220 * features.gypi: Enable CALENDAR_PICKER for non-Android platforms. This
8221 doesn't affect any bahevior because INPUT_TYPE_DATE is disabled.
8223 2012-04-02 Adam Barth <abarth@webkit.org>
8225 [Chromium] Move another block of headers from WebKit/chromium/public/platform to Platform/chromium/public
8226 https://bugs.webkit.org/show_bug.cgi?id=82862
8228 Rubber-stamped by Eric Seidel.
8231 * public/platform/WebAudioBus.h: Replaced.
8232 * public/platform/WebAudioDevice.h: Replaced.
8233 * public/platform/WebGamepad.h: Replaced.
8234 * public/platform/WebGamepads.h: Replaced.
8235 * public/platform/WebSocketStreamError.h: Replaced.
8236 * public/platform/WebSocketStreamHandle.h: Replaced.
8237 * public/platform/WebSocketStreamHandleClient.h: Replaced.
8238 * src/WebAudioBus.cpp: Removed.
8240 2012-04-01 Adam Barth <abarth@webkit.org>
8242 [Chromium] Move thread-related APIs from WebKit into Platform
8243 https://bugs.webkit.org/show_bug.cgi?id=82858
8245 Reviewed by Eric Seidel.
8248 * public/platform/WebThread.h: Replaced.
8249 * public/platform/WebThreadSafeData.h: Replaced.
8250 * src/WebThreadSafeData.cpp: Removed.
8252 2012-04-01 Jon Lee <jonlee@apple.com>
8254 Rename notification properties and functions
8255 https://bugs.webkit.org/show_bug.cgi?id=80482
8256 <rdar://problem/10912432>
8258 Reviewed by Kentaro Hara.
8260 * src/WebNotification.cpp:
8261 (WebKit::WebNotification::replaceId): Refactor to call tag().
8263 2012-03-29 Adam Barth <abarth@webkit.org>
8265 [Chromium] Delete WebKit/chromium/bridge
8266 https://bugs.webkit.org/show_bug.cgi?id=82677
8268 Reviewed by James Robinson.
8270 Delete WebKit/chromium/bridge. This was a directory we were
8271 experimenting with storing WebCore-namespaced code. Now we're able to
8272 actually keep that code in WebCore itself, which is much more sensible.
8276 * bridge/DeprecatedPeerConnectionHandler.cpp: Removed.
8277 * bridge/DeprecatedPeerConnectionHandlerInternal.cpp: Removed.
8278 * bridge/DeprecatedPeerConnectionHandlerInternal.h: Removed.
8279 * bridge/MediaStreamCenter.cpp: Removed.
8280 * bridge/MediaStreamCenterInternal.cpp: Removed.
8281 * bridge/MediaStreamCenterInternal.h: Removed.
8282 * bridge/PeerConnection00Handler.cpp: Removed.
8283 * bridge/PeerConnection00HandlerInternal.cpp: Removed.
8284 * bridge/PeerConnection00HandlerInternal.h: Removed.
8285 * public/platform/WebICECandidateDescriptor.h: Replaced.
8286 * public/platform/WebICEOptions.h: Replaced.
8287 * public/platform/WebKitPlatformSupport.h:
8289 (WebKitPlatformSupport):
8290 * public/platform/WebMediaHints.h: Replaced.
8291 * public/platform/WebMediaStreamCenter.h: Replaced.
8292 * public/platform/WebMediaStreamCenterClient.h: Replaced.
8293 * public/platform/WebMediaStreamComponent.h: Replaced.
8294 * public/platform/WebMediaStreamDescriptor.h: Replaced.
8295 * public/platform/WebMediaStreamSource.h: Replaced.
8296 * public/platform/WebMediaStreamSourcesRequest.h: Replaced.
8297 * public/platform/WebPeerConnection00Handler.h: Replaced.
8298 * public/platform/WebPeerConnection00HandlerClient.h: Replaced.
8299 * public/platform/WebPeerConnectionHandler.h: Replaced.
8300 * public/platform/WebPeerConnectionHandlerClient.h: Replaced.
8301 * public/platform/WebSessionDescriptionDescriptor.h: Replaced.
8302 * public/platform/WebVector.h: Replaced.
8303 * src/WebICECandidateDescriptor.cpp: Removed.
8304 * src/WebICEOptions.cpp: Removed.
8305 * src/WebMediaHints.cpp: Removed.
8306 * src/WebMediaStreamComponent.cpp: Removed.
8307 * src/WebMediaStreamDescriptor.cpp: Removed.
8308 * src/WebMediaStreamSource.cpp: Removed.
8309 * src/WebMediaStreamSourcesRequest.cpp: Removed.
8311 2012-03-30 Adam Barth <abarth@webkit.org>
8313 [Chromium] Move ResourceHandle to WebCore/platform/network/chromium
8314 https://bugs.webkit.org/show_bug.cgi?id=82657
8316 Reviewed by James Robinson.
8319 * src/ResourceHandle.cpp: Removed.
8320 * src/ResourceHandleInternal.h: Removed.
8321 * src/WrappedResourceRequest.h: Removed.
8322 * src/WrappedResourceResponse.h: Removed.
8324 2012-03-30 Adam Barth <abarth@webkit.org>
8326 Two more link errors. This time it's v8 we're missing.
8328 * WebKitUnitTests.gyp:
8330 2012-03-30 Adam Barth <abarth@webkit.org>
8332 Attempt to fix the Windows component build. It seems we're just
8335 * WebKitUnitTests.gyp:
8337 2012-03-30 Adam Barth <abarth@webkit.org>
8339 Attempt to fix the Windows component build. The way we link the unit
8340 tests in the component build is kind of nutty. Hopefully this approach
8341 will eliminate the duplicate symbols we've been seeing.
8343 * WebKitUnitTests.gyp:
8345 2012-03-30 Emil A Eklund <eae@chromium.org>
8347 Change WebKit/WebKit2 platform code to use pixel snapped values
8348 https://bugs.webkit.org/show_bug.cgi?id=82549
8350 Reviewed by Eric Seidel.
8352 * src/WebAccessibilityObject.cpp:
8353 (WebKit::WebAccessibilityObject::boundingBoxRect):
8354 Use pixelSnappedBoundingBoxRect instead of boundingBoxRect which returns
8357 * src/WebFrameImpl.cpp:
8358 (WebKit::WebFrameImpl::characterIndexForPoint):
8359 Use roundedPoint instead of point for hit testing as ranges use screen
8360 cordinates which are represented with pixel accuracy.
8362 2012-03-30 Adam Barth <abarth@webkit.org>
8364 https://bugs.webkit.org/show_bug.cgi?id=82582
8365 Move CPP files related to ResourceHandle to WebCore/platform
8367 Reviewed by James Robinson.
8370 * src/WebHTTPBody.cpp: Removed.
8371 * src/WebHTTPLoadInfo.cpp: Removed.
8372 * src/WebURL.cpp: Removed.
8373 * src/WebURLError.cpp: Removed.
8374 * src/WebURLRequest.cpp: Removed.
8375 * src/WebURLRequestPrivate.h: Removed.
8376 * src/WebURLResponse.cpp: Removed.
8377 * src/WebURLResponsePrivate.h: Removed.
8379 2012-03-30 Dirk Pranke <dpranke@chromium.org>
8381 Roll chromium DEPS from 129593 to 129574.
8387 2012-03-30 Adam Barth <abarth@webkit.org>
8389 Move CPP files related to ResourceHandle to WebCore/platform
8390 https://bugs.webkit.org/show_bug.cgi?id=82582
8392 Reviewed by James Robinson.
8395 * src/WebData.cpp: Removed.
8397 2012-03-30 Mark Pilgrim <pilgrim@chromium.org>
8399 GEOLOCATION should be implemented as Page Supplement
8400 https://bugs.webkit.org/show_bug.cgi?id=82228
8402 Reviewed by Adam Barth.
8404 Geolocation is now a Supplement in Page so the interface
8405 has changed for setting up the page's geolocation client
8406 initially and accessing the controller later.
8408 * src/WebViewImpl.cpp:
8409 (WebKit::WebViewImpl::WebViewImpl):
8411 2012-03-30 Ian Vollick <vollick@chromium.org>
8413 [chromium] Flaky animation unit test CCLayerTreeHostTestSynchronizeAnimationStartTimes
8414 https://bugs.webkit.org/show_bug.cgi?id=82731
8416 Reviewed by James Robinson.
8418 * tests/CCLayerTreeHostTest.cpp:
8419 (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::CCLayerTreeHostTestSynchronizeAnimationStartTimes):
8420 (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::animateLayers):
8421 (CCLayerTreeHostTestSynchronizeAnimationStartTimes):
8422 (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::notifyAnimationStarted):
8424 2012-03-30 Ian Vollick <vollick@chromium.org>
8426 [chromium] assertion being hit in CCLayerAnimationController
8427 https://bugs.webkit.org/show_bug.cgi?id=82237
8429 Reviewed by James Robinson.
8431 * tests/CCLayerAnimationControllerTest.cpp:
8432 (WebKitTests::TEST):
8435 2012-03-30 Alexander Pavlov <apavlov@chromium.org>
8437 [Chromium] Unreviewed Chromium Mac build fix.
8439 * src/WebDevToolsAgentPrivate.h:
8442 2012-03-30 Alexander Pavlov <apavlov@chromium.org>
8444 Web Inspector: [Chromium] Implement Chromium-specific part of the device metrics emulation
8445 https://bugs.webkit.org/show_bug.cgi?id=82612
8447 This change implements the Chromium-specific code for overriding the device metrics, such as screen size
8448 (by setting the FrameView size) and font zoom factor (necessary for certain emulated devices,)
8449 and for painting the gutter overlay covering the WebView area not occupied by the associated FrameView.
8451 Reviewed by Pavel Feldman.
8453 * src/InspectorClientImpl.cpp:
8454 (WebKit::InspectorClientImpl::canOverrideDeviceMetrics):
8456 (WebKit::InspectorClientImpl::overrideDeviceMetrics):
8457 (WebKit::InspectorClientImpl::autoZoomPageToFitWidth):
8458 * src/InspectorClientImpl.h:
8459 (InspectorClientImpl):
8460 * src/WebDevToolsAgentImpl.cpp:
8462 (DeviceMetricsSupport):
8463 (WebKit::DeviceMetricsSupport::DeviceMetricsSupport):
8464 (WebKit::DeviceMetricsSupport::~DeviceMetricsSupport):
8465 (WebKit::DeviceMetricsSupport::setDeviceMetrics):
8466 (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
8467 (WebKit::DeviceMetricsSupport::applySizeOverrideIfNecessary):
8468 (WebKit::DeviceMetricsSupport::restore):
8469 (WebKit::DeviceMetricsSupport::applySizeOverrideInternal):
8470 (WebKit::DeviceMetricsSupport::paintPageOverlay):
8471 (WebKit::DeviceMetricsSupport::frameView):
8473 (WebKit::WebDevToolsAgentImpl::mainFrameViewCreated):
8474 (WebKit::WebDevToolsAgentImpl::metricsOverridden):
8475 (WebKit::WebDevToolsAgentImpl::overrideDeviceMetrics):
8476 (WebKit::WebDevToolsAgentImpl::autoZoomPageToFitWidth):
8477 (WebKit::WebDevToolsAgentImpl::highlight):
8478 * src/WebDevToolsAgentImpl.h:
8481 (WebDevToolsAgentImpl):
8482 * src/WebDevToolsAgentPrivate.h:
8484 (WebDevToolsAgentPrivate):
8485 * src/WebFrameImpl.cpp:
8486 (WebKit::WebFrameImpl::createFrameView):
8487 * src/WebViewImpl.cpp:
8488 (WebKit::WebViewImpl::WebViewImpl):
8489 (WebKit::WebViewImpl::resize):
8490 (WebKit::WebViewImpl::setZoomLevel):
8491 (WebKit::WebViewImpl::setEmulatedTextZoomFactor):
8493 (WebKit::WebViewImpl::updateLayerTreeViewport):
8494 * src/WebViewImpl.h:
8496 (WebKit::WebViewImpl::emulatedTextZoomFactor):
8498 2012-03-30 David Barr <davidbarr@chromium.org>
8500 Split up top-level .gitignore and .gitattributes
8501 https://bugs.webkit.org/show_bug.cgi?id=82687
8503 Reviewed by Tor Arne Vestbø.
8505 * .gitignore: Added.
8507 2012-03-30 Mike Reed <reed@google.com>
8509 pass alpha directly to player, rather than creating a layer (for performance)
8510 https://bugs.webkit.org/show_bug.cgi?id=82360
8512 Reviewed by Stephen White.
8514 Performance change, existing webkit tests apply.
8516 * public/WebMediaPlayer.h:
8518 * src/WebMediaPlayerClientImpl.cpp:
8519 (WebKit::WebMediaPlayerClientImpl::paintCurrentFrameInContext):
8521 2012-03-30 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
8523 Add a "preview" state to Page Visibility API implementation
8524 https://bugs.webkit.org/show_bug.cgi?id=81355
8526 Reviewed by Adam Barth.
8528 Updating the Page Visibility API implementation to the current spec version.
8530 * public/WebPageVisibilityState.h:
8531 * src/AssertMatchingEnums.cpp:
8532 * src/WebViewImpl.cpp:
8533 (WebKit::WebViewImpl::setVisibilityState):
8535 2012-03-30 Keishi Hattori <keishi@webkit.org>
8537 Change ENABLE_INPUT_COLOR to ENABLE_INPUT_TYPE_COLOR and enable it for chromium
8538 https://bugs.webkit.org/show_bug.cgi?id=80972
8540 Reviewed by Kent Tamura.
8543 * src/ChromeClientImpl.cpp:
8545 * src/ChromeClientImpl.h:
8548 * src/ColorChooserProxy.cpp:
8549 * src/ColorChooserProxy.h:
8550 * src/WebColorChooserClientImpl.cpp:
8551 * src/WebColorChooserClientImpl.h:
8553 2012-03-29 Adam Barth <abarth@webkit.org>
8555 Unreviewed, rolling out r112572.
8556 http://trac.webkit.org/changeset/112572
8557 https://bugs.webkit.org/show_bug.cgi?id=82582
8559 Does not compile in Windows component build
8562 * src/WebData.cpp: Renamed from Source/WebCore/platform/chromium/support/WebData.cpp.
8564 (WebKit::WebData::reset):
8565 (WebKit::WebData::assign):
8566 (WebKit::WebData::size):
8567 (WebKit::WebData::data):
8568 (WebKit::WebData::WebData):
8569 (WebKit::WebData::operator=):
8570 (WebKit::WebData::operator PassRefPtr<SharedBuffer>):
8571 * src/WebHTTPBody.cpp: Renamed from Source/WebCore/platform/chromium/support/WebHTTPBody.cpp.
8573 (WebKit::WebHTTPBody::initialize):
8574 (WebKit::WebHTTPBody::reset):
8575 (WebKit::WebHTTPBody::assign):
8576 (WebKit::WebHTTPBody::elementCount):
8577 (WebKit::WebHTTPBody::elementAt):
8578 (WebKit::WebHTTPBody::appendData):
8579 (WebKit::WebHTTPBody::appendFile):
8580 (WebKit::WebHTTPBody::appendFileRange):
8581 (WebKit::WebHTTPBody::appendBlob):
8582 (WebKit::WebHTTPBody::identifier):
8583 (WebKit::WebHTTPBody::setIdentifier):
8584 (WebKit::WebHTTPBody::containsPasswordData):
8585 (WebKit::WebHTTPBody::setContainsPasswordData):
8586 (WebKit::WebHTTPBody::WebHTTPBody):
8587 (WebKit::WebHTTPBody::operator=):
8588 (WebKit::WebHTTPBody::operator PassRefPtr<FormData>):
8589 (WebKit::WebHTTPBody::ensureMutable):
8590 * src/WebHTTPLoadInfo.cpp: Renamed from Source/WebCore/platform/chromium/support/WebHTTPLoadInfo.cpp.
8592 (WebKit::WebHTTPLoadInfo::initialize):
8593 (WebKit::WebHTTPLoadInfo::reset):
8594 (WebKit::WebHTTPLoadInfo::assign):
8595 (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo):
8596 (WebKit::WebHTTPLoadInfo::operator WTF::PassRefPtr<WebCore::ResourceLoadInfo>):
8597 (WebKit::WebHTTPLoadInfo::httpStatusCode):
8598 (WebKit::WebHTTPLoadInfo::setHTTPStatusCode):
8599 (WebKit::WebHTTPLoadInfo::httpStatusText):
8600 (WebKit::WebHTTPLoadInfo::setHTTPStatusText):
8601 (WebKit::WebHTTPLoadInfo::encodedDataLength):
8602 (WebKit::WebHTTPLoadInfo::setEncodedDataLength):
8603 (WebKit::addHeader):
8604 (WebKit::WebHTTPLoadInfo::addRequestHeader):
8605 (WebKit::WebHTTPLoadInfo::addResponseHeader):
8606 (WebKit::WebHTTPLoadInfo::requestHeadersText):
8607 (WebKit::WebHTTPLoadInfo::setRequestHeadersText):
8608 (WebKit::WebHTTPLoadInfo::responseHeadersText):
8609 (WebKit::WebHTTPLoadInfo::setResponseHeadersText):
8610 * src/WebURL.cpp: Renamed from Source/WebCore/platform/chromium/support/WebURL.cpp.
8612 (WebKit::WebURL::WebURL):
8613 (WebKit::WebURL::operator=):
8614 (WebKit::WebURL::operator WebCore::KURL):
8615 * src/WebURLError.cpp: Renamed from Source/WebCore/platform/chromium/support/WebURLError.cpp.
8617 (WebKit::WebURLError::WebURLError):
8618 (WebKit::WebURLError::operator=):
8619 (WebKit::WebURLError::operator ResourceError):
8620 * src/WebURLRequest.cpp: Renamed from Source/WebCore/platform/chromium/support/WebURLRequest.cpp.
8621 (WebURLRequestPrivateImpl):
8622 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
8623 (WebKit::WebURLRequestPrivateImpl::dispose):
8624 (WebKit::WebURLRequestPrivateImpl::~WebURLRequestPrivateImpl):
8626 (WebKit::WebURLRequest::initialize):
8627 (WebKit::WebURLRequest::reset):
8628 (WebKit::WebURLRequest::assign):
8629 (WebKit::WebURLRequest::isNull):
8630 (WebKit::WebURLRequest::url):
8631 (WebKit::WebURLRequest::setURL):
8632 (WebKit::WebURLRequest::firstPartyForCookies):
8633 (WebKit::WebURLRequest::setFirstPartyForCookies):
8634 (WebKit::WebURLRequest::allowCookies):
8635 (WebKit::WebURLRequest::setAllowCookies):
8636 (WebKit::WebURLRequest::allowStoredCredentials):
8637 (WebKit::WebURLRequest::setAllowStoredCredentials):
8638 (WebKit::WebURLRequest::cachePolicy):
8639 (WebKit::WebURLRequest::setCachePolicy):
8640 (WebKit::WebURLRequest::httpMethod):
8641 (WebKit::WebURLRequest::setHTTPMethod):
8642 (WebKit::WebURLRequest::httpHeaderField):
8643 (WebKit::WebURLRequest::setHTTPHeaderField):
8644 (WebKit::WebURLRequest::addHTTPHeaderField):
8645 (WebKit::WebURLRequest::clearHTTPHeaderField):
8646 (WebKit::WebURLRequest::visitHTTPHeaderFields):
8647 (WebKit::WebURLRequest::httpBody):
8648 (WebKit::WebURLRequest::setHTTPBody):
8649 (WebKit::WebURLRequest::reportUploadProgress):
8650 (WebKit::WebURLRequest::setReportUploadProgress):
8651 (WebKit::WebURLRequest::reportLoadTiming):
8652 (WebKit::WebURLRequest::setReportRawHeaders):
8653 (WebKit::WebURLRequest::reportRawHeaders):
8654 (WebKit::WebURLRequest::setReportLoadTiming):
8655 (WebKit::WebURLRequest::targetType):
8656 (WebKit::WebURLRequest::hasUserGesture):
8657 (WebKit::WebURLRequest::setHasUserGesture):
8658 (WebKit::WebURLRequest::setTargetType):
8659 (WebKit::WebURLRequest::requestorID):
8660 (WebKit::WebURLRequest::setRequestorID):
8661 (WebKit::WebURLRequest::requestorProcessID):
8662 (WebKit::WebURLRequest::setRequestorProcessID):
8663 (WebKit::WebURLRequest::appCacheHostID):
8664 (WebKit::WebURLRequest::setAppCacheHostID):
8665 (WebKit::WebURLRequest::downloadToFile):
8666 (WebKit::WebURLRequest::setDownloadToFile):
8667 (WebKit::WebURLRequest::extraData):
8668 (WebKit::WebURLRequest::setExtraData):
8669 (WebKit::WebURLRequest::toMutableResourceRequest):
8670 (WebKit::WebURLRequest::toResourceRequest):
8671 * src/WebURLRequestPrivate.h: Renamed from Source/WebCore/platform/chromium/support/WebURLRequestPrivate.h.
8673 (WebURLRequestPrivate):
8674 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
8675 * src/WebURLResponse.cpp: Renamed from Source/WebCore/platform/chromium/support/WebURLResponse.cpp.
8676 (WebURLResponsePrivateImpl):
8677 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
8678 (WebKit::WebURLResponsePrivateImpl::dispose):
8679 (WebKit::WebURLResponsePrivateImpl::~WebURLResponsePrivateImpl):
8681 (WebKit::WebURLResponse::initialize):
8682 (WebKit::WebURLResponse::reset):
8683 (WebKit::WebURLResponse::assign):
8684 (WebKit::WebURLResponse::isNull):
8685 (WebKit::WebURLResponse::url):
8686 (WebKit::WebURLResponse::setURL):
8687 (WebKit::WebURLResponse::connectionID):
8688 (WebKit::WebURLResponse::setConnectionID):
8689 (WebKit::WebURLResponse::connectionReused):
8690 (WebKit::WebURLResponse::setConnectionReused):
8691 (WebKit::WebURLResponse::loadTiming):
8692 (WebKit::WebURLResponse::setLoadTiming):
8693 (WebKit::WebURLResponse::httpLoadInfo):
8694 (WebKit::WebURLResponse::setHTTPLoadInfo):
8695 (WebKit::WebURLResponse::responseTime):
8696 (WebKit::WebURLResponse::setResponseTime):
8697 (WebKit::WebURLResponse::mimeType):
8698 (WebKit::WebURLResponse::setMIMEType):
8699 (WebKit::WebURLResponse::expectedContentLength):
8700 (WebKit::WebURLResponse::setExpectedContentLength):
8701 (WebKit::WebURLResponse::textEncodingName):
8702 (WebKit::WebURLResponse::setTextEncodingName):
8703 (WebKit::WebURLResponse::suggestedFileName):
8704 (WebKit::WebURLResponse::setSuggestedFileName):
8705 (WebKit::WebURLResponse::httpStatusCode):
8706 (WebKit::WebURLResponse::setHTTPStatusCode):
8707 (WebKit::WebURLResponse::httpStatusText):
8708 (WebKit::WebURLResponse::setHTTPStatusText):
8709 (WebKit::WebURLResponse::httpHeaderField):
8710 (WebKit::WebURLResponse::setHTTPHeaderField):
8711 (WebKit::WebURLResponse::addHTTPHeaderField):
8712 (WebKit::WebURLResponse::clearHTTPHeaderField):
8713 (WebKit::WebURLResponse::visitHTTPHeaderFields):
8714 (WebKit::WebURLResponse::lastModifiedDate):
8715 (WebKit::WebURLResponse::setLastModifiedDate):
8716 (WebKit::WebURLResponse::appCacheID):
8717 (WebKit::WebURLResponse::setAppCacheID):
8718 (WebKit::WebURLResponse::appCacheManifestURL):
8719 (WebKit::WebURLResponse::setAppCacheManifestURL):
8720 (WebKit::WebURLResponse::securityInfo):
8721 (WebKit::WebURLResponse::setSecurityInfo):
8722 (WebKit::WebURLResponse::toMutableResourceResponse):
8723 (WebKit::WebURLResponse::toResourceResponse):
8724 (WebKit::WebURLResponse::wasCached):
8725 (WebKit::WebURLResponse::setWasCached):
8726 (WebKit::WebURLResponse::wasFetchedViaSPDY):
8727 (WebKit::WebURLResponse::setWasFetchedViaSPDY):
8728 (WebKit::WebURLResponse::wasNpnNegotiated):
8729 (WebKit::WebURLResponse::setWasNpnNegotiated):
8730 (WebKit::WebURLResponse::wasAlternateProtocolAvailable):
8731 (WebKit::WebURLResponse::setWasAlternateProtocolAvailable):
8732 (WebKit::WebURLResponse::wasFetchedViaProxy):
8733 (WebKit::WebURLResponse::setWasFetchedViaProxy):
8734 (WebKit::WebURLResponse::isMultipartPayload):
8735 (WebKit::WebURLResponse::setIsMultipartPayload):
8736 (WebKit::WebURLResponse::downloadFilePath):
8737 (WebKit::WebURLResponse::setDownloadFilePath):
8738 (WebKit::WebURLResponse::remoteIPAddress):
8739 (WebKit::WebURLResponse::setRemoteIPAddress):
8740 (WebKit::WebURLResponse::remotePort):
8741 (WebKit::WebURLResponse::setRemotePort):
8742 (WebKit::WebURLResponse::extraData):
8743 (WebKit::WebURLResponse::setExtraData):
8744 * src/WebURLResponsePrivate.h: Renamed from Source/WebCore/platform/chromium/support/WebURLResponsePrivate.h.
8746 (WebURLResponsePrivate):
8747 (WebKit::WebURLResponsePrivate::WebURLResponsePrivate):
8749 2012-03-29 Adam Barth <abarth@webkit.org>
8751 Unreviewed, rolling out r112579.
8752 http://trac.webkit.org/changeset/112579
8753 https://bugs.webkit.org/show_bug.cgi?id=82657
8755 Does not compile in Windows component build
8758 * src/ResourceHandle.cpp: Renamed from Source/WebCore/platform/network/chromium/ResourceHandle.cpp.
8760 (WebCore::ResourceHandleInternal::ResourceHandleInternal):
8761 (WebCore::ResourceHandleInternal::start):
8762 (WebCore::ResourceHandleInternal::cancel):
8763 (WebCore::ResourceHandleInternal::setDefersLoading):
8764 (WebCore::ResourceHandleInternal::allowStoredCredentials):
8765 (WebCore::ResourceHandleInternal::willSendRequest):
8766 (WebCore::ResourceHandleInternal::didSendData):
8767 (WebCore::ResourceHandleInternal::didReceiveResponse):
8768 (WebCore::ResourceHandleInternal::didDownloadData):
8769 (WebCore::ResourceHandleInternal::didReceiveData):
8770 (WebCore::ResourceHandleInternal::didReceiveCachedMetadata):
8771 (WebCore::ResourceHandleInternal::didFinishLoading):
8772 (WebCore::ResourceHandleInternal::didFail):
8773 (WebCore::ResourceHandleInternal::FromResourceHandle):
8774 (WebCore::ResourceHandle::ResourceHandle):
8775 (WebCore::ResourceHandle::create):
8776 (WebCore::ResourceHandle::firstRequest):
8777 (WebCore::ResourceHandle::client):
8778 (WebCore::ResourceHandle::setClient):
8779 (WebCore::ResourceHandle::setDefersLoading):
8780 (WebCore::ResourceHandle::start):
8781 (WebCore::ResourceHandle::hasAuthenticationChallenge):
8782 (WebCore::ResourceHandle::clearAuthentication):
8783 (WebCore::ResourceHandle::cancel):
8784 (WebCore::ResourceHandle::~ResourceHandle):
8785 (WebCore::ResourceHandle::loadsBlocked):
8786 (WebCore::ResourceHandle::loadResourceSynchronously):
8787 (WebCore::ResourceHandle::willLoadFromCache):
8788 (WebCore::ResourceHandle::cacheMetadata):
8789 * src/ResourceHandleInternal.h: Renamed from Source/WebCore/platform/network/chromium/ResourceHandleInternal.h.
8791 (ResourceHandleInternal):
8792 (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
8793 (WebCore::ResourceHandleInternal::setOwner):
8794 (WebCore::ResourceHandleInternal::request):
8795 (WebCore::ResourceHandleInternal::client):
8796 (WebCore::ResourceHandleInternal::setClient):
8797 (WebCore::ResourceHandleInternal::loader):
8798 * src/WrappedResourceRequest.h: Renamed from Source/WebCore/platform/chromium/support/WrappedResourceRequest.h.
8800 (WrappedResourceRequest):
8801 (WebKit::WrappedResourceRequest::~WrappedResourceRequest):
8802 (WebKit::WrappedResourceRequest::WrappedResourceRequest):
8803 (WebKit::WrappedResourceRequest::bind):
8805 (WebKit::WrappedResourceRequest::Handle::dispose):
8806 * src/WrappedResourceResponse.h: Renamed from Source/WebCore/platform/chromium/support/WrappedResourceResponse.h.
8808 (WrappedResourceResponse):
8809 (WebKit::WrappedResourceResponse::~WrappedResourceResponse):
8810 (WebKit::WrappedResourceResponse::WrappedResourceResponse):
8811 (WebKit::WrappedResourceResponse::bind):
8813 (WebKit::WrappedResourceResponse::Handle::dispose):
8815 2012-03-29 Adam Barth <abarth@webkit.org>
8817 [Chromium] Move ResourceHandle to WebCore/platform/network/chromium
8818 https://bugs.webkit.org/show_bug.cgi?id=82657
8820 Reviewed by James Robinson.
8823 * src/ResourceHandle.cpp: Removed.
8824 * src/ResourceHandleInternal.h: Removed.
8825 * src/WrappedResourceRequest.h: Removed.
8826 * src/WrappedResourceResponse.h: Removed.
8828 2012-03-29 Dmitry Lomov <dslomov@google.com>
8830 [Chromium] WorkerFileSystemContextObserver can reference a deleted WorkerFileSystemCallbacksBridge.
8831 https://bugs.webkit.org/show_bug.cgi?id=82565
8833 WorkerFileSystemCallbacksBridge relies on a cleanUpAfterCallback being called
8834 prior to the disposal of the bridge to ensure that WorkerFileSystemContextObserver
8835 is unsubscribed and deleted. However cleanUpAfterCallback will only execute if the bridge's
8836 callback has executed on the worker thread, and this might not be the case if the worker
8839 This patch fixes this by maintaining a RefPtr from WorkerFileSystemContextObserver to
8840 WorkerFileSystemCallbacksBridge. This ensures that bridge is not deleted while observer is alive.
8842 Reviewed by David Levin.
8844 * src/WorkerFileSystemCallbacksBridge.cpp:
8845 (WebKit::WorkerFileSystemContextObserver::create):
8846 (WebKit::WorkerFileSystemContextObserver::WorkerFileSystemContextObserver):
8847 (WorkerFileSystemContextObserver):
8849 2012-03-29 Adam Barth <abarth@webkit.org>
8851 Move CPP files related to ResourceHandle to WebCore/platform
8852 https://bugs.webkit.org/show_bug.cgi?id=82582
8854 Reviewed by James Robinson.
8857 * src/WebData.cpp: Removed.
8858 * src/WebHTTPBody.cpp: Removed.
8859 * src/WebHTTPLoadInfo.cpp: Removed.
8860 * src/WebURL.cpp: Removed.
8861 * src/WebURLError.cpp: Removed.
8862 * src/WebURLRequest.cpp: Removed.
8863 * src/WebURLRequestPrivate.h: Removed.
8864 * src/WebURLResponse.cpp: Removed.
8865 * src/WebURLResponsePrivate.h: Removed.
8867 2012-03-29 Michal Mocny <mmocny@google.com>
8869 [chromium] Ensure framebuffer exists at the start of beginDrawingFrame.
8870 https://bugs.webkit.org/show_bug.cgi?id=82569
8872 Reviewed by James Robinson.
8874 * tests/LayerRendererChromiumTest.cpp:
8875 (FakeLayerRendererChromiumClient::FakeLayerRendererChromiumClient):
8876 (FakeLayerRendererChromiumClient::rootLayer):
8877 (FakeLayerRendererChromiumClient):
8880 2012-03-29 Adam Barth <abarth@webkit.org>
8882 Move createURLLoader() into Platform
8883 https://bugs.webkit.org/show_bug.cgi?id=82587
8885 Reviewed by James Robinson.
8887 * public/platform/WebKitPlatformSupport.h:
8889 (WebKitPlatformSupport):
8891 (WebKit::initializeWithoutV8):
8894 2012-03-29 Sheriff Bot <webkit.review.bot@gmail.com>
8896 Unreviewed, rolling out r112553.
8897 http://trac.webkit.org/changeset/112553
8898 https://bugs.webkit.org/show_bug.cgi?id=82638
8900 It made all tests crash on Qt WK2 (Requested by Ossy_away on
8903 * src/WebViewImpl.cpp:
8904 (WebKit::WebViewImpl::WebViewImpl):
8906 2012-03-29 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
8908 HashMap<>::add should return a more descriptive object
8909 https://bugs.webkit.org/show_bug.cgi?id=71063
8911 Reviewed by Ryosuke Niwa.
8913 Update code to use AddResult instead of a pair.
8915 * src/WebHTTPLoadInfo.cpp:
8916 (WebKit::addHeader):
8917 * src/WebURLResponse.cpp:
8918 (WebKit::WebURLResponse::addHTTPHeaderField):
8920 2012-03-29 Mark Pilgrim <pilgrim@chromium.org>
8922 GEOLOCATION should be implemented as Page Supplement
8923 https://bugs.webkit.org/show_bug.cgi?id=82228
8925 Reviewed by Adam Barth.
8927 Geolocation is now a Supplement in Page so the interface
8928 has changed for setting up the page's geolocation client
8929 initially and accessing the controller later.
8931 * src/WebViewImpl.cpp:
8932 (WebKit::WebViewImpl::WebViewImpl):
8934 2012-03-29 Dana Jansens <danakj@chromium.org>
8936 [chromium] Split off tiled layer constructs for unit tests into a common header
8937 https://bugs.webkit.org/show_bug.cgi?id=82425
8939 Reviewed by Adrienne Walker.
8942 * tests/CCTiledLayerTestCommon.cpp: Added.
8944 (WebKitTests::FakeLayerTextureUpdater::Texture::Texture):
8945 (WebKitTests::FakeLayerTextureUpdater::Texture::~Texture):
8946 (WebKitTests::FakeLayerTextureUpdater::Texture::updateRect):
8947 (WebKitTests::FakeLayerTextureUpdater::Texture::prepareRect):
8948 (WebKitTests::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
8949 (WebKitTests::FakeLayerTextureUpdater::~FakeLayerTextureUpdater):
8950 (WebKitTests::FakeLayerTextureUpdater::prepareToUpdate):
8951 (WebKitTests::FakeLayerTextureUpdater::setRectToInvalidate):
8952 (WebKitTests::FakeLayerTextureUpdater::createTexture):
8953 (WebKitTests::FakeCCTiledLayerImpl::FakeCCTiledLayerImpl):
8954 (WebKitTests::FakeCCTiledLayerImpl::~FakeCCTiledLayerImpl):
8955 (WebKitTests::FakeTiledLayerChromium::FakeTiledLayerChromium):
8956 (WebKitTests::FakeTiledLayerChromium::~FakeTiledLayerChromium):
8957 (WebKitTests::FakeTiledLayerChromium::setNeedsDisplayRect):
8958 (WebKitTests::FakeTiledLayerChromium::paintContentsIfDirty):
8959 (WebKitTests::FakeTiledLayerWithScaledBounds::FakeTiledLayerWithScaledBounds):
8960 (WebKitTests::FakeCCTextureUpdater::FakeCCTextureUpdater):
8961 * tests/CCTiledLayerTestCommon.h: Added.
8963 (FakeLayerTextureUpdater):
8965 (WebKitTests::FakeLayerTextureUpdater::sampledTexelFormat):
8966 (WebKitTests::FakeLayerTextureUpdater::lastUpdateRect):
8967 (WebKitTests::FakeLayerTextureUpdater::prepareCount):
8968 (WebKitTests::FakeLayerTextureUpdater::clearPrepareCount):
8969 (WebKitTests::FakeLayerTextureUpdater::updateCount):
8970 (WebKitTests::FakeLayerTextureUpdater::clearUpdateCount):
8971 (WebKitTests::FakeLayerTextureUpdater::updateRect):
8972 (WebKitTests::FakeLayerTextureUpdater::prepareRectCount):
8973 (WebKitTests::FakeLayerTextureUpdater::clearPrepareRectCount):
8974 (WebKitTests::FakeLayerTextureUpdater::prepareRect):
8975 (WebKitTests::FakeLayerTextureUpdater::setOpaquePaintRect):
8976 (FakeCCTiledLayerImpl):
8977 (FakeTiledLayerChromium):
8978 (WebKitTests::FakeTiledLayerChromium::tileSize):
8979 (WebKitTests::FakeTiledLayerChromium::lastNeedsDisplayRect):
8980 (WebKitTests::FakeTiledLayerChromium::textureManager):
8981 (WebKitTests::FakeTiledLayerChromium::fakeLayerTextureUpdater):
8982 (WebKitTests::FakeTiledLayerChromium::updateRect):
8983 (WebKitTests::FakeTiledLayerChromium::textureUpdater):
8984 (WebKitTests::FakeTiledLayerChromium::createTextureUpdaterIfNeeded):
8985 (FakeTiledLayerWithScaledBounds):
8986 (WebKitTests::FakeTiledLayerWithScaledBounds::setContentBounds):
8987 (WebKitTests::FakeTiledLayerWithScaledBounds::contentBounds):
8988 (FakeTextureAllocator):
8989 (WebKitTests::FakeTextureAllocator::createTexture):
8990 (WebKitTests::FakeTextureAllocator::deleteTexture):
8991 (FakeTextureCopier):
8992 (WebKitTests::FakeTextureCopier::copyTexture):
8993 (FakeCCTextureUpdater):
8994 (WebKitTests::FakeCCTextureUpdater::textureAllocator):
8995 * tests/TextureManagerTest.cpp:
8996 * tests/TiledLayerChromiumTest.cpp:
8998 2012-03-29 Dana Jansens <danakj@chromium.org>
9000 [chromium] Remove unneeded code+fixmes from CCOcclusionTracker
9001 https://bugs.webkit.org/show_bug.cgi?id=82380
9003 Reviewed by Adrienne Walker.
9006 * tests/CCLayerTreeHostTest.cpp:
9007 (WTF::TestLayerChromium::paintContentsIfDirty):
9008 * tests/CCOcclusionTrackerTest.cpp:
9009 (WebKitTests::TestCCOcclusionTrackerWithScissor::TestCCOcclusionTrackerWithScissor):
9010 (WebKitTests::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
9011 (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
9012 (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
9013 (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
9014 (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
9015 (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
9016 (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
9017 (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
9018 (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
9019 (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
9020 (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
9021 (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
9022 (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
9023 (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
9024 (WebKitTests::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
9025 (WebKitTests::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
9026 (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
9027 (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
9028 (WebKitTests::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
9029 (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
9030 (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
9031 (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
9032 (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
9033 (WebKitTests::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
9034 (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
9035 (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
9036 (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
9037 (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
9038 * tests/CCOcclusionTrackerTestCommon.h: Added.
9040 (TestCCOcclusionTrackerBase):
9041 (WebKitTests::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
9042 (WebKitTests::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
9043 (WebKitTests::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
9044 (WebKitTests::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
9045 (WebKitTests::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
9047 2012-03-29 Dirk Schulze <krit@webkit.org>
9049 Introduce CSSParserMode in all classes
9050 https://bugs.webkit.org/show_bug.cgi?id=82335
9052 Unreviewed build fix.
9054 * src/WebDocument.cpp:
9055 (WebKit::WebDocument::insertUserStyleSheet):
9057 2012-03-28 Dirk Schulze <krit@webkit.org>
9059 Introduce CSSParserMode in all classes
9060 https://bugs.webkit.org/show_bug.cgi?id=82335
9062 Use CSSParserMode for setting the parsing mode on parseValue.
9064 * src/WebDocument.cpp:
9065 (WebKit::WebDocument::insertUserStyleSheet):
9067 2012-03-29 Tommy Widenflycht <tommyw@google.com>
9069 MediaStream API: Adding better comments for the WebRTC methods in WebKitPlatformSupport.h
9070 https://bugs.webkit.org/show_bug.cgi?id=82588
9072 Reviewed by Adam Barth.
9074 * public/platform/WebKitPlatformSupport.h:
9075 (WebKitPlatformSupport):
9077 2012-03-28 Kinuko Yasuda <kinuko@chromium.org>
9079 [chromium] Add isolated filesystem type and WebDragData::filesystem_id for drag-and-drop using File/DirectoryEntry.
9080 https://bugs.webkit.org/show_bug.cgi?id=76826
9082 As proposed on whatwg (http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-November/033814.html)
9083 we are implementing better drag-and-drop support using File/Directory
9084 Entry objects in FileSystem API, and for the purpose this patch adds
9085 a new filesystem type: Isolated filesystem.
9087 Each filesystem can be distinguished by a filesystem ID that is given
9088 by chromium platform code via WebDragData when set of
9089 files/directories are dropped.
9091 This is all platform-specific implementation detail and all the changes
9092 are in chromium directory.
9094 Reviewed by David Levin.
9096 * public/platform/WebDragData.h:
9098 * public/platform/WebFileSystem.h: Added Isolated type.
9099 * src/AsyncFileSystemChromium.cpp:
9100 (WebCore::AsyncFileSystemChromium::createIsolatedFileSystemName): Added.
9101 (WebCore::AsyncFileSystemChromium::createIsolatedFileSystem): Added.
9102 (WebCore::AsyncFileSystemChromium::toURL): Made it not to return URL
9103 for isolated filesystem (as we do not support it for now).
9104 * src/AsyncFileSystemChromium.h:
9105 * src/PlatformSupport.cpp:
9106 (WebCore::PlatformSupport::createIsolatedFileSystem): Added.
9107 * src/WebDragData.cpp:
9108 (WebKit::WebDragData::filesystemId): Added.
9109 (WebKit::WebDragData::setFilesystemId): Added.
9111 2012-03-29 Kinuko Yasuda <kinuko@chromium.org>
9113 Unreviewed; rolling chromium deps to 129583.
9117 2012-03-28 Adam Barth <abarth@webkit.org>
9119 [Chromium] Move APIs related to ResourceHandle into Platform
9120 https://bugs.webkit.org/show_bug.cgi?id=82553
9122 Reviewed by James Robinson.
9124 These headers are now just forwarding headers to the new location of
9125 these headers. These forwarding headers exist to avoid breaking
9126 existing users of the API. They will likely be removed (or changed)
9127 in the future once we've updated all folks using them.
9129 * public/platform/WebData.h:
9130 * public/platform/WebHTTPBody.h:
9131 * public/platform/WebHTTPHeaderVisitor.h:
9132 * public/platform/WebHTTPLoadInfo.h:
9133 * public/platform/WebPrivateOwnPtr.h:
9134 * public/platform/WebURL.h:
9135 * public/platform/WebURLError.h:
9136 * public/platform/WebURLLoadTiming.h:
9137 * public/platform/WebURLLoader.h:
9138 * public/platform/WebURLLoaderClient.h:
9139 * public/platform/WebURLRequest.h:
9140 * public/platform/WebURLResponse.h:
9142 2012-03-28 Bill Budge <bbudge@chromium.org>
9144 AssociatedURLLoader does not support Cross Origin Redirects when using
9146 https://bugs.webkit.org/show_bug.cgi?id=82354
9148 AssociatedURLLoader's internal adapter now overrides didFailRedirectCheck,
9149 which cancels the load, causing didFail to notify the client that the
9150 load failed. AssociatedURLLoaderTest adds test cases for CORS requests
9151 that receive redirects and pass or fail the redirect access check.
9153 Reviewed by Adam Barth.
9155 * src/AssociatedURLLoader.cpp:
9156 (AssociatedURLLoader::ClientAdapter):
9157 (WebKit::AssociatedURLLoader::ClientAdapter::didFailRedirectCheck):
9159 * tests/AssociatedURLLoaderTest.cpp:
9163 2012-03-28 Adrienne Walker <enne@google.com>
9165 [chromium] Fix tiled layer assert for huge layers
9166 https://bugs.webkit.org/show_bug.cgi?id=82486
9168 Reviewed by James Robinson.
9170 Add test for updating a huge layer that would assert prior to this
9171 code. Fix up TilingData tests to use a testing class that provides a
9172 safe version of numTiles().
9174 * tests/TiledLayerChromiumTest.cpp:
9177 * tests/TilingDataTest.cpp:
9179 (WebCore::TestTiling::TestTiling):
9180 (WebCore::TestTiling::numTiles):
9184 2012-03-28 Nate Chapin <japhet@chromium.org>
9186 Remove dispatchDidLoadMainResource callback, since no
9188 https://bugs.webkit.org/show_bug.cgi?id=82539
9190 Reviewed by Alexey Proskuryakov.
9192 * src/FrameLoaderClientImpl.cpp:
9194 * src/FrameLoaderClientImpl.h:
9195 (FrameLoaderClientImpl):
9197 2012-03-28 Dirk Pranke <dpranke@chromium.org>
9199 Roll chromium from 129300 to 129509.
9201 Unreviewed, DEPS change.
9205 2012-03-28 Sheriff Bot <webkit.review.bot@gmail.com>
9207 Unreviewed, rolling out r112432.
9208 http://trac.webkit.org/changeset/112432
9209 https://bugs.webkit.org/show_bug.cgi?id=82536
9211 Causes ccs3 layout test asserts (Requested by enne on
9214 * tests/TiledLayerChromiumTest.cpp:
9215 * tests/TilingDataTest.cpp:
9218 2012-03-27 Daniel Cheng <dcheng@chromium.org>
9220 [chromium] Merge ChromiumDataObject and DataTransferItemListChromium.
9221 https://bugs.webkit.org/show_bug.cgi?id=82407
9223 Reviewed by Tony Chang.
9225 * src/WebDragData.cpp:
9226 (WebKit::WebDragData::items):
9228 2012-03-28 Nat Duca <nduca@chromium.org>
9230 [chromium] Scheduler should not tell FrameRateController to begin a frame when we dont swap
9231 https://bugs.webkit.org/show_bug.cgi?id=82516
9233 Reviewed by James Robinson.
9235 * tests/CCSchedulerTest.cpp:
9236 (WebKitTests::FakeCCSchedulerClient::reset):
9237 (WebKitTests::FakeCCSchedulerClient::hasAction):
9238 (FakeCCSchedulerClient):
9239 (WebKitTests::FakeCCSchedulerClient::scheduledActionDrawAndSwapIfPossible):
9240 (WebKitTests::FakeCCSchedulerClient::scheduledActionDrawAndSwapForced):
9241 (WebKitTests::FakeCCSchedulerClient::setDrawWillHappen):
9242 (WebKitTests::FakeCCSchedulerClient::setSwapWillHappenIfDrawHappens):
9243 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionDrawAndSwapIfPossible):
9244 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionDrawAndSwapForced):
9245 (SchedulerClientThatSetNeedsDrawInsideDraw):
9246 (WebKitTests::TEST):
9247 (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::scheduledActionDrawAndSwapIfPossible):
9248 (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::scheduledActionDrawAndSwapForced):
9249 (SchedulerClientThatSetNeedsCommitInsideDraw):
9252 2012-03-26 Shawn Singh <shawnsingh@chromium.org>
9254 [chromium] layer->clipRect() is not initialized for layers that create a renderSurface.
9255 https://bugs.webkit.org/show_bug.cgi?id=74147
9257 Reviewed by Adrienne Walker.
9259 Added 3 more unit tests. One reproduces the clipRect problem in an
9260 integrated manner, the other two directly test that clipRects are
9261 properly initialized.
9263 * tests/CCLayerTreeHostCommonTest.cpp:
9266 * tests/CCLayerTreeTestCommon.h:
9269 2012-03-28 Adrienne Walker <enne@google.com>
9271 [chromium] Fix tiled layer assert for huge layers
9272 https://bugs.webkit.org/show_bug.cgi?id=82486
9274 Reviewed by James Robinson.
9276 Add test for updating a huge layer that would assert prior to this
9277 code. Fix up TilingData tests to use a testing class that provides a
9278 safe version of numTiles().
9280 * tests/TiledLayerChromiumTest.cpp:
9283 * tests/TilingDataTest.cpp:
9285 (WebCore::TestTiling::TestTiling):
9286 (WebCore::TestTiling::numTiles):
9290 2012-03-28 Tommy Widenflycht <tommyw@google.com>
9292 [chromium] MediaStream API (JSEP): Introducing WebPeerConnection00Handler
9293 https://bugs.webkit.org/show_bug.cgi?id=82450
9295 Reviewed by Adam Barth.
9297 Last patch to enable the PeerConnection00 functionality in Chromium introduces
9298 WebPeerConnection00Handler and WebPeerConnection00HandlerClient, together with the necessary plumbing.
9301 * bridge/PeerConnection00Handler.cpp: Added.
9303 (WebCore::PeerConnection00Handler::create):
9304 (WebCore::PeerConnection00Handler::PeerConnection00Handler):
9305 (WebCore::PeerConnection00Handler::~PeerConnection00Handler):
9306 (WebCore::PeerConnection00Handler::createOffer):
9307 (WebCore::PeerConnection00Handler::createAnswer):
9308 (WebCore::PeerConnection00Handler::setLocalDescription):
9309 (WebCore::PeerConnection00Handler::setRemoteDescription):
9310 (WebCore::PeerConnection00Handler::localDescription):
9311 (WebCore::PeerConnection00Handler::remoteDescription):
9312 (WebCore::PeerConnection00Handler::startIce):
9313 (WebCore::PeerConnection00Handler::processIceMessage):
9314 (WebCore::PeerConnection00Handler::addStream):
9315 (WebCore::PeerConnection00Handler::removeStream):
9316 (WebCore::PeerConnection00Handler::stop):
9317 * bridge/PeerConnection00HandlerInternal.cpp: Added.
9319 (WebCore::PeerConnection00HandlerInternal::PeerConnection00HandlerInternal):
9320 (WebCore::PeerConnection00HandlerInternal::~PeerConnection00HandlerInternal):
9321 (WebCore::PeerConnection00HandlerInternal::createOffer):
9322 (WebCore::PeerConnection00HandlerInternal::createAnswer):
9323 (WebCore::PeerConnection00HandlerInternal::setLocalDescription):
9324 (WebCore::PeerConnection00HandlerInternal::setRemoteDescription):
9325 (WebCore::PeerConnection00HandlerInternal::localDescription):
9326 (WebCore::PeerConnection00HandlerInternal::remoteDescription):
9327 (WebCore::PeerConnection00HandlerInternal::startIce):
9328 (WebCore::PeerConnection00HandlerInternal::processIceMessage):
9329 (WebCore::PeerConnection00HandlerInternal::addStream):
9330 (WebCore::PeerConnection00HandlerInternal::removeStream):
9331 (WebCore::PeerConnection00HandlerInternal::stop):
9332 (WebCore::PeerConnection00HandlerInternal::didGenerateICECandidate):
9333 (WebCore::PeerConnection00HandlerInternal::didChangeReadyState):
9334 (WebCore::PeerConnection00HandlerInternal::didChangeICEState):
9335 (WebCore::PeerConnection00HandlerInternal::didAddRemoteStream):
9336 (WebCore::PeerConnection00HandlerInternal::didRemoveRemoteStream):
9337 * bridge/PeerConnection00HandlerInternal.h: Copied from Source/WebCore/platform/mediastream/PeerConnection00Handler.h.
9340 (PeerConnection00HandlerInternal):
9341 * public/platform/WebKitPlatformSupport.h:
9343 (WebKit::WebKitPlatformSupport::createPeerConnection00Handler):
9344 * public/platform/WebPeerConnection00Handler.h: Added.
9346 (WebPeerConnection00Handler):
9347 (WebKit::WebPeerConnection00Handler::~WebPeerConnection00Handler):
9348 * public/platform/WebPeerConnection00HandlerClient.h: Added.
9350 (WebPeerConnection00HandlerClient):
9351 (WebKit::WebPeerConnection00HandlerClient::~WebPeerConnection00HandlerClient):
9352 * src/AssertMatchingEnums.cpp:
9354 2012-03-28 James Robinson <jamesr@chromium.org>
9356 [chromium] Compositor visibility setting must be updated even if not actively compositing
9357 https://bugs.webkit.org/show_bug.cgi?id=82406
9359 Reviewed by Adrienne Walker.
9361 Propagate the visibility bit to the WebLayerTreeView even when compositing is inactive.
9363 * src/WebViewImpl.cpp:
9364 (WebKit::WebViewImpl::setVisibilityState):
9366 2012-03-28 Fady Samuel <fsamuel@chromium.org>
9368 [Chromium] Enable Viewport define by default
9369 https://bugs.webkit.org/show_bug.cgi?id=79514
9371 Reviewed by Darin Fisher.
9375 2012-03-27 James Robinson <jamesr@chromium.org>
9377 [chromium] Transfer wheel fling via WebCompositorInputHandlerClient
9378 https://bugs.webkit.org/show_bug.cgi?id=81740
9380 Reviewed by Adrienne Walker.
9382 Adds a path for transfering an active wheel fling animation out to the embedder from the compositor and back in
9383 to a WebViewImpl via the embedder. This is used when we start a wheel fling animation on the compositor thread
9384 but then hit a condition that we can't handle from the compositor, such as registered wheel event listeners or a
9385 scrollable area we can't handle.
9387 New tests added to WebCompositorInputHandlerTest for the transfering logic.
9389 * public/WebActiveWheelFlingParameters.h: Copied from Source/WebKit/chromium/public/WebCompositorInputHandlerClient.h.
9391 (WebActiveWheelFlingParameters):
9392 (WebKit::WebActiveWheelFlingParameters::WebActiveWheelFlingParameters):
9393 * public/WebCompositorInputHandlerClient.h:
9395 (WebCompositorInputHandlerClient):
9396 (WebKit::WebCompositorInputHandlerClient::transferActiveWheelFlingAnimation):
9400 * src/WebCompositorInputHandlerImpl.cpp:
9401 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
9402 (WebKit::WebCompositorInputHandlerImpl::animate):
9403 (WebKit::WebCompositorInputHandlerImpl::cancelCurrentFling):
9404 (WebKit::WebCompositorInputHandlerImpl::scrollBy):
9405 * src/WebCompositorInputHandlerImpl.h:
9407 * src/WebViewImpl.cpp:
9408 (WebKit::WebViewImpl::transferActiveWheelFlingAnimation):
9410 * src/WebViewImpl.h:
9412 * tests/WebCompositorInputHandlerImplTest.cpp:
9413 (WebKit::MockWebCompositorInputHandlerClient::MockWebCompositorInputHandlerClient):
9414 (MockWebCompositorInputHandlerClient):
9416 (WebKit::WebCompositorInputHandlerImplTest::WebCompositorInputHandlerImplTest):
9417 (WebKit::WebCompositorInputHandlerImplTest::~WebCompositorInputHandlerImplTest):
9418 (WebCompositorInputHandlerImplTest):
9422 2012-03-27 James Robinson <jamesr@chromium.org>
9424 [chromium] Send wheel events to main thread even if we think nothing is scrollable
9425 https://bugs.webkit.org/show_bug.cgi?id=82408
9427 Reviewed by Adrienne Walker.
9429 * src/WebCompositorInputHandlerImpl.cpp:
9430 (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
9432 2012-03-27 Nat Duca <nduca@chromium.org>
9434 [chromium] Route monotonic clock up from compositor
9435 https://bugs.webkit.org/show_bug.cgi?id=82154
9437 Reviewed by James Robinson.
9439 * public/WebWidget.h:
9440 (WebKit::WebWidget::animate):
9441 * src/WebLayerTreeViewImpl.cpp:
9442 (WebKit::WebLayerTreeViewImpl::updateAnimations):
9443 * src/WebLayerTreeViewImpl.h:
9444 (WebLayerTreeViewImpl):
9445 * src/WebViewImpl.cpp:
9446 (WebKit::WebViewImpl::animate):
9447 (WebKit::WebViewImpl::updateAnimations):
9448 * src/WebViewImpl.h:
9450 * tests/FakeCCLayerTreeHostClient.h:
9451 (WebCore::FakeCCLayerTreeHostClient::updateAnimations):
9453 2012-03-27 James Robinson <jamesr@chromium.org>
9455 webkit_unit_tests crashing on chromium lion in CCLayerTreeHostTestCompositeAndReadbackWhileInvisible
9456 https://bugs.webkit.org/show_bug.cgi?id=82382
9458 Reviewed by Adrienne Walker.
9460 Use UnsignedWithZeroKeyHashTraits trait for the HashSet<WebGLId> m_usedTextures in
9461 CompositorFakeWebGraphicsContext3DWithTextureTracking. This set is used to track all textures that are bound in
9462 a given context during a test. During ..CompositeAndReadback.. we bind texture id 0. By default, HashSet<T>
9463 where T is an unsigned does not allow 0 as a value. WebGLId is typedef'd to unsigned.
9465 * tests/CCLayerTreeHostTest.cpp:
9466 (CompositorFakeWebGraphicsContext3DWithTextureTracking):
9468 2012-03-27 James Robinson <jamesr@chromium.org>
9470 webkit_unit_tests crashing on chromium lion in ScrollbarLayerChromiumTest.resolveScrollLayerPointer
9471 https://bugs.webkit.org/show_bug.cgi?id=82381
9473 Reviewed by Adrienne Walker.
9475 Use the mock scrollbar theme for this unit test. The real ScrollbarThemeMac isn't compatible with the mocks this
9476 test uses and the test isn't designed to cover the theming code, only code inside the compositor.
9478 * tests/ScrollbarLayerChromiumTest.cpp:
9481 2012-03-27 Dirk Pranke <dpranke@chromium.org>
9483 Unreviewed, rolling out r112339.
9484 http://trac.webkit.org/changeset/112339
9485 https://bugs.webkit.org/show_bug.cgi?id=82354
9487 webkit_unit_tests crashing on chromium mac bots
9489 * src/AssociatedURLLoader.cpp:
9490 (AssociatedURLLoader::ClientAdapter):
9491 * tests/AssociatedURLLoaderTest.cpp:
9492 (WebKit::AssociatedURLLoaderTest::TearDown):
9496 2012-03-27 Kausalya Madhusudhanan <kmadhusu@chromium.org>
9498 [Coverity] Address some uninitialized constructor values.
9499 https://bugs.webkit.org/show_bug.cgi?id=82376
9501 Reviewed by James Robinson.
9503 New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
9505 * src/WebCompositorInputHandlerImpl.cpp:
9506 (WebCore::PlatformGestureToCCGestureAdapter::PlatformGestureToCCGestureAdapter):
9508 2012-03-27 Dirk Pranke <dpranke@chromium.org>
9510 Roll chromium DEPS to r129300.
9512 Unreviewed, deps change.
9516 2012-03-27 Bill Budge <bbudge@chromium.org>
9518 AssociatedURLLoader does not support Cross Origin Redirects when using
9520 https://bugs.webkit.org/show_bug.cgi?id=82354
9522 AssociatedURLLoader's internal adapter now overrides didFailRedirectCheck,
9523 which cancels the load, causing didFail to notify the client that the
9524 load failed. AssociatedURLLoaderTest adds test cases for CORS requests
9525 that receive redirects and pass or fail the redirect access check.
9527 Reviewed by Adam Barth.
9529 * src/AssociatedURLLoader.cpp:
9530 (AssociatedURLLoader::ClientAdapter):
9531 (WebKit::AssociatedURLLoader::ClientAdapter::didFailRedirectCheck):
9533 * tests/AssociatedURLLoaderTest.cpp:
9536 2012-03-27 Dana Jansens <danakj@chromium.org>
9538 [chromium] Unknown transforms should be treated as non-axis aligned on main thread
9539 https://bugs.webkit.org/show_bug.cgi?id=82370
9541 Reviewed by Adrienne Walker.
9543 * tests/CCLayerTreeHostCommonTest.cpp:
9544 (WebKitTests::TEST):
9546 2012-03-27 Dana Jansens <danakj@chromium.org>
9548 [chromium] Rename opaqueContentsRegion() to visibleContentOpaqueRegion()
9549 https://bugs.webkit.org/show_bug.cgi?id=81689
9551 Reviewed by Adrienne Walker.
9553 * tests/CCLayerTreeHostTest.cpp:
9554 (WTF::TestLayerChromium::opaqueVisibleContents):
9555 * tests/CCOcclusionTrackerTest.cpp:
9556 (WebCore::TestContentLayerChromium::opaqueVisibleContents):
9557 (WebCore::TestContentLayerImpl::opaqueVisibleContents):
9558 * tests/TiledLayerChromiumTest.cpp:
9561 2012-03-27 Dana Jansens <danakj@chromium.org>
9563 [chromium] A unit test to verify clipping is honored when moving occlusion to parent surface
9564 https://bugs.webkit.org/show_bug.cgi?id=81783
9566 Reviewed by Adrienne Walker.
9568 * tests/CCOcclusionTrackerTest.cpp:
9569 (WebCore::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
9571 (CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping):
9572 (WebCore::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest):
9574 2012-03-27 James Robinson <jamesr@chromium.org>
9576 Scrollable plugins not registered properly in ScrollingCoordinator
9577 https://bugs.webkit.org/show_bug.cgi?id=82163
9579 Reviewed by Anders Carlsson.
9581 Since ScrollbarGroups are ScrollableAreas, they need to be able to report their bounds for the
9582 ScrollingCoordinator's calculateNonFastScrollableRegion. This also changes ScrollbarGroups to only be registered
9583 as ScrollableAreas on the FrameView's set when they actually have Scrollbars.
9585 * src/ScrollbarGroup.cpp:
9586 (WebKit::ScrollbarGroup::ScrollbarGroup):
9587 (WebKit::ScrollbarGroup::~ScrollbarGroup):
9588 (WebKit::ScrollbarGroup::scrollbarCreated):
9589 (WebKit::ScrollbarGroup::scrollbarDestroyed):
9590 (WebKit::ScrollbarGroup::setFrameRect):
9592 (WebKit::ScrollbarGroup::scrollableAreaBoundingBox):
9593 * src/ScrollbarGroup.h:
9595 * src/WebPluginContainerImpl.cpp:
9596 (WebKit::WebPluginContainerImpl::reportGeometry):
9598 (WebKit::WebPluginContainerImpl::scrollbarGroup):
9599 * src/WebPluginContainerImpl.h:
9600 (WebPluginContainerImpl):
9602 2012-03-27 Dana Jansens <danakj@chromium.org>
9604 [chromium] Make use of common animation unit test methods
9605 https://bugs.webkit.org/show_bug.cgi?id=82357
9607 Reviewed by Adrienne Walker.
9609 * tests/CCAnimationTestCommon.cpp:
9610 (WebKitTests::addAnimatedTransformToController):
9612 * tests/CCAnimationTestCommon.h:
9614 * tests/CCLayerTreeHostCommonTest.cpp:
9615 (WebKitTests::TEST):
9616 * tests/CCOcclusionTrackerTest.cpp:
9618 (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
9619 (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
9620 (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
9622 2012-03-27 Sami Kyostila <skyostil@chromium.org>
9624 [chromium] Add TextureCopier for copying texture contents
9625 https://bugs.webkit.org/show_bug.cgi?id=80870
9627 Reviewed by Stephen White.
9629 Add new test for TextureCopier.
9632 * tests/Canvas2DLayerChromiumTest.cpp:
9633 * tests/TextureCopierTest.cpp: Added.
9634 * tests/TiledLayerChromiumTest.cpp:
9635 (FakeTextureCopier):
9636 (WTF::FakeTextureCopier::copyTexture):
9640 2012-03-27 Stephen White <senorblanco@chromium.org>
9642 [chromium] Fix filter context usage in webkit_unit_tests.
9643 https://bugs.webkit.org/show_bug.cgi?id=82349
9645 Reviewed by James Robinson.
9647 * tests/CCLayerTreeHostTest.cpp:
9648 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
9649 Cancel request for filter context after test run.
9651 * tests/CCOcclusionTrackerTest.cpp:
9652 Re-enable CCLayerTreeHostTestSetSingleLostContext.runMultiThread.
9653 (WebCore::CCOcclusionTrackerTest::TearDown):
9654 Cancel request for filter context after test run.
9656 2012-03-26 Stephen White <senorblanco@chromium.org>
9658 Disable CCLayerTreeHostTestSetSingleLostContext.runMultiThread.
9659 https://bugs.webkit.org/show_bug.cgi?id=82285
9661 Reviewed by James Robinson.
9663 * tests/CCLayerTreeHostTest.cpp:
9666 2012-03-26 Andrew Scherkus <scherkus@chromium.org>
9668 [chromium] Remove WebMediaElement from Chromium WebKit API.
9669 https://bugs.webkit.org/show_bug.cgi?id=82277
9671 Reviewed by James Robinson.
9673 This was added in r63859 but is no longer used by anyone.
9676 * public/WebMediaElement.h: Removed.
9677 * src/WebMediaElement.cpp: Removed.
9679 2012-03-26 Scott Byer <scottbyer@chromium.org>
9681 Enable layout testing of the scroll animator.
9682 https://bugs.webkit.org/show_bug.cgi?id=81858
9683 Add a call to the InternalSettings that layout tests can use to
9684 turn on scroll animation. Enable animation updates for the
9685 Chromium platform DRT when scroll animation has been turned on in
9686 a test. This should be a no-op for all current layout tests.
9688 Reviewed by James Robinson.
9690 * public/WebSettings.h:
9691 * src/WebSettingsImpl.cpp:
9692 (WebKit::WebSettingsImpl::scrollAnimatorEnabled):
9694 * src/WebSettingsImpl.h:
9697 2012-03-26 Nat Duca <nduca@chromium.org>
9699 [chromium] Add isInputThrottled/didBecomeReadyForAdditionalInput to WebWidget
9700 https://bugs.webkit.org/show_bug.cgi?id=82265
9702 In threaded compositing mode, the WebWidget is self-scheduled,
9703 receiving damage and processing it without forwarding that damage
9704 up to the embedding WebWidgetClient. In Chromium's case, the
9705 client uses the presence of damage to perform input flow
9706 control. This patch exposes the need for input flow control to the
9707 embedder, while keeping the actual logic about what exactly
9708 warrants input flow control inside the implementation.
9710 Reviewed by James Robinson.
9712 * public/WebWidget.h:
9714 (WebKit::WebWidget::isInputThrottled):
9715 * public/WebWidgetClient.h:
9717 (WebKit::WebWidgetClient::didBecomeReadyForAdditionalInput):
9718 * src/WebLayerTreeView.cpp:
9719 (WebKit::WebLayerTreeView::commitRequested):
9721 * src/WebLayerTreeViewImpl.cpp:
9722 (WebKit::WebLayerTreeViewImpl::didCommit):
9724 * src/WebLayerTreeViewImpl.h:
9725 (WebLayerTreeViewImpl):
9726 * src/WebViewImpl.cpp:
9727 (WebKit::WebViewImpl::isInputThrottled):
9729 (WebKit::WebViewImpl::didCommit):
9730 * src/WebViewImpl.h:
9732 * tests/CCLayerTreeHostTest.cpp:
9733 (WTF::MockLayerTreeHostClient::didCommit):
9734 (MockLayerTreeHostClient):
9735 * tests/FakeCCLayerTreeHostClient.h:
9736 (FakeCCLayerTreeHostClient):
9738 2012-03-26 Vangelis Kokkevis <vangelis@chromium.org>
9740 [chromium] Simplify and fix CCLayerSorter
9741 https://bugs.webkit.org/show_bug.cgi?id=82114
9743 Adjustments to the CCLayerSorter unit tests to account for API changes in the
9744 CCLayerSorter class.
9746 Reviewed by Kenneth Russell.
9748 * tests/CCLayerSorterTest.cpp:
9752 2012-03-26 James Robinson <jamesr@chromium.org>
9754 Scrollable plugins not registered properly in ScrollingCoordinator
9755 https://bugs.webkit.org/show_bug.cgi?id=82163
9757 Reviewed by Anders Carlsson.
9759 * src/WebPluginContainerImpl.cpp:
9760 (WebKit::WebPluginContainerImpl::scrollable):
9761 * src/WebPluginContainerImpl.h:
9762 (WebPluginContainerImpl):
9764 2012-03-26 W. James MacLean <wjmaclean@chromium.org>
9766 [chromium] Change handleGestureFling() to use CCInputHandlerClient::Wheel.
9767 https://bugs.webkit.org/show_bug.cgi?id=82133
9769 Reviewed by James Robinson.
9771 * src/WebCompositorInputHandlerImpl.cpp:
9772 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
9773 * tests/CCLayerTreeHostImplTest.cpp:
9774 (WebKitTests::TEST_F):
9776 2012-03-26 Terry Anderson <tdanderson@chromium.org>
9778 [chromium] Allow the viewport meta tag to be disabled for testing purposes
9779 https://bugs.webkit.org/show_bug.cgi?id=81940
9781 Reviewed by Adam Barth.
9783 * public/WebSettings.h:
9784 * src/ChromeClientImpl.cpp:
9785 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
9786 * src/WebSettingsImpl.cpp:
9787 (WebKit::WebSettingsImpl::WebSettingsImpl):
9788 (WebKit::WebSettingsImpl::setViewportEnabled):
9790 * src/WebSettingsImpl.h:
9792 (WebKit::WebSettingsImpl::viewportEnabled):
9794 2012-03-25 Nat Duca <nduca@chromium.org>
9796 [chromium] Route willBeginFrame from compositor to WebWidget
9797 https://bugs.webkit.org/show_bug.cgi?id=82171
9799 Reviewed by Darin Fisher.
9801 * public/WebWidgetClient.h:
9803 (WebKit::WebWidgetClient::willBeginCompositorFrame):
9804 * src/WebLayerTreeViewImpl.cpp:
9805 (WebKit::WebLayerTreeViewImpl::willBeginFrame):
9807 * src/WebLayerTreeViewImpl.h:
9808 (WebLayerTreeViewImpl):
9809 * src/WebViewImpl.cpp:
9810 (WebKit::WebViewImpl::willBeginFrame):
9812 * src/WebViewImpl.h:
9814 * tests/CCLayerTreeHostTest.cpp:
9815 (WTF::MockLayerTreeHostClient::willBeginFrame):
9816 (MockLayerTreeHostClient):
9817 * tests/FakeCCLayerTreeHostClient.h:
9818 (WebCore::FakeCCLayerTreeHostClient::willBeginFrame):
9820 2012-03-25 Dana Jansens <danakj@chromium.org>
9822 [chromium] Layers with animating transforms should prepaint even if they are not visible yet
9823 https://bugs.webkit.org/show_bug.cgi?id=82117
9825 Reviewed by Adrienne Walker.
9827 * tests/TiledLayerChromiumTest.cpp:
9828 (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
9829 (WTF::FakeTiledLayerChromium::tileSize):
9830 (FakeTiledLayerChromium):
9833 (WTF::idlePaintRepeat):
9834 (WTF::testHaveOuterTiles):
9836 2012-03-24 Nat Duca <nduca@chromium.org>
9838 [chromium] Instrument gesture animations with async traces
9839 https://bugs.webkit.org/show_bug.cgi?id=82076
9841 Reviewed by Adrienne Walker.
9843 * src/WebCompositorInputHandlerImpl.cpp:
9844 (WebCore::PlatformGestureToCCGestureAdapter::debugName):
9845 (PlatformGestureToCCGestureAdapter):
9847 2012-03-23 Shawn Singh <shawnsingh@chromium.org>
9849 [chromium] Incorrect replica originTransform used in CCDamageTracker
9850 https://bugs.webkit.org/show_bug.cgi?id=82118
9852 Reviewed by Adrienne Walker.
9854 * tests/CCDamageTrackerTest.cpp:
9855 (WebKitTests::TEST_F):
9858 2012-03-23 Dana Jansens <danakj@chromium.org>
9860 [chromium] When prepainting fails, tiles dirty rects may be cleared
9861 https://bugs.webkit.org/show_bug.cgi?id=82107
9863 Reviewed by Adrienne Walker.
9865 * tests/TiledLayerChromiumTest.cpp:
9866 (WTF::FakeTextureAllocator::createTexture):
9867 (WTF::FakeLayerTextureUpdater::Texture::updateRect):
9868 (FakeCCTiledLayerImpl):
9869 (WTF::FakeCCTiledLayerImpl::hasTextureIdForTileAt):
9873 2012-03-23 W. James MacLean <wjmaclean@chromium.org>
9875 [chromium] CCLayerTreeHostImpl::scrollBegin() should return ScrollFailed for CCInputHandlerClient::Gesture type when wheel handlers found.
9876 https://bugs.webkit.org/show_bug.cgi?id=82106
9878 Reviewed by Adrienne Walker.
9880 * tests/CCLayerTreeHostImplTest.cpp:
9883 2012-03-23 Shawn Singh <shawnsingh@chromium.org>
9885 [chromium] Fix race bug that clobbers CCLayerImpl updateRect
9886 https://bugs.webkit.org/show_bug.cgi?id=82109
9888 Reviewed by Dirk Pranke.
9890 * tests/LayerChromiumTest.cpp:
9892 2012-03-23 Daniel Cheng <dcheng@chromium.org>
9894 [chromium] Support file drag out using DataTransferItemList::add(File)
9895 https://bugs.webkit.org/show_bug.cgi?id=81261
9897 Reviewed by Tony Chang.
9899 Original patch by Varun Jain <varunjain@chromium.org>.
9900 I've updated the original patch to add some asserts for conditions we shouldn't encounter as
9901 well as removing some redundant null checks.
9903 * src/WebDragData.cpp:
9904 (WebKit::WebDragData::items):
9906 2012-03-23 Dana Jansens <danakj@chromium.org>
9908 [chromium] Record painted pixel counts for measuring effectiveness of per-tile painting
9909 https://bugs.webkit.org/show_bug.cgi?id=82057
9911 Reviewed by Adrienne Walker.
9913 * tests/TiledLayerChromiumTest.cpp:
9917 2012-03-23 Adrienne Walker <enne@google.com>
9919 [chromium] Fix scrollbarLayerLostContext flaky test crash on 10.6
9920 https://bugs.webkit.org/show_bug.cgi?id=82062
9922 Reviewed by James Robinson.
9924 Override the paint function so that it becomes a no-op. Painting
9925 scrollbars on the impl thread is not yet supported on platforms other
9926 than Linux or ChromeOS.
9928 * tests/CCLayerTreeHostImplTest.cpp:
9929 (ScrollbarLayerFakePaint):
9930 (WebKitTests::ScrollbarLayerFakePaint::create):
9931 (WebKitTests::ScrollbarLayerFakePaint::paint):
9932 (WebKitTests::ScrollbarLayerFakePaint::ScrollbarLayerFakePaint):
9934 (WebKitTests::TEST_F):
9936 2012-03-23 Tommy Widenflycht <tommyw@google.com>
9938 [chromium] MediaStream API (JSEP): Extending WebMediaStreamCenter
9939 https://bugs.webkit.org/show_bug.cgi?id=81924
9941 Reviewed by Adam Barth.
9943 Adding the two constructSDP methods.
9945 * bridge/MediaStreamCenter.cpp:
9946 (WebCore::MediaStreamCenter::constructSDP):
9948 * bridge/MediaStreamCenterInternal.cpp:
9949 (WebCore::MediaStreamCenterInternal::constructSDP):
9951 * bridge/MediaStreamCenterInternal.h:
9953 (MediaStreamCenterInternal):
9954 * public/platform/WebMediaStreamCenter.h:
9956 (WebMediaStreamCenter):
9957 (WebKit::WebMediaStreamCenter::constructSDP):
9959 2012-03-23 Jonathan Backer <backer@chromium.org>
9961 [chromium] Remove unused variables from unittest.
9962 https://bugs.webkit.org/show_bug.cgi?id=82054
9964 Reviewed by Adrienne Walker.
9966 * tests/CCLayerTreeHostImplTest.cpp:
9967 (WebKitTests::TEST_F):
9969 2012-03-23 Ryosuke Niwa <rniwa@webkit.org>
9971 Chromium DEPS roll r127913:r128426.
9975 2012-03-22 Shawn Singh <shawnsingh@chromium.org>
9977 [chromium] Target surface should be damaged for a new layers even when layer had no changes
9978 https://bugs.webkit.org/show_bug.cgi?id=81879
9980 Reviewed by Adrienne Walker.
9982 * tests/CCDamageTrackerTest.cpp:
9983 (WebKitTests::TEST_F):
9986 2012-03-22 Adrienne Walker <enne@google.com>
9988 [chromium] Unreviewed, fix LayerRendererChromiumTest debug unit test errors
9989 https://bugs.webkit.org/show_bug.cgi?id=81823
9991 * tests/LayerRendererChromiumTest.cpp:
9992 (FakeLayerRendererChromiumClient):
9994 2012-03-22 Michal Mocny <mmocny@google.com>
9996 [chromium] Removing failing unit test - CCLayerTreeHostImplTest.visibilityChangeResetsDamage
9997 https://bugs.webkit.org/show_bug.cgi?id=82003
9999 Reviewed by Adrienne Walker.
10001 * tests/CCLayerTreeHostImplTest.cpp:
10002 (WebKitTests::TEST_F):
10004 2012-03-22 Robert Kroeger <rjkroege@chromium.org>
10006 [chromium] Halt in progress flings on receipt of key events
10007 https://bugs.webkit.org/show_bug.cgi?id=81988
10009 Reviewed by Adrienne Walker.
10011 * src/WebCompositorInputHandlerImpl.cpp:
10012 (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
10013 * src/WebViewImpl.cpp:
10014 (WebKit::WebViewImpl::keyEvent):
10016 2012-03-22 Dana Jansens <danakj@chromium.org>
10018 [chromium] Skip frames when checkerboarding an animation
10019 https://bugs.webkit.org/show_bug.cgi?id=81716
10021 Reviewed by Adrienne Walker.
10023 * tests/CCLayerTreeHostImplTest.cpp:
10024 (WebKitTests::TEST_F):
10025 * tests/CCSchedulerStateMachineTest.cpp:
10028 * tests/CCSchedulerTest.cpp:
10029 (WebKitTests::FakeCCSchedulerClient::reset):
10030 (WebKitTests::FakeCCSchedulerClient::numDraws):
10031 (WebKitTests::FakeCCSchedulerClient::scheduledActionDrawAndSwapIfPossible):
10032 (FakeCCSchedulerClient):
10033 (WebKitTests::FakeCCSchedulerClient::scheduledActionDrawAndSwapForced):
10034 (WebKitTests::FakeCCSchedulerClient::setDrawSuccess):
10035 (WebKitTests::TEST):
10036 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::SchedulerClientThatSetNeedsDrawInsideDraw):
10037 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionDrawAndSwapIfPossible):
10038 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionDrawAndSwapForced):
10039 (SchedulerClientThatSetNeedsDrawInsideDraw):
10041 (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::SchedulerClientThatSetNeedsCommitInsideDraw):
10042 (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::scheduledActionDrawAndSwapIfPossible):
10043 (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::scheduledActionDrawAndSwapForced):
10044 (SchedulerClientThatSetNeedsCommitInsideDraw):
10045 * tests/CCSchedulerTestCommon.h:
10046 (FakeCCFrameRateController):
10047 (WebKitTests::FakeCCFrameRateController::FakeCCFrameRateController):
10048 (WebKitTests::FakeCCFrameRateController::numFramesPending):
10051 2012-03-22 W. James MacLean <wjmaclean@chromium.org>
10053 [chromium] Force update of nonFastScrollableRegion if target CCLayerImpl has been freshly created.
10054 https://bugs.webkit.org/show_bug.cgi?id=81968
10056 Reviewed by Adrienne Walker.
10058 * tests/TreeSynchronizerTest.cpp:
10059 (WebKitTests::expectTreesAreIdentical):
10060 (WebKitTests::TEST):
10063 2012-03-22 Michal Mocny <mmocny@google.com>
10065 [chromium] LayerRendererChromium should use GpuMemoryAllocationChanged callback to explicitly manage framebuffer.
10066 https://bugs.webkit.org/show_bug.cgi?id=81823
10068 Reviewed by Adrienne Walker.
10071 * tests/LayerRendererChromiumTest.cpp: Added.
10072 (FrameCountingMemoryAllocationSettingContext):
10073 (FrameCountingMemoryAllocationSettingContext::FrameCountingMemoryAllocationSettingContext):
10074 (FrameCountingMemoryAllocationSettingContext::prepareTexture):
10075 (FrameCountingMemoryAllocationSettingContext::setMemoryAllocationChangedCallbackCHROMIUM):
10076 (FrameCountingMemoryAllocationSettingContext::getString):
10077 (FrameCountingMemoryAllocationSettingContext::frameCount):
10078 (FrameCountingMemoryAllocationSettingContext::setMemoryAllocation):
10079 (FakeLayerRendererChromiumClient):
10080 (FakeLayerRendererChromiumClient::FakeLayerRendererChromiumClient):
10081 (FakeLayerRendererChromiumClient::viewportSize):
10082 (FakeLayerRendererChromiumClient::settings):
10083 (FakeLayerRendererChromiumClient::rootLayer):
10084 (FakeLayerRendererChromiumClient::didLoseContext):
10085 (FakeLayerRendererChromiumClient::onSwapBuffersComplete):
10086 (FakeLayerRendererChromiumClient::setFullRootLayerDamage):
10087 (FakeLayerRendererChromiumClient::setFullRootLayerDamageCount):
10088 (FakeLayerRendererChromium):
10089 (FakeLayerRendererChromium::FakeLayerRendererChromium):
10090 (LayerRendererChromiumTest):
10091 (LayerRendererChromiumTest::LayerRendererChromiumTest):
10092 (LayerRendererChromiumTest::SetUp):
10093 (LayerRendererChromiumTest::swapBuffers):
10096 2012-03-22 Shawn Singh <shawnsingh@chromium.org>
10098 [chromium] Make CCDamageTracker robust to empty layer lists
10099 https://bugs.webkit.org/show_bug.cgi?id=81831
10101 Reviewed by Adrienne Walker.
10103 * tests/CCDamageTrackerTest.cpp:
10104 (WebKitTests::emulateDrawingOneFrame): modified args passed to damage tracker on update.
10106 (WebKitTests::TEST_F): Added another unit test.
10109 2012-03-22 Bernhard Bauer <bauerb@google.com>
10111 [chromium] Plug-in failing to load shouldn't say "Missing Plug-in"
10112 https://bugs.webkit.org/show_bug.cgi?id=81907
10114 Reviewed by Adam Barth.
10116 Adding a MissingPluginText value to WebLocalizedString which can be used to override the "Missing Plug-in" message.
10118 * public/platform/WebLocalizedString.h:
10119 * src/LocalizedStrings.cpp:
10120 (WebCore::missingPluginText):
10122 2012-03-22 Adrienne Walker <enne@google.com>
10124 [chromium] Fix scrollbar layers holding onto invalid textures after lost context
10125 https://bugs.webkit.org/show_bug.cgi?id=81841
10127 Reviewed by James Robinson.
10129 * tests/CCLayerTreeHostImplTest.cpp:
10130 (WebKitTests::TEST_F):
10133 2012-03-22 Dana Jansens <danakj@chromium.org>
10135 [chromium] Early out in a new prepareToDraw() step if checkerboarding an accelerated animation in order to skip the frame
10136 https://bugs.webkit.org/show_bug.cgi?id=81437
10138 Reviewed by Adrienne Walker.
10140 * tests/CCAnimationTestCommon.cpp:
10142 (WebCore::addAnimatedTransform):
10143 (WebKitTests::addOpacityTransitionToLayer):
10145 (WebKitTests::addAnimatedTransformToLayer):
10146 * tests/CCAnimationTestCommon.h:
10149 * tests/CCLayerTreeHostImplTest.cpp:
10150 (WebKitTests::TEST_F):
10151 (DidDrawCheckLayer):
10152 (WebKitTests::DidDrawCheckLayer::DidDrawCheckLayer):
10153 (MissingTextureAnimatingLayer):
10154 (WebKitTests::MissingTextureAnimatingLayer::create):
10155 (WebKitTests::MissingTextureAnimatingLayer::MissingTextureAnimatingLayer):
10157 (WebKitTests::BlendStateCheckLayer::appendQuads):
10158 * tests/CCLayerTreeHostTest.cpp:
10159 (WTF::TestHooks::prepareToDrawOnCCThread):
10160 (WTF::MockLayerTreeHostImpl::prepareToDraw):
10161 (MockLayerTreeHostImpl):
10162 (WTF::MockLayerTreeHostImpl::drawLayers):
10163 * tests/CCQuadCullerTest.cpp:
10164 (WebCore::appendQuads):
10165 * tests/CCSolidColorLayerImplTest.cpp:
10166 (CCLayerTestCommon::TEST):
10167 * tests/CCTiledLayerImplTest.cpp:
10168 (CCLayerTestCommon::TEST):
10169 (CCLayerTestCommon::getQuads):
10170 * tests/MockCCQuadCuller.h:
10171 (WebCore::MockCCQuadCuller::append):
10173 2012-03-22 W. James MacLean <wjmaclean@chromium.org>
10175 Rename touchpad fling curve, add curve parameters to constructor.
10176 https://bugs.webkit.org/show_bug.cgi?id=81820
10178 Reviewed by Adrienne Walker.
10180 * src/WebCompositorInputHandlerImpl.cpp:
10181 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
10182 * src/WebViewImpl.cpp:
10183 (WebKit::WebViewImpl::gestureEvent):
10184 * tests/PlatformGestureCurveTest.cpp:
10186 2012-03-21 Ian Vollick <vollick@chromium.org>
10188 [chromium] timing functions are getting incorrectly applied for accelerated css transitions
10189 https://bugs.webkit.org/show_bug.cgi?id=81692
10191 Reviewed by Adrienne Walker.
10193 * tests/CCAnimationTestCommon.cpp:
10194 (WebCore::addOpacityTransition):
10195 (WebKitTests::addOpacityTransitionToController):
10196 (WebKitTests::addOpacityTransitionToLayer):
10197 * tests/CCAnimationTestCommon.h:
10199 * tests/CCLayerAnimationControllerTest.cpp:
10200 (WebKitTests::TEST):
10201 * tests/CCLayerTreeHostTest.cpp:
10202 (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
10203 (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
10206 (CCLayerTreeHostTestAddAnimationWithTimingFunction):
10207 (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::CCLayerTreeHostTestAddAnimationWithTimingFunction):
10208 (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::beginTest):
10209 (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::animateLayers):
10210 (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::afterTest):
10212 2012-03-22 Kenichi Ishibashi <bashi@chromium.org>
10214 [Chromium] Should check m_socket in SocketStreamHandleInternal::close()
10215 https://bugs.webkit.org/show_bug.cgi?id=81860
10217 Reviewed by Kent Tamura.
10219 m_socket could be NULL if WebSocket::resume() is called after SocketStreamHandle::didClose() is called.
10220 This could happen when the page shows a popup dialog (by using alert()) immediately after closing an WebSocket object.
10222 * src/SocketStreamHandle.cpp:
10223 (WebCore::SocketStreamHandleInternal::close): Ensures m_socket is not NULL.
10225 2012-03-21 Sheriff Bot <webkit.review.bot@gmail.com>
10227 Unreviewed, rolling out r111616.
10228 http://trac.webkit.org/changeset/111616
10229 https://bugs.webkit.org/show_bug.cgi?id=81862
10231 broke chromium mac (Requested by eae on #webkit).
10233 * tests/CCAnimationTestCommon.cpp:
10234 * tests/CCAnimationTestCommon.h:
10236 * tests/CCLayerTreeHostImplTest.cpp:
10238 (DidDrawCheckLayer):
10239 (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
10240 (WebKit::BlendStateCheckLayer::appendQuads):
10241 * tests/CCLayerTreeHostTest.cpp:
10242 (WTF::MockLayerTreeHostImpl::drawLayers):
10243 * tests/CCQuadCullerTest.cpp:
10244 (WebCore::appendQuads):
10245 * tests/CCSolidColorLayerImplTest.cpp:
10246 (CCLayerTestCommon::TEST):
10247 * tests/CCTiledLayerImplTest.cpp:
10248 (CCLayerTestCommon::TEST):
10249 (CCLayerTestCommon::getQuads):
10250 * tests/MockCCQuadCuller.h:
10251 (WebCore::MockCCQuadCuller::append):
10253 2012-03-21 Dana Jansens <danakj@chromium.org>
10255 [chromium] Early out in a new prepareToDraw() step if checkerboarding an accelerated animation in order to skip the frame
10256 https://bugs.webkit.org/show_bug.cgi?id=81437
10258 Reviewed by Adrienne Walker.
10260 * tests/CCAnimationTestCommon.cpp:
10262 (WebCore::addAnimatedTransform):
10263 (WebKitTests::addOpacityTransitionToLayer):
10265 (WebKitTests::addAnimatedTransformToLayer):
10266 * tests/CCAnimationTestCommon.h:
10269 * tests/CCLayerTreeHostImplTest.cpp:
10270 (WebKitTests::TEST_F):
10271 (DidDrawCheckLayer):
10272 (WebKitTests::DidDrawCheckLayer::DidDrawCheckLayer):
10273 (MissingTextureAnimatingLayer):
10274 (WebKitTests::MissingTextureAnimatingLayer::create):
10275 (WebKitTests::MissingTextureAnimatingLayer::MissingTextureAnimatingLayer):
10277 (WebKitTests::BlendStateCheckLayer::appendQuads):
10278 * tests/CCLayerTreeHostTest.cpp:
10279 (WTF::TestHooks::prepareToDrawOnCCThread):
10280 (WTF::MockLayerTreeHostImpl::prepareToDraw):
10281 (MockLayerTreeHostImpl):
10282 (WTF::MockLayerTreeHostImpl::drawLayers):
10283 * tests/CCQuadCullerTest.cpp:
10284 (WebCore::appendQuads):
10285 * tests/CCSolidColorLayerImplTest.cpp:
10286 (CCLayerTestCommon::TEST):
10287 * tests/CCTiledLayerImplTest.cpp:
10288 (CCLayerTestCommon::TEST):
10289 (CCLayerTestCommon::getQuads):
10290 * tests/MockCCQuadCuller.h:
10291 (WebCore::MockCCQuadCuller::append):
10293 2012-03-21 Alexandru Chiculita <achicu@adobe.com>
10295 [CSS Shaders] Make CSS Shaders compile on Chromium
10296 https://bugs.webkit.org/show_bug.cgi?id=81435
10298 Reviewed by Stephen White.
10300 I've added the ENABLE_CSS_SHADERS flag by default, but kept CSS Shaders disabled using the runtime flag.
10302 This change adds a new public API to WebSettings with syntax void setExperimentalCSSCustomFilterEnabled(bool).
10305 * public/WebSettings.h:
10306 * src/WebSettingsImpl.cpp:
10307 (WebKit::WebSettingsImpl::setExperimentalCSSCustomFilterEnabled):
10309 * src/WebSettingsImpl.h:
10312 2012-03-21 David Reveman <reveman@chromium.org>
10314 [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
10315 https://bugs.webkit.org/show_bug.cgi?id=80988
10317 Reviewed by Adrienne Walker.
10319 Expose EXT_occlusion_query API to WebKit compositor.
10321 * src/Extensions3DChromium.cpp:
10322 (WebCore::Extensions3DChromium::createQueryEXT):
10324 (WebCore::Extensions3DChromium::deleteQueryEXT):
10325 (WebCore::Extensions3DChromium::isQueryEXT):
10326 (WebCore::Extensions3DChromium::beginQueryEXT):
10327 (WebCore::Extensions3DChromium::endQueryEXT):
10328 (WebCore::Extensions3DChromium::getQueryivEXT):
10329 (WebCore::Extensions3DChromium::getQueryObjectuivEXT):
10330 * src/GraphicsContext3DChromium.cpp:
10332 * src/GraphicsContext3DPrivate.h:
10333 (GraphicsContext3DPrivate):
10334 * tests/FakeWebGraphicsContext3D.h:
10335 (WebKit::FakeWebGraphicsContext3D::createQueryEXT):
10336 (WebKit::FakeWebGraphicsContext3D::deleteQueryEXT):
10337 (WebKit::FakeWebGraphicsContext3D::isQueryEXT):
10338 (WebKit::FakeWebGraphicsContext3D::beginQueryEXT):
10339 (WebKit::FakeWebGraphicsContext3D::endQueryEXT):
10340 (WebKit::FakeWebGraphicsContext3D::getQueryivEXT):
10341 (WebKit::FakeWebGraphicsContext3D::getQueryObjectuivEXT):
10342 (FakeWebGraphicsContext3D):
10344 2012-03-21 Tommy Widenflycht <tommyw@google.com>
10346 [chromium] MediaStream API (JSEP): Enhancing WebMediaHints and WebICEOptions
10347 https://bugs.webkit.org/show_bug.cgi?id=81652
10349 Reviewed by Adam Barth.
10351 Adding an initialize method to WebMediaHints and WebICEOptions.
10352 This is needed for Chromium unittests.
10354 * public/platform/WebICEOptions.h:
10355 (WebKit::WebICEOptions::WebICEOptions):
10357 * public/platform/WebMediaHints.h:
10358 (WebKit::WebMediaHints::WebMediaHints):
10360 * src/AssertMatchingEnums.cpp:
10361 * src/WebICEOptions.cpp:
10362 (WebKit::WebICEOptions::initialize):
10364 (WebKit::WebICEOptions::candidateTypeToUse):
10365 * src/WebMediaHints.cpp:
10366 (WebKit::WebMediaHints::initialize):
10369 2012-03-21 Tommy Widenflycht <tommyw@google.com>
10371 [chromium] MediaStream API (JSEP): Introducing WebSessionDescription and WebIceCandidate
10372 https://bugs.webkit.org/show_bug.cgi?id=81339
10374 Reviewed by Adam Barth.
10376 Simple WebKit representations of the WebCore/platform versions.
10379 * public/platform/WebICECandidateDescriptor.h: Added.
10382 (WebICECandidateDescriptor):
10383 (WebKit::WebICECandidateDescriptor::WebICECandidateDescriptor):
10384 (WebKit::WebICECandidateDescriptor::~WebICECandidateDescriptor):
10385 (WebKit::WebICECandidateDescriptor::operator=):
10386 (WebKit::WebICECandidateDescriptor::isNull):
10387 * public/platform/WebSessionDescriptionDescriptor.h: Added.
10390 (WebSessionDescriptionDescriptor):
10391 (WebKit::WebSessionDescriptionDescriptor::WebSessionDescriptionDescriptor):
10392 (WebKit::WebSessionDescriptionDescriptor::~WebSessionDescriptionDescriptor):
10393 (WebKit::WebSessionDescriptionDescriptor::operator=):
10394 (WebKit::WebSessionDescriptionDescriptor::isNull):
10395 * src/WebICECandidateDescriptor.cpp: Added.
10397 (WebKit::WebICECandidateDescriptor::WebICECandidateDescriptor):
10398 (WebKit::WebICECandidateDescriptor::assign):
10399 (WebKit::WebICECandidateDescriptor::reset):
10400 (WebKit::WebICECandidateDescriptor::initialize):
10401 (WebKit::WebICECandidateDescriptor::operator PassRefPtr<WebCore::IceCandidateDescriptor>):
10402 (WebKit::WebICECandidateDescriptor::label):
10403 (WebKit::WebICECandidateDescriptor::candidateLine):
10404 * src/WebSessionDescriptionDescriptor.cpp: Added.
10406 (WebKit::WebSessionDescriptionDescriptor::WebSessionDescriptionDescriptor):
10407 (WebKit::WebSessionDescriptionDescriptor::assign):
10408 (WebKit::WebSessionDescriptionDescriptor::reset):
10409 (WebKit::WebSessionDescriptionDescriptor::operator WTF::PassRefPtr<WebCore::SessionDescriptionDescriptor>):
10410 (WebKit::WebSessionDescriptionDescriptor::initialize):
10411 (WebKit::WebSessionDescriptionDescriptor::numberOfAddedCandidates):
10412 (WebKit::WebSessionDescriptionDescriptor::candidate):
10413 (WebKit::WebSessionDescriptionDescriptor::initialSDP):
10415 2012-03-21 Sami Kyostila <skyostil@chromium.org>
10417 [chromium] Use floating point scroll deltas for layers
10418 https://bugs.webkit.org/show_bug.cgi?id=81546
10420 Reviewed by James Robinson.
10422 New unit test for accumulating fractional scroll deltas across multiple commits.
10424 * tests/CCLayerTreeHostTest.cpp:
10425 (CCLayerTreeHostTestFractionalScroll):
10426 (WTF::CCLayerTreeHostTestFractionalScroll::CCLayerTreeHostTestFractionalScroll):
10427 (WTF::CCLayerTreeHostTestFractionalScroll::beginTest):
10428 (WTF::CCLayerTreeHostTestFractionalScroll::drawLayersOnCCThread):
10429 (WTF::CCLayerTreeHostTestFractionalScroll::applyScrollAndScale):
10430 (WTF::CCLayerTreeHostTestFractionalScroll::afterTest):
10434 2012-03-21 Joshua Bell <jsbell@chromium.org>
10436 [Chromium] IndexedDB: Expose necessary IDB exception codes through WebKit API
10437 https://bugs.webkit.org/show_bug.cgi?id=81597
10439 To fix http://crbug.com/96826 and http://crbug.com/113118 we need to be able throw
10440 exceptions from the Chromium side, so expose the necessary members of IDBDatabaseException.
10442 Reviewed by Darin Fisher.
10445 * public/WebIDBDatabaseException.h: Added.
10447 * src/AssertMatchingEnums.cpp:
10449 2012-03-21 Tim Dresser <tdresser@chromium.org>
10451 [chromium] Increase size of Combo Box Options for touch and high DPI devices
10452 https://bugs.webkit.org/show_bug.cgi?id=80027
10454 Reviewed by Darin Fisher.
10456 * src/WebViewImpl.cpp:
10457 (WebKit::WebViewImpl::gestureEvent):
10458 (WebKit::WebViewImpl::applyAutofillSuggestions):
10459 * tests/PopupMenuTest.cpp:
10460 (WebKit::TestWebViewClient::screenInfo):
10461 (WebKit::SelectPopupMenuTest::SetUp):
10462 (WebKit::SelectPopupMenuTest::TearDown):
10463 (SelectPopupMenuTest):
10465 2012-03-21 Takashi Toyoshima <toyoshim@chromium.org>
10467 [Chromium] [WebSocket] provide WebFrameClient with a chance of
10468 accessing to opening WebSocketStreamHandle.
10469 https://bugs.webkit.org/show_bug.cgi?id=78459
10471 Reviewed by Kent Tamura and Darin Fisher.
10473 Add dispatchWillOpenSocketStream client function to WebFrameClient with
10474 an argument representing an opening SocketStreamHandle.
10475 These mechanisms provide embedders with a chance to bind arbitrary
10476 data to a WebSocketStreamHandle from WebFrameClient to which the
10477 WebSocket object having the WebSocketStreamHandle belongs.
10479 No new tests because this change just provide mechanisms to embedders.
10481 * public/WebFrameClient.h: Add dispatchWillOpenSocketStream declaration.
10484 (WebKit::WebFrameClient::willOpenSocketStream):
10485 * public/platform/WebSocketStreamHandle.h: Add default implementation to virtual functions.
10486 (WebKit::WebSocketStreamHandle::connect):
10487 (WebKit::WebSocketStreamHandle::send):
10488 (WebKit::WebSocketStreamHandle::close):
10489 * src/FrameLoaderClientImpl.cpp: Implement dispatchWillOpenSocketStream.
10490 (WebKit::FrameLoaderClientImpl::dispatchWillOpenSocketStream):
10492 * src/FrameLoaderClientImpl.h: Add dispatchWillOpenSocketStream declaratioin.
10493 (FrameLoaderClientImpl):
10494 * src/SocketStreamHandle.cpp: Call willOpenSocketStream client function.
10495 (WebCore::SocketStreamHandleInternal::connect):
10497 2012-03-21 Ian Vollick <vollick@chromium.org>
10499 [chromium] timing functions are getting incorrectly applied for accelerated css transitions
10500 https://bugs.webkit.org/show_bug.cgi?id=81692
10502 Reviewed by Adrienne Walker.
10504 * tests/CCAnimationTestCommon.cpp:
10505 (WebCore::addOpacityTransition):
10506 (WebKitTests::addOpacityTransitionToController):
10507 (WebKitTests::addOpacityTransitionToLayer):
10508 * tests/CCAnimationTestCommon.h:
10510 * tests/CCLayerAnimationControllerTest.cpp:
10511 (WebKitTests::TEST):
10512 * tests/CCLayerTreeHostTest.cpp:
10513 (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
10514 (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
10517 (CCLayerTreeHostTestAddAnimationWithTimingFunction):
10518 (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::CCLayerTreeHostTestAddAnimationWithTimingFunction):
10519 (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::beginTest):
10520 (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::animateLayers):
10521 (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::afterTest):
10523 2012-03-21 Ian Vollick <vollick@chromium.org>
10525 [chromium] Animation events should only be used for synchronizing animation start times
10526 https://bugs.webkit.org/show_bug.cgi?id=81484
10528 Reviewed by Adrienne Walker.
10530 * tests/CCLayerTreeHostTest.cpp:
10532 (CCLayerTreeHostTestSynchronizeAnimationStartTimes):
10533 (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::CCLayerTreeHostTestSynchronizeAnimationStartTimes):
10534 (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::beginTest):
10535 (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::animateLayers):
10536 (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::afterTest):
10539 2012-03-21 Peter Beverloo <peter@chromium.org>
10541 [Chromium] Remove Android build-fix when the proper fix rolled into WebKit
10542 https://bugs.webkit.org/show_bug.cgi?id=80861
10544 Reviewed by Tony Chang.
10546 No longer set the CC.target environment variable as this is no longer
10547 required for project file generation.
10551 2012-03-21 Peter Beverloo <peter@chromium.org>
10553 Unreviewed. Rolled DEPS.
10557 2012-03-20 Dana Jansens <danakj@chromium.org>
10559 [chromium] Use origin transform to transform occlusion from surface content space to its target content space
10560 https://bugs.webkit.org/show_bug.cgi?id=81730
10562 Reviewed by Adrienne Walker.
10564 * tests/CCOcclusionTrackerTest.cpp:
10566 (CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent):
10567 (WebCore::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
10569 2012-03-20 Dana Jansens <danakj@chromium.org>
10571 [chromium] Store origin/screen space transforms for surface and replica in the surface
10572 https://bugs.webkit.org/show_bug.cgi?id=81296
10574 Reviewed by Adrienne Walker.
10576 * tests/CCLayerTreeHostCommonTest.cpp:
10579 2012-03-20 W. James MacLean <wjmaclean@chromium.org>
10581 [chromium] Convert TouchFlingPlatformGestureCurve to a 2-D Bezier for better control of curve shape.
10582 https://bugs.webkit.org/show_bug.cgi?id=81713
10584 Reviewed by Dirk Pranke.
10586 * tests/PlatformGestureCurveTest.cpp:
10588 2012-03-20 Dana Jansens <danakj@chromium.org>
10590 [chromium] Allow us to disable overdraw metrics when tracing is off
10591 https://bugs.webkit.org/show_bug.cgi?id=81431
10593 Reviewed by Adrienne Walker.
10595 * tests/CCOcclusionTrackerTest.cpp:
10596 (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
10597 * tests/CCQuadCullerTest.cpp:
10598 (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
10601 * tests/TiledLayerChromiumTest.cpp:
10602 (WTF::TestCCOcclusionTracker::TestCCOcclusionTracker):
10604 2012-03-20 Dana Jansens <danakj@chromium.org>
10606 [chromium] Use opaque contents for paint culling
10607 https://bugs.webkit.org/show_bug.cgi?id=81676
10609 Reviewed by Adrienne Walker.
10611 * tests/CCLayerTreeHostTest.cpp:
10612 (WTF::TestLayerChromium::opaqueContentsRegion):
10613 (WTF::TestLayerChromium::setOpaqueContentsRect):
10614 (TestLayerChromium):
10615 (CCLayerTreeHostTestContentLayerOcclusion):
10616 (WTF::CCLayerTreeHostTestContentLayerOcclusion::CCLayerTreeHostTestContentLayerOcclusion):
10617 (WTF::CCLayerTreeHostTestContentLayerOcclusion::beginTest):
10618 (WTF::CCLayerTreeHostTestContentLayerOcclusion::afterTest):
10621 2012-03-20 W. James MacLean <wjmaclean@chromium.org>
10623 [chromium] Tune fling physics curve. [Not for review yet]
10624 https://bugs.webkit.org/show_bug.cgi?id=81398
10626 Reviewed by James Robinson.
10628 * tests/PlatformGestureCurveTest.cpp:
10630 2012-03-20 Ian Vollick <vollick@chromium.org>
10632 [chromium] Infrastructure to allow animating layers to be only partially updated
10633 https://bugs.webkit.org/show_bug.cgi?id=81106
10635 Reviewed by James Robinson
10638 * tests/CCAnimationTestCommon.cpp:
10639 (WebKitTests::FakeLayerAnimationControllerClient::FakeLayerAnimationControllerClient):
10640 (WebKitTests::FakeLayerAnimationControllerClient::~FakeLayerAnimationControllerClient):
10641 * tests/CCAnimationTestCommon.h:
10642 (FakeLayerAnimationControllerClient):
10643 (WebKitTests::FakeLayerAnimationControllerClient::setOpacityFromAnimation):
10644 (WebKitTests::FakeLayerAnimationControllerClient::setTransformFromAnimation):
10645 * tests/CCLayerAnimationControllerImplTest.cpp: Removed.
10646 * tests/CCLayerAnimationControllerTest.cpp:
10647 (WebKitTests::TEST):
10649 * tests/CCLayerTreeHostTest.cpp:
10650 (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
10651 (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
10652 (CCLayerTreeHostTestAddAnimation):
10653 * tests/TreeSynchronizerTest.cpp:
10654 (WebKitTests::FakeLayerAnimationController::create):
10655 (WebKitTests::FakeLayerAnimationController::FakeLayerAnimationController):
10656 (WebKitTests::FakeLayerAnimationController::pushAnimationUpdatesTo):
10657 (WebKitTests::TEST):
10659 2012-03-20 Keishi Hattori <keishi@webkit.org>
10661 [chromium] Marking WebFrameTest.DivAutoZoomParamsTest as failing.
10663 * tests/WebFrameTest.cpp:
10666 2012-03-19 Adam Barth <abarth@webkit.org>
10668 Remove support for "magic" iframe
10669 https://bugs.webkit.org/show_bug.cgi?id=81590
10671 Reviewed by Eric Seidel.
10673 Remove FrameLoaderClient methods that no longer exist.
10675 * public/WebFrameClient.h:
10677 * src/FrameLoaderClientImpl.cpp:
10679 * src/FrameLoaderClientImpl.h:
10680 (FrameLoaderClientImpl):
10682 2012-03-19 Charlie Reis <creis@chromium.org>
10684 [Chromium] Add registerURLSchemeAsEmptyDocument to WebSecurityPolicy
10685 https://bugs.webkit.org/show_bug.cgi?id=81421
10687 Reviewed by Adam Barth.
10689 * public/WebSecurityPolicy.h:
10690 (WebSecurityPolicy):
10691 * src/WebSecurityPolicy.cpp:
10692 (WebKit::WebSecurityPolicy::registerURLSchemeAsEmptyDocument):
10695 2012-03-19 Keishi Hattori <keishi@webkit.org>
10697 [chromium] Fixing build. Adding missing virtual.
10699 * src/GraphicsContext3DPrivate.h:
10700 (GraphicsContext3DPrivate):
10702 2012-03-19 Dana Jansens <danakj@chromium.org>
10704 [chromium] Push culled tiles that are prepainted
10705 https://bugs.webkit.org/show_bug.cgi?id=81552
10707 Reviewed by Adrienne Walker.
10709 * tests/TiledLayerChromiumTest.cpp:
10713 2012-03-19 James Robinson <jamesr@chromium.org>
10715 Unreviewed chromium compile fix - put all TRACE_*s in their own scope explicitly.
10717 * src/WebCompositorInputHandlerImpl.cpp:
10718 (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
10719 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
10721 2012-03-19 Robert Kroeger <rjkroege@chromium.org>
10723 [chromium] return true/false on GestureFlingCancel if a fling was stopped
10724 https://bugs.webkit.org/show_bug.cgi?id=81563
10726 Reviewed by James Robinson.
10728 * src/WebViewImpl.cpp:
10729 (WebKit::WebViewImpl::gestureEvent):
10731 2012-03-19 Michal Mocny <mmocny@google.com>
10733 [chromium] Adding support for GL_EXT_discard_framebuffer.
10734 https://bugs.webkit.org/show_bug.cgi?id=81383
10736 Reviewed by James Robinson.
10738 * src/Extensions3DChromium.cpp:
10739 (WebCore::Extensions3DChromium::discardFramebufferEXT):
10741 (WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM):
10742 * src/GraphicsContext3DChromium.cpp:
10744 * src/GraphicsContext3DPrivate.h:
10745 (GraphicsContext3DPrivate):
10746 * tests/FakeWebGraphicsContext3D.h:
10747 (WebKit::FakeWebGraphicsContext3D::discardFramebufferEXT):
10748 (WebKit::FakeWebGraphicsContext3D::ensureFramebufferCHROMIUM):
10749 (FakeWebGraphicsContext3D):
10751 2012-03-19 Ian Vollick <vollick@chromium.org>
10753 [chromium] Times in the cc should be expressed in seconds.
10754 https://bugs.webkit.org/show_bug.cgi?id=80514
10756 Reviewed by James Robinson.
10758 * tests/CCDelayBasedTimeSourceTest.cpp:
10759 (WebKitTests::TEST):
10760 * tests/CCFrameRateControllerTest.cpp:
10761 (WebKitTests::TEST):
10762 * tests/CCSchedulerTestCommon.h:
10763 (WebKitTests::FakeCCThread::pendingDelayMs):
10764 (WebKitTests::FakeCCDelayBasedTimeSource::create):
10765 (WebKitTests::FakeCCDelayBasedTimeSource::setMonotonicallyIncreasingTime):
10766 (WebKitTests::FakeCCDelayBasedTimeSource::monotonicallyIncreasingTime):
10767 (WebKitTests::FakeCCDelayBasedTimeSource::FakeCCDelayBasedTimeSource):
10768 (FakeCCDelayBasedTimeSource):
10769 * tests/CCTimerTest.cpp:
10770 (WebKitTests::TEST_F):
10772 2012-03-19 Nat Duca <nduca@chromium.org>
10774 [chromium] Stop deriving WebCompositor from WebCompositorInputHandler
10775 https://bugs.webkit.org/show_bug.cgi?id=80586
10777 Reviewed by Darin Fisher.
10779 * public/WebCompositor.h:
10781 * public/WebCompositorInputHandler.h:
10782 (WebCompositorInputHandler):
10783 * public/WebWidgetClient.h:
10785 (WebKit::WebWidgetClient::didActivateCompositor):
10786 * src/WebCompositorInputHandlerImpl.cpp:
10787 (WebKit::WebCompositorInputHandler::fromIdentifier):
10788 * src/WebCompositorInputHandlerImpl.h:
10789 (WebCompositorInputHandlerImpl):
10791 2012-03-18 James Robinson <jamesr@chromium.org>
10793 [chromium] Implement fling-by-wheel on compositor thread
10794 https://bugs.webkit.org/show_bug.cgi?id=81462
10796 Reviewed by Adrienne Walker.
10798 Implement fling-by-wheel and beef up existing unit test coverage considerably by using gmock instead of mocking
10801 * src/WebCompositorInputHandlerImpl.cpp:
10802 (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
10804 (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
10805 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
10806 (WebKit::WebCompositorInputHandlerImpl::animate):
10807 (WebKit::WebCompositorInputHandlerImpl::cancelCurrentFling):
10808 (WebKit::WebCompositorInputHandlerImpl::scrollBy):
10809 * src/WebCompositorInputHandlerImpl.h:
10810 (WebCompositorInputHandlerImpl):
10811 * tests/WebCompositorInputHandlerImplTest.cpp:
10813 2012-03-19 Emil A Eklund <eae@chromium.org>
10815 [mac/chromium] Change platform code to use pixelSnappedRect methods
10816 https://bugs.webkit.org/show_bug.cgi?id=81016
10818 Reviewed by Eric Seidel.
10820 * src/WebViewImpl.cpp:
10821 (WebKit::WebViewImpl::computeBlockBounds):
10822 (WebKit::WebViewImpl::applyAutofillSuggestions):
10823 (WebKit::WebViewImpl::refreshAutofillPopup):
10825 2012-03-19 Eric Seidel <eric@webkit.org>
10827 Fix WTF header include discipline in Chromium WebKit
10828 https://bugs.webkit.org/show_bug.cgi?id=81281
10830 Reviewed by James Robinson.
10832 * src/CompositionUnderlineBuilder.h:
10833 * src/CompositionUnderlineVectorBuilder.h:
10834 * src/FrameLoaderClientImpl.cpp:
10835 * src/WebArrayBuffer.cpp:
10836 * src/WebArrayBufferView.cpp:
10837 * src/WebBindings.cpp:
10838 * src/WebColorName.cpp:
10839 * src/WebGeolocationClientMock.cpp:
10840 * src/WebPageSerializer.cpp:
10841 * src/WebSocketImpl.cpp:
10842 * src/WebViewImpl.cpp:
10843 * tests/FrameTestHelpers.cpp:
10845 2012-03-19 Dana Jansens <danakj@chromium.org>
10847 [chromium] Invalidate/update evicted tiles during commit
10848 https://bugs.webkit.org/show_bug.cgi?id=81529
10850 Reviewed by Adrienne Walker.
10852 * tests/TiledLayerChromiumTest.cpp:
10856 2012-03-19 Sheriff Bot <webkit.review.bot@gmail.com>
10858 Unreviewed, rolling out r111207.
10859 http://trac.webkit.org/changeset/111207
10860 https://bugs.webkit.org/show_bug.cgi?id=81561
10862 Causing chromium unit test failure (Requested by reveman on
10865 * src/Extensions3DChromium.cpp:
10866 * src/GraphicsContext3DChromium.cpp:
10868 * src/GraphicsContext3DPrivate.h:
10869 (GraphicsContext3DPrivate):
10870 * tests/FakeWebGraphicsContext3D.h:
10872 2012-03-19 Tommy Widenflycht <tommyw@google.com>
10874 [chromium] MediaStream API (JSEP): Introducing WebMediaHints and WebIceOptions
10875 https://bugs.webkit.org/show_bug.cgi?id=81341
10877 Reviewed by Darin Fisher.
10879 Simple WebKit representations of the WebCore/platform versions.
10882 * public/platform/WebICEOptions.h: Added.
10886 (WebKit::WebICEOptions::WebICEOptions):
10887 (WebKit::WebICEOptions::~WebICEOptions):
10888 (WebKit::WebICEOptions::operator=):
10889 (WebKit::WebICEOptions::isNull):
10890 * public/platform/WebMediaHints.h: Added.
10894 (WebKit::WebMediaHints::WebMediaHints):
10895 (WebKit::WebMediaHints::~WebMediaHints):
10896 (WebKit::WebMediaHints::operator=):
10897 (WebKit::WebMediaHints::isNull):
10898 * src/WebICEOptions.cpp: Added.
10900 (WebKit::WebICEOptions::WebICEOptions):
10901 (WebKit::WebICEOptions::assign):
10902 (WebKit::WebICEOptions::reset):
10903 (WebKit::WebICEOptions::candidateTypeToUse):
10904 * src/WebMediaHints.cpp: Added.
10906 (WebKit::WebMediaHints::WebMediaHints):
10907 (WebKit::WebMediaHints::assign):
10908 (WebKit::WebMediaHints::reset):
10909 (WebKit::WebMediaHints::audio):
10910 (WebKit::WebMediaHints::video):
10912 2012-03-19 Michal Mocny <mmocny@google.com>
10914 [chromium] Updating WebGraphicsContext3D MemoryAllocation callback to accept a struct with have backbuffer suggestion.
10915 https://bugs.webkit.org/show_bug.cgi?id=81279
10917 Reviewed by James Robinson.
10919 * src/GraphicsContext3DChromium.cpp:
10920 (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
10921 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
10922 (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
10924 2012-03-19 David Reveman <reveman@chromium.org>
10926 [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
10927 https://bugs.webkit.org/show_bug.cgi?id=80988
10929 Reviewed by Adrienne Walker.
10931 Expose EXT_occlusion_query API to WebKit compositor.
10933 * src/Extensions3DChromium.cpp:
10934 (WebCore::Extensions3DChromium::createQueryEXT):
10936 (WebCore::Extensions3DChromium::deleteQueryEXT):
10937 (WebCore::Extensions3DChromium::isQueryEXT):
10938 (WebCore::Extensions3DChromium::beginQueryEXT):
10939 (WebCore::Extensions3DChromium::endQueryEXT):
10940 (WebCore::Extensions3DChromium::getQueryivEXT):
10941 (WebCore::Extensions3DChromium::getQueryObjectuivEXT):
10942 * src/GraphicsContext3DChromium.cpp:
10944 * src/GraphicsContext3DPrivate.h:
10945 (GraphicsContext3DPrivate):
10946 * tests/FakeWebGraphicsContext3D.h:
10947 (WebKit::FakeWebGraphicsContext3D::createQueryEXT):
10948 (WebKit::FakeWebGraphicsContext3D::deleteQueryEXT):
10949 (WebKit::FakeWebGraphicsContext3D::isQueryEXT):
10950 (WebKit::FakeWebGraphicsContext3D::beginQueryEXT):
10951 (WebKit::FakeWebGraphicsContext3D::endQueryEXT):
10952 (WebKit::FakeWebGraphicsContext3D::getQueryivEXT):
10953 (WebKit::FakeWebGraphicsContext3D::getQueryObjectuivEXT):
10954 (FakeWebGraphicsContext3D):
10956 2012-03-19 Dana Jansens <danakj@chromium.org>
10958 [chromium] Unit test fix, save the sharedQuadState while the quads hold a pointer to it
10959 https://bugs.webkit.org/show_bug.cgi?id=81476
10961 Reviewed by Adrienne Walker.
10963 * tests/CCQuadCullerTest.cpp:
10964 (WebCore::appendQuads):
10968 2012-03-19 Sheriff Bot <webkit.review.bot@gmail.com>
10970 Unreviewed. Rolled DEPS.
10974 2012-03-19 Robert Kroeger <rjkroege@chromium.org>
10976 [chromium] synthesize wheel events for fling on main thread
10977 https://bugs.webkit.org/show_bug.cgi?id=81458
10979 Support track pad fling by generating a sequence of wheel events.
10981 Reviewed by James Robinson.
10983 * src/WebViewImpl.cpp:
10984 (WebKit::WebViewImpl::WebViewImpl):
10985 (WebKit::WebViewImpl::scrollBy): Call-back from PlatformGestureCurve to dispatch wheel event.
10987 (WebKit::WebViewImpl::gestureEvent): Handle GestureFlingStart and GestureFlingCancel.
10988 (WebKit::WebViewImpl::updateAnimations): Requests a PlatformGestureCurve to animate forward.
10989 (WebKit::WebViewImpl::didCommitLoad): Halt flings on navigations.
10990 * src/WebViewImpl.h:
10994 2012-03-19 Keishi Hattori <keishi@webkit.org>
10996 [chromium] Fix build that was broken by r111137
10998 Fixed was ambiguous because of MacTypes.h
11000 * tests/CCLayerTreeHostCommonTest.cpp:
11001 (WebCore::addTransformAnimationToLayer):
11002 * tests/CCOcclusionTrackerTest.cpp:
11003 (WebCore::addTransformAnimationToLayer):
11005 2012-03-18 Keishi Hattori <keishi@webkit.org>
11007 [chromium] Fix test that was broken by r111128
11009 * tests/ScrollAnimatorNoneTest.cpp:
11010 (TEST): ScrollByPixel no longer animates.
11012 2012-03-18 Dana Jansens <danakj@chromium.org>
11014 [chromium] Don't occlude on main-thread behind layers/surfaces with impl-thread animations
11015 https://bugs.webkit.org/show_bug.cgi?id=81354
11017 Reviewed by Adrienne Walker.
11019 * tests/CCOcclusionTrackerTest.cpp:
11021 (WebCore::addOpacityAnimationToLayer):
11022 (WebCore::addTransformAnimationToLayer):
11023 (CCOcclusionTrackerTestAnimationOpacity1OnMainThread):
11024 (WebCore::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
11025 (CCOcclusionTrackerTestAnimationOpacity0OnMainThread):
11026 (WebCore::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
11027 (CCOcclusionTrackerTestAnimationTranslateOnMainThread):
11028 (WebCore::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
11030 2012-03-18 Dana Jansens <danakj@chromium.org>
11032 [chromium] Animating opacity is not opaque and should create a render surface on main thread
11033 https://bugs.webkit.org/show_bug.cgi?id=81401
11035 Reviewed by James Robinson.
11037 * tests/CCLayerTreeHostCommonTest.cpp:
11040 2012-03-18 Dana Jansens <danakj@chromium.org>
11042 [chromium] Transform animation state should be inherited from parents
11043 https://bugs.webkit.org/show_bug.cgi?id=81363
11045 Reviewed by Adrienne Walker.
11047 * tests/CCLayerTreeHostCommonTest.cpp:
11048 (WebCore::addOpacityAnimationToLayer):
11050 (WebCore::addTransformAnimationToLayer):
11053 2012-03-16 James Robinson <jamesr@chromium.org>
11055 [chromium] Unify the drawing logic for different layer types that output textures to the compositor
11056 https://bugs.webkit.org/show_bug.cgi?id=81286
11058 Reviewed by Adrienne Walker.
11060 * tests/Canvas2DLayerChromiumTest.cpp:
11062 2012-03-15 Daniel Cheng <dcheng@chromium.org>
11064 [chromium] Refactor ClipboardChromium and DataTransferItemList/DataTransferItem to support HTML spec
11065 https://bugs.webkit.org/show_bug.cgi?id=76598
11067 Reviewed by Tony Chang.
11069 * src/WebDragData.cpp:
11070 (WebKit::WebDragData::items):
11071 (WebKit::WebDragData::addItem):
11072 (WebKit::WebDragData::assign):
11074 2012-03-16 Dana Jansens <danakj@chromium.org>
11076 [chromium] Add overdraw metrics for texture uploads
11077 https://bugs.webkit.org/show_bug.cgi?id=81175
11079 Reviewed by Adrienne Walker.
11081 * tests/TiledLayerChromiumTest.cpp:
11084 2012-03-16 Dana Jansens <danakj@chromium.org>
11086 [chromium] Remove surface damage client from occlusion tracker
11087 https://bugs.webkit.org/show_bug.cgi?id=81242
11089 Reviewed by Adrienne Walker.
11091 * tests/CCOcclusionTrackerTest.cpp:
11094 2012-03-16 Ian Vollick <vollick@chromium.org>
11096 [chromium] Threaded opacity animation jump to opacity of 0
11097 https://bugs.webkit.org/show_bug.cgi?id=80744
11099 Reviewed by James Robinson.
11101 * tests/CCLayerTreeHostTest.cpp:
11103 (CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity):
11104 (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity):
11105 (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::beginTest):
11106 (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::animateLayers):
11107 (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::commitCompleteOnCCThread):
11108 (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::afterTest):
11111 2012-03-16 Dana Jansens <danakj@chromium.org>
11113 [chromium] Changes to overdraw metrics to allow upload tracking
11114 https://bugs.webkit.org/show_bug.cgi?id=81222
11116 Reviewed by Adrienne Walker.
11118 * tests/CCQuadCullerTest.cpp:
11119 (WebCore::appendQuads):
11122 * tests/MockCCQuadCuller.h:
11123 (WebCore::MockCCQuadCuller::MockCCQuadCuller):
11125 2012-03-16 Dana Jansens <danakj@chromium.org>
11127 [chromium] Quads that become fully opaque after culling should not use blending
11128 https://bugs.webkit.org/show_bug.cgi?id=81235
11130 Reviewed by Adrienne Walker.
11132 * tests/CCLayerTreeHostImplTest.cpp:
11133 (WebKit::BlendStateCheckLayer::appendQuads):
11134 (WebKit::BlendStateCheckLayer::setQuadRect):
11135 (WebKit::BlendStateCheckLayer::setQuadVisibleRect):
11136 (WebKit::BlendStateCheckLayer::setOpaqueContents):
11137 (WebKit::BlendStateCheckLayer::setOpaqueContentRect):
11138 (WebKit::BlendStateCheckLayer::BlendStateCheckLayer):
11139 (BlendStateCheckLayer):
11142 2012-03-15 Hans Wennborg <hans@chromium.org>
11144 Speech JavaScript API: SpeechRecognition, Controller and Client
11145 https://bugs.webkit.org/show_bug.cgi?id=81096
11147 Reviewed by Adam Barth.
11149 Provide a SpeechRecognitionController to Page, with a NULL client for
11152 * src/WebViewImpl.cpp:
11153 (WebKit::WebViewImpl::WebViewImpl):
11155 2012-03-15 Dana Jansens <danakj@chromium.org>
11157 [chromium] Fix some assertions in occlusion tracker unit tests
11158 https://bugs.webkit.org/show_bug.cgi?id=81308
11160 Reviewed by James Robinson.
11162 * tests/CCOcclusionTrackerTest.cpp:
11163 (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
11164 (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
11165 (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
11166 (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
11168 2012-03-15 Sheriff Bot <webkit.review.bot@gmail.com>
11170 Unreviewed, rolling out r110941.
11171 http://trac.webkit.org/changeset/110941
11172 https://bugs.webkit.org/show_bug.cgi?id=81307
11174 the revert looks innocent. (Requested by morrita on #webkit).
11176 * tests/CCLayerTreeHostTest.cpp:
11177 (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
11178 (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
11179 (WTF::TestLayerChromium::paintContentsIfDirty):
11180 * tests/Canvas2DLayerChromiumTest.cpp:
11181 * tests/TiledLayerChromiumTest.cpp:
11182 (TestCCOcclusionTracker):
11183 (WTF::TestCCOcclusionTracker::TestCCOcclusionTracker):
11184 (WTF::TestCCOcclusionTracker::setOcclusion):
11185 (WTF::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
11187 (WTF::FakeTiledLayerChromium::prepareToUpdate):
11188 (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
11189 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
11192 2012-03-15 Sheriff Bot <webkit.review.bot@gmail.com>
11194 Unreviewed, rolling out r110929.
11195 http://trac.webkit.org/changeset/110929
11196 https://bugs.webkit.org/show_bug.cgi?id=81306
11198 breaking webkit_unit_tests (Requested by morrita on #webkit).
11200 * tests/CCLayerTreeHostTest.cpp:
11201 (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
11202 (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
11203 (WTF::TestLayerChromium::paintContentsIfDirty):
11204 * tests/Canvas2DLayerChromiumTest.cpp:
11205 * tests/TiledLayerChromiumTest.cpp:
11206 (WTF::FakeTiledLayerChromium::prepareToUpdate):
11207 (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
11208 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
11211 2012-03-15 Dana Jansens <danakj@chromium.org>
11213 [chromium] Decide occlusion in paint culling with CCOcclusionTracker
11214 https://bugs.webkit.org/show_bug.cgi?id=81181
11216 Reviewed by Adrienne Walker.
11218 * tests/CCLayerTreeHostTest.cpp:
11219 (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
11220 (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
11221 (WTF::TestLayerChromium::paintContentsIfDirty):
11222 * tests/Canvas2DLayerChromiumTest.cpp:
11223 * tests/TiledLayerChromiumTest.cpp:
11224 (TestCCOcclusionTracker):
11225 (WTF::TestCCOcclusionTracker::TestCCOcclusionTracker):
11226 (WTF::TestCCOcclusionTracker::setOcclusion):
11227 (WTF::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
11229 (WTF::FakeTiledLayerChromium::prepareToUpdate):
11230 (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
11231 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
11234 2012-03-15 Dana Jansens <danakj@chromium.org>
11236 [chromium] Move overdraw metrics into a templated class for both paint and draw metrics.
11237 https://bugs.webkit.org/show_bug.cgi?id=81156
11239 Reviewed by Adrienne Walker.
11241 * tests/CCQuadCullerTest.cpp:
11242 (WebCore::appendQuads):
11246 2012-03-07 Jon Lee <jonlee@apple.com>
11248 Move NotificationContents into Notification
11249 https://bugs.webkit.org/show_bug.cgi?id=80487
11250 <rdar://problem/10965519>
11252 Reviewed by Jian Li.
11254 Refactor to use accessor methods on Notification.
11255 * src/WebNotification.cpp:
11256 (WebKit::WebNotification::title):
11257 (WebKit::WebNotification::body):
11259 2012-03-13 Jon Lee <jonlee@apple.com>
11261 Deprecate ondisplay()
11262 https://bugs.webkit.org/show_bug.cgi?id=80483
11263 <rdar://problem/10912432>
11265 Reviewed by Jian Li.
11267 * src/WebNotification.cpp:
11268 (WebKit::WebNotification::dispatchDisplayEvent): Dispatch the show event.
11270 2012-03-14 W. James MacLean <wjmaclean@chromium.org>
11272 [chromium] Wire up PlatformGestureCurves for CC, ScrollAnimatorNone.
11273 https://bugs.webkit.org/show_bug.cgi?id=80607
11275 Reviewed by James Robinson.
11277 * public/WebInputEvent.h:
11278 (WebKit::WebInputEvent::isScrollGestureEventType):
11279 * src/WebCompositorInputHandlerImpl.cpp:
11280 (PlatformGestureToCCGestureAdapter):
11281 (WebCore::PlatformGestureToCCGestureAdapter::create):
11282 (WebCore::PlatformGestureToCCGestureAdapter::apply):
11283 (WebCore::PlatformGestureToCCGestureAdapter::scrollBy):
11284 (WebCore::PlatformGestureToCCGestureAdapter::PlatformGestureToCCGestureAdapter):
11286 (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
11287 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
11289 (WebKit::WebCompositorInputHandlerImpl::scrollBy):
11290 * src/WebCompositorInputHandlerImpl.h:
11292 (WebCompositorInputHandlerImpl):
11293 * tests/PlatformGestureCurveTest.cpp:
11294 * tests/WebCompositorInputHandlerImplTest.cpp:
11296 2012-03-15 Dana Jansens <danakj@chromium.org>
11298 [Chromium] REGRESSION(r110596) CCQuadCullerTest.verifyCullChildLinesUpTopLeft fails on Windows
11299 https://bugs.webkit.org/show_bug.cgi?id=81083
11301 Reviewed by Adrienne Walker.
11303 * tests/CCQuadCullerTest.cpp:
11306 2012-03-15 David Levin <levin@chromium.org>
11308 Various autoresize fixes.
11309 https://bugs.webkit.org/show_bug.cgi?id=81199
11311 Reviewed by Darin Fisher.
11313 * public/WebView.h:
11314 (WebView): Remove a deprecated api.
11315 * src/WebViewImpl.cpp: Ditto.
11316 * src/WebViewImpl.h: Ditto.
11317 * tests/FrameTestHelpers.cpp:
11318 (WebKit::FrameTestHelpers::registerMockedURLLoad): Added an overload with more flexibility.
11319 The previous api didn't allow one to request a url with a search string.
11320 (FrameTestHelpers):
11321 * tests/FrameTestHelpers.h:
11322 (FrameTestHelpers): Ditto.
11323 * tests/WebViewTest.cpp: Fix the test because calling javascript:
11324 was working. Make the test generic and added a lot more tests to cover
11325 various possibilities. I avoided using a layout test because there wasn't
11326 a way to get the scrollbar state, so I just generalized a test that was already there.
11327 * tests/data/specify_size.html: Allow the test to take its size from the search string.
11329 2012-03-15 Peter Beverloo <peter@chromium.org>
11331 Unreviewed. Rolled DEPS.
11335 2012-03-14 Chris Fleizach <cfleizach@apple.com>
11337 AXDescription for HTML5 footer and ARIA role contentinfo incorrect
11338 https://bugs.webkit.org/show_bug.cgi?id=78967
11340 Reviewed by Beth Dakin.
11342 * src/LocalizedStrings.cpp:
11344 2012-03-13 Jon Lee <jonlee@apple.com>
11346 Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
11347 https://bugs.webkit.org/show_bug.cgi?id=80922
11348 <rdar://problem/11035082>
11350 Reviewed by Jian Li.
11352 You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
11353 LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
11354 new API. Therefore, APIs that are common between the two will have:
11355 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
11357 This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
11358 the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
11360 Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
11361 * src/AssertMatchingEnums.cpp:
11362 * src/NotificationPresenterImpl.cpp:
11363 * src/NotificationPresenterImpl.h:
11364 * src/WebNotification.cpp:
11365 * src/WebRuntimeFeatures.cpp:
11366 (WebKit::WebRuntimeFeatures::enableNotifications):
11367 (WebKit::WebRuntimeFeatures::isNotificationsEnabled):
11368 * src/WebViewImpl.cpp:
11369 (WebKit::WebViewImpl::WebViewImpl):
11371 * src/WebViewImpl.h:
11374 2012-03-14 James Robinson <jamesr@chromium.org>
11376 [chromium] Deprecate renderDirectlyToWebView parameter of WebViewClient::createGraphicsContext3D()
11377 https://bugs.webkit.org/show_bug.cgi?id=80523
11379 Reviewed by Darin Fisher.
11381 * public/WebViewClient.h:
11383 (WebKit::WebViewClient::createGraphicsContext3D):
11384 * public/platform/WebKitPlatformSupport.h:
11386 * src/WebViewImpl.cpp:
11387 (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
11389 2012-03-14 James Robinson <jamesr@chromium.org>
11391 [chromium] Remove canRecoverFromContextLoss attribute, it's unused
11392 https://bugs.webkit.org/show_bug.cgi?id=81158
11394 Reviewed by Stephen White.
11396 Deletes the canRecoverFromContextLoss attribute from WebCore::GraphicsContext3D::Attributes. This is still left in
11397 WebGraphicsContext3D::Attributes, since chromium-side code still references it.
11399 * src/GraphicsContext3DChromium.cpp:
11400 (WebCore::GraphicsContext3D::create):
11402 2012-03-14 Stephen White <senorblanco@chromium.org>
11404 [chromium] Fix accelerated Canvas2D with threaded compositing.
11405 https://bugs.webkit.org/show_bug.cgi?id=80998
11407 Reviewed by James Robinson.
11409 * tests/Canvas2DLayerChromiumTest.cpp:
11410 Instantiate a CCLayerTreeHost, so that Canvas2DLayerChromium can
11411 retrieve its texture manager. Also move the test into the unnamed
11412 namespace -- since it's already using WebCore, there's little reason for
11413 it to also be in the namespace.
11414 * tests/TreeSynchronizerTest.cpp:
11416 (WebKitTests::TEST):
11417 Add a new test for trying to synchronize NULL tree.
11419 2012-03-14 James Robinson <jamesr@chromium.org>
11421 [chromium] Provide explicit polling API to check if the platform is capable of accelerated 2d canvas
11422 https://bugs.webkit.org/show_bug.cgi?id=80667
11424 Reviewed by Darin Fisher.
11426 * public/platform/WebKitPlatformSupport.h:
11427 (WebKit::WebKitPlatformSupport::canAccelerate2dCanvas):
11428 (WebKitPlatformSupport):
11429 * src/PlatformSupport.cpp:
11430 (WebCore::PlatformSupport::canAccelerate2dCanvas):
11433 2012-03-14 Andrey Kosyakov <caseq@chromium.org>
11435 Web Inspector: add didCancelFrame timeline event
11436 https://bugs.webkit.org/show_bug.cgi?id=80994
11438 Reviewed by Pavel Feldman.
11440 - add intrumentCanceFrame(), called when renderer decides not to
11441 render frame after instrumentBeginFrame() was called.
11443 * public/WebWidget.h:
11445 (WebKit::WebWidget::instrumentCancelFrame):
11446 * src/WebViewImpl.cpp:
11447 (WebKit::WebViewImpl::instrumentCancelFrame):
11449 * src/WebViewImpl.h:
11452 2012-03-14 Dana Jansens <danakj@chromium.org>
11454 Region can acquire an empty span by subtracting an empty Region
11455 https://bugs.webkit.org/show_bug.cgi?id=81074
11457 Reviewed by Anders Carlsson.
11459 * tests/RegionTest.cpp:
11463 2012-03-13 Hajime Morrita <morrita@chromium.org>
11465 Unreviewed, mark verifyCullChildLinesUpTopLeft() as failed.
11467 * tests/CCQuadCullerTest.cpp:
11471 2012-03-14 Marja Hölttä <marja@google.com>
11473 WebHTTPBody: Keep track of whether the data includes passwords.
11474 https://bugs.webkit.org/show_bug.cgi?id=81003
11476 Reviewed by Darin Fisher.
11478 This change enables Chrome to save HTTP bodies selectively, only
11479 if they don't contain passwords.
11481 * public/platform/WebHTTPBody.h:
11482 (WebHTTPBody): Added containsPasswordData, setContainsPasswordData.
11483 * src/WebHTTPBody.cpp:
11484 (WebKit::WebHTTPBody::containsPasswordData): Added.
11486 (WebKit::WebHTTPBody::setContainsPasswordData): Added.
11488 2012-03-14 Sheriff Bot <webkit.review.bot@gmail.com>
11490 Unreviewed. Rolled DEPS.
11494 2012-03-13 Hajime Morrita <morrita@chromium.org>
11496 Unreviewed, mark verifyCullChildLinesUpTopLeft() as failed.
11498 * tests/CCQuadCullerTest.cpp:
11502 2012-03-13 Shawn Singh <shawnsingh@chromium.org>
11504 [chromium] wrong transform causing incorrect culling
11505 https://bugs.webkit.org/show_bug.cgi?id=80471
11507 Reviewed by James Robinson.
11509 * tests/CCRenderSurfaceTest.cpp:
11513 2012-03-13 Nat Duca <nduca@chromium.org>
11515 [chromium] vsync ticks are needed in invisible tabs when we are still updating resources
11516 https://bugs.webkit.org/show_bug.cgi?id=80910
11518 Reviewed by James Robinson.
11520 * tests/CCSchedulerStateMachineTest.cpp:
11524 2012-03-13 Dana Jansens <danakj@chromium.org>
11526 Region::contains(IntPoint) is slow
11527 https://bugs.webkit.org/show_bug.cgi?id=81008
11529 Reviewed by Anders Carlsson.
11532 * tests/RegionTest.cpp: Added.
11536 2012-03-13 Gavin Peters <gavinp@chromium.org>
11538 Implement ApplicationCacheHost::canCacheInPageCache() for chromium.
11539 https://bugs.webkit.org/show_bug.cgi?id=80905
11541 Reviewed by Eric Seidel.
11543 This won't cause chrome to use the PageCache, but it will cause our histogram statistics
11544 describing PageCache use to be more accurate.
11546 * src/ApplicationCacheHost.cpp:
11547 (WebCore::ApplicationCacheHost::canCacheInPageCache):
11549 2012-03-13 Dana Jansens <danakj@chromium.org>
11551 [chromium] Use CCOcclusionTracker for draw culling
11552 https://bugs.webkit.org/show_bug.cgi?id=80743
11554 Reviewed by Adrienne Walker.
11557 * tests/CCLayerTreeHostImplTest.cpp:
11558 (WebKit::BlendStateCheckLayer::appendQuads):
11559 * tests/CCQuadCullerTest.cpp:
11560 (TestCCOcclusionTrackerImpl):
11561 (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
11562 (WebCore::TestCCOcclusionTrackerImpl::layerScissorRectInTargetSurface):
11563 (WebCore::makeLayer):
11564 (WebCore::appendQuads):
11567 * tests/CCSolidColorLayerImplTest.cpp:
11568 (CCLayerTestCommon::TEST):
11569 * tests/CCTiledLayerImplTest.cpp:
11570 (CCLayerTestCommon::TEST):
11571 (CCLayerTestCommon::getQuads):
11572 * tests/MockCCQuadCuller.h: Added.
11574 (MockCCQuadCuller):
11575 (WebCore::MockCCQuadCuller::MockCCQuadCuller):
11576 (WebCore::MockCCQuadCuller::append):
11577 (WebCore::MockCCQuadCuller::quadList):
11579 2012-03-13 Adam Barth <abarth@webkit.org> && Benjamin Poulain <bpoulain@apple.com>
11581 Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
11582 https://bugs.webkit.org/show_bug.cgi?id=78853
11584 Reviewed by Adam Barth.
11587 * src/ChromeClientImpl.cpp:
11588 * src/ChromeClientImpl.h:
11589 (ChromeClientImpl):
11591 2012-03-13 Tommy Widenflycht <tommyw@google.com>
11593 MediaStream API: Rename PeerConnection to DeprecatedPeerConnection
11594 https://bugs.webkit.org/show_bug.cgi?id=80692
11596 Reviewed by Adam Barth.
11598 First patch in a series of patches to change the PeerConnection from ROAP to JSEP,
11599 see bug 80589 for more information.
11602 * bridge/DeprecatedPeerConnectionHandler.cpp: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandler.cpp.
11604 (WebCore::DeprecatedPeerConnectionHandler::create):
11605 (WebCore::DeprecatedPeerConnectionHandler::DeprecatedPeerConnectionHandler):
11606 (WebCore::DeprecatedPeerConnectionHandler::~DeprecatedPeerConnectionHandler):
11607 (WebCore::DeprecatedPeerConnectionHandler::produceInitialOffer):
11608 (WebCore::DeprecatedPeerConnectionHandler::handleInitialOffer):
11609 (WebCore::DeprecatedPeerConnectionHandler::processSDP):
11610 (WebCore::DeprecatedPeerConnectionHandler::processPendingStreams):
11611 (WebCore::DeprecatedPeerConnectionHandler::sendDataStreamMessage):
11612 (WebCore::DeprecatedPeerConnectionHandler::stop):
11613 * bridge/DeprecatedPeerConnectionHandlerInternal.cpp: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandlerInternal.cpp.
11615 (WebCore::DeprecatedPeerConnectionHandlerInternal::DeprecatedPeerConnectionHandlerInternal):
11616 (WebCore::DeprecatedPeerConnectionHandlerInternal::~DeprecatedPeerConnectionHandlerInternal):
11617 (WebCore::DeprecatedPeerConnectionHandlerInternal::produceInitialOffer):
11618 (WebCore::DeprecatedPeerConnectionHandlerInternal::handleInitialOffer):
11619 (WebCore::DeprecatedPeerConnectionHandlerInternal::processSDP):
11620 (WebCore::DeprecatedPeerConnectionHandlerInternal::processPendingStreams):
11621 (WebCore::DeprecatedPeerConnectionHandlerInternal::sendDataStreamMessage):
11622 (WebCore::DeprecatedPeerConnectionHandlerInternal::stop):
11623 (WebCore::DeprecatedPeerConnectionHandlerInternal::didCompleteICEProcessing):
11624 (WebCore::DeprecatedPeerConnectionHandlerInternal::didGenerateSDP):
11625 (WebCore::DeprecatedPeerConnectionHandlerInternal::didReceiveDataStreamMessage):
11626 (WebCore::DeprecatedPeerConnectionHandlerInternal::didAddRemoteStream):
11627 (WebCore::DeprecatedPeerConnectionHandlerInternal::didRemoveRemoteStream):
11628 * bridge/DeprecatedPeerConnectionHandlerInternal.h: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandlerInternal.h.
11631 (DeprecatedPeerConnectionHandlerInternal):
11633 2012-03-13 Dana Jansens <danakj@chromium.org>
11635 [chromium] Use projectQuad to apply inverse mapRect
11636 https://bugs.webkit.org/show_bug.cgi?id=80741
11638 Reviewed by Adrienne Walker.
11640 * tests/CCOcclusionTrackerTest.cpp:
11642 (CCOcclusionTrackerTest3dTransform):
11643 (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
11644 (CCOcclusionTrackerTestPerspectiveTransform):
11645 (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
11646 (CCOcclusionTrackerTestPerspectiveTransformBehindCamera):
11647 (WebCore::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
11649 2012-03-13 Gavin Peters <gavinp@chromium.org>
11651 Make ApplicationCacheHost::canCacheInPageCache() non-const.
11652 https://bugs.webkit.org/show_bug.cgi?id=80904
11654 Reviewed by Alexey Proskuryakov.
11656 A const pointer to a large object like ApplicationCacheHost is not our standard
11657 practice; so remove this (implicit) one. See also https://bugs.webkit.org/show_bug.cgi?id=80898
11659 * src/ApplicationCacheHost.cpp:
11660 (WebCore::ApplicationCacheHost::canCacheInPageCache):
11662 2012-03-13 Kinuko Yasuda <kinuko@chromium.org>
11664 Allow WebFileChooser to return extra file info (like displayName) in addition to mere file paths
11665 https://bugs.webkit.org/show_bug.cgi?id=80719
11667 Reviewed by Kent Tamura.
11669 * public/WebFileChooserCompletion.h:
11670 (SelectedFileInfo): Added.
11671 (WebFileChooserCompletion):
11672 (WebKit::WebFileChooserCompletion::didChooseFile): Added an overloaded
11673 method that takes SelectedFileInfo.
11674 * src/WebFileChooserCompletionImpl.cpp:
11675 (WebKit::WebFileChooserCompletionImpl::didChooseFile): Ditto.
11677 * src/WebFileChooserCompletionImpl.h:
11678 (WebFileChooserCompletionImpl):
11680 2012-03-12 Sheriff Bot <webkit.review.bot@gmail.com>
11682 Unreviewed, rolling out r110529.
11683 http://trac.webkit.org/changeset/110529
11684 https://bugs.webkit.org/show_bug.cgi?id=80969
11686 breaks mac build (Requested by morrita on #webkit).
11688 * tests/CCOcclusionTrackerTest.cpp:
11691 2012-03-12 Hajime Morrita <morrita@chromium.org>
11693 Unreviewed Windows build fix.
11695 * src/WebViewImpl.cpp:
11697 2012-03-12 Dana Jansens <danakj@chromium.org>
11699 [chromium] Use projectQuad to apply inverse mapRect
11700 https://bugs.webkit.org/show_bug.cgi?id=80741
11702 Reviewed by Adrienne Walker.
11704 * tests/CCOcclusionTrackerTest.cpp:
11706 (CCOcclusionTrackerTest3dTransform):
11707 (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
11708 (CCOcclusionTrackerTestPerspectiveTransform):
11709 (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
11710 (CCOcclusionTrackerTestPerspectiveTransformBehindCamera):
11711 (WebCore::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
11713 2012-03-12 Dana Jansens <danakj@chromium.org>
11715 [chromium] Fix clang build for CCOcclusionTracker tests
11716 https://bugs.webkit.org/show_bug.cgi?id=80891
11718 Reviewed by Adam Barth.
11720 * tests/CCOcclusionTrackerTest.cpp:
11721 (WebCore::CCOcclusionTrackerTest::createRoot):
11722 (WebCore::CCOcclusionTrackerTest::createLayer):
11723 (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
11725 2012-03-12 Stephen White <senorblanco@chromium.org>
11727 [chromium] Restore canvas2D acceleration after context loss.
11728 https://bugs.webkit.org/show_bug.cgi?id=80629
11730 Reviewed by James Robinson.
11732 Covered by existing canvas tests, and manual testing (killing the GPU
11735 * src/WebViewImpl.cpp:
11736 (WebKit::WebViewImpl::sharedGraphicsContext3D):
11738 2012-03-12 Nat Duca <nduca@chromium.org>
11740 [Chromium] Force compositeAndReadback through regular scheduling flow
11741 https://bugs.webkit.org/show_bug.cgi?id=77049
11743 Reviewed by James Robinson.
11745 * tests/CCFrameRateControllerTest.cpp:
11746 (WebKitTests::FakeCCFrameRateControllerClient::reset):
11747 (WebKitTests::FakeCCFrameRateControllerClient::vsyncTicked):
11748 (WebKitTests::FakeCCFrameRateControllerClient::vsyncTick):
11749 (FakeCCFrameRateControllerClient):
11750 (WebKitTests::TEST):
11751 * tests/CCLayerTreeHostTest.cpp:
11753 (CCLayerTreeHostTestCompositeAndReadbackWhileInvisible):
11754 (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible):
11755 (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::beginTest):
11756 (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::didCommitAndDrawFrame):
11757 (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::afterTest):
11759 * tests/CCSchedulerStateMachineTest.cpp:
11760 (WebCore::StateMachine::setNeedsForcedCommit):
11761 (WebCore::StateMachine::needsForcedCommit):
11766 2012-03-12 Joshua Bell <jsbell@chromium.org>
11768 IndexedDB: Handle LevelDB database corruption
11769 https://bugs.webkit.org/show_bug.cgi?id=79413
11771 Reviewed by Tony Chang.
11773 * WebKit.gyp: Skip LevelDBTest.cpp in shared component builds due to webkit_support dependency
11774 * WebKit.gypi: Add LevelDBTest.cpp
11775 * tests/LevelDBTest.cpp: Added.
11777 (SimpleComparator):
11778 (WebCore::SimpleComparator::compare):
11779 (WebCore::SimpleComparator::name):
11780 (WebCore::encodeString):
11783 2012-03-12 Dana Jansens <danakj@chromium.org>
11785 [chromium] Clean up culling tests and templatize to test impl constructs
11786 https://bugs.webkit.org/show_bug.cgi?id=80613
11788 Reviewed by Adrienne Walker.
11790 * tests/CCOcclusionTrackerTest.cpp:
11791 (WebCore::TestContentLayerChromium::TestContentLayerChromium):
11792 (WebCore::TestContentLayerChromium::opaqueContentsRegion):
11793 (WebCore::TestContentLayerChromium::setOpaqueContentsRect):
11794 (TestContentLayerChromium):
11795 (TestContentLayerImpl):
11796 (WebCore::TestContentLayerImpl::TestContentLayerImpl):
11797 (WebCore::TestContentLayerImpl::opaqueContentsRegion):
11798 (WebCore::TestContentLayerImpl::setOpaqueContentsRect):
11800 (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
11801 (WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
11802 (WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
11803 (WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
11804 (WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
11805 (WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
11806 (WebCore::TestDamageClient::damageRect):
11807 (CCOcclusionTrackerTestMainThreadTypes):
11808 (WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
11809 (WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
11810 (CCOcclusionTrackerTestImplThreadTypes):
11811 (WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
11812 (WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
11813 (CCOcclusionTrackerTest):
11814 (WebCore::CCOcclusionTrackerTest::TearDown):
11815 (WebCore::CCOcclusionTrackerTest::createRoot):
11816 (WebCore::CCOcclusionTrackerTest::createLayer):
11817 (WebCore::CCOcclusionTrackerTest::createSurface):
11818 (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
11819 (WebCore::CCOcclusionTrackerTest::createDrawingSurface):
11820 (WebCore::CCOcclusionTrackerTest::calcDrawEtc):
11821 (WebCore::CCOcclusionTrackerTest::setBaseProperties):
11822 (WebCore::CCOcclusionTrackerTest::setProperties):
11823 (CCOcclusionTrackerTestIdentityTransforms):
11824 (WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
11825 (CCOcclusionTrackerTestRotatedChild):
11826 (WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
11827 (CCOcclusionTrackerTestTranslatedChild):
11828 (WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
11829 (CCOcclusionTrackerTestChildInRotatedChild):
11830 (WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
11831 (CCOcclusionTrackerTestVisitTargetTwoTimes):
11832 (WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
11833 (CCOcclusionTrackerTestSurfaceRotatedOffAxis):
11834 (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
11835 (CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
11836 (WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
11837 (CCOcclusionTrackerTestOverlappingSurfaceSiblings):
11838 (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
11839 (CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
11840 (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
11841 (CCOcclusionTrackerTestFilters):
11842 (WebCore::CCOcclusionTrackerTestFilters::runMyTest):
11843 (CCOcclusionTrackerTestLayerScissorRectOutsideChild):
11844 (WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
11845 (CCOcclusionTrackerTestScreenScissorRectOutsideChild):
11846 (WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
11847 (CCOcclusionTrackerTestDamageRectOutsideChild):
11848 (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
11849 (CCOcclusionTrackerTestLayerScissorRectOverChild):
11850 (WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
11851 (CCOcclusionTrackerTestScreenScissorRectOverChild):
11852 (WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
11853 (CCOcclusionTrackerTestDamageRectOverChild):
11854 (WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
11855 (CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
11856 (WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
11857 (CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
11858 (WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
11859 (CCOcclusionTrackerTestDamageRectPartlyOverChild):
11860 (WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
11861 (CCOcclusionTrackerTestLayerScissorRectOverNothing):
11862 (WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
11863 (CCOcclusionTrackerTestScreenScissorRectOverNothing):
11864 (WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
11865 (CCOcclusionTrackerTestDamageRectOverNothing):
11866 (WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
11867 (CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
11868 (WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
11869 (CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
11870 (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
11871 (CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
11872 (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
11874 2012-03-11 Sheriff Bot <webkit.review.bot@gmail.com>
11876 Unreviewed, rolling out r110359.
11877 http://trac.webkit.org/changeset/110359
11878 https://bugs.webkit.org/show_bug.cgi?id=80799
11880 SelectPopupMenuTest.ClickItem failure (Requested by ukai on
11883 * src/WebViewImpl.cpp:
11884 (WebKit::WebViewImpl::gestureEvent):
11885 (WebKit::WebViewImpl::applyAutofillSuggestions):
11887 2012-03-11 Pavel Feldman <pfeldman@chromium.org>
11889 Web Inspector: [chromium] add provisional test for the downstream sanity test.
11890 https://bugs.webkit.org/show_bug.cgi?id=80784
11892 Reviewed by Yury Semikhatsky.
11895 (.TestSuite.prototype.checkLogAndErrorMessages.validMessage):
11896 (.TestSuite.prototype.checkLogAndErrorMessages.onConsoleMessage):
11897 (.TestSuite.prototype.checkLogAndErrorMessages):
11899 2012-03-10 Sheriff Bot <webkit.review.bot@gmail.com>
11901 Unreviewed, rolling out r110384.
11902 http://trac.webkit.org/changeset/110384
11903 https://bugs.webkit.org/show_bug.cgi?id=80774
11905 compile failed on Chromium Win Release (Requested by ukai_home
11908 * tests/CCOcclusionTrackerTest.cpp:
11909 (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
11910 (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
11911 (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
11912 (LayerChromiumWithForcedDrawsContent):
11913 (WebCore::setLayerPropertiesForTesting):
11915 (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
11916 (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
11917 (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
11918 (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
11919 (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
11920 (WebCore::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
11921 (WebCore::TestDamageClient::damageRect):
11922 (WebCore::layerAddedToOccludedRegion):
11923 (WebCore::layerAddedToOccludedRegionWithRotation):
11924 (WebCore::layerAddedToOccludedRegionWithTranslation):
11925 (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
11926 (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
11927 (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
11928 (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
11929 (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
11930 (WebCore::surfaceOcclusionInScreenSpace):
11931 (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
11932 (WebCore::occlusionInteractionWithFilters):
11933 (WebCore::layerScissorRectOverTile):
11934 (WebCore::screenScissorRectOverTile):
11935 (WebCore::layerScissorRectOverCulledTile):
11936 (WebCore::screenScissorRectOverCulledTile):
11937 (WebCore::layerScissorRectOverPartialTiles):
11938 (WebCore::screenScissorRectOverPartialTiles):
11939 (WebCore::layerScissorRectOverNoTiles):
11940 (WebCore::screenScissorRectOverNoTiles):
11941 (WebCore::layerScissorRectForLayerOffOrigin):
11942 (WebCore::damageRectOverTile):
11943 (WebCore::damageRectOverCulledTile):
11944 (WebCore::damageRectOverPartialTiles):
11945 (WebCore::damageRectOverNoTiles):
11948 2012-03-10 Dana Jansens <danakj@chromium.org>
11950 [chromium] Clean up culling tests and templatize to test impl constructs
11951 https://bugs.webkit.org/show_bug.cgi?id=80613
11953 Reviewed by Adrienne Walker.
11955 * tests/CCOcclusionTrackerTest.cpp:
11956 (WebCore::TestContentLayerChromium::TestContentLayerChromium):
11957 (WebCore::TestContentLayerChromium::opaqueContentsRegion):
11958 (WebCore::TestContentLayerChromium::setOpaqueContentsRect):
11959 (TestContentLayerChromium):
11960 (TestContentLayerImpl):
11961 (WebCore::TestContentLayerImpl::TestContentLayerImpl):
11962 (WebCore::TestContentLayerImpl::opaqueContentsRegion):
11963 (WebCore::TestContentLayerImpl::setOpaqueContentsRect):
11965 (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
11966 (WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
11967 (WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
11968 (WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
11969 (WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
11970 (WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
11971 (WebCore::TestDamageClient::damageRect):
11972 (CCOcclusionTrackerTestMainThreadTypes):
11973 (WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
11974 (WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
11975 (CCOcclusionTrackerTestImplThreadTypes):
11976 (WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
11977 (WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
11978 (CCOcclusionTrackerTest):
11979 (WebCore::CCOcclusionTrackerTest::TearDown):
11980 (WebCore::CCOcclusionTrackerTest::createRoot):
11981 (WebCore::CCOcclusionTrackerTest::createLayer):
11982 (WebCore::CCOcclusionTrackerTest::createSurface):
11983 (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
11984 (WebCore::CCOcclusionTrackerTest::createDrawingSurface):
11985 (WebCore::CCOcclusionTrackerTest::calcDrawEtc):
11986 (WebCore::CCOcclusionTrackerTest::setBaseProperties):
11987 (WebCore::CCOcclusionTrackerTest::setProperties):
11988 (CCOcclusionTrackerTestIdentityTransforms):
11989 (WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
11990 (CCOcclusionTrackerTestRotatedChild):
11991 (WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
11992 (CCOcclusionTrackerTestTranslatedChild):
11993 (WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
11994 (CCOcclusionTrackerTestChildInRotatedChild):
11995 (WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
11996 (CCOcclusionTrackerTestVisitTargetTwoTimes):
11997 (WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
11998 (CCOcclusionTrackerTestSurfaceRotatedOffAxis):
11999 (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
12000 (CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
12001 (WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
12002 (CCOcclusionTrackerTestOverlappingSurfaceSiblings):
12003 (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
12004 (CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
12005 (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
12006 (CCOcclusionTrackerTestFilters):
12007 (WebCore::CCOcclusionTrackerTestFilters::runMyTest):
12008 (CCOcclusionTrackerTestLayerScissorRectOutsideChild):
12009 (WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
12010 (CCOcclusionTrackerTestScreenScissorRectOutsideChild):
12011 (WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
12012 (CCOcclusionTrackerTestDamageRectOutsideChild):
12013 (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
12014 (CCOcclusionTrackerTestLayerScissorRectOverChild):
12015 (WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
12016 (CCOcclusionTrackerTestScreenScissorRectOverChild):
12017 (WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
12018 (CCOcclusionTrackerTestDamageRectOverChild):
12019 (WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
12020 (CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
12021 (WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
12022 (CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
12023 (WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
12024 (CCOcclusionTrackerTestDamageRectPartlyOverChild):
12025 (WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
12026 (CCOcclusionTrackerTestLayerScissorRectOverNothing):
12027 (WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
12028 (CCOcclusionTrackerTestScreenScissorRectOverNothing):
12029 (WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
12030 (CCOcclusionTrackerTestDamageRectOverNothing):
12031 (WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
12032 (CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
12033 (WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
12034 (CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
12035 (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
12036 (CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
12037 (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
12039 2012-03-09 Jon Lee <jonlee@apple.com>
12041 Rename NotificationPresenter to NotificationClient
12042 https://bugs.webkit.org/show_bug.cgi?id=80488
12043 <rdar://problem/10965558>
12045 Reviewed by Kentaro Hara.
12047 Refactor to use renamed WebCore::NotificationClient.
12048 * src/AssertMatchingEnums.cpp:
12049 * src/NotificationPresenterImpl.cpp:
12050 (WebKit::NotificationPresenterImpl::checkPermission):
12051 * src/NotificationPresenterImpl.h:
12052 (NotificationPresenterImpl):
12054 2012-03-10 Sheriff Bot <webkit.review.bot@gmail.com>
12056 Unreviewed, rolling out r110363.
12057 http://trac.webkit.org/changeset/110363
12058 https://bugs.webkit.org/show_bug.cgi?id=80757
12060 link error in chromium: unresolved external symbol
12061 webkit_support::CreateScopedTempDirectory(void) (Requested by
12062 ukai_home on #webkit).
12065 * tests/LevelDBTest.cpp: Removed.
12067 2012-03-10 Sheriff Bot <webkit.review.bot@gmail.com>
12069 Unreviewed, rolling out r110353.
12070 http://trac.webkit.org/changeset/110353
12071 https://bugs.webkit.org/show_bug.cgi?id=80752
12073 copmile failed on Chromium (Requested by ukai_home on
12076 * tests/CCOcclusionTrackerTest.cpp:
12077 (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
12078 (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
12079 (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
12080 (LayerChromiumWithForcedDrawsContent):
12081 (WebCore::setLayerPropertiesForTesting):
12083 (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
12084 (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
12085 (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
12086 (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
12087 (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
12088 (WebCore::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
12089 (WebCore::TestDamageClient::damageRect):
12090 (WebCore::layerAddedToOccludedRegion):
12091 (WebCore::layerAddedToOccludedRegionWithRotation):
12092 (WebCore::layerAddedToOccludedRegionWithTranslation):
12093 (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
12094 (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
12095 (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
12096 (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
12097 (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
12098 (WebCore::surfaceOcclusionInScreenSpace):
12099 (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
12100 (WebCore::occlusionInteractionWithFilters):
12101 (WebCore::layerScissorRectOverTile):
12102 (WebCore::screenScissorRectOverTile):
12103 (WebCore::layerScissorRectOverCulledTile):
12104 (WebCore::screenScissorRectOverCulledTile):
12105 (WebCore::layerScissorRectOverPartialTiles):
12106 (WebCore::screenScissorRectOverPartialTiles):
12107 (WebCore::layerScissorRectOverNoTiles):
12108 (WebCore::screenScissorRectOverNoTiles):
12109 (WebCore::layerScissorRectForLayerOffOrigin):
12110 (WebCore::damageRectOverTile):
12111 (WebCore::damageRectOverCulledTile):
12112 (WebCore::damageRectOverPartialTiles):
12113 (WebCore::damageRectOverNoTiles):
12116 2012-03-09 Robert Kroeger <rjkroege@chromium.org>
12118 Handle more Gesture* events by performing scrolls on the correct target ScrollableArea
12119 https://bugs.webkit.org/show_bug.cgi?id=80311
12121 Added a unit test for the changes to ScrollAnimatorNone to make sure that the two-call
12122 transport of fling parameters is correctly delivered.
12124 Reviewed by James Robinson.
12126 * tests/ScrollAnimatorNoneTest.cpp:
12127 (MockScrollAnimatorNone):
12128 (MockScrollAnimatorNone::reset):
12129 (MockScrollAnimatorNone::fireUpAnAnimation):
12132 2012-03-07 James Robinson <jamesr@chromium.org>
12134 [chromium] Deprecate renderDirectlyToWebView parameter of WebViewClient::createGraphicsContext3D()
12135 https://bugs.webkit.org/show_bug.cgi?id=80523
12137 Reviewed by Darin Fisher.
12139 * public/WebViewClient.h:
12141 (WebKit::WebViewClient::createGraphicsContext3D):
12142 * public/platform/WebKitPlatformSupport.h:
12144 * src/WebViewImpl.cpp:
12145 (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
12147 2012-03-09 Joshua Bell <jsbell@chromium.org>
12149 IndexedDB: Handle LevelDB database corruption
12150 https://bugs.webkit.org/show_bug.cgi?id=79413
12152 Reviewed by Tony Chang.
12155 * tests/LevelDBTest.cpp: Added.
12157 (SimpleComparator):
12158 (WebCore::SimpleComparator::compare):
12159 (WebCore::SimpleComparator::name):
12160 (WebCore::encodeString):
12163 2012-03-09 Tim Dresser <tdresser@chromium.org>
12165 [chromium] Increase size of Combo Box Options for touch and high DPI devices
12166 https://bugs.webkit.org/show_bug.cgi?id=80027
12168 Reviewed by Darin Fisher.
12170 * src/WebViewImpl.cpp:
12171 (WebKit::WebViewImpl::gestureEvent):
12172 (WebKit::WebViewImpl::applyAutofillSuggestions):
12174 2012-03-09 James Robinson <jamesr@chromium.org>
12176 [chromium] Roll chromium DEPS to r125600
12177 https://bugs.webkit.org/show_bug.cgi?id=80722
12183 2012-03-09 Dana Jansens <danakj@chromium.org>
12185 [chromium] Clean up culling tests and templatize to test impl constructs
12186 https://bugs.webkit.org/show_bug.cgi?id=80613
12188 Reviewed by Adrienne Walker.
12190 * tests/CCOcclusionTrackerTest.cpp:
12191 (WebCore::TestContentLayerChromium::TestContentLayerChromium):
12192 (WebCore::TestContentLayerChromium::opaqueContentsRegion):
12193 (WebCore::TestContentLayerChromium::setOpaqueContentsRect):
12194 (TestContentLayerChromium):
12195 (TestContentLayerImpl):
12196 (WebCore::TestContentLayerImpl::TestContentLayerImpl):
12197 (WebCore::TestContentLayerImpl::opaqueContentsRegion):
12198 (WebCore::TestContentLayerImpl::setOpaqueContentsRect):
12200 (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
12201 (WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
12202 (WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
12203 (WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
12204 (WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
12205 (WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
12206 (WebCore::TestDamageClient::damageRect):
12207 (CCOcclusionTrackerTestMainThreadTypes):
12208 (WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
12209 (WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
12210 (CCOcclusionTrackerTestImplThreadTypes):
12211 (WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
12212 (WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
12213 (CCOcclusionTrackerTest):
12214 (WebCore::CCOcclusionTrackerTest::TearDown):
12215 (WebCore::CCOcclusionTrackerTest::createRoot):
12216 (WebCore::CCOcclusionTrackerTest::createLayer):
12217 (WebCore::CCOcclusionTrackerTest::createSurface):
12218 (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
12219 (WebCore::CCOcclusionTrackerTest::createDrawingSurface):
12220 (WebCore::CCOcclusionTrackerTest::calcDrawEtc):
12221 (WebCore::CCOcclusionTrackerTest::setBaseProperties):
12222 (WebCore::CCOcclusionTrackerTest::setProperties):
12223 (CCOcclusionTrackerTestIdentityTransforms):
12224 (WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
12225 (CCOcclusionTrackerTestRotatedChild):
12226 (WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
12227 (CCOcclusionTrackerTestTranslatedChild):
12228 (WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
12229 (CCOcclusionTrackerTestChildInRotatedChild):
12230 (WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
12231 (CCOcclusionTrackerTestVisitTargetTwoTimes):
12232 (WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
12233 (CCOcclusionTrackerTestSurfaceRotatedOffAxis):
12234 (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
12235 (CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
12236 (WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
12237 (CCOcclusionTrackerTestOverlappingSurfaceSiblings):
12238 (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
12239 (CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
12240 (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
12241 (CCOcclusionTrackerTestFilters):
12242 (WebCore::CCOcclusionTrackerTestFilters::runMyTest):
12243 (CCOcclusionTrackerTestLayerScissorRectOutsideChild):
12244 (WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
12245 (CCOcclusionTrackerTestScreenScissorRectOutsideChild):
12246 (WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
12247 (CCOcclusionTrackerTestDamageRectOutsideChild):
12248 (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
12249 (CCOcclusionTrackerTestLayerScissorRectOverChild):
12250 (WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
12251 (CCOcclusionTrackerTestScreenScissorRectOverChild):
12252 (WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
12253 (CCOcclusionTrackerTestDamageRectOverChild):
12254 (WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
12255 (CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
12256 (WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
12257 (CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
12258 (WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
12259 (CCOcclusionTrackerTestDamageRectPartlyOverChild):
12260 (WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
12261 (CCOcclusionTrackerTestLayerScissorRectOverNothing):
12262 (WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
12263 (CCOcclusionTrackerTestScreenScissorRectOverNothing):
12264 (WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
12265 (CCOcclusionTrackerTestDamageRectOverNothing):
12266 (WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
12267 (CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
12268 (WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
12269 (CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
12270 (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
12271 (CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
12272 (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
12274 2012-03-09 Emil A Eklund <eae@chromium.org>
12276 Add roundedPoint to HitTestResult and change platform code to use it
12277 https://bugs.webkit.org/show_bug.cgi?id=80715
12279 Reviewed by James Robinson.
12281 Change ports to use roundedPoint to avoid exposing subpixel types to
12284 * src/ChromeClientImpl.cpp:
12285 (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
12286 * src/ContextMenuClientImpl.cpp:
12287 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
12289 2012-03-09 W. James MacLean <wjmaclean@chromium.org>
12291 [chromium] Implement scroll physics architecture for impl/main thread
12292 https://bugs.webkit.org/show_bug.cgi?id=79827
12294 Reviewed by James Robinson.
12297 * tests/PlatformGestureCurveTest.cpp: Added.
12299 2012-03-09 Tien-Ren Chen <trchen@chromium.org>
12301 [chromium] ScrollbarLayerChromium/CCScrollbarLayerImpl for CC-side scrollbar painting
12302 https://bugs.webkit.org/show_bug.cgi?id=78872
12304 Reviewed by James Robinson.
12307 * tests/ScrollbarLayerChromiumTest.cpp: Added.
12310 (WebCore::MockScrollbar::x):
12311 (WebCore::MockScrollbar::y):
12312 (WebCore::MockScrollbar::width):
12313 (WebCore::MockScrollbar::height):
12314 (WebCore::MockScrollbar::size):
12315 (WebCore::MockScrollbar::location):
12316 (WebCore::MockScrollbar::parent):
12317 (WebCore::MockScrollbar::root):
12318 (WebCore::MockScrollbar::setFrameRect):
12319 (WebCore::MockScrollbar::frameRect):
12320 (WebCore::MockScrollbar::invalidate):
12321 (WebCore::MockScrollbar::invalidateRect):
12322 (WebCore::MockScrollbar::scrollbarOverlayStyle):
12323 (WebCore::MockScrollbar::getTickmarks):
12324 (WebCore::MockScrollbar::isScrollableAreaActive):
12325 (WebCore::MockScrollbar::isScrollViewScrollbar):
12326 (WebCore::MockScrollbar::convertFromContainingWindow):
12327 (WebCore::MockScrollbar::isCustomScrollbar):
12328 (WebCore::MockScrollbar::orientation):
12329 (WebCore::MockScrollbar::value):
12330 (WebCore::MockScrollbar::currentPos):
12331 (WebCore::MockScrollbar::visibleSize):
12332 (WebCore::MockScrollbar::totalSize):
12333 (WebCore::MockScrollbar::maximum):
12334 (WebCore::MockScrollbar::controlSize):
12335 (WebCore::MockScrollbar::lineStep):
12336 (WebCore::MockScrollbar::pageStep):
12337 (WebCore::MockScrollbar::pressedPart):
12338 (WebCore::MockScrollbar::hoveredPart):
12339 (WebCore::MockScrollbar::styleChanged):
12340 (WebCore::MockScrollbar::enabled):
12341 (WebCore::MockScrollbar::setEnabled):
12342 (WebCore::MockScrollbar::MockScrollbar):
12343 (WebCore::MockScrollbar::~MockScrollbar):
12346 2012-03-08 James Robinson <jamesr@chromium.org>
12348 [chromium] Expose the shared graphics context on WebView so callers can allocate resources on the main thread for the compositor to use
12349 https://bugs.webkit.org/show_bug.cgi?id=80670
12351 Reviewed by Stephen White.
12353 This exposes a context on WebView that is in the compositor's share group and can be used directly from the main
12354 thread. This is useful for content that needs to allocate resources for the compositor to use, but cannot
12355 directly use the compositor's context either because it cannot access the correct thread or because it needs to
12356 initialize in situations where we cannot initialize a compositor (view) context - for instance before the native
12359 * public/WebView.h:
12361 * src/WebViewImpl.cpp:
12362 (WebKit::WebViewImpl::sharedGraphicsContext3D):
12364 * src/WebViewImpl.h:
12367 2012-03-09 Dana Jansens <danakj@chromium.org>
12369 [chromium] Use opaque paints in CCOcclusionTracker
12370 https://bugs.webkit.org/show_bug.cgi?id=80173
12372 Reviewed by Adrienne Walker.
12374 * tests/CCOcclusionTrackerTest.cpp:
12375 (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
12376 (LayerChromiumWithForcedDrawsContent):
12377 (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
12378 (WebCore::setLayerPropertiesForTesting):
12380 (WebCore::layerAddedToOccludedRegion):
12381 (WebCore::layerAddedToOccludedRegionWithRotation):
12382 (WebCore::layerAddedToOccludedRegionWithTranslation):
12383 (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
12384 (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
12385 (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
12386 (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
12387 (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
12388 (WebCore::surfaceOcclusionInScreenSpace):
12389 (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
12390 (WebCore::occlusionInteractionWithFilters):
12391 (WebCore::layerScissorRectOverTile):
12392 (WebCore::screenScissorRectOverTile):
12393 (WebCore::layerScissorRectOverCulledTile):
12394 (WebCore::screenScissorRectOverCulledTile):
12395 (WebCore::layerScissorRectOverPartialTiles):
12396 (WebCore::screenScissorRectOverPartialTiles):
12397 (WebCore::layerScissorRectOverNoTiles):
12398 (WebCore::screenScissorRectOverNoTiles):
12399 (WebCore::layerScissorRectForLayerOffOrigin):
12400 (WebCore::damageRectOverTile):
12401 (WebCore::damageRectOverCulledTile):
12402 (WebCore::damageRectOverPartialTiles):
12403 (WebCore::damageRectOverNoTiles):
12405 * tests/TiledLayerChromiumTest.cpp:
12409 2012-03-09 Jon Lee <jonlee@apple.com>
12411 Add support for ENABLE(LEGACY_NOTIFICATIONS)
12412 https://bugs.webkit.org/show_bug.cgi?id=80497
12414 Reviewed by Adam Barth.
12416 Prep for b80472: Update API for Web Notifications
12419 2012-03-09 Ian Vollick <vollick@chromium.org>
12421 [chromium] Ensure we use the correct time when notifying animation started
12422 https://bugs.webkit.org/show_bug.cgi?id=79537
12424 Reviewed by James Robinson
12426 * src/WebCompositorInputHandlerImpl.cpp:
12427 (WebKit::WebCompositorInputHandlerImpl::willDraw):
12428 * src/WebCompositorInputHandlerImpl.h:
12429 (WebCompositorInputHandlerImpl):
12430 * tests/CCLayerTreeHostImplTest.cpp:
12431 (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
12433 * tests/CCLayerTreeHostTest.cpp:
12434 (WTF::TestHooks::animateLayers):
12435 (WTF::TestHooks::updateAnimations):
12436 (WTF::MockLayerTreeHostImpl::animateLayers):
12437 (WTF::MockLayerTreeHostClient::updateAnimations):
12438 (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
12439 (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
12440 (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted):
12441 (CCLayerTreeHostTestAddAnimation):
12443 2012-03-09 Sheriff Bot <webkit.review.bot@gmail.com>
12445 Unreviewed, rolling out r110191, r110202, and r110279.
12446 http://trac.webkit.org/changeset/110191
12447 http://trac.webkit.org/changeset/110202
12448 http://trac.webkit.org/changeset/110279
12449 https://bugs.webkit.org/show_bug.cgi?id=80694
12451 They broke !ENABLE(INSPECTOR) builds (Requested by Ossy on
12456 2012-03-09 Alexander Pavlov <apavlov@chromium.org>
12458 [chromium] Unreviewed, build fix after r110191
12462 2012-03-08 Ian Vollick <vollick@chromium.org>
12464 [chromium] Ensure that the cc thread animation framework continues to tick when the tab is backgrounded
12465 https://bugs.webkit.org/show_bug.cgi?id=77668
12467 Reviewed by James Robinson.
12469 * tests/CCLayerTreeHostTest.cpp:
12470 (WTF::CCLayerTreeHostTest::postAddInstantAnimationToMainThread):
12471 (CCLayerTreeHostTest):
12472 (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
12473 (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
12474 (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
12476 (CCLayerTreeHostTestTickAnimationWhileBackgrounded):
12477 (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::CCLayerTreeHostTestTickAnimationWhileBackgrounded):
12478 (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::beginTest):
12479 (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
12480 (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::afterTest):
12483 2012-03-08 Jeff Timanus <twiz@chromium.org>
12485 [chromium] Force the Canvas2D GPU texture cache to 0 bytes for backgrounded tabs.
12486 https://bugs.webkit.org/show_bug.cgi?id=79948
12488 Reviewed by Stephen White.
12490 * src/GraphicsContext3DChromium.cpp:
12491 (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
12492 (WebCore::GraphicsContext3DPrivate::grContext):
12493 (WebCore::GraphicsContext3DPrivate::setVisibilityCHROMIUM):
12495 2012-03-08 Dana Jansens <danakj@chromium.org>
12497 [chromium] Replace completelyContains with Region::contains()
12498 https://bugs.webkit.org/show_bug.cgi?id=80617
12500 Reviewed by James Robinson.
12502 * tests/CCLayerTestCommon.cpp:
12503 (CCLayerTestCommon):
12504 (CCLayerTestCommon::verifyQuadsExactlyCoverRect):
12505 * tests/CCLayerTestCommon.h:
12506 (CCLayerTestCommon):
12508 2012-03-08 James Robinson <jamesr@chromium.org>
12510 Use an explicit attribute to signal that a context prefers to use a discrete GPU
12511 https://bugs.webkit.org/show_bug.cgi?id=80639
12513 Reviewed by Stephen White.
12515 * src/GraphicsContext3DChromium.cpp:
12516 (WebCore::GraphicsContext3DPrivate::getContextAttributes):
12517 (WebCore::GraphicsContext3D::create):
12518 * src/WebViewImpl.cpp:
12519 (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
12521 2012-03-08 Scott Byer <scottbyer@chromium.org>
12523 Have ScrollAnimatorNone use requestAnimationFrame
12524 https://bugs.webkit.org/show_bug.cgi?id=78938
12526 Reviewed by James Robinson.
12528 * src/ScrollbarGroup.h:
12530 (WebKit::ScrollbarGroup::hostWindow):
12532 * tests/ScrollAnimatorNoneTest.cpp:
12533 (MockScrollableArea::hostWindow):
12535 2012-03-08 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
12537 Make elements with attributes smaller by eliminating the m_element back pointer in NamedNodeMap
12538 https://bugs.webkit.org/show_bug.cgi?id=75069
12540 Reviewed by Ryosuke Niwa.
12542 * src/WebElement.cpp: Include NamedNodeMap.h since Element.h doesn't include it anymore.
12544 2012-03-07 Kent Tamura <tkent@chromium.org>
12546 Remove meaningless code in RenderTextControlSingleLine::preferredContentWidth()
12547 https://bugs.webkit.org/show_bug.cgi?id=80493
12549 Reviewed by Hajime Morita.
12551 * src/WebInputElement.cpp:
12552 RenderTextControlSingleLine::speechButtonElement() is removed. The
12553 following functions get it from HTMLInputElement.
12554 (WebKit::WebInputElement::getSpeechInputState):
12555 (WebKit::WebInputElement::startSpeechInput):
12556 (WebKit::WebInputElement::stopSpeechInput):
12558 2012-03-07 Adam Barth <abarth@webkit.org>
12560 Remove #define private public from WebCache.cpp
12561 https://bugs.webkit.org/show_bug.cgi?id=80520
12563 Reviewed by Eric Seidel.
12565 This patch removes a hack we added long ago when Chromium used a forked
12566 copy of WebKit and editing WebCore caused merge pain. Now that we're
12567 on trunk, we can unwind this hack.
12569 * src/WebCache.cpp:
12570 (WebKit::WebCache::getUsageStats):
12572 2012-03-07 Joshua Bell <jsbell@chromium.org>
12574 [Chromium] IndexedDB: V8LocalContext creation in IDBKey extraction/injection is slow
12575 https://bugs.webkit.org/show_bug.cgi?id=80358
12577 Reviewed by Tony Chang.
12579 * tests/IDBBindingUtilitiesTest.cpp:
12582 2012-03-07 Scott Byer <scottbyer@chromium.org>
12584 Get ScrollAnimatorNone to handle the stop and reverse cases.
12585 https://bugs.webkit.org/show_bug.cgi?id=80455
12587 Reviewed by James Robinson.
12589 * tests/ScrollAnimatorNoneTest.cpp:
12590 (ScrollAnimatorNoneTest::updateDataFromParameters):
12593 2012-03-07 Dana Jansens <danakj@chromium.org>
12595 [chromium] Cull occluded tiles during paint
12596 https://bugs.webkit.org/show_bug.cgi?id=76838
12598 Reviewed by Adrienne Walker.
12600 * tests/CCLayerTreeHostTest.cpp:
12601 (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
12602 * tests/TiledLayerChromiumTest.cpp:
12603 (WTF::FakeLayerTextureUpdater::Texture::prepareRect):
12604 (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
12605 (FakeLayerTextureUpdater):
12606 (WTF::FakeLayerTextureUpdater::prepareRectCount):
12607 (WTF::FakeLayerTextureUpdater::clearPrepareRectCount):
12608 (WTF::FakeLayerTextureUpdater::prepareRect):
12609 (WTF::FakeTiledLayerChromium::prepareToUpdate):
12610 (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
12611 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
12615 2012-03-07 Elliot Poger <epoger@google.com>
12617 [Chromium] Remove use_skia option from GYP
12618 https://bugs.webkit.org/show_bug.cgi?id=75811
12620 Reviewed by Tony Chang.
12626 2012-03-06 Dana Jansens <danakj@chromium.org>
12628 [chromium] Add clipping to scissor rect to CCOcclusionTracker
12629 https://bugs.webkit.org/show_bug.cgi?id=79927
12631 Reviewed by Adrienne Walker.
12633 * tests/CCOcclusionTrackerTest.cpp:
12634 (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
12635 (TestCCOcclusionTracker):
12636 (WebCore::TestCCOcclusionTracker::setLayerScissorRect):
12637 (WebCore::TestCCOcclusionTracker::useDefaultLayerScissorRect):
12638 (WebCore::TestCCOcclusionTracker::layerScissorRect):
12640 (TestDamageClient):
12641 (WebCore::TestDamageClient::damageRect):
12642 (WebCore::TestDamageClient::TestDamageClient):
12643 (WebCore::TestDamageClient::setDamageRect):
12646 2012-03-06 Kenichi Ishibashi <bashi@chromium.org>
12648 [WebSocket] Introduce ThreadableWebSocketChannel::SendResult
12649 https://bugs.webkit.org/show_bug.cgi?id=80356
12651 Reviewed by Kent Tamura.
12653 * src/WebSocketImpl.cpp:
12654 (WebKit::WebSocketImpl::sendText): Checks whether the return value of send() is ThreadableWebSocketChannel::SendSuccess.
12655 (WebKit::WebSocketImpl::sendArrayBuffer): Ditto.
12657 2012-03-06 Nat Duca <nduca@chromium.org>
12659 [chromium] CCThreadProxy context lost support
12660 https://bugs.webkit.org/show_bug.cgi?id=80100
12662 Reviewed by James Robinson.
12664 * tests/CCSchedulerStateMachineTest.cpp:
12665 * tests/CCSchedulerTest.cpp:
12666 (WebKitTests::FakeCCSchedulerClient::scheduledActionBeginContextRecreation):
12667 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionBeginContextRecreation):
12668 (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::scheduledActionBeginContextRecreation):
12670 2012-03-06 James Robinson <jamesr@chromium.org>
12672 [chromium] Null-check m_layerRenderer in CCLayerTreeHostImpl::finishAllRendering()
12673 https://bugs.webkit.org/show_bug.cgi?id=80445
12675 Reviewed by Adrienne Walker.
12677 * tests/CCLayerTreeHostImplTest.cpp:
12678 (FakeWebGraphicsContext3DMakeCurrentFails):
12679 (WebKit::FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
12683 2012-03-06 David Grogan <dgrogan@chromium.org>
12685 [Chromium] Add OVERRIDEs to WebWorkerClientImpl.h
12686 https://bugs.webkit.org/show_bug.cgi?id=80434
12688 Reviewed by Tony Chang.
12690 Tests: just that it compiles.
12692 * src/WebWorkerClientImpl.h:
12693 (WebWorkerClientImpl):
12695 2012-03-06 David Grogan <dgrogan@chromium.org>
12697 IndexedDB: Check WebCommonWorkerClient::allowIndexedDB before proceeding from a shared worker
12698 https://bugs.webkit.org/show_bug.cgi?id=79954
12700 Tests: The 'allow' case will be tested once the patch at
12701 http://webkit.org/b/80189 and
12702 https://chromiumcodereview.appspot.com/9585031/ both land. Bug for
12703 testing the 'deny' case is http://crbug.com/113738.
12705 Reviewed by Tony Chang.
12707 * public/WebCommonWorkerClient.h:
12708 (WebKit::WebCommonWorkerClient::allowDatabase):
12709 (WebKit::WebCommonWorkerClient::allowFileSystem):
12710 (WebKit::WebCommonWorkerClient::openFileSystem):
12711 (WebCommonWorkerClient):
12712 (WebKit::WebCommonWorkerClient::allowIndexedDB):
12713 * public/WebSharedWorkerClient.h:
12714 (WebSharedWorkerClient):
12715 * src/IDBFactoryBackendProxy.cpp:
12716 (WebKit::AllowIndexedDBMainThreadBridge::create):
12717 (WebKit::AllowIndexedDBMainThreadBridge::cancel):
12718 (WebKit::AllowIndexedDBMainThreadBridge::signalCompleted):
12719 (WebKit::AllowIndexedDBMainThreadBridge::AllowIndexedDBMainThreadBridge):
12720 (WebKit::AllowIndexedDBMainThreadBridge::allowIndexedDBTask):
12721 (AllowIndexedDBMainThreadBridge):
12722 (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
12723 * src/WebWorkerClientImpl.cpp:
12725 (WebKit::WebWorkerClientImpl::allowIndexedDB):
12726 * src/WebWorkerClientImpl.h:
12727 (WebWorkerClientImpl):
12729 2012-03-06 Stephen White <senorblanco@chromium.org>
12731 Unreviewed, rolling out r109825.
12732 http://trac.webkit.org/changeset/109825
12733 https://bugs.webkit.org/show_bug.cgi?id=79413
12735 Broke webkit_unit_tests on Chromium Win
12738 * tests/LevelDBTest.cpp: Removed.
12740 2012-03-06 Takashi Toyoshima <toyoshim@chromium.org>
12742 [Chromium] [WebSocket] Add WebSocket extensions query WebKit API
12743 https://bugs.webkit.org/show_bug.cgi?id=80190
12745 Reviewed by Darin Fisher.
12747 * public/WebSocket.h: Add extensions() declaration.
12749 * src/WebSocketImpl.cpp: Implement extensions() bridge.
12750 (WebKit::WebSocketImpl::extensions):
12752 * src/WebSocketImpl.h: Add extensions() declaration.
12755 2012-03-05 Kent Tamura <tkent@chromium.org>
12757 Do not reformat strings in <input type=number> on platforms using LocalizedNumberICU.
12758 https://bugs.webkit.org/show_bug.cgi?id=78326
12760 Reviewed by Hajime Morita.
12762 Add a test for WebCore/platform/text/LocalizedNumberICU.
12764 * WebKit.gypi: Added LocalizedNumberICUTest.cpp
12765 * tests/LocalizedNumberICUTest.cpp: Added.
12767 2012-03-05 Kenneth Russell <kbr@google.com>
12769 [chromium] Notify CCLayerImpl tree of context loss and restoration
12770 https://bugs.webkit.org/show_bug.cgi?id=80339
12772 Reviewed by James Robinson.
12774 Unit test for notification of context loss and restoration.
12776 * tests/CCLayerTreeHostImplTest.cpp:
12778 (ContextLostNotificationCheckLayer):
12779 (WebKit::ContextLostNotificationCheckLayer::create):
12780 (WebKit::ContextLostNotificationCheckLayer::didLoseAndRecreateGraphicsContext):
12781 (WebKit::ContextLostNotificationCheckLayer::didLoseAndRecreateGraphicsContextCalled):
12782 (WebKit::ContextLostNotificationCheckLayer::ContextLostNotificationCheckLayer):
12785 2012-03-05 Changhun Kang <temoochin@company100.net>
12787 Change the argument orders to match OpenGL's in GraphicsContext3D functions
12788 https://bugs.webkit.org/show_bug.cgi?id=80120
12790 Reviewed by Kenneth Russell.
12792 No new tests because this patch just change the order of arguments.
12794 * src/GraphicsContext3DChromium.cpp:
12795 (WebCore::GraphicsContext3DPrivate::uniform1fv):
12796 (WebCore::GraphicsContext3DPrivate::uniform1iv):
12797 (WebCore::GraphicsContext3DPrivate::uniform2fv):
12798 (WebCore::GraphicsContext3DPrivate::uniform2iv):
12799 (WebCore::GraphicsContext3DPrivate::uniform3fv):
12800 (WebCore::GraphicsContext3DPrivate::uniform3iv):
12801 (WebCore::GraphicsContext3DPrivate::uniform4fv):
12802 (WebCore::GraphicsContext3DPrivate::uniform4iv):
12803 (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
12804 (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
12805 (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
12807 * src/GraphicsContext3DPrivate.h:
12808 (GraphicsContext3DPrivate):
12810 2012-03-05 Yoshifumi Inoue <yosin@chromium.org>
12812 [Chromium] WebOptionElement should inherit WebElement instead of WebFormControlElement
12813 https://bugs.webkit.org/show_bug.cgi?id=80089
12815 Change class hierarchy of WebOptionElement to match with specification.
12817 Reviewed by Darin Fisher.
12819 * public/WebOptionElement.h: Replace to WebElement from WebFormControlElement
12820 (WebKit::WebOptionElement::WebOptionElement):
12821 (WebKit::WebOptionElement::operator=):
12822 (WebKit::WebOptionElement::assign):
12823 * src/WebOptionElement.cpp:
12824 (WebKit::WebOptionElement::WebOptionElement):
12826 2012-03-05 Joshua Bell <jsbell@chromium.org>
12828 IndexedDB: Handle LevelDB database corruption
12829 https://bugs.webkit.org/show_bug.cgi?id=79413
12831 Reviewed by Tony Chang.
12834 * tests/LevelDBTest.cpp: Added.
12836 (SimpleComparator):
12837 (WebCore::SimpleComparator::compare):
12838 (WebCore::SimpleComparator::name):
12839 (WebCore::encodeString):
12842 2012-03-05 Min Qin <qinmin@google.com>
12844 Enable context menu on android
12846 For android, long press is converted into a right mouse down event
12847 So we will use that to invoke the context menu
12848 https://bugs.webkit.org/show_bug.cgi?id=80332
12850 Reviewed by Adam Barth.
12852 * src/WebViewImpl.cpp:
12853 (WebKit::WebViewImpl::mouseDown):
12855 2012-03-05 Kent Tamura <tkent@chromium.org>
12857 [Chromium] Add new popup type: PagePopup
12858 https://bugs.webkit.org/show_bug.cgi?id=80106
12860 Reviewed by Darin Fisher.
12862 This is a preparation of implementing ChromeClient::openPagePopup and
12865 * WebKit.gyp: Add WebPagePopup.h and WebPagePopupImpl.cpp.
12866 * public/WebPagePopup.h:
12867 (WebPagePopup): Add WebPagePopup interface.
12868 * public/WebPopupType.h: Add WebPopupTypePage.
12869 * src/WebPagePopupImpl.cpp:
12870 (WebKit::WebPagePopup::create): Temprary implementation which just returns 0.
12872 2012-03-05 Charlie Reis <creis@chromium.org>
12874 [chromium] Pass WebNavigationPolicy to WebViewClient::createView
12875 https://bugs.webkit.org/show_bug.cgi?id=80057
12877 Reviewed by Darin Fisher.
12879 * public/WebViewClient.h:
12881 (WebKit::WebViewClient::createView):
12882 * src/ChromeClientImpl.cpp:
12883 (WebKit::ChromeClientImpl::ChromeClientImpl):
12884 (WebKit::ChromeClientImpl::createWindow):
12885 (WebKit::ChromeClientImpl::getNavigationPolicy):
12887 (WebKit::ChromeClientImpl::show):
12888 (WebKit::ChromeClientImpl::setNewWindowNavigationPolicy):
12889 * src/ChromeClientImpl.h:
12890 (ChromeClientImpl):
12891 * src/FrameLoaderClientImpl.cpp:
12892 (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
12893 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
12895 2012-03-05 James Robinson <jamesr@chromium.org>
12897 [chromium] Initialize CCOverdrawCounts struct to zero
12898 https://bugs.webkit.org/show_bug.cgi?id=80204
12900 Reviewed by Adrienne Walker.
12902 Update test to use c'tor instead of {} struct initialization.
12904 * tests/CCQuadCullerTest.cpp:
12907 2012-03-05 Takashi Toyoshima <toyoshim@chromium.org>
12909 [Chromium] [WebSocket] use OVERRIDE in WebSocketImpl.h
12910 https://bugs.webkit.org/show_bug.cgi?id=80192
12912 Reviewed by Kent Tamura.
12914 * src/WebSocketImpl.h: use OVERRIDE macro.
12917 2012-03-05 Adam Barth <abarth@webkit.org>
12919 Geolocation should use a ScriptExecutionContext as its context object
12920 https://bugs.webkit.org/show_bug.cgi?id=80248
12922 Reviewed by Kentaro Hara.
12924 Rather than indirecting through the Frame to get the SecurityOrigin, we
12925 should get the SecurityOrigin directly from ScriptExecutionContext.
12927 * src/WebGeolocationPermissionRequest.cpp:
12928 (WebKit::WebGeolocationPermissionRequest::securityOrigin):
12930 2012-03-02 Andrey Kosyakov <caseq@chromium.org>
12932 Add instrumentation for frame start/end on timeline.
12934 Web Inspector: add timeline instrumentation for frame events
12935 https://bugs.webkit.org/show_bug.cgi?id=80127
12937 Reviewed by Pavel Feldman.
12939 - expose an instrumentation method from WebWidget to mark frame update start
12941 * public/WebWidget.h:
12943 (WebKit::WebWidget::instrumentBeginFrame):
12944 * src/WebViewImpl.cpp:
12945 (WebKit::WebViewImpl::instrumentBeginFrame):
12947 * src/WebViewImpl.h:
12950 2012-03-03 Benjamin Poulain <benjamin@webkit.org>
12952 Remove the redundant method KURL::protocolInHTTPFamily()
12953 https://bugs.webkit.org/show_bug.cgi?id=80216
12955 Reviewed by Anders Carlsson.
12957 * src/FrameLoaderClientImpl.cpp:
12958 (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
12959 * src/WebPageSerializer.cpp:
12960 (WebCore::retrieveResourcesForElement):
12962 2012-03-03 Hans Wennborg <hans@chromium.org>
12964 Implement Speech JavaScript API
12965 https://bugs.webkit.org/show_bug.cgi?id=80019
12967 Reviewed by Adam Barth.
12969 Add ENABLE_SCRIPTED_SPEECH and runtime flag.
12972 * public/WebRuntimeFeatures.h:
12973 (WebRuntimeFeatures):
12974 * src/WebRuntimeFeatures.cpp:
12975 (WebKit::WebRuntimeFeatures::enableScriptedSpeech):
12977 (WebKit::WebRuntimeFeatures::isScriptedSpeechEnabled):
12979 2012-03-03 Bill Budge <bbudge@chromium.org>
12981 Fixes AssociatedURLLoader support for Access-Control-Expose-Headers field in response.
12982 https://bugs.webkit.org/show_bug.cgi?id=80198
12984 Reviewed by Adam Barth.
12986 * src/AssociatedURLLoader.cpp:
12987 * tests/AssociatedURLLoaderTest.cpp:
12989 2012-03-02 Dana Jansens <danakj@chromium.org>
12991 [Chromium] Allow plugins to set opaque() on their platform layer
12992 https://bugs.webkit.org/show_bug.cgi?id=80171
12994 Reviewed by James Robinson.
12996 * public/WebPluginContainer.h:
12997 (WebPluginContainer):
12998 * src/WebPluginContainerImpl.cpp:
12999 (WebKit::WebPluginContainerImpl::setOpaque):
13001 * src/WebPluginContainerImpl.h:
13002 (WebPluginContainerImpl):
13004 2012-03-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
13006 Make parser code not depend on NamedNodeMap
13007 https://bugs.webkit.org/show_bug.cgi?id=79963
13009 Reviewed by Adam Barth.
13011 * src/WebNamedNodeMap.cpp:
13012 (WebKit::WebNamedNodeMap::attributeItem):
13014 2012-03-01 Dana Jansens <danakj@chromium.org>
13016 [chromium] Make opaque paint tracker aware of SkCanvas layers
13017 https://bugs.webkit.org/show_bug.cgi?id=79145
13019 Reviewed by Stephen White.
13021 * tests/PlatformContextSkiaTest.cpp:
13025 2012-03-01 Hironori Bono <hbono@chromium.org>
13027 Render overflow controls of an RTL element to its left-side.
13028 https://bugs.webkit.org/show_bug.cgi?id=54623
13030 This change adds a new flag WTF_USE_RTL_SCROLLBAR and render the
13031 vertical scrollbars and resizers of RTL elements to their left side if
13032 this new flag is enabled.
13034 Reviewed by Ryosuke Niwa.
13036 * features.gypi: Set WTF_USE_RTL_SCROLLBAR to 1 on Chromium.
13038 2012-03-01 James Robinson <jamesr@chromium.org>
13040 [chromium] Rename LayerChromium::name to debugName to be more consistent with other debug properties, make threadsafe
13041 https://bugs.webkit.org/show_bug.cgi?id=79723
13043 Reviewed by Adrienne Walker.
13045 * tests/LayerChromiumTest.cpp:
13047 2012-03-01 Dale Curtis <dalecurtis@chromium.org>
13049 Remove deprecated FFmpeg build directories.
13050 https://bugs.webkit.org/show_bug.cgi?id=79282
13052 We've switched the layout of the FFmpeg repo in Chrome and these paths
13053 are no longer needed or valid.
13055 Reviewed by Dirk Pranke.
13059 2012-03-01 Dirk Pranke <dpranke@chromium.org>
13061 Roll chromium DEPS to 124511
13063 Unreviewed, DEPS change.
13067 2012-02-29 Nat Duca <nduca@chromium.org>
13069 [chromium] Move context lost control code from CCSingleThreadProxy to CCLayerTreeHost
13070 https://bugs.webkit.org/show_bug.cgi?id=79964
13072 Reviewed by James Robinson.
13074 * src/WebLayerTreeView.cpp:
13075 (WebKit::WebLayerTreeView::loseCompositorContext):
13076 * src/WebLayerTreeViewImpl.cpp:
13077 (WebKit::WebLayerTreeViewImpl::createContext):
13078 (WebKit::WebLayerTreeViewImpl::didRecreateContext):
13079 * src/WebLayerTreeViewImpl.h:
13080 (WebLayerTreeViewImpl):
13081 * tests/CCLayerTreeHostTest.cpp:
13082 (WTF::MockLayerTreeHostClient::createContext):
13083 (WTF::MockLayerTreeHostClient::didRecreateContext):
13084 * tests/FakeCCLayerTreeHostClient.h:
13085 (WebCore::FakeCCLayerTreeHostClient::createContext):
13086 (WebCore::FakeCCLayerTreeHostClient::didRecreateContext):
13088 2012-03-01 Kentaro Hara <haraken@chromium.org>
13090 REGRESSION(r109288): WebViewImpl::enableAutoResizeMode loops infinitely
13091 https://bugs.webkit.org/show_bug.cgi?id=77452
13093 Reviewed by Hajime Morita.
13095 WebViewImpl::enableAutoResizeMode loops infinitely.
13096 This patch fixes the following line:
13098 enableAutoResizeMode(enable, minSize, maxSize);
13101 enableAutoResizeMode(minSize, maxSize);
13103 to avoid the infinite loop. I guess this is the change originally intended.
13105 Test: webkit_unit_tests.WebViewTest.AutoResizeMinimumSize
13107 * src/WebViewImpl.cpp:
13108 (WebKit::WebViewImpl::enableAutoResizeMode):
13110 2012-02-29 Kinuko Yasuda <kinuko@chromium.org>
13112 Use the new createSnapshotFileAndReadMetadata API for FileEntry.file()
13113 https://bugs.webkit.org/show_bug.cgi?id=79928
13115 Reviewed by David Levin.
13117 In the new flow we first create an internal Blob URL for the
13118 snapshot file and call the new createSnapshotFileAndReadMetadata()
13119 WebKit API with the Blob URL.
13121 The implementor of createSnapshotFileAndReadMetadata() (i.e. chromium)
13122 registers the created snapshot file with the given internal Blob URL.
13124 In the callback chain we call File::createWithName() to create a
13125 new File using the returned platform path, and then call
13126 unregisterBlobURL() to clean up the internal Blob URL.
13128 * src/AsyncFileSystemChromium.cpp:
13129 (WebCore::AsyncFileSystemChromium::createSnapshotFileAndReadMetadata): Added.
13130 (WebCore::AsyncFileSystemChromium::createSnapshotFileCallback): Added.
13131 * src/AsyncFileSystemChromium.h:
13132 * src/WorkerAsyncFileSystemChromium.cpp:
13133 (WebCore::WorkerAsyncFileSystemChromium::createSnapshotFileAndReadMetadata): Added.
13134 * src/WorkerAsyncFileSystemChromium.h:
13135 * src/WorkerFileSystemCallbacksBridge.cpp:
13136 (WebKit::WorkerFileSystemCallbacksBridge::postCreateSnapshotFileToMainThread): Added.
13137 (WebKit::WorkerFileSystemCallbacksBridge::createSnapshotFileOnMainThread): Added.
13138 * src/WorkerFileSystemCallbacksBridge.h:
13139 (WorkerFileSystemCallbacksBridge):
13141 2012-02-29 Kinuko Yasuda <kinuko@chromium.org>
13143 Unreviewed. Rolled DEPS.
13147 2012-02-29 W. James MacLean <wjmaclean@chromium.org>
13149 [chromium] Estimate pixel count for frame rate control
13150 https://bugs.webkit.org/show_bug.cgi?id=74982
13152 Reviewed by James Robinson.
13154 Adds mechanism to compute and collect statistics on pixel overdraw for selected frames.
13156 * tests/CCQuadCullerTest.cpp:
13160 2012-02-29 James Simonsen <simonjam@chromium.org>
13162 [chromium] Fix navigation start time on cross-renderer navigation
13163 https://bugs.webkit.org/show_bug.cgi?id=75922
13165 Reviewed by Darin Fisher.
13167 * public/WebDataSource.h:
13168 * src/WebDataSource.cpp:
13169 (WebKit::WebDataSource::setNavigationStartTime): Added.
13170 * src/WebDataSource.h:
13172 2012-02-29 Ian Vollick <vollick@chromium.org>
13174 [chromium] Add impl-thread support for animation-timing-function
13175 https://bugs.webkit.org/show_bug.cgi?id=79819
13177 Reviewed by James Robinson.
13179 * tests/CCKeyframedAnimationCurveTest.cpp:
13183 2012-02-29 David Levin <levin@chromium.org>
13185 [chromium] Add the ability to turn off autoresize.
13186 https://bugs.webkit.org/show_bug.cgi?id=77452
13188 Reviewed by Darin Fisher.
13190 * public/WebView.h:
13191 (WebKit::WebViewImpl::enableAutoResizeMode): Cleaned up the api.
13192 (WebKit::WebViewImpl::disableAutoResizeMode): Added the ability to disable auto-resize.
13193 (WebKit::WebViewImpl::enableAutoResizeMode): Deprecated it.
13194 * src/WebViewImpl.cpp:
13195 (WebKit::WebViewImpl::enableAutoResizeMode): Adjust for new api.
13196 (WebKit::WebViewImpl::disableAutoResizeMode): Allow turning off autoresize.
13197 (WebKit::WebViewImpl::enableAutoResizeMode): Call the other two apis, but
13198 this api will be deleted shortly.
13199 (WebKit::WebViewImpl::configureAutoResizeMode): Common code.
13200 * src/WebViewImpl.h:
13201 (WebViewImpl): Adjust to new public api.
13203 2012-02-29 Sheriff Bot <webkit.review.bot@gmail.com>
13205 Unreviewed. Rolled DEPS.
13209 2012-02-29 Dana Jansens <danakj@chromium.org>
13211 [chromium] Don't let invalidation for next frame prevent tile upload
13212 https://bugs.webkit.org/show_bug.cgi?id=79841
13214 Reviewed by James Robinson.
13216 * tests/TiledLayerChromiumTest.cpp:
13219 2012-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
13221 Unreviewed, rolling out r107917 and r109188.
13222 http://trac.webkit.org/changeset/107917
13223 http://trac.webkit.org/changeset/109188
13224 https://bugs.webkit.org/show_bug.cgi?id=79865
13226 Fix the chromium build. (Requested by dcheng on #webkit).
13228 * src/WebDragData.cpp:
13229 (WebKit::WebDragData::items):
13231 2012-02-28 Ryosuke Niwa <rniwa@webkit.org>
13233 Chromium build fix attempt.
13235 * src/WebDragData.cpp:
13237 2012-02-28 Jonathan Backer <backer@chromium.org>
13239 [chromium] Reset damage tracker on visibility change.
13240 https://bugs.webkit.org/show_bug.cgi?id=79267
13242 Reviewed by James Robinson.
13244 * tests/CCLayerTreeHostImplTest.cpp:
13245 (WebKit::PartialSwapTrackerContext::getString):
13249 2012-02-28 Tim Dresser <tdresser@chromium.org>
13251 Provide DefaultDeviceScaleFactor though WebSettings
13252 https://bugs.webkit.org/show_bug.cgi?id=79534
13254 Reviewed by Darin Fisher.
13256 * public/WebSettings.h:
13257 * src/WebSettingsImpl.cpp:
13258 (WebKit::WebSettingsImpl::setDefaultDeviceScaleFactor):
13260 * src/WebSettingsImpl.h:
13263 2012-02-28 Gary Kacmarcik <garykac@chromium.org>
13265 [chromium] Set nativeKeyCode to include Windows scan code
13266 https://bugs.webkit.org/show_bug.cgi?id=79289
13268 Reviewed by Ryosuke Niwa.
13270 Set the key event's nativeKeyCode on Windows Chromium so that it
13271 actually includes the native scancode and other context bits.
13272 Currently on Windows, the nativeKeyCode is set to be the same value as
13273 the windowsKeyCode, which is redundant.
13275 The actual native key information is required so that components (like
13276 plugins) can reconstruct the original key event. The value stored in
13277 the windowsKeyCode is a Windows virtual key code which does not provide
13278 sufficient info to disambiguate the actual key being pressed (for
13279 example, it cannot distinguish between the left and right shift keys).
13281 All platforms except Windows currently send native key event info, so
13282 this change will bring Windows in line with other platforms.
13284 This change is part of our effort to send enhanced keycode information
13285 to Pepper plugins in Chromium.
13287 * src/win/WebInputEventFactory.cpp:
13288 (WebKit::WebInputEventFactory::keyboardEvent):
13290 2012-02-28 Adam Klein <adamk@chromium.org>
13292 Unreviewed, speculative test fix after r109016.
13294 * tests/TransparencyWinTest.cpp:
13295 (WebCore::TEST): Update all ImageBuffer::create calls to include a scale of 1.
13297 2012-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
13299 Unreviewed. Rolled DEPS.
13303 2012-02-27 James Kozianski <koz@chromium.org>
13305 Add missing parameter to didCreateScriptContext() so it overrides base class again.
13306 https://bugs.webkit.org/show_bug.cgi?id=79742
13308 Reviewed by Kent Tamura.
13310 * tests/WebFrameTest.cpp:
13312 2012-02-27 Kenichi Ishibashi <bashi@chromium.org>
13314 [Chromium] Unreviewed gardening, Disable TransparencyWin.OpaqueCompositeLayerPixel
13316 * tests/TransparencyWinTest.cpp:
13319 2012-02-27 Kinuko Yasuda <kinuko@chromium.org>
13321 [chromium] Add createSnapshotFile API to WebFileSystem to create File snapshots for filesystem files
13322 https://bugs.webkit.org/show_bug.cgi?id=79394
13324 Reviewed by Darin Fisher.
13326 * public/platform/WebFileSystem.h:
13327 (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata): Added.
13329 2012-02-27 James Kozianski <koz@chromium.org>
13331 [chromium] Plumb extensionGroup into didCreateScriptContext().
13332 https://bugs.webkit.org/show_bug.cgi?id=79072
13334 Reviewed by Darin Fisher.
13336 * public/WebFrameClient.h:
13337 (WebKit::WebFrameClient::didCreateScriptContext):
13338 * src/FrameLoaderClientImpl.cpp:
13339 (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
13340 * src/FrameLoaderClientImpl.h:
13341 (FrameLoaderClientImpl):
13343 2012-02-27 Adrienne Walker <enne@google.com>
13345 [chromium] Unreviewed gardening, disable TransparencyWinTest unit tests
13346 https://bugs.webkit.org/show_bug.cgi?id=79718
13348 * tests/TransparencyWinTest.cpp:
13350 2012-02-26 Hajime Morrita <morrita@chromium.org>
13352 Move ChromeClient::showContextMenu() to ContextMenuClient
13353 https://bugs.webkit.org/show_bug.cgi?id=79427
13355 Reviewed by Adam Barth.
13357 * src/ChromeClientImpl.h:
13358 (ChromeClientImpl):
13360 2012-02-26 James Robinson <jamesr@chromium.org>
13364 * tests/CCLayerTreeHostImplTest.cpp:
13367 2012-02-26 James Robinson <jamesr@chromium.org>
13369 Compile fix for CCLayerTreeHostImpl test.
13371 * tests/CCLayerTreeHostImplTest.cpp:
13374 2012-02-26 James Robinson <jamesr@chromium.org>
13376 [chromium] Wire up shouldUpdateScrollPositionOnMainThread and nonFastScrollableRegion to compositor
13377 https://bugs.webkit.org/show_bug.cgi?id=79155
13379 Reviewed by Adam Barth.
13381 Add new tests for shouldScrollOnMainThread and nonFastScrollableRegion properties.
13383 * tests/CCLayerTreeHostImplTest.cpp:
13386 * tests/LayerChromiumTest.cpp:
13388 2012-02-25 Adrienne Walker <enne@google.com>
13390 [chromium] Unreviewed gardening, fix Linux Clang OwnPtr breakage
13391 https://bugs.webkit.org/show_bug.cgi?id=78404
13393 r108886 doesn't compile on Linux Clang due to OwnPtr's public copy
13394 constructor (i.e. "has internal linkage but is not defined"). Fixed
13395 locally by changing copy initialization to direct initialization.
13397 * tests/TiledLayerChromiumTest.cpp:
13400 2012-02-24 Tien-Ren Chen <trchen@chromium.org>
13402 [chromium] Replace RefPtr with OwnPtr for CCLayerImpl tree structure
13403 https://bugs.webkit.org/show_bug.cgi?id=78404
13405 Reviewed by James Robinson.
13407 * tests/CCDamageTrackerTest.cpp:
13408 (WebKitTests::executeCalculateDrawTransformsAndVisibility):
13409 (WebKitTests::emulateDrawingOneFrame):
13410 (WebKitTests::createTestTreeWithOneSurface):
13411 (WebKitTests::createTestTreeWithTwoSurfaces):
13412 (WebKitTests::createAndSetUpTestTreeWithOneSurface):
13413 (WebKitTests::createAndSetUpTestTreeWithTwoSurfaces):
13414 (WebKitTests::TEST_F):
13415 * tests/CCLayerImplTest.cpp:
13417 * tests/CCLayerIteratorTest.cpp:
13418 * tests/CCLayerSorterTest.cpp:
13420 * tests/CCLayerTreeHostCommonTest.cpp:
13422 * tests/CCLayerTreeHostImplTest.cpp:
13423 (WebKit::CCLayerTreeHostImplTest::setupScrollAndContentsLayers):
13425 (WebKit::DidDrawCheckLayer::create):
13426 (WebKit::BlendStateCheckLayer::create):
13427 * tests/CCRenderSurfaceTest.cpp:
13429 * tests/CCSolidColorLayerImplTest.cpp:
13430 (CCLayerTestCommon::TEST):
13431 * tests/CCTiledLayerImplTest.cpp:
13432 (CCLayerTestCommon::createLayer):
13433 (CCLayerTestCommon::TEST):
13434 (CCLayerTestCommon::getQuads):
13435 * tests/Canvas2DLayerChromiumTest.cpp:
13436 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
13437 * tests/TiledLayerChromiumTest.cpp:
13439 * tests/TreeSynchronizerTest.cpp:
13440 (WebKitTests::MockCCLayerImpl::create):
13441 (WebKitTests::MockLayerChromium::createCCLayerImpl):
13442 (WebKitTests::expectTreesAreIdentical):
13443 (WebKitTests::TEST):
13445 2012-02-08 James Robinson <jamesr@chromium.org>
13447 [chromium] Make WebViewImpl depend on WebLayerTreeView instead of CCLayerTreeHost
13448 https://bugs.webkit.org/show_bug.cgi?id=75591
13450 Reviewed by Kenneth Russell.
13452 This converts WebViewImpl from depending on CCLayerTreeHost to WebLayerTreeView in order to provide better
13453 isolation and allow for future refactorings. The changes to WebViewImpl are mostly mechanical. The
13454 WebLayerTreeView and WebLayerTreeViewClient interfaces have both grown and changed slightly:
13456 - Setup path for WebLayerTreeView changed to expose an initialize() function instead of a create() factory
13457 function. The new model is that a WebLayerTreeView when constructed is in a null state. Calling initialize()
13458 attempts to re-initialize the WLTV, which can either fail or succeed. All other functions must be called on a
13459 successfully initialized view.
13461 - WebLayerTreeView expanded to include functionality that CCLayerTreeHost exposes but WebLayerTreeView did not.
13462 Some of this is only valid for the single thread case and will be removed when we invert the scheduling control
13463 logic, these bits are commented.
13465 - WebLayerTreeViewClient expanded with some flow-control related APIs.
13467 Refactor only, no change in behavior.
13469 * public/platform/WebLayerTreeView.h:
13470 (WebKit::WebLayerTreeView::Settings::Settings):
13471 (WebKit::WebLayerTreeView::isNull):
13472 * public/platform/WebLayerTreeViewClient.h:
13473 * src/ChromeClientImpl.cpp:
13474 (WebKit::ChromeClientImpl::scheduleCompositingLayerSync):
13475 * src/WebLayerTreeView.cpp:
13476 (WebKit::WebLayerTreeView::initialize):
13477 (WebKit::WebLayerTreeView::compositorIdentifier):
13478 (WebKit::WebLayerTreeView::setVisible):
13479 (WebKit::WebLayerTreeView::setNeedsAnimate):
13480 (WebKit::WebLayerTreeView::updateAnimations):
13481 (WebKit::WebLayerTreeView::setNeedsRedraw):
13482 (WebKit::WebLayerTreeView::setPageScaleFactorAndLimits):
13483 (WebKit::WebLayerTreeView::startPageScaleAnimation):
13484 (WebKit::WebLayerTreeView::finishAllRendering):
13485 (WebKit::WebLayerTreeView::context):
13486 (WebKit::WebLayerTreeView::loseCompositorContext):
13487 * src/WebLayerTreeViewImpl.cpp:
13488 (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
13489 (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
13490 (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
13491 * src/WebViewImpl.cpp:
13492 (WebKit::WebViewImpl::animate):
13493 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
13494 (WebKit::WebViewImpl::paint):
13495 (WebKit::WebViewImpl::composite):
13496 (WebKit::WebViewImpl::loseCompositorContext):
13497 (WebKit::WebViewImpl::computePageScaleFactorLimits):
13498 (WebKit::WebViewImpl::addPageOverlay):
13499 (WebKit::WebViewImpl::removePageOverlay):
13500 (WebKit::WebViewImpl::setRootGraphicsLayer):
13501 (WebKit::WebViewImpl::scheduleCompositingLayerSync):
13502 (WebKit::WebViewImpl::scrollRootLayerRect):
13503 (WebKit::WebViewImpl::invalidateRootLayerRect):
13504 (WebKit::WebViewImpl::scheduleAnimation):
13505 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
13506 (WebKit::WebViewImpl::createContext3D):
13507 (WebKit::WebViewImpl::applyScrollAndScale):
13508 (WebKit::WebViewImpl::didRebindGraphicsContext):
13509 (WebKit::WebViewImpl::updateLayerTreeViewport):
13510 (WebKit::WebViewImpl::graphicsContext3D):
13511 (WebKit::WebViewImpl::setVisibilityState):
13512 * src/WebViewImpl.h:
13513 * tests/WebLayerTest.cpp:
13515 2012-02-24 Ian Vollick <vollick@chromium.org>
13517 [chromium] Plumb animation started notifications from CCLayerTreeHost to GraphicsLayerChromium
13518 https://bugs.webkit.org/show_bug.cgi?id=77646
13520 Reviewed by James Robinson.
13522 * tests/CCLayerTreeHostTest.cpp:
13524 (WTF::TestHooks::notifyAnimationStarted):
13525 (WTF::TestHooks::notifyAnimationFinished):
13526 (WTF::MockLayerTreeHost::create):
13527 (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
13528 (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
13529 (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted):
13530 (CCLayerTreeHostTestAddAnimation):
13531 (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationFinished):
13533 2012-02-24 James Robinson <jamesr@chromium.org>
13535 [chromium] WebKit::setColorNames is a client API
13536 https://bugs.webkit.org/show_bug.cgi?id=79539
13538 Reviewed by Darin Fisher.
13541 * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
13543 * public/platform/WebColorName.h:
13544 * src/WebColor.cpp:
13546 2012-02-24 Sheriff Bot <webkit.review.bot@gmail.com>
13548 Unreviewed, rolling out r108860.
13549 http://trac.webkit.org/changeset/108860
13550 https://bugs.webkit.org/show_bug.cgi?id=79544
13552 "Breaks Linux compile" (Requested by enne on #webkit).
13555 * public/platform/WebColorName.h:
13556 * src/WebColor.cpp: Renamed from Source/WebKit/chromium/src/WebColorName.cpp.
13558 (WebKit::toCSSValueKeyword):
13559 (WebKit::setNamedColors):
13561 2012-02-24 James Robinson <jamesr@chromium.org>
13563 [chromium] WebKit::setColorNames is a client API
13564 https://bugs.webkit.org/show_bug.cgi?id=79539
13566 Reviewed by Darin Fisher.
13569 * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
13571 * public/platform/WebColorName.h:
13572 * src/WebColor.cpp:
13574 2012-02-22 James Robinson <jamesr@chromium.org>
13576 [chromium] Move WebGraphicsContext3D header into the Platform directory
13577 https://bugs.webkit.org/show_bug.cgi?id=79301
13579 Reviewed by Adam Barth.
13581 Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
13583 * public/platform/WebGraphicsContext3D.h:
13584 * public/platform/WebNonCopyable.h:
13586 2012-02-24 Michal Mocny <mmocny@google.com>
13588 [chromium] Purge Skia's GPU texture cache using GL_CHROMIUM_gpu_memory_manager
13589 https://bugs.webkit.org/show_bug.cgi?id=78265
13591 Reviewed by Stephen White.
13593 * src/GraphicsContext3DChromium.cpp:
13594 (GrMemoryAllocationChangedCallback):
13595 (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
13596 (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
13598 (WebCore::GraphicsContext3DPrivate::grContext):
13600 2012-02-24 James Robinson <jamesr@chromium.org>
13602 [chromium] Remove deprecated and unused WebGraphicsContext3D::initialize call
13603 https://bugs.webkit.org/show_bug.cgi?id=79296
13605 Reviewed by Kenneth Russell.
13607 The old way to initialize a WebGraphicsContext3D from inside WebKit was to call initialize() on it with a
13608 WebView*. The new way to do this is via the WebViewClient interface. This deletes the old, unused path.
13610 * public/platform/WebGraphicsContext3D.h:
13612 * tests/CCLayerTreeHostImplTest.cpp:
13613 * tests/FakeWebGraphicsContext3D.h:
13615 2012-02-23 James Robinson <jamesr@chromium.org>
13617 [chromium] Move Web*Layer* headers into Platform
13618 https://bugs.webkit.org/show_bug.cgi?id=79425
13620 Reviewed by Adam Barth.
13622 Adds forwarding headers for Web*Layer* APIs and their dependencies. The forwarding headers for the Web*Layer*
13623 APIs are temporary since Web*Layer* is not exposed in the client interface. The other headers (such as
13624 WebColor) are exposed in both the client and platform APIs, so the forwarding headers are permanent, although we
13625 might move them back down to public/ at some point.
13627 * public/platform/WebCanvas.h:
13628 * public/platform/WebColor.h:
13629 * public/platform/WebColorName.h:
13630 * public/platform/WebContentLayer.h:
13631 * public/platform/WebContentLayerClient.h:
13632 * public/platform/WebExternalTextureLayer.h:
13633 * public/platform/WebLayer.h:
13634 * public/platform/WebLayerTreeView.h:
13635 * public/platform/WebLayerTreeViewClient.h:
13636 * public/platform/WebPrivatePtr.h:
13637 * public/platform/WebSolidColorLayer.h:
13639 2012-02-24 Peter Collingbourne <peter@pcc.me.uk>
13641 [chromium] Have WebFrameImpl::selectionAsMarkup create interchange markup.
13642 https://bugs.webkit.org/show_bug.cgi?id=77307
13644 Reviewed by Tony Chang.
13646 This function is currently used to build markup in order to
13647 print the selection, and will also be used to build markup for
13648 the clipboard. Without this change, the markup will refer to
13649 (for example) nonexistent CSS classes and invalid relative
13650 paths and therefore will not be interpreted correctly.
13652 Chromium bug: http://crbug.com/23329
13654 * src/WebFrameImpl.cpp:
13655 (WebKit::WebFrameImpl::selectionAsMarkup):
13657 2012-02-24 Pavel Feldman <pfeldman@chromium.org>
13659 Not reviewed: chromium image for inspector status bar button updated.
13661 * src/js/Images/segmentSelectedEndChromium.png:
13663 2012-02-24 Shinya Kawanaka <shinyak@chromium.org>
13665 SpellCheckRequest needs to know the context where the spellcheck happened.
13666 https://bugs.webkit.org/show_bug.cgi?id=79320
13668 Reviewed by Hajime Morita.
13670 * src/EditorClientImpl.cpp:
13671 (WebKit::EditorClientImpl::requestCheckingOfString):
13672 * src/EditorClientImpl.h:
13673 (EditorClientImpl):
13674 * src/WebFrameImpl.cpp:
13675 (WebKit::WebFrameImpl::requestTextChecking):
13677 2012-02-23 Sheriff Bot <webkit.review.bot@gmail.com>
13679 Unreviewed. Rolled DEPS.
13683 2012-02-23 Ian Vollick <vollick@chromium.org>
13685 [chromium] Implement keyframed animations for the cc thread.
13686 https://bugs.webkit.org/show_bug.cgi?id=77229
13688 Reviewed by James Robinson.
13691 * tests/CCAnimationTestCommon.cpp:
13693 (WebCore::addOpacityTransition):
13694 (WebKitTests::addOpacityTransitionToController):
13695 (WebKitTests::addOpacityTransitionToLayer):
13696 * tests/CCAnimationTestCommon.h:
13699 * tests/CCKeyframedAnimationCurveTest.cpp: Added.
13701 (WebCore::expectTranslateX):
13703 * tests/CCLayerAnimationControllerTest.cpp:
13704 (WebKitTests::expectTranslateX):
13706 (WebKitTests::TEST):
13707 * tests/CCLayerTreeHostTest.cpp:
13708 (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
13709 (WTF::CCLayerTreeHostTest::doBeginTest):
13711 2012-02-23 James Robinson <jamesr@chromium.org>
13713 [chromium] Clean up GraphicsContext3D initialization paths
13714 https://bugs.webkit.org/show_bug.cgi?id=79321
13716 Reviewed by Kenneth Russell.
13718 This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
13719 contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
13720 WebLayerTreeViewImpl.
13722 Offscreen initialization path:
13723 1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
13724 2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
13725 3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
13726 GraphicsContext3D's m_private pointer.
13728 Onscreen initialization path:
13729 1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
13730 or WebLayerTreeViewClient, respectively
13731 2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
13732 GraphicsContext3D's m_private pointer.
13734 There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
13737 * src/GraphicsContext3DChromium.cpp:
13738 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
13739 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
13741 (WebCore::GraphicsContext3DPrivate::platformTexture):
13742 (WebCore::GraphicsContext3D::create):
13743 * src/GraphicsContext3DPrivate.h:
13744 (GraphicsContext3DPrivate):
13745 * src/WebLayerTreeViewImpl.cpp:
13746 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
13747 * src/WebViewImpl.cpp:
13748 (std::getCompositorContextAttributes):
13749 (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
13751 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
13752 (WebKit::WebViewImpl::graphicsContext3D):
13753 * src/WebViewImpl.h:
13755 * tests/CCLayerTreeHostImplTest.cpp:
13756 (WebKit::CCLayerTreeHostImplTest::createContext):
13757 (CCLayerTreeHostImplTest):
13759 * tests/CCLayerTreeHostTest.cpp:
13760 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
13761 * tests/Canvas2DLayerChromiumTest.cpp:
13762 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
13763 * tests/CompositorFakeGraphicsContext3D.h:
13764 (WebCore::createCompositorMockGraphicsContext3D):
13765 * tests/FakeGraphicsContext3DTest.cpp:
13768 2012-02-23 Jonathan Backer <backer@chromium.org>
13770 [chromium] Plumb video damage to the damage tracker.
13771 https://bugs.webkit.org/show_bug.cgi?id=79373
13773 Reviewed by James Robinson.
13775 * src/WebMediaPlayerClientImpl.cpp:
13776 (WebKit::WebMediaPlayerClientImpl::repaint):
13778 2012-02-21 James Robinson <jamesr@chromium.org>
13780 [chromium] Notify compositor of wheel event registration via ScrollingCoordinator
13781 https://bugs.webkit.org/show_bug.cgi?id=79133
13783 Reviewed by Dimitri Glazkov.
13785 Rips out old wheel event notification and adds unit tests for new LayerChromium property.
13787 * src/NonCompositedContentHost.cpp:
13788 (WebKit::NonCompositedContentHost::setViewport):
13789 * src/WebCompositorInputHandlerImpl.cpp:
13790 (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
13791 * src/WebViewImpl.cpp:
13792 (WebKit::WebViewImpl::numberOfWheelEventHandlersChanged):
13793 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
13794 * src/WebViewImpl.h:
13795 * tests/CCLayerTreeHostImplTest.cpp:
13798 * tests/LayerChromiumTest.cpp:
13799 * tests/WebCompositorInputHandlerImplTest.cpp:
13801 2012-02-23 Adrienne Walker <enne@google.com>
13803 Unreviewed, rolling out r108666.
13804 http://trac.webkit.org/changeset/108666
13805 https://bugs.webkit.org/show_bug.cgi?id=79321
13807 Breaks webplugin tests: http://goo.gl/CoHIi
13809 * src/GraphicsContext3DChromium.cpp:
13810 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
13812 (WebCore::GraphicsContext3DPrivate::create):
13813 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
13814 (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
13815 (WebCore::GraphicsContext3DPrivate::platformTexture):
13816 (WebCore::GraphicsContext3D::create):
13817 * src/GraphicsContext3DPrivate.h:
13819 (GraphicsContext3DPrivate):
13820 * src/WebLayerTreeViewImpl.cpp:
13821 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
13822 * src/WebViewImpl.cpp:
13823 (std::getCompositorContextAttributes):
13824 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
13825 (WebKit::WebViewImpl::graphicsContext3D):
13826 * tests/CCLayerTreeHostImplTest.cpp:
13827 (CCLayerTreeHostImplTest):
13829 * tests/CCLayerTreeHostTest.cpp:
13830 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
13831 * tests/Canvas2DLayerChromiumTest.cpp:
13832 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
13833 * tests/CompositorFakeGraphicsContext3D.h:
13834 (WebCore::createCompositorMockGraphicsContext3D):
13835 * tests/FakeGraphicsContext3DTest.cpp:
13838 2012-02-23 Daniel Sievers <sievers@chromium.org>
13840 [Chromium] Add video stream texture support
13841 https://bugs.webkit.org/show_bug.cgi?id=78398
13843 This upstreams the abstraction used on Android for
13844 hardware video decoding with the compositor.
13846 Most of the interfaces are kept generic and the core
13847 of this change is to allow texturing from an external
13848 texture while receiving notifications (on the compositor
13849 thread if we are running it) when there are new frames to
13852 Reviewed by James Robinson.
13855 * public/WebMediaPlayer.h:
13857 (WebKit::WebMediaPlayer::setStreamTextureClient):
13859 * public/WebStreamTextureClient.h: Copied from Source/WebKit/chromium/public/WebVideoFrame.h.
13861 (WebStreamTextureClient):
13862 (WebKit::WebStreamTextureClient::~WebStreamTextureClient):
13863 * public/WebVideoFrame.h:
13864 * src/WebMediaPlayerClientImpl.cpp:
13865 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
13866 (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
13867 (WebKit::WebMediaPlayerClientImpl::didReceiveFrame):
13869 (WebKit::WebMediaPlayerClientImpl::didUpdateMatrix):
13870 * src/WebMediaPlayerClientImpl.h:
13871 (WebMediaPlayerClientImpl):
13873 2012-02-22 James Robinson <jamesr@chromium.org>
13875 [chromium] Clean up GraphicsContext3D initialization paths
13876 https://bugs.webkit.org/show_bug.cgi?id=79321
13878 Reviewed by Kenneth Russell.
13880 This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
13881 contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
13882 WebLayerTreeViewImpl.
13884 Offscreen initialization path:
13885 1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
13886 2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
13887 3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
13888 GraphicsContext3D's m_private pointer.
13890 Onscreen initialization path:
13891 1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
13892 or WebLayerTreeViewClient, respectively
13893 2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
13894 GraphicsContext3D's m_private pointer.
13896 There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
13899 * src/GraphicsContext3DChromium.cpp:
13900 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
13901 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
13903 (WebCore::GraphicsContext3DPrivate::platformTexture):
13904 (WebCore::GraphicsContext3D::create):
13905 * src/GraphicsContext3DPrivate.h:
13906 (GraphicsContext3DPrivate):
13907 * src/WebLayerTreeViewImpl.cpp:
13908 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
13909 * src/WebViewImpl.cpp:
13910 (std::getCompositorContextAttributes):
13911 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
13912 (WebKit::WebViewImpl::graphicsContext3D):
13913 * tests/CCLayerTreeHostImplTest.cpp:
13914 (WebKit::CCLayerTreeHostImplTest::createContext):
13915 (CCLayerTreeHostImplTest):
13917 * tests/CCLayerTreeHostTest.cpp:
13918 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
13919 * tests/Canvas2DLayerChromiumTest.cpp:
13920 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
13921 * tests/CompositorFakeGraphicsContext3D.h:
13922 (WebCore::createCompositorMockGraphicsContext3D):
13923 * tests/FakeGraphicsContext3DTest.cpp:
13926 2012-02-23 Greg Billock <gbillock@google.com>
13928 Add UserGestureIndicator capability to Chromium API.
13929 https://bugs.webkit.org/show_bug.cgi?id=77690
13931 Reviewed by Darin Fisher.
13934 * public/WebScopedUserGesture.h: Added.
13935 * src/WebScopedUserGesture.cpp: Added.
13937 2012-02-23 Peter Beverloo <peter@chromium.org>
13939 Unreviewed, rolling out r108627 and r108630.
13940 https://bugs.webkit.org/show_bug.cgi?id=79367
13942 ffmpeg is creating issues and was just reverted upstream as well.
13946 2012-02-23 Peter Beverloo <peter@chromium.org>
13948 Unreviewed build fix. Remove the ffmpeg binary directory from the
13949 Chromium-Windows DEPS file, following the commit done in the
13950 Chromium repository:
13951 http://src.chromium.org/viewvc/chrome?view=rev&revision=123123
13955 2012-02-23 Peter Beverloo <peter@chromium.org>
13957 Unreviewed. Rolled DEPS.
13961 2012-02-22 Hajime Morrita <morrita@chromium.org>
13963 NOTIFICATIONS should be implemented as PageSupplement
13964 https://bugs.webkit.org/show_bug.cgi?id=79052
13966 Reviewed by Adam Barth.
13968 * src/WebViewImpl.cpp:
13969 (WebKit::WebViewImpl::WebViewImpl):
13971 2012-02-22 Dana Jansens <danakj@chromium.org>
13973 [chromium] Add unit test for surface occlusion
13974 https://bugs.webkit.org/show_bug.cgi?id=79302
13976 Reviewed by James Robinson.
13978 * tests/CCOcclusionTrackerTest.cpp:
13982 2012-02-22 James Robinson <jamesr@chromium.org>
13984 Remove GraphicsContext3D::paintsIntoCanvasBuffer and unify WebGL and canvas 2d logic
13985 https://bugs.webkit.org/show_bug.cgi?id=79317
13987 Reviewed by Kenneth Russell.
13989 Remove paintsIntoCanvasBuffer() implementations.
13991 * src/GraphicsContext3DChromium.cpp:
13993 * src/GraphicsContext3DPrivate.h:
13995 2012-02-22 Yuta Kitamura <yutak@chromium.org>
13997 Unreviewed, rolling out r108590.
13998 http://trac.webkit.org/changeset/108590
14000 I mistakenly disabled tests even though the fix was already
14003 * tests/CCOcclusionTrackerTest.cpp:
14006 2012-02-22 Yuta Kitamura <yutak@chromium.org>
14008 [Chromium] Unreviewed. Disable two tests from CCOcclusionTrackerTest
14009 which cause assertion failures.
14011 * tests/CCOcclusionTrackerTest.cpp:
14015 2012-02-22 Dana Jansens <danakj@chromium.org>
14017 [chromium] Fix CCOcclusionTracker unit test assertion
14018 https://bugs.webkit.org/show_bug.cgi?id=79275
14020 Reviewed by James Robinson.
14022 * tests/CCOcclusionTrackerTest.cpp:
14025 2012-02-22 Ian Vollick <vollick@chromium.org>
14027 [chromium] Plumb from GraphicsLayer to the cc thread animation code
14028 https://bugs.webkit.org/show_bug.cgi?id=75874
14030 Reviewed by James Robinson.
14033 * public/WebSettings.h:
14034 * public/platform/WebLayerTreeView.h:
14035 (WebKit::WebLayerTreeView::Settings::Settings):
14037 * src/WebLayerTreeView.cpp:
14038 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
14039 * src/WebSettingsImpl.cpp:
14040 (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
14042 * src/WebSettingsImpl.h:
14044 * src/WebViewImpl.cpp:
14045 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
14046 * tests/CCActiveAnimationTest.cpp:
14047 (WebCore::createActiveAnimation):
14048 * tests/CCAnimationTestCommon.cpp: Added.
14050 (WebKitTests::FakeFloatAnimationCurve::FakeFloatAnimationCurve):
14051 (WebKitTests::FakeFloatAnimationCurve::~FakeFloatAnimationCurve):
14052 (WebKitTests::FakeFloatAnimationCurve::clone):
14053 (WebKitTests::FakeTransformTransition::FakeTransformTransition):
14054 (WebKitTests::FakeTransformTransition::~FakeTransformTransition):
14055 (WebKitTests::FakeTransformTransition::getValue):
14056 (WebKitTests::FakeTransformTransition::clone):
14057 (WebKitTests::FakeFloatTransition::FakeFloatTransition):
14058 (WebKitTests::FakeFloatTransition::~FakeFloatTransition):
14059 (WebKitTests::FakeFloatTransition::getValue):
14060 (WebKitTests::FakeLayerAnimationControllerImplClient::FakeLayerAnimationControllerImplClient):
14061 (WebKitTests::FakeLayerAnimationControllerImplClient::~FakeLayerAnimationControllerImplClient):
14062 (WebKitTests::FakeFloatTransition::clone):
14063 (WebKitTests::addOpacityTransition):
14064 * tests/CCAnimationTestCommon.h: Added.
14067 (FakeFloatAnimationCurve):
14068 (WebKitTests::FakeFloatAnimationCurve::duration):
14069 (WebKitTests::FakeFloatAnimationCurve::getValue):
14070 (FakeTransformTransition):
14071 (WebKitTests::FakeTransformTransition::duration):
14072 (FakeFloatTransition):
14073 (WebKitTests::FakeFloatTransition::duration):
14074 (FakeLayerAnimationControllerImplClient):
14075 (WebKitTests::FakeLayerAnimationControllerImplClient::id):
14076 (WebKitTests::FakeLayerAnimationControllerImplClient::opacity):
14077 (WebKitTests::FakeLayerAnimationControllerImplClient::setOpacity):
14078 (WebKitTests::FakeLayerAnimationControllerImplClient::transform):
14079 (WebKitTests::FakeLayerAnimationControllerImplClient::setTransform):
14080 (WebKitTests::FakeLayerAnimationControllerImplClient::bounds):
14081 * tests/CCLayerAnimationControllerImplTest.cpp:
14082 (WebKitTests::createActiveAnimation):
14083 (WebKitTests::TEST):
14084 * tests/CCLayerAnimationControllerTest.cpp: Added.
14086 (WebKitTests::createActiveAnimation):
14087 (WebKitTests::TEST):
14088 * tests/CCLayerTreeHostImplTest.cpp:
14089 (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
14090 * tests/CCLayerTreeHostTest.cpp:
14091 (WTF::TestHooks::animateLayers):
14092 (MockLayerTreeHostImpl):
14093 (WTF::MockLayerTreeHostImpl::animateLayers):
14094 (WTF::MockLayerTreeHost::create):
14095 (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
14097 (MockLayerAnimationController):
14098 (WTF::MockLayerAnimationController::create):
14099 (WTF::MockLayerAnimationController::addAnimation):
14100 (WTF::MockLayerTreeHostClient::scheduleComposite):
14101 (WTF::CCLayerTreeHostTest::postAddAnimationToMainThread):
14102 (CCLayerTreeHostTest):
14103 (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
14104 (WTF::CCLayerTreeHostTest::doBeginTest):
14105 (CCLayerTreeHostTestAddAnimation):
14106 (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
14107 (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
14108 (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
14109 (WTF::CCLayerTreeHostTestAddAnimation::afterTest):
14111 * tests/TreeSynchronizerTest.cpp:
14112 (FakeLayerAnimationController):
14113 (WebKitTests::FakeLayerAnimationController::create):
14114 (WebKitTests::FakeLayerAnimationController::synchronizedAnimations):
14115 (WebKitTests::FakeLayerAnimationController::FakeLayerAnimationController):
14116 (WebKitTests::FakeLayerAnimationController::synchronizeAnimations):
14118 (WebKitTests::TEST):
14120 2012-02-21 Ryosuke Niwa <rniwa@webkit.org>
14122 Remove the remaining uses of CSSStyleDeclaration in Editor
14123 https://bugs.webkit.org/show_bug.cgi?id=78939
14125 Reviewed by Enrica Casucci.
14127 * src/EditorClientImpl.cpp:
14128 (WebKit::EditorClientImpl::shouldApplyStyle):
14129 * src/EditorClientImpl.h:
14130 (EditorClientImpl):
14132 2012-02-22 Daniel Cheng <dcheng@chromium.org>
14134 [chromium] Cleanup unused WebDragData methods after r107846
14135 https://bugs.webkit.org/show_bug.cgi?id=78837
14137 Reviewed by Tony Chang.
14139 The deleted methods have been replaced by items() and setItems().
14141 * public/platform/WebDragData.h:
14143 * src/WebDragData.cpp:
14144 (WebKit::WebDragData::addItem): Add ensureMutable() call to verify preconditions for
14145 mutating the item store.
14147 2012-02-22 Tim Dresser <tdresser@chromium.org>
14149 CCLayerTreeHostImpl calls didDraw more frequently than willDraw
14150 https://bugs.webkit.org/show_bug.cgi?id=79139
14152 Reviewed by James Robinson.
14154 * tests/CCLayerTreeHostImplTest.cpp:
14155 (WebKit::DidDrawCheckLayer::willDraw):
14156 (DidDrawCheckLayer):
14157 (WebKit::DidDrawCheckLayer::willDrawCalled):
14158 (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
14162 2012-02-22 Dana Jansens <danakj@chromium.org>
14164 [Chromium] New CCOcclusionTracker class with tests
14165 https://bugs.webkit.org/show_bug.cgi?id=78549
14167 Reviewed by James Robinson.
14170 * tests/CCLayerTreeHostCommonTest.cpp:
14172 * tests/CCOcclusionTrackerTest.cpp: Added.
14174 (WebCore::setLayerPropertiesForTesting):
14175 (LayerChromiumWithForcedDrawsContent):
14176 (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
14177 (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
14178 (TestCCOcclusionTracker):
14179 (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
14180 (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
14181 (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
14182 (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
14185 2012-02-22 Hao Zheng <zhenghao@chromium.org>
14187 [chromium] Build WebKit with MEDIA_STREAM disabled.
14188 https://bugs.webkit.org/show_bug.cgi?id=79214
14190 Reviewed by Kent Tamura.
14192 * src/UserMediaClientImpl.h:
14194 2012-02-20 Roland Steiner <rolandsteiner@chromium.org>
14196 <style scoped>: Add runtime-flag
14197 https://bugs.webkit.org/show_bug.cgi?id=79074
14199 Added a runtime-flag.
14200 Enable default STYLE_SCOPED compile-time flag for Chromium.
14202 Reviewed by Dimitri Glazkov.
14204 * features.gypi: enable STYLE_SCOPED
14205 * public/WebRuntimeFeatures.h:
14206 (WebRuntimeFeatures):
14207 * src/WebRuntimeFeatures.cpp:
14208 (WebKit::WebRuntimeFeatures::enableStyleScoped):
14210 (WebKit::WebRuntimeFeatures::isStyleScopedEnabled):
14212 2012-02-22 Yuta Kitamura <yutak@chromium.org>
14214 Unreviewed, rolling out r108453.
14215 http://trac.webkit.org/changeset/108453
14216 https://bugs.webkit.org/show_bug.cgi?id=78549
14218 Broke Chromium's webkit_unit_tests.
14221 * tests/CCLayerTreeHostCommonTest.cpp:
14224 * tests/CCOcclusionTrackerTest.cpp: Removed.
14226 2012-02-22 Ryosuke Niwa <rniwa@webkit.org>
14228 Remove the remaining uses of CSSStyleDeclaration in Editor
14229 https://bugs.webkit.org/show_bug.cgi?id=78939
14231 Reviewed by Enrica Casucci.
14233 * src/EditorClientImpl.cpp:
14234 (WebKit::EditorClientImpl::shouldApplyStyle):
14235 * src/EditorClientImpl.h:
14236 (EditorClientImpl):
14238 2012-02-22 Dana Jansens <danakj@chromium.org>
14240 [chromium] Cull quads outside of the scissoring damage rect
14241 https://bugs.webkit.org/show_bug.cgi?id=79181
14243 Reviewed by James Robinson.
14245 * tests/CCQuadCullerTest.cpp:
14249 2012-02-21 Dana Jansens <danakj@chromium.org>
14251 [Chromium] New CCOcclusionTracker class with tests
14252 https://bugs.webkit.org/show_bug.cgi?id=78549
14254 Reviewed by James Robinson.
14257 * tests/CCLayerTreeHostCommonTest.cpp:
14259 * tests/CCOcclusionTrackerTest.cpp: Added.
14261 (WebCore::setLayerPropertiesForTesting):
14262 (LayerChromiumWithForcedDrawsContent):
14263 (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
14264 (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
14265 (TestCCOcclusionTracker):
14266 (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
14267 (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
14268 (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
14269 (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
14272 2012-02-21 MORITA Hajime <morrita@google.com>
14274 INPUT_SPEECH should be implemented as a PageSupplement.
14275 https://bugs.webkit.org/show_bug.cgi?id=79051
14277 Reviewed by Adam Barth.
14279 * src/WebViewImpl.cpp:
14280 (WebKit::WebViewImpl::WebViewImpl):
14282 2012-02-20 MORITA Hajime <morrita@google.com>
14284 MEDIA_STREAM should be implemented as a PageSupplement.
14285 https://bugs.webkit.org/show_bug.cgi?id=79050
14287 Reviewed by Adam Barth.
14289 * src/WebViewImpl.cpp:
14290 (WebKit::WebViewImpl::WebViewImpl):
14292 2012-02-21 Dana Jansens <danakj@chromium.org>
14294 [chromium] Painting a layer clears opaque rect in untouched tiles
14295 https://bugs.webkit.org/show_bug.cgi?id=79157
14297 Reviewed by James Robinson.
14299 * tests/TiledLayerChromiumTest.cpp:
14302 2012-02-21 James Robinson <jamesr@chromium.org>
14304 Enable ScrollingCoordinator in chromium whenever compositing is enabled
14305 https://bugs.webkit.org/show_bug.cgi?id=79165
14307 Reviewed by Adam Barth.
14309 * src/NonCompositedContentHost.cpp:
14310 (WebKit::NonCompositedContentHost::setViewport):
14311 Whenever the ScrollingCoordinator is enabled the scroll layer's position is expected to be updated
14312 externally to RenderLayerCompositor, so set it here.
14313 * src/WebSettingsImpl.cpp:
14314 (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
14316 2012-02-21 Daniel Cheng <dcheng@chromium.org>
14318 [chromium] Fix image drag out on Chromium
14319 https://bugs.webkit.org/show_bug.cgi?id=79158
14321 Reviewed by Tony Chang.
14323 We constructed the WebDragData::Item for dragging out an image but never added it to the
14324 item list. This is normally covered by the fast/events/drag-image-filename.html layout test,
14325 but the bug wasn't caught in the original patch since the implementations in Chrome and DRT
14328 * src/WebDragData.cpp:
14329 (WebKit::WebDragData::items):
14331 2012-02-21 David Grogan <dgrogan@chromium.org>
14333 IndexedDB: webFrame isn't threadsafe, don't use it from a worker thread
14334 https://bugs.webkit.org/show_bug.cgi?id=78659
14336 After crrev.com/121669, indexed db doesn't use the web frame for
14337 anything if called from a web worker.
14339 No new tests - this check was defensive and possibly not ever
14342 Reviewed by Tony Chang.
14344 * src/IDBFactoryBackendProxy.cpp:
14345 (WebKit::IDBFactoryBackendProxy::openFromWorker):
14347 2012-02-21 Yury Semikhatsky <yurys@chromium.org>
14349 [V8] Web Inspector: set breakpoint/pause doesn't work when worker is in a tight loop
14350 https://bugs.webkit.org/show_bug.cgi?id=79097
14352 Worker script execution will be interrupted for dispatching inspector commands.
14354 Reviewed by Pavel Feldman.
14356 * src/WebSharedWorkerImpl.cpp:
14357 (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
14359 2012-02-20 Peter Beverloo <peter@chromium.org>
14361 Unreviewed. Rolled DEPS.
14365 2012-02-20 Kenichi Ishibashi <bashi@chromium.org>
14367 [WebSocket] Add deflater/inflater classes
14368 https://bugs.webkit.org/show_bug.cgi?id=78449
14370 Add tests which ensure WebSocketDeflater/WebSocketInflater can
14371 compress/decompress data correctly.
14373 Reviewed by Kent Tamura.
14375 * WebKit.gypi: Added zlib dependency.
14376 * WebKitUnitTests.gyp: Ditto.
14377 * tests/WebSocketDeflaterTest.cpp: Added.
14381 2012-02-17 Yury Semikhatsky <yurys@chromium.org>
14383 [Chromium] Web Inspector: terminated workers are not removed from dedicated worker list
14384 https://bugs.webkit.org/show_bug.cgi?id=78899
14386 Pass original WorkerContextProxy object to the inspector instrumentation instead
14387 of Chromium-specific one for consistency with WorkerMessagingProxy implementation
14390 Reviewed by Pavel Feldman.
14392 * src/WebWorkerClientImpl.cpp:
14393 (WebKit::WebWorkerClientImpl::startWorkerContext):
14395 2012-02-18 raman Tenneti <rtenneti@chromium.org>
14397 Track the NPN protocol version negotiated with the server
14398 https://bugs.webkit.org/show_bug.cgi?id=77349
14400 Reviewed by Darin Fisher.
14402 [chromium] Added ExtraData to WebURLResponse.
14405 * public/platform/WebURLResponse.h:
14407 (WebKit::WebURLResponse::ExtraData::~ExtraData):
14409 * src/WebURLResponse.cpp:
14410 (WebKit::WebURLResponse::extraData):
14412 (WebKit::WebURLResponse::setExtraData):
14413 * tests/WebURLResponseTest.cpp: Added.
14416 (WebKit::TestExtraData::TestExtraData):
14417 (WebKit::TestExtraData::~TestExtraData):
14420 2012-02-17 Joshua Bell <jsbell@chromium.org>
14422 IndexedDB: Support overloaded methods that take IDBKey or IDBKeyRange
14423 https://bugs.webkit.org/show_bug.cgi?id=78399
14425 Implements the WebKit API for IDBObjectStore.delete(IDBKeyRange),
14426 to exercise the overload capability.
14428 Reviewed by Tony Chang.
14430 * src/IDBObjectStoreBackendProxy.cpp:
14431 (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
14433 * src/IDBObjectStoreBackendProxy.h:
14434 (IDBObjectStoreBackendProxy):
14435 * src/WebIDBObjectStoreImpl.cpp:
14436 (WebKit::WebIDBObjectStoreImpl::deleteFunction):
14438 * src/WebIDBObjectStoreImpl.h:
14439 (WebIDBObjectStoreImpl):
14441 2012-02-17 Michal Mocny <mmocny@google.com>
14443 [chromium] GL_CHROMIUM_gpu_memory_manager extension
14444 https://bugs.webkit.org/show_bug.cgi?id=77155
14446 Reviewed by James Robinson.
14448 * public/platform/WebGraphicsContext3D.h:
14449 (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
14450 (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
14451 (WebGraphicsContext3D):
14452 (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
14453 * src/Extensions3DChromium.cpp:
14454 (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
14456 * src/GraphicsContext3DChromium.cpp:
14457 (WebCore::GraphicsContext3D::~GraphicsContext3D):
14458 (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
14459 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
14460 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
14461 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
14463 (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
14464 * src/GraphicsContext3DPrivate.h:
14466 * tests/FakeWebGraphicsContext3D.h:
14467 (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
14468 (FakeWebGraphicsContext3D):
14470 2012-02-17 Mihnea Ovidenie <mihnea@adobe.com>
14472 CSS regions enabled by default
14473 https://bugs.webkit.org/show_bug.cgi?id=78525
14475 Reviewed by David Hyatt.
14477 Add a runtime preference to enable/disable regions functionality at runtime(WebKitCSSRegionsEnabled).
14478 CSSRegions are still enabled by default.
14479 In DRT, use layoutTestController.overridePreference("WebKitCSSRegionsEnabled", "0") to disable the css regions functionality.
14481 * public/WebSettings.h:
14482 * src/WebSettingsImpl.cpp:
14483 (WebKit::WebSettingsImpl::setExperimentalCSSRegionsEnabled):
14485 * src/WebSettingsImpl.h:
14488 2012-02-17 Scott Graham <scottmg@chromium.org>
14490 [Chromium] pack Gamepad shared memory structure
14491 https://bugs.webkit.org/show_bug.cgi?id=78022
14493 Reviewed by Darin Fisher.
14495 Add #pragma pack around definition of shared memory structures to
14496 avoid differences across compilers and platforms. Add COMPILE_ASSERT
14497 to verify expected size.
14499 * public/platform/WebGamepad.h:
14501 * public/platform/WebGamepads.h:
14504 2012-02-17 Tim Dresser <tdresser@chromium.org>
14506 [chromium] Refactor video drawing to be more data driven
14507 https://bugs.webkit.org/show_bug.cgi?id=76720
14509 Reviewed by James Robinson.
14511 CCLayerTreeHostImplTest.didDrawCalledOnAllLayers ensures that
14512 CCLayerImpl::didDraw() is called on all layers, including layers
14513 on different render surfaces.
14515 * tests/CCLayerTreeHostImplTest.cpp:
14516 (DidDrawCheckLayer):
14517 (WebKit::DidDrawCheckLayer::create):
14518 (WebKit::DidDrawCheckLayer::didDraw):
14519 (WebKit::DidDrawCheckLayer::didDrawCalled):
14520 (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
14524 2012-02-17 Ilya Tikhonovsky <loislo@chromium.org>
14526 Unreviewed, rolling out r108071.
14527 http://trac.webkit.org/changeset/108071
14528 https://bugs.webkit.org/show_bug.cgi?id=77155
14530 chromium-mac compilation failed
14532 * public/platform/WebGraphicsContext3D.h:
14533 (WebGraphicsContext3D):
14534 * src/Extensions3DChromium.cpp:
14535 * src/GraphicsContext3DChromium.cpp:
14536 (WebCore::GraphicsContext3D::~GraphicsContext3D):
14537 * src/GraphicsContext3DPrivate.h:
14539 * tests/FakeWebGraphicsContext3D.h:
14541 2012-02-17 Michal Mocny <mmocny@google.com>
14543 [chromium] GL_CHROMIUM_gpu_memory_manager extension
14544 https://bugs.webkit.org/show_bug.cgi?id=77155
14546 Reviewed by James Robinson.
14548 * public/platform/WebGraphicsContext3D.h:
14549 (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
14550 (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
14551 (WebGraphicsContext3D):
14552 (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
14553 * src/Extensions3DChromium.cpp:
14554 (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
14556 * src/GraphicsContext3DChromium.cpp:
14557 (WebCore::GraphicsContext3D::~GraphicsContext3D):
14558 (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
14559 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
14560 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
14561 (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
14563 (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
14564 * src/GraphicsContext3DPrivate.h:
14566 * tests/FakeWebGraphicsContext3D.h:
14567 (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
14568 (FakeWebGraphicsContext3D):
14570 2012-02-17 Ilya Tikhonovsky <loislo@chromium.org>
14572 Unreviewed. Chromium DEPS roll
14574 * DEPS: from 122122 to 122498
14576 2012-02-16 Alexandre Elias <aelias@google.com>
14578 [chromium] Bundle page scale factor and limits in CCLayerTreeHost
14579 https://bugs.webkit.org/show_bug.cgi?id=78762
14581 Setting page scale factor and its limits in separate methods
14582 may cause clamping bugs if one of them makes it to the
14583 impl thread before the other. Change the API to bundle them together,
14584 which matches the existing impl-side interface.
14586 Reviewed by James Robinson.
14588 * src/WebViewImpl.cpp:
14589 (WebKit::WebViewImpl::computePageScaleFactorLimits):
14590 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
14591 (WebKit::WebViewImpl::updateLayerTreeViewport):
14592 * tests/CCLayerTreeHostTest.cpp:
14593 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
14595 2012-02-16 Varun Jain <varunjain@google.com>
14597 [Chromium] Add method to WebViewImpl to extract zoom/scroll params for gesture events on touch devices
14598 https://bugs.webkit.org/show_bug.cgi?id=72909
14600 Reviewed by James Robinson.
14602 * src/WebViewImpl.cpp:
14605 (WebKit::WebViewImpl::computeBlockBounds):
14606 (WebKit::WebViewImpl::widenRectWithinPageBounds):
14607 (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
14608 * src/WebViewImpl.h:
14610 * tests/WebFrameTest.cpp:
14613 * tests/data/get_scale_for_auto_zoom_into_div_test.html: Added.
14615 2012-02-16 Sami Kyostila <skyostil@chromium.org>
14617 [chromium] LayerChromium::setNeedsDisplay does not apply contents scale correctly
14618 https://bugs.webkit.org/show_bug.cgi?id=77464
14620 Added a new unit test for TiledLayerChromium to verify its invalidation behavior when
14621 the contents scale changes. Also enhance and existing unit test for LayerChromium to
14622 verify the paint rectangle dimensions instead just checking that it is not empty.
14624 Reviewed by James Robinson.
14626 * tests/LayerChromiumTest.cpp:
14627 * tests/TiledLayerChromiumTest.cpp:
14628 (WTF::FakeTiledLayerChromium::setNeedsDisplayRect):
14629 (FakeTiledLayerChromium):
14630 (WTF::FakeTiledLayerChromium::lastNeedsDisplayRect):
14634 2012-02-16 MORITA Hajime <morrita@google.com>
14636 https://bugs.webkit.org/show_bug.cgi?id=78065
14637 [Chromium] Should eliminate WebTextCheckingResult legacy APIs
14639 Reviewed by Kent Tamura.
14641 Removed unused legacy members.
14643 * public/WebTextCheckingResult.h:
14644 (WebKit::WebTextCheckingResult::WebTextCheckingResult):
14645 (WebTextCheckingResult):
14646 * src/AssertMatchingEnums.cpp:
14648 2012-02-16 Evan Martin <evan@chromium.org>
14650 [chromium] pull third_party/gold to fix linux build
14651 https://bugs.webkit.org/show_bug.cgi?id=78842
14653 Reviewed by Tony Chang.
14655 The Chrome build now depends on third_party/gold also being checked out.
14659 2012-02-15 Michael Nordman <michaeln@google.com>
14661 Fix bugs in the implementation of WebDatabase::closeDatabaseImmediately.
14662 https://bugs.webkit.org/show_bug.cgi?id=78841
14664 WebDatabase now delegates this function entirely to DatabaseTracker.
14665 This is part of resolving http://crbug.com/98939
14667 Reviewed by David Levin.
14669 * src/WebDatabase.cpp:
14670 (WebKit::WebDatabase::closeDatabaseImmediately):
14672 2012-02-16 Dana Jansens <danakj@chromium.org>
14674 [Chromium] Occlusion tracking with CSS filters
14675 https://bugs.webkit.org/show_bug.cgi?id=77498
14677 Reviewed by James Robinson.
14679 * tests/CCLayerTreeHostTest.cpp:
14680 (CCLayerTreeHostTestLayerOcclusionWithFilters):
14681 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::CCLayerTreeHostTestLayerOcclusionWithFilters):
14682 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
14683 (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::afterTest):
14686 2012-02-16 Joshua Bell <jsbell@chromium.org>
14688 IndexedDB: Chromium WebKit API support for IDBObjectStore.delete(IDBKeyRange)
14689 https://bugs.webkit.org/show_bug.cgi?id=78619
14691 Add an overload to WebIDBObjectStore::deleteFunction(). First part of a two-sided patch.
14693 Reviewed by Darin Fisher.
14695 * public/WebIDBObjectStore.h:
14696 (WebKit::WebIDBObjectStore::deleteFunction):
14698 2012-02-16 Dana Jansens <danakj@chromium.org>
14700 [chromium] Clipping/Transforms applied in wrong order in opaque paint tracking
14701 https://bugs.webkit.org/show_bug.cgi?id=78775
14703 Reviewed by Stephen White.
14705 * tests/PlatformContextSkiaTest.cpp:
14708 2012-02-16 Daniel Cheng <dcheng@chromium.org>
14710 [chromium] Add WEBKIT_EXPORT to new WebDragData methods.
14711 https://bugs.webkit.org/show_bug.cgi?id=78843
14713 Reviewed by Tony Chang.
14715 * public/platform/WebDragData.h:
14718 2012-02-16 Viet-Trung Luu <viettrungluu@chromium.org>
14720 [chromium] Add method to WebPluginContainer to check if a rectangle is topmost
14721 https://bugs.webkit.org/show_bug.cgi?id=78166
14723 Reviewed by Darin Fisher.
14725 * public/WebPluginContainer.h:
14726 (WebPluginContainer):
14727 * src/WebPluginContainerImpl.cpp:
14728 * src/WebPluginContainerImpl.h:
14729 (WebPluginContainerImpl):
14731 2012-02-16 Yosifumi Inoue <yosin@chromium.org>
14733 Build Fix: R107894 breaks Chromium Linux Build.
14734 https://bugs.webkit.org/show_bug.cgi?id=78790
14736 WebDragDataPrivate::types, inherited from ChromiumDataObject, returns PassRef<DOMStringList> since r107894. However, WebDragData expected to get old return value type HashSet<String>.
14738 Reviewed by Kent Tamura.
14740 * src/WebDragData.cpp:
14741 (WebKit::WebDragData::items): Use RefPtr<DOMStringList> rather than HashSet<String> for value of m_private->types().
14743 2012-02-15 Sami Kyostila <skyostil@google.com>
14745 Enable -webkit-overflow-scrolling CSS property
14746 https://bugs.webkit.org/show_bug.cgi?id=78664
14748 Reviewed by Eric Seidel.
14752 2012-02-15 Tommy Widenflycht <tommyw@google.com>
14754 MediaStream API: Removing SecurityContext from the embedder API
14755 https://bugs.webkit.org/show_bug.cgi?id=73816
14757 Reviewed by Darin Fisher.
14759 * bridge/PeerConnectionHandler.cpp:
14760 (WebCore::PeerConnectionHandler::create):
14761 (WebCore::PeerConnectionHandler::PeerConnectionHandler):
14762 * bridge/PeerConnectionHandlerInternal.cpp:
14763 (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
14764 * bridge/PeerConnectionHandlerInternal.h:
14766 (PeerConnectionHandlerInternal):
14767 * public/platform/WebPeerConnectionHandler.h:
14768 (WebPeerConnectionHandler):
14769 (WebKit::WebPeerConnectionHandler::initialize):
14771 2012-02-15 Peter Beverloo <peter@chromium.org>
14773 [Chromium] Roll DEPS to r122122
14774 https://bugs.webkit.org/show_bug.cgi?id=78754
14776 Unreviewed DEPS roll.
14780 2012-02-01 Daniel Cheng <dcheng@chromium.org>
14782 [chromium] Add setter/getter to expose drag data as a list of items
14783 https://bugs.webkit.org/show_bug.cgi?id=77125
14785 This change supports the unification of the data store backing ChromiumDataObject and
14786 DataTransferItemListChromium. ChromiumDataObject will represent dragging and clipboard data
14787 as a list of data nodes to make it more straightforward to implement the HTML spec for
14788 DataTransferItemList. Thus, we extend the abstraction to the webkit glue layer to
14789 simplify the serialization/deserialization between platform-specific data and WebDragData.
14790 The other setter/getter methods are deprecated and will be removed once the dependencies in
14791 Chromium code are gone.
14793 Reviewed by Darin Fisher.
14795 * public/platform/WebDragData.h:
14798 * src/WebDragData.cpp:
14799 (WebKit::WebDragData::items):
14801 (WebKit::WebDragData::setItems):
14802 (WebKit::WebDragData::addItem):
14804 2012-02-15 Sadrul Habib Chowdhury <sadrul@chromium.org>
14806 Notify ChromeClient when touch-event handlers are installed/removed.
14807 https://bugs.webkit.org/show_bug.cgi?id=77440
14809 Reviewed by Darin Fisher and Ryosuke Niwa.
14811 * public/WebViewClient.h:
14812 (WebKit::WebViewClient::numberOfTouchEventHandlersChanged):
14813 * src/ChromeClientImpl.cpp:
14814 (WebKit::ChromeClientImpl::numTouchEventHandlersChanged):
14816 * src/ChromeClientImpl.h:
14817 (ChromeClientImpl):
14818 * src/WebViewImpl.cpp:
14819 (WebKit::WebViewImpl::numberOfTouchEventHandlersChanged):
14821 * src/WebViewImpl.h:
14824 2012-02-15 Anders Carlsson <andersca@apple.com>
14826 Remove ScrollableArea::handleGestureEvent
14827 https://bugs.webkit.org/show_bug.cgi?id=78661
14829 Reviewed by Adam Roben.
14831 Update for WebCore changes.
14833 * src/WebPluginContainerImpl.cpp:
14834 * src/WebPluginContainerImpl.h:
14835 (WebPluginContainerImpl):
14836 * src/WebViewImpl.cpp:
14837 (WebKit::WebViewImpl::gestureEvent):
14839 2012-02-14 Takashi Toyoshima <toyoshim@chromium.org>
14841 Provide SocketStreamHandleInternal::toWebSocketStreamHandle(SocketStreamHandle*).
14842 https://bugs.webkit.org/show_bug.cgi?id=78581
14844 Reviewed by Kent Tamura.
14846 Now, there is no way to convert SocketStreamHandle to
14847 WebSocketStreamHandle. In subsequent changes, I'll use this function
14848 in FrameLoaderClientImpl.
14850 * src/SocketStreamHandle.cpp: Remove SocketStreamHandleInternal class declaration.
14851 * src/SocketStreamHandleInternal.h: Move SocketStreamHandleInternal class declaration from SocketStreamHandle.cpp to expose, and add conversion function to WebSocketStreamHandle from SocketStreamHandle.
14854 (SocketStreamHandleInternal):
14855 (WebCore::SocketStreamHandleInternal::create):
14856 (WebCore::SocketStreamHandleInternal::toWebSocketStreamHandle):
14857 * WebKit.gyp: Add SocketStreamHandleInternal.h entry.
14859 2012-02-14 Sheriff Bot <webkit.review.bot@gmail.com>
14861 Unreviewed, rolling out r107766.
14862 http://trac.webkit.org/changeset/107766
14863 https://bugs.webkit.org/show_bug.cgi?id=78665
14865 Breaks Chromium Win build (Requested by bashi1 on #webkit).
14868 * tests/WebSocketDeflaterTest.cpp: Removed.
14870 2012-02-14 Kenichi Ishibashi <bashi@chromium.org>
14872 [WebSocket] Add extension attribute support
14873 https://bugs.webkit.org/show_bug.cgi?id=78557
14875 Add WebSocketExtensionDispatcher::acceptedExtensions() checks.
14877 Reviewed by Kent Tamura.
14879 * tests/WebSocketExtensionDispatcherTest.cpp:
14882 2012-02-14 Kenichi Ishibashi <bashi@chromium.org>
14884 [WebSocket] Add deflater/inflater classes.
14885 https://bugs.webkit.org/show_bug.cgi?id=78449
14887 Add tests which ensure WebSocketDeflater/WebSocketInflater can
14888 compress/decompress data correctly.
14890 Reviewed by Kent Tamura.
14893 * tests/WebSocketDeflaterTest.cpp: Added.
14897 2012-02-14 Dana Jansens <danakj@chromium.org>
14899 [chromium] Compare filters on impl thread when setting them, and test setting in unit tests
14900 https://bugs.webkit.org/show_bug.cgi?id=78643
14902 Reviewed by James Robinson.
14904 * tests/CCLayerImplTest.cpp:
14907 2012-02-14 Ramya Chandrasekaran <cramya@google.com>
14909 Last character display for passwords in Android.
14910 https://bugs.webkit.org/show_bug.cgi?id=78532
14912 Reviewed by Adam Barth.
14914 * public/WebSettings.h:
14915 * src/WebSettingsImpl.cpp:
14916 (WebKit::WebSettingsImpl::setPasswordEchoEnabled):
14918 (WebKit::WebSettingsImpl::setPasswordEchoDurationInSeconds):
14919 * src/WebSettingsImpl.h:
14922 2012-02-14 David Reveman <reveman@chromium.org>
14924 [Chromium] Expose perTilePainting setting through WebLayerTreeView::Settings interface.
14925 https://bugs.webkit.org/show_bug.cgi?id=76937
14927 Reviewed by James Robinson.
14929 Add perTilePainting to WebLayerTreeView::Settings.
14931 * public/platform/WebLayerTreeView.h:
14932 (WebKit::WebLayerTreeView::Settings::Settings):
14934 * src/WebLayerTreeView.cpp:
14935 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
14937 2012-02-14 Vsevolod Vlasov <vsevik@chromium.org>
14939 Web Inspector: Make ScriptsNavigator default file selector.
14940 https://bugs.webkit.org/show_bug.cgi?id=78349
14942 Reviewed by Pavel Feldman.
14945 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
14946 (.TestSuite.prototype.uiSourceCodesToString_):
14947 (.TestSuite.prototype.nonAnonymousUISourceCodes_):
14948 (.TestSuite.prototype._scriptsAreParsed):
14949 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
14950 (.TestSuite.prototype._waitUntilScriptsAreParsed):
14952 2012-02-14 Hayato Ito <hayato@chromium.org>
14954 Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
14955 https://bugs.webkit.org/show_bug.cgi?id=77514
14957 Reviewed by Dimitri Glazkov.
14959 NodeType.SHADOW_ROOT_NODE type is finally gone.
14961 * src/WebPageSerializerImpl.cpp:
14962 (WebKit::WebPageSerializerImpl::buildContentForNode):
14964 2012-02-14 David Reveman <reveman@chromium.org>
14966 [Chromium] Inconsistent initialization of CCSettings in WebLayerTreeView.
14967 https://bugs.webkit.org/show_bug.cgi?id=76927
14969 Reviewed by James Robinson.
14971 Remove unnecessary initialization and include maxPartialTextureUpdates
14974 * src/WebLayerTreeView.cpp:
14975 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
14977 2012-02-14 Sheriff Bot <webkit.review.bot@gmail.com>
14979 Unreviewed, rolling out r107661.
14980 http://trac.webkit.org/changeset/107661
14981 https://bugs.webkit.org/show_bug.cgi?id=78591
14983 crash on lion/qt bots (Requested by hayato on #webkit).
14985 * src/WebPageSerializerImpl.cpp:
14986 (WebKit::WebPageSerializerImpl::buildContentForNode):
14988 2012-02-14 Yuzhu Shen <yzshen@chromium.com>
14990 [chromium] Pepper plugins don't receive mouse movement information in
14991 non-mouse-lock mode.
14992 https://bugs.webkit.org/show_bug.cgi?id=78014
14994 This change makes WebMouseEventBuilder pass along mouse movement
14995 information properly.
14997 There isn't test for this change because:
14998 - the movement information added is only used by pepper, and there
14999 isn't any test for pepper at the WebKit side. (WebKit doesn't know
15001 - this change is trivial. It just copies two newly-added data fields
15002 from MouseEvent to WebMouseEventBuilder during conversion.
15004 Reviewed by Tony Chang.
15006 * src/WebInputEventConversion.cpp:
15007 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
15009 2012-02-11 Nikolas Zimmermann <nzimmermann@rim.com>
15011 Convert svg/animations to use SMIL methods for driving the timeline
15012 https://bugs.webkit.org/show_bug.cgi?id=78422
15014 Reviewed by Dirk Schulze.
15016 Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
15017 Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
15019 * public/WebFrame.h:
15021 * src/WebFrameImpl.cpp:
15022 * src/WebFrameImpl.h:
15025 2012-02-13 Mihai Parparita <mihaip@chromium.org>
15027 [Chromium] Remove BoundObject
15028 https://bugs.webkit.org/show_bug.cgi?id=78531
15030 Reviewed by Pavel Feldman.
15032 Remove the BoundObject class, references to it were removed in r56999.
15035 * src/BoundObject.cpp: Removed.
15036 * src/BoundObject.h: Removed.
15037 * src/WebDevToolsFrontendImpl.cpp:
15039 2012-02-13 W. James MacLean <wjmaclean@chromium.org>
15041 [chromium] Remove obsolete zoom animation pathway.
15042 https://bugs.webkit.org/show_bug.cgi?id=78359
15044 Reviewed by James Robinson.
15046 This patch removes dead code from the previous incarnation of zoom animation for chromium.
15048 * src/WebViewImpl.cpp:
15050 2012-02-13 Hayato Ito <hayato@chromium.org>
15052 Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
15053 https://bugs.webkit.org/show_bug.cgi?id=77514
15055 Reviewed by Dimitri Glazkov.
15057 NodeType.SHADOW_ROOT_NODE type is finally gone.
15059 * src/WebPageSerializerImpl.cpp:
15060 (WebKit::WebPageSerializerImpl::buildContentForNode):
15062 2012-02-13 Nico Weber <thakis@chromium.org>
15064 [chromium] Let WebKit::initialize call InitWebCoreSystemInterface on mac.
15065 https://bugs.webkit.org/show_bug.cgi?id=78246
15067 This allows removing a bunch of code in chromium land (https://chromiumcodereview.appspot.com/9374020/),
15068 and helps with the component build on mac (InitWebCoreSystemInterface is not an
15069 exported function, and it shouldn't be).
15071 Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm early-returns when it's
15072 called twice, so it's safe to land this change, and remove the calls in client
15073 code in a later CL.
15075 Reviewed by Darin Fisher.
15078 (WebKit::initializeWithoutV8):
15080 2012-02-13 Yosifumi Inoue <yosin@chromium.org>
15082 [Forms] Use enum instead of bool for HTMLInputElement::setValue
15083 https://bugs.webkit.org/show_bug.cgi?id=75217
15085 Reviewed by Kent Tamura.
15087 * src/WebInputElement.cpp:
15088 (WebKit::WebInputElement::setValue): Use enum for HTMLInputElement::setValue
15090 2012-02-12 Hajime Morrita <morrita@chromium.org>
15092 Page should have less intrusive way to associate API implementation objects.
15093 https://bugs.webkit.org/show_bug.cgi?id=78085
15095 Reviewed by Adam Barth.
15097 * src/WebViewImpl.cpp:
15098 (WebKit::WebViewImpl::WebViewImpl):
15100 2012-02-10 David Grogan <dgrogan@chromium.org>
15102 Disable IndexedDB permissions check from shared workers
15103 https://bugs.webkit.org/show_bug.cgi?id=78316
15105 We want to temporarily bypass this check because it causes a crash
15106 when called from a shared worker. We'll have to fix it before
15107 including idb on shared workers in a release but don't want to stop
15108 developers from testing out idb on shared workers.
15110 No new tests because it affects shared workers only, which aren't
15113 Reviewed by Tony Chang.
15115 * src/IDBFactoryBackendProxy.cpp:
15116 (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
15118 2012-02-10 Sheriff Bot <webkit.review.bot@gmail.com>
15120 Unreviewed. Rolled DEPS.
15124 2012-02-09 Kenichi Ishibashi <bashi@chromium.org>
15126 Add WebSocket extension support
15127 https://bugs.webkit.org/show_bug.cgi?id=78079
15129 Add some tests which check WebSocketExtensions::processHeaderValue()
15130 parses the given response correctly.
15132 Reviewed by Kent Tamura.
15135 * tests/WebSocketExtensionDispatcherTest.cpp: Added.
15137 (MockWebSocketExtensionProcessor):
15138 (WebCore::MockWebSocketExtensionProcessor::MockWebSocketExtensionProcessor):
15139 (WebSocketExtensionDispatcherTest):
15140 (WebCore::WebSocketExtensionDispatcherTest::WebSocketExtensionDispatcherTest):
15141 (WebCore::WebSocketExtensionDispatcherTest::SetUp):
15142 (WebCore::WebSocketExtensionDispatcherTest::TearDown):
15143 (WebCore::WebSocketExtensionDispatcherTest::addMockProcessor):
15144 (WebCore::WebSocketExtensionDispatcherTest::appendResult):
15145 (WebCore::MockWebSocketExtensionProcessor::processResponse):
15148 2012-02-09 W. James MacLean <wjmaclean@chromium.org>
15150 [chromium] Add support for starting page/scale animations on CC impl thread from WebViewImpl
15151 https://bugs.webkit.org/show_bug.cgi?id=77872
15153 Reviewed by James Robinson.
15155 Provides a pathway to invoke CCLayerTreeHostImpl::startPageScaleAnimation() from
15156 WebViewImpl. This is intended to support scale and scroll animations, such as WebInputEvent::GestureDoubleTap.
15158 * src/WebViewImpl.cpp:
15160 (WebKit::WebViewImpl::startPageScaleAnimation):
15161 * src/WebViewImpl.h:
15163 * tests/CCLayerTreeHostTest.cpp:
15165 (CCLayerTreeHostTestStartPageScaleAnimation):
15166 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::CCLayerTreeHostTestStartPageScaleAnimation):
15167 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::beginTest):
15168 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::requestStartPageScaleAnimation):
15169 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::drawLayersOnCCThread):
15170 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
15171 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::commitCompleteOnCCThread):
15172 (WTF::CCLayerTreeHostTestStartPageScaleAnimation::afterTest):
15175 2012-02-09 John Bates <jbates@google.com>
15177 [Chromium] Add chromium-style tracing support
15178 https://bugs.webkit.org/show_bug.cgi?id=76885
15180 Reviewed by Darin Fisher.
15182 This code enables WebKit trace events to pass through more data to the
15183 chromium platform tracing API and generally to use the full tracing
15184 API provided by chromium.
15186 * public/platform/WebKitPlatformSupport.h:
15187 (WebKit::WebKitPlatformSupport::getTraceCategoryEnabledFlag):
15188 (WebKit::WebKitPlatformSupport::addTraceEvent):
15189 * src/PlatformSupport.cpp:
15190 (WebCore::PlatformSupport::getTraceCategoryEnabledFlag):
15191 (WebCore::PlatformSupport::addTraceEvent):
15193 2012-02-09 Jonathan Backer <backer@chromium.org>
15195 [chromium] Plumb setNeedsRedraw.
15196 https://bugs.webkit.org/show_bug.cgi?id=78248
15198 Reviewed by James Robinson.
15200 * public/platform/WebLayerTreeView.h:
15201 (WebLayerTreeView):
15202 * src/WebLayerTreeView.cpp:
15203 (WebKit::WebLayerTreeView::setNeedsRedraw):
15206 2012-02-09 Jonathan Backer <backer@chromium.org>
15208 [chromium] Add setNeedsRedraw to WebWidget
15209 https://bugs.webkit.org/show_bug.cgi?id=77555
15211 Reviewed by James Robinson.
15213 * public/WebWidget.h:
15215 (WebKit::WebWidget::setNeedsRedraw):
15216 * src/WebViewImpl.cpp:
15217 (WebKit::WebViewImpl::setNeedsRedraw):
15219 * src/WebViewImpl.h:
15222 2012-02-08 Raymond Liu <raymond.liu@intel.com>
15224 Fix a typo for r107125
15225 https://bugs.webkit.org/show_bug.cgi?id=77804
15227 Reviewed by James Robinson.
15229 * tests/WebCompositorInputHandlerImplTest.cpp:
15231 2012-02-08 David Reveman <reveman@chromium.org>
15233 [Chromium] Avoid unnecessary full tile updates without breaking atomicity of commits.
15234 https://bugs.webkit.org/show_bug.cgi?id=76740
15236 Reviewed by James Robinson.
15238 Add CCLayerTreeHostTestAtomicCommitWithPartialUpdate and
15239 TiledLayerChromiumTest.partialUpdates tests that verifies
15240 atomicity of commits with partial updates.
15242 * tests/CCLayerTreeHostTest.cpp:
15243 (WTF::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
15244 (WTF::CCLayerTreeHostTestAtomicCommit::beginTest):
15245 (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
15246 (WTF::CCLayerTreeHostTestAtomicCommit::layout):
15247 (CCLayerTreeHostTestAtomicCommit):
15248 (CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
15249 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
15250 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
15251 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
15252 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
15253 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::layout):
15254 (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::afterTest):
15257 * tests/TiledLayerChromiumTest.cpp:
15258 (WTF::FakeLayerTextureUpdater::Texture::Texture):
15259 (WTF::FakeLayerTextureUpdater::Texture::updateRect):
15261 (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
15262 (FakeLayerTextureUpdater):
15263 (WTF::FakeLayerTextureUpdater::updateCount):
15264 (WTF::FakeLayerTextureUpdater::clearUpdateCount):
15265 (WTF::FakeLayerTextureUpdater::updateRect):
15266 (WTF::FakeLayerTextureUpdater::createTexture):
15267 (FakeTiledLayerChromium):
15271 2012-02-07 MORITA Hajime <morrita@google.com>
15273 Replacement text should be available from the marker.
15274 https://bugs.webkit.org/show_bug.cgi?id=77934
15276 didFinishCheckingText() accidentally dropped the description text
15277 given from the backend. Fixed to copy it on the API-to-Core
15278 convertion. The test won't work without this fix.
15280 Reviewed by Kent Tamura.
15282 * src/WebTextCheckingCompletionImpl.cpp:
15283 (WebKit::toCoreResults):
15285 2012-02-08 Dmitry Lomov <dslomov@chromium.org>
15287 [V8][Chromium] Race between worker accessing WebDatabase and frame closing down.
15288 https://bugs.webkit.org/show_bug.cgi?id=78150
15289 Handle case when the frame is shut down under us gracefully.
15291 Reviewed by David Levin.
15293 * src/DatabaseObserver.cpp:
15294 (WebCore::DatabaseObserver::canEstablishDatabase): Handle WebWorkerBase::view returning 0.
15295 * src/IDBFactoryBackendProxy.cpp:
15296 (WebKit::IDBFactoryBackendProxy::openFromWorker): Handle WebWorkerBase::view returning 0.
15297 * src/WebWorkerClientImpl.cpp:
15298 (WebKit::WebWorkerClientImpl::allowFileSystem):
15299 (WebKit::WebWorkerClientImpl::allowDatabase):
15300 (WebKit::WebWorkerClientImpl::view):
15302 2012-02-08 Adam Klein <adamk@chromium.org>
15304 DOM mutations should not be delivered on worker threads
15305 https://bugs.webkit.org/show_bug.cgi?id=77898
15307 Reviewed by Dmitry Titov.
15309 * src/WebDevToolsFrontendImpl.cpp:
15310 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
15312 2012-02-08 Scott Graham <scottmg@chromium.org>
15315 https://bugs.webkit.org/show_bug.cgi?id=78152
15317 Reviewed by Adam Barth.
15321 2012-02-08 Dana Jansens <danakj@chromium.org>
15323 [Chromium] Fix opaque tracking for box shadows and non-composited child elements
15324 https://bugs.webkit.org/show_bug.cgi?id=78073
15326 Reviewed by Stephen White.
15328 * tests/PlatformContextSkiaTest.cpp:
15332 2012-02-08 Shawn Singh <shawnsingh@chromium.org>
15334 [chromium] Remove incorrect early exit in CCDamageTracker
15335 https://bugs.webkit.org/show_bug.cgi?id=76924
15337 Reviewed by James Robinson.
15339 * tests/CCDamageTrackerTest.cpp:
15340 (WebKitTests::emulateDrawingOneFrame):
15341 (WebKitTests::TEST_F):
15344 2012-02-08 Sadrul Habib Chowdhury <sadrul@chromium.org>
15346 Add support for pinch gesture processing in the MT compositor.
15347 https://bugs.webkit.org/show_bug.cgi?id=77804
15349 Reviewed by James Robinson.
15351 * public/WebInputEvent.h:
15352 * src/WebCompositorInputHandlerImpl.cpp:
15353 (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
15354 (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
15355 * src/WebCompositorInputHandlerImpl.h:
15356 (WebCompositorInputHandlerImpl):
15357 * src/WebInputEventConversion.cpp:
15358 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
15359 * src/WebPopupMenuImpl.cpp:
15360 (WebKit::WebPopupMenuImpl::handleInputEvent):
15361 * src/WebViewImpl.cpp:
15362 (WebKit::WebViewImpl::handleInputEvent):
15363 * tests/WebCompositorInputHandlerImplTest.cpp:
15365 2012-02-08 Nico Weber <nicolasweber@gmx.de>
15367 [chromium] Make dependency on Accelerate.framework explicit.
15368 https://bugs.webkit.org/show_bug.cgi?id=78131
15370 It's used by platform/audio/mac/FFTFrameMac.cpp. The explicit
15371 dependency is needed to build a libwebkit.dylib.
15373 Reviewed by Tony Chang.
15377 2012-02-08 Bernhard Bauer <bauerb@google.com>
15379 [Chromium] Don't add selection from password fields to context menu.
15380 https://bugs.webkit.org/show_bug.cgi?id=77733
15382 Reviewed by Adam Barth.
15384 * src/ContextMenuClientImpl.cpp:
15385 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
15387 2012-02-08 Nico Weber <nicolasweber@gmx.de>
15389 [chromium] Let -Wglobal-constructors hack in shared build metastasize to mac
15390 https://bugs.webkit.org/show_bug.cgi?id=78130
15392 Reviewed by Tony Chang.
15396 2012-02-08 Alexei Svitkine <asvitkine@chromium.org>
15398 Chromium: Fix Mac rubber band overhang drawing on composited pages and re-enable tests.
15399 https://bugs.webkit.org/show_bug.cgi?id=78007
15401 This got broken by: http://trac.webkit.org/changeset/105470
15402 And the tests were accidentally(?) disabled in: http://trac.webkit.org/changeset/95191
15404 There is still three tests that fail from the set, but the cause for these is different,
15405 which I'm still investigating.
15407 Reviewed by James Robinson.
15409 * src/NonCompositedContentHost.cpp:
15410 (WebKit::NonCompositedContentHost::NonCompositedContentHost):
15412 2012-02-07 James Robinson <jamesr@chromium.org>
15414 [chromium] Move geometry headers in Platform API to Platform directory
15415 https://bugs.webkit.org/show_bug.cgi?id=78067
15417 Reviewed by Adam Barth.
15419 Add forwarding headers for several API types moved into Platform.
15421 * public/platform/WebFloatPoint.h:
15422 * public/platform/WebFloatQuad.h:
15423 * public/platform/WebFloatRect.h:
15424 * public/platform/WebPoint.h:
15425 * public/platform/WebRect.h:
15426 * public/platform/WebSize.h:
15428 2012-02-07 MORITA Hajime <morrita@google.com>
15430 [Chromium] WebTextCheckingResult should have new default constructor
15431 https://bugs.webkit.org/show_bug.cgi?id=78066
15433 Reviewed by Ryosuke Niwa.
15435 Added a new default constructor. ex-default constructor will be removed
15436 in an upcoming change.
15438 * public/WebTextCheckingResult.h:
15439 (WebKit::WebTextCheckingResult::WebTextCheckingResult):
15440 (WebTextCheckingResult):
15442 2012-02-07 Gregg Tavares <gman@google.com>
15444 Plumb through webGLErrorsToConsoleEnable in WebSettings
15445 https://bugs.webkit.org/show_bug.cgi?id=78061
15447 Reviewed by Kenneth Russell.
15449 * public/WebSettings.h:
15450 * src/WebSettingsImpl.cpp:
15451 (WebKit::WebSettingsImpl::setWebGLErrorsToConsoleEnabled):
15453 * src/WebSettingsImpl.h:
15456 2012-02-07 Robert Kroeger <rjkroege@chromium.org>
15458 [chromium] Remove no longer necessary Chromium gesture recognizer code.
15459 https://bugs.webkit.org/show_bug.cgi?id=77492
15461 Reviewed by Adam Barth.
15465 * src/WebFrameImpl.cpp:
15466 (WebKit::WebFrameImpl::createFrameView):
15467 * src/WebPopupMenuImpl.cpp:
15468 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
15469 (WebKit::WebPopupMenuImpl::handleTouchEvent):
15470 * src/WebPopupMenuImpl.h:
15471 * src/WebViewImpl.cpp:
15472 (WebKit::WebViewImpl::WebViewImpl):
15473 (WebKit::WebViewImpl::touchEvent):
15474 * src/WebViewImpl.h:
15477 * tests/InnerGestureRecognizerTest.cpp: Removed.
15479 2012-02-07 David Reveman <reveman@chromium.org>
15481 [Chromium] REGRESSION(r101854): Causing large amounts of unnecessary repainting.
15482 https://bugs.webkit.org/show_bug.cgi?id=78020
15484 Reviewed by James Robinson.
15486 Update TextureManagerTest.requestTextureExceedingPreferredLimit test.
15488 * tests/TextureManagerTest.cpp:
15489 (WTF::TextureManagerTest::requestTexture):
15492 2012-02-07 Dana Jansens <danakj@chromium.org>
15494 [chromium] Unit test for bug #77996
15495 https://bugs.webkit.org/show_bug.cgi?id=78019
15497 Reviewed by James Robinson.
15499 * tests/CCLayerTreeHostTest.cpp:
15500 (CCLayerTreeHostTestManySurfaces):
15501 (WTF::CCLayerTreeHostTestManySurfaces::CCLayerTreeHostTestManySurfaces):
15502 (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
15503 (WTF::CCLayerTreeHostTestManySurfaces::afterTest):
15506 2012-02-07 Sadrul Habib Chowdhury <sadrul@chromium.org>
15508 Process Scroll-gesture events from the compositor.
15509 https://bugs.webkit.org/show_bug.cgi?id=77477
15511 Reviewed by James Robinson.
15513 * src/WebCompositorInputHandlerImpl.cpp:
15514 (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
15515 (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
15516 * src/WebCompositorInputHandlerImpl.h:
15517 (WebCompositorInputHandlerImpl):
15519 2012-02-07 Anders Carlsson <andersca@apple.com>
15521 ScrollableAreaSet should be moved from Page to FrameView
15522 https://bugs.webkit.org/show_bug.cgi?id=62762
15524 Reviewed by Beth Dakin.
15526 Update for changes to WebCore now that the scrollable area set is kept per frame view.
15528 * src/ScrollbarGroup.cpp:
15529 (WebKit::ScrollbarGroup::ScrollbarGroup):
15530 (WebKit::ScrollbarGroup::~ScrollbarGroup):
15531 * src/ScrollbarGroup.h:
15534 * src/WebPluginContainerImpl.cpp:
15535 (WebKit::WebPluginContainerImpl::scrollbarGroup):
15537 2012-02-07 Hans Wennborg <hans@chromium.org>
15539 Chromium: remove WebSpeechInputResult::set
15540 https://bugs.webkit.org/show_bug.cgi?id=77977
15542 Reviewed by Darin Fisher.
15544 It was renamed to assign() in r106475.
15546 * public/WebSpeechInputResult.h:
15548 2012-02-07 Sheriff Bot <webkit.review.bot@gmail.com>
15550 Unreviewed, rolling out r106935.
15551 http://trac.webkit.org/changeset/106935
15552 https://bugs.webkit.org/show_bug.cgi?id=77994
15554 "Crashes runMultiThread webkit_unit_test" (Requested by tonyg-
15557 * public/WebWidget.h:
15559 * src/WebViewImpl.cpp:
15560 * src/WebViewImpl.h:
15563 2012-02-07 Jonathan Backer <backer@chromium.org>
15565 [chromium] Add setNeedsRedraw to WebWidget
15566 https://bugs.webkit.org/show_bug.cgi?id=77555
15568 Reviewed by James Robinson.
15570 * public/WebWidget.h:
15572 (WebKit::WebWidget::setNeedsRedraw):
15573 * src/WebViewImpl.cpp:
15574 (WebKit::WebViewImpl::setNeedsRedraw):
15576 * src/WebViewImpl.h:
15579 2012-02-07 Sheriff Bot <webkit.review.bot@gmail.com>
15581 Unreviewed. Rolled DEPS.
15585 2012-02-06 James Robinson <jamesr@chromium.org>
15587 [chromium] canvas demo is slow due to unnecessary resource cleanups
15588 https://bugs.webkit.org/show_bug.cgi?id=77135
15590 Reviewed by Kenneth Russell.
15592 * tests/Canvas2DLayerChromiumTest.cpp:
15593 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
15594 * tests/TextureManagerTest.cpp:
15595 * tests/TiledLayerChromiumTest.cpp:
15597 2012-02-06 Julien Chaffraix <jchaffraix@webkit.org>
15599 Unreviewed gardening.
15601 * DEPS: Rolling the DEPS to get the apple_webkit update
15602 and fix the Chromium build.
15604 2012-02-06 Emil A Eklund <eae@chromium.org>
15606 Convert PopupMenuClient::clientPadding over to new layout abstraction
15607 https://bugs.webkit.org/show_bug.cgi?id=77798
15609 Reviewed by Eric Seidel.
15611 Change PopupMenuClient and all classes inheriting from it to use the new
15612 layout types for padding.
15614 * src/AutofillPopupMenuClient.cpp:
15615 (WebKit::AutofillPopupMenuClient::clientPaddingLeft):
15616 (WebKit::AutofillPopupMenuClient::clientPaddingRight):
15617 * src/AutofillPopupMenuClient.h:
15618 (AutofillPopupMenuClient):
15619 * tests/PopupMenuTest.cpp:
15620 (WebKit::TestPopupMenuClient::clientPaddingLeft):
15621 (WebKit::TestPopupMenuClient::clientPaddingRight):
15623 2012-02-06 James Robinson <jamesr@chromium.org>
15625 [chromium] Drop tiles completely outside of layer bounds when resizing to a smaller size
15626 https://bugs.webkit.org/show_bug.cgi?id=77910
15628 Reviewed by Kenneth Russell.
15630 Adds test for resizing a layer to cover fewer tiles. Test hits ASSERT()s without any code changes.
15632 * tests/TiledLayerChromiumTest.cpp:
15635 2012-02-06 Ryosuke Niwa <rniwa@webkit.org>
15637 Revert r106859. It was completely bogus.
15639 * src/WebViewImpl.cpp:
15640 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
15642 2012-02-06 Ryosuke Niwa <rniwa@webkit.org>
15644 Chromium build fix after r106836.
15646 * src/WebViewImpl.cpp:
15647 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
15649 2012-02-06 Eric Uhrhane <ericu@chromium.org>
15651 [filesystem/Chromium] crackFileSystemURL needs to use innerURL
15652 https://bugs.webkit.org/show_bug.cgi?id=77881
15654 Reviewed by Adam Barth.
15656 * src/AsyncFileSystemChromium.cpp:
15657 (WebCore::AsyncFileSystem::crackFileSystemURL):
15658 Add the new code path, taken only if innerURL is present.
15660 2012-02-03 James Robinson <jamesr@chromium.org>
15662 [chromium] Support detaching TextureManager from ManagedTexture
15663 https://bugs.webkit.org/show_bug.cgi?id=77655
15665 Adds unit test for destroying a TextureManager while ManagedTextures are still alive referring to it.
15667 Reviewed by Kenneth Russell.
15669 * tests/TextureManagerTest.cpp:
15671 2012-02-06 Matthew Delaney <mdelaney@apple.com>
15673 toDataURL() uses stale data after putImageData()
15674 https://bugs.webkit.org/show_bug.cgi?id=65767
15676 Reviewed by Chris Marrin.
15678 * src/WebViewImpl.cpp: Updated method name.
15679 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
15681 2012-02-06 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
15683 Provide more attribute methods in Element
15684 https://bugs.webkit.org/show_bug.cgi?id=77800
15686 Reviewed by Ryosuke Niwa.
15688 * src/WebPageSerializerImpl.cpp:
15689 (WebKit::WebPageSerializerImpl::openTagToString): access attributes via Element interface.
15691 2012-02-04 Shawn Singh <shawnsingh@chromium.org>
15693 [chromium] Add support to force full damage in CCDamageTracker
15694 https://bugs.webkit.org/show_bug.cgi?id=76805
15696 Reviewed by James Robinson.
15698 * tests/CCDamageTrackerTest.cpp:
15699 (WebKitTests::TEST_F):
15702 2012-02-03 James Robinson <jamesr@chromium.org>
15704 [chromium] Defer makeContextCurrent in compositor until first frame
15705 https://bugs.webkit.org/show_bug.cgi?id=77269
15707 Reviewed by Kenneth Russell.
15709 * tests/CCLayerTreeHostTest.cpp:
15710 (WTF::CCLayerTreeHostTestSetViewportSize::beginTest):
15711 * tests/TiledLayerChromiumTest.cpp:
15714 2012-02-03 Beth Dakin <bdakin@apple.com>
15716 https://bugs.webkit.org/show_bug.cgi?id=77691
15717 Fix PlatformScreen layering violation and PlatformScreenMac's incorrect use
15720 Reviewed by Andy Estes.
15722 These two functions now take a Widget again rather than a FrameView.
15723 * src/PlatformSupport.cpp:
15724 (WebCore::PlatformSupport::screenRect):
15725 (WebCore::PlatformSupport::screenAvailableRect):
15727 2012-02-03 John Knottenbelt <jknotten@chromium.org>
15729 [skia] Fix unit test PlatformContextSkiaTest.trackOpaqueOvalTest
15730 https://bugs.webkit.org/show_bug.cgi?id=77738
15732 We need to clear the bitmap before the test runs, otherwise the
15733 contents of the bitmap will be uninitialised. This causes an
15734 unpredicatable result as the canvas draw operations blend the
15735 destination bitmap with the source colour.
15737 Similarly, valgrind discovered that
15738 PlatformContextSkiaTest.trackOpaqueTest and
15739 PlatformContextSkiaTest.trackOpaqueLineTest suffers from the same
15742 Also, re-enable WebFrameTest.FindInPage which was falsely
15743 blamed for making this test fail.
15745 Reviewed by Stephen White.
15747 * tests/PlatformContextSkiaTest.cpp:
15749 * tests/WebFrameTest.cpp:
15752 2012-02-03 Dana Jansens <danakj@chromium.org>
15754 [Chromium] Use the current clip when marking paints as opaque
15755 https://bugs.webkit.org/show_bug.cgi?id=77582
15757 Reviewed by Stephen White.
15759 * tests/PlatformContextSkiaTest.cpp:
15763 2012-02-03 Yury Semikhatsky <yurys@chromium.org>
15765 Unreviewed. Update Chromium deps.
15769 2012-02-02 Tommy Widenflycht <tommyw@google.com>
15771 [chromium] MediaStream API: Adding the embedding code for MediaStreamCenter
15772 https://bugs.webkit.org/show_bug.cgi?id=73130
15774 Reviewed by Darin Fisher.
15777 * bridge/MediaStreamCenter.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15779 (WebCore::MediaStreamCenter::MediaStreamCenter):
15780 (WebCore::MediaStreamCenter::~MediaStreamCenter):
15781 (WebCore::MediaStreamCenter::queryMediaStreamSources):
15782 (WebCore::MediaStreamCenter::didSetMediaStreamTrackEnabled):
15783 (WebCore::MediaStreamCenter::didStopLocalMediaStream):
15784 (WebCore::MediaStreamCenter::didConstructMediaStream):
15785 * bridge/MediaStreamCenterInternal.cpp: Added.
15787 (WebCore::MediaStreamCenterInternal::MediaStreamCenterInternal):
15788 (WebCore::MediaStreamCenterInternal::~MediaStreamCenterInternal):
15789 (WebCore::MediaStreamCenterInternal::queryMediaStreamSources):
15790 (WebCore::MediaStreamCenterInternal::didSetMediaStreamTrackEnabled):
15791 (WebCore::MediaStreamCenterInternal::didStopLocalMediaStream):
15792 (WebCore::MediaStreamCenterInternal::didConstructMediaStream):
15793 (WebCore::MediaStreamCenterInternal::stopLocalMediaStream):
15794 * bridge/MediaStreamCenterInternal.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15797 (MediaStreamCenterInternal):
15798 * public/platform/WebKitPlatformSupport.h:
15800 (WebKit::WebKitPlatformSupport::createMediaStreamCenter):
15801 * public/platform/WebMediaStreamCenter.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15803 (WebMediaStreamCenter):
15804 (WebKit::WebMediaStreamCenter::~WebMediaStreamCenter):
15805 * public/platform/WebMediaStreamCenterClient.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15807 (WebMediaStreamCenterClient):
15808 (WebKit::WebMediaStreamCenterClient::~WebMediaStreamCenterClient):
15809 * public/platform/WebMediaStreamComponent.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15812 (WebMediaStreamComponent):
15813 (WebKit::WebMediaStreamComponent::WebMediaStreamComponent):
15814 (WebKit::WebMediaStreamComponent::~WebMediaStreamComponent):
15815 (WebKit::WebMediaStreamComponent::isNull):
15816 * public/platform/WebMediaStreamDescriptor.h:
15818 (WebMediaStreamDescriptor):
15819 * public/platform/WebMediaStreamSourcesRequest.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15822 (WebMediaStreamSourcesRequest):
15823 (WebKit::WebMediaStreamSourcesRequest::WebMediaStreamSourcesRequest):
15824 (WebKit::WebMediaStreamSourcesRequest::~WebMediaStreamSourcesRequest):
15825 (WebKit::WebMediaStreamSourcesRequest::isNull):
15826 * src/UserMediaClientImpl.h:
15827 (UserMediaClientImpl):
15828 * src/WebMediaStreamComponent.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15830 (WebKit::WebMediaStreamComponent::WebMediaStreamComponent):
15831 (WebKit::WebMediaStreamComponent::operator=):
15832 (WebKit::WebMediaStreamComponent::reset):
15833 (WebKit::WebMediaStreamComponent::operator PassRefPtr<MediaStreamComponent>):
15834 (WebKit::WebMediaStreamComponent::operator MediaStreamComponent*):
15835 (WebKit::WebMediaStreamComponent::isEnabled):
15836 (WebKit::WebMediaStreamComponent::source):
15837 * src/WebMediaStreamDescriptor.cpp:
15838 (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
15840 (WebKit::WebMediaStreamDescriptor::audioSources):
15841 (WebKit::WebMediaStreamDescriptor::videoSources):
15842 * src/WebMediaStreamSourcesRequest.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15844 (WebKit::WebMediaStreamSourcesRequest::WebMediaStreamSourcesRequest):
15845 (WebKit::WebMediaStreamSourcesRequest::reset):
15846 (WebKit::WebMediaStreamSourcesRequest::audio):
15847 (WebKit::WebMediaStreamSourcesRequest::video):
15848 (WebKit::WebMediaStreamSourcesRequest::didCompleteQuery):
15850 2012-02-02 Sheriff Bot <webkit.review.bot@gmail.com>
15852 Unreviewed. Rolled DEPS.
15856 2012-02-02 Allan Sandfeld Jensen <allan.jensen@nokia.com>
15858 Update enum name for HitTestRequest::RequestType
15859 https://bugs.webkit.org/show_bug.cgi?id=77620
15861 Reviewed by Kenneth Rohde Christiansen.
15863 * src/WebFrameImpl.cpp:
15864 (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
15866 2012-02-02 Kinuko Yasuda <kinuko@chromium.org>
15868 Cleanup: Move chrome-specific filesystem type handling code (for FileSystem API) under chromium directory (re-landing r105395)
15869 https://bugs.webkit.org/show_bug.cgi?id=76551
15871 * src/AssertMatchingEnums.cpp: Removed the matching assertion for AsyncFileSystem::External (as now we directly use WebFileSystem::TypeExternal).
15872 * src/AsyncFileSystemChromium.cpp:
15873 (WebCore::AsyncFileSystem::crackFileSystemURL): Added.
15874 (WebCore::AsyncFileSystem::isValidType): Added.
15875 (WebCore::AsyncFileSystemChromium::toURL): Added.
15876 * src/AsyncFileSystemChromium.h:
15877 (AsyncFileSystemChromium):
15878 * src/WorkerAsyncFileSystemChromium.cpp: Made this subclass of AsyncFileSystemChromium (rather than that of AsyncFileSystem)
15879 (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
15880 * src/WorkerAsyncFileSystemChromium.h:
15881 (WorkerAsyncFileSystemChromium):
15883 2012-02-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
15885 Avoid creating NamedNodeMap unnecessarily
15886 https://bugs.webkit.org/show_bug.cgi?id=77574
15888 Reviewed by Ryosuke Niwa.
15890 * src/WebPageSerializerImpl.cpp:
15891 (WebKit::WebPageSerializerImpl::openTagToString): use updatedAttributes().
15893 2012-02-01 Justin Novosad <junov@chromium.org>
15895 [Chromium] Enable deferred canvas rendering in the skia port
15896 https://bugs.webkit.org/show_bug.cgi?id=76732
15898 Reviewed by Stephen White.
15900 Adding a new setting for enabling deferred 2d canvas rendering
15902 * public/WebSettings.h:
15903 * src/WebSettingsImpl.cpp:
15904 (WebKit::WebSettingsImpl::setDeferred2dCanvasEnabled):
15906 * src/WebSettingsImpl.h:
15909 2012-02-01 Sheriff Bot <webkit.review.bot@gmail.com>
15911 Unreviewed, rolling out r106382.
15912 http://trac.webkit.org/changeset/106382
15913 https://bugs.webkit.org/show_bug.cgi?id=77571
15915 Causing chromium crashes in PNGImageDecoder (Requested by
15916 japhet on #webkit).
15918 * public/platform/WebKitPlatformSupport.h:
15919 (WebKitPlatformSupport):
15920 (WebKit::WebKitPlatformSupport::isTraceEventEnabled):
15921 (WebKit::WebKitPlatformSupport::traceEventBegin):
15922 (WebKit::WebKitPlatformSupport::traceEventEnd):
15923 * src/PlatformSupport.cpp:
15924 (WebCore::PlatformSupport::isTraceEventEnabled):
15926 (WebCore::PlatformSupport::traceEventBegin):
15927 (WebCore::PlatformSupport::traceEventEnd):
15929 2012-02-01 Dirk Pranke <dpranke@chromium.org>
15931 TestWebKitAPI isn't being built on chromium bots any more
15932 https://bugs.webkit.org/show_bug.cgi?id=77563
15934 Reviewed by Dimitri Glazkov.
15936 I accidentally dropped it in the refactoring in r105449.
15940 2012-02-01 Hans Wennborg <hans@chromium.org>
15942 Rename WebSpeechInputResult::set() to assign()
15943 https://bugs.webkit.org/show_bug.cgi?id=77540
15945 Reviewed by Darin Fisher.
15947 It was suggested in a previous code review
15948 (https://bugs.webkit.org/show_bug.cgi?id=77083#c5)
15949 that this function should be called assign().
15951 * public/WebSpeechInputResult.h:
15952 (WebSpeechInputResult):
15953 (WebKit::WebSpeechInputResult::set):
15954 * src/WebSpeechInputResult.cpp:
15955 (WebKit::WebSpeechInputResult::assign):
15957 2012-02-01 Kent Tamura <tkent@chromium.org>
15959 [Chromium] Disable WebFrameTest.FindInPage
15960 https://bugs.webkit.org/show_bug.cgi?id=77186
15962 Disable it because PlatformContextSkiaTest.trackOpaqueOvalTest has
15963 been failing since FindInPage test was committed.
15965 * tests/WebFrameTest.cpp:
15968 2012-01-31 Ami Fischman <fischman@chromium.org>
15970 [chromium] enable -Wexit-time-destructors for webkit unit tests
15971 https://bugs.webkit.org/show_bug.cgi?id=77300
15972 Fix the only extant violation (verified by building webkit_unit_tests in static build).
15974 Reviewed by Tony Chang.
15976 * WebKitUnitTests.gyp:
15977 * tests/FrameTestHelpers.cpp:
15978 (WebKit::FrameTestHelpers::defaultWebFrameClient):
15979 (WebKit::FrameTestHelpers::defaultWebViewClient):
15981 2012-01-31 Nico Weber <thakis@chromium.org>
15983 [chromium] Expose windowResizerRectChanged() on WebWidget.
15984 https://bugs.webkit.org/show_bug.cgi?id=77453
15986 Needed for http://crbug.com/111266
15988 Reviewed by Darin Fisher.
15990 * public/WebWidget.h:
15992 (WebKit::WebWidget::didChangeWindowResizerRect):
15993 * src/WebViewImpl.cpp:
15994 (WebKit::WebViewImpl::didChangeWindowResizerRect):
15996 * src/WebViewImpl.h:
15999 2012-01-31 Nat Duca <nduca@chromium.org>
16001 [chromium] Import PaintAggregator
16002 https://bugs.webkit.org/show_bug.cgi?id=53715
16004 Reviewed by Darin Fisher.
16008 * src/painting/PaintAggregator.cpp: Added.
16009 (WebKit::calculateArea):
16010 (WebKit::subtractIntersection):
16011 (WebKit::sharesEdge):
16012 (WebKit::PaintAggregator::PendingUpdate::PendingUpdate):
16013 (WebKit::PaintAggregator::PendingUpdate::~PendingUpdate):
16014 (WebKit::PaintAggregator::PendingUpdate::calculateScrollDamage):
16015 (WebKit::PaintAggregator::PendingUpdate::calculatePaintBounds):
16016 (WebKit::PaintAggregator::hasPendingUpdate):
16017 (WebKit::PaintAggregator::clearPendingUpdate):
16018 (WebKit::PaintAggregator::popPendingUpdate):
16019 (WebKit::PaintAggregator::invalidateRect):
16020 (WebKit::PaintAggregator::scrollRect):
16021 (WebKit::PaintAggregator::scrollPaintRect):
16022 (WebKit::PaintAggregator::shouldInvalidateScrollRect):
16023 (WebKit::PaintAggregator::invalidateScrollRect):
16024 (WebKit::PaintAggregator::combinePaintRects):
16025 * src/painting/PaintAggregator.h: Added.
16026 * tests/PaintAggregatorTest.cpp: Added.
16029 2012-01-31 Fady Samuel <fsamuel@chromium.org>
16031 [Chromium] ChromeClientImpl::dispatchViewportPropertiesDidChange is repeatedly called in Google News
16032 https://bugs.webkit.org/show_bug.cgi?id=77429
16034 Reviewed by Darin Fisher.
16036 m_webView->isPageScaleFactorSet() is tested in ChromeClientImpl::layoutUpdated, and it is never true,
16037 because WebViewImpl::setPageScaleFactorPreservingScrollOffset is called repeatedly and exits early
16038 and thus never calls WebViewImpl::setPageScaleFactor which sets the flag.
16040 The simplest solution is to simply get rid of the early return in
16041 WebViewImpl::setPageScaleFactorPreservingScrollOffset.
16043 * src/WebViewImpl.cpp:
16044 (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
16046 2012-01-31 Fady Samuel <fsamuel@chromium.org>
16048 [Chromium] Expose setLayoutFallbackWidth as a WebSetting
16049 https://bugs.webkit.org/show_bug.cgi?id=77431
16051 Reviewed by Darin Fisher.
16053 The layout fallback width is the default fixed layout width
16054 set for desktop web pages that lack a viewport tag. This width
16055 can vary from platform to platform and can depend on other factors,
16056 and so it should be a setting exposed to Chromium.
16058 * public/WebSettings.h:
16060 * src/WebSettingsImpl.cpp:
16061 (WebKit::WebSettingsImpl::setLayoutFallbackWidth):
16063 * src/WebSettingsImpl.h:
16066 2012-01-31 Dana Jansens <danakj@chromium.org>
16068 [chromium] Compute occlusion during paint loop
16069 https://bugs.webkit.org/show_bug.cgi?id=76858
16071 Reviewed by James Robinson.
16073 * tests/CCLayerTreeHostCommonTest.cpp:
16076 * tests/CCLayerTreeHostTest.cpp:
16077 (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
16079 (TestLayerChromium):
16080 (WTF::TestLayerChromium::create):
16081 (WTF::TestLayerChromium::paintContentsIfDirty):
16082 (WTF::TestLayerChromium::drawsContent):
16083 (WTF::TestLayerChromium::occludedScreenSpace):
16084 (WTF::TestLayerChromium::clearOccludedScreenSpace):
16085 (WTF::TestLayerChromium::TestLayerChromium):
16086 (WTF::setLayerPropertiesForTesting):
16087 (CCLayerTreeHostTestLayerOcclusion):
16088 (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion):
16089 (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
16090 (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest):
16091 * tests/Canvas2DLayerChromiumTest.cpp:
16092 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
16093 * tests/TiledLayerChromiumTest.cpp:
16094 (WTF::FakeLayerTextureUpdater::setOpaquePaintRect):
16095 (FakeLayerTextureUpdater):
16096 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
16097 (WTF::FakeLayerTextureUpdater::prepareToUpdate):
16101 2012-01-31 John Bates <jbates@google.com>
16103 [Chromium] Add chromium-style tracing support
16104 https://bugs.webkit.org/show_bug.cgi?id=76885
16106 Reviewed by Darin Fisher.
16108 This code enables WebKit trace events to pass through more data to the
16109 chromium platform tracing API and generally to use the full tracing
16110 API provided by chromium.
16112 * public/platform/WebKitPlatformSupport.h:
16113 (WebKit::WebKitPlatformSupport::getTraceCategoryEnabledFlag):
16114 (WebKit::WebKitPlatformSupport::addTraceEvent):
16115 * src/PlatformSupport.cpp:
16116 (WebCore::PlatformSupport::getTraceCategoryEnabledFlag):
16117 (WebCore::PlatformSupport::addTraceEvent):
16119 2012-01-31 Antoine Labour <piman@chromium.org>
16121 Add back temporarily WebKitPlatformSupport::createGraphicsContext3D() to fix build
16122 https://bugs.webkit.org/show_bug.cgi?id=77467
16124 Rubber-stamped by Nate Chapin <japhet@chromium.org>.
16126 * public/platform/WebKitPlatformSupport.h:
16127 (WebKitPlatformSupport):
16128 (WebKit::WebKitPlatformSupport::createGraphicsContext3D):
16130 2012-01-31 Antoine Labour <piman@chromium.org>
16132 Merge WebGraphicsContext3D creation and initialization, and move it to
16134 https://bugs.webkit.org/show_bug.cgi?id=76593
16136 Reviewed by Darin Fisher.
16138 * public/WebViewClient.h:
16139 (WebKit::WebViewClient::createGraphicsContext3D):
16140 * public/platform/WebGraphicsContext3D.h:
16141 (WebKit::WebGraphicsContext3D::initialize):
16142 * public/platform/WebKitPlatformSupport.h:
16143 * src/GraphicsContext3DChromium.cpp:
16145 2012-01-26 Hans Wennborg <hans@chromium.org>
16147 Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
16148 https://bugs.webkit.org/show_bug.cgi?id=77083
16150 Reviewed by Darin Fisher.
16152 Remove the WebSpeechInputControllerMock interface and proxy
16153 implementation. The mock is moving to the DumpRenderTree
16154 implementation instead, which removes the need to expose this
16155 interface in the WebKit API.
16157 Also add a proper copy constructor for WebSpeechInputResult.
16158 The default one doesn't do a proper copy.
16161 * public/WebSpeechInputControllerMock.h: Removed.
16162 * public/WebSpeechInputResult.h:
16163 (WebKit::WebSpeechInputResult::WebSpeechInputResult):
16164 (WebSpeechInputResult):
16165 * src/WebSpeechInputControllerMockImpl.cpp: Removed.
16166 * src/WebSpeechInputControllerMockImpl.h: Removed.
16167 * src/WebSpeechInputResult.cpp:
16168 (WebKit::WebSpeechInputResult::set):
16171 2012-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
16173 Unreviewed. Rolled DEPS.
16177 2012-01-30 Sheriff Bot <webkit.review.bot@gmail.com>
16179 Unreviewed, rolling out r106324.
16180 http://trac.webkit.org/changeset/106324
16181 https://bugs.webkit.org/show_bug.cgi?id=77406
16183 Broke CCLayerTreeHostTestLayerOcclusion.runMultiThread and
16184 runSingleThread (Requested by yuzo1 on #webkit).
16186 * tests/CCLayerTreeHostCommonTest.cpp:
16188 * tests/CCLayerTreeHostTest.cpp:
16189 (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
16190 * tests/Canvas2DLayerChromiumTest.cpp:
16191 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
16192 * tests/TiledLayerChromiumTest.cpp:
16193 (FakeLayerTextureUpdater):
16194 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
16195 (WTF::FakeLayerTextureUpdater::prepareToUpdate):
16197 2012-01-30 Dana Jansens <danakj@chromium.org>
16199 [chromium] Compute occlusion during paint loop
16200 https://bugs.webkit.org/show_bug.cgi?id=76858
16202 Reviewed by James Robinson.
16204 * tests/CCLayerTreeHostCommonTest.cpp:
16207 * tests/CCLayerTreeHostTest.cpp:
16208 (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
16210 (TestLayerChromium):
16211 (WTF::TestLayerChromium::create):
16212 (WTF::TestLayerChromium::paintContentsIfDirty):
16213 (WTF::TestLayerChromium::drawsContent):
16214 (WTF::TestLayerChromium::occludedScreenSpace):
16215 (WTF::TestLayerChromium::clearOccludedScreenSpace):
16216 (WTF::TestLayerChromium::TestLayerChromium):
16217 (WTF::setLayerPropertiesForTesting):
16218 (CCLayerTreeHostTestLayerOcclusion):
16219 (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion):
16220 (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
16221 (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest):
16222 * tests/Canvas2DLayerChromiumTest.cpp:
16223 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
16224 * tests/TiledLayerChromiumTest.cpp:
16225 (WTF::FakeLayerTextureUpdater::setOpaquePaintRect):
16226 (FakeLayerTextureUpdater):
16227 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
16228 (WTF::FakeLayerTextureUpdater::prepareToUpdate):
16232 2012-01-30 Gregg Tavares <gman@google.com>
16234 Add Plumming to get graphics error messages to JS Console
16235 https://bugs.webkit.org/show_bug.cgi?id=77238
16237 Reviewed by Kenneth Russell.
16239 * public/platform/WebGraphicsContext3D.h:
16240 (WebGraphicsErrorMessageCallback):
16241 (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
16242 (WebGraphicsContext3D):
16243 (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
16244 * src/GraphicsContext3DChromium.cpp:
16245 (WebCore::GraphicsContext3D::~GraphicsContext3D):
16247 (GraphicsErrorMessageCallbackAdapter):
16248 (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter):
16249 (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter):
16250 (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
16251 (WebCore::GraphicsErrorMessageCallbackAdapter::create):
16252 (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
16253 * src/GraphicsContext3DPrivate.h:
16257 2012-01-30 Sheriff Bot <webkit.review.bot@gmail.com>
16259 Unreviewed, rolling out r106259.
16260 http://trac.webkit.org/changeset/106259
16261 https://bugs.webkit.org/show_bug.cgi?id=77395
16263 Breaks shared builders as they also build webkittests with
16264 -Wexit-time-destructors. (Requested by leviw on #webkit).
16266 * WebKitUnitTests.gyp:
16268 2012-01-30 Dana Jansens <danakj@chromium.org>
16270 [chromium] Use region reported painted opaque for draw culling
16271 https://bugs.webkit.org/show_bug.cgi?id=76015
16273 Reviewed by James Robinson.
16275 * tests/CCLayerTreeHostImplTest.cpp:
16276 (WebKit::BlendStateCheckLayer::appendQuads):
16277 (WebKit::BlendStateCheckLayer::setOpaqueColor):
16278 (BlendStateCheckLayer):
16279 (WebKit::BlendStateCheckLayer::BlendStateCheckLayer):
16281 * tests/CCQuadCullerTest.cpp:
16282 (WebCore::MakeTileQuad):
16283 (WebCore::setQuads):
16286 * tests/CCTiledLayerImplTest.cpp:
16287 (CCLayerTestCommon::createLayer):
16288 (CCLayerTestCommon::TEST):
16289 (CCLayerTestCommon::getQuads):
16290 (CCLayerTestCommon::coverageVisibleRectOnTileBoundaries):
16291 (CCLayerTestCommon::coverageVisibleRectIntersectsTiles):
16292 (CCLayerTestCommon::coverageVisibleRectIntersectsBounds):
16293 (CCLayerTestCommon):
16295 2012-01-30 Adrienne Walker <enne@google.com>
16297 [chromium] Always pre-reserve scrollbar and scroll corner textures
16298 https://bugs.webkit.org/show_bug.cgi?id=77251
16300 Reviewed by James Robinson.
16302 * src/NonCompositedContentHost.cpp:
16303 (WebKit::reserveScrollbarLayers):
16305 (WebKit::NonCompositedContentHost::setViewport):
16307 2012-01-30 Ryosuke Niwa <rniwa@webkit.org>
16309 Roll Chromium DEPS from 119623 to 119700.
16313 2012-01-30 Beth Dakin <bdakin@apple.com>
16315 https://bugs.webkit.org/show_bug.cgi?id=77263
16316 PlatformScreenMac should not rely on NSWindow for important bits of data
16318 Reviewed by Geoff Garen.
16320 These two functions now take a FrameView instead of a Widget.
16321 * src/PlatformSupport.cpp:
16322 (WebCore::PlatformSupport::screenRect):
16323 (WebCore::PlatformSupport::screenAvailableRect):
16325 2012-01-30 Ami Fischman <fischman@chromium.org>
16327 [chromium] enable -Wexit-time-destructors for webkit unit tests
16328 https://bugs.webkit.org/show_bug.cgi?id=77300
16330 Reviewed by Tony Chang.
16332 * WebKitUnitTests.gyp: Enable clang check for exit time destructors.
16334 2012-01-30 Tommy Widenflycht <tommyw@google.com>
16336 [chromium] MediaStream API: Fix a few memory leaks
16337 https://bugs.webkit.org/show_bug.cgi?id=77334
16339 Reviewed by Darin Fisher.
16341 It seems that either the behaviour of WebPrivatePtr has changed or I misunderstood
16342 something, but I fixed a memory leak in WebMediaStreamDescriptor and safeguarded
16343 WebMediaStreamSource.
16345 * public/platform/WebMediaStreamDescriptor.h:
16346 (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
16347 * public/platform/WebMediaStreamSource.h:
16348 (WebKit::WebMediaStreamSource::WebMediaStreamSource):
16349 (WebKit::WebMediaStreamSource::operator=):
16350 (WebMediaStreamSource):
16351 * src/WebMediaStreamDescriptor.cpp:
16352 (WebKit::WebMediaStreamDescriptor::assign):
16353 * src/WebMediaStreamSource.cpp:
16354 (WebKit::WebMediaStreamSource::assign):
16357 2012-01-30 Jochen Eisinger <jochen@chromium.org>
16359 [chromium] remove exit time destructors from TextureManagerTest
16360 https://bugs.webkit.org/show_bug.cgi?id=77333
16362 Reviewed by Tony Gentilcore.
16364 Non-trivial, global objects require an at-exit time destructor which add
16365 unnecessary complexity and delays to shutdown.
16367 * tests/FakeCCLayerTreeHostClient.h: added newline at EOF
16368 * tests/TextureManagerTest.cpp:
16369 (WTF::FakeTextureAllocator::~FakeTextureAllocator):
16370 (TextureManagerTest):
16371 (WTF::TextureManagerTest::TextureManagerTest):
16372 (WTF::TextureManagerTest::~TextureManagerTest):
16373 (WTF::TextureManagerTest::texturesMemorySize):
16374 (WTF::TextureManagerTest::createTextureManager):
16375 (WTF::TextureManagerTest::requestTexture):
16378 2012-01-30 Hans Wennborg <hans@chromium.org>
16380 Unreviewed, rolling out r106219.
16381 http://trac.webkit.org/changeset/106219
16382 https://bugs.webkit.org/show_bug.cgi?id=77083
16384 This broke Chromium's test_shell.
16387 * public/WebSpeechInputControllerMock.h: Added.
16389 (WebSpeechInputControllerMock):
16390 (WebKit::WebSpeechInputControllerMock::~WebSpeechInputControllerMock):
16391 * public/WebSpeechInputResult.h:
16392 (WebSpeechInputResult):
16393 * src/WebSpeechInputControllerMockImpl.cpp: Added.
16395 (WebKit::WebSpeechInputControllerMock::create):
16396 (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
16397 (WebKit::WebSpeechInputControllerMockImpl::~WebSpeechInputControllerMockImpl):
16398 (WebKit::WebSpeechInputControllerMockImpl::addMockRecognitionResult):
16399 (WebKit::WebSpeechInputControllerMockImpl::clearResults):
16400 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecording):
16401 (WebKit::WebSpeechInputControllerMockImpl::didCompleteRecognition):
16402 (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
16403 (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
16404 (WebKit::WebSpeechInputControllerMockImpl::cancelRecognition):
16405 (WebKit::WebSpeechInputControllerMockImpl::stopRecording):
16406 * src/WebSpeechInputControllerMockImpl.h: Added.
16409 (WebSpeechInputControllerMockImpl):
16410 * src/WebSpeechInputResult.cpp:
16412 2012-01-26 Hans Wennborg <hans@chromium.org>
16414 Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
16415 https://bugs.webkit.org/show_bug.cgi?id=77083
16417 Reviewed by Darin Fisher.
16419 Remove the WebSpeechInputControllerMock interface and proxy
16420 implementation. The mock is moving to the DumpRenderTree
16421 implementation instead, which removes the need to expose this
16422 interface in the WebKit API.
16424 Also add a proper copy constructor for WebSpeechInputResult.
16425 The default one doesn't do a proper copy.
16428 * public/WebSpeechInputControllerMock.h: Removed.
16429 * public/WebSpeechInputResult.h:
16430 (WebKit::WebSpeechInputResult::WebSpeechInputResult):
16431 (WebSpeechInputResult):
16432 * src/WebSpeechInputControllerMockImpl.cpp: Removed.
16433 * src/WebSpeechInputControllerMockImpl.h: Removed.
16434 * src/WebSpeechInputResult.cpp:
16435 (WebKit::WebSpeechInputResult::set):
16438 2012-01-29 Kent Tamura <tkent@chromium.org>
16440 [Chromium] REGRESSION(r87067): WebFrame::setFindEndstateFocusAndSelection()
16441 doesn't set the selection for <input> and <textarea>
16442 https://bugs.webkit.org/show_bug.cgi?id=77186
16444 Reviewed by Hajime Morita.
16446 When the find-in-page box is closed, WebFrame::stopFinding(false) is
16447 called. It calls setFindEndstateFocusAndSelection(). Before r87067,
16448 m_activeMatch was stored as the normal selection in <input> or
16449 <textarea> by accident. r87067 stopped this accidental behavior.
16451 However the behavior of pre-r87067 is useful and we should support it
16452 for contentEditable elements too.
16454 * src/WebFrameImpl.cpp:
16455 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
16456 - Add special handing for <input> and <textarea> to find a focusable parent.
16457 - Sets the active match as the selection even if a focusable parent is found.
16458 * tests/WebFrameTest.cpp:
16459 (WebKit::TEST_F): Add tests for find() and stopFinding().
16460 * tests/data/find.html: Added.
16462 2012-01-29 Nico Weber <nicolasweber@gmx.de>
16464 [chromium/mac] Fix two-finger scrolling
16465 https://bugs.webkit.org/show_bug.cgi?id=77316
16467 http://trac.webkit.org/changeset/106021/trunk changed the phase enums
16468 to match AppKit. This changes WebMouseWheelEvent accordingly.
16470 No tests, because DRT doesn't support synthetic scroll events with
16473 Reviewed by Anders Carlsson.
16475 * public/WebInputEvent.h:
16476 * src/mac/WebInputEventFactory.mm:
16478 2012-01-28 Sheriff Bot <webkit.review.bot@gmail.com>
16480 Unreviewed. Rolled DEPS.
16484 2012-01-28 Nico Weber <thakis@chromium.org>
16486 [chromium] Add support for building standalone webkit/chromium checkouts with ninja.
16487 https://bugs.webkit.org/show_bug.cgi?id=77243
16489 Reviewed by Adam Barth.
16493 2012-01-27 Jeff Timanus <twiz@chromium.org>
16495 [chromium] Increase the size of the Ganesh texture cache to prevent performance problems on advanced Canvas2D pages.
16496 The cache was previously 50 MB; it is now 96 MB.
16498 Bug 76666 - Ganesh's Texture Cache is too small
16499 https://bugs.webkit.org/show_bug.cgi?id=76666
16501 Reviewed by Stephen White.
16503 * src/GraphicsContext3DChromium.cpp:
16504 (WebCore::GraphicsContext3DPrivate::grContext):
16506 2012-01-27 Adrienne Walker <enne@google.com>
16508 [chromium] Don't ever skip drawing the non-composited content layer
16509 https://bugs.webkit.org/show_bug.cgi?id=77236
16511 Reviewed by James Robinson.
16513 This is a tiny fix. If the non-composited content layer never gets
16514 painted, then the background color never gets set and it is just
16517 * src/WebViewImpl.cpp:
16518 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
16520 2012-01-27 Fady Samuel <fsamuel@chromium.org>
16522 Rename shouldLayoutFixedElementsRelativeToFrame and make it a setting
16523 https://bugs.webkit.org/show_bug.cgi?id=76459
16525 Reviewed by Darin Fisher.
16527 * public/WebSettings.h:
16529 * public/WebView.h:
16531 * src/WebSettingsImpl.cpp:
16532 (WebKit::WebSettingsImpl::setFixedElementsLayoutRelativeToFrame):
16534 * src/WebSettingsImpl.h:
16536 * src/WebViewImpl.cpp:
16537 * src/WebViewImpl.h:
16540 2012-01-24 Vincent Scheib <scheib@chromium.org>
16542 Pointer Lock: Implement pointer interface
16543 https://bugs.webkit.org/show_bug.cgi?id=75762
16545 Add calls to the PointerLockController added in this patch to WebCore.
16547 * src/WebViewImpl.cpp:
16548 (WebKit::WebViewImpl::close):
16549 (WebKit::WebViewImpl::didAcquirePointerLock):
16550 (WebKit::WebViewImpl::didNotAcquirePointerLock):
16551 (WebKit::WebViewImpl::didLosePointerLock):
16552 (WebKit::WebViewImpl::pointerLockMouseEvent):
16554 2012-01-26 Kent Tamura <tkent@chromium.org>
16556 [Chromium] Cleanup of WebPopupMenuImpl
16557 https://bugs.webkit.org/show_bug.cgi?id=76441
16559 Reviewed by Kentaro Hara.
16561 Removed WebPopupMenuImpl::invalidateContents() and scrollRectIntoView()
16562 because they were removed from HostWindow in r58445 and r55864. They
16563 were found by OVERRIDE.
16565 * src/ChromeClientImpl.cpp:
16566 (WebKit::ChromeClientImpl::popupOpened): Rename WebPopupMenuImpl::Init().
16567 * src/WebPopupMenuImpl.cpp:
16568 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl): Update a comment.
16569 (WebKit::WebPopupMenuImpl::init): Renamed from Init(). Update a comment.
16570 (WebKit::WebPopupMenuImpl::handleMouseMove): Prepend "handle" to the name.
16571 (WebKit::WebPopupMenuImpl::handleMouseLeave): ditto.
16572 (WebKit::WebPopupMenuImpl::handleMouseDown): ditto.
16573 (WebKit::WebPopupMenuImpl::handleMouseUp): ditto.
16574 (WebKit::WebPopupMenuImpl::handleMouseWheel): ditto.
16575 (WebKit::WebPopupMenuImpl::handleGestureEvent): ditto.
16576 (WebKit::WebPopupMenuImpl::handleTouchEvent): ditto.
16577 (WebKit::WebPopupMenuImpl::handleKeyEvent): ditto.
16578 (WebKit::WebPopupMenuImpl::close): Update a comment.
16579 (WebKit::WebPopupMenuImpl::composite): Remove a unused argument name.
16580 (WebKit::WebPopupMenuImpl::handleInputEvent): Update a comment. Update callsites for handle*().
16581 (WebKit::WebPopupMenuImpl::setFocus): Remove a unused argument name.
16582 (WebKit::WebPopupMenuImpl::setComposition): ditto.
16583 (WebKit::WebPopupMenuImpl::confirmComposition): ditto.
16584 (WebKit::WebPopupMenuImpl::setTextDirection): ditto.
16585 (WebKit::WebPopupMenuImpl::scroll): Unfold folded lines.
16586 * src/WebPopupMenuImpl.h:
16587 - Remove useless argument names.
16590 2012-01-26 W. James MacLean <wjmaclean@chromium.org>
16592 [chromium] Allow modification of size of partially occluded quads.
16593 https://bugs.webkit.org/show_bug.cgi?id=76349
16595 Reviewed by James Robinson.
16597 * tests/CCQuadCullerTest.cpp:
16598 (WebCore::makeTileQuads)
16599 (WebCore::setQuads):
16602 2012-01-26 Michal Mocny <mmocny@google.com>
16604 [chromium] Revert changes which added setResourceUsageCHROMIUM gl extension since feature changed directions
16605 https://bugs.webkit.org/show_bug.cgi?id=77120
16607 Reviewed by Kenneth Russell.
16609 * public/platform/WebGraphicsContext3D.h:
16610 (WebGraphicsContext3D):
16611 * src/GraphicsContext3DChromium.cpp:
16613 * tests/FakeWebGraphicsContext3D.h:
16614 (WebKit::FakeWebGraphicsContext3D::setVisibilityCHROMIUM):
16616 2012-01-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
16618 Add GestureTapDown and GestureDoubleTap gesture types to WebGestureEvent.
16619 https://bugs.webkit.org/show_bug.cgi?id=77140
16621 Reviewed by Darin Fisher.
16623 * public/WebInputEvent.h:
16625 * src/WebInputEventConversion.cpp:
16626 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
16627 * src/WebPopupMenuImpl.cpp:
16628 (WebKit::WebPopupMenuImpl::handleInputEvent):
16629 * src/WebViewImpl.cpp:
16630 (WebKit::WebViewImpl::handleInputEvent):
16632 2012-01-25 Cris Neckar <cdn@chromium.org>
16634 Add API to register schemes which can be sent simple CORS requests.
16635 https://bugs.webkit.org/show_bug.cgi?id=77041
16637 Reviewed by Alexey Proskuryakov.
16639 * public/WebSecurityPolicy.h:
16640 (WebSecurityPolicy):
16641 * src/WebSecurityPolicy.cpp:
16642 (WebKit::WebSecurityPolicy::registerCORSEnabledScheme):
16645 2012-01-10 James Robinson <jamesr@chromium.org>
16647 [chromium] Add enter/exitRunLoop to WebThread API
16648 https://bugs.webkit.org/show_bug.cgi?id=76012
16650 Reviewed by Darin Fisher.
16652 This adds those two APIs to WebKit::WebThread and converts CCLayerTreeHostTest over to use these APIs instead
16653 of webkit_support. The immediate motivation is that we can't use webkit_support in webkit_unit_tests in the
16657 * public/platform/WebThread.h:
16658 * tests/CCLayerTreeHostTest.cpp:
16659 (WTF::CCLayerTreeHostTest::onEndTest):
16660 (WTF::CCLayerTreeHostTest::TimeoutTask::run):
16661 (WTF::CCLayerTreeHostTest::BeginTask::BeginTask):
16662 (WTF::CCLayerTreeHostTest::BeginTask::~BeginTask):
16663 (WTF::CCLayerTreeHostTest::BeginTask::run):
16664 (WTF::CCLayerTreeHostTest::runTest):
16666 2012-01-26 John Bates <jbates@google.com>
16668 Roll chromium_rev to 119248
16669 https://bugs.webkit.org/show_bug.cgi?id=77124
16671 Reviewed by James Robinson.
16675 2012-01-25 Greg Billock <gbillock@google.com>
16677 Add IntentRequest include for FrameLoaderClientImpl.
16678 https://bugs.webkit.org/show_bug.cgi?id=77039
16680 Reviewed by Darin Fisher.
16682 * src/FrameLoaderClientImpl.cpp:
16684 2012-01-25 Daniel Cheng <dcheng@chromium.org>
16686 [chromium] Fix ClipboardChromium::validateFilename to actually operate on extensions
16687 https://bugs.webkit.org/show_bug.cgi?id=76996
16689 Reviewed by Tony Chang.
16692 * tests/ClipboardChromiumTest.cpp: Added.
16696 2012-01-25 James Robinson <jamesr@chromium.org>
16698 [chromium] Rollout r100751, this mechanism does not work and is very slow
16699 https://bugs.webkit.org/show_bug.cgi?id=77055
16701 Unreviewed rollout of http://trac.webkit.org/changeset/100751. The refresh rate mechanism is not implemented,
16702 but it still triggers a very slow codepath and triggers races on some platforms.
16704 * public/WebScreenInfo.h:
16706 (WebKit::WebScreenInfo::WebScreenInfo):
16707 * src/PlatformSupport.cpp:
16708 * src/WebViewImpl.cpp:
16709 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
16710 * tests/CCLayerTreeHostTest.cpp:
16711 (WTF::CCLayerTreeHostTest::runTest):
16713 2012-01-25 Eric Uhrhane <ericu@chromium.org>
16715 Add full support for filesystem URLs.
16716 https://bugs.webkit.org/show_bug.cgi?id=75049
16718 Reviewed by Adam Barth.
16720 No new tests; existing layout tests cover the basic functionality, and
16721 the new functionality won't be there until Chromium adds it. This patch
16722 merely enables that, without changing behavior.
16724 * tests/KURLTest.cpp:
16725 TEST(KURLTest, Encode): Update expectation that '/' sails through unescaped.
16727 2012-01-25 Joshua Bell <jsbell@chromium.org>
16729 IndexedDB: Need to distinguish key paths that don't yield value vs. yield invalid key
16730 https://bugs.webkit.org/show_bug.cgi?id=76487
16732 Added a NullType to represent a null IDBKey pointer. This is needed to distinguish the
16733 cases in the spec where the key resolution algorithm returns no value (null) versus
16734 returns a value but that value is not a valid key (invalid).
16736 Reviewed by Tony Chang.
16738 * public/WebIDBKey.h:
16739 * src/WebIDBKey.cpp:
16740 (WebKit::WebIDBKey::createNull): Added.
16741 (WebKit::WebIDBKey::createFromValueAndKeyPath): Now returns null if value is null.
16742 (WebKit::convertFromWebIDBKeyArray): Null keys should never exist within arrays.
16743 (WebKit::WebIDBKey::assignInvalid):
16744 (WebKit::WebIDBKey::assignNull):
16745 (WebKit::WebIDBKey::type):
16747 2012-01-24 Vsevolod Vlasov <vsevik@chromium.org>
16749 Unreviewed chromium test fix.
16752 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
16753 (.TestSuite.prototype._waitUntilScriptsAreParsed):
16755 2012-01-24 Vangelis Kokkevis <vangelis@chromium.org>
16757 Adding a test to verify that m_skipsDraw gets reset between frames for
16759 https://bugs.webkit.org/show_bug.cgi?id=76735
16761 Reviewed by James Robinson.
16764 * tests/FakeCCLayerTreeHostClient.h: Added.
16765 (WebCore::FakeCCLayerTreeHostClient::updateAnimations):
16766 (WebCore::FakeCCLayerTreeHostClient::layout):
16767 (WebCore::FakeCCLayerTreeHostClient::applyScrollAndScale):
16768 (WebCore::FakeCCLayerTreeHostClient::createLayerTreeHostContext3D):
16769 (WebCore::FakeCCLayerTreeHostClient::didRecreateGraphicsContext):
16770 (WebCore::FakeCCLayerTreeHostClient::didCommitAndDrawFrame):
16771 (WebCore::FakeCCLayerTreeHostClient::didCompleteSwapBuffers):
16772 (WebCore::FakeCCLayerTreeHostClient::scheduleComposite):
16773 * tests/LayerChromiumTest.cpp:
16774 * tests/TiledLayerChromiumTest.cpp:
16775 (WTF::FakeTiledLayerChromium::skipsDraw):
16776 (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
16779 2012-01-24 Dmitry Lomov <dslomov@google.com>
16781 Unreviewed: removing WebWorker.h again after r105684.
16785 2012-01-24 Tommy Widenflycht <tommyw@google.com>
16787 MediaStream API: Split the MediaStream track list into audio/video specific ones.
16788 https://bugs.webkit.org/show_bug.cgi?id=76614
16790 Reviewed by Darin Fisher.
16792 * public/WebUserMediaClient.h:
16793 (WebKit::WebUserMediaClient::requestUserMedia):
16794 * public/WebUserMediaRequest.h:
16795 * public/platform/WebMediaStreamDescriptor.h:
16796 * src/UserMediaClientImpl.cpp:
16797 (WebKit::UserMediaClientImpl::requestUserMedia):
16798 * src/UserMediaClientImpl.h:
16799 * src/WebMediaStreamDescriptor.cpp:
16800 (WebKit::WebMediaStreamDescriptor::sources):
16801 (WebKit::WebMediaStreamDescriptor::audioSources):
16802 (WebKit::WebMediaStreamDescriptor::videoSources):
16803 (WebKit::WebMediaStreamDescriptor::initialize):
16804 * src/WebUserMediaRequest.cpp:
16805 (WebKit::WebUserMediaRequest::requestSucceeded):
16807 2012-01-23 Simon Fraser <simon.fraser@apple.com>
16809 Show layer borders for scrollbar layers
16810 https://bugs.webkit.org/show_bug.cgi?id=76888
16812 Reviewed by Beth Dakin.
16814 Update for new signature of GraphicsLayerClient::showDebugBorders()
16815 and GraphicsLayerClient::showRepaintCounter().
16817 * src/NonCompositedContentHost.cpp:
16818 (WebKit::NonCompositedContentHost::showDebugBorders):
16819 (WebKit::NonCompositedContentHost::showRepaintCounter):
16820 * src/NonCompositedContentHost.h:
16821 * src/PageOverlay.cpp:
16822 (WebKit::OverlayGraphicsLayerClientImpl::showDebugBorders):
16823 (WebKit::OverlayGraphicsLayerClientImpl::showRepaintCounter):
16824 * tests/ImageLayerChromiumTest.cpp:
16825 (WebCore::MockGraphicsLayerClient::showDebugBorders):
16826 (WebCore::MockGraphicsLayerClient::showRepaintCounter):
16828 2012-01-24 Vincent Scheib <scheib@chromium.org>
16830 [Chromium] Add WebKit API for Pointer Lock
16831 https://bugs.webkit.org/show_bug.cgi?id=76410
16833 Reviewed by Darin Fisher.
16835 Breaking up https://bugs.webkit.org/show_bug.cgi?id=75762
16836 into a series of patches, this stubs out the API.
16838 * public/WebWidget.h:
16839 (WebKit::WebWidget::didCompletePointerLock):
16840 (WebKit::WebWidget::didNotCompletePointerLock):
16841 (WebKit::WebWidget::didLosePointerLock):
16842 * public/WebWidgetClient.h:
16843 (WebKit::WebWidgetClient::requestPointerLock):
16844 (WebKit::WebWidgetClient::requestPointerUnlock):
16845 (WebKit::WebWidgetClient::isPointerLocked):
16846 * src/ChromeClientImpl.cpp:
16847 (WebKit::ChromeClientImpl::requestPointerLock):
16848 (WebKit::ChromeClientImpl::requestPointerUnlock):
16849 (WebKit::ChromeClientImpl::isPointerLocked):
16850 * src/ChromeClientImpl.h:
16851 * src/WebViewImpl.cpp:
16852 (WebKit::WebViewImpl::handleInputEvent):
16853 (WebKit::WebViewImpl::didCompletePointerLock):
16854 (WebKit::WebViewImpl::didNotCompletePointerLock):
16855 (WebKit::WebViewImpl::didLosePointerLock):
16856 (WebKit::WebViewImpl::requestPointerLock):
16857 (WebKit::WebViewImpl::requestPointerUnlock):
16858 (WebKit::WebViewImpl::isPointerLocked):
16859 (WebKit::WebViewImpl::pointerLockMouseEvent):
16860 * src/WebViewImpl.h:
16862 2012-01-23 Sheriff Bot <webkit.review.bot@gmail.com>
16864 Unreviewed. Rolled DEPS.
16868 2012-01-23 Tom Sepez <tsepez@chromium.org>
16870 [chromium] Clean up old WebSharedWorker::startWorkerContext() method.
16871 https://bugs.webkit.org/show_bug.cgi?id=76853
16873 Reviewed by Darin Fisher.
16875 * public/WebSharedWorker.h:
16876 * src/WebSharedWorkerImpl.cpp:
16877 * src/WebSharedWorkerImpl.h:
16879 2012-01-23 Dmitry Lomov <dslomov@google.com>
16881 [Chromium] Implement layoutTestController.workerThreadCount in DRT
16882 https://bugs.webkit.org/show_bug.cgi?id=74653.
16883 Expose WebCore::WorkerThread::workerThreadCount() in API layer
16884 for DumpRenderTree.
16886 Reviewed by Darin Fisher.
16889 * public/WebWorkerInfo.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
16890 * src/WebWorkerInfo.cpp: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
16891 (WebKit::WebWorkerInfo::dedicatedWorkerCount):
16893 2012-01-23 Greg Billock <gbillock@google.com>
16895 Fine tune Web Intents Chromium API
16896 https://bugs.webkit.org/show_bug.cgi?id=76754
16898 Reviewed by Darin Fisher.
16900 * public/WebIntent.h:
16901 * public/WebIntentServiceInfo.h:
16902 * src/WebIntent.cpp:
16903 * src/WebIntentServiceInfo.cpp:
16904 (WebKit::WebIntentServiceInfo::WebIntentServiceInfo):
16906 2012-01-23 Shawn Singh <shawnsingh@chromium.org>
16908 [chromium] updateRect is incorrect when contentBounds != bounds
16909 https://bugs.webkit.org/show_bug.cgi?id=72919
16911 Reviewed by James Robinson.
16913 * tests/TiledLayerChromiumTest.cpp:
16914 (WTF::FakeTiledLayerWithScaledBounds::FakeTiledLayerWithScaledBounds):
16915 (WTF::FakeTiledLayerWithScaledBounds::setContentBounds):
16916 (WTF::FakeTiledLayerWithScaledBounds::contentBounds):
16917 (WTF::FakeTiledLayerWithScaledBounds::updateRect):
16920 2012-01-23 Takashi Toyoshima <toyoshim@chromium.org>
16922 [Chromium][WebSocket] Remove binary communication using WebData in WebKit API
16923 https://bugs.webkit.org/show_bug.cgi?id=76608
16925 Reviewed by Darin Fisher.
16927 * public/WebSocket.h: Remove BinaryTypeData definition and sendBinary(const WebData&).
16928 * public/WebSocketClient.h: Remove didReceiveBinaryData(const WebData&).
16929 * src/WebSocketImpl.cpp: Remove WebData related code and set default binary type as BinaryTypeBlob.
16930 (WebKit::WebSocketImpl::WebSocketImpl): Remove sendBinary(const WebData&).
16931 (WebKit::WebSocketImpl::didReceiveBinaryData): Remove WebData supporting code.
16932 * src/WebSocketImpl.h: Remove sendBinary(const WebData&).
16934 2012-01-23 James Robinson <jamesr@chromium.org>
16936 [chromium] Add <(SHARED_INTERMEDIATE_DIR)/webkit to include path of targets that depend on WebKit API so they pick up the copied headers in an onion build
16937 https://bugs.webkit.org/show_bug.cgi?id=76879
16939 Reviewed by Dirk Pranke.
16943 2012-01-23 Stephen White <senorblanco@chromium.org>
16945 Unreviewed, rolling out r105640.
16946 http://trac.webkit.org/changeset/105640
16947 https://bugs.webkit.org/show_bug.cgi?id=76849
16949 Broke the chromium build.
16953 2012-01-23 Justin Novosad <junov@chromium.org>
16955 rolling chromium DEPS to r118713
16956 https://bugs.webkit.org/show_bug.cgi?id=76849
16958 Reviewed by Stephen White.
16960 This is to pick up a change to skia build configuration
16964 2012-01-23 Xianzhu Wang <wangxianzhu@chromium.org>
16966 Basic enhancements to StringBuilder
16967 https://bugs.webkit.org/show_bug.cgi?id=67081
16969 This change is because we explicitly disallowed StringBuilder's
16970 copy constructor and assignment operator.
16972 Reviewed by Darin Adler.
16974 No new tests. All layout tests and unit tests should run as before.
16976 * src/WebPageSerializerImpl.cpp:
16977 (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
16979 2012-01-23 W. James MacLean <wjmaclean@chromium.org>
16981 [chromium] Add WebSolidColorLayer interface to draw non-textured color layers from Aura.
16982 https://bugs.webkit.org/show_bug.cgi?id=75732
16984 Reviewed by James Robinson.
16988 * public/platform/WebSolidColorLayer.h: Added.
16989 * src/WebSolidColorLayer.cpp: Added.
16990 (WebKit::WebSolidColorLayer::create):
16991 (WebKit::WebSolidColorLayer::WebSolidColorLayer):
16992 (WebKit::WebSolidColorLayer::setBackgroundColor):
16993 * src/WebSolidColorLayerImpl.cpp: Added.
16994 (WebKit::WebSolidColorLayerImpl::create):
16995 (WebKit::WebSolidColorLayerImpl::WebSolidColorLayerImpl):
16996 (WebKit::WebSolidColorLayerImpl::~WebSolidColorLayerImpl):
16997 * src/WebSolidColorLayerImpl.h: Added.
16998 * tests/CCLayerTestCommon.cpp: Added.
16999 (CCLayerTestCommon::completelyContains):
17000 (CCLayerTestCommon::verifyQuadsExactlyCoverRect):
17001 * tests/CCLayerTestCommon.h: Added.
17002 * tests/CCSolidColorLayerImplTest.cpp: Added.
17003 (CCLayerTestCommon::TEST):
17004 * tests/CCTiledLayerImplTest.cpp:
17006 2012-01-20 Pavel Feldman <pfeldman@google.com>
17008 Web Inspector: PageAgent.open() dosen't belong to the protocol.
17009 https://bugs.webkit.org/show_bug.cgi?id=74790
17011 Reviewed by Yury Semikhatsky.
17013 * public/WebDevToolsFrontendClient.h:
17014 (WebKit::WebDevToolsFrontendClient::openInNewTab):
17015 * src/InspectorFrontendClientImpl.cpp:
17016 (WebKit::InspectorFrontendClientImpl::openInNewTab):
17017 (WebKit::InspectorFrontendClientImpl::saveAs):
17018 * src/InspectorFrontendClientImpl.h:
17020 2012-01-21 David Reveman <reveman@chromium.org>
17022 [Chromium] Incremental texture updates are not atomic.
17023 https://bugs.webkit.org/show_bug.cgi?id=72672
17025 Reviewed by Adam Barth.
17027 Add CCLayerTreeHostTestAtomicCommit test that verifies atomicity
17030 * tests/CCLayerTreeHostTest.cpp:
17031 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::create):
17032 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::createTexture):
17033 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::deleteTexture):
17034 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::bindTexture):
17035 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numTextures):
17036 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::texture):
17037 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetTextures):
17038 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numUsedTextures):
17039 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::usedTexture):
17040 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetUsedTextures):
17041 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::CompositorFakeWebGraphicsContext3DWithTextureTracking):
17042 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
17043 (WTF::MockContentLayerDelegate::drawsContent):
17044 (WTF::MockContentLayerDelegate::paintContents):
17045 (WTF::MockContentLayerDelegate::notifySyncRequired):
17046 (WTF::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
17047 (WTF::CCLayerTreeHostTestAtomicCommit::beginTest):
17048 (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
17049 (WTF::CCLayerTreeHostTestAtomicCommit::drawLayersOnCCThread):
17050 (WTF::CCLayerTreeHostTestAtomicCommit::layout):
17051 (WTF::CCLayerTreeHostTestAtomicCommit::afterTest):
17053 * tests/CompositorFakeWebGraphicsContext3D.h:
17055 2012-01-21 Sheriff Bot <webkit.review.bot@gmail.com>
17057 Unreviewed, rolling out r105564.
17058 http://trac.webkit.org/changeset/105564
17059 https://bugs.webkit.org/show_bug.cgi?id=76792
17061 Does not compile on Chromium Mac (Requested by abarth on
17064 * tests/CCLayerTreeHostTest.cpp:
17065 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
17066 * tests/CompositorFakeWebGraphicsContext3D.h:
17068 2012-01-20 Alexandre Elias <aelias@google.com>
17070 [chromium] Write unit tests for compositor-thread zooming
17071 https://bugs.webkit.org/show_bug.cgi?id=71529
17073 Reviewed by James Robinson.
17075 Add unit tests for pinch zoom and page scale animation. Includes
17076 small cleanups in CCLayerTreeHostImpl for testability.
17078 * tests/CCLayerTreeHostImplTest.cpp:
17079 (WebKit::CCLayerTreeHostImplTest::setupScrollAndContentsLayers):
17082 2012-01-20 David Reveman <reveman@chromium.org>
17084 [Chromium] Incremental texture updates are not atomic.
17085 https://bugs.webkit.org/show_bug.cgi?id=72672
17087 Reviewed by James Robinson.
17089 Add CCLayerTreeHostTestAtomicCommit test that verifies atomicity
17092 * tests/CCLayerTreeHostTest.cpp:
17093 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::create):
17094 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::createTexture):
17095 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::deleteTexture):
17096 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::bindTexture):
17097 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numTextures):
17098 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::texture):
17099 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetTextures):
17100 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numUsedTextures):
17101 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::usedTexture):
17102 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetUsedTextures):
17103 (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::CompositorFakeWebGraphicsContext3DWithTextureTracking):
17104 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
17105 (WTF::MockContentLayerDelegate::drawsContent):
17106 (WTF::MockContentLayerDelegate::paintContents):
17107 (WTF::MockContentLayerDelegate::notifySyncRequired):
17108 (WTF::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
17109 (WTF::CCLayerTreeHostTestAtomicCommit::beginTest):
17110 (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
17111 (WTF::CCLayerTreeHostTestAtomicCommit::drawLayersOnCCThread):
17112 (WTF::CCLayerTreeHostTestAtomicCommit::layout):
17113 (WTF::CCLayerTreeHostTestAtomicCommit::afterTest):
17115 * tests/CompositorFakeWebGraphicsContext3D.h:
17117 2012-01-20 Ami Fischman <fischman@chromium.org>
17119 Small cleanup of {get,put}CurrentFrame for WebMediaPlayerClientImpl/CCVideoLayerImpl.
17120 https://bugs.webkit.org/show_bug.cgi?id=76332
17122 Reviewed by James Robinson.
17124 * src/WebMediaPlayerClientImpl.cpp:
17125 (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
17126 (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
17128 2012-01-20 Ryosuke Niwa <rniwa@webkit.org>
17130 Roll Chromium DEPS from 118291 to 118493.
17134 2012-01-20 Ryosuke Niwa <rniwa@webkit.org>
17136 Revert r105545. Something got broken about gclient/gyp but I can't figure out what.
17140 2012-01-20 Ryosuke Niwa <rniwa@webkit.org>
17142 Roll Chromium DEPS from 118291 to 118530.
17146 2012-01-20 Sadrul Habib Chowdhury <sadrul@chromium.org>
17148 [chromium] Revert a couple of changes in fileapi/ that break tests in chromeos.
17149 https://bugs.webkit.org/show_bug.cgi?id=76718
17151 Reviewed by Darin Fisher.
17153 * public/platform/WebFileSystem.h:
17154 * src/AssertMatchingEnums.cpp:
17155 * src/AsyncFileSystemChromium.cpp:
17156 * src/AsyncFileSystemChromium.h:
17158 2012-01-20 Fady Samuel <fsamuel@chromium.org>
17160 [Chromium] Do not recompute viewport on same page navigation
17161 https://bugs.webkit.org/show_bug.cgi?id=75576
17163 Reviewed by Darin Fisher.
17165 Added parameter isNavigationWithinPage to WebViewImpl::didCommitLoad
17166 that indicates whether a same-page navigation has just occurred.
17168 The page scale factor flag is reset only on navigation to a new page.
17169 If the flag is not set, viewport and page scale will be recomputed on
17172 * src/FrameLoaderClientImpl.cpp:
17173 (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
17174 (WebKit::FrameLoaderClientImpl::dispatchDidCommitLoad):
17175 * src/WebViewImpl.cpp:
17176 (WebKit::WebViewImpl::didCommitLoad):
17177 (WebKit::WebViewImpl::observeNewNavigation):
17178 * src/WebViewImpl.h:
17180 2012-01-20 Pavel Feldman <pfeldman@google.com>
17182 Web Inspector: [chromium] add WebDevToolsFrontendClient::openInNewTab for upcoming WebCore change.
17183 https://bugs.webkit.org/show_bug.cgi?id=76698
17185 Reviewed by Yury Semikhatsky.
17187 * public/WebDevToolsFrontendClient.h:
17188 (WebKit::WebDevToolsFrontendClient::openInNewTab):
17190 2012-01-20 Hayato Ito <hayato@chromium.org>
17192 Add ShadowRoot.idl which is enabled by newly introduced SHADOW_DOM flag.
17193 https://bugs.webkit.org/show_bug.cgi?id=76353
17195 Reviewed by Hajime Morita.
17197 Add ShadowRoot.idl, which is enabled only on chromium port since this is
17198 under development feature.
17199 ShadowRoot.idl contains minimum API so that we can test it.
17200 Other APIs should be added on other changes so that we can isolate issues.
17203 * public/WebRuntimeFeatures.h:
17204 * src/WebRuntimeFeatures.cpp:
17205 (WebKit::WebRuntimeFeatures::enableShadowDOM):
17206 (WebKit::WebRuntimeFeatures::isShadowDOMEnabled):
17208 2012-01-20 Shinya Kawanaka <shinyak@google.com>
17210 [chromium] Chromium should have EditorClientImpl::checkTextOfParagraph.
17211 https://bugs.webkit.org/show_bug.cgi?id=74071
17213 Reviewed by Darin Fisher.
17215 Spellchecker on Mac has more sophisticated interface for spellchecking (checkTextOfParagraph).
17216 If the other ports have the same interface, code can be clearer and easy to extend.
17217 This patch introduces such an interface. The implementation will be done not in WebKit but in Chromium.
17219 Also, currently WebKit::WebTextCheckingResult and WebCore::TextCheckingResult have different forms.
17220 They should be corresponding apparently. This patch introduces such correspondence.
17223 * public/WebSpellCheckClient.h:
17224 (WebKit::WebSpellCheckClient::checkTextOfParagraph):
17225 A new interface for spellchecking.
17226 * public/WebTextCheckingResult.h:
17227 (WebKit::WebTextCheckingResult::WebTextCheckingResult):
17228 Changed so that WebTextCheckingResult corresponds to WebCore::TextCheckingResult.
17229 * public/WebTextCheckingType.h: Copied from Source/WebKit/chromium/public/WebTextCheckingResult.h.
17230 * src/AssertMatchingEnums.cpp:
17231 * src/EditorClientImpl.cpp:
17232 (WebKit::EditorClientImpl::checkTextOfParagraph):
17233 * src/EditorClientImpl.h:
17234 * src/WebTextCheckingResult.cpp: Copied from Source/WebKit/chromium/public/WebTextCheckingResult.h.
17235 (WebKit::WebTextCheckingResult::operator TextCheckingResult):
17237 2012-01-20 Shinya Kawanaka <shinyak@google.com>
17239 [chromium] WebFrame should have an interface to invoke spellchecking in arbitrarily.
17240 https://bugs.webkit.org/show_bug.cgi?id=73971
17242 Reviewed by Darin Fisher.
17244 This interface is necessary to recheck spelling of an arbitrary element.
17246 * public/WebFrame.h:
17247 * public/WebNode.h:
17248 * src/WebFrameImpl.cpp:
17249 (WebKit::WebFrameImpl::requestTextChecking):
17250 Requests spellchecking for the element having current selection.
17251 * src/WebFrameImpl.h:
17253 (WebKit::WebNode::rootEditableElement):
17254 Takes a root editable element from Node.
17256 2012-01-19 Kinuko Yasuda <kinuko@chromium.org>
17258 Cleanup: make constant variable names in fileapi/ conform to WebKit's coding guideline
17259 https://bugs.webkit.org/show_bug.cgi?id=76625
17261 Reviewed by David Levin.
17263 Also removing (almost) duplicated implementation of AsyncFileSystem::crackFileSystem.
17265 * src/AsyncFileSystemChromium.cpp:
17267 2012-01-19 Alexandre Elias <aelias@google.com>
17269 [chromium] Draw gutter quads outside root content layer
17270 https://bugs.webkit.org/show_bug.cgi?id=76328
17272 Reviewed by James Robinson.
17274 Add new layer property "backgroundCoversViewport". If the content
17275 layers don't fully cover the render surface, this code calculates the
17276 difference between the root clip rect and the root content layer and
17277 draws up to four background-color quads in exactly the area that would
17280 Test: CCTiledLayerImplTest::backgroundCoversViewport
17282 * src/NonCompositedContentHost.cpp:
17283 (WebKit::NonCompositedContentHost::NonCompositedContentHost):
17284 * tests/CCLayerImplTest.cpp:
17286 * tests/CCTiledLayerImplTest.cpp:
17288 * tests/LayerChromiumTest.cpp:
17290 2012-01-19 Greg Billock <gbillock@google.com>
17292 Web Intents chromium API modifications to track IntentRequest invocation method
17293 https://bugs.webkit.org/show_bug.cgi?id=76014
17295 Reviewed by Darin Fisher.
17297 * public/WebFrameClient.h:
17298 (WebKit::WebFrameClient::dispatchIntent):
17299 * public/WebIntent.h:
17300 * public/WebIntentRequest.h: Added.
17301 * src/FrameLoaderClientImpl.cpp:
17302 (WebKit::FrameLoaderClientImpl::dispatchIntent):
17303 * src/FrameLoaderClientImpl.h:
17304 * src/WebIntent.cpp:
17305 * src/WebIntentRequest.cpp: Added.
17307 2012-01-19 Michal Mocny <mmocny@google.com>
17309 [chromium] Replace WGC3D visibility extension with resource_usage extension. [Part 1 of 3]
17310 https://bugs.webkit.org/show_bug.cgi?id=76634
17312 Reviewed by Kenneth Russell.
17314 * public/platform/WebGraphicsContext3D.h:
17315 (WebKit::WebGraphicsContext3D::setVisibilityCHROMIUM):
17316 (WebKit::WebGraphicsContext3D::setResourceUsageCHROMIUM):
17317 * src/GraphicsContext3DChromium.cpp:
17318 (WebCore::GraphicsContext3DPrivate::setVisibilityCHROMIUM):
17319 * tests/FakeWebGraphicsContext3D.h:
17320 (WebKit::FakeWebGraphicsContext3D::setResourceUsageCHROMIUM):
17322 2012-01-19 James Robinson <jamesr@chromium.org>
17324 [chromium] Remove CCLayerDelegate, add ContentLayerDelegate for painting
17325 https://bugs.webkit.org/show_bug.cgi?id=76663
17327 Reviewed by Kenneth Russell.
17329 * src/WebContentLayerImpl.cpp:
17330 (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
17331 * src/WebContentLayerImpl.h:
17332 * src/WebExternalTextureLayerImpl.cpp:
17333 (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
17334 (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
17335 * src/WebExternalTextureLayerImpl.h:
17336 * src/WebLayerImpl.cpp:
17337 (WebKit::WebLayerImpl::WebLayerImpl):
17338 (WebKit::WebLayerImpl::~WebLayerImpl):
17339 * src/WebLayerImpl.h:
17340 * src/WebMediaPlayerClientImpl.cpp:
17341 (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
17342 * src/WebPluginContainerImpl.cpp:
17343 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
17344 * tests/CCLayerIteratorTest.cpp:
17345 * tests/CCLayerTreeHostCommonTest.cpp:
17346 (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
17348 * tests/CCLayerTreeHostTest.cpp:
17349 (WTF::CCLayerTreeHostTest::doBeginTest):
17350 (WTF::ContentLayerChromiumWithUpdateTracking::create):
17351 (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
17352 * tests/LayerChromiumTest.cpp:
17353 * tests/TiledLayerChromiumTest.cpp:
17354 (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
17355 * tests/TreeSynchronizerTest.cpp:
17356 (WebCore::MockLayerChromium::MockLayerChromium):
17359 2012-01-19 Dirk Pranke <dpranke@chromium.org>
17361 remove the duplicated build rules from WebKit.gyp, Tools.gyp
17362 https://bugs.webkit.org/show_bug.cgi?id=73384
17364 Reviewed by Tony Chang.
17366 This patch removes the no-longer-necessary conditional logic for
17367 build_webkit_exes_from_webkit_gyp; we now always build the exes
17368 from their own dedicated gyp files.
17370 * WebKitUnitTests.gyp:
17373 2012-01-19 Dirk Pranke <dpranke@chromium.org>
17375 Unreviewed, Roll DEPS to most recent LKGR (118291).
17379 2012-01-18 Jer Noble <jer.noble@apple.com>
17381 Make WebAudio API const-correct.
17382 https://bugs.webkit.org/show_bug.cgi?id=76573
17384 Reviewed by Daniel Bates.
17386 The following functions were modified to use the renamed mutableData() accessor:
17387 * src/AudioDestinationChromium.cpp:
17388 (WebCore::AudioDestinationChromium::FIFO::fillBuffer):
17389 (WebCore::AudioDestinationChromium::FIFO::consume):
17390 * src/WebAudioData.cpp:
17391 (WebCore::WebAudioBus::channelData):
17392 * src/WebMediaPlayerClientImpl.cpp:
17393 (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::provideInput):
17395 2012-01-19 Joi Sigurdsson <joi@chromium.org>
17397 Enable use of precompiled headers in Chromium port on Windows.
17399 Bug 76381 - Use precompiled headers in Chromium port on Windows
17400 https://bugs.webkit.org/show_bug.cgi?id=76381
17402 Reviewed by Tony Chang.
17404 * WebKit.gyp: Include WinPrecompile.gypi.
17405 * WinPrecompile.cpp: Added.
17406 * WinPrecompile.gypi: Added.
17407 * WinPrecompile.h: Added.
17409 2012-01-18 Kinuko Yasuda <kinuko@chromium.org>
17411 Cleanup: Move chrome-specific filesystem type handling code (for FileSystem API) under chromium directory
17412 https://bugs.webkit.org/show_bug.cgi?id=76551
17414 Reviewed by Darin Fisher.
17416 * src/AssertMatchingEnums.cpp: Removed matching assertion for TypeExternal as it's no longer defined separately.
17417 * src/AsyncFileSystemChromium.cpp: Added crackFileSystemURL() and toURL() implementation that
17418 handle chrome-specific filesystem type (EXTERNAL) as well as regular TEMPORARY/PERSISTENT types.
17419 (WebCore::AsyncFileSystem::crackFileSystemURL): Added.
17420 (WebCore::AsyncFileSystemChromium::toURL): Added.
17421 * src/AsyncFileSystemChromium.h:
17423 2012-01-18 Tom Sepez <tsepez@chromium.org>
17425 Pass content-security-policy directive into shared workers.
17426 https://bugs.webkit.org/show_bug.cgi?id=75660
17428 Reviewed by Darin Fisher.
17430 * public/WebContentSecurityPolicy.h: Added.
17431 * public/WebSharedWorker.h:
17432 (WebKit::WebSharedWorker::startWorkerContext):
17433 * src/AssertMatchingEnums.cpp:
17434 * src/SharedWorkerRepository.cpp:
17435 (WebCore::SharedWorkerScriptLoader::notifyFinished):
17436 * src/WebSharedWorkerImpl.cpp:
17437 (WebKit::WebSharedWorkerImpl::startWorkerContext):
17438 * src/WebSharedWorkerImpl.h:
17440 2012-01-18 Ian Vollick <vollick@chromium.org>
17442 [chromium] Create a base-class CCAnimation to represent compositor animations
17443 https://bugs.webkit.org/show_bug.cgi?id=73233
17445 Reviewed by Kenneth Russell.
17448 * tests/CCActiveAnimationTest.cpp: Added.
17449 (WebCore::FakeFloatAnimation::duration):
17450 (WebCore::FakeFloatAnimation::getValue):
17451 (WebCore::createActiveAnimation):
17453 * tests/CCLayerAnimationControllerImplTest.cpp: Added.
17454 (WebCore::FakeControllerClient::FakeControllerClient):
17455 (WebCore::FakeControllerClient::~FakeControllerClient):
17456 (WebCore::FakeControllerClient::opacity):
17457 (WebCore::FakeControllerClient::setOpacity):
17458 (WebCore::FakeControllerClient::transform):
17459 (WebCore::FakeControllerClient::setTransform):
17460 (WebCore::FakeControllerClient::animationControllerImplDidActivate):
17461 (WebCore::FakeControllerClient::activeControllers):
17462 (WebCore::FakeTransformTransition::FakeTransformTransition):
17463 (WebCore::FakeTransformTransition::duration):
17464 (WebCore::FakeTransformTransition::getValue):
17465 (WebCore::FakeFloatTransition::FakeFloatTransition):
17466 (WebCore::FakeFloatTransition::duration):
17467 (WebCore::FakeFloatTransition::getValue):
17470 2012-01-18 James Robinson <jamesr@chromium.org>
17472 Unreviewed, rolling out r105366.
17473 http://trac.webkit.org/changeset/105366
17474 https://bugs.webkit.org/show_bug.cgi?id=76015
17476 Breaks CCLayerTreeHostImplTest unit test
17478 * tests/CCQuadCullerTest.cpp:
17479 (WebCore::TestDrawQuad::TestDrawQuad):
17480 (WebCore::TestDrawQuad::create):
17481 (WebCore::setQuads):
17482 * tests/CCTiledLayerImplTest.cpp:
17483 (WebCore::createLayer):
17485 (WebCore::getQuads):
17486 (WebCore::coverageVisibleRectOnTileBoundaries):
17487 (WebCore::coverageVisibleRectIntersectsTiles):
17488 (WebCore::coverageVisibleRectIntersectsBounds):
17490 2012-01-18 Dana Jansens <danakj@chromium.org>
17492 [chromium] Use region reported painted opaque for draw culling
17493 https://bugs.webkit.org/show_bug.cgi?id=76015
17495 Reviewed by James Robinson.
17497 * tests/CCQuadCullerTest.cpp:
17498 (WebCore::TestDrawQuad::TestDrawQuad):
17499 (WebCore::TestDrawQuad::create):
17500 (WebCore::setQuads):
17502 * tests/CCTiledLayerImplTest.cpp:
17503 (WebCore::createLayer):
17505 (WebCore::getQuads):
17506 (WebCore::coverageVisibleRectOnTileBoundaries):
17507 (WebCore::coverageVisibleRectIntersectsTiles):
17508 (WebCore::coverageVisibleRectIntersectsBounds):
17510 2012-01-18 Joshua Bell <jsbell@chromium.org>
17512 IndexedDB: Fix InjectIDBKeyTest.SubProperty test failure
17513 https://bugs.webkit.org/show_bug.cgi?id=76582
17515 Correct the test, now that https://bugs.webkit.org/show_bug.cgi?id=76493
17516 changes the semantics so that intermediate objects are created if possible
17517 to satisfy autoIncrement keypaths.
17519 Reviewed by James Robinson.
17521 * tests/IDBBindingUtilitiesTest.cpp:
17524 2012-01-18 Dirk Pranke <dpranke@chromium.org>
17526 [chromium] move Tools.gyp, switch build-webkit --chromium to All.gyp
17527 https://bugs.webkit.org/show_bug.cgi?id=76505
17529 Reviewed by Tony Chang.
17531 Update path to Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp.
17535 - change to using All.gyp
17536 - change build_webkit_exes_from_webkit_gyp to 0
17538 2012-01-18 David Grogan <dgrogan@chromium.org>
17540 IndexedDB: Check for permission before using IndexedDB from a worker.
17541 https://bugs.webkit.org/show_bug.cgi?id=76500
17543 Reviewed by David Levin.
17545 * src/IDBFactoryBackendProxy.cpp:
17546 (WebKit::AllowIndexedDBMainThreadBridge::create):
17547 (WebKit::AllowIndexedDBMainThreadBridge::cancel):
17548 (WebKit::AllowIndexedDBMainThreadBridge::result):
17549 (WebKit::AllowIndexedDBMainThreadBridge::signalCompleted):
17550 (WebKit::AllowIndexedDBMainThreadBridge::AllowIndexedDBMainThreadBridge):
17551 (WebKit::AllowIndexedDBMainThreadBridge::allowIndexedDBTask): Call
17552 webView->permissionClient()->allowIndexedDB on the main thread because
17553 ContentSettingsObserver::AllowIndexedDB(), which is called down the
17554 chain, expects to be run on the main thread.
17555 (WebKit::AllowIndexedDBMainThreadBridge::didComplete):
17556 (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread): Wait for
17557 main permission check to complete on main thread before proceeding on
17560 2012-01-18 Tommy Widenflycht <tommyw@google.com>
17562 [chromium] MediaStream API: Make WebMediaStreamDescriptor copyable
17563 https://bugs.webkit.org/show_bug.cgi?id=76526
17565 Reviewed by Darin Fisher.
17567 This patch adds a copy constructor and a assignment operator to WebMediaStreamDescriptor.
17569 * public/platform/WebMediaStreamDescriptor.h:
17570 (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
17571 (WebKit::WebMediaStreamDescriptor::operator=):
17572 * src/WebMediaStreamDescriptor.cpp:
17573 (WebKit::WebMediaStreamDescriptor::assign):
17575 2012-01-18 Dana Jansens <danakj@chromium.org>
17577 [chromium] Enable tracking opaque region in Skia graphics context, return it from LayerTextureUpdater
17578 https://bugs.webkit.org/show_bug.cgi?id=76211
17580 Reviewed by James Robinson.
17583 * tests/LayerTextureUpdaterTest.cpp: Added.
17584 (WebCore::TestLayerPainterChromium::TestLayerPainterChromium):
17585 (WebCore::TestLayerPainterChromium::paint):
17586 (WebCore::PaintFillOpaque::operator()):
17587 (WebCore::PaintFillAlpha::operator()):
17589 * tests/TiledLayerChromiumTest.cpp:
17590 (WTF::FakeLayerTextureUpdater::prepareToUpdate):
17592 2012-01-18 Tim Dresser <tdresser@chromium.org>
17594 [chromium] Refactor canvas, plugin, and video drawing to be more data-driven
17595 https://bugs.webkit.org/show_bug.cgi?id=76274
17597 Reviewed by James Robinson.
17599 No longer test culling in CCLayerTreeHostImplTest.blendingOffWhenDrawingLayers.
17601 * tests/CCLayerTreeHostImplTest.cpp:
17602 (WebKit::BlendStateCheckLayer::appendQuads):
17603 (WebKit::BlendStateCheckLayer::setExpectation):
17604 (WebKit::BlendStateCheckLayer::quadsAppended):
17605 (WebKit::BlendStateCheckLayer::BlendStateCheckLayer):
17608 2012-01-18 Dominic Mazzoni <dmazzoni@google.com>
17610 Accessibility: Chromium needs methods to scroll an object into view or to a specific location.
17611 https://bugs.webkit.org/show_bug.cgi?id=73460
17613 Reviewed by Chris Fleizach.
17615 * public/WebAccessibilityObject.h:
17616 * src/WebAccessibilityObject.cpp:
17617 (WebKit::WebAccessibilityObject::scrollToMakeVisible):
17618 (WebKit::WebAccessibilityObject::scrollToMakeVisibleWithSubFocus):
17619 (WebKit::WebAccessibilityObject::scrollToGlobalPoint):
17621 2012-01-17 Sheriff Bot <webkit.review.bot@gmail.com>
17623 Unreviewed, rolling out r105244.
17624 http://trac.webkit.org/changeset/105244
17625 https://bugs.webkit.org/show_bug.cgi?id=76518
17627 broke Chromium Mac (Requested by rolandsteiner on #webkit).
17629 * public/WebAccessibilityObject.h:
17630 * src/WebAccessibilityObject.cpp:
17632 2012-01-17 Dominic Mazzoni <dmazzoni@google.com>
17634 Accessibility: Chromium needs methods to scroll an object into view or to a specific location.
17635 https://bugs.webkit.org/show_bug.cgi?id=73460
17637 Reviewed by Chris Fleizach.
17639 * public/WebAccessibilityObject.h:
17640 * src/WebAccessibilityObject.cpp:
17641 (WebKit::WebAccessibilityObject::scrollToMakeVisible):
17642 (WebKit::WebAccessibilityObject::scrollToMakeVisibleWithSubFocus):
17643 (WebKit::WebAccessibilityObject::scrollToGlobalPoint):
17645 2012-01-17 Noel Gordon <noel.gordon@gmail.com>
17647 [chromium] Remove public/WebWorker.h from the gyp projects
17648 https://bugs.webkit.org/show_bug.cgi?id=76512
17650 Reviewed by David Levin.
17652 public/WebWorker.h was removed in r105020, remove references from the gyp projects.
17656 2012-01-17 Yury Semikhatsky <yurys@chromium.org>
17658 Unreviewed. Update Chromium dependency 117616:117882
17662 2012-01-17 Bill Budge <bbudge@chromium.org>
17664 AssociatedURLLoader adds support for the HTTP response header Access-Control-Expose-Header.
17665 https://bugs.webkit.org/show_bug.cgi?id=76419
17667 Reviewed by Adam Barth.
17669 * src/AssociatedURLLoader.cpp:
17670 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
17671 * tests/AssociatedURLLoaderTest.cpp:
17672 (WebKit::AssociatedURLLoaderTest::CheckAccessControlHeaders):
17675 2012-01-16 Bill Budge <bbudge@chromium.org>
17677 Changes AssociatedURLLoader to remove non-whitelisted HTTP response headers for CORS requests,
17678 and Set-Cookie and Set-Cookie2 response headers for all requests.
17679 https://bugs.webkit.org/show_bug.cgi?id=76228
17681 Reviewed by Adam Barth.
17683 * src/AssociatedURLLoader.cpp:
17684 (WebKit::AssociatedURLLoader::ClientAdapter::create):
17685 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
17686 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
17687 (WebKit::AssociatedURLLoader::loadAsynchronously):
17688 * tests/AssociatedURLLoaderTest.cpp:
17689 (WebKit::AssociatedURLLoaderTest::didReceiveResponse):
17692 2012-01-16 xueqing huang <huangxueqing@baidu.com>
17694 Add offline web applications API applicationCache.abort.
17695 https://bugs.webkit.org/show_bug.cgi?id=76270
17697 Reviewed by Alexey Proskuryakov.
17699 * src/ApplicationCacheHost.cpp:
17700 (WebCore::ApplicationCacheHost::abort):
17702 2012-01-16 Sheriff Bot <webkit.review.bot@gmail.com>
17704 Unreviewed, rolling out r105040.
17705 http://trac.webkit.org/changeset/105040
17706 https://bugs.webkit.org/show_bug.cgi?id=76373
17708 Breaks Win (dbg) canary builder (Requested by apavlov on
17712 * tests/DispatchEventTest.cpp: Removed.
17713 * tests/data/event_target.html: Removed.
17715 2012-01-16 Dave Michael <dmichael@chromium.org>
17717 Reland chromium event dispatch test from https://bugs.webkit.org/show_bug.cgi?id=72988
17718 https://bugs.webkit.org/show_bug.cgi?id=73837
17720 The original patch had a mistake that caused it to fail (not sure how I
17721 missed that or why the bots didn't catch it).
17723 Reviewed by Hajime Morita.
17726 * tests/DispatchEventTest.cpp: Added.
17727 (WebKit::MockListener::MockListener):
17728 (WebKit::MockListener::~MockListener):
17729 (WebKit::MockListener::events):
17730 (WebKit::DispatchEventTest::DispatchEventTest):
17731 (WebKit::DispatchEventTest::TearDown):
17732 (WebKit::DispatchEventTest::createMessageEvent):
17734 * tests/data/event_target.html: Added.
17736 2012-01-15 Xinchao He <xinchao.he@intel.com>
17738 Add DeviceOrientationEvent.absolute
17739 https://bugs.webkit.org/show_bug.cgi?id=51742
17741 Reviewed by Darin Fisher.
17743 This patch add the DeviceOrientationEvent.absolute to follow the
17744 latest w3c device orientation event spec.
17745 http://www.w3.org/TR/orientation-event/
17747 * public/WebDeviceOrientation.h:
17748 (WebKit::WebDeviceOrientation::WebDeviceOrientation):
17749 (WebKit::WebDeviceOrientation::canProvideAbsolute):
17750 (WebKit::WebDeviceOrientation::absolute):
17751 * src/WebDeviceOrientation.cpp:
17752 (WebKit::WebDeviceOrientation::WebDeviceOrientation):
17753 (WebKit::WebDeviceOrientation::operator=):
17754 (WebKit::WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientation>):
17756 2012-01-14 David Levin <levin@chromium.org>
17758 HWndDC should be in platform/win instead of wtf.
17759 https://bugs.webkit.org/show_bug.cgi?id=76314
17761 Reviewed by Sam Weinig.
17763 * src/win/WebScreenInfoFactory.cpp:
17764 (WebKit::WebScreenInfoFactory::screenInfo):
17766 2012-01-14 Dmitry Lomov <dslomov@google.com>
17768 [Chromium] Remove WebKit::WebWorker class.
17769 https://bugs.webkit.org/show_bug.cgi?id=76327
17771 Reviewed by Darin Fisher.
17773 * public/WebWorker.h: Removed.
17774 * src/WebWorkerClientImpl.cpp:
17776 2012-01-13 David Levin <levin@chromium.org>
17778 HWndDC is a better name than HwndDC.
17779 https://bugs.webkit.org/show_bug.cgi?id=76281
17781 Reviewed by Darin Adler.
17783 * src/win/WebScreenInfoFactory.cpp:
17784 (WebKit::WebScreenInfoFactory::screenInfo):
17786 2012-01-13 Sheriff Bot <webkit.review.bot@gmail.com>
17788 Unreviewed. Rolled DEPS.
17792 2012-01-12 David Levin <levin@chromium.org>
17794 HwndDC is a better name than OwnGetDC.
17795 https://bugs.webkit.org/show_bug.cgi?id=76235
17797 Reviewed by Dmitry Titov.
17799 * src/win/WebScreenInfoFactory.cpp:
17800 (WebKit::WebScreenInfoFactory::screenInfo):
17802 2012-01-12 David Levin <levin@chromium.org>
17804 [chromium] Fix DC leak in WebScreenInfoFactory.
17805 https://bugs.webkit.org/show_bug.cgi?id=76203
17807 Reviewed by Dmitry Titov.
17809 * src/win/WebScreenInfoFactory.cpp:
17810 (WebKit::WebScreenInfoFactory::screenInfo): Use OwnGetDC to ensure its release.
17812 2012-01-12 Dana Jansens <danakj@chromium.org>
17814 [skia] Track a simple opaque area when painting via PlatformContextSkia and save in LayerTextureUpdater
17815 https://bugs.webkit.org/show_bug.cgi?id=74352
17817 Reviewed by Stephen White.
17820 * tests/PlatformContextSkiaTest.cpp: Added.
17823 2012-01-12 Nat Duca <nduca@chromium.org>
17825 [chromium] Turn off FrameRateController timesource when it is not needed
17826 https://bugs.webkit.org/show_bug.cgi?id=76149
17828 Reviewed by James Robinson.
17830 * tests/CCDelayBasedTimeSourceTest.cpp:
17831 (WebKitTests::TEST):
17832 * tests/CCLayerTreeHostTest.cpp:
17833 (WTF::CCLayerTreeHostTest::timeout):
17834 * tests/CCSchedulerStateMachineTest.cpp:
17836 * tests/CCSchedulerTest.cpp:
17837 (WebKitTests::TEST):
17838 * tests/CCSchedulerTestCommon.h:
17839 (WebKitTests::FakeCCTimeSource::active):
17841 2012-01-12 Sheriff Bot <webkit.review.bot@gmail.com>
17843 Unreviewed. Rolled DEPS.
17847 2012-01-11 Vsevolod Vlasov <vsevik@chromium.org>
17849 Make default console messages line numbers consistent.
17850 https://bugs.webkit.org/show_bug.cgi?id=74075
17852 Reviewed by Pavel Feldman.
17854 Unset line numbers are not printed to console now.
17856 * src/WebFrameImpl.cpp:
17857 (WebKit::WebFrameImpl::addMessageToConsole):
17859 2012-01-11 Takashi Toyoshima <toyoshim@chromium.org>
17861 Add WebArrayBuffer support in WebSocket to WebKit API.
17862 https://bugs.webkit.org/show_bug.cgi?id=75080
17864 Reviewed by Darin Fisher.
17866 * public/WebSocket.h: Add interface to send WebArrayBuffer, and set and get receiving binary object type.
17867 * public/WebSocketClient.h: Add interface to receive WebArrayBuffer.
17868 (WebKit::WebSocketClient::didReceiveArrayBuffer):
17869 * src/WebSocketImpl.cpp: Add various binary types handling.
17870 (WebKit::WebSocketImpl::WebSocketImpl):
17871 (WebKit::WebSocketImpl::binaryType):
17872 (WebKit::WebSocketImpl::setBinaryType):
17873 (WebKit::WebSocketImpl::sendArrayBuffer):
17874 (WebKit::WebSocketImpl::didReceiveBinaryData):
17875 * src/WebSocketImpl.h: Add methods to handle various binary types.
17877 2012-01-11 Scott Violet <sky@google.com>
17879 [chromium] TiledLayerChromium drops invalidates that occur during
17880 LayerTextureUpdater::prepareToUpdate
17881 https://bugs.webkit.org/show_bug.cgi?id=76067
17883 Reviewed by James Robinson.
17885 * tests/TiledLayerChromiumTest.cpp:
17886 (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
17887 (WTF::FakeLayerTextureUpdater::prepareCount):
17888 (WTF::FakeLayerTextureUpdater::clearPrepareCount):
17889 (WTF::FakeLayerTextureUpdater::lastUpdateRect):
17890 (WTF::FakeTiledLayerChromium::fakeLayerTextureUpdater):
17891 (WTF::FakeLayerTextureUpdater::setRectToInvalidate):
17892 (WTF::FakeLayerTextureUpdater::prepareToUpdate):
17895 2012-01-10 Dmitry Lomov <dslomov@google.com>
17897 [Chromium] Remove obsolete references to WebWorker class.
17898 https://bugs.webkit.org/show_bug.cgi?id=76020
17900 Reviewed by David Levin.
17902 * public/WebFrameClient.h:
17903 * public/WebSharedWorkerClient.h:
17905 2012-01-11 Jochen Eisinger <jochen@chromium.org>
17907 Move the check for canExecuteScripts out of V8Proxy::retrieve
17908 https://bugs.webkit.org/show_bug.cgi?id=75533
17910 Reviewed by Adam Barth.
17912 * src/WebDevToolsAgentImpl.cpp:
17913 (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
17915 2012-01-10 Daniel Cheng <dcheng@chromium.org>
17917 [chromium] Unreviewed, roll Chromium DEPS to r117121.
17921 2012-01-10 Nat Duca <nduca@chromium.org>
17923 [chromium] Reuse old timebase when activating CCDelayBasedTimeSource
17924 https://bugs.webkit.org/show_bug.cgi?id=75938
17926 Reviewed by James Robinson.
17928 * tests/CCDelayBasedTimeSourceTest.cpp:
17929 (WebKitTests::TEST):
17931 2012-01-10 Tony Chang <tony@chromium.org>
17933 [chromium] Unreviewed, roll Chromium DEPS to r117109.
17937 2012-01-10 Bill Budge <bbudge@chromium.org>
17939 Allow plugins to add rotate items to browser's context menu. Adds a new
17940 WebPluginAction struct, with rotate types.
17941 https://bugs.webkit.org/show_bug.cgi?id=75645
17943 Reviewed by Darin Fisher.
17946 * public/WebContextMenuData.h:
17947 * public/WebPlugin.h:
17948 (WebKit::WebPlugin::canRotateView):
17949 (WebKit::WebPlugin::rotateView):
17950 * public/WebPluginAction.h: Added.
17951 (WebKit::WebPluginAction::WebPluginAction):
17952 * public/WebView.h:
17953 * src/ContextMenuClientImpl.cpp:
17954 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
17955 * src/WebViewImpl.cpp:
17956 (WebKit::WebViewImpl::performMediaPlayerAction):
17957 (WebKit::WebViewImpl::performPluginAction):
17958 * src/WebViewImpl.h:
17960 2012-01-10 Dana Jansens <danakj@chromium.org>
17962 [chromium] Create iterators for the RenderSurface-Layer tree
17963 https://bugs.webkit.org/show_bug.cgi?id=74203
17965 Reviewed by James Robinson.
17968 * tests/CCLayerIteratorTest.cpp: Added.
17970 2012-01-10 James Robinson <jamesr@chromium.org>
17972 [chromium] Remove old WebMimeRegistry.h forwarding header
17973 https://bugs.webkit.org/show_bug.cgi?id=75979
17975 Reviewed by Ryosuke Niwa.
17977 This isn't needed any more.
17980 * public/platform/WebMimeRegistry.h: Removed.
17981 * src/FrameLoaderClientImpl.cpp:
17982 * src/PlatformSupport.cpp:
17983 * src/WebMediaPlayerClientImpl.cpp:
17985 2012-01-10 Adrienne Walker <enne@google.com>
17987 [chromium] Draw debug tile borders on composited layers
17988 https://bugs.webkit.org/show_bug.cgi?id=75680
17990 Reviewed by James Robinson.
17992 As debug borders are not a CCSetting and are instead grabbed directly
17993 from each graphics layer, modify the NonCompositedContentHost to say
17994 that its graphics layer has debug borders if the page settings demand
17997 * src/NonCompositedContentHost.cpp:
17998 (WebKit::NonCompositedContentHost::NonCompositedContentHost):
17999 (WebKit::NonCompositedContentHost::setShowDebugBorders):
18000 (WebKit::NonCompositedContentHost::showDebugBorders):
18001 * src/NonCompositedContentHost.h:
18002 * src/WebViewImpl.cpp:
18003 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
18005 2012-01-10 Peter Beverloo <peter@chromium.org>
18007 [Chromium] Fix compilation with ENABLE_WEB_AUDIO=0
18008 https://bugs.webkit.org/show_bug.cgi?id=75957
18010 Reviewed by Tony Gentilcore.
18012 Revision 104502 broke Chromium compilation for platforms which disable
18013 the Web Audio API. All references to m_audioSourceProvider should be
18014 guarded with the ENABLE(WEB_AUDIO) conditional.
18016 * src/WebMediaPlayerClientImpl.cpp:
18017 (WebKit::WebMediaPlayerClientImpl::load):
18018 (WebKit::WebMediaPlayerClientImpl::loadInternal):
18020 2012-01-09 Ryosuke Niwa <rniwa@webkit.org>
18022 Roll Chromium DEPS from 116979 to 117006.
18026 2012-01-09 Sheriff Bot <webkit.review.bot@gmail.com>
18028 Unreviewed, rolling out r104507.
18029 http://trac.webkit.org/changeset/104507
18030 https://bugs.webkit.org/show_bug.cgi?id=75936
18032 Broke webkit_unit_tests (Requested by dimich on #webkit).
18035 * tests/CCLayerIteratorTest.cpp: Removed.
18037 2012-01-09 Ryosuke Niwa <rniwa@webkit.org>
18039 Touch WebView.h in an attempt to clobber Chromium bots on build.webkit.org.
18041 * public/WebView.h:
18043 2012-01-09 Ryosuke Niwa <rniwa@webkit.org>
18045 Roll Chromium DEPS from 116459 to 116979.
18049 2012-01-09 Dana Jansens <danakj@chromium.org>
18051 [chromium] Create iterators for the RenderSurface-Layer tree
18052 https://bugs.webkit.org/show_bug.cgi?id=74203
18054 Reviewed by James Robinson.
18057 * tests/CCLayerIteratorTest.cpp: Added.
18059 2012-01-09 W. James MacLean <wjmaclean@chromium.org>
18061 [Chromium] REGRESSION(r104368): Broke CCLayerTreeHostImplTest.blendingOffWhenDrawingOpaqueLayers
18062 https://bugs.webkit.org/show_bug.cgi?id=75783
18064 Updated unit test to reflect desired behaviour now that tile/quad culling
18067 Reviewed by James Robinson.
18069 * tests/CCLayerTreeHostImplTest.cpp:
18072 2012-01-09 Chris Rogers <crogers@google.com>
18074 Fix potential issue in WebMediaPlayerClientImpl
18075 https://bugs.webkit.org/show_bug.cgi?id=75899
18077 Reviewed by Kenneth Russell.
18079 * src/WebMediaPlayerClientImpl.cpp:
18080 (WebKit::WebMediaPlayerClientImpl::load):
18081 (WebKit::WebMediaPlayerClientImpl::loadInternal):
18082 (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::wrap):
18084 2012-01-09 Justin Novosad <junov@chromium.org>
18086 [Chromium] remove all references to the legacy accelerated 2d Canvas
18088 https://bugs.webkit.org/show_bug.cgi?id=75108
18090 Purging an old settings flag that is no longer referenced
18092 Reviewed by Darin Fisher.
18094 * public/WebSettings.h:
18095 * src/WebSettingsImpl.cpp:
18096 * src/WebSettingsImpl.h:
18098 2012-01-09 Joshua Bell <jsbell@chromium.org>
18100 IndexedDB: Make WebIDBDatabase::close() idempotent
18101 https://bugs.webkit.org/show_bug.cgi?id=75751
18103 Allow Chromium's back-end to safely trigger the cleanup that occurs
18104 when a database connection is closed, without tracking whether or not
18105 the connection was previous closed by script.
18107 Reviewed by Tony Chang.
18109 * src/WebIDBDatabaseImpl.cpp:
18110 (WebKit::WebIDBDatabaseImpl::close):
18112 2012-01-09 Xianzhu Wang <wangxianzhu@chromium.org>
18114 Avoid unnecessary TextureManager::reduceMemoryToLimit().
18115 https://bugs.webkit.org/show_bug.cgi?id=75632
18117 Main part of the change is in Source/WebCore.
18119 Reviewed by James Robinson.
18121 Tests: webkit_unit_tests --gtest_filter=TextureManagerTest.*:CCLayerTreeHostTestSetViewportSize.*
18124 * src/WebLayerTreeView.cpp:
18125 (WebKit::WebLayerTreeView::setViewportSize):
18126 * src/WebViewImpl.cpp:
18127 (WebKit::WebViewImpl::updateLayerTreeViewport):
18128 * tests/CCLayerTreeHostImplTest.cpp:
18130 * tests/CCLayerTreeHostTest.cpp:
18131 (WTF::MockLayerTreeHost::create):
18132 (WTF::CCLayerTreeHostTestOpacityChange::beginTest):
18133 (WTF::CCLayerTreeHostTestSetViewportSize::CCLayerTreeHostTestSetViewportSize):
18134 (WTF::CCLayerTreeHostTestSetViewportSize::beginTest):
18135 (WTF::CCLayerTreeHostTestSetViewportSize::afterTest):
18137 * tests/TextureManagerTest.cpp: Added.
18138 (WTF::FakeTextureAllocator::createTexture):
18139 (WTF::FakeTextureAllocator::deleteTexture):
18140 (WTF::texturesMemorySize):
18141 (WTF::createTextureManager):
18142 (WTF::requestTexture):
18145 2012-01-09 Sheriff Bot <webkit.review.bot@gmail.com>
18147 Unreviewed, rolling out r104418.
18148 http://trac.webkit.org/changeset/104418
18149 https://bugs.webkit.org/show_bug.cgi?id=75855
18151 we still need to build against CG on Mac sometimes (Requested
18152 by epoger on #webkit).
18157 2012-01-08 David Levin <levin@chromium.org>
18159 [chromium] iframes in an autoresized window get sized incorrectly.
18160 https://bugs.webkit.org/show_bug.cgi?id=75806
18162 Reviewed by Adam Barth.
18164 TEST: fast/autoresize/autoresize-with-iframe.html
18166 * src/WebFrameImpl.cpp:
18167 (WebKit::WebFrameImpl::createFrameView): Only do autoresizing
18168 for the main frame not child frames.
18170 2012-01-08 Adam Barth <abarth@webkit.org>
18172 [Chromium] Remove use_skia option from GYP
18173 https://bugs.webkit.org/show_bug.cgi?id=75811
18175 Reviewed by Ryosuke Niwa.
18177 The CG configuration of Chromium Mac is no longer supported.
18182 2012-01-07 Dmitry Lomov <dslomov@google.com>
18184 Unreviewed: disabled CCLayerTreeHostImplTest.blendingOffWhenDrawingOpaqueLayers
18185 and filed https://bugs.webkit.org/show_bug.cgi?id=75783.
18187 * tests/CCLayerTreeHostImplTest.cpp:
18190 2012-01-06 W. James MacLean <wjmaclean@chromium.org>
18192 [Chromium] Cull occluded tiles in tiled layers
18193 https://bugs.webkit.org/show_bug.cgi?id=70533
18195 Reviewed by James Robinson.
18198 * tests/CCQuadCullerTest.cpp: Added.
18199 (WebCore::TestDrawQuad::TestDrawQuad):
18200 (WebCore::TestDrawQuad::create):
18201 (WebCore::setQuads):
18204 2012-01-06 Greg Billock <gbillock@google.com>
18206 [Web Intents] Flagged-off WebCore implementation of navigator.startActivity
18207 https://bugs.webkit.org/show_bug.cgi?id=73051
18209 Reviewed by Adam Barth.
18213 2012-01-06 Tom Sepez <tsepez@chromium.org>
18215 Pass Content-security-policy directive to worker threads.
18216 https://bugs.webkit.org/show_bug.cgi?id=73242
18218 Reviewed by David Levin.
18220 * src/WebSharedWorkerImpl.cpp:
18221 (WebKit::WebSharedWorkerImpl::startWorkerContext):
18222 * src/WebWorkerClientImpl.cpp:
18223 (WebKit::WebWorkerClientImpl::startWorkerContext):
18225 2012-01-05 Jochen Eisinger <jochen@chromium.org>
18227 Check whether a WebView exists before accessing it in StorageAreaProxy. This is not necessarily the case, e.g. for detached iframes.
18228 https://bugs.webkit.org/show_bug.cgi?id=61326
18230 Reviewed by Adam Barth.
18232 * src/StorageAreaProxy.cpp:
18233 (WebCore::StorageAreaProxy::canAccessStorage):
18235 2012-01-04 James Robinson <jamesr@chromium.org>
18237 [chromium] Route all animate calls through CCLayerTreeHost in composited mode to simplify rate limiting logic
18238 https://bugs.webkit.org/show_bug.cgi?id=75577
18240 Reviewed by Darin Fisher.
18242 Routes WebWidget-initiated animate() calls through the CCLayerTreeHost in composited mode. CCLayerTreeHost's
18243 rate limiting logic needs to be aware of when requestAnimationFrame callbacks are run. In threaded mode, the
18244 animate calls are driven from CCThreadProxy and so the CCLayerTreeHost can set whatever state it needs. This
18245 makes the single-threaded mode where the animate calls are driven through the WebWidget interface outside of the
18248 This is a small step towards inverting the scheduling control from the WebWidget to the compositor.
18250 * src/WebViewImpl.cpp:
18251 (WebKit::WebViewImpl::animate):
18252 (WebKit::WebViewImpl::updateAnimations):
18253 * src/WebViewImpl.h:
18255 2012-01-05 David Levin <levin@chromium.org>
18257 [chromium] Resize requests at the view level should be ignored when in autoresize mode.
18258 https://bugs.webkit.org/show_bug.cgi?id=75651
18260 Reviewed by Dmitry Titov.
18262 * src/WebViewImpl.cpp:
18263 (WebKit::WebViewImpl::resize): The assert was here to catch a view that
18264 tried to do a resize after setting autoresize. However, we found that generic
18265 code tries to do resizes as well. Rather than special case each caller,
18266 we'll just make this code ignore the resize call.
18268 2012-01-05 W. James MacLean <wjmaclean@chromium.org>
18270 [chromium][aura] WebExternalTextureLayerImpl::drawsContent() returns incorrect value, causing accelerated content to not display in Aura desktop
18271 https://bugs.webkit.org/show_bug.cgi?id=75551
18273 Reviewed by James Robinson.
18276 * src/WebExternalTextureLayerImpl.cpp:
18277 (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
18278 * tests/WebExternalTextureLayerImplTest.cpp: Copied from Source/WebKit/chromium/src/WebExternalTextureLayerImpl.cpp.
18280 2012-01-05 Tien Ren Chen <trchen@chromium.org>
18282 [chromium] Add CCTimer class for the compositor
18283 https://bugs.webkit.org/show_bug.cgi?id=74769
18285 Reviewed by James Robinson.
18287 Add a simple timer class for CCThread that the timered task can be
18288 manually cancelled.
18291 * tests/CCTimerTest.cpp: Added.
18292 (WebKitTests::CCTimerTest::CCTimerTest):
18293 (WebKitTests::CCTimerTest::onTimerFired):
18294 (WebKitTests::TEST_F):
18296 2012-01-04 Adrienne Walker <enne@google.com>
18298 [chromium] Create unit tests for CCTiledLayerImpl
18299 https://bugs.webkit.org/show_bug.cgi?id=75557
18301 Reviewed by James Robinson.
18303 Add some quad generation tests for tiled layers.
18306 * tests/CCTiledLayerImplTest.cpp: Added.
18307 (WebCore::createLayer):
18309 (WebCore::completelyContains):
18310 (WebCore::getQuads):
18311 (WebCore::verifyQuadsExactlyCoverRect):
18312 (WebCore::coverageVisibleRectOnTileBoundaries):
18313 (WebCore::coverageVisibleRectIntersectsTiles):
18314 (WebCore::coverageVisibleRectIntersectsBounds):
18316 2012-01-05 David Reveman <reveman@chromium.org>
18318 [Chromium] Remove WebSettings::setAcceleratedDrawingEnabled from public API.
18319 https://bugs.webkit.org/show_bug.cgi?id=74125
18321 Reviewed by James Robinson.
18323 Remove setAcceleratedDrawingEnabled method from WebSettings class.
18325 * public/WebSettings.h:
18326 * src/WebSettingsImpl.cpp:
18327 * src/WebSettingsImpl.h:
18329 2012-01-05 Peter Beverloo <peter@chromium.org>
18331 [Chromium] Upstream the RenderTheme and ScrollbarTheme for Android
18332 https://bugs.webkit.org/show_bug.cgi?id=74614
18334 Reviewed by Adam Barth.
18336 * src/WebViewImpl.cpp:
18337 (WebKit::WebViewImpl::setScrollbarColors):
18338 (WebKit::WebViewImpl::setSelectionColors):
18340 2012-01-05 Fady Samuel <fsamuel@chromium.org>
18342 [Chromium] Expose Fixed Position Layout to WebViewImpl
18343 https://bugs.webkit.org/show_bug.cgi?id=75556
18345 Reviewed by Darin Fisher.
18347 * public/WebView.h:
18348 * src/WebViewImpl.cpp:
18349 (WebKit::WebViewImpl::shouldLayoutFixedElementsRelativeToFrame):
18350 (WebKit::WebViewImpl::setShouldLayoutFixedElementsRelativeToFrame):
18351 * src/WebViewImpl.h:
18353 2012-01-04 Ryosuke Niwa <rniwa@webkit.org>
18355 Roll Chromium DEPS from 116031 to 116459.
18359 2012-01-04 David Levin <levin@chromium.org>
18361 Attempt Chromium build fix.
18363 * src/WorkerFileSystemCallbacksBridge.h:
18365 2012-01-04 David Levin <levin@chromium.org>
18367 [chromium] Remove AllowCrossThreadAccess in WorkerFileSystemCallbacksBridge.
18368 https://bugs.webkit.org/show_bug.cgi?id=75579
18370 Reviewed by Dmitry Titov.
18372 This code doesn't have lifetime issues, but this change is
18373 about getting rid of AllowCrossThreadAccess and getting rid of a leakRef.
18374 This allows the code to follow a more common pattern and be more easily
18375 verified as being correct.
18377 * src/WorkerFileSystemCallbacksBridge.cpp:
18378 (WebKit::MainThreadFileSystemCallbacks::createLeakedPtr):
18379 (WebKit::MainThreadFileSystemCallbacks::MainThreadFileSystemCallbacks):
18380 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
18381 (WebKit::WorkerFileSystemCallbacksBridge::postMoveToMainThread):
18382 (WebKit::WorkerFileSystemCallbacksBridge::postCopyToMainThread):
18383 (WebKit::WorkerFileSystemCallbacksBridge::postRemoveToMainThread):
18384 (WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread):
18385 (WebKit::WorkerFileSystemCallbacksBridge::postReadMetadataToMainThread):
18386 (WebKit::WorkerFileSystemCallbacksBridge::postCreateFileToMainThread):
18387 (WebKit::WorkerFileSystemCallbacksBridge::postCreateDirectoryToMainThread):
18388 (WebKit::WorkerFileSystemCallbacksBridge::postFileExistsToMainThread):
18389 (WebKit::WorkerFileSystemCallbacksBridge::postDirectoryExistsToMainThread):
18390 (WebKit::WorkerFileSystemCallbacksBridge::postReadDirectoryToMainThread):
18391 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
18392 (WebKit::WorkerFileSystemCallbacksBridge::moveOnMainThread):
18393 (WebKit::WorkerFileSystemCallbacksBridge::copyOnMainThread):
18394 (WebKit::WorkerFileSystemCallbacksBridge::removeOnMainThread):
18395 (WebKit::WorkerFileSystemCallbacksBridge::removeRecursivelyOnMainThread):
18396 (WebKit::WorkerFileSystemCallbacksBridge::readMetadataOnMainThread):
18397 (WebKit::WorkerFileSystemCallbacksBridge::createFileOnMainThread):
18398 (WebKit::WorkerFileSystemCallbacksBridge::createDirectoryOnMainThread):
18399 (WebKit::WorkerFileSystemCallbacksBridge::fileExistsOnMainThread):
18400 (WebKit::WorkerFileSystemCallbacksBridge::directoryExistsOnMainThread):
18401 (WebKit::WorkerFileSystemCallbacksBridge::readDirectoryOnMainThread):
18402 (WebKit::WorkerFileSystemCallbacksBridge::didFailOnMainThread):
18403 (WebKit::WorkerFileSystemCallbacksBridge::didOpenFileSystemOnMainThread):
18404 (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnMainThread):
18405 (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnMainThread):
18406 (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnMainThread):
18407 (WebKit::WorkerFileSystemCallbacksBridge::didFailOnWorkerThread):
18408 (WebKit::WorkerFileSystemCallbacksBridge::didOpenFileSystemOnWorkerThread):
18409 (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnWorkerThread):
18410 (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnWorkerThread):
18411 (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnWorkerThread):
18412 (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnMainThread):
18413 (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
18414 * src/WorkerFileSystemCallbacksBridge.h:
18416 2012-01-04 David Levin <levin@chromium.org>
18418 [chromium] Make it safe to delete WorkerFileSystemContextObserver on any thread.
18419 https://bugs.webkit.org/show_bug.cgi?id=75573
18421 Reviewed by Dmitry Titov.
18423 * src/WorkerFileSystemCallbacksBridge.cpp:
18424 (WebKit::WorkerFileSystemContextObserver): Move the WorkerContextObserver
18425 out of the WorkerFileSystemCallbacksBridge since an observer should be
18426 destroyed on the WorkerContext thread. (Actually, it could be destroyed on either
18427 thread if you are careful to make a certain method call on it while on the WorkerContext
18428 thread but trying that is a more fragile pattern.)
18429 (WebKit::WorkerFileSystemCallbacksBridge::WorkerFileSystemCallbacksBridge):
18430 (WebKit::WorkerFileSystemCallbacksBridge::stop): Factor out the clean up and make it
18431 clear what the mutex is guarding.
18432 (WebKit::WorkerFileSystemCallbacksBridge::cleanUpAfterCallback): Delete
18433 the observer. Due to where this is called from, it is always called on the WorkerContext thread.
18434 (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnWorkerThread): Replace some code with
18435 the cleanUpAfterCallback call.
18436 (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
18437 * src/WorkerFileSystemCallbacksBridge.h: In addition to some comment clean ups and code factoring,
18438 I made the desctructor private since no one should call it directly.
18440 2012-01-04 James Robinson <jamesr@chromium.org>
18442 [chromium] Remove chromium compositor support for unused zoomAnimatorTransform
18443 https://bugs.webkit.org/show_bug.cgi?id=75585
18445 Reviewed by Kenneth Russell.
18447 * src/WebViewImpl.cpp:
18448 (WebKit::WebViewImpl::setZoomLevel):
18449 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
18450 * tests/CCLayerImplTest.cpp:
18453 2012-01-04 James Robinson <jamesr@chromium.org>
18455 [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl
18459 2012-01-04 Sheriff Bot <webkit.review.bot@gmail.com>
18461 Unreviewed, rolling out r104052.
18462 http://trac.webkit.org/changeset/104052
18463 https://bugs.webkit.org/show_bug.cgi?id=75574
18465 Breaks win builder (Requested by enne on #webkit).
18468 * tests/CCTiledLayerImplTest.cpp: Removed.
18470 2012-01-04 Dmitry Lomov <dslomov@google.com>
18472 Unreviewed:[Chromium]Disable WebPageNewSerializeTest.CSSResources and WebPageNewSerializeTest.TestMHTMLEncoding.
18473 https://bugs.webkit.org/show_bug.cgi?id=75567
18475 * tests/WebPageNewSerializerTest.cpp:
18478 2012-01-04 Adrienne Walker <enne@google.com>
18480 [chromium] Create unit tests for CCTiledLayerImpl
18481 https://bugs.webkit.org/show_bug.cgi?id=75557
18483 Reviewed by James Robinson.
18485 Add some quad generation tests for tiled layers.
18488 * tests/CCTiledLayerImplTest.cpp: Added.
18489 (WebCore::createLayer):
18491 (WebCore::completelyContains):
18492 (WebCore::getQuads):
18493 (WebCore::verifyQuadsExactlyCoverRect):
18494 (WebCore::coverageVisibleRectOnTileBoundaries):
18495 (WebCore::coverageVisibleRectIntersectsTiles):
18496 (WebCore::coverageVisibleRectIntersectsBounds):
18498 2012-01-04 James Robinson <jamesr@chromium.org>
18500 [chromium] Move WebMimeRegistry and dependencies to Source/Platform
18501 https://bugs.webkit.org/show_bug.cgi?id=74583
18503 Reviewed by Darin Fisher.
18505 public/platform/WebMimeRegistry.h is a temporary forwarding header to ease the transition. Once downstream
18506 callers are updated to the new location this header can be removed.
18508 WebString, WebCString, and WebCommon.h will remain in place as forwarding headers for users of the WebKit client
18512 * public/platform/WebCString.h:
18513 * public/platform/WebCommon.h:
18514 * public/platform/WebMimeRegistry.h:
18515 * public/platform/WebString.h:
18517 2012-01-03 Vangelis Kokkevis <vangelis@chromium.org>
18519 [chromium] Bypass the shadow texture copy for accelerated
18520 canvas when running the compositor in single threaded mode.
18521 https://bugs.webkit.org/show_bug.cgi?id=75146
18523 Modified Canvas2DLayerChromium unit test to test canvas with
18524 both threaded and non-threaded compositing.
18526 Reviewed by James Robinson.
18528 * tests/CCSchedulerTestCommon.h:
18529 (WebKitTests::FakeCCThread::threadID):
18530 * tests/Canvas2DLayerChromiumTest.cpp:
18531 (WebCore::Canvas2DLayerChromiumTest::setTextureManager):
18532 (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
18535 2012-01-04 Peter Beverloo <peter@chromium.org>
18537 [Chromium] Re-use TestShellLinux.cpp for Android
18538 https://bugs.webkit.org/show_bug.cgi?id=75169
18540 Reviewed by Tony Chang.
18542 TestShellLinux.cpp can be re-used for the test-shell on the WebKit
18543 Chromium port for Android. Most custom inclusions for the DumpRenderTree
18544 target are done in Tools/DumpRenderTree.gypi, but since *Linux.cpp files
18545 are being excluded by a global rule on sources it has to be later in
18546 the project generation process.
18550 2012-01-03 Karl Koscher <supersat@chromium.org>
18552 Give embedders a chance to handle postMessage calls
18553 https://bugs.webkit.org/show_bug.cgi?id=73883
18555 Reviewed by Adam Barth.
18557 * public/WebFrameClient.h:
18558 (WebKit::WebFrameClient::willCheckAndDispatchMessageEvent):
18559 interface to give the embedder a chance to handle this postMessage call
18560 * src/FrameLoaderClientImpl.cpp:
18561 (WebKit::FrameLoaderClientImpl::willCheckAndDispatchMessageEvent): Call
18562 willCheckAndDispatchMessageEvent on WebFrameClient
18563 * src/FrameLoaderClientImpl.h:
18565 2012-01-03 Shawn Singh <shawnsingh@chromium.org>
18567 [chromium] CCLayerSorter accidentally reverses order of some layers.
18568 https://bugs.webkit.org/show_bug.cgi?id=75046
18570 Reviewed by James Robinson.
18572 * tests/CCLayerSorterTest.cpp:
18575 2012-01-03 David Levin <levin@chromium.org>
18577 [chromium] LocalFileSystemChromium needs some thread safety fixes.
18578 https://bugs.webkit.org/show_bug.cgi?id=75494
18580 Reviewed by Dmitry Titov.
18582 This is essentially the same fix as r102894 except in slightly different code.
18584 The important part of this fix is the removal of AllowCrossThreadAccess so
18585 that ref counting happens appropriately.
18587 Minor clean up throughout: Removed unnecessary WTF prefix in many
18588 of these places and unnecessary String().
18590 * src/LocalFileSystemChromium.cpp: See r102894 since this
18591 is basically the same thing.
18593 2012-01-03 Shawn Singh <shawnsingh@chromium.org>
18595 [chromium] Push drawsContent and contentsVisible into accelerated compositor
18596 https://bugs.webkit.org/show_bug.cgi?id=71209
18598 Reviewed by James Robinson.
18600 * src/WebContentLayerImpl.cpp:
18601 (WebKit::WebContentLayerImpl::WebContentLayerImpl):
18602 (WebKit::WebContentLayerImpl::setDrawsContent):
18603 * src/WebContentLayerImpl.h:
18604 * src/WebExternalTextureLayerImpl.cpp:
18605 (WebKit::WebExternalTextureLayerImpl::drawsContent):
18606 * src/WebLayerImpl.cpp:
18607 (WebKit::WebLayerImpl::WebLayerImpl):
18608 * src/WebLayerImpl.h:
18609 * tests/CCLayerTreeHostTest.cpp:
18610 (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
18611 * tests/Canvas2DLayerChromiumTest.cpp:
18612 * tests/LayerChromiumTest.cpp:
18613 * tests/TiledLayerChromiumTest.cpp:
18614 (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
18616 2012-01-03 Shawn Singh <shawnsingh@chromium.org>
18618 [chromium] Make sure root damage rect gets passed to renderer
18619 https://bugs.webkit.org/show_bug.cgi?id=74893
18621 Reviewed by James Robinson.
18623 * tests/CCLayerTreeHostImplTest.cpp:
18625 (WebKit::PartialSwapTrackerContext::initialize):
18626 (WebKit::PartialSwapTrackerContext::postSubBufferCHROMIUM):
18627 (WebKit::PartialSwapTrackerContext::getString):
18628 (WebKit::PartialSwapTrackerContext::partialSwapRect):
18630 2012-01-03 Tony Chang <tony@chromium.org>
18632 [chromium] Fix compilation with clang and the shared build
18633 https://bugs.webkit.org/show_bug.cgi?id=75492
18635 Reviewed by Ojan Vafai.
18637 * WebKit.gyp: Turn off -Wglobal-constructors because test files using
18638 GTEST have global constructors.
18639 * tests/InnerGestureRecognizerTest.cpp:
18640 (TEST_F): Move global into test function.
18642 2012-01-03 Adrienne Walker <enne@google.com>
18644 [chromium] Revert accidentally removed chrome client compositing check
18645 https://bugs.webkit.org/show_bug.cgi?id=75500
18647 Reviewed by James Robinson.
18649 This check was overzealously removed in r103968 as a part of
18650 re-enabling compositing for RTL pages. Add it back.
18652 * src/ChromeClientImpl.cpp:
18653 (WebKit::ChromeClientImpl::allowedCompositingTriggers):
18655 2012-01-03 Jon Lee <jonlee@apple.com>
18657 Leak of WebNotificationClient when page is destroyed
18658 https://bugs.webkit.org/show_bug.cgi?id=74980
18659 <rdar://problem/10611231>
18661 Reviewed by Mark Rowe.
18663 * src/NotificationPresenterImpl.cpp:
18664 (WebKit::NotificationPresenterImpl::notificationControllerDestroyed): Empty implementation because ownership
18666 * src/NotificationPresenterImpl.h:
18668 2012-01-03 James Robinson <jamesr@chromium.org>
18670 [chromium] Remove WebLayerClient
18671 https://bugs.webkit.org/show_bug.cgi?id=75481
18673 Reviewed by Darin Fisher.
18676 * public/platform/WebContentLayer.h:
18677 * public/platform/WebExternalTextureLayer.h:
18678 * public/platform/WebLayer.h:
18679 * public/platform/WebLayerClient.h: Removed.
18680 * src/WebContentLayer.cpp:
18681 * src/WebExternalTextureLayer.cpp:
18682 * src/WebLayer.cpp:
18684 2012-01-03 Adrienne Walker <enne@google.com>
18686 [chromium] Support RTL pages and elements in the compositor
18687 https://bugs.webkit.org/show_bug.cgi?id=56591
18689 Reviewed by James Robinson.
18691 As the noncomposited content host layer is created and managed by the
18692 Chromium compositor, adjust its transform appropriately in the layer
18693 tree and at paint time to handle the offset required due to the
18694 initial containing block of RTL pages.
18696 * src/ChromeClientImpl.cpp:
18697 (WebKit::ChromeClientImpl::allowedCompositingTriggers):
18698 * src/NonCompositedContentHost.cpp:
18699 (WebKit::NonCompositedContentHost::setViewport):
18700 (WebKit::NonCompositedContentHost::paintContents):
18701 * src/NonCompositedContentHost.h:
18702 * src/WebViewImpl.cpp:
18703 (WebKit::WebViewImpl::updateLayerTreeViewport):
18705 2012-01-03 Adrienne Walker <enne@google.com>
18707 [chromium] Make tiled layer's tiler always exist
18708 https://bugs.webkit.org/show_bug.cgi?id=75329
18710 Reviewed by James Robinson.
18712 Update test due to changing API. Add a test for changing border
18713 texel option on TilingData.
18715 * tests/TiledLayerChromiumTest.cpp:
18716 (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
18717 * tests/TilingDataTest.cpp:
18720 2011-12-30 Ami Fischman <fischman@chromium.org>
18722 Allow disabling accelerated compositing in WebMediaPlayerClient (so audio-only <video> isn't accelerated).
18723 https://bugs.webkit.org/show_bug.cgi?id=75261
18725 Reviewed by Darin Fisher.
18727 * public/WebMediaPlayerClient.h:
18728 * src/WebMediaPlayerClientImpl.cpp:
18729 (WebKit::WebMediaPlayerClientImpl::disableAcceleratedCompositing):
18730 (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::setClient):
18731 * src/WebMediaPlayerClientImpl.h:
18733 2011-12-30 Sheriff Bot <webkit.review.bot@gmail.com>
18735 Unreviewed. Rolled DEPS.
18739 2011-12-30 Pavel Feldman <pfeldman@google.com>
18741 Web Inspector: migrate from "attached" to "compact" styles.
18742 https://bugs.webkit.org/show_bug.cgi?id=75381
18744 Reviewed by Yury Semikhatsky.
18746 When front-end is docked to right, it should look like "detached", but is still "attached".
18747 Use "compact" mode instead of "attached" mode in the styles to mitigate it.
18749 * src/js/devTools.css:
18750 (body.compact #toolbar):
18752 2011-12-30 Dmitry Lomov <dslomov@google.com>
18754 https://bugs.webkit.org/show_bug.cgi?id=75373
18755 [Chromium] Remove WebWorkerClient.h
18756 After coordinated patch in chromium, WebWorkerClient alias for WebSharedWorkerClient is no longer needed.
18758 Reviewed by Adam Barth.
18761 * public/WebFrameClient.h:
18762 * public/WebWorkerClient.h: Removed.
18763 * src/WebSharedWorkerImpl.h:
18764 * src/WebWorkerBase.cpp:
18765 * src/WebWorkerClientImpl.h:
18767 2011-12-29 Sheriff Bot <webkit.review.bot@gmail.com>
18769 Unreviewed, rolling out r103831.
18770 http://trac.webkit.org/changeset/103831
18771 https://bugs.webkit.org/show_bug.cgi?id=75377
18773 broke chromium build (Requested by dslomov_ on #webkit).
18776 * public/WebFrameClient.h:
18777 * public/WebWorkerClient.h: Copied from Source/WebKit/chromium/src/WebWorkerBase.cpp.
18778 * src/WebSharedWorkerImpl.h:
18779 * src/WebWorkerBase.cpp:
18780 * src/WebWorkerClientImpl.h:
18782 2011-12-29 Pavel Feldman <pfeldman@google.com>
18784 Web Inspector: enable dock-to-right view (still need embedders to support it).
18785 https://bugs.webkit.org/show_bug.cgi?id=75360
18787 Reviewed by Yury Semikhatsky.
18789 * src/js/DevTools.js:
18791 2011-12-29 Dmitry Lomov <dslomov@google.com>
18793 https://bugs.webkit.org/show_bug.cgi?id=75373
18794 [Chromium] Remove WebWorkerClient.h
18795 After coordinated patch in chromium, WebWorkerClient alias for WebSharedWorkerClient is no longer needed.
18797 Reviewed by Adam Barth.
18800 * public/WebFrameClient.h:
18801 * public/WebWorkerClient.h: Removed.
18802 * src/WebSharedWorkerImpl.h:
18803 * src/WebWorkerBase.cpp:
18804 * src/WebWorkerClientImpl.h:
18806 2011-12-29 Pavel Feldman <pfeldman@google.com>
18808 Web Inspector: [chromium] pass dock to side request to the embedder.
18809 https://bugs.webkit.org/show_bug.cgi?id=75344
18811 Reviewed by Yury Semikhatsky.
18813 * public/WebDevToolsFrontendClient.h:
18814 (WebKit::WebDevToolsFrontendClient::requestSetDockSide):
18815 * src/InspectorFrontendClientImpl.cpp:
18816 (WebKit::InspectorFrontendClientImpl::requestSetDockSide):
18817 * src/InspectorFrontendClientImpl.h:
18819 2011-12-28 Dmitry Lomov <dslomov@google.com>
18821 [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
18822 https://bugs.webkit.org/show_bug.cgi?id=66509
18823 Just renames, merges and removal of dead code. Here are the list of renames:
18824 - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
18825 - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
18826 - WebWorkerBase merged into WebSharedWorkerImpl
18827 - NewWebWorkerBase renamed into WebWorkerBase
18828 WebWorkerClient.h has a "#define WebWorkerClient WebSharedWorkerClient" to keep chromium building.
18829 Will be removed after coordinated patch in chromium.
18831 Reviewed by David Levin.
18834 * public/WebCommonWorkerClient.h:
18835 * public/WebSharedWorker.h:
18836 * public/WebSharedWorkerClient.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
18837 (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
18838 (WebKit::WebSharedWorkerClient::allowFileSystem):
18839 (WebKit::WebSharedWorkerClient::openFileSystem):
18840 (WebKit::WebSharedWorkerClient::dispatchDevToolsMessage):
18841 (WebKit::WebSharedWorkerClient::saveDevToolsAgentState):
18842 (WebKit::WebSharedWorkerClient::~WebSharedWorkerClient):
18843 * public/WebWorkerClient.h:
18844 * src/DatabaseObserver.cpp:
18845 (WebKit::AllowDatabaseMainThreadBridge::create):
18846 (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
18847 (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
18848 (WebKit::allowDatabaseForWorker):
18849 (WebCore::DatabaseObserver::canEstablishDatabase):
18850 * src/IDBFactoryBackendProxy.cpp:
18851 (WebKit::IDBFactoryBackendProxy::openFromWorker):
18852 * src/LocalFileSystemChromium.cpp:
18853 (WebCore::openFileSystemHelper):
18854 * src/WebSharedWorkerImpl.cpp:
18855 (WebKit::initializeWebKitStaticValues):
18856 (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
18857 (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
18858 (WebKit::WebSharedWorkerImpl::stopWorkerThread):
18859 (WebKit::WebSharedWorkerImpl::initializeLoader):
18860 (WebKit::WebSharedWorkerImpl::didCreateDataSource):
18861 (WebKit::WebSharedWorkerImpl::createApplicationCacheHost):
18862 (WebKit::WebSharedWorkerImpl::postMessageToWorkerObject):
18863 (WebKit::WebSharedWorkerImpl::postMessageTask):
18864 (WebKit::WebSharedWorkerImpl::postExceptionToWorkerObject):
18865 (WebKit::WebSharedWorkerImpl::postExceptionTask):
18866 (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
18867 (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
18868 (WebKit::WebSharedWorkerImpl::postMessageToPageInspector):
18869 (WebKit::WebSharedWorkerImpl::postMessageToPageInspectorTask):
18870 (WebKit::WebSharedWorkerImpl::updateInspectorStateCookie):
18871 (WebKit::WebSharedWorkerImpl::updateInspectorStateCookieTask):
18872 (WebKit::WebSharedWorkerImpl::confirmMessageFromWorkerObject):
18873 (WebKit::WebSharedWorkerImpl::confirmMessageTask):
18874 (WebKit::WebSharedWorkerImpl::reportPendingActivity):
18875 (WebKit::WebSharedWorkerImpl::reportPendingActivityTask):
18876 (WebKit::WebSharedWorkerImpl::workerContextClosed):
18877 (WebKit::WebSharedWorkerImpl::workerContextClosedTask):
18878 (WebKit::WebSharedWorkerImpl::workerContextDestroyed):
18879 (WebKit::WebSharedWorkerImpl::workerContextDestroyedTask):
18880 (WebKit::WebSharedWorkerImpl::postTaskToLoader):
18881 (WebKit::WebSharedWorkerImpl::postTaskForModeToWorkerContext):
18882 (WebKit::WebSharedWorker::create):
18883 * src/WebSharedWorkerImpl.h:
18884 (WebKit::WebSharedWorkerImpl::view):
18885 (WebKit::WebSharedWorkerImpl::commonClient):
18886 (WebKit::WebSharedWorkerImpl::client):
18887 (WebKit::WebSharedWorkerImpl::setWorkerThread):
18888 (WebKit::WebSharedWorkerImpl::workerThread):
18889 * src/WebWorkerBase.cpp:
18890 (WebKit::invokeTaskMethod):
18891 (WebKit::WebWorkerBase::dispatchTaskToMainThread):
18892 * src/WebWorkerBase.h:
18893 * src/WebWorkerClientImpl.cpp:
18894 * src/WebWorkerClientImpl.h:
18895 (WebKit::WebWorkerClientImpl::commonClient):
18896 * src/WebWorkerImpl.cpp: Removed.
18897 * src/WebWorkerImpl.h: Removed.
18898 * src/WorkerFileSystemCallbacksBridge.cpp:
18899 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
18900 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
18901 * src/WorkerFileSystemCallbacksBridge.h:
18903 2011-12-28 Sheriff Bot <webkit.review.bot@gmail.com>
18905 Unreviewed, rolling out r103785.
18906 http://trac.webkit.org/changeset/103785
18907 https://bugs.webkit.org/show_bug.cgi?id=75332
18909 Broke builders; looks like clobbering didnt help (Requested by
18910 dslomov on #webkit).
18913 * public/WebCommonWorkerClient.h:
18914 (WebKit::WebCommonWorkerClient::postConsoleMessageToWorkerObject):
18915 (WebKit::WebCommonWorkerClient::allowFileSystem):
18916 (WebKit::WebCommonWorkerClient::openFileSystem):
18917 (WebKit::WebCommonWorkerClient::dispatchDevToolsMessage):
18918 (WebKit::WebCommonWorkerClient::saveDevToolsAgentState):
18919 (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient):
18920 * public/WebFrameClient.h:
18921 (WebKit::WebFrameClient::createWorker):
18922 * public/WebSharedWorker.h:
18923 * public/WebSharedWorkerClient.h: Removed.
18924 * public/WebWorkerClient.h:
18925 (WebKit::WebWorkerClient::~WebWorkerClient):
18926 * src/DatabaseObserver.cpp:
18927 (WebKit::AllowDatabaseMainThreadBridge::create):
18928 (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
18929 (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
18930 (WebKit::allowDatabaseForWorker):
18931 (WebCore::DatabaseObserver::canEstablishDatabase):
18932 * src/IDBFactoryBackendProxy.cpp:
18933 (WebKit::IDBFactoryBackendProxy::openFromWorker):
18934 * src/LocalFileSystemChromium.cpp:
18935 (WebCore::openFileSystemHelper):
18936 * src/WebSharedWorkerImpl.cpp:
18937 (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
18938 (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
18939 (WebKit::WebSharedWorkerImpl::client):
18940 (WebKit::WebSharedWorker::create):
18941 * src/WebSharedWorkerImpl.h:
18942 (WebKit::WebSharedWorkerImpl::commonClient):
18943 (WebKit::WebSharedWorkerImpl::newCommonClient):
18944 * src/WebWorkerBase.cpp:
18945 (WebKit::initializeWebKitStaticValues):
18946 (WebKit::WebWorkerBase::WebWorkerBase):
18947 (WebKit::WebWorkerBase::~WebWorkerBase):
18948 (WebKit::WebWorkerBase::stopWorkerThread):
18949 (WebKit::WebWorkerBase::initializeLoader):
18950 (WebKit::WebWorkerBase::dispatchTaskToMainThread):
18951 (WebKit::WebWorkerBase::invokeTaskMethod):
18952 (WebKit::WebWorkerBase::didCreateDataSource):
18953 (WebKit::WebWorkerBase::createApplicationCacheHost):
18954 (WebKit::WebWorkerBase::postMessageToWorkerObject):
18955 (WebKit::WebWorkerBase::postMessageTask):
18956 (WebKit::WebWorkerBase::postExceptionToWorkerObject):
18957 (WebKit::WebWorkerBase::postExceptionTask):
18958 (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
18959 (WebKit::WebWorkerBase::postConsoleMessageTask):
18960 (WebKit::WebWorkerBase::postMessageToPageInspector):
18961 (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
18962 (WebKit::WebWorkerBase::updateInspectorStateCookie):
18963 (WebKit::WebWorkerBase::updateInspectorStateCookieTask):
18964 (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
18965 (WebKit::WebWorkerBase::confirmMessageTask):
18966 (WebKit::WebWorkerBase::reportPendingActivity):
18967 (WebKit::WebWorkerBase::reportPendingActivityTask):
18968 (WebKit::WebWorkerBase::workerContextClosed):
18969 (WebKit::WebWorkerBase::workerContextClosedTask):
18970 (WebKit::WebWorkerBase::workerContextDestroyed):
18971 (WebKit::WebWorkerBase::workerContextDestroyedTask):
18972 (WebKit::WebWorkerBase::postTaskToLoader):
18973 (WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
18974 * src/WebWorkerBase.h:
18975 (WebKit::WebWorkerBase::view):
18976 (WebKit::WebWorkerBase::setWorkerThread):
18977 (WebKit::WebWorkerBase::workerThread):
18978 * src/WebWorkerClientImpl.cpp:
18979 * src/WebWorkerClientImpl.h:
18980 (WebKit::WebWorkerClientImpl::newCommonClient):
18981 * src/WebWorkerImpl.cpp: Added.
18982 (WebKit::WebWorker::create):
18983 (WebKit::WebWorkerImpl::WebWorkerImpl):
18984 (WebKit::WebWorkerImpl::~WebWorkerImpl):
18985 (WebKit::WebWorkerImpl::newCommonClient):
18986 (WebKit::WebWorkerImpl::commonClient):
18987 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
18988 (WebKit::WebWorkerImpl::startWorkerContext):
18989 (WebKit::WebWorkerImpl::terminateWorkerContext):
18990 (WebKit::WebWorkerImpl::postMessageToWorkerContext):
18991 (WebKit::WebWorkerImpl::workerObjectDestroyed):
18992 (WebKit::WebWorkerImpl::clientDestroyed):
18993 * src/WebWorkerImpl.h: Copied from Source/WebKit/chromium/src/WebWorkerBase.cpp.
18994 (WebKit::WebWorkerImpl::client):
18995 * src/WorkerFileSystemCallbacksBridge.cpp:
18996 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
18997 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
18998 * src/WorkerFileSystemCallbacksBridge.h:
19000 2011-12-28 Dmitry Lomov <dslomov@google.com>
19002 [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
19003 https://bugs.webkit.org/show_bug.cgi?id=66509
19004 Just renames, merges and removal of dead code. Here are the list of renames:
19005 - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
19006 - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
19007 - WebWorkerBase merged into WebSharedWorkerImpl
19008 - NewWebWorkerBase renamed into WebWorkerBase
19009 WebWorkerClient.h has a "#define WebWorkerClient WebSharedWorkerClient" to keep chromium building.
19010 Will be removed after coordinated patch in chromium.
19012 Reviewed by David Levin.
19015 * public/WebCommonWorkerClient.h:
19016 * public/WebSharedWorker.h:
19017 * public/WebSharedWorkerClient.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
19018 (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
19019 (WebKit::WebSharedWorkerClient::allowFileSystem):
19020 (WebKit::WebSharedWorkerClient::openFileSystem):
19021 (WebKit::WebSharedWorkerClient::dispatchDevToolsMessage):
19022 (WebKit::WebSharedWorkerClient::saveDevToolsAgentState):
19023 (WebKit::WebSharedWorkerClient::~WebSharedWorkerClient):
19024 * public/WebWorkerClient.h:
19025 * src/DatabaseObserver.cpp:
19026 (WebKit::AllowDatabaseMainThreadBridge::create):
19027 (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
19028 (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
19029 (WebKit::allowDatabaseForWorker):
19030 (WebCore::DatabaseObserver::canEstablishDatabase):
19031 * src/IDBFactoryBackendProxy.cpp:
19032 (WebKit::IDBFactoryBackendProxy::openFromWorker):
19033 * src/LocalFileSystemChromium.cpp:
19034 (WebCore::openFileSystemHelper):
19035 * src/WebSharedWorkerImpl.cpp:
19036 (WebKit::initializeWebKitStaticValues):
19037 (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
19038 (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
19039 (WebKit::WebSharedWorkerImpl::stopWorkerThread):
19040 (WebKit::WebSharedWorkerImpl::initializeLoader):
19041 (WebKit::WebSharedWorkerImpl::didCreateDataSource):
19042 (WebKit::WebSharedWorkerImpl::createApplicationCacheHost):
19043 (WebKit::WebSharedWorkerImpl::postMessageToWorkerObject):
19044 (WebKit::WebSharedWorkerImpl::postMessageTask):
19045 (WebKit::WebSharedWorkerImpl::postExceptionToWorkerObject):
19046 (WebKit::WebSharedWorkerImpl::postExceptionTask):
19047 (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
19048 (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
19049 (WebKit::WebSharedWorkerImpl::postMessageToPageInspector):
19050 (WebKit::WebSharedWorkerImpl::postMessageToPageInspectorTask):
19051 (WebKit::WebSharedWorkerImpl::updateInspectorStateCookie):
19052 (WebKit::WebSharedWorkerImpl::updateInspectorStateCookieTask):
19053 (WebKit::WebSharedWorkerImpl::confirmMessageFromWorkerObject):
19054 (WebKit::WebSharedWorkerImpl::confirmMessageTask):
19055 (WebKit::WebSharedWorkerImpl::reportPendingActivity):
19056 (WebKit::WebSharedWorkerImpl::reportPendingActivityTask):
19057 (WebKit::WebSharedWorkerImpl::workerContextClosed):
19058 (WebKit::WebSharedWorkerImpl::workerContextClosedTask):
19059 (WebKit::WebSharedWorkerImpl::workerContextDestroyed):
19060 (WebKit::WebSharedWorkerImpl::workerContextDestroyedTask):
19061 (WebKit::WebSharedWorkerImpl::postTaskToLoader):
19062 (WebKit::WebSharedWorkerImpl::postTaskForModeToWorkerContext):
19063 (WebKit::WebSharedWorker::create):
19064 * src/WebSharedWorkerImpl.h:
19065 (WebKit::WebSharedWorkerImpl::view):
19066 (WebKit::WebSharedWorkerImpl::commonClient):
19067 (WebKit::WebSharedWorkerImpl::client):
19068 (WebKit::WebSharedWorkerImpl::setWorkerThread):
19069 (WebKit::WebSharedWorkerImpl::workerThread):
19070 * src/WebWorkerBase.cpp:
19071 (WebKit::invokeTaskMethod):
19072 (WebKit::WebWorkerBase::dispatchTaskToMainThread):
19073 * src/WebWorkerBase.h:
19074 * src/WebWorkerClientImpl.cpp:
19075 * src/WebWorkerClientImpl.h:
19076 (WebKit::WebWorkerClientImpl::commonClient):
19077 * src/WebWorkerImpl.cpp: Removed.
19078 * src/WebWorkerImpl.h: Removed.
19079 * src/WorkerFileSystemCallbacksBridge.cpp:
19080 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
19081 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
19082 * src/WorkerFileSystemCallbacksBridge.h:
19084 2011-12-28 Sheriff Bot <webkit.review.bot@gmail.com>
19086 Unreviewed, rolling out r103620.
19087 http://trac.webkit.org/changeset/103620
19088 https://bugs.webkit.org/show_bug.cgi?id=75316
19090 Causes many crashes (Requested by abarth on #webkit).
19092 * public/WebDOMMessageEvent.h:
19093 * public/WebFrameClient.h:
19094 * src/FrameLoaderClientImpl.cpp:
19095 * src/FrameLoaderClientImpl.h:
19097 2011-12-27 Sheriff Bot <webkit.review.bot@gmail.com>
19099 Unreviewed, rolling out r103734.
19100 http://trac.webkit.org/changeset/103734
19101 https://bugs.webkit.org/show_bug.cgi?id=75278
19103 Broke cr-mac (Requested by dslomov on #webkit).
19106 * public/WebCommonWorkerClient.h:
19107 (WebKit::WebCommonWorkerClient::postConsoleMessageToWorkerObject):
19108 (WebKit::WebCommonWorkerClient::allowFileSystem):
19109 (WebKit::WebCommonWorkerClient::openFileSystem):
19110 (WebKit::WebCommonWorkerClient::dispatchDevToolsMessage):
19111 (WebKit::WebCommonWorkerClient::saveDevToolsAgentState):
19112 (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient):
19113 * public/WebFrameClient.h:
19114 (WebKit::WebFrameClient::createWorker):
19115 * public/WebSharedWorker.h:
19116 * public/WebSharedWorkerClient.h: Removed.
19117 * public/WebWorkerClient.h:
19118 (WebKit::WebWorkerClient::~WebWorkerClient):
19119 * src/DatabaseObserver.cpp:
19120 (WebKit::AllowDatabaseMainThreadBridge::create):
19121 (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
19122 (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
19123 (WebKit::allowDatabaseForWorker):
19124 (WebCore::DatabaseObserver::canEstablishDatabase):
19125 * src/IDBFactoryBackendProxy.cpp:
19126 (WebKit::IDBFactoryBackendProxy::openFromWorker):
19127 * src/LocalFileSystemChromium.cpp:
19128 (WebCore::openFileSystemHelper):
19129 * src/WebSharedWorkerImpl.cpp:
19130 (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
19131 (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
19132 (WebKit::WebSharedWorkerImpl::client):
19133 (WebKit::WebSharedWorker::create):
19134 * src/WebSharedWorkerImpl.h:
19135 (WebKit::WebSharedWorkerImpl::commonClient):
19136 (WebKit::WebSharedWorkerImpl::newCommonClient):
19137 * src/WebWorkerBase.cpp:
19138 (WebKit::initializeWebKitStaticValues):
19139 (WebKit::WebWorkerBase::WebWorkerBase):
19140 (WebKit::WebWorkerBase::~WebWorkerBase):
19141 (WebKit::WebWorkerBase::stopWorkerThread):
19142 (WebKit::WebWorkerBase::initializeLoader):
19143 (WebKit::WebWorkerBase::dispatchTaskToMainThread):
19144 (WebKit::WebWorkerBase::invokeTaskMethod):
19145 (WebKit::WebWorkerBase::didCreateDataSource):
19146 (WebKit::WebWorkerBase::createApplicationCacheHost):
19147 (WebKit::WebWorkerBase::postMessageToWorkerObject):
19148 (WebKit::WebWorkerBase::postMessageTask):
19149 (WebKit::WebWorkerBase::postExceptionToWorkerObject):
19150 (WebKit::WebWorkerBase::postExceptionTask):
19151 (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
19152 (WebKit::WebWorkerBase::postConsoleMessageTask):
19153 (WebKit::WebWorkerBase::postMessageToPageInspector):
19154 (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
19155 (WebKit::WebWorkerBase::updateInspectorStateCookie):
19156 (WebKit::WebWorkerBase::updateInspectorStateCookieTask):
19157 (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
19158 (WebKit::WebWorkerBase::confirmMessageTask):
19159 (WebKit::WebWorkerBase::reportPendingActivity):
19160 (WebKit::WebWorkerBase::reportPendingActivityTask):
19161 (WebKit::WebWorkerBase::workerContextClosed):
19162 (WebKit::WebWorkerBase::workerContextClosedTask):
19163 (WebKit::WebWorkerBase::workerContextDestroyed):
19164 (WebKit::WebWorkerBase::workerContextDestroyedTask):
19165 (WebKit::WebWorkerBase::postTaskToLoader):
19166 (WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
19167 * src/WebWorkerBase.h:
19168 (WebKit::WebWorkerBase::view):
19169 (WebKit::WebWorkerBase::setWorkerThread):
19170 (WebKit::WebWorkerBase::workerThread):
19171 * src/WebWorkerClientImpl.cpp:
19172 * src/WebWorkerClientImpl.h:
19173 (WebKit::WebWorkerClientImpl::newCommonClient):
19174 * src/WebWorkerImpl.cpp: Added.
19175 (WebKit::WebWorker::create):
19176 (WebKit::WebWorkerImpl::WebWorkerImpl):
19177 (WebKit::WebWorkerImpl::~WebWorkerImpl):
19178 (WebKit::WebWorkerImpl::newCommonClient):
19179 (WebKit::WebWorkerImpl::commonClient):
19180 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
19181 (WebKit::WebWorkerImpl::startWorkerContext):
19182 (WebKit::WebWorkerImpl::terminateWorkerContext):
19183 (WebKit::WebWorkerImpl::postMessageToWorkerContext):
19184 (WebKit::WebWorkerImpl::workerObjectDestroyed):
19185 (WebKit::WebWorkerImpl::clientDestroyed):
19186 * src/WebWorkerImpl.h: Copied from Source/WebKit/chromium/src/WebWorkerBase.cpp.
19187 (WebKit::WebWorkerImpl::client):
19188 * src/WorkerFileSystemCallbacksBridge.cpp:
19189 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
19190 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
19191 * src/WorkerFileSystemCallbacksBridge.h:
19193 2011-12-27 Dmitry Lomov <dslomov@google.com>
19195 [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
19196 https://bugs.webkit.org/show_bug.cgi?id=66509
19197 Just renames, merges and removal of dead code. Here are the list of renames:
19198 - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
19199 - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
19200 - WebWorkerBase merged into WebSharedWorkerImpl
19201 - NewWebWorkerBase renamed into WebWorkerBase
19202 WebWorkerClient.h has a "#define WebWorkerClient WebSharedWorkerClient" to keep chromium building.
19203 Will be removed after coordinated patch in chromium.
19205 Reviewed by David Levin.
19208 * public/WebCommonWorkerClient.h:
19209 * public/WebSharedWorker.h:
19210 * public/WebSharedWorkerClient.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
19211 (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
19212 (WebKit::WebSharedWorkerClient::allowFileSystem):
19213 (WebKit::WebSharedWorkerClient::openFileSystem):
19214 (WebKit::WebSharedWorkerClient::dispatchDevToolsMessage):
19215 (WebKit::WebSharedWorkerClient::saveDevToolsAgentState):
19216 (WebKit::WebSharedWorkerClient::~WebSharedWorkerClient):
19217 * public/WebWorkerClient.h:
19218 * src/DatabaseObserver.cpp:
19219 (WebKit::AllowDatabaseMainThreadBridge::create):
19220 (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
19221 (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
19222 (WebKit::allowDatabaseForWorker):
19223 (WebCore::DatabaseObserver::canEstablishDatabase):
19224 * src/IDBFactoryBackendProxy.cpp:
19225 (WebKit::IDBFactoryBackendProxy::openFromWorker):
19226 * src/LocalFileSystemChromium.cpp:
19227 (WebCore::openFileSystemHelper):
19228 * src/WebSharedWorkerImpl.cpp:
19229 (WebKit::initializeWebKitStaticValues):
19230 (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
19231 (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
19232 (WebKit::WebSharedWorkerImpl::stopWorkerThread):
19233 (WebKit::WebSharedWorkerImpl::initializeLoader):
19234 (WebKit::WebSharedWorkerImpl::didCreateDataSource):
19235 (WebKit::WebSharedWorkerImpl::createApplicationCacheHost):
19236 (WebKit::WebSharedWorkerImpl::postMessageToWorkerObject):
19237 (WebKit::WebSharedWorkerImpl::postMessageTask):
19238 (WebKit::WebSharedWorkerImpl::postExceptionToWorkerObject):
19239 (WebKit::WebSharedWorkerImpl::postExceptionTask):
19240 (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
19241 (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
19242 (WebKit::WebSharedWorkerImpl::postMessageToPageInspector):
19243 (WebKit::WebSharedWorkerImpl::postMessageToPageInspectorTask):
19244 (WebKit::WebSharedWorkerImpl::updateInspectorStateCookie):
19245 (WebKit::WebSharedWorkerImpl::updateInspectorStateCookieTask):
19246 (WebKit::WebSharedWorkerImpl::confirmMessageFromWorkerObject):
19247 (WebKit::WebSharedWorkerImpl::confirmMessageTask):
19248 (WebKit::WebSharedWorkerImpl::reportPendingActivity):
19249 (WebKit::WebSharedWorkerImpl::reportPendingActivityTask):
19250 (WebKit::WebSharedWorkerImpl::workerContextClosed):
19251 (WebKit::WebSharedWorkerImpl::workerContextClosedTask):
19252 (WebKit::WebSharedWorkerImpl::workerContextDestroyed):
19253 (WebKit::WebSharedWorkerImpl::workerContextDestroyedTask):
19254 (WebKit::WebSharedWorkerImpl::postTaskToLoader):
19255 (WebKit::WebSharedWorkerImpl::postTaskForModeToWorkerContext):
19256 (WebKit::WebSharedWorker::create):
19257 * src/WebSharedWorkerImpl.h:
19258 (WebKit::WebSharedWorkerImpl::view):
19259 (WebKit::WebSharedWorkerImpl::commonClient):
19260 (WebKit::WebSharedWorkerImpl::client):
19261 (WebKit::WebSharedWorkerImpl::setWorkerThread):
19262 (WebKit::WebSharedWorkerImpl::workerThread):
19263 * src/WebWorkerBase.cpp:
19264 (WebKit::invokeTaskMethod):
19265 (WebKit::WebWorkerBase::dispatchTaskToMainThread):
19266 * src/WebWorkerBase.h:
19267 * src/WebWorkerClientImpl.cpp:
19268 * src/WebWorkerClientImpl.h:
19269 (WebKit::WebWorkerClientImpl::commonClient):
19270 * src/WebWorkerImpl.cpp: Removed.
19271 * src/WebWorkerImpl.h: Removed.
19272 * src/WorkerFileSystemCallbacksBridge.cpp:
19273 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
19274 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
19275 * src/WorkerFileSystemCallbacksBridge.h:
19277 2011-12-27 Tony Chang <tony@chromium.org>
19279 [chromium] Minor cleanup of gyp files.
19280 https://bugs.webkit.org/show_bug.cgi?id=75269
19282 Reviewed by Adam Barth.
19284 * WebKit.gyp: msvs_guid is no longer needed.
19286 2011-12-27 Tony Chang <tony@chromium.org>
19288 [chromium] When building with clang, enable -Wglobal-constructors
19289 https://bugs.webkit.org/show_bug.cgi?id=74365
19291 Reviewed by Adam Barth.
19293 * WebKit.gyp: Only add it to the webkit target. I got errors when
19294 trying to compile webkit_unit_tests.
19296 2011-12-24 Ryosuke Niwa <rniwa@webkit.org>
19298 Unreviewed, rolling out r103619.
19299 http://trac.webkit.org/changeset/103619
19300 https://bugs.webkit.org/show_bug.cgi?id=66509
19302 Broke chromium clang build
19305 * public/WebCommonWorkerClient.h:
19306 (WebKit::WebCommonWorkerClient::postConsoleMessageToWorkerObject):
19307 (WebKit::WebCommonWorkerClient::allowFileSystem):
19308 (WebKit::WebCommonWorkerClient::openFileSystem):
19309 (WebKit::WebCommonWorkerClient::dispatchDevToolsMessage):
19310 (WebKit::WebCommonWorkerClient::saveDevToolsAgentState):
19311 (WebKit::WebCommonWorkerClient::~WebCommonWorkerClient):
19312 * public/WebSharedWorker.h:
19313 * public/WebSharedWorkerClient.h: Removed.
19314 * public/WebWorkerClient.h:
19315 (WebKit::WebWorkerClient::~WebWorkerClient):
19316 * src/DatabaseObserver.cpp:
19317 (WebKit::AllowDatabaseMainThreadBridge::create):
19318 (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
19319 (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
19320 (WebKit::allowDatabaseForWorker):
19321 (WebCore::DatabaseObserver::canEstablishDatabase):
19322 * src/IDBFactoryBackendProxy.cpp:
19323 (WebKit::IDBFactoryBackendProxy::openFromWorker):
19324 * src/LocalFileSystemChromium.cpp:
19325 (WebCore::openFileSystemHelper):
19326 * src/WebSharedWorkerImpl.cpp:
19327 (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
19328 (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
19329 (WebKit::WebSharedWorkerImpl::client):
19330 (WebKit::WebSharedWorker::create):
19331 * src/WebSharedWorkerImpl.h:
19332 (WebKit::WebSharedWorkerImpl::commonClient):
19333 (WebKit::WebSharedWorkerImpl::newCommonClient):
19334 * src/WebWorkerBase.cpp:
19335 (WebKit::initializeWebKitStaticValues):
19336 (WebKit::WebWorkerBase::WebWorkerBase):
19337 (WebKit::WebWorkerBase::~WebWorkerBase):
19338 (WebKit::WebWorkerBase::stopWorkerThread):
19339 (WebKit::WebWorkerBase::initializeLoader):
19340 (WebKit::WebWorkerBase::dispatchTaskToMainThread):
19341 (WebKit::WebWorkerBase::invokeTaskMethod):
19342 (WebKit::WebWorkerBase::didCreateDataSource):
19343 (WebKit::WebWorkerBase::createApplicationCacheHost):
19344 (WebKit::WebWorkerBase::postMessageToWorkerObject):
19345 (WebKit::WebWorkerBase::postMessageTask):
19346 (WebKit::WebWorkerBase::postExceptionToWorkerObject):
19347 (WebKit::WebWorkerBase::postExceptionTask):
19348 (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
19349 (WebKit::WebWorkerBase::postConsoleMessageTask):
19350 (WebKit::WebWorkerBase::postMessageToPageInspector):
19351 (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
19352 (WebKit::WebWorkerBase::updateInspectorStateCookie):
19353 (WebKit::WebWorkerBase::updateInspectorStateCookieTask):
19354 (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
19355 (WebKit::WebWorkerBase::confirmMessageTask):
19356 (WebKit::WebWorkerBase::reportPendingActivity):
19357 (WebKit::WebWorkerBase::reportPendingActivityTask):
19358 (WebKit::WebWorkerBase::workerContextClosed):
19359 (WebKit::WebWorkerBase::workerContextClosedTask):
19360 (WebKit::WebWorkerBase::workerContextDestroyed):
19361 (WebKit::WebWorkerBase::workerContextDestroyedTask):
19362 (WebKit::WebWorkerBase::postTaskToLoader):
19363 (WebKit::WebWorkerBase::postTaskForModeToWorkerContext):
19364 * src/WebWorkerBase.h:
19365 (WebKit::WebWorkerBase::view):
19366 (WebKit::WebWorkerBase::setWorkerThread):
19367 (WebKit::WebWorkerBase::workerThread):
19368 * src/WebWorkerClientImpl.cpp:
19369 * src/WebWorkerClientImpl.h:
19370 (WebKit::WebWorkerClientImpl::newCommonClient):
19371 * src/WebWorkerImpl.cpp: Added.
19372 (WebKit::WebWorker::create):
19373 (WebKit::WebWorkerImpl::WebWorkerImpl):
19374 (WebKit::WebWorkerImpl::~WebWorkerImpl):
19375 (WebKit::WebWorkerImpl::newCommonClient):
19376 (WebKit::WebWorkerImpl::commonClient):
19377 (WebKit::WebWorkerImpl::postMessageToWorkerContextTask):
19378 (WebKit::WebWorkerImpl::startWorkerContext):
19379 (WebKit::WebWorkerImpl::terminateWorkerContext):
19380 (WebKit::WebWorkerImpl::postMessageToWorkerContext):
19381 (WebKit::WebWorkerImpl::workerObjectDestroyed):
19382 (WebKit::WebWorkerImpl::clientDestroyed):
19383 * src/WebWorkerImpl.h: Copied from Source/WebKit/chromium/src/WebWorkerBase.cpp.
19384 (WebKit::WebWorkerImpl::client):
19385 * src/WorkerFileSystemCallbacksBridge.cpp:
19386 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
19387 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
19388 * src/WorkerFileSystemCallbacksBridge.h:
19390 2011-12-23 Sam Weinig <sam@webkit.org>
19392 Start extracting platform specific bits out of PlatformEvents
19393 https://bugs.webkit.org/show_bug.cgi?id=75063
19395 Reviewed by Anders Carlsson.
19397 * src/WebInputEventConversion.cpp:
19398 (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
19399 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
19400 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
19401 (WebKit::PlatformKeyboardEventBuilder::PlatformKeyboardEventBuilder):
19402 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
19404 2011-12-23 Ryosuke Niwa <rniwa@webkit.org>
19406 Chromium Chromium DEPS from 115012 to 115743.
19410 2011-12-23 Karl Koscher <supersat@chromium.org>
19412 Give embedders a chance to handle postMessage calls
19413 https://bugs.webkit.org/show_bug.cgi?id=73883
19415 Reviewed by Adam Barth.
19417 * public/WebFrameClient.h:
19418 (WebKit::WebFrameClient::willCheckAndDispatchMessageEvent):
19419 interface to give the embedder a chance to handle this postMessage call
19420 * src/FrameLoaderClientImpl.cpp:
19421 (WebKit::FrameLoaderClientImpl::willCheckAndDispatchMessageEvent): Call
19422 willCheckAndDispatchMessageEvent on WebFrameClient
19423 * src/FrameLoaderClientImpl.h:
19425 2011-12-23 Dmitry Lomov <dslomov@google.com>
19427 [WebWorkers][Chromium] Remove remains of cross-process dedicated worker implementation.
19428 https://bugs.webkit.org/show_bug.cgi?id=66509
19429 Just renames, merges and removal of dead code. Here are the list of renames:
19430 - WebCommonWorkerClient merged with WebWorkerClient and renamed to WebSharedWorkerClient
19431 - NewWebCommonWorkerClient renamed to WebCommonWorkerClient
19432 - WebWorkerBase merged into WebSharedWorkerImpl
19433 - NewWebWorkerBase renamed into WebWorkerBase
19434 WebWorkerClient.h has a "#define WebWorkerClient WebSharedWorkerClient" to keep chromium building.
19435 Will be removed after coordinated patch in chromium.
19437 Reviewed by David Levin.
19440 * public/WebCommonWorkerClient.h:
19441 * public/WebSharedWorker.h:
19442 * public/WebSharedWorkerClient.h: Copied from Source/WebKit/chromium/public/WebCommonWorkerClient.h.
19443 (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
19444 (WebKit::WebSharedWorkerClient::allowFileSystem):
19445 (WebKit::WebSharedWorkerClient::openFileSystem):
19446 (WebKit::WebSharedWorkerClient::dispatchDevToolsMessage):
19447 (WebKit::WebSharedWorkerClient::saveDevToolsAgentState):
19448 (WebKit::WebSharedWorkerClient::~WebSharedWorkerClient):
19449 * public/WebWorkerClient.h:
19450 * src/DatabaseObserver.cpp:
19451 (WebKit::AllowDatabaseMainThreadBridge::create):
19452 (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
19453 (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
19454 (WebKit::allowDatabaseForWorker):
19455 (WebCore::DatabaseObserver::canEstablishDatabase):
19456 * src/IDBFactoryBackendProxy.cpp:
19457 (WebKit::IDBFactoryBackendProxy::openFromWorker):
19458 * src/LocalFileSystemChromium.cpp:
19459 (WebCore::openFileSystemHelper):
19460 * src/WebSharedWorkerImpl.cpp:
19461 (WebKit::initializeWebKitStaticValues):
19462 (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
19463 (WebKit::WebSharedWorkerImpl::~WebSharedWorkerImpl):
19464 (WebKit::WebSharedWorkerImpl::stopWorkerThread):
19465 (WebKit::WebSharedWorkerImpl::initializeLoader):
19466 (WebKit::WebSharedWorkerImpl::didCreateDataSource):
19467 (WebKit::WebSharedWorkerImpl::createApplicationCacheHost):
19468 (WebKit::WebSharedWorkerImpl::postMessageToWorkerObject):
19469 (WebKit::WebSharedWorkerImpl::postMessageTask):
19470 (WebKit::WebSharedWorkerImpl::postExceptionToWorkerObject):
19471 (WebKit::WebSharedWorkerImpl::postExceptionTask):
19472 (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
19473 (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
19474 (WebKit::WebSharedWorkerImpl::postMessageToPageInspector):
19475 (WebKit::WebSharedWorkerImpl::postMessageToPageInspectorTask):
19476 (WebKit::WebSharedWorkerImpl::updateInspectorStateCookie):
19477 (WebKit::WebSharedWorkerImpl::updateInspectorStateCookieTask):
19478 (WebKit::WebSharedWorkerImpl::confirmMessageFromWorkerObject):
19479 (WebKit::WebSharedWorkerImpl::confirmMessageTask):
19480 (WebKit::WebSharedWorkerImpl::reportPendingActivity):
19481 (WebKit::WebSharedWorkerImpl::reportPendingActivityTask):
19482 (WebKit::WebSharedWorkerImpl::workerContextClosed):
19483 (WebKit::WebSharedWorkerImpl::workerContextClosedTask):
19484 (WebKit::WebSharedWorkerImpl::workerContextDestroyed):
19485 (WebKit::WebSharedWorkerImpl::workerContextDestroyedTask):
19486 (WebKit::WebSharedWorkerImpl::postTaskToLoader):
19487 (WebKit::WebSharedWorkerImpl::postTaskForModeToWorkerContext):
19488 (WebKit::WebSharedWorker::create):
19489 * src/WebSharedWorkerImpl.h:
19490 (WebKit::WebSharedWorkerImpl::view):
19491 (WebKit::WebSharedWorkerImpl::commonClient):
19492 (WebKit::WebSharedWorkerImpl::client):
19493 (WebKit::WebSharedWorkerImpl::setWorkerThread):
19494 (WebKit::WebSharedWorkerImpl::workerThread):
19495 * src/WebWorkerBase.cpp:
19496 (WebKit::invokeTaskMethod):
19497 (WebKit::WebWorkerBase::dispatchTaskToMainThread):
19498 * src/WebWorkerBase.h:
19499 * src/WebWorkerClientImpl.cpp:
19500 * src/WebWorkerClientImpl.h:
19501 (WebKit::WebWorkerClientImpl::commonClient):
19502 * src/WebWorkerImpl.cpp: Removed.
19503 * src/WebWorkerImpl.h: Removed.
19504 * src/WorkerFileSystemCallbacksBridge.cpp:
19505 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
19506 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
19507 * src/WorkerFileSystemCallbacksBridge.h:
19509 2011-12-23 Bill Budge <bbudge@chromium.org>
19511 Add unit tests for AssociatedURLLoader to check redirect handling and
19512 cross-origin access control.
19513 https://bugs.webkit.org/show_bug.cgi?id=74952
19515 Reviewed by Adam Barth.
19517 * tests/AssociatedURLLoaderTest.cpp:
19519 2011-12-22 Chris Rogers <crogers@google.com>
19521 WebMediaPlayerClientImpl::AudioClientImpl wrapper object should exist only if wrapped object exists
19522 https://bugs.webkit.org/show_bug.cgi?id=75113
19524 Reviewed by Kenneth Russell.
19526 * src/WebMediaPlayerClientImpl.cpp:
19527 (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::wrap):
19528 (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::setClient):
19529 * src/WebMediaPlayerClientImpl.h:
19530 (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::AudioClientImpl):
19532 2011-12-21 Peter Kotwicz <pkotwicz@google.com>
19534 Plumbs refresh rate through WebLayerTreeView::Settings
19535 https://bugs.webkit.org/show_bug.cgi?id=74884
19537 Reviewed by James Robinson.
19539 * public/platform/WebLayerTreeView.h:
19540 (WebKit::WebLayerTreeView::Settings::Settings):
19541 * src/WebLayerTreeView.cpp:
19542 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
19544 2011-12-20 Andrey Kosyakov <caseq@chromium.org>
19546 Web Inspector: [Extension API] refactor extension API build code, expose experimental APIs conditionally in chromium
19547 https://bugs.webkit.org/show_bug.cgi?id=74941
19549 Reviewed by Pavel Feldman.
19553 * scripts/concatenate_js_files.py:
19555 * scripts/generate_devtools_extension_api.py:
19556 (write_devtools_extension_api):
19557 * src/js/DevTools.js:
19560 2011-12-20 Nate Chapin <japhet@chromium.org>
19562 Revert code for r96912 and r101905, since they cause
19563 regressions in mac scrollbars, caret display in
19565 https://bugs.webkit.org/show_bug.cgi?id=74939
19567 Reviewed by Eric Seidel.
19569 * src/WebViewImpl.cpp:
19570 (WebKit::WebViewImpl::setFocus):
19572 2011-12-20 Mike Reed <reed@google.com>
19574 enable USE_SKIA_TEXT by default, replacing GDI for all text drawing
19575 https://bugs.webkit.org/show_bug.cgi?id=74928
19577 Reviewed by Stephen White.
19581 2011-12-20 Greg Billock <gbillock@google.com>
19583 Make WebIntentServiceInfo constructor public for testing.
19584 https://bugs.webkit.org/show_bug.cgi?id=74764
19586 Reviewed by Darin Fisher.
19588 * public/WebIntentServiceInfo.h:
19590 2011-12-19 James Robinson <jamesr@chromium.org>
19592 Compile fix for chromium on windows due to collision of testing::NotNull from gtest and NotNull from Vector.h
19594 * tests/WebLayerTest.cpp:
19596 2011-12-19 Ami Fischman <fischman@chromium.org>
19598 Teach VideoLayerChromium how to render native texture (to support HW video decode).
19599 https://bugs.webkit.org/show_bug.cgi?id=73043
19601 Reviewed by James Robinson.
19603 Fix the life-cycle of video frames handled by VideoLayerChromium/CCVideoLayerImpl.
19604 VideoFrameProvider::{get,put}CurrentFrame provide lease semantics. Previously
19605 VideoLayerChromium would acquire the lease for the duration of copying the frame,
19606 even if that was only a texture ID, and immediately return the lease, while
19607 CCVideoLayerImpl::draw() would come along later and use the (no-longer locked)
19608 texture optimistically. This change makes it so that CCVideoLayerImpl holds
19609 the frame's lease for the duration of draw(), guaranteeing the frame is valid to read.
19611 * src/WebMediaPlayerClientImpl.cpp:
19612 (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
19614 2011-12-19 Sam Weinig <sam@webkit.org>
19616 More PlatformEvent cleanup
19617 https://bugs.webkit.org/show_bug.cgi?id=74831
19619 Reviewed by Dan Bernstein.
19621 * src/WebViewImpl.cpp:
19622 (WebKit::WebViewImpl::mouseContextMenu):
19623 Update to use new names, access style.
19625 2011-12-19 James Robinson <jamesr@chromium.org>
19627 [chromium] CCLayerDelegate and WebLayerClient do not need notifySyncRequired
19628 https://bugs.webkit.org/show_bug.cgi?id=74376
19630 Reviewed by Kenneth Russell.
19632 WebLayerClient::notifyNeedsComposite() is an odd interface for the same reason that
19633 CCLayerDelegate::notifySyncRequired() is - all scheduling decisions should route through the WebLayerTreeView,
19634 not individual layers. In practice, all implementations of WebLayerClient::notifySyncRequired() do the exact
19635 same thing as WebLayerTreeView::scheduleComposite(). This removes that callback, making WebLayerClient an empty
19636 interface, and routes all calls that would go to that interface to WebLayerTreeView::scheduleComposite().
19638 Once downstream implementations of WebLayerClient are removed, WebLayerClient.h and the constructors associated
19639 with it can be deleted.
19641 The bulk of the changes here are to the test harness. Many tests that were designed around notifySyncRequired()
19642 are rewritten to check for CCLayerTreeHost::setNeedsCommit() or WebLayerTreeView::scheduleComposite() instead.
19643 In a few instances, this required changing the setup logic around somewhat so that the layers being manipulated
19644 were in a tree that initialized without errors.
19647 * public/platform/WebContentLayer.h:
19648 * public/platform/WebExternalTextureLayer.h:
19649 * public/platform/WebLayer.h:
19650 * public/platform/WebLayerClient.h:
19651 * src/WebContentLayer.cpp:
19652 (WebKit::WebContentLayer::create):
19653 * src/WebContentLayerImpl.cpp:
19654 (WebKit::WebContentLayerImpl::create):
19655 (WebKit::WebContentLayerImpl::WebContentLayerImpl):
19656 * src/WebContentLayerImpl.h:
19657 * src/WebExternalTextureLayer.cpp:
19658 (WebKit::WebExternalTextureLayer::create):
19659 * src/WebExternalTextureLayerImpl.cpp:
19660 (WebKit::WebExternalTextureLayerImpl::create):
19661 (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
19662 * src/WebExternalTextureLayerImpl.h:
19663 * src/WebLayer.cpp:
19664 (WebKit::WebLayer::create):
19665 * src/WebLayerImpl.cpp:
19666 (WebKit::WebLayerImpl::create):
19667 (WebKit::WebLayerImpl::WebLayerImpl):
19668 * src/WebLayerImpl.h:
19669 * src/WebLayerTreeViewImpl.cpp:
19670 (WebKit::WebLayerTreeViewImpl::create):
19671 (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
19672 * src/WebLayerTreeViewImpl.h:
19673 * tests/CCLayerTreeHostTest.cpp:
19674 (WTF::MockLayerTreeHost::create):
19675 (WTF::MockLayerTreeHost::MockLayerTreeHost):
19676 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
19677 (WTF::CCLayerTreeHostTestScrollSimple::animateAndLayout):
19678 * tests/CompositorMockGraphicsContext3D.h: Added.
19679 (WebCore::createCompositorMockGraphicsContext3D):
19680 * tests/CompositorMockWebGraphicsContext3D.h: Added.
19681 (WebKit::CompositorMockWebGraphicsContext3D::create):
19682 (WebKit::CompositorMockWebGraphicsContext3D::makeContextCurrent):
19683 (WebKit::CompositorMockWebGraphicsContext3D::createProgram):
19684 (WebKit::CompositorMockWebGraphicsContext3D::createShader):
19685 (WebKit::CompositorMockWebGraphicsContext3D::getShaderiv):
19686 (WebKit::CompositorMockWebGraphicsContext3D::getProgramiv):
19687 (WebKit::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
19688 * tests/LayerChromiumTest.cpp:
19689 * tests/MockWebGraphicsContext3D.h:
19690 (WebKit::MockWebGraphicsContext3D::getContextAttributes):
19691 * tests/WebGLLayerChromiumTest.cpp:
19693 * tests/WebLayerTest.cpp:
19694 (testing::MockWebLayerTreeViewClient::animateAndLayout):
19695 (testing::MockWebLayerTreeViewClient::applyScrollAndScale):
19696 (testing::MockWebLayerTreeViewClient::createContext3D):
19697 (testing::MockWebLayerTreeViewClient::didRebindGraphicsContext):
19698 (testing::WebLayerTest::SetUp):
19699 (testing::WebLayerTest::TearDown):
19702 2011-12-19 James Robinson <jamesr@chromium.org>
19704 [chromium] Set the CCLayerTreeHost pointer on LayerChromium instances eagerly
19705 https://bugs.webkit.org/show_bug.cgi?id=74477
19707 Reviewed by Kenneth Russell.
19709 Add some new tests for LayerChromium::m_layerTreeHost behavior.
19711 * tests/CCLayerTreeHostTest.cpp:
19712 (::MockLayerTreeHost::create):
19713 (::MockLayerTreeHost::MockLayerTreeHost):
19714 (::CCLayerTreeHostTestShortlived1::beginTest):
19715 (::CCLayerTreeHostTestShortlived2::beginTest):
19716 (::CCLayerTreeHostTestShortlived3::beginTest):
19717 * tests/LayerChromiumTest.cpp:
19719 2011-12-19 Adrienne Walker <enne@google.com>
19721 [chromium] Add more using statements to (re)fix Chromium builders.
19723 Unreviewed gardening.
19725 * tests/Canvas2DLayerChromiumTest.cpp:
19727 2011-12-19 Adrienne Walker <enne@google.com>
19729 [chromium] Fix win builder due to more NotNull ambiguity errors.
19731 Unreviewed gardening.
19733 * tests/Canvas2DLayerChromiumTest.cpp:
19735 2011-12-19 Iain Merrick <husky@google.com>
19737 [chromium] Accelerated canvas broken in threaded compositing mode
19738 https://bugs.webkit.org/show_bug.cgi?id=72738
19740 We were flushing the Skia canvas in updateCompositorResources, which
19741 is illegal as it runs on the wrong thread. Moved to paintContentsIfDirty
19742 instead. For correct rendering on the compositor thread, we make a copy
19743 of the canvas texture in updateCompositorResources.
19745 Removed m_textureId and pushPropertiesTo from CanvasLayerChromium, as
19746 it's no longer common between Canvas2DLayerChromium and
19747 WebGLLayerChromium. WebGL changes do not change functionality.
19749 Reviewed by James Robinson.
19752 * tests/Canvas2DLayerChromiumTest.cpp: Added.
19753 (WebCore::Canvas2DLayerChromiumTest::setTextureManager):
19755 2011-12-19 Ryosuke Niwa <rniwa@webkit.org>
19757 Chromium DEPS from 114686 to 115012.
19761 2011-12-19 Tommy Widenflycht <tommyw@google.com>
19763 [chromium] MediaStream API: Fixing memory leak in WebMediaStreamSource
19764 https://bugs.webkit.org/show_bug.cgi?id=74714
19766 Reviewed by Eric Seidel.
19768 Missed that PassRefPtr does a ref if constructed with a raw pointer.
19769 Also removed an extra space in WebMediaStreamDescriptor.cpp.
19771 * src/WebMediaStreamDescriptor.cpp:
19772 (WebKit::WebMediaStreamDescriptor::sources):
19773 * src/WebMediaStreamSource.cpp:
19774 (WebKit::WebMediaStreamSource::operator=):
19776 2011-12-19 Adrienne Walker <enne@google.com>
19778 Try to fix the Chromium win builder NotNull conflict.
19780 Unreviewed gardening.
19782 * tests/MockGraphicsContext3DTest.cpp:
19784 2011-12-18 Keishi Hattori <keishi@webkit.org>
19786 Implement <input type=color> UI WebKit chromium part
19787 https://bugs.webkit.org/show_bug.cgi?id=65897
19789 Reviewed by Darin Fisher.
19791 * WebKit.gyp: Added new files.
19792 * features.gypi: Added ENABLE_INPUT_COLOR.
19793 * public/WebColorChooser.h: Added. Interface for ColorChooserProxy to call.
19794 (WebKit::WebColorChooser::~WebColorChooser):
19795 (WebKit::WebColorChooser::setSelectedColor):
19796 (WebKit::WebColorChooser::endChooser):
19797 * public/WebColorChooserClient.h: Added.
19798 (WebKit::WebColorChooserClient::~WebColorChooserClient):
19799 (WebKit::WebColorChooserClient::didChooseColor): Only called when user changes the color.
19800 (WebKit::WebColorChooserClient::didEndChooser): Called when WebColorChooser::endChooser is called.
19801 * public/WebViewClient.h:
19802 (WebKit::WebViewClient::createColorChooser): Creates a new color chooser. If there is an old color chooser, this will end it.
19803 * src/ChromeClientImpl.cpp:
19804 (WebKit::ChromeClientImpl::createColorChooser): Calls WebViewClient::createColorChooser.
19805 * src/ChromeClientImpl.h:
19806 * src/ColorChooserProxy.cpp: Proxies calls to WebCore::ColorChooser to WebKit::WebColorChooser.
19807 (WebKit::ColorChooserProxy::ColorChooserProxy):
19808 (WebKit::ColorChooserProxy::~ColorChooserProxy):
19809 (WebKit::ColorChooserProxy::setSelectedColor):
19810 (WebKit::ColorChooserProxy::endChooser):
19811 * src/ColorChooserProxy.h:
19812 * src/WebColorChooserClientImpl.cpp: Proxies calls to WebKit::WebColorChooserClient to WebCore::ColorChooserClient.
19813 (WebKit::WebColorChooserClientImpl::WebColorChooserClientImpl):
19814 (WebKit::WebColorChooserClientImpl::~WebColorChooserClientImpl):
19815 (WebKit::WebColorChooserClientImpl::didChooseColor):
19816 (WebKit::WebColorChooserClientImpl::didEndChooser):
19817 * src/WebColorChooserClientImpl.h: Added.
19819 2011-12-18 James Kozianski <koz@chromium.org>
19821 [chromium] Add worldId parameter to allowScriptExtension()
19822 https://bugs.webkit.org/show_bug.cgi?id=74214
19824 Chromium uses the worldId to determine what extension is running in a
19825 v8 context and knowing that at the time allowScriptExtension() is
19826 called allows us to conditionally inject extension APIs.
19828 Reviewed by Darin Fisher.
19830 * public/WebPermissionClient.h:
19831 (WebKit::WebPermissionClient::allowScriptExtension):
19832 * src/FrameLoaderClientImpl.cpp:
19833 (WebKit::FrameLoaderClientImpl::allowScriptExtension):
19834 * src/FrameLoaderClientImpl.h:
19836 2011-12-18 Sheriff Bot <webkit.review.bot@gmail.com>
19838 Unreviewed, rolling out r103169.
19839 http://trac.webkit.org/changeset/103169
19840 https://bugs.webkit.org/show_bug.cgi?id=74809
19842 it broke compilation on many platforms (Requested by loislo_
19847 * public/WebColorChooser.h: Removed.
19848 * public/WebColorChooserClient.h: Removed.
19849 * public/WebViewClient.h:
19850 * src/ChromeClientImpl.cpp:
19851 * src/ChromeClientImpl.h:
19852 * src/ColorChooserProxy.cpp: Removed.
19853 * src/WebColorChooserClientImpl.cpp: Removed.
19854 * src/WebColorChooserClientImpl.h: Removed.
19856 2011-12-18 Keishi Hattori <keishi@webkit.org>
19858 Implement <input type=color> UI WebKit chromium part
19859 https://bugs.webkit.org/show_bug.cgi?id=65897
19861 Reviewed by Darin Fisher.
19863 * WebKit.gyp: Added new files.
19864 * features.gypi: Added ENABLE_INPUT_COLOR.
19865 * public/WebColorChooser.h: Added. Interface for ColorChooserProxy to call.
19866 (WebKit::WebColorChooser::~WebColorChooser):
19867 (WebKit::WebColorChooser::setSelectedColor):
19868 (WebKit::WebColorChooser::endChooser):
19869 * public/WebColorChooserClient.h: Added.
19870 (WebKit::WebColorChooserClient::~WebColorChooserClient):
19871 (WebKit::WebColorChooserClient::didChooseColor): Only called when user changes the color.
19872 (WebKit::WebColorChooserClient::didEndChooser): Called when WebColorChooser::endChooser is called.
19873 * public/WebViewClient.h:
19874 (WebKit::WebViewClient::createColorChooser): Creates a new color chooser. If there is an old color chooser, this will end it.
19875 * src/ChromeClientImpl.cpp:
19876 (WebKit::ChromeClientImpl::createColorChooser): Calls WebViewClient::createColorChooser.
19877 * src/ChromeClientImpl.h:
19878 * src/ColorChooserProxy.cpp: Proxies calls to WebCore::ColorChooser to WebKit::WebColorChooser.
19879 (WebKit::ColorChooserProxy::ColorChooserProxy):
19880 (WebKit::ColorChooserProxy::~ColorChooserProxy):
19881 (WebKit::ColorChooserProxy::setSelectedColor):
19882 (WebKit::ColorChooserProxy::endChooser):
19883 * src/ColorChooserProxy.h:
19884 * src/WebColorChooserClientImpl.cpp: Proxies calls to WebKit::WebColorChooserClient to WebCore::ColorChooserClient.
19885 (WebKit::WebColorChooserClientImpl::WebColorChooserClientImpl):
19886 (WebKit::WebColorChooserClientImpl::~WebColorChooserClientImpl):
19887 (WebKit::WebColorChooserClientImpl::didChooseColor):
19888 (WebKit::WebColorChooserClientImpl::didEndChooser):
19889 * src/WebColorChooserClientImpl.h: Added.
19891 2011-12-17 Sam Weinig <sam@webkit.org>
19893 Make PlatformTouchEvent inherit from PlatformEvent
19894 https://bugs.webkit.org/show_bug.cgi?id=74777
19896 Reviewed by Andreas Kling.
19898 * src/WebInputEventConversion.cpp:
19899 (WebKit::toPlatformTouchEventType):
19900 * tests/InnerGestureRecognizerTest.cpp:
19901 (BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
19902 (SimulateAndTestFirstClick):
19903 (TouchPointAndEvent::TouchPointAndEvent):
19904 Add PlatformEvent prefix to enum types.
19906 2011-12-17 Adrienne Walker <enne@google.com>
19908 [chromium] Reverting r103011, r103135 due to Aura test failures
19910 Unreviewed gardening.
19913 * public/platform/WebContentLayer.h:
19914 * public/platform/WebExternalTextureLayer.h:
19915 * public/platform/WebLayer.h:
19916 * public/platform/WebLayerClient.h:
19917 * src/WebContentLayer.cpp:
19918 (WebKit::WebContentLayer::create):
19919 * src/WebContentLayerImpl.cpp:
19920 (WebKit::WebContentLayerImpl::create):
19921 (WebKit::WebContentLayerImpl::WebContentLayerImpl):
19922 (WebKit::WebContentLayerImpl::notifySyncRequired):
19923 * src/WebContentLayerImpl.h:
19924 * src/WebExternalTextureLayer.cpp:
19925 (WebKit::WebExternalTextureLayer::create):
19926 * src/WebExternalTextureLayerImpl.cpp:
19927 (WebKit::WebExternalTextureLayerImpl::create):
19928 (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
19929 (WebKit::WebExternalTextureLayerImpl::notifySyncRequired):
19930 * src/WebExternalTextureLayerImpl.h:
19931 * src/WebLayer.cpp:
19932 (WebKit::WebLayer::create):
19933 * src/WebLayerImpl.cpp:
19934 (WebKit::WebLayerImpl::create):
19935 (WebKit::WebLayerImpl::WebLayerImpl):
19936 (WebKit::WebLayerImpl::notifySyncRequired):
19937 * src/WebLayerImpl.h:
19938 * src/WebLayerTreeViewImpl.cpp:
19939 (WebKit::WebLayerTreeViewImpl::create):
19940 (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
19941 * src/WebLayerTreeViewImpl.h:
19942 * tests/CCLayerTreeHostImplTest.cpp:
19943 * tests/CCLayerTreeHostTest.cpp:
19944 (WTF::MockLayerTreeHost::create):
19945 (WTF::MockLayerTreeHost::MockLayerTreeHost):
19946 (WTF::CompositorMockWebGraphicsContext3D::create):
19947 (WTF::CompositorMockWebGraphicsContext3D::makeContextCurrent):
19948 (WTF::CompositorMockWebGraphicsContext3D::createProgram):
19949 (WTF::CompositorMockWebGraphicsContext3D::createShader):
19950 (WTF::CompositorMockWebGraphicsContext3D::getShaderiv):
19951 (WTF::CompositorMockWebGraphicsContext3D::getProgramiv):
19952 (WTF::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
19953 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
19954 (WTF::CCLayerTreeHostTestShortlived1::beginTest):
19955 (WTF::CCLayerTreeHostTestShortlived2::beginTest):
19956 (WTF::CCLayerTreeHostTestShortlived3::beginTest):
19957 (WTF::CCLayerTreeHostTestScrollSimple::beginCommitOnCCThread):
19958 (WTF::TestOpacityChangeLayerDelegate::notifySyncRequired):
19959 * tests/CompositorFakeGraphicsContext3D.h: Removed.
19960 * tests/CompositorFakeWebGraphicsContext3D.h: Removed.
19961 * tests/LayerChromiumTest.cpp:
19962 * tests/MockGraphicsContext3DTest.cpp: Renamed from Source/WebKit/chromium/tests/FakeGraphicsContext3DTest.cpp.
19963 (FrameCountingContext::FrameCountingContext):
19964 (FrameCountingContext::prepareTexture):
19965 (FrameCountingContext::frameCount):
19967 (ContextThatCountsMakeCurrents::ContextThatCountsMakeCurrents):
19968 (ContextThatCountsMakeCurrents::makeContextCurrent):
19969 (ContextThatCountsMakeCurrents::makeCurrentCount):
19970 (ContextWithMakeCurrentThatFails::ContextWithMakeCurrentThatFails):
19971 (ContextWithMakeCurrentThatFails::makeContextCurrent):
19972 * tests/MockWebGraphicsContext3D.h: Renamed from Source/WebKit/chromium/tests/FakeWebGraphicsContext3D.h.
19973 (WebKit::MockWebGraphicsContext3D::initialize):
19974 (WebKit::MockWebGraphicsContext3D::makeContextCurrent):
19975 (WebKit::MockWebGraphicsContext3D::width):
19976 (WebKit::MockWebGraphicsContext3D::height):
19977 (WebKit::MockWebGraphicsContext3D::reshape):
19978 (WebKit::MockWebGraphicsContext3D::isGLES2Compliant):
19979 (WebKit::MockWebGraphicsContext3D::readBackFramebuffer):
19980 (WebKit::MockWebGraphicsContext3D::getPlatformTextureId):
19981 (WebKit::MockWebGraphicsContext3D::prepareTexture):
19982 (WebKit::MockWebGraphicsContext3D::postSubBufferCHROMIUM):
19983 (WebKit::MockWebGraphicsContext3D::synthesizeGLError):
19984 (WebKit::MockWebGraphicsContext3D::isContextLost):
19985 (WebKit::MockWebGraphicsContext3D::mapBufferSubDataCHROMIUM):
19986 (WebKit::MockWebGraphicsContext3D::unmapBufferSubDataCHROMIUM):
19987 (WebKit::MockWebGraphicsContext3D::mapTexSubImage2DCHROMIUM):
19988 (WebKit::MockWebGraphicsContext3D::unmapTexSubImage2DCHROMIUM):
19989 (WebKit::MockWebGraphicsContext3D::setVisibilityCHROMIUM):
19990 (WebKit::MockWebGraphicsContext3D::getRequestableExtensionsCHROMIUM):
19991 (WebKit::MockWebGraphicsContext3D::requestExtensionCHROMIUM):
19992 (WebKit::MockWebGraphicsContext3D::blitFramebufferCHROMIUM):
19993 (WebKit::MockWebGraphicsContext3D::renderbufferStorageMultisampleCHROMIUM):
19994 (WebKit::MockWebGraphicsContext3D::activeTexture):
19995 (WebKit::MockWebGraphicsContext3D::attachShader):
19996 (WebKit::MockWebGraphicsContext3D::bindAttribLocation):
19997 (WebKit::MockWebGraphicsContext3D::bindBuffer):
19998 (WebKit::MockWebGraphicsContext3D::bindFramebuffer):
19999 (WebKit::MockWebGraphicsContext3D::bindRenderbuffer):
20000 (WebKit::MockWebGraphicsContext3D::bindTexture):
20001 (WebKit::MockWebGraphicsContext3D::blendColor):
20002 (WebKit::MockWebGraphicsContext3D::blendEquation):
20003 (WebKit::MockWebGraphicsContext3D::blendEquationSeparate):
20004 (WebKit::MockWebGraphicsContext3D::blendFunc):
20005 (WebKit::MockWebGraphicsContext3D::blendFuncSeparate):
20006 (WebKit::MockWebGraphicsContext3D::bufferData):
20007 (WebKit::MockWebGraphicsContext3D::bufferSubData):
20008 (WebKit::MockWebGraphicsContext3D::checkFramebufferStatus):
20009 (WebKit::MockWebGraphicsContext3D::clear):
20010 (WebKit::MockWebGraphicsContext3D::clearColor):
20011 (WebKit::MockWebGraphicsContext3D::clearDepth):
20012 (WebKit::MockWebGraphicsContext3D::clearStencil):
20013 (WebKit::MockWebGraphicsContext3D::colorMask):
20014 (WebKit::MockWebGraphicsContext3D::compileShader):
20015 (WebKit::MockWebGraphicsContext3D::compressedTexImage2D):
20016 (WebKit::MockWebGraphicsContext3D::compressedTexSubImage2D):
20017 (WebKit::MockWebGraphicsContext3D::copyTexImage2D):
20018 (WebKit::MockWebGraphicsContext3D::copyTexSubImage2D):
20019 (WebKit::MockWebGraphicsContext3D::cullFace):
20020 (WebKit::MockWebGraphicsContext3D::depthFunc):
20021 (WebKit::MockWebGraphicsContext3D::depthMask):
20022 (WebKit::MockWebGraphicsContext3D::depthRange):
20023 (WebKit::MockWebGraphicsContext3D::detachShader):
20024 (WebKit::MockWebGraphicsContext3D::disable):
20025 (WebKit::MockWebGraphicsContext3D::disableVertexAttribArray):
20026 (WebKit::MockWebGraphicsContext3D::drawArrays):
20027 (WebKit::MockWebGraphicsContext3D::drawElements):
20028 (WebKit::MockWebGraphicsContext3D::enable):
20029 (WebKit::MockWebGraphicsContext3D::enableVertexAttribArray):
20030 (WebKit::MockWebGraphicsContext3D::finish):
20031 (WebKit::MockWebGraphicsContext3D::flush):
20032 (WebKit::MockWebGraphicsContext3D::framebufferRenderbuffer):
20033 (WebKit::MockWebGraphicsContext3D::framebufferTexture2D):
20034 (WebKit::MockWebGraphicsContext3D::frontFace):
20035 (WebKit::MockWebGraphicsContext3D::generateMipmap):
20036 (WebKit::MockWebGraphicsContext3D::getActiveAttrib):
20037 (WebKit::MockWebGraphicsContext3D::getActiveUniform):
20038 (WebKit::MockWebGraphicsContext3D::getAttachedShaders):
20039 (WebKit::MockWebGraphicsContext3D::getAttribLocation):
20040 (WebKit::MockWebGraphicsContext3D::getBooleanv):
20041 (WebKit::MockWebGraphicsContext3D::getBufferParameteriv):
20042 (WebKit::MockWebGraphicsContext3D::getContextAttributes):
20043 (WebKit::MockWebGraphicsContext3D::getError):
20044 (WebKit::MockWebGraphicsContext3D::getFloatv):
20045 (WebKit::MockWebGraphicsContext3D::getFramebufferAttachmentParameteriv):
20046 (WebKit::MockWebGraphicsContext3D::getIntegerv):
20047 (WebKit::MockWebGraphicsContext3D::getProgramiv):
20048 (WebKit::MockWebGraphicsContext3D::getProgramInfoLog):
20049 (WebKit::MockWebGraphicsContext3D::getRenderbufferParameteriv):
20050 (WebKit::MockWebGraphicsContext3D::getShaderiv):
20051 (WebKit::MockWebGraphicsContext3D::getShaderInfoLog):
20052 (WebKit::MockWebGraphicsContext3D::getShaderSource):
20053 (WebKit::MockWebGraphicsContext3D::getString):
20054 (WebKit::MockWebGraphicsContext3D::getTexParameterfv):
20055 (WebKit::MockWebGraphicsContext3D::getTexParameteriv):
20056 (WebKit::MockWebGraphicsContext3D::getUniformfv):
20057 (WebKit::MockWebGraphicsContext3D::getUniformiv):
20058 (WebKit::MockWebGraphicsContext3D::getUniformLocation):
20059 (WebKit::MockWebGraphicsContext3D::getVertexAttribfv):
20060 (WebKit::MockWebGraphicsContext3D::getVertexAttribiv):
20061 (WebKit::MockWebGraphicsContext3D::getVertexAttribOffset):
20062 (WebKit::MockWebGraphicsContext3D::hint):
20063 (WebKit::MockWebGraphicsContext3D::isBuffer):
20064 (WebKit::MockWebGraphicsContext3D::isEnabled):
20065 (WebKit::MockWebGraphicsContext3D::isFramebuffer):
20066 (WebKit::MockWebGraphicsContext3D::isProgram):
20067 (WebKit::MockWebGraphicsContext3D::isRenderbuffer):
20068 (WebKit::MockWebGraphicsContext3D::isShader):
20069 (WebKit::MockWebGraphicsContext3D::isTexture):
20070 (WebKit::MockWebGraphicsContext3D::lineWidth):
20071 (WebKit::MockWebGraphicsContext3D::linkProgram):
20072 (WebKit::MockWebGraphicsContext3D::pixelStorei):
20073 (WebKit::MockWebGraphicsContext3D::polygonOffset):
20074 (WebKit::MockWebGraphicsContext3D::readPixels):
20075 (WebKit::MockWebGraphicsContext3D::releaseShaderCompiler):
20076 (WebKit::MockWebGraphicsContext3D::renderbufferStorage):
20077 (WebKit::MockWebGraphicsContext3D::sampleCoverage):
20078 (WebKit::MockWebGraphicsContext3D::scissor):
20079 (WebKit::MockWebGraphicsContext3D::shaderSource):
20080 (WebKit::MockWebGraphicsContext3D::stencilFunc):
20081 (WebKit::MockWebGraphicsContext3D::stencilFuncSeparate):
20082 (WebKit::MockWebGraphicsContext3D::stencilMask):
20083 (WebKit::MockWebGraphicsContext3D::stencilMaskSeparate):
20084 (WebKit::MockWebGraphicsContext3D::stencilOp):
20085 (WebKit::MockWebGraphicsContext3D::stencilOpSeparate):
20086 (WebKit::MockWebGraphicsContext3D::texImage2D):
20087 (WebKit::MockWebGraphicsContext3D::texParameterf):
20088 (WebKit::MockWebGraphicsContext3D::texParameteri):
20089 (WebKit::MockWebGraphicsContext3D::texSubImage2D):
20090 (WebKit::MockWebGraphicsContext3D::uniform1f):
20091 (WebKit::MockWebGraphicsContext3D::uniform1fv):
20092 (WebKit::MockWebGraphicsContext3D::uniform1i):
20093 (WebKit::MockWebGraphicsContext3D::uniform1iv):
20094 (WebKit::MockWebGraphicsContext3D::uniform2f):
20095 (WebKit::MockWebGraphicsContext3D::uniform2fv):
20096 (WebKit::MockWebGraphicsContext3D::uniform2i):
20097 (WebKit::MockWebGraphicsContext3D::uniform2iv):
20098 (WebKit::MockWebGraphicsContext3D::uniform3f):
20099 (WebKit::MockWebGraphicsContext3D::uniform3fv):
20100 (WebKit::MockWebGraphicsContext3D::uniform3i):
20101 (WebKit::MockWebGraphicsContext3D::uniform3iv):
20102 (WebKit::MockWebGraphicsContext3D::uniform4f):
20103 (WebKit::MockWebGraphicsContext3D::uniform4fv):
20104 (WebKit::MockWebGraphicsContext3D::uniform4i):
20105 (WebKit::MockWebGraphicsContext3D::uniform4iv):
20106 (WebKit::MockWebGraphicsContext3D::uniformMatrix2fv):
20107 (WebKit::MockWebGraphicsContext3D::uniformMatrix3fv):
20108 (WebKit::MockWebGraphicsContext3D::uniformMatrix4fv):
20109 (WebKit::MockWebGraphicsContext3D::useProgram):
20110 (WebKit::MockWebGraphicsContext3D::validateProgram):
20111 (WebKit::MockWebGraphicsContext3D::vertexAttrib1f):
20112 (WebKit::MockWebGraphicsContext3D::vertexAttrib1fv):
20113 (WebKit::MockWebGraphicsContext3D::vertexAttrib2f):
20114 (WebKit::MockWebGraphicsContext3D::vertexAttrib2fv):
20115 (WebKit::MockWebGraphicsContext3D::vertexAttrib3f):
20116 (WebKit::MockWebGraphicsContext3D::vertexAttrib3fv):
20117 (WebKit::MockWebGraphicsContext3D::vertexAttrib4f):
20118 (WebKit::MockWebGraphicsContext3D::vertexAttrib4fv):
20119 (WebKit::MockWebGraphicsContext3D::vertexAttribPointer):
20120 (WebKit::MockWebGraphicsContext3D::viewport):
20121 (WebKit::MockWebGraphicsContext3D::createBuffer):
20122 (WebKit::MockWebGraphicsContext3D::createFramebuffer):
20123 (WebKit::MockWebGraphicsContext3D::createProgram):
20124 (WebKit::MockWebGraphicsContext3D::createRenderbuffer):
20125 (WebKit::MockWebGraphicsContext3D::createShader):
20126 (WebKit::MockWebGraphicsContext3D::createTexture):
20127 (WebKit::MockWebGraphicsContext3D::deleteBuffer):
20128 (WebKit::MockWebGraphicsContext3D::deleteFramebuffer):
20129 (WebKit::MockWebGraphicsContext3D::deleteProgram):
20130 (WebKit::MockWebGraphicsContext3D::deleteRenderbuffer):
20131 (WebKit::MockWebGraphicsContext3D::deleteShader):
20132 (WebKit::MockWebGraphicsContext3D::deleteTexture):
20133 (WebKit::MockWebGraphicsContext3D::texStorage2DEXT):
20134 * tests/WebGLLayerChromiumTest.cpp:
20135 (WebKit::CompositorMockWebGraphicsContext3D::create):
20136 (WebKit::CompositorMockWebGraphicsContext3D::makeContextCurrent):
20137 (WebKit::CompositorMockWebGraphicsContext3D::createProgram):
20138 (WebKit::CompositorMockWebGraphicsContext3D::createShader):
20139 (WebKit::CompositorMockWebGraphicsContext3D::getShaderiv):
20140 (WebKit::CompositorMockWebGraphicsContext3D::getProgramiv):
20141 (WebKit::CompositorMockWebGraphicsContext3D::getContextAttributes):
20142 (WebKit::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
20143 (WebKit::createGraphicsContext):
20145 * tests/WebLayerTest.cpp:
20146 (testing::WebLayerTest::WebLayerTest):
20149 2011-12-17 Kenichi Ishibashi <bashi@chromium.org>
20151 [Chromium] Implement PluginViewBase::getFormValue
20152 https://bugs.webkit.org/show_bug.cgi?id=64434
20154 Reviewed by Darin Fisher.
20156 This patch was landed as r102873, but reverted because of Chromium Mac build failure.
20157 The fix was landed as Chromium r114920. The patch should be safe to land.
20159 No new tests. No behavior change at this time. We should add a test for PPAPI after chromium supports the feature.
20161 * public/WebPlugin.h: Added getFormValue().
20162 * src/WebPluginContainerImpl.cpp:
20163 (WebKit::WebPluginContainerImpl::getFormValue): Added.
20164 * src/WebPluginContainerImpl.h: Added getFormValue().
20166 2011-12-16 James Robinson <jamesr@chromium.org>
20168 [chromium] CCLayerDelegate and WebLayerClient do not need notifySyncRequired
20169 https://bugs.webkit.org/show_bug.cgi?id=74376
20171 Reviewed by Kenneth Russell.
20173 WebLayerClient::notifyNeedsComposite() is an odd interface for the same reason that
20174 CCLayerDelegate::notifySyncRequired() is - all scheduling decisions should route through the WebLayerTreeView,
20175 not individual layers. In practice, all implementations of WebLayerClient::notifySyncRequired() do the exact
20176 same thing as WebLayerTreeView::scheduleComposite(). This removes that callback, making WebLayerClient an empty
20177 interface, and routes all calls that would go to that interface to WebLayerTreeView::scheduleComposite().
20179 Once downstream implementations of WebLayerClient are removed, WebLayerClient.h and the constructors associated
20180 with it can be deleted.
20182 The bulk of the changes here are to the test harness. Many tests that were designed around notifySyncRequired()
20183 are rewritten to check for CCLayerTreeHost::setNeedsCommit() or WebLayerTreeView::scheduleComposite() instead.
20184 In a few instances, this required changing the setup logic around somewhat so that the layers being manipulated
20185 were in a tree that initialized without errors.
20188 * public/platform/WebContentLayer.h:
20189 * public/platform/WebExternalTextureLayer.h:
20190 * public/platform/WebLayer.h:
20191 * public/platform/WebLayerClient.h:
20192 * src/WebContentLayer.cpp:
20193 (WebKit::WebContentLayer::create):
20194 * src/WebContentLayerImpl.cpp:
20195 (WebKit::WebContentLayerImpl::create):
20196 (WebKit::WebContentLayerImpl::WebContentLayerImpl):
20197 * src/WebContentLayerImpl.h:
20198 * src/WebExternalTextureLayer.cpp:
20199 (WebKit::WebExternalTextureLayer::create):
20200 * src/WebExternalTextureLayerImpl.cpp:
20201 (WebKit::WebExternalTextureLayerImpl::create):
20202 (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
20203 * src/WebExternalTextureLayerImpl.h:
20204 * src/WebLayer.cpp:
20205 (WebKit::WebLayer::create):
20206 * src/WebLayerImpl.cpp:
20207 (WebKit::WebLayerImpl::create):
20208 (WebKit::WebLayerImpl::WebLayerImpl):
20209 * src/WebLayerImpl.h:
20210 * src/WebLayerTreeViewImpl.cpp:
20211 (WebKit::WebLayerTreeViewImpl::create):
20212 (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
20213 * src/WebLayerTreeViewImpl.h:
20214 * tests/CCLayerTreeHostTest.cpp:
20215 (WTF::MockLayerTreeHost::create):
20216 (WTF::MockLayerTreeHost::MockLayerTreeHost):
20217 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
20218 (WTF::CCLayerTreeHostTestScrollSimple::animateAndLayout):
20219 * tests/CompositorMockGraphicsContext3D.h: Added.
20220 (WebCore::createCompositorMockGraphicsContext3D):
20221 * tests/CompositorMockWebGraphicsContext3D.h: Added.
20222 (WebKit::CompositorMockWebGraphicsContext3D::create):
20223 (WebKit::CompositorMockWebGraphicsContext3D::makeContextCurrent):
20224 (WebKit::CompositorMockWebGraphicsContext3D::createProgram):
20225 (WebKit::CompositorMockWebGraphicsContext3D::createShader):
20226 (WebKit::CompositorMockWebGraphicsContext3D::getShaderiv):
20227 (WebKit::CompositorMockWebGraphicsContext3D::getProgramiv):
20228 (WebKit::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
20229 * tests/LayerChromiumTest.cpp:
20230 * tests/MockWebGraphicsContext3D.h:
20231 (WebKit::MockWebGraphicsContext3D::getContextAttributes):
20232 * tests/WebGLLayerChromiumTest.cpp:
20234 * tests/WebLayerTest.cpp:
20235 (testing::MockWebLayerTreeViewClient::animateAndLayout):
20236 (testing::MockWebLayerTreeViewClient::applyScrollAndScale):
20237 (testing::MockWebLayerTreeViewClient::createContext3D):
20238 (testing::MockWebLayerTreeViewClient::didRebindGraphicsContext):
20239 (testing::WebLayerTest::SetUp):
20240 (testing::WebLayerTest::TearDown):
20243 2011-12-16 Eric Penner <epenner@google.com>
20245 [chromium] Need to prepaint tiles in TiledLayerChromium
20246 https://bugs.webkit.org/show_bug.cgi?id=72686
20248 Reviewed by James Robinson.
20250 * tests/CCLayerTreeHostTest.cpp:
20251 (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsCount):
20252 (WTF::ContentLayerChromiumWithUpdateTracking::resetPaintContentsCount):
20253 (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
20254 (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
20255 (WTF::CCLayerTreeHostTestOpacityChange::afterTest):
20256 * tests/TiledLayerChromiumTest.cpp:
20257 (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
20258 (WTF::FakeTiledLayerChromium::needsIdlePaint):
20261 2011-12-16 James Robinson <jamesr@chromium.org>
20263 [chromium] Remove WebCString's dependency on WebCore
20264 https://bugs.webkit.org/show_bug.cgi?id=74761
20266 Reviewed by Darin Fisher.
20268 Remove WebCString::fromUTF16(), which are never called, and implement WebCString::utf16() using WTF instead of
20269 WebCore/platform/text/TextEncoding.
20271 * public/platform/WebCString.h:
20272 * src/WebCString.cpp:
20273 (WebKit::WebCString::utf16):
20275 2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
20277 Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
20278 https://bugs.webkit.org/show_bug.cgi?id=74748
20280 Reviewed by Eric Seidel.
20282 * src/EditorClientImpl.cpp:
20283 (WebKit::EditorClientImpl::registerUndoStep):
20284 (WebKit::EditorClientImpl::registerRedoStep):
20285 * src/EditorClientImpl.h:
20287 2011-12-16 Sam Weinig <sam@webkit.org>
20289 Give PlatformEvents a base class
20290 https://bugs.webkit.org/show_bug.cgi?id=74685
20292 Reviewed by Anders Carlsson.
20294 Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
20295 and PlatformGestureEvent and move Type enumeration and modifiers down to it.
20297 * src/EditorClientImpl.cpp:
20298 (WebKit::EditorClientImpl::interpretKeyEvent):
20299 (WebKit::EditorClientImpl::handleEditingKeyboardEvent):
20300 * src/WebAccessibilityObject.cpp:
20301 (WebKit::WebAccessibilityObject::keyboardShortcut):
20302 * src/WebInputEventConversion.cpp:
20303 (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
20304 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
20305 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
20306 (WebKit::toPlatformKeyboardEventType):
20307 * src/WebViewImpl.cpp:
20308 (WebKit::WebViewImpl::dragSourceEndedAt):
20309 * tests/InnerGestureRecognizerTest.cpp:
20310 (SimulateAndTestFirstClick):
20312 * tests/KeyboardTest.cpp:
20313 (WebKit::KeyboardTest::interpretKeyEvent):
20314 (WebKit::KeyboardTest::interpretOSModifierKeyPress):
20315 (WebKit::KeyboardTest::interpretCtrlKeyPress):
20316 (WebKit::KeyboardTest::interpretTab):
20317 (WebKit::KeyboardTest::interpretNewLine):
20319 * tests/PopupMenuTest.cpp:
20320 (WebKit::SelectPopupMenuTest::simulateLeftMouseDownEvent):
20321 (WebKit::SelectPopupMenuTest::simulateLeftMouseUpEvent):
20324 2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
20326 Only EditCommandComposition should implement unapply and reapply
20327 https://bugs.webkit.org/show_bug.cgi?id=74490
20329 Reviewed by Eric Seidel.
20331 * src/EditorClientImpl.cpp:
20332 (WebKit::EditorClientImpl::registerCommandForUndo):
20333 (WebKit::EditorClientImpl::registerCommandForRedo):
20334 (WebKit::EditorClientImpl::undo):
20335 (WebKit::EditorClientImpl::redo):
20336 * src/EditorClientImpl.h:
20338 2011-12-16 Joshua Bell <jsbell@chromium.org>
20340 IndexedDB: Implement IDBObjectStore.count() and IDBIndex.count()
20341 https://bugs.webkit.org/show_bug.cgi?id=73686
20343 Reviewed by Tony Chang.
20345 Plumbing to support the new methods in Chromium.
20347 * src/IDBIndexBackendProxy.cpp:
20348 (WebKit::IDBIndexBackendProxy::count):
20349 * src/IDBIndexBackendProxy.h:
20350 * src/IDBObjectStoreBackendProxy.cpp:
20351 (WebKit::IDBObjectStoreBackendProxy::count):
20352 * src/IDBObjectStoreBackendProxy.h:
20353 * src/WebIDBIndexImpl.cpp:
20354 (WebKit::WebIDBIndexImpl::count):
20355 * src/WebIDBIndexImpl.h:
20356 * src/WebIDBObjectStoreImpl.cpp:
20357 (WebKit::WebIDBObjectStoreImpl::count):
20358 * src/WebIDBObjectStoreImpl.h:
20360 2011-12-16 Adrienne Walker <enne@google.com>
20362 [chromium] Disable compositor CCLayerTreeHostTestsetNeedsCommit1 test
20363 https://bugs.webkit.org/show_bug.cgi?id=74623
20365 Unreviewed gardening.
20367 This has been failing (timeout) intermittently on Mac.
20369 * tests/CCLayerTreeHostTest.cpp:
20372 2011-12-16 Dana Jansens <danakj@chromium.org>
20374 [chromium] Add setOpaque to WebMediaPlayerClient interface, don't set VideoLayer's opaque when grabbing current frame.
20375 https://bugs.webkit.org/show_bug.cgi?id=74722
20377 Reviewed by Darin Fisher.
20379 * public/WebMediaPlayerClient.h:
20380 * src/WebMediaPlayerClientImpl.cpp:
20381 (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
20382 (WebKit::WebMediaPlayerClientImpl::setOpaque):
20383 (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
20384 (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
20385 * src/WebMediaPlayerClientImpl.h:
20387 2011-12-15 Stephen White <senorblanco@chromium.org>
20389 Enable CSS_FILTERS in Chromium.
20390 https://bugs.webkit.org/show_bug.cgi?id=74334
20392 Reviewed by Chris Marrin.
20396 2011-12-15 Yongjun Zhang <yongjun_zhang@apple.com>
20398 PODIntervalTree takes 1.7MB memory on www.nytimes.com.
20399 https://bugs.webkit.org/show_bug.cgi?id=73712
20401 Reviewed by Kenneth Russell.
20403 Change the test code in chromium port since PODRedBlackTree now takes PODFreeListArena<T>
20404 in its constructor.
20406 * tests/PODRedBlackTreeTest.cpp:
20409 2011-12-15 Joshua Bell <jsbell@chromium.org>
20411 IndexedDB: Clean up WebIDBObjectStore createIndex temp code
20412 https://bugs.webkit.org/show_bug.cgi?id=74205
20414 Reviewed by Darin Fisher.
20416 Remove a method and an implementation that only needed for
20417 older Chromium revisions.
20419 * public/WebIDBObjectStore.h:
20420 (WebKit::WebIDBObjectStore::createIndex):
20422 2011-12-15 Tony Chang <tony@chromium.org>
20424 Chromium Windows (Tests) is failing to build
20425 https://bugs.webkit.org/show_bug.cgi?id=74320
20427 Reviewed by Kenneth Russell.
20429 Roll chromium deps to r114686 to pull in a change to how generated
20430 headers include files from third_party/WebKit. This should make the
20431 file path shorter, reducing the chance of hitting the 260 char path
20434 * DEPS: roll to r114686
20436 2011-12-15 James Robinson <jamesr@chromium.org>
20438 [chromium] Set the CCLayerTreeHost pointer on LayerChromium instances eagerly
20439 https://bugs.webkit.org/show_bug.cgi?id=74477
20441 Reviewed by Kenneth Russell.
20443 Add some new tests for LayerChromium::m_layerTreeHost behavior.
20445 * tests/CCLayerTreeHostTest.cpp:
20446 (::MockLayerTreeHost::create):
20447 (::MockLayerTreeHost::MockLayerTreeHost):
20448 (::CCLayerTreeHostTestShortlived1::beginTest):
20449 (::CCLayerTreeHostTestShortlived2::beginTest):
20450 (::CCLayerTreeHostTestShortlived3::beginTest):
20451 * tests/LayerChromiumTest.cpp:
20453 2011-12-15 Nat Duca <nduca@chromium.org>
20455 [chromium] Add forUseOnAnotherThread to WebGraphicsContext3D::Attributes
20456 https://bugs.webkit.org/show_bug.cgi?id=74557
20458 Reviewed by Kenneth Russell.
20460 * public/platform/WebGraphicsContext3D.h:
20461 (WebKit::WebGraphicsContext3D::Attributes::Attributes):
20462 * src/GraphicsContext3DChromium.cpp:
20464 2011-12-15 Tommy Widenflycht <tommyw@google.com>
20466 [chromium] MediaStream API: Fixing #include statements and removing forwarding header file
20467 https://bugs.webkit.org/show_bug.cgi?id=74598
20469 Reviewed by Darin Fisher.
20471 WebMediaStreamSource.h had some issues when accessed from chromium. Also cleaned up the forwarding header.
20474 * public/WebMediaStreamSource.h: Removed.
20475 * public/platform/WebMediaStreamSource.h:
20477 2011-12-15 Stephen White <senorblanco@chromium.org>
20479 Unreviewed, rolling out r102956.
20480 http://trac.webkit.org/changeset/102956
20481 https://bugs.webkit.org/show_bug.cgi?id=74334
20483 Broke Chromium/Win build.
20487 2011-12-15 Kenneth Russell <kbr@google.com>
20489 Unreviewed. Disable flaky tests. Built and tested on Linux.
20490 https://bugs.webkit.org/show_bug.cgi?id=74623
20492 * tests/CCLayerTreeHostTest.cpp:
20495 2011-12-15 Stephen White <senorblanco@chromium.org>
20497 Enable CSS_FILTERS in Chromium.
20498 https://bugs.webkit.org/show_bug.cgi?id=74334
20500 Reviewed by Kenneth Russell.
20504 2011-12-15 Martin Kosiba <mkosiba@google.com>
20506 Fix find on web pages with -webkit-user-select: none for Chromium
20507 https://bugs.webkit.org/show_bug.cgi?id=72281
20509 Reviewed by Ryosuke Niwa.
20511 This will make it possible to search for text that has
20512 selection disabled (via the webkit-user-select attribute).
20514 WebFrameImpl::find will use findStringAndScrollToVisible, which is
20515 similar to findString except that it uses Range directly rather
20516 than passing the find result in the active selection.
20518 * src/WebFrameImpl.cpp:
20519 (WebKit::WebFrameImpl::find):
20521 2011-12-15 Kenneth Russell <kbr@google.com>
20523 [chromium] Add DRT support for WebKitPageCacheSupportsPluginsPreferenceKey
20524 https://bugs.webkit.org/show_bug.cgi?id=74581
20526 Reviewed by Darin Fisher.
20528 * public/WebSettings.h:
20529 * src/WebSettingsImpl.cpp:
20530 (WebKit::WebSettingsImpl::setPageCacheSupportsPlugins):
20531 * src/WebSettingsImpl.h:
20533 2011-12-15 Andrey Kosyakov <caseq@chromium.org>
20535 Web Inspector: [Chromium] add support to inspector test suite to fetch test execution results from console
20536 https://bugs.webkit.org/show_bug.cgi?id=74208
20538 Reviewed by Yury Semikhatsky.
20540 This adds waitForTestResultsInConsole, a test suite method that monitors console for a message containing
20541 either PASS or FAIL and sets result accordingly. This is used by tests running in the extension context to
20542 communicate test results to the test driver (see devtools_sanity_unittest.cc for an example).
20545 (.TestSuite.prototype.testWaitForResultsInConsole.onConsoleMessage):
20546 (.TestSuite.prototype.testWaitForResultsInConsole):
20548 2011-12-15 Peter Beverloo <peter@chromium.org>
20550 [Chromium] Enable TestNetscapePlugIn to link for Android
20551 https://bugs.webkit.org/show_bug.cgi?id=74597
20553 Reviewed by Tony Gentilcore.
20555 The -nostdlib linker flag is being passed to all targets being build
20556 for Android, which conflicts with the shared library the
20557 TestNetscapePlugIn target created. Explicitly exclude the flag.
20561 2011-12-14 David Levin <levin@chromium.org>
20563 [chromium] DatabaseObserver needs threadsafe fixes and other clean-up.
20564 https://bugs.webkit.org/show_bug.cgi?id=74558
20566 Reviewed by Dmitry Titov.
20568 The important part of this fix is the removal of AllowCrossThreadAccess so
20569 that ref counting happens appropriately.
20571 Minor clean up throughout: Removed unnecessary WTF prefix in many
20572 of these places and unnecessary String().
20574 * src/DatabaseObserver.cpp:
20575 (WebKit::AllowDatabaseMainThreadBridge::create):
20576 (WebKit::AllowDatabaseMainThreadBridge::signalCompleted): Get rid of
20577 AllowCrossThreadAccess so that "this" get ref counted and remove mode from being
20578 a member variable since a String in a ThreadSafeRefCounted class is bad.
20579 (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge): Ditto.
20580 (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask): Pass through mode
20581 and minor code cleaning to do only one call to signalCompleted.
20582 (WebKit::allowDatabaseForWorker): Just removed unnecessary String()'s.
20584 2011-12-14 Tony Chang <tony@chromium.org>
20586 [chromium] Remove redundant third_party entries from chromium DEPS
20587 https://bugs.webkit.org/show_bug.cgi?id=74472
20589 Reviewed by Kenneth Russell.
20591 Removed redundant DEPS entries for third_party subdirectories
20592 coming from chromium_svn, which were causing intermittent gclient
20593 failures on the bots.
20597 2011-12-14 Scott Graham <scottmg@chromium.org>
20599 Increase maximum number of gamepad buttons in Chromium port interface
20600 https://bugs.webkit.org/show_bug.cgi?id=74559
20602 Reviewed by Darin Fisher.
20604 * public/platform/WebGamepad.h:
20606 2011-12-14 Kenichi Ishibashi <bashi@chromium.org>
20608 Unreviewed, rolling out r102873.
20609 http://trac.webkit.org/changeset/102873
20610 https://bugs.webkit.org/show_bug.cgi?id=64434
20614 * public/WebPlugin.h:
20615 * src/WebPluginContainerImpl.cpp:
20616 * src/WebPluginContainerImpl.h:
20618 2011-12-14 Nat Duca <nduca@chromium.org>
20620 [chromium] Add inhibitDraw to CCScheduler and drop root impl to prevent background flash on tab restore
20621 https://bugs.webkit.org/show_bug.cgi?id=74351
20623 Reviewed by James Robinson.
20625 * tests/CCSchedulerStateMachineTest.cpp:
20626 (WebCore::StateMachine::inhibitDraw):
20628 * tests/CCSchedulerTest.cpp:
20629 (WebKitTests::FakeCCSchedulerClient::setInhibitDraw):
20630 (WebKitTests::FakeCCSchedulerClient::inhibitDraw):
20631 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::inhibitDraw):
20632 (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::inhibitDraw):
20634 2011-12-14 Jing Zhao <jingzhao@chromium.org>
20636 Opening two popup menus by dispatchEvent() makes problems.
20637 https://bugs.webkit.org/show_bug.cgi?id=73304
20639 Reviewed by Kent Tamura.
20641 By using element.dispatchEvent(), a user written script can open two
20642 popup menus, which causes the assertion in WebViewImpl::popupOpened()
20645 ChromeClientImpl::hasOpenedPopup() is called by Chrome::hasOpenedPopup()
20646 in RenderMenuList::showPopup(), to check if there is an opened popup
20647 menu before opening a new popup menu.
20649 * src/ChromeClientImpl.cpp:
20650 (WebKit::ChromeClientImpl::hasOpenedPopup): Checks the popup in WebViewImpl.
20651 * src/ChromeClientImpl.h: Overrides hasOpenedPopup().
20653 2011-12-14 Kenichi Ishibashi <bashi@chromium.org>
20655 [Chromium] Implement PluginViewBase::getFormValue
20656 https://bugs.webkit.org/show_bug.cgi?id=64434
20658 Adds getFormValue() to WebPluginContainerImpl as an implementation of PluginViewBase::getFormValue().
20660 Reviewed by Darin Fisher.
20662 No new tests. No behavior change at this time. We should add a test for PPAPI after chromium supports the feature.
20664 * public/WebPlugin.h: Added getFormValue().
20665 * src/WebPluginContainerImpl.cpp:
20666 (WebKit::WebPluginContainerImpl::getFormValue): Added.
20667 * src/WebPluginContainerImpl.h: Added getFormValue().
20669 2011-12-14 Sami Kyostila <skyostil@chromium.org>
20671 [chromium] Fix CCLayerTreeHostTest shutdown race
20672 https://bugs.webkit.org/show_bug.cgi?id=73926
20674 This patch fixes a shutdown race condition in CCLayerTreeHostTest which
20675 may happen if endTest() is called from within the drawLayersOnCCThread()
20676 test hook. The sequence of events leading to the problem is:
20678 1. CCThreadProxy::scheduledActionDrawAndSwap() is called when a frame
20680 2. CCThreadProxy calls drawLayersOnCCThread(), which in turn calls
20682 3. Seeing it's not running in the main thread, endTest() posts a task
20683 calling itself in the main thread.
20684 4. CCThreadProxy posts a task for calling didCommitAndDrawFrame() in
20687 The race is between the task posted in step #3 and the CC thread running
20688 in scheduledActionDrawAndSwap(). If the endTask() task is scheduled
20689 before the CC thread reaches step #4, it drains the pending message
20690 queue (CCLayerTreeHostTest.cpp:369) before the task in step #4 is
20693 The result is that the didCommitAndDrawFrame() task is executed after
20694 the test fixture has been torn down, causing a read of unallocated
20695 memory in CCScopedThreadProxy::runTaskIfNotShutdown (as m_targetThread
20696 is no longer valid).
20698 The fix is check m_shutdown before touching m_targetThread in
20699 CCScopedThreadProxy. That is, events will still be queued after shutdown
20700 but they will not be processed.
20702 Reviewed by James Robinson.
20704 2011-12-14 Jonathan Backer <backer@chromium.org>
20706 [chromium] Plumb through flag for enabling partial swap
20707 https://bugs.webkit.org/show_bug.cgi?id=74513
20709 Reviewed by James Robinson.
20711 * public/WebSettings.h:
20712 * public/platform/WebLayerTreeView.h:
20713 (WebKit::WebLayerTreeView::Settings::Settings):
20714 * src/WebLayerTreeView.cpp:
20715 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
20716 * src/WebSettingsImpl.cpp:
20717 (WebKit::WebSettingsImpl::setPartialSwapEnabled):
20718 * src/WebSettingsImpl.h:
20719 * src/WebViewImpl.cpp:
20720 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
20722 2011-12-14 Peter Beverloo <peter@chromium.org>
20724 [Chromium] Roll chromium DEPS (r113807 -> r114356)
20725 https://bugs.webkit.org/show_bug.cgi?id=74496
20727 Reviewed by Tony Gentilcore.
20729 Roll deps to r114356 and update the location of sfntly to
20730 pick up the change at Chromium.
20734 2011-12-13 Dirk Pranke <dpranke@chromium.org>
20736 chromium port - remove nacl hack in DEPS/gyp_webkit
20737 https://bugs.webkit.org/show_bug.cgi?id=74150
20739 Reviewed by Tony Chang.
20741 This change reverts the change added in r101011; it is
20742 no longer necessary to pull in anything from Native Client for
20743 the chromium port to build.
20748 2011-12-13 Dave Michael <dmichael@chromium.org>
20750 Export WebArrayBuffer::byteLength
20751 https://bugs.webkit.org/show_bug.cgi?id=74438
20753 Reviewed by Darin Fisher.
20755 * public/WebArrayBuffer.h:
20757 2011-12-13 Kenneth Russell <kbr@google.com>
20759 Unreviewed, rolling out r102693.
20760 http://trac.webkit.org/changeset/102693
20761 https://bugs.webkit.org/show_bug.cgi?id=74334
20763 Broke Chromium Windows DRT build
20767 2011-12-13 Peter Beverloo <peter@chromium.org>
20769 [Chromium] Pull in FreeType and decrease check-out complexity for Android
20770 https://bugs.webkit.org/show_bug.cgi?id=74401
20772 Pull in FreeType in the third_party/ directory from a separate git
20773 repository at Chromium. This introduces a new prerequisite for checking
20774 out the Chromium WebKit port for Android, namely that git needs to be
20775 available on the system. gclient can handle this just fine.
20777 Reviewed by Adam Barth.
20781 2011-12-13 Alok Priyadarshi <alokp@chromium.org>
20783 [chromium] compositing/masks layout tests fail with accelerated drawing
20784 https://bugs.webkit.org/show_bug.cgi?id=72760
20786 Reviewed by Stephen White.
20788 * tests/TiledLayerChromiumTest.cpp:
20789 (WTF::FakeLayerTextureUpdater::createTexture):
20791 2011-12-13 Stephen White <senorblanco@chromium.org>
20793 Enable CSS_FILTERS in Chromium.
20794 https://bugs.webkit.org/show_bug.cgi?id=74334
20796 Reviewed by Kenneth Russell.
20800 2011-12-12 Ryosuke Niwa <rniwa@webkit.org>
20802 WebKit code shouldn't be calling applyCommand directly
20803 https://bugs.webkit.org/show_bug.cgi?id=74337
20805 Reviewed by Darin Adler.
20807 * src/WebFrameImpl.cpp:
20808 (WebKit::WebFrameImpl::replaceSelection):
20810 2011-12-12 David Grogan <dgrogan@chromium.org>
20812 Fix compilation error when !ENABLE(WORKERS)
20813 https://bugs.webkit.org/show_bug.cgi?id=74029
20815 Reviewed by Yury Semikhatsky.
20818 * src/IDBFactoryBackendProxy.cpp:
20819 (WebKit::IDBFactoryBackendProxy::openFromWorker):
20820 * src/PlatformSupport.cpp:
20821 * src/WebDevToolsAgentImpl.cpp:
20822 (WebKit::WebDevToolsAgent::disconnectEventAsText):
20823 * src/WebWorkerRunLoop.cpp:
20825 2011-12-12 Shawn Singh <shawnsingh@chromium.org>
20827 [chromium] Remove assumption that empty surface is always at end of list
20828 https://bugs.webkit.org/show_bug.cgi?id=74037
20830 Reviewed by James Robinson.
20832 * tests/CCLayerTreeHostCommonTest.cpp:
20835 2011-12-09 Daniel Cheng <dcheng@chromium.org>
20837 [chromium] Remove BufferDrag from WebClipboard::Buffer enum.
20838 https://bugs.webkit.org/show_bug.cgi?id=74227
20840 Reviewed by Tony Chang.
20842 This enum value was intended for asynchronous data retrieval during drop operations; since
20843 that was never implemented, I'm removing this enum value.
20845 * public/platform/WebClipboard.h:
20846 * src/AssertMatchingEnums.cpp:
20848 2011-12-12 Tommy Widenflycht <tommyw@google.com>
20850 [chromium] MediaStream API: Moving WebMediaStreamSource.h
20851 https://bugs.webkit.org/show_bug.cgi?id=74081
20853 Moving WebMediaStreamSource.h to public/platform.
20854 Keeping a stub in public as to not affect chromium right now.
20856 Reviewed by Darin Fisher.
20859 * public/WebMediaStreamSource.h:
20860 * public/platform/WebMediaStreamSource.h: Copied from Source/WebKit/chromium/public/WebMediaStreamSource.h.
20861 (WebKit::WebMediaStreamSource::WebMediaStreamSource):
20862 (WebKit::WebMediaStreamSource::~WebMediaStreamSource):
20863 (WebKit::WebMediaStreamSource::isNull):
20864 * src/AssertMatchingEnums.cpp:
20865 * src/UserMediaClientImpl.cpp:
20866 * src/WebMediaStreamDescriptor.cpp:
20867 * src/WebMediaStreamRegistry.cpp:
20868 * src/WebMediaStreamSource.cpp:
20869 * src/WebUserMediaRequest.cpp:
20871 2011-12-09 James Robinson <jamesr@chromium.org>
20873 [chromium] Remove forwarding headers for WebLayer APIs
20874 https://bugs.webkit.org/show_bug.cgi?id=73729
20876 Reviewed by Adam Barth.
20878 These are no longer necessary.
20881 * public/WebContentLayer.h: Removed.
20882 * public/WebContentLayerClient.h: Removed.
20883 * public/WebExternalTextureLayer.h: Removed.
20884 * public/WebLayer.h: Removed.
20885 * public/WebLayerClient.h: Removed.
20886 * public/WebLayerTreeView.h: Removed.
20887 * public/WebLayerTreeViewClient.h: Removed.
20889 2011-12-09 Karl Koscher <supersat@chromium.org>
20891 [chromium] add accessors to WebDOMMessageEvent
20892 https://bugs.webkit.org/show_bug.cgi?id=73346
20894 Reviewed by Darin Fisher.
20896 * public/WebDOMMessageEvent.h:
20897 * src/WebDOMMessageEvent.cpp:
20898 (WebKit::WebDOMMessageEvent::data):
20899 (WebKit::WebDOMMessageEvent::origin):
20901 2011-12-09 Karl Koscher <supersat@chromium.org>
20903 [chromium] add event methods to WebFrame
20904 https://bugs.webkit.org/show_bug.cgi?id=73259
20906 Reviewed by Darin Fisher.
20908 * public/WebDOMEventListener.h: Use EventTarget instead of Node
20909 * public/WebFrame.h: Add event methods
20910 * src/WebDOMEventListener.cpp: Use EventTarget instead of Node
20911 (WebKit::WebDOMEventListener::createEventListenerWrapper):
20912 (WebKit::WebDOMEventListener::getEventListenerWrapper):
20913 * src/WebDOMEventListenerPrivate.cpp: Use EventTarget instead of Node
20914 (WebKit::WebDOMEventListenerPrivate::createEventListenerWrapper):
20915 (WebKit::WebDOMEventListenerPrivate::getEventListenerWrapper):
20916 * src/WebDOMEventListenerPrivate.h: Use EventTarget instead of Node
20917 (WebKit::WebDOMEventListenerPrivate::ListenerInfo::ListenerInfo):
20918 * src/WebFrameImpl.cpp:
20919 (WebKit::WebFrameImpl::addEventListener): register a listener on a WebFrame
20920 (WebKit::WebFrameImpl::removeEventListener): remove a listener on a WebFrame
20921 (WebKit::WebFrameImpl::dispatchEvent): dispatch an event to a WebFrame
20922 * src/WebFrameImpl.h: Add event methods
20924 2011-12-09 Dirk Pranke <dpranke@chromium.org>
20926 chromium win build: revert build_webkit_exes_from_webkit_gyp change
20927 https://bugs.webkit.org/show_bug.cgi?id=74225
20929 Reviewed by Tony Chang.
20931 This change sets build_webkit_exes_from_webkit_gyp back to 1;
20932 the "All.gyp" solution doesn't work on windows.
20936 2011-12-09 Dirk Pranke <dpranke@chromium.org>
20938 chromium: visual studio projects are busted when build_webkit_exes_from_webkit_gyp==0
20939 https://bugs.webkit.org/show_bug.cgi?id=74212
20941 Reviewed by Tony Chang.
20943 The change introduced in r102201 to split the executables out of
20944 WebKit.gyp apparently doesn't work right on Windows, since
20945 WebKit.gyp and Tools.gyp refer to dependent projects by
20946 different relative paths (it appears gyp doesn't normalize the
20947 paths). This change moves Tools.gyp to be in the same directory
20948 as WebKit.gyp (and All.gyp), which should fix this and
20949 conveniently will also solve the problem of how to add Tools.gyp
20950 to the chromium DEPS file.
20953 * Tools.gyp: Renamed from ../../../Tools/Tools.gyp.
20955 2011-12-09 Cary Clark <caryclark@google.com>
20957 Chromium DEPS roll to pick up new use_skia=1 default on Chromium-Mac
20958 https://bugs.webkit.org/show_bug.cgi?id=74118
20960 Reviewed by Adam Barth.
20964 2011-12-08 Fady Samuel <fsamuel@chromium.org>
20966 [Chromium] Enable viewport metatag
20967 https://bugs.webkit.org/show_bug.cgi?id=73495
20969 Reviewed by Darin Fisher.
20971 Compute the appropriate fixed layout size, page, and device scale factors,
20972 based on the viewport meta tag parameters.
20974 See http://developer.android.com/guide/webapps/targeting.html for more information.
20978 * public/WebView.h:
20979 * src/ChromeClientImpl.cpp:
20980 (WebKit::ChromeClientImpl::layoutUpdated):
20981 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
20982 * src/ChromeClientImpl.h:
20983 * src/WebFrameImpl.cpp:
20984 (WebKit::WebFrameImpl::createFrameView):
20985 * src/WebViewImpl.cpp:
20986 (WebKit::WebViewImpl::WebViewImpl):
20987 (WebKit::WebViewImpl::isPageScaleFactorSet):
20988 (WebKit::WebViewImpl::setPageScaleFactor):
20989 (WebKit::WebViewImpl::observeNewNavigation):
20990 * src/WebViewImpl.h:
20992 2011-12-08 Pierre Rossi <pierre.rossi@gmail.com>
20994 Drop ENABLE_NO_LISTBOX_RENDERING, and make it a runtime decision.
20995 https://bugs.webkit.org/show_bug.cgi?id=73916
20997 Reviewed by Kent Tamura.
20999 * src/ExternalPopupMenu.cpp:
21000 (WebKit::ExternalPopupMenu::didAcceptIndices):
21001 (WebKit::ExternalPopupMenu::getPopupMenuInfo):
21003 2011-12-08 David Reveman <reveman@chromium.org>
21005 [Chromium] Add per-tile painting flag to DumpRenderTree and rename AcceleratedDrawing to AcceleratedPainting in chromium specific code.
21006 https://bugs.webkit.org/show_bug.cgi?id=74017
21008 Reviewed by James Robinson.
21010 Add WebSettings::setAcceleratedPaintingEnabled to public API.
21012 * public/WebSettings.h:
21013 * src/WebSettingsImpl.cpp:
21014 (WebKit::WebSettingsImpl::WebSettingsImpl):
21015 (WebKit::WebSettingsImpl::setAcceleratedPaintingEnabled):
21016 (WebKit::WebSettingsImpl::setPerTilePaintingEnabled):
21017 * src/WebSettingsImpl.h:
21018 * src/WebViewImpl.cpp:
21019 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
21021 2011-12-08 James Robinson <jamesr@chromium.org>
21023 [chromium] Move NonCompositedContentHost to WebKit
21024 https://bugs.webkit.org/show_bug.cgi?id=74047
21026 Reviewed by Kenneth Russell.
21028 Moves NonCompositedContentHost into WebKit/chromium/src. This class is a helper class designed to make it easier
21029 for WebViewImpl to interface with the compositor. The compositor proper should not depend on this class, and
21030 other clients of the compositor do not need this functionality.
21032 Follow-up patches will transition this code from using compositor-internal interfaces directly to using
21033 higher-level interfaces like the WebKit platform APIs. This patch simply does a file mv and updates namespaces
21034 to keep things simpler.
21036 Refactor only and covered by several unit tests.
21039 * src/NonCompositedContentHost.cpp: Renamed from Source/WebCore/platform/graphics/chromium/NonCompositedContentHost.cpp.
21040 (WebKit::NonCompositedContentHost::NonCompositedContentHost):
21041 (WebKit::NonCompositedContentHost::~NonCompositedContentHost):
21042 (WebKit::NonCompositedContentHost::setBackgroundColor):
21043 (WebKit::NonCompositedContentHost::setScrollLayer):
21044 (WebKit::NonCompositedContentHost::setViewport):
21045 (WebKit::NonCompositedContentHost::scrollLayer):
21046 (WebKit::NonCompositedContentHost::protectVisibleTileTextures):
21047 (WebKit::NonCompositedContentHost::invalidateRect):
21048 (WebKit::NonCompositedContentHost::notifyAnimationStarted):
21049 (WebKit::NonCompositedContentHost::notifySyncRequired):
21050 (WebKit::NonCompositedContentHost::paintContents):
21051 (WebKit::NonCompositedContentHost::showDebugBorders):
21052 (WebKit::NonCompositedContentHost::showRepaintCounter):
21053 * src/NonCompositedContentHost.h: Renamed from Source/WebCore/platform/graphics/chromium/NonCompositedContentHost.h.
21054 (WebKit::NonCompositedContentHost::create):
21055 (WebKit::NonCompositedContentHost::topLevelRootLayer):
21056 * src/WebViewImpl.cpp:
21057 (WebKit::WebViewImpl::nonCompositedContentHost):
21058 * src/WebViewImpl.h:
21059 * tests/LayerChromiumTest.cpp:
21061 2011-12-08 Sami Kyostila <skyostil@google.com>
21063 [chromium] Layer contents scale change should trigger invalidation
21065 https://bugs.webkit.org/show_bug.cgi?id=74086
21067 When the contents scale of a layer is changed, the entire contents of
21068 the layer should be marked dirty.
21070 Reviewed by James Robinson.
21072 * tests/LayerChromiumTest.cpp:
21074 2011-12-08 Dana Jansens <danakj@chromium.org>
21076 [chromium] Set opaque() for VideoLayerChromium
21077 https://bugs.webkit.org/show_bug.cgi?id=73858
21079 Reviewed by James Robinson.
21081 * src/WebMediaPlayerClientImpl.cpp:
21082 (WebKit::isVideoFrameFormatOpaque):
21083 (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
21085 2011-12-08 Elliot Poger <epoger@google.com>
21087 Chromium DEPS roll 112974 -> 113603
21088 https://bugs.webkit.org/show_bug.cgi?id=74105
21090 Reviewed by Adam Barth.
21094 2011-12-08 Tony Chang <tony@chromium.org>
21096 [chromium] remove headers from WebKit.gyp that moved into WebKit/chromium/public/platform
21097 https://bugs.webkit.org/show_bug.cgi?id=74106
21099 Reviewed by Darin Fisher.
21103 2011-12-08 Peter Beverloo <peter@chromium.org>
21105 [Chromium] Exclude the four RenderTableCellDeathTest death tests for Android
21106 https://bugs.webkit.org/show_bug.cgi?id=73997
21108 The ASSERT_DEATH macro is not yet available in Google Test when
21109 building for Android, which causes compilation errors. This code
21110 will be removed once support lands in the GTest version Chromium
21111 uses. See https://bugs.webkit.org/show_bug.cgi?id=74089.
21113 Reviewed by Julien Chaffraix.
21115 * tests/RenderTableCellTest.cpp:
21117 2011-12-08 Joshua Bell <jsbell@chromium.org>
21119 IndexedDB: WebKit API addition of IDBObjectStore.count() and IDBIndex.count()
21120 https://bugs.webkit.org/show_bug.cgi?id=73685
21122 Reviewed by Darin Fisher.
21124 Implementation to follow - this just extends the WebKit API.
21126 * public/WebIDBIndex.h:
21127 (WebKit::WebIDBIndex::count):
21128 * public/WebIDBObjectStore.h:
21129 (WebKit::WebIDBObjectStore::count):
21131 2011-12-07 Alexandre Elias <aelias@google.com>
21133 [chromium] Add page-scale animation support to Impl thread
21134 https://bugs.webkit.org/show_bug.cgi?id=72996
21136 Reviewed by James Robinson.
21138 This adds a new math helper class to compute the progress of the
21139 animation, and code in the CCLayerTreeHostImpl to apply the animation
21142 No new tests. (https://bugs.webkit.org/show_bug.cgi?id=71529 filed.)
21144 * public/WebCompositor.h:
21145 * public/WebInputEvent.h:
21146 (WebKit::WebPageScaleAnimationEvent::WebPageScaleAnimationEvent):
21147 * public/android/WebInputEventFactory.h:
21148 * src/WebCompositorImpl.cpp:
21149 (WebKit::WebCompositorImpl::handlePageScaleAnimationEvent):
21150 * src/WebCompositorImpl.h:
21151 * src/WebPopupMenuImpl.cpp:
21152 (WebKit::WebPopupMenuImpl::handleInputEvent):
21153 * src/android/WebInputEventFactory.cpp:
21154 (WebKit::WebInputEventFactory::pageScaleAnimationEvent):
21156 2011-12-07 Fady Samuel <fsamuel@chromium.org>
21158 [Chromium] Plumb DPI info into PlatformScreen
21159 https://bugs.webkit.org/show_bug.cgi?id=70556
21161 Reviewed by Darin Fisher.
21163 Make DPI information accessible from WebKit through
21164 PlatformScreen. This is useful when making scaling
21165 computations on various devices (e.g. Viewport meta tag).
21167 This patch adds DPI plumbing on Chromium Win/Mac/Linux
21170 * public/WebScreenInfo.h:
21171 (WebKit::WebScreenInfo::WebScreenInfo):
21172 * src/PlatformSupport.cpp:
21173 (WebCore::PlatformSupport::screenHorizontalDPI):
21174 (WebCore::PlatformSupport::screenVerticalDPI):
21175 * src/mac/WebScreenInfoFactory.mm:
21176 (WebKit::WebScreenInfoFactory::screenInfo):
21177 * src/win/WebScreenInfoFactory.cpp:
21178 (WebKit::WebScreenInfoFactory::screenInfo):
21179 * src/x11/WebScreenInfoFactory.cpp:
21180 (WebKit::WebScreenInfoFactory::screenInfo):
21182 2011-12-07 Alexandre Elias <aelias@google.com>
21184 [chromium] Preserve original pageScale limits in WebViewImpl
21185 https://bugs.webkit.org/show_bug.cgi?id=72983
21187 Reviewed by Darin Fisher.
21189 Preserve the originally viewport-tag specified page scale limits, and
21190 compute the final ones in a new private method
21191 computePageScaleFactorLimits(). This is then called when contents
21192 size change (which can affect the minimum).
21194 Also clean up several minor bugs, namely clamping issues (reorder
21195 clampNegativeToZero to avoid negative scroll offsets, and force max to
21196 be greater than min), and incorrect behavior in the presence of
21197 "solid" scrollbars.
21199 * src/ChromeClientImpl.cpp:
21200 (WebKit::ChromeClientImpl::contentsSizeChanged):
21201 * src/WebViewImpl.cpp:
21202 (WebKit::WebViewImpl::WebViewImpl):
21203 (WebKit::WebViewImpl::clampPageScaleFactorToLimits):
21204 (WebKit::WebViewImpl::clampOffsetAtScale):
21205 (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
21206 (WebKit::WebViewImpl::setPageScaleFactor):
21207 (WebKit::WebViewImpl::setPageScaleFactorLimits):
21208 (WebKit::WebViewImpl::computePageScaleFactorLimits):
21209 (WebKit::WebViewImpl::didChangeContentsSize):
21210 * src/WebViewImpl.h:
21212 2011-12-07 Chris Sharp <csharp@chromium.org>
21214 Exposing boundsInScreenSpace in WebElement.
21215 https://bugs.webkit.org/show_bug.cgi?id=71579
21217 Exposing boundsInScreenSpace through a new function,
21218 boundsInViewportSpace, to assist in moving the Autofill UI out of
21219 WebKit in Chromium. Renamed the exposed function to provide a better
21220 meaning of what the function does in the Chromium code.
21221 More information can be found at:
21222 http://crbug.com/51644
21225 Reviewed by Darin Fisher.
21227 * public/WebElement.h:
21228 * src/WebElement.cpp:
21229 (WebKit::WebElement::boundsInViewportSpace):
21231 2011-12-07 Adam Klein <adamk@chromium.org>
21233 [MutationObservers] Enable in Chromium trunk
21234 https://bugs.webkit.org/show_bug.cgi?id=73851
21236 Reviewed by Ojan Vafai.
21238 Re-landing after fixing Chromium unit test crashes in r102171
21239 and inspector debugger crash in r102264.
21243 2011-12-07 Jonathan Backer <backer@chromium.org>
21245 [chromium] Plumb damage from WebExternalTextureLayer and WebPluginContainer to CCDamageTracker
21246 https://bugs.webkit.org/show_bug.cgi?id=73485
21248 Reviewed by Darin Fisher.
21250 * public/platform/WebExternalTextureLayer.h:
21251 * src/WebExternalTextureLayer.cpp:
21252 (WebKit::WebExternalTextureLayer::invalidateRect):
21253 * src/WebPluginContainerImpl.cpp:
21254 (WebKit::WebPluginContainerImpl::commitBackingTexture):
21256 2011-12-06 Dirk Pranke <dpranke@chromium.org>
21258 Fix typo in WebKit.gyp introduced in previous change.
21260 Unreviewed, build fix.
21264 2011-12-06 Dirk Pranke <dpranke@chromium.org>
21266 binaries in webkit.gyp should be split into a new file to break circular dependencies on webkit_support
21267 https://bugs.webkit.org/show_bug.cgi?id=73382
21269 Reviewed by Tony Chang.
21271 XCode (and hence GYP) can't handle circular dependencies between
21272 files (and projects). Accordingly, although the binaries in
21273 WebKit.gyp depend on webkit_support and webkit_support depends
21274 on webkit, we don't mention the latter dependency in the file.
21275 To fix this, this change moves the binaries like DRT into a new
21276 GYP file, and modifies gyp_webkit to build from that file
21277 instead of WebKit.gyp.
21281 * WebKitUnitTests.gyp:
21284 2011-12-06 Adrienne Walker <enne@google.com>
21286 [chromium] setNeedsCommit on non-composited host layers should trigger commit
21287 https://bugs.webkit.org/show_bug.cgi?id=73711
21289 Reviewed by James Robinson.
21291 Add some tests to make sure that modifying the noncomposited content
21292 host triggers commits.
21294 Properties that trigger setNeedsCommit should only do so when the
21295 property changes. Additionally, make more property changes properly
21298 * tests/LayerChromiumTest.cpp:
21300 2011-12-06 David Reveman <reveman@chromium.org>
21302 [Chromium] Implement tile-sized painting using SkPicture.
21303 https://bugs.webkit.org/show_bug.cgi?id=71869
21305 Reviewed by James Robinson.
21307 Add perTilePainting setting that is used by compositor to determine
21308 what texture uploader to use.
21310 * public/WebSettings.h:
21311 * src/WebSettingsImpl.cpp:
21312 (WebKit::WebSettingsImpl::WebSettingsImpl):
21313 (WebKit::WebSettingsImpl::setPerTilePainting):
21314 * src/WebSettingsImpl.h:
21315 (WebKit::WebSettingsImpl::perTilePainting):
21316 * src/WebViewImpl.cpp:
21317 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
21319 2011-12-06 Dana Jansens <danakj@chromium.org>
21321 [chromium] Set opaque flag for ImageLayerChromium
21322 https://bugs.webkit.org/show_bug.cgi?id=72964
21324 Reviewed by James Robinson.
21327 * tests/DragImageTest.cpp:
21328 (WebCore::TestImage::TestImage):
21329 (WebCore::TestImage::nativeImageForCurrentFrame):
21330 * tests/ImageLayerChromiumTest.cpp: Added.
21331 (WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
21332 (WebCore::MockGraphicsLayerClient::notifySyncRequired):
21333 (WebCore::MockGraphicsLayerClient::paintContents):
21334 (WebCore::MockGraphicsLayerClient::showDebugBorders):
21335 (WebCore::MockGraphicsLayerClient::showRepaintCounter):
21336 (WebCore::TestImage::create):
21337 (WebCore::TestImage::TestImage):
21338 (WebCore::TestImage::isBitmapImage):
21339 (WebCore::TestImage::currentFrameHasAlpha):
21340 (WebCore::TestImage::size):
21341 (WebCore::TestImage::nativeImageForCurrentFrame):
21342 (WebCore::TestImage::destroyDecodedData):
21343 (WebCore::TestImage::decodedSize):
21344 (WebCore::TestImage::draw):
21347 2011-12-06 Adam Klein <adamk@chromium.org>
21349 [chromium] Guard access to WebKitPlatformSupport::currentThread with a null check
21350 https://bugs.webkit.org/show_bug.cgi?id=73937
21352 Reviewed by Adam Barth.
21354 Though |currentThread| is never null in production code, it is null in
21355 unit tests (such as Chromium's unit_tests) that call WebKit::initialize()
21356 without first constructing a MessageLoop.
21359 (WebKit::initialize):
21360 (WebKit::shutdown):
21362 2011-12-06 Alexandre Elias <aelias@google.com>
21364 [chromium] Apply sent deltas on finishCommit
21365 https://bugs.webkit.org/show_bug.cgi?id=73884
21367 Reviewed by James Robinson.
21369 This moves scroll and pageScale "sent" deltas to be applied to
21370 the layer at the end of the commit, instead of the beginning.
21372 This has several advantages, especially for page scale:
21373 - When pageScale changes, no longer any need to change the scroll's
21374 coordinate space at beginning of commit, which is complex and prone to
21375 bugs (this fixes a problem where we were forgetting to modify the
21376 scrollPosition before).
21377 - No need for non-commit-related code to consider the "sent" values.
21378 m_pageScale is now always the content scale factor, and
21379 m_pageScaleDelta is the scale to be on the impl-side matrix.
21380 - This will make it easy to send arbitrary fake or future delta
21381 values for example while pinch zooming out.
21383 The scroll logic is similarly altered for consistency's sake. Note that
21384 I also moved the tree synchronize to the beginning of finishCommit
21385 in order to avoid having to change the pageScale coordinate space of
21386 sentScrollDelta in adjustScrollsForPageScaleChange().
21388 * tests/CCLayerTreeHostImplTest.cpp:
21391 2011-12-06 Adam Barth <abarth@webkit.org>
21393 Remove forwarding header now that downstream has been fixed to refer to
21394 the actual location of this header.
21396 * public/WebRect.h: Removed.
21398 2011-12-06 Dimitri Glazkov <dglazkov@chromium.org>
21400 Unreviewed, rolling out r102091.
21401 http://trac.webkit.org/changeset/102091
21402 https://bugs.webkit.org/show_bug.cgi?id=73711
21404 Caused Clang Linux compile failure.
21406 * tests/LayerChromiumTest.cpp:
21408 2011-12-06 Sheriff Bot <webkit.review.bot@gmail.com>
21410 Unreviewed, rolling out r102102.
21411 http://trac.webkit.org/changeset/102102
21412 https://bugs.webkit.org/show_bug.cgi?id=73925
21414 Causes segmentation fault on chromium unit_tests,
21415 content_unittests, sync_unit_tests (Requested by vsevik on
21420 2011-12-06 Vsevolod Vlasov <vsevik@chromium.org>
21422 Unreviewed chromium expectations update.
21424 * tests/KURLTest.cpp:
21425 (ComponentCase::TEST):
21427 2011-12-06 Eric Penner <epenner@google.com>
21429 [chromium] Set texture limits as multiples of viewport size instead of hardcoded values
21430 https://bugs.webkit.org/show_bug.cgi?id=72202
21432 Reviewed by James Robinson.
21434 * tests/TiledLayerChromiumTest.cpp:
21437 2011-12-06 Sheriff Bot <webkit.review.bot@gmail.com>
21439 Unreviewed, rolling out r102043.
21440 http://trac.webkit.org/changeset/102043
21441 https://bugs.webkit.org/show_bug.cgi?id=73898
21443 Breaks chromium mac-cg compilation. (Requested by vsevik on
21447 * tests/ImageLayerChromiumTest.cpp: Removed.
21449 2011-12-05 Rafael Weinstein <rafaelw@chromium.org>
21451 [MutationObservers] Enable in Chromium trunk
21452 https://bugs.webkit.org/show_bug.cgi?id=73851
21454 Reviewed by Ojan Vafai.
21458 2011-12-05 James Robinson <jamesr@chromium.org>
21462 * src/WebLayerTreeView.cpp:
21464 2011-12-05 James Robinson <jamesr@chromium.org>
21466 Rollout http://trac.webkit.org/changeset/102019, dependent has not
21470 * public/WebContentLayer.h: Added.
21471 * public/WebExternalTextureLayer.h: Added.
21472 * public/WebLayer.h: Added.
21473 * public/WebLayerClient.h: Added.
21474 * public/WebLayerTreeView.h: Added.
21475 * public/WebLayerTreeViewClient.h: Added.
21476 * src/WebLayerTreeView.cpp:
21477 * src/WebLayerTreeViewImpl.cpp:
21479 2011-12-05 Dana Jansens <danakj@chromium.org>
21481 Set opaque flag for WebGLLayerChromium
21482 https://bugs.webkit.org/show_bug.cgi?id=73876
21484 Reviewed by James Robinson.
21487 * tests/WebGLLayerChromiumTest.cpp: Added.
21488 (WebKit::CompositorMockWebGraphicsContext3D::create):
21489 (WebKit::CompositorMockWebGraphicsContext3D::makeContextCurrent):
21490 (WebKit::CompositorMockWebGraphicsContext3D::createProgram):
21491 (WebKit::CompositorMockWebGraphicsContext3D::createShader):
21492 (WebKit::CompositorMockWebGraphicsContext3D::getShaderiv):
21493 (WebKit::CompositorMockWebGraphicsContext3D::getProgramiv):
21494 (WebKit::CompositorMockWebGraphicsContext3D::getContextAttributes):
21495 (WebKit::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
21496 (WebKit::createGraphicsContext):
21499 2011-12-05 Adrienne Walker <enne@google.com>
21501 [chromium] setNeedsCommit on non-composited host layers should trigger commit
21502 https://bugs.webkit.org/show_bug.cgi?id=73711
21504 Reviewed by James Robinson.
21506 Add some tests to make sure that modifying the noncomposited content
21507 host triggers commits.
21509 Properties that trigger setNeedsCommit should only do so when the
21510 property changes. Additionally, make more property changes properly
21513 * tests/LayerChromiumTest.cpp:
21515 2011-12-05 Stephen White <senorblanco@chromium.org>
21517 Allow the ImageBuffers used by SVG filters to be accelerated
21518 https://bugs.webkit.org/show_bug.cgi?id=73842
21520 Reviewed by Kenneth Russell.
21522 * public/WebSettings.h:
21523 * src/WebSettingsImpl.cpp:
21524 (WebKit::WebSettingsImpl::setAcceleratedFiltersEnabled):
21525 * src/WebSettingsImpl.h:
21527 2011-12-05 Adam Barth <abarth@webkit.org>
21529 [Chromium] Chromium fails to compile due to missing WebContentLayerClient.h
21530 https://bugs.webkit.org/show_bug.cgi?id=73881
21532 This patch adds a forwarding header to fix the downstream Windows build:
21533 http://build.chromium.org/p/chromium.webkit/builders/Win%20Builder/builds/12955/steps/compile/logs/stdio
21535 * public/WebContentLayerClient.h: Added.
21537 2011-12-05 Adam Barth <abarth@webkit.org>
21539 Add a shim to fix the downstream Chromium compile. The real fix should
21540 be made downstream via http://codereview.chromium.org/8801036/, but the
21541 Chromium tree is closed at the moment.
21543 * public/WebRect.h: Added.
21545 2011-12-01 Vangelis Kokkevis <vangelis@chromium.org>
21547 Use ANGLE's texture_usage and texture_storage extensions when allocating compositor textures.
21548 https://bugs.webkit.org/show_bug.cgi?id=73621
21550 Add the necessary entry points and enums to GraphicsContext3D.
21552 Reviewed by Kenneth Russell.
21554 * public/platform/WebGraphicsContext3D.h:
21555 * src/Extensions3DChromium.cpp:
21556 (WebCore::Extensions3DChromium::texStorage2DEXT):
21557 * src/GraphicsContext3DChromium.cpp:
21558 * src/GraphicsContext3DPrivate.h:
21559 * tests/MockWebGraphicsContext3D.h:
21560 (WebKit::MockWebGraphicsContext3D::texStorage2DEXT):
21562 2011-12-05 Adam Barth <abarth@webkit.org>
21564 Another attempted build fix.
21566 * src/linux/WebFontInfo.cpp:
21568 2011-12-05 Adam Barth <abarth@webkit.org>
21572 * public/linux/WebFontInfo.h:
21574 2011-12-05 Adam Barth <abarth@webkit.org>
21576 [Chromium] Remove no-longer-used forwarding headers in the WebKit API
21577 https://bugs.webkit.org/show_bug.cgi?id=73845
21579 Reviewed by Darin Fisher.
21581 Delete unused forwarding headers and update includes to the new header
21585 * bridge/PeerConnectionHandlerInternal.cpp:
21586 * bridge/PeerConnectionHandlerInternal.h:
21587 * public/WebArrayBuffer.h:
21588 * public/WebArrayBufferView.h: Removed.
21589 * public/WebAudioBus.h: Removed.
21590 * public/WebAudioDevice.h: Removed.
21591 * public/WebBlobData.h: Removed.
21592 * public/WebBlobRegistry.h: Removed.
21593 * public/WebCString.h: Removed.
21594 * public/WebCanvas.h: Removed.
21595 * public/WebClipboard.h: Removed.
21596 * public/WebColor.h: Removed.
21597 * public/WebColorName.h: Removed.
21598 * public/WebCommon.h: Removed.
21599 * public/WebCompositorInputHandler.h:
21600 * public/WebCookie.h: Removed.
21601 * public/WebCookieJar.h: Removed.
21602 * public/WebData.h: Removed.
21603 * public/WebDragData.h: Removed.
21604 * public/WebFileSystem.h: Removed.
21605 * public/WebFloatPoint.h: Removed.
21606 * public/WebFloatQuad.h: Removed.
21607 * public/WebFloatRect.h: Removed.
21608 * public/WebGamepad.h: Removed.
21609 * public/WebGamepads.h: Removed.
21610 * public/WebGraphicsContext3D.h: Removed.
21611 * public/WebHTTPBody.h: Removed.
21612 * public/WebHTTPHeaderVisitor.h: Removed.
21613 * public/WebHTTPLoadInfo.h: Removed.
21614 * public/WebIDBCallbacks.h:
21615 * public/WebImage.h: Removed.
21616 * public/WebIntent.h:
21617 * public/WebIntentServiceInfo.h:
21618 * public/WebKitPlatformSupport.h: Removed.
21619 * public/WebLocalizedString.h: Removed.
21620 * public/WebMediaStreamDescriptor.h: Removed.
21621 * public/WebMimeRegistry.h: Removed.
21622 * public/WebNonCopyable.h: Removed.
21623 * public/WebPageOverlay.h:
21624 * public/WebPeerConnectionHandler.h: Removed.
21625 * public/WebPeerConnectionHandlerClient.h: Removed.
21626 * public/WebPoint.h: Removed.
21627 * public/WebPrivateOwnPtr.h: Removed.
21628 * public/WebPrivatePtr.h: Removed.
21629 * public/WebRect.h: Removed.
21630 * public/WebSerializedScriptValue.h: Removed.
21631 * public/WebSize.h: Removed.
21632 * public/WebSocketStreamError.h: Removed.
21633 * public/WebSocketStreamHandle.h: Removed.
21634 * public/WebSocketStreamHandleClient.h: Removed.
21635 * public/WebString.h: Removed.
21636 * public/WebThread.h: Removed.
21637 * public/WebThreadSafeData.h: Removed.
21638 * public/WebURL.h: Removed.
21639 * public/WebURLError.h: Removed.
21640 * public/WebURLLoadTiming.h: Removed.
21641 * public/WebURLLoader.h: Removed.
21642 * public/WebURLLoaderClient.h: Removed.
21643 * public/WebURLRequest.h: Removed.
21644 * public/WebURLResponse.h: Removed.
21645 * public/WebVector.h: Removed.
21646 * public/WebWorkerRunLoop.h:
21647 * public/android/WebThemeEngine.h: Removed.
21648 * public/linux/WebFontFamily.h: Removed.
21649 * public/linux/WebThemeEngine.h: Removed.
21650 * public/mac/WebThemeEngine.h: Removed.
21651 * public/win/WebThemeEngine.h: Removed.
21652 * src/ApplicationCacheHost.cpp:
21653 * src/ApplicationCacheHostInternal.h:
21654 * src/AssertMatchingEnums.cpp:
21655 * src/AssociatedURLLoader.cpp:
21656 * src/AssociatedURLLoader.h:
21657 * src/AsyncFileSystemChromium.cpp:
21658 * src/AsyncFileWriterChromium.cpp:
21659 * src/AudioDestinationChromium.cpp:
21660 * src/AudioDestinationChromium.h:
21661 * src/AutofillPopupMenuClient.cpp:
21662 * src/BlobRegistryProxy.cpp:
21663 * src/CCThreadImpl.cpp:
21664 * src/ChromeClientImpl.cpp:
21665 * src/ChromiumCurrentTime.cpp:
21666 * src/ChromiumOSRandomSource.cpp:
21667 * src/ChromiumThreading.cpp:
21668 * src/CompositionUnderlineBuilder.h:
21669 * src/CompositionUnderlineVectorBuilder.h:
21670 * src/ContextMenuClientImpl.cpp:
21671 * src/DragClientImpl.cpp:
21672 * src/DragScrollTimer.h:
21673 * src/ExternalPopupMenu.cpp:
21674 * src/FrameLoaderClientImpl.cpp:
21675 * src/GraphicsContext3DChromium.cpp:
21676 * src/IDBCallbacksProxy.cpp:
21677 * src/IDBCursorBackendProxy.cpp:
21678 * src/IDBFactoryBackendProxy.cpp:
21679 * src/IDBObjectStoreBackendProxy.cpp:
21680 * src/InspectorClientImpl.cpp:
21681 * src/InspectorFrontendClientImpl.cpp:
21682 * src/LocalFileSystemChromium.cpp:
21683 * src/LocalizedStrings.cpp:
21684 * src/NotificationPresenterImpl.cpp:
21685 * src/PlatformMessagePortChannel.cpp:
21686 * src/PlatformSupport.cpp:
21687 * src/ResourceHandle.cpp:
21688 * src/ResourceHandleInternal.h:
21689 * src/ScrollbarGroup.cpp:
21690 * src/SharedWorkerRepository.cpp:
21691 * src/SocketStreamHandle.cpp:
21692 * src/SpeechInputClientImpl.cpp:
21693 * src/StorageAreaProxy.cpp:
21694 * src/StorageEventDispatcherChromium.cpp:
21695 * src/StorageNamespaceProxy.cpp:
21696 * src/WebAccessibilityObject.cpp:
21697 * src/WebAnimationControllerImpl.cpp:
21698 * src/WebArrayBufferView.cpp:
21699 * src/WebAttribute.cpp:
21700 * src/WebAudioBus.cpp:
21701 * src/WebBindings.cpp:
21702 * src/WebBlobData.cpp:
21703 * src/WebCString.cpp:
21704 * src/WebColor.cpp:
21705 * src/WebCommon.cpp:
21706 * src/WebCompositorImpl.cpp:
21707 * src/WebCompositorInputHandlerImpl.cpp:
21708 * src/WebContentLayerImpl.cpp:
21709 * src/WebDOMEventListenerPrivate.h:
21710 * src/WebDOMMessageEvent.cpp:
21711 * src/WebDOMStringList.cpp:
21713 * src/WebDataSourceImpl.cpp:
21714 * src/WebDatabase.cpp:
21715 * src/WebDevToolsAgentImpl.cpp:
21716 * src/WebDocument.cpp:
21717 * src/WebDocumentType.cpp:
21718 * src/WebDragData.cpp:
21719 * src/WebEntities.cpp:
21720 * src/WebExternalTextureLayerImpl.cpp:
21721 * src/WebFileChooserCompletionImpl.h:
21722 * src/WebFileSystemCallbacksImpl.cpp:
21723 * src/WebFileSystemCallbacksImpl.h:
21724 * src/WebFloatQuad.cpp:
21725 * src/WebFontImpl.cpp:
21726 * src/WebFormElement.cpp:
21727 * src/WebFrameImpl.cpp:
21728 * src/WebGeolocationError.cpp:
21729 * src/WebGeolocationPermissionRequest.cpp:
21730 * src/WebGraphicsContext3D.cpp:
21731 * src/WebHTTPBody.cpp:
21732 * src/WebHTTPLoadInfo.cpp:
21733 * src/WebHistoryItem.cpp:
21734 * src/WebIDBCallbacksImpl.cpp:
21735 * src/WebIDBCursorImpl.h:
21736 * src/WebIDBDatabaseCallbacksImpl.cpp:
21737 * src/WebIDBDatabaseCallbacksImpl.h:
21738 * src/WebIDBDatabaseError.cpp:
21739 * src/WebIDBDatabaseImpl.h:
21740 * src/WebIDBIndexImpl.h:
21741 * src/WebIDBKey.cpp:
21742 * src/WebIDBKeyPath.cpp:
21743 * src/WebIDBObjectStoreImpl.cpp:
21744 * src/WebIDBObjectStoreImpl.h:
21745 * src/WebIDBTransactionImpl.h:
21746 * src/WebIconLoadingCompletionImpl.h:
21747 * src/WebImageCG.cpp:
21748 * src/WebImageDecoder.cpp:
21749 * src/WebImageSkia.cpp:
21750 * src/WebInputElement.cpp:
21752 * src/WebLabelElement.cpp:
21753 * src/WebLayer.cpp:
21754 * src/WebLayerTreeView.cpp:
21755 * src/WebLayerTreeViewImpl.cpp:
21756 * src/WebMediaPlayerClientImpl.cpp:
21757 * src/WebMediaStreamDescriptor.cpp:
21758 * src/WebMediaStreamRegistry.cpp:
21759 * src/WebMediaStreamSource.cpp:
21761 * src/WebNotification.cpp:
21762 * src/WebOptionElement.cpp:
21763 * src/WebPageSerializer.cpp:
21764 * src/WebPageSerializerImpl.cpp:
21765 * src/WebPageSerializerImpl.h:
21766 * src/WebPluginContainerImpl.cpp:
21767 * src/WebPluginListBuilderImpl.cpp:
21768 * src/WebPluginLoadObserver.h:
21769 * src/WebPopupMenuImpl.cpp:
21770 * src/WebPopupMenuImpl.h:
21771 * src/WebRange.cpp:
21772 * src/WebRegularExpression.cpp:
21773 * src/WebScriptController.cpp:
21774 * src/WebScrollbarImpl.cpp:
21775 * src/WebSecurityOrigin.cpp:
21776 * src/WebSecurityPolicy.cpp:
21777 * src/WebSelectElement.cpp:
21778 * src/WebSerializedScriptValue.cpp:
21779 * src/WebSettingsImpl.cpp:
21780 * src/WebSharedWorkerImpl.cpp:
21781 * src/WebSocketImpl.cpp:
21782 * src/WebSocketImpl.h:
21783 * src/WebSpeechInputControllerMockImpl.cpp:
21784 * src/WebSpeechInputControllerMockImpl.h:
21785 * src/WebStorageAreaImpl.cpp:
21786 * src/WebStorageEventDispatcherImpl.cpp:
21787 * src/WebStorageNamespaceImpl.cpp:
21788 * src/WebString.cpp:
21789 * src/WebTextCheckingCompletionImpl.cpp:
21790 * src/WebThreadSafeData.cpp:
21792 * src/WebURLError.cpp:
21793 * src/WebURLLoadTiming.cpp:
21794 * src/WebURLRequest.cpp:
21795 * src/WebURLResponse.cpp:
21796 * src/WebURLResponsePrivate.h:
21797 * src/WebUserMediaRequest.cpp:
21798 * src/WebViewImpl.cpp:
21799 * src/WebViewImpl.h:
21800 * src/WebWorkerClientImpl.cpp:
21801 * src/WebWorkerClientImpl.h:
21802 * src/WebWorkerImpl.cpp:
21803 * src/WorkerAsyncFileSystemChromium.cpp:
21804 * src/WorkerAsyncFileWriterChromium.cpp:
21805 * src/WorkerFileSystemCallbacksBridge.cpp:
21806 * src/WorkerFileSystemCallbacksBridge.h:
21807 * src/WorkerFileWriterCallbacksBridge.cpp:
21808 * src/WrappedResourceRequest.h:
21809 * src/WrappedResourceResponse.h:
21810 * src/mac/WebSubstringUtil.mm:
21811 * tests/AssociatedURLLoaderTest.cpp:
21812 * tests/CCLayerTreeHostTest.cpp:
21813 * tests/FrameTestHelpers.cpp:
21814 * tests/MockWebGraphicsContext3D.h:
21815 * tests/PopupMenuTest.cpp:
21816 * tests/RunAllTests.cpp:
21817 * tests/WebLayerTest.cpp:
21818 * tests/WebPageNewSerializerTest.cpp:
21819 * tests/WebPageSerializerTest.cpp:
21820 * tests/WebURLRequestTest.cpp:
21821 * tests/WebUnitTests.h:
21822 * tests/WebViewTest.cpp:
21824 2011-12-05 Dana Jansens <danakj@chromium.org>
21826 [chromium] Set opaque flag for ImageLayerChromium
21827 https://bugs.webkit.org/show_bug.cgi?id=72964
21829 Reviewed by James Robinson.
21832 * tests/ImageLayerChromiumTest.cpp: Added.
21833 (WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
21834 (WebCore::MockGraphicsLayerClient::notifySyncRequired):
21835 (WebCore::MockGraphicsLayerClient::paintContents):
21836 (WebCore::MockGraphicsLayerClient::showDebugBorders):
21837 (WebCore::MockGraphicsLayerClient::showRepaintCounter):
21838 (WebCore::TestImage::create):
21839 (WebCore::TestImage::TestImage):
21840 (WebCore::TestImage::~TestImage):
21841 (WebCore::TestImage::isBitmapImage):
21842 (WebCore::TestImage::currentFrameHasAlpha):
21843 (WebCore::TestImage::size):
21844 (WebCore::TestImage::nativeImageForCurrentFrame):
21845 (WebCore::TestImage::destroyDecodedData):
21846 (WebCore::TestImage::decodedSize):
21847 (WebCore::TestImage::draw):
21850 2011-12-02 James Robinson <jamesr@chromium.org>
21852 [chromium] Remove forwarding headers for WebLayer APIs
21853 https://bugs.webkit.org/show_bug.cgi?id=73729
21855 Reviewed by Adam Barth.
21857 These are no longer necessary.
21860 * public/WebContentLayer.h: Removed.
21861 * public/WebContentLayerClient.h: Removed.
21862 * public/WebExternalTextureLayer.h: Removed.
21863 * public/WebLayer.h: Removed.
21864 * public/WebLayerClient.h: Removed.
21865 * public/WebLayerTreeView.h: Removed.
21866 * public/WebLayerTreeViewClient.h: Removed.
21867 * src/WebLayerTreeView.cpp:
21868 * src/WebLayerTreeViewImpl.cpp:
21869 * tests/WebLayerTest.cpp:
21871 2011-12-05 Vsevolod Vlasov <vsevik@chromium.org>
21873 Unreviewed, fixed chromium DEPS syntax.
21877 2011-12-05 Vsevolod Vlasov <vsevik@chromium.org>
21879 Unreviewed. Rolled DEPS.
21883 2011-12-05 Eric Carlson <eric.carlson@apple.com>
21885 WebKit/chromium part of: Add WebKit preferences for text track settings
21886 https://bugs.webkit.org/show_bug.cgi?id=73721
21888 Reviewed by John Sullivan.
21890 * src/WebSettingsImpl.cpp:
21891 (WebKit::WebSettingsImpl::shouldDisplaySubtitles): Added.
21892 (WebKit::WebSettingsImpl::shouldDisplayCaptions): Ditto.
21893 (WebKit::WebSettingsImpl::shouldDisplayTextDescriptions): Ditto.
21894 * src/WebSettingsImpl.h:
21896 2011-12-04 Sheriff Bot <webkit.review.bot@gmail.com>
21898 Unreviewed. Rolled DEPS.
21902 2011-12-02 Sheriff Bot <webkit.review.bot@gmail.com>
21904 Unreviewed, rolling out r101906.
21905 http://trac.webkit.org/changeset/101906
21906 https://bugs.webkit.org/show_bug.cgi?id=73736
21908 Failing chromium webkit_unit_tests (Requested by scheib on
21912 * tests/DispatchEventTest.cpp: Removed.
21913 * tests/data/event_target.html: Removed.
21915 2011-12-02 Dave Michael <dmichael@chromium.org>
21917 Add a unit test for creating, listening for, and dispatching events
21918 via the chromium API.
21919 https://bugs.webkit.org/show_bug.cgi?id=72988
21921 Reviewed by Darin Fisher.
21924 * tests/DispatchEventTest.cpp: Added.
21925 (WebKit::MockListener::MockListener):
21926 (WebKit::MockListener::~MockListener):
21927 (WebKit::MockListener::events):
21928 (WebKit::DispatchEventTest::DispatchEventTest):
21929 (WebKit::DispatchEventTest::TearDown):
21932 2011-12-02 Nate Chapin <japhet@chromium.org>
21934 Don't call FocusController:setActive() in
21935 WebViewImpl::setFocus(), since being active and
21936 being focused are different concepts and chromium
21937 now properly sends setActive IPCs on all platforms.
21938 https://bugs.webkit.org/show_bug.cgi?id=73687
21940 Reviewed by Eric Seidel.
21942 * src/WebViewImpl.cpp:
21943 (WebKit::WebViewImpl::setFocus):
21944 * tests/WebViewTest.cpp: Test how different combinations of
21945 setIsActive() and setFocus() affect whether the document
21948 2011-12-02 Dave Michael <dmichael@chromium.org>
21950 Add WebArrayBuffer to chromium API
21951 https://bugs.webkit.org/show_bug.cgi?id=73593
21953 Reviewed by Darin Fisher.
21956 * public/WebArrayBuffer.h: Added.
21957 (WebKit::WebArrayBuffer::~WebArrayBuffer):
21958 (WebKit::WebArrayBuffer::WebArrayBuffer):
21959 (WebKit::WebArrayBuffer::operator=):
21960 (WebKit::WebArrayBuffer::isNull):
21961 * public/WebBindings.h:
21962 * src/WebArrayBuffer.cpp: Added.
21963 (WebKit::WebArrayBuffer::create):
21964 (WebKit::WebArrayBuffer::reset):
21965 (WebKit::WebArrayBuffer::assign):
21966 (WebKit::WebArrayBuffer::data):
21967 (WebKit::WebArrayBuffer::byteLength):
21968 (WebKit::WebArrayBuffer::toV8Value):
21969 (WebKit::WebArrayBuffer::WebArrayBuffer):
21970 (WebKit::WebArrayBuffer::operator=):
21971 (WebKit::WebArrayBuffer::operator WTF::PassRefPtr<WTF::ArrayBuffer>):
21972 * src/WebBindings.cpp:
21973 (WebKit::getArrayBufferImpl):
21974 (WebKit::WebBindings::getArrayBuffer):
21976 2011-12-02 David Grogan <dgrogan@chromium.org>
21978 Grant workers experimental access to IndexedDB.
21979 https://bugs.webkit.org/show_bug.cgi?id=73609
21981 Reviewed by Nate Chapin.
21983 * src/IDBFactoryBackendProxy.cpp:
21984 (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread): Return
21985 true while behind a runtime flag, and while we figure out how to check
21986 permission in a thread-safe manner.
21987 (WebKit::IDBFactoryBackendProxy::openFromWorker): Using the webFrame
21988 from the worker seems to satisfy the weak condition in chromium that
21989 neither it nor it's associated RenderView is NULL.
21990 * src/IDBFactoryBackendProxy.h:
21992 2011-12-01 James Robinson <jamesr@chromium.org>
21994 [chromium] Move WebLayer APIs to platform directory
21995 https://bugs.webkit.org/show_bug.cgi?id=73610
21997 Reviewed by Darin Fisher.
21999 * public/WebContentLayer.h:
22000 * public/WebContentLayerClient.h:
22001 * public/WebExternalTextureLayer.h:
22002 * public/WebLayer.h:
22003 * public/WebLayerClient.h:
22004 * public/WebLayerTreeView.h:
22005 * public/WebLayerTreeViewClient.h:
22006 * public/platform/WebContentLayer.h: Copied from Source/WebKit/chromium/public/WebContentLayer.h.
22007 (WebKit::WebContentLayer::WebContentLayer):
22008 (WebKit::WebContentLayer::~WebContentLayer):
22009 (WebKit::WebContentLayer::operator=):
22010 * public/platform/WebContentLayerClient.h: Copied from Source/WebKit/chromium/public/WebContentLayerClient.h.
22011 (WebKit::WebContentLayerClient::~WebContentLayerClient):
22012 * public/platform/WebExternalTextureLayer.h: Copied from Source/WebKit/chromium/public/WebExternalTextureLayer.h.
22013 (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
22014 (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
22015 (WebKit::WebExternalTextureLayer::operator=):
22016 * public/platform/WebLayer.h: Copied from Source/WebKit/chromium/public/WebLayer.h.
22017 (WebKit::WebLayer::WebLayer):
22018 (WebKit::WebLayer::~WebLayer):
22019 (WebKit::WebLayer::operator=):
22020 (WebKit::WebLayer::isNull):
22021 (WebKit::WebLayer::to):
22022 (WebKit::WebLayer::toConst):
22023 (WebKit::WebLayer::unwrap):
22024 (WebKit::WebLayer::constUnwrap):
22025 (WebKit::operator==):
22026 (WebKit::operator!=):
22027 * public/platform/WebLayerClient.h: Copied from Source/WebKit/chromium/public/WebLayerClient.h.
22028 (WebKit::WebLayerClient::~WebLayerClient):
22029 * public/platform/WebLayerTreeView.h: Copied from Source/WebKit/chromium/public/WebLayerTreeView.h.
22030 (WebKit::WebLayerTreeView::Settings::Settings):
22031 (WebKit::WebLayerTreeView::WebLayerTreeView):
22032 (WebKit::WebLayerTreeView::~WebLayerTreeView):
22033 (WebKit::WebLayerTreeView::operator=):
22034 (WebKit::operator==):
22035 (WebKit::operator!=):
22036 * public/platform/WebLayerTreeViewClient.h: Copied from Source/WebKit/chromium/public/WebLayerTreeViewClient.h.
22037 (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
22038 * public/platform/WebPrivatePtr.h:
22039 * src/WebContentLayer.cpp:
22040 * src/WebContentLayerImpl.cpp:
22041 * src/WebExternalTextureLayer.cpp:
22042 * src/WebExternalTextureLayerImpl.cpp:
22043 * src/WebLayer.cpp:
22044 * src/WebLayerImpl.cpp:
22045 * src/WebLayerTreeView.cpp:
22046 * src/WebLayerTreeViewImpl.h:
22048 2011-12-02 Karl Koscher <supersat@chromium.org>
22050 [chromium] add setOpener method to WebFrame
22051 https://bugs.webkit.org/show_bug.cgi?id=73379
22053 Reviewed by Darin Fisher.
22055 * public/WebFrame.h:
22056 (WebKit::WebFrame::clearOpener): now an inline call to setOpener(0)
22057 * src/WebFrameImpl.cpp:
22058 (WebKit::WebFrameImpl::setOpener): sets window.opener
22059 * src/WebFrameImpl.h:
22061 2011-12-02 Kent Tamura <tkent@chromium.org>
22063 Unreviewed, rolling out r101337.
22064 http://trac.webkit.org/changeset/101337
22065 https://bugs.webkit.org/show_bug.cgi?id=73189
22067 It's a wrong way to fix the problem
22069 * src/WebViewImpl.cpp:
22070 (WebKit::WebViewImpl::popupOpened):
22072 2011-12-02 Kausalya Madhusudhanan <kmadhusu@chromium.org>
22074 Added helper method to identify whether the page has custom page size style.
22075 https://bugs.webkit.org/show_bug.cgi?id=73585
22077 Reviewed by Darin Fisher.
22079 * public/WebFrame.h:
22080 * src/WebFrameImpl.cpp:
22081 (WebKit::WebFrameImpl::hasCustomPageSizeStyle):
22082 * src/WebFrameImpl.h:
22084 2011-12-02 Tony Chang <tony@chromium.org>
22086 [Chromium] GYP fix for Windows 2010 build
22087 https://bugs.webkit.org/show_bug.cgi?id=73483
22089 Reviewed by Adam Barth.
22091 Patch by Carlos Pizano.
22093 * WebKit.gyp: Exclude the android directory and remove a file match that doesn't match anything.
22095 2011-12-01 Alok Priyadarshi <alokp@chromium.org>
22097 [chromium] CCLayerQuad does not return FloatQuad in correct order
22098 https://bugs.webkit.org/show_bug.cgi?id=73247
22100 Reviewed by James Robinson.
22103 * tests/CCLayerQuadTest.cpp: Added.
22106 2011-11-30 Adam Klein <adamk@chromium.org>
22108 [chromium] WebKitMutationObserver::deliverAllMutations should be exposed through the Chromium API
22109 https://bugs.webkit.org/show_bug.cgi?id=71242
22111 Reviewed by Darin Fisher.
22113 Relanding, depends on http://codereview.chromium.org/8748015/
22114 to fix a sandboxing issue on Chromium/Linux.
22116 Add addTaskObserver and removeTaskObserver to WebThread,
22117 along with a new WebThread::TaskObserver interface.
22119 For mutation observers, add a TaskObserver to the main thread
22120 to deliver mutations after each task runs.
22122 The Chromium implementation of the new WebThread methods is in
22123 http://codereview.chromium.org/8586038/.
22125 * public/platform/WebThread.h:
22126 (WebKit::WebThread::TaskObserver::~TaskObserver):
22128 (WebKit::initialize):
22129 (WebKit::shutdown):
22131 2011-12-02 Sheriff Bot <webkit.review.bot@gmail.com>
22133 Unreviewed, rolling out r101833.
22134 http://trac.webkit.org/changeset/101833
22135 https://bugs.webkit.org/show_bug.cgi?id=73678
22137 test_expectations file invalid: run Tools/Scripts/new-run-
22138 webkit-tests --lint-test-files (Requested by scheib on
22142 * tests/CCLayerQuadTest.cpp: Removed.
22144 2011-12-02 Alok Priyadarshi <alokp@chromium.org>
22146 [chromium] CCLayerQuad does not return FloatQuad in correct orientation
22147 https://bugs.webkit.org/show_bug.cgi?id=73247
22149 Reviewed by James Robinson.
22152 * tests/CCLayerQuadTest.cpp: Added.
22155 2011-12-02 Daniel Cheng <dcheng@chromium.org>
22157 [chromium] Add plumbing for supporting custom MIME types in DataTransfer.
22158 https://bugs.webkit.org/show_bug.cgi?id=73594
22160 Reviewed by David Levin.
22162 * public/platform/WebClipboard.h:
22163 (WebKit::WebClipboard::readCustomData):
22164 * public/platform/WebDragData.h:
22165 * src/PlatformSupport.cpp:
22166 (WebCore::PlatformSupport::clipboardReadCustomData):
22167 * src/WebDragData.cpp:
22168 (WebKit::WebDragData::customData):
22169 (WebKit::WebDragData::setCustomData):
22171 2011-12-02 Joshua Bell <jsbell@chromium.org>
22173 IndexedDB: Rename "multientry" to "multiEntry" per spec change
22174 https://bugs.webkit.org/show_bug.cgi?id=73578
22176 Reviewed by Darin Fisher.
22178 * public/WebIDBIndex.h:
22179 (WebKit::WebIDBIndex::multiEntry):
22180 * public/WebIDBObjectStore.h:
22181 (WebKit::WebIDBObjectStore::createIndex):
22182 * src/IDBIndexBackendProxy.cpp:
22183 (WebKit::IDBIndexBackendProxy::multiEntry):
22184 * src/IDBIndexBackendProxy.h:
22185 * src/IDBObjectStoreBackendProxy.cpp:
22186 (WebKit::IDBObjectStoreBackendProxy::createIndex):
22187 * src/IDBObjectStoreBackendProxy.h:
22188 * src/WebIDBIndexImpl.cpp:
22189 (WebKit::WebIDBIndexImpl::multiEntry):
22190 * src/WebIDBIndexImpl.h:
22191 * src/WebIDBObjectStoreImpl.cpp:
22192 (WebKit::WebIDBObjectStoreImpl::createIndex):
22193 * src/WebIDBObjectStoreImpl.h:
22195 2011-12-02 Sami Kyostila <skyostil@chromium.org>
22197 [chromium] Make CCInputHandler scrolling stateful
22198 https://bugs.webkit.org/show_bug.cgi?id=73345
22200 This change makes the scrolling part of CCInputHandler stateful by
22201 replacing scrollRootLayer() with scrollBegin(), scrollBy() and
22202 scrollEnd(). This is done in preparation for scrollable sublayers.
22203 Specifically, scrollBegin() will allow CCLayerTreeHostImpl to perform
22204 input event hit testing to find the layer to be scrolled.
22206 Reviewed by Steve Block.
22208 * src/WebCompositorImpl.cpp:
22209 (WebKit::WebCompositorImpl::handleInputEvent):
22210 * tests/CCLayerTreeHostImplTest.cpp:
22213 2011-12-02 Pavel Feldman <pfeldman@google.com>
22215 Web Inspector [chromium]: provisional fix for interactive ui tests
22216 https://bugs.webkit.org/show_bug.cgi?id=73633
22218 Reviewed by Yury Semikhatsky.
22222 (.TestSuite.prototype._executeCodeWhenScriptsAreParsed):
22224 2011-12-01 David Levin <levin@chromium.org>
22226 [chromium] Add WebKit API's to support the autosize algorithm in renderer process.
22227 https://bugs.webkit.org/show_bug.cgi?id=73058
22229 Reviewed by Darin Fisher.
22231 * public/WebView.h: Expose the auto-resize method.
22232 * public/WebWidgetClient.h:
22233 (WebKit::WebWidgetClient::didAutoResize):
22234 * src/WebFrameImpl.cpp:
22235 (WebKit::WebFrameImpl::createFrameView): Set the auto-resize
22236 state on the new view.
22237 * src/WebViewImpl.cpp:
22238 (WebKit::WebViewImpl::WebViewImpl):
22239 (WebKit::WebViewImpl::resize): Extracted sendResizeEventAndRepaint, so
22240 that it can be used by layoutUpdated.
22241 (WebKit::WebViewImpl::queueBothResizeEventAndPaint): Ditto.
22242 (WebKit::WebViewImpl::hasHorizontalScrollbar): Added for testing purposes.
22243 (WebKit::WebViewImpl::hasVerticalScrollbar): Ditto.
22244 (WebKit::WebViewImpl::enableAutoResizeMode): Set-up auto-resize.
22245 (WebKit::WebViewImpl::layoutUpdated): Handle the auto-resize case by
22246 sending events and invalidation.
22247 * src/WebViewImpl.h: Expose the aut-reosize information.
22248 (WebKit::WebViewImpl::shouldAutoResize):
22249 (WebKit::WebViewImpl::minAutoSize):
22250 (WebKit::WebViewImpl::maxAutoSize):
22251 * tests/FrameTestHelpers.cpp:
22252 (WebKit::FrameTestHelpers::createWebViewAndLoad): Added the ability to
22253 specify the WebViewClient.
22254 * tests/FrameTestHelpers.h: Ditto.
22255 * tests/WebViewTest.cpp: Added a simple test for auto-resize.
22256 (WebKit::TestData::setWebView):
22257 (WebKit::TestData::setSize): Capture the new size.
22258 (WebKit::TestData::hasHorizontalScrollbar):
22259 (WebKit::TestData::hasVerticalScrollbar):
22260 (WebKit::TestData::width):
22261 (WebKit::TestData::height):
22262 (WebKit::AutoResizeWebViewClient::didAutoResize): Handle the resize event.
22263 (WebKit::AutoResizeWebViewClient::testData):
22264 (WebKit::TEST_F): The actual test.
22265 * tests/data/specify_size.html: Added.
22267 2011-12-02 Xiyuan Xia <xiyuan@chromium.org>
22269 [Chromium] Support adding/removing page overlay to WebView
22270 https://bugs.webkit.org/show_bug.cgi?id=73235
22272 Reviewed by James Robinson.
22275 * public/WebPageOverlay.h: Added.
22276 (WebKit::WebPageOverlay::~WebPageOverlay):
22277 * public/WebView.h:
22278 * src/PageOverlay.cpp:
22279 (WebKit::PageOverlay::create):
22280 (WebKit::PageOverlay::PageOverlay):
22281 (WebKit::OverlayGraphicsLayerClientImpl::create):
22282 (WebKit::OverlayGraphicsLayerClientImpl::paintContents):
22283 (WebKit::OverlayGraphicsLayerClientImpl::OverlayGraphicsLayerClientImpl):
22284 (WebKit::PageOverlay::update):
22285 (WebKit::PageOverlay::paintWebFrame):
22286 (WebKit::PageOverlay::invalidateWebFrame):
22287 * src/PageOverlay.h:
22288 (WebKit::PageOverlay::overlay):
22289 (WebKit::PageOverlay::setOverlay):
22290 (WebKit::PageOverlay::zOrder):
22291 (WebKit::PageOverlay::setZOrder):
22292 * src/PageOverlayList.cpp: Added.
22293 (WebKit::PageOverlayList::create):
22294 (WebKit::PageOverlayList::PageOverlayList):
22295 (WebKit::PageOverlayList::~PageOverlayList):
22296 (WebKit::PageOverlayList::add):
22297 (WebKit::PageOverlayList::remove):
22298 (WebKit::PageOverlayList::update):
22299 (WebKit::PageOverlayList::paintWebFrame):
22300 (WebKit::PageOverlayList::find):
22301 * src/PageOverlayList.h: Added.
22302 (WebKit::PageOverlayList::empty):
22303 * src/WebDevToolsAgentImpl.cpp:
22304 (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
22305 (WebKit::WebDevToolsAgentImpl::highlight):
22306 (WebKit::WebDevToolsAgentImpl::hideHighlight):
22307 * src/WebDevToolsAgentImpl.h:
22308 * src/WebFrameImpl.cpp:
22309 (WebKit::WebFrameImpl::paintWithContext):
22310 * src/WebViewImpl.cpp:
22311 (WebKit::WebViewImpl::composite):
22312 (WebKit::WebViewImpl::addPageOverlay):
22313 (WebKit::WebViewImpl::removePageOverlay):
22314 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
22315 (WebKit::WebViewImpl::didRecreateGraphicsContext):
22316 * src/WebViewImpl.h:
22317 (WebKit::WebViewImpl::pageOverlays):
22319 2011-12-01 Jochen Eisinger <jochen@chromium.org>
22321 [chromium] add referrer policy to WebContextMenuData
22322 https://bugs.webkit.org/show_bug.cgi?id=73567
22324 Reviewed by Darin Fisher.
22326 * public/WebContextMenuData.h:
22327 * src/ContextMenuClientImpl.cpp:
22328 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
22330 2011-12-01 Kelly Norton <knorton@google.com>
22332 More void functions eager to return values in RenderObject & WebFrameImpl
22333 https://bugs.webkit.org/show_bug.cgi?id=73571
22335 Reviewed by Adam Barth.
22337 * src/WebFrameImpl.cpp:
22338 (WebKit::ChromePrintContext::computePageRects):
22340 2011-12-01 Daniel Sievers <sievers@chromium.org>
22342 [Chromium] Early returns in calculateDrawTransformsAndVisibilityInternal() are not respected by parent.
22343 https://bugs.webkit.org/show_bug.cgi?id=73270
22345 Non-drawing child trees should not be added to the parent render surface's layer list
22346 and should neither extend the parent layer's drawable content rect.
22348 This also fixes assertions from the content texture residency logic, which doesn't like it
22349 if we try to use a render surface through a parent, while that surface itself was never 'used'
22352 Reviewed by James Robinson.
22354 * tests/CCLayerTreeHostCommonTest.cpp:
22357 2011-12-01 David Reveman <reveman@chromium.org>
22359 [Chromium] Use contentBounds instead of bounds for invalidation.
22360 https://bugs.webkit.org/show_bug.cgi?id=73525
22362 Reviewed by James Robinson.
22364 Use setNeedsDisplay() instead of setNeedsDisplayRect() when possible.
22366 * src/WebMediaPlayerClientImpl.cpp:
22367 (WebKit::WebMediaPlayerClientImpl::repaint):
22369 2011-12-01 Elliot Poger <epoger@google.com>
22371 webkit->chromium DEPS roll 111575->112463
22372 https://bugs.webkit.org/show_bug.cgi?id=73231
22374 Reviewed by Yury Semikhatsky.
22378 2011-12-01 Pavel Feldman <pfeldman@google.com>
22380 Web Inspector: further align front-end configurations: get rid of saveAsAvailable preference, inline drag glass pane.
22381 https://bugs.webkit.org/show_bug.cgi?id=73555
22383 Reviewed by Yury Semikhatsky.
22385 * src/InspectorFrontendClientImpl.cpp:
22386 (WebKit::InspectorFrontendClientImpl::canSaveAs):
22387 * src/InspectorFrontendClientImpl.h:
22388 * src/js/DevTools.js:
22390 2011-12-01 Pavel Feldman <pfeldman@google.com>
22392 Web Inspector: query backend for capabilities explicitly.
22393 https://bugs.webkit.org/show_bug.cgi?id=73442
22395 Reviewed by Yury Semikhatsky.
22397 * src/InspectorClientImpl.cpp:
22398 (WebKit::InspectorClientImpl::canClearBrowserCache):
22399 (WebKit::InspectorClientImpl::canClearBrowserCookies):
22400 * src/InspectorClientImpl.h:
22401 * src/js/DevTools.js:
22403 2011-11-29 Hans Wennborg <hans@chromium.org>
22405 IndexedDB: Cursor pre-fetching
22406 https://bugs.webkit.org/show_bug.cgi?id=73025
22408 Reviewed by Darin Fisher.
22410 Add plumbing for new pre-fetching related functions.
22412 * public/WebIDBCallbacks.h:
22413 (WebKit::WebIDBCallbacks::onSuccessWithPrefetch):
22414 * public/WebIDBCursor.h:
22415 (WebKit::WebIDBCursor::deleteFunction):
22416 (WebKit::WebIDBCursor::prefetchContinue):
22417 (WebKit::WebIDBCursor::prefetchReset):
22418 (WebKit::WebIDBCursor::postSuccessHandlerCallback):
22419 * public/WebIDBTransaction.h:
22420 (WebKit::WebIDBTransaction::addPendingEvents):
22421 * src/IDBCallbacksProxy.cpp:
22422 (WebKit::IDBCallbacksProxy::onSuccessWithPrefetch):
22423 * src/IDBCallbacksProxy.h:
22424 * src/IDBCursorBackendProxy.cpp:
22425 (WebKit::IDBCursorBackendProxy::postSuccessHandlerCallback):
22426 * src/IDBCursorBackendProxy.h:
22427 (WebKit::IDBCursorBackendProxy::prefetchContinue):
22428 (WebKit::IDBCursorBackendProxy::prefetchReset):
22429 * src/IDBTransactionBackendProxy.h:
22430 (WebKit::IDBTransactionBackendProxy::addPendingEvents):
22431 * src/WebIDBCursorImpl.cpp:
22432 (WebKit::WebIDBCursorImpl::prefetchContinue):
22433 (WebKit::WebIDBCursorImpl::prefetchReset):
22434 * src/WebIDBCursorImpl.h:
22436 2011-12-01 Hans Wennborg <hans@chromium.org>
22438 IndexedDB: Fix WebIDBObjectStore::createIndex() after r101602
22439 https://bugs.webkit.org/show_bug.cgi?id=73543
22441 Reviewed by Tony Gentilcore.
22443 r101602 introduces a new signature for createIndex(). Until Chromium
22444 has been updated to override that function, the default implementation
22445 must call the old version.
22447 * public/WebIDBObjectStore.h:
22448 (WebKit::WebIDBObjectStore::createIndex):
22450 2011-11-30 David Reveman <reveman@chromium.org>
22452 [Chromium] Improve tile invalidation.
22453 https://bugs.webkit.org/show_bug.cgi?id=71872
22455 Reviewed by James Robinson.
22457 Remove public API function WebContentLayer::invalidRect(). Add new
22459 LayerChromiumTest.checkSetNeedsDisplayCausesCorrectBehavior that
22460 verifies that calling setNeedsDisplay() on a LayerChromium with
22461 empty bounds is handled correctly.
22463 * public/WebContentLayer.h:
22464 * src/WebContentLayer.cpp:
22465 (WebKit::WebContentLayer::invalidateRect):
22466 * src/WebMediaPlayerClientImpl.cpp:
22467 (WebKit::WebMediaPlayerClientImpl::repaint):
22468 * tests/LayerChromiumTest.cpp:
22470 2011-11-30 Takashi Toyoshima <toyoshim@chromium.org>
22472 Add didUpdateBufferedAmount callback to WebSocketClient API
22473 https://bugs.webkit.org/show_bug.cgi?id=73306
22475 Reviewed by Darin Fisher.
22477 * public/WebSocketClient.h: Add didUpdateBufferedAmount and default implementations for all callbacks.
22478 (WebKit::WebSocketClient::didConnect):
22479 (WebKit::WebSocketClient::didReceiveMessage):
22480 (WebKit::WebSocketClient::didReceiveBinaryData):
22481 (WebKit::WebSocketClient::didReceiveMessageError):
22482 (WebKit::WebSocketClient::didUpdateBufferedAmount):
22483 (WebKit::WebSocketClient::didStartClosingHandshake):
22484 (WebKit::WebSocketClient::didClose):
22485 * src/WebSocketImpl.cpp:
22486 (WebKit::WebSocketImpl::didUpdateBufferedAmount):
22487 * src/WebSocketImpl.h:
22489 2011-11-30 Scott Violet <sky@google.com>
22491 [chromium] Expose WebLayerTreeView::setRootLayer as a call through
22492 to same method on CCLayerTreeHost.
22493 https://bugs.webkit.org/show_bug.cgi?id=73506
22495 Reviewed by James Robinson.
22497 * public/WebLayerTreeView.h: Adds setRootLayer.
22498 * src/WebLayerTreeView.cpp: Ditto.
22499 (WebKit::WebLayerTreeView::setRootLayer):
22501 2011-11-30 Alexey Proskuryakov <ap@apple.com>
22503 Remove an unneeded argument from FrameLoaderClient::download
22504 https://bugs.webkit.org/show_bug.cgi?id=73486
22506 Reviewed by Andreas Kling.
22508 * src/FrameLoaderClientImpl.cpp:
22509 (WebKit::FrameLoaderClientImpl::download):
22510 * src/FrameLoaderClientImpl.h:
22511 Updated for the change.
22513 2011-11-30 Joshua Bell <jsbell@chromium.org>
22515 IndexedDB: Implement IDBIndex multientry feature
22516 https://bugs.webkit.org/show_bug.cgi?id=73232
22518 Reviewed by Tony Chang.
22520 Adds the multientry IDBIndex flag to the WebKit API. A version of the
22521 createIndex() method without this flag is retained until all callers
22524 * public/WebIDBIndex.h:
22525 (WebKit::WebIDBIndex::multientry):
22526 * public/WebIDBObjectStore.h:
22527 (WebKit::WebIDBObjectStore::createIndex):
22528 * src/IDBIndexBackendProxy.cpp:
22529 (WebKit::IDBIndexBackendProxy::multientry):
22530 * src/IDBIndexBackendProxy.h:
22531 * src/IDBObjectStoreBackendProxy.cpp:
22532 (WebKit::IDBObjectStoreBackendProxy::createIndex):
22533 * src/IDBObjectStoreBackendProxy.h:
22534 * src/WebIDBIndexImpl.cpp:
22535 (WebKit::WebIDBIndexImpl::multientry):
22536 * src/WebIDBIndexImpl.h:
22537 * src/WebIDBObjectStoreImpl.cpp:
22538 (WebKit::WebIDBObjectStoreImpl::createIndex):
22539 * src/WebIDBObjectStoreImpl.h:
22540 (WebKit::WebIDBObjectStoreImpl::createIndex):
22542 2011-11-30 David Reveman <reveman@chromium.org>
22544 [Chromium] Add support for painting into an SkPicture and then rasterizing into tile-sized chunks.
22545 https://bugs.webkit.org/show_bug.cgi?id=71388
22547 Reviewed by James Robinson.
22549 Track changes to texture updater.
22551 * tests/TiledLayerChromiumTest.cpp:
22552 (WTF::FakeLayerTextureUpdater::Texture::Texture):
22553 (WTF::FakeLayerTextureUpdater::Texture::~Texture):
22554 (WTF::FakeLayerTextureUpdater::Texture::updateRect):
22555 (WTF::FakeLayerTextureUpdater::createTexture):
22557 2011-11-30 Gregg Tavares <gman@google.com>
22559 Implement draft WEBGL_compressed_textures WebGL extension
22560 https://bugs.webkit.org/show_bug.cgi?id=72086
22562 Reviewed by Kenneth Russell.
22564 * public/WebGraphicsContext3D.h:
22565 * src/GraphicsContext3DChromium.cpp:
22566 * src/GraphicsContext3DPrivate.h:
22567 * tests/MockWebGraphicsContext3D.h:
22568 (WebKit::MockWebGraphicsContext3D::compressedTexImage2D):
22569 (WebKit::MockWebGraphicsContext3D::compressedTexSubImage2D):
22571 2011-11-18 Nat Duca <nduca@chromium.org>
22573 [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
22574 https://bugs.webkit.org/show_bug.cgi?id=70838
22576 Reviewed by James Robinson.
22578 * public/WebCompositor.h:
22579 * public/WebLayerTreeView.h:
22580 (WebKit::WebLayerTreeView::Settings::Settings):
22581 * public/WebSettings.h:
22582 * src/WebCompositorImpl.cpp:
22583 (WebKit::WebCompositor::initialize):
22584 (WebKit::WebCompositor::shutdown):
22585 (WebKit::WebCompositor::fromIdentifier):
22587 (WebKit::initializeWithoutV8):
22588 * src/WebLayerTreeView.cpp:
22589 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
22590 (WebKit::WebLayerTreeView::composite):
22591 * src/WebLayerTreeViewImpl.cpp:
22592 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
22593 * src/WebSettingsImpl.cpp:
22594 (WebKit::WebSettingsImpl::WebSettingsImpl):
22595 * src/WebSettingsImpl.h:
22596 * src/WebViewImpl.cpp:
22597 (WebKit::WebViewImpl::animate):
22598 (WebKit::WebViewImpl::composite):
22599 (WebKit::WebViewImpl::scheduleAnimation):
22600 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
22601 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
22602 (WebKit::WebViewImpl::scheduleComposite):
22603 (WebKit::WebViewImpl::graphicsContext3D):
22604 * tests/CCLayerTreeHostTest.cpp:
22605 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
22606 (WTF::CCLayerTreeHostTest::runTest):
22608 2011-11-30 David Levin <levin@chromium.org>
22610 [chromium] Move didUpdateLayout from WebFrameClient to WebViewClient.
22611 https://bugs.webkit.org/show_bug.cgi?id=73415
22613 Reviewed by Darin Fisher.
22615 * public/WebFrameClient.h: Move didUpdateLayout to WebViewClient.
22616 * public/WebViewClient.h:
22617 (WebKit::WebViewClient::didUpdateLayout): Ditto.
22618 * src/ChromeClientImpl.cpp: Call WebViewImpl now.
22619 (WebKit::ChromeClientImpl::layoutUpdated):
22620 * src/WebViewImpl.cpp:
22621 (WebKit::WebViewImpl::layoutUpdated):
22622 * src/WebViewImpl.h: Added layoutUpdated.
22624 2011-11-30 Pavel Feldman <pfeldman@google.com>
22626 Web Inspector: get rid of deferred backend->front-end commands processing.
22627 https://bugs.webkit.org/show_bug.cgi?id=73439
22629 Reviewed by Yury Semikhatsky.
22631 * src/WebDevToolsFrontendImpl.cpp:
22632 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
22633 (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
22634 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
22635 * src/WebDevToolsFrontendImpl.h:
22637 2011-11-30 Michael Nordman <michaeln@google.com>
22639 [chromium] WebSQLDatabase could use some better error reporting.
22640 Instruments the database classes to report errors a the DatabaseObserver.
22641 https://bugs.webkit.org/show_bug.cgi?id=73258
22643 Reviewed by David Levin.
22645 * public/WebDatabase.h:
22646 * public/WebDatabaseObserver.h:
22647 (WebKit::WebDatabaseObserver::reportOpenDatabaseResult):
22648 (WebKit::WebDatabaseObserver::reportChangeVersionResult):
22649 (WebKit::WebDatabaseObserver::reportStartTransactionResult):
22650 (WebKit::WebDatabaseObserver::reportCommitTransactionResult):
22651 (WebKit::WebDatabaseObserver::reportExecuteStatementResult):
22652 (WebKit::WebDatabaseObserver::reportVacuumDatabaseResult):
22653 * src/DatabaseObserver.cpp:
22654 (WebCore::DatabaseObserver::reportOpenDatabaseResult):
22655 (WebCore::DatabaseObserver::reportChangeVersionResult):
22656 (WebCore::DatabaseObserver::reportStartTransactionResult):
22657 (WebCore::DatabaseObserver::reportCommitTransactionResult):
22658 (WebCore::DatabaseObserver::reportExecuteStatementResult):
22659 (WebCore::DatabaseObserver::reportVacuumDatabaseResult):
22660 * src/WebDatabase.cpp:
22661 (WebKit::WebDatabase::isSyncDatabase):
22663 2011-11-30 Sheriff Bot <webkit.review.bot@gmail.com>
22665 Unreviewed, rolling out r101440 and r101442.
22666 http://trac.webkit.org/changeset/101440
22667 http://trac.webkit.org/changeset/101442
22668 https://bugs.webkit.org/show_bug.cgi?id=73429
22670 multiple crashes on layout tests (Requested by hayato on
22675 * public/WebCompositor.h:
22676 * public/WebCompositorClient.h:
22677 * public/WebCompositorInputHandler.h: Removed.
22678 * public/WebCompositorInputHandlerClient.h: Removed.
22679 * public/WebLayerTreeView.h:
22680 (WebKit::WebLayerTreeView::Settings::Settings):
22681 * public/WebSettings.h:
22682 * src/WebCompositorImpl.cpp:
22683 (WebCore::CCInputHandler::create):
22684 (WebKit::WebCompositor::setThread):
22685 (WebKit::WebCompositor::fromIdentifier):
22686 (WebKit::WebCompositorImpl::fromIdentifier):
22687 (WebKit::WebCompositorImpl::WebCompositorImpl):
22688 (WebKit::WebCompositorImpl::~WebCompositorImpl):
22689 (WebKit::WebCompositorImpl::setClient):
22690 (WebKit::WebCompositorImpl::handleInputEvent):
22691 (WebKit::WebCompositorImpl::identifier):
22692 (WebKit::WebCompositorImpl::willDraw):
22693 * src/WebCompositorImpl.h:
22694 (WebKit::WebCompositorImpl::create):
22695 * src/WebCompositorInputHandlerImpl.cpp: Removed.
22696 * src/WebCompositorInputHandlerImpl.h: Removed.
22698 (WebKit::initializeWithoutV8):
22699 (WebKit::shutdown):
22700 * src/WebLayerTreeView.cpp:
22701 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
22702 (WebKit::WebLayerTreeView::composite):
22703 * src/WebLayerTreeViewImpl.cpp:
22704 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
22705 * src/WebSettingsImpl.cpp:
22706 (WebKit::WebSettingsImpl::WebSettingsImpl):
22707 (WebKit::WebSettingsImpl::setUseThreadedCompositor):
22708 * src/WebSettingsImpl.h:
22709 (WebKit::WebSettingsImpl::useThreadedCompositor):
22710 * src/WebViewImpl.cpp:
22711 (WebKit::WebViewImpl::animate):
22712 (WebKit::WebViewImpl::composite):
22713 (WebKit::WebViewImpl::scheduleAnimation):
22714 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
22715 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
22716 (WebKit::WebViewImpl::scheduleComposite):
22717 (WebKit::WebViewImpl::graphicsContext3D):
22718 * tests/CCLayerTreeHostTest.cpp:
22719 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
22720 (WTF::CCLayerTreeHostTest::onEndTest):
22721 (WTF::CCLayerTreeHostTest::runTest):
22722 (WTF::CCLayerTreeHostTest::doBeginTest):
22723 (WTF::CCLayerTreeHostTestShortlived1::beginTest):
22724 (WTF::CCLayerTreeHostTestShortlived2::beginTest):
22725 (WTF::CCLayerTreeHostTestShortlived3::beginTest):
22726 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
22727 (WTF::CCLayerTreeHostTestOpacityChange::afterTest):
22728 * tests/WebCompositorImplTest.cpp: Renamed from Source/WebKit/chromium/tests/WebCompositorInputHandlerImplTest.cpp.
22730 2011-11-30 Daniel Sievers <sievers@chromium.org>
22732 [Chromium] Avoid ASSERT_NOT_REACHED() from creating FBO with content texture of size 0
22733 https://bugs.webkit.org/show_bug.cgi?id=73266
22735 Reviewed by James Robinson.
22737 * tests/CCLayerTreeHostCommonTest.cpp:
22740 2011-11-30 Pavel Feldman <pfeldman@google.com>
22742 Web Inspector: do not report worker-related events unless inspector agent is enabled.
22743 https://bugs.webkit.org/show_bug.cgi?id=73411
22745 Reviewed by Yury Semikhatsky.
22747 * src/WebDevToolsAgentImpl.cpp:
22748 (WebKit::WebDevToolsAgent::disconnectEventAsText):
22750 2011-11-30 Fady Samuel <fsamuel@chromium.org>
22752 [Chromium] Fix broken DRT build for Aura Linux
22753 https://bugs.webkit.org/show_bug.cgi?id=72667
22755 Reviewed by Tony Chang.
22759 2011-11-29 Nat Duca <nduca@chromium.org>
22761 Unreviewed. Fix clang build by using raw pointers instead of static OwnPtrs
22762 for WebCompositor managment.
22764 * src/WebCompositorImpl.cpp:
22765 (WebKit::WebCompositorImpl::initialize):
22766 (WebKit::WebCompositorImpl::shutdown):
22767 * src/WebCompositorImpl.h:
22769 2011-11-18 Nat Duca <nduca@chromium.org>
22771 [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
22772 https://bugs.webkit.org/show_bug.cgi?id=70838
22774 Reviewed by James Robinson.
22776 * public/WebCompositor.h:
22777 * public/WebLayerTreeView.h:
22778 (WebKit::WebLayerTreeView::Settings::Settings):
22779 * public/WebSettings.h:
22780 * src/WebCompositorImpl.cpp:
22781 (WebKit::WebCompositor::initialize):
22782 (WebKit::WebCompositor::shutdown):
22783 (WebKit::WebCompositor::fromIdentifier):
22785 (WebKit::initializeWithoutV8):
22786 * src/WebLayerTreeView.cpp:
22787 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
22788 (WebKit::WebLayerTreeView::composite):
22789 * src/WebLayerTreeViewImpl.cpp:
22790 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
22791 * src/WebSettingsImpl.cpp:
22792 (WebKit::WebSettingsImpl::WebSettingsImpl):
22793 * src/WebSettingsImpl.h:
22794 * src/WebViewImpl.cpp:
22795 (WebKit::WebViewImpl::animate):
22796 (WebKit::WebViewImpl::composite):
22797 (WebKit::WebViewImpl::scheduleAnimation):
22798 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
22799 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
22800 (WebKit::WebViewImpl::scheduleComposite):
22801 (WebKit::WebViewImpl::graphicsContext3D):
22802 * tests/CCLayerTreeHostTest.cpp:
22803 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
22804 (WTF::CCLayerTreeHostTest::runTest):
22806 2011-11-29 Sheriff Bot <webkit.review.bot@gmail.com>
22808 Unreviewed, rolling out r101418.
22809 http://trac.webkit.org/changeset/101418
22810 https://bugs.webkit.org/show_bug.cgi?id=73372
22812 Chromium renderer crashes with ENABLE(MUTATION_OBSERVERS)
22813 (Requested by aklein on #webkit).
22815 * public/platform/WebThread.h:
22817 (WebKit::initialize):
22818 (WebKit::shutdown):
22820 2011-11-29 Dirk Pranke <dpranke@chromium.org>
22822 add webkit_user_agent to DRT and webkit_unit_tests
22823 https://bugs.webkit.org/show_bug.cgi?id=73362
22825 Reviewed by Tony Chang.
22827 In preparation for building webkit_glue as a separate component,
22828 we need to explicitly declare DRT's and webkit_unit_tests'
22829 dependencies on webkit_user_agent.
22833 2011-11-28 Adam Klein <adamk@chromium.org>
22835 [chromium] WebKitMutationObserver::deliverAllMutations should be exposed through the Chromium API
22836 https://bugs.webkit.org/show_bug.cgi?id=71242
22838 Reviewed by Darin Fisher.
22840 Add addTaskObserver and removeTaskObserver to WebThread,
22841 along with a new WebThread::TaskObserver interface.
22843 For mutation observers, add a TaskObserver to the main thread
22844 to deliver mutations after each task runs.
22846 The Chromium side of this patch is http://codereview.chromium.org/8586038/
22848 * public/platform/WebThread.h:
22849 (WebKit::WebThread::TaskObserver::~TaskObserver):
22851 (WebKit::initialize):
22852 (WebKit::shutdown):
22854 2011-11-29 Pavel Feldman <pfeldman@google.com>
22856 Web Inspector: split Preferences into Preferences and Capabilities.
22857 https://bugs.webkit.org/show_bug.cgi?id=73321
22859 Reviewed by Yury Semikhatsky.
22861 * src/js/DevTools.js:
22863 2011-11-29 Jing Zhao <jingzhao@chromium.org>
22865 Assertion fails when opening two popup menus
22866 https://bugs.webkit.org/show_bug.cgi?id=73189
22868 Reviewed by Kent Tamura.
22870 By using element.dispatchEvent(), a user written script can open two
22871 popup menus, which causes the assertion in WebViewImpl::popupOpened()
22874 Check if there is an opened popup menu before opening a popup menu.
22876 * src/WebViewImpl.cpp:
22877 (WebKit::WebViewImpl::popupOpened):
22879 2011-11-28 David Grogan <dgrogan@chromium.org>
22881 WebWorkerRunLoop wrapper around WorkerRunLoop
22882 https://bugs.webkit.org/show_bug.cgi?id=71757
22884 This allows the embedder to post tasks to webcore-created worker
22885 threads. WebWorkerRunLoop is a thin wrapper that just holds a
22886 WorkerRunLoop*. As such, it is not heap allocated and can be copied.
22888 Reviewed by Darin Fisher.
22890 * WebKit.gyp: Added WebWorkerRunLoop.{cpp,h}
22892 * public/WebWorkerRunLoop.h: Added. Interface the embedder will use to
22893 post Tasks to worker threads created in WebCore.
22894 (WebKit::WebWorkerRunLoop::Task::~Task):
22895 (WebKit::operator==): These are the operators necessary to allow
22896 WebWorkerRunLoop to be used as a key in a std::map using the value of
22897 the underlying WebCore::WorkerRunLoop* for the meaningful comparisons.
22898 (WebKit::operator<):
22900 * public/platform/WebKitPlatformSupport.h: Stubs for the embedder to
22902 (WebKit::WebKitPlatformSupport::didStartWorkerRunLoop):
22903 (WebKit::WebKitPlatformSupport::didStopWorkerRunLoop):
22905 * src/PlatformSupport.cpp: Wrap incoming WorkerRunLoop objects in
22906 WebWorkerRunLoopImpl objects, forward them to WebKitPlatformSupport.
22907 (WebCore::PlatformSupport::didStartWorkerRunLoop):
22908 (WebCore::PlatformSupport::didStopWorkerRunLoop):
22910 * src/WebWorkerRunLoop.cpp: Added.
22911 (WebKit::WebWorkerRunLoop::WebWorkerRunLoop): Store incoming
22912 WorkerRunLoop pointer.
22913 (WebKit::WebWorkerRunLoop::postTask): Wrap incoming Task in
22914 ScriptExecutionContext::Task, post to stored WorkerRunLoop.
22915 (WebKit::WebWorkerRunLoop::equals): Support for the operators mentioned
22917 (WebKit::WebWorkerRunLoop::lessThan): Ditto.
22919 2011-11-29 Roland Steiner <rolandsteiner@chromium.org>
22921 <style scoped>: add ENABLE(STYLE_SCOPED) flag to WebKit
22922 https://bugs.webkit.org/show_bug.cgi?id=72848
22924 Reviewed by Dimitri Glazkov.
22928 2011-11-28 Shawn Singh <shawnsingh@chromium.org>
22930 [chromium] Create CCDamageTracker class to determine regions of change for a surface.
22931 https://bugs.webkit.org/show_bug.cgi?id=72520
22933 Reviewed by James Robinson.
22936 * tests/CCDamageTrackerTest.cpp: Added.
22937 (WebKitTests::executeCalculateDrawTransformsAndVisibility):
22938 (WebKitTests::emulateDrawingOneFrame):
22939 (WebKitTests::createTestTreeWithOneSurface):
22940 (WebKitTests::createTestTreeWithTwoSurfaces):
22941 (WebKitTests::createAndSetUpTestTreeWithOneSurface):
22942 (WebKitTests::createAndSetUpTestTreeWithTwoSurfaces):
22943 (WebKitTests::TEST_F):
22944 * tests/CCLayerImplTest.cpp:
22946 * tests/CCLayerTreeHostCommonTest.cpp:
22948 * tests/CCLayerTreeTestCommon.h: Added.
22949 * tests/CCRenderSurfaceTest.cpp:
22951 * tests/LayerChromiumTest.cpp:
22953 2011-11-28 Jon Lee <jonlee@apple.com>
22955 Possible fix for test failures in r101307.
22957 * src/WebViewImpl.cpp:
22958 (WebKit::WebViewImpl::WebViewImpl):
22960 2011-11-28 Jon Lee <jonlee@apple.com>
22962 Create skeleton framework for notifications support in WK2
22963 https://bugs.webkit.org/show_bug.cgi?id=73253
22964 <rdar://problem/10356943>
22966 Reviewed by Sam Weinig.
22968 Remove notificationPresenter() from the chrome client, since it is now managed by
22969 the notification controller.
22971 * src/ChromeClientImpl.cpp:
22972 * src/ChromeClientImpl.h:
22973 * src/WebNotification.cpp:
22974 (WebKit::WebNotification::title): Refactoring with NotificationContents conversion to struct.
22975 (WebKit::WebNotification::body): Ditto.
22976 * src/WebViewImpl.cpp:
22977 (WebKit::WebViewImpl::WebViewImpl): Set notification client in web view's page clients.
22979 2011-11-28 Beth Dakin <bdakin@apple.com>
22981 Speculative Chromium build fix.
22983 * src/ScrollbarGroup.cpp:
22984 (WebKit::ScrollbarGroup::scrollbarStyleChanged):
22985 * src/ScrollbarGroup.h:
22987 2011-11-28 Dana Jansens <danakj@chromium.org>
22989 FloatQuad::isRectilinear() returns false for 180degree rotations
22990 https://bugs.webkit.org/show_bug.cgi?id=73040
22992 Reviewed by James Robinson.
22995 * tests/FloatQuadTest.cpp: Added.
22998 2011-11-28 Sheriff Bot <webkit.review.bot@gmail.com>
23000 Unreviewed, rolling out r101273.
23001 http://trac.webkit.org/changeset/101273
23002 https://bugs.webkit.org/show_bug.cgi?id=73244
23004 multiple test failures and timeouts (Requested by tony^work on
23009 2011-11-28 Fady Samuel <fsamuel@chromium.org>
23011 [Chromium] Fix broken DRT build for Aura Linux
23012 https://bugs.webkit.org/show_bug.cgi?id=72667
23014 Reviewed by Tony Chang.
23018 2011-11-28 Adam Barth <abarth@webkit.org>
23020 [Chromium] Move "final" batch of headers into public/platform
23021 https://bugs.webkit.org/show_bug.cgi?id=73198
23023 Reviewed by Darin Fisher.
23025 This patch moves another group of headers into the platform directory.
23026 I found these headers by reading through the list of headers and
23027 coorelating them with WebCore concepts. This patch doesn't move all
23028 the APIs that coorespond to WebCore platform concepts because some,
23029 such as WebFontCache, are not used to support the WebCore platform but
23030 rather to provide the embedder access to the WebCore concept. This
23031 patch should be the last bulk move of headers.
23033 There are two main groups of headers that make up the bulk of this
23036 1) URLLoader-related headers.
23037 2) Geometry-related headers.
23039 * public/WebArrayBufferView.h: Replaced.
23040 * public/WebBlobData.h: Replaced.
23041 * public/WebCookie.h: Replaced.
23042 * public/WebExternalTextureLayer.h: Update include.
23043 * public/WebFloatPoint.h: Replaced.
23044 * public/WebFloatQuad.h: Replaced.
23045 * public/WebFloatRect.h: Replaced.
23046 * public/WebFrameClient.h: Update include.
23047 * public/WebHTTPBody.h: Replaced.
23048 * public/WebHTTPHeaderVisitor.h: Replaced.
23049 * public/WebHTTPLoadInfo.h: Replaced.
23050 * public/WebThreadSafeData.h: Replaced.
23051 * public/WebURLError.h: Replaced.
23052 * public/WebURLLoadTiming.h: Replaced.
23053 * public/WebURLLoaderClient.h: Replaced.
23054 * public/WebURLRequest.h: Replaced.
23055 * public/WebURLResponse.h: Replaced.
23056 * public/platform/WebArrayBufferView.h: Copied from Source/WebKit/chromium/public/WebArrayBufferView.h.
23057 * public/platform/WebBlobData.h: Copied from Source/WebKit/chromium/public/WebBlobData.h.
23058 * public/platform/WebCookie.h: Copied from Source/WebKit/chromium/public/WebCookie.h.
23059 * public/platform/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/WebFloatPoint.h.
23060 * public/platform/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/WebFloatQuad.h.
23061 * public/platform/WebFloatRect.h: Copied from Source/WebKit/chromium/public/WebFloatRect.h.
23062 * public/platform/WebHTTPBody.h: Copied from Source/WebKit/chromium/public/WebHTTPBody.h.
23063 * public/platform/WebHTTPHeaderVisitor.h: Copied from Source/WebKit/chromium/public/WebHTTPHeaderVisitor.h.
23064 * public/platform/WebHTTPLoadInfo.h: Copied from Source/WebKit/chromium/public/WebHTTPLoadInfo.h.
23065 * public/platform/WebThreadSafeData.h: Copied from Source/WebKit/chromium/public/WebThreadSafeData.h.
23066 * public/platform/WebURLError.h: Copied from Source/WebKit/chromium/public/WebURLError.h.
23067 * public/platform/WebURLLoadTiming.h: Copied from Source/WebKit/chromium/public/WebURLLoadTiming.h.
23068 * public/platform/WebURLLoader.h: Remove FIXME.
23069 * public/platform/WebURLLoaderClient.h: Copied from Source/WebKit/chromium/public/WebURLLoaderClient.h.
23070 * public/platform/WebURLRequest.h: Copied from Source/WebKit/chromium/public/WebURLRequest.h.
23071 * public/platform/WebURLResponse.h: Copied from Source/WebKit/chromium/public/WebURLResponse.h.
23073 2011-11-25 Yury Semikhatsky <yurys@chromium.org>
23075 [Chromium] Web Inspector: delete WebDevToolsAgent::frontendLoaded
23076 https://bugs.webkit.org/show_bug.cgi?id=73131
23078 Now that the method is not used in Chromium we can delete it.
23080 Reviewed by Pavel Feldman.
23082 * public/WebDevToolsAgent.h:
23083 * src/WebDevToolsAgentImpl.cpp:
23084 * src/WebDevToolsAgentImpl.h:
23086 2011-11-28 Adam Barth <abarth@webkit.org>
23088 Update some sloppy includes.
23090 * public/platform/linux/WebSandboxSupport.h:
23091 * public/platform/win/WebThemeEngine.h:
23093 2011-11-28 Adam Barth <abarth@webkit.org>
23095 More forwarding headers. Turns out I forgot to svn add them. :(
23097 * public/android/WebSandboxSupport.h: Added.
23098 * public/linux/WebFontFamily.h: Added.
23099 * public/linux/WebSandboxSupport.h: Added.
23100 * public/mac/WebSandboxSupport.h: Added.
23101 * public/win/WebSandboxSupport.h: Added.
23103 2011-11-28 Adam Barth <abarth@webkit.org>
23105 Add missing forwaring headers.
23107 * public/android/WebThemeEngine.h: Added.
23108 * public/linux/WebThemeEngine.h: Added.
23109 * public/mac/WebThemeEngine.h: Added.
23110 * public/win/WebThemeEngine.h: Added.
23112 2011-11-27 Yury Semikhatsky <yurys@chromium.org>
23114 Unreviewed. Revert r101226.
23118 2011-11-27 Yury Semikhatsky <yurys@chromium.org>
23120 Unreviewed. Update Chromium revision.
23124 2011-11-24 Adam Barth <abarth@webkit.org>
23126 [Chromium] Move the next traunch of headers into public/platform
23127 https://bugs.webkit.org/show_bug.cgi?id=73073
23129 Reviewed by Darin Fisher.
23131 These headers are all the forward-declared classes in
23132 WebKitPlatformSupport (and their dependencies) that wrap concepts in
23135 There are a number of forward-declared classes in WebKitPlatformSupport
23136 that coorespond to WebCore concepts outside of WebCore/platform. I've
23137 marked these with FIXME comments. We'll need to study them in more
23138 detail to see whether they should move into WebCore/platform or whether
23139 we need to move them out of WebKitPlaformSupport.h. (One possible
23140 resolution might be to introducing a WebKitClientSupport.h to hold
23141 statics for client concepts).
23143 * public/WebBlobRegistry.h: Replaced.
23144 * public/WebCanvas.h: Replaced.
23145 * public/WebClipboard.h: Replaced.
23146 * public/WebColor.h: Replaced.
23147 * public/WebColorName.h: Replaced.
23148 * public/WebCommonWorkerClient.h:
23149 * public/WebCompositionUnderline.h:
23150 * public/WebContentLayerClient.h:
23151 * public/WebContextMenuData.h:
23152 * public/WebCookieJar.h: Replaced.
23153 * public/WebCursorInfo.h:
23154 * public/WebDragData.h: Replaced.
23155 * public/WebFileSystem.h: Replaced.
23156 * public/WebFloatQuad.h:
23157 * public/WebFont.h:
23158 * public/WebFrame.h:
23159 * public/WebFrameClient.h:
23160 * public/WebGeolocationController.h:
23161 * public/WebGeolocationPermissionRequestManager.h:
23162 * public/WebGraphicsContext3D.h: Replaced.
23163 * public/WebHTTPBody.h:
23164 * public/WebImage.h: Replaced.
23165 * public/WebImageDecoder.h:
23166 * public/WebLayer.h:
23167 * public/WebMediaPlayer.h:
23168 * public/WebMediaStreamDescriptor.h: Replaced.
23169 * public/WebMediaStreamSource.h:
23170 * public/WebMimeRegistry.h: Replaced.
23171 * public/WebNonCopyable.h: Replaced.
23172 * public/WebPeerConnectionHandler.h: Replaced.
23173 * public/WebPeerConnectionHandlerClient.h: Replaced.
23174 * public/WebPlugin.h:
23175 * public/WebPoint.h: Replaced.
23176 * public/WebRect.h: Replaced.
23177 * public/WebRegularExpression.h:
23178 * public/WebScreenInfo.h:
23179 * public/WebScrollbar.h:
23180 * public/WebSize.h: Replaced.
23181 * public/WebSocketStreamError.h: Replaced.
23182 * public/WebSocketStreamHandle.h: Replaced.
23183 * public/WebSocketStreamHandleClient.h: Replaced.
23184 * public/WebThread.h: Replaced.
23185 * public/WebTouchPoint.h:
23186 * public/WebURLLoader.h: Replaced.
23187 * public/WebWidget.h:
23188 * public/WebWidgetClient.h:
23189 * public/android/WebSandboxSupport.h: Removed.
23190 * public/android/WebThemeEngine.h: Removed.
23191 * public/linux/WebFontFamily.h: Removed.
23192 * public/linux/WebSandboxSupport.h: Removed.
23193 * public/linux/WebThemeEngine.h: Removed.
23194 * public/mac/WebSandboxSupport.h: Removed.
23195 * public/mac/WebThemeEngine.h: Removed.
23196 * public/platform/WebBlobRegistry.h: Copied from Source/WebKit/chromium/public/WebBlobRegistry.h.
23197 * public/platform/WebCanvas.h: Copied from Source/WebKit/chromium/public/WebCanvas.h.
23198 * public/platform/WebClipboard.h: Copied from Source/WebKit/chromium/public/WebClipboard.h.
23199 * public/platform/WebColor.h: Copied from Source/WebKit/chromium/public/WebColor.h.
23200 * public/platform/WebColorName.h: Copied from Source/WebKit/chromium/public/WebColorName.h.
23201 * public/platform/WebCookieJar.h: Copied from Source/WebKit/chromium/public/WebCookieJar.h.
23202 * public/platform/WebDragData.h: Copied from Source/WebKit/chromium/public/WebDragData.h.
23203 * public/platform/WebFileSystem.h: Copied from Source/WebKit/chromium/public/WebFileSystem.h.
23204 * public/platform/WebGraphicsContext3D.h: Copied from Source/WebKit/chromium/public/WebGraphicsContext3D.h.
23205 * public/platform/WebImage.h: Copied from Source/WebKit/chromium/public/WebImage.h.
23206 * public/platform/WebKitPlatformSupport.h:
23207 * public/platform/WebMediaStreamDescriptor.h: Copied from Source/WebKit/chromium/public/WebMediaStreamDescriptor.h.
23208 * public/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/WebMimeRegistry.h.
23209 * public/platform/WebNonCopyable.h: Copied from Source/WebKit/chromium/public/WebNonCopyable.h.
23210 * public/platform/WebPeerConnectionHandler.h: Copied from Source/WebKit/chromium/public/WebPeerConnectionHandler.h.
23211 * public/platform/WebPeerConnectionHandlerClient.h: Copied from Source/WebKit/chromium/public/WebPeerConnectionHandlerClient.h.
23212 * public/platform/WebPoint.h: Copied from Source/WebKit/chromium/public/WebPoint.h.
23213 * public/platform/WebRect.h: Copied from Source/WebKit/chromium/public/WebRect.h.
23214 * public/platform/WebSize.h: Copied from Source/WebKit/chromium/public/WebSize.h.
23215 * public/platform/WebSocketStreamError.h: Copied from Source/WebKit/chromium/public/WebSocketStreamError.h.
23216 * public/platform/WebSocketStreamHandle.h: Copied from Source/WebKit/chromium/public/WebSocketStreamHandle.h.
23217 * public/platform/WebSocketStreamHandleClient.h: Copied from Source/WebKit/chromium/public/WebSocketStreamHandleClient.h.
23218 * public/platform/WebThread.h: Copied from Source/WebKit/chromium/public/WebThread.h.
23219 * public/platform/WebURLLoader.h: Copied from Source/WebKit/chromium/public/WebURLLoader.h.
23220 * public/platform/android: Added.
23221 * public/platform/android/WebSandboxSupport.h: Copied from Source/WebKit/chromium/public/android/WebSandboxSupport.h.
23222 * public/platform/android/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/android/WebThemeEngine.h.
23223 * public/platform/linux: Added.
23224 * public/platform/linux/WebFontFamily.h: Copied from Source/WebKit/chromium/public/linux/WebFontFamily.h.
23225 * public/platform/linux/WebSandboxSupport.h: Copied from Source/WebKit/chromium/public/linux/WebSandboxSupport.h.
23226 * public/platform/linux/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/linux/WebThemeEngine.h.
23227 (WebKit::WebThemeEngine::paint):
23228 * public/platform/mac: Added.
23229 * public/platform/mac/WebSandboxSupport.h: Copied from Source/WebKit/chromium/public/mac/WebSandboxSupport.h.
23230 * public/platform/mac/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/mac/WebThemeEngine.h.
23231 (WebKit::WebThemeEngine::paintScrollbarThumb):
23232 * public/platform/win: Added.
23233 * public/platform/win/WebSandboxSupport.h: Copied from Source/WebKit/chromium/public/win/WebSandboxSupport.h.
23234 * public/platform/win/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/win/WebThemeEngine.h.
23235 * public/win/WebSandboxSupport.h: Removed.
23236 * public/win/WebThemeEngine.h: Removed.
23238 2011-11-27 Tommy Widenflycht <tommyw@google.com>
23240 [chromium] MediaStream API: Updating the licences to the correct one.
23241 https://bugs.webkit.org/show_bug.cgi?id=73129
23243 Replacing the incorrect ones I have submitted with the correct ones.
23245 Reviewed by Darin Fisher.
23247 * bridge/PeerConnectionHandler.cpp:
23248 * bridge/PeerConnectionHandlerInternal.cpp:
23249 * bridge/PeerConnectionHandlerInternal.h:
23250 * public/WebMediaStreamDescriptor.h:
23251 * public/WebMediaStreamRegistry.h:
23252 * public/WebMediaStreamSource.h:
23253 * public/WebPeerConnectionHandler.h:
23254 * public/WebPeerConnectionHandlerClient.h:
23255 * src/WebMediaStreamDescriptor.cpp:
23256 * src/WebMediaStreamRegistry.cpp:
23257 * src/WebMediaStreamSource.cpp:
23259 2011-11-26 Pavel Feldman <pfeldman@google.com>
23261 Web Inspector: remove disconnectFromBackend from the protocol.
23262 https://bugs.webkit.org/show_bug.cgi?id=73127
23264 We should instead use InspectorClient::closeInspectorFrontend that would
23265 be closing the front-end window.
23267 Reviewed by Yury Semikhatsky.
23269 * src/InspectorClientImpl.cpp:
23270 (WebKit::InspectorClientImpl::closeInspectorFrontend):
23271 * src/InspectorClientImpl.h:
23272 * src/InspectorFrontendClientImpl.cpp:
23273 * src/InspectorFrontendClientImpl.h:
23274 * src/WebDevToolsAgentImpl.cpp:
23275 (WebKit::WebDevToolsAgentImpl::closeInspectorFrontend):
23276 (WebKit::WebDevToolsAgent::disconnectEventAsText):
23277 * src/WebDevToolsAgentImpl.h:
23279 2011-11-26 Sheriff Bot <webkit.review.bot@gmail.com>
23281 Unreviewed, rolling out r101193.
23282 http://trac.webkit.org/changeset/101193
23283 https://bugs.webkit.org/show_bug.cgi?id=73158
23285 Breaks Windows and Qt minimal. (Requested by pfeldman on
23288 * src/InspectorClientImpl.cpp:
23289 * src/InspectorClientImpl.h:
23290 * src/InspectorFrontendClientImpl.cpp:
23291 (WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
23292 * src/InspectorFrontendClientImpl.h:
23293 * src/WebDevToolsAgentImpl.cpp:
23294 (WebKit::WebDevToolsAgent::disconnectEventAsText):
23295 * src/WebDevToolsAgentImpl.h:
23297 2011-11-26 Pavel Feldman <pfeldman@google.com>
23299 Web Inspector: remove disconnectFromBackend from the protocol.
23300 https://bugs.webkit.org/show_bug.cgi?id=73127
23302 We should instead use InspectorClient::closeInspectorFrontend that would
23303 be closing the front-end window.
23305 Reviewed by Yury Semikhatsky.
23307 * src/InspectorClientImpl.cpp:
23308 (WebKit::InspectorClientImpl::closeInspectorFrontend):
23309 * src/InspectorClientImpl.h:
23310 * src/InspectorFrontendClientImpl.cpp:
23311 * src/InspectorFrontendClientImpl.h:
23312 * src/WebDevToolsAgentImpl.cpp:
23313 (WebKit::WebDevToolsAgentImpl::closeInspectorFrontend):
23314 (WebKit::WebDevToolsAgent::disconnectEventAsText):
23315 * src/WebDevToolsAgentImpl.h:
23317 2011-11-25 Yury Semikhatsky <yurys@chromium.org>
23319 [Chromium] Web Inspector: assertion failure in InspectorController::restoreInspectorStateFromCookie
23320 https://bugs.webkit.org/show_bug.cgi?id=73136
23322 Don't call connectFrontend twice on reattach.
23324 Reviewed by Pavel Feldman.
23326 * src/WebDevToolsAgentImpl.cpp:
23327 (WebKit::WebDevToolsAgentImpl::reattach):
23329 2011-11-25 Yury Semikhatsky <yurys@chromium.org>
23331 Unreviewed. Chromium build fix.
23333 * public/WebDevToolsFrontendClient.h:
23334 (WebKit::WebDevToolsFrontendClient::sendFrontendLoaded): dowsntream implementation
23335 with OVERRIDE modifier fails to compile without this stub.
23337 2011-11-25 Yury Semikhatsky <yurys@chromium.org>
23339 [Chromium] Web Inspector: get rid of WebDevToolsFrontendClient::sendFrontendLoaded method
23340 https://bugs.webkit.org/show_bug.cgi?id=73126
23342 No need to have a separate client call for this. The front-end can store messages
23343 which arrive before front-end loaded and dispatch them later. This happens in layout
23344 tests only by the way as all other messages should be initiated by the front-end code.
23346 Reviewed by Pavel Feldman.
23348 * public/WebDevToolsFrontendClient.h:
23349 * src/WebDevToolsAgentImpl.cpp:
23350 (WebKit::WebDevToolsAgentImpl::attach):
23351 (WebKit::WebDevToolsAgentImpl::frontendLoaded):
23352 * src/WebDevToolsFrontendImpl.cpp:
23353 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
23354 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
23355 (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
23356 (WebKit::WebDevToolsFrontendImpl::doDispatchOnInspectorFrontend):
23357 * src/WebDevToolsFrontendImpl.h:
23359 2011-11-24 Yury Semikhatsky <yurys@chromium.org>
23361 [Chromium] Web Inspector: remove legacy debugger support
23362 https://bugs.webkit.org/show_bug.cgi?id=73081
23364 Removed classed providing access to V8 debugging protocol. Clients should
23365 use Web Inspector protocol instead.
23367 Reviewed by Pavel Feldman.
23370 * public/WebDevToolsAgent.h:
23371 * public/WebDevToolsAgentClient.h:
23372 * src/DebuggerAgentImpl.cpp: Removed.
23373 * src/DebuggerAgentImpl.h: Removed.
23374 * src/DebuggerAgentManager.cpp: Removed.
23375 * src/DebuggerAgentManager.h: Removed.
23376 * src/WebDevToolsAgentImpl.cpp:
23377 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
23378 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
23379 (WebKit::WebDevToolsAgentImpl::attach):
23380 (WebKit::WebDevToolsAgentImpl::detach):
23381 (WebKit::WebDevToolsAgentImpl::didNavigate):
23382 (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
23383 * src/WebDevToolsAgentImpl.h:
23385 2011-11-25 Yury Semikhatsky <yurys@chromium.org>
23387 Unreviewed. Update Chromium deps revision to 111575
23391 2011-11-24 Fady Samuel <fsamuel@chromium.org>
23393 [Chromium] Removed obsolete touchui flag
23394 https://bugs.webkit.org/show_bug.cgi?id=73067
23396 Reviewed by Tony Chang.
23400 2011-11-24 Joshua Bell <jsbell@chromium.org>
23402 IndexedDB: Indexes should be secondarily sorted on primary key
23403 https://bugs.webkit.org/show_bug.cgi?id=72567
23405 Reviewed by Tony Chang.
23407 Updates the IndexDataKey unit tests to include primary keys. The
23408 deprecated sequenceNumber element of IndexDataKey is still tested,
23409 although no longer used by callers.
23411 * tests/IDBLevelDBCodingTest.cpp:
23412 (IDBLevelDBCoding::TEST):
23414 2011-11-23 Greg Billock <gbillock@google.com>
23416 Add simple implementation for web intents chromium API data classes.
23417 https://bugs.webkit.org/show_bug.cgi?id=73036
23419 Reviewed by Darin Fisher.
23422 * public/WebIntent.h:
23423 * public/WebIntentServiceInfo.h:
23424 * src/WebIntent.cpp: Copied from Source/WebKit/chromium/public/WebIntent.h.
23425 (WebKit::WebIntent::WebIntent):
23426 (WebKit::WebIntent::action):
23427 (WebKit::WebIntent::setAction):
23428 (WebKit::WebIntent::type):
23429 (WebKit::WebIntent::setType):
23430 (WebKit::WebIntent::data):
23431 (WebKit::WebIntent::setData):
23432 (WebKit::WebIntent::identifier):
23433 (WebKit::WebIntent::setIdentifier):
23434 * src/WebIntentServiceInfo.cpp: Copied from Source/WebKit/chromium/public/WebIntentServiceInfo.h.
23435 (WebKit::WebIntentServiceInfo::WebIntentServiceInfo):
23436 (WebKit::WebIntentServiceInfo::url):
23437 (WebKit::WebIntentServiceInfo::setURL):
23438 (WebKit::WebIntentServiceInfo::title):
23439 (WebKit::WebIntentServiceInfo::setTitle):
23440 (WebKit::WebIntentServiceInfo::action):
23441 (WebKit::WebIntentServiceInfo::setAction):
23442 (WebKit::WebIntentServiceInfo::type):
23443 (WebKit::WebIntentServiceInfo::setType):
23444 (WebKit::WebIntentServiceInfo::disposition):
23445 (WebKit::WebIntentServiceInfo::setDisposition):
23447 2011-11-23 Adam Barth <abarth@webkit.org>
23449 [Chromium] Move WebKitPlatformSupport.h and dependencies to new public/platform directory
23450 https://bugs.webkit.org/show_bug.cgi?id=73066
23452 Reviewed by Darin Fisher.
23454 This patch creates a new subdirectory in the Chromium WebKit API to
23455 house "platform" header files. As with the other Platform directories
23456 in WebKit, the platform directory cannot depend on headers outside of
23457 platform, but headers outside of platform can depend on platform.
23459 This patch moves WebKitPlatformSupport and its dependencies into this
23460 new directory and creates forwarding headers to easy migration for
23461 embedders of this API. Over time, we will migrate more headers into
23462 this folder, as appropriate.
23464 * public/WebAccessibilityObject.h:
23465 * public/WebAccessibilityRole.h:
23466 * public/WebAnimationController.h:
23467 * public/WebApplicationCacheHost.h:
23468 * public/WebApplicationCacheHostClient.h:
23469 * public/WebArrayBufferView.h:
23470 * public/WebAttribute.h:
23471 * public/WebAudioBus.h: Replaced.
23472 * public/WebAudioDevice.h: Replaced.
23473 * public/WebAudioSourceProvider.h:
23474 * public/WebBindings.h:
23475 * public/WebBlob.h:
23476 * public/WebBlobData.h:
23477 * public/WebBlobRegistry.h:
23478 * public/WebCString.h: Replaced.
23479 * public/WebCache.h:
23480 * public/WebCanvas.h:
23481 * public/WebClipboard.h:
23482 * public/WebColor.h:
23483 * public/WebCommon.h: Replaced.
23484 * public/WebCommonWorkerClient.h:
23485 * public/WebCompositor.h:
23486 * public/WebConsoleMessage.h:
23487 * public/WebContentLayer.h:
23488 * public/WebContextMenuData.h:
23489 * public/WebCookie.h:
23490 * public/WebCrossOriginPreflightResultCache.h:
23491 * public/WebDOMEvent.h:
23492 * public/WebDOMEventListener.h:
23493 * public/WebDOMStringList.h:
23494 * public/WebData.h: Replaced.
23495 * public/WebDataSource.h:
23496 * public/WebDatabase.h:
23497 * public/WebDevToolsAgent.h:
23498 * public/WebDevToolsAgentClient.h:
23499 * public/WebDevToolsFrontend.h:
23500 * public/WebDeviceOrientationClientMock.h:
23501 * public/WebDeviceOrientationController.h:
23502 * public/WebDocument.h:
23503 * public/WebDragData.h:
23504 * public/WebExternalPopupMenuClient.h:
23505 * public/WebExternalTextureLayer.h:
23506 * public/WebFileChooserParams.h:
23507 * public/WebFileInfo.h:
23508 * public/WebFileSystem.h:
23509 * public/WebFileSystemCallbacks.h:
23510 * public/WebFileSystemEntry.h:
23511 * public/WebFileUtilities.h:
23512 * public/WebFileWriter.h:
23513 * public/WebFileWriterClient.h:
23514 * public/WebFindOptions.h:
23515 * public/WebFloatPoint.h:
23516 * public/WebFloatQuad.h:
23517 * public/WebFloatRect.h:
23518 * public/WebFont.h:
23519 * public/WebFontCache.h:
23520 * public/WebFontDescription.h:
23521 * public/WebFormControlElement.h:
23522 * public/WebFormElement.h:
23523 * public/WebFrame.h:
23524 * public/WebFrameClient.h:
23525 * public/WebGamepad.h: Replaced.
23526 * public/WebGamepads.h: Replaced.
23527 * public/WebGeolocationClientMock.h:
23528 * public/WebGeolocationController.h:
23529 * public/WebGeolocationError.h:
23530 * public/WebGeolocationPermissionRequest.h:
23531 * public/WebGeolocationPermissionRequestManager.h:
23532 * public/WebGeolocationPosition.h:
23533 * public/WebGlyphCache.h:
23534 * public/WebGraphicsContext3D.h:
23535 * public/WebHTTPBody.h:
23536 * public/WebHTTPLoadInfo.h:
23537 * public/WebHistoryItem.h:
23538 * public/WebIDBCallbacks.h:
23539 * public/WebIDBCursor.h:
23540 * public/WebIDBDatabase.h:
23541 * public/WebIDBDatabaseCallbacks.h:
23542 * public/WebIDBDatabaseError.h:
23543 * public/WebIDBFactory.h:
23544 * public/WebIDBIndex.h:
23545 * public/WebIDBKey.h:
23546 * public/WebIDBKeyPath.h:
23547 * public/WebIDBKeyRange.h:
23548 * public/WebIDBObjectStore.h:
23549 * public/WebIDBTransaction.h:
23550 * public/WebIDBTransactionCallbacks.h:
23551 * public/WebIconURL.h:
23552 * public/WebImage.h:
23553 * public/WebInputEvent.h:
23555 * public/WebKitPlatformSupport.h: Replaced.
23556 * public/WebLayer.h:
23557 * public/WebLayerTreeView.h:
23558 * public/WebLocalizedString.h: Replaced.
23559 * public/WebMediaPlayer.h:
23560 * public/WebMediaStreamDescriptor.h:
23561 * public/WebMediaStreamRegistry.h:
23562 * public/WebMediaStreamSource.h:
23563 * public/WebMenuItemInfo.h:
23564 * public/WebMessagePortChannel.h:
23565 * public/WebMimeRegistry.h:
23566 * public/WebNamedNodeMap.h:
23567 * public/WebNetworkStateNotifier.h:
23568 * public/WebNode.h:
23569 * public/WebNodeCollection.h:
23570 * public/WebNodeList.h:
23571 * public/WebNotification.h:
23572 * public/WebNotificationPresenter.h:
23573 * public/WebOptionElement.h:
23574 * public/WebPageSerializer.h:
23575 * public/WebPasswordFormData.h:
23576 * public/WebPeerConnectionHandler.h:
23577 * public/WebPerformance.h:
23578 * public/WebPlugin.h:
23579 * public/WebPluginParams.h:
23580 * public/WebPoint.h:
23581 * public/WebPopupMenu.h:
23582 * public/WebPopupMenuInfo.h:
23583 * public/WebPrivateOwnPtr.h: Replaced.
23584 * public/WebPrivatePtr.h: Replaced.
23585 * public/WebRange.h:
23586 * public/WebRect.h:
23587 * public/WebRegularExpression.h:
23588 * public/WebRuntimeFeatures.h:
23589 * public/WebScriptController.h:
23590 * public/WebScriptSource.h:
23591 * public/WebScrollbar.h:
23592 * public/WebSearchableFormData.h:
23593 * public/WebSecurityOrigin.h:
23594 * public/WebSecurityPolicy.h:
23595 * public/WebSelectElement.h:
23596 * public/WebSerializedScriptValue.h: Replaced.
23597 * public/WebSettings.h:
23598 * public/WebSharedWorker.h:
23599 * public/WebSharedWorkerRepository.h:
23600 * public/WebSize.h:
23601 * public/WebSocket.h:
23602 * public/WebSocketClient.h:
23603 * public/WebSocketStreamError.h:
23604 * public/WebSocketStreamHandle.h:
23605 * public/WebSocketStreamHandleClient.h:
23606 * public/WebSpeechInputController.h:
23607 * public/WebSpeechInputResult.h:
23608 * public/WebSpellCheckClient.h:
23609 * public/WebStorageArea.h:
23610 * public/WebStorageEventDispatcher.h:
23611 * public/WebStorageNamespace.h:
23612 * public/WebString.h: Replaced.
23613 * public/WebTestingSupport.h:
23614 * public/WebTextCheckingCompletion.h:
23615 * public/WebTextCheckingResult.h:
23616 * public/WebTextRun.h:
23617 * public/WebThread.h:
23618 * public/WebThreadSafeData.h:
23619 * public/WebTouchPoint.h:
23620 * public/WebURL.h: Replaced.
23621 * public/WebURLError.h:
23622 * public/WebURLLoadTiming.h:
23623 * public/WebURLLoader.h:
23624 * public/WebURLRequest.h:
23625 * public/WebURLResponse.h:
23626 * public/WebUserMediaRequest.h:
23627 * public/WebVector.h: Replaced.
23628 * public/WebView.h:
23629 * public/WebViewClient.h:
23630 * public/WebWidget.h:
23631 * public/WebWidgetClient.h:
23632 * public/WebWindowFeatures.h:
23633 * public/android/WebInputEventFactory.h:
23634 * public/gtk/WebInputEventFactory.h:
23635 * public/linux/WebFontFamily.h:
23636 * public/linux/WebFontInfo.h:
23637 * public/linux/WebFontRenderStyle.h:
23638 * public/linux/WebFontRendering.h:
23639 * public/linux/WebRenderTheme.h:
23640 * public/linux/WebSandboxSupport.h:
23641 * public/mac/WebInputEventFactory.h:
23642 * public/mac/WebScreenInfoFactory.h:
23643 * public/platform: Added.
23644 * public/platform/WebAudioBus.h: Copied from Source/WebKit/chromium/public/WebAudioBus.h.
23645 * public/platform/WebAudioDevice.h: Copied from Source/WebKit/chromium/public/WebAudioDevice.h.
23646 * public/platform/WebCString.h: Copied from Source/WebKit/chromium/public/WebCString.h.
23647 * public/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/WebCommon.h.
23648 * public/platform/WebData.h: Copied from Source/WebKit/chromium/public/WebData.h.
23649 * public/platform/WebGamepad.h: Copied from Source/WebKit/chromium/public/WebGamepad.h.
23650 * public/platform/WebGamepads.h: Copied from Source/WebKit/chromium/public/WebGamepads.h.
23651 * public/platform/WebKitPlatformSupport.h: Copied from Source/WebKit/chromium/public/WebKitPlatformSupport.h.
23652 * public/platform/WebLocalizedString.h: Copied from Source/WebKit/chromium/public/WebLocalizedString.h.
23653 * public/platform/WebPrivateOwnPtr.h: Copied from Source/WebKit/chromium/public/WebPrivateOwnPtr.h.
23654 * public/platform/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/WebPrivatePtr.h.
23655 * public/platform/WebSerializedScriptValue.h: Copied from Source/WebKit/chromium/public/WebSerializedScriptValue.h.
23656 * public/platform/WebString.h: Copied from Source/WebKit/chromium/public/WebString.h.
23657 * public/platform/WebURL.h: Copied from Source/WebKit/chromium/public/WebURL.h.
23658 * public/platform/WebVector.h: Copied from Source/WebKit/chromium/public/WebVector.h.
23659 * public/win/WebInputEventFactory.h:
23660 * public/win/WebScreenInfoFactory.h:
23661 * public/x11/WebScreenInfoFactory.h:
23663 2011-11-23 Adam Barth <abarth@webkit.org>
23665 [Chromium] Remove unused WebSecurityOrigin::isEmpty from WebKit API
23666 https://bugs.webkit.org/show_bug.cgi?id=73065
23668 Reviewed by Eric Seidel.
23670 This API no longer has any callers.
23672 * public/WebSecurityOrigin.h:
23673 * src/WebSecurityOrigin.cpp:
23674 (WebKit::WebSecurityOrigin::isUnique):
23676 2011-11-23 Dmitry Lomov <dslomov@google.com>
23678 https://bugs.webkit.org/show_bug.cgi?id=73054
23679 [V8][Chromium] Add list of transferred ArrayBuffers to SerializedScriptValue::create.
23681 Reviewed by David Levin.
23683 * src/WebSerializedScriptValue.cpp:
23684 (WebKit::WebSerializedScriptValue::serialize):
23686 2011-11-23 Ami Fischman <fischman@chromium.org>
23688 Teach VideoLayerChromium how to render native texture (to support HW video decode).
23689 https://bugs.webkit.org/show_bug.cgi?id=73043
23691 Reviewed by Kenneth Russell.
23693 * public/WebVideoFrame.h:
23694 * src/VideoFrameChromiumImpl.cpp:
23695 (WebKit::VideoFrameChromiumImpl::textureId):
23696 * src/VideoFrameChromiumImpl.h:
23698 2011-11-23 Vincent Scheib <scheib@chromium.org>
23700 Pointer Lock: Plumb movement coordinates from PlatformMouseEvent to MouseEvents.
23701 https://bugs.webkit.org/show_bug.cgi?id=73031
23703 Reviewed by Dimitri Glazkov.
23705 * src/WebInputEventConversion.cpp:
23706 (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
23708 2011-11-23 Tommy Widenflycht <tommyw@google.com>
23710 [chromium] MediaStream API: Missing WEBKIT_EXPORT in WebMediaStreamRegistry
23711 https://bugs.webkit.org/show_bug.cgi?id=73010
23713 Reviewed by Darin Fisher.
23715 * public/WebMediaStreamRegistry.h:
23717 2011-11-23 Scott Graham <scottmg@chromium.org>
23719 Adding gamepad support
23720 https://bugs.webkit.org/show_bug.cgi?id=69451
23722 Add implementation of sampleGamepads in Chromium platform. Retrieves
23723 gamepad data from Chromium port and converts to DOM format, i.e.
23726 Reviewed by Darin Fisher.
23728 * src/PlatformSupport.cpp:
23729 (WebCore::PlatformSupport::sampleGamepads):
23731 2011-11-23 Dmitry Lomov <dslomov@google.com>
23733 Get rid of WebCore dependencies from TypedArray implementation types
23734 https://bugs.webkit.org/show_bug.cgi?id=72783
23735 Reviewed by David Levin.
23737 * src/WebArrayBufferView.cpp: WebCore replaced with WTF
23739 2011-11-23 Tommy Widenflycht <tommyw@google.com>
23741 [chromium] MediaStream API: Adding embedding code for GetUserMedia
23742 https://bugs.webkit.org/show_bug.cgi?id=71678
23744 This patch includes a fix for https://bugs.webkit.org/show_bug.cgi?id=72925.
23746 Reviewed by Darin Fisher.
23749 * public/WebUserMediaClient.h: Added.
23750 (WebKit::WebUserMediaClient::~WebUserMediaClient):
23751 * public/WebUserMediaRequest.h: Added.
23752 (WebKit::WebUserMediaRequest::WebUserMediaRequest):
23753 (WebKit::WebUserMediaRequest::~WebUserMediaRequest):
23754 (WebKit::WebUserMediaRequest::operator=):
23755 (WebKit::WebUserMediaRequest::isNull):
23756 (WebKit::operator==):
23757 * public/WebViewClient.h:
23758 (WebKit::WebViewClient::userMediaClient):
23759 * src/UserMediaClientImpl.cpp: Added.
23760 (WebKit::UserMediaClientImpl::UserMediaClientImpl):
23761 (WebKit::UserMediaClientImpl::pageDestroyed):
23762 (WebKit::UserMediaClientImpl::requestUserMedia):
23763 (WebKit::UserMediaClientImpl::cancelUserMediaRequest):
23764 * src/UserMediaClientImpl.h: Added.
23765 * src/WebUserMediaRequest.cpp: Added.
23766 (WebKit::WebUserMediaRequest::WebUserMediaRequest):
23767 (WebKit::WebUserMediaRequest::reset):
23768 (WebKit::WebUserMediaRequest::audio):
23769 (WebKit::WebUserMediaRequest::video):
23770 (WebKit::WebUserMediaRequest::cameraPreferenceUser):
23771 (WebKit::WebUserMediaRequest::cameraPreferenceEnvironment):
23772 (WebKit::WebUserMediaRequest::securityOrigin):
23773 (WebKit::WebUserMediaRequest::requestSucceeded):
23774 (WebKit::WebUserMediaRequest::requestFailed):
23775 (WebKit::WebUserMediaRequest::equals):
23776 (WebKit::WebUserMediaRequest::assign):
23777 (WebKit::WebUserMediaRequest::operator UserMediaRequest*):
23778 * src/WebViewImpl.cpp:
23779 (WebKit::WebViewImpl::WebViewImpl):
23780 * src/WebViewImpl.h:
23782 2011-11-23 Antoine Labour <piman@chromium.org>
23784 [chromium] Expose showFPSCounter and showPlatformLayerTree in WebLayerTreeView::Settings
23785 https://bugs.webkit.org/show_bug.cgi?id=72973
23787 Reviewed by Darin Fisher.
23789 * public/WebLayerTreeView.h:
23790 (WebKit::WebLayerTreeView::Settings::Settings):
23791 * src/WebLayerTreeView.cpp:
23792 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
23794 2011-11-22 Dirk Pranke <dpranke@chromium.org>
23796 Roll DEPS to r111325 to fix an issue with the linux build
23798 https://bugs.webkit.org/show_bug.cgi?id=73004
23800 Unreviewed, build fix.
23802 There appears to be a bug in the Makefile generator for gyp
23803 that is causing make to not rebuild DRT on Linux.
23807 2011-11-22 Kenneth Russell <kbr@google.com>
23809 [chromium] Support Core Animation plugins in compositor
23810 https://bugs.webkit.org/show_bug.cgi?id=72921
23812 Reviewed by Stephen White.
23814 Added IOSurface support to WebPluginContainer. This code path is
23815 used only on Mac OS X, but is defined in the header on all
23816 platforms for simplicity.
23818 * public/WebGraphicsContext3D.h:
23819 (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
23820 * public/WebPluginContainer.h:
23821 * src/Extensions3DChromium.cpp:
23822 (WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
23823 * src/GraphicsContext3DChromium.cpp:
23824 * src/GraphicsContext3DPrivate.h:
23825 * src/WebPluginContainerImpl.cpp:
23826 (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
23827 (WebKit::WebPluginContainerImpl::platformLayer):
23828 (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
23829 * src/WebPluginContainerImpl.h:
23831 2011-11-22 Daniel Cheng <dcheng@chromium.org>
23833 [chromium] Fix plumbing for differentiating between clipboard/selection pastes.
23834 https://bugs.webkit.org/show_bug.cgi?id=72056
23836 Reviewed by tony@chromium.org.
23838 Add a buffer parameter when retrieving the clipboard sequence number.
23840 * public/WebClipboard.h:
23841 (WebKit::WebClipboard::sequenceNumber):
23842 * src/PlatformSupport.cpp:
23843 (WebCore::PlatformSupport::clipboardSequenceNumber):
23845 2011-11-22 Greg Billock <gbillock@google.com>
23847 Empty API for web intents
23848 https://bugs.webkit.org/show_bug.cgi?id=69870
23850 Reviewed by Darin Fisher.
23853 * public/WebIntent.h: Added.
23854 * public/WebIntentServiceInfo.h: Added.
23855 * public/WebFrame.h:
23856 * public/WebFrameClient.h:
23858 2011-11-22 Scott Graham <scottmg@chromium.org>
23861 https://bugs.webkit.org/show_bug.cgi?id=72972
23863 Add dbus in Chromium as pulled dep and update to HEAD.
23865 Reviewed by Dirk Pranke.
23869 2011-11-22 Dirk Pranke <dpranke@chromium.org>
23871 Roll Chromium DEPS to r110960 and set the disable_nacl flag.
23872 https://bugs.webkit.org/show_bug.cgi?id=72911
23874 Unreviewed, build fix.
23876 ppapi starts to depend on the NaCl gyp files as of r109739, so
23877 we need to pass disable_nacl when running gyp to avoid pulling
23878 in too much of NaCl.
23883 2011-11-22 Pavel Feldman <pfeldman@google.com>
23885 Web Inspector: [chromium] fix internactive ui test for scripts panel.
23886 https://bugs.webkit.org/show_bug.cgi?id=72935
23888 Reviewed by Yury Semikhatsky.
23891 (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
23893 2011-11-22 Pavel Feldman <pfeldman@google.com>
23895 Web Inspector: remove Inspector::bringToFront from the protocol.
23896 https://bugs.webkit.org/show_bug.cgi?id=72937
23898 Reviewed by Yury Semikhatsky.
23900 * src/InspectorClientImpl.cpp:
23901 (WebKit::InspectorClientImpl::bringFrontendToFront):
23902 * src/InspectorClientImpl.h:
23903 * src/WebDevToolsAgentImpl.cpp:
23904 (WebKit::WebDevToolsAgentImpl::bringFrontendToFront):
23905 * src/WebDevToolsAgentImpl.h:
23907 2011-11-17 Nat Duca <nduca@chromium.org>
23909 [chromium] Route willDraw/setNeedsRedraw to CCInputHandler and fix double-drawing issues that result
23910 https://bugs.webkit.org/show_bug.cgi?id=72688
23912 Reviewed by James Robinson.
23914 * src/WebCompositorImpl.cpp:
23915 (WebCore::CCInputHandler::create):
23916 (WebKit::WebCompositorImpl::WebCompositorImpl):
23917 (WebKit::WebCompositorImpl::handleInputEvent):
23918 (WebKit::WebCompositorImpl::willDraw):
23919 * src/WebCompositorImpl.h:
23920 (WebKit::WebCompositorImpl::create):
23921 * tests/CCFrameRateControllerTest.cpp:
23922 (WebKitTests::FakeCCFrameRateControllerClient::beginFrame):
23923 * tests/CCSchedulerStateMachineTest.cpp:
23925 * tests/CCSchedulerTest.cpp:
23926 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::SchedulerClientThatSetNeedsDrawInsideDraw):
23927 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::setScheduler):
23928 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::numDraws):
23929 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::hasMoreResourceUpdates):
23930 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionBeginFrame):
23931 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionDrawAndSwap):
23932 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionUpdateMoreResources):
23933 (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionCommit):
23934 (WebKitTests::TEST):
23936 2011-11-21 Sheriff Bot <webkit.review.bot@gmail.com>
23938 Unreviewed, rolling out r100970.
23939 http://trac.webkit.org/changeset/100970
23940 https://bugs.webkit.org/show_bug.cgi?id=72925
23942 Caused AssociatedURLLoaderTest.Success to fail (Requested by
23946 * public/WebUserMediaClient.h: Removed.
23947 * public/WebUserMediaRequest.h: Removed.
23948 * public/WebViewClient.h:
23949 * src/UserMediaClientImpl.cpp: Removed.
23950 * src/UserMediaClientImpl.h: Removed.
23951 * src/WebUserMediaRequest.cpp: Removed.
23952 * src/WebViewImpl.cpp:
23953 (WebKit::WebViewImpl::WebViewImpl):
23954 * src/WebViewImpl.h:
23956 2011-11-21 Tommy Widenflycht <tommyw@google.com>
23958 [chromium] MediaStream API: Adding embedding code for GetUserMedia
23959 https://bugs.webkit.org/show_bug.cgi?id=71678
23961 Reviewed by Darin Fisher.
23964 * public/WebUserMediaClient.h: Added.
23965 (WebKit::WebUserMediaClient::~WebUserMediaClient):
23966 * public/WebUserMediaRequest.h: Added.
23967 (WebKit::WebUserMediaRequest::WebUserMediaRequest):
23968 (WebKit::WebUserMediaRequest::~WebUserMediaRequest):
23969 (WebKit::WebUserMediaRequest::operator=):
23970 (WebKit::WebUserMediaRequest::isNull):
23971 (WebKit::operator==):
23972 * public/WebViewClient.h:
23973 (WebKit::WebViewClient::userMediaClient):
23974 * src/UserMediaClientImpl.cpp: Added.
23975 (WebKit::UserMediaClientImpl::UserMediaClientImpl):
23976 (WebKit::UserMediaClientImpl::pageDestroyed):
23977 (WebKit::UserMediaClientImpl::requestUserMedia):
23978 (WebKit::UserMediaClientImpl::cancelUserMediaRequest):
23979 * src/UserMediaClientImpl.h: Added.
23980 * src/WebUserMediaRequest.cpp: Added.
23981 (WebKit::WebUserMediaRequest::WebUserMediaRequest):
23982 (WebKit::WebUserMediaRequest::reset):
23983 (WebKit::WebUserMediaRequest::audio):
23984 (WebKit::WebUserMediaRequest::video):
23985 (WebKit::WebUserMediaRequest::cameraPreferenceUser):
23986 (WebKit::WebUserMediaRequest::cameraPreferenceEnvironment):
23987 (WebKit::WebUserMediaRequest::securityOrigin):
23988 (WebKit::WebUserMediaRequest::requestSucceeded):
23989 (WebKit::WebUserMediaRequest::requestFailed):
23990 (WebKit::WebUserMediaRequest::equals):
23991 (WebKit::WebUserMediaRequest::assign):
23992 (WebKit::WebUserMediaRequest::operator PassRefPtr<UserMediaRequest>):
23993 * src/WebViewImpl.cpp:
23994 (WebKit::WebViewImpl::WebViewImpl):
23995 * src/WebViewImpl.h:
23997 2011-11-21 James Robinson <jamesr@chromium.org>
23999 [chromium] Fix tiler initialization in TiledLayerChromiumTest
24000 https://bugs.webkit.org/show_bug.cgi?id=72915
24002 Reviewed by Kenneth Russell.
24004 Setting the tile size or tiling option after the tiler is created invalidates it, and by default the newly
24005 created tiler will have border texels so the test doesn't pass. Switch things around in the test so the tiler
24006 is created only after all the options are set, which is closer to what the real code does.
24008 * tests/TiledLayerChromiumTest.cpp:
24009 (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
24011 2011-11-21 James Robinson <jamesr@chromium.org>
24013 Fix chromium compile bustage - base interface added a parameter so my fake wasn't actually implementing it.
24015 * tests/TiledLayerChromiumTest.cpp:
24016 (WTF::FakeLayerTextureUpdater::prepareToUpdate):
24018 2011-11-21 James Robinson <jamesr@chromium.org>
24020 [chromium] Avoid pushing dirty tiles to the impl layer
24021 https://bugs.webkit.org/show_bug.cgi?id=72765
24023 Reviewed by Kenneth Russell.
24025 Add unit test for TiledLayerChromium's tile pushing behavior. Requires a fair amount of fake classes. If these
24026 fakes are useful in other tests, they should be moved to a shared location.
24029 * tests/TiledLayerChromiumTest.cpp: Added.
24030 (::FakeTextureAllocator::createTexture):
24031 (::FakeTextureAllocator::deleteTexture):
24032 (::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
24033 (::FakeLayerTextureUpdater::~FakeLayerTextureUpdater):
24034 (::FakeLayerTextureUpdater::orientation):
24035 (::FakeLayerTextureUpdater::sampledTexelFormat):
24036 (::FakeLayerTextureUpdater::prepareToUpdate):
24037 (::FakeLayerTextureUpdater::updateTextureRect):
24038 (::FakeCCTiledLayerImpl::FakeCCTiledLayerImpl):
24039 (::FakeCCTiledLayerImpl::~FakeCCTiledLayerImpl):
24040 (::FakeCCTiledLayerImpl::hasTileAt):
24041 (::FakeTiledLayerChromium::FakeTiledLayerChromium):
24042 (::FakeTiledLayerChromium::~FakeTiledLayerChromium):
24043 (::FakeTiledLayerChromium::invalidateRect):
24044 (::FakeTiledLayerChromium::prepareToUpdate):
24045 (::FakeTiledLayerChromium::textureManager):
24046 (::FakeTiledLayerChromium::createTextureUpdater):
24047 (::FakeTiledLayerChromium::textureUpdater):
24050 2011-11-21 Dominic Mazzoni <dmazzoni@google.com>
24052 [Chromium] WebAccessibilityNotification should use AssertMatchingEnums.
24053 https://bugs.webkit.org/show_bug.cgi?id=72895
24055 Reviewed by Chris Fleizach.
24057 * public/WebAccessibilityNotification.h:
24058 * src/AssertMatchingEnums.cpp:
24059 * src/ChromeClientImpl.cpp:
24060 (WebKit::toWebAccessibilityNotification):
24062 2011-11-21 Shinya Kawanaka <shinyak@google.com>
24064 Implement a setter for UnifiedTextCheckerEnabled.
24065 https://bugs.webkit.org/show_bug.cgi?id=72872
24067 Reviewed by Darin Fisher.
24069 * public/WebSettings.h:
24070 * src/WebSettingsImpl.cpp:
24071 (WebKit::WebSettingsImpl::setUnifiedTextCheckerEnabled): Added.
24072 * src/WebSettingsImpl.h:
24074 2011-11-21 Jochen Eisinger <jochen@chromium.org>
24076 Implement Meta referrer
24077 https://bugs.webkit.org/show_bug.cgi?id=72674
24079 Reviewed by Adam Barth.
24082 * public/WebFrame.h:
24083 * public/WebReferrerPolicy.h: Added.
24084 * public/WebSecurityPolicy.h:
24085 * src/AssertMatchingEnums.cpp:
24086 * src/WebFrameImpl.cpp:
24087 (WebKit::WebFrameImpl::referrerPolicy):
24088 (WebKit::WebFrameImpl::setReferrerForRequest):
24089 * src/WebFrameImpl.h:
24090 * src/WebSecurityPolicy.cpp:
24091 (WebKit::WebSecurityPolicy::generateReferrerHeader):
24093 2011-11-21 Dominic Mazzoni <dmazzoni@google.com>
24095 Accessibility: Multiselect list boxes need to report the active option in addition to which items are selected.
24096 https://bugs.webkit.org/show_bug.cgi?id=72479
24098 Reviewed by Chris Fleizach.
24100 Test: accessibility/multiselect-list-reports-active-option.html
24102 * public/WebAccessibilityObject.h:
24103 * src/WebAccessibilityObject.cpp:
24104 (WebKit::WebAccessibilityObject::isSelectedOptionActive):
24106 2011-11-20 Kenichi Ishibashi <bashi@chromium.org>
24108 [Chromium] Remove old getFontFamilyForCharacters() and familyForChars() APIs.
24109 https://bugs.webkit.org/show_bug.cgi?id=72844
24111 Removes old APIs for getting font family for given characters.
24113 Reviewed by Darin Fisher.
24115 * public/linux/WebFontInfo.h: Removed old familyForChars().
24116 * public/linux/WebSandboxSupport.h: Removed old getFontFamilyForCharacters() and changed new getFontFamilyForCharacters() to be a pure virtual function.
24117 * src/linux/WebFontInfo.cpp: Removes old familyForChars().
24119 2011-10-17 Antonio Gomes <agomes@rim.com>
24121 Pass a Frame* parameter in EditorClient::respondToChangedSelection
24122 https://bugs.webkit.org/show_bug.cgi?id=70248
24124 Reviewed by Ryosuke Niwa.
24126 * src/EditorClientImpl.cpp: Make use of the newly added Frame* parameter.
24127 (WebKit::EditorClientImpl::respondToChangedSelection):
24128 * src/EditorClientImpl.h: Change the method signature, as per base class change.
24130 2011-11-20 Adam Barth <abarth@webkit.org>
24132 Add WebNode::hasEventListeners for Android
24133 https://bugs.webkit.org/show_bug.cgi?id=72817
24135 Reviewed by Darin Fisher.
24137 Expose this EventTarget interface in the Chromium WebKit API for use by
24140 * public/WebNode.h:
24142 (WebKit::WebNode::hasEventListeners):
24144 2011-11-20 Adam Barth <abarth@webkit.org>
24146 [Chromium] Add GestureFlingStart and GestureFlingCancel to WebGestureEvent for Android
24147 https://bugs.webkit.org/show_bug.cgi?id=72819
24149 Reviewed by Darin Fisher.
24151 These gesture types are used with FlingAnimator for scrolling.
24153 * public/WebInputEvent.h:
24154 (WebKit::WebInputEvent::isScrollGestureEventType):
24155 (WebKit::WebGestureEvent::WebGestureEvent):
24156 * src/WebPopupMenuImpl.cpp:
24157 (WebKit::WebPopupMenuImpl::handleInputEvent):
24158 * src/WebViewImpl.cpp:
24159 (WebKit::WebViewImpl::handleInputEvent):
24161 2011-11-20 Adam Barth <abarth@webkit.org>
24163 [Chromium] Add WebInputEventFactory for Android
24164 https://bugs.webkit.org/show_bug.cgi?id=67890
24166 Reviewed by Darin Fisher.
24168 Like every Chromium OS, Android needs a WebInputFactory.
24171 * public/android/WebInputEventFactory.h: Added.
24172 * src/android/WebInputEventFactory.cpp: Added.
24174 2011-11-19 Nat Duca <nduca@chromium.org>
24176 Unreviewed, rolling out r100854.
24177 http://trac.webkit.org/changeset/100854
24179 Rollout DEPS roll. Made chromium bots cry.
24183 2011-11-19 Nat Duca <nduca@chromium.org>
24185 Unreviewed. Rolled DEPS 109696->110838
24189 2011-11-19 Adam Barth <abarth@webkit.org>
24191 Integrate Source/WTF with the Chromium build system
24192 https://bugs.webkit.org/show_bug.cgi?id=72790
24194 Reviewed by Eric Seidel.
24196 Add a dependency on the new WTF.
24200 2011-11-18 Takashi Toyoshima <toyoshim@chromium.org>
24202 [Chromium] [WebSocket] export WebSocketChannel interface for plugins
24203 https://bugs.webkit.org/show_bug.cgi?id=72016
24205 Add WebSocket and WebSocketClient to WebKit API.
24207 Currently, only WebSocketStreamHandle class is exported to WebKit API.
24208 WebSocketStreamHandle implements bi-directional communication ports.
24209 If plugins handles the WebSocket protocol, WebSocketChannel and
24210 WebSocketChannelClient must be exported as WebSocket because they are
24211 the classes which implement the WebSocket protocol stack.
24213 Normally, we use WebWebSocketChannel and WebWebSocketChannelClient as
24214 their class names. But here we use just WebSocket and WebSocketClient
24215 because of avoiding WebWeb prefix and class name confliction on
24218 Reviewed by Darin Fisher.
24221 * public/WebSocket.h: Added.
24222 (WebKit::WebSocket::~WebSocket):
24223 * public/WebSocketClient.h: Added.
24224 (WebKit::WebSocketClient::~WebSocketClient):
24225 * src/WebRuntimeFeatures.cpp: Insert websockets directory to include path in order to avoid filename confliction.
24226 (WebKit::WebRuntimeFeatures::enableSockets): Use WebCore namespace explicitly.
24227 * src/WebSocket.cpp: Added.
24228 (WebKit::WebSocket::create):
24229 * src/WebSocketImpl.cpp: Added.
24230 (WebKit::WebSocketImpl::WebSocketImpl):
24231 (WebKit::WebSocketImpl::~WebSocketImpl):
24232 (WebKit::WebSocketImpl::connect):
24233 (WebKit::WebSocketImpl::subprotocol):
24234 (WebKit::WebSocketImpl::sendText):
24235 (WebKit::WebSocketImpl::sendBinary):
24236 (WebKit::WebSocketImpl::bufferedAmount):
24237 (WebKit::WebSocketImpl::close):
24238 (WebKit::WebSocketImpl::fail):
24239 (WebKit::WebSocketImpl::disconnect):
24240 (WebKit::WebSocketImpl::didConnect):
24241 (WebKit::WebSocketImpl::didReceiveMessage):
24242 (WebKit::WebSocketImpl::didReceiveBinaryData):
24243 (WebKit::WebSocketImpl::didReceiveMessageError):
24244 (WebKit::WebSocketImpl::didStartClosingHandshake):
24245 (WebKit::WebSocketImpl::didClose):
24246 * src/WebSocketImpl.h: Added.
24247 (WebKit::WebSocketImpl::isNull):
24249 2011-11-18 Alpha Lam <hclam@chromium.org>
24251 [chromium] composited layers are blurry with a zoom-in page scale factor
24252 https://bugs.webkit.org/show_bug.cgi?id=71225
24254 Reviewed by James Robinson.
24256 Implements GraphicsLayerClient to return values for pageScaleFactor and deviceScaleFactor. They are used to determine contents scale factor compositer layers.
24258 * src/PageOverlay.cpp:
24259 (WebKit::OverlayGraphicsLayerClientImpl::deviceScaleFactor):
24260 (WebKit::OverlayGraphicsLayerClientImpl::pageScaleFactor):
24262 2011-11-18 Scott Graham <scottmg@chromium.org>
24264 IDL changes for gamepad support
24265 https://bugs.webkit.org/show_bug.cgi?id=71753
24267 Reviewed by Adam Barth.
24269 Update to use vendor-prefixed enable.
24271 * src/WebRuntimeFeatures.cpp:
24272 (WebKit::WebRuntimeFeatures::enableGamepad):
24273 (WebKit::WebRuntimeFeatures::isGamepadEnabled):
24275 2011-11-18 Daniel Cheng <dcheng@chromium.org>
24277 [chromium] Use correct backing store for ChromiumDataObject in pasteboard writes.
24278 https://bugs.webkit.org/show_bug.cgi?id=72767
24280 Reviewed by Tony Chang.
24282 * src/WebDragData.cpp:
24283 (WebKit::WebDragData::initialize):
24284 (WebKit::WebDragData::assign):
24286 2011-10-24 Darin Fisher <darin@chromium.org>
24288 [chromium] Improve fullscreen API
24289 https://bugs.webkit.org/show_bug.cgi?id=70477
24291 Reviewed by Adam Barth.
24293 Move fullscreen entry points from WebView to WebWidget since they are
24294 just about widget geometry.
24296 Delay webkitfullscreenchange event until we know that we have entered
24297 fullscreen mode. This is accomplished by expanding the WebKit APIs to
24298 differentiate will{Enter,Exit} from did{Enter,Exit} state changes.
24300 WebViewImpl is forced to keep a reference to the requested fullscreen
24301 element while we are requesting to enter fullscreen mode. Once in
24302 fullscreen mode, we switch to keeping only a reference to the Frame
24303 containing the fullscreen element, which we drop upon exiting
24306 * public/WebView.h:
24307 * public/WebViewClient.h:
24308 * public/WebWidget.h:
24309 (WebKit::WebWidget::willEnterFullScreen):
24310 (WebKit::WebWidget::didEnterFullScreen):
24311 (WebKit::WebWidget::willExitFullScreen):
24312 (WebKit::WebWidget::didExitFullScreen):
24313 * public/WebWidgetClient.h:
24314 (WebKit::WebWidgetClient::enterFullScreen):
24315 (WebKit::WebWidgetClient::exitFullScreen):
24316 * src/ChromeClientImpl.cpp:
24317 (WebKit::ChromeClientImpl::supportsFullscreenForNode):
24318 (WebKit::ChromeClientImpl::enterFullscreenForNode):
24319 (WebKit::ChromeClientImpl::exitFullscreenForNode):
24320 (WebKit::ChromeClientImpl::supportsFullScreenForElement):
24321 (WebKit::ChromeClientImpl::enterFullScreenForElement):
24322 (WebKit::ChromeClientImpl::exitFullScreenForElement):
24323 * src/WebViewImpl.cpp:
24324 (WebKit::WebViewImpl::willEnterFullScreen):
24325 (WebKit::WebViewImpl::didEnterFullScreen):
24326 (WebKit::WebViewImpl::willExitFullScreen):
24327 (WebKit::WebViewImpl::didExitFullScreen):
24328 (WebKit::WebViewImpl::enterFullScreenForElement):
24329 (WebKit::WebViewImpl::exitFullScreenForElement):
24330 * src/WebViewImpl.h:
24332 2011-11-17 Pavel Feldman <pfeldman@google.com>
24334 Web Inspector: dispatch messages from the front-end to the backend asynchronously.
24335 https://bugs.webkit.org/show_bug.cgi?id=72621
24337 Reviewed by Yury Semikhatsky.
24339 * src/InspectorFrontendClientImpl.cpp:
24340 (WebKit::InspectorFrontendClientImpl::performDisconnectFromBackend):
24341 * src/InspectorFrontendClientImpl.h:
24343 2011-11-18 Iain Merrick <husky@google.com>
24345 [chromium] Pass screen refresh rate into compositor.
24346 https://bugs.webkit.org/show_bug.cgi?id=71040
24348 Reviewed by Tony Gentilcore.
24350 * public/WebScreenInfo.h:
24351 (WebKit::WebScreenInfo::WebScreenInfo):
24352 * src/PlatformSupport.cpp:
24353 (WebCore::PlatformSupport::screenRefreshRate):
24354 * src/WebViewImpl.cpp:
24355 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
24356 * tests/CCLayerTreeHostTest.cpp:
24357 (WTF::CCLayerTreeHostTest::runTest):
24359 2011-11-17 Vincent Scheib <scheib@chromium.org>
24361 Pointer Lock: Page Settings unecessary
24362 https://bugs.webkit.org/show_bug.cgi?id=72662
24364 Reviewed by Darin Fisher.
24366 * public/WebSettings.h:
24367 * src/WebSettingsImpl.cpp:
24368 * src/WebSettingsImpl.h:
24370 2011-11-17 Alexandre Elias <aelias@google.com>
24372 [chromium] Don't clamp minimumPageScaleFactor when doc width is zero
24373 https://bugs.webkit.org/show_bug.cgi?id=72679
24375 Reviewed by James Robinson.
24377 For a brief period during initialization, the document width can be
24378 zero. In that situation, don't try to limit minimumPageScaleFactor
24379 to the document size.
24381 * src/WebViewImpl.cpp:
24382 (WebKit::WebViewImpl::setPageScaleFactorLimits):
24384 2011-11-06 Nat Duca <nduca@chromium.org>
24386 [chromium] Fix handling of setNeedsCommit and setNeedsAnimate in threaded mode
24387 https://bugs.webkit.org/show_bug.cgi?id=71638
24389 Reviewed by James Robinson.
24391 * tests/CCLayerTreeHostTest.cpp:
24392 (TestHooks::animateAndLayout):
24393 (MockLayerTreeHostClient::animateAndLayout):
24394 (CCLayerTreeHostTest::postSetNeedsAnimateToMainThread):
24395 (CCLayerTreeHostTest::dispatchSetNeedsAnimate):
24396 (CCLayerTreeHostTestSetNeedsAnimate::CCLayerTreeHostTestSetNeedsAnimate):
24397 (CCLayerTreeHostTestSetNeedsAnimate::beginTest):
24398 (CCLayerTreeHostTestSetNeedsAnimate::animateAndLayout):
24399 (CCLayerTreeHostTestSetNeedsAnimate::drawLayersOnCCThread):
24400 (CCLayerTreeHostTestSetNeedsAnimate::afterTest):
24402 2011-11-17 Elliot Glaysher <erg@chromium.org>
24404 [chromium] Don't include internal GTK headers so we build with GTK_DISABLE_SINGLE_INCLUDES
24406 https://bugs.webkit.org/show_bug.cgi?id=72653
24408 Reviewed by James Robinson.
24410 * src/gtk/WebInputEventFactory.cpp:
24411 (WebKit::gdkStateToWebEventModifiers): Remove a
24412 GTK_CHECK_VERSION that will always be true, as the oldest
24413 libgtk we support is 2.18.
24416 2011-11-17 David Reveman <reveman@chromium.org>
24418 [Chromium] Calls to paintContentsIfDirty() and updateCompositorResources() should be balanced.
24419 https://bugs.webkit.org/show_bug.cgi?id=72630
24421 Reviewed by James Robinson.
24423 Add test that check if calls to paintContentsIfDirty() and
24424 updateCompositorResources() are balanced when layer opacity
24425 changes during paintContent().
24427 * tests/CCLayerTreeHostTest.cpp:
24428 (WTF::CCLayerTreeHostTest::layerTreeHost):
24429 (WTF::TestOpacityChangeLayerDelegate::TestOpacityChangeLayerDelegate):
24430 (WTF::TestOpacityChangeLayerDelegate::paintContents):
24431 (WTF::TestOpacityChangeLayerDelegate::drawsContent):
24432 (WTF::TestOpacityChangeLayerDelegate::preserves3D):
24433 (WTF::TestOpacityChangeLayerDelegate::notifySyncRequired):
24434 (WTF::ContentLayerChromiumWithUpdateTracking::create):
24435 (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsCount):
24436 (WTF::ContentLayerChromiumWithUpdateTracking::resetPaintContentsCount):
24437 (WTF::ContentLayerChromiumWithUpdateTracking::updateCount):
24438 (WTF::ContentLayerChromiumWithUpdateTracking::resetUpdateCount):
24439 (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
24440 (WTF::ContentLayerChromiumWithUpdateTracking::updateCompositorResources):
24441 (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
24442 (WTF::CCLayerTreeHostTestOpacityChange::CCLayerTreeHostTestOpacityChange):
24443 (WTF::CCLayerTreeHostTestOpacityChange::beginTest):
24444 (WTF::CCLayerTreeHostTestOpacityChange::commitCompleteOnCCThread):
24445 (WTF::CCLayerTreeHostTestOpacityChange::afterTest):
24448 2011-11-17 Peter Kasting <pkasting@google.com>
24450 Unreviewed, rolling out r100676.
24451 http://trac.webkit.org/changeset/100676
24452 https://bugs.webkit.org/show_bug.cgi?id=72393
24454 Looks like r100572 was not the source of the crashes.
24456 * src/js/DevTools.js:
24458 2011-11-17 Peter Kasting <pkasting@google.com>
24460 Unreviewed, rolling out r100572.
24461 https://bugs.webkit.org/show_bug.cgi?id=72393
24462 https://bugs.webkit.org/show_bug.cgi?id=72651
24464 May have caused seg faults on Chromium Linux dbg bot.
24466 * src/js/DevTools.js:
24468 2011-11-17 Adrienne Walker <enne@google.com>
24470 [chromium] Implicitly skip render surfaces that won't be drawn
24471 https://bugs.webkit.org/show_bug.cgi?id=71038
24473 Update a test that depends on a layer not getting removed.
24475 Reviewed by James Robinson.
24477 * tests/CCLayerTreeHostCommonTest.cpp:
24480 2011-11-17 Vsevolod Vlasov <vsevik@chromium.org>
24482 Web Inspector: Remove onlineDetectionEnabled from Preferences
24483 https://bugs.webkit.org/show_bug.cgi?id=72617
24485 Reviewed by Pavel Feldman.
24487 * src/js/DevTools.js:
24489 2011-11-17 Kenichi Ishibashi <bashi@chromium.org>
24491 [chromium] don't call fontconfig twice in complex text path
24492 https://bugs.webkit.org/show_bug.cgi?id=38701
24494 Reviewed by Tony Chang.
24496 Add new API for getFamilyForChars() so that keeping correct font mapping of the given characters.
24498 * public/linux/WebFontFamily.h: Added.
24499 * public/linux/WebFontInfo.h: Add a new API.
24500 * public/linux/WebSandboxSupport.h:
24501 (WebKit::WebSandboxSupport::getFontFamilyForCharacters): Ditto.
24502 * src/PlatformSupport.cpp:
24503 (WebCore::PlatformSupport::getFontFamilyForCharacters): Ditto.
24504 * src/linux/WebFontInfo.cpp:
24505 (WebKit::WebFontInfo::familyForChars): Modified to get weight and italic properties of the font. Old API uses new API internally.
24507 2011-11-17 Adam Barth <abarth@webkit.org>
24509 [Chromium] Introduce WebSecurityOrigin::isUnique in preparation for removing WebSecurityOrigin::isEmpty
24510 https://bugs.webkit.org/show_bug.cgi?id=72580
24512 Reviewed by Darin Fisher.
24514 We've removed the concept of empty security origins from WebKit because
24515 it doesn't exist in the specs. Now it's time to remove it from the API.
24517 * public/WebSecurityOrigin.h:
24518 (WebKit::WebSecurityOrigin::isUnique):
24520 2011-11-15 Pavel Feldman <pfeldman@google.com>
24522 Web Inspector: introduce Debugger domain capabilities concept.
24523 https://bugs.webkit.org/show_bug.cgi?id=72393
24525 Many of the Preferences that we have in Settings.js and override in DevTools.js
24526 are really not preferences, but capabilities. Protocol clients should have a way
24527 of figuring out whether some capability is present before using it.
24529 Reviewed by Yury Semikhatsky.
24531 * src/js/DevTools.js:
24533 2011-11-11 Adrienne Walker <enne@google.com>
24535 [chromium] Expose mock scrollbars to window.internals
24536 https://bugs.webkit.org/show_bug.cgi?id=72195
24538 Reviewed by James Robinson.
24540 * public/WebSettings.h:
24541 * src/WebSettingsImpl.cpp:
24542 (WebKit::WebSettingsImpl::setMockScrollbarsEnabled):
24543 * src/WebSettingsImpl.h:
24545 2011-11-16 Shawn Singh <shawnsingh@chromium.org>
24547 [chromium] Track property changes for render surfaces.
24548 https://bugs.webkit.org/show_bug.cgi?id=72521
24550 Reviewed by James Robinson.
24553 * tests/CCLayerImplTest.cpp:
24555 * tests/CCRenderSurfaceTest.cpp: Added.
24558 2011-11-16 Alexandre Elias <aelias@google.com>
24560 [chromium] Improvements for page scale delta during commit
24561 https://bugs.webkit.org/show_bug.cgi?id=72471
24563 Reviewed by James Robinson.
24565 Page scale now follows the same commit flow as scroll position:
24566 the delta is folded into m_pageScale at BFAC time, and a "sent" value
24567 is preserved for temporary use until the commit finishes.
24569 I also merged setPageScaleFactor and setPageScaleFactorLimits into one
24570 function on the impl side. The reason is that setPageFactor must
24571 be applied after the limits are updated, but on the other hand setting
24572 the limits first may cause an unnecessary clamp of the scale delta.
24573 Merging the methods avoids this bind.
24575 No new tests. (planning to add later: https://bugs.webkit.org/show_bug.cgi?id=71529)
24577 * src/WebViewImpl.cpp:
24578 (WebKit::WebViewImpl::applyScrollAndScale):
24580 2011-11-16 Dave Michael <dmichael@chromium.org>
24582 Fix up chromium API for creating events, initializing message events
24583 https://bugs.webkit.org/show_bug.cgi?id=71478
24585 - Fix a mistake when checking the exception code during event creation.
24586 - Change WebFrame parameter to pointer so that NULL may be passed.
24588 This is required for the following chromium CL: http://codereview.chromium.org/8437093/
24590 Tested in Chromium by:
24591 ui_test --gtest_filter=*PPAPITest.PostMessage*
24593 Reviewed by Darin Fisher.
24595 * public/WebDOMMessageEvent.h:
24596 * src/WebDOMMessageEvent.cpp:
24597 (WebKit::WebDOMMessageEvent::initMessageEvent):
24598 * src/WebDocument.cpp:
24599 (WebKit::WebDocument::createEvent):
24601 2011-11-16 Sheriff Bot <webkit.review.bot@gmail.com>
24603 Unreviewed, rolling out r100438.
24604 http://trac.webkit.org/changeset/100438
24605 https://bugs.webkit.org/show_bug.cgi?id=72536
24607 Broke unit tests (Requested by jamesr_ on #webkit).
24609 * public/WebScreenInfo.h:
24610 (WebKit::WebScreenInfo::WebScreenInfo):
24611 * src/PlatformSupport.cpp:
24612 * src/WebViewImpl.cpp:
24613 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
24615 2011-11-16 Alexandre Elias <aelias@google.com>
24617 [chromium] Add minimum/maximumPageScaleFactor API and clamp fixes
24618 https://bugs.webkit.org/show_bug.cgi?id=72463
24620 Reviewed by Darin Fisher.
24622 We need a way to read back the computed min/max page scale factor in
24623 order to support the software path, and for some application logic
24624 such as zooming in/out when tapping form fields.
24626 I also added a few clamp calls that are needed in some corner cases.
24628 * public/WebView.h:
24629 * src/WebViewImpl.cpp:
24630 (WebKit::WebViewImpl::setPageScaleFactor):
24631 (WebKit::WebViewImpl::setPageScaleFactorLimits):
24632 (WebKit::WebViewImpl::minimumPageScaleFactor):
24633 (WebKit::WebViewImpl::maximumPageScaleFactor):
24634 * src/WebViewImpl.h:
24636 2011-11-16 Vsevolod Vlasov <vsevik@chromium.org>
24638 Web Inspector: Application cache status should be updated after swapCache().
24639 https://bugs.webkit.org/show_bug.cgi?id=72123
24641 Reviewed by Pavel Feldman.
24643 * src/ApplicationCacheHost.cpp:
24644 (WebCore::ApplicationCacheHost::swapCache):
24646 2011-11-16 Iain Merrick <husky@google.com>
24648 [chromium] Pass screen refresh rate into compositor.
24649 https://bugs.webkit.org/show_bug.cgi?id=71040
24651 Reviewed by Tony Gentilcore.
24653 * public/WebScreenInfo.h:
24654 (WebKit::WebScreenInfo::WebScreenInfo):
24655 * src/PlatformSupport.cpp:
24656 (WebCore::PlatformSupport::screenRefreshRate):
24657 * src/WebViewImpl.cpp:
24658 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
24660 2011-11-15 Sheriff Bot <webkit.review.bot@gmail.com>
24662 Unreviewed, rolling out r100340.
24663 http://trac.webkit.org/changeset/100340
24664 https://bugs.webkit.org/show_bug.cgi?id=72448
24666 Caused assertion failure in Win dbg canary. (Requested by
24667 pkasting on #webkit).
24669 * tests/CCLayerTreeHostImplTest.cpp:
24671 2011-11-15 Nat Duca <nduca@chromium.org>
24673 [chromium] Fuse MainThread and CCThread
24674 https://bugs.webkit.org/show_bug.cgi?id=72426
24676 Reviewed by James Robinson.
24680 * src/CCMainThreadImpl.cpp: Removed.
24681 * src/CCThreadImpl.cpp:
24682 (WebKit::CCThreadImpl::CCThreadImpl):
24683 * src/WebCompositorImpl.cpp:
24684 (WebKit::WebCompositor::setThread):
24686 (WebKit::initializeWithoutV8):
24687 (WebKit::shutdown):
24688 * tests/CCLayerTreeHostTest.cpp:
24689 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
24690 (WTF::CCLayerTreeHostTest::endTest):
24691 * tests/CCThreadTest.cpp: Removed.
24693 2011-11-15 Jochen Eisinger <jochen@chromium.org>
24695 Rename ReferrerPolicy to clarify its meaning
24696 https://bugs.webkit.org/show_bug.cgi?id=72420
24698 Reviewed by Nate Chapin.
24700 * src/WebPluginContainerImpl.cpp:
24701 (WebKit::WebPluginContainerImpl::loadFrameRequest):
24703 2011-11-15 Anders Carlsson <andersca@apple.com>
24705 HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
24706 https://bugs.webkit.org/show_bug.cgi?id=72397
24708 Reviewed by Dan Bernstein.
24710 * src/ChromeClientImpl.cpp:
24711 (WebKit::ChromeClientImpl::screenToRootView):
24712 (WebKit::ChromeClientImpl::rootViewToScreen):
24713 * src/ChromeClientImpl.h:
24714 * src/WebPopupMenuImpl.cpp:
24715 (WebKit::WebPopupMenuImpl::screenToRootView):
24716 (WebKit::WebPopupMenuImpl::rootViewToScreen):
24717 * src/WebPopupMenuImpl.h:
24718 * src/WebViewImpl.cpp:
24719 (WebKit::WebViewImpl::refreshAutofillPopup):
24721 2011-11-15 Scott Graham <scottmg@chromium.org>
24723 [Chromium] gamepad changes to the public interface of Chromium port
24724 https://bugs.webkit.org/show_bug.cgi?id=71518
24726 Reviewed by Darin Fisher.
24728 Adds stubs for Chromium port, and defines shared memory structure to
24729 be used between browser and WebKit.
24731 Includes just the parts that touch the public interface so they can be
24732 reviewed separately. See also:
24733 https://bugs.webkit.org/show_bug.cgi?id=69451 and
24734 http://codereview.chromium.org/8345027
24737 * public/WebGamepad.h: Added.
24738 (WebKit::WebGamepad::WebGamepad):
24739 * public/WebGamepads.h: Added.
24740 (WebKit::WebGamepads::WebGamepads):
24741 * public/WebKitPlatformSupport.h:
24742 (WebKit::WebKitPlatformSupport::sampleGamepads):
24743 * public/WebRuntimeFeatures.h:
24744 * src/WebRuntimeFeatures.cpp:
24745 (WebKit::WebRuntimeFeatures::enableGamepad):
24746 (WebKit::WebRuntimeFeatures::isGamepadEnabled):
24748 2011-11-14 Anders Carlsson <andersca@apple.com>
24750 HostWindow invalidation functions should use root view coordinates
24751 https://bugs.webkit.org/show_bug.cgi?id=72338
24753 Reviewed by Dan Bernstein.
24755 * src/ChromeClientImpl.cpp:
24756 (WebKit::ChromeClientImpl::invalidateRootView):
24757 (WebKit::ChromeClientImpl::invalidateContentsAndRootView):
24758 (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll):
24759 * src/ChromeClientImpl.h:
24760 * src/WebPopupMenuImpl.cpp:
24761 (WebKit::WebPopupMenuImpl::invalidateRootView):
24762 (WebKit::WebPopupMenuImpl::invalidateContentsAndRootView):
24763 (WebKit::WebPopupMenuImpl::invalidateContentsForSlowScroll):
24764 * src/WebPopupMenuImpl.h:
24766 2011-11-15 Pavel Feldman <pfeldman@google.com>
24768 Web Inspector: move generic code from DevTools.js into the WebCore.
24769 https://bugs.webkit.org/show_bug.cgi?id=72377
24771 re-landing r100269.
24773 Reviewed by Yury Semikhatsky.
24775 * src/js/DevTools.js:
24776 (WebInspector.setInspectedTabId):
24778 2011-11-15 Sheriff Bot <webkit.review.bot@gmail.com>
24780 Unreviewed, rolling out r100269.
24781 http://trac.webkit.org/changeset/100269
24782 https://bugs.webkit.org/show_bug.cgi?id=72383
24784 "Broke dozens of tests due to exception in loadingFinished"
24785 (Requested by tonyg-cr on #webkit).
24787 * src/js/DevTools.js:
24789 (devtools.domContentLoaded):
24790 (WebInspector.UIString):
24791 (WebInspector.setToolbarColors):
24792 (WebInspector.resetToolbarColors):
24793 (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
24795 2011-11-15 Pavel Feldman <pfeldman@google.com>
24797 Web Inspector: move generic code from DevTools.js into the WebCore.
24798 https://bugs.webkit.org/show_bug.cgi?id=72377
24800 This includes support for themed toolbar, remote debugging routines,
24801 removes a couple of obsolete overrides from the DevTools.js
24803 Reviewed by Yury Semikhatsky.
24805 * src/js/DevTools.js:
24806 (WebInspector.setInspectedTabId):
24808 2011-11-15 Alpha Lam <hclam@chromium.org>
24810 [chromium] scroll deltas are cleared during commit to the main thread
24811 https://bugs.webkit.org/show_bug.cgi?id=71916
24813 Reviewed by James Robinson.
24815 Modify test to verify sentScrollDeltas() values of CCLayerImpl during commit.
24817 * tests/CCLayerTreeHostImplTest.cpp:
24820 2011-11-14 Julien Chaffraix <jchaffraix@webkit.org>
24822 [chromium] Fix the build after moving some arrays to WTF
24823 https://bugs.webkit.org/show_bug.cgi?id=72345
24825 Reviewed by Dirk Pranke.
24827 * public/WebArrayBufferView.h: s/WebCore/WTF/g.
24829 2011-11-14 Ian Vollick <vollick@chromium.org>
24831 Expose compositeAndReadback in WebLayerTreeView
24832 https://bugs.webkit.org/show_bug.cgi?id=72188
24834 Reviewed by Darin Fisher.
24836 * public/WebLayerTreeView.h:
24837 * src/WebLayerTreeView.cpp:
24838 (WebKit::WebLayerTreeView::compositeAndReadback):
24840 2011-11-14 Raymond Toy <rtoy@google.com>
24842 Add buffering to handle mismatch between hardware buffer size and webaudio render size
24843 https://bugs.webkit.org/show_bug.cgi?id=71949
24845 Reviewed by Kenneth Russell.
24847 * src/AudioDestinationChromium.cpp:
24848 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
24849 Create the FIFO for buffering.
24850 (WebCore::AudioDestinationChromium::render): Get rid of
24851 m_renderCountPerCallback and let the FIFO consume function produce
24852 the appropriate nubmer of calls to the webaudio producer. Also
24853 remove the rounding of the callback size so we use whatever the
24854 hardware returns. Removed maximumCallbackBufferSize and use
24855 fifoSize to set the FIFO size.
24856 (WebCore::AudioDestinationChromium::FIFO::FIFO):
24857 (WebCore::AudioDestinationChromium::FIFO::consume):
24858 (WebCore::AudioDestinationChromium::FIFO::findWrapLengths):
24859 (WebCore::AudioDestinationChromium::FIFO::fillBuffer):
24860 Implementation of new FIFO class.
24861 * src/AudioDestinationChromium.h:
24862 (WebCore::AudioDestinationChromium::FIFO::updateIndex):
24863 Define new FIFO class.
24865 2011-11-14 Adrienne Walker <enne@google.com>
24867 [chromium] Pipe compositor commit/swap up to WebWidgetClient
24868 https://bugs.webkit.org/show_bug.cgi?id=72041
24870 Reviewed by Darin Fisher.
24872 * public/WebWidgetClient.h:
24873 (WebKit::WebWidgetClient::didCommitAndDrawCompositorFrame):
24874 (WebKit::WebWidgetClient::didCompleteSwapBuffers):
24875 * src/WebLayerTreeViewImpl.cpp:
24876 (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
24877 (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
24878 * src/WebLayerTreeViewImpl.h:
24879 * src/WebViewImpl.cpp:
24880 (WebKit::WebViewImpl::didCommitAndDrawFrame):
24881 (WebKit::WebViewImpl::didCompleteSwapBuffers):
24882 * src/WebViewImpl.h:
24883 * tests/CCLayerTreeHostTest.cpp:
24884 (WTF::MockLayerTreeHostClient::didCommitAndDrawFrame):
24885 (WTF::MockLayerTreeHostClient::didCompleteSwapBuffers):
24887 2011-11-14 Tony Chang <tony@chromium.org>
24889 Remove the CSS3_FLEXBOX compile time flag and enable on all ports
24890 https://bugs.webkit.org/show_bug.cgi?id=72196
24892 Reviewed by Ojan Vafai.
24896 2011-11-14 Fady Samuel <fsamuel@chromium.org>
24898 [Chromium] setPageScaleFactor and associated methods should take scaling limits into account
24899 https://bugs.webkit.org/show_bug.cgi?id=72176
24901 Reviewed by Darin Fisher.
24903 A couple of changes:
24905 1. setPageScaleFactorLimits now affects the behavior of other scaling methods
24906 including setPageScaleFactor.
24907 2. setPageScaleFactorPreservingScrollOffset introduced that scales the scroll offset
24908 along with the page, preserving the scroll position within the page bounds.
24911 * public/WebView.h:
24912 * src/WebViewImpl.cpp:
24913 (WebKit::WebViewImpl::WebViewImpl):
24914 (WebKit::WebViewImpl::computePageScaleFactorWithinLimits):
24915 (WebKit::WebViewImpl::clampOffsetAtScale):
24916 (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
24917 (WebKit::WebViewImpl::setPageScaleFactor):
24918 (WebKit::WebViewImpl::setPageScaleFactorLimits):
24919 (WebKit::WebViewImpl::applyScrollAndScale):
24920 * src/WebViewImpl.h:
24922 2011-11-14 Vincent Scheib <scheib@chromium.org>
24924 Mouse Lock: Renaming to 'Pointer Lock': Runtime Enable Flags
24925 https://bugs.webkit.org/show_bug.cgi?id=72303
24927 Reviewed by Darin Fisher.
24929 * public/WebRuntimeFeatures.h:
24930 * public/WebSettings.h:
24931 * src/WebRuntimeFeatures.cpp:
24932 (WebKit::WebRuntimeFeatures::enablePointerLock):
24933 (WebKit::WebRuntimeFeatures::isPointerLockEnabled):
24934 * src/WebSettingsImpl.cpp:
24935 (WebKit::WebSettingsImpl::setPointerLockEnabled):
24936 * src/WebSettingsImpl.h:
24938 2011-11-14 Sheriff Bot <webkit.review.bot@gmail.com>
24940 Unreviewed, rolling out r100176.
24941 http://trac.webkit.org/changeset/100176
24942 https://bugs.webkit.org/show_bug.cgi?id=72309
24944 it broke the Mac builds (missing symbols) in a non-obvious way
24945 (Requested by jchaffraix on #webkit).
24947 * public/WebGraphicsContext3D.h:
24948 * src/GraphicsContext3DChromium.cpp:
24949 * src/GraphicsContext3DPrivate.h:
24950 * tests/MockWebGraphicsContext3D.h:
24952 2011-11-14 Adam Barth <abarth@webkit.org>
24954 Remove the concept of an empty SecurityOrigin
24955 https://bugs.webkit.org/show_bug.cgi?id=72287
24957 Reviewed by Eric Seidel.
24959 I'll rename the API in a subsequent patch.
24961 * src/WebSecurityOrigin.cpp:
24962 (WebKit::WebSecurityOrigin::isEmpty):
24964 2011-11-14 Vincent Scheib <scheib@chromium.org>
24966 Mouse Lock: Renaming to 'Pointer Lock': ENABLE Flags
24967 https://bugs.webkit.org/show_bug.cgi?id=72286
24969 Reviewed by Adam Barth.
24972 * src/WebRuntimeFeatures.cpp:
24973 (WebKit::WebRuntimeFeatures::enableMouseLockAPI):
24974 (WebKit::WebRuntimeFeatures::isMouseLockAPIEnabled):
24975 * src/WebSettingsImpl.cpp:
24976 (WebKit::WebSettingsImpl::setMouseLockEnabled):
24978 2011-11-14 Gregg Tavares <gman@google.com>
24980 Implement WEBGL_EXPERIMENTAL_compressed_textures WebGL extension
24981 https://bugs.webkit.org/show_bug.cgi?id=72086
24983 Reviewed by Kenneth Russell.
24985 * public/WebGraphicsContext3D.h:
24986 * src/GraphicsContext3DChromium.cpp:
24987 * src/GraphicsContext3DPrivate.h:
24988 * tests/MockWebGraphicsContext3D.h:
24989 (WebKit::MockWebGraphicsContext3D::compressedTexImage2D):
24990 (WebKit::MockWebGraphicsContext3D::compressedTexSubImage2D):
24992 2011-11-14 Tommy Widenflycht <tommyw@google.com>
24994 [chromium] MediaStream API: Adding a sources() method to WebMediaStreamDescriptor
24995 https://bugs.webkit.org/show_bug.cgi?id=72116
24997 Reviewed by Darin Fisher.
24999 * public/WebMediaStreamDescriptor.h:
25000 * public/WebMediaStreamSource.h:
25001 * src/WebMediaStreamDescriptor.cpp:
25002 (WebKit::WebMediaStreamDescriptor::sources):
25003 * src/WebMediaStreamSource.cpp:
25004 (WebKit::WebMediaStreamSource::operator=):
25006 2011-11-14 Tommy Widenflycht <tommyw@google.com>
25008 [chromium] MediaStream API: Allow for null WebPeerConnectionHandler
25009 https://bugs.webkit.org/show_bug.cgi?id=72114
25011 Fixing crash if WebKitPlatformSupport returns a null WebPeerConnectionHandler
25012 to PeerConnectionHandlerInternal.
25014 Reviewed by Adam Barth.
25016 * bridge/PeerConnectionHandlerInternal.cpp:
25017 (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
25018 (WebCore::PeerConnectionHandlerInternal::produceInitialOffer):
25019 (WebCore::PeerConnectionHandlerInternal::handleInitialOffer):
25020 (WebCore::PeerConnectionHandlerInternal::processSDP):
25021 (WebCore::PeerConnectionHandlerInternal::processPendingStreams):
25022 (WebCore::PeerConnectionHandlerInternal::sendDataStreamMessage):
25023 (WebCore::PeerConnectionHandlerInternal::stop):
25024 (WebCore::PeerConnectionHandlerInternal::didCompleteICEProcessing):
25025 (WebCore::PeerConnectionHandlerInternal::didGenerateSDP):
25026 (WebCore::PeerConnectionHandlerInternal::didReceiveDataStreamMessage):
25027 (WebCore::PeerConnectionHandlerInternal::didAddRemoteStream):
25028 (WebCore::PeerConnectionHandlerInternal::didRemoveRemoteStream):
25029 * public/WebKitPlatformSupport.h:
25031 2011-11-14 Jonathan Backer <backer@chromium.org>
25033 [chromium] Plumb through partial swap
25034 https://bugs.webkit.org/show_bug.cgi?id=72028
25036 Reviewed by Kenneth Russell.
25038 * public/WebGraphicsContext3D.h:
25039 * src/Extensions3DChromium.cpp:
25040 (WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
25041 * src/GraphicsContext3DChromium.cpp:
25042 * src/GraphicsContext3DPrivate.h:
25043 * tests/MockWebGraphicsContext3D.h:
25044 (WebKit::MockWebGraphicsContext3D::postSubBufferCHROMIUM):
25046 2011-11-14 Iain Merrick <husky@google.com>
25048 [chromium] Fix incorrect usage of ASSERT in CCLayerTreeHostTest
25049 https://bugs.webkit.org/show_bug.cgi?id=72026
25051 ASSERT is stripped out in release builds so it shouldn't be used
25052 in unit tests, except when calling debug-only functions like
25055 Replacing with ASSERT_TRUE (or EXPECT_TRUE in constructors, where
25056 we can't return a value).
25058 Reviewed by Tony Gentilcore.
25060 * tests/CCLayerTreeHostTest.cpp:
25061 (WTF::MockLayerTreeHost::MockLayerTreeHost):
25062 (WTF::CCLayerTreeHostTest::onEndTest):
25063 (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommit):
25064 (WTF::CCLayerTreeHostTest::dispatchSetNeedsRedraw):
25065 (WTF::CCLayerTreeHostTest::runTest):
25066 (WTF::CCLayerTreeHostTest::doBeginTest):
25068 2011-11-14 Alexander Pavlov <apavlov@chromium.org>
25070 [chromium] r99963 causes inspector/debugger/script-formatter.html to fail text diff
25071 https://bugs.webkit.org/show_bug.cgi?id=72204
25073 The concatenate_script_formatter_worker_js action (along with concatenate_heap_snapshot_worker_js)
25074 did not depend on their 'input_file' files and, hence, did not get invoked on their input_file changes.
25076 Reviewed by Yury Semikhatsky.
25080 2011-11-13 Nat Duca <nduca@chromium.org>
25082 [chromium] LayerRendererChromium::initialize should fail when GaphicsContext3D::makeCurrent fails
25083 https://bugs.webkit.org/show_bug.cgi?id=72102
25085 Reviewed by James Robinson.
25087 * src/WebViewImpl.cpp:
25088 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
25090 2011-11-13 Kent Tamura <tkent@chromium.org>
25092 [Chromium] Remove WebFileChooserParams::acceptTypes
25093 https://bugs.webkit.org/show_bug.cgi?id=71998
25095 Reviewed by Darin Fisher.
25097 * public/WebFileChooserParams.h: Remove acceptTypes.
25098 * src/ChromeClientImpl.cpp:
25099 (WebKit::ChromeClientImpl::runOpenPanel): Remove acceptTypes generatio code.
25101 2011-11-11 Nico Weber <thakis@chromium.org>
25103 [chromium] Remove 2 static initializers and 3 exit time destructors. Turn on -Wexit-time-destructors.
25104 https://bugs.webkit.org/show_bug.cgi?id=72146
25106 Reviewed by Nate Chapin.
25109 * src/DebuggerAgentManager.cpp:
25110 (WebKit::DebuggerAgentManager::debugHostDispatchHandler):
25111 (WebKit::DebuggerAgentManager::onWebViewClosed):
25112 * src/DebuggerAgentManager.h:
25113 * src/WebAccessibilityObject.cpp:
25114 (WebKit::WebAccessibilityObject::keyboardShortcut):
25115 * src/WebViewImpl.cpp:
25116 (WebKit::pageGroupLoadDeferrerStack):
25117 (WebKit::WebView::willEnterModalLoop):
25118 (WebKit::WebView::didExitModalLoop):
25120 2011-11-11 Nat Duca <nduca@chromium.org>
25122 Since GraphicsContext3D::makeContextCurrent can fail, return bool.
25124 https://bugs.webkit.org/show_bug.cgi?id=72101
25126 Reviewed by Kenneth Russell.
25128 * src/GraphicsContext3DChromium.cpp:
25130 2011-11-11 Ojan Vafai <ojan@chromium.org>
25132 Unreviewed. Rolled DEPS.
25133 https://bugs.webkit.org/show_bug.cgi?id=72174
25137 2011-11-11 James Robinson <jamesr@chromium.org>
25139 Rollout http://trac.webkit.org/changeset/99844
25140 Solution is more complicated than the problem it was intended to solve.
25142 * tests/CCLayerTreeHostImplTest.cpp:
25145 2011-11-11 Iain Merrick <husky@google.com>
25147 [chromium] CCThreadProxy::finishAllRendering hangs if !visible
25148 https://bugs.webkit.org/show_bug.cgi?id=71920
25150 Reviewed by James Robinson.
25152 * tests/CCSchedulerStateMachineTest.cpp:
25155 2011-11-11 Antoine Labour <piman@chromium.org>
25157 [chromium] Add translation/scaling to WebExternalTextureLayer
25158 https://bugs.webkit.org/show_bug.cgi?id=72087
25160 Reviewed by James Robinson.
25162 * public/WebExternalTextureLayer.h:
25163 * src/WebExternalTextureLayer.cpp:
25164 (WebKit::WebExternalTextureLayer::setUVRect):
25165 (WebKit::WebExternalTextureLayer::uvRect):
25167 2011-11-11 Adam Klein <adamk@chromium.org>
25169 Remove no-op StorageNamespace::unlock method
25170 https://bugs.webkit.org/show_bug.cgi?id=72181
25172 Reviewed by Darin Adler.
25174 * src/StorageNamespaceProxy.cpp:
25175 * src/StorageNamespaceProxy.h:
25177 2011-11-11 Stephen Chenney <schenney@chromium.org>
25179 [Chromium] DRT does not have LayoutTestController.pageSizeAndMarginsInPixels
25180 https://bugs.webkit.org/show_bug.cgi?id=49257
25182 Add the WebFrame::getPageProperty method for Chromium.
25184 Reviewed by Darin Fisher.
25186 * public/WebFrame.h:
25187 * src/WebFrameImpl.cpp:
25188 (WebKit::WebFrameImpl::getPageProperty):
25189 * src/WebFrameImpl.h:
25191 2011-11-11 Jeff Timanus <twiz@chromium.org>
25193 [chromium] Patch that implementing the changes required to allow WebGL
25194 to share its backing store directly with the compositor.
25195 WebGL rendering contexts create and render to FBOs managed by a
25196 DrawingBuffer instance. All PlatformLayer lifetime management is
25197 performed by the DrawingBuffer.
25198 Changes are only relevant to Chromium ports. Functionality is
25199 unchanged for other ports.
25200 https://bugs.webkit.org/show_bug.cgi?id=53201
25202 Reviewed by Stephen White.
25204 * src/GraphicsContext3DChromium.cpp: GraphicsContext3DPrivate no longer caches
25205 the WebGLLayerChromium instance. Instead, it is accessed via DrawingBuffer instances
25206 passed as arguments to the necessary routines.
25207 (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
25208 (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
25209 (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
25210 (WebCore::GraphicsContext3D::~GraphicsContext3D):
25211 (WebCore::GraphicsContext3D::platformLayer):
25212 (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
25213 (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
25214 * src/GraphicsContext3DPrivate.h:
25216 2011-11-11 Sheriff Bot <webkit.review.bot@gmail.com>
25218 Unreviewed, rolling out r100010.
25219 http://trac.webkit.org/changeset/100010
25220 https://bugs.webkit.org/show_bug.cgi?id=72172
25222 "Broke gclient syncing on the chromium bots." (Requested by
25227 2011-11-11 Ojan Vafai <ojan@chromium.org>
25229 Unreviewed. Rolled DEPS.
25233 2011-11-11 James Robinson <jamesr@chromium.org>
25235 [chromium] Fix CCLayerTreeHost leak in webkit_unit_tests
25236 https://bugs.webkit.org/show_bug.cgi?id=72081
25238 Reviewed by Kenneth Russell.
25240 LayerChromium and CCLayerTreeHosts hold RefPtr<>s to each other, so if
25241 you do not clear out the layerTreeHost pointer on the LayerChromium
25242 the layer tree is leaked. The real code does this in WebViewImpl but
25245 * tests/CCLayerTreeHostTest.cpp:
25246 (WTF::CCLayerTreeHostTest::runTest):
25247 (WTF::CCLayerTreeHostTest::doBeginTest):
25249 2011-11-11 Sheriff Bot <webkit.review.bot@gmail.com>
25251 Unreviewed, rolling out r99826.
25252 http://trac.webkit.org/changeset/99826
25253 https://bugs.webkit.org/show_bug.cgi?id=72109
25255 "Likely causing test flakiness" (Requested by tonyg-cr on
25258 * tests/FrameTestHelpers.cpp:
25259 (WebKit::FrameTestHelpers::registerMockedURLLoad):
25260 (WebKit::FrameTestHelpers::createWebViewAndLoad):
25261 * tests/FrameTestHelpers.h:
25262 * tests/WebFrameTest.cpp:
25263 (WebKit::WebFrameTest::registerMockedHttpURLLoad):
25264 (WebKit::WebFrameTest::registerMockedChromeURLLoad):
25266 * tests/WebViewTest.cpp:
25268 * tests/data/page_with_image.mht: Removed.
25270 2011-11-10 Daniel Cheng <dcheng@chromium.org>
25272 [chromium] Add plumbing for JS to write to clipboard in copy/cut events.
25273 https://bugs.webkit.org/show_bug.cgi?id=71414
25275 Reviewed by Darin Fisher.
25277 * public/WebClipboard.h:
25278 (WebKit::WebClipboard::writeDataObject):
25279 * src/PlatformSupport.cpp:
25280 (WebCore::PlatformSupport::clipboardWriteDataObject):
25282 2011-11-10 Vsevolod Vlasov <vsevik@chromium.org>
25284 Unreviewed. Rolled DEPS.
25288 2011-11-10 Iain Merrick <husky@google.com>
25290 [Chromium] Fix CCLayerTreeHostImplTest::scrollRootCallsCommitAndRedraw
25291 https://bugs.webkit.org/show_bug.cgi?id=72027
25293 We weren't calling setScrollable(true) when setting up the test, so
25294 scroll events were being ignored. Test failed in debug builds, but passed
25295 in release because we were using ASSERT instead of ASSERT_TRUE.
25297 Reviewed by Tony Gentilcore.
25299 * tests/CCLayerTreeHostImplTest.cpp:
25302 2011-11-10 Alpha Lam <hclam@chromium.org>
25304 [chromium] Scroll deltas are cleared during commit to the main thread
25305 https://bugs.webkit.org/show_bug.cgi?id=71916
25307 Reviewed by James Robinson.
25309 * tests/CCLayerTreeHostImplTest.cpp:
25311 CCLayerTreeHostImplTest.scrollDeltaRepeatedScrolls
25312 This test is modified to verify that CCLayerTreeHostImpl::processScrollDeltas()
25313 maintain the current scroll deltas and scroll positions.
25314 It also verifies that scroll deltas are subtracted correctly by calling
25315 CCLayerTreeHostCommon::applyScrollAndScale().
25316 * tests/CCLayerTreeHostTest.cpp:
25317 (WTF::CCLayerTreeHostTest::doBeginTest):
25318 call setLayerTreeHost() on the root layer.
25320 2011-11-10 Jay Civelli <jcivelli@chromium.org>
25322 Fix progress load reporting for MHTML documents.
25324 MHTML documents containing references to resources they don't include
25325 never finish loading.
25326 https://bugs.webkit.org/show_bug.cgi?id=71859
25328 Reviewed by Adam Barth.
25330 * tests/FrameTestHelpers.cpp:
25331 (WebKit::FrameTestHelpers::registerMockedURLLoadAsHTML):
25332 (WebKit::FrameTestHelpers::registerMockedURLLoad):
25333 (WebKit::FrameTestHelpers::createWebViewAndLoad):
25334 * tests/FrameTestHelpers.h:
25335 * tests/WebFrameTest.cpp:
25336 (WebKit::WebFrameTest::registerMockedHttpURLLoad):
25337 (WebKit::WebFrameTest::registerMockedChromeURLLoad):
25339 * tests/WebViewTest.cpp:
25341 * tests/data/page_with_image.mht: Added.
25343 2011-11-09 Tommy Widenflycht <tommyw@google.com>
25345 [chromium] MediaStream API: Add WebMediaStreamRegistry
25346 https://bugs.webkit.org/show_bug.cgi?id=71458
25348 Reviewed by Darin Fisher.
25351 * public/WebMediaStreamRegistry.h: Added.
25352 * src/WebMediaStreamRegistry.cpp: Added.
25353 (WebKit::WebMediaStreamRegistry::lookupMediaStreamDescriptor):
25355 2011-11-09 Alexandre Elias <aelias@google.com>
25357 [chromium] Add draw-time scale delta to compositor thread
25358 https://bugs.webkit.org/show_bug.cgi?id=71595
25360 Reviewed by James Robinson.
25362 There are two magnify values:
25363 1. The WebKit-side pageScale value corresponding to the resolution of
25364 the painted content.
25365 2. The Impl-side-only scaleDelta value representing the additional
25366 degree of current magnification, applied as a draw transform. WebKit
25367 is never explicitly aware of this value and the only way to change it
25368 currently is via pinch events (and in the future, double-tap/etc
25369 events). At the end of a pinch zoom, we multiply pageScale *
25370 scaleDelta and tell WebKit to use it as the new pageScale.
25372 Scroll offsets and max-extents are maintained in pageScale space.
25373 When the scale changes, we need to take care to convert them to the
25374 new scale and avoid getting them clamped to the extents at the wrong
25377 I removed maxScrollPosition on the non-impl side because it makes no
25378 sense to precompute it in the presence of an impl-side zoom. Replaced
25379 with a simple 'bool m_scrollable'.
25381 zoomAnimatorTransform is not used because it currently isn't in the
25382 branch, and mostly doesn't behave the way we want anyway (it does most
25383 things in WebKit thread). We will need to unify these later.
25385 Also introduce deviceOrPageScaleFactorChanged() call which invalidates
25388 * public/WebLayerTreeViewClient.h:
25389 * public/WebView.h:
25390 * src/WebCompositorImpl.cpp:
25391 * src/WebLayerTreeViewImpl.cpp:
25392 (WebKit::WebLayerTreeViewImpl::applyScrollAndScale):
25393 * src/WebLayerTreeViewImpl.h:
25394 * src/WebViewImpl.cpp:
25395 (WebKit::WebViewImpl::enableFixedLayoutMode):
25396 (WebKit::WebViewImpl::setPageScaleFactorLimits):
25397 (WebKit::WebViewImpl::applyScrollAndScale):
25398 (WebKit::WebViewImpl::updateLayerTreeViewport):
25399 * src/WebViewImpl.h:
25400 * tests/CCLayerTreeHostImplTest.cpp:
25401 (WebKit::CCLayerTreeHostImplTest::expectContains):
25403 * tests/CCLayerTreeHostTest.cpp:
25404 (WTF::TestHooks::applyScrollAndScale):
25405 (WTF::MockLayerTreeHostClient::applyScrollAndScale):
25406 (WTF::CCLayerTreeHostTestScrollSimple::beginTest):
25407 (WTF::CCLayerTreeHostTestScrollSimple::drawLayersOnCCThread):
25408 (WTF::CCLayerTreeHostTestScrollSimple::applyScrollAndScale):
25409 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginTest):
25410 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
25411 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::applyScrollAndScale):
25413 2011-11-09 Dominic Mazzoni <dmazzoni@google.com>
25415 Fix crash by handling case when AccessibilityObject::lineForPosition
25417 https://bugs.webkit.org/show_bug.cgi?id=71561
25419 Adds layout test: platform/chromium/accessibility/insertion-point-line-number-on-password-crashes.html
25421 Reviewed by Dimitri Glazkov.
25423 * src/WebAccessibilityObject.cpp:
25424 (WebKit::WebAccessibilityObject::lineBreaks):
25426 2011-11-09 Jay Civelli <jcivelli@chromium.org>
25428 Fix MHTML generation to use the QuotedPrintable encoding for text resources.
25429 This was regressed when we added binary encoding support.
25430 https://bugs.webkit.org/show_bug.cgi?id=71857
25432 Reviewed by Adam Barth.
25434 * tests/WebPageNewSerializerTest.cpp:
25435 (WebKit::LineReader::LineReader):
25436 (WebKit::LineReader::getNextLine):
25437 (WebKit::WebPageNewSerializeTest::setUpCSSTestPage):
25440 2011-11-09 Henrik Grunell <grunell@chromium.org>
25442 Adding missing implementation of WebMediaStreamDescriptor::label().
25444 [Chromium] Missing WebMediaStreamDescriptor::label() implementation
25445 https://bugs.webkit.org/show_bug.cgi?id=71657
25447 Reviewed by Adam Barth.
25449 * src/WebMediaStreamDescriptor.cpp:
25450 (WebKit::WebMediaStreamDescriptor::label):
25452 2011-11-09 Alexei Svitkine <asvitkine@chromium.org>
25454 Chromium: Add plumbing to enable dragging dev tools via the empty space on the toolbar.
25455 https://bugs.webkit.org/show_bug.cgi?id=71842
25457 These are the only WebKit-side changes needed. The rest will be done on the Chromium side.
25459 Chromium bug: http://crbug.com/44350
25461 Reviewed by Pavel Feldman.
25463 * public/WebDevToolsFrontendClient.h:
25464 (WebKit::WebDevToolsFrontendClient::moveWindowBy):
25465 * src/InspectorFrontendClientImpl.cpp:
25466 (WebKit::InspectorFrontendClientImpl::moveWindowBy):
25468 2011-11-08 Jay Civelli <jcivelli@chromium.org>
25470 Fixes and reenables the WebPageSerializer tests.
25471 https://bugs.webkit.org/show_bug.cgi?id=71874
25473 Reviewed by Adam Barth.
25476 * tests/WebPageNewSerializerTest.cpp:
25477 (WebKit::TestWebFrameClient::~TestWebFrameClient):
25478 (WebKit::WebPageNewSerializeTest::SetUp):
25479 (WebKit::WebPageNewSerializeTest::resourceVectorContains):
25481 * tests/WebPageSerializerTest.cpp:
25482 (WebKit::WebPageSerializerTest::WebPageSerializerTest):
25483 (WebKit::WebPageSerializerTest::webVectorContains):
25486 2011-11-07 Adam Barth <abarth@webkit.org>
25488 Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
25489 https://bugs.webkit.org/show_bug.cgi?id=71755
25491 Reviewed by Eric Seidel.
25493 * src/WebFrameImpl.cpp:
25494 (WebKit::WebFrameImpl::setReferrerForRequest):
25495 * src/WebSecurityPolicy.cpp:
25496 (WebKit::WebSecurityPolicy::addOriginAccessWhitelistEntry):
25497 (WebKit::WebSecurityPolicy::removeOriginAccessWhitelistEntry):
25498 (WebKit::WebSecurityPolicy::resetOriginAccessWhitelists):
25499 (WebKit::WebSecurityPolicy::shouldHideReferrer):
25500 * src/WebViewImpl.cpp:
25501 (WebKit::WebViewImpl::initializeMainFrame):
25503 2011-11-08 Nat Duca <nduca@chromium.org>
25505 [chromium] When GC3DPrivate::initializExtensions fails, dont keep retrying
25506 https://bugs.webkit.org/show_bug.cgi?id=71637
25508 Reviewed by Kenneth Russell.
25510 * src/GraphicsContext3DChromium.cpp:
25511 (WebCore::GraphicsContext3DPrivate::initializeExtensions):
25513 2011-11-08 Adam Klein <adamk@chromium.org>
25515 Use a typedef for ExceptionCode in all header files instead of including ExceptionCode.h
25516 https://bugs.webkit.org/show_bug.cgi?id=71845
25518 Reviewed by Adam Barth.
25520 * src/SharedWorkerRepository.cpp:
25522 2011-11-08 Fady Samuel <fsamuel@chromium.org>
25524 Delete WebViewimpl::scalePage
25525 https://bugs.webkit.org/show_bug.cgi?id=71711
25527 Reviewed by Darin Fisher.
25529 Once this patch lands: http://codereview.chromium.org/8477033
25531 WebViewImpl::scalePage will no longer be used in Chromium and
25532 can safely be deleted.
25534 * public/WebView.h:
25535 * src/WebViewImpl.cpp:
25536 * src/WebViewImpl.h:
25538 2011-11-08 Joshua Bell <jsbell@chromium.org>
25540 IndexedDB: implement compound (array) key support
25541 https://bugs.webkit.org/show_bug.cgi?id=62284
25543 Reviewed by Tony Chang.
25545 Extend WebKit API to support Array values as IDBKeys.
25547 * public/WebIDBKey.h:
25548 * src/AssertMatchingEnums.cpp:
25549 * src/WebIDBKey.cpp:
25550 (WebKit::WebIDBKey::createArray):
25551 (WebKit::convertFromWebIDBKeyArray):
25552 (WebKit::convertToWebIDBKeyArray):
25553 (WebKit::WebIDBKey::assignArray):
25554 (WebKit::WebIDBKey::array):
25555 * tests/IDBBindingUtilitiesTest.cpp:
25557 * tests/IDBLevelDBCodingTest.cpp:
25558 (IDBLevelDBCoding::createArrayIDBKey):
25559 (IDBLevelDBCoding::TEST):
25560 (IDBLevelDBCoding::compareStrings):
25562 2011-11-08 Yury Semikhatsky <yurys@chromium.org>
25564 Web Inspector: display notification in the front-end when inspected worker terminates
25565 https://bugs.webkit.org/show_bug.cgi?id=71770
25567 Exposed an API for the browser to notify inspector front-end when inspeced instance
25568 terminates. It is used now for tracking shared workers termination.
25570 Reviewed by Pavel Feldman.
25572 * public/WebDevToolsAgent.h:
25573 * src/WebDevToolsAgentImpl.cpp:
25574 (WebKit::WebDevToolsAgent::createFrontendDisconnectedEvent):
25576 2011-11-08 Yury Semikhatsky <yurys@chromium.org>
25578 [Chromium] Web Inspector: add sanity test for automatic reattach to a page which is reloaded after crash
25579 https://bugs.webkit.org/show_bug.cgi?id=71786
25581 Added a test function that checks if console evaluation works after crashed tab reloading.
25583 Reviewed by Pavel Feldman.
25586 (.TestSuite.prototype.testReattachAfterCrash):
25588 2011-11-07 Emil A Eklund <eae@chromium.org>
25590 Revert platform and scrolling to ints
25591 https://bugs.webkit.org/show_bug.cgi?id=71585
25593 Reviewed by Eric Seidel.
25595 Replace all uses of LayoutUnit and related types with ints in platform
25596 and scrolling code.
25598 * tests/ScrollAnimatorNoneTest.cpp:
25599 (MockScrollableArea::visibleHeight):
25600 (MockScrollableArea::visibleWidth):
25602 2011-11-07 Adam Barth <abarth@webkit.org>
25604 Move DomainRelaxationForbidden scheme registry to SchemeRegistry
25605 https://bugs.webkit.org/show_bug.cgi?id=71750
25607 Reviewed by Eric Seidel.
25609 * src/WebViewImpl.cpp:
25610 (WebKit::WebViewImpl::setDomainRelaxationForbidden):
25612 2011-11-07 Beth Dakin <bdakin@apple.com>
25614 https://bugs.webkit.org/show_bug.cgi?id=71490
25615 Support uiStateTransitionProgress for scrollbars
25616 -and corresponding-
25617 <rdar://problem/9849612>
25619 Reviewed by Sam Weinig.
25621 Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter.
25622 * src/WebScrollbarImpl.cpp:
25623 (WebKit::WebScrollbarImpl::onMouseUp):
25625 2011-11-07 Fady Samuel <fsamuel@chromium.org>
25627 [Chromium] Rename WebView::scalePage to WebView::setPageScaleFactor to match WebCore
25628 https://bugs.webkit.org/show_bug.cgi?id=71485
25630 Reviewed by Darin Fisher.
25632 Created new method setPageScaleFactor to replace scalePage to match
25633 renamed method in WebCore. This change will happen in three stages:
25635 1. A new method is created called setPageScaleFactor with the same
25636 functionality as scalePage.
25637 2. All call sites of scalePage are changed to setPageScaleFactor in the Chromium
25639 3. scalePage is deleted from WebView/WebViewImpl
25641 * public/WebView.h:
25642 * src/WebViewImpl.cpp:
25643 (WebKit::WebViewImpl::pageScaleFactor):
25644 (WebKit::WebViewImpl::scalePage):
25645 (WebKit::WebViewImpl::setPageScaleFactor):
25646 * src/WebViewImpl.h:
25648 2011-11-07 Jessie Berlin <jberlin@apple.com>
25650 Need a way to allow a scheme access to Local Storage and Databases while Private Browsing is
25652 https://bugs.webkit.org/show_bug.cgi?id=71631
25654 Reviewed by Jon Honeycutt.
25656 * src/StorageAreaProxy.h:
25657 (WebCore::StorageAreaProxy::disabledByPrivateBrowsingInFrame):
25658 Chromium uses a different method to track its icognito mode, so always return false.
25660 2011-11-07 Yury Semikhatsky <yurys@chromium.org>
25662 [Chromium] Web Inspector: use native worker inspector instead of fake workers
25663 https://bugs.webkit.org/show_bug.cgi?id=71670
25665 chrome://workers link is replaced with instructions on discovering shared workers
25668 Reviewed by Pavel Feldman.
25670 * src/js/DevTools.js:
25673 2011-11-07 Sheriff Bot <webkit.review.bot@gmail.com>
25675 Unreviewed. Rolled DEPS.
25679 2011-11-05 Daniel Cheng <dcheng@chromium.org>
25681 [chromium] Use the security origin instead of the URL when checking notification permissions
25682 https://bugs.webkit.org/show_bug.cgi?id=71590
25684 Reviewed by Adam Barth.
25686 * public/WebNotificationPresenter.h:
25687 * src/NotificationPresenterImpl.cpp:
25688 (WebKit::NotificationPresenterImpl::checkPermission):
25690 2011-11-04 Shawn Singh <shawnsingh@chromium.org>
25692 [chromium] Re-named the original scissorRect to clipRect
25693 https://bugs.webkit.org/show_bug.cgi?id=71580
25695 Reviewed by James Robinson.
25697 * tests/CCLayerImplTest.cpp:
25699 * tests/CCLayerTreeHostCommonTest.cpp:
25701 * tests/LayerChromiumTest.cpp:
25703 2011-11-04 Robert Sesek <rsesek@chromium.org>
25705 [chromium] Use Chromium's copy of libWebKitSystemInterfaceLeopard.a
25706 https://bugs.webkit.org/show_bug.cgi?id=71563
25708 Reviewed by Adam Barth.
25710 Roll Chromium DEPS r108107:108476 to pull in
25711 libWebKitSystemInterfaceLeopard.a.
25715 2011-11-03 Adrienne Walker <enne@google.com>
25717 [chromium] Implement checkerboarding for missing layer tiles
25718 https://bugs.webkit.org/show_bug.cgi?id=69585
25720 Reviewed by James Robinson.
25722 To pipe the background color of the document to the non-composited
25723 host, set it during paint. This may be more frequent than necessary,
25724 but it'll catch all style changes.
25726 * src/WebViewImpl.cpp:
25727 (WebKit::WebViewImpl::nonCompositedContentHost):
25728 (WebKit::WebViewImplContentPainter::paint):
25729 * src/WebViewImpl.h:
25730 * tests/CCLayerImplTest.cpp:
25733 2011-11-04 Fady Samuel <fsamuel@chromium.org>
25735 [Chromium] Expose deviceScaleFactor to WebKit API
25736 https://bugs.webkit.org/show_bug.cgi?id=70614
25738 Reviewed by Darin Fisher.
25740 This exposes the device scale factor to the Chromium-WebKit API.
25741 This scale factor is the ratio between the current device's DPI
25742 and the target device's DPI.
25744 For details on how this can be accessed from CSS and javascript, please
25747 http://developer.android.com/guide/webapps/targeting.html#DensityCSS
25749 * public/WebView.h:
25750 * src/WebViewImpl.cpp:
25751 (WebKit::WebViewImpl::deviceScaleFactor):
25752 (WebKit::WebViewImpl::setDeviceScaleFactor):
25753 * src/WebViewImpl.h:
25755 2011-11-03 Adrienne Walker <enne@google.com>
25757 [chromium] Fix incorrect visibility/scissor rect for threaded compositing
25758 https://bugs.webkit.org/show_bug.cgi?id=70962
25760 Reviewed by James Robinson.
25762 * src/WebLayerTreeViewImpl.cpp:
25763 (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
25764 * src/WebViewImpl.cpp:
25765 (WebKit::WebViewImpl::setRootGraphicsLayer):
25766 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
25767 * tests/CCLayerTreeHostTest.cpp:
25768 (WTF::MockLayerTreeHost::MockLayerTreeHost):
25770 2011-11-02 Xiaomei Ji <xji@chromium.org>
25772 Enable ctrl-arrow move cursor by word in visual order in cr-win by command line flag.
25773 https://bugs.webkit.org/show_bug.cgi?id=71163
25775 Reviewed by Ryosuke Niwa.
25777 To minimize the risk to LTR users, we enable this feature first to chromium win
25778 by command line flag. This and corresponding changset in chromium
25779 (http://codereview.chromium.org/8400078/)
25780 should be removed after this feature is enabled without command line flag.
25783 1. (chromium) adds command line flag --enable-visual-word-movement,
25784 pass it to WebCore::Settings through WebPreferences.
25785 2. in FrameSelection::modifyMovingLeft|Right, when 'visualWordMovementEnabled' is true in page's Settings,
25786 trigger visual word movement instead of logical one.
25788 * public/WebSettings.h:
25789 * src/WebSettingsImpl.cpp:
25790 (WebKit::WebSettingsImpl::setVisualWordMovementEnabled):
25791 * src/WebSettingsImpl.h:
25793 2011-11-03 Darin Adler <darin@apple.com>
25795 Change remaining callers of releaseRef to call leakRef
25796 https://bugs.webkit.org/show_bug.cgi?id=71422
25798 * public/WebPrivatePtr.h:
25799 (WebKit::WebPrivatePtr::WebPrivatePtr):
25800 (WebKit::WebPrivatePtr::operator=):
25801 * src/WebDOMEvent.cpp:
25802 (WebKit::WebDOMEvent::WebDOMEvent):
25804 (WebKit::WebData::assign):
25805 (WebKit::WebData::WebData):
25806 (WebKit::WebData::operator=):
25807 * src/WebDragData.cpp:
25808 (WebKit::WebDragData::initialize):
25809 (WebKit::WebDragData::WebDragData):
25810 (WebKit::WebDragData::operator=):
25811 * src/WebHTTPBody.cpp:
25812 (WebKit::WebHTTPBody::initialize):
25813 (WebKit::WebHTTPBody::WebHTTPBody):
25814 (WebKit::WebHTTPBody::operator=):
25815 (WebKit::WebHTTPBody::ensureMutable):
25816 * src/WebNodeCollection.cpp:
25817 (WebKit::WebNodeCollection::WebNodeCollection):
25818 * src/WebNodeList.cpp:
25819 (WebKit::WebNodeList::WebNodeList):
25820 * src/WebNotification.cpp:
25821 (WebKit::WebNotification::WebNotification):
25822 (WebKit::WebNotification::operator=):
25823 * src/WebRange.cpp:
25824 (WebKit::WebRange::WebRange):
25825 (WebKit::WebRange::operator=):
25826 * src/WebSecurityOrigin.cpp:
25827 (WebKit::WebSecurityOrigin::WebSecurityOrigin):
25828 (WebKit::WebSecurityOrigin::operator=):
25829 * src/WebThreadSafeData.cpp:
25830 (WebKit::WebThreadSafeData::WebThreadSafeData):
25833 2011-11-02 Darin Adler <darin@apple.com>
25835 Change remaining callers of releaseRef to call leakRef
25836 https://bugs.webkit.org/show_bug.cgi?id=71422
25838 * public/WebPrivatePtr.h:
25839 (WebKit::WebPrivatePtr::WebPrivatePtr):
25840 (WebKit::WebPrivatePtr::operator=):
25841 * src/WebDOMEvent.cpp:
25842 (WebKit::WebDOMEvent::WebDOMEvent):
25844 (WebKit::WebData::assign):
25845 (WebKit::WebData::WebData):
25846 (WebKit::WebData::operator=):
25847 * src/WebDragData.cpp:
25848 (WebKit::WebDragData::initialize):
25849 (WebKit::WebDragData::WebDragData):
25850 (WebKit::WebDragData::operator=):
25851 * src/WebHTTPBody.cpp:
25852 (WebKit::WebHTTPBody::initialize):
25853 (WebKit::WebHTTPBody::WebHTTPBody):
25854 (WebKit::WebHTTPBody::operator=):
25855 (WebKit::WebHTTPBody::ensureMutable):
25856 * src/WebNodeCollection.cpp:
25857 (WebKit::WebNodeCollection::WebNodeCollection):
25858 * src/WebNodeList.cpp:
25859 (WebKit::WebNodeList::WebNodeList):
25860 * src/WebNotification.cpp:
25861 (WebKit::WebNotification::WebNotification):
25862 (WebKit::WebNotification::operator=):
25863 * src/WebRange.cpp:
25864 (WebKit::WebRange::WebRange):
25865 (WebKit::WebRange::operator=):
25866 * src/WebSecurityOrigin.cpp:
25867 (WebKit::WebSecurityOrigin::WebSecurityOrigin):
25868 (WebKit::WebSecurityOrigin::operator=):
25869 * src/WebThreadSafeData.cpp:
25870 (WebKit::WebThreadSafeData::WebThreadSafeData):
25873 2011-11-03 Daniel Cheng <dcheng@chromium.org>
25875 [chromium] Remove unused clipboard methods
25876 https://bugs.webkit.org/show_bug.cgi?id=71512
25878 Reviewed by Tony Chang.
25880 * public/WebClipboard.h:
25881 (WebKit::WebClipboard::getSequenceNumber):
25882 (WebKit::WebClipboard::readAvailableTypes):
25883 (WebKit::WebClipboard::writeImage):
25884 * src/PlatformSupport.cpp:
25885 (WebCore::PlatformSupport::clipboardGetSequenceNumber):
25886 (WebCore::PlatformSupport::clipboardReadAvailableTypes):
25888 2011-11-03 Fady Samuel <fsamuel@chromium.org>
25890 [Chromium] Refactor WebFrameImpl::createFrameView() to use Frame:createView
25891 https://bugs.webkit.org/show_bug.cgi?id=70507
25893 Reviewed by Darin Fisher.
25895 No change in functionality except for fixed layout mode. Fixed layout mode has
25896 not been fully upstreamed yet, so no new tests yet:
25897 https://bugs.webkit.org/show_bug.cgi?id=70562 will address this.
25899 This patch also fixes https://bugs.webkit.org/show_bug.cgi?id=70555
25900 It was decided that fixed layout mode might need to be disabled for some content,
25901 and so this change enables the embedder to decide whether to enable fixed layout on
25904 * src/WebFrameImpl.cpp:
25905 (WebKit::WebFrameImpl::createFrameView):
25907 2011-10-28 Hans Wennborg <hans@chromium.org>
25909 IndexedDB: Recycle cursor objects when calling continue()
25910 https://bugs.webkit.org/show_bug.cgi?id=71115
25912 Reviewed by Darin Fisher.
25914 Add the new onSuccessWithContinuation() callback to IDB wrappers.
25916 * public/WebIDBCallbacks.h:
25917 (WebKit::WebIDBCallbacks::onSuccessWithContinuation):
25918 * src/IDBCallbacksProxy.cpp:
25919 (WebKit::IDBCallbacksProxy::onSuccessWithContinuation):
25920 * src/IDBCallbacksProxy.h:
25921 * src/WebIDBCallbacksImpl.cpp:
25922 (WebKit::WebIDBCallbacksImpl::onSuccessWithContinuation):
25923 * src/WebIDBCallbacksImpl.h:
25925 2011-11-02 Pavel Feldman <pfeldman@google.com>
25927 Web Inspector [chromium]: fix debug front-end zip generation.
25928 https://bugs.webkit.org/show_bug.cgi?id=71376
25930 Reviewed by Yury Semikhatsky.
25933 * scripts/generate_devtools_zip.py:
25935 2011-11-02 Jon Lee <jonlee@apple.com>
25937 Expand DragController to provide more information about the dragging session
25938 https://bugs.webkit.org/show_bug.cgi?id=71324
25939 <rdar://problem/10379175>
25941 Reviewed by Darin Adler.
25943 * src/WebViewImpl.cpp:
25944 (WebKit::WebViewImpl::dragTargetDragEnterOrOver): The drag operation is contained
25945 within the new DragSession struct. Minor refactor.
25947 2011-10-31 Nat Duca <nduca@chromium.org>
25949 [chromium] Slow down commit and draw rate based on visibility and draw completion
25950 https://bugs.webkit.org/show_bug.cgi?id=71267
25952 Reviewed by James Robinson.
25954 * tests/CCSchedulerStateMachineTest.cpp:
25956 * tests/CCSchedulerTest.cpp:
25957 (WebKitTests::FakeCCSchedulerClient::reset):
25958 (WebKitTests::FakeCCSchedulerClient::setVisible):
25959 (WebKitTests::FakeCCSchedulerClient::visible):
25960 (WebKitTests::TEST):
25962 2011-11-02 Tom Sepez <tsepez@chromium.org>
25964 XSSAuditor is silent
25965 https://bugs.webkit.org/show_bug.cgi?id=70973
25967 Reviewed by Adam Barth.
25969 * public/WebFrameClient.h:
25970 (WebKit::WebFrameClient::didDetectXSS):
25971 * src/FrameLoaderClientImpl.cpp:
25972 (WebKit::FrameLoaderClientImpl::didDetectXSS):
25973 * src/FrameLoaderClientImpl.h:
25975 2011-11-02 Jon Lee <jonlee@apple.com>
25977 <input=file multiple> default text uses singular instead of plural
25978 https://bugs.webkit.org/show_bug.cgi?id=71319
25979 <rdar://problem/10379021>
25981 Reviewed by Darin Adler.
25983 * src/LocalizedStrings.cpp:
25984 (WebCore::fileButtonNoFilesSelectedLabel):
25986 2011-11-02 Andrey Kosyakov <caseq@chromium.org>
25988 Unreviewed fix for build failure on chromium shared linux caused by r99020.
25992 2011-11-01 Darin Adler <darin@apple.com>
25994 Change HTMLSelectElement::setSelectedIndex to use enums instead of bools
25995 https://bugs.webkit.org/show_bug.cgi?id=70184
25997 Reviewed by Kent Tamura.
25999 * tests/PopupMenuTest.cpp:
26000 (WebKit::TestPopupMenuClient::valueChanged): Replaced setSelectedIndexByUser
26001 call with a call to the renamed optionSelectedByUser, also removed one argument.
26003 2011-11-01 Nat Duca <nduca@chromium.org>
26005 [chromium] Move resource-releasing logic into CCProxy and cleanup setNeedsCommit
26006 https://bugs.webkit.org/show_bug.cgi?id=71269
26008 Reviewed by James Robinson.
26010 * src/WebLayerTreeView.cpp:
26011 (WebKit::WebLayerTreeView::composite):
26012 * src/WebViewImpl.cpp:
26013 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
26014 * tests/CCLayerTreeHostTest.cpp:
26015 (CCLayerTreeHostTest::postSetNeedsCommitToMainThread):
26016 (CCLayerTreeHostTest::dispatchSetNeedsCommit):
26017 (CCLayerTreeHostTestShortlived2::beginTest):
26018 (CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
26019 (CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
26020 (CCLayerTreeHostTestSetNeedsCommit1::beginTest):
26021 (CCLayerTreeHostTestSetNeedsCommit2::beginTest):
26022 (CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
26023 (CCLayerTreeHostTestSetNeedsRedraw::beginTest):
26024 (CCLayerTreeHostTestScrollSimple::beginTest):
26025 (CCLayerTreeHostTestScrollSimple::drawLayersOnCCThread):
26026 (CCLayerTreeHostTestScrollMultipleRedraw::beginTest):
26027 (CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
26029 2011-11-01 Julien Chaffraix <jchaffraix@webkit.org>
26031 Pack RenderTableCell bits
26032 https://bugs.webkit.org/show_bug.cgi?id=71135
26034 Reviewed by Darin Adler.
26037 * tests/RenderTableCellTest.cpp: Added.
26038 Added some tests for the column/row index limit
26039 that was implemented in RenderTableCell.
26041 2011-11-01 Nate Chapin <japhet@chromium.org>
26043 Add 2 new TargetTypes (to match ResourceRequest::TargetType)
26044 and ensure we don't pass chromium a TargetType it doesn't
26046 https://bugs.webkit.org/show_bug.cgi?id=70972
26048 Reviewed by Darin Fisher.
26050 * public/WebURLRequest.h:
26051 * src/WebURLRequest.cpp:
26053 2011-11-01 Tommy Widenflycht <tommyw@google.com>
26055 [chromium] Media Stream API: Adding supporting classes to WebPeerConnectionHandler
26056 https://bugs.webkit.org/show_bug.cgi?id=71008
26058 Expanding WebMediaStreamDescriptor and adding WebMediaStreamSource
26060 Reviewed by Darin Fisher.
26063 * public/WebMediaStreamDescriptor.h:
26064 * public/WebMediaStreamSource.h: Copied from Source/WebKit/chromium/public/WebMediaStreamDescriptor.h.
26065 (WebKit::WebMediaStreamSource::WebMediaStreamSource):
26066 (WebKit::WebMediaStreamSource::~WebMediaStreamSource):
26067 (WebKit::WebMediaStreamSource::isNull):
26068 * src/AssertMatchingEnums.cpp:
26069 * src/WebMediaStreamDescriptor.cpp:
26070 (WebKit::WebMediaStreamDescriptor::operator=):
26071 (WebKit::WebMediaStreamDescriptor::initialize):
26072 * src/WebMediaStreamSource.cpp: Copied from Source/WebKit/chromium/src/WebMediaStreamDescriptor.cpp.
26073 (WebKit::WebMediaStreamSource::WebMediaStreamSource):
26074 (WebKit::WebMediaStreamSource::reset):
26075 (WebKit::WebMediaStreamSource::operator PassRefPtr<MediaStreamSource>):
26076 (WebKit::WebMediaStreamSource::operator MediaStreamSource*):
26077 (WebKit::WebMediaStreamSource::initialize):
26078 (WebKit::WebMediaStreamSource::id):
26079 (WebKit::WebMediaStreamSource::type):
26080 (WebKit::WebMediaStreamSource::name):
26082 2011-11-01 Nat Duca <nduca@chromium.org>
26084 CCSchedulerTests fail on Chromium Windows (dbg) after r98915
26085 https://bugs.webkit.org/show_bug.cgi?id=71294
26087 Reviewed by James Robinson.
26089 * tests/CCSchedulerTest.cpp:
26090 (WebKitTests::TEST):
26092 2011-11-01 Alok Priyadarshi <alokp@chromium.org>
26094 Roll chromium DEPS.
26100 2011-11-01 Pavel Feldman <pfeldman@google.com>
26102 Not reviewed: fix chromium interactive tests.
26105 (.TestSuite.prototype.showPanel):
26107 2011-10-31 Tommy Widenflycht <tommyw@google.com>
26109 [Chromium] Media Stream API: add the Chromium WebKit interfaces
26110 https://bugs.webkit.org/show_bug.cgi?id=58550
26112 Adds the bridging code + the minimum amount of Web* supporting code.
26114 Reviewed by Darin Fisher.
26117 * bridge/PeerConnectionHandler.cpp: Renamed from Source/WebCore/platform/mediastream/PeerHandler.cpp.
26118 (WebCore::PeerConnectionHandler::create):
26119 (WebCore::PeerConnectionHandler::PeerConnectionHandler):
26120 (WebCore::PeerConnectionHandler::~PeerConnectionHandler):
26121 (WebCore::PeerConnectionHandler::produceInitialOffer):
26122 (WebCore::PeerConnectionHandler::handleInitialOffer):
26123 (WebCore::PeerConnectionHandler::processSDP):
26124 (WebCore::PeerConnectionHandler::processPendingStreams):
26125 (WebCore::PeerConnectionHandler::sendDataStreamMessage):
26126 (WebCore::PeerConnectionHandler::stop):
26127 * bridge/PeerConnectionHandlerInternal.cpp: Added.
26128 (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
26129 (WebCore::PeerConnectionHandlerInternal::~PeerConnectionHandlerInternal):
26130 (WebCore::PeerConnectionHandlerInternal::produceInitialOffer):
26131 (WebCore::PeerConnectionHandlerInternal::handleInitialOffer):
26132 (WebCore::PeerConnectionHandlerInternal::processSDP):
26133 (WebCore::PeerConnectionHandlerInternal::processPendingStreams):
26134 (WebCore::PeerConnectionHandlerInternal::sendDataStreamMessage):
26135 (WebCore::PeerConnectionHandlerInternal::stop):
26136 (WebCore::PeerConnectionHandlerInternal::didCompleteICEProcessing):
26137 (WebCore::PeerConnectionHandlerInternal::didGenerateSDP):
26138 (WebCore::PeerConnectionHandlerInternal::didReceiveDataStreamMessage):
26139 (WebCore::PeerConnectionHandlerInternal::didAddRemoteStream):
26140 (WebCore::PeerConnectionHandlerInternal::didRemoveRemoteStream):
26141 * bridge/PeerConnectionHandlerInternal.h: Added.
26142 * public/WebKitPlatformSupport.h:
26143 (WebKit::WebKitPlatformSupport::createPeerConnectionHandler):
26144 * public/WebMediaStreamDescriptor.h: Added.
26145 (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
26146 (WebKit::WebMediaStreamDescriptor::~WebMediaStreamDescriptor):
26147 (WebKit::WebMediaStreamDescriptor::isNull):
26148 * public/WebPeerConnectionHandler.h: Added.
26149 (WebKit::WebPeerConnectionHandler::~WebPeerConnectionHandler):
26150 * public/WebPeerConnectionHandlerClient.h: Added.
26151 (WebKit::WebPeerConnectionHandlerClient::~WebPeerConnectionHandlerClient):
26152 * src/WebMediaStreamDescriptor.cpp: Added.
26153 (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
26154 (WebKit::WebMediaStreamDescriptor::reset):
26155 (WebKit::WebMediaStreamDescriptor::operator=):
26156 (WebKit::WebMediaStreamDescriptor::operator WTF::PassRefPtr<WebCore::MediaStreamDescriptor>):
26157 (WebKit::WebMediaStreamDescriptor::operator WebCore::MediaStreamDescriptor*):
26159 Tests for the Media Stream API will be provided by the bug 56587, pending enough landed code.
26161 2011-10-31 Yuzhu Shen <yzshen@google.com>
26163 [chromium] Calling methods of WebFontImpl causes assertions
26164 https://bugs.webkit.org/show_bug.cgi?id=71232
26166 Added FontCachePurgePreventer in several methods.
26168 Reviewed by James Robinson.
26170 * src/WebFontImpl.cpp:
26171 (WebKit::WebFontImpl::calculateWidth):
26172 (WebKit::WebFontImpl::offsetForPosition):
26173 (WebKit::WebFontImpl::selectionRectForText):
26174 (WebKit::WebFontImpl::estimateTextBounds):
26176 2011-10-28 Nat Duca <nduca@chromium.org>
26178 [chromium] Connect CCThreadProxy to FrameRateController and SchedulerStateMachine via CCScheduler
26179 https://bugs.webkit.org/show_bug.cgi?id=71100
26181 Reviewed by James Robinson.
26183 * tests/CCSchedulerStateMachineTest.cpp:
26184 (WebCore::StateMachine::setUpdateMoreResourcesPending):
26185 (WebCore::StateMachine::updateMoreResourcesPending):
26187 * tests/CCSchedulerTest.cpp:
26189 2011-10-31 Joshua Bell <jsbell@chromium.org>
26191 IndexedDB: Remove null key support (part 2)
26192 https://bugs.webkit.org/show_bug.cgi?id=71132
26194 Reviewed by Darin Fisher.
26196 * public/WebIDBKey.h:
26197 * src/AssertMatchingEnums.cpp:
26198 * src/WebIDBKey.cpp:
26200 2011-10-31 Pavel Feldman <pfeldman@google.com>
26202 Web Inspector: move localization support into UIUtil.js, reduce externs.
26203 https://bugs.webkit.org/show_bug.cgi?id=71220
26205 Reviewed by Yury Semikhatsky.
26207 * src/js/DevTools.js:
26209 2011-10-31 Adam Barth <abarth@webkit.org>
26211 [Chromium] The Chromium port calls OwnPtr::get and RefPtr::get way more often than needed
26212 https://bugs.webkit.org/show_bug.cgi?id=71205
26214 Reviewed by Ryosuke Niwa.
26216 WebKit style is to use the implicit Boolean conversions rather than
26217 calling get() on these pointer types. This patch cleans up most (all?)
26218 of these style issues in the Chromium port in the hopes that they'll be
26219 copy/pasted less in the future.
26221 * src/ApplicationCacheHostInternal.h:
26222 (WebCore::ApplicationCacheHostInternal::toWebApplicationCacheHost):
26223 * src/AudioDestinationChromium.cpp:
26224 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
26225 (WebCore::AudioDestinationChromium::start):
26226 (WebCore::AudioDestinationChromium::stop):
26227 * src/FrameLoaderClientImpl.cpp:
26228 (WebKit::FrameLoaderClientImpl::setMainDocumentError):
26229 (WebKit::FrameLoaderClientImpl::committedLoad):
26230 (WebKit::FrameLoaderClientImpl::finishedLoading):
26231 (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
26232 * src/PlatformMessagePortChannel.cpp:
26233 (WebCore::PlatformMessagePortChannel::postMessageToRemote):
26234 * src/ResourceHandle.cpp:
26235 (WebCore::ResourceHandleInternal::start):
26236 (WebCore::ResourceHandle::loadResourceSynchronously):
26237 * src/SocketStreamHandle.cpp:
26238 (WebCore::SocketStreamHandleInternal::connect):
26239 (WebCore::SocketStreamHandleInternal::send):
26240 (WebCore::SocketStreamHandleInternal::didOpenStream):
26241 (WebCore::SocketStreamHandleInternal::didSendData):
26242 (WebCore::SocketStreamHandleInternal::didReceiveData):
26243 (WebCore::SocketStreamHandleInternal::didClose):
26244 (WebCore::SocketStreamHandleInternal::didFail):
26245 (WebCore::SocketStreamHandle::platformSend):
26246 (WebCore::SocketStreamHandle::platformClose):
26247 * src/WebAccessibilityObject.cpp:
26248 (WebKit::WebAccessibilityObject::hitTest):
26249 * src/WebFrameImpl.cpp:
26250 (WebKit::WebFrameImpl::findChildByExpression):
26251 (WebKit::WebFrameImpl::loadHistoryItem):
26252 (WebKit::WebFrameImpl::characterIndexForPoint):
26253 (WebKit::WebFrameImpl::selectionAsText):
26254 (WebKit::WebFrameImpl::selectionAsMarkup):
26255 (WebKit::WebFrameImpl::getPrintPageShrink):
26256 (WebKit::WebFrameImpl::printPage):
26257 (WebKit::WebFrameImpl::printEnd):
26258 (WebKit::WebFrameImpl::scopeStringMatches):
26259 * src/WebIDBKey.cpp:
26260 (WebKit::WebIDBKey::type):
26261 * src/WebIDBKeyRange.cpp:
26262 (WebKit::WebIDBKeyRange::lower):
26263 (WebKit::WebIDBKeyRange::upper):
26264 (WebKit::WebIDBKeyRange::lowerOpen):
26265 (WebKit::WebIDBKeyRange::upperOpen):
26266 * src/WebImageCG.cpp:
26267 (WebKit::WebImage::WebImage):
26268 (WebKit::WebImage::operator=):
26269 * src/WebMediaPlayerClientImpl.cpp:
26270 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
26271 (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
26272 (WebKit::WebMediaPlayerClientImpl::repaint):
26273 (WebKit::WebMediaPlayerClientImpl::loadInternal):
26274 (WebKit::WebMediaPlayerClientImpl::cancelLoad):
26275 (WebKit::WebMediaPlayerClientImpl::play):
26276 (WebKit::WebMediaPlayerClientImpl::pause):
26277 (WebKit::WebMediaPlayerClientImpl::sourceAppend):
26278 (WebKit::WebMediaPlayerClientImpl::sourceEndOfStream):
26279 (WebKit::WebMediaPlayerClientImpl::naturalSize):
26280 (WebKit::WebMediaPlayerClientImpl::hasVideo):
26281 (WebKit::WebMediaPlayerClientImpl::hasAudio):
26282 (WebKit::WebMediaPlayerClientImpl::setVisible):
26283 (WebKit::WebMediaPlayerClientImpl::duration):
26284 (WebKit::WebMediaPlayerClientImpl::currentTime):
26285 (WebKit::WebMediaPlayerClientImpl::seek):
26286 (WebKit::WebMediaPlayerClientImpl::seeking):
26287 (WebKit::WebMediaPlayerClientImpl::setEndTime):
26288 (WebKit::WebMediaPlayerClientImpl::setRate):
26289 (WebKit::WebMediaPlayerClientImpl::paused):
26290 (WebKit::WebMediaPlayerClientImpl::supportsFullscreen):
26291 (WebKit::WebMediaPlayerClientImpl::supportsSave):
26292 (WebKit::WebMediaPlayerClientImpl::setVolume):
26293 (WebKit::WebMediaPlayerClientImpl::networkState):
26294 (WebKit::WebMediaPlayerClientImpl::readyState):
26295 (WebKit::WebMediaPlayerClientImpl::maxTimeSeekable):
26296 (WebKit::WebMediaPlayerClientImpl::buffered):
26297 (WebKit::WebMediaPlayerClientImpl::dataRate):
26298 (WebKit::WebMediaPlayerClientImpl::totalBytesKnown):
26299 (WebKit::WebMediaPlayerClientImpl::totalBytes):
26300 (WebKit::WebMediaPlayerClientImpl::bytesLoaded):
26301 (WebKit::WebMediaPlayerClientImpl::setSize):
26302 (WebKit::WebMediaPlayerClientImpl::paintCurrentFrameInContext):
26303 (WebKit::WebMediaPlayerClientImpl::setPreload):
26304 (WebKit::WebMediaPlayerClientImpl::hasSingleSecurityOrigin):
26305 (WebKit::WebMediaPlayerClientImpl::movieLoadType):
26306 (WebKit::WebMediaPlayerClientImpl::mediaTimeForTimeValue):
26307 (WebKit::WebMediaPlayerClientImpl::decodedFrameCount):
26308 (WebKit::WebMediaPlayerClientImpl::droppedFrameCount):
26309 (WebKit::WebMediaPlayerClientImpl::audioDecodedByteCount):
26310 (WebKit::WebMediaPlayerClientImpl::videoDecodedByteCount):
26311 (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
26312 (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
26313 (WebKit::WebMediaPlayerClientImpl::startDelayedLoad):
26314 * src/WebURLRequest.cpp:
26315 (WebKit::WebURLRequest::extraData):
26316 * src/WebViewImpl.cpp:
26317 (WebKit::WebViewImpl::theme):
26318 (WebKit::WebViewImpl::mainFrameImpl):
26319 (WebKit::WebViewImpl::tabKeyCyclesThroughElements):
26320 (WebKit::WebViewImpl::hideSelectPopup):
26321 (WebKit::WebViewImpl::popupClosed):
26322 (WebKit::WebViewImpl::focusedWebCoreFrame):
26323 (WebKit::WebViewImpl::close):
26324 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
26325 (WebKit::WebViewImpl::handleInputEvent):
26326 (WebKit::WebViewImpl::setFocus):
26327 (WebKit::WebViewImpl::compositionRange):
26328 (WebKit::WebViewImpl::caretOrSelectionRange):
26329 (WebKit::WebViewImpl::settings):
26330 (WebKit::WebViewImpl::pageEncoding):
26331 (WebKit::WebViewImpl::setPageEncoding):
26332 (WebKit::WebViewImpl::setInitialFocus):
26333 (WebKit::WebViewImpl::clearFocusedNode):
26334 (WebKit::WebViewImpl::copyImageAt):
26335 (WebKit::WebViewImpl::dragTargetDragEnter):
26336 (WebKit::WebViewImpl::dragTargetDragLeave):
26337 (WebKit::WebViewImpl::dragTargetDrop):
26338 (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
26339 (WebKit::WebViewImpl::inspectElementAt):
26340 (WebKit::WebViewImpl::applyAutofillSuggestions):
26341 * src/WebWorkerBase.cpp:
26342 (WebKit::WebWorkerBase::postMessageTask):
26343 * src/WorkerAsyncFileSystemChromium.cpp:
26344 (WebCore::WorkerAsyncFileSystemChromium::waitForOperationToComplete):
26345 (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
26347 2011-10-31 Vangelis Kokkevis <vangelis@chromium.org>
26349 Add missing declaration in WebSettings.h
26350 https://bugs.webkit.org/show_bug.cgi?id=71165
26352 Reviewed by Darin Fisher.
26354 * public/WebSettings.h:
26356 2011-10-29 Jochen Eisinger <jochen@chromium.org>
26358 Implement IDBFactory.deleteDatabase
26359 https://bugs.webkit.org/show_bug.cgi?id=62622
26361 Reviewed by Tony Chang.
26363 * src/IDBFactoryBackendProxy.cpp:
26364 (WebKit::IDBFactoryBackendProxy::deleteDatabase):
26365 * src/IDBFactoryBackendProxy.h:
26366 * src/WebIDBFactoryImpl.cpp:
26367 (WebKit::WebIDBFactoryImpl::getDatabaseNames):
26368 (WebKit::WebIDBFactoryImpl::open):
26369 (WebKit::WebIDBFactoryImpl::deleteDatabase):
26370 * src/WebIDBFactoryImpl.h:
26372 2011-10-28 Sadrul Habib Chowdhury <sadrul@chromium.org>
26374 Add support for sending scroll-update events from EventSender.
26375 https://bugs.webkit.org/show_bug.cgi?id=66272
26377 Reviewed by Adam Barth.
26379 * public/WebInputEvent.h:
26380 (WebKit::WebGestureEvent::WebGestureEvent):
26381 * src/WebInputEventConversion.cpp:
26382 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
26383 * src/WebPopupMenuImpl.cpp:
26384 (WebKit::WebPopupMenuImpl::handleInputEvent):
26385 * src/WebViewImpl.cpp:
26386 (WebKit::WebViewImpl::handleInputEvent):
26388 2011-10-28 James Robinson <jamesr@chromium.org>
26390 [chromium] Track wheel event handler registration and pass to input filter
26391 https://bugs.webkit.org/show_bug.cgi?id=71078
26393 Reviewed by Kenneth Russell.
26395 Pushes mouse wheel event handler notifications to CCLayerTreeHost when compositing.
26397 * src/ChromeClientImpl.cpp:
26398 (WebKit::ChromeClientImpl::numWheelEventHandlersChanged):
26399 * src/WebCompositorImpl.cpp:
26400 (WebKit::WebCompositorImpl::handleInputEvent):
26401 * src/WebViewImpl.cpp:
26402 (WebKit::WebViewImpl::numberOfWheelEventHandlersChanged):
26403 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
26404 * src/WebViewImpl.h:
26406 2011-10-28 Jochen Eisinger <jochen@chromium.org>
26408 Rename a number of methods mentioning JavaScript to just Script instead
26409 https://bugs.webkit.org/show_bug.cgi?id=71105
26411 Reviewed by Adam Barth.
26413 * src/FrameLoaderClientImpl.cpp:
26414 (WebKit::FrameLoaderClientImpl::allowScript):
26415 * src/FrameLoaderClientImpl.h:
26416 * src/WebFrameImpl.cpp:
26417 (WebKit::WebFrameImpl::collectGarbage):
26418 * src/WebSettingsImpl.cpp:
26419 (WebKit::WebSettingsImpl::setJavaScriptEnabled):
26421 2011-10-28 Adam Barth <abarth@webkit.org>
26423 Remove getExceptionCodeDescription()
26424 https://bugs.webkit.org/show_bug.cgi?id=71103
26426 Reviewed by Eric Seidel.
26428 Migrate to new API.
26430 * src/StorageInfoChromium.cpp:
26431 * src/WebStorageQuotaCallbacksImpl.cpp:
26432 (WebKit::WebStorageQuotaCallbacksImpl::didFail):
26434 2011-10-28 Hans Wennborg <hans@chromium.org>
26436 IndexedDB: Clean-up unused functions in WebIDBFactory
26437 https://bugs.webkit.org/show_bug.cgi?id=71011
26439 Reviewed by Tony Chang.
26441 This is a clean-up after r97453. Since Chromium was updated,
26442 these functions are no longer used.
26444 * public/WebIDBFactory.h:
26445 (WebKit::WebIDBFactory::getDatabaseNames):
26446 (WebKit::WebIDBFactory::open):
26448 2011-10-28 Sheriff Bot <webkit.review.bot@gmail.com>
26450 Unreviewed. Rolled DEPS.
26454 2011-10-28 Jochen Eisinger <jochen@chromium.org>
26456 Add allowScriptFromSource callback to FrameLoaderClient
26457 https://bugs.webkit.org/show_bug.cgi?id=71013
26459 Reviewed by Darin Fisher.
26461 * public/WebPermissionClient.h:
26462 (WebKit::WebPermissionClient::allowScriptFromSource):
26463 * src/FrameLoaderClientImpl.cpp:
26464 (WebKit::FrameLoaderClientImpl::allowScriptFromSource):
26465 * src/FrameLoaderClientImpl.h:
26467 2011-10-26 Nat Duca <nduca@chromium.org>
26469 [chromium] Implement frame rate control portions of CCScheduler
26470 https://bugs.webkit.org/show_bug.cgi?id=70713
26472 Reviewed by James Robinson.
26475 * tests/CCDelayBasedTimeSourceTest.cpp: Added.
26476 (WebKitTests::TEST):
26477 * tests/CCFrameRateControllerTest.cpp: Added.
26478 (WebKitTests::FakeCCFrameRateControllerClient::FakeCCFrameRateControllerClient):
26479 (WebKitTests::FakeCCFrameRateControllerClient::reset):
26480 (WebKitTests::FakeCCFrameRateControllerClient::frameBegun):
26481 (WebKitTests::FakeCCFrameRateControllerClient::beginFrame):
26482 (WebKitTests::TEST):
26483 * tests/CCLayerTreeHostTest.cpp:
26484 * tests/CCSchedulerTestCommon.h: Added.
26485 (WebKitTests::FakeCCTimeSourceClient::FakeCCTimeSourceClient):
26486 (WebKitTests::FakeCCTimeSourceClient::reset):
26487 (WebKitTests::FakeCCTimeSourceClient::tickCalled):
26488 (WebKitTests::FakeCCTimeSourceClient::onTimerTick):
26489 (WebKitTests::FakeCCThread::FakeCCThread):
26490 (WebKitTests::FakeCCThread::reset):
26491 (WebKitTests::FakeCCThread::hasPendingTask):
26492 (WebKitTests::FakeCCThread::runPendingTask):
26493 (WebKitTests::FakeCCThread::pendingDelay):
26494 (WebKitTests::FakeCCThread::postTask):
26495 (WebKitTests::FakeCCThread::postDelayedTask):
26496 (WebKitTests::FakeCCThread::threadID):
26497 (WebKitTests::FakeCCDelayBasedTimeSource::FakeCCDelayBasedTimeSource):
26498 (WebKitTests::FakeCCDelayBasedTimeSource::setMonotonicallyIncreasingTime):
26499 (WebKitTests::FakeCCDelayBasedTimeSource::monotonicallyIncreasingTime):
26501 2011-10-27 Vangelis Kokkevis <vangelis@chromium.org>
26503 Expose Settings::setAcceleratedCompositingForFixedPositionEnabled to WebSettingsImpl.
26504 https://bugs.webkit.org/show_bug.cgi?id=71077
26506 Reviewed by James Robinson.
26508 * src/WebSettingsImpl.cpp:
26509 (WebKit::WebSettingsImpl::setAcceleratedCompositingForFixedPositionEnabled):
26510 * src/WebSettingsImpl.h:
26512 2011-10-27 Peng Huang <penghuang@chromium.org>
26514 [chromium] Remove some APIs which are not used anymore.
26515 https://bugs.webkit.org/show_bug.cgi?id=71068
26517 Reviewed by Darin Fisher.
26519 * public/WebWidget.h:
26520 * src/WebPopupMenuImpl.cpp:
26521 * src/WebPopupMenuImpl.h:
26522 * src/WebViewImpl.cpp:
26523 * src/WebViewImpl.h:
26525 2011-10-27 Shawn Singh <shawnsingh@chromium.org>
26527 [chromium] Track when CCLayerImpl properties have changed.
26528 https://bugs.webkit.org/show_bug.cgi?id=70442
26530 Reviewed by James Robinson.
26533 * tests/CCLayerImplTest.cpp: Added.
26536 2011-10-27 Vsevolod Vlasov <vsevik@chromium.org>
26538 Web Inspector: HTTP headers merged incorrect in Chrome
26539 https://bugs.webkit.org/show_bug.cgi?id=69674
26541 Reviewed by Pavel Feldman.
26543 * src/WebHTTPLoadInfo.cpp:
26544 (WebKit::addHeader):
26546 2011-10-27 Stephen Chenney <schenney@chromium.org>
26548 [Chromium] Need setPrinting
26549 https://bugs.webkit.org/show_bug.cgi?id=46152
26551 Reviewed by Hajime Morita.
26553 * public/WebFrame.h: Added pure virtual prototype for printPagesWithBoundaries. Added enum
26554 and changed parameters for renderTreeAsText.
26555 * src/WebFrameImpl.cpp:
26556 (WebKit::ChromePrintContext::spoolAllPagesWithBoundaries): Added this method, based on
26557 the static in PrintContext. This uses Chromium specific page spooling and transforms.
26558 (WebKit::WebFrameImpl::renderTreeAsText): Updated to allow text dump in printed format.
26559 (WebKit::WebFrameImpl::printPagesWithBoundaries): Added method for testing printing page
26561 * src/WebFrameImpl.h: Added prototype.
26563 2011-10-27 Antoine Labour <piman@chromium.org>
26565 Fix teardown in Web*LayerImpl, and add tests for Web*Layer
26566 https://bugs.webkit.org/show_bug.cgi?id=70431
26568 Reviewed by James Robinson.
26570 * src/WebContentLayerImpl.cpp:
26571 (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
26572 * src/WebExternalTextureLayerImpl.cpp:
26573 (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
26574 * src/WebLayerImpl.cpp:
26575 (WebKit::WebLayerImpl::~WebLayerImpl):
26577 2011-10-24 Nat Duca <nduca@chromium.org>
26579 [chromium] Encapsulate state machine parts of scheduling in CCSchedulerStateMachine
26580 https://bugs.webkit.org/show_bug.cgi?id=70714
26582 Reviewed by James Robinson.
26585 * tests/CCSchedulerStateMachineTest.cpp: Added.
26586 (WebCore::StateMachine::setCommitState):
26587 (WebCore::StateMachine::commitState):
26588 (WebCore::StateMachine::setNeedsCommit):
26589 (WebCore::StateMachine::needsCommit):
26590 (WebCore::StateMachine::setNeedsRedraw):
26591 (WebCore::StateMachine::needsRedraw):
26592 (WebCore::StateMachine::setUpdatedThisFrame):
26593 (WebCore::StateMachine::updatedThisFrame):
26596 2011-10-27 Nat Duca <nduca@chromium.org>
26598 Unreviewed, rolling out r98612.
26599 http://trac.webkit.org/changeset/98612
26600 https://bugs.webkit.org/show_bug.cgi?id=70714
26605 * tests/CCSchedulerStateMachineTest.cpp: Removed.
26607 2011-10-24 Nat Duca <nduca@chromium.org>
26609 [chromium] Encapsulate state machine parts of scheduling in CCSchedulerStateMachine
26610 https://bugs.webkit.org/show_bug.cgi?id=70714
26612 Reviewed by James Robinson.
26615 * tests/CCSchedulerStateMachineTest.cpp: Added.
26616 (WebCore::StateMachine::setCommitState):
26617 (WebCore::StateMachine::commitState):
26618 (WebCore::StateMachine::setNeedsCommit):
26619 (WebCore::StateMachine::needsCommit):
26620 (WebCore::StateMachine::setNeedsRedraw):
26621 (WebCore::StateMachine::needsRedraw):
26622 (WebCore::StateMachine::setUpdatedThisFrame):
26623 (WebCore::StateMachine::updatedThisFrame):
26626 2011-10-27 Dave Michael <dmichael@chromium.org>
26628 Chromium ui_tests WorkerTest.WorkerMessagePort[GC] were broken by https://bugs.webkit.org/attachment.cgi?id=112342
26629 https://bugs.webkit.org/show_bug.cgi?id=70953
26631 Reviewed by David Levin.
26633 * src/PlatformMessagePortChannel.cpp:
26634 (WebCore::PlatformMessagePortChannel::hasPendingActivity):
26636 2011-10-27 Aaron Colwell <acolwell@chromium.org>
26638 Enable MEDIA_SOURCE feature for Chromium
26639 https://bugs.webkit.org/show_bug.cgi?id=70745
26641 Reviewed by David Levin.
26645 2011-10-26 Chris Rogers <crogers@google.com>
26647 Add chromium bridging for AudioSourceProviderClient and setFormat() method so we can know audio stream format
26648 https://bugs.webkit.org/show_bug.cgi?id=70650
26650 Reviewed by Darin Fisher.
26653 * public/WebAudioSourceProvider.h:
26654 (WebKit::WebAudioSourceProvider::setClient):
26655 * public/WebAudioSourceProviderClient.h: Copied from Source/WebKit/chromium/public/WebAudioSourceProvider.h.
26656 (WebKit::WebAudioSourceProviderClient::~WebAudioSourceProviderClient):
26657 * public/WebMediaPlayer.h:
26658 * src/WebMediaPlayerClientImpl.cpp:
26659 (WebKit::WebMediaPlayerClientImpl::loadInternal):
26660 (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
26661 (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::wrap):
26662 (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::setClient):
26663 (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::provideInput):
26664 (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::setFormat):
26665 * src/WebMediaPlayerClientImpl.h:
26666 (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::AudioClientImpl):
26667 (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::~AudioClientImpl):
26668 (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::wrap):
26670 2011-10-25 Stephen White <senorblanco@chromium.org>
26672 [chromium] Canvas2D should rate-limit drawing to prevent swamping the GPU process.
26673 https://bugs.webkit.org/show_bug.cgi?id=70367
26675 * src/GraphicsContext3DChromium.cpp:
26676 (WebCore::GraphicsContext3DPrivate::markContextChanged):
26677 Remove the call to setTextureChanged (it will be handled internally
26678 by the compositor in setContextNeedsDisplay() instead). This decouples
26679 GraphicsContext3D from WebGLLayerChromium a bit.
26681 2011-10-26 Sheriff Bot <webkit.review.bot@gmail.com>
26683 Unreviewed, rolling out r98393.
26684 http://trac.webkit.org/changeset/98393
26685 https://bugs.webkit.org/show_bug.cgi?id=70892
26687 "Compilation is broken on Chromium Webkit Mac Builder (dbg) "
26688 (Requested by yurys on #webkit).
26691 * src/WebContentLayerImpl.cpp:
26692 (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
26693 (WebKit::WebContentLayerImpl::setDrawsContent):
26694 * src/WebExternalTextureLayerImpl.cpp:
26695 (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
26696 * src/WebLayerImpl.cpp:
26697 (WebKit::WebLayerImpl::~WebLayerImpl):
26698 * tests/LayerChromiumTest.cpp:
26699 * tests/WebLayerTest.cpp: Removed.
26701 2011-10-26 Sheriff Bot <webkit.review.bot@gmail.com>
26703 Unreviewed, rolling out r98429.
26704 http://trac.webkit.org/changeset/98429
26705 https://bugs.webkit.org/show_bug.cgi?id=70881
26707 "webkit_gpu_tests fail in Chromium" (Requested by yurys on
26710 * public/WebLayerTreeView.h:
26711 * src/WebCompositorImpl.cpp:
26712 (WebKit::WebCompositor::setThread):
26713 * src/WebLayerTreeView.cpp:
26714 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
26715 (WebKit::WebLayerTreeView::composite):
26716 * src/WebLayerTreeViewImpl.cpp:
26717 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
26718 * src/WebViewImpl.cpp:
26719 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
26720 * tests/CCLayerTreeHostTest.cpp:
26721 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
26722 (WTF::CCLayerTreeHostTest::runTest):
26724 2011-10-26 Polina Sokolova <polina@chromium.org>
26726 Remove temporary hack needed to ease Chromium/WebKit commit.
26727 https://bugs.webkit.org/show_bug.cgi?id=70791
26729 Reviewed by Darin Fisher.
26731 * public/WebDocument.h:
26733 2011-10-25 Nat Duca <nduca@chromium.org>
26735 [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
26736 https://bugs.webkit.org/show_bug.cgi?id=70838
26738 Reviewed by James Robinson.
26740 * public/WebLayerTreeView.h:
26741 * src/WebCompositorImpl.cpp:
26742 * src/WebLayerTreeView.cpp:
26743 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
26744 (WebKit::WebLayerTreeView::composite):
26745 * src/WebLayerTreeViewImpl.cpp:
26746 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
26747 * src/WebViewImpl.cpp:
26748 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
26750 2011-10-25 Antoine Labour <piman@chromium.org>
26752 Fix teardown in Web*LayerImpl, and add tests for Web*Layer
26753 https://bugs.webkit.org/show_bug.cgi?id=70431
26755 Reviewed by James Robinson.
26757 * src/WebContentLayerImpl.cpp:
26758 (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
26759 * src/WebExternalTextureLayerImpl.cpp:
26760 (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
26761 * src/WebLayerImpl.cpp:
26762 (WebKit::WebLayerImpl::~WebLayerImpl):
26764 2011-10-25 Adam Barth <abarth@webkit.org>
26766 EventTarget.h shouldn't need to know about every feature and ifdef
26767 https://bugs.webkit.org/show_bug.cgi?id=70659
26769 Reviewed by Darin Adler.
26771 This cast isn't needed because dispatchEvent is a virtual function.
26773 * src/WebSharedWorkerImpl.cpp:
26774 (WebKit::WebSharedWorkerImpl::connectTask):
26776 2011-10-25 Michal Mocny <mmocny@google.com>
26778 [chromium] WebGraphicsContext3D setVisibilityCHROMIUM extension changed to pure virtual.
26779 https://bugs.webkit.org/show_bug.cgi?id=70818
26781 Reviewed by Kenneth Russell.
26783 * public/WebGraphicsContext3D.h:
26785 2011-10-25 Dave Michael <dmichael@chromium.org>
26787 Make it possible to create and dispatch a message event through chromium API
26789 Removed messageChannels parameter, since it's hard to get right and I don't need it. Changed message_data->messageData. Reordered includes.
26791 https://bugs.webkit.org/show_bug.cgi?id=69962
26793 Reviewed by David Levin.
26796 * public/WebDOMEvent.h:
26797 * public/WebDOMMessageEvent.h: Added.
26798 * public/WebDocument.h:
26799 * public/WebNode.h:
26800 * src/PlatformMessagePortChannel.cpp:
26801 (WebCore::PlatformMessagePortChannel::hasPendingActivity):
26802 * src/WebDOMEvent.cpp:
26803 (WebKit::WebDOMEvent::operator WTF::PassRefPtr<WebCore::Event>):
26804 * src/WebDOMMessageEvent.cpp: Added.
26805 (WebKit::WebDOMMessageEvent::initMessageEvent):
26806 * src/WebDocument.cpp:
26807 (WebKit::WebDocument::createEvent):
26809 (WebKit::WebNode::dispatchEvent):
26811 2011-10-25 Gene Girard <girard@chromium.org>
26813 Re-enable touch tests (from 66577)
26814 https://bugs.webkit.org/show_bug.cgi?id=70351
26816 Reviewed by Adam Barth.
26818 * tests/InnerGestureRecognizerTest.cpp:
26821 2011-10-25 Nat Duca <nduca@chromium.org>
26823 Unreviewed. Rolled DEPS.
26827 2011-10-25 Yury Semikhatsky <yurys@chromium.org>
26829 Web Inspector: redesign workers sidebar pane
26830 https://bugs.webkit.org/show_bug.cgi?id=70815
26832 Reviewed by Pavel Feldman.
26834 * src/js/DevTools.js: Expose link to shared workers inspection page to WebCore.
26837 2011-10-25 Nico Weber <thakis@chromium.org>
26839 [chromium] Try to fix mac build after r98294
26840 https://bugs.webkit.org/show_bug.cgi?id=70753
26842 Remove test for ScrollAnimatorNone on mac.
26844 Unreviewed, build fix.
26848 2011-10-24 Geoffrey Garen <ggaren@apple.com>
26850 Removed SharedUChar and tightened language around its previous uses
26851 https://bugs.webkit.org/show_bug.cgi?id=70698
26853 Reviewed by David Levin.
26855 - Renamed "threadSafeCopy" and "crossThreadCopy" to "isolatedCopy" because
26856 the former names gave the dangerous misimpression that the resulting object
26857 was thread-safe, which is not true.
26860 * src/WorkerFileSystemCallbacksBridge.cpp:
26862 2011-10-24 Sheriff Bot <webkit.review.bot@gmail.com>
26864 Unreviewed, rolling out r98294 and r98306.
26865 http://trac.webkit.org/changeset/98294
26866 http://trac.webkit.org/changeset/98306
26867 https://bugs.webkit.org/show_bug.cgi?id=70790
26869 the first patch broke chromium-mac and the second gclient
26870 (Requested by jchaffraix on #webkit).
26874 2011-10-24 Nico Weber <thakis@chromium.org>
26876 [chromium] Try to fix mac build after r98294
26877 https://bugs.webkit.org/show_bug.cgi?id=70785
26879 Remove test for ScrollAnimatorNone on mac.
26881 Unreviewed, build fix.
26885 2011-10-24 Sheriff Bot <webkit.review.bot@gmail.com>
26887 Unreviewed, rolling out r98266.
26888 http://trac.webkit.org/changeset/98266
26889 https://bugs.webkit.org/show_bug.cgi?id=70767
26891 Broke the chromium build. (Requested by dave_levin on
26896 2011-10-21 Nat Duca <nduca@chromium.org>
26898 [chromium] Add isTraceEventEnabled to PlatformSupport.
26899 https://bugs.webkit.org/show_bug.cgi?id=70618
26901 Reviewed by Darin Fisher.
26903 * public/WebKitPlatformSupport.h:
26904 (WebKit::WebKitPlatformSupport::isTraceEventEnabled):
26905 * src/PlatformSupport.cpp:
26906 (WebCore::PlatformSupport::isTraceEventEnabled):
26908 2011-10-24 Joshua Bell <jsbell@chromium.org>
26910 IndexedDB: Throw DATA_ERR on invalid keys, remove null key support
26911 https://bugs.webkit.org/show_bug.cgi?id=70065
26913 Reviewed by Tony Chang.
26915 Part 1 of a two-sided commit. Renames IDBKey::NullType to
26916 IDBKey::InvalidType. JS binding yields this type rather
26917 than throwing immediately so the correct exception type can
26918 be raised. Checks for invalid keys added to front-end classes.
26920 * src/AssertMatchingEnums.cpp:
26921 * src/WebIDBKey.cpp:
26922 (WebKit::WebIDBKey::assignNull):
26924 2011-10-24 Nat Duca <nduca@chromium.org>
26926 [chromium] Expose WebThread::postDelayedTask to CCThread
26927 https://bugs.webkit.org/show_bug.cgi?id=70712
26929 Reviewed by James Robinson.
26931 * src/CCThreadImpl.cpp:
26932 (WebKit::CCThreadImpl::postDelayedTask):
26933 * src/CCThreadImpl.h:
26935 2011-10-24 Nat Duca <nduca@chromium.org>
26937 [chromium] Manage webkit_unit_tests TestSuite lifetime explicitly in DLL build
26938 https://bugs.webkit.org/show_bug.cgi?id=70688
26940 Reviewed by Tony Chang.
26942 * tests/RunAllTests.cpp:
26944 * tests/WebUnitTests.cpp:
26945 (WebKit::InitTestSuite):
26946 (WebKit::RunAllUnitTests):
26947 (WebKit::DeleteTestSuite):
26948 * tests/WebUnitTests.h:
26950 2011-10-24 Aaron Colwell <acolwell@chromium.org>
26952 Enable MEDIA_SOURCE feature for Chromium
26953 https://bugs.webkit.org/show_bug.cgi?id=70745
26955 Reviewed by David Levin.
26959 2011-10-24 Yury Semikhatsky <yurys@chromium.org>
26961 Web Inspector: allow debugging dedicated worker initialization
26962 https://bugs.webkit.org/show_bug.cgi?id=70723
26964 Pass worker thread start mode to the worker thread.
26966 Reviewed by Pavel Feldman.
26968 * src/WebWorkerClientImpl.cpp:
26969 (WebKit::WebWorkerClientImpl::startWorkerContext):
26970 * src/WebWorkerClientImpl.h:
26972 2011-10-24 Sheriff Bot <webkit.review.bot@gmail.com>
26974 Unreviewed. Rolled DEPS.
26978 2011-10-21 Nat Duca <nduca@chromium.org>
26980 [chromium] Make setVisibility extension- and thread-correct
26981 https://bugs.webkit.org/show_bug.cgi?id=70635
26983 Reviewed by Kenneth Russell.
26985 * public/WebGraphicsContext3D.h:
26986 (WebKit::WebGraphicsContext3D::setVisibilityCHROMIUM):
26987 * src/Extensions3DChromium.cpp:
26988 (WebCore::Extensions3DChromium::setVisibilityCHROMIUM):
26989 * src/GraphicsContext3DChromium.cpp:
26990 * src/GraphicsContext3DPrivate.h:
26991 * src/WebViewImpl.cpp:
26992 (WebKit::WebViewImpl::setVisibilityState):
26994 2011-10-21 Adam Barth <abarth@webkit.org>
26996 Introduce Event::hasInterface to make uses of interfaceName more readable
26997 https://bugs.webkit.org/show_bug.cgi?id=70652
26999 Reviewed by Eric Seidel.
27001 Update call sites to the new interface.
27003 * src/WebDOMEvent.cpp:
27004 (WebKit::WebDOMEvent::isMutationEvent):
27005 (WebKit::WebDOMEvent::isTextEvent):
27006 (WebKit::WebDOMEvent::isCompositionEvent):
27007 (WebKit::WebDOMEvent::isMessageEvent):
27008 (WebKit::WebDOMEvent::isWheelEvent):
27009 (WebKit::WebDOMEvent::isOverflowEvent):
27010 (WebKit::WebDOMEvent::isPageTransitionEvent):
27011 (WebKit::WebDOMEvent::isPopStateEvent):
27012 (WebKit::WebDOMEvent::isProgressEvent):
27013 (WebKit::WebDOMEvent::isXMLHttpRequestProgressEvent):
27014 (WebKit::WebDOMEvent::isWebKitAnimationEvent):
27015 (WebKit::WebDOMEvent::isWebKitTransitionEvent):
27016 (WebKit::WebDOMEvent::isBeforeLoadEvent):
27017 * src/WebPluginContainerImpl.cpp:
27018 (WebKit::WebPluginContainerImpl::handleEvent):
27020 2011-10-21 Adam Barth <abarth@webkit.org>
27022 Event.h has too many virtual isMumbleEvent() functions
27023 https://bugs.webkit.org/show_bug.cgi?id=70636
27025 Reviewed by Dimitri Glazkov.
27027 Update these callsites to the new API.
27029 * src/WebDOMEvent.cpp:
27030 (WebKit::WebDOMEvent::isKeyboardEvent):
27031 (WebKit::WebDOMEvent::isMutationEvent):
27032 (WebKit::WebDOMEvent::isTextEvent):
27033 (WebKit::WebDOMEvent::isCompositionEvent):
27034 (WebKit::WebDOMEvent::isClipboardEvent):
27035 (WebKit::WebDOMEvent::isMessageEvent):
27036 (WebKit::WebDOMEvent::isWheelEvent):
27037 (WebKit::WebDOMEvent::isBeforeTextInsertedEvent):
27038 (WebKit::WebDOMEvent::isOverflowEvent):
27039 (WebKit::WebDOMEvent::isPageTransitionEvent):
27040 (WebKit::WebDOMEvent::isProgressEvent):
27041 (WebKit::WebDOMEvent::isBeforeLoadEvent):
27043 2011-10-20 Zhenyao Mo <zmo@google.com>
27045 Implement mechanism to enable privileged webgl extensions
27046 https://bugs.webkit.org/show_bug.cgi?id=70538
27048 Reviewed by Darin Fisher.
27050 * public/WebSettings.h: Add the flag.
27051 * src/WebSettingsImpl.cpp: Ditto.
27052 (WebKit::WebSettingsImpl::setPrivilegedWebGLExtensionsEnabled):
27053 * src/WebSettingsImpl.h: Ditto.
27055 2011-10-21 Yury Semikhatsky <yurys@chromium.org>
27057 [Chromium] Web Inspector: remove debugger support for out-of-process dedicated workers
27058 https://bugs.webkit.org/show_bug.cgi?id=70602
27060 Now that Chromium uses in-process dedicated workers, remove support for out-of-process
27061 dedicated workers debugger.
27063 Reviewed by Pavel Feldman.
27065 * public/WebWorker.h:
27066 * src/WebWorkerClientImpl.cpp:
27067 (WebKit::WebWorkerClientImpl::connectToInspector):
27068 (WebKit::WebWorkerClientImpl::disconnectFromInspector):
27069 (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
27070 * src/WebWorkerClientImpl.h:
27071 * src/WebWorkerImpl.cpp:
27072 * src/WebWorkerImpl.h:
27074 2011-10-20 Sheriff Bot <webkit.review.bot@gmail.com>
27076 Unreviewed. Rolled DEPS.
27080 2011-10-20 Fady Samuel <fsamuel@chromium.org>
27082 [Chromium] Fixed Layout API needs to check that a FrameView has been created to avoid segfaults
27083 https://bugs.webkit.org/show_bug.cgi?id=70519
27085 Reviewed by Adam Barth.
27087 Simple patch. Upcoming patches for https://bugs.webkit.org/show_bug.cgi?id=70559 will make
27088 use of these methods in certain situations where the main frame doesn't yet have a FrameView.
27090 * src/WebViewImpl.cpp:
27091 (WebKit::WebViewImpl::isFixedLayoutModeEnabled):
27092 (WebKit::WebViewImpl::enableFixedLayoutMode):
27093 (WebKit::WebViewImpl::fixedLayoutSize):
27094 (WebKit::WebViewImpl::setFixedLayoutSize):
27096 2011-10-20 Sheriff Bot <webkit.review.bot@gmail.com>
27098 Unreviewed. Rolled DEPS.
27102 2011-10-20 Darin Adler <darin@apple.com>
27104 Remove OptionElement (first half)
27105 https://bugs.webkit.org/show_bug.cgi?id=70276
27107 Reviewed by Kent Tamura.
27109 Update hand-written binding for option element so it does not depend on otherwise-unneeded functions.
27111 * src/WebOptionElement.cpp:
27112 (WebKit::WebOptionElement::defaultSelected): Call hasAttribute.
27113 (WebKit::WebOptionElement::setDefaultSelected): Call setAttribute.
27115 * src/WebSearchableFormData.cpp:
27116 (HTMLNames::IsSelectInDefaultState): Call hasAttribute.
27118 2011-10-20 Nico Weber <thakis@chromium.org>
27120 [chromium/mac] Add support for building with make
27121 https://bugs.webkit.org/show_bug.cgi?id=70455
27123 Reviewed by Adam Barth.
27125 Depends on http://codereview.chromium.org/8352029/
27126 `GYP_GENERATORS=make Tools/Scripts/update-webkit --chromium` will
27127 create a toplevel Makefile.chromium.
27129 If that file exists and is newer than Source/WebKit/chromium/WebKit.xcodeproj,
27130 `Tools/Scripts/build-webkit --chromium` will build with make instead of
27134 2011-10-20 Nat Duca <nduca@chromium.org>
27136 [chromium] Route onSwapBuffersComplete from LayerRenderer to CCScheduler.
27138 Reviewed by James Robinson.
27140 * src/GraphicsContext3DChromium.cpp:
27141 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
27142 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
27143 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
27144 (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::create):
27145 (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
27146 * src/GraphicsContext3DPrivate.h:
27147 * tests/CCLayerTreeHostImplTest.cpp:
27148 (WebCore::CCLayerTreeHostImplTest::onSwapBuffersCompleteOnImplThread):
27149 * tests/CCSchedulerTest.cpp:
27150 (WebCore::CCSchedulerTest::CCSchedulerTest):
27153 2011-10-20 Michal Mocny <mmocny@google.com>
27155 [chromium] Add a setVisibility method to WebGraphicsContext3D.
27156 https://bugs.webkit.org/show_bug.cgi?id=68905
27158 Reviewed by Kenneth Russell.
27160 Added hooks for notifying WebGraphicsContext3D of surface visibility changes.
27161 Useful for releasing various graphics resource.
27164 * public/WebGraphicsContext3D.h:
27165 * src/WebViewImpl.cpp:
27166 (WebKit::WebViewImpl::setVisibilityState):
27167 * tests/MockWebGraphicsContext3D.h:
27168 (WebKit::MockWebGraphicsContext3D::setVisibility):
27170 2011-10-20 Antoine Labour <piman@chromium.org>
27172 Export missing symbols from Web*Layer
27173 https://bugs.webkit.org/show_bug.cgi?id=70440
27175 Reviewed by Darin Fisher.
27177 * public/WebContentLayer.h:
27178 * public/WebExternalTextureLayer.h:
27179 * public/WebLayer.h:
27180 * public/WebLayerTreeView.h:
27182 2011-10-17 Nat Duca <nduca@chromium.org>
27184 [chromium] Allow CCLayerTreeHostImpl to call back to proxy via CCLayerTreeHostImplClient
27185 https://bugs.webkit.org/show_bug.cgi?id=70291
27187 Reviewed by James Robinson.
27189 * tests/CCLayerTreeHostImplTest.cpp:
27190 (WebCore::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
27191 (WebCore::CCLayerTreeHostImplTest::setNeedsRedrawOnImplThread):
27192 (WebCore::CCLayerTreeHostImplTest::setNeedsCommitOnImplThread):
27194 * tests/CCLayerTreeHostTest.cpp:
27195 (WTF::MockLayerTreeHostImpl::create):
27196 (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
27197 (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
27199 2011-10-20 Vincent Scheib <scheib@chromium.org>
27201 MouseLock compile and run time flags.
27202 https://bugs.webkit.org/show_bug.cgi?id=70530
27204 Reviewed by Darin Fisher.
27207 * public/WebRuntimeFeatures.h:
27208 * public/WebSettings.h:
27209 * src/WebRuntimeFeatures.cpp:
27210 (WebKit::WebRuntimeFeatures::enableMouseLockAPI):
27211 (WebKit::WebRuntimeFeatures::isMouseLockAPIEnabled):
27212 * src/WebSettingsImpl.cpp:
27213 (WebKit::WebSettingsImpl::setMouseLockEnabled):
27214 * src/WebSettingsImpl.h:
27216 2011-10-20 Hao Zheng <zhenghao@chromium.org>
27218 [Chromium] Reduce dependencies of ImageDiff to compile it for Android.
27219 https://bugs.webkit.org/show_bug.cgi?id=69997
27221 Reviewed by Tony Chang.
27223 This change is required to make ImageDiff for Android, and can benefit
27224 other platforms, too. On Android, most targets are built as
27225 toolsets:target. while ImageDiff needs to be built as toolsets:host.
27226 Currently, building the standalone target of ImageDiff depends on about
27227 85 other targets (try make ImageDiff'), which is inefficient. After the
27228 change, ImageDiff only depends on webkit_support_gfx, which in turn
27229 depends on libpng and zlib.
27233 2011-10-20 Sheriff Bot <webkit.review.bot@gmail.com>
27235 Unreviewed, rolling out r97917.
27236 http://trac.webkit.org/changeset/97917
27237 https://bugs.webkit.org/show_bug.cgi?id=70475
27239 number of crashes on Snow Leopard/Lion tests bots
27240 http://build.webkit.org/results/Lion%20Intel%20Release%20(Tests)/r97917%20(2020)/http/tests/inspector
27241 /extensions-network-redirect-crash-log.txt (Requested by
27242 loislo on #webkit).
27244 * src/WebOptionElement.cpp:
27245 (WebKit::WebOptionElement::defaultSelected):
27246 (WebKit::WebOptionElement::setDefaultSelected):
27247 * src/WebSearchableFormData.cpp:
27248 (HTMLNames::IsSelectInDefaultState):
27250 2011-10-19 Nat Duca <nduca@chromium.org>
27252 [chromium] Route requestAnimationFrame through CCProxy in threaded mode
27253 https://bugs.webkit.org/show_bug.cgi?id=70160
27255 Reviewed by James Robinson.
27257 * src/ChromeClientImpl.cpp:
27258 (WebKit::ChromeClientImpl::scheduleAnimation):
27259 * src/WebViewImpl.cpp:
27260 (WebKit::WebViewImpl::scheduleAnimation):
27261 * src/WebViewImpl.h:
27263 2011-10-19 Nico Weber <thakis@chromium.org>
27265 [chromium/mac] Use clang as compiler!
27266 https://bugs.webkit.org/show_bug.cgi?id=70425
27268 Reviewed by Adam Barth.
27270 It looks like http://trac.webkit.org/changeset/97415 was all that's
27271 needed to get this to work.
27274 Don't force clang off, which means it's now on by default on mac.
27276 2011-10-19 Darin Adler <darin@apple.com>
27278 Remove OptionElement (first half)
27279 https://bugs.webkit.org/show_bug.cgi?id=70276
27281 Reviewed by Kent Tamura.
27283 Update hand-written binding for option element so it does not depend on otherwise-unneeded functions.
27285 * src/WebOptionElement.cpp:
27286 (WebKit::WebOptionElement::defaultSelected): Call hasAttribute.
27287 (WebKit::WebOptionElement::setDefaultSelected): Call setAttribute.
27289 * src/WebSearchableFormData.cpp:
27290 (HTMLNames::IsSelectInDefaultState): Call hasAttribute.
27292 2011-10-19 Kent Tamura <tkent@chromium.org>
27294 [Chromium]: Move from FileChooserSettings deprecatedAcceptType to acceptMIMETypes
27295 https://bugs.webkit.org/show_bug.cgi?id=70003
27297 Reviewed by Darin Fisher.
27299 * public/WebFileChooserParams.h:
27300 Add acceptMIMETypes, and make acceptTypes deprecated.
27301 * src/ChromeClientImpl.cpp:
27302 (WebKit::ChromeClientImpl::runOpenPanel):
27303 - Set WebFileChooserParams::acceptMIMETypes
27304 - Set a joined string to WebFileChooserParams::acceptTypes until we remove acceptTypes.
27306 2011-10-19 Adam Bergkvist <adam.bergkvist@ericsson.com>
27308 Update MediaStream to use WebCore platform interfaces
27309 https://bugs.webkit.org/show_bug.cgi?id=68464
27311 Reviewed by Adam Barth.
27313 Removed WebMediaStreamTrack* since they will no longer be needed.
27316 * public/WebMediaStreamTrack.h: Removed.
27317 * public/WebMediaStreamTrackList.h: Removed.
27318 * src/WebMediaStreamTrack.cpp: Removed.
27319 * src/WebMediaStreamTrackList.cpp: Removed.
27321 2011-10-19 Zhenyao Mo <zmo@google.com>
27323 Implement WEBGL_debug_shaders and WEBGL_debug_renderer_info extensions
27324 https://bugs.webkit.org/show_bug.cgi?id=70077
27326 Reviewed by Kenneth Russell.
27328 * public/WebGraphicsContext3D.h: Added support for getTranslatedShaderSourceANGLE.
27329 (WebKit::WebGraphicsContext3D::getTranslatedShaderSourceANGLE):
27330 * src/Extensions3DChromium.cpp: Ditto.
27331 (WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE):
27332 * src/GraphicsContext3DChromium.cpp: Ditto.
27333 * src/GraphicsContext3DPrivate.h: Ditto.
27335 2011-10-19 Dirk Pranke <dpranke@chromium.org>
27337 Unreviewed, rolling out r97850.
27338 http://trac.webkit.org/changeset/97850
27339 https://bugs.webkit.org/show_bug.cgi?id=70334
27341 tests are crashing on xp debug
27345 2011-10-19 Andrey Kosyakov <caseq@chromium.org>
27347 Web Inspector: make extension tests pass on chromium
27348 https://bugs.webkit.org/show_bug.cgi?id=70334
27350 Reviewed by Pavel Feldman.
27352 * DEPS: roll chromium 105970:106056
27354 2011-10-18 Yuzo Fujishima <yuzo@google.com>
27356 [chromium] Attempt to fix Linux Clang compilation error.
27360 * tests/CCLayerTreeHostTest.cpp:
27361 (WTF::CCLayerTreeHostTestThreadOnly::runTestThreaded):
27364 2011-10-18 James Robinson <jamesr@chromium.org>
27366 [chromium] Remove USE(THREADED_COMPOSITING) from the tree, this is controlled by a runtime setting
27367 https://bugs.webkit.org/show_bug.cgi?id=70356
27369 Reviewed by Kenneth Russell.
27372 * src/WebLayerTreeViewImpl.cpp:
27373 (WebKit::WebLayerTreeViewImpl::scheduleComposite):
27374 * src/WebLayerTreeViewImpl.h:
27375 * src/WebViewImpl.h:
27377 2011-10-18 Antoine Labour <piman@chromium.org>
27379 Enable out-of-thread compositing in WebKit compositor API
27380 https://bugs.webkit.org/show_bug.cgi?id=69850
27382 Reviewed by James Robinson.
27384 * src/WebLayerTreeView.cpp:
27385 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
27386 (WebKit::WebLayerTreeView::composite):
27388 2011-10-18 James Robinson <jamesr@chromium.org>
27390 [chromium] Fix shutdown race when posting main thread task to CCThreadProxy and enable tests
27391 https://bugs.webkit.org/show_bug.cgi?id=70161
27393 Reviewed by David Levin.
27395 Enables the CCLayerTreeHostTest* tests by default. Most tests are run twice in a single thread and multiple
27396 thread configuration. Some tests run only in the multiple thread configuration if they depend on the compositor
27397 thread scheduling draws by itself.
27399 * tests/CCLayerTreeHostTest.cpp:
27400 (::CCLayerTreeHostTest::timeout):
27401 (::CCLayerTreeHostTest::clearTimeout):
27402 (::CCLayerTreeHostTest::CCLayerTreeHostTest):
27403 (::CCLayerTreeHostTest::onEndTest):
27404 (::CCLayerTreeHostTest::TimeoutTask::TimeoutTask):
27405 (::CCLayerTreeHostTest::TimeoutTask::clearTest):
27406 (::CCLayerTreeHostTest::TimeoutTask::~TimeoutTask):
27407 (::CCLayerTreeHostTest::TimeoutTask::Run):
27408 (::CCLayerTreeHostTest::runTest):
27409 (::CCLayerTreeHostTest::doBeginTest):
27410 (::CCLayerTreeHostTestThreadOnly::runTest):
27411 (::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
27413 2011-10-18 Adam Barth <abarth@webkit.org>
27415 Always enable ENABLE(XPATH)
27416 https://bugs.webkit.org/show_bug.cgi?id=70217
27418 Reviewed by Eric Seidel.
27422 2011-10-18 Chris Fleizach <cfleizach@apple.com>
27424 AX: buttons of number type <input> controls are not fully accessible
27425 https://bugs.webkit.org/show_bug.cgi?id=70241
27427 Reviewed by Darin Adler.
27429 * public/WebAccessibilityRole.h:
27430 * src/AssertMatchingEnums.cpp:
27432 2011-10-17 Sheriff Bot <webkit.review.bot@gmail.com>
27434 Unreviewed, rolling out r97677.
27435 http://trac.webkit.org/changeset/97677
27436 https://bugs.webkit.org/show_bug.cgi?id=70308
27438 A dependent revision was rolled out. (Requested by tkent on
27441 * public/WebAccessibilityRole.h:
27442 * src/AssertMatchingEnums.cpp:
27444 2011-10-17 Jochen Eisinger <jochen@chromium.org>
27446 Make NavigationAction wrap a ResourceRequest instead of a KURL.
27447 https://bugs.webkit.org/show_bug.cgi?id=68803
27449 Use the request in the NavigationAction, if the FrameLoadRequest
27450 doesn't already contain a request.
27452 Reviewed by Nate Chapin.
27454 * src/ChromeClientImpl.cpp:
27455 (WebKit::ChromeClientImpl::createWindow):
27457 2011-10-17 James Robinson <jamesr@chromium.org>
27459 [chromium] Fix a new[]/delete mismatch in InnerGestureRecognizerTest that makes valgrind sad
27460 https://bugs.webkit.org/show_bug.cgi?id=70273
27462 Reviewed by Mihai Parparita.
27464 * tests/InnerGestureRecognizerTest.cpp:
27465 (TouchSequence::~TouchSequence):
27467 2011-10-17 Sheriff Bot <webkit.review.bot@gmail.com>
27469 Unreviewed. Rolled DEPS.
27473 2011-10-17 Peter Beverloo <peter@chromium.org>
27475 [Chromium] Add a missing semi-colon in ExternalPopupMenu.cpp
27476 https://bugs.webkit.org/show_bug.cgi?id=70232
27478 Reviewed by Andreas Kling.
27480 * src/ExternalPopupMenu.cpp:
27481 (WebKit::ExternalPopupMenu::didAcceptIndices):
27483 2011-10-17 James Robinson <jamesr@chromium.org>
27485 Unreviewed, rolling out r97690.
27486 http://trac.webkit.org/changeset/97690
27487 https://bugs.webkit.org/show_bug.cgi?id=70161
27489 Hits assertion in CCLayerTreeHostTests
27491 * tests/CCLayerTreeHostTest.cpp:
27492 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
27493 (WTF::CCLayerTreeHostTest::onEndTest):
27494 (WTF::CCLayerTreeHostTest::runTest):
27495 (WTF::CCLayerTreeHostTest::testTimeout):
27496 (WTF::CCLayerTreeHostTest::doBeginTest):
27497 (WTF::CCLayerTreeHostTest::endTest):
27498 (WTF::CCLayerTreeHostTestThreadOnly::runTest):
27500 (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
27501 * tests/CCThreadTest.cpp:
27502 (WebKit::PingPongTestUsingTasks::ping):
27504 2011-10-17 James Robinson <jamesr@chromium.org>
27506 [chromium] Fix shutdown race when posting main thread task to CCThreadProxy and enable tests
27507 https://bugs.webkit.org/show_bug.cgi?id=70161
27509 Reviewed by David Levin.
27511 Enables the CCLayerTreeHostTest* tests by default. Most tests are run twice in a single thread and multiple
27512 thread configuration. Some tests run only in the multiple thread configuration if they depend on the compositor
27513 thread scheduling draws by itself.
27515 * tests/CCLayerTreeHostTest.cpp:
27516 (::CCLayerTreeHostTest::timeout):
27517 (::CCLayerTreeHostTest::clearTimeout):
27518 (::CCLayerTreeHostTest::CCLayerTreeHostTest):
27519 (::CCLayerTreeHostTest::onEndTest):
27520 (::CCLayerTreeHostTest::TimeoutTask::TimeoutTask):
27521 (::CCLayerTreeHostTest::TimeoutTask::clearTest):
27522 (::CCLayerTreeHostTest::TimeoutTask::~TimeoutTask):
27523 (::CCLayerTreeHostTest::TimeoutTask::Run):
27524 (::CCLayerTreeHostTest::runTest):
27525 (::CCLayerTreeHostTest::doBeginTest):
27526 (::CCLayerTreeHostTestThreadOnly::runTest):
27527 (::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
27529 2011-10-17 Alok Priyadarshi <alokp@chromium.org>
27531 Add layout tests for WebPlugin compositor path
27532 https://bugs.webkit.org/show_bug.cgi?id=69027
27534 Reviewed by James Robinson.
27536 * src/WebPluginContainerImpl.cpp:
27537 (WebKit::WebPluginContainerImpl::printEnd):
27539 2011-10-17 Chris Fleizach <cfleizach@apple.com>
27541 AX: buttons of number type <input> controls are not fully accessible
27542 https://bugs.webkit.org/show_bug.cgi?id=70241
27544 Build fix. Fix matching enums.
27546 * public/WebAccessibilityRole.h:
27547 * src/AssertMatchingEnums.cpp:
27549 2011-10-17 Yury Semikhatsky <yurys@chromium.org>
27551 [Chromium] Web Inspector: don't check for debugger pause details in interactive ui tests
27552 https://bugs.webkit.org/show_bug.cgi?id=70228
27554 Removed debugger pause details validation. The only check left is that debugger pause event is fired when expected.
27556 Reviewed by Pavel Feldman.
27559 (.TestSuite.prototype.testPauseWhenLoadingDevTools):
27560 (.TestSuite.prototype.testPauseWhenScriptIsRunning.didEvaluateInConsole):
27561 (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
27562 (.TestSuite.prototype.testPauseWhenScriptIsRunning):
27563 (.TestSuite.prototype.testPauseInSharedWorkerInitialization):
27564 (.TestSuite.prototype._waitForScriptPause):
27566 2011-10-17 Mikhail Naganov <mnaganov@chromium.org>
27568 Unreviewed. Remove reference to third_party/skia/gpu.
27569 It was removed from Chromium DEPS in Chromium r105526.
27573 2011-10-17 Sheriff Bot <webkit.review.bot@gmail.com>
27575 Unreviewed. Rolled DEPS.
27579 2011-10-16 Adam Barth <abarth@webkit.org>
27581 Always enable ENABLE(DOM_STORAGE)
27582 https://bugs.webkit.org/show_bug.cgi?id=70189
27584 Reviewed by Eric Seidel.
27587 * src/StorageAreaProxy.cpp:
27588 * src/StorageAreaProxy.h:
27589 * src/StorageEventDispatcherChromium.cpp:
27590 * src/StorageEventDispatcherImpl.cpp:
27591 * src/StorageEventDispatcherImpl.h:
27592 * src/StorageNamespaceProxy.cpp:
27593 * src/StorageNamespaceProxy.h:
27594 * src/WebRuntimeFeatures.cpp:
27595 (WebKit::WebRuntimeFeatures::enableLocalStorage):
27596 (WebKit::WebRuntimeFeatures::isLocalStorageEnabled):
27597 (WebKit::WebRuntimeFeatures::enableSessionStorage):
27598 (WebKit::WebRuntimeFeatures::isSessionStorageEnabled):
27599 * src/WebStorageAreaImpl.cpp:
27600 * src/WebStorageAreaImpl.h:
27601 * src/WebStorageEventDispatcherImpl.cpp:
27602 * src/WebStorageEventDispatcherImpl.h:
27603 * src/WebStorageNamespaceImpl.cpp:
27604 * src/WebStorageNamespaceImpl.h:
27606 2011-10-15 Adam Barth <abarth@webkit.org>
27608 Rename ENABLE(SKIA_TEXT) to USE(SKIA_TEXT)
27609 https://bugs.webkit.org/show_bug.cgi?id=70191
27611 Reviewed by Daniel Bates.
27615 2011-10-15 Adam Barth <abarth@webkit.org>
27617 Remove unused ENABLE(SKIA_GPU)
27618 https://bugs.webkit.org/show_bug.cgi?id=70192
27620 Reviewed by Daniel Bates.
27622 There do not appear to be any references to this macro.
27626 2011-10-15 Vincent Scheib <scheib@chromium.org>
27628 [Chromium] Populate WebMouseEvent movementX/Y on Mac
27629 https://bugs.webkit.org/show_bug.cgi?id=70167
27631 Reviewed by Adam Barth.
27633 * src/mac/WebInputEventFactory.mm:
27634 (WebKit::setWebEventLocationFromEventInView):
27636 2011-10-15 Antoine Labour <piman@chromium.org>
27638 Add WebAcceleratedContentLayer backed by a texture to support accelerated content hosting
27639 https://bugs.webkit.org/show_bug.cgi?id=70084
27641 Reviewed by James Robinson.
27644 * public/WebExternalTextureLayer.h: Added.
27645 (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
27646 (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
27647 (WebKit::WebExternalTextureLayer::operator=):
27648 * src/WebExternalTextureLayer.cpp: Copied from Source/WebCore/platform/graphics/chromium/cc/CCPluginLayerImpl.h.
27649 (WebKit::WebExternalTextureLayer::create):
27650 (WebKit::WebExternalTextureLayer::setTextureId):
27651 (WebKit::WebExternalTextureLayer::textureId):
27652 (WebKit::WebExternalTextureLayer::setFlipped):
27653 (WebKit::WebExternalTextureLayer::flipped):
27654 (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
27655 (WebKit::WebExternalTextureLayer::operator=):
27656 (WebKit::WebExternalTextureLayer::operator PassRefPtr<WebExternalTextureLayerImpl>):
27657 * src/WebExternalTextureLayerImpl.cpp: Copied from Source/WebCore/platform/graphics/chromium/cc/CCPluginLayerImpl.h.
27658 (WebKit::WebExternalTextureLayerImpl::create):
27659 (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
27660 (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
27661 (WebKit::WebExternalTextureLayerImpl::drawsContent):
27662 (WebKit::WebExternalTextureLayerImpl::paintContents):
27663 (WebKit::WebExternalTextureLayerImpl::notifySyncRequired):
27664 * src/WebExternalTextureLayerImpl.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCPluginLayerImpl.h.
27666 2011-10-15 Michael Nordman <michaeln@google.com>
27668 [Chromium] Some WebSQLDatabase in worker bug fixes.
27669 https://bugs.webkit.org/show_bug.cgi?id=70071
27671 - Test for a NULL webView WebWorkerClientImpl.
27672 - Avoid altering Database instance lifetimes during WorkerThread::stop().
27674 Reviewed by David Levin.
27676 * src/WebWorkerClientImpl.cpp:
27677 (WebKit::WebWorkerClientImpl::allowFileSystem):
27678 (WebKit::WebWorkerClientImpl::allowDatabase):
27680 2011-10-14 Darin Adler <darin@apple.com>
27682 Try to fix Chromium build.
27684 * tests/PopupMenuTest.cpp:
27685 (WebKit::TestPopupMenuClient::valueChanged):
27686 Use toHTMLSelectElement instead of toSelectElement.
27688 2011-10-14 Dmitry Lomov <dslomov@google.com>
27690 https://bugs.webkit.org/show_bug.cgi?id=70120
27691 [Chromium] Pass MessagePortArray to SerializedScriptValue::serialize/deserialize.
27692 This patch augments SerializedScriptValue with MessagePortArray* parameter to implement MessagePort
27693 transfer within the message in the future.
27695 Reviewed by David Levin.
27697 * src/WebSerializedScriptValue.cpp:
27698 (WebKit::WebSerializedScriptValue::serialize):
27700 2011-10-14 Sheriff Bot <webkit.review.bot@gmail.com>
27702 Unreviewed. Rolled DEPS.
27706 2011-10-14 Daniel Cheng <dcheng@chromium.org>
27708 Context-aware HTML paste for Chromium
27709 https://bugs.webkit.org/show_bug.cgi?id=62112
27711 Reviewed by Ryosuke Niwa.
27713 Add WebKit side for plumbing to receive context for HTML paste.
27715 * public/WebClipboard.h:
27716 (WebKit::WebClipboard::readHTML):
27717 * src/PlatformSupport.cpp:
27718 (WebCore::PlatformSupport::clipboardReadHTML):
27720 2011-10-14 Peter Beverloo <peter@chromium.org>
27722 [Chromium] Inherit settings from Chromium's envsetup.sh, address a NDK todo
27723 https://bugs.webkit.org/show_bug.cgi?id=70028
27725 Reviewed by Adam Barth.
27730 2011-10-14 Ryosuke Niwa <rniwa@webkit.org>
27732 Chromium Mac build fix after r97478.
27734 * src/mac/WebSubstringUtil.mm:
27735 (WebKit::WebSubstringUtil::attributedSubstringInRange):
27737 2011-10-12 Ryosuke Niwa <rniwa@webkit.org>
27739 Make the interface of locationAndLengthFromRange and rangeFromLocationAndLength consistent
27740 https://bugs.webkit.org/show_bug.cgi?id=69964
27742 Reviewed by Enrica Casucci.
27744 * src/WebFrameImpl.cpp:
27745 (WebKit::WebFrameImpl::firstRectForCharacterRange):
27746 (WebKit::WebFrameImpl::characterIndexForPoint):
27747 * src/WebViewImpl.cpp:
27748 (WebKit::WebViewImpl::compositionRange):
27749 (WebKit::WebViewImpl::getSelectionOffsetsAndTextInEditableContent):
27750 (WebKit::WebViewImpl::caretOrSelectionRange):
27751 * src/mac/WebSubstringUtil.mm:
27752 (WebKit::WebSubstringUtil::attributedSubstringInRange):
27754 2011-10-13 Arko Saha <arko@motorola.com>
27756 Microdata: Basic implementation of document.getItems() method.
27757 https://bugs.webkit.org/show_bug.cgi?id=68610
27759 Reviewed by Ryosuke Niwa.
27761 Added ENABLE(MICRODATA) feature flag. Implement document.getItems() DOM API.
27762 Spec : http://www.whatwg.org/specs/web-apps/current-work/complete/microdata.html
27766 2011-10-12 Hans Wennborg <hans@chromium.org>
27768 IndexedDB: Remove SQLite backing store
27769 https://bugs.webkit.org/show_bug.cgi?id=69620
27771 Reviewed by Darin Fisher.
27773 Remove the SQLite backing store implementation; it is not used anymore.
27774 Also remove the maximumSize parameter, it is not used either.
27776 * public/WebIDBFactory.h:
27777 (WebKit::WebIDBFactory::getDatabaseNames):
27778 (WebKit::WebIDBFactory::open):
27779 * src/AssertMatchingEnums.cpp:
27780 * src/IDBFactoryBackendProxy.cpp:
27781 (WebKit::IDBFactoryBackendProxy::getDatabaseNames):
27782 (WebKit::IDBFactoryBackendProxy::open):
27783 * src/IDBFactoryBackendProxy.h:
27784 * src/WebIDBFactoryImpl.cpp:
27785 (WebKit::WebIDBFactoryImpl::getDatabaseNames):
27786 (WebKit::WebIDBFactoryImpl::open):
27787 * src/WebIDBFactoryImpl.h:
27789 2011-10-14 Justin Schuh <jschuh@chromium.org>
27791 Clear WebMediaPlayerClientImpl back pointer on destruction
27792 https://bugs.webkit.org/show_bug.cgi?id=69973
27794 Reviewed by James Robinson.
27796 Clear the backpointer and remove the unused m_currentFrame
27798 * src/WebMediaPlayerClientImpl.cpp:
27799 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
27800 (WebKit::WebMediaPlayerClientImpl::load):
27801 (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
27802 (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
27803 * src/WebMediaPlayerClientImpl.h:
27805 2011-10-14 Polina Sokolova <polina@chromium.org>
27807 Make it possible for plugins to get current fullscreen element.
27808 WebCore::Document already has webkitCurrentFullScreenElement().
27809 Add a wrapper for it in WebKit::WebDocument.
27810 https://bugs.webkit.org/show_bug.cgi?id=70076
27812 Reviewed by Darin Fisher.
27814 * public/WebDocument.h:
27815 * src/WebDocument.cpp:
27816 (WebKit::WebDocument::securityOrigin):
27817 (WebKit::WebDocument::isHTMLDocument):
27818 (WebKit::WebDocument::isPluginDocument):
27819 (WebKit::WebDocument::fullScreenElement):
27821 2011-10-13 Antoine Labour <piman@chromium.org>
27823 Expose layer debug borders to WebLayer
27824 https://bugs.webkit.org/show_bug.cgi?id=70079
27826 Reviewed by Darin Fisher.
27828 * public/WebLayer.h:
27829 * src/WebLayer.cpp:
27830 (WebKit::WebLayer::setDebugBorderColor):
27831 (WebKit::WebLayer::setDebugBorderWidth):
27833 2011-10-13 Julien Chaffraix <jchaffraix@webkit.org>
27835 Remove layerX / layerY from the Chromium API
27836 https://bugs.webkit.org/show_bug.cgi?id=70052
27838 Reviewed by Darin Fisher.
27840 * public/WebDOMMouseEvent.h:
27841 * src/WebDOMMouseEvent.cpp:
27842 Just remove the 2 properties without considering the ABI stability.
27844 2011-10-13 Nico Weber <thakis@chromium.org>
27846 [chromium] Automatically pull clang on `update-webkit --chromium` on mac
27847 https://bugs.webkit.org/show_bug.cgi?id=70058
27849 Reviewed by Adam Barth.
27853 2011-10-13 John Knottenbelt <jknotten@chromium.org>
27855 [Chromium] Allow building without speech input enabled.
27856 https://bugs.webkit.org/show_bug.cgi?id=69867
27858 Reviewed by Darin Fisher.
27860 * src/AssertMatchingEnums.cpp:
27861 * src/WebSpeechInputControllerMockImpl.cpp:
27862 (WebKit::WebSpeechInputControllerMock::create):
27863 * src/WebSpeechInputControllerMockImpl.h:
27864 * src/WebSpeechInputResult.cpp:
27866 2011-10-13 Peng Huang <shawn.p.huang@gmail.com>
27868 [chromium] Add a selectionBounds() method to WebWidget.
27869 https://bugs.webkit.org/show_bug.cgi?id=69028
27871 Reviewed by Darin Fisher.
27873 * public/WebWidget.h:
27874 (WebKit::WebWidget::selectionBounds):
27875 * src/WebViewImpl.cpp:
27876 (WebKit::WebViewImpl::selectionRange):
27877 (WebKit::WebViewImpl::selectionBounds):
27878 * src/WebViewImpl.h:
27880 2011-10-13 Kent Tamura <tkent@chromium.org>
27882 Cleanup of HTMLSelectElement
27883 https://bugs.webkit.org/show_bug.cgi?id=69908
27885 Reviewed by Darin Adler.
27887 Change the HTMLSelectElement::listItems() return type:
27888 Vector<Element*> -> Vector<HTMLElement*>
27890 * src/WebSearchableFormData.cpp:
27891 (HTMLNames::IsSelectInDefaultState):
27892 * src/WebSelectElement.cpp:
27893 (WebKit::WebSelectElement::listItems):
27895 2011-10-12 Joseph Pecoraro <joepeck@webkit.org>
27897 Pass Parsed Accept Attribute MIME Types to WebKit Clients
27898 https://bugs.webkit.org/show_bug.cgi?id=69598
27900 Reviewed by Kent Tamura.
27902 Chromium uses the deprecated accept string. Switching to
27903 the new approach will require coordination with their port.
27905 * src/ChromeClientImpl.cpp:
27906 (WebKit::ChromeClientImpl::runOpenPanel):
27908 2011-10-12 Antoine Labour <piman@chromium.org>
27910 Fix CCThreadTest.startPostAndWaitOnCondition
27911 https://bugs.webkit.org/show_bug.cgi?id=69967
27913 Reviewed by Darin Fisher.
27915 * tests/CCThreadTest.cpp:
27918 2011-10-12 Sheriff Bot <webkit.review.bot@gmail.com>
27920 Unreviewed. Rolled DEPS.
27924 2011-10-12 Nico Weber <thakis@chromium.org>
27926 [chromium] Add a setSelectionToRange() method to WebFrame.
27927 https://bugs.webkit.org/show_bug.cgi?id=69846
27929 Also add a method to WebRange to create a range given a frame and an
27932 This will be used to implement the "replacement range" feature of OS X
27933 IMEs, see http://codereview.chromium.org/8227018 (the change to
27935 The renderer will set the selection to the replacement range before
27936 calling confirmComposition(). This matches how WK2 does this, see
27937 Source/WebKit2/WebProcess/WebPage/mac/WebPageMac.mm,
27938 WebPage::setComposition(). The function convertToRange() was taken
27941 Reviewed by Darin Fisher.
27943 * public/WebFrame.h:
27944 (WebKit::WebFrame::setSelectionToRange):
27945 * src/WebFrameImpl.cpp:
27946 (WebKit::WebViewImpl::setSelectionToRange):
27947 * src/WebFrameImpl.h:
27948 (WebKit::WebViewImpl::setSelectionToRange):
27949 * src/WebRange.cpp:
27950 (WebRange::fromGlobalRange):
27952 (WebRange::fromGlobalRange):
27954 2011-10-12 Sergey Glazunov <serg.glazunov@gmail.com>
27956 ScriptController::executeIfJavaScriptURL gets confused by synchronous frame loads
27957 https://bugs.webkit.org/show_bug.cgi?id=69777
27959 Reviewed by Adam Barth.
27961 * src/WebFrameImpl.cpp:
27962 (WebKit::WebFrameImpl::loadJavaScriptURL):
27964 2011-10-12 Yury Semikhatsky <yurys@chromium.org>
27966 [Chromium] Web Inspector: testPauseWhenLoadingDevTools is broken
27967 https://bugs.webkit.org/show_bug.cgi?id=69934
27969 Reviewed by Pavel Feldman.
27973 2011-10-12 Cary Clark <caryclark@google.com>
27975 [Chromium] Prevent fallback fonts from purging while measuring
27976 https://bugs.webkit.org/show_bug.cgi?id=69855
27978 Reviewed by Eric Seidel.
27980 When Chrome computes the page width, an international page
27981 may bring in a fallback font. FontCache::getCachedFontData
27982 expects the font cache to be locked, so the measure path
27983 needs to include an instance of FontCachePurgePreventer.
27985 Adding FontCachePurgePreventer suppresses a debug-time assert
27986 when running PageCycler over international tests.
27988 * src/WebFrameImpl.cpp:
27989 (WebKit::WebFrameImpl::contentsPreferredWidth):
27991 2011-10-12 Pavel Podivilov <podivilov@chromium.org>
27993 Unreviewed, CCThreadTest.startPostAndWaitOnCondition is flaky on linux.
27995 * tests/CCThreadTest.cpp:
27998 2011-10-12 Sheriff Bot <webkit.review.bot@gmail.com>
28000 Unreviewed. Rolled DEPS.
28004 2011-10-12 Yury Semikhatsky <yurys@chromium.org>
28006 [Chromium] Web Inspector: add test for pause in shared worker initialization
28007 https://bugs.webkit.org/show_bug.cgi?id=69915
28009 Add WebKit part of interactive ui test for pause in worker initialization.
28011 Reviewed by Pavel Feldman.
28014 (.TestSuite.prototype.testPauseInSharedWorkerInitialization):
28016 2011-10-12 Yury Semikhatsky <yurys@chromium.org>
28018 [Chromium] Web Inspector: repair interactive tests for debugger pause
28019 https://bugs.webkit.org/show_bug.cgi?id=69912
28021 Listen to DebuggerModel event instead of overriding private methods on it.
28023 Reviewed by Pavel Feldman.
28026 (.TestSuite.prototype._waitForScriptPause):
28028 2011-10-11 Steve VanDeBogart <vandebo@chromium.org>
28030 [chromium] Add accessor for plugin request to not scale print output.
28031 https://bugs.webkit.org/show_bug.cgi?id=68853
28033 Reviewed by Darin Fisher.
28035 * public/WebFrame.h:
28036 * public/WebPlugin.h:
28037 (WebKit::WebPlugin::isPrintScalingDisabled):
28038 * src/WebFrameImpl.cpp:
28039 (WebKit::WebFrameImpl::isPrintScalingDisabledForPlugin):
28040 * src/WebFrameImpl.h:
28041 * src/WebPluginContainerImpl.cpp:
28042 (WebKit::WebPluginContainerImpl::isPrintScalingDisabled):
28043 * src/WebPluginContainerImpl.h:
28045 2011-10-11 Antoine Labour <piman@chromium.org>
28047 Separate compositor client thread from webkit's main thread.
28048 https://bugs.webkit.org/show_bug.cgi?id=69048
28050 Reviewed by Darin Fisher.
28053 * public/WebKitPlatformSupport.h:
28054 (WebKit::WebKitPlatformSupport::currentThread):
28055 * src/CCMainThreadImpl.cpp: Added.
28056 (WTF::TaskWrapper::TaskWrapper):
28057 (WTF::TaskWrapper::~TaskWrapper):
28058 (WTF::TaskWrapper::run):
28059 (WebCore::CCMainThread::initialize):
28060 (WebCore::CCMainThread::postTask):
28062 2011-10-11 Simon Fraser <simon.fraser@apple.com>
28064 Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
28065 https://bugs.webkit.org/show_bug.cgi?id=68134
28067 Reviewed by Darin Adler.
28069 Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
28071 Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
28072 that reads the setting, and returns the mock theme if set. All callers now use
28073 theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
28075 * src/WebScrollbarImpl.cpp:
28076 (WebKit::WebScrollbar::defaultThickness):
28078 2011-10-11 Sheriff Bot <webkit.review.bot@gmail.com>
28080 Unreviewed, rolling out r97202, r97207, and r97215.
28081 http://trac.webkit.org/changeset/97202
28082 http://trac.webkit.org/changeset/97207
28083 http://trac.webkit.org/changeset/97215
28084 https://bugs.webkit.org/show_bug.cgi?id=69894
28086 Broke builds (Requested by rniwa on #webkit).
28088 * src/AutofillPopupMenuClient.cpp:
28089 * src/AutofillPopupMenuClient.h:
28090 * src/WebViewImpl.cpp:
28091 (WebKit::WebViewImpl::applyAutofillSuggestions):
28092 * tests/PopupMenuTest.cpp:
28094 2011-10-11 Ryosuke Niwa <rniwa@webkit.org>
28096 Second attempt to fix Chromium Windows build after r97202.
28098 * tests/PopupMenuTest.cpp:
28099 (WebKit::TestPopupMenuClient::boundingBoxRect):
28100 (WebKit::TestPopupMenuClient::setFocusedNode):
28102 2011-10-11 Ryosuke Niwa <rniwa@webkit.org>
28104 Chromium build fix attempt after r97202.
28106 * tests/PopupMenuTest.cpp:
28107 (WebKit::SelectPopupMenuTest::boundingBoxRect):
28109 2011-10-11 Fady Samuel <fsamuel@chromium.org>
28111 Towards making PopupMenuClient more testable
28112 https://bugs.webkit.org/show_bug.cgi?id=69631
28114 Reviewed by Simon Fraser.
28116 * src/AutofillPopupMenuClient.cpp:
28117 (WebKit::AutofillPopupMenuClient::boundingBoxRect):
28118 * src/AutofillPopupMenuClient.h:
28119 * src/WebViewImpl.cpp:
28120 (WebKit::WebViewImpl::applyAutofillSuggestions):
28122 2011-10-11 Dominic Mazzoni <dmazzoni@google.com>
28124 WebAccessibilityObject needs titleUIElement
28125 https://bugs.webkit.org/show_bug.cgi?id=69869
28127 Reviewed by Dimitri Glazkov.
28129 * public/WebAccessibilityObject.h:
28130 * src/WebAccessibilityObject.cpp:
28131 (WebKit::WebAccessibilityObject::titleUIElement):
28133 2011-10-10 Adam Klein <adamk@chromium.org>
28135 [MutationObservers] Add stub implementation of WebKitMutationObserver
28136 https://bugs.webkit.org/show_bug.cgi?id=68949
28138 Reviewed by Ryosuke Niwa, Oliver Hunt, and Dimitri Glazkov.
28140 * features.gypi: Added 'enable_mutation_observers' variable.
28142 2011-10-11 Mike Reed <reed@google.com>
28144 re-add support for GDI text behind a compile flag
28145 https://bugs.webkit.org/show_bug.cgi?id=69530
28147 Reviewed by James Robinson.
28151 2011-10-11 Pavel Podivilov <podivilov@chromium.org>
28153 Unreviewed, roll chromium revision to pick HTML speech input images update.
28157 2011-10-11 Antoine Labour <piman@chromium.org>
28159 Expose WebLayer::isNull
28160 https://bugs.webkit.org/show_bug.cgi?id=69813
28162 Reviewed by Darin Fisher.
28164 * public/WebLayer.h:
28165 (WebKit::WebLayer::isNull):
28167 2011-10-10 Sheriff Bot <webkit.review.bot@gmail.com>
28169 Unreviewed, rolling out r97087.
28170 http://trac.webkit.org/changeset/97087
28171 https://bugs.webkit.org/show_bug.cgi?id=69805
28173 failing assert on debug builds (Requested by simonjam on
28176 * src/WebFrameImpl.cpp:
28177 (WebKit::WebFrameImpl::loadJavaScriptURL):
28179 2011-10-10 Nico Weber <thakis@chromium.org>
28181 [chromium] Pull tools/clang from upstream.
28182 https://bugs.webkit.org/show_bug.cgi?id=69797
28184 Reviewed by Adam Barth.
28188 2011-10-10 Sergey Glazunov <serg.glazunov@gmail.com>
28190 ScriptController::executeIfJavaScriptURL gets confused by synchronous frame loads
28191 https://bugs.webkit.org/show_bug.cgi?id=69777
28193 Reviewed by Adam Barth.
28195 * src/WebFrameImpl.cpp:
28196 (WebKit::WebFrameImpl::loadJavaScriptURL):
28198 2011-10-10 Dominic Mazzoni <dmazzoni@google.com>
28200 [Chromium] Get rid of WebAccessibilityCache.
28201 https://bugs.webkit.org/show_bug.cgi?id=68224
28203 Reviewed by Dimitri Glazkov.
28206 * public/WebAccessibilityCache.h: Removed.
28207 * src/WebAccessibilityCache.cpp: Removed.
28208 * src/WebAccessibilityCacheImpl.cpp: Removed.
28209 * src/WebAccessibilityCacheImpl.h: Removed.
28211 2011-10-10 Pavel Podivilov <podivilov@chromium.org>
28213 Unreviewed, mark CCThreadTest.startPostAndWaitOnCondition as flaky on win and mac.
28215 * tests/CCThreadTest.cpp:
28218 2011-10-07 Yury Semikhatsky <yurys@chromium.org>
28220 Web Inspector: allow to start WorkerContext paused
28221 https://bugs.webkit.org/show_bug.cgi?id=69635
28223 Expose methods for pausing shared worker on start.
28225 Reviewed by Pavel Feldman.
28227 * public/WebSharedWorker.h:
28228 (WebKit::WebSharedWorker::pauseWorkerContextOnStart): specifies that the worker
28229 context should be paused and weit for explicit call to resumeWorkerContext before
28230 running its script.
28231 (WebKit::WebSharedWorker::resumeWorkerContext):
28232 * src/WebSharedWorkerImpl.cpp:
28233 (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
28234 (WebKit::WebSharedWorkerImpl::startWorkerContext):
28235 (WebKit::WebSharedWorkerImpl::pauseWorkerContextOnStart):
28236 (WebKit::resumeWorkerContextTask):
28237 (WebKit::WebSharedWorkerImpl::resumeWorkerContext):
28238 (WebKit::WebSharedWorkerImpl::attachDevTools):
28239 (WebKit::reconnectToWorkerContextInspectorTask):
28240 (WebKit::WebSharedWorkerImpl::reattachDevTools):
28241 (WebKit::WebSharedWorkerImpl::detachDevTools):
28242 (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
28243 * src/WebSharedWorkerImpl.h:
28244 * src/WebWorkerClientImpl.cpp:
28245 (WebKit::WebWorkerClientImpl::startWorkerContext):
28246 (WebKit::WebWorkerClientImpl::updateInspectorStateCookie):
28247 * src/WebWorkerClientImpl.h:
28248 * src/WebWorkerImpl.cpp:
28249 (WebKit::WebWorkerImpl::startWorkerContext):
28250 (WebKit::WebWorkerImpl::detachDevTools):
28251 (WebKit::WebWorkerImpl::dispatchDevToolsMessage):
28253 2011-10-09 W. James MacLean <wjmaclean@chromium.org>
28255 [chromium] Zoom animator front-end
28256 https://bugs.webkit.org/show_bug.cgi?id=68035
28258 Modifications to get zoom texture-scale parameters from ScaleAnimator directly
28259 instead of via Settings.
28261 Reviewed by Kenneth Russell.
28263 * src/WebViewImpl.cpp:
28264 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
28266 2011-10-07 Antoine Labour <piman@chromium.org>
28268 Webkit API for compositor
28269 https://bugs.webkit.org/show_bug.cgi?id=69107
28271 Reviewed by Darin Fisher.
28274 * public/WebContentLayer.h: Added.
28275 (WebKit::WebContentLayer::WebContentLayer):
28276 (WebKit::WebContentLayer::~WebContentLayer):
28277 (WebKit::WebContentLayer::operator=):
28278 * public/WebContentLayerClient.h: Added.
28279 (WebKit::WebContentLayerClient::~WebContentLayerClient):
28280 * public/WebLayer.h: Added.
28281 (WebKit::WebLayer::WebLayer):
28282 (WebKit::WebLayer::operator=):
28283 (WebKit::WebLayer::to):
28284 (WebKit::WebLayer::toConst):
28285 (WebKit::WebLayer::unwrap):
28286 (WebKit::WebLayer::constUnwrap):
28287 (WebKit::operator==):
28288 (WebKit::operator!=):
28289 * public/WebLayerClient.h: Added.
28290 (WebKit::WebLayerClient::~WebLayerClient):
28291 * public/WebLayerTreeView.h: Added.
28292 (WebKit::WebLayerTreeView::Settings::Settings):
28293 (WebKit::WebLayerTreeView::WebLayerTreeView):
28294 (WebKit::WebLayerTreeView::~WebLayerTreeView):
28295 (WebKit::WebLayerTreeView::operator=):
28296 (WebKit::operator==):
28297 (WebKit::operator!=):
28298 * public/WebLayerTreeViewClient.h: Added.
28299 (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
28300 * src/WebContentLayer.cpp: Added.
28301 (WebKit::WebContentLayer::create):
28302 (WebKit::WebContentLayer::setDrawsContent):
28303 (WebKit::WebContentLayer::drawsContent):
28304 (WebKit::WebContentLayer::setNeedsDisplay):
28305 (WebKit::WebContentLayer::dirtyRect):
28306 (WebKit::WebContentLayer::WebContentLayer):
28307 (WebKit::WebContentLayer::operator=):
28308 (WebKit::WebContentLayer::operator PassRefPtr<WebContentLayerImpl>):
28309 * src/WebContentLayerImpl.cpp: Added.
28310 (WebKit::WebContentLayerImpl::create):
28311 (WebKit::WebContentLayerImpl::WebContentLayerImpl):
28312 (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
28313 (WebKit::WebContentLayerImpl::setDrawsContent):
28314 (WebKit::WebContentLayerImpl::drawsContent):
28315 (WebKit::WebContentLayerImpl::paintContents):
28316 (WebKit::WebContentLayerImpl::notifySyncRequired):
28317 * src/WebContentLayerImpl.h: Added.
28318 * src/WebLayer.cpp: Added.
28319 (WebKit::WebLayer::create):
28320 (WebKit::WebLayer::~WebLayer):
28321 (WebKit::WebLayer::reset):
28322 (WebKit::WebLayer::assign):
28323 (WebKit::WebLayer::equals):
28324 (WebKit::WebLayer::rootLayer):
28325 (WebKit::WebLayer::parent):
28326 (WebKit::WebLayer::addChild):
28327 (WebKit::WebLayer::insertChild):
28328 (WebKit::WebLayer::replaceChild):
28329 (WebKit::WebLayer::removeFromParent):
28330 (WebKit::WebLayer::removeAllChildren):
28331 (WebKit::WebLayer::setAnchorPoint):
28332 (WebKit::WebLayer::anchorPoint):
28333 (WebKit::WebLayer::setAnchorPointZ):
28334 (WebKit::WebLayer::anchorPointZ):
28335 (WebKit::WebLayer::setBounds):
28336 (WebKit::WebLayer::bounds):
28337 (WebKit::WebLayer::setMasksToBounds):
28338 (WebKit::WebLayer::masksToBounds):
28339 (WebKit::WebLayer::setMaskLayer):
28340 (WebKit::WebLayer::maskLayer):
28341 (WebKit::WebLayer::setOpacity):
28342 (WebKit::WebLayer::opacity):
28343 (WebKit::WebLayer::setOpaque):
28344 (WebKit::WebLayer::opaque):
28345 (WebKit::WebLayer::setPosition):
28346 (WebKit::WebLayer::position):
28347 (WebKit::WebLayer::setSublayerTransform):
28348 (WebKit::WebLayer::sublayerTransform):
28349 (WebKit::WebLayer::setTransform):
28350 (WebKit::WebLayer::transform):
28351 (WebKit::WebLayer::WebLayer):
28352 (WebKit::WebLayer::operator=):
28353 (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
28354 * src/WebLayerImpl.cpp: Added.
28355 (WebKit::WebLayerImpl::create):
28356 (WebKit::WebLayerImpl::WebLayerImpl):
28357 (WebKit::WebLayerImpl::~WebLayerImpl):
28358 (WebKit::WebLayerImpl::drawsContent):
28359 (WebKit::WebLayerImpl::paintContents):
28360 (WebKit::WebLayerImpl::notifySyncRequired):
28361 * src/WebLayerImpl.h: Added.
28362 * src/WebLayerTreeView.cpp: Added.
28363 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
28364 (WebKit::WebLayerTreeView::create):
28365 (WebKit::WebLayerTreeView::reset):
28366 (WebKit::WebLayerTreeView::assign):
28367 (WebKit::WebLayerTreeView::equals):
28368 (WebKit::WebLayerTreeView::composite):
28369 (WebKit::WebLayerTreeView::setViewportSize):
28370 (WebKit::WebLayerTreeView::viewportSize):
28371 (WebKit::WebLayerTreeView::WebLayerTreeView):
28372 (WebKit::WebLayerTreeView::operator=):
28373 (WebKit::WebLayerTreeView::operator PassRefPtr<CCLayerTreeHost>):
28374 * src/WebLayerTreeViewImpl.cpp: Added.
28375 (WebKit::WebLayerTreeViewImpl::create):
28376 (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
28377 (WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
28378 (WebKit::WebLayerTreeViewImpl::animateAndLayout):
28379 (WebKit::WebLayerTreeViewImpl::applyScrollDelta):
28380 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
28381 (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
28382 (WebKit::WebLayerTreeViewImpl::scheduleComposite):
28383 * src/WebLayerTreeViewImpl.h: Added.
28385 2011-10-07 Shawn Singh <shawnsingh@chromium.org>
28387 First round of unit tests for CCLayerTreeHostCommon.
28388 https://bugs.webkit.org/show_bug.cgi?id=69197
28390 Reviewed by James Robinson.
28392 This round of tests focuses on verifying the computation of matrix transforms
28393 in calculateDrawTransformsAndVisibility.
28396 * tests/CCLayerTreeHostCommonTest.cpp: Added.
28397 (WebCore::setLayerPropertiesForTesting):
28398 (WebCore::executeCalculateDrawTransformsAndVisibility):
28399 (WebCore::remove3DComponentOfMatrix):
28400 (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
28401 (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
28404 2011-10-07 Tony Chang <tony@chromium.org>
28406 Fix chromium compile when using the components build. This test
28407 helper file is using methods not available when compiling as a dll.
28411 2011-10-07 Adam Barth <abarth@webkit.org>
28413 Remove setShouldPaintCustomScrollbars, which has no callers
28414 https://bugs.webkit.org/show_bug.cgi?id=69300
28416 Reviewed by Darin Adler.
28418 Anders tells me this function no longer has any callers. We should
28419 remove it before it grows any!
28421 * public/WebSettings.h:
28422 * src/WebSettingsImpl.cpp:
28423 * src/WebSettingsImpl.h:
28425 2011-10-07 Sheriff Bot <webkit.review.bot@gmail.com>
28427 Unreviewed, rolling out r96879.
28428 http://trac.webkit.org/changeset/96879
28429 https://bugs.webkit.org/show_bug.cgi?id=69618
28431 Broke CCLayerTreeHostTestShortlived1 on chromium mac.
28432 (Requested by podivilov on #webkit).
28435 * src/WebViewImpl.h:
28436 * tests/CCLayerTreeHostTest.cpp:
28437 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
28438 (WTF::CCLayerTreeHostTest::onEndTest):
28440 2011-10-07 Sheriff Bot <webkit.review.bot@gmail.com>
28442 Unreviewed, rolling out r96909.
28443 http://trac.webkit.org/changeset/96909
28444 https://bugs.webkit.org/show_bug.cgi?id=69616
28446 Broke chromium mac compilation (Requested by podivilov on
28450 * public/WebContentLayer.h: Removed.
28451 * public/WebContentLayerClient.h: Removed.
28452 * public/WebLayer.h: Removed.
28453 * public/WebLayerClient.h: Removed.
28454 * public/WebLayerTreeView.h: Removed.
28455 * public/WebLayerTreeViewClient.h: Removed.
28456 * src/WebContentLayer.cpp: Removed.
28457 * src/WebContentLayerImpl.cpp: Removed.
28458 * src/WebContentLayerImpl.h: Removed.
28459 * src/WebLayer.cpp: Removed.
28460 * src/WebLayerImpl.cpp: Removed.
28461 * src/WebLayerImpl.h: Removed.
28462 * src/WebLayerTreeView.cpp: Removed.
28463 * src/WebLayerTreeViewImpl.cpp: Removed.
28464 * src/WebLayerTreeViewImpl.h: Removed.
28466 2011-10-07 Pavel Podivilov <podivilov@chromium.org>
28468 Unreviewed, revert r96924.
28470 * public/WebContentLayer.h:
28472 2011-10-07 Pavel Podivilov <podivilov@chromium.org>
28474 Unreviewed, fix mac build after r96909.
28476 * public/WebContentLayer.h:
28478 2011-10-07 Anna Cavender <annacc@chromium.org>
28480 Turn ENABLE_VIDEO_TRACK on for chromium.
28481 https://bugs.webkit.org/show_bug.cgi?id=69460
28483 Reviewed by David Levin.
28487 2011-10-07 Pavel Feldman <pfeldman@google.com>
28489 Not reviewed: also add glass pane to the frame document's body.
28491 * src/js/DevTools.js:
28493 2011-10-07 Pavel Feldman <pfeldman@google.com>
28495 Web Inspector: glass pane does not disappear after network panel's grid column resize.
28496 https://bugs.webkit.org/show_bug.cgi?id=69607
28498 Reviewed by Yury Semikhatsky.
28500 * src/js/DevTools.js:
28502 2011-10-07 Nate Chapin <japhet@chromium.org>
28504 Always call setActive() in WebViewImpl::setFocus(),
28505 not just when enabling focus.
28506 https://bugs.webkit.org/show_bug.cgi?id=65220
28508 Reviewed by Darin Fisher.
28512 * src/WebViewImpl.cpp:
28513 (WebKit::WebViewImpl::setFocus):
28514 * tests/FrameTestHelpers.cpp: Added, refactored out of WebFrameTest.cpp.
28515 (WebKit::FrameTestHelpers::registerMockedURLLoad):
28516 (WebKit::FrameTestHelpers::loadFrame):
28517 (WebKit::FrameTestHelpers::defaultWebFrameClient):
28518 (WebKit::FrameTestHelpers::defaultWebViewClient):
28519 (WebKit::FrameTestHelpers::createWebViewAndLoad):
28520 * tests/FrameTestHelpers.h: Added, refactored out of WebFrameTest.cpp.
28521 * tests/WebFrameTest.cpp:
28522 * tests/WebViewTest.cpp: Added.
28524 2011-10-06 Bill Budge <bbudge@chromium.org>
28526 Adds a field, "saveAs", to WebFileChooserParams to present the file chooser
28527 dialog in "Save As" mode (allows the user to choose a possibly non-existent file
28529 https://bugs.webkit.org/show_bug.cgi?id=69301
28531 Reviewed by Darin Fisher.
28533 * public/WebFileChooserParams.h:
28534 (WebKit::WebFileChooserParams::WebFileChooserParams):
28536 2011-10-06 Antoine Labour <piman@chromium.org>
28538 Webkit API for compositor
28539 https://bugs.webkit.org/show_bug.cgi?id=69107
28541 Reviewed by Darin Fisher.
28544 * public/WebContentLayer.h: Added.
28545 (WebKit::WebContentLayer::WebContentLayer):
28546 (WebKit::WebContentLayer::~WebContentLayer):
28547 (WebKit::WebContentLayer::operator=):
28548 * public/WebContentLayerClient.h: Added.
28549 (WebKit::WebContentLayerClient::~WebContentLayerClient):
28550 * public/WebLayer.h: Added.
28551 (WebKit::WebLayer::WebLayer):
28552 (WebKit::WebLayer::operator=):
28553 (WebKit::WebLayer::to):
28554 (WebKit::WebLayer::toConst):
28555 (WebKit::WebLayer::unwrap):
28556 (WebKit::WebLayer::constUnwrap):
28557 (WebKit::operator==):
28558 (WebKit::operator!=):
28559 * public/WebLayerClient.h: Added.
28560 (WebKit::WebLayerClient::~WebLayerClient):
28561 * public/WebLayerTreeView.h: Added.
28562 (WebKit::WebLayerTreeView::Settings::Settings):
28563 (WebKit::WebLayerTreeView::WebLayerTreeView):
28564 (WebKit::WebLayerTreeView::~WebLayerTreeView):
28565 (WebKit::WebLayerTreeView::operator=):
28566 (WebKit::operator==):
28567 (WebKit::operator!=):
28568 * public/WebLayerTreeViewClient.h: Added.
28569 (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
28570 * src/WebContentLayer.cpp: Added.
28571 (WebKit::WebContentLayer::create):
28572 (WebKit::WebContentLayer::setDrawsContent):
28573 (WebKit::WebContentLayer::drawsContent):
28574 (WebKit::WebContentLayer::setNeedsDisplay):
28575 (WebKit::WebContentLayer::dirtyRect):
28576 (WebKit::WebContentLayer::WebContentLayer):
28577 (WebKit::WebContentLayer::operator=):
28578 (WebKit::WebContentLayer::operator PassRefPtr<WebContentLayerImpl>):
28579 * src/WebContentLayerImpl.cpp: Added.
28580 (WebKit::WebContentLayerImpl::create):
28581 (WebKit::WebContentLayerImpl::WebContentLayerImpl):
28582 (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
28583 (WebKit::WebContentLayerImpl::setDrawsContent):
28584 (WebKit::WebContentLayerImpl::drawsContent):
28585 (WebKit::WebContentLayerImpl::paintContents):
28586 (WebKit::WebContentLayerImpl::notifySyncRequired):
28587 * src/WebContentLayerImpl.h: Added.
28588 * src/WebLayer.cpp: Added.
28589 (WebKit::WebLayer::create):
28590 (WebKit::WebLayer::~WebLayer):
28591 (WebKit::WebLayer::reset):
28592 (WebKit::WebLayer::assign):
28593 (WebKit::WebLayer::equals):
28594 (WebKit::WebLayer::rootLayer):
28595 (WebKit::WebLayer::parent):
28596 (WebKit::WebLayer::addChild):
28597 (WebKit::WebLayer::insertChild):
28598 (WebKit::WebLayer::replaceChild):
28599 (WebKit::WebLayer::removeFromParent):
28600 (WebKit::WebLayer::removeAllChildren):
28601 (WebKit::WebLayer::setAnchorPoint):
28602 (WebKit::WebLayer::anchorPoint):
28603 (WebKit::WebLayer::setAnchorPointZ):
28604 (WebKit::WebLayer::anchorPointZ):
28605 (WebKit::WebLayer::setBounds):
28606 (WebKit::WebLayer::bounds):
28607 (WebKit::WebLayer::setMasksToBounds):
28608 (WebKit::WebLayer::masksToBounds):
28609 (WebKit::WebLayer::setMaskLayer):
28610 (WebKit::WebLayer::maskLayer):
28611 (WebKit::WebLayer::setOpacity):
28612 (WebKit::WebLayer::opacity):
28613 (WebKit::WebLayer::setOpaque):
28614 (WebKit::WebLayer::opaque):
28615 (WebKit::WebLayer::setPosition):
28616 (WebKit::WebLayer::position):
28617 (WebKit::WebLayer::setSublayerTransform):
28618 (WebKit::WebLayer::sublayerTransform):
28619 (WebKit::WebLayer::setTransform):
28620 (WebKit::WebLayer::transform):
28621 (WebKit::WebLayer::WebLayer):
28622 (WebKit::WebLayer::operator=):
28623 (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
28624 * src/WebLayerImpl.cpp: Added.
28625 (WebKit::WebLayerImpl::create):
28626 (WebKit::WebLayerImpl::WebLayerImpl):
28627 (WebKit::WebLayerImpl::~WebLayerImpl):
28628 (WebKit::WebLayerImpl::drawsContent):
28629 (WebKit::WebLayerImpl::paintContents):
28630 (WebKit::WebLayerImpl::notifySyncRequired):
28631 * src/WebLayerImpl.h: Added.
28632 * src/WebLayerTreeView.cpp: Added.
28633 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
28634 (WebKit::WebLayerTreeView::create):
28635 (WebKit::WebLayerTreeView::reset):
28636 (WebKit::WebLayerTreeView::assign):
28637 (WebKit::WebLayerTreeView::equals):
28638 (WebKit::WebLayerTreeView::composite):
28639 (WebKit::WebLayerTreeView::setViewportSize):
28640 (WebKit::WebLayerTreeView::viewportSize):
28641 (WebKit::WebLayerTreeView::WebLayerTreeView):
28642 (WebKit::WebLayerTreeView::operator=):
28643 (WebKit::WebLayerTreeView::operator PassRefPtr<CCLayerTreeHost>):
28644 * src/WebLayerTreeViewImpl.cpp: Added.
28645 (WebKit::WebLayerTreeViewImpl::create):
28646 (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
28647 (WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
28648 (WebKit::WebLayerTreeViewImpl::animateAndLayout):
28649 (WebKit::WebLayerTreeViewImpl::applyScrollDelta):
28650 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
28651 (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
28652 (WebKit::WebLayerTreeViewImpl::scheduleComposite):
28653 * src/WebLayerTreeViewImpl.h: Added.
28655 2011-10-06 Kent Tamura <tkent@chromium.org>
28657 [Chromium] Build fix for r96907.
28659 * tests/PopupMenuTest.cpp:
28660 (WebKit::TestPopupMenuClient::valueChanged):
28661 Use HTMLSelectElement instead of SelectElement.
28663 2011-10-06 Sheriff Bot <webkit.review.bot@gmail.com>
28665 Unreviewed, rolling out r96896.
28666 http://trac.webkit.org/changeset/96896
28667 https://bugs.webkit.org/show_bug.cgi?id=69601
28669 broke windows and mac chromium builds (Requested by simonjam
28673 * public/WebContentLayer.h: Removed.
28674 * public/WebContentLayerClient.h: Removed.
28675 * public/WebLayer.h: Removed.
28676 * public/WebLayerClient.h: Removed.
28677 * public/WebLayerTreeView.h: Removed.
28678 * public/WebLayerTreeViewClient.h: Removed.
28679 * src/WebContentLayer.cpp: Removed.
28680 * src/WebContentLayerImpl.cpp: Removed.
28681 * src/WebContentLayerImpl.h: Removed.
28682 * src/WebLayer.cpp: Removed.
28683 * src/WebLayerImpl.cpp: Removed.
28684 * src/WebLayerImpl.h: Removed.
28685 * src/WebLayerTreeView.cpp: Removed.
28686 * src/WebLayerTreeViewImpl.cpp: Removed.
28687 * src/WebLayerTreeViewImpl.h: Removed.
28689 2011-10-06 Sheriff Bot <webkit.review.bot@gmail.com>
28691 Unreviewed. Rolled DEPS.
28695 2011-10-06 Antoine Labour <piman@chromium.org>
28697 Webkit API for compositor
28698 https://bugs.webkit.org/show_bug.cgi?id=69107
28700 Reviewed by Darin Fisher.
28703 * public/WebContentLayer.h: Added.
28704 (WebKit::WebContentLayer::WebContentLayer):
28705 (WebKit::WebContentLayer::~WebContentLayer):
28706 (WebKit::WebContentLayer::operator=):
28707 * public/WebContentLayerClient.h: Added.
28708 (WebKit::WebContentLayerClient::~WebContentLayerClient):
28709 * public/WebLayer.h: Added.
28710 (WebKit::WebLayer::WebLayer):
28711 (WebKit::WebLayer::operator=):
28712 (WebKit::WebLayer::to):
28713 (WebKit::WebLayer::toConst):
28714 (WebKit::WebLayer::unwrap):
28715 (WebKit::WebLayer::constUnwrap):
28716 (WebKit::operator==):
28717 (WebKit::operator!=):
28718 * public/WebLayerClient.h: Added.
28719 (WebKit::WebLayerClient::~WebLayerClient):
28720 * public/WebLayerTreeView.h: Added.
28721 (WebKit::WebLayerTreeView::Settings::Settings):
28722 (WebKit::WebLayerTreeView::WebLayerTreeView):
28723 (WebKit::WebLayerTreeView::~WebLayerTreeView):
28724 (WebKit::WebLayerTreeView::operator=):
28725 (WebKit::operator==):
28726 (WebKit::operator!=):
28727 * public/WebLayerTreeViewClient.h: Added.
28728 (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
28729 * src/WebContentLayer.cpp: Added.
28730 (WebKit::WebContentLayer::create):
28731 (WebKit::WebContentLayer::setDrawsContent):
28732 (WebKit::WebContentLayer::drawsContent):
28733 (WebKit::WebContentLayer::setNeedsDisplay):
28734 (WebKit::WebContentLayer::dirtyRect):
28735 (WebKit::WebContentLayer::WebContentLayer):
28736 (WebKit::WebContentLayer::operator=):
28737 (WebKit::WebContentLayer::operator PassRefPtr<WebContentLayerImpl>):
28738 * src/WebContentLayerImpl.cpp: Added.
28739 (WebKit::WebContentLayerImpl::create):
28740 (WebKit::WebContentLayerImpl::WebContentLayerImpl):
28741 (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
28742 (WebKit::WebContentLayerImpl::setDrawsContent):
28743 (WebKit::WebContentLayerImpl::drawsContent):
28744 (WebKit::WebContentLayerImpl::paintContents):
28745 (WebKit::WebContentLayerImpl::notifySyncRequired):
28746 * src/WebContentLayerImpl.h: Added.
28747 * src/WebLayer.cpp: Added.
28748 (WebKit::WebLayer::create):
28749 (WebKit::WebLayer::~WebLayer):
28750 (WebKit::WebLayer::reset):
28751 (WebKit::WebLayer::assign):
28752 (WebKit::WebLayer::equals):
28753 (WebKit::WebLayer::rootLayer):
28754 (WebKit::WebLayer::parent):
28755 (WebKit::WebLayer::addChild):
28756 (WebKit::WebLayer::insertChild):
28757 (WebKit::WebLayer::replaceChild):
28758 (WebKit::WebLayer::removeFromParent):
28759 (WebKit::WebLayer::removeAllChildren):
28760 (WebKit::WebLayer::setAnchorPoint):
28761 (WebKit::WebLayer::anchorPoint):
28762 (WebKit::WebLayer::setAnchorPointZ):
28763 (WebKit::WebLayer::anchorPointZ):
28764 (WebKit::WebLayer::setBounds):
28765 (WebKit::WebLayer::bounds):
28766 (WebKit::WebLayer::setMasksToBounds):
28767 (WebKit::WebLayer::masksToBounds):
28768 (WebKit::WebLayer::setMaskLayer):
28769 (WebKit::WebLayer::maskLayer):
28770 (WebKit::WebLayer::setOpacity):
28771 (WebKit::WebLayer::opacity):
28772 (WebKit::WebLayer::setOpaque):
28773 (WebKit::WebLayer::opaque):
28774 (WebKit::WebLayer::setPosition):
28775 (WebKit::WebLayer::position):
28776 (WebKit::WebLayer::setSublayerTransform):
28777 (WebKit::WebLayer::sublayerTransform):
28778 (WebKit::WebLayer::setTransform):
28779 (WebKit::WebLayer::transform):
28780 (WebKit::WebLayer::WebLayer):
28781 (WebKit::WebLayer::operator=):
28782 (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
28783 * src/WebLayerImpl.cpp: Added.
28784 (WebKit::WebLayerImpl::create):
28785 (WebKit::WebLayerImpl::WebLayerImpl):
28786 (WebKit::WebLayerImpl::~WebLayerImpl):
28787 (WebKit::WebLayerImpl::drawsContent):
28788 (WebKit::WebLayerImpl::paintContents):
28789 (WebKit::WebLayerImpl::notifySyncRequired):
28790 * src/WebLayerImpl.h: Added.
28791 * src/WebLayerTreeView.cpp: Added.
28792 (WebKit::WebLayerTreeView::Settings::operator CCSettings):
28793 (WebKit::WebLayerTreeView::create):
28794 (WebKit::WebLayerTreeView::reset):
28795 (WebKit::WebLayerTreeView::assign):
28796 (WebKit::WebLayerTreeView::equals):
28797 (WebKit::WebLayerTreeView::composite):
28798 (WebKit::WebLayerTreeView::setViewportSize):
28799 (WebKit::WebLayerTreeView::viewportSize):
28800 (WebKit::WebLayerTreeView::WebLayerTreeView):
28801 (WebKit::WebLayerTreeView::operator=):
28802 (WebKit::WebLayerTreeView::operator PassRefPtr<CCLayerTreeHost>):
28803 * src/WebLayerTreeViewImpl.cpp: Added.
28804 (WebKit::WebLayerTreeViewImpl::create):
28805 (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
28806 (WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
28807 (WebKit::WebLayerTreeViewImpl::animateAndLayout):
28808 (WebKit::WebLayerTreeViewImpl::applyScrollDelta):
28809 (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
28810 (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
28811 (WebKit::WebLayerTreeViewImpl::scheduleComposite):
28812 * src/WebLayerTreeViewImpl.h: Added.
28814 2011-10-06 James Robinson <jamesr@chromium.org>
28816 [chromium] Remove USE(THREADED_COMPOSITING) from the tree
28817 https://bugs.webkit.org/show_bug.cgi?id=69489
28819 Reviewed by Darin Fisher.
28821 Updated CCLayerTreeHostTest::onEndTest() to pump all pending messages
28822 after posting the Quit task and before tearing down any test
28826 * src/WebViewImpl.h:
28827 * tests/CCLayerTreeHostTest.cpp:
28828 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
28830 2011-10-06 James Robinson <jamesr@chromium.org>
28832 [chromium] Remove obsolete WebWidgetClient::didActivateAcceleratedCompositing call
28833 https://bugs.webkit.org/show_bug.cgi?id=69576
28835 Reviewed by Darin Fisher.
28837 The chromium implementation of this function went away at r104017.
28839 * public/WebWidgetClient.h:
28840 * src/WebViewImpl.cpp:
28841 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
28843 2011-10-06 Sheriff Bot <webkit.review.bot@gmail.com>
28845 Unreviewed, rolling out r96861.
28846 http://trac.webkit.org/changeset/96861
28847 https://bugs.webkit.org/show_bug.cgi?id=69573
28849 This patch didn't compile on windows (Requested by annacc on
28854 2011-10-06 Anna Cavender <annacc@chromium.org>
28856 Turn ENABLE_VIDEO_TRACK on for chromium.
28857 https://bugs.webkit.org/show_bug.cgi?id=69460
28859 Reviewed by David Levin.
28863 2011-10-06 Sheriff Bot <webkit.review.bot@gmail.com>
28865 Unreviewed, rolling out r96791.
28866 http://trac.webkit.org/changeset/96791
28867 https://bugs.webkit.org/show_bug.cgi?id=69528
28869 webkit_unit_tests broken on Mac and Win (Requested by
28870 hwennborg on #webkit).
28873 * src/WebViewImpl.h:
28874 * tests/CCLayerTreeHostTest.cpp:
28875 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
28877 2011-10-06 Hans Wennborg <hans@chromium.org>
28879 [Chromium] WebKit.gyp fix to unbreak Linux(shared) build after r96791
28881 Unreviewed gardening.
28885 2011-10-03 Hans Wennborg <hans@chromium.org>
28887 IndexedDB: Remove SQLite-LevelDB migration code
28888 https://bugs.webkit.org/show_bug.cgi?id=69264
28890 Reviewed by Tony Chang.
28892 Remove setOverrideBackingStoreType. It was used in the layout test
28895 * public/WebIDBFactory.h:
28896 * src/WebIDBFactoryImpl.cpp:
28897 (WebKit::WebIDBFactoryImpl::getDatabaseNames):
28898 (WebKit::WebIDBFactoryImpl::open):
28900 2011-10-06 James Robinson <jamesr@chromium.org>
28902 [chromium] Remove USE(THREADED_COMPOSITING) from the tree
28903 https://bugs.webkit.org/show_bug.cgi?id=69489
28905 Reviewed by Darin Fisher.
28908 * src/WebViewImpl.h:
28909 * tests/CCLayerTreeHostTest.cpp:
28910 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
28912 2011-10-05 Alexei Svitkine <asvitkine@chromium.org>
28914 Make destructor of WebURLLoaderClient virtual.
28915 https://bugs.webkit.org/show_bug.cgi?id=69457
28917 Reviewed by Darin Fisher.
28919 * public/WebURLLoaderClient.h:
28920 (WebKit::WebURLLoaderClient::~WebURLLoaderClient):
28922 2011-10-05 Vangelis Kokkevis <vangelis@chromium.org>
28924 Switching threaded compositor from a compile time option to a
28926 https://bugs.webkit.org/show_bug.cgi?id=69391
28928 Reviewed by Darin Fisher.
28930 * public/WebSettings.h:
28931 * src/WebSettingsImpl.cpp:
28932 (WebKit::WebSettingsImpl::WebSettingsImpl):
28933 (WebKit::WebSettingsImpl::setMinimumAccelerated2dCanvasSize):
28934 (WebKit::WebSettingsImpl::setUseThreadedCompositor):
28935 * src/WebSettingsImpl.h:
28936 (WebKit::WebSettingsImpl::useThreadedCompositor):
28937 * src/WebViewImpl.cpp:
28938 (WebKit::WebViewImpl::animate):
28939 (WebKit::WebViewImpl::composite):
28940 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
28941 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
28942 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
28943 (WebKit::WebViewImpl::scheduleComposite):
28944 (WebKit::WebViewImpl::graphicsContext3D):
28946 2011-10-05 Jer Noble <jer.noble@apple.com>
28948 WEB_AUDIO does not compile on Leopard 32-bit.
28949 https://bugs.webkit.org/show_bug.cgi?id=69292
28951 Reviewed by Simon Fraser.
28953 Platform-independent portions of WEB_AUDIO have changed from double -> float, and
28954 platform-specific subclasses must change as well.
28956 * src/AudioDestinationChromium.cpp:
28957 (WebCore::AudioDestination::create):
28958 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
28959 (WebCore::AudioDestination::hardwareSampleRate):
28960 * src/AudioDestinationChromium.h:
28961 (WebCore::AudioDestinationChromium::sampleRate):
28963 2011-10-05 James Robinson <jamesr@chromium.org>
28965 [chromium] Hook WebCompositor interface for input events up to the compositor proper
28966 https://bugs.webkit.org/show_bug.cgi?id=69394
28968 Reviewed by Darin Fisher.
28970 This teaches WebCompositorImpl about WebCore::CCInputHandler, which WebCompositorImpl implements, and
28971 CCScrollController, which WebCompositorImpl will use in the future to do actual scrolling. One thing that is a
28972 bit unusual here is WebCore::CCInputHandler::create() which is defined in WebCompositorImpl.cpp. This is
28973 because we need a WebKit object (WebKit::WebCompositorImpl) to be owned by a WebCore object (WebCore::CCThreadProxy).
28974 The WebCore side only needs to know about the interface, CCInputHandler, but the actual implementation has to
28975 live in WebKit in order to know about the concrete type.
28977 * src/WebCompositorImpl.cpp:
28978 (WebCore::CCInputHandler::create):
28979 (WebKit::WebCompositor::fromIdentifier):
28980 (WebKit::WebCompositorImpl::fromIdentifier):
28981 (WebKit::WebCompositorImpl::WebCompositorImpl):
28982 (WebKit::WebCompositorImpl::~WebCompositorImpl):
28983 (WebKit::WebCompositorImpl::setClient):
28984 (WebKit::WebCompositorImpl::handleInputEvent):
28985 (WebKit::WebCompositorImpl::identifier):
28986 * src/WebCompositorImpl.h:
28987 (WebKit::WebCompositorImpl::create):
28988 * src/WebViewImpl.cpp:
28989 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
28990 * src/WebViewImpl.h:
28991 * tests/WebCompositorImplTest.cpp:
28993 2011-10-05 Anna Cavender <annacc@chromium.org>
28995 Functions to make <track> enabled at runtime.
28996 https://bugs.webkit.org/show_bug.cgi?id=69352
28998 Reviewed by Adam Barth.
29000 * public/WebRuntimeFeatures.h:
29001 * src/WebRuntimeFeatures.cpp:
29002 (WebKit::WebRuntimeFeatures::enableVideoTrack):
29003 (WebKit::WebRuntimeFeatures::isVideoTrackEnabled):
29005 2011-10-05 Yury Semikhatsky <yurys@chromium.org>
29007 Web Inspector: provide a way for persisting worker inspector state
29008 https://bugs.webkit.org/show_bug.cgi?id=69422
29010 Provided an API for saving/restoring worker inspector state.
29012 Reviewed by Pavel Feldman.
29014 * public/WebCommonWorkerClient.h:
29015 (WebKit::WebCommonWorkerClient::saveDevToolsAgentState):
29016 * public/WebSharedWorker.h:
29017 (WebKit::WebSharedWorker::reattachDevTools):
29018 * src/WebSharedWorkerImpl.cpp:
29019 (WebKit::reconnectToWorkerContextInspectorTask):
29020 (WebKit::WebSharedWorkerImpl::reattachDevTools):
29021 * src/WebSharedWorkerImpl.h:
29022 * src/WebWorkerBase.cpp:
29023 (WebKit::WebWorkerBase::updateInspectorStateCookie):
29024 (WebKit::WebWorkerBase::updateInspectorStateCookieTask):
29025 * src/WebWorkerBase.h:
29026 * src/WebWorkerClientImpl.cpp:
29027 (WebKit::WebWorkerClientImpl::updateInspectorStateCookie):
29028 * src/WebWorkerClientImpl.h:
29030 2011-10-04 Yury Semikhatsky <yurys@chromium.org>
29032 [Chromium] Web Inspector: save inspector state into single string instead of string map
29033 https://bugs.webkit.org/show_bug.cgi?id=69335
29035 Now that Chromium side is updated, remove unused methods from the DevToolsAgent API.
29037 Reviewed by Pavel Feldman.
29039 * public/WebDevToolsAgent.h:
29040 * public/WebDevToolsAgentClient.h:
29041 * src/WebDevToolsAgentImpl.cpp:
29042 (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
29043 * src/WebDevToolsAgentImpl.h:
29045 2011-10-04 Kent Tamura <tkent@chromium.org>
29047 Introduce feature flags for incomplete input types
29048 https://bugs.webkit.org/show_bug.cgi?id=68971
29050 Reviewed by Hajime Morita.
29052 * features.gypi: Add disabled ENABLE_INPUT_TYPE_* flags.
29054 2011-10-04 Scott Graham <scottmg@chromium.org>
29056 Add GAMEPAD feature flag
29057 https://bugs.webkit.org/show_bug.cgi?id=66859
29059 Reviewed by Darin Fisher.
29063 2011-10-04 Fady Samuel <fsamuel@chromium.org>
29065 [Chromium] Moved files towards GTK removal
29066 https://bugs.webkit.org/show_bug.cgi?id=69229
29068 Reviewed by Tony Chang.
29071 * src/WebViewImpl.cpp:
29072 (WebKit::WebViewImpl::setScrollbarColors):
29073 * src/linux/WebFontInfo.cpp: Renamed from Source/WebKit/chromium/src/gtk/WebFontInfo.cpp.
29074 (WebKit::WebFontInfo::familyForChars):
29075 (WebKit::WebFontInfo::renderStyleForStrike):
29077 2011-10-04 James Robinson <jamesr@chromium.org>
29079 [chromium] Extract scheduling logic from CCThreadProxy to its own class
29080 https://bugs.webkit.org/show_bug.cgi?id=69049
29082 Reviewed by Kenneth Russell.
29084 Adds some unit tests for the new CCScheduler class. Since the class is very simple today, the tests are
29085 similarly quite simple.
29088 * src/WebViewImpl.cpp:
29089 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
29090 * tests/CCLayerTreeHostTest.cpp:
29091 (WTF::CCLayerTreeHostTest::postSetNeedsCommitThenRedrawToMainThread):
29092 (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommitThenRedraw):
29093 (WTF::CCLayerTreeHostTestShortlived2::beginTest):
29094 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
29095 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
29096 (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
29097 (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
29098 (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
29099 (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
29100 * tests/CCSchedulerTest.cpp: Added.
29102 2011-10-04 Scott Graham <scottmg@chromium.org>
29104 occasional crash in Chromium in dispatching keyEvent
29105 https://bugs.webkit.org/show_bug.cgi?id=67941
29107 Reviewed by Tony Chang.
29109 Guard Frame while handling keyEvent, as it can lose last reference due
29110 to actions of handler.
29112 * src/WebViewImpl.cpp:
29113 (WebKit::WebViewImpl::keyEvent):
29115 2011-10-04 Anders Carlsson <andersca@apple.com>
29117 Remove PlatformWheelEvent::m_isAccepted
29118 https://bugs.webkit.org/show_bug.cgi?id=69357
29120 Reviewed by Darin Adler.
29122 * src/WebInputEventConversion.cpp:
29123 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
29124 m_isAccepted has been removed.
29126 * src/WebScrollbarImpl.cpp:
29127 (WebKit::WebScrollbarImpl::onMouseWheel):
29128 Just return the value of handleWheelEvent.
29130 2011-10-04 Yury Semikhatsky <yurys@chromium.org>
29132 [Chromium] Web Inspector: save inspector state into single string instead of string map
29133 https://bugs.webkit.org/show_bug.cgi?id=69335
29135 Added explicit methods for saving and restoring agent runtime state.
29137 Reviewed by Pavel Feldman.
29139 * public/WebDevToolsAgent.h:
29140 * public/WebDevToolsAgentClient.h:
29141 (WebKit::WebDevToolsAgentClient::saveAgentRuntimeState):
29142 * src/WebDevToolsAgentImpl.cpp:
29143 (WebKit::WebDevToolsAgentImpl::reattach):
29144 (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
29145 * src/WebDevToolsAgentImpl.h:
29147 2011-10-03 James Robinson <jamesr@chromium.org>
29149 [chromium] Tweak WebCompositor API for input event handling to express three possible states
29150 https://bugs.webkit.org/show_bug.cgi?id=69304
29152 Reviewed by Darin Fisher.
29154 * public/WebCompositorClient.h:
29155 * src/WebCompositorImpl.cpp:
29156 (WebKit::WebCompositorImpl::~WebCompositorImpl):
29157 (WebKit::WebCompositorImpl::handleInputEvent):
29159 2011-10-03 Anders Carlsson <andersca@apple.com>
29161 Remove custom scrollbar painting hooks
29162 https://bugs.webkit.org/show_bug.cgi?id=69163
29164 Reviewed by Alexey Proskuryakov.
29166 * src/WebSettingsImpl.cpp:
29167 (WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars):
29169 2011-10-03 Elliot Poger <epoger@google.com>
29171 webkit->chromium DEPS roll 103471->103694
29172 https://bugs.webkit.org/show_bug.cgi?id=69271
29174 This brings in a new tools/win/supalink directory from
29175 http://src.chromium.org/viewvc/chrome?view=rev&revision=103474
29177 Reviewed by Adam Barth.
29181 2011-10-03 James Robinson <jamesr@chromium.org>
29183 [chromium] Add WebWidget API for accessing the current WebCompositor
29184 https://bugs.webkit.org/show_bug.cgi?id=69181
29186 Reviewed by Darin Fisher.
29188 Add new WebWidgetClient::did(Activate|Deactivate)Compositor calls intended to replace
29189 didActivateAccleratedCompositing(bool) so that the enable call can be parameterized.
29191 Add a WebCompositor identifier parameter to didEnableAcceleratedCompositing that can be used on the compositor
29192 thread to get access to a WebCompositor pointer.
29194 * public/WebWidget.h:
29195 (WebKit::WebWidget::compositor):
29196 * src/WebViewImpl.cpp:
29197 (WebKit::WebViewImpl::compositor):
29198 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
29199 * src/WebViewImpl.h:
29201 2011-10-03 Sheriff Bot <webkit.review.bot@gmail.com>
29203 Unreviewed, rolling out r96481.
29204 http://trac.webkit.org/changeset/96481
29205 https://bugs.webkit.org/show_bug.cgi?id=69251
29207 Breaks webkit_unit_tests on Linux(dbg) (Requested by hwennborg
29211 * public/WebCompositor.h:
29212 * public/WebWidgetClient.h:
29213 * src/WebCompositorImpl.cpp:
29214 (WebKit::WebCompositorImpl::WebCompositorImpl):
29215 (WebKit::WebCompositorImpl::~WebCompositorImpl):
29216 (WebKit::WebCompositorImpl::setClient):
29217 (WebKit::WebCompositorImpl::handleInputEvent):
29218 * src/WebCompositorImpl.h:
29219 * src/WebViewImpl.cpp:
29220 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
29221 * src/WebViewImpl.h:
29222 * tests/CCLayerTreeHostTest.cpp:
29223 (WTF::MockLayerTreeHost::MockLayerTreeHost):
29224 * tests/WebCompositorImplTest.cpp: Removed.
29226 2011-10-02 James Robinson <jamesr@chromium.org>
29228 [chromium] Add WebWidget API for accessing the current WebCompositor
29229 https://bugs.webkit.org/show_bug.cgi?id=69181
29231 Reviewed by Darin Fisher.
29233 Add new WebWidgetClient::did(Activate|Deactivate)Compositor calls intended to replace
29234 didActivateAccleratedCompositing(bool) so that the enable call can be parameterized.
29236 Add a WebCompositor identifier parameter to didEnableAcceleratedCompositing that can be used on the compositor
29237 thread to get access to a WebCompositor pointer.
29239 * public/WebWidget.h:
29240 (WebKit::WebWidget::compositor):
29241 * src/WebViewImpl.cpp:
29242 (WebKit::WebViewImpl::compositor):
29243 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
29244 * src/WebViewImpl.h:
29246 2011-09-30 Adrienne Walker <enne@google.com>
29248 [chromium] Track separate scroll deltas on the compositor thread
29249 https://bugs.webkit.org/show_bug.cgi?id=69034
29251 Reviewed by James Robinson.
29253 Add testing support for scroll deltas on layers.
29256 * src/WebViewImpl.cpp:
29257 (WebKit::WebViewImpl::applyScrollDelta):
29258 * src/WebViewImpl.h:
29259 * tests/CCLayerTreeHostImplTest.cpp: Added.
29260 (WebCore::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
29261 (WebCore::CCLayerTreeHostImplTest::expectClearedScrollDeltasRecursive):
29262 (WebCore::CCLayerTreeHostImplTest::expectContains):
29264 * tests/CCLayerTreeHostTest.cpp:
29265 (WTF::TestHooks::applyScrollDelta):
29266 (WTF::MockLayerTreeHostClient::applyScrollDelta):
29267 (WTF::CCLayerTreeHostTest::runTest):
29268 (WTF::CCLayerTreeHostTest::doBeginTest):
29269 (WTF::CCLayerTreeHostTestThreadOnly::runTest):
29270 (WTF::CCLayerTreeHostTestScrollSimple::CCLayerTreeHostTestScrollSimple):
29271 (WTF::CCLayerTreeHostTestScrollSimple::beginTest):
29272 (WTF::CCLayerTreeHostTestScrollSimple::beginCommitOnCCThread):
29273 (WTF::CCLayerTreeHostTestScrollSimple::drawLayersOnCCThread):
29274 (WTF::CCLayerTreeHostTestScrollSimple::applyScrollDelta):
29275 (WTF::CCLayerTreeHostTestScrollSimple::afterTest):
29277 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::CCLayerTreeHostTestScrollMultipleRedraw):
29278 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginTest):
29279 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginCommitOnCCThread):
29280 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
29281 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::applyScrollDelta):
29282 (WTF::CCLayerTreeHostTestScrollMultipleRedraw::afterTest):
29283 * tests/TreeSynchronizerTest.cpp:
29286 2011-09-30 Shawn Singh <shawnsingh@chromium.org>
29288 Adding unit tests for LayerChromium. Emphasis on verifying
29289 behavior of notifySyncRequired callback and tree manipulations.
29290 https://bugs.webkit.org/show_bug.cgi?id=68572
29292 Reviewed by James Robinson.
29295 * tests/LayerChromiumTest.cpp: Added.
29297 2011-09-30 James Robinson <jamesr@chromium.org>
29299 [chromium] Pass a processed bool in WebCompositorClient::didHandleInputEvent to indicate if the event was processed
29300 https://bugs.webkit.org/show_bug.cgi?id=69169
29302 Reviewed by Darin Fisher.
29304 If the compositor does not process the input event the embedder might want to do something with it - for
29305 example, if the input event type is part of a CTRL+T keyboard accelerator sequence the browser might want to
29306 open a new tab. This passes that state through the didHandleInputEvent callback.
29308 * public/WebCompositorClient.h:
29309 * src/WebCompositorImpl.cpp:
29310 (WebKit::WebCompositorImpl::handleInputEvent):
29312 2011-09-30 Elliot Poger <epoger@google.com>
29314 webkit->chromium DEPS roll 102910->103471
29315 https://bugs.webkit.org/show_bug.cgi?id=69160
29317 Reviewed by Adam Barth.
29321 2011-09-29 Pavel Feldman <pfeldman@google.com>
29323 Web Inspector: [chromium] expose inspector protocol version to the embedder.
29324 https://bugs.webkit.org/show_bug.cgi?id=69092
29326 Reviewed by Yury Semikhatsky.
29328 * public/WebDevToolsAgent.h:
29329 * src/WebDevToolsAgentImpl.cpp:
29330 (WebKit::WebDevToolsAgent::inspectorProtocolVersion):
29331 (WebKit::WebDevToolsAgent::supportsInspectorProtocolVersion):
29333 2011-09-30 James Robinson <jamesr@chromium.org>
29335 [chromium] Add WebKit API for sending input events to the compositor thread
29336 https://bugs.webkit.org/show_bug.cgi?id=69117
29338 Reviewed by Darin Fisher.
29340 Adds a new WebKit interface to allow the embedder to pass input events directly to the compositor thread.
29341 Exposes the new WebCompositor interface and associated client. These interfaces are slightly different in that
29342 they can only be interacted with from the compositor thread.
29344 Changes the initialization path for the compositor thread to using an externally allocated and managed thread
29345 instead of one internal to WebCore so that the embedder can interact with the thread more easily. This also
29346 simplifies the startup and shutdown paths. The contract is that WebCompositor::setThread() must be called
29347 before any compositor can be initialized and the passed-in thread must outlive all compositor instances.
29349 Each WebCompositor instance is associated with a WebWidget. There isn't any way to get a WebCompositor for a
29350 given WebWidget in this patch, that will be done in a follow-up.
29353 * public/WebCompositor.h:
29354 (WebKit::WebCompositor::~WebCompositor):
29355 * public/WebCompositorClient.h:
29356 (WebKit::WebCompositorClient::~WebCompositorClient):
29357 * src/CCThreadImpl.cpp:
29358 (WebKit::CCThreadImpl::create):
29359 (WebKit::CCThreadImpl::CCThreadImpl):
29360 * src/CCThreadImpl.h:
29361 * src/WebCompositorImpl.cpp: Added.
29362 (WebKit::WebCompositor::setThread):
29363 (WebKit::WebCompositorImpl::WebCompositorImpl):
29364 (WebKit::WebCompositorImpl::~WebCompositorImpl):
29365 (WebKit::WebCompositorImpl::setClient):
29366 (WebKit::WebCompositorImpl::handleInputEvent):
29367 * src/WebCompositorImpl.h:
29368 (WebKit::WebCompositorImpl::create):
29369 * src/WebViewImpl.cpp:
29370 * src/WebViewImpl.h:
29371 * tests/CCLayerTreeHostTest.cpp:
29372 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
29373 * tests/CCThreadTest.cpp:
29376 2011-09-29 Iain Merrick <husky@google.com>
29378 Add unit test for CCLayerSorter
29379 https://bugs.webkit.org/show_bug.cgi?id=68622
29381 Reviewed by James Robinson.
29384 * tests/CCLayerSorterTest.cpp: Added.
29387 2011-09-29 Hans Wennborg <hans@chromium.org>
29389 IndexedDB: Use LevelDB also for in-memory databases
29390 https://bugs.webkit.org/show_bug.cgi?id=68903
29392 Reviewed by Steve Block.
29394 Don't fall back to SQLite or use a temporary dir for in-memory
29395 databases (Incognito and layout tests); LevelDB supports in-memory
29398 * public/WebIDBFactory.h:
29399 * src/WebIDBFactoryImpl.cpp:
29400 (WebKit::WebIDBFactoryImpl::getDatabaseNames):
29401 (WebKit::WebIDBFactoryImpl::open):
29403 2011-09-28 Fady Samuel <fsamuel@chromium.org>
29405 [Chromium] Seperate GTK specific Gyp rules from X11 Gyp rules
29406 https://bugs.webkit.org/show_bug.cgi?id=68936
29408 Reviewed by Tony Chang.
29411 * public/gtk/WebFontInfo.h:
29412 * public/linux/WebFontInfo.h: Copied from Source/WebKit/chromium/public/gtk/WebFontInfo.h.
29414 2011-09-27 Sheriff Bot <webkit.review.bot@gmail.com>
29416 Unreviewed. Rolled DEPS.
29420 2011-09-27 Yury Semikhatsky <yurys@chromium.org>
29422 [Chromium] Web Inspector: Bug with console.log and popstate/hashchange events
29423 https://bugs.webkit.org/show_bug.cgi?id=67732
29425 Added WebKit part of a new interactive UI test for the bug with duplicated console messages after navigation back.
29427 Reviewed by Pavel Feldman.
29430 (.TestSuite.prototype.testConsoleOnNavigateBack.firstConsoleMessageReceived):
29431 (.TestSuite.prototype.testConsoleOnNavigateBack.didClickLink):
29432 (.TestSuite.prototype.testConsoleOnNavigateBack.didNavigateBack):
29433 (.TestSuite.prototype.testConsoleOnNavigateBack.didCompleteNavigation):
29434 (.TestSuite.prototype.testConsoleOnNavigateBack):
29436 2011-09-27 Sheriff Bot <webkit.review.bot@gmail.com>
29438 Unreviewed. Rolled DEPS.
29442 2011-09-26 Nat Duca <nduca@chromium.org>
29444 [chromium] Make CCThreadProxy draw
29445 https://bugs.webkit.org/show_bug.cgi?id=67417
29447 Disable CCLayerTreeHostTest temporarily. Will re-enable
29448 with https://bugs.webkit.org/show_bug.cgi?id=67418
29450 Reviewed by James Robinson.
29452 * tests/CCLayerTreeHostTest.cpp:
29454 2011-09-26 Joshua Bell <jsbell@chromium.org>
29456 IndexedDB: Second half of IDBFactory.getDatabaseNames implementation
29457 https://bugs.webkit.org/show_bug.cgi?id=68818
29459 Reviewed by Tony Chang.
29461 Adds ability to enumerate IndexedDB databases within an origin.
29463 * src/IDBCallbacksProxy.cpp:
29464 (WebKit::IDBCallbacksProxy::onSuccess):
29465 * src/IDBCallbacksProxy.h:
29466 * src/IDBFactoryBackendProxy.cpp:
29467 (WebKit::IDBFactoryBackendProxy::getDatabaseNames):
29468 * src/IDBFactoryBackendProxy.h:
29469 * src/WebIDBCallbacksImpl.cpp:
29470 (WebKit::WebIDBCallbacksImpl::onSuccess):
29471 * src/WebIDBCallbacksImpl.h:
29472 * src/WebIDBFactoryImpl.cpp:
29473 (WebKit::WebIDBFactoryImpl::getDatabaseNames):
29474 * src/WebIDBFactoryImpl.h:
29476 2011-09-26 Fady Samuel <fsamuel@chromium.org>
29478 Removed an unnecessary include in WebFrameImpl
29479 https://bugs.webkit.org/show_bug.cgi?id=68834
29481 Reviewed by Darin Fisher.
29483 * src/WebFrameImpl.cpp:
29485 2011-09-26 Mihai Parparita <mihaip@chromium.org>
29487 Fix copy and paste error in r96002.
29489 * tests/InnerGestureRecognizerTest.cpp:
29492 2011-09-26 Mihai Parparita <mihaip@chromium.org>
29494 Disable Chromium gesture recognizer tests that started to fail on the
29497 * tests/InnerGestureRecognizerTest.cpp:
29500 2011-09-26 W. James MacLean <wjmaclean@chromium.org>
29502 [chromium] Revise zoom animator backend to use full transform instead of just scale.
29503 https://bugs.webkit.org/show_bug.cgi?id=68535
29505 Reviewed by Kenneth Russell.
29507 * src/WebViewImpl.cpp:
29508 (WebKit::WebViewImpl::setZoomLevel):
29509 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
29511 2011-09-26 Sheriff Bot <webkit.review.bot@gmail.com>
29513 Unreviewed, rolling out r95256.
29514 http://trac.webkit.org/changeset/95256
29515 https://bugs.webkit.org/show_bug.cgi?id=68814
29517 Temporary CRASH calls no longer needed (Requested by enne on
29520 * src/WebViewImpl.cpp:
29521 (WebKit::WebViewImpl::composite):
29523 2011-09-26 Sheriff Bot <webkit.review.bot@gmail.com>
29525 Unreviewed. Rolled DEPS.
29529 2011-09-24 Adam Barth <abarth@webkit.org>
29531 Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
29532 https://bugs.webkit.org/show_bug.cgi?id=68767
29534 Reviewed by Eric Seidel.
29537 * src/ApplicationCacheHost.cpp:
29538 * src/ApplicationCacheHostInternal.h:
29539 * src/AssertMatchingEnums.cpp:
29540 * src/ChromeClientImpl.cpp:
29541 (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
29542 * src/ChromeClientImpl.h:
29543 * src/WebDataSourceImpl.cpp:
29544 (WebKit::WebDataSourceImpl::applicationCacheHost):
29545 * src/WebRuntimeFeatures.cpp:
29546 (WebKit::WebRuntimeFeatures::enableApplicationCache):
29547 (WebKit::WebRuntimeFeatures::isApplicationCacheEnabled):
29549 2011-09-23 Adam Klein <adamk@chromium.org>
29551 Add ENABLE_MUTATION_OBSERVERS feature flag
29552 https://bugs.webkit.org/show_bug.cgi?id=68732
29554 Reviewed by Ojan Vafai.
29556 This flag will guard an implementation of the "Mutation Observers" proposed in
29557 http://lists.w3.org/Archives/Public/public-webapps/2011JulSep/1622.html
29561 2011-09-23 Jay Civelli <jcivelli@chromium.org>
29563 Making some WebBlob methods exportable.
29564 This is needed by the shared lib chromium build.
29565 https://bugs.webkit.org/show_bug.cgi?id=68709
29567 Reviewed by Darin Fisher.
29569 * public/WebBlob.h:
29571 2011-09-23 Varun Jain <varunjain@google.com>
29573 Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests
29574 https://bugs.webkit.org/show_bug.cgi?id=68198
29576 Reviewed by Dimitri Glazkov.
29578 * public/WebView.h:
29579 (WebKit::WebView::scrollFocusedNodeIntoRect):
29580 * src/WebViewImpl.cpp:
29581 (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
29583 2011-09-23 Mihai Parparita <mihaip@chromium.org>
29585 Unreviewed, rolling out r95860.
29586 http://trac.webkit.org/changeset/95860
29587 https://bugs.webkit.org/show_bug.cgi?id=68648
29589 Breaks overhang rendering on Chromium Mac
29593 2011-09-23 Adam Klein <adamk@chromium.org>
29595 [chromium] Remove WEBWIDGET_HAS_ANIMATE_CHANGES #define
29596 https://bugs.webkit.org/show_bug.cgi?id=68720
29598 Reviewed by James Robinson.
29600 References to this macro were removed in http://crrev.com/102314.
29602 * public/WebWidget.h:
29604 2011-09-23 Stephen Chenney <schenney@chromium.org>
29606 [Chromium] Crash in WebCore::DatabaseObserver
29607 https://bugs.webkit.org/show_bug.cgi?id=67805
29609 Reviewed by David Levin.
29611 * src/DatabaseObserver.cpp:
29612 (WebCore::DatabaseObserver::canEstablishDatabase): Added a check for a
29613 null frame or page, and return false if null. Investigated
29614 changing the fall-through return value to false but decided against
29615 it given the way the code is used and existing default values for
29616 related code. Reproduction and testing depends on having a document
29617 with no frame or no page, which sometimes happens in practice but is
29618 hard to construct explicitly.
29620 2011-09-23 Scott Graham <scottmg@chromium.org>
29622 occasional crash in Chromium in dispatching keyEvent
29623 https://bugs.webkit.org/show_bug.cgi?id=67941
29625 Reviewed by Darin Fisher.
29627 Use focusedWebCoreNode() to handle null document for frame when
29628 retrieving focused node in handling keyEvent.
29630 * src/WebViewImpl.cpp:
29631 (WebKit::WebViewImpl::keyEvent):
29633 2011-09-23 Fady Samuel <fsamuel@chromium.org>
29635 Refactor paintOverhangAreas to allow non-Mac Chromium platforms to reuse code
29636 https://bugs.webkit.org/show_bug.cgi?id=68648
29638 Reviewed by Dimitri Glazkov.
29642 2011-09-23 Elliot Poger <epoger@google.com>
29644 update layout_tests to account for new default of use_skia=1
29645 https://bugs.webkit.org/show_bug.cgi?id=68698
29647 Rolls Source/WebKit/chromium/DEPS to pick up new default use_skia=1
29648 from http://src.chromium.org/viewvc/chrome?view=rev&revision=102532
29649 (Chromium-on-Mac now uses the Skia graphics library instead of
29652 Also updates layout_test code to work with that change.
29654 Reviewed by Mihai Parparita.
29658 2011-09-22 Sheriff Bot <webkit.review.bot@gmail.com>
29660 Unreviewed. Rolled DEPS.
29664 2011-09-22 James Robinson <jamesr@chromium.org>
29666 Unreviewed, rolling out r95699.
29667 http://trac.webkit.org/changeset/95699
29668 https://bugs.webkit.org/show_bug.cgi?id=67417
29670 Makes many chromium compositor tests crash
29672 * tests/CCLayerTreeHostTest.cpp:
29673 (WTF::CCLayerTreeHostTest::doBeginTest):
29675 * tests/TreeSynchronizerTest.cpp:
29678 2011-09-22 Nat Duca <nduca@chromium.org>
29680 [chromium] Make CCThreadProxy draw
29681 https://bugs.webkit.org/show_bug.cgi?id=67417
29683 Disable CCLayerTreeHostTest temporarily. Will re-enable
29684 with https://bugs.webkit.org/show_bug.cgi?id=67418
29686 Reviewed by James Robinson.
29688 * tests/CCLayerTreeHostTest.cpp:
29690 2011-09-21 Joshua Bell <jsbell@chromium.org>
29692 Implement WebKit side of IDBFactory::getDatabaseNames
29693 https://bugs.webkit.org/show_bug.cgi?id=68037
29695 Reviewed by Tony Chang.
29697 Interface changes and stub implementations for
29698 new IndexedDB IDBFactory.getDatabaseNames. This is
29699 part one of a two-sided patch.
29701 * public/WebIDBCallbacks.h:
29702 (WebKit::WebIDBCallbacks::onSuccess):
29703 * public/WebIDBFactory.h:
29704 (WebKit::WebIDBFactory::getDatabaseNames):
29706 2011-09-21 Robert Kroeger <rjkroege@chromium.org>
29708 [chromium] Code cleanup in gesture recognizer unit tests
29709 https://bugs.webkit.org/show_bug.cgi?id=68561
29711 Fix some style nits in the gesture recognizer unit tests.
29713 Reviewed by David Levin.
29715 * tests/InnerGestureRecognizerTest.cpp:
29716 (InspectableGestureRecognizerChromium::stubEdgeFunction):
29717 (BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
29720 2011-09-21 Aaron Boodman <aa@chromium.org>
29722 Remove old and busted context notification APIs
29723 https://bugs.webkit.org/show_bug.cgi?id=68381
29725 Reviewed by David Levin.
29727 * public/WebFrameClient.h:
29728 * src/FrameLoaderClientImpl.cpp:
29729 (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
29730 (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
29732 2011-09-21 Xianzhu Wang <wangxianzhu@chromium.org>
29734 Ensure TestWebKitAPI works on mac, win, chromium-mac and chromium-linux
29735 https://bugs.webkit.org/show_bug.cgi?id=68206
29737 Reviewed by Tony Chang.
29741 2011-09-21 chandra shekar vallala <chandra.vallala@gmail.com>
29743 [chromium]ClearFocusedNode doesn't clear the cursor or selection in editable div element.
29744 https://bugs.webkit.org/show_bug.cgi?id=68351
29746 Reviewed by Darin Fisher.
29748 * src/WebViewImpl.cpp:
29749 (WebKit::WebViewImpl::clearFocusedNode):
29751 2011-09-20 Jay Civelli <jcivelli@chromium.org>
29753 This CL makes it possible to create a blob from Chromium.
29754 https://bugs.webkit.org/show_bug.cgi?id=68286
29756 Reviewed by Darin Fisher.
29759 * public/WebBlob.h: Added.
29760 * src/WebBlob.cpp: Added.
29762 2011-09-20 Jochen Eisinger <jochen@chromium.org>
29764 [chromium] remove obsolete WebPermissionClient::allowImages method
29765 https://bugs.webkit.org/show_bug.cgi?id=68380
29767 Reviewed by Darin Fisher.
29770 * public/WebPermissionClient.h:
29771 (WebKit::WebPermissionClient::allowImage):
29773 2011-09-20 Aaron Boodman <aa@chromium.org>
29775 Rework script context creation/release notifications
29776 https://bugs.webkit.org/show_bug.cgi?id=67828
29778 Reviewed by Adam Barth.
29780 * public/WebFrameClient.h:
29781 (WebKit::WebFrameClient::didCreateScriptContext):
29782 (WebKit::WebFrameClient::didDestroyScriptContext):
29783 (WebKit::WebFrameClient::willReleaseScriptContext):
29784 * src/FrameLoaderClientImpl.cpp:
29785 (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
29786 (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
29787 * src/FrameLoaderClientImpl.h:
29788 * tests/WebFrameTest.cpp:
29790 (WebKit::ContextLifetimeTestWebFrameClient::Notification::Notification):
29791 (WebKit::ContextLifetimeTestWebFrameClient::Notification::~Notification):
29792 (WebKit::ContextLifetimeTestWebFrameClient::Notification::Equals):
29793 (WebKit::ContextLifetimeTestWebFrameClient::~ContextLifetimeTestWebFrameClient):
29794 (WebKit::ContextLifetimeTestWebFrameClient::reset):
29795 (WebKit::ContextLifetimeTestWebFrameClient::didCreateScriptContext):
29796 (WebKit::ContextLifetimeTestWebFrameClient::willReleaseScriptContext):
29797 * tests/data/context_notifications_test.html: Added.
29798 * tests/data/context_notifications_test_frame.html: Added.
29800 2011-09-19 Geoffrey Garen <ggaren@apple.com>
29802 Removed ENABLE_JSC_MULTIPLE_THREADS and related #ifdefs.
29803 https://bugs.webkit.org/show_bug.cgi?id=68422
29805 Missed this one case before.
29809 2011-09-19 Raymond Toy <rtoy@google.com>
29811 Ask for audio hardware buffer size instead of using hardwired constants.
29812 https://bugs.webkit.org/show_bug.cgi?id=67952
29814 Reviewed by Kenneth Russell.
29816 * public/WebKitPlatformSupport.h:
29817 (WebKit::WebKitPlatformSupport::audioHardwareBufferSize): Declare
29818 new member function audioHardwareBufferSize.
29819 * src/AudioDestinationChromium.cpp:
29820 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
29821 Call audioHardwareBufferSize() to get buffer size; update
29822 m_callbackBuffersize and m_renderCountPerCallback appropriately.
29823 Remove global variables callbackBufferSize and
29824 renderCountPerCallback. Add constant for maximum
29825 allowed buffer size and verify we don't exceed it.
29826 (WebCore::AudioDestinationChromium::render): Use new member
29827 variables instead of globals.
29828 * src/AudioDestinationChromium.h:
29829 Define new member variables m_callbackBufferSize and
29830 m_renderCountPerCallback
29832 2011-09-19 Adam Barth <abarth@webkit.org>
29834 Always enable ENABLE(EVENTSOURCE)
29835 https://bugs.webkit.org/show_bug.cgi?id=68414
29837 Reviewed by Eric Seidel.
29841 2011-09-19 Robert Kroeger <rjkroege@chromium.org>
29843 Suppress flakey test on windows in Chromium gesture recognizer
29844 https://bugs.webkit.org/show_bug.cgi?id=68408
29846 Reviewed by Adam Barth.
29848 * tests/InnerGestureRecognizerTest.cpp:
29851 2011-09-19 Dominic Mazzoni <dmazzoni@google.com>
29853 Expose AXObjectCache methods so that WebAccessibilityCache
29855 https://bugs.webkit.org/show_bug.cgi?id=68225
29857 Reviewed by Dimitri Glazkov.
29859 This patch exposes the functionality needed from AXObjectCache
29860 with new methods in WebAccessibilityObject and WebDocument.
29861 Next, Chromium will be updated to use only these methods and
29862 not WebAccessibilityCache. Then, WebAccessibilityCache can be
29863 deleted from WebKit.
29865 * public/WebAccessibilityObject.h:
29866 * public/WebDocument.h:
29867 * src/WebAccessibilityObject.cpp:
29868 (WebKit::WebAccessibilityObject::enableAccessibility):
29869 (WebKit::WebAccessibilityObject::accessibilityEnabled):
29870 (WebKit::WebAccessibilityObject::axID):
29871 * src/WebDocument.cpp:
29872 (WebKit::WebDocument::accessibilityObject):
29873 (WebKit::WebDocument::accessibilityObjectFromID):
29875 2011-09-19 Bill Budge <bbudge@chromium.org>
29877 Perform HTTP method and header validation in AssociatedURLLoader for
29878 requests coming from untrusted code (eg. Native Client in Chrome). Use
29879 the same code as XMLHttpRequest to reduce code duplication and have
29880 behavior identical to XHR in Javascript. Add an 'untrustedHTTP' option
29881 to WebURLLoaderOptions, which AssociatedURLLoader can use to determine
29882 if it should check the request method and headers.
29883 https://bugs.webkit.org/show_bug.cgi?id=67655
29885 Reviewed by Darin Fisher.
29887 * public/WebURLLoaderOptions.h:
29888 (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
29889 * src/AssociatedURLLoader.cpp:
29890 (WebKit::AssociatedURLLoader::ClientAdapter::setDelayedError):
29891 (WebKit::AssociatedURLLoader::loadAsynchronously):
29892 * tests/AssociatedURLLoaderTest.cpp:
29893 (WebKit::AssociatedURLLoaderTest::CheckMethodFails):
29894 (WebKit::AssociatedURLLoaderTest::CheckHeaderFails):
29895 (WebKit::AssociatedURLLoaderTest::CheckFails):
29898 2011-09-19 Adam Barth <abarth@webkit.org>
29900 Rename ENABLE(OPENTYPE_SANITIZER) to USE(OPENTYPE_SANITIZER)
29901 https://bugs.webkit.org/show_bug.cgi?id=68292
29903 Reviewed by Eric Seidel.
29907 2011-09-19 Sheriff Bot <webkit.review.bot@gmail.com>
29909 Unreviewed, rolling out r95385 and r95457.
29910 http://trac.webkit.org/changeset/95385
29911 http://trac.webkit.org/changeset/95457
29912 https://bugs.webkit.org/show_bug.cgi?id=68395
29914 Broke chromium browser_tests (Requested by dslomov on
29917 * public/WebFrameClient.h:
29918 (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
29919 * src/FrameLoaderClientImpl.cpp:
29920 (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame):
29921 (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame):
29922 (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
29923 * src/FrameLoaderClientImpl.h:
29924 * tests/WebFrameTest.cpp:
29926 * tests/data/context_notifications_test.html: Removed.
29927 * tests/data/context_notifications_test_frame.html: Removed.
29929 2011-09-19 Aaron Boodman <aa@chromium.org>
29931 r95385 broke Chromium. Fix it.
29932 https://bugs.webkit.org/show_bug.cgi?id=68378
29934 Unreviewed, build fix.
29936 * src/FrameLoaderClientImpl.cpp:
29937 (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
29938 (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
29940 2011-09-19 Jochen Eisinger <jochen@chromium.org>
29942 Unreviewed, build fix
29944 It's not enough to disable clang plugins.
29948 2011-09-19 Jochen Eisinger <jochen@chromium.org>
29950 [chromium] Disable clang when building chromium in WebKit
29951 https://bugs.webkit.org/show_bug.cgi?id=68343
29953 Reviewed by Adam Barth.
29958 2011-09-19 Robert Kroeger <rjkroege@chromium.org>
29960 [chromium] Gesture recognizer fires taptype only every other touch
29961 down/up sequence https://bugs.webkit.org/show_bug.cgi?id=68368
29963 Reviewed by Adam Barth.
29965 The addition of doubletap detection to the gesture recognizer missed some of the
29966 outgoing edges in the recognizer state machine. Thsi change simplifies the logic
29967 and handles all outgoing edges.
29970 * tests/InnerGestureRecognizerTest.cpp:
29971 Additional tests added to ensure that all edges in the state
29972 machine are accounted for.
29973 (BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
29974 (SimulateAndTestFirstClick):
29977 2011-09-19 Peter Rybin <peter.rybin@gmail.com>
29979 TextPosition refactoring: Merge ZeroBasedNumber and OneBasedNumber classes
29980 https://bugs.webkit.org/show_bug.cgi?id=63541
29982 Reviewed by Adam Barth.
29984 * src/WebFrameImpl.cpp:
29985 (WebKit::WebFrameImpl::executeScript):
29986 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
29987 (WebKit::WebFrameImpl::executeScriptAndReturnValue):
29989 2011-09-19 Sheriff Bot <webkit.review.bot@gmail.com>
29991 Unreviewed, rolling out r95416.
29992 http://trac.webkit.org/changeset/95416
29993 https://bugs.webkit.org/show_bug.cgi?id=68367
29995 Broke chromium-mac (Requested by beverloo on #webkit).
29999 2011-09-19 Sheriff Bot <webkit.review.bot@gmail.com>
30001 Unreviewed. Rolled DEPS.
30005 2011-09-19 Ilya Tikhonovsky <loislo@chromium.org>
30007 Web Inspector: extend timeline coverage.
30008 https://bugs.webkit.org/show_bug.cgi?id=68260
30010 Another place with js function call from native.
30012 Reviewed by Pavel Feldman.
30014 * src/WebDevToolsFrontendImpl.cpp:
30015 (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
30017 2011-09-17 Mihai Parparita <mihaip@chromium.org>
30019 FrameLoaderClient BackForwardList-related methods are unsued
30020 https://bugs.webkit.org/show_bug.cgi?id=68293
30022 Reviewed by Darin Adler.
30024 Remove FrameLoaderClient methods that were added by r51629, since only
30025 the old (since-deleted) Android port needed them.
30027 * src/FrameLoaderClientImpl.cpp:
30028 * src/FrameLoaderClientImpl.h:
30030 2011-09-17 Aaron Boodman <aa@chromium.org>
30032 Rework script context creation/release notifications
30033 https://bugs.webkit.org/show_bug.cgi?id=67828
30035 Reviewed by Adam Barth.
30037 * public/WebFrameClient.h:
30038 (WebKit::WebFrameClient::didCreateScriptContext):
30039 (WebKit::WebFrameClient::didDestroyScriptContext):
30040 (WebKit::WebFrameClient::willReleaseScriptContext):
30041 * src/FrameLoaderClientImpl.cpp:
30042 (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
30043 (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
30044 * src/FrameLoaderClientImpl.h:
30046 2011-09-17 chandra shekar vallala <chandra.vallala@motorola.com>
30048 [chromium]The focus of an input field inside an Iframe doesn't get cleared even though clearFocusedNode is called.
30049 https://bugs.webkit.org/show_bug.cgi?id=68162
30051 Add a unit-test to check whether the focus of node is get cleared when clearFocusNode called.
30052 This test check for focus of input node inside a frame after clear focus get called.
30053 Reviewed by Adam Barth.
30055 * src/WebViewImpl.cpp:
30056 (WebKit::WebViewImpl::clearFocusedNode):
30057 * tests/WebFrameTest.cpp:
30058 (WebKit::TEST_F): Added a unit test to make sure that focus of the node is get cleared.
30059 * tests/data/autofocus_input_field_iframe.html: Added.
30060 * tests/data/iframe_clear_focused_node_test.html: Added.
30062 2011-09-16 Adam Barth <abarth@webkit.org>
30064 Rename ENABLE(LEVELDB) to USE(LEVELDB)
30065 https://bugs.webkit.org/show_bug.cgi?id=68290
30067 Reviewed by Darin Adler.
30070 * tests/IDBLevelDBCodingTest.cpp:
30072 2011-09-16 Jochen Eisinger <jochen@chromium.org>
30074 Rename FrameLoaderClient::allowImages to FrameLoaderClient::allowImage and include the image URL as parameter
30075 https://bugs.webkit.org/show_bug.cgi?id=68071
30077 Reviewed by Adam Barth.
30079 * public/WebPermissionClient.h:
30080 (WebKit::WebPermissionClient::allowImage):
30081 * src/FrameLoaderClientImpl.cpp:
30082 (WebKit::FrameLoaderClientImpl::allowImage):
30083 * src/FrameLoaderClientImpl.h:
30085 2011-09-16 Dmitry Lomov <dslomov@google.com>
30087 https://bugs.webkit.org/show_bug.cgi?id=67733
30088 [Chromium] Separate WebKit initialization and V8 initialization in chromium port.
30090 Reviewed by Darin Fisher.
30094 (WebKit::initialize):
30095 (WebKit::initializeWithoutV8):
30097 2011-09-16 Vincent Scheib <scheib@chromium.org>
30099 [Chromium] Add movementX/Y members to WebMouseEvent
30100 https://bugs.webkit.org/show_bug.cgi?id=68174
30102 Reviewed by Dimitri Glazkov.
30104 * public/WebInputEvent.h:
30105 (WebKit::WebMouseEvent::WebMouseEvent):
30107 2011-09-16 Nat Duca <nduca@chromium.org>
30109 [chromium] Create WebGL layer for graphics contexts on demand
30110 https://bugs.webkit.org/show_bug.cgi?id=68288
30112 Reviewed by James Robinson.
30114 * src/GraphicsContext3DChromium.cpp:
30115 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
30116 (WebCore::GraphicsContext3DPrivate::platformLayer):
30117 * src/GraphicsContext3DPrivate.h:
30119 2011-09-16 chandra shekar v <chandra.vallala@motorola.com>
30121 [chromium] compilation failed in target 'webkit_unit_tests'.
30122 https://bugs.webkit.org/show_bug.cgi?id=68078
30124 Reviewed by Adam Barth.
30126 * tests/WebFrameTest.cpp:
30127 (WebKit::TestReloadDoesntRedirectWebFrameClient::decidePolicyForNavigation):
30129 2011-09-16 Sheriff Bot <webkit.review.bot@gmail.com>
30131 Unreviewed, rolling out r95312.
30132 http://trac.webkit.org/changeset/95312
30133 https://bugs.webkit.org/show_bug.cgi?id=68277
30135 It's innocent, innocent I tell you! (Requested by jamesr_ on
30138 * tests/CCLayerTreeHostTest.cpp:
30139 (WTF::TestHooks::beginCommitOnCCThread):
30140 (WTF::TestHooks::commitCompleteOnCCThread):
30141 (WTF::TestHooks::drawLayersOnCCThread):
30142 (WTF::MockLayerTreeHostImpl::create):
30143 (WTF::MockLayerTreeHostImpl::beginCommit):
30144 (WTF::MockLayerTreeHostImpl::commitComplete):
30145 (WTF::MockLayerTreeHostImpl::drawLayers):
30146 (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
30147 (WTF::MockLayerTreeHost::create):
30148 (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
30149 (WTF::MockLayerTreeHost::MockLayerTreeHost):
30150 (WTF::CompositorMockWebGraphicsContext3D::create):
30151 (WTF::CompositorMockWebGraphicsContext3D::makeContextCurrent):
30152 (WTF::CompositorMockWebGraphicsContext3D::createProgram):
30153 (WTF::CompositorMockWebGraphicsContext3D::createShader):
30154 (WTF::CompositorMockWebGraphicsContext3D::getShaderiv):
30155 (WTF::CompositorMockWebGraphicsContext3D::getProgramiv):
30156 (WTF::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
30157 (WTF::MockLayerTreeHostClient::create):
30158 (WTF::MockLayerTreeHostClient::animateAndLayout):
30159 (WTF::MockLayerTreeHostClient::createCompositorThread):
30160 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
30161 (WTF::MockLayerTreeHostClient::createRootLayerPainter):
30162 (WTF::MockLayerTreeHostClient::didRecreateGraphicsContext):
30163 (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
30164 (WTF::CCLayerTreeHostTest::postSetNeedsCommitToMainThread):
30165 (WTF::CCLayerTreeHostTest::postSetNeedsRedrawToMainThread):
30166 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
30167 (WTF::CCLayerTreeHostTest::onBeginTest):
30168 (WTF::CCLayerTreeHostTest::onEndTest):
30169 (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommit):
30170 (WTF::CCLayerTreeHostTest::dispatchSetNeedsRedraw):
30171 (WTF::CCLayerTreeHostTest::runTest):
30172 (WTF::CCLayerTreeHostTest::testTimeout):
30173 (WTF::CCLayerTreeHostTest::doBeginTest):
30174 (WTF::CCLayerTreeHostTestShortlived2::beginTest):
30175 (WTF::CCLayerTreeHostTestShortlived3::beginTest):
30176 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
30177 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
30178 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
30179 (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
30180 (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersOnCCThread):
30181 (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitCompleteOnCCThread):
30182 (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
30183 (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
30184 (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitCompleteOnCCThread):
30185 (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
30186 (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersOnCCThread):
30187 (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
30189 2011-09-16 Sheriff Bot <webkit.review.bot@gmail.com>
30191 Unreviewed, rolling out r95309.
30192 http://trac.webkit.org/changeset/95309
30193 https://bugs.webkit.org/show_bug.cgi?id=68271
30195 Broke many chromium gpu tests. (Requested by dave_levin on
30198 * tests/CCLayerTreeHostTest.cpp:
30199 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
30200 (WTF::CCLayerTreeHostTest::animateAndLayout):
30201 (WTF::CCLayerTreeHostTest::beginCommitOnCCThread):
30202 (WTF::CCLayerTreeHostTest::beginCommitOnMainThread):
30203 (WTF::CCLayerTreeHostTest::commitOnCCThread):
30204 (WTF::CCLayerTreeHostTest::commitCompleteOnCCThread):
30205 (WTF::CCLayerTreeHostTest::commitCompleteOnMainThread):
30206 (WTF::CCLayerTreeHostTest::drawLayersAndPresentOnCCThread):
30207 (WTF::CCLayerTreeHostTest::updateLayers):
30208 (WTF::CCLayerTreeHostTest::onBeginTest):
30209 (WTF::CCLayerTreeHostTest::doEndTest):
30210 (WTF::CCLayerTreeHostTest::onEndTest):
30211 (WTF::CCLayerTreeHostTest::runTest):
30212 (WTF::CCLayerTreeHostTest::testTimeout):
30213 (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
30214 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
30215 (WTF::MockLayerTreeHostClient::animateAndLayout):
30216 (WTF::MockLayerTreeHostClient::updateLayers):
30217 (WTF::MockLayerTreeHostCommitter::create):
30218 (WTF::MockLayerTreeHostCommitter::commit):
30219 (WTF::MockLayerTreeHostCommitter::MockLayerTreeHostCommitter):
30220 (WTF::MockLayerTreeHostImpl::create):
30221 (WTF::MockLayerTreeHostImpl::beginCommit):
30222 (WTF::MockLayerTreeHostImpl::commitComplete):
30223 (WTF::MockLayerTreeHostImpl::drawLayersAndPresent):
30224 (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
30225 (WTF::MockLayerTreeHostImplProxy::create):
30226 (WTF::MockLayerTreeHostImplProxy::createLayerTreeHostImpl):
30227 (WTF::MockLayerTreeHostImplProxy::MockLayerTreeHostImplProxy):
30228 (WTF::MockLayerTreeHost::MockLayerTreeHost):
30229 (WTF::MockLayerTreeHost::createLayerTreeHostImplProxy):
30230 (WTF::MockLayerTreeHost::updateLayers):
30231 (WTF::MockLayerTreeHost::createLayerTreeHostCommitter):
30232 (WTF::MockLayerTreeHost::beginCommit):
30233 (WTF::MockLayerTreeHost::commitComplete):
30234 (WTF::CCLayerTreeHostTest::doBeginTest):
30235 (WTF::CCLayerTreeHostTestShortlived2::beginTest):
30236 (WTF::CCLayerTreeHostTestShortlived3::beginTest):
30237 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
30238 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
30239 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersAndPresentOnCCThread):
30240 (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
30241 (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersAndPresentOnCCThread):
30242 (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitOnCCThread):
30243 (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
30244 (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersAndPresentOnCCThread):
30245 (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitOnCCThread):
30246 (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
30247 (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersAndPresentOnCCThread):
30248 (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitOnCCThread):
30250 2011-09-16 Iain Merrick <husky@google.com>
30252 [chromium] Fix CCLayerTreeHostTest
30253 https://bugs.webkit.org/show_bug.cgi?id=67418
30255 Fixes needed to compile and link with USE_THREADED_COMPOSITING
30256 enabled, and to pass the basic unit test.
30258 Reviewed by James Robinson.
30260 * src/GraphicsContext3DChromium.cpp:
30261 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
30262 (WebCore::GraphicsContext3DPrivate::platformLayer):
30263 * src/GraphicsContext3DPrivate.h:
30264 * tests/CCLayerTreeHostTest.cpp:
30265 (TestHooks::beginCommitOnCCThread):
30266 (TestHooks::commitCompleteOnCCThread):
30267 (TestHooks::drawLayersOnCCThread):
30268 (MockLayerTreeHostImpl::MockLayerTreeHostImpl):
30269 (MockLayerTreeHostImpl::beginCommit):
30270 (MockLayerTreeHostImpl::commitComplete):
30271 (MockLayerTreeHostImpl::drawLayers):
30272 (MockLayerTreeHost::MockLayerTreeHost):
30273 (MockLayerTreeHost::createLayerTreeHostImpl):
30274 (CompositorMockWebGraphicsContext3D::makeContextCurrent):
30275 (CompositorMockWebGraphicsContext3D::createProgram):
30276 (CompositorMockWebGraphicsContext3D::createShader):
30277 (CompositorMockWebGraphicsContext3D::getShaderiv):
30278 (CompositorMockWebGraphicsContext3D::getProgramiv):
30279 (MockLayerTreeHostClient::MockLayerTreeHostClient):
30280 (MockLayerTreeHostClient::animateAndLayout):
30281 (MockLayerTreeHostClient::createCompositorThread):
30282 (MockLayerTreeHostClient::createLayerTreeHostContext3D):
30283 (MockLayerTreeHostClient::createRootLayerPainter):
30284 (MockLayerTreeHostClient::didRecreateGraphicsContext):
30285 (CCLayerTreeHostTest::postSetNeedsCommitToMainThread):
30286 (CCLayerTreeHostTest::postSetNeedsRedrawToMainThread):
30287 (CCLayerTreeHostTest::onEndTest):
30288 (CCLayerTreeHostTest::dispatchSetNeedsCommit):
30289 (CCLayerTreeHostTest::dispatchSetNeedsRedraw):
30290 (CCLayerTreeHostTest::runTest):
30291 (CCLayerTreeHostTest::doBeginTest):
30292 (CCLayerTreeHostTestShortlived2::beginTest):
30293 (CCLayerTreeHostTestShortlived3::beginTest):
30294 (CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
30295 (CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
30296 (CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
30297 (CCLayerTreeHostTestSetNeedsCommit1::beginTest):
30298 (CCLayerTreeHostTestSetNeedsCommit1::drawLayersOnCCThread):
30299 (CCLayerTreeHostTestSetNeedsCommit1::commitCompleteOnCCThread):
30300 (CCLayerTreeHostTestSetNeedsCommit2::beginTest):
30301 (CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
30302 (CCLayerTreeHostTestSetNeedsCommit2::commitCompleteOnCCThread):
30303 (CCLayerTreeHostTestSetNeedsRedraw::beginTest):
30304 (CCLayerTreeHostTestSetNeedsRedraw::drawLayersOnCCThread):
30305 (CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
30307 2011-09-16 Andrey Kosyakov <caseq@chromium.org>
30309 Web Inspector: [Extensions API] support extensions for remote inspector front-end
30310 https://bugs.webkit.org/show_bug.cgi?id=67840
30312 Reviewed by Pavel Feldman.
30314 - expose extension API as a single, standalone file for easy reuse in remote extension scripts.
30317 * scripts/generate_devtools_extension_api.py: Added.
30318 * scripts/generate_devtools_zip.py:
30320 2011-09-16 Ilya Tikhonovsky <loislo@chromium.org>
30322 Web Inspector: change WebInspector.currentPanel getter/setter to functions.
30323 https://bugs.webkit.org/show_bug.cgi?id=68242
30325 This is necessary for the panel switching performance tests.
30327 Reviewed by Pavel Feldman.
30330 (.TestSuite.prototype.showPanel):
30332 2011-09-15 Adam Barth <abarth@webkit.org>
30334 Sigh. Missed this one.
30337 2011-09-15 Adam Barth <abarth@webkit.org>
30339 Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
30340 https://bugs.webkit.org/show_bug.cgi?id=68205
30342 Reviewed by Eric Seidel.
30344 * src/DatabaseObserver.cpp:
30345 * src/WebDatabase.cpp:
30346 (WebKit::WebDatabase::updateDatabaseSize):
30347 (WebKit::WebDatabase::updateSpaceAvailable):
30348 (WebKit::WebDatabase::resetSpaceAvailable):
30349 (WebKit::WebDatabase::closeDatabaseImmediately):
30350 * src/WebRuntimeFeatures.cpp:
30351 (WebKit::WebRuntimeFeatures::enableDatabase):
30352 (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
30354 2011-09-15 Adrienne Walker <enne@google.com>
30356 [chromium] Add temporary diagnostics for LayerTreeHost::commitTo crash
30357 https://bugs.webkit.org/show_bug.cgi?id=68204
30359 Reviewed by James Robinson.
30361 Add CRASH calls to determine which assumptions are being violated.
30363 * src/WebViewImpl.cpp:
30364 (WebKit::WebViewImpl::composite):
30366 2011-09-15 David Levin <levin@chromium.org>
30368 Remove TestWebKitAPI from the chromium build until it is made to work
30369 with the shared component build.
30373 2011-09-15 Eric Seidel <eric@webkit.org>
30375 Remove ENABLE(SVG_AS_IMAGE) since all major ports have it on by default
30376 https://bugs.webkit.org/show_bug.cgi?id=68182
30378 Reviewed by Adam Barth.
30382 2011-09-15 Jon Lee <jonlee@apple.com>
30384 Submitting a form with target=_blank works only once
30385 https://bugs.webkit.org/show_bug.cgi?id=28633
30386 <rdar://problem/7357787>
30388 Reviewed by Andy Estes.
30390 * src/WebViewImpl.cpp:
30391 (WebKit::WebViewImpl::mouseDown): Remove call to resetMultipleFormSubmissionProtection() since
30392 it will be made in platform-independent function EventHandler::handleMousePressEvent().
30394 2011-09-15 Eric Seidel <eric@webkit.org>
30396 Remove ENABLE_SVG_ANIMATION as all major ports have it on by default
30397 https://bugs.webkit.org/show_bug.cgi?id=68022
30399 Reviewed by Ryosuke Niwa.
30403 2011-09-15 James Simonsen <simonjam@chromium.org>
30405 Ref protect HTMLObjectElement and HTMLEmbedElement while requesting plugins
30406 https://bugs.webkit.org/show_bug.cgi?id=68014
30408 Reviewed by Adam Barth.
30410 * src/FrameLoaderClientImpl.cpp:
30411 (WebKit::FrameLoaderClientImpl::createPlugin): Moved protection up to HTMLObjectElement and HTMLEmbedElement.
30413 2011-09-15 David Levin <levin@chromium.org>
30415 [chromium] Attempt to fix the shared build after r95188.
30419 2011-09-15 Brian Salomon <bsalomon@google.com>
30422 https://bugs.webkit.org/show_bug.cgi?id=68096
30424 This change removes WebGraphicsContext3D::grGLInterface(). It has been
30425 superceded by WebGraphicsContext3D::createGrGLInterface which sets up
30426 the per-GL call callback used to set the correct context.
30428 Reviewed by Stephen White.
30430 * public/WebGraphicsContext3D.h:
30431 * src/GraphicsContext3DChromium.cpp:
30432 (WebCore::GraphicsContext3DPrivate::grContext):
30433 * src/WebGraphicsContext3D.cpp:
30434 (WebKit::WebGraphicsContext3D::createGrGLInterface):
30436 2011-09-15 Xianzhu Wang <wangxianzhu@chromium.org>
30438 Let TestWebKitAPI work for chromium
30439 https://bugs.webkit.org/show_bug.cgi?id=67756
30441 Reviewed by Sam Weinig.
30445 2011-09-14 Hao Zheng <zhenghao@chromium.org>
30447 Remove some dependencies of DRT for Android.
30448 https://bugs.webkit.org/show_bug.cgi?id=68126
30450 Reviewed by Tony Chang.
30452 We don't need mesa and TestNetscapePlugIn on Android, so remove them.
30453 As copy_TNPI depends on TNPI, adding copy_TNPI is enough.
30457 2011-09-14 Peter Beverloo <peter@chromium.org>
30459 [Chromium] Make WEB_AUDIO conditional and fix the build when disabled
30460 https://bugs.webkit.org/show_bug.cgi?id=68107
30462 Reviewed by Kenneth Russell.
30465 * src/WebMediaPlayerClientImpl.cpp:
30466 (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
30467 * src/WebMediaPlayerClientImpl.h:
30469 2011-09-14 John Bauman <jbauman@chromium.org>
30471 [chromium] Return correct value for getContextAttributes().preserveDrawingBuffer
30472 https://bugs.webkit.org/show_bug.cgi?id=68082
30474 Reviewed by Kenneth Russell.
30476 WebKit::WebGraphicsContext3D::Attributes doesn't save
30477 preserveDrawingBuffer, so that has to be saving in
30478 GraphicsContext3DPrivate.
30480 * src/GraphicsContext3DChromium.cpp:
30481 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
30482 (WebCore::GraphicsContext3DPrivate::create):
30483 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
30484 (WebCore::GraphicsContext3DPrivate::getContextAttributes):
30485 * src/GraphicsContext3DPrivate.h:
30487 2011-09-14 Antoine Labour <piman@chromium.org>
30489 Remove the dependency on GraphicsLayer from CCLayerTreeHost.
30490 Move root layer management into the NonCompositedContentHost.
30491 Have WebViewImpl create a NonCompositedContentHost explicitly.
30492 https://bugs.webkit.org/show_bug.cgi?id=67883
30494 Reviewed by James Robinson.
30496 * src/WebViewImpl.cpp:
30497 (WebKit::WebViewImpl::setRootGraphicsLayer):
30498 (WebKit::WebViewImpl::invalidateRootLayerRect):
30499 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
30500 (WebKit::WebViewImpl::updateLayerTreeViewport):
30501 (WebKit::WebViewImpl::setVisibilityState):
30502 * src/WebViewImpl.h:
30504 2011-09-14 Nebojsa Ciric <cira@chromium.org>
30506 Changed WebKit.gyp to use the new grit version of the scripts that handle
30508 https://bugs.webkit.org/show_bug.cgi?id=68013
30510 Reviewed by Tony Chang.
30515 2011-09-14 Anders Carlsson <andersca@apple.com>
30517 Fix Chromium build.
30519 * src/ResourceHandle.cpp:
30521 2011-09-13 Eric Seidel <eric@webkit.org>
30523 Remove ENABLE_SVG_USE as <use> is required by HTML5
30524 https://bugs.webkit.org/show_bug.cgi?id=68019
30526 Reviewed by Ryosuke Niwa.
30530 2011-09-13 Adam Barth <abarth@webkit.org>
30532 [Chromium] The checked state of WebPopupMenuItem isn't initialized
30533 https://bugs.webkit.org/show_bug.cgi?id=67889
30535 Reviewed by Darin Fisher.
30537 It seems we're failing to initialize the checked state of
30538 WebPopupMenuItems, potentially because Android is the first platform to
30539 use popup menus for <select> elements.
30541 * src/ExternalPopupMenu.cpp:
30542 (WebKit::ExternalPopupMenu::getPopupMenuInfo):
30544 2011-09-13 Eric Seidel <eric@webkit.org>
30546 Remove ENABLE_SVG_FOREIGN_OBJECT as it is a required part of HTML5
30547 https://bugs.webkit.org/show_bug.cgi?id=68018
30549 Reviewed by Ryosuke Niwa.
30553 2011-09-13 James Simonsen <simonjam@chromium.org>
30555 [Chromium] Ref protect element in FrameLoaderClientImpl::createPlugin
30556 https://bugs.webkit.org/show_bug.cgi?id=68014
30558 Reviewed by Nate Chapin.
30560 Test: plugins/destroy-during-npp-new.htm under valgrind
30562 * src/FrameLoaderClientImpl.cpp:
30563 (WebKit::FrameLoaderClientImpl::createPlugin):
30565 2011-09-13 Sheriff Bot <webkit.review.bot@gmail.com>
30567 Unreviewed. Rolled DEPS.
30571 2011-09-12 Fumitoshi Ukai <ukai@chromium.org>
30573 Unreviewed. Roll DEPS again.
30577 2011-09-12 Sheriff Bot <webkit.review.bot@gmail.com>
30579 Unreviewed, rolling out r95015.
30580 http://trac.webkit.org/changeset/95015
30581 https://bugs.webkit.org/show_bug.cgi?id=67987
30583 compiled failed on Chromium Win bot (Requested by ukai on
30588 2011-09-12 Sheriff Bot <webkit.review.bot@gmail.com>
30590 Unreviewed. Rolled DEPS.
30594 2011-09-12 David Levin <levin@chromium.org>
30596 [chromium] Remove AllowCrossThreadAccess for WorkerFileWriterCallbacksBridge.
30597 https://bugs.webkit.org/show_bug.cgi?id=67943
30599 Reviewed by Adam Barth.
30601 * src/WorkerFileWriterCallbacksBridge.cpp: Removed AllowCrossThreadAccess
30602 allowing the automatic ref counting to work. This was previous needed when
30603 the ref counting wasn't working but that was fixed in r94986. Note that the
30604 design was to have ref counting since the methods take PassRefPtr and the
30605 class is ThreadSafeRefCounted. (Ideally we have noticed this flaw when
30606 adding in AllowCrossThreadAccess.)
30607 (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
30608 (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
30609 (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
30610 (WebKit::WorkerFileWriterCallbacksBridge::didWrite):
30611 (WebKit::WorkerFileWriterCallbacksBridge::didFail):
30612 (WebKit::WorkerFileWriterCallbacksBridge::didTruncate):
30613 (WebKit::WorkerFileWriterCallbacksBridge::postInitToMainThread):
30614 (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToMainThread):
30615 (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToWorkerThread):
30617 2011-09-08 Nat Duca <nduca@chromium.org>
30619 [chromium] Add GraphicsContext3DPrivate:createGraphicsContextForAnotherThread
30620 https://bugs.webkit.org/show_bug.cgi?id=67832
30622 The compositor thread needs to create a GraphicsContext3D without
30623 actually making it current. In previous attempts at doing this, we
30624 modified all graphics3D creation to not make the contexts current, but
30625 this prove to be shockingly fragile. Since this is a very
30626 Chromium-specific behavior, this patch makes creationForAnotherThread a
30627 method on the private GraphicsContext3D interface.
30628 GraphicsContext3D::create behaves as usual.
30630 Reviewed by Kenneth Russell.
30632 * src/GraphicsContext3DChromium.cpp:
30633 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
30634 (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
30635 (WebCore::GraphicsContext3D::create):
30636 * src/GraphicsContext3DPrivate.h:
30637 * src/WebViewImpl.cpp:
30638 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
30639 (WebKit::WebViewImpl::graphicsContext3D):
30640 * tests/MockGraphicsContext3DTest.cpp:
30643 2011-09-11 Jeremy Moskovich <jeremy@chromium.org>
30645 [Chromium] Change OOP Font loading code to use CGFont*() APIs.
30646 https://bugs.webkit.org/show_bug.cgi?id=66935
30648 This change is necessary due a bug in ATSFontDeactivate() on 10.7.
30649 See crbug.com/93191 for details.
30651 Reviewed by Eric Seidel.
30653 * public/mac/WebSandboxSupport.h:
30654 * src/PlatformBridge.cpp:
30655 (WebCore::PlatformBridge::loadFont):
30657 2011-09-11 Adam Barth <abarth@webkit.org>
30659 [Chromium] Add more key codes to WebInputEvent for Android
30660 https://bugs.webkit.org/show_bug.cgi?id=67887
30662 Reviewed by Darin Fisher.
30664 * src/WebInputEvent.cpp:
30665 (WebKit::staticKeyIdentifiers):
30667 2011-09-09 Fady Samuel <fsamuel@chromium.org>
30669 Move pageScaleFactor code from Frame.{h|cpp} to Page.{h|cpp}
30670 https://bugs.webkit.org/show_bug.cgi?id=67250
30672 Reviewed by Simon Fraser.
30674 * src/WebViewImpl.cpp:
30675 (WebKit::WebViewImpl::pageScaleFactor):
30676 (WebKit::WebViewImpl::scalePage):
30678 2011-09-09 Hao Zheng <zhenghao@chromium.org>
30680 [chromium] Implement DRT support for Android.
30681 https://bugs.webkit.org/show_bug.cgi?id=67590
30683 Reviewed by Tony Chang.
30685 Exclude Android specific files of DRT from other platforms.
30689 2011-09-09 Hao Zheng <zhenghao@chromium.org>
30691 [Chromium] Add WebSandboxSupport and WebThemeEngine for Android.
30692 https://bugs.webkit.org/show_bug.cgi?id=67584
30694 Reviewed by Steve Block.
30696 Make src/PlatformSupport.cpp and src/WebFrameImpl.cpp compile on
30697 Chromium port for Android.
30700 * public/android: Added.
30701 * public/android/WebSandboxSupport.h: Added.
30702 * public/android/WebThemeEngine.h: Added.
30703 (WebKit::WebThemeEngine::getSize):
30704 (WebKit::WebThemeEngine::paint):
30705 * src/PlatformSupport.cpp:
30706 (WebCore::PlatformSupport::getFontFamilyForCharacters):
30707 (WebCore::PlatformSupport::getRenderStyleForStrike):
30708 * src/WebFrameImpl.cpp:
30710 2011-09-09 Martin Kosiba <mkosiba@chromium.org>
30712 Exposing the isLink method on WebNode for the Chromium port on Android.
30714 Reviewed by Darin Fisher.
30716 * public/WebNode.h:
30718 (WebKit::WebNode::isLink):
30720 2011-09-08 Adam Barth <abarth@webkit.org>
30722 Another attempt to fix the Chromium build. (Missed one.)
30724 * src/WebPageSerializerImpl.cpp:
30725 (WebKit::WebPageSerializerImpl::serialize):
30727 2011-09-08 Adam Barth <abarth@webkit.org>
30729 Attempt to fix Chromium build. We can just grab the encoding from the document.
30731 * src/ContextMenuClientImpl.cpp:
30732 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
30733 * src/WebDocument.cpp:
30734 (WebKit::WebDocument::encoding):
30735 * src/WebPageSerializerImpl.cpp:
30736 (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
30737 * src/WebSearchableFormData.cpp:
30738 (HTMLNames::GetFormEncoding):
30739 * src/WebViewImpl.cpp:
30740 (WebKit::WebViewImpl::pageEncoding):
30742 2011-09-08 W. James MacLean <wjmaclean@chromium.org>
30744 [chromium] Add backend compositor support for rescaling (zooming) textures during zoom animation.
30745 https://bugs.webkit.org/show_bug.cgi?id=66472
30747 This patch contains plumbing from Internals to WebViewImpl that can be removed
30748 at a later time when the zoom animator code is complete.
30750 Reviewed by James Robinson.
30752 * src/WebViewImpl.cpp:
30753 (WebKit::WebViewImpl::setZoomLevel):
30754 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
30756 2011-09-08 Scott Byer <scottbyer@chromium.org>
30758 Compile in ScrollAnimator for Chromium on all platforms by default.
30759 https://bugs.webkit.org/show_bug.cgi?id=67650
30761 Reviewed by Adam Barth.
30765 2011-09-07 Adam Barth <abarth@webkit.org>
30767 FrameLoader::addExtraFieldsToRequest can crash when called from or after FrameLoader::detachFromParent
30768 https://bugs.webkit.org/show_bug.cgi?id=61810
30770 Reviewed by Eric Seidel.
30772 Fix this crash as suggested by Darin Fisher in
30773 https://bugs.webkit.org/show_bug.cgi?id=61810#c21. This patch does not
30774 include the test requested by Alexey Proskuryakov in
30775 https://bugs.webkit.org/show_bug.cgi?id=61810#c6. I would really much
30776 rather include a test with this patch, but my attempts to write a test
30779 * src/WebPluginContainerImpl.cpp:
30780 (WebKit::WebPluginContainerImpl::loadFrameRequest):
30782 2011-09-07 Eric Boren <borenet@gmail.com>
30784 [Chromium] Modify WebTouchEvent structure to match WebCore::TouchEvent
30785 https://bugs.webkit.org/show_bug.cgi?id=66800
30787 Reviewed by Darin Fisher.
30789 * public/WebInputEvent.h:
30790 (WebKit::WebTouchEvent::WebTouchEvent):
30791 * public/WebTouchPoint.h:
30792 (WebKit::WebTouchPoint::WebTouchPoint):
30793 * src/WebInputEventConversion.cpp:
30794 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
30795 (WebKit::WebTouchEventBuilder::WebTouchEventBuilder):
30796 * src/WebInputEventConversion.h:
30798 2011-09-07 Sheriff Bot <webkit.review.bot@gmail.com>
30800 Unreviewed, rolling out r94635.
30801 http://trac.webkit.org/changeset/94635
30802 https://bugs.webkit.org/show_bug.cgi?id=67704
30804 Linux Touch build is failing to compile this change.
30805 (Requested by loislo on #webkit).
30807 * public/WebInputEvent.h:
30808 (WebKit::WebTouchEvent::WebTouchEvent):
30809 * public/WebTouchPoint.h:
30810 (WebKit::WebTouchPoint::WebTouchPoint):
30811 * src/WebInputEventConversion.cpp:
30812 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
30813 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
30814 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
30815 (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
30816 * src/WebInputEventConversion.h:
30818 2011-09-05 Yury Semikhatsky <yurys@chromium.org>
30820 [Chromium] Web Inspector: repair console sniffing for interactive ui tests
30821 https://bugs.webkit.org/show_bug.cgi?id=67608
30823 Reviewed by Pavel Feldman.
30826 (.TestSuite.prototype.evaluateInConsole_):
30828 2011-09-06 Eric Boren <borenet@gmail.com>
30830 [Chromium] Modify WebTouchEvent structure to match WebCore::TouchEvent
30831 https://bugs.webkit.org/show_bug.cgi?id=66800
30833 Reviewed by Darin Fisher.
30835 * public/WebInputEvent.h:
30836 (WebKit::WebTouchEvent::WebTouchEvent):
30837 * public/WebTouchPoint.h:
30838 (WebKit::WebTouchPoint::WebTouchPoint):
30839 * src/WebInputEventConversion.cpp:
30840 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
30841 (WebKit::WebTouchEventBuilder::WebTouchEventBuilder):
30842 * src/WebInputEventConversion.h:
30844 2011-09-06 Ben Smith <binji@chromium.org>
30846 [chromium] Fix WebFrameClient receiving isRedirect when reloading
30847 https://bugs.webkit.org/show_bug.cgi?id=63591
30849 Reviewed by Adam Barth.
30851 Fix bug when quickly reloading a WebFrame where the
30852 WebFrameClient would get called with decidePolicyForNavigation
30855 * src/FrameLoaderClientImpl.cpp:
30856 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
30857 * src/WebDataSourceImpl.h:
30858 (WebKit::WebDataSourceImpl::isRedirect):
30859 * tests/WebFrameTest.cpp:
30860 (WebKit::TestReloadDoesntRedirectWebFrameClient::decidePolicyForNavigation):
30861 (WebKit::TestReloadDoesntRedirectWebFrameClient::cancelledError):
30864 2011-09-06 Ryosuke Niwa <rniwa@webkit.org>
30866 Rename confirmCompositionWithoutDisturbingSelection to cancelComposition
30867 https://bugs.webkit.org/show_bug.cgi?id=67569
30869 Reviewed by Antonio Gomes.
30871 * src/WebFrameImpl.cpp:
30872 (WebKit::WebFrameImpl::unmarkText):
30874 2011-09-06 Adam Barth <abarth@webkit.org>
30876 [Chromium] Add WebFloatQuad.h for Android
30877 https://bugs.webkit.org/show_bug.cgi?id=67573
30879 Reviewed by Darin Fisher.
30881 Android uses this wrapper of WebCore::FloatQuad in some API methods
30882 (which will appear in subsequent patches).
30885 * public/WebFloatQuad.h: Added.
30886 * src/WebFloatQuad.cpp: Added.
30888 2011-09-06 Adam Barth <abarth@webkit.org>
30890 [Chromium] Add didAcceptIndices to ExternalPopupMenuClient for Android
30891 https://bugs.webkit.org/show_bug.cgi?id=67574
30893 Reviewed by Darin Fisher.
30895 In Android, external popup menus can admit multiple selection (e.g.,
30896 for listboxes presented using external UI).
30898 * public/WebExternalPopupMenuClient.h:
30899 * src/ExternalPopupMenu.cpp:
30900 (WebKit::ExternalPopupMenu::didAcceptIndices):
30901 * src/ExternalPopupMenu.h:
30903 2011-09-06 Aaron Colwell <acolwell@chromium.org>
30905 Allow MediaSource API to be enabled at runtime.
30906 https://bugs.webkit.org/show_bug.cgi?id=67306
30908 Reviewed by Eric Carlson.
30910 * public/WebRuntimeFeatures.h:
30911 * src/WebRuntimeFeatures.cpp:
30912 (WebKit::WebRuntimeFeatures::enableMediaSource):
30913 (WebKit::WebRuntimeFeatures::isMediaSourceEnabled):
30915 2011-09-06 Ryosuke Niwa <rniwa@webkit.org>
30917 REGRESSION(r94274): FormManagerTest.PreviewForm and FillFormNonEmptyField fail on chromium
30918 https://bugs.webkit.org/show_bug.cgi?id=67453
30920 Reviewed by Kent Tamura.
30922 Chromium code incorrectly calls Node::isFocusable without updating layout, and was hitting assertions.
30923 Fix the assertion failure (and a potential crash) by updating layout in WebCore::isFocusable.
30926 (WebKit::WebNode::isFocusable):
30928 2011-09-04 Adam Barth <abarth@webkit.org>
30930 [Chromium] Add mutliple to WebPopupMenuInfo for Android
30931 https://bugs.webkit.org/show_bug.cgi?id=67576
30933 Reviewed by Darin Fisher.
30935 This flag requests that the embedder allow multiple selection for the
30936 popup menu. (See also https://bugs.webkit.org/show_bug.cgi?id=67574.)
30938 * public/WebPopupMenuInfo.h:
30939 * src/ExternalPopupMenu.cpp:
30940 (WebKit::ExternalPopupMenu::getPopupMenuInfo):
30942 2011-09-04 Adam Barth <abarth@webkit.org>
30944 [Chromium] Add memory threshold values to WebKitPlatformSupport.h
30945 https://bugs.webkit.org/show_bug.cgi?id=67575
30947 Reviewed by Darin Fisher.
30949 Instead of hard-coding these values, we now grab them from
30950 WebKitPlatformSupport because Android wishes to configure them on a
30953 One could view grabing these values from PlatformSupport as a bit of a
30954 layering violation (because they feel like policy), but another view is
30955 that the alternative implementation is to query the OS for various
30956 memory parameters. In either case, getting these values via
30957 PlatformSupport is much easier and consistent with the other memory
30958 related queries in PlatformSupport already.
30960 * public/WebKitPlatformSupport.h:
30961 (WebKit::WebKitPlatformSupport::lowMemoryUsageMB):
30962 (WebKit::WebKitPlatformSupport::highMemoryUsageMB):
30963 (WebKit::WebKitPlatformSupport::highUsageDeltaMB):
30964 * src/PlatformSupport.cpp:
30965 (WebCore::PlatformSupport::lowMemoryUsageMB):
30966 (WebCore::PlatformSupport::highMemoryUsageMB):
30967 (WebCore::PlatformSupport::highUsageDeltaMB):
30969 2011-09-02 Adam Barth <abarth@webkit.org>
30971 Remove WebKitClient.h
30972 https://bugs.webkit.org/show_bug.cgi?id=67539
30974 Reviewed by Sam Weinig.
30976 This API no longer has any callers.
30980 * public/WebKitClient.h: Removed.
30983 2011-09-02 Bill Budge <bbudge@chromium.org>
30985 Add a 'didDownloadData' method to ResourceHandleInternal and pass these
30986 notifications to WebURLLoaderClients.
30987 https://bugs.webkit.org/show_bug.cgi?id=67229
30989 Reviewed by Darin Fisher.
30991 * src/AssociatedURLLoader.cpp:
30992 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
30993 (WebKit::AssociatedURLLoader::ClientAdapter::didDownloadData):
30994 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
30995 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
30996 * src/ResourceHandle.cpp:
30997 (WebCore::ResourceHandleInternal::didDownloadData):
30998 * src/ResourceHandleInternal.h:
31000 2011-09-02 Peng Huang <penghuang@chromium.org>
31002 Need API for getting surrounding text from webkit in chromium
31003 https://bugs.webkit.org/show_bug.cgi?id=66681
31005 Reviewed by Ryosuke Niwa.
31007 Add getSelectionOffsetsAndTextInEditableContent() to Chromium's
31008 WebViewImpl. This function is for supporting some input methods which
31009 need input context around the edit caret.
31011 * public/WebWidget.h:
31012 (WebKit::WebWidget::getSelectionOffsetsAndTextInEditableContent):
31013 * src/WebViewImpl.cpp:
31014 (WebKit::WebViewImpl::getSelectionOffsetsAndTextInEditableContent):
31015 * src/WebViewImpl.h:
31017 2011-09-02 Sheriff Bot <webkit.review.bot@gmail.com>
31019 Unreviewed. Rolled DEPS.
31023 2011-09-02 Adrienne Walker <enne@google.com>
31025 [chromium] Remove LayerRendererChromium references from the LayerChromium tree
31026 https://bugs.webkit.org/show_bug.cgi?id=66430
31028 Reviewed by James Robinson.
31030 Change references to LayerRendererChromium to CCLayerTreeHost.
31032 * src/WebMediaPlayerClientImpl.cpp:
31033 (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
31035 2011-09-01 Robert Kroeger <rjkroege@chromium.org>
31038 [chromium] Code cleanup FIXME in Chromium recognizer
31039 https://bugs.webkit.org/show_bug.cgi?id=67448
31041 Updated GestureRecognizer unit tests for more encapsulated
31042 gesture recognizer implementation.
31044 Reviewed by Adam Barth.
31046 * tests/InnerGestureRecognizerTest.cpp:
31047 (InspectableGestureRecognizerChromium::InspectableGestureRecognizerChromium):
31048 (InspectableGestureRecognizerChromium::signature):
31049 (InspectableGestureRecognizerChromium::edgeFunction):
31050 (InspectableGestureRecognizerChromium::updateValues):
31051 (InspectableGestureRecognizerChromium::addEdgeFunction):
31052 (InspectableGestureRecognizerChromium::setStateTest):
31053 (InspectableGestureRecognizerChromium::isInsideManhattanSquare):
31054 (InspectableGestureRecognizerChromium::isInClickTimeWindow):
31055 (InspectableGestureRecognizerChromium::stubEdgeFunction):
31056 (GestureRecognizerTest::GestureRecognizerTest):
31059 2011-09-01 Brian Salomon <bsalomon@google.com>
31061 [Chromium, Skia] Add virtual to WebGraphicsContext3D to create a new GrGLInterface per context. Insert per-skia-GL-function callback to set correct GL context.
31062 https://bugs.webkit.org/show_bug.cgi?id=67395
31064 Reviewed by Kenneth Russell.
31067 * public/WebGraphicsContext3D.h:
31068 (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
31069 * src/GraphicsContext3DChromium.cpp:
31070 (WebCore::GraphicsContext3DPrivate::grContext):
31071 * src/WebGraphicsContext3D.cpp: Added.
31072 (WebKit::WebGraphicsContext3D::createGrGLInterface):
31074 2011-08-29 Nat Duca <nduca@chromium.org>
31076 [chromium] Introduce CCSingleThreadProxy in order to move LayerRenderer to CCLayerTreeHostImpl
31077 https://bugs.webkit.org/show_bug.cgi?id=66807
31079 Reviewed by James Robinson.
31081 * src/WebViewImpl.cpp:
31082 (WebKit::WebViewImpl::composite):
31083 (WebKit::WebViewImpl::setRootGraphicsLayer):
31084 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
31085 (WebKit::WebViewImpl::didRecreateGraphicsContext):
31086 * tests/CCThreadTaskTest.cpp:
31089 2011-09-01 Dominic Mazzoni <dmazzoni@google.com>
31091 Add API functions to enable starting and stopping speech input,
31092 and checking the current speech input state.
31093 https://bugs.webkit.org/show_bug.cgi?id=60170
31095 Reviewed by Dimitri Glazkov.
31097 * public/WebInputElement.h:
31098 * src/AssertMatchingEnums.cpp:
31099 * src/WebInputElement.cpp:
31100 (WebKit::WebInputElement::isSpeechInputEnabled):
31101 (WebKit::WebInputElement::getSpeechInputState):
31102 (WebKit::WebInputElement::startSpeechInput):
31103 (WebKit::WebInputElement::stopSpeechInput):
31105 2011-08-31 Greg Billock <gbillock@google.com>
31107 Add pass-throughs for NPObject/v8::Value marshalling to WebBindings
31108 https://bugs.webkit.org/show_bug.cgi?id=67302
31110 Reviewed by Darin Fisher.
31112 * public/WebBindings.h:
31113 * src/WebBindings.cpp:
31114 (WebKit::WebBindings::toNPVariant):
31115 (WebKit::WebBindings::toV8Value):
31116 * src/WebSerializedScriptValue.cpp:
31117 (WebKit::WebSerializedScriptValue::serialize):
31119 2011-08-31 Adam Barth <abarth@webkit.org>
31121 [Chromium] Rename PlatformBridge to PlatformSupport
31122 https://bugs.webkit.org/show_bug.cgi?id=67349
31124 Reviewed by Darin Fisher.
31126 This matches the WebKitPlatformSupport embedder API.
31129 * src/AssertMatchingEnums.cpp:
31130 * src/ChromeClientImpl.cpp:
31131 (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
31132 * src/PlatformBridge.cpp: Removed.
31133 * src/ResourceHandle.cpp:
31134 (WebCore::ResourceHandle::cacheMetadata):
31135 * src/WebFrameImpl.cpp:
31136 (WebKit::WebFrameImpl::WebFrameImpl):
31137 (WebKit::WebFrameImpl::~WebFrameImpl):
31138 * src/WebViewImpl.cpp:
31139 (WebKit::WebViewImpl::paint):
31140 (WebKit::WebViewImplContentPainter::paint):
31141 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
31143 2011-08-31 Sailesh Agrawal <sail@chromium.org>
31145 Chromium Mac: PDF: Scrollsbars should be visible when scrolling using the two finger gesture on Lion
31146 https://bugs.webkit.org/show_bug.cgi?id=66599
31148 Reviewed by Darin Fisher.
31150 Overlay scrollbars over a pdf wouldn't stay visible if a gesture was in progress. Normally we use a beginScrollGesture and endScrollGesture to keep the scrollbars visible. Unfortunately PDFs didn't handle gesture events so we didn't get the begin/end gesture events.
31152 This change pipes gesture events to WebPluginContainerImpl if possible. This fixes this bug.
31154 * src/WebPluginContainerImpl.cpp:
31155 (WebKit::WebPluginContainerImpl::handleGestureEvent):
31156 * src/WebPluginContainerImpl.h:
31157 * src/WebViewImpl.cpp:
31158 (WebKit::WebViewImpl::gestureEvent):
31160 2011-08-31 Sailesh Agrawal <sail@chromium.org>
31162 Chromium Mac: Add fallback for drawing PDF overhang area
31163 https://bugs.webkit.org/show_bug.cgi?id=66614
31165 Reviewed by Darin Fisher.
31167 This change adds a fallback for overhang drawing for PDF content. This fallback is needed until the PDF plugin uses the linen pattern to draw its own overhang.
31169 * src/ChromeClientImpl.cpp:
31170 (WebKit::ChromeClientImpl::paintCustomOverhangArea):
31171 * src/ChromeClientImpl.h:
31172 * src/WebPluginContainerImpl.cpp:
31173 (WebKit::WebPluginContainerImpl::paintCustomOverhangArea):
31174 * src/WebPluginContainerImpl.h:
31176 2011-08-31 James Weatherall <wez@chromium.org>
31178 [chromium] Have the FrameLoaderClient release any plugin widget
31179 reference is holding when the FrameLoader detaches it, to ensure that
31180 the plugin won't out-live the containing page.
31181 https://bugs.webkit.org/show_bug.cgi?id=66517
31183 Reviewed by Darin Fisher.
31185 * src/FrameLoaderClientImpl.cpp:
31186 (WebKit::FrameLoaderClientImpl::detachedFromParent3):
31188 2011-08-31 Adam Barth <abarth@webkit.org>
31190 [Chromium] Rename WebKitClient to WebKitPlatformSupport
31191 https://bugs.webkit.org/show_bug.cgi?id=67309
31193 Reviewed by Darin Fisher.
31195 WebKitClient doesn't actually represent the WebKit Client. Instead, it
31196 represents supporting code for the WebKit Platform. This patch renames
31197 WebKitClient to WebKitPlatformSupport to make it easier for folks to
31198 understand the difference between the Client and the Platform.
31200 This patch includes shims so as not to break the Chromium build. Once
31201 the Chromium side is updated, I'll remove the shims.
31204 * public/WebFrameClient.h:
31206 (WebKit::webKitClient):
31207 * public/WebKitClient.h: Removed.
31208 * public/WebKitPlatformSupport.h: Copied from Source/WebKit/chromium/public/WebKitClient.h.
31209 (WebKit::WebKitPlatformSupport::~WebKitPlatformSupport):
31210 * src/ApplicationCacheHostInternal.h:
31211 * src/AssociatedURLLoader.cpp:
31212 * src/AsyncFileSystemChromium.cpp:
31213 (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
31214 * src/AudioDestinationChromium.cpp:
31215 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
31216 (WebCore::AudioDestination::hardwareSampleRate):
31217 * src/BlobRegistryProxy.cpp:
31218 (WebCore::BlobRegistryProxy::BlobRegistryProxy):
31219 * src/CCThreadImpl.cpp:
31220 (WebKit::CCThreadImpl::CCThreadImpl):
31221 * src/ChromiumCurrentTime.cpp:
31222 (WTF::currentTime):
31223 (WTF::monotonicallyIncreasingTime):
31224 * src/ChromiumOSRandomSource.cpp:
31225 (WTF::cryptographicallyRandomValuesFromOS):
31226 * src/ChromiumThreading.cpp:
31227 (WTF::ChromiumThreading::callOnMainThread):
31228 * src/FrameLoaderClientImpl.cpp:
31229 (WebKit::FrameLoaderClientImpl::canShowMIMEType):
31230 (WebKit::FrameLoaderClientImpl::userAgent):
31231 * src/GraphicsContext3DChromium.cpp:
31232 (WebCore::GraphicsContext3D::create):
31233 * src/IDBFactoryBackendProxy.cpp:
31234 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
31235 * src/LocalizedStrings.cpp:
31237 * src/PlatformBridge.cpp:
31238 (WebCore::getCookieJar):
31239 (WebCore::PlatformBridge::cacheMetadata):
31240 (WebCore::PlatformBridge::clipboardIsFormatAvailable):
31241 (WebCore::PlatformBridge::clipboardReadPlainText):
31242 (WebCore::PlatformBridge::clipboardReadHTML):
31243 (WebCore::PlatformBridge::clipboardReadImage):
31244 (WebCore::PlatformBridge::clipboardGetSequenceNumber):
31245 (WebCore::PlatformBridge::clipboardWriteSelection):
31246 (WebCore::PlatformBridge::clipboardWritePlainText):
31247 (WebCore::PlatformBridge::clipboardWriteURL):
31248 (WebCore::PlatformBridge::clipboardWriteImage):
31249 (WebCore::PlatformBridge::clipboardWriteData):
31250 (WebCore::PlatformBridge::clipboardReadAvailableTypes):
31251 (WebCore::PlatformBridge::clipboardReadData):
31252 (WebCore::PlatformBridge::clipboardReadFilenames):
31253 (WebCore::PlatformBridge::prefetchDNS):
31254 (WebCore::PlatformBridge::fileExists):
31255 (WebCore::PlatformBridge::deleteFile):
31256 (WebCore::PlatformBridge::deleteEmptyDirectory):
31257 (WebCore::PlatformBridge::getFileSize):
31258 (WebCore::PlatformBridge::revealFolderInOS):
31259 (WebCore::PlatformBridge::getFileModificationTime):
31260 (WebCore::PlatformBridge::directoryName):
31261 (WebCore::PlatformBridge::pathByAppendingComponent):
31262 (WebCore::PlatformBridge::makeAllDirectories):
31263 (WebCore::PlatformBridge::getAbsolutePath):
31264 (WebCore::PlatformBridge::isDirectory):
31265 (WebCore::PlatformBridge::filePathToURL):
31266 (WebCore::PlatformBridge::openFile):
31267 (WebCore::PlatformBridge::closeFile):
31268 (WebCore::PlatformBridge::seekFile):
31269 (WebCore::PlatformBridge::truncateFile):
31270 (WebCore::PlatformBridge::readFromFile):
31271 (WebCore::PlatformBridge::writeToFile):
31272 (WebCore::PlatformBridge::ensureFontLoaded):
31273 (WebCore::PlatformBridge::loadFont):
31274 (WebCore::PlatformBridge::getFontFamilyForCharacters):
31275 (WebCore::PlatformBridge::getRenderStyleForStrike):
31276 (WebCore::PlatformBridge::databaseOpenFile):
31277 (WebCore::PlatformBridge::databaseDeleteFile):
31278 (WebCore::PlatformBridge::databaseGetFileAttributes):
31279 (WebCore::PlatformBridge::databaseGetFileSize):
31280 (WebCore::PlatformBridge::databaseGetSpaceAvailableForOrigin):
31281 (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
31282 (WebCore::PlatformBridge::injectIDBKeyIntoSerializedValue):
31283 (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
31284 (WebCore::PlatformBridge::computedDefaultLanguage):
31285 (WebCore::PlatformBridge::isSupportedImageMIMEType):
31286 (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
31287 (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
31288 (WebCore::PlatformBridge::mimeTypeForExtension):
31289 (WebCore::PlatformBridge::wellKnownMimeTypeForExtension):
31290 (WebCore::PlatformBridge::mimeTypeFromFile):
31291 (WebCore::PlatformBridge::preferredExtensionForMIMEType):
31292 (WebCore::PlatformBridge::plugins):
31293 (WebCore::PlatformBridge::loadPlatformImageResource):
31294 (WebCore::PlatformBridge::loadPlatformAudioResource):
31295 (WebCore::PlatformBridge::decodeAudioFileData):
31296 (WebCore::PlatformBridge::sandboxEnabled):
31297 (WebCore::PlatformBridge::setSharedTimerFiredFunction):
31298 (WebCore::PlatformBridge::setSharedTimerFireInterval):
31299 (WebCore::PlatformBridge::stopSharedTimer):
31300 (WebCore::PlatformBridge::decrementStatsCounter):
31301 (WebCore::PlatformBridge::incrementStatsCounter):
31302 (WebCore::PlatformBridge::histogramCustomCounts):
31303 (WebCore::PlatformBridge::histogramEnumeration):
31304 (WebCore::PlatformBridge::suddenTerminationChanged):
31305 (WebCore::PlatformBridge::paintButton):
31306 (WebCore::PlatformBridge::paintMenuList):
31307 (WebCore::PlatformBridge::paintScrollbarArrow):
31308 (WebCore::PlatformBridge::paintScrollbarThumb):
31309 (WebCore::PlatformBridge::paintScrollbarTrack):
31310 (WebCore::PlatformBridge::paintSpinButton):
31311 (WebCore::PlatformBridge::paintTextField):
31312 (WebCore::PlatformBridge::paintTrackbar):
31313 (WebCore::PlatformBridge::paintProgressBar):
31314 (WebCore::PlatformBridge::getThemePartSize):
31315 (WebCore::PlatformBridge::paintThemePart):
31316 (WebCore::PlatformBridge::traceEventBegin):
31317 (WebCore::PlatformBridge::traceEventEnd):
31318 (WebCore::PlatformBridge::visitedLinkHash):
31319 (WebCore::PlatformBridge::isLinkVisited):
31320 (WebCore::PlatformBridge::memoryUsageMB):
31321 (WebCore::PlatformBridge::actualMemoryUsageMB):
31322 * src/PlatformMessagePortChannel.cpp:
31323 (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
31324 * src/ResourceHandle.cpp:
31325 (WebCore::ResourceHandleInternal::start):
31326 (WebCore::ResourceHandle::loadResourceSynchronously):
31327 * src/SharedWorkerRepository.cpp:
31328 (WebCore::SharedWorkerRepository::isAvailable):
31329 (WebCore::SharedWorkerRepository::connect):
31330 (WebCore::SharedWorkerRepository::documentDetached):
31331 (WebCore::SharedWorkerRepository::hasSharedWorkers):
31332 * src/SocketStreamHandle.cpp:
31333 (WebCore::SocketStreamHandleInternal::connect):
31334 * src/StorageEventDispatcherChromium.cpp:
31335 (WebCore::StorageEventDispatcher::dispatch):
31336 * src/StorageNamespaceProxy.cpp:
31337 (WebCore::StorageNamespace::localStorageNamespace):
31339 (WebKit::generateEntropy):
31340 (WebKit::initialize):
31341 (WebKit::shutdown):
31342 (WebKit::webKitPlatformSupport):
31343 * src/WebMediaPlayerClientImpl.cpp:
31344 (WebKit::WebMediaPlayerClientImpl::supportsType):
31345 * src/WebPluginContainerImpl.cpp:
31346 (WebKit::WebPluginContainerImpl::copy):
31347 * src/WebViewImpl.cpp:
31348 * src/WebWorkerClientImpl.cpp:
31349 * src/WorkerAsyncFileSystemChromium.cpp:
31350 (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
31351 * src/WorkerFileWriterCallbacksBridge.cpp:
31352 (WebKit::WorkerFileWriterCallbacksBridge::initOnMainThread):
31353 * tests/RunAllTests.cpp:
31355 2011-08-31 Sheriff Bot <webkit.review.bot@gmail.com>
31357 Unreviewed. Rolled DEPS.
31361 2011-08-31 Nat Duca <nduca@chromium.org>
31363 [Chromium] Unreviewed, fix inconsistent WebKit.gypi after r94106
31364 https://bugs.webkit.org/show_bug.cgi?id=67288
31368 2011-08-30 Sheriff Bot <webkit.review.bot@gmail.com>
31370 Unreviewed, rolling out r94142, r94144, r94145, and r94148.
31371 http://trac.webkit.org/changeset/94142
31372 http://trac.webkit.org/changeset/94144
31373 http://trac.webkit.org/changeset/94145
31374 http://trac.webkit.org/changeset/94148
31375 https://bugs.webkit.org/show_bug.cgi?id=67262
31377 Broke isindex element (Requested by rniwa on #webkit).
31379 * src/EditorClientImpl.cpp:
31380 (WebKit::EditorClientImpl::textFieldDidEndEditing):
31381 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
31382 * src/WebInputElement.cpp:
31383 (WebKit::toWebInputElement):
31384 * src/WebPasswordFormUtils.cpp:
31385 (WebKit::findPasswordFormFields):
31387 2011-08-30 Ryosuke Niwa <rniwa@webkit.org>
31389 Chromium build fix after r94142.
31391 * src/EditorClientImpl.cpp:
31392 (WebKit::EditorClientImpl::textFieldDidEndEditing):
31393 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
31394 * src/WebPasswordFormUtils.cpp:
31395 (WebKit::findPasswordFormFields):
31397 2011-08-30 Ryosuke Niwa <rniwa@webkit.org>
31399 Get rid of toInputElement()
31400 https://bugs.webkit.org/show_bug.cgi?id=67175
31402 Reviewed by Darin Adler.
31404 * src/WebInputElement.cpp:
31405 (WebKit::toWebInputElement):
31407 2011-08-30 Nat Duca <nduca@chromium.org>
31409 Unreviewed, fix WebGL layout tests due to missing WebView pointer.
31411 * src/GraphicsContext3DChromium.cpp:
31412 (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
31414 2011-08-30 Aaron Colwell <acolwell@chromium.org>
31416 Add MediaSource API to HTMLMediaElement
31417 https://bugs.webkit.org/show_bug.cgi?id=64731
31419 Reviewed by Eric Carlson.
31421 * public/WebMediaPlayer.h:
31422 (WebKit::WebMediaPlayer::sourceAppend):
31423 (WebKit::WebMediaPlayer::sourceEndOfStream):
31424 * public/WebMediaPlayerClient.h:
31425 * src/WebMediaPlayerClientImpl.cpp:
31426 (WebKit::WebMediaPlayerClientImpl::sourceOpened):
31427 (WebKit::WebMediaPlayerClientImpl::sourceURL):
31428 (WebKit::WebMediaPlayerClientImpl::sourceAppend):
31429 (WebKit::WebMediaPlayerClientImpl::sourceEndOfStream):
31430 * src/WebMediaPlayerClientImpl.h:
31432 2011-08-30 Nat Duca <nduca@chromium.org>
31434 [chromium] Allow GraphicsContexts to be created from MockWebGraphicsContexts
31435 https://bugs.webkit.org/show_bug.cgi?id=67179
31437 Reviewed by Kenneth Russell.
31440 * src/GraphicsContext3DChromium.cpp:
31441 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
31442 (WebCore::GraphicsContext3DInternal::create):
31443 (WebCore::GraphicsContext3DInternal::createFromWebContext):
31444 (WebCore::GraphicsContext3D::create):
31445 * src/GraphicsContext3DInternal.h:
31446 * tests/MockGraphicsContext3DTest.cpp: Renamed from Source/WebKit/chromium/tests/MockWebGraphicsContext3DTest.cpp.
31447 (FrameCountingContext::FrameCountingContext):
31448 (FrameCountingContext::prepareTexture):
31449 (FrameCountingContext::frameCount):
31452 2011-08-30 Adam Barth <abarth@webkit.org>
31454 [Chromium] Add null checks for document()->loader()
31455 https://bugs.webkit.org/show_bug.cgi?id=67077
31457 Reviewed by Nate Chapin.
31459 Document::loader can return 0 for a number of reasons. Call sites need
31460 to null check the result, like we do for Document::frame. I suspect
31461 some of these are real crashes, along the lines of
31462 http://trac.webkit.org/changeset/93692, but null checking this function
31463 is just good practice.
31465 * src/ContextMenuClientImpl.cpp:
31466 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
31467 * src/WebSearchableFormData.cpp:
31468 (HTMLNames::GetFormEncoding):
31469 * src/WebViewImpl.cpp:
31470 (WebKit::WebViewImpl::pageEncoding):
31472 2011-08-29 Darin Fisher <darin@chromium.org>
31474 [chromium] DumpRenderTree should be explicit about its dependency on
31476 https://bugs.webkit.org/show_bug.cgi?id=67169
31478 Reviewed by Ryosuke Niwa.
31480 DumpRenderTree uses GoogleURL code directly, and it should be explicit
31481 about that instead of picking up this dependency transitively, which
31482 only works for the static build.
31484 This is needed to support the "component" build of DumpRenderTree, in
31485 which the various Chromium dependencies are built as separate DLLs.
31489 2011-08-30 Tony Chang <tony@chromium.org>
31491 Fix chromium compile when using clang. Another compile error due
31494 * src/ChromeClientImpl.h:
31495 (WebKit::ChromeClientImpl::scrollRectIntoView):
31497 2011-08-30 Tony Chang <tony@chromium.org>
31499 Roll chromium DEPS to r98771.
31503 2011-08-29 Chris Marrin <cmarrin@apple.com>
31505 Rename GraphicsContext3DInternal to GraphicsContext3DPrivate and add a dummy version of this class for Mac
31506 https://bugs.webkit.org/show_bug.cgi?id=67172
31508 Reviewed by Kenneth Russell.
31511 * src/Extensions3DChromium.cpp:
31512 (WebCore::Extensions3DChromium::Extensions3DChromium):
31513 (WebCore::Extensions3DChromium::supports):
31514 (WebCore::Extensions3DChromium::ensureEnabled):
31515 (WebCore::Extensions3DChromium::isEnabled):
31516 (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
31517 (WebCore::Extensions3DChromium::blitFramebuffer):
31518 (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
31519 (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
31520 (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
31521 (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
31522 (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
31523 (WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
31524 (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
31525 (WebCore::Extensions3DChromium::paintFramebufferToCanvas):
31526 * src/GraphicsContext3DChromium.cpp:
31527 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
31528 (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
31529 (WebCore::GraphicsContext3DPrivate::initialize):
31530 (WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
31531 (WebCore::GraphicsContext3DPrivate::platformGraphicsContext3D):
31532 (WebCore::GraphicsContext3DPrivate::platformTexture):
31533 (WebCore::GraphicsContext3DPrivate::grContext):
31534 (WebCore::GraphicsContext3DPrivate::prepareTexture):
31535 (WebCore::GraphicsContext3DPrivate::platformLayer):
31536 (WebCore::GraphicsContext3DPrivate::markContextChanged):
31537 (WebCore::GraphicsContext3DPrivate::markLayerComposited):
31538 (WebCore::GraphicsContext3DPrivate::layerComposited):
31539 (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
31540 (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
31541 (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
31542 (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
31543 (WebCore::GraphicsContext3DPrivate::paintsIntoCanvasBuffer):
31544 (WebCore::GraphicsContext3DPrivate::reshape):
31545 (WebCore::GraphicsContext3DPrivate::getInternalFramebufferSize):
31546 (WebCore::GraphicsContext3DPrivate::isContextLost):
31547 (WebCore::GraphicsContext3DPrivate::isGLES2Compliant):
31548 (WebCore::GraphicsContext3DPrivate::bindAttribLocation):
31549 (WebCore::GraphicsContext3DPrivate::bufferData):
31550 (WebCore::GraphicsContext3DPrivate::bufferSubData):
31551 (WebCore::GraphicsContext3DPrivate::getActiveAttrib):
31552 (WebCore::GraphicsContext3DPrivate::getActiveUniform):
31553 (WebCore::GraphicsContext3DPrivate::getAttribLocation):
31554 (WebCore::GraphicsContext3DPrivate::getContextAttributes):
31555 (WebCore::GraphicsContext3DPrivate::getProgramInfoLog):
31556 (WebCore::GraphicsContext3DPrivate::getShaderInfoLog):
31557 (WebCore::GraphicsContext3DPrivate::getShaderSource):
31558 (WebCore::GraphicsContext3DPrivate::getString):
31559 (WebCore::GraphicsContext3DPrivate::getUniformLocation):
31560 (WebCore::GraphicsContext3DPrivate::shaderSource):
31561 (WebCore::GraphicsContext3DPrivate::texImage2D):
31562 (WebCore::GraphicsContext3DPrivate::texSubImage2D):
31563 (WebCore::GraphicsContext3DPrivate::uniform1fv):
31564 (WebCore::GraphicsContext3DPrivate::uniform1iv):
31565 (WebCore::GraphicsContext3DPrivate::uniform2fv):
31566 (WebCore::GraphicsContext3DPrivate::uniform2iv):
31567 (WebCore::GraphicsContext3DPrivate::uniform3fv):
31568 (WebCore::GraphicsContext3DPrivate::uniform3iv):
31569 (WebCore::GraphicsContext3DPrivate::uniform4fv):
31570 (WebCore::GraphicsContext3DPrivate::uniform4iv):
31571 (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
31572 (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
31573 (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
31574 (WebCore::GraphicsContext3DPrivate::getExtensions):
31575 (WebCore::GraphicsContext3DPrivate::isResourceSafe):
31576 (WebCore::GraphicsContext3DPrivate::initializeExtensions):
31577 (WebCore::GraphicsContext3DPrivate::supportsExtension):
31578 (WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
31579 (WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
31580 (WebCore::GraphicsContext3D::~GraphicsContext3D):
31581 (WebCore::GraphicsContext3D::create):
31582 (WebCore::GraphicsContext3D::platformGraphicsContext3D):
31583 (WebCore::GraphicsContext3D::platformTexture):
31584 (WebCore::GraphicsContext3D::grContext):
31585 (WebCore::GraphicsContext3D::prepareTexture):
31586 (WebCore::GraphicsContext3D::getInternalFramebufferSize):
31587 (WebCore::GraphicsContext3D::isResourceSafe):
31588 (WebCore::GraphicsContext3D::platformLayer):
31589 (WebCore::GraphicsContext3D::layerComposited):
31590 (WebCore::GraphicsContext3D::paintsIntoCanvasBuffer):
31591 (WebCore::GraphicsContext3DPrivate::setContextLostCallback):
31592 (WebCore::GraphicsContext3D::isGLES2Compliant):
31593 (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
31594 * src/GraphicsContext3DInternal.h: Removed.
31595 * src/GraphicsContext3DPrivate.h: Copied from Source/WebKit/chromium/src/GraphicsContext3DInternal.h.
31596 * src/WebViewImpl.cpp:
31597 (WebKit::WebViewImpl::graphicsContext3D):
31599 2011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com>
31601 The unused ScrollView* argument can and should be removed from
31602 scrollRectIntoView.
31603 https://bugs.webkit.org/show_bug.cgi?id=67117
31605 Reviewed by Darin Adler.
31607 * src/WebPopupMenuImpl.cpp:
31608 (WebKit::WebPopupMenuImpl::scrollRectIntoView):
31609 * src/WebPopupMenuImpl.h:
31611 2011-08-29 Greg Billock <gbillock@google.com>
31613 [Chromium] Add ability to do static SerializedScriptValue deserialization
31614 https://bugs.webkit.org/show_bug.cgi?id=66877
31616 Reviewed by Darin Fisher.
31618 * public/WebSerializedScriptValue.h:
31619 * src/WebSerializedScriptValue.cpp:
31620 (WebKit::WebSerializedScriptValue::deserialize):
31621 (WebKit::WebSerializedScriptValue::serialize):
31623 2011-08-27 Peter Beverloo <peter@chromium.org>
31625 Teach the update and build scripts how to handle dependencies
31626 and cross-compiling rules for the Chromium port on OS(ANDROID).
31627 https://bugs.webkit.org/show_bug.cgi?id=66687
31629 Reviewed by Adam Barth.
31633 2011-08-26 Iain Merrick <husky@google.com>
31635 [chromium] Add MockWebGraphicsContext3D, for compositor unit testing
31636 https://bugs.webkit.org/show_bug.cgi?id=67006
31638 MockWebGraphicsContext3D is a no-op implementation of the pure virtual
31639 interface WebGraphicsContext3D. I've included a test with a couple of
31640 example usages: subclassing it manually, and using it with GMock.
31642 Reviewed by Kenneth Russell.
31645 * tests/MockWebGraphicsContext3D.h: Added.
31646 (WebKit::MockWebGraphicsContext3D::initialize):
31647 (WebKit::MockWebGraphicsContext3D::makeContextCurrent):
31648 (WebKit::MockWebGraphicsContext3D::width):
31649 (WebKit::MockWebGraphicsContext3D::height):
31650 (WebKit::MockWebGraphicsContext3D::reshape):
31651 (WebKit::MockWebGraphicsContext3D::isGLES2Compliant):
31652 (WebKit::MockWebGraphicsContext3D::readBackFramebuffer):
31653 (WebKit::MockWebGraphicsContext3D::getPlatformTextureId):
31654 (WebKit::MockWebGraphicsContext3D::prepareTexture):
31655 (WebKit::MockWebGraphicsContext3D::synthesizeGLError):
31656 (WebKit::MockWebGraphicsContext3D::isContextLost):
31657 (WebKit::MockWebGraphicsContext3D::mapBufferSubDataCHROMIUM):
31658 (WebKit::MockWebGraphicsContext3D::unmapBufferSubDataCHROMIUM):
31659 (WebKit::MockWebGraphicsContext3D::mapTexSubImage2DCHROMIUM):
31660 (WebKit::MockWebGraphicsContext3D::unmapTexSubImage2DCHROMIUM):
31661 (WebKit::MockWebGraphicsContext3D::getRequestableExtensionsCHROMIUM):
31662 (WebKit::MockWebGraphicsContext3D::requestExtensionCHROMIUM):
31663 (WebKit::MockWebGraphicsContext3D::blitFramebufferCHROMIUM):
31664 (WebKit::MockWebGraphicsContext3D::renderbufferStorageMultisampleCHROMIUM):
31665 (WebKit::MockWebGraphicsContext3D::activeTexture):
31666 (WebKit::MockWebGraphicsContext3D::attachShader):
31667 (WebKit::MockWebGraphicsContext3D::bindAttribLocation):
31668 (WebKit::MockWebGraphicsContext3D::bindBuffer):
31669 (WebKit::MockWebGraphicsContext3D::bindFramebuffer):
31670 (WebKit::MockWebGraphicsContext3D::bindRenderbuffer):
31671 (WebKit::MockWebGraphicsContext3D::bindTexture):
31672 (WebKit::MockWebGraphicsContext3D::blendColor):
31673 (WebKit::MockWebGraphicsContext3D::blendEquation):
31674 (WebKit::MockWebGraphicsContext3D::blendEquationSeparate):
31675 (WebKit::MockWebGraphicsContext3D::blendFunc):
31676 (WebKit::MockWebGraphicsContext3D::blendFuncSeparate):
31677 (WebKit::MockWebGraphicsContext3D::bufferData):
31678 (WebKit::MockWebGraphicsContext3D::bufferSubData):
31679 (WebKit::MockWebGraphicsContext3D::checkFramebufferStatus):
31680 (WebKit::MockWebGraphicsContext3D::clear):
31681 (WebKit::MockWebGraphicsContext3D::clearColor):
31682 (WebKit::MockWebGraphicsContext3D::clearDepth):
31683 (WebKit::MockWebGraphicsContext3D::clearStencil):
31684 (WebKit::MockWebGraphicsContext3D::colorMask):
31685 (WebKit::MockWebGraphicsContext3D::compileShader):
31686 (WebKit::MockWebGraphicsContext3D::copyTexImage2D):
31687 (WebKit::MockWebGraphicsContext3D::copyTexSubImage2D):
31688 (WebKit::MockWebGraphicsContext3D::cullFace):
31689 (WebKit::MockWebGraphicsContext3D::depthFunc):
31690 (WebKit::MockWebGraphicsContext3D::depthMask):
31691 (WebKit::MockWebGraphicsContext3D::depthRange):
31692 (WebKit::MockWebGraphicsContext3D::detachShader):
31693 (WebKit::MockWebGraphicsContext3D::disable):
31694 (WebKit::MockWebGraphicsContext3D::disableVertexAttribArray):
31695 (WebKit::MockWebGraphicsContext3D::drawArrays):
31696 (WebKit::MockWebGraphicsContext3D::drawElements):
31697 (WebKit::MockWebGraphicsContext3D::enable):
31698 (WebKit::MockWebGraphicsContext3D::enableVertexAttribArray):
31699 (WebKit::MockWebGraphicsContext3D::finish):
31700 (WebKit::MockWebGraphicsContext3D::flush):
31701 (WebKit::MockWebGraphicsContext3D::framebufferRenderbuffer):
31702 (WebKit::MockWebGraphicsContext3D::framebufferTexture2D):
31703 (WebKit::MockWebGraphicsContext3D::frontFace):
31704 (WebKit::MockWebGraphicsContext3D::generateMipmap):
31705 (WebKit::MockWebGraphicsContext3D::getActiveAttrib):
31706 (WebKit::MockWebGraphicsContext3D::getActiveUniform):
31707 (WebKit::MockWebGraphicsContext3D::getAttachedShaders):
31708 (WebKit::MockWebGraphicsContext3D::getAttribLocation):
31709 (WebKit::MockWebGraphicsContext3D::getBooleanv):
31710 (WebKit::MockWebGraphicsContext3D::getBufferParameteriv):
31711 (WebKit::MockWebGraphicsContext3D::getContextAttributes):
31712 (WebKit::MockWebGraphicsContext3D::getError):
31713 (WebKit::MockWebGraphicsContext3D::getFloatv):
31714 (WebKit::MockWebGraphicsContext3D::getFramebufferAttachmentParameteriv):
31715 (WebKit::MockWebGraphicsContext3D::getIntegerv):
31716 (WebKit::MockWebGraphicsContext3D::getProgramiv):
31717 (WebKit::MockWebGraphicsContext3D::getProgramInfoLog):
31718 (WebKit::MockWebGraphicsContext3D::getRenderbufferParameteriv):
31719 (WebKit::MockWebGraphicsContext3D::getShaderiv):
31720 (WebKit::MockWebGraphicsContext3D::getShaderInfoLog):
31721 (WebKit::MockWebGraphicsContext3D::getShaderSource):
31722 (WebKit::MockWebGraphicsContext3D::getString):
31723 (WebKit::MockWebGraphicsContext3D::getTexParameterfv):
31724 (WebKit::MockWebGraphicsContext3D::getTexParameteriv):
31725 (WebKit::MockWebGraphicsContext3D::getUniformfv):
31726 (WebKit::MockWebGraphicsContext3D::getUniformiv):
31727 (WebKit::MockWebGraphicsContext3D::getUniformLocation):
31728 (WebKit::MockWebGraphicsContext3D::getVertexAttribfv):
31729 (WebKit::MockWebGraphicsContext3D::getVertexAttribiv):
31730 (WebKit::MockWebGraphicsContext3D::getVertexAttribOffset):
31731 (WebKit::MockWebGraphicsContext3D::hint):
31732 (WebKit::MockWebGraphicsContext3D::isBuffer):
31733 (WebKit::MockWebGraphicsContext3D::isEnabled):
31734 (WebKit::MockWebGraphicsContext3D::isFramebuffer):
31735 (WebKit::MockWebGraphicsContext3D::isProgram):
31736 (WebKit::MockWebGraphicsContext3D::isRenderbuffer):
31737 (WebKit::MockWebGraphicsContext3D::isShader):
31738 (WebKit::MockWebGraphicsContext3D::isTexture):
31739 (WebKit::MockWebGraphicsContext3D::lineWidth):
31740 (WebKit::MockWebGraphicsContext3D::linkProgram):
31741 (WebKit::MockWebGraphicsContext3D::pixelStorei):
31742 (WebKit::MockWebGraphicsContext3D::polygonOffset):
31743 (WebKit::MockWebGraphicsContext3D::readPixels):
31744 (WebKit::MockWebGraphicsContext3D::releaseShaderCompiler):
31745 (WebKit::MockWebGraphicsContext3D::renderbufferStorage):
31746 (WebKit::MockWebGraphicsContext3D::sampleCoverage):
31747 (WebKit::MockWebGraphicsContext3D::scissor):
31748 (WebKit::MockWebGraphicsContext3D::shaderSource):
31749 (WebKit::MockWebGraphicsContext3D::stencilFunc):
31750 (WebKit::MockWebGraphicsContext3D::stencilFuncSeparate):
31751 (WebKit::MockWebGraphicsContext3D::stencilMask):
31752 (WebKit::MockWebGraphicsContext3D::stencilMaskSeparate):
31753 (WebKit::MockWebGraphicsContext3D::stencilOp):
31754 (WebKit::MockWebGraphicsContext3D::stencilOpSeparate):
31755 (WebKit::MockWebGraphicsContext3D::texImage2D):
31756 (WebKit::MockWebGraphicsContext3D::texParameterf):
31757 (WebKit::MockWebGraphicsContext3D::texParameteri):
31758 (WebKit::MockWebGraphicsContext3D::texSubImage2D):
31759 (WebKit::MockWebGraphicsContext3D::uniform1f):
31760 (WebKit::MockWebGraphicsContext3D::uniform1fv):
31761 (WebKit::MockWebGraphicsContext3D::uniform1i):
31762 (WebKit::MockWebGraphicsContext3D::uniform1iv):
31763 (WebKit::MockWebGraphicsContext3D::uniform2f):
31764 (WebKit::MockWebGraphicsContext3D::uniform2fv):
31765 (WebKit::MockWebGraphicsContext3D::uniform2i):
31766 (WebKit::MockWebGraphicsContext3D::uniform2iv):
31767 (WebKit::MockWebGraphicsContext3D::uniform3f):
31768 (WebKit::MockWebGraphicsContext3D::uniform3fv):
31769 (WebKit::MockWebGraphicsContext3D::uniform3i):
31770 (WebKit::MockWebGraphicsContext3D::uniform3iv):
31771 (WebKit::MockWebGraphicsContext3D::uniform4f):
31772 (WebKit::MockWebGraphicsContext3D::uniform4fv):
31773 (WebKit::MockWebGraphicsContext3D::uniform4i):
31774 (WebKit::MockWebGraphicsContext3D::uniform4iv):
31775 (WebKit::MockWebGraphicsContext3D::uniformMatrix2fv):
31776 (WebKit::MockWebGraphicsContext3D::uniformMatrix3fv):
31777 (WebKit::MockWebGraphicsContext3D::uniformMatrix4fv):
31778 (WebKit::MockWebGraphicsContext3D::useProgram):
31779 (WebKit::MockWebGraphicsContext3D::validateProgram):
31780 (WebKit::MockWebGraphicsContext3D::vertexAttrib1f):
31781 (WebKit::MockWebGraphicsContext3D::vertexAttrib1fv):
31782 (WebKit::MockWebGraphicsContext3D::vertexAttrib2f):
31783 (WebKit::MockWebGraphicsContext3D::vertexAttrib2fv):
31784 (WebKit::MockWebGraphicsContext3D::vertexAttrib3f):
31785 (WebKit::MockWebGraphicsContext3D::vertexAttrib3fv):
31786 (WebKit::MockWebGraphicsContext3D::vertexAttrib4f):
31787 (WebKit::MockWebGraphicsContext3D::vertexAttrib4fv):
31788 (WebKit::MockWebGraphicsContext3D::vertexAttribPointer):
31789 (WebKit::MockWebGraphicsContext3D::viewport):
31790 (WebKit::MockWebGraphicsContext3D::createBuffer):
31791 (WebKit::MockWebGraphicsContext3D::createFramebuffer):
31792 (WebKit::MockWebGraphicsContext3D::createProgram):
31793 (WebKit::MockWebGraphicsContext3D::createRenderbuffer):
31794 (WebKit::MockWebGraphicsContext3D::createShader):
31795 (WebKit::MockWebGraphicsContext3D::createTexture):
31796 (WebKit::MockWebGraphicsContext3D::deleteBuffer):
31797 (WebKit::MockWebGraphicsContext3D::deleteFramebuffer):
31798 (WebKit::MockWebGraphicsContext3D::deleteProgram):
31799 (WebKit::MockWebGraphicsContext3D::deleteRenderbuffer):
31800 (WebKit::MockWebGraphicsContext3D::deleteShader):
31801 (WebKit::MockWebGraphicsContext3D::deleteTexture):
31802 * tests/MockWebGraphicsContext3DTest.cpp: Added.
31804 (FrameCountingContext::FrameCountingContext):
31805 (FrameCountingContext::prepareTexture):
31806 (FrameCountingContext::frameCount):
31808 2011-08-26 Nate Chapin <japhet@chromium.org>
31810 Use enums instead of bools for ThreadableLoaderOptions
31812 https://bugs.webkit.org/show_bug.cgi?id=66984
31814 Reviewed by David Levin.
31816 * src/AssociatedURLLoader.cpp:
31817 (WebKit::AssociatedURLLoader::loadAsynchronously):
31819 2011-08-25 Jeremy Apthorp <jeremya@google.com>
31821 Enable fullscreen API in Chromium by default.
31822 https://bugs.webkit.org/show_bug.cgi?id=66993
31824 Reviewed by Adam Barth.
31828 2011-08-25 Scott Graham <scottmg@chromium.org>
31830 Enable incremental linking for component build on Chromium
31831 https://bugs.webkit.org/show_bug.cgi?id=66950
31833 Reviewed by Darin Fisher.
31835 Turns on Use Library Dependency Inputs for webkit.vcproj on Windows
31836 build, when incremental_chrome_dll gyp flag is set. This is to get
31837 faster incremental links on Windows builds.
31841 2011-08-25 Pavel Podivilov <podivilov@chromium.org>
31843 Unreviewed, fix chromium devtools tests.
31846 (.TestSuite.prototype.evaluateInConsole_):
31848 2011-08-25 John Bates <jbates@google.com>
31850 [chromium] Leaking SkBitmaps for background images
31851 https://bugs.webkit.org/show_bug.cgi?id=66488
31853 Reviewed by Stephen White.
31855 This patch simply changes NativeImageSkia to have a SkBitmap instead of
31856 deriving from SkBitmap. All dependent code updated to access the member
31857 instead of calling SkBitmap methods on NativeImageSkia objects. This
31858 may or may not fix the memory leak, but it's definitely a bug that could
31859 cause memory leaks.
31861 * src/PlatformBridge.cpp:
31862 (WebCore::PlatformBridge::clipboardWriteImage):
31863 * src/WebImageDecoder.cpp:
31864 (WebKit::WebImageDecoder::getFrameAtIndex):
31865 * src/WebImageSkia.cpp:
31866 (WebKit::WebImage::fromData):
31867 (WebKit::WebImage::operator=):
31869 2011-08-25 Brian Salomon <bsalomon@google.com>
31871 [SKIA] Move forward decl of skia type outside namespace Webkit
31872 https://bugs.webkit.org/show_bug.cgi?id=66942
31874 Reviewed by Stephen White.
31876 * public/WebGraphicsContext3D.h:
31878 2011-08-25 Mikhail Naganov <mnaganov@chromium.org>
31880 Chromium: expose MemoryCache::prune and FontCache::purgeInactiveFontData.
31881 https://bugs.webkit.org/show_bug.cgi?id=66132
31883 Reviewed by Tony Gentilcore.
31885 * public/WebCache.h:
31886 * public/WebFontCache.h:
31887 * src/WebCache.cpp:
31888 (WebKit::WebCache::clear):
31889 (WebKit::WebCache::prune):
31890 * src/WebFontCache.cpp:
31891 (WebKit::WebFontCache::prune):
31893 2011-08-24 Kentaro Hara <haraken@google.com>
31895 Implement a keypath parser strictly following the specification
31896 https://bugs.webkit.org/show_bug.cgi?id=62288
31898 Reviewed by Tony Chang.
31900 Implemented a keypath parser that accepts either an empty string, a JavaScript
31901 identifier, or multiple JavaScript identifiers separated by periods.
31902 We fixed createObjectStore() and createIndex() so that they parse and check
31903 their |keypath| argument and return an appropriate exception if the |keypath|
31904 is not valid. We also added unit tests for the new keypath parser in
31905 tests/IDBKeyPathTest.cpp. We replaced IDBKeyPathElement with String here and there.
31907 Tests: IDBKeyPathTest.*
31908 IDBKeyFromValueAndKeyPathTest.*
31911 * public/WebIDBKeyPath.h:
31912 * src/WebIDBKeyPath.cpp:
31913 (WebKit::WebIDBKeyPath::create): Replaced IDBKeyPathElement with String
31914 (WebKit::WebIDBKeyPath::WebIDBKeyPath): Replaced IDBKeyPathElement with String
31915 (WebKit::WebIDBKeyPath::assign): Replaced IDBKeyPathElement with String
31916 (WebKit::WebIDBKeyPath::operator const WTF::Vector<WTF::String, 0>&): Replaced IDBKeyPathElement with String
31917 * tests/IDBBindingUtilitiesTest.cpp:
31918 (WebCore::checkKeyFromValueAndKeyPathInternal): Replaced IDBKeyPathElement with String
31919 (WebCore::injectKey): Replaced IDBKeyPathElement with String
31920 (WebCore::TEST): Rewrote tests for the new keypath parser
31921 * tests/IDBKeyPathTest.cpp:
31922 (WebCore::checkKeyPath): Checks if a keypath is an expected keypath or not
31923 (WebCore::TEST): Unit tests for the new keypath parser
31925 2011-08-24 Eric Uhrhane <ericu@chromium.org>
31927 Reviewed by Adam Barth.
31929 [filesystem/Chromium] Filesystem paths need proper URL escaping
31930 https://bugs.webkit.org/show_bug.cgi?id=62811
31932 Fix http://code.google.com/p/chromium/issues/detail?id=78860 by making
31933 KURLChromium.cpp's escaping code actually work.
31935 Here I added the needed calls to encodeWithURLEscapeSequences.
31936 * src/AsyncFileSystemChromium.cpp:
31937 (WebCore::AsyncFileSystemChromium::virtualPathToFileSystemURL):
31938 * src/WorkerAsyncFileSystemChromium.cpp:
31939 (WebCore::WorkerAsyncFileSystemChromium::virtualPathToFileSystemURL):
31941 Here I updated the test to reflect the new functionality in
31942 encodeWithURLEscapeSequences.
31943 * tests/KURLTest.cpp:
31945 2011-08-24 Ilya Sherman <isherman@chromium.org>
31947 Remove some dead Autofill code
31948 https://bugs.webkit.org/show_bug.cgi?id=66899
31949 http://code.google.com/p/chromium/issues/detail?id=51644
31951 Reviewed by James Robinson.
31954 * public/WebAutofillClient.h:
31955 * public/WebFrame.h:
31956 * public/WebPasswordAutocompleteListener.h: Removed.
31957 * src/EditorClientImpl.cpp:
31958 (WebKit::EditorClientImpl::EditorClientImpl):
31959 (WebKit::EditorClientImpl::handleKeyboardEvent):
31960 (WebKit::EditorClientImpl::textFieldDidBeginEditing):
31961 (WebKit::EditorClientImpl::textFieldDidEndEditing):
31962 (WebKit::EditorClientImpl::textDidChangeInTextField):
31963 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
31964 * src/EditorClientImpl.h:
31965 * src/FrameLoaderClientImpl.cpp:
31966 (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad):
31967 * src/WebFrameImpl.cpp:
31968 (WebKit::frameContentAsPlainText):
31969 (WebKit::WebFrameImpl::scopeStringMatches):
31970 (WebKit::WebFrameImpl::~WebFrameImpl):
31971 * src/WebFrameImpl.h:
31972 * src/WebViewImpl.cpp:
31973 (WebKit::WebViewImpl::mouseDown):
31975 2011-08-24 Tom Sepez <tsepez@chromium.org>
31977 chromium WebFrameImpl - don't load javascript URLs against chrome internal pages.
31978 https://bugs.webkit.org/show_bug.cgi?id=66720
31980 Reviewed by Adam Barth.
31982 * public/WebSecurityPolicy.h:
31983 * src/WebFrameImpl.cpp:
31984 (WebKit::WebFrameImpl::loadJavaScriptURL):
31985 * src/WebSecurityPolicy.cpp:
31986 (WebKit::WebSecurityPolicy::registerURLSchemeAsNotAllowingJavascriptURLs):
31987 * tests/WebFrameTest.cpp:
31988 (WebKit::WebFrameTest::WebFrameTest):
31989 (WebKit::WebFrameTest::registerMockedHttpURLLoad):
31990 (WebKit::WebFrameTest::registerMockedChromeURLLoad):
31991 (WebKit::WebFrameTest::serveRequests):
31992 (WebKit::WebFrameTest::loadHttpFrame):
31993 (WebKit::WebFrameTest::loadChromeFrame):
31994 (WebKit::WebFrameTest::registerMockedURLLoad):
31995 (WebKit::WebFrameTest::loadFrame):
31997 * tests/data/history.html: Added.
31999 2011-08-24 Jeremy Apthorp <jeremya@google.com>
32001 Expose fullscreen API on WebElement/WebDocument
32002 https://bugs.webkit.org/show_bug.cgi?id=66746
32004 Reviewed by Darin Fisher.
32006 * public/WebPluginContainer.h:
32007 * src/WebPluginContainerImpl.cpp:
32008 (WebKit::WebPluginContainerImpl::setFullscreen):
32009 * src/WebPluginContainerImpl.h:
32011 2011-08-24 Brian Salomon <bsalomon@google.com>
32013 [SKIA] Allow WebKitGraphicsContext3D implementation to provide a compatible GrGLInterface
32014 https://bugs.webkit.org/show_bug.cgi?id=66809
32016 Reviewed by Stephen White.
32018 * public/WebGraphicsContext3D.h:
32019 (WebKit::WebGraphicsContext3D::grGLInterface):
32020 * src/GraphicsContext3DChromium.cpp:
32021 (WebCore::GraphicsContext3DInternal::grContext):
32023 2011-08-23 Adam Barth <abarth@webkit.org>
32025 WebSearchableFormData crashes when given a detached HTMLFormElement
32026 https://bugs.webkit.org/show_bug.cgi?id=66831
32028 Reviewed by Dimitri Glazkov.
32030 We need to null-check the Frame.
32032 * src/WebSearchableFormData.cpp:
32033 (HTMLNames::GetFormEncoding):
32034 * tests/WebFrameTest.cpp:
32036 * tests/data/form.html: Added.
32038 2011-08-23 Iain Merrick <husky@google.com>
32040 [chromium] Make WebGL context current before querying for extensions
32041 https://bugs.webkit.org/show_bug.cgi?id=66788
32043 We're making changes on the Chromium side for threaded compositing that
32044 will require makeContextCurrent to be called on the appropriate thread
32045 before any other GL calls.
32047 In line with other GraphicsContext3D implementations, we do this
32048 implicitly. This is the minimum change that makes WebGL compliant.
32050 Reviewed by Kenneth Russell.
32052 * src/GraphicsContext3DChromium.cpp:
32053 (WebCore::GraphicsContext3DInternal::initializeExtensions):
32055 2011-08-23 Scott Byer <scottbyer@chromium.org>
32057 ScrollAnimatorNone coasting implementation
32058 https://bugs.webkit.org/show_bug.cgi?id=66258
32060 Reviewed by James Robinson.
32062 * tests/ScrollAnimatorNoneTest.cpp:
32063 (MockScrollableArea::visibleHeight):
32064 (MockScrollableArea::visibleWidth):
32065 (ScrollAnimatorNoneTest::SavePerAxisData::SavePerAxisData):
32066 (ScrollAnimatorNoneTest::SavePerAxisData::operator==):
32067 (ScrollAnimatorNoneTest::SetUp):
32068 (ScrollAnimatorNoneTest::updateDataFromParameters):
32069 (ScrollAnimatorNoneTest::animateScroll):
32070 (ScrollAnimatorNoneTest::attackArea):
32071 (ScrollAnimatorNoneTest::releaseArea):
32072 (ScrollAnimatorNoneTest::coastCurve):
32073 (ScrollAnimatorNoneTest::curveTestInner):
32076 2011-08-23 James Robinson <jamesr@chromium.org>
32078 [chromium] Need a way to test lost compositor context recovery
32079 https://bugs.webkit.org/show_bug.cgi?id=66820
32081 Reviewed by Kenneth Russell.
32083 Adds a testing-only API to simulate a lost compositor context.
32085 * public/WebView.h:
32086 * src/WebViewImpl.cpp:
32087 (WebKit::WebViewImpl::loseCompositorContext):
32088 * src/WebViewImpl.h:
32090 2011-08-23 Nat Duca <nduca@chromium.org>
32092 [chromium] Implement CCThread in terms of WebThread
32093 https://bugs.webkit.org/show_bug.cgi?id=66610
32095 Reviewed by Darin Fisher.
32098 * public/WebThread.h:
32099 (WebKit::WebThread::~WebThread):
32100 * src/CCThreadImpl.cpp: Added.
32101 (WebKit::GetThreadIDTask::GetThreadIDTask):
32102 (WebKit::GetThreadIDTask::~GetThreadIDTask):
32103 (WebKit::GetThreadIDTask::run):
32104 (WebKit::CCThreadTaskAdapter::CCThreadTaskAdapter):
32105 (WebKit::CCThreadTaskAdapter::~CCThreadTaskAdapter):
32106 (WebKit::CCThreadTaskAdapter::run):
32107 (WebKit::CCThreadImpl::create):
32108 (WebKit::CCThreadImpl::~CCThreadImpl):
32109 (WebKit::CCThreadImpl::postTask):
32110 (WebKit::CCThreadImpl::threadID):
32111 (WebKit::CCThreadImpl::CCThreadImpl):
32112 * src/CCThreadImpl.h: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCThread.cpp.
32113 * src/WebViewImpl.cpp:
32114 (WebKit::WebViewImpl::createCompositorThread):
32115 * src/WebViewImpl.h:
32116 * tests/CCThreadTest.cpp:
32118 2011-08-23 Iain Merrick <husky@google.com>
32120 [chromium] Renderer crashes when about:gpucrash is loaded
32121 https://bugs.webkit.org/show_bug.cgi?id=66814
32123 WebViewImpl::didRecreateGraphicsContext() was calling
32124 setRootLayer() on the CC layer tree, but the root layer
32125 doesn't actually change and the code wasn't defensive
32126 against this. This CL adds some asserts to catch tree
32127 corruption and removes the unnecessary calls.
32129 Reviewed by James Robinson.
32131 * src/WebViewImpl.cpp:
32132 (WebKit::WebViewImpl::didRecreateGraphicsContext):
32134 2011-08-23 Dmitry Lomov <Dmitry Lomov (dslomov@google.com)>
32136 https://bugs.webkit.org/show_bug.cgi?id=66751
32137 [Chromium]WebWorkerClientImpl should always invoke
32138 InspectorIntrumentation on main thread.
32139 The fix moves calls to InspectorInstrumentation from
32140 WebWorkerClientImpl to unedrlying WorkerMessagingProxy.
32142 Reviewed by Pavel Feldman.
32144 * src/WebWorkerClientImpl.cpp:
32145 (WebKit::WebWorkerClientImpl::terminateWorkerContext):
32146 (WebKit::WebWorkerClientImpl::workerContextDestroyed):
32148 2011-08-23 Adam Klein <adamk@chromium.org>
32150 [chromium] Remove a few FIXME #defines in API headers
32151 https://bugs.webkit.org/show_bug.cgi?id=66791
32153 Reviewed by James Robinson.
32156 Roll chromium_rev to r97891.
32157 * public/WebFileSystem.h:
32158 #define made obsolete in http://crrev.com/97520.
32159 * public/WebKitClient.h:
32160 #define made obsolete in http://crrev.com/97524 and
32161 http://crrev.com/97891.
32164 2011-08-23 Al Patrick <apatrick@chromium.org>
32166 Add shareResources flag to 3D graphics context attributes
32167 https://bugs.webkit.org/show_bug.cgi?id=66516
32169 Reviewed by James Robinson.
32171 * public/WebGraphicsContext3D.h:
32172 (WebKit::WebGraphicsContext3D::Attributes::Attributes):
32173 * src/GraphicsContext3DChromium.cpp:
32174 (WebCore::GraphicsContext3DInternal::initialize):
32175 * src/WebViewImpl.cpp:
32176 (std::getCompositorContextAttributes):
32178 2011-08-23 Fady Samuel <fsamuel@chromium.org>
32180 New MainFrame views should inherit fixed layout settings from existing MainFrame view in Chromium.
32181 https://bugs.webkit.org/show_bug.cgi?id=66780
32183 Fixed layout mode is set from WebViewImpl, but new main FrameViews are created on loading new pages. The new page's FrameView should get its
32184 fixed layout settings from the current page.
32186 Reviewed by Darin Fisher.
32188 * src/WebFrameImpl.cpp:
32189 (WebKit::WebFrameImpl::createFrameView):
32191 2011-08-23 Matt Falkenhagen <falken@chromium.org>
32193 [chromium] Update WebSettings to support per-script font settings
32194 https://bugs.webkit.org/show_bug.cgi?id=66220
32196 Reviewed by Tony Chang.
32199 * public/WebSettings.h:
32200 * src/WebSettingsImpl.cpp:
32201 (WebKit::WebSettingsImpl::setStandardFontFamily):
32202 (WebKit::WebSettingsImpl::setFixedFontFamily):
32203 (WebKit::WebSettingsImpl::setSerifFontFamily):
32204 (WebKit::WebSettingsImpl::setSansSerifFontFamily):
32205 (WebKit::WebSettingsImpl::setCursiveFontFamily):
32206 (WebKit::WebSettingsImpl::setFantasyFontFamily):
32207 * src/WebSettingsImpl.h:
32209 2011-08-23 Nat Duca <nduca@chromium.org>
32211 Unreviewd, roll chromium reverse DEPS 97698:97834
32212 https://bugs.webkit.org/show_bug.cgi?id=66781
32216 2011-08-22 Sheriff Bot <webkit.review.bot@gmail.com>
32218 Unreviewed, rolling out r93575.
32219 http://trac.webkit.org/changeset/93575
32220 https://bugs.webkit.org/show_bug.cgi?id=66744
32222 Does not compile on chromium canaries (Requested by jamesr on
32225 * public/WebSettings.h:
32226 * src/WebSettingsImpl.cpp:
32227 (WebKit::WebSettingsImpl::setStandardFontFamily):
32228 (WebKit::WebSettingsImpl::setFixedFontFamily):
32229 (WebKit::WebSettingsImpl::setSerifFontFamily):
32230 (WebKit::WebSettingsImpl::setSansSerifFontFamily):
32231 (WebKit::WebSettingsImpl::setCursiveFontFamily):
32232 (WebKit::WebSettingsImpl::setFantasyFontFamily):
32233 * src/WebSettingsImpl.h:
32235 2011-08-22 Matt Falkenhagen <falken@chromium.org>
32237 [chromium] Update WebSettings to support per-script font settings
32238 https://bugs.webkit.org/show_bug.cgi?id=66220
32240 Reviewed by Tony Chang.
32242 * public/WebSettings.h:
32243 * src/WebSettingsImpl.cpp:
32244 (WebKit::WebSettingsImpl::setStandardFontFamily):
32245 (WebKit::WebSettingsImpl::setFixedFontFamily):
32246 (WebKit::WebSettingsImpl::setSerifFontFamily):
32247 (WebKit::WebSettingsImpl::setSansSerifFontFamily):
32248 (WebKit::WebSettingsImpl::setCursiveFontFamily):
32249 (WebKit::WebSettingsImpl::setFantasyFontFamily):
32250 * src/WebSettingsImpl.h:
32252 2011-08-22 Iain Merrick <husky@google.com>
32254 [chromium] WebViewImpl should not reshape the 3D context
32255 https://bugs.webkit.org/show_bug.cgi?id=66704
32257 Reviewed by James Robinson.
32259 * src/WebViewImpl.cpp:
32260 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
32261 (WebKit::WebViewImpl::graphicsContext3D):
32263 2011-08-22 Nat Duca <nduca@chromium.org>
32265 Make GraphicsContext3D::isResourceSafe a function and, on Chromium, determine its value lazily
32266 https://bugs.webkit.org/show_bug.cgi?id=66708
32268 Reviewed by Kenneth Russell.
32270 * src/GraphicsContext3DChromium.cpp:
32271 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
32272 (WebCore::GraphicsContext3DInternal::isResourceSafe):
32273 (WebCore::GraphicsContext3D::create):
32274 (WebCore::GraphicsContext3D::isResourceSafe):
32275 * src/GraphicsContext3DInternal.h:
32277 2011-08-22 Adam Klein <adamk@chromium.org>
32279 [chromium] Remove deprecated and unused bits of WebIDB* headers
32280 https://bugs.webkit.org/show_bug.cgi?id=66711
32282 Reviewed by Tony Chang.
32284 The Chromium side of this patch was submitted as
32285 http://crrev.com/97687.
32287 * public/WebIDBCallbacks.h:
32288 * public/WebIDBCursor.h:
32289 (WebKit::WebIDBCursor::primaryKey):
32290 (WebKit::WebIDBCursor::value):
32291 (WebKit::WebIDBCursor::deleteFunction):
32292 * public/WebIDBDatabase.h:
32293 (WebKit::WebIDBDatabase::transaction):
32295 2011-08-22 Dimitri Glazkov <dglazkov@chromium.org>
32297 Remove third_party/leveldb, because it's no longer used and doesn't exist downstream.
32301 2011-08-22 Dimitri Glazkov <dglazkov@chromium.org>
32303 Roll Chromium DEPS to 97698.
32307 2011-08-22 Justin Novosad <junov@chromium.org>
32309 [Chromium] Crash when allocation of very large canvas fails
32310 https://bugs.webkit.org/show_bug.cgi?id=66563
32312 Reviewed by Stephen White.
32315 Bumping up the chrome DEPS to pick up 97474, which is
32316 required by this patch.
32318 2011-08-20 Nebojsa Ciric <cira@chromium.org>
32320 Add dependency on v8-i18n library. We used v8 repository before.
32321 Chromium DEPS change was already submited (http://codereview.chromium.org/7583050).
32322 https://bugs.webkit.org/show_bug.cgi?id=66573
32324 Reviewed by Kent Tamura.
32328 2011-08-19 Adam Klein <adamk@chromium.org>
32330 [chromium] Remove various unreferenced bits from Chromium API headers
32331 https://bugs.webkit.org/show_bug.cgi?id=66575
32333 Reviewed by Tony Chang.
32335 * public/WebApplicationCacheHost.h:
32336 (WebKit::WebApplicationCacheHost::willStartMainResourceRequest):
32337 * public/WebFrame.h:
32338 * public/WebFrameClient.h:
32339 (WebKit::WebFrameClient::didReceiveTitle):
32340 * public/WebVideoFrame.h:
32342 2011-08-19 Fady Samuel <fsamuel@chromium.org>
32344 Expose Fixed Layout Size mode to Chromium's WebKit API
32345 https://bugs.webkit.org/show_bug.cgi?id=66568
32347 Reviewed by Darin Fisher.
32349 * public/WebView.h:
32350 * src/WebViewImpl.cpp:
32351 (WebKit::WebViewImpl::isFixedLayoutModeEnabled):
32352 (WebKit::WebViewImpl::enableFixedLayoutMode):
32353 (WebKit::WebViewImpl::fixedLayoutSize):
32354 (WebKit::WebViewImpl::setFixedLayoutSize):
32355 * src/WebViewImpl.h:
32357 2011-08-17 Adrienne Walker <enne@google.com>
32359 [chromium] Split tiler into main thread / compositor thread versions
32360 https://bugs.webkit.org/show_bug.cgi?id=66065
32362 Reviewed by James Robinson.
32364 Add a test for assignment and copy constructor for TilingData.
32366 * tests/TilingDataTest.cpp:
32369 2011-08-19 Andrey Kosyakov <caseq@chromium.org>
32371 Web Inspector: [Extensions API][chromium] webInspector.resources deprecation warning is given even for extensions that don't use webInspector.resources
32372 https://bugs.webkit.org/show_bug.cgi?id=66553
32374 Reviewed by Pavel Feldman.
32376 * src/js/DevTools.js:
32377 (WebInspector.platformExtensionAPI):
32379 2011-08-18 James Kozianski <koz@chromium.org>
32381 Chromium plumbing for webkitRequestFullScreen
32382 https://bugs.webkit.org/show_bug.cgi?id=66031
32384 Reviewed by Darin Fisher.
32386 * public/WebView.h:
32387 * public/WebViewClient.h:
32388 (WebKit::WebViewClient::enterFullscreenForElement):
32389 (WebKit::WebViewClient::exitFullscreenForElement):
32390 * src/ChromeClientImpl.cpp:
32391 (WebKit::ChromeClientImpl::enterFullScreenForElement):
32392 (WebKit::ChromeClientImpl::exitFullScreenForElement):
32393 * src/WebViewImpl.cpp:
32394 (WebKit::WebViewImpl::exitFullscreen):
32395 * src/WebViewImpl.h:
32397 2011-08-18 Chris Rogers <crogers@google.com>
32399 Implement WebMediaPlayerClientImpl::audioSourceProvider() and interface into chromium
32400 https://bugs.webkit.org/show_bug.cgi?id=66441
32402 Reviewed by Darin Fisher.
32404 * public/WebAudioSourceProvider.h: Added.
32405 (WebKit::WebAudioSourceProvider::~WebAudioSourceProvider):
32406 * public/WebMediaPlayer.h:
32407 (WebKit::WebMediaPlayer::audioSourceProvider):
32408 * src/WebMediaPlayerClientImpl.cpp:
32409 (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
32410 (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::provideInput):
32411 * src/WebMediaPlayerClientImpl.h:
32412 (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::AudioSourceProviderImpl):
32413 (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::~AudioSourceProviderImpl):
32414 (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::initialize):
32416 2011-08-18 Sailesh Agrawal <sail@chromium.org>
32418 Chromium Mac: Show scrollbar when doing search
32419 https://bugs.webkit.org/show_bug.cgi?id=66209
32421 Reviewed by James Robinson.
32423 Fixed a bug in invalidateArea where it wouldn't properly invalidate overlay scrollbars. The problem was that it was assuming that the scrollbar was always to the right of the visible scrollbar. This isn't true for overlay scrollbars.
32425 No tests because there are no Mac 10.7 chromium bots yet.
32427 * src/WebFrameImpl.cpp:
32428 (WebKit::WebFrameImpl::invalidateArea):
32430 2011-08-18 James Robinson <jamesr@chromium.org>
32432 [chromium] Draw the root/"non-composited content" in compositor side
32433 https://bugs.webkit.org/show_bug.cgi?id=58834
32435 Reviewed by Kenneth Russell.
32437 * src/WebViewImpl.cpp:
32438 (WebKit::WebViewImpl::paint):
32439 (WebKit::WebViewImpl::setRootGraphicsLayer):
32440 (WebKit::WebViewImpl::didRecreateGraphicsContext):
32441 (WebKit::WebViewImpl::updateLayerTreeViewport):
32442 * src/WebViewImpl.h:
32444 2011-08-18 Sadrul Habib Chowdhury <sadrul@chromium.org>
32446 GestureRecognizer: Update how gesture-scroll works.
32448 Add a unit-test to make sure the correct gesture events are being
32450 https://bugs.webkit.org/show_bug.cgi?id=66267
32452 Reviewed by Adam Barth.
32454 * tests/InnerGestureRecognizerTest.cpp:
32455 (WebCore::BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
32456 (WebCore::BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
32459 2011-08-18 Sheriff Bot <webkit.review.bot@gmail.com>
32461 Unreviewed, rolling out r93329.
32462 http://trac.webkit.org/changeset/93329
32463 https://bugs.webkit.org/show_bug.cgi?id=66497
32465 Turned text on chromium win blue (Requested by jamesr_ on
32468 * src/WebViewImpl.cpp:
32469 (WebKit::WebViewImpl::paint):
32470 (WebKit::WebViewImpl::setRootGraphicsLayer):
32471 (WebKit::WebViewImpl::setRootPlatformLayer):
32472 (WebKit::WebViewImpl::didRecreateGraphicsContext):
32473 (WebKit::WebViewImpl::updateLayerTreeViewport):
32474 * src/WebViewImpl.h:
32476 2011-08-18 Dominic Mazzoni <dmazzoni@google.com>
32478 Add a bunch of accessors to WebAccessibilityObject to expose more of
32479 AccessibilityObject to Chromium, including range control values,
32480 document load state, live region attributes, and a few other
32483 https://bugs.webkit.org/show_bug.cgi?id=66411
32485 Reviewed by Dimitri Glazkov.
32487 * public/WebAccessibilityObject.h:
32488 * src/WebAccessibilityObject.cpp:
32489 (WebKit::WebAccessibilityObject::isAriaReadOnly):
32490 (WebKit::WebAccessibilityObject::isButtonStateMixed):
32491 (WebKit::WebAccessibilityObject::isControl):
32492 (WebKit::WebAccessibilityObject::isFocused):
32493 (WebKit::WebAccessibilityObject::isLoaded):
32494 (WebKit::WebAccessibilityObject::isRequired):
32495 (WebKit::WebAccessibilityObject::isVertical):
32496 (WebKit::WebAccessibilityObject::accessKey):
32497 (WebKit::WebAccessibilityObject::ariaHasPopup):
32498 (WebKit::WebAccessibilityObject::ariaLiveRegionAtomic):
32499 (WebKit::WebAccessibilityObject::ariaLiveRegionBusy):
32500 (WebKit::WebAccessibilityObject::ariaLiveRegionRelevant):
32501 (WebKit::WebAccessibilityObject::ariaLiveRegionStatus):
32502 (WebKit::WebAccessibilityObject::estimatedLoadingProgress):
32503 (WebKit::WebAccessibilityObject::hierarchicalLevel):
32504 (WebKit::WebAccessibilityObject::valueDescription):
32505 (WebKit::WebAccessibilityObject::valueForRange):
32506 (WebKit::WebAccessibilityObject::maxValueForRange):
32507 (WebKit::WebAccessibilityObject::minValueForRange):
32509 2011-08-15 Dmitry Lomov <dslomov@google.com>
32511 https://bugs.webkit.org/show_bug.cgi?id=61016
32512 [WebWorkers][Chromium] Use v8 Isolates for in-process implementation of WebWorkers.
32513 This adds an implementation of in-process dedicated workers to chromium port.
32514 The crux of the matter is the reimplementation of WebWorkerClientImpl. WebWorkerClientImpl now
32515 implements all three of Worker{Loader,Context,Object}Proxies and delegates the implementation to
32516 WebKit's standard WorkerMessagingProxy.
32517 For now, we have 3 implementations of workers in chromium WebKit:
32518 - In-process dedicated workers (this checkin)
32519 - Inter-process shared workers
32520 - Inter-process dedicated workers (defunct after this checkin)
32521 This patch extracts some new common interfaces (NewWebWorkerBase and NewWebWorkerClient) for these
32522 three implementations.
32523 Removing the remainings of inter-process dedicated workers -related classes is left for a separate patch
32524 (it will require coordinated changes on chromuium side).
32526 Reviewed by David Levin.
32528 * public/WebCommonWorkerClient.h:
32529 * src/DatabaseObserver.cpp:
32530 (WebKit::AllowDatabaseMainThreadBridge::create):
32531 (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
32532 (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
32533 (WebKit::allowDatabaseForWorker):
32534 (WebCore::DatabaseObserver::canEstablishDatabase):
32535 * src/LocalFileSystemChromium.cpp:
32536 (WebCore::openFileSystemHelper):
32537 * src/WebSharedWorkerImpl.h:
32538 (WebKit::WebSharedWorkerImpl::newCommonClient):
32539 * src/WebWorkerBase.h:
32540 (WebKit::WebWorkerBase::view):
32541 * src/WebWorkerClientImpl.cpp:
32542 (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
32543 (WebKit::WebWorkerClientImpl::startWorkerContext):
32544 (WebKit::WebWorkerClientImpl::terminateWorkerContext):
32545 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
32546 (WebKit::WebWorkerClientImpl::hasPendingActivity):
32547 (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
32548 (WebKit::WebWorkerClientImpl::connectToInspector):
32549 (WebKit::WebWorkerClientImpl::disconnectFromInspector):
32550 (WebKit::WebWorkerClientImpl::sendMessageToInspector):
32551 (WebKit::WebWorkerClientImpl::postMessageToPageInspector):
32552 (WebKit::WebWorkerClientImpl::postTaskToLoader):
32553 (WebKit::WebWorkerClientImpl::postTaskForModeToWorkerContext):
32554 (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
32555 (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
32556 (WebKit::WebWorkerClientImpl::reportPendingActivity):
32557 (WebKit::WebWorkerClientImpl::workerContextClosed):
32558 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
32559 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
32560 (WebKit::WebWorkerClientImpl::workerContextDestroyed):
32561 (WebKit::WebWorkerClientImpl::allowFileSystem):
32562 (WebKit::WebWorkerClientImpl::openFileSystem):
32563 (WebKit::WebWorkerClientImpl::allowDatabase):
32564 (WebKit::WebWorkerClientImpl::dispatchDevToolsMessage):
32565 (WebKit::WebWorkerClientImpl::view):
32566 (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
32567 (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl):
32568 * src/WebWorkerClientImpl.h:
32569 (WebKit::WebWorkerClientImpl::newCommonClient):
32570 * src/WebWorkerImpl.cpp:
32571 (WebKit::WebWorkerImpl::newCommonClient):
32572 * src/WebWorkerImpl.h:
32573 * src/WorkerFileSystemCallbacksBridge.cpp:
32574 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
32575 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
32576 * src/WorkerFileSystemCallbacksBridge.h:
32578 2011-08-18 James Robinson <jamesr@chromium.org>
32580 [chromium] Draw the root/"non-composited content" in compositor side
32581 https://bugs.webkit.org/show_bug.cgi?id=58834
32583 Reviewed by Darin Fisher.
32585 * src/WebViewImpl.cpp:
32586 (WebKit::WebViewImpl::paint):
32587 (WebKit::WebViewImpl::setRootGraphicsLayer):
32588 (WebKit::WebViewImpl::didRecreateGraphicsContext):
32589 (WebKit::WebViewImpl::updateLayerTreeViewport):
32590 * src/WebViewImpl.h:
32592 2011-08-18 Tony Chang <tony@chromium.org>
32594 Revert r93294, doesn't compile on Chromium Mac.
32598 2011-08-17 Adam Roben <aroben@apple.com>
32600 Make WebCore keep track of the current device scale factor
32602 Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
32603 device scale factor
32605 Reviewed by Darin Adler.
32607 * src/ChromeClientImpl.cpp:
32608 * src/ChromeClientImpl.h:
32609 Removed deviceScaleFactor.
32611 2011-08-18 Steve Block <steveblock@google.com>
32613 Remove a superfluous 'using' from WebBindings.cpp
32614 https://bugs.webkit.org/show_bug.cgi?id=66046
32616 Reviewed by Alexey Proskuryakov.
32618 * src/WebBindings.cpp:
32620 2011-08-18 Gavin Peters <gavinp@chromium.org>
32622 Prepare frames for history navigation.
32624 Before beginning an explicit history navigation in a newly initialized
32625 frame, it's important to give a "previous" item to avoid crashes, and
32626 give a state to the state machine to avoid extra validating loads.
32628 https://bugs.webkit.org/show_bug.cgi?id=66322
32630 Reviewed by Darin Fisher.
32632 * src/WebFrameImpl.cpp:
32633 (WebKit::WebFrameImpl::loadHistoryItem):
32635 2011-08-18 Nico Weber <thakis@chromium.org>
32637 [chromium/mac] Enable smooth scrolling
32638 https://bugs.webkit.org/show_bug.cgi?id=66418
32640 Reviewed by Dimitri Glazkov.
32644 2011-08-17 Scott Byer <scottbyer@chromium.org>
32646 ScrollAnimatorNone: Remove unused field
32647 https://bugs.webkit.org/show_bug.cgi?id=66312
32649 Reviewed by Adam Barth.
32651 * tests/ScrollAnimatorNoneTest.cpp:
32652 (ScrollAnimatorNoneTest::updateDataFromParameters):
32655 2011-08-16 Chang Shu <cshu@webkit.org>
32657 Support reset in WebCore::Internals
32658 https://bugs.webkit.org/show_bug.cgi?id=66307
32660 Reviewed by Dimitri Glazkov.
32662 Added framework code in WebKit.
32664 * public/WebTestingSupport.h:
32665 * src/WebTestingSupport.cpp:
32666 (WebKit::WebTestingSupport::resetInternalsObject):
32668 2011-08-15 Aaron Boodman <aa@chromium.org>
32670 Remove support for old didCreateIsolatedContext() signature
32671 https://bugs.webkit.org/show_bug.cgi?id=66249
32673 Reviewed by Darin Fisher.
32675 * public/WebFrameClient.h:
32676 * src/FrameLoaderClientImpl.cpp:
32677 (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
32679 2011-08-17 Aaron Boodman <aa@chromium.org>
32681 Remove support for old didCreateIsolatedContext() signature
32682 https://bugs.webkit.org/show_bug.cgi?id=66249
32684 Reviewed by Darin Fisher.
32686 * public/WebFrameClient.h:
32687 * src/FrameLoaderClientImpl.cpp:
32688 (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
32690 2011-08-17 David Grogan <dgrogan@chromium.org>
32692 Remove onTimeout from WebIDBTransactionCallbacks.h
32693 https://bugs.webkit.org/show_bug.cgi?id=66326
32695 Reviewed by Tony Chang.
32697 * public/WebIDBTransactionCallbacks.h:
32699 2011-08-16 Per-Erik Brodin <per-erik.brodin@ericsson.com>
32701 Make it possible to explicitly prevent a preflight via ThreadableLoaderOptions
32702 https://bugs.webkit.org/show_bug.cgi?id=65694
32704 Reviewed by Alexey Proskuryakov.
32706 * src/AssociatedURLLoader.cpp:
32707 (WebKit::AssociatedURLLoader::loadAsynchronously):
32709 2011-08-12 John Abd-El-Malek <jam@chromium.org>
32711 [chromium] cleanup after previous webkit change rolled into chrome
32712 https://bugs.webkit.org/show_bug.cgi?id=66177
32714 Reviewed by James Robinson.
32718 * public/WebScrollbar.h:
32720 2011-08-16 Stephen White <senorblanco@chromium.org>
32722 GraphicsContext3D should allow its hostWindow to be NULL
32723 https://bugs.webkit.org/show_bug.cgi?id=66305
32725 Allow the hostWindow param (and m_webViewImpl) to be NULL. This
32726 makes it much easier to enable GPU acceleration at a lower level
32727 in WebKit's platform/graphics layer, without needing access to the
32728 Page* or HostWindow*. Also bump the chromium DEPS to chrome r96940,
32729 which includes a similar change for the in-process GraphicsContext3D
32732 Reviewed by James Robinson.
32735 * src/GraphicsContext3DChromium.cpp:
32736 (WebCore::GraphicsContext3DInternal::initialize):
32737 (WebCore::GraphicsContext3DInternal::platformTexture):
32738 (WebCore::GraphicsContext3DInternal::paintsIntoCanvasBuffer):
32740 2011-08-16 Mikhail Naganov <mnaganov@chromium.org>
32742 Web Inspector: [Chromium] Add deployment of NetworkPanel .css files to concatenated version
32743 https://bugs.webkit.org/show_bug.cgi?id=66316
32745 Reviewed by Pavel Feldman.
32749 2011-08-16 Mikhail Naganov <mnaganov@chromium.org>
32751 Web Inspector: [Chromium] Fix 'inspector_resources' target to depend on 'concatenated_heap_snapshot_worker_js'
32752 https://bugs.webkit.org/show_bug.cgi?id=66300
32754 Reviewed by Pavel Feldman.
32758 2011-08-15 Dmitry Titov <dimich@chromium.org>
32760 [Chromium] Add WebFrameClient::didAdoptURLLoader() notification
32761 https://bugs.webkit.org/show_bug.cgi?id=66167
32763 Reviewed by Darin Fisher.
32765 * public/WebFrameClient.h:
32766 (WebKit::WebFrameClient::didAdoptURLLoader):
32767 * src/FrameLoaderClientImpl.cpp:
32768 (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
32769 * src/ResourceHandle.cpp:
32770 (WebCore::ResourceHandleInternal::ResourceHandleInternal):
32771 (WebCore::ResourceHandleInternal::FromResourceHandle):
32772 (WebCore::ResourceHandle::ResourceHandle):
32773 (WebCore::ResourceHandle::firstRequest):
32774 (WebCore::ResourceHandle::client):
32775 (WebCore::ResourceHandle::setClient):
32776 (WebCore::ResourceHandle::~ResourceHandle):
32777 * src/ResourceHandleInternal.h: Added.
32778 (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
32779 (WebCore::ResourceHandleInternal::setOwner):
32780 (WebCore::ResourceHandleInternal::request):
32781 (WebCore::ResourceHandleInternal::client):
32782 (WebCore::ResourceHandleInternal::setClient):
32783 (WebCore::ResourceHandleInternal::loader):
32785 2011-08-15 Dmitry Titov <dimich@chromium.org>
32787 FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
32788 https://bugs.webkit.org/show_bug.cgi?id=66165
32790 Reviewed by Darin Fisher.
32792 * src/FrameLoaderClientImpl.cpp:
32793 (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
32794 * src/FrameLoaderClientImpl.h:
32796 2011-08-15 Sheriff Bot <webkit.review.bot@gmail.com>
32798 Unreviewed, rolling out r93060.
32799 http://trac.webkit.org/changeset/93060
32800 https://bugs.webkit.org/show_bug.cgi?id=66259
32802 Does not compile on Chromium Windows (Requested by
32803 abarth|gardener on #webkit).
32805 * public/WebCache.h:
32806 * public/WebFontCache.h:
32807 * src/WebCache.cpp:
32808 (WebKit::WebCache::clear):
32809 * src/WebFontCache.cpp:
32811 2011-08-15 Mikhail Naganov <mnaganov@chromium.org>
32813 Chromium: expose MemoryCache::prune and FontCache::purgeInactiveFontData.
32814 https://bugs.webkit.org/show_bug.cgi?id=66132
32816 Reviewed by Darin Fisher.
32818 * public/WebCache.h:
32819 * public/WebFontCache.h:
32820 * src/WebCache.cpp:
32821 (WebKit::WebCache::prune):
32822 * src/WebFontCache.cpp:
32823 (WebKit::WebFontCache::prune):
32825 2011-08-15 Nico Weber <thakis@chromium.org>
32827 [chromium] Implement shouldRubberBandInDirection
32828 https://bugs.webkit.org/show_bug.cgi?id=66206
32830 Reviewed by Adam Barth.
32832 History swiping can only start after an unhandled mouse wheel event
32833 came back from the renderer, because mouse wheel javascript handlers
32834 take precedence over history swiping. This means that rubberbanding
32835 must not consume wheel events if they could trigger history, else
32836 history swiping won't be triggered for pages without wheel handlers
32839 This is based on the implementation in
32840 Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
32842 * src/ChromeClientImpl.cpp:
32843 (WebKit::ChromeClientImpl::shouldRubberBandInDirection):
32844 * src/ChromeClientImpl.h:
32846 2011-08-10 Aaron Boodman <aa@chromium.org>
32848 Pass additional details to client in didCreateIsolatedContext
32849 https://bugs.webkit.org/show_bug.cgi?id=66037
32851 Reviewed by Darin Fisher.
32853 * public/WebFrameClient.h:
32854 (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
32855 * src/FrameLoaderClientImpl.cpp:
32856 (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
32857 * src/FrameLoaderClientImpl.h:
32859 2011-08-10 Adam Roben <aroben@apple.com>
32861 Clear up scale factor terminology
32863 WebKit by and large deals with two scale factors: one intrinsic to the device on which the
32864 software is running, and one that is per-Page and can be controlled via API calls. This
32865 patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
32866 code use those names. It should introduce no behavior changes.
32868 Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
32869 device scale factor
32871 Reviewed by Simon Fraser.
32873 * src/ChromeClientImpl.cpp:
32874 * src/ChromeClientImpl.h:
32876 2011-08-12 Fady Samuel <fsamuel@chromium.org>
32878 Refactoring of PopupMenuChromium For Readability and Maintainability
32879 https://bugs.webkit.org/show_bug.cgi?id=66009
32881 Reviewed by Darin Fisher.
32883 * src/ChromeClientImpl.cpp:
32884 * src/WebPopupMenuImpl.cpp:
32885 * src/WebViewImpl.cpp:
32886 * tests/PopupMenuTest.cpp:
32888 2011-08-12 Fady Samuel <fsamuel@chromium.org>
32890 Expose pageScaleFactor() to Chromium's WebViewImpl
32891 https://bugs.webkit.org/show_bug.cgi?id=66067
32893 Reviewed by Darin Fisher.
32895 * public/WebView.h:
32896 * src/WebViewImpl.cpp:
32897 (WebKit::WebViewImpl::pageScaleFactor):
32898 * src/WebViewImpl.h:
32900 2011-08-12 Sadrul Habib Chowdhury <sadrul@chromium.org>
32902 Wire gesture tap events, add support for gesture events in the DRT and add a layout test for it.
32903 https://bugs.webkit.org/show_bug.cgi?id=66105
32905 Reviewed by Darin Fisher.
32907 * public/WebInputEvent.h:
32908 * src/WebInputEventConversion.cpp:
32909 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
32910 * src/WebPopupMenuImpl.cpp:
32911 (WebKit::WebPopupMenuImpl::handleInputEvent):
32912 * src/WebViewImpl.cpp:
32913 (WebKit::WebViewImpl::handleInputEvent):
32915 2011-08-12 Tommy Widenflycht <tommyw@google.com>
32917 [Chromium] Implement the embedders for the HTML5 Track List objects
32918 https://bugs.webkit.org/show_bug.cgi?id=60260
32920 Reviewed by Darin Fisher.
32923 * public/WebMediaStreamTrack.h: Added.
32924 (WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
32925 (WebKit::WebMediaStreamTrack::~WebMediaStreamTrack):
32926 (WebKit::WebMediaStreamTrack::isNull):
32927 * public/WebMediaStreamTrackList.h: Added.
32928 (WebKit::WebMediaStreamTrackList::WebMediaStreamTrackList):
32929 (WebKit::WebMediaStreamTrackList::~WebMediaStreamTrackList):
32930 (WebKit::WebMediaStreamTrackList::isNull):
32931 * src/WebMediaStreamTrack.cpp: Added.
32932 (WebKit::WebMediaStreamTrack::initialize):
32933 (WebKit::WebMediaStreamTrack::reset):
32934 (WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
32935 (WebKit::WebMediaStreamTrack::operator WTF::PassRefPtr<WebCore::MediaStreamTrack>):
32936 * src/WebMediaStreamTrackList.cpp: Added.
32937 (WebKit::WebMediaStreamTrackList::initialize):
32938 (WebKit::WebMediaStreamTrackList::reset):
32939 (WebKit::WebMediaStreamTrackList::WebMediaStreamTrackList):
32940 (WebKit::WebMediaStreamTrackList::operator WTF::PassRefPtr<MediaStreamTrackList>):
32942 2011-08-12 Sheriff Bot <webkit.review.bot@gmail.com>
32944 Unreviewed, rolling out r92976.
32945 http://trac.webkit.org/changeset/92976
32946 https://bugs.webkit.org/show_bug.cgi?id=66159
32948 Does not compile on chromium-win (Requested by abarth|gardener
32951 * src/ChromeClientImpl.cpp:
32952 * src/WebPopupMenuImpl.cpp:
32953 * src/WebViewImpl.cpp:
32955 2011-08-12 Sheriff Bot <webkit.review.bot@gmail.com>
32957 Unreviewed, rolling out r92978.
32958 http://trac.webkit.org/changeset/92978
32959 https://bugs.webkit.org/show_bug.cgi?id=66155
32961 This patch does not compile (Requested by abarth|gardener on
32964 * public/WebView.h:
32965 * src/WebViewImpl.cpp:
32966 (WebKit::WebViewImpl::zoomLevel):
32967 (WebKit::WebViewImpl::setZoomLevel):
32968 (WebKit::WebViewImpl::zoomLimitsChanged):
32969 (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
32970 (WebKit::WebView::zoomLevelToZoomFactor):
32971 (WebKit::WebView::zoomFactorToZoomLevel):
32972 * src/WebViewImpl.h:
32974 2011-08-12 Fady Samuel <fsamuel@chromium.org>
32976 Chromium's WebKit API should use floats instead of doubles for zoom to match WebCore
32977 https://bugs.webkit.org/show_bug.cgi?id=66089
32979 Reviewed by Darin Fisher.
32981 * public/WebView.h:
32982 * src/WebViewImpl.cpp:
32983 (WebKit::WebViewImpl::zoomLevel):
32984 (WebKit::WebViewImpl::setZoomLevel):
32985 (WebKit::WebViewImpl::zoomLimitsChanged):
32986 (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
32987 (WebKit::WebView::zoomLevelToZoomFactor):
32988 (WebKit::WebView::zoomFactorToZoomLevel):
32989 * src/WebViewImpl.h:
32991 2011-08-12 Fady Samuel <fsamuel@chromium.org>
32993 Refactoring of PopupMenuChromium
32994 https://bugs.webkit.org/show_bug.cgi?id=66009
32996 Reviewed by Darin Fisher.
32998 * src/ChromeClientImpl.cpp:
32999 * src/WebPopupMenuImpl.cpp:
33000 * src/WebViewImpl.cpp:
33002 2011-08-12 Fady Samuel <fsamuel@chromium.org>
33004 Expose pageScaleFactor in Chromium's WebHistoryItem
33005 https://bugs.webkit.org/show_bug.cgi?id=66139
33007 Reviewed by Darin Fisher.
33009 * public/WebHistoryItem.h:
33010 * src/WebHistoryItem.cpp:
33011 (WebKit::WebHistoryItem::pageScaleFactor):
33012 (WebKit::WebHistoryItem::setPageScaleFactor):
33014 2011-08-10 Nat Duca <nduca@chromium.org>
33016 [chromium] Add WebThread to WebKitClient
33017 https://bugs.webkit.org/show_bug.cgi?id=66013
33019 Reviewed by Darin Fisher.
33021 * public/WebKitClient.h:
33022 (WebKit::WebKitClient::createThread):
33023 * public/WebThread.h: Added.
33024 (WebKit::WebThread::~WebThread):
33026 2011-08-11 John Bauman <jbauman@chromium.org>
33028 Readback composited webgl results for printing
33029 https://bugs.webkit.org/show_bug.cgi?id=65658
33031 Reviewed by James Robinson.
33033 Add support for reading from the composited version of a canvas.
33035 * public/WebGraphicsContext3D.h:
33036 * src/Extensions3DChromium.cpp:
33037 (WebCore::Extensions3DChromium::paintFramebufferToCanvas):
33038 * src/GraphicsContext3DChromium.cpp:
33039 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
33040 (WebCore::GraphicsContext3DInternal::paintFramebufferToCanvas):
33041 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
33042 (WebCore::GraphicsContext3DInternal::paintCompositedResultsToCanvas):
33043 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToImageData):
33044 (WebCore::GraphicsContext3DInternal::reshape):
33045 * src/GraphicsContext3DInternal.h:
33047 2011-08-05 Nat Duca <nduca@chromium.org>
33049 [chromium] Make WebViewImpl point at CCLayerTreeHost and related separation
33050 https://bugs.webkit.org/show_bug.cgi?id=65791
33052 With this patch, LayerRendererChromium becomes increasingly responsible
33053 for rendering, while render scheduling and tree hosting moves into the
33056 Reviewed by James Robinson.
33058 * src/WebViewImpl.cpp:
33059 (WebKit::WebViewImpl::WebViewImpl):
33060 (WebKit::WebViewImpl::resize):
33061 (WebKit::WebViewImpl::animate):
33062 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
33063 (WebKit::WebViewImpl::paint):
33064 (WebKit::WebViewImpl::composite):
33065 (WebKit::WebViewImpl::setRootPlatformLayer):
33066 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
33067 (WebKit::WebViewImpl::scrollRootLayerRect):
33068 (WebKit::WebViewImpl::invalidateRootLayerRect):
33069 (WebKit::getCompositorSettings):
33070 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
33071 (WebKit::WebViewImpl::createRootLayerPainter):
33072 (WebKit::WebViewImpl::animateAndLayout):
33073 (WebKit::WebViewImpl::didRecreateGraphicsContext):
33074 (WebKit::WebViewImpl::scheduleComposite):
33075 (WebKit::WebViewImpl::updateLayerTreeViewport):
33076 (WebKit::WebViewImpl::graphicsContext3D):
33077 (WebKit::WebViewImpl::setVisibilityState):
33078 * src/WebViewImpl.h:
33080 2011-08-11 Nico Weber <thakis@chromium.org>
33082 [chromium] Expose "min/max scroll size", "has horizontal/vertical scrollbar", "number of wheel handlers" to clients
33083 https://bugs.webkit.org/show_bug.cgi?id=66094
33085 Reviewed by James Robinson.
33087 We want to implement two-finger-swipe for history like safari does on
33088 os x lion. The way this works is:
33089 * If a page has no horizontal scrollbars, or the page is all the way
33090 to the left, scrolling to the left will go back in history instead.
33091 * Same for right/forward.
33093 This is modelled after the WebKit2 functions
33094 WKPageIsPinnedToLeftSide(), WKPageIsPinnedToRightSide(),
33095 WKPageHasHorizontalScrollbar(), and
33096 webPageProxy::willHandleHorizontalScrollEvents().
33098 * public/WebFrame.h:
33099 * public/WebViewClient.h:
33100 (WebKit::WebViewClient::numWheelEventHandlersChanged):
33101 * src/ChromeClientImpl.cpp:
33102 (WebKit::ChromeClientImpl::numWheelEventHandlersChanged):
33103 * src/ChromeClientImpl.h:
33104 * src/WebFrameImpl.cpp:
33105 (WebKit::WebFrameImpl::hasHorizontalScrollbar):
33106 (WebKit::WebFrameImpl::hasVerticalScrollbar):
33107 (WebKit::WebFrameImpl::isPinnedToLeft):
33108 (WebKit::WebFrameImpl::isPinnedToRight):
33109 * src/WebFrameImpl.h:
33111 2011-08-11 Marja Hölttä <marja@chromium.org>
33113 Remove the temporary workaround added by http://trac.webkit.org/changeset/51338
33114 https://bugs.webkit.org/show_bug.cgi?id=65908
33116 Reviewed by Adam Barth.
33118 SecurityOrigin for a file URL returns "file://", and
33119 SecurityOrigin::createFromString("file://") creates a unique (null)
33120 security origin (because "file://" is first canonicalized to "file:///"
33121 and that is a directory). This means the conversion SecurityOrigin ->
33122 string -> SecurityOrigin doens't give back the same SecurityOrigin in
33125 WebStorageNamespaceImpl::createStorageArea contains a workaround which
33126 changes the string "file://" into "file:///a" before giving it to
33127 SecurityOrigin::createFromString.
33129 If SecurityOrigin::m_enforceFilePathSeparation is true, then
33130 SecurityOrigin::toString() returns "null" for file URLs, and this
33131 problem does not exist, and the workaround code is not ran.
33133 This patch removes the workaround.
33135 * src/WebStorageNamespaceImpl.cpp:
33136 (WebKit::WebStorageNamespaceImpl::createStorageArea):
33138 2011-08-10 John Abd-El-Malek <jam@chromium.org>
33140 [chromium] Update WebScrollbar so that it works with overlay scrollbars on Lion
33141 https://bugs.webkit.org/show_bug.cgi?id=66008
33143 Reviewed by James Robinson.
33146 * public/WebScrollbar.h:
33147 * public/WebScrollbarClient.h:
33148 * src/ScrollbarGroup.cpp: Added.
33149 (WebKit::ScrollbarGroup::ScrollbarGroup):
33150 (WebKit::ScrollbarGroup::~ScrollbarGroup):
33151 (WebKit::ScrollbarGroup::scrollbarCreated):
33152 (WebKit::ScrollbarGroup::scrollbarDestroyed):
33153 (WebKit::ScrollbarGroup::setLastMousePosition):
33154 (WebKit::ScrollbarGroup::scrollSize):
33155 (WebKit::ScrollbarGroup::scrollPosition):
33156 (WebKit::ScrollbarGroup::setScrollOffset):
33157 (WebKit::ScrollbarGroup::invalidateScrollbarRect):
33158 (WebKit::ScrollbarGroup::invalidateScrollCornerRect):
33159 (WebKit::ScrollbarGroup::isActive):
33160 (WebKit::ScrollbarGroup::enclosingScrollableArea):
33161 (WebKit::ScrollbarGroup::isScrollCornerVisible):
33162 (WebKit::ScrollbarGroup::getTickmarks):
33163 (WebKit::ScrollbarGroup::convertFromContainingViewToScrollbar):
33164 (WebKit::ScrollbarGroup::horizontalScrollbar):
33165 (WebKit::ScrollbarGroup::verticalScrollbar):
33166 (WebKit::ScrollbarGroup::minimumScrollPosition):
33167 (WebKit::ScrollbarGroup::maximumScrollPosition):
33168 (WebKit::ScrollbarGroup::visibleHeight):
33169 (WebKit::ScrollbarGroup::visibleWidth):
33170 (WebKit::ScrollbarGroup::contentsSize):
33171 (WebKit::ScrollbarGroup::overhangAmount):
33172 (WebKit::ScrollbarGroup::currentMousePosition):
33173 (WebKit::ScrollbarGroup::shouldSuspendScrollAnimations):
33174 (WebKit::ScrollbarGroup::scrollbarStyleChanged):
33175 (WebKit::ScrollbarGroup::isOnActivePage):
33176 (WebKit::ScrollbarGroup::disconnectFromPage):
33177 * src/ScrollbarGroup.h: Added.
33178 (WebKit::ScrollbarGroup::scrollCornerRect):
33179 * src/WebPluginContainerImpl.cpp:
33180 (WebKit::WebPluginContainerImpl::paint):
33181 (WebKit::WebPluginContainerImpl::reportGeometry):
33182 (WebKit::WebPluginContainerImpl::scrollbarGroup):
33183 (WebKit::WebPluginContainerImpl::willStartLiveResize):
33184 (WebKit::WebPluginContainerImpl::willEndLiveResize):
33185 (WebKit::WebPluginContainerImpl::handleMouseEvent):
33186 * src/WebPluginContainerImpl.h:
33187 * src/WebScrollbarImpl.cpp:
33188 (WebKit::WebScrollbar::createForPlugin):
33189 (WebKit::WebScrollbarImpl::WebScrollbarImpl):
33190 (WebKit::WebScrollbarImpl::~WebScrollbarImpl):
33191 (WebKit::WebScrollbarImpl::setScrollOffset):
33192 (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
33193 (WebKit::WebScrollbarImpl::getTickmarks):
33194 (WebKit::WebScrollbarImpl::convertFromContainingViewToScrollbar):
33195 (WebKit::WebScrollbarImpl::scrollbarStyleChanged):
33196 (WebKit::WebScrollbarImpl::isOverlay):
33197 (WebKit::WebScrollbarImpl::setValue):
33198 (WebKit::WebScrollbarImpl::scroll):
33199 (WebKit::WebScrollbarImpl::onMouseMove):
33200 (WebKit::WebScrollbarImpl::onMouseLeave):
33201 (WebKit::WebScrollbarImpl::onMouseWheel):
33202 (WebKit::WebScrollbarImpl::onKeyDown):
33203 * src/WebScrollbarImpl.h:
33204 (WebKit::WebScrollbarImpl::scrollOffset):
33205 (WebKit::WebScrollbarImpl::scrollbar):
33206 * src/WebViewImpl.cpp:
33207 (WebKit::WebViewImpl::willStartLiveResize):
33208 (WebKit::WebViewImpl::willEndLiveResize):
33210 2011-08-10 Dmitry Lomov <dslomov@google.com>
33212 [Chromium] Decouple implementation of allowFileSystem, openFileSystem and allowDatabase from WebWorkerBase.
33213 https://bugs.webkit.org/show_bug.cgi?id=65997.
33215 This patch moves implementation of allowFileSystem, openFileSystem and allowDatabase from
33216 WebWorkerBase to respectively LocalFileSystemChromium and DatabaseObserver,
33217 parameterizing them with relevant data from WebWorker.
33219 Reviewed by Jian Li.
33221 * src/DatabaseObserver.cpp: Move allowDatabase from WebWorkerBase and update the caller.
33222 (WebKit::AllowDatabaseMainThreadBridge::create):
33223 (WebKit::AllowDatabaseMainThreadBridge::cancel):
33224 (WebKit::AllowDatabaseMainThreadBridge::result):
33225 (WebKit::AllowDatabaseMainThreadBridge::signalCompleted):
33226 (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
33227 (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
33228 (WebKit::AllowDatabaseMainThreadBridge::didComplete):
33229 (WebKit::allowDatabaseForWorker):
33230 (WebCore::DatabaseObserver::canEstablishDatabase):
33231 * src/LocalFileSystemChromium.cpp: Move allowFileSystem and openFileSystem from WebWorkerBase and update the caller.
33232 (WebCore::openFileSystemHelper):
33233 * src/WebWorkerBase.cpp: Move allowFileSystem, openFileSystem and allowDatabase to LocalFileSystemChromium and DatabaseObserver resp.
33234 * src/WebWorkerBase.h:
33235 (WebKit::WebWorkerBase::webView):
33236 * src/WorkerFileSystemCallbacksBridge.cpp: Generalized WorkerFileSystemCallbacksBridge to work on WorkerLoaderProxy, not on WebWorkerBase.
33237 (WebKit::WorkerFileSystemCallbacksBridge::stop):
33238 (WebKit::WorkerFileSystemCallbacksBridge::WorkerFileSystemCallbacksBridge):
33239 (WebKit::WorkerFileSystemCallbacksBridge::dispatchTaskToMainThread):
33240 (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
33241 * src/WorkerFileSystemCallbacksBridge.h:
33242 (WebKit::WorkerFileSystemCallbacksBridge::create):
33244 2011-08-10 Vsevolod Vlasov <vsevik@chromium.org>
33246 Web Inspector: Remove Network.initialContentSet from protocol, store workers content on backend.
33247 https://bugs.webkit.org/show_bug.cgi?id=65929
33249 Reviewed by Pavel Feldman.
33251 * src/SharedWorkerRepository.cpp:
33252 (WebCore::SharedWorkerScriptLoader::didReceiveResponse):
33254 2011-08-10 Andrey Kosyakov <caseq@chromium.org>
33256 Unreviewed. Rolled DEPS 95813:96009 to pick data url timing fix.
33260 2011-08-10 Peter Kasting <pkasting@google.com>
33262 [Chromium] Name an enum used in some template arguments.
33263 https://bugs.webkit.org/show_bug.cgi?id=65953
33265 Reviewed by Darin Fisher.
33267 * public/WebHTTPBody.h:
33269 2011-08-09 Alexei Svitkine <asvitkine@chromium.org>
33271 [Chromium] Enable rubber banding when scrolling.
33273 https://bugs.webkit.org/show_bug.cgi?id=65707
33275 Reviewed by Dimitri Glazkov.
33278 * public/WebInputEvent.h:
33279 (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
33280 (WebKit::WebGestureEvent::WebGestureEvent):
33281 * public/mac/WebInputEventFactory.h:
33282 * src/WebInputEventConversion.cpp:
33283 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
33284 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
33285 * src/WebInputEventConversion.h:
33286 * src/WebPopupMenuImpl.cpp:
33287 (WebKit::WebPopupMenuImpl::GestureEvent):
33288 (WebKit::WebPopupMenuImpl::handleInputEvent):
33289 * src/WebPopupMenuImpl.h:
33290 * src/WebViewImpl.cpp:
33291 (WebKit::WebViewImpl::gestureEvent):
33292 (WebKit::WebViewImpl::handleInputEvent):
33293 * src/WebViewImpl.h:
33294 * src/mac/WebInputEventFactory.mm:
33295 (WebKit::gestureEventTypeForEvent):
33296 (WebKit::phaseForNSEventPhase):
33297 (WebKit::phaseForEvent):
33298 (WebKit::momentumPhaseForEvent):
33299 (WebKit::WebInputEventFactory::mouseWheelEvent):
33300 (WebKit::WebInputEventFactory::gestureEvent):
33302 2011-08-09 Dmitry Lomov <dslomov@google.com>
33304 https://bugs.webkit.org/show_bug.cgi?id=65778
33305 [WebWorkers][chromium] Make statics thread-safe and make sure V8 API accesses correct isolates
33307 Reviewed by Dmitry Titov.
33309 * src/BoundObject.cpp:
33311 2011-08-09 Jochen Eisinger <jochen@chromium.org>
33313 [chromium] remove temporary #define from WebURLRequest.h
33314 https://bugs.webkit.org/show_bug.cgi?id=65813
33316 Reviewed by Darin Fisher.
33318 * public/WebURLRequest.h:
33320 2011-08-09 Jochen Eisinger <jochen@chromium.org>
33322 Unreviewed. Rolled DEPS.
33326 2011-08-08 Sheriff Bot <webkit.review.bot@gmail.com>
33328 Unreviewed, rolling out r92619.
33329 http://trac.webkit.org/changeset/92619
33330 https://bugs.webkit.org/show_bug.cgi?id=65881
33332 This patch breaks chromium canary (Requested by jianli on
33335 * src/BoundObject.cpp:
33337 2011-08-08 Scott Byer <scottbyer@chromium.org>
33339 Scroll animator changes to nail the framerate
33340 https://bugs.webkit.org/show_bug.cgi?id=65645
33342 Reviewed by James Robinson.
33344 * tests/ScrollAnimatorNoneTest.cpp:
33347 2011-08-08 Dmitry Lomov <dslomov@google.com>
33349 https://bugs.webkit.org/show_bug.cgi?id=65778
33350 [WebWorkers][chromium] Make statics thread-safe and make sure V8 API accesses correct isolates
33352 Reviewed by David Levin.
33354 * src/BoundObject.cpp: AllowAllocation moved from V8Utilities.h to V8Binding.h
33356 2011-08-08 Sheriff Bot <webkit.review.bot@gmail.com>
33358 Unreviewed, rolling out r92607.
33359 http://trac.webkit.org/changeset/92607
33360 https://bugs.webkit.org/show_bug.cgi?id=65865
33362 This patch breaks Chromium Mac Canary (Requested by jianli on
33366 * public/WebInputEvent.h:
33367 (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
33368 * public/mac/WebInputEventFactory.h:
33369 * src/WebInputEventConversion.cpp:
33370 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
33371 * src/WebInputEventConversion.h:
33372 * src/WebPopupMenuImpl.cpp:
33373 (WebKit::WebPopupMenuImpl::handleInputEvent):
33374 * src/WebPopupMenuImpl.h:
33375 * src/WebViewImpl.cpp:
33376 (WebKit::WebViewImpl::handleInputEvent):
33377 * src/WebViewImpl.h:
33378 * src/mac/WebInputEventFactory.mm:
33379 (WebKit::WebInputEventFactory::mouseWheelEvent):
33381 2011-08-08 Alexei Svitkine <asvitkine@chromium.org>
33383 [Chromium] Enable rubber banding when scrolling.
33385 https://bugs.webkit.org/show_bug.cgi?id=65707
33387 Reviewed by Dimitri Glazkov.
33390 * public/WebInputEvent.h:
33391 (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
33392 (WebKit::WebGestureEvent::WebGestureEvent):
33393 * public/mac/WebInputEventFactory.h:
33394 * src/WebInputEventConversion.cpp:
33395 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
33396 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
33397 * src/WebInputEventConversion.h:
33398 * src/WebPopupMenuImpl.cpp:
33399 (WebKit::WebPopupMenuImpl::GestureEvent):
33400 (WebKit::WebPopupMenuImpl::handleInputEvent):
33401 * src/WebPopupMenuImpl.h:
33402 * src/WebViewImpl.cpp:
33403 (WebKit::WebViewImpl::gestureEvent):
33404 (WebKit::WebViewImpl::handleInputEvent):
33405 * src/WebViewImpl.h:
33406 * src/mac/WebInputEventFactory.mm:
33407 (WebKit::gestureEventTypeForEvent):
33408 (WebKit::phaseForNSEventPhase):
33409 (WebKit::phaseForEvent):
33410 (WebKit::momentumPhaseForEvent):
33411 (WebKit::WebInputEventFactory::mouseWheelEvent):
33412 (WebKit::WebInputEventFactory::gestureEvent):
33414 2011-08-08 Ryosuke Niwa <rniwa@webkit.org>
33416 Unreviewed. Rolled Chromium DEPS from 95576 to 95783.
33420 2011-08-05 Pavel Feldman <pfeldman@chromium.org>
33422 Web Inspector: implement dock/undock in WebKit2 without getting into WebCore.
33423 https://bugs.webkit.org/show_bug.cgi?id=65763
33425 Reviewed by Yury Semikhatsky.
33427 * src/InspectorFrontendClientImpl.cpp:
33428 * src/InspectorFrontendClientImpl.h:
33429 * src/js/DevTools.js:
33430 (devtools.domContentLoaded):
33432 2011-08-07 James Kozianski <koz@chromium.org>
33434 Make the fullscreen JS API enabled at runtime.
33435 https://bugs.webkit.org/show_bug.cgi?id=65501
33437 Reviewed by Adam Barth.
33439 * public/WebRuntimeFeatures.h:
33440 * src/WebRuntimeFeatures.cpp:
33441 (WebKit::WebRuntimeFeatures::enableFullScreenAPI):
33442 (WebKit::WebRuntimeFeatures::isFullScreenAPIEnabled):
33444 2011-08-05 James Robinson <jamesr@chromium.org>
33446 [chromium] Accelerated canvas breaks when moving canvases or resources between Pages
33447 https://bugs.webkit.org/show_bug.cgi?id=65402
33449 Reviewed by Stephen White.
33451 Remove plumbing for copyTextureToParentTexture extension, it's no longer used or needed.
33453 * public/WebGraphicsContext3D.h:
33454 * src/Extensions3DChromium.cpp:
33455 * src/GraphicsContext3DChromium.cpp:
33456 * src/GraphicsContext3DInternal.h:
33458 2011-08-05 Jochen Eisinger <jochen@chromium.org>
33460 Introduce a new ResourceRequest::TargetType for XHRs
33461 https://bugs.webkit.org/show_bug.cgi?id=65544
33463 Reviewed by Darin Fisher.
33465 * public/WebURLRequest.h:
33467 2011-08-04 James Robinson <jamesr@chromium.org>
33469 Unreviewed. Rolled DEPS.
33473 2011-08-04 David Levin <levin@chromium.org>
33475 CStringBuffer should have thread safety checks turned on.
33476 https://bugs.webkit.org/show_bug.cgi?id=58093
33478 Reviewed by Dmitry Titov.
33480 * DEPS: Roll far enough to pick up the latest WebKit::initialize
33483 2011-08-04 Sheriff Bot <webkit.review.bot@gmail.com>
33485 Unreviewed, rolling out r92415.
33486 http://trac.webkit.org/changeset/92415
33487 https://bugs.webkit.org/show_bug.cgi?id=65728
33489 Causes many DEBUG crashes (Requested by abarth on #webkit).
33491 * public/WebURLRequest.h:
33493 2011-08-04 Jochen Eisinger <jochen@chromium.org>
33495 Introduce a new ResourceRequest::TargetType for XHRs
33496 https://bugs.webkit.org/show_bug.cgi?id=65544
33498 Reviewed by Darin Fisher.
33500 * public/WebURLRequest.h:
33502 2011-08-04 Jochen Eisinger <jochen@chromium.org>
33504 Get rid of ResourceRequestBase::m_targetType. Move it to chromium's ResourceRequest.
33505 https://bugs.webkit.org/show_bug.cgi?id=48483
33507 Reviewed by Alexey Proskuryakov.
33509 * src/SharedWorkerRepository.cpp:
33510 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
33512 2011-08-04 Brian Weinstein <bweinstein@apple.com>
33514 WebKit2: Web Inspector always starts in undocked mode
33515 https://bugs.webkit.org/show_bug.cgi?id=65493
33516 <rdar://problem/9353114>
33518 Reviewed by Adam Roben.
33520 Add a stub method for Chromium.
33522 * src/InspectorFrontendClientImpl.cpp:
33523 (WebKit::InspectorFrontendClientImpl::canAttachWindow):
33524 * src/InspectorFrontendClientImpl.h:
33526 2011-08-03 Kentaro Hara <haraken@google.com>
33528 Implement EventSender.scalePageBy()
33529 https://bugs.webkit.org/show_bug.cgi?id=58013
33531 Reviewed by Darin Fisher.
33533 Implemented EventSender.scalePageBy(f, x, y), which scales a page by a factor of f
33534 and then sets a scroll position to (x, y). Enabled the tests that had been waiting
33535 for the implementation of EventSender.scalePageBy(f, x, y).
33537 Tests: compositing/scaling/tiled-layer-recursion.html
33538 fast/repaint/scale-page-shrink.html
33539 fast/dom/Element/scale-page-client-rects.html
33540 fast/dom/Range/scale-page-client-rects.html
33541 fast/events/scroll-in-scaled-page-with-overflow-hidden.html
33542 fast/dom/Element/scale-page-bounding-client-rect.html
33543 fast/dom/Range/scale-page-bounding-client-rect.html
33545 * public/WebView.h:
33546 * src/WebViewImpl.cpp:
33547 (WebKit::WebViewImpl::scalePage): A wrapper method for scalePage() in WebCore.
33548 * src/WebViewImpl.h:
33550 2011-08-03 Darin Fisher <darin@chromium.org>
33552 [Chromium] Rename WEBKIT_API to WEBKIT_EXPORT.
33553 https://bugs.webkit.org/show_bug.cgi?id=65649
33555 Reviewed by Adam Barth.
33558 * public/WebAccessibilityCache.h:
33559 * public/WebAccessibilityObject.h:
33560 * public/WebArrayBufferView.h:
33561 * public/WebAttribute.h:
33562 * public/WebAudioBus.h:
33563 * public/WebBindings.h:
33564 * public/WebBlobData.h:
33565 * public/WebBlobRegistry.h:
33566 * public/WebCString.h:
33567 * public/WebCache.h:
33568 * public/WebColor.h:
33569 * public/WebCommon.h:
33570 * public/WebCrossOriginPreflightResultCache.h:
33571 * public/WebDOMEvent.h:
33572 * public/WebDOMEventListener.h:
33573 * public/WebDOMMouseEvent.h:
33574 * public/WebDOMMutationEvent.h:
33575 * public/WebDOMStringList.h:
33576 * public/WebData.h:
33577 * public/WebDatabase.h:
33578 * public/WebDevToolsAgent.h:
33579 * public/WebDevToolsFrontend.h:
33580 * public/WebDeviceOrientationClientMock.h:
33581 * public/WebDeviceOrientationController.h:
33582 * public/WebDocument.h:
33583 * public/WebDocumentType.h:
33584 * public/WebDragData.h:
33585 * public/WebElement.h:
33586 * public/WebFont.h:
33587 * public/WebFontCache.h:
33588 * public/WebFormControlElement.h:
33589 * public/WebFormElement.h:
33590 * public/WebFrame.h:
33591 * public/WebGeolocationClientMock.h:
33592 * public/WebGeolocationController.h:
33593 * public/WebGeolocationError.h:
33594 * public/WebGeolocationPermissionRequest.h:
33595 * public/WebGeolocationPermissionRequestManager.h:
33596 * public/WebGeolocationPosition.h:
33597 * public/WebGlyphCache.h:
33598 * public/WebHTTPBody.h:
33599 * public/WebHTTPLoadInfo.h:
33600 * public/WebHistoryItem.h:
33601 * public/WebIDBDatabaseError.h:
33602 * public/WebIDBFactory.h:
33603 * public/WebIDBKey.h:
33604 * public/WebIDBKeyPath.h:
33605 * public/WebIDBKeyRange.h:
33606 * public/WebImage.h:
33607 * public/WebImageDecoder.h:
33608 * public/WebInputElement.h:
33609 * public/WebInputEvent.h:
33611 * public/WebLabelElement.h:
33612 * public/WebMediaElement.h:
33613 * public/WebNamedNodeMap.h:
33614 * public/WebNetworkStateNotifier.h:
33615 * public/WebNode.h:
33616 * public/WebNodeCollection.h:
33617 * public/WebNodeList.h:
33618 * public/WebNotification.h:
33619 * public/WebOptionElement.h:
33620 * public/WebPageSerializer.h:
33621 * public/WebPasswordFormData.h:
33622 * public/WebPerformance.h:
33623 * public/WebPluginDocument.h:
33624 * public/WebPopupMenu.h:
33625 * public/WebRange.h:
33626 * public/WebRegularExpression.h:
33627 * public/WebRuntimeFeatures.h:
33628 * public/WebScriptController.h:
33629 * public/WebScrollbar.h:
33630 * public/WebSearchableFormData.h:
33631 * public/WebSecurityOrigin.h:
33632 * public/WebSecurityPolicy.h:
33633 * public/WebSelectElement.h:
33634 * public/WebSerializedScriptValue.h:
33635 * public/WebSharedWorker.h:
33636 * public/WebSpeechInputControllerMock.h:
33637 * public/WebSpeechInputResult.h:
33638 * public/WebStorageEventDispatcher.h:
33639 * public/WebStorageNamespace.h:
33640 * public/WebString.h:
33641 * public/WebTestingSupport.h:
33642 * public/WebThreadSafeData.h:
33643 * public/WebURLLoadTiming.h:
33644 * public/WebURLRequest.h:
33645 * public/WebURLResponse.h:
33646 * public/WebView.h:
33647 * public/WebWorker.h:
33648 * public/gtk/WebFontInfo.h:
33649 * public/gtk/WebInputEventFactory.h:
33650 * public/linux/WebFontRenderStyle.h:
33651 * public/linux/WebFontRendering.h:
33652 * public/linux/WebRenderTheme.h:
33653 * public/mac/WebInputEventFactory.h:
33654 * public/mac/WebScreenInfoFactory.h:
33655 * public/mac/WebSubstringUtil.h:
33656 * public/win/WebInputEventFactory.h:
33657 * public/win/WebScreenInfoFactory.h:
33658 * public/x11/WebScreenInfoFactory.h:
33659 * tests/WebUnitTests.h:
33661 2011-08-03 Michael Nordman <michaeln@google.com>
33663 [Chromium] Minor cleanup, remove a deprecated method.
33664 The old WebDatabase::updateDatabaseSize method has been replaced with
33665 updateDatabaseSize, updateSpaceAvailable, and resetSpaceAvailable.
33666 https://bugs.webkit.org/show_bug.cgi?id=65553
33668 Reviewed by Adam Barth.
33670 * public/WebDatabase.h:
33671 * src/WebDatabase.cpp:
33673 2011-08-03 Pavel Feldman <pfeldman@google.com>
33675 Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
33676 https://bugs.webkit.org/show_bug.cgi?id=65510
33678 Reviewed by Yury Semikhatsky.
33680 * src/WebDevToolsAgentImpl.cpp:
33681 (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
33683 2011-08-03 Jeremy Moskovich <jeremy@chromium.org>
33685 [Chromium] Fix OOP font loading to work on 10.6.6 and above.
33686 https://bugs.webkit.org/show_bug.cgi?id=65543
33688 In 10.6.6 the function used to get the unique ID for an NSFont in the
33689 renderer was changed so it fails in the sandbox (it now tries to access
33690 the on-disk font file). In order to work around this, we get the font
33691 ID from the browser process.
33693 To speed things up, we introduce 2 levels of caching in WebKit. A font
33694 name cache where we can perform a quick lookup without the need for the
33695 font id and a font id cache which we can only lookup in after getting
33696 the unique ID from the browser process.
33698 Reviewed by Kenneth Russell.
33700 No new tests since this is not readily testable.
33702 * public/mac/WebSandboxSupport.h: Plumb font ID parameter through.
33703 * src/PlatformBridge.cpp:
33704 (WebCore::PlatformBridge::loadFont): ditto.
33706 2011-08-03 Pavel Feldman <pfeldman@chromium.org>
33708 Web Inspector: remove Node parameter from the InspectorClient::highlight
33709 https://bugs.webkit.org/show_bug.cgi?id=65549
33711 Reviewed by Yury Semikhatsky.
33713 * src/InspectorClientImpl.cpp:
33714 (WebKit::InspectorClientImpl::highlight):
33715 * src/InspectorClientImpl.h:
33716 * src/WebDevToolsAgentImpl.cpp:
33717 (WebKit::WebDevToolsAgentImpl::highlight):
33718 * src/WebDevToolsAgentImpl.h:
33720 2011-08-02 David Reveman <reveman@chromium.org>
33722 [Chromium] Remove outer border from TilingData as it's no longer needed by layer compositor for anti-aliasing.
33723 https://bugs.webkit.org/show_bug.cgi?id=64942
33725 Reviewed by James Robinson.
33727 * tests/TilingDataTest.cpp:
33730 2011-08-02 Robert Kroeger <rjkroege@chromium.org>
33732 [chromium] Layering violations in gesture recognizer
33733 https://bugs.webkit.org/show_bug.cgi?id=65044
33735 Reviewed by Adam Barth.
33737 Moved gesture recognition higher up the event delivery code
33738 path so that recognition of gestures is completely separated
33739 from gesture handling.
33742 * src/WebFrameImpl.cpp:
33743 (WebKit::WebFrameImpl::createFrameView):
33744 Added code to reset the gesture recognizer to preserve parallel
33745 layout test execution.
33746 * src/WebPopupMenuImpl.cpp:
33747 Support dispatching touch and gesture events to Popups.
33748 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
33749 (WebKit::WebPopupMenuImpl::TouchEvent):
33750 (WebKit::WebPopupMenuImpl::handleInputEvent):
33751 * src/WebPopupMenuImpl.h:
33752 * src/WebViewImpl.cpp:
33753 (WebKit::WebViewImpl::WebViewImpl):
33754 Added gesture recognition creation.
33755 (WebKit::WebViewImpl::touchEvent):
33756 Added recognition of gestures and dispatch of gesture events.
33757 (WebKit::WebViewImpl::resetGestureRecognizer):
33758 * src/WebViewImpl.h:
33760 2011-08-02 Zhenyao Mo <zmo@google.com>
33762 Unreviewed, mark SelectPopupMenuTest.SelectItemKeyEvent as flaky, gardener stuff.
33764 * tests/PopupMenuTest.cpp:
33767 2011-08-02 Vsevolod Vlasov <vsevik@chromium.org>
33769 Web Inspector: Remove initator column for JSC, fix network resource initiator tests.
33770 https://bugs.webkit.org/show_bug.cgi?id=65534
33772 Reviewed by Pavel Feldman.
33774 * src/js/DevTools.js:
33777 2011-08-02 Nat Duca <nduca@chromium.org>
33779 [chromium] Remove resizeOnscreenContent from LRC. It can be derived.
33780 https://bugs.webkit.org/show_bug.cgi?id=65519
33782 Reviewed by James Robinson.
33784 * src/WebViewImpl.cpp:
33785 (WebKit::WebViewImpl::resize):
33786 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
33788 2011-08-01 Jean-luc Brouillet <jeanluc@chromium.org>
33790 Removing old source files in gyp files that slow build
33791 https://bugs.webkit.org/show_bug.cgi?id=65503
33793 Reviewed by Adam Barth.
33795 A number of stale files are listed in the gyp files. These slow the
33796 build on Visual Studio 2010. Removing them.
33800 2011-08-01 Nat Duca <nduca@chromium.org>
33802 [chromium] Add null check to setSwapbuffersCompletCallbackChromium
33803 https://bugs.webkit.org/show_bug.cgi?id=65485
33805 Reviewed by James Robinson.
33807 * src/GraphicsContext3DChromium.cpp:
33808 (WebCore::SwapBuffersCompleteCallbackAdapter::create):
33810 2011-08-01 Yuta Kitamura <yutak@chromium.org>
33812 WebSocket: Rename SocketStreamHandleClient member functions
33813 https://bugs.webkit.org/show_bug.cgi?id=65374
33815 Reviewed by Kent Tamura.
33817 * src/SocketStreamHandle.cpp:
33818 (WebCore::SocketStreamHandleInternal::didOpenStream):
33819 (WebCore::SocketStreamHandleInternal::didReceiveData):
33820 (WebCore::SocketStreamHandleInternal::didClose):
33821 (WebCore::SocketStreamHandleInternal::didFail):
33823 2011-07-31 Bill Budge <bbudge@chromium.org>
33825 [Chromium] Remove the parameterless WebFrame::createAssociatedURLLoader
33826 overload, and change the overload that takes WebURLLoaderOptions to
33827 use a default value. This is equivalent to the original parameterless
33829 https://bugs.webkit.org/show_bug.cgi?id=65280
33831 Reviewed by Darin Fisher.
33833 * public/WebFrame.h:
33834 * src/AssociatedURLLoader.cpp:
33835 * src/AssociatedURLLoader.h:
33836 * src/WebFrameImpl.cpp:
33837 * src/WebFrameImpl.h:
33839 2011-07-30 Sheriff Bot <webkit.review.bot@gmail.com>
33841 Unreviewed. Rolled DEPS.
33845 2011-07-30 Patrick Gansterer <paroga@webkit.org>
33847 Remove inclusion of MainThread.h from Threading.h
33848 https://bugs.webkit.org/show_bug.cgi?id=65081
33850 Reviewed by Darin Adler.
33852 Add missing include statements for MainThread.
33855 * src/WebViewImpl.cpp:
33856 * tests/CCThreadTest.cpp:
33858 2011-07-29 Zhenyao Mo <zmo@google.com>
33860 Unreviewed, rolling out r92011.
33861 http://trac.webkit.org/changeset/92011
33862 https://bugs.webkit.org/show_bug.cgi?id=65044
33864 break chromium win build
33867 * src/WebFrameImpl.cpp:
33868 (WebKit::WebFrameImpl::createFrameView):
33869 * src/WebPopupMenuImpl.cpp:
33870 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
33871 (WebKit::WebPopupMenuImpl::handleInputEvent):
33872 * src/WebPopupMenuImpl.h:
33873 * src/WebViewImpl.cpp:
33874 (WebKit::WebViewImpl::WebViewImpl):
33875 (WebKit::WebViewImpl::touchEvent):
33876 * src/WebViewImpl.h:
33878 2011-07-29 Robert Kroeger <rjkroege@chromium.org>
33880 [chromium] Layering violations in gesture recognizer
33881 https://bugs.webkit.org/show_bug.cgi?id=65044
33883 Reviewed by Adam Barth.
33885 Moved gesture recognition higher up the event delivery code
33886 path so that recognition of gestures is completely separated
33887 from gesture handling.
33890 * src/WebFrameImpl.cpp:
33891 (WebKit::WebFrameImpl::createFrameView):
33892 Added code to reset the gesture recognizer to preserve parallel
33893 layout test execution.
33894 * src/WebPopupMenuImpl.cpp:
33895 Support dispatching touch and gesture events to Popups.
33896 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
33897 (WebKit::WebPopupMenuImpl::TouchEvent):
33898 (WebKit::WebPopupMenuImpl::handleInputEvent):
33899 * src/WebPopupMenuImpl.h:
33900 * src/WebViewImpl.cpp:
33901 (WebKit::WebViewImpl::WebViewImpl):
33902 Added gesture recognition creation.
33903 (WebKit::WebViewImpl::touchEvent):
33904 Added recognition of gestures and dispatch of gesture events.
33905 (WebKit::WebViewImpl::resetGestureRecognizer):
33906 * src/WebViewImpl.h:
33908 2011-07-29 Scott Byer <scottbyer@chromium.org>
33910 Scroll animation refinements.
33911 https://bugs.webkit.org/show_bug.cgi?id=65154
33913 Reviewed by Adam Barth.
33915 Fix scroll animation bugs when scrolling to the ends of a document. Smooth over slow event repeat rates
33916 better. Fix tests to allow for unit testing of scrolling up and not just down.
33918 Additional unit tests added to ScrollAnimatorNoneTest:
33919 ScrollQuadraticSmoothed, ScrollLotsQuadraticSmoothed, ScrollDownToBumper, ScrollUpToBumper
33921 * tests/ScrollAnimatorNoneTest.cpp:
33922 (ScrollAnimatorNoneTest::reset):
33923 (ScrollAnimatorNoneTest::updateDataFromParameters):
33924 (ScrollAnimatorNoneTest::animateScroll):
33925 (ScrollAnimatorNoneTest::checkDesiredPosition):
33926 (ScrollAnimatorNoneTest::checkSoftLanding):
33928 2011-07-28 Naoki Takano <honten@chromium.org>
33930 [Chromium] Add form() function to access parent WebFormElement from WebFormControlElement.
33931 https://bugs.webkit.org/show_bug.cgi?id=65304
33932 http://code.google.com/p/chromium/issues/detail?id=63553
33934 Reviewed by Darin Fisher.
33936 Chromium Autofill feature needs to access the parent WebFormElement from WebFormControlElement. So added form() method.
33938 * public/WebFormControlElement.h: Add form() function.
33939 * src/WebFormControlElement.cpp:
33940 (WebKit::WebFormControlElement::form): Return parent WebFormElement.
33942 2011-07-28 Nico Weber <thakis@chromium.org>
33944 [chromium] Make WebImage::assign(CGImageRef) a WEBKIT_API
33945 https://bugs.webkit.org/show_bug.cgi?id=65265
33947 Reviewed by James Robinson.
33949 Required for the components build on mac. The inline function
33950 operator=(CGImageRef) is used from outside webkit, and calls this
33953 * public/WebImage.h:
33955 2011-07-28 Mihai Parparita <mihaip@chromium.org>
33957 [Chromium] Remove WebDocument::insertStyleText
33958 https://bugs.webkit.org/show_bug.cgi?id=65332
33960 Reviewed by Tony Chang.
33962 As of http://crrev.com/94499 no Chromium code calls this anymore.
33963 Also does a bit of #include cleanup.
33965 * public/WebDocument.h:
33966 * src/WebDocument.cpp:
33968 2011-07-27 Fady Samuel <fsamuel@chromium.org>
33970 Added a Chromium WebKit API method to set the minimum row height of a popup listbox.
33971 https://bugs.webkit.org/show_bug.cgi?id=64897
33973 Reviewed by Darin Fisher.
33975 * public/WebPopupMenu.h:
33976 * src/WebPopupMenuImpl.cpp:
33977 (WebKit::WebPopupMenu::setMinimumRowHeight):
33979 2011-07-27 Peng Huang <penghuang@chromium.org>
33981 Add more text input types for chromium
33982 https://bugs.webkit.org/show_bug.cgi?id=64937
33984 Reviewed by Darin Fisher.
33986 * public/WebTextInputType.h:
33987 * src/WebViewImpl.cpp:
33988 (WebKit::WebViewImpl::textInputType):
33990 2011-07-27 Ryosuke Niwa <rniwa@webkit.org>
33992 Add sfntly library to the Chromium DEPS file.
33996 2011-07-27 Ryosuke Niwa <rniwa@webkit.org>
33998 Unreviewed. Rolled DEPS.
34002 2011-07-25 Mihai Parparita <mihaip@chromium.org>
34004 [Chromium] Add better WebKit API for chrome.tabs.insertCSS extension API
34005 https://bugs.webkit.org/show_bug.cgi?id=65158
34007 Reviewed by David Hyatt.
34009 Add WebDocument::insertUserStyleSheet which inserts a user stylesheet,
34010 instead of forcing extensions to use insertStyleText which manipulates
34011 the DOM of the page and results in compatibility issues (see
34012 http://crbug.com/82220).
34014 * public/WebDocument.h:
34015 * src/WebDocument.cpp:
34016 (WebKit::WebDocument::insertUserStyleSheet):
34018 2011-07-27 Vsevolod Vlasov <vsevik@chromium.org>
34020 Web Inspector: Disable cache option should only clear memory cache, not disable it.
34021 https://bugs.webkit.org/show_bug.cgi?id=65184
34023 Reviewed by Pavel Feldman.
34025 * src/InspectorClientImpl.cpp:
34026 * src/InspectorClientImpl.h:
34027 * src/WebDevToolsAgentImpl.cpp:
34028 * src/WebDevToolsAgentImpl.h:
34030 2011-07-27 Sadrul Habib Chowdhury <sadrul@chromium.org>
34032 Pass on the suggested name for download file to the client.
34033 https://bugs.webkit.org/show_bug.cgi?id=65181
34035 Reviewed by Darin Fisher.
34037 * src/FrameLoaderClientImpl.cpp:
34038 (WebKit::FrameLoaderClientImpl::startDownload):
34040 2011-07-27 Tony Gentilcore <tonyg@chromium.org>
34042 Speculative win build fix after r91835
34043 https://bugs.webkit.org/show_bug.cgi?id=65255
34045 Unreviewed build fix.
34047 * src/WebFontImpl.cpp:
34049 2011-07-26 Sheriff Bot <webkit.review.bot@gmail.com>
34051 Unreviewed, rolling out r91809.
34052 http://trac.webkit.org/changeset/91809
34053 https://bugs.webkit.org/show_bug.cgi?id=65225
34055 Does not build on Chromium Windows (Requested by abarth on
34059 * src/WebFrameImpl.cpp:
34060 (WebKit::WebFrameImpl::createFrameView):
34061 * src/WebPopupMenuImpl.cpp:
34062 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
34063 (WebKit::WebPopupMenuImpl::handleInputEvent):
34064 * src/WebPopupMenuImpl.h:
34065 * src/WebViewImpl.cpp:
34066 (WebKit::WebViewImpl::WebViewImpl):
34067 (WebKit::WebViewImpl::touchEvent):
34068 * src/WebViewImpl.h:
34070 2011-07-26 Robert Kroeger <rjkroege@chromium.org>
34072 [chromium] Layering violations in gesture recognizer
34073 https://bugs.webkit.org/show_bug.cgi?id=65044
34075 Reviewed by Adam Barth.
34077 Moved gesture recognition higher up the event delivery code
34078 path so that recognition of gestures is completely separated
34079 from gesture handling.
34082 * src/WebFrameImpl.cpp:
34083 (WebKit::WebFrameImpl::createFrameView):
34084 Added code to reset the gesture recognizer to preserve parallel
34085 layout test execution.
34086 * src/WebPopupMenuImpl.cpp:
34087 Support dispatching touch and gesture events to Popups.
34088 (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
34089 (WebKit::WebPopupMenuImpl::TouchEvent):
34090 (WebKit::WebPopupMenuImpl::handleInputEvent):
34091 * src/WebPopupMenuImpl.h:
34092 * src/WebViewImpl.cpp:
34093 (WebKit::WebViewImpl::WebViewImpl):
34094 Added gesture recognition creation.
34095 (WebKit::WebViewImpl::touchEvent):
34096 Added recognition of gestures and dispatch of gesture events.
34097 (WebKit::WebViewImpl::resetGestureRecognizer):
34098 * src/WebViewImpl.h:
34100 2011-07-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
34102 Add support for download='filename' attribute in anchors.
34103 https://bugs.webkit.org/show_bug.cgi?id=64580
34105 Reviewed by Adam Barth.
34108 * public/WebFrameClient.h:
34109 (WebKit::WebFrameClient::loadURLExternally):
34110 * src/FrameLoaderClientImpl.cpp:
34111 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
34112 (WebKit::FrameLoaderClientImpl::startDownload):
34113 * src/FrameLoaderClientImpl.h:
34115 2011-07-26 Brett Wilson <brettw@chromium.org>
34117 Cancel the load when an associated URL loader goes out of scope.
34118 Previously, the load would continue even when the WebURLLoader object
34119 was deleted, and the data would just get queued up.
34121 https://bugs.webkit.org/show_bug.cgi?id=65204
34123 Reviewed by Darin Fisher.
34125 * src/AssociatedURLLoader.cpp:
34126 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
34127 (WebKit::AssociatedURLLoader::cancel):
34129 2011-07-25 Al Patrick <apatrick@chromium.org>
34131 Removed support for the GL_latch_CHROMIUM extension which Chromium no longer supports.
34132 https://bugs.webkit.org/show_bug.cgi?id=65043
34134 Reviewed by James Robinson.
34136 * public/WebGraphicsContext3D.h:
34137 * src/Extensions3DChromium.cpp:
34138 * src/GraphicsContext3DChromium.cpp:
34139 * src/GraphicsContext3DInternal.h:
34141 2011-07-25 Nico Weber <thakis@chromium.org>
34143 [chromium] Don't link in both libjpeg and libjpeg_turbo in the components build
34144 https://bugs.webkit.org/show_bug.cgi?id=65138
34146 Reviewed by James Robinson.
34150 2011-07-25 Chris Rogers <crogers@google.com>
34152 Update Chromium DRT to output binary (instead of base64-encoded) data for web audio testing
34153 https://bugs.webkit.org/show_bug.cgi?id=65039
34155 Reviewed by Tony Chang.
34158 * public/WebArrayBufferView.h: Added.
34159 (WebKit::WebArrayBufferView::~WebArrayBufferView):
34160 (WebKit::WebArrayBufferView::WebArrayBufferView):
34161 * public/WebBindings.h:
34162 * src/WebArrayBufferView.cpp: Added.
34163 (WebKit::WebArrayBufferView::assign):
34164 (WebKit::WebArrayBufferView::reset):
34165 (WebKit::WebArrayBufferView::baseAddress):
34166 (WebKit::WebArrayBufferView::byteOffset):
34167 (WebKit::WebArrayBufferView::byteLength):
34168 (WebKit::WebArrayBufferView::WebArrayBufferView):
34169 (WebKit::WebArrayBufferView::operator=):
34170 (WebKit::WebArrayBufferView::operator PassRefPtr<ArrayBufferView>):
34171 * src/WebBindings.cpp:
34172 (WebKit::getArrayBufferViewImpl):
34173 (WebKit::WebBindings::getArrayBufferView):
34175 2011-07-23 Alok Priyadarshi <alokp@chromium.org>
34177 Switching off acceleration for small canvas broke gpu tests
34178 https://bugs.webkit.org/show_bug.cgi?id=65053
34180 Reviewed by Stephen White.
34182 * public/WebSettings.h:
34183 * src/WebSettingsImpl.cpp:
34184 (WebKit::WebSettingsImpl::setMinimumAccelerated2dCanvasSize):
34185 * src/WebSettingsImpl.h:
34187 2011-07-23 Yuta Kitamura <yutak@chromium.org>
34189 [Chromium] Turn on new WebSocket protocol in worker shadow page
34190 https://bugs.webkit.org/show_bug.cgi?id=64852
34192 Reviewed by Dmitry Titov.
34194 * src/WebWorkerBase.cpp:
34195 (WebKit::WebWorkerBase::initializeLoader):
34196 Initialize the value of WebCore::Settings::useHixie76WebSocketProtocol()
34197 for a new shadow page. The default value of this flag is overridden through
34198 WebPreferences (located in webkit/glue in Chromium source tree) but a shadow
34199 page does not receive the preference values from it.
34201 2011-07-22 James Robinson <jamesr@chromium.org>
34203 [chromium] Remove code that attempted to explicitly sync compositing state before compositing
34204 https://bugs.webkit.org/show_bug.cgi?id=65055
34206 Reviewed by Kenneth Russell.
34208 There was some logic in WebViewImpl to try to synchronously calculate compositing requirements and sync
34209 compositing state on all frames before painting in an attempt to flush out all pending updates before entering
34210 the composite routines. The idea behind this code was that it would allow us to not worry about compositing
34211 turning off in the middle of a composite operation due to things like RenderLayer overlap being lazily
34212 calculated. In practice, we still need to be defensive to compositing requirements updating during the
34213 composite anyway and this code is quite expensive on some pages (10ms+ on the HTML specification on my box).
34215 * src/WebViewImpl.cpp:
34216 (WebKit::WebViewImpl::layout):
34217 * src/WebViewImpl.h:
34219 2011-07-22 Cris Neckar <cdn@chromium.org>
34221 Hook v8 up to cryptographicallyRandomValues as an entropy source.
34222 https://bugs.webkit.org/show_bug.cgi?id=64887
34224 Reviewed by Adam Barth.
34226 * public/WebKitClient.h:
34228 (WebKit::generateEntropy):
34229 (WebKit::initialize):
34231 2011-07-22 Andrew Scherkus <scherkus@chromium.org>
34233 Remove surfaceType() and texture() methods from Chromium video frame classes.
34234 https://bugs.webkit.org/show_bug.cgi?id=64818
34236 Reviewed by Kenneth Russell.
34238 * public/WebVideoFrame.h:
34239 * src/AssertMatchingEnums.cpp:
34240 * src/VideoFrameChromiumImpl.cpp:
34241 * src/VideoFrameChromiumImpl.h:
34243 2011-07-22 Ryosuke Niwa <rniwa@webkit.org>
34245 Unreviewed. Rolled DEPS.
34249 2011-07-22 Ryosuke Niwa <rniwa@webkit.org>
34251 Revert r91510 due to Chromium debug test failures.
34254 (WebKit::initialize):
34256 2011-07-20 Cris Neckar <cdn@chromium.org>
34258 Hook v8 up to cryptographicallyRandomValues as an entropy source.
34259 https://bugs.webkit.org/show_bug.cgi?id=64887
34261 Reviewed by Adam Barth.
34264 (WebKit::generateEntropy):
34265 (WebKit::initialize):
34267 2011-07-21 Vsevolod Vlasov <vsevik@chromium.org>
34269 [Chromium DevTools] Remove unused method setAgentIdentifierPrefix from WebDevToolAgent.
34270 https://bugs.webkit.org/show_bug.cgi?id=64793
34272 Reviewed by Pavel Feldman.
34274 * public/WebDevToolsAgent.h:
34275 * src/WebDevToolsAgentImpl.cpp:
34276 * src/WebDevToolsAgentImpl.h:
34278 2011-07-21 Ryosuke Niwa <rniwa@webkit.org>
34280 Unreviewed. Rolled DEPS.
34284 2011-07-20 Al Patrick <apatrick@chromium.org>
34286 Set the parent context to that of the associated view when calling GraphicsContext3DChromium::copyTextureToParentCHROMIUM.
34287 This fixes a race condition whereby the view window does not exist when the offscreen context is created. It allows
34288 accelerated 2D canvases to be added to newly created window.
34289 https://bugs.webkit.org/show_bug.cgi?id=64905
34291 Reviewed by James Robinson.
34293 * src/GraphicsContext3DChromium.cpp:
34294 (WebCore::GraphicsContext3DInternal::copyTextureToParentTextureCHROMIUM):
34296 2011-07-19 Vsevolod Vlasov <vsevik@chromium.org>
34298 Web Inspector: Add support for disabling cache in web inspector.
34299 https://bugs.webkit.org/show_bug.cgi?id=64097
34301 Reviewed by Pavel Feldman.
34303 * src/InspectorClientImpl.cpp:
34304 (WebKit::InspectorClientImpl::setCacheDisabled):
34305 * src/InspectorClientImpl.h:
34306 * src/WebDevToolsAgentImpl.cpp:
34307 (WebKit::WebDevToolsAgentImpl::setCacheDisabled):
34308 * src/WebDevToolsAgentImpl.h:
34309 * src/js/DevTools.js:
34312 2011-07-20 Peter Kasting <pkasting@google.com>
34314 Remove "const" from obviously-non-const accessors
34315 https://bugs.webkit.org/show_bug.cgi?id=62302
34317 Reviewed by Darin Adler.
34319 * public/WebElement.h:
34320 * src/WebElement.cpp:
34321 (WebKit::WebElement::innerText): Not const due to call to newly-non-const Element::innerText().
34322 * src/WebSearchableFormData.cpp: Use non-const Node*s for code that calls newly non-const accessors.
34323 (HTMLNames::IsSelectInDefaultState):
34324 (HTMLNames::IsInDefaultState):
34325 * src/WebViewImpl.cpp: Use non-const Node*s for code that calls newly non-const accessors.
34326 (WebKit::WebViewImpl::setComposition):
34327 (WebKit::WebViewImpl::confirmComposition):
34328 (WebKit::WebViewImpl::textInputType):
34330 2011-07-20 Ilya Sherman <isherman@chromium.org>
34332 Remove TODO in WebNode.h from a two-sided patch that has now landed
34333 https://bugs.webkit.org/show_bug.cgi?id=64840
34335 Reviewed by Darin Fisher.
34337 * public/WebNode.h:
34339 2011-07-20 Glen Shires <gshires@google.com>
34341 Bug 64625: Add isSpeechInputEnabled flag to WebContextMenuData.
34342 https://bugs.webkit.org/show_bug.cgi?id=64625
34344 Reviewed by Darin Fisher.
34346 * public/WebContextMenuData.h:
34347 (WebKit::WebContextMenuData::WebContextMenuData): added flag isSpeechInputEnabled
34348 * src/ContextMenuClientImpl.cpp:
34349 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): set flag isSpeechInputEnabled
34351 2011-07-20 Andrey Kosyakov <caseq@chromium.org>
34353 Web Inspector: move Network log view to an iframe
34354 https://bugs.webkit.org/show_bug.cgi?id=62006
34356 Reviewed by Pavel Feldman.
34360 2011-07-19 Ryosuke Niwa <rniwa@webkit.org>
34362 Unreviewed. Rolled DEPS.
34366 2011-07-19 Dominic Mazzoni <dmazzoni@google.com>
34368 Adds some methods to retrieve accessible information from tables and
34369 table cells. Also refactors WebAccessibilityObject to use WebPrivatePtr
34370 instead of its own implementation that didn't allow access to subclasses
34371 of AccessibilityObject.
34372 https://bugs.webkit.org/show_bug.cgi?id=64805
34374 Reviewed by Dimitri Glazkov.
34376 * public/WebAccessibilityObject.h:
34377 (WebKit::WebAccessibilityObject::WebAccessibilityObject):
34378 (WebKit::WebAccessibilityObject::isNull):
34379 * src/WebAccessibilityObject.cpp:
34380 (WebKit::WebAccessibilityObject::reset):
34381 (WebKit::WebAccessibilityObject::assign):
34382 (WebKit::WebAccessibilityObject::equals):
34383 (WebKit::WebAccessibilityObject::accessibilityDescription):
34384 (WebKit::WebAccessibilityObject::actionVerb):
34385 (WebKit::WebAccessibilityObject::canSetFocusAttribute):
34386 (WebKit::WebAccessibilityObject::canSetValueAttribute):
34387 (WebKit::WebAccessibilityObject::isValid):
34388 (WebKit::WebAccessibilityObject::childCount):
34389 (WebKit::WebAccessibilityObject::childAt):
34390 (WebKit::WebAccessibilityObject::firstChild):
34391 (WebKit::WebAccessibilityObject::focusedChild):
34392 (WebKit::WebAccessibilityObject::lastChild):
34393 (WebKit::WebAccessibilityObject::nextSibling):
34394 (WebKit::WebAccessibilityObject::parentObject):
34395 (WebKit::WebAccessibilityObject::previousSibling):
34396 (WebKit::WebAccessibilityObject::canSetSelectedAttribute):
34397 (WebKit::WebAccessibilityObject::isAnchor):
34398 (WebKit::WebAccessibilityObject::isChecked):
34399 (WebKit::WebAccessibilityObject::isCollapsed):
34400 (WebKit::WebAccessibilityObject::isFocused):
34401 (WebKit::WebAccessibilityObject::isEnabled):
34402 (WebKit::WebAccessibilityObject::isHovered):
34403 (WebKit::WebAccessibilityObject::isIndeterminate):
34404 (WebKit::WebAccessibilityObject::isLinked):
34405 (WebKit::WebAccessibilityObject::isMultiSelectable):
34406 (WebKit::WebAccessibilityObject::isOffScreen):
34407 (WebKit::WebAccessibilityObject::isPasswordField):
34408 (WebKit::WebAccessibilityObject::isPressed):
34409 (WebKit::WebAccessibilityObject::isReadOnly):
34410 (WebKit::WebAccessibilityObject::isSelected):
34411 (WebKit::WebAccessibilityObject::isVisible):
34412 (WebKit::WebAccessibilityObject::isVisited):
34413 (WebKit::WebAccessibilityObject::boundingBoxRect):
34414 (WebKit::WebAccessibilityObject::helpText):
34415 (WebKit::WebAccessibilityObject::headingLevel):
34416 (WebKit::WebAccessibilityObject::hitTest):
34417 (WebKit::WebAccessibilityObject::keyboardShortcut):
34418 (WebKit::WebAccessibilityObject::performDefaultAction):
34419 (WebKit::WebAccessibilityObject::roleValue):
34420 (WebKit::WebAccessibilityObject::selectionEnd):
34421 (WebKit::WebAccessibilityObject::selectionStart):
34422 (WebKit::WebAccessibilityObject::setFocused):
34423 (WebKit::WebAccessibilityObject::stringValue):
34424 (WebKit::WebAccessibilityObject::title):
34425 (WebKit::WebAccessibilityObject::url):
34426 (WebKit::WebAccessibilityObject::node):
34427 (WebKit::WebAccessibilityObject::document):
34428 (WebKit::WebAccessibilityObject::hasComputedStyle):
34429 (WebKit::WebAccessibilityObject::computedStyleDisplay):
34430 (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
34431 (WebKit::WebAccessibilityObject::lineBreaks):
34432 (WebKit::WebAccessibilityObject::columnCount):
34433 (WebKit::WebAccessibilityObject::rowCount):
34434 (WebKit::WebAccessibilityObject::cellForColumnAndRow):
34435 (WebKit::WebAccessibilityObject::cellColumnIndex):
34436 (WebKit::WebAccessibilityObject::cellColumnSpan):
34437 (WebKit::WebAccessibilityObject::cellRowIndex):
34438 (WebKit::WebAccessibilityObject::cellRowSpan):
34439 (WebKit::WebAccessibilityObject::WebAccessibilityObject):
34440 (WebKit::WebAccessibilityObject::operator=):
34441 (WebKit::WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>):
34443 2011-07-19 Robert Sesek <rsesek@chromium.org>
34445 [Chromium] Need to remove app/ from DEPS
34446 https://bugs.webkit.org/show_bug.cgi?id=64750
34448 Reviewed by Tony Chang.
34450 Roll DEPS and remove dependencies on Chromium's /src/app.
34455 2011-07-19 Yury Semikhatsky <yurys@chromium.org>
34457 [Chromium] Web Inspector: add sanity test for shared worker inspector
34458 https://bugs.webkit.org/show_bug.cgi?id=64799
34460 Reviewed by Pavel Feldman.
34463 (.TestSuite.prototype.testSharedWorker):
34464 (.TestSuite.prototype.evaluateInConsole_):
34466 2011-07-19 Vsevolod Vlasov <vsevik@chromium.org>
34468 Web Inspector: Rename agentIdentifierPrefix to processId, move out from page agent and make static.
34469 https://bugs.webkit.org/show_bug.cgi?id=64729
34471 Reviewed by Pavel Feldman.
34473 * public/WebDevToolsAgent.h:
34474 * src/WebDevToolsAgentImpl.cpp:
34475 (WebKit::WebDevToolsAgentImpl::setAgentIdentifierPrefix):
34476 (WebKit::WebDevToolsAgentImpl::setProcessId):
34477 * src/WebDevToolsAgentImpl.h:
34479 2011-07-18 Sheriff Bot <webkit.review.bot@gmail.com>
34481 Unreviewed. Rolled DEPS.
34485 2011-07-18 James Robinson <jamesr@chromium.org>
34487 Timer scheduling should be based off the monotonic clock
34488 https://bugs.webkit.org/show_bug.cgi?id=64544
34490 Reviewed by Darin Adler.
34492 Renames setSharedTimerFireTime to setSharedTimerFireInterval to be consistent with WebCore.
34494 * public/WebKitClient.h:
34495 (WebKit::WebKitClient::setSharedTimerFireInterval):
34496 * src/PlatformBridge.cpp:
34497 (WebCore::PlatformBridge::setSharedTimerFireInterval):
34499 2011-07-18 Yuzhu Shen <yzshen@chromium.com>
34501 Reviewed by James Robinson.
34503 [chromium] WebFontImpl::drawText needs to handle the canvasIsOpaque input.
34504 https://bugs.webkit.org/show_bug.cgi?id=64555
34506 This change handles canvasIsOpaque for the WEBKIT_USING_SKIA case.
34508 * src/WebFontImpl.cpp: handled canvasIsOpaque.
34509 * src/WebFontImpl.h: added method declaration.
34511 2011-07-16 Simon Fraser <simon.fraser@apple.com>
34513 Add code to attempt to align compositing layers to pixel boundaries when page scale changes
34514 https://bugs.webkit.org/show_bug.cgi?id=64658
34516 Reviewed by Dan Bernstein.
34518 Removed implementations of backingScaleFactor() and pageScaleFactor() now
34519 that GraphicsLayerClient has default implementations.
34521 * src/PageOverlay.cpp:
34523 2011-07-15 Simon Fraser <simon.fraser@apple.com>
34525 Have GraphicsLayer pull their contentsScale, rather than pushing it onto them
34526 https://bugs.webkit.org/show_bug.cgi?id=64643
34528 Reviewed by Darin Adler.
34530 Impement new GraphicsLayerClient methods related to contents scale.
34532 * src/PageOverlay.cpp:
34533 (WebKit::OverlayGraphicsLayerClientImpl::backingScaleFactor):
34534 (WebKit::OverlayGraphicsLayerClientImpl::pageScaleFactor):
34536 2011-07-15 Sheriff Bot <webkit.review.bot@gmail.com>
34538 Unreviewed. Rolled DEPS.
34542 2011-07-15 Kenneth Russell <kbr@google.com>
34544 Don't restore WebGL context if it was guilty of a graphics reset
34545 https://bugs.webkit.org/show_bug.cgi?id=64497
34547 Reviewed by Stephen White.
34549 Actually implement getGraphicsResetStatusARB rather than inferring
34550 the status based on whether the context has been lost.
34552 * public/WebGraphicsContext3D.h:
34553 (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
34554 * src/Extensions3DChromium.cpp:
34555 (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
34556 * src/GraphicsContext3DChromium.cpp:
34557 * src/GraphicsContext3DInternal.h:
34559 2011-07-15 Dan Bernstein <mitz@apple.com>
34561 Chromium build fix.
34563 * src/WebPopupMenuImpl.cpp:
34564 (WebKit::WebPopupMenuImpl::setCursorHiddenUntilMouseMoves):
34565 * src/WebPopupMenuImpl.h:
34567 2011-07-15 Dan Bernstein <mitz@apple.com>
34569 REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
34570 https://bugs.webkit.org/show_bug.cgi?id=64615
34572 Reviewed by Anders Carlsson.
34574 * src/ChromeClientImpl.cpp:
34575 (WebKit::ChromeClientImpl::setCursorHiddenUntilMouseMoves): Added this stub.
34576 * src/ChromeClientImpl.h:
34578 2011-07-14 Ryosuke Niwa <rniwa@webkit.org>
34580 Rolled Chromium revision to 92606.
34584 2011-07-14 Ilya Sherman <isherman@chromium.org>
34586 Rename AutoFill -> Autofill and autoFill -> autofill
34587 https://bugs.webkit.org/show_bug.cgi?id=64333
34588 http://code.google.com/p/chromium/issues/detail?id=72758
34590 Reviewed by Darin Fisher.
34593 * public/WebAutofillClient.h:
34594 (WebKit::WebAutofillClient::didAcceptAutofillSuggestion):
34595 (WebKit::WebAutofillClient::didSelectAutofillSuggestion):
34596 (WebKit::WebAutofillClient::didClearAutofillSelection):
34597 (WebKit::WebAutofillClient::removeAutocompleteSuggestion):
34598 (WebKit::WebAutofillClient::textFieldDidBeginEditing):
34599 (WebKit::WebAutofillClient::textFieldDidEndEditing):
34600 (WebKit::WebAutofillClient::textFieldDidChange):
34601 (WebKit::WebAutofillClient::textFieldDidReceiveKeyDown):
34602 (WebKit::WebAutofillClient::~WebAutofillClient):
34603 * public/WebNode.h:
34604 * public/WebView.h:
34605 * src/AutofillPopupMenuClient.cpp:
34606 (WebKit::AutofillPopupMenuClient::AutofillPopupMenuClient):
34607 (WebKit::AutofillPopupMenuClient::~AutofillPopupMenuClient):
34608 (WebKit::AutofillPopupMenuClient::getSuggestionsCount):
34609 (WebKit::AutofillPopupMenuClient::getSuggestion):
34610 (WebKit::AutofillPopupMenuClient::getLabel):
34611 (WebKit::AutofillPopupMenuClient::getIcon):
34612 (WebKit::AutofillPopupMenuClient::removeSuggestionAtIndex):
34613 (WebKit::AutofillPopupMenuClient::canRemoveSuggestionAtIndex):
34614 (WebKit::AutofillPopupMenuClient::valueChanged):
34615 (WebKit::AutofillPopupMenuClient::selectionChanged):
34616 (WebKit::AutofillPopupMenuClient::selectionCleared):
34617 (WebKit::AutofillPopupMenuClient::itemText):
34618 (WebKit::AutofillPopupMenuClient::itemLabel):
34619 (WebKit::AutofillPopupMenuClient::itemIcon):
34620 (WebKit::AutofillPopupMenuClient::itemIsEnabled):
34621 (WebKit::AutofillPopupMenuClient::itemStyle):
34622 (WebKit::AutofillPopupMenuClient::menuStyle):
34623 (WebKit::AutofillPopupMenuClient::clientPaddingLeft):
34624 (WebKit::AutofillPopupMenuClient::clientPaddingRight):
34625 (WebKit::AutofillPopupMenuClient::popupDidHide):
34626 (WebKit::AutofillPopupMenuClient::itemIsSeparator):
34627 (WebKit::AutofillPopupMenuClient::itemIsWarning):
34628 (WebKit::AutofillPopupMenuClient::setTextFromItem):
34629 (WebKit::AutofillPopupMenuClient::fontSelector):
34630 (WebKit::AutofillPopupMenuClient::hostWindow):
34631 (WebKit::AutofillPopupMenuClient::createScrollbar):
34632 (WebKit::AutofillPopupMenuClient::initialize):
34633 (WebKit::AutofillPopupMenuClient::setSuggestions):
34634 (WebKit::AutofillPopupMenuClient::convertListIndexToInternalIndex):
34635 (WebKit::AutofillPopupMenuClient::getWebView):
34636 (WebKit::AutofillPopupMenuClient::textFieldStyle):
34637 * src/AutofillPopupMenuClient.h:
34638 (WebKit::AutofillPopupMenuClient::itemToolTip):
34639 (WebKit::AutofillPopupMenuClient::itemAccessibilityText):
34640 (WebKit::AutofillPopupMenuClient::clientInsetLeft):
34641 (WebKit::AutofillPopupMenuClient::clientInsetRight):
34642 (WebKit::AutofillPopupMenuClient::listSize):
34643 (WebKit::AutofillPopupMenuClient::selectedIndex):
34644 (WebKit::AutofillPopupMenuClient::itemIsLabel):
34645 (WebKit::AutofillPopupMenuClient::itemIsSelected):
34646 (WebKit::AutofillPopupMenuClient::shouldPopOver):
34647 (WebKit::AutofillPopupMenuClient::valueShouldChangeOnHotTrack):
34648 (WebKit::AutofillPopupMenuClient::getTextField):
34649 (WebKit::AutofillPopupMenuClient::getSelectedIndex):
34650 (WebKit::AutofillPopupMenuClient::setSelectedIndex):
34651 * src/EditorClientImpl.cpp:
34652 (WebKit::EditorClientImpl::textFieldDidBeginEditing):
34653 (WebKit::EditorClientImpl::textFieldDidEndEditing):
34654 (WebKit::EditorClientImpl::textDidChangeInTextField):
34655 (WebKit::EditorClientImpl::doAutofill):
34656 (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
34657 * src/WebInputElement.cpp:
34658 (WebKit::WebInputElement::setAutofilled):
34659 * src/WebViewImpl.cpp:
34660 (WebKit::WebViewImpl::setAutofillClient):
34661 (WebKit::WebViewImpl::WebViewImpl):
34662 (WebKit::WebViewImpl::mouseDown):
34663 (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
34664 (WebKit::WebViewImpl::hideAutofillPopup):
34665 (WebKit::WebViewImpl::setFocus):
34666 (WebKit::WebViewImpl::applyAutofillSuggestions):
34667 (WebKit::WebViewImpl::hidePopups):
34668 (WebKit::WebViewImpl::refreshAutofillPopup):
34669 * src/WebViewImpl.h:
34670 (WebKit::WebViewImpl::autofillClient):
34671 (WebKit::WebViewImpl::autofillPopupDidHide):
34673 2011-07-14 Yury Semikhatsky <yurys@chromium.org>
34675 [Chromium] Web Inspector: URL parameters should consistently use camel case names
34676 https://bugs.webkit.org/show_bug.cgi?id=64520
34678 Reviewed by Pavel Feldman.
34680 * src/js/DevTools.js:
34681 (devtools.domContentLoaded): Now that Chromium side is updated we can remove the old parameter
34684 2011-07-14 Yury Semikhatsky <yurys@chromium.org>
34686 [Chromium] Web Inspector: URL parameters should consistently use camel case names
34687 https://bugs.webkit.org/show_bug.cgi?id=64520
34689 Reviewed by Pavel Feldman.
34691 * src/js/DevTools.js:
34692 (devtools.domContentLoaded):
34694 2011-07-13 Noel Gordon <noel.gordon@gmail.com>
34696 [chromium] Clean undeeded WebCore:: namespace prefixing from WebBindings.
34697 https://bugs.webkit.org/show_bug.cgi?id=64361
34699 Reviewed by Kent Tamura.
34701 * src/WebBindings.cpp:
34702 (WebKit::makeIntArrayImpl):
34703 (WebKit::makeStringArrayImpl):
34705 2011-07-13 James Robinson <jamesr@chromium.org>
34707 [chromium] No implementation defined for WTF::monotonicallyIncreasingTime
34708 https://bugs.webkit.org/show_bug.cgi?id=64420
34710 Reviewed by Tony Gentilcore.
34712 Provides an implementation of WTF::monotonicallyIncreasingTime() alongside the implementation of
34713 WTF::currentTime().
34715 * src/ChromiumCurrentTime.cpp:
34716 (WTF::monotonicallyIncreasingTime):
34717 * src/PlatformBridge.cpp:
34719 2011-07-13 Vsevolod Vlasov <vsevik@chromium.org>
34721 Chromium DevTools: Enable clear cache and cookies from network panel in chromium.
34722 https://bugs.webkit.org/show_bug.cgi?id=64095
34724 Reviewed by Pavel Feldman.
34726 * src/js/DevTools.js:
34729 2011-07-12 Al Patrick <apatrick@chromium.org>
34731 Added the ability to dynamically change the parent context of a WebGraphicsContext3D.
34732 GraphicsContext3DInternal::platformTexture uses this to set the parent as appropriate.
34733 https://bugs.webkit.org/show_bug.cgi?id=64397
34735 Reviewed by Kenneth Russell.
34737 * public/WebGraphicsContext3D.h:
34738 (WebKit::WebGraphicsContext3D::setParentContext):
34739 * src/GraphicsContext3DChromium.cpp:
34740 (WebCore::GraphicsContext3DInternal::platformTexture):
34742 2011-07-12 James Robinson <jamesr@chromium.org>
34744 [chromium] Delete the unused legacy accelerated canvas 2d code
34745 https://bugs.webkit.org/show_bug.cgi?id=64214
34747 Reviewed by Stephen White.
34749 Adds a way to stash a GrContext* on a GraphicsContext3D. Previously, this was handled by
34750 SharedGraphicsContext3D, but we don't need that class any more. This is used only for the shared
34751 GraphicsContext3D stashed on the Page and shared by all accelerated canvases within the Page, for WebGL and
34752 compositor contexts the GrContext is never set.
34754 * src/GraphicsContext3DChromium.cpp:
34755 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
34756 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
34757 (WebCore::GraphicsContext3DInternal::grContext):
34758 (WebCore::GraphicsContext3D::grContext):
34759 * src/GraphicsContext3DInternal.h:
34761 2011-07-12 Joseph Pecoraro <joepeck@webkit.org>
34763 ApplicationCache update should not immediately fail when reaching per-origin quota
34764 https://bugs.webkit.org/show_bug.cgi?id=64177
34766 Reviewed by Alexey Proskuryakov.
34768 * src/ChromeClientImpl.cpp:
34769 (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
34770 * src/ChromeClientImpl.h:
34772 2011-07-12 John Bates <jbates@google.com>
34774 Move call to syncCompositingLayers so that we do not trigger redundant draws.
34775 https://bugs.webkit.org/show_bug.cgi?id=64224
34777 doComposite was triggering two composites every time a canvas was dirtied.
34778 By moving syncCompositingLayers call to layout, the client code can draw without triggering
34779 a redundant frame. Also renamed WebViewImpl::updateLayers to
34780 syncCompositingLayers, because it was confusing.
34782 Reviewed by James Robinson.
34784 * src/WebViewImpl.cpp:
34785 (WebKit::WebViewImpl::layout):
34786 (WebKit::WebViewImpl::syncCompositingLayers):
34787 * src/WebViewImpl.h:
34789 2011-07-12 Sheriff Bot <webkit.review.bot@gmail.com>
34791 Unreviewed. Rolled DEPS.
34795 2011-07-12 Evan Martin <evan@chromium.org>
34797 [chromium] DRT depends on v8
34798 https://bugs.webkit.org/show_bug.cgi?id=64376
34800 DumpRenderTree.cpp has calls to v8:: functions, so it should have a build
34801 dependency on v8. This fixes missing references in the shared-object build.
34805 2011-07-11 Ryosuke Niwa <rniwa@webkit.org>
34807 Unreviewed. Rolled DEPS.
34811 2011-07-08 Nate Chapin <japhet@chromium.org>
34813 Check activeDocumentLoader() in
34814 WebFrameImpl::currentHistoryItem() and return
34815 early if null, since that should mean we're
34817 https://bugs.webkit.org/show_bug.cgi?id=52923
34819 Reviewed by Darin Fisher.
34821 No known repro, so no new test.
34823 * src/WebFrameImpl.cpp:
34824 (WebKit::WebFrameImpl::currentHistoryItem):
34826 2011-07-07 Vsevolod Vlasov <vsevik@chromium.org>
34828 Web Inspector: Add support for clearing cache and cookies from network panel.
34829 https://bugs.webkit.org/show_bug.cgi?id=63999
34831 Reviewed by Pavel Feldman.
34833 * public/WebDevToolsAgentClient.h:
34834 (WebKit::WebDevToolsAgentClient::clearBrowserCache):
34835 (WebKit::WebDevToolsAgentClient::clearBrowserCookies):
34836 * src/InspectorClientImpl.cpp:
34837 (WebKit::InspectorClientImpl::clearBrowserCache):
34838 (WebKit::InspectorClientImpl::clearBrowserCookies):
34839 * src/InspectorClientImpl.h:
34840 * src/WebDevToolsAgentImpl.cpp:
34841 (WebKit::WebDevToolsAgentImpl::clearBrowserCache):
34842 (WebKit::WebDevToolsAgentImpl::clearBrowserCookies):
34843 * src/WebDevToolsAgentImpl.h:
34845 2011-07-06 Adam Barth <abarth@webkit.org>
34847 Unreviewed. Rolled DEPS.
34851 2011-07-06 Johnny Ding <jnd@chromium.org>
34853 https://bugs.webkit.org/show_bug.cgi?id=63857
34854 Check WebWidgetClient before calling it to close widget.
34856 Reviewed by Tony Chang.
34858 * src/WebPopupMenuImpl.cpp:
34859 (WebKit::WebPopupMenuImpl::popupClosed):
34861 2011-07-06 Adrienne Walker <enne@google.com>
34863 [chromium] Add compositor texture manager soft limits and lost focus reclaiming
34864 https://bugs.webkit.org/show_bug.cgi?id=64009
34866 Reviewed by James Robinson.
34868 Reclaim textures when the tab loses focus.
34870 * src/WebViewImpl.cpp:
34871 (WebKit::WebViewImpl::setVisibilityState):
34873 2011-06-30 Cris Neckar <cdn@chromium.org>
34875 Reviewed by Darin Fisher.
34877 Add versioning to Chromium clipboard and prevent polling from inside events.
34878 https://bugs.webkit.org/show_bug.cgi?id=63738
34880 * public/WebClipboard.h:
34881 (WebKit::WebClipboard::getSequenceNumber):
34882 * src/PlatformBridge.cpp:
34883 (WebCore::PlatformBridge::clipboardGetSequenceNumber):
34885 2011-07-06 Ryosuke Niwa <rniwa@webkit.org>
34891 2011-07-05 Yury Semikhatsky <yurys@chromium.org>
34893 [Chromium] Web Inspector: extend WebSharedWorker with inspector transport methods
34894 https://bugs.webkit.org/show_bug.cgi?id=63942
34896 Added methods for connecting inspector to shared worker and for passing
34897 messages between shared worker inspector and corresponding inspector frontend.
34899 Reviewed by Pavel Feldman.
34901 * public/WebCommonWorkerClient.h:
34902 (WebKit::WebCommonWorkerClient::dispatchDevToolsMessage):
34903 * public/WebSharedWorker.h:
34904 (WebKit::WebSharedWorker::attachDevTools):
34905 (WebKit::WebSharedWorker::detachDevTools):
34906 (WebKit::WebSharedWorker::dispatchDevToolsMessage):
34907 * public/WebWorkerClient.h:
34908 * src/WebSharedWorkerImpl.cpp:
34909 (WebKit::connectToWorkerContextInspectorTask):
34910 (WebKit::WebSharedWorkerImpl::attachDevTools):
34911 (WebKit::disconnectFromWorkerContextInspectorTask):
34912 (WebKit::WebSharedWorkerImpl::detachDevTools):
34913 (WebKit::dispatchOnInspectorBackendTask):
34914 (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
34915 * src/WebSharedWorkerImpl.h:
34916 * src/WebWorkerBase.cpp:
34917 (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
34919 2011-07-01 Kent Tamura <tkent@chromium.org>
34921 [Chromium] Rebaseline for fast/forms/input-file-re-render.html
34922 https://bugs.webkit.org/show_bug.cgi?id=63733
34924 * DEPS: Update chromium revision to 91405 to have "Choose Files" string.
34926 2011-07-01 Michael Nordman <michaeln@google.com>
34928 Reviewed by Darin Fisher.
34930 [Chromium] FileSystem API can be used to learn about installed software on the user's computer
34931 https://bugs.webkit.org/show_bug.cgi?id=63220
34933 * public/WebMimeRegistry.h:
34934 (WebKit::WebMimeRegistry::wellKnownMimeTypeForExtension):
34935 * src/PlatformBridge.cpp:
34936 (WebCore::PlatformBridge::wellKnownMimeTypeForExtension):
34938 2011-07-01 Scott Byer <scottbyer@chromium.org>
34940 Reviewed by Adam Barth.
34942 Smooth scrolling fixes
34943 https://bugs.webkit.org/show_bug.cgi?id=63770
34945 Fix issues found in manual testing; distill the traces into unit tests. Fix the issues the tests exposed in the
34946 scroll animation code.
34948 * tests/ScrollAnimatorNoneTest.cpp:
34949 (ScrollAnimatorNoneTest::updateDataFromParameters):
34952 2011-07-01 Hans Wennborg <hans@chromium.org>
34954 IndexedDB: make LevelDB the default back-end
34955 https://bugs.webkit.org/show_bug.cgi?id=63817
34957 Reviewed by Tony Chang.
34959 Use LevelDB as the default back-end.
34961 Covered by existing layout tests for indexeddb, which will now be
34962 using the LevelDB back-end.
34964 * src/WebIDBFactoryImpl.cpp:
34965 (WebKit::WebIDBFactoryImpl::open):
34967 2011-07-01 Ryosuke Niwa <rniwa@webkit.org>
34969 Reviewed by Ojan Vafai.
34971 Move m_isDirectional from FrameSelection to VisibleSelection
34972 https://bugs.webkit.org/show_bug.cgi?id=63473
34974 Don't pass MakeNonDirectionalSelection to setSelection since no other port does this.
34976 * src/WebFrameImpl.cpp:
34977 (WebKit::WebFrameImpl::selectRange):
34979 2011-07-01 Andrew Scherkus <scherkus@chromium.org>
34981 Reviewed by Darin Fisher.
34983 Re-enable WTF_USE_WEBAUDIO_FFMPEG for Chromium
34984 https://bugs.webkit.org/show_bug.cgi?id=63783
34988 2011-07-01 Tony Chang <tony@chromium.org>
34990 Fix the chromium build. sql is a new top level directory.
34994 2011-07-01 Ryosuke Niwa <rniwa@webkit.org>
35000 2011-06-30 Noel Gordon <noel.gordon@gmail.com>
35002 Reviewed by Hajime Morita.
35004 [Chromium] Remove WebBindings::makeNode.
35005 https://bugs.webkit.org/show_bug.cgi?id=63613
35007 Dead code elimination. No change in behaviour, so no new tests.
35009 * public/WebBindings.h:
35010 * src/WebBindings.cpp:
35012 2011-06-30 Kent Tamura <tkent@chromium.org>
35014 Reviewed by Darin Fisher.
35016 [Chromium] Implement WebCore::defaultDetailsSummaryText()
35017 https://bugs.webkit.org/show_bug.cgi?id=63700
35019 * public/WebLocalizedString.h: Add new key.
35020 * src/LocalizedStrings.cpp: Call query() with the new key.
35021 (WebCore::defaultDetailsSummaryText):
35023 2011-06-30 Andrew Scherkus <scherkus@chromium.org>
35027 Temporarily disabling WTF_USE_WEBAUDIO_FFMPEG due to FFmpeg update.
35031 2011-06-30 John Bates <jbates@google.com>
35033 Reviewed by James Robinson.
35035 Chromium bug: Compositing on a lost context causes latch deadlocks.
35036 The cause of deadlock was that a setLatch command is added to the lost
35037 compositor GL context, and a waitLatch would never complete on a child context.
35038 This change checks whether the compositor context is in error state before
35039 doing the compositing.
35040 https://bugs.webkit.org/show_bug.cgi?id=63681
35042 * src/WebViewImpl.cpp:
35043 (WebKit::WebViewImpl::composite):
35045 2011-06-30 Cary Clark <caryclark@google.com>
35047 Reviewed by James Robinson.
35049 Use Skia if Skia on Mac Chrome is enabled
35050 https://bugs.webkit.org/show_bug.cgi?id=62999
35053 If building for Skia, exclude CG files.
35054 If not, exclude Skia files.
35057 Enable Skia on Chromium Mac if so instructed by the gyp define.
35058 Allow Skia to be hardware accelerated on the Mac.
35060 * public/WebCommon.h:
35061 If Skia is defined on the Mac, define it in the WebXXX
35062 interfaces as well.
35064 2011-06-30 Sreeram Ramachandran <sreeram@chromium.org>
35066 Reviewed by Adam Barth.
35068 Suppress modal JavaScript/HTML dialogs during unload events
35069 https://bugs.webkit.org/show_bug.cgi?id=56397
35071 Implementation of the new shouldRunModalDialogDuringPageDismissal() API
35072 to block alerts during unload handlers. Logs such events to the console
35073 and updates histograms.
35075 * src/ChromeClientImpl.cpp:
35076 (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
35077 * src/ChromeClientImpl.h:
35079 2011-06-30 Anders Carlsson <andersca@apple.com>
35081 Reviewed by Dan Bernstein.
35083 More ScrollableArea scaffolding
35084 https://bugs.webkit.org/show_bug.cgi?id=63678
35086 Add an enclosingScrollableArea stub.
35088 * src/WebScrollbarImpl.cpp:
35089 (WebKit::WebScrollbarImpl::enclosingScrollableArea):
35090 * src/WebScrollbarImpl.h:
35092 2011-06-28 Hans Wennborg <hans@chromium.org>
35094 Reviewed by Tony Chang.
35096 IndexedDB: Prepare for running layout tests with LevelDB
35097 https://bugs.webkit.org/show_bug.cgi?id=63593
35099 WebIDBFactory should decide what DefaultBackingStore means.
35100 Also fix handling of layout test and incognito mode properly.
35102 * src/WebIDBFactoryImpl.cpp:
35103 (WebKit::WebIDBFactoryImpl::open):
35105 2011-06-30 Alexander Pavlov <apavlov@chromium.org>
35107 Reviewed by Kent Tamura.
35109 [Chromium] Autofill suggestions appear in upper left corner after input change
35110 https://bugs.webkit.org/show_bug.cgi?id=63702
35112 * src/ChromeClientImpl.cpp:
35113 (WebKit::ChromeClientImpl::screenToWindow): Implemented.
35114 * src/WebViewImpl.cpp:
35115 (WebKit::WebViewImpl::refreshAutoFillPopup): Pass screen (not window) coordinates into setWindowRect().
35117 2011-06-30 Kentaro Hara <haraken@google.com>
35119 Reviewed by Kent Tamura.
35121 Change the label of an HTML5 file chooser button to "Choose Files"
35122 https://bugs.webkit.org/show_bug.cgi?id=49245
35124 We should notify capability of multiple files to users.
35126 Test: fast/forms/input-file-label.html
35129 * public/WebLocalizedString.h: Depends on chromium_rev>=91051.
35130 * src/LocalizedStrings.cpp:
35131 (WebCore::fileButtonChooseMultipleFilesLabel): Returns a "Choose Files" label.
35133 2011-06-29 James Hawkins <jhawkins@chromium.org>
35135 Reviewed by Pavel Feldman.
35137 [Chromium] Fix a crash on when executeCommand(copy) is called on a null node.
35138 https://bugs.webkit.org/show_bug.cgi?id=63626
35140 * src/WebFrameImpl.cpp:
35141 (WebKit::pluginContainerFromNode):
35143 2011-06-29 Andrey Kosyakov <caseq@chromium.org>
35145 Reviewed by Pavel Feldman.
35147 Web Inspector: backend needs to provide system-unique object ids, so these remain unique across navigation
35148 https://bugs.webkit.org/show_bug.cgi?id=62894
35150 * public/WebDevToolsAgent.h:
35151 * src/WebDevToolsAgentImpl.cpp:
35152 (WebKit::WebDevToolsAgentImpl::setAgentProcessIdentifier):
35153 * src/WebDevToolsAgentImpl.h:
35155 2011-06-28 Ilya Sherman <isherman@chromium.org>
35157 Reviewed by Adam Barth.
35159 form.autocomplete="off" does not work
35160 https://bugs.webkit.org/show_bug.cgi?id=35823
35162 * src/EditorClientImpl.cpp:
35163 (WebKit::EditorClientImpl::autofill): Update callsite.
35164 * src/WebFormElement.cpp:
35165 (WebKit::WebFormElement::autoComplete): Update callsite.
35166 * src/WebInputElement.cpp:
35167 (WebKit::WebInputElement::autoComplete): Update callsite.
35168 * src/WebPasswordFormUtils.cpp:
35169 (WebKit::findPasswordFormFields): Update callsite.
35171 2011-06-28 Ryosuke Niwa <rniwa@webkit.org>
35177 2011-06-28 Sheriff Bot <webkit.review.bot@gmail.com>
35179 Unreviewed, rolling out r89968.
35180 http://trac.webkit.org/changeset/89968
35181 https://bugs.webkit.org/show_bug.cgi?id=63581
35183 Broke chromium windows compile (Requested by jamesr on
35188 * public/WebCommon.h:
35190 2011-06-28 Cary Clark <caryclark@google.com>
35192 Reviewed by James Robinson.
35194 Use Skia if Skia on Mac Chrome is enabled
35195 https://bugs.webkit.org/show_bug.cgi?id=62999
35198 If building for Skia, exclude CG files.
35199 If not, exclude Skia files.
35202 Enable Skia on Chromium Mac if so instructed by the gyp define.
35203 Allow Skia to be hardware accelerated on the Mac.
35205 * public/WebCommon.h:
35206 If Skia is defined on the Mac, define it in the WebXXX
35207 interfaces as well.
35209 2011-06-28 Ryosuke Niwa <rniwa@webkit.org>
35215 2011-06-27 James Hawkins <jhawkins@chromium.org>
35217 Reviewed by Darin Fisher.
35219 [Chromium] Pass an optional WebNode that is the node receiving the context menu action.
35220 https://bugs.webkit.org/show_bug.cgi?id=63503
35222 * public/WebFrame.h:
35223 * src/WebFrameImpl.cpp:
35224 (WebKit::pluginContainerFromNode):
35225 (WebKit::WebFrameImpl::executeCommand):
35226 (WebKit::WebFrameImpl::printBegin):
35227 * src/WebFrameImpl.h:
35229 2011-06-27 Ryosuke Niwa <rniwa@webkit.org>
35235 2011-06-27 Jay Civelli <jcivelli@chromium.org>
35237 Reviewed by Darin Fisher.
35239 Adding binary part support to MHTML.
35240 https://bugs.webkit.org/show_bug.cgi?id=63310
35242 * public/WebPageSerializer.h:
35243 * src/WebPageSerializer.cpp:
35244 (WebKit::WebPageSerializer::serializeToMHTML):
35245 (WebKit::WebPageSerializer::serializeToMHTMLUsingBinaryEncoding):
35247 2011-05-17 Nat Duca <nduca@chromium.org>
35249 Reviewed by James Robinson.
35251 [chromium] Implement CCLayerTreeHost and CCLayerTreeHostImpl portions of threaded compositor
35252 https://bugs.webkit.org/show_bug.cgi?id=58408
35254 Redirect invalidates and scheduling into compositor when in
35255 threaded compositing mode. Add stress tests for CCLayerTreeHost.
35258 * public/WebWidget.h:
35259 * src/WebPopupMenuImpl.cpp:
35260 (WebKit::WebPopupMenuImpl::animate):
35261 * src/WebPopupMenuImpl.h:
35262 * src/WebViewImpl.cpp:
35263 (WebKit::WebViewImpl::animate):
35264 (WebKit::WebViewImpl::paint):
35265 (WebKit::WebViewImpl::animateAndLayout):
35266 (WebKit::WebViewImpl::updateLayers):
35267 (WebKit::WebViewImpl::composite):
35268 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
35269 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
35270 (WebKit::WebViewImpl::doComposite):
35271 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
35272 (WebKit::WebViewImpl::reallocateRenderer):
35273 (WebKit::WebViewImpl::updateLayerRendererSettings):
35274 (WebKit::WebViewImpl::updateLayerRendererViewport):
35275 * src/WebViewImpl.h:
35276 * tests/CCLayerTreeHostTest.cpp: Added.
35277 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
35278 (WTF::CCLayerTreeHostTest::animateAndLayout):
35279 (WTF::CCLayerTreeHostTest::beginCommitOnCCThread):
35280 (WTF::CCLayerTreeHostTest::beginCommitOnMainThread):
35281 (WTF::CCLayerTreeHostTest::commitOnCCThread):
35282 (WTF::CCLayerTreeHostTest::commitCompleteOnCCThread):
35283 (WTF::CCLayerTreeHostTest::commitCompleteOnMainThread):
35284 (WTF::CCLayerTreeHostTest::drawLayersAndPresentOnCCThread):
35285 (WTF::CCLayerTreeHostTest::updateLayers):
35286 (WTF::CCLayerTreeHostTest::onBeginTest):
35287 (WTF::CCLayerTreeHostTest::doEndTest):
35288 (WTF::CCLayerTreeHostTest::onEndTest):
35289 (WTF::CCLayerTreeHostTest::runTest):
35290 (WTF::CCLayerTreeHostTest::testTimeout):
35291 (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
35292 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
35293 (WTF::MockLayerTreeHostClient::animateAndLayout):
35294 (WTF::MockLayerTreeHostClient::updateLayers):
35295 (WTF::MockLayerTreeHostCommitter::create):
35296 (WTF::MockLayerTreeHostCommitter::commit):
35297 (WTF::MockLayerTreeHostCommitter::MockLayerTreeHostCommitter):
35298 (WTF::MockLayerTreeHostImpl::create):
35299 (WTF::MockLayerTreeHostImpl::beginCommit):
35300 (WTF::MockLayerTreeHostImpl::commitComplete):
35301 (WTF::MockLayerTreeHostImpl::drawLayersAndPresent):
35302 (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
35303 (WTF::MockLayerTreeHostImplProxy::create):
35304 (WTF::MockLayerTreeHostImplProxy::createLayerTreeHostImpl):
35305 (WTF::MockLayerTreeHostImplProxy::MockLayerTreeHostImplProxy):
35306 (WTF::MockLayerTreeHost::MockLayerTreeHost):
35307 (WTF::MockLayerTreeHost::createLayerTreeHostImplProxy):
35308 (WTF::MockLayerTreeHost::updateLayers):
35309 (WTF::MockLayerTreeHost::createLayerTreeHostCommitter):
35310 (WTF::MockLayerTreeHost::beginCommit):
35311 (WTF::MockLayerTreeHost::commitComplete):
35312 (WTF::CCLayerTreeHostTest::doBeginTest):
35313 (WTF::CCLayerTreeHostTest::endTest):
35314 (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
35315 (WTF::CCLayerTreeHostTestShortlived1::beginTest):
35316 (WTF::CCLayerTreeHostTestShortlived1::afterTest):
35318 (WTF::CCLayerTreeHostTestShortlived2::CCLayerTreeHostTestShortlived2):
35319 (WTF::CCLayerTreeHostTestShortlived2::beginTest):
35320 (WTF::CCLayerTreeHostTestShortlived2::afterTest):
35321 (WTF::CCLayerTreeHostTestShortlived3::CCLayerTreeHostTestShortlived3):
35322 (WTF::CCLayerTreeHostTestShortlived3::beginTest):
35323 (WTF::CCLayerTreeHostTestShortlived3::afterTest):
35324 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::CCLayerTreeHostTestCommitingWithContinuousRedraw):
35325 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
35326 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
35327 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersAndPresentOnCCThread):
35328 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::afterTest):
35329 (WTF::CCLayerTreeHostTestSetNeedsCommit1::CCLayerTreeHostTestSetNeedsCommit1):
35330 (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
35331 (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersAndPresentOnCCThread):
35332 (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitOnCCThread):
35333 (WTF::CCLayerTreeHostTestSetNeedsCommit1::afterTest):
35334 (WTF::CCLayerTreeHostTestSetNeedsCommit2::CCLayerTreeHostTestSetNeedsCommit2):
35335 (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
35336 (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersAndPresentOnCCThread):
35337 (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitOnCCThread):
35338 (WTF::CCLayerTreeHostTestSetNeedsCommit2::afterTest):
35339 (WTF::CCLayerTreeHostTestSetNeedsRedraw::CCLayerTreeHostTestSetNeedsRedraw):
35340 (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
35341 (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersAndPresentOnCCThread):
35342 (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitOnCCThread):
35343 (WTF::CCLayerTreeHostTestSetNeedsRedraw::afterTest):
35344 * tests/CCThreadTest.cpp:
35347 2011-06-27 Yuta Kitamura <yutak@chromium.org>
35349 Reviewed by Adam Barth.
35351 [Chromium] Add useHixie76WebSocketProtocol to WebSettings
35352 https://bugs.webkit.org/show_bug.cgi?id=63424
35354 * public/WebSettings.h:
35355 * src/WebSettingsImpl.cpp:
35356 (WebKit::WebSettingsImpl::setHixie76WebSocketProtocolEnabled):
35357 * src/WebSettingsImpl.h:
35359 2011-06-26 Adam Barth <abarth@webkit.org>
35361 Reviewed by Eric Seidel.
35363 [Chromium] Remove WebSecurityOrigin::grantUniversalAccess
35364 https://bugs.webkit.org/show_bug.cgi?id=63415
35366 This function has no callers and is downright dangerous.
35368 * public/WebSecurityOrigin.h:
35369 * src/WebSecurityOrigin.cpp:
35371 2011-06-26 Adam Barth <abarth@webkit.org>
35373 Reviewed by Eric Seidel.
35375 [Chromium] Remove code behind WEBKIT_FRAME_TO_DOCUMENT_API_MOVE
35376 https://bugs.webkit.org/show_bug.cgi?id=63402
35378 These old APIs are no longer needed.
35380 * public/WebFrame.h:
35381 * src/WebFrameImpl.cpp:
35382 * src/WebFrameImpl.h:
35384 2011-06-25 Adam Barth <abarth@webkit.org>
35386 Reviewed by Eric Seidel.
35388 [Chromium] Update WebKit for WEBKIT_FRAME_TO_DOCUMENT_API_MOVE
35389 https://bugs.webkit.org/show_bug.cgi?id=63394
35391 * src/FrameLoaderClientImpl.cpp:
35392 (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
35394 2011-06-25 Adam Barth <abarth@webkit.org>
35396 Roll Chromium DEPS.
35400 2011-06-25 Adam Barth <abarth@webkit.org>
35402 Unreviewed build fix. Remove ifdefs around these two functions because
35403 we're not planning to move them. This patch makes WebFrameImpl.h
35404 consistent with WebFrame.h so we can build with the new API
35407 * src/WebFrameImpl.h:
35409 2011-06-24 Nat Duca <nduca@chromium.org>
35411 Unreviewed, rolling out r89694.
35412 http://trac.webkit.org/changeset/89694
35413 https://bugs.webkit.org/show_bug.cgi?id=58408
35415 Test shell still not ready for animate changes.
35418 * public/WebWidget.h:
35419 (WebKit::WebWidget::animate):
35420 (WebKit::WebWidget::composite):
35421 * src/WebPopupMenuImpl.cpp:
35422 (WebKit::WebPopupMenuImpl::animate):
35423 * src/WebPopupMenuImpl.h:
35424 * src/WebViewImpl.cpp:
35425 (WebKit::WebViewImpl::resize):
35426 (WebKit::WebViewImpl::animate):
35427 (WebKit::WebViewImpl::paint):
35428 (WebKit::WebViewImpl::composite):
35429 (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
35430 (WebKit::WebView::zoomLevelToZoomFactor):
35431 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
35432 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
35433 (WebKit::WebViewImpl::doComposite):
35434 (WebKit::WebViewImpl::reallocateRenderer):
35435 (WebKit::WebViewImpl::updateLayerRendererViewport):
35436 (WebKit::WebViewImpl::graphicsContext3D):
35437 * src/WebViewImpl.h:
35438 * tests/CCLayerTreeHostTest.cpp: Removed.
35439 * tests/CCThreadTest.cpp:
35442 2011-05-17 Nat Duca <nduca@chromium.org>
35444 Reviewed by James Robinson.
35446 [chromium] Implement CCLayerTreeHost and CCLayerTreeHostImpl portions of threaded compositor
35447 https://bugs.webkit.org/show_bug.cgi?id=58408
35449 Redirect invalidates and scheduling into compositor when in
35450 threaded compositing mode. Add stress tests for CCLayerTreeHost.
35453 * public/WebWidget.h:
35454 * src/WebPopupMenuImpl.cpp:
35455 (WebKit::WebPopupMenuImpl::animate):
35456 * src/WebPopupMenuImpl.h:
35457 * src/WebViewImpl.cpp:
35458 (WebKit::WebViewImpl::animate):
35459 (WebKit::WebViewImpl::paint):
35460 (WebKit::WebViewImpl::animateAndLayout):
35461 (WebKit::WebViewImpl::updateLayers):
35462 (WebKit::WebViewImpl::composite):
35463 (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
35464 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
35465 (WebKit::WebViewImpl::doComposite):
35466 (WebKit::WebViewImpl::createLayerTreeHostContext3D):
35467 (WebKit::WebViewImpl::reallocateRenderer):
35468 (WebKit::WebViewImpl::updateLayerRendererSettings):
35469 (WebKit::WebViewImpl::updateLayerRendererViewport):
35470 * src/WebViewImpl.h:
35471 * tests/CCLayerTreeHostTest.cpp: Added.
35472 (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
35473 (WTF::CCLayerTreeHostTest::animateAndLayout):
35474 (WTF::CCLayerTreeHostTest::beginCommitOnCCThread):
35475 (WTF::CCLayerTreeHostTest::beginCommitOnMainThread):
35476 (WTF::CCLayerTreeHostTest::commitOnCCThread):
35477 (WTF::CCLayerTreeHostTest::commitCompleteOnCCThread):
35478 (WTF::CCLayerTreeHostTest::commitCompleteOnMainThread):
35479 (WTF::CCLayerTreeHostTest::drawLayersAndPresentOnCCThread):
35480 (WTF::CCLayerTreeHostTest::updateLayers):
35481 (WTF::CCLayerTreeHostTest::onBeginTest):
35482 (WTF::CCLayerTreeHostTest::doEndTest):
35483 (WTF::CCLayerTreeHostTest::onEndTest):
35484 (WTF::CCLayerTreeHostTest::runTest):
35485 (WTF::CCLayerTreeHostTest::testTimeout):
35486 (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
35487 (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
35488 (WTF::MockLayerTreeHostClient::animateAndLayout):
35489 (WTF::MockLayerTreeHostClient::updateLayers):
35490 (WTF::MockLayerTreeHostCommitter::create):
35491 (WTF::MockLayerTreeHostCommitter::commit):
35492 (WTF::MockLayerTreeHostCommitter::MockLayerTreeHostCommitter):
35493 (WTF::MockLayerTreeHostImpl::create):
35494 (WTF::MockLayerTreeHostImpl::beginCommit):
35495 (WTF::MockLayerTreeHostImpl::commitComplete):
35496 (WTF::MockLayerTreeHostImpl::drawLayersAndPresent):
35497 (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
35498 (WTF::MockLayerTreeHostImplProxy::create):
35499 (WTF::MockLayerTreeHostImplProxy::createLayerTreeHostImpl):
35500 (WTF::MockLayerTreeHostImplProxy::MockLayerTreeHostImplProxy):
35501 (WTF::MockLayerTreeHost::MockLayerTreeHost):
35502 (WTF::MockLayerTreeHost::createLayerTreeHostImplProxy):
35503 (WTF::MockLayerTreeHost::updateLayers):
35504 (WTF::MockLayerTreeHost::createLayerTreeHostCommitter):
35505 (WTF::MockLayerTreeHost::beginCommit):
35506 (WTF::MockLayerTreeHost::commitComplete):
35507 (WTF::CCLayerTreeHostTest::doBeginTest):
35508 (WTF::CCLayerTreeHostTest::endTest):
35509 (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
35510 (WTF::CCLayerTreeHostTestShortlived1::beginTest):
35511 (WTF::CCLayerTreeHostTestShortlived1::afterTest):
35513 (WTF::CCLayerTreeHostTestShortlived2::CCLayerTreeHostTestShortlived2):
35514 (WTF::CCLayerTreeHostTestShortlived2::beginTest):
35515 (WTF::CCLayerTreeHostTestShortlived2::afterTest):
35516 (WTF::CCLayerTreeHostTestShortlived3::CCLayerTreeHostTestShortlived3):
35517 (WTF::CCLayerTreeHostTestShortlived3::beginTest):
35518 (WTF::CCLayerTreeHostTestShortlived3::afterTest):
35519 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::CCLayerTreeHostTestCommitingWithContinuousRedraw):
35520 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
35521 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
35522 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersAndPresentOnCCThread):
35523 (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::afterTest):
35524 (WTF::CCLayerTreeHostTestSetNeedsCommit1::CCLayerTreeHostTestSetNeedsCommit1):
35525 (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
35526 (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersAndPresentOnCCThread):
35527 (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitOnCCThread):
35528 (WTF::CCLayerTreeHostTestSetNeedsCommit1::afterTest):
35529 (WTF::CCLayerTreeHostTestSetNeedsCommit2::CCLayerTreeHostTestSetNeedsCommit2):
35530 (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
35531 (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersAndPresentOnCCThread):
35532 (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitOnCCThread):
35533 (WTF::CCLayerTreeHostTestSetNeedsCommit2::afterTest):
35534 (WTF::CCLayerTreeHostTestSetNeedsRedraw::CCLayerTreeHostTestSetNeedsRedraw):
35535 (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
35536 (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersAndPresentOnCCThread):
35537 (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitOnCCThread):
35538 (WTF::CCLayerTreeHostTestSetNeedsRedraw::afterTest):
35539 * tests/CCThreadTest.cpp:
35542 2011-06-24 Chris Rogers <crogers@google.com>
35544 Reviewed by Kenneth Russell.
35546 Enable Web Audio for Chromium Win
35547 https://bugs.webkit.org/show_bug.cgi?id=63338
35551 2011-06-24 Dominic Cooney <dominicc@chromium.org>
35553 Reviewed by Dimitri Glazkov.
35555 Convert shadow DOM-related tests to use window.internals
35556 https://bugs.webkit.org/show_bug.cgi?id=61671
35558 Remove shadow DOM-related methods from Chromium API. These are not
35561 * public/WebElement.h:
35562 * src/WebElement.cpp:
35564 2011-06-24 Vsevolod Vlasov <vsevik@chromium.org>
35566 Reviewed by Darin Fisher.
35568 Web Inspector: [Chromium] Successfully prefetched page shows up as an error in console
35569 https://bugs.webkit.org/show_bug.cgi?id=62396
35571 * public/WebURLError.h:
35572 (WebKit::WebURLError::WebURLError):
35573 * src/WebURLError.cpp:
35574 (WebKit::WebURLError::operator=):
35575 (WebKit::WebURLError::operator ResourceError):
35577 2011-06-23 Yury Semikhatsky <yurys@chromium.org>
35579 Reviewed by Pavel Feldman.
35581 [Chromium] Web Inspector: provide context menu item for enabling native worker inspection
35582 https://bugs.webkit.org/show_bug.cgi?id=63258
35584 * src/js/DevTools.js:
35587 2011-06-23 John Bates <jbates@google.com>
35589 Reviewed by James Robinson.
35591 Fix latch deadlock when GPU process crashes or context is lost
35592 https://bugs.webkit.org/show_bug.cgi?id=63189
35594 * src/WebViewImpl.cpp:
35595 (WebKit::WebViewImpl::composite):
35597 2011-06-23 Ryosuke Niwa <rniwa@webkit.org>
35603 2011-06-23 John Abd-El-Malek <jam@chromium.org>
35605 Reviewed by Tony Chang.
35607 [chromium] Fix WebScrollBarImpl on Mac after recent smooth scrolling changes
35608 https://bugs.webkit.org/show_bug.cgi?id=63260
35610 * src/WebScrollbarImpl.cpp:
35611 (WebKit::WebScrollbarImpl::visibleHeight):
35612 (WebKit::WebScrollbarImpl::visibleWidth):
35613 (WebKit::WebScrollbarImpl::contentsSize):
35614 (WebKit::WebScrollbarImpl::overhangAmount):
35615 * src/WebScrollbarImpl.h:
35617 2011-06-23 Ryosuke Niwa <rniwa@webkit.org>
35623 2011-06-22 Ryosuke Niwa <rniwa@webkit.org>
35625 Reviewed by Kent Tamura.
35627 [chromium] Remove calls to Position::deprecatedNode
35628 https://bugs.webkit.org/show_bug.cgi?id=63226
35630 Call containerNode instead of deprecatedNode.
35632 * src/WebViewImpl.cpp:
35633 (WebKit::WebViewImpl::textInputType):
35635 2011-06-22 Adam Barth <abarth@webkit.org>
35637 Reviewed by Darin Fisher.
35639 [Chromium] Add WebDocument APIs for the functions moving from WebFrame
35640 https://bugs.webkit.org/show_bug.cgi?id=62831
35642 The next phase will be to change all the callers and then remove all
35643 the code inside the ifdef.
35645 * public/WebDocument.h:
35647 * public/WebFrame.h:
35648 - These two APIs were too disgusting. I could not, in good
35649 conscience, touch them.
35650 * public/WebSecurityOrigin.h:
35651 - Turns out this API is supposed to be on WebSecurityOrigin, not
35653 * src/WebDocument.cpp:
35654 - Implement the APIs.
35655 (WebKit::WebDocument::url):
35656 (WebKit::WebDocument::securityOrigin):
35657 (WebKit::WebDocument::encoding):
35658 (WebKit::WebDocument::openSearchDescriptionURL):
35659 (WebKit::WebDocument::forms):
35660 (WebKit::WebDocument::insertStyleText):
35661 * src/WebFrameImpl.cpp:
35662 - Change these implements to just be stubs that call into the real
35663 implementations in WebDocument.
35664 (WebKit::WebFrameImpl::url):
35665 (WebKit::WebFrameImpl::openSearchDescriptionURL):
35666 (WebKit::WebFrameImpl::encoding):
35667 (WebKit::WebFrameImpl::forms):
35668 (WebKit::WebFrameImpl::securityOrigin):
35669 (WebKit::WebFrameImpl::grantUniversalAccess):
35670 (WebKit::WebFrameImpl::insertStyleText):
35671 (WebKit::WebFrameImpl::contentAsMarkup):
35672 * src/WebSecurityOrigin.cpp:
35673 (WebKit::WebSecurityOrigin::grantUniversalAccess):
35675 2011-06-22 Sheriff Bot <webkit.review.bot@gmail.com>
35677 Unreviewed, rolling out r89489.
35678 http://trac.webkit.org/changeset/89489
35679 https://bugs.webkit.org/show_bug.cgi?id=63203
35681 Broke chromium mac build on build.webkit.org (Requested by
35682 abarth on #webkit).
35686 * public/WebCommon.h:
35688 2011-06-22 Cary Clark <caryclark@google.com>
35690 Reviewed by Darin Fisher.
35692 Use Skia if Skia on Mac Chrome is enabled
35693 https://bugs.webkit.org/show_bug.cgi?id=62999
35696 If building for Skia, exclude CG files.
35697 If not, exclude Skia files.
35700 Enable Skia on Chromium Mac if so instructed by the gyp define.
35701 Allow Skia to be hardware accelerated on the Mac.
35703 * public/WebCommon.h:
35704 If Skia is defined on the Mac, define it in the WebXXX
35705 interfaces as well.
35707 2011-06-22 Adam Barth <abarth@webkit.org>
35712 * public/WebRuntimeFeatures.h:
35713 * src/ContextMenuClientImpl.cpp:
35714 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
35715 * src/WebRuntimeFeatures.cpp:
35717 2011-06-20 Dimitri Glazkov <dglazkov@chromium.org>
35719 Reviewed by Kent Tamura.
35721 FileChooser should be only created when we need to choose files.
35722 https://bugs.webkit.org/show_bug.cgi?id=63039
35724 * src/ChromeClientImpl.cpp:
35725 (WebKit::ChromeClientImpl::runOpenPanel): Changed to use settings.
35726 (WebKit::ChromeClientImpl::enumerateChosenDirectory): Updated decls.
35727 * src/ChromeClientImpl.h:
35729 2011-06-21 Tony Chang <tony@chromium.org>
35731 Reviewed by Eric Seidel.
35733 add css parsing of flex()
35734 https://bugs.webkit.org/show_bug.cgi?id=62050
35736 * features.gypi: Add a gyp flag (enable_css3_flexbox) for setting ENABLE_CSS3_FLEXBOX.
35738 2011-06-21 Zhenyao Mo <zmo@google.com>
35740 Reviewed by Kenneth Russell.
35742 Implement drawingBufferWidth/drawingBufferHeight in WebGL
35743 https://bugs.webkit.org/show_bug.cgi?id=58497
35745 * src/GraphicsContext3DChromium.cpp: Make getInternalFramebufferSize method const.
35746 (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize):
35747 (WebCore::GraphicsContext3D::getInternalFramebufferSize):
35748 * src/GraphicsContext3DInternal.h:
35750 2011-06-21 Dmitry Lomov <dslomov@google.com>
35752 Reviewed by Adam Barth.
35754 https://bugs.webkit.org/show_bug.cgi?id=62653
35755 [V8][Chromium] Make StringCache in V8 bindings per-isolate
35758 (WebKit::initialize): Initialize V8PerIsolateBindingData eagerly
35759 * src/WebScriptController.cpp:
35760 (WebKit::WebScriptController::enableV8SingleThreadMode): StringCache is now per-isolate, so ok in multithreaded contexts.
35762 2011-06-21 Chris Evans <cevans@chromium.org>
35764 Reviewed by Darin Fisher.
35766 Wire in checkIfRunInsecureContent to the chromium WebKit API
35767 https://bugs.webkit.org/show_bug.cgi?id=63026
35769 * public/WebFrame.h:
35770 * src/WebFrameImpl.cpp:
35771 (WebKit::WebFrameImpl::checkIfRunInsecureContent): add in basic plumbing.
35772 * src/WebFrameImpl.h:
35774 2011-06-21 Ryosuke Niwa <rniwa@webkit.org>
35780 2011-06-21 Sheriff Bot <webkit.review.bot@gmail.com>
35782 Unreviewed, rolling out r89185.
35783 http://trac.webkit.org/changeset/89185
35784 https://bugs.webkit.org/show_bug.cgi?id=63068
35786 For breaking navigation with inspector opened. (Requested by
35787 pfeldman on #webkit).
35789 * src/WebScriptController.cpp:
35790 (WebKit::WebScriptController::enableV8SingleThreadMode):
35792 2011-06-20 Scott Byer <scottbyer@chromium.org>
35794 Reviewed by Adam Barth.
35796 Smooth scrolling for Chromium, initial patch.
35797 https://bugs.webkit.org/show_bug.cgi?id=61878
35799 Add in a default scrolling animator in the platform directory, with a run time enable switch, to provide
35800 animated / smooth scrolling on platforms and for input devices where it's not provided by the platform, and to
35801 be easily configurable to what situatuations the animations are provided for. The smooth scrolling code is
35802 compiled out by default.
35804 Unit tests ScrollAnimatorNoneTest.cpp
35808 * public/WebSettings.h:
35809 * src/WebSettingsImpl.cpp:
35810 (WebKit::WebSettingsImpl::setEnableScrollAnimator):
35811 * src/WebSettingsImpl.h:
35812 * tests/ScrollAnimatorNoneTest.cpp: Added.
35813 (MockScrollableArea::MockScrollableArea):
35814 (MockScrollableArea::scrollAnimatorEnabled):
35815 (MockScrollAnimatorNone::MockScrollAnimatorNone):
35816 (MockScrollAnimatorNone::currentX):
35817 (MockScrollAnimatorNone::currentY):
35818 (MockScrollAnimatorNone::reset):
35820 (ScrollAnimatorNoneTest::ScrollAnimatorNoneTest):
35821 (ScrollAnimatorNoneTest::SetUp):
35822 (ScrollAnimatorNoneTest::TearDown):
35823 (ScrollAnimatorNoneTest::reset):
35824 (ScrollAnimatorNoneTest::updateDataFromParameters):
35825 (ScrollAnimatorNoneTest::animateScroll):
35826 (ScrollAnimatorNoneTest::curveIntegralAt):
35827 (ScrollAnimatorNoneTest::attackArea):
35828 (ScrollAnimatorNoneTest::releaseArea):
35829 (ScrollAnimatorNoneTest::attackCurve):
35830 (ScrollAnimatorNoneTest::releaseCurve):
35831 (ScrollAnimatorNoneTest::curveDerivativeAt):
35832 (ScrollAnimatorNoneTest::curveTestInner):
35833 (ScrollAnimatorNoneTest::curveTest):
35836 2011-06-20 Adam Barth <abarth@webkit.org>
35838 Reviewed by Dimitri Glazkov.
35840 Several pyauto tests are failing because some infobars
35841 https://bugs.webkit.org/show_bug.cgi?id=62968
35843 This function used to evaluate script as if there was a user gesture
35844 (due to the lack of a source URL). This patch re-introduces the user
35845 gesture (this time explicitly), which causes the pyauto tests listed in
35846 http://code.google.com/p/chromium/issues/detail?id=86397 to start
35847 passing again. It's unclear whether this forced gesture is needed in
35848 non-test scenarios.
35850 * src/WebFrameImpl.cpp:
35851 (WebKit::WebFrameImpl::executeScriptAndReturnValue):
35853 2011-06-20 Pavel Feldman <pfeldman@chromium.org>
35855 Reviewed by Yury Semikhatsky.
35857 Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
35858 https://bugs.webkit.org/show_bug.cgi?id=62994
35860 * public/WebDevToolsAgent.h:
35861 * src/WebDevToolsAgentImpl.cpp:
35862 * src/WebDevToolsAgentImpl.h:
35864 2011-06-19 Ryosuke Niwa <rniwa@webkit.org>
35870 2011-06-18 Dimitri Glazkov <dglazkov@chromium.org>
35872 Reviewed by Darin Adler.
35874 Separate concerns of loading file icons and choosing files.
35875 https://bugs.webkit.org/show_bug.cgi?id=62931
35877 * src/ChromeClientImpl.cpp:
35878 (WebKit::ChromeClientImpl::loadIconForFiles): Renamed to better reflect the intent.
35879 * src/ChromeClientImpl.h: Ditto.
35880 * src/WebIconLoadingCompletionImpl.cpp:
35881 (WebKit::WebIconLoadingCompletionImpl::WebIconLoadingCompletionImpl): Changed to use FileIconLoader.
35882 (WebKit::WebIconLoadingCompletionImpl::didLoadIcon): Ditto.
35883 * src/WebIconLoadingCompletionImpl.h: Dito.
35885 2011-06-18 Yufeng Shen <miletus@chromium.org>
35887 Reviewed by Darin Fisher.
35889 Adding "force" filed to Touch Event
35890 https://bugs.webkit.org/show_bug.cgi?id=62766
35892 * public/WebTouchPoint.h:
35893 (WebKit::WebTouchPoint::WebTouchPoint):
35894 * src/WebInputEventConversion.cpp:
35895 (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
35897 2011-06-17 Chris Rogers <crogers@google.com>
35899 Unreviewed build fix.
35901 Build fix - fix chromium shared win builder
35902 https://bugs.webkit.org/show_bug.cgi?id=62924
35906 2011-06-17 Dmitry Lomov <dslomov@google.com>
35908 Reviewed by Adam Barth.
35910 https://bugs.webkit.org/show_bug.cgi?id=62653
35911 [V8][Chromium] Make StringCache in V8 bindings per-isolate
35912 This moves StringCache into V8BindingPerIsolateData.
35914 * src/WebScriptController.cpp:
35915 (WebKit::WebScriptController::enableV8SingleThreadMode): StringCache is now per-isolate, so ok in multithreaded contexts.
35917 2011-06-17 Ryosuke Niwa <rniwa@webkit.org>
35919 Roll Chromium DEPS.
35923 2011-06-17 Sheriff Bot <webkit.review.bot@gmail.com>
35925 Unreviewed, rolling out r89143.
35926 http://trac.webkit.org/changeset/89143
35927 https://bugs.webkit.org/show_bug.cgi?id=62912
35929 Possible Chromeos test breakage (Requested by senorblanco on
35932 * src/AsyncFileSystemChromium.cpp:
35933 (WebCore::AsyncFileSystemChromium::virtualPathToFileSystemURL):
35934 * src/WorkerAsyncFileSystemChromium.cpp:
35935 (WebCore::WorkerAsyncFileSystemChromium::virtualPathToFileSystemURL):
35936 * tests/KURLTest.cpp:
35937 (ComponentCase::TEST):
35939 2011-06-17 Chris Rogers <crogers@google.com>
35941 Reviewed by Tony Chang.
35943 Enable Web Audio for chromium windows build
35944 https://bugs.webkit.org/show_bug.cgi?id=62895
35948 2011-06-17 Eric Uhrhane <ericu@chromium.org>
35950 Reviewed by Adam Barth.
35952 [filesystem/Chromium] Filesystem paths need proper URL escaping
35953 https://bugs.webkit.org/show_bug.cgi?id=62811
35955 Fix http://code.google.com/p/chromium/issues/detail?id=78860 by making
35956 KURLChromium.cpp's escaping code actually work.
35958 Here I added the needed calls to encodeWithURLEscapeSequences.
35959 * src/AsyncFileSystemChromium.cpp:
35960 (WebCore::AsyncFileSystemChromium::virtualPathToFileSystemURL):
35961 * src/WorkerAsyncFileSystemChromium.cpp:
35962 (WebCore::WorkerAsyncFileSystemChromium::virtualPathToFileSystemURL):
35964 Here I updated the test to reflect the new functionality in
35965 encodeWithURLEscapeSequences.
35966 * tests/KURLTest.cpp:
35968 2011-06-16 Bill Budge <bbudge@chromium.org>
35970 Reviewed by Adam Barth.
35972 The AssociatedURLLoader returns URL access errors synchronously. Use a timer to return such errors asynchronously. Also add unit tests for successful loads, same-origin restriction by default, and successful cross-origin loads.
35973 https://bugs.webkit.org/show_bug.cgi?id=60059
35977 * src/AssociatedURLLoader.cpp:
35978 (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
35979 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
35980 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
35981 (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
35982 (WebKit::AssociatedURLLoader::ClientAdapter::enableErrorNotifications):
35983 (WebKit::AssociatedURLLoader::ClientAdapter::notifyError):
35984 (WebKit::AssociatedURLLoader::loadAsynchronously):
35985 * tests/AssociatedURLLoaderTest.cpp: Added.
35986 (WebKit::TestWebFrameClient::cancelledError):
35987 (WebKit::AssociatedURLLoaderTest::AssociatedURLLoaderTest):
35988 (WebKit::AssociatedURLLoaderTest::SetUp):
35989 (WebKit::AssociatedURLLoaderTest::TearDown):
35990 (WebKit::AssociatedURLLoaderTest::serveRequests):
35991 (WebKit::AssociatedURLLoaderTest::createAssociatedURLLoader):
35992 (WebKit::AssociatedURLLoaderTest::willSendRequest):
35993 (WebKit::AssociatedURLLoaderTest::didSendData):
35994 (WebKit::AssociatedURLLoaderTest::didReceiveResponse):
35995 (WebKit::AssociatedURLLoaderTest::didDownloadData):
35996 (WebKit::AssociatedURLLoaderTest::didReceiveData):
35997 (WebKit::AssociatedURLLoaderTest::didReceiveCachedMetadata):
35998 (WebKit::AssociatedURLLoaderTest::didFinishLoading):
35999 (WebKit::AssociatedURLLoaderTest::didFail):
36002 2011-06-16 Sailesh Agrawal <sail@chromium.org>
36004 Reviewed by Mihai Parparita.
36006 [Chromium] Overlay scrollbars leave glitches on web content
36007 https://bugs.webkit.org/show_bug.cgi?id=62383
36009 Fix glitches when scrolling with overlay scrollbars. The problem was that the render widget was copying the scrollbars when scrolling. Fix was to intersect the clip rect with the scroll rect. This is the same thing that Safari does (see WebChromeClient::scroll).
36011 * src/ChromeClientImpl.cpp:
36012 (WebKit::ChromeClientImpl::scroll):
36014 2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
36020 2011-06-16 Ryosuke Niwa <rniwa@webkit.org>
36026 2011-06-16 Adam Barth <abarth@webkit.org>
36028 Reviewed by Darin Fisher.
36030 [Chromium] Prepare to move some APIs from WebFrame to WebDocument
36031 https://bugs.webkit.org/show_bug.cgi?id=62781
36033 This patch adds a WEBKIT_FRAME_TO_DOCUMENT_API_MOVE ifdef to prepare
36034 for moving a number of Document-specific APIs from WebFrame to
36035 WebDocument. This ifdef will allow us to move these APIs without
36036 disrupting the consumers of the APIs (too much).
36038 * public/WebFrame.h:
36039 * src/WebFrameImpl.cpp:
36040 * src/WebFrameImpl.h:
36042 2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
36044 Unreviewed, rolling out r89026.
36045 http://trac.webkit.org/changeset/89026
36046 https://bugs.webkit.org/show_bug.cgi?id=62804
36048 These patches were likely correct. I'll investigate the
36049 browser_test failures. (Requested by abarth on #webkit).
36051 * src/WebPluginContainerImpl.cpp:
36052 (WebKit::WebPluginContainerImpl::loadFrameRequest):
36053 * src/WebViewImpl.cpp:
36054 (WebKit::WebViewImpl::performMediaPlayerAction):
36056 2011-06-16 Vsevolod Vlasov <vsevik@chromium.org>
36058 Reviewed by Pavel Feldman.
36060 Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
36061 https://bugs.webkit.org/show_bug.cgi?id=61205
36063 Added inspector backend cache for XHR content.
36065 * src/AssociatedURLLoader.cpp:
36066 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
36068 2011-06-16 Tommy Widenflycht <tommyw@google.com>
36070 Reviewed by Tony Gentilcore.
36072 MediaStream API: Runtime enabled features
36073 https://bugs.webkit.org/show_bug.cgi?id=62798
36075 Add the WebRuntimeFeatures API for Media Streams and enable the feature by default in DumpRenderTree.
36077 * public/WebRuntimeFeatures.h:
36078 * src/WebRuntimeFeatures.cpp:
36079 (WebKit::WebRuntimeFeatures::enableMediaStream):
36080 (WebKit::WebRuntimeFeatures::isMediaStreamEnabled):
36082 2011-06-16 Torsten Kurbad <gentoo@tk-webart.de>
36084 Reviewed by Eric Seidel.
36086 Add support for sys.platform == 'linux3' by relaxing
36087 conditional statements and/or extending lookup dicts.
36088 This way, Linux kernels >=3.0-rc1 get supported in the
36090 https://bugs.webkit.org/show_bug.cgi?id=62730
36094 2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
36096 Unreviewed, rolling out r89025.
36097 http://trac.webkit.org/changeset/89025
36098 https://bugs.webkit.org/show_bug.cgi?id=62799
36100 "Some layout tests fail" (Requested by yurys on #webkit).
36102 * src/AssociatedURLLoader.cpp:
36103 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
36105 2011-06-16 Vitaly Repeshko <vitalyr@chromium.org>
36109 Revert Adam's user gesture patch series r89002, r89005, r89007, r89018
36110 https://bugs.webkit.org/show_bug.cgi?id=62796
36112 The patches broke chromium browser tests.
36114 * src/WebPluginContainerImpl.cpp:
36115 (WebKit::WebPluginContainerImpl::loadFrameRequest):
36116 * src/WebViewImpl.cpp:
36117 (WebKit::WebViewImpl::performMediaPlayerAction):
36119 2011-06-16 Vsevolod Vlasov <vsevik@chromium.org>
36121 Reviewed by Yury Semikhatsky.
36123 Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
36124 https://bugs.webkit.org/show_bug.cgi?id=61205
36126 Added inspector backend cache for XHR content.
36128 * src/AssociatedURLLoader.cpp:
36129 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
36131 2011-06-16 Adam Barth <abarth@webkit.org>
36133 Reviewed by Eric Seidel.
36135 Remove HTMLVideoElement::processingUserGesture
36136 https://bugs.webkit.org/show_bug.cgi?id=62784
36138 * src/WebViewImpl.cpp:
36139 (WebKit::WebViewImpl::performMediaPlayerAction):
36141 2011-06-15 Mikhail Naganov <mnaganov@chromium.org>
36143 Reviewed by Pavel Feldman.
36145 WebInspector [Chromium]: Make heap snapshots UI more responsive.
36146 https://bugs.webkit.org/show_bug.cgi?id=62360
36148 Two changes have been made:
36149 - when we request elements, sort array only partially;
36150 - when populating children, do it in batches;
36154 2011-06-15 Adam Barth <abarth@webkit.org>
36156 Reviewed by Eric Seidel.
36158 Remove Event::fromUserGesture
36159 https://bugs.webkit.org/show_bug.cgi?id=62778
36161 This call site is not definite about there not being a user gesture.
36163 * src/WebPluginContainerImpl.cpp:
36164 (WebKit::WebPluginContainerImpl::loadFrameRequest):
36166 2011-06-15 Darin Adler <darin@apple.com>
36168 Reviewed by Adam Barth.
36170 Remove obsolete LOOSE_OWN_PTR code
36171 https://bugs.webkit.org/show_bug.cgi?id=59909
36173 * src/StorageAreaProxy.cpp:
36174 (WebCore::StorageAreaProxy::StorageAreaProxy): Use adoptPtr
36175 instead of LOOSE_OWN_PTR.
36176 * src/StorageNamespaceProxy.cpp:
36177 (WebCore::StorageNamespaceProxy::StorageNamespaceProxy): Ditto.
36179 2011-06-15 Andrey Kosyakov <caseq@chromium.org>
36181 Unreviewed, rolled out r88937 (broke build on mac)
36183 * src/AssociatedURLLoader.cpp:
36184 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
36186 2011-06-15 Pavel Feldman <pfeldman@chromium.org>
36188 Not reviewed: [Chromium] one line background color fix for inspector.
36190 * src/js/devTools.css:
36191 (body.detached.platform-mac-snowleopard #toolbar):
36192 (body.detached.platform-mac-snowleopard.inactive #toolbar):
36194 2011-06-14 Hans Wennborg <hans@chromium.org>
36196 Reviewed by Tony Gentilcore.
36198 IndexedDB: LevelDB doesn't do incognito mode; fall back to SQLite.
36199 https://bugs.webkit.org/show_bug.cgi?id=62633
36201 LevelDB does not support in-memory databases. Fall back to SQLite
36202 for incognito mode browsing. This will be tested by browser_tests
36205 * src/WebIDBFactoryImpl.cpp:
36206 (WebKit::WebIDBFactoryImpl::open):
36208 2011-06-10 Yury Semikhatsky <yurys@chromium.org>
36210 Reviewed by Dmitry Titov.
36212 [Chromium] Worker object may be garbage collected if it doesn't send any messages
36213 https://bugs.webkit.org/show_bug.cgi?id=62446
36215 Assume that WorkerContext has pending activity before explicit notification
36216 is received from it. It prevents worker object from being collected before
36217 the first message from its context is received.
36219 * src/WebWorkerClientImpl.cpp:
36220 (WebKit::WebWorkerClientImpl::startWorkerContext):
36221 (WebKit::WebWorkerClientImpl::startWorkerContextInternal):
36222 (WebKit::WebWorkerClientImpl::startWorkerContextTask):
36223 * src/WebWorkerClientImpl.h:
36225 2011-06-14 Eric Uhrhane <ericu@chromium.org>
36227 Reviewed by Darin Fisher.
36229 Clean up filesystem base path code.
36230 https://bugs.webkit.org/show_bug.cgi?id=60218
36232 Change a bunch of url-held-in-a-string parameters into real KURLS and
36233 WebURLs. Also add a #define to make it easier to stage this change, as
36234 it involves both Chromium and WebKit changes that would ideally be
36237 No new tests--no change in functionality.
36239 * public/WebFileSystem.h:
36240 * public/WebFileSystemCallbacks.h:
36241 * public/WebFrame.h:
36242 * src/AsyncFileSystemChromium.cpp:
36243 * src/AsyncFileSystemChromium.h:
36244 * src/WebFileSystemCallbacksImpl.cpp:
36245 * src/WebFileSystemCallbacksImpl.h:
36246 * src/WebFrameImpl.cpp:
36247 * src/WorkerAsyncFileSystemChromium.cpp:
36248 * src/WorkerAsyncFileSystemChromium.h:
36249 * src/WorkerAsyncFileWriterChromium.cpp:
36250 * src/WorkerAsyncFileWriterChromium.h:
36251 * src/WorkerFileSystemCallbacksBridge.cpp:
36252 * src/WorkerFileSystemCallbacksBridge.h:
36253 * src/WorkerFileWriterCallbacksBridge.cpp:
36254 * src/WorkerFileWriterCallbacksBridge.h:
36256 2011-06-14 James Robinson <jamesr@chromium.org>
36258 Reviewed by Stephen White.
36260 [chromium] Compositor shader initialization is inefficient
36261 https://bugs.webkit.org/show_bug.cgi?id=62618
36263 Add a TRACE_EVENT() around initial compositor initialization.
36265 * src/WebViewImpl.cpp:
36266 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
36268 2011-06-14 Adam Barth <abarth@webkit.org>
36270 Reviewed by Darin Fisher.
36272 WebFrame::url() should use the one true URL
36273 https://bugs.webkit.org/show_bug.cgi?id=62610
36275 The Document's URL is the one true URL. Thou shalt have no URLs before
36278 * src/WebFrameImpl.cpp:
36279 (WebKit::WebFrameImpl::url):
36281 2011-06-13 James Simonsen <simonjam@chromium.org>
36283 [Chromium] Unreviewed, rolled DEPS.
36287 2011-06-13 James Simonsen <simonjam@chromium.org>
36289 Reviewed by James Robinson.
36291 [Chromium] Implement monotonicallyIncreasingClock()
36292 https://bugs.webkit.org/show_bug.cgi?id=62162
36294 * public/WebKitClient.h:
36295 (WebKit::WebKitClient::monotonicallyIncreasingTime): Added.
36296 * src/PlatformBridge.cpp:
36297 (WebCore::PlatformBridge::monotonicallyIncreasingTime): Added.
36299 2011-06-13 Jian Li <jianli@chromium.org>
36301 Reviewed by David Levin.
36303 [Chromium] WebNotification should check if ScriptExecutionContext is gone
36304 before dispatching events.
36305 https://bugs.webkit.org/show_bug.cgi?id=62592
36307 * public/WebNotification.h:
36308 * src/WebNotification.cpp:
36309 (WebKit::WebNotification::dispatchDisplayEvent):
36310 (WebKit::WebNotification::dispatchErrorEvent):
36311 (WebKit::WebNotification::dispatchCloseEvent):
36312 (WebKit::WebNotification::dispatchClickEvent):
36313 (WebKit::WebNotification::dispatchEvent): Added a helper method to check
36314 the context and dispatch an event.
36316 2011-06-13 Dmitry Lomov <dslomov@google.com>
36318 Reviewed by Adam Barth.
36320 https://bugs.webkit.org/show_bug.cgi?id=62345
36321 Use per-isolate embedder data instead of statics for caches in bindings.
36322 This is a prerequisite for more than one v8 isolate per process.
36324 * tests/IDBBindingUtilitiesTest.cpp:
36327 2011-06-13 Lei Zhang <thestig@chromium.org>
36329 Reviewed by Darin Fisher.
36331 [Chromium] Add a WebSetting to control printing backgrounds
36332 https://bugs.webkit.org/show_bug.cgi?id=62423
36334 * public/WebSettings.h:
36335 * src/WebSettingsImpl.cpp:
36336 (WebKit::WebSettingsImpl::setShouldPrintBackgrounds):
36337 * src/WebSettingsImpl.h:
36339 2011-06-13 Dominic Mazzoni <dmazzoni@google.com>
36341 Reviewed by Dimitri Glazkov.
36343 Add accessors for selectionStart and selectionEnd.
36344 https://bugs.webkit.org/show_bug.cgi?id=62596
36346 * public/WebAccessibilityObject.h:
36347 * src/WebAccessibilityObject.cpp:
36348 (WebKit::WebAccessibilityObject::selectionEnd):
36349 (WebKit::WebAccessibilityObject::selectionStart):
36351 2011-06-13 Adam Barth <abarth@webkit.org>
36353 Reviewed by Nate Chapin.
36355 Factor IconController out of FrameLoader
36356 https://bugs.webkit.org/show_bug.cgi?id=62509
36358 * src/WebFrameImpl.cpp:
36359 (WebKit::WebFrameImpl::iconURLs):
36361 2011-06-12 Adam Barth <abarth@webkit.org>
36363 Reviewed by Alexey Proskuryakov.
36365 Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
36366 https://bugs.webkit.org/show_bug.cgi?id=62516
36368 * src/FrameLoaderClientImpl.cpp:
36369 (WebKit::FrameLoaderClientImpl::interruptedForPolicyChangeError):
36370 * src/FrameLoaderClientImpl.h:
36372 2011-06-12 Adam Barth <abarth@webkit.org>
36374 Reviewed by Eric Seidel.
36376 Remove FrameLoader::isProcessingUserGesture
36377 https://bugs.webkit.org/show_bug.cgi?id=62519
36379 * src/WebFrameImpl.cpp:
36380 (WebKit::WebFrameImpl::isProcessingUserGesture):
36382 2011-06-10 Vsevolod Vlasov <vsevik@chromium.org>
36384 Reviewed by James Robinson.
36386 Web Inspector: [Chromium] DevTools does not highlight elements when accelerated compositing is on.
36387 https://bugs.webkit.org/show_bug.cgi?id=62149
36389 Added page overlay for inspector highlight support.
36392 * src/ChromeClientImpl.cpp:
36393 (WebKit::ChromeClientImpl::attachRootGraphicsLayer):
36394 * src/PageOverlay.cpp: Added.
36395 (WebKit::PageOverlay::create):
36396 (WebKit::PageOverlay::PageOverlay):
36397 (WebKit::OverlayGraphicsLayerClientImpl::create):
36398 (WebKit::OverlayGraphicsLayerClientImpl::~OverlayGraphicsLayerClientImpl):
36399 (WebKit::OverlayGraphicsLayerClientImpl::notifyAnimationStarted):
36400 (WebKit::OverlayGraphicsLayerClientImpl::notifySyncRequired):
36401 (WebKit::OverlayGraphicsLayerClientImpl::paintContents):
36402 (WebKit::OverlayGraphicsLayerClientImpl::showDebugBorders):
36403 (WebKit::OverlayGraphicsLayerClientImpl::showRepaintCounter):
36404 (WebKit::OverlayGraphicsLayerClientImpl::OverlayGraphicsLayerClientImpl):
36405 (WebKit::PageOverlay::clear):
36406 (WebKit::PageOverlay::update):
36407 (WebKit::PageOverlay::paintWebFrame):
36408 (WebKit::PageOverlay::invalidateWebFrame):
36409 * src/PageOverlay.h: Added.
36410 (WebKit::PageOverlay::~PageOverlay):
36411 (WebKit::PageOverlay::setClient):
36412 * src/WebDevToolsAgentImpl.cpp:
36413 (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
36414 (WebKit::WebDevToolsAgentImpl::highlight):
36415 (WebKit::WebDevToolsAgentImpl::hideHighlight):
36416 * src/WebDevToolsAgentImpl.h:
36417 * src/WebFrameImpl.cpp:
36418 (WebKit::WebFrameImpl::paintWithContext):
36419 * src/WebViewImpl.cpp:
36420 (WebKit::WebViewImpl::WebViewImpl):
36421 (WebKit::WebViewImpl::setPageOverlayClient):
36422 (WebKit::WebViewImpl::setOverlayLayer):
36423 (WebKit::WebViewImpl::setRootGraphicsLayer):
36424 (WebKit::WebViewImpl::setRootPlatformLayer):
36425 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
36426 (WebKit::WebViewImpl::doComposite):
36427 (WebKit::WebViewImpl::reallocateRenderer):
36428 * src/WebViewImpl.h:
36429 (WebKit::WebViewImpl::pageOverlay):
36431 2011-06-10 David Levin <levin@chromium.org>
36433 Reviewed by Dmitry Titov.
36435 Fetching a Worker with url that isn't allowed from a file based test causes DRT to crash.
36436 https://bugs.webkit.org/show_bug.cgi?id=62469
36438 Test: fast/workers/worker-crash-with-invalid-location.html
36440 * src/SharedWorkerRepository.cpp:
36441 (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader): Changed to using the RefCounted version
36442 of WorkerScriptLoader.
36443 (WebCore::SharedWorkerScriptLoader::load): Rearranged calls as done in similar places,
36444 which allows for SharedWorkerScriptLoader to be deleted during the laodAsynchronously call
36445 and for unsetPendingActivity to be called.
36446 (WebCore::SharedWorkerScriptLoader::notifyFinished): Changed to using the RefCounted version
36447 of WorkerScriptLoader.
36449 2011-06-10 Ryosuke Niwa <rniwa@webkit.org>
36455 2011-06-10 Tony Chang <tony@chromium.org>
36457 Reviewed by Dimitri Glazkov.
36459 [chromium] make features.gypi the same as features_override.gypi
36460 https://bugs.webkit.org/show_bug.cgi?id=62399
36462 Make the file the same as chromium's features_override.gypi so we
36463 can remove features_override.gypi in chromium.
36465 Remove ENABLE_DATAGRID=0 since the define is gone and remove
36466 ENABLE_FULLSCREEN_API=1 since we want to disable it.
36470 2011-06-09 Yury Semikhatsky <yurys@chromium.org>
36472 Reviewed by Dmitry Titov.
36474 [Chromium] Worker object may be garbage collected even if it has message handlers
36475 https://bugs.webkit.org/show_bug.cgi?id=62292
36477 I'd like to convert the test case into a layout test but I don't see yet
36478 how to do this so that the test isn't too slow and reliable. The problem
36479 with test is that full-GC needs to be triggered right after
36480 WebWorkerClientImpl::confirmMessageFromWorkerObject is called and there
36481 is no way to hook WebWorkerClientImpl::confirmMessageFromWorkerObject from JavaScript.
36482 So no test for now.
36484 * src/WebWorkerClientImpl.cpp:
36485 (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
36486 (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask): update worker context pending
36487 activity state every time a message is confirmed since the message may have created a new activity.
36488 * src/WebWorkerClientImpl.h:
36490 2011-06-09 James Kozianski <koz@chromium.org>
36492 Unreviewed, rolling out r88466.
36493 http://trac.webkit.org/changeset/88466
36494 https://bugs.webkit.org/show_bug.cgi?id=60059
36496 Broke PPAPITest.URLLoader test on the chromium bots
36500 * src/AssociatedURLLoader.cpp:
36501 (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
36502 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
36503 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
36504 (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
36505 (WebKit::AssociatedURLLoader::loadAsynchronously):
36506 * tests/AssociatedURLLoaderTest.cpp: Removed.
36508 2011-06-09 James Robinson <jamesr@chromium.org>
36510 Reviewed by Eric Seidel.
36512 [chromium] webkitRequestFullscreen exposed to web even when feature is disabled
36513 https://bugs.webkit.org/show_bug.cgi?id=62397
36515 Remove ENABLE_FULLSCREEN_API define from chromium builds since this exposes the webkitRequestFullscreen function
36516 even when the runtime setting was disabled.
36520 2011-06-09 Sheriff Bot <webkit.review.bot@gmail.com>
36522 Unreviewed, rolling out r88486.
36523 http://trac.webkit.org/changeset/88486
36524 https://bugs.webkit.org/show_bug.cgi?id=62409
36526 Broke chromium-win compile (Requested by jamesr on #webkit).
36528 * public/WebData.h:
36529 * public/WebPageSerializer.h:
36531 * src/WebPageSerializer.cpp:
36532 (WebKit::WebPageSerializer::serialize):
36533 (WebKit::WebPageSerializer::serializeToMHTML):
36535 2011-06-09 Jay Civelli <jcivelli@chromium.org>
36537 Reviewed by Darin Fisher.
36539 Page serializer APIs now use WebData instead of fetching the entire
36541 https://bugs.webkit.org/show_bug.cgi?id=61908
36543 * public/WebData.h:
36544 * public/WebPageSerializer.h:
36546 (WebKit::WebData::getSomeData):
36547 * src/WebPageSerializer.cpp:
36548 (WebKit::WebPageSerializer::serialize):
36549 (WebKit::WebPageSerializer::serializeToMHTML):
36551 2011-06-09 Bill Budge <bbudge@chromium.org>
36553 Reviewed by Adam Barth.
36555 The AssociatedURLLoader returns URL access errors synchronously. Use a timer to return such errors asynchronously. Also add unit tests for successful loads, same-origin restriction by default, and successful cross-origin loads.
36556 https://bugs.webkit.org/show_bug.cgi?id=60059
36560 * src/AssociatedURLLoader.cpp:
36561 (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
36562 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
36563 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
36564 (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
36565 (WebKit::AssociatedURLLoader::ClientAdapter::enableErrorNotifications):
36566 (WebKit::AssociatedURLLoader::ClientAdapter::notifyError):
36567 (WebKit::AssociatedURLLoader::loadAsynchronously):
36568 * tests/AssociatedURLLoaderTest.cpp: Added.
36569 (WebKit::TestWebFrameClient::cancelledError):
36570 (WebKit::AssociatedURLLoaderTest::AssociatedURLLoaderTest):
36571 (WebKit::AssociatedURLLoaderTest::SetUp):
36572 (WebKit::AssociatedURLLoaderTest::TearDown):
36573 (WebKit::AssociatedURLLoaderTest::serveRequests):
36574 (WebKit::AssociatedURLLoaderTest::createAssociatedURLLoader):
36575 (WebKit::AssociatedURLLoaderTest::willSendRequest):
36576 (WebKit::AssociatedURLLoaderTest::didSendData):
36577 (WebKit::AssociatedURLLoaderTest::didReceiveResponse):
36578 (WebKit::AssociatedURLLoaderTest::didDownloadData):
36579 (WebKit::AssociatedURLLoaderTest::didReceiveData):
36580 (WebKit::AssociatedURLLoaderTest::didReceiveCachedMetadata):
36581 (WebKit::AssociatedURLLoaderTest::didFinishLoading):
36582 (WebKit::AssociatedURLLoaderTest::didFail):
36585 2011-06-09 Nico Weber <thakis@chromium.org>
36587 Reviewed by Darin Fisher.
36589 [chromium] Make a few destructors private.
36590 https://bugs.webkit.org/show_bug.cgi?id=62341
36592 No intended functionality change.
36594 * src/NotificationPresenterImpl.cpp:
36595 (WebKit::VoidCallbackClient::~VoidCallbackClient):
36596 * src/WebTextCheckingCompletionImpl.h:
36597 (WebKit::WebTextCheckingCompletionImpl::~WebTextCheckingCompletionImpl):
36598 * src/WebURLRequest.cpp:
36599 (WebKit::WebURLRequestPrivateImpl::~WebURLRequestPrivateImpl):
36600 * src/WebURLResponse.cpp:
36601 (WebKit::WebURLResponsePrivateImpl::~WebURLResponsePrivateImpl):
36603 2011-06-09 James Robinson <jamesr@chromium.org>
36605 Fix chromium build on build.webkit.org builders.
36609 2011-06-08 Justin Novosad <junov@chromium.org>
36611 Reviewed by James Robinson.
36613 [Chromium] Crash when closing a tab with accelerated 2d canvas
36614 https://bugs.webkit.org/show_bug.cgi?id=62324
36615 In GraphicsContext3DInternal::setContextLostCallback we are passing a
36616 non-refcounted ptr to a refcounted member. this can cause an access
36617 violation after the destruction of GraphicsContext3D. Upon destruction
36618 a null callback is sent to setContextLostCallback, which is good
36619 except that it gets placed in a non-null adapter object. This fix
36620 prevents the creation of the adapter when the callback is null, thus
36621 preventing a later crash.
36623 * src/GraphicsContext3DChromium.cpp:
36624 (WebCore::GraphicsContextLostCallbackAdapter::create):
36626 2011-06-08 James Robinson <jamesr@chromium.org>
36628 Hopefully last change to features.gypi - set ENABLE_REGISTER_PROTOCOL_HANDLER based off of the the variable set
36629 in chromium's common.gypi. Should green up the chromium linux tester on build.webkit.org.
36633 2011-06-08 James Robinson <jamesr@chromium.org>
36635 Set ENABLE_REGISTER_PROTOCOL_HANDLER=1 for chromium. I didn't mean to turn that off...
36639 2011-06-08 James Robinson <jamesr@chromium.org>
36641 [chromium] Update the chromium-within-WebKit revision to r88481
36642 https://bugs.webkit.org/show_bug.cgi?id=62353
36646 2011-06-08 Sailesh Agrawal <sail@chromium.org>
36648 Reviewed by Darin Fisher.
36650 [Chromium] Add stubs to WebWidget
36651 https://bugs.webkit.org/show_bug.cgi?id=62263
36653 This change add stub implementations for all WebWidget functions. Having stub methods should make it easier to add new functions to the class without breaking Chromium.
36655 * public/WebWidget.h:
36656 (WebKit::WebWidget::close):
36657 (WebKit::WebWidget::size):
36658 (WebKit::WebWidget::resize):
36659 (WebKit::WebWidget::animate):
36660 (WebKit::WebWidget::layout):
36661 (WebKit::WebWidget::paint):
36662 (WebKit::WebWidget::composite):
36663 (WebKit::WebWidget::themeChanged):
36664 (WebKit::WebWidget::handleInputEvent):
36665 (WebKit::WebWidget::mouseCaptureLost):
36666 (WebKit::WebWidget::setFocus):
36667 (WebKit::WebWidget::setComposition):
36668 (WebKit::WebWidget::confirmComposition):
36669 (WebKit::WebWidget::compositionRange):
36670 (WebKit::WebWidget::textInputType):
36671 (WebKit::WebWidget::caretOrSelectionBounds):
36672 (WebKit::WebWidget::selectionRange):
36673 (WebKit::WebWidget::caretOrSelectionRange):
36674 (WebKit::WebWidget::setTextDirection):
36675 (WebKit::WebWidget::isAcceleratedCompositingActive):
36677 2011-06-08 Tom Sepez <tsepez@chromium.org>
36679 Reviewed by Adam Barth.
36681 Add new permission callbacks for mixed content blocking.
36682 https://bugs.webkit.org/show_bug.cgi?id=61946
36684 * public/WebPermissionClient.h:
36685 (WebKit::WebPermissionClient::allowDisplayingInsecureContent):
36686 (WebKit::WebPermissionClient::allowRunningInsecureContent):
36687 * src/FrameLoaderClientImpl.cpp:
36688 (WebKit::FrameLoaderClientImpl::allowDisplayingInsecureContent):
36689 (WebKit::FrameLoaderClientImpl::allowRunningInsecureContent):
36690 * src/FrameLoaderClientImpl.h:
36692 2011-06-08 Ryosuke Niwa <rniwa@webkit.org>
36694 Added new entries for skia/third_party/glu.
36698 2011-06-08 Ryosuke Niwa <rniwa@webkit.org>
36704 2011-06-08 Ryan Sleevi <rsleevi@chromium.org>
36706 Reviewed by Tony Chang.
36708 Suppress C++0x compat warnings when compiling Chromium port with GCC 4.6
36710 Compiling Chromium port under GCC 4.6 produces warnings about nullptr
36711 https://bugs.webkit.org/show_bug.cgi?id=62242
36715 2011-06-08 Greg Simon <gregsimon@chromium.org>
36717 Reviewed by Dimitri Glazkov.
36719 Control Indexeddb backends from LayoutTestController
36720 https://bugs.webkit.org/show_bug.cgi?id=61000
36722 * public/WebIDBFactory.h:
36723 * src/AssertMatchingEnums.cpp:
36724 * src/WebIDBFactoryImpl.cpp:
36725 (WebKit::WebIDBFactory::setOverrideBackingStoreType):
36726 (WebKit::WebIDBFactory::setTemporaryDatabaseFolder):
36727 (WebKit::WebIDBFactoryImpl::open):
36729 2011-06-08 Dominic Mazzoni <dmazzoni@google.com>
36731 Reviewed by Dimitri Glazkov.
36733 Add a method to return the line breaks for any element with
36734 multiline text content.
36735 https://bugs.webkit.org/show_bug.cgi?id=62236
36737 * public/WebAccessibilityObject.h:
36738 * src/WebAccessibilityObject.cpp:
36739 (WebKit::WebAccessibilityObject::lineBreaks):
36741 2011-06-08 Ilya Tikhonovsky <loislo@chromium.org>
36743 Unreviewed chromium build fix for r88332.
36745 * src/WebRuntimeFeatures.cpp:
36747 2011-06-08 Hironori Bono <hbono@chromium.org>
36749 Reviewed by Brent Fulgham.
36752 https://bugs.webkit.org/show_bug.cgi?id=59693
36754 This change adds two SpellCheck API functions (addSpellcheckRange and
36755 removeSpellcheckRange) and one attribute (spellcheckRange) discussed in
36756 the public-webapps ML. This change is currently available only on Chromium.
36759 * public/WebRuntimeFeatures.h:
36760 * src/ContextMenuClientImpl.cpp:
36761 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
36762 * src/WebRuntimeFeatures.cpp:
36763 (WebKit::WebRuntimeFeatures::enableSpellCheckAPI):
36764 (WebKit::WebRuntimeFeatures::isSpellCheckAPIEnabled):
36766 2011-06-07 James Kozianski <koz@chromium.org>
36768 [Chromium] Unreviewed. Disable SelectItemEvenFire that fails on
36771 * tests/PopupMenuTest.cpp:
36774 2011-06-07 Robert Kroeger <rjkroege@chromium.org>
36776 Reviewed by Adam Barth.
36778 [chromium] Add a basic gesture recognizer to the Chromium platform
36779 https://bugs.webkit.org/show_bug.cgi?id=54417
36781 Added unit tests for the basic chromium platform gesture recognizer.
36783 * tests/InnerGestureRecognizerTest.cpp: Added.
36784 (WebCore::InspectableInnerGestureRecognizer::InspectableInnerGestureRecognizer):
36785 (WebCore::InspectableInnerGestureRecognizer::signature):
36786 (WebCore::InspectableInnerGestureRecognizer::firstTouchPosition):
36787 (WebCore::InspectableInnerGestureRecognizer::setFirstTouchTime):
36788 (WebCore::InspectableInnerGestureRecognizer::firstTouchTime):
36789 (WebCore::InspectableInnerGestureRecognizer::setLastTouchTime):
36790 (WebCore::InspectableInnerGestureRecognizer::lastTouchTime):
36791 (WebCore::InspectableInnerGestureRecognizer::edgeFunction):
36792 (WebCore::InspectableInnerGestureRecognizer::updateValues):
36793 (WebCore::InspectableInnerGestureRecognizer::addEdgeFunction):
36794 (WebCore::BuildablePlatformTouchPoint::setX):
36795 (WebCore::BuildablePlatformTouchPoint::setY):
36796 (WebCore::BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
36797 (WebCore::TestGestureRecognizer::TestGestureRecognizer):
36798 (WebCore::TestGestureRecognizer::SetUp):
36799 (WebCore::TestGestureRecognizer::TearDown):
36802 2011-06-07 Vangelis Kokkevis <vangelis@chromium.org>
36804 Reviewed by James Robinson.
36806 Disable compositing for RTL pages in the RenderLayerCompositor rather
36807 than later on in the WebViewImpl.
36808 https://bugs.webkit.org/show_bug.cgi?id=62246
36810 * src/ChromeClientImpl.cpp:
36811 (WebKit::ChromeClientImpl::allowedCompositingTriggers):
36812 * src/WebViewImpl.cpp:
36813 (WebKit::WebViewImpl::layout):
36814 (WebKit::WebViewImpl::setRootGraphicsLayer):
36816 2011-06-07 Sheriff Bot <webkit.review.bot@gmail.com>
36818 Unreviewed, rolling out r88254, r88262, and r88268.
36819 http://trac.webkit.org/changeset/88254
36820 http://trac.webkit.org/changeset/88262
36821 http://trac.webkit.org/changeset/88268
36822 https://bugs.webkit.org/show_bug.cgi?id=62234
36824 I fail at changing features.gypi (Requested by abarth on
36829 2011-06-07 Adam Barth <abarth@webkit.org>
36831 Reviewed by Tony Chang.
36833 Fix "branding" issue in features.gypi
36834 https://bugs.webkit.org/show_bug.cgi?id=62229
36836 Apparently we need to move the conditional block further out of the
36837 nesting in order to see the branding variable. This patch also remove
36838 the dummy branding variable I added to get the buildbot building again.
36842 2011-06-07 Adam Barth <abarth@webkit.org>
36844 Attempt to fix the cr-win build.
36848 2011-06-07 Adam Barth <abarth@webkit.org>
36850 Reviewed by Dimitri Glazkov.
36852 Synchronize features.gypi and features_override.gypi in preparation for removing features_override.gypi
36853 https://bugs.webkit.org/show_bug.cgi?id=62135
36855 After this patch is rolled into Chromium, we should be able to delete
36856 features_override.gyp downstream. Once we do that, we can simplify
36857 this file somewhat by removing at least on level of nesting.
36861 2011-06-03 Yury Semikhatsky <yurys@chromium.org>
36863 Reviewed by Pavel Feldman.
36865 [Chromium] Web Inspector: correctly handle disconnect from worker when script execution is paused
36866 https://bugs.webkit.org/show_bug.cgi?id=62019
36868 Dispatch disconnecFrontend message in debugger task mode to make sure
36869 it is processed even if execution is paused.
36871 * src/WebWorkerImpl.cpp:
36872 (WebKit::WebWorkerImpl::detachDevTools):
36873 (WebKit::WebWorkerImpl::dispatchDevToolsMessage):
36875 2011-06-07 Naoki Takano <takano.naoki@gmail.com>
36877 Reviewed by Kent Tamura.
36879 [Chromium] Click event is not fired for a menulist <select>
36880 https://bugs.webkit.org/show_bug.cgi?id=60563
36882 * tests/PopupMenuTest.cpp:
36883 (WebKit::TestPopupMenuClient::TestPopupMenuClient): Initialize m_node.
36884 (WebKit::TestPopupMenuClient::valueChanged): To fire 'change' event, forward the event like RenderMenuList.
36885 (WebKit::TestPopupMenuClient::itemIsEnabled): Change to return true or false according to disabled item or not.
36886 (WebKit::TestPopupMenuClient::setDisabledIndex): Set disabled index to simulate disabled item.
36887 (WebKit::TestPopupMenuClient::setFocusedNode): Set focused node to dispatch the event.
36888 (WebKit::SelectPopupMenuTest::SelectPopupMenuTest): Add baseURL.
36889 (WebKit::SelectPopupMenuTest::TearDown): Add UnregisterAllMockedURLs() call.
36890 (WebKit::SelectPopupMenuTest::registerMockedURLLoad): To simulate html load, call RegisterMockedURL().
36891 (WebKit::SelectPopupMenuTest::serveRequests): Call ServeAsynchronousMockedRequests().
36892 (WebKit::SelectPopupMenuTest::loadFrame): Simulate load frame with url string.
36893 (WebKit::TEST_F): Implement SelectItemEventFire, SelectItemKeyEvent, SelectItemRemoveSelectOnChange and SelectItemRemoveSelectOnChange.
36894 * tests/data/select_event.html: Added for SelectItemEventFire and SelectItemKeyEvent.
36895 * tests/data/select_event_remove_on_change.html: Added SelectItemRemoveSelectOnChange.
36896 * tests/data/select_event_remove_on_click.html: Added SelectItemRemoveSelectOnChange.
36897 * WebKit.gyp: Added PopupMenuTest.cpp. Because webkit_support dependency is added, we can't build PopupMenuTest.cpp with Chromium-win (shared) configuration.
36899 2011-06-06 Nico Weber <thakis@chromium.org>
36901 Reviewed by James Robinson.
36903 [chromium] Make WebViewImpl's destructor virtual
36904 https://bugs.webkit.org/show_bug.cgi?id=62155
36906 This is _not_ to fix a real bug, just to make clang's
36907 -Wdelete-non-virtual-dtor happy. As discussed at
36908 http://codereview.chromium.org/7094005/, we prefer making leaf class
36909 destructors virtual over making the leaf classes final.
36911 * src/WebViewImpl.h:
36913 2011-06-06 Daniel Cheng <dcheng@chromium.org>
36915 Reviewed by Tony Chang.
36917 [chromium] Delete dead clipboard code.
36918 https://bugs.webkit.org/show_bug.cgi?id=62113
36920 * src/WebDragData.cpp:
36922 2011-06-06 Nico Weber <thakis@chromium.org>
36924 Reviewed by James Robinson.
36926 [chromium] Make WebURLRequestPrivateImpl's and WebURLResponsePrivateImpl's destructors virtual
36927 https://bugs.webkit.org/show_bug.cgi?id=62148
36929 This is _not_ to fix a real bug, just to make clang's
36930 -Wdelete-non-virtual-dtor happy. As discussed at
36931 http://codereview.chromium.org/7094005/, we prefer making leaf class
36932 destructors virtual over making the leaf classes final.
36934 * src/WebURLRequest.cpp:
36935 (WebKit::WebURLRequestPrivateImpl::~WebURLRequestPrivateImpl):
36936 * src/WebURLResponse.cpp:
36937 (WebKit::WebURLResponsePrivateImpl::~WebURLResponsePrivateImpl):
36939 2011-06-06 Shishir Agrawal <shishir@chromium.org>
36941 Reviewed by Tony Gentilcore.
36943 Add a "prerender" state for page visibility.
36944 https://bugs.webkit.org/show_bug.cgi?id=62062
36946 * public/WebPageVisibilityState.h:
36947 * src/AssertMatchingEnums.cpp:
36948 * src/WebViewImpl.cpp:
36949 (WebKit::WebViewImpl::setVisibilityState):
36951 2011-06-06 Nico Weber <thakis@chromium.org>
36953 Reviewed by Dimitri Glazkov.
36955 webkit/glue/webmediaplayer_impl.cc deletes an object of type
36956 WebVideoFrame, which means this patch fixes a real bug, not just
36959 [chromium] Give WebVideoFrame a virtual destructor
36960 https://bugs.webkit.org/show_bug.cgi?id=61742
36962 * public/WebVideoFrame.h:
36963 (WebKit::WebVideoFrame::~WebVideoFrame):
36965 2011-06-04 Nico Weber <thakis@chromium.org>
36967 Reviewed by James Robinson.
36969 [chromium] Make ResourceHandleInternal's destructor virtual
36970 https://bugs.webkit.org/show_bug.cgi?id=62073
36972 This is _not_ to fix a real bug, just to make clang's
36973 -Wdelete-non-virtual-dtor happy. As discussed at
36974 http://codereview.chromium.org/7094005/, we prefer making leaf class
36975 destructors virtual over making the leaf classes final.
36977 * src/ResourceHandle.cpp:
36978 (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
36980 2011-06-04 Nico Weber <thakis@chromium.org>
36982 Reviewed by James Robinson.
36984 [chromium] Make ChromePrintContext's destructor virtual
36985 https://bugs.webkit.org/show_bug.cgi?id=62076
36987 Since WebFrameImpl's m_printContext is a OnwPtr<ChromePrintContext>
36988 that is dynamically set to either a ChromePrintContext or a
36989 ChromePluginPrintContext, this fixes an actual bug.
36991 * src/WebFrameImpl.cpp:
36992 (WebKit::ChromePrintContext::~ChromePrintContext):
36993 (WebKit::ChromePluginPrintContext::~ChromePluginPrintContext):
36995 2011-06-04 Nico Weber <thakis@chromium.org>
36997 Reviewed by James Robinson.
36999 [chromium] Make WebTextCheckingCompletionImpl's destructor virtual
37000 https://bugs.webkit.org/show_bug.cgi?id=62074
37002 This is _not_ to fix a real bug, just to make clang's
37003 -Wdelete-non-virtual-dtor happy. As discussed at
37004 http://codereview.chromium.org/7094005/, we prefer making leaf class
37005 destructors virtual over making the leaf classes final.
37007 * src/WebTextCheckingCompletionImpl.h:
37008 (WebKit::WebTextCheckingCompletionImpl::~WebTextCheckingCompletionImpl):
37010 2011-06-04 Nico Weber <thakis@chromium.org>
37012 Reviewed by James Robinson.
37014 [chromium] Make PlatformMessagePortChannel's destructor virtual
37015 https://bugs.webkit.org/show_bug.cgi?id=62072
37017 This is _not_ to fix a real bug, just to make clang's
37018 -Wdelete-non-virtual-dtor happy. As discussed at
37019 http://codereview.chromium.org/7094005/, we prefer making leaf class
37020 destructors virtual over making the leaf classes final.
37022 * src/PlatformMessagePortChannel.h:
37024 2011-06-04 Nico Weber <thakis@chromium.org>
37026 Reviewed by James Robinson.
37028 [chromium] Give VoidCallbackClient a virtual destructor
37029 https://bugs.webkit.org/show_bug.cgi?id=62067
37031 This is _not_ to fix a real bug, just to make clang's
37032 -Wdelete-non-virtual-dtor happy. As discussed at
37033 http://codereview.chromium.org/7094005/, we prefer making leaf class
37034 destructors virtual over making the leaf classes final.
37036 * src/NotificationPresenterImpl.cpp:
37037 (WebKit::VoidCallbackClient::~VoidCallbackClient):
37039 2011-06-04 Nico Weber <thakis@chromium.org>
37041 Reviewed by James Robinson.
37043 [chromium] Make WebFrameImpl destructor virtual
37044 https://bugs.webkit.org/show_bug.cgi?id=62065
37046 This is _not_ to fix a real bug, just to make clang's
37047 -Wdelete-non-virtual-dtor happy. As discussed at
37048 http://codereview.chromium.org/7094005/, we prefer making leaf class
37049 destructors virtual over making the leaf classes final.
37051 * src/WebFrameImpl.h:
37053 2011-06-03 Philippe Beauchamp <philippe.beauchamp@gmail.com>
37055 Reviewed by Dimitri Glazkov.
37057 Add the feature "Add as search engine..." in a search text field context menu for chromium
37058 https://bugs.webkit.org/show_bug.cgi?id=47980
37060 * public/WebContextMenuData.h:
37061 * public/WebSearchableFormData.h:
37062 * src/ContextMenuClientImpl.cpp:
37063 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
37064 * src/WebSearchableFormData.cpp:
37065 (WebKit::WebSearchableFormData::WebSearchableFormData):
37067 2011-06-03 Naoki Takano <takano.naoki@gmail.com>
37069 Reviewed by Eric Seidel.
37071 [Chromium] Call setToolTipText() in WebPopupMenuImpl mouse move handler to show tool tip in select popup window.
37072 https://bugs.webkit.org/show_bug.cgi?id=61260
37073 http://code.google.com/p/chromium/issues/detail?id=12721
37075 * public/WebMenuItemInfo.h: Add toolTip.
37076 * public/WebViewClient.h: Remove setToolTipText().
37077 * public/WebWidgetClient.h: Add setTooTipText().
37078 (WebKit::WebWidgetClient::setToolTipText):
37079 * src/ExternalPopupMenu.cpp:
37080 (WebKit::ExternalPopupMenu::getPopupMenuInfo): Add popupItem.toolTip set.
37081 * src/WebPopupMenuImpl.cpp:
37082 (WebKit::WebPopupMenuImpl::MouseMove): Call setToolTipText().
37084 2011-06-03 Hans Wennborg <hans@chromium.org>
37086 Reviewed by Steve Block.
37088 IndexedDB: Clean-up use of INT64_MAX in LevelDB back-end
37089 https://bugs.webkit.org/show_bug.cgi?id=62009
37091 Don't use INT64_MAX, use the various encodeMaxKey() functions instead.
37093 * tests/IDBLevelDBCodingTest.cpp:
37094 (IDBLevelDBCoding::TEST):
37096 2011-06-03 Mikhail Naganov <mnaganov@chromium.org>
37098 Reviewed by Yury Semikhatsky.
37100 Web Inspector: [Chromium] cpu-profiler-profiling layout test is flaky on Linux Debug.
37101 https://bugs.webkit.org/show_bug.cgi?id=61533
37103 Skip cpu-profiler-profiling in debug, implement a fast headless alternative.
37105 * public/WebDevToolsAgent.h:
37106 * src/WebDevToolsAgentImpl.cpp:
37107 (WebKit::WebDevToolsAgentImpl::setJavaScriptProfilingEnabled):
37108 * src/WebDevToolsAgentImpl.h:
37110 2011-06-02 Yury Semikhatsky <yurys@chromium.org>
37112 Reviewed by Pavel Feldman.
37114 Web Inspector: add an option for automatically attaching to new workers
37115 https://bugs.webkit.org/show_bug.cgi?id=61930
37117 Notification about worker context termination are now sent to the inspector.
37119 * src/WebWorkerClientImpl.cpp:
37120 (WebKit::WebWorkerClientImpl::terminateWorkerContext):
37121 (WebKit::WebWorkerClientImpl::disconnectFromInspector):
37122 (WebKit::WebWorkerClientImpl::workerContextDestroyed):
37124 2011-06-02 Aaron Colwell <acolwell@chromium.org>
37126 Reviewed by David Levin.
37128 Add mediaTimeForTimeValue() implementation.
37129 https://bugs.webkit.org/show_bug.cgi?id=61555
37131 * public/WebMediaPlayer.h:
37132 * src/WebMediaPlayerClientImpl.cpp:
37133 (WebKit::WebMediaPlayerClientImpl::mediaTimeForTimeValue):
37134 * src/WebMediaPlayerClientImpl.h:
37136 2011-06-02 Jay Civelli <jcivelli@chromium.org>
37138 Reviewed by Adam Barth.
37140 Adding MHTML generation support to MHTMLArchive.
37141 https://bugs.webkit.org/show_bug.cgi?id=7169
37143 * public/WebPageSerializer.h:
37144 * src/WebPageSerializer.cpp:
37145 (WebKit::WebPageSerializer::serializeToMHTML):
37147 2011-06-02 Dimitri Glazkov <dglazkov@chromium.org>
37149 Reviewed by Darin Adler.
37151 Add build logistics and plumbing for window.internals object.
37152 https://bugs.webkit.org/show_bug.cgi?id=60313
37154 * WebKit.gyp: Added linking new webkit_test_support library.
37155 * public/WebTestingSupport.h: Added.
37156 * src/WebTestingSupport.cpp: Added.
37158 2011-06-02 Aaron Colwell <acolwell@chromium.org>
37160 Reviewed by David Levin.
37162 Update chromium version
37163 https://bugs.webkit.org/show_bug.cgi?id=61555
37167 2011-06-02 Sheriff Bot <webkit.review.bot@gmail.com>
37169 Unreviewed, rolling out r87920.
37170 http://trac.webkit.org/changeset/87920
37171 https://bugs.webkit.org/show_bug.cgi?id=61943
37173 This patch does not build in Win Builder (dbg)(shared)
37174 downstream (Requested by abarth|gardener on #webkit).
37176 * tests/PopupMenuTest.cpp:
37177 (WebKit::TestPopupMenuClient::TestPopupMenuClient):
37178 (WebKit::TestPopupMenuClient::valueChanged):
37179 (WebKit::TestPopupMenuClient::itemIsEnabled):
37180 (WebKit::SelectPopupMenuTest::TearDown):
37181 * tests/data/popup/select_event.html: Removed.
37182 * tests/data/popup/select_event_remove_on_change.html: Removed.
37183 * tests/data/popup/select_event_remove_on_click.html: Removed.
37185 2011-06-02 Dimitri Glazkov <dglazkov@chromium.org>
37187 Unreviewed, rolling out r87926.
37188 http://trac.webkit.org/changeset/87926
37189 https://bugs.webkit.org/show_bug.cgi?id=60313
37191 Fails to find WebCoreTestSupport.dylib on bots.
37194 * public/WebTestingSupport.h: Removed.
37195 * src/WebTestingSupport.cpp: Removed.
37197 2011-06-02 Aaron Colwell <acolwell@chromium.org>
37199 Reviewed by Dimitri Glazkov.
37201 Bring gyp_webkit up to date with changes made to
37202 gyp_chromium so chromium_rev can be advanced past
37204 https://bugs.webkit.org/show_bug.cgi?id=61881
37208 2011-05-21 Dimitri Glazkov <dglazkov@chromium.org>
37210 Reviewed by Darin Adler.
37212 Add build logistics and plumbing for window.internals object.
37213 https://bugs.webkit.org/show_bug.cgi?id=60313
37215 * WebKit.gyp: Added linking new webkit_test_support library.
37216 * public/WebTestingSupport.h: Added.
37217 * src/WebTestingSupport.cpp: Added.
37219 2011-06-02 Naoki Takano <takano.naoki@gmail.com>
37221 Reviewed by Dimitri Glazkov.
37223 [Chromium] Click event is not fired for a menulist <select>
37224 https://bugs.webkit.org/show_bug.cgi?id=60563
37226 * tests/PopupMenuTest.cpp:
37227 (WebKit::TestPopupMenuClient::TestPopupMenuClient): Initialize m_node.
37228 (WebKit::TestPopupMenuClient::valueChanged): To fire 'change' event, forward the event like RenderMenuList.
37229 (WebKit::TestPopupMenuClient::itemIsEnabled): Change to return true or false according to disabled item or not.
37230 (WebKit::TestPopupMenuClient::setDisabledIndex): Set disabled index to simulate disabled item.
37231 (WebKit::TestPopupMenuClient::setFocusedNode): Set focused node to dispatch the event.
37232 (WebKit::SelectPopupMenuTest::SelectPopupMenuTest): Add baseURL.
37233 (WebKit::SelectPopupMenuTest::TearDown): Add UnregisterAllMockedURLs() call.
37234 (WebKit::SelectPopupMenuTest::registerMockedURLLoad): To simulate html load, call RegisterMockedURL().
37235 (WebKit::SelectPopupMenuTest::serveRequests): Call ServeAsynchronousMockedRequests().
37236 (WebKit::SelectPopupMenuTest::loadFrame): Simulate load frame with url string.
37237 (WebKit::TEST_F): Implement SelectItemEventFire, SelectItemKeyEvent, SelectItemRemoveSelectOnChange and SelectItemRemoveSelectOnChange.
37238 * tests/data/select_event.html: Added for SelectItemEventFire and SelectItemKeyEvent.
37239 * tests/data/select_event_remove_on_change.html: Added SelectItemRemoveSelectOnChange.
37240 * tests/data/select_event_remove_on_click.html: Added SelectItemRemoveSelectOnChange.
37242 2011-06-01 Adrienne Walker <enne@google.com>
37244 Reviewed by James Robinson.
37246 [chromium] Fix syncing of removed mask and replica layers
37247 https://bugs.webkit.org/show_bug.cgi?id=61895
37249 * tests/TreeSynchronizerTest.cpp:
37252 2011-06-01 Sheriff Bot <webkit.review.bot@gmail.com>
37254 Unreviewed, rolling out r87788.
37255 http://trac.webkit.org/changeset/87788
37256 https://bugs.webkit.org/show_bug.cgi?id=61856
37258 breaks windows chromium canary (Requested by jknotten on
37261 * public/WebPageSerializer.h:
37262 * src/WebPageSerializer.cpp:
37264 2011-06-01 Jay Civelli <jcivelli@chromium.org>
37266 Reviewed by Adam Barth.
37268 Adding MHTML generation support to MHTMLArchive.
37269 https://bugs.webkit.org/show_bug.cgi?id=7169
37271 * public/WebPageSerializer.h:
37272 * src/WebPageSerializer.cpp:
37273 (WebKit::WebPageSerializer::serializeToMHTML):
37275 2011-06-01 Mikhail Naganov <mnaganov@chromium.org>
37277 Reviewed by Yury Semikhatsky.
37279 Web Inspector [Chromium]: Put worker scripts into devtools_frontend.zip.
37280 https://bugs.webkit.org/show_bug.cgi?id=61803
37283 * scripts/generate_devtools_zip.py:
37285 2011-06-01 Sheriff Bot <webkit.review.bot@gmail.com>
37287 Unreviewed, rolling out r87781.
37288 http://trac.webkit.org/changeset/87781
37289 https://bugs.webkit.org/show_bug.cgi?id=61842
37291 breaks chromium linux release (Requested by mnaganov on
37295 * scripts/generate_devtools_zip.py:
37297 2011-05-31 Mikhail Naganov <mnaganov@chromium.org>
37299 Reviewed by Pavel Feldman.
37301 Web Inspector [Chromium]: Put worker scripts into devtools_frontend.zip.
37302 https://bugs.webkit.org/show_bug.cgi?id=61803
37305 * scripts/generate_devtools_zip.py:
37307 2011-05-31 Kinuko Yasuda <kinuko@chromium.org>
37309 Reviewed by Kent Tamura.
37311 [Chromium] webkitStorageInfo methods (for quota API) should not crash when error callback is not given.
37312 https://bugs.webkit.org/show_bug.cgi?id=61823
37314 Fixed assertion on errorCallback parameter.
37316 Test: storage/quotainfo-no-callbacks.html
37318 * src/StorageInfoChromium.cpp:
37319 (WebCore::StorageInfo::queryUsageAndQuota):
37320 (WebCore::StorageInfo::requestQuota):
37322 2011-05-31 Daniel Erat <derat@chromium.org>
37324 Reviewed by Tony Chang.
37326 Make WebScreenInfoFactory return fresh screen dimensions.
37327 https://bugs.webkit.org/show_bug.cgi?id=61679
37329 * public/x11/WebScreenInfoFactory.h:
37330 * src/x11/WebScreenInfoFactory.cpp:
37331 (WebKit::WebScreenInfoFactory::screenInfo):
37333 2011-05-31 Cary Clark <caryclark@google.com>
37335 Reviewed by Eric Seidel.
37337 Allow Chromium porting layer to use Skia on Mac.
37338 https://bugs.webkit.org/show_bug.cgi?id=61548
37340 * public/WebCommon.h:
37341 Don't allow WebKit to use CG if it is already using Skia.
37343 * src/PlatformBridge.cpp:
37344 (WebCore::PlatformBridge::paintScrollbarThumb):
37345 Allow scrollbar thumb draw to take WebCanvas.
37347 2011-05-27 Jochen Eisinger <jochen@chromium.org>
37349 Reviewed by Adam Barth.
37351 Check access policy on all storage operations
37352 https://bugs.webkit.org/show_bug.cgi?id=61581
37354 * src/StorageAreaProxy.cpp:
37355 (WebCore::StorageAreaProxy::length):
37356 (WebCore::StorageAreaProxy::key):
37357 (WebCore::StorageAreaProxy::getItem):
37358 (WebCore::StorageAreaProxy::setItem):
37359 (WebCore::StorageAreaProxy::removeItem):
37360 (WebCore::StorageAreaProxy::clear):
37361 (WebCore::StorageAreaProxy::contains):
37362 (WebCore::StorageAreaProxy::canAccessStorage):
37363 * src/StorageAreaProxy.h:
37364 * src/WebStorageAreaImpl.cpp:
37365 (WebKit::WebStorageAreaImpl::length):
37366 (WebKit::WebStorageAreaImpl::key):
37367 (WebKit::WebStorageAreaImpl::getItem):
37369 2011-05-27 Jochen Eisinger <jochen@chromium.org>
37371 Reviewed by Darin Fisher.
37373 [chromium] drop unused WebFrame parameter to WebStorageArea::setItem
37374 https://bugs.webkit.org/show_bug.cgi?id=61583
37376 * public/WebStorageArea.h:
37377 * src/StorageAreaProxy.cpp:
37378 (WebCore::StorageAreaProxy::setItem):
37379 * src/WebStorageAreaImpl.cpp:
37380 (WebKit::WebStorageAreaImpl::setItem):
37381 * src/WebStorageAreaImpl.h:
37383 2011-05-27 David Levin <levin@chromium.org>
37385 Reviewed by Darin Fisher.
37387 Need a callback for when the preferred rendered size may have changed.
37388 https://bugs.webkit.org/show_bug.cgi?id=61309
37390 * public/WebFrameClient.h:
37391 (WebKit::WebFrameClient::didUpdateLayout): Added stub.
37392 * src/ChromeClientImpl.cpp:
37393 (WebKit::ChromeClientImpl::layoutUpdated): Plumbed through the call to WebFrameClient::didUpdateLayout.
37394 * src/ChromeClientImpl.h: Added declaration.
37396 2011-05-27 Shishir Agrawal <shishir@chromium.org>
37398 Reviewed by Tony Gentilcore.
37400 Enable Page Visibility API in the chromium port.
37401 https://bugs.webkit.org/show_bug.cgi?id=61397
37405 2011-05-26 Mihai Parparita <mihaip@chromium.org>
37407 Reviewed by Adam Barth.
37409 Fix worldID and destinationDomain argument names
37410 https://bugs.webkit.org/show_bug.cgi?id=61571
37412 As part of working on r87423, I noticed a couple of inconsistencies in
37414 - We would use worldId in .h files but worldID in .cpp files.
37415 Standardize on the latter
37416 - SecurityOrigin::addOriginAccessWhitelistEntry would take a
37417 destinationDomains argument, even though the actual parameter was for
37418 a single domain (renamed to be singular).
37420 * public/WebFrame.h:
37421 * src/WebFrameImpl.cpp:
37422 (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
37423 (WebKit::WebFrameImpl::setIsolatedWorldSecurityOrigin):
37424 * src/WebFrameImpl.h:
37426 2011-05-26 Leandro Gracia Gil <leandrogracia@chromium.org>
37428 Reviewed by Dmitry Titov.
37430 Add missing compile guards for WebWorkers in WebKit.
37431 https://bugs.webkit.org/show_bug.cgi?id=61536
37433 * src/DatabaseObserver.cpp:
37434 (WebCore::DatabaseObserver::canEstablishDatabase):
37435 * src/LocalFileSystemChromium.cpp:
37436 (WebCore::openFileSystemHelper):
37437 * src/PlatformBridge.cpp:
37438 * src/WebFileSystemCallbacksImpl.cpp:
37439 (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem):
37440 * src/WorkerAsyncFileSystemChromium.cpp:
37441 * src/WorkerAsyncFileSystemChromium.h:
37442 * src/WorkerAsyncFileWriterChromium.cpp:
37443 * src/WorkerAsyncFileWriterChromium.h:
37444 * src/WorkerFileSystemCallbacksBridge.cpp:
37445 * src/WorkerFileSystemCallbacksBridge.h:
37446 * src/WorkerFileWriterCallbacksBridge.cpp:
37447 * src/WorkerFileWriterCallbacksBridge.h:
37449 2011-05-26 Evan Martin <evan@chromium.org>
37451 Reviewed by Tony Chang.
37453 [chromium] simplify TestNetscapePlugIn naming logic
37454 https://bugs.webkit.org/show_bug.cgi?id=61577
37456 * WebKit.gyp: drop use of product_prefix, just use the name
37459 2011-05-26 Sheriff Bot <webkit.review.bot@gmail.com>
37461 Unreviewed, rolling out r87444.
37462 http://trac.webkit.org/changeset/87444
37463 https://bugs.webkit.org/show_bug.cgi?id=61582
37465 Layout test regressions in Chromium/WebKit: fast/css/first-
37466 letter-text-fragment-crash.html, fast/css/first-letter-
37467 visibility.html (Requested by aklein on #webkit).
37469 * public/WebFrameClient.h:
37470 * src/ChromeClientImpl.cpp:
37471 * src/ChromeClientImpl.h:
37473 2011-05-26 David Levin <levin@chromium.org>
37475 Reviewed by Darin Fisher.
37477 Need a callback for when the preferred rendered size changed.
37478 https://bugs.webkit.org/show_bug.cgi?id=61309
37480 * public/WebFrameClient.h
37481 (WebKit::WebFrameClient::didChangeContentsPreferredSize): Added stub.
37482 * src/ChromeClientImpl.h:
37483 (WebKit::ChromeClientImpl::contentsPreferredSizeChanged): Added declaration.
37484 * src/ChromeClientImpl.cpp:
37485 (WebKit::ChromeClientImpl::contentsPreferredSizeChanged): Added call to WebFrameClient::didChangeContentsPreferredSize.
37487 2011-05-26 Mihai Parparita <mihaip@chromium.org>
37489 Reviewed by Adam Barth.
37491 Support cross-origin XMLHttpRequest in isolated worlds
37492 https://bugs.webkit.org/show_bug.cgi?id=59843
37494 Expose setIsolatedWorldSecurityOrigin in the WebFrame API.
37496 * public/WebFrame.h:
37497 * src/WebFrameImpl.cpp:
37498 (WebKit::WebFrameImpl::setIsolatedWorldSecurityOrigin):
37499 * src/WebFrameImpl.h:
37501 2011-05-26 Michael Nordman <michaeln@google.com>
37503 Reviewed by Darin Fisher.
37505 [Chromium] Use SecurityOrigin produced databaseIdentifier strings, instead of
37506 SecurityOrigin RefPtrs, as the top level key into the DatabaseTracker's
37507 collection of open databases. Otherwise we can fail to lookup databases when
37508 trying to forceably close them via WebDatabase::closeDatabaseImmediately.
37509 https://bugs.webkit.org/show_bug.cgi?id=61417
37511 * src/WebDatabase.cpp:
37512 (WebKit::WebDatabase::closeDatabaseImmediately):
37514 2011-05-26 Sailesh Agrawal <sail@chromium.org>
37516 Reviewed by Tony Chang.
37518 Expose willStartLiveResize and willEndLiveResize in WebWidget
37519 https://bugs.webkit.org/show_bug.cgi?id=60518
37521 * public/WebWidget.h:
37522 * src/WebPopupMenuImpl.cpp:
37523 (WebKit::WebPopupMenuImpl::willStartLiveResize):
37524 (WebKit::WebPopupMenuImpl::willEndLiveResize):
37525 * src/WebPopupMenuImpl.h:
37526 * src/WebViewImpl.cpp:
37527 (WebKit::WebViewImpl::willStartLiveResize):
37528 (WebKit::WebViewImpl::willEndLiveResize):
37529 * src/WebViewImpl.h:
37531 2011-05-25 Shishir Agrawal <shishir@chromium.org>
37533 Reviewed by Dimitri Glazkov.
37535 Fix crash in Chromium memory test.
37536 https://bugs.webkit.org/show_bug.cgi?id=61451
37538 * src/WebViewImpl.cpp:
37539 (WebKit::WebViewImpl::WebViewImpl):
37541 2011-05-25 Sheriff Bot <webkit.review.bot@gmail.com>
37543 Unreviewed, rolling out r87333.
37544 http://trac.webkit.org/changeset/87333
37545 https://bugs.webkit.org/show_bug.cgi?id=61488
37547 Breaks Chromium build due to pure virtual methods. (Requested
37548 by aklein on #webkit).
37550 * public/WebWidget.h:
37551 * src/WebPopupMenuImpl.cpp:
37552 * src/WebPopupMenuImpl.h:
37553 * src/WebViewImpl.cpp:
37554 * src/WebViewImpl.h:
37556 2011-05-25 Sailesh Agrawal <sail@chromium.org>
37558 Reviewed by Darin Fisher.
37560 Expose willStartLiveResize and willEndLiveResize in WebWidget
37561 https://bugs.webkit.org/show_bug.cgi?id=60518
37563 * public/WebWidget.h:
37564 * src/WebPopupMenuImpl.cpp:
37565 (WebKit::WebPopupMenuImpl::willStartLiveResize):
37566 (WebKit::WebPopupMenuImpl::willEndLiveResize):
37567 * src/WebPopupMenuImpl.h:
37568 * src/WebViewImpl.cpp:
37569 (WebKit::WebViewImpl::willStartLiveResize):
37570 (WebKit::WebViewImpl::willEndLiveResize):
37571 * src/WebViewImpl.h:
37573 2011-05-25 Sheriff Bot <webkit.review.bot@gmail.com>
37575 Unreviewed, rolling out r87257.
37576 http://trac.webkit.org/changeset/87257
37577 https://bugs.webkit.org/show_bug.cgi?id=61457
37579 This broke layout tests, see bug 61431. (Requested by
37580 hwennborg on #webkit).
37582 * public/WebIDBFactory.h:
37583 * src/AssertMatchingEnums.cpp:
37584 * src/IDBFactoryBackendProxy.cpp:
37585 * src/IDBFactoryBackendProxy.h:
37586 * src/WebIDBFactoryImpl.cpp:
37587 (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
37588 (WebKit::WebIDBFactoryImpl::open):
37589 * src/WebIDBFactoryImpl.h:
37591 2011-05-24 Keishi Hattori <keishi@webkit.org>
37593 Reviewed by Kent Tamura.
37595 Disable textfield implementation of <input type=color>. Add INPUT_COLOR feature flag. Add input color sanitizer.
37596 https://bugs.webkit.org/show_bug.cgi?id=61273
37598 * features.gypi: Added INPUT_COLOR feature flag.
37600 2011-05-24 Adam Barth <abarth@webkit.org>
37602 Reviewed by Eric Seidel.
37604 Add FIXME comments about removing FrameLoader::isProcessingUserGesture
37605 https://bugs.webkit.org/show_bug.cgi?id=61395
37607 * src/FrameLoaderClientImpl.cpp:
37608 (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
37609 * src/WebFrameImpl.cpp:
37610 (WebKit::WebFrameImpl::isProcessingUserGesture):
37612 2011-05-24 Greg Simon <gregsimon@chromium.org>
37614 Reviewed by Dimitri Glazkov.
37616 Control Indexeddb backends from LayoutTestController
37617 https://bugs.webkit.org/show_bug.cgi?id=61000
37619 * public/WebIDBFactory.h:
37620 (WebKit::WebIDBFactory::setEnableMigration):
37621 * src/AssertMatchingEnums.cpp:
37622 * src/IDBFactoryBackendProxy.cpp:
37623 (WebKit::IDBFactoryBackendProxy::setEnableMigration):
37624 * src/IDBFactoryBackendProxy.h:
37625 * src/WebIDBFactoryImpl.cpp:
37626 (WebKit::WebIDBFactory::setOverrideBackingStoreType):
37627 (WebKit::WebIDBFactory::setTemporaryDatabaseFolder):
37628 (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
37629 (WebKit::WebIDBFactoryImpl::open):
37630 (WebKit::WebIDBFactoryImpl::setEnableMigration):
37631 * src/WebIDBFactoryImpl.h:
37633 2011-05-24 Jay Civelli <jcivelli@chromium.org>
37635 Reviewed by Adam Barth.
37637 Adding MHTML reading support to WebCore.
37638 https://bugs.webkit.org/show_bug.cgi?id=7168
37642 2011-05-24 Alok Priyadarshi <alokp@chromium.org>
37644 Reviewed by James Robinson.
37646 Enable skia gpu rendering for content layers
37647 https://bugs.webkit.org/show_bug.cgi?id=56749
37649 * src/WebViewImpl.cpp:
37650 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
37651 (WebKit::WebViewImpl::reallocateRenderer):
37653 2011-05-24 Mikhail Naganov <mnaganov@chromium.org>
37655 Reviewed by Yury Semikhatsky.
37657 Web Inspector: Reorganize InspectorBackendDispatch code to eliminate duplication
37658 https://bugs.webkit.org/show_bug.cgi?id=61300
37660 * src/WebDevToolsAgentImpl.cpp:
37661 (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
37663 2011-05-23 Gavin Peters <gavinp@chromium.org>
37665 Reviewed by Adam Barth.
37667 fix rel=prerender target types
37668 https://bugs.webkit.org/show_bug.cgi?id=61297
37670 The original fix in https://bugs.webkit.org/show_bug.cgi?id=61079
37671 didn't properly map the target type, and didn't carry the target
37672 types through to chromium properly. Fixed.
37674 No new tests; it's very hard to catch these with a layout test, however
37675 all of the chromium Prerender browser tests will test this functionality
37676 when I land an upcoming chromium CL.
37678 * public/WebURLRequest.h:
37680 2011-05-23 Tony Chang <tony@chromium.org>
37682 Reviewed by James Robinson.
37684 [chromium] Link tcmalloc to DRT so we can use the heap checker
37685 https://bugs.webkit.org/show_bug.cgi?id=61292
37689 2011-05-23 Adrienne Walker <enne@google.com>
37691 Reviewed by James Robinson.
37693 [chromium] Fix division by zero in TilingData for boundary case texture sizes
37694 https://bugs.webkit.org/show_bug.cgi?id=61164
37696 Add additional tests for small max texture sizes.
37698 * tests/TilingDataTest.cpp:
37701 2011-05-23 Ruben <chromium@hybridsource.org>
37703 Reviewed by Tony Chang.
37705 Chromium gyp patch to use new POSIX defines toolkit_uses_gtk and os_posix
37706 https://bugs.webkit.org/show_bug.cgi?id=61219
37711 2011-05-23 Yury Semikhatsky <yurys@chromium.org>
37713 Reviewed by Pavel Feldman.
37715 [Chromium] Web Inspector: provide initial implementation of worker inspector transport
37716 https://bugs.webkit.org/show_bug.cgi?id=60267
37718 WebWorker and WebWorkerClient are extended with methods for passing
37719 DevTools messages between worker context inspector and page inspector.
37721 * public/WebWorker.h:
37722 (WebKit::WebWorker::attachDevTools):
37723 (WebKit::WebWorker::detachDevTools):
37724 (WebKit::WebWorker::dispatchDevToolsMessage):
37725 * public/WebWorkerClient.h:
37726 (WebKit::WebWorkerClient::dispatchDevToolsMessage):
37727 * src/WebWorkerBase.cpp:
37728 (WebKit::WebWorkerBase::postMessageToPageInspector):
37729 (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
37730 * src/WebWorkerBase.h:
37731 * src/WebWorkerClientImpl.cpp:
37732 (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
37733 (WebKit::WebWorkerClientImpl::connectToInspector):
37734 (WebKit::WebWorkerClientImpl::disconnectFromInspector):
37735 (WebKit::WebWorkerClientImpl::sendMessageToInspector):
37736 (WebKit::WebWorkerClientImpl::dispatchDevToolsMessage):
37737 * src/WebWorkerClientImpl.h:
37738 * src/WebWorkerImpl.cpp:
37739 (WebKit::WebWorkerImpl::startWorkerContext):
37740 (WebKit::connectToWorkerContextInspectorTask):
37741 (WebKit::WebWorkerImpl::attachDevTools):
37742 (WebKit::disconnectFromWorkerContextInspectorTask):
37743 (WebKit::WebWorkerImpl::detachDevTools):
37744 (WebKit::dispatchOnInspectorBackendTask):
37745 (WebKit::WebWorkerImpl::dispatchDevToolsMessage):
37746 * src/WebWorkerImpl.h:
37748 2011-05-22 Greg Simon <gregsimon@chromium.org>
37750 Reviewed by Darin Fisher.
37752 [chromium] Updating chromium DEPS
37754 https://bugs.webkit.org/show_bug.cgi?id=61236
37758 2011-05-21 Jochen Eisinger <jochen@chromium.org>
37760 Reviewed by Darin Fisher.
37762 [chromium] add extraData field to resource requests
37763 https://bugs.webkit.org/show_bug.cgi?id=61033
37766 * public/WebURLRequest.h:
37767 (WebKit::WebURLRequest::ExtraData::~ExtraData):
37768 * src/WebURLRequest.cpp:
37769 (WebKit::WebURLRequest::extraData):
37770 (WebKit::WebURLRequest::setExtraData):
37771 * tests/WebURLRequestTest.cpp: Added.
37772 (WebKit::TestExtraData::TestExtraData):
37773 (WebKit::TestExtraData::~TestExtraData):
37776 2011-05-20 Michael Nordman <michaeln@google.com>
37778 Reviewed by Darin Fisher.
37780 Changes to allow the WebDatabase system to participate in Chrome's unified quota
37781 management system. Now that changes outside of the database system affect the space
37782 available to the database system, we need new ways of getting the limit to renderers.
37784 Split WebDatabase::updateDatabaseSizeAndSpaceAvailable() into three methods.
37785 - WebDatabase::updateDatababaseSize()
37786 - WebDatabase::updateSpaceAvailable()
37787 - WebDatabase::resetSpaceAvailable()
37788 The WebDatabase methods are used to 'push' size and space available info into renderers.
37789 The space available can change independently of a database having changed size.
37791 Also provide a means for the renderer to 'pull' the space available from the main
37792 process if that value has not been pushed into it.
37793 - WebCore::PlatformBridge::databaseGetSpaceAvailableForOrigin()
37794 - WebKit::WebKitClient::databaseGetSpaceAvailableForOrigin()
37796 https://bugs.webkit.org/show_bug.cgi?id=60985
37798 * public/WebDatabase.h:
37799 * public/WebKitClient.h:
37800 (WebKit::WebKitClient::databaseGetSpaceAvailableForOrigin):
37801 * src/PlatformBridge.cpp:
37802 (WebCore::PlatformBridge::databaseGetSpaceAvailableForOrigin):
37803 * src/WebDatabase.cpp:
37804 (WebKit::WebDatabase::updateDatabaseSize):
37805 (WebKit::WebDatabase::updateSpaceAvailable):
37806 (WebKit::WebDatabase::resetSpaceAvailable):
37808 2011-05-20 Simon Fraser <simon.fraser@apple.com>
37810 Reviewed by Sam Weinig.
37812 numberOfActiveAnimations() can include animations from documents in the page cache
37813 https://bugs.webkit.org/show_bug.cgi?id=53641
37815 Pass the Frame's document as the one to count animations on.
37817 * src/WebAnimationControllerImpl.cpp:
37818 (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations):
37820 2011-05-19 Evan Martin <evan@chromium.org>
37822 Reviewed by Tony Chang.
37824 [chromium] remove <(library) variable
37825 https://bugs.webkit.org/show_bug.cgi?id=61158
37827 This was for a build experiment; we can just use the correct value now.
37831 2011-05-20 Vitaly Repeshko <vitalyr@chromium.org>
37835 [chromium] Updating chromium DEPS.
37839 2011-05-19 Sheriff Bot <webkit.review.bot@gmail.com>
37841 Unreviewed, rolling out r86869, r86873, r86875, and r86877.
37842 http://trac.webkit.org/changeset/86869
37843 http://trac.webkit.org/changeset/86873
37844 http://trac.webkit.org/changeset/86875
37845 http://trac.webkit.org/changeset/86877
37846 https://bugs.webkit.org/show_bug.cgi?id=61139
37848 broke builds and debug DRT (Requested by rniwa on #webkit).
37851 * public/WebTestingSupport.h: Removed.
37852 * src/WebTestingSupport.cpp: Removed.
37854 2011-05-18 Dimitri Glazkov <dglazkov@chromium.org>
37856 Reviewed by Darin Adler.
37858 Add build logistics and plumbing for window.internals object.
37859 https://bugs.webkit.org/show_bug.cgi?id=60313
37861 * WebKit.gyp: Added linking new webkit_test_support library.
37862 * public/WebTestingSupport.h: Added.
37863 * src/WebTestingSupport.cpp: Added.
37865 2011-05-19 Kenichi Ishibashi <bashi@chromium.org>
37867 Reviewed by Kent Tamura.
37869 [Chromium] IME candidate window appears wrong position in an iframe
37870 https://bugs.webkit.org/show_bug.cgi?id=61023
37872 Always adjusts the range to window relative coordinates.
37874 * src/WebFrameImpl.cpp:
37875 (WebKit::WebFrameImpl::firstRectForCharacterRange): Removed condition
37876 which excludes editable selectionRoot from adjusting.
37878 2011-05-18 Nat Duca <nduca@chromium.org>
37880 Reviewed by James Robinson.
37882 [chromium] Add histograms for paint times
37883 https://bugs.webkit.org/show_bug.cgi?id=61010
37885 * src/WebViewImpl.cpp:
37886 (WebKit::WebViewImpl::animate):
37887 (WebKit::WebViewImpl::layout):
37888 (WebKit::WebViewImpl::paint):
37889 (WebKit::WebViewImplContentPainter::paint):
37891 2011-05-17 MORITA Hajime <morrita@google.com>
37893 Reviewed by Tony Chang.
37895 [Refactoring] Member variables of DocumentMarker should be encapsulated.
37896 https://bugs.webkit.org/show_bug.cgi?id=56814
37898 Moved addMarker() implementation to
37899 WebCore::DocumentMarkerController::addTextMatchMarker().
37901 * src/WebFrameImpl.cpp:
37902 (WebKit::WebFrameImpl::addMarker):
37904 2011-05-18 Alok Priyadarshi <alokp@chromium.org> and Adrienne Walker <enne@google.com>
37906 Reviewed by James Robinson.
37908 Split canvas from LayerTilerChromium
37909 https://bugs.webkit.org/show_bug.cgi?id=60719
37911 * src/WebViewImpl.cpp:
37913 2011-05-18 Brett Wilson <brettw@chromium.org>
37915 Reviewed by Adam Barth.
37917 Don't create empty file objects if no download file path is specified.
37918 https://bugs.webkit.org/show_bug.cgi?id=60798
37920 * src/WebURLResponse.cpp:
37921 (WebKit::WebURLResponse::setDownloadFilePath):
37923 2011-05-17 Mikhail Naganov <mnaganov@chromium.org>
37925 Reviewed by Pavel Feldman.
37927 Web Inspector: [Chromium] Enable detailed heap snapshots by default.
37928 https://bugs.webkit.org/show_bug.cgi?id=60286
37930 * src/js/DevTools.js:
37933 2011-05-17 Tao Bai <michaelbai@chromium.org>
37935 Reviewed by Darin Fisher.
37937 Clear deprecated icon APIs from chromium port.
37938 https://bugs.webkit.org/show_bug.cgi?id=60989
37940 * public/WebFrame.h: Removed faviconURL()
37941 * public/WebFrameClient.h: Removed didChangeIcons()
37942 * src/FrameLoaderClientImpl.cpp:
37943 Removed the code to support deprecated API
37944 (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
37945 * src/WebFrameImpl.cpp: Removed faviconURL()
37946 * src/WebFrameImpl.h: Removed faviconURL()
37948 2011-05-17 Daniel Cheng <dcheng@chromium.org>
37950 Reviewed by Ryosuke Niwa.
37952 [chromium] Clipboard policy callbacks from EditorClientImpl are reversed
37953 https://bugs.webkit.org/show_bug.cgi?id=60994
37955 * src/EditorClientImpl.cpp:
37956 (WebKit::EditorClientImpl::canCopyCut):
37957 (WebKit::EditorClientImpl::canPaste):
37959 2011-05-17 Andrew Wilson <atwilson@chromium.org>
37961 Unreviewed, rolling out r86647.
37962 http://trac.webkit.org/changeset/86647
37963 https://bugs.webkit.org/show_bug.cgi?id=56814
37965 Broke tests downstream in Chromium
37967 * src/WebFrameImpl.cpp:
37968 (WebKit::WebFrameImpl::addMarker):
37970 2011-05-17 Yufeng Shen <miletus@chromium.org>
37972 Reviewed by Darin Fisher.
37974 Make WebKit expose extra touch information
37975 https://bugs.webkit.org/show_bug.cgi?id=59030
37977 * public/WebTouchPoint.h:
37978 (WebKit::WebTouchPoint::WebTouchPoint):
37979 * src/WebInputEventConversion.cpp:
37980 (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
37982 2011-05-16 James Robinson <jamesr@chromium.org>
37984 Reviewed by Kenneth Russell.
37985 https://bugs.webkit.org/show_bug.cgi?id=58830
37987 Add unit tests for the compositor's TreeSynchronizer.
37990 * tests/TreeSynchronizerTest.cpp: Added.
37991 (WebCore::MockCCLayerImpl::create):
37992 (WebCore::MockCCLayerImpl::~MockCCLayerImpl):
37993 (WebCore::MockCCLayerImpl::setCCLayerDestructionList):
37994 (WebCore::MockCCLayerImpl::MockCCLayerImpl):
37995 (WebCore::MockLayerChromium::create):
37996 (WebCore::MockLayerChromium::~MockLayerChromium):
37997 (WebCore::MockLayerChromium::createCCLayerImpl):
37998 (WebCore::MockLayerChromium::pushPropertiesTo):
37999 (WebCore::MockLayerChromium::MockLayerChromium):
38000 (WebCore::expectTreesAreIdentical):
38003 2011-05-16 MORITA Hajime <morrita@google.com>
38005 Reviewed by Tony Chang.
38007 [Refactoring] Member variables of DocumentMarker should be encapsulated.
38008 https://bugs.webkit.org/show_bug.cgi?id=56814
38010 Moved addMarker() implementation to
38011 WebCore::DocumentMarkerController::addTextMatchMarker().
38013 * src/WebFrameImpl.cpp:
38014 (WebKit::WebFrameImpl::addMarker):
38016 2011-05-16 Andrew Wilson <atwilson@chromium.org>
38018 Unreviewed, rolling out r86625.
38019 http://trac.webkit.org/changeset/86625
38020 https://bugs.webkit.org/show_bug.cgi?id=60719
38022 Caused failed assertion on Chromium gpu canary bots
38024 * src/WebViewImpl.cpp:
38026 2011-05-16 Alok Priyadarshi <alokp@chromium.org>
38028 Reviewed by James Robinson.
38030 Split canvas from LayerTilerChromium
38031 https://bugs.webkit.org/show_bug.cgi?id=60719
38033 * src/WebViewImpl.cpp:
38035 2011-05-13 Jon Lee <jonlee@apple.com>
38037 Reviewed by Simon Fraser.
38039 Can't horizontally scroll iframes and overflow because wheel events are always accepted
38040 https://bugs.webkit.org/show_bug.cgi?id=60779
38042 * src/ChromeClientImpl.h:
38043 (WebKit::ChromeClientImpl::shouldRubberBandInDirection): Default impl of new ChromeClient method
38044 (WebKit::ChromeClientImpl::numWheelEventHandlersChanged): Default impl of new ChromeClient method
38046 2011-05-13 Tao Bai <michaelbai@chromium.org>
38048 Reviewed by Darin Fisher.
38050 Handle the touch icon.
38051 https://bugs.webkit.org/show_bug.cgi?id=60247
38053 Added WebIconURL for the corresponding IconURL.
38054 Added method iconURLs() to specify the type of icon need to return.
38055 The favIconURL() is deprecated and will be removed later.
38059 * public/WebFrame.h:
38060 * public/WebFrameClient.h:
38061 (WebKit::WebFrameClient::didChangeIcons):
38062 * public/WebIconURL.h: Added.
38063 (WebKit::WebIconURL::WebIconURL):
38064 (WebKit::WebIconURL::iconType):
38065 (WebKit::WebIconURL::iconURL):
38066 * src/AssertMatchingEnums.cpp:
38067 * src/FrameLoaderClientImpl.cpp:
38068 (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
38069 * src/WebFrameImpl.cpp:
38070 (WebKit::WebFrameImpl::favIconURL):
38071 * src/WebFrameImpl.h:
38073 2011-05-13 Sam Weinig <sam@webkit.org>
38075 Reviewed by Anders Carlsson.
38077 Prune #includes from FrameView.h (Part 2)
38078 https://bugs.webkit.org/show_bug.cgi?id=60748
38080 - Update files that were depending on FrameView.h #including Frame.h or
38083 * src/AutoFillPopupMenuClient.cpp:
38084 * src/PlatformBridge.cpp:
38085 * src/WebPopupMenuImpl.cpp:
38087 2011-05-13 Brett Wilson <brettw@chromium.org>
38089 Reviewed by Adam Barth.
38091 Don't destroy a null FcPattern when failing to do a FontConfig match.
38092 This crashes, and there's nothing FcDestroy could do with a null
38093 pointer even if it didn't crash.
38094 https://bugs.webkit.org/show_bug.cgi?id=60777
38096 * src/gtk/WebFontInfo.cpp:
38097 (WebKit::WebFontInfo::renderStyleForStrike):
38099 2011-05-11 Hans Wennborg <hans@chromium.org>
38101 Reviewed by Tony Gentilcore.
38103 IndexedDB: Fix integer comparison bug in LevelDB coding routines
38104 https://bugs.webkit.org/show_bug.cgi?id=60623
38106 Unit test for comparison of encoded keys.
38108 * tests/IDBLevelDBCodingTest.cpp:
38109 (IDBLevelDBCoding::TEST):
38111 2011-05-05 Hans Wennborg <hans@chromium.org>
38113 Reviewed by Steve Block.
38115 IndexedDB: Transaction rollback prevented by open SQLite statement
38116 https://bugs.webkit.org/show_bug.cgi?id=60032
38118 Implement two new methods in IDBTransactionBackendInterface.
38120 * src/IDBTransactionBackendProxy.cpp:
38121 (WebKit::IDBTransactionBackendProxy::registerOpenCursor):
38122 (WebKit::IDBTransactionBackendProxy::unregisterOpenCursor):
38123 * src/IDBTransactionBackendProxy.h:
38125 2011-05-13 Patrick Gansterer <paroga@webkit.org>
38127 Reviewed by Adam Barth.
38129 Enable OwnPtr strict mode in MediaPlayer
38130 https://bugs.webkit.org/show_bug.cgi?id=59466
38132 Let the CreateMediaEnginePlayer function return a PassOwnPtr instead of a raw pointer.
38133 Also fix the templete argument of OwnPtr for the m_private member variable.
38135 * src/WebMediaPlayerClientImpl.cpp:
38136 (WebKit::WebMediaPlayerClientImpl::create):
38137 * src/WebMediaPlayerClientImpl.h:
38139 2011-05-12 Adam Barth <abarth@webkit.org>
38141 Reviewed by Eric Seidel.
38143 [Chromium] Add a WebSetting to control DNS prefetch
38144 https://bugs.webkit.org/show_bug.cgi?id=60736
38146 DNS prefetch got disabled in Chrome accidentially in
38147 http://trac.webkit.org/changeset/74041. This patch adds a WebSettings
38148 API so we can enable it again.
38150 * public/WebSettings.h:
38151 * src/WebSettingsImpl.cpp:
38152 (WebKit::WebSettingsImpl::setDNSPrefetchingEnabled):
38153 * src/WebSettingsImpl.h:
38155 2011-05-11 John Abd-El-Malek <jam@chromium.org>
38157 Reviewed by James Robinson.
38159 [chromium] Make openFileSystem check for permission first
38160 https://bugs.webkit.org/show_bug.cgi?id=60683
38162 * public/WebCommonWorkerClient.h:
38163 (WebKit::WebCommonWorkerClient::allowFileSystem):
38164 * public/WebPermissionClient.h:
38165 (WebKit::WebPermissionClient::allowFileSystem):
38166 * src/LocalFileSystemChromium.cpp:
38167 (WebCore::openFileSystemNotAllowed):
38168 (WebCore::openFileSystemHelper):
38169 * src/WebWorkerBase.cpp:
38170 (WebKit::WebWorkerBase::allowFileSystem):
38171 * src/WebWorkerBase.h:
38172 * src/WebWorkerClientImpl.h:
38173 (WebKit::WebWorkerClientImpl::allowFileSystem):
38175 2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
38177 Reviewed by Darin Adler.
38179 String operator+ reallocates unnecessarily when concatting > 2 strings
38180 https://bugs.webkit.org/show_bug.cgi?id=58420
38182 Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
38184 * src/WebAccessibilityObject.cpp:
38185 (WebKit::WebAccessibilityObject::keyboardShortcut): Cast to String first, before trying to convert to platform dependant type.
38186 * src/WebHTTPLoadInfo.cpp:
38187 (WebKit::addHeader): Don't pass WebString to makeString, explicit cast to String first.
38188 * tests/IDBLevelDBCodingTest.cpp: Cast to String first, to avoid conflicting with gtests global templatified operator+.
38189 (IDBLevelDBCoding::TEST):
38191 2011-05-10 Tony Gentilcore <tonyg@chromium.org>
38193 Reviewed by Darin Adler.
38195 Perform some forward declarations suggested by include-what-you-use
38196 https://bugs.webkit.org/show_bug.cgi?id=60545
38198 * src/WebHistoryItem.cpp:
38199 * src/WebNotification.cpp:
38200 * src/WebTextCheckingCompletionImpl.cpp:
38201 * src/mac/WebSubstringUtil.mm:
38203 2011-05-11 Levi Weintraub <leviw@chromium.org>
38205 Reviewed by Eric Seidel.
38207 Rename Widget::pos()
38208 https://bugs.webkit.org/show_bug.cgi?id=60575
38210 Renaming Widget::pos() to the more-descriptive location().
38212 * src/WebInputEventConversion.cpp:
38213 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
38214 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
38216 2011-05-11 Antoine Labour <piman@chromium.org>
38218 Reviewed by David Levin.
38220 Don't buffer data for resources loaded by AssociatedURLLoader.
38221 https://bugs.webkit.org/show_bug.cgi?id=60656
38223 * src/AssociatedURLLoader.cpp:
38224 (WebKit::AssociatedURLLoader::loadAsynchronously): set shouldBufferData to false in ThreadableLoaderOptions
38226 2011-05-11 Nat Duca <nduca@chromium.org>
38228 Reviewed by Kenneth Russell.
38230 [chromium] Make throttling of WebGL based on webgl frames, not compositor frames
38231 https://bugs.webkit.org/show_bug.cgi?id=60508
38233 Tell LayerRendererChromium when the requestAnimFrame-callbacks are running.
38235 * public/WebGraphicsContext3D.h:
38236 (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
38237 * src/Extensions3DChromium.cpp:
38238 (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
38239 * src/GraphicsContext3DChromium.cpp:
38240 * src/GraphicsContext3DInternal.h:
38241 * src/WebViewImpl.cpp:
38242 (WebKit::WebViewImpl::animate):
38244 2011-05-11 John Bauman <jbauman@chromium.org>
38246 Reviewed by Kenneth Russell.
38248 Don't send zeros in TexImage if GL implementation handles that
38249 https://bugs.webkit.org/show_bug.cgi?id=60581
38251 Chromium already handles zeroing textures upon creation, so don't
38252 bother zeroing them in WebKit, as that causes some unnecessary memcpys
38255 * src/GraphicsContext3DChromium.cpp:
38256 (WebCore::GraphicsContext3D::create):
38258 2011-05-10 Kent Tamura <tkent@chromium.org>
38260 Reviewed by Hajime Morita.
38262 [Chromium] Fix a bug of WebFrameImpl::forms()
38263 https://bugs.webkit.org/show_bug.cgi?id=60606
38265 If document()->forms() contained non-HTML element, the second for
38268 * src/WebFrameImpl.cpp:
38269 (WebKit::WebFrameImpl::forms): Simplify the function by wtf::Vector().
38271 2011-05-10 Ilya Tikhonovsky <loislo@chromium.org>
38273 Unreviewed buildfix for strict OwnPtr patch.
38275 * src/PlatformBridge.cpp:
38276 (WebCore::PlatformBridge::loadPlatformAudioResource):
38277 (WebCore::PlatformBridge::decodeAudioFileData):
38279 2011-05-06 Brett Wilson <brettw@chromium.org>
38281 Reviewed by Adam Barth.
38283 Use a File object to store the downloaded file reference rather than
38284 just the path. This keeps the file and permissions in scope (using the
38285 already-existing blob system) so the browser won't delete the file
38286 when the load is complete. Instead, the file will be cleaned up when
38287 the request objects are deleted.
38288 https://bugs.webkit.org/show_bug.cgi?id=60281
38290 * src/WebURLResponse.cpp:
38291 (WebKit::WebURLResponse::downloadFilePath):
38292 (WebKit::WebURLResponse::setDownloadFilePath):
38294 2011-05-10 Mikhail Naganov <mnaganov@chromium.org>
38296 Reviewed by Yury Semikhatsky.
38298 Web Inspector: [Chromium] Drop obsolete test code for the Profiles panel.
38299 https://bugs.webkit.org/show_bug.cgi?id=60471
38303 2011-05-10 Adam Barth <abarth@webkit.org>
38305 Attempt to fix the clang build.
38307 * src/WebDevToolsAgentImpl.cpp:
38309 2011-05-09 Sheriff Bot <webkit.review.bot@gmail.com>
38311 Unreviewed, rolling out r86091.
38312 http://trac.webkit.org/changeset/86091
38313 https://bugs.webkit.org/show_bug.cgi?id=60510
38315 Broke Chromium win release build. (Requested by dave_levin on
38320 * public/WebFrame.h:
38321 * public/WebFrameClient.h:
38322 (WebKit::WebFrameClient::didChangeIcons):
38323 * public/WebIconURL.h: Removed.
38324 * src/AssertMatchingEnums.cpp:
38325 * src/FrameLoaderClientImpl.cpp:
38326 (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
38327 * src/WebFrameImpl.cpp:
38328 (WebKit::WebFrameImpl::favIconURL):
38329 * src/WebFrameImpl.h:
38331 2011-05-09 Tao Bai <michaelbai@chromium.org>
38333 Reviewed by David Levin.
38335 Handle the touch icon.
38336 https://bugs.webkit.org/show_bug.cgi?id=60247
38338 Added WebIconURL for the corresponding IconURL.
38339 Added method iconURLs() to specify the type of icon need to return.
38340 The favIconURL() is deprecated.
38344 * public/WebFrame.h:
38345 * public/WebFrameClient.h:
38346 (WebKit::WebFrameClient::didChangeIcons):
38347 * public/WebIconURL.h: Added.
38348 (WebKit::WebIconURL::WebIconURL):
38349 * src/AssertMatchingEnums.cpp:
38350 * src/FrameLoaderClientImpl.cpp:
38351 (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
38352 * src/WebFrameImpl.cpp:
38353 (WebKit::WebFrameImpl::favIconURL):
38354 * src/WebFrameImpl.h:
38356 2011-05-09 Evan Martin <evan@chromium.org>
38358 Reviewed by Tony Chang.
38360 [chromium] make DumpRenderTree build in components for linux
38361 https://bugs.webkit.org/show_bug.cgi?id=60491
38363 * WebKit.gyp: move some code that was in a Windows-only block to be used
38366 2011-05-09 Adam Barth <abarth@webkit.org>
38368 Reviewed by Tony Gentilcore.
38370 Make Chromium build with strict PassOwnPtr
38371 https://bugs.webkit.org/show_bug.cgi?id=60461
38373 Fixed many, many PassOwnPtr nits.
38375 * src/EditorClientImpl.cpp:
38376 (WebKit::EditorClientImpl::autofill):
38377 * src/IDBDatabaseBackendProxy.cpp:
38378 (WebKit::IDBDatabaseBackendProxy::createObjectStore):
38379 (WebKit::IDBDatabaseBackendProxy::transaction):
38380 * src/IDBObjectStoreBackendProxy.cpp:
38381 (WebKit::IDBObjectStoreBackendProxy::createIndex):
38382 (WebKit::IDBObjectStoreBackendProxy::index):
38383 * src/IDBTransactionBackendProxy.cpp:
38384 (WebKit::IDBTransactionBackendProxy::objectStore):
38385 * src/PlatformMessagePortChannel.cpp:
38386 (WebCore::MessagePortChannel::create):
38387 (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
38388 * src/SharedWorkerRepository.cpp:
38389 (WebCore::SharedWorkerRepository::connect):
38390 * src/SocketStreamHandle.cpp:
38391 (WebCore::SocketStreamHandleInternal::create):
38392 * src/WebDevToolsAgentImpl.cpp:
38393 (WebKit::DebuggerTask::DebuggerTask):
38394 (WebKit::DebuggerTask::~DebuggerTask):
38395 (WebKit::DebuggerTask::run):
38396 (WebKit::WebDevToolsAgent::interruptAndDispatch):
38397 * src/WebDevToolsFrontendImpl.cpp:
38398 (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
38399 * src/WebIDBCallbacksImpl.cpp:
38400 (WebKit::WebIDBCallbacksImpl::onSuccess):
38401 * src/WebIDBCursorImpl.cpp:
38402 (WebKit::WebIDBCursorImpl::update):
38403 (WebKit::WebIDBCursorImpl::continueFunction):
38404 (WebKit::WebIDBCursorImpl::deleteFunction):
38405 * src/WebIDBDatabaseImpl.cpp:
38406 (WebKit::WebIDBDatabaseImpl::setVersion):
38407 (WebKit::WebIDBDatabaseImpl::open):
38408 * src/WebIDBFactoryImpl.cpp:
38409 (WebKit::WebIDBFactoryImpl::open):
38410 * src/WebIDBIndexImpl.cpp:
38411 (WebKit::WebIDBIndexImpl::openObjectCursor):
38412 (WebKit::WebIDBIndexImpl::openKeyCursor):
38413 (WebKit::WebIDBIndexImpl::getObject):
38414 (WebKit::WebIDBIndexImpl::getKey):
38415 * src/WebIDBObjectStoreImpl.cpp:
38416 (WebKit::WebIDBObjectStoreImpl::get):
38417 (WebKit::WebIDBObjectStoreImpl::put):
38418 (WebKit::WebIDBObjectStoreImpl::deleteFunction):
38419 (WebKit::WebIDBObjectStoreImpl::clear):
38420 (WebKit::WebIDBObjectStoreImpl::openCursor):
38421 * src/WebIDBTransactionImpl.cpp:
38422 (WebKit::WebIDBTransactionImpl::setCallbacks):
38423 * src/WebPluginContainerImpl.cpp:
38424 (WebKit::WebPluginContainerImpl::loadFrameRequest):
38425 * src/WebViewImpl.cpp:
38426 (WebKit::WebViewImpl::setDevToolsAgentClient):
38427 * src/WebWorkerClientImpl.cpp:
38428 (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
38429 * src/WebWorkerImpl.cpp:
38430 (WebKit::WebWorkerImpl::postMessageToWorkerContext):
38431 * src/WorkerFileWriterCallbacksBridge.cpp:
38432 (WebKit::WorkerFileWriterCallbacksBridge::initOnMainThread):
38433 (WebKit::WorkerFileWriterCallbacksBridge::didWrite):
38434 (WebKit::WorkerFileWriterCallbacksBridge::didFail):
38435 (WebKit::WorkerFileWriterCallbacksBridge::didTruncate):
38437 2011-05-09 Shishir Agrawal <shishir@chromium.org>
38439 Reviewed by Tony Gentilcore.
38441 Implement Page Visibility API.
38442 https://bugs.webkit.org/show_bug.cgi?id=54181
38445 * public/WebPageVisibilityState.h: Added.
38446 * public/WebView.h:
38447 (WebKit::WebView::setVisibilityState):
38448 * public/WebViewClient.h:
38449 (WebKit::WebViewClient::visibilityState):
38450 * src/AssertMatchingEnums.cpp:
38451 * src/WebViewImpl.cpp:
38452 (WebKit::WebViewImpl::WebViewImpl):
38453 (WebKit::WebViewImpl::setVisibilityState):
38454 * src/WebViewImpl.h:
38456 2011-05-07 Sheriff Bot <webkit.review.bot@gmail.com>
38458 Unreviewed, rolling out r85974.
38459 http://trac.webkit.org/changeset/85974
38460 https://bugs.webkit.org/show_bug.cgi?id=60444
38462 broke browser tests (Requested by inferno-sec on #webkit).
38464 * src/WebURLResponse.cpp:
38465 (WebKit::WebURLResponse::downloadFilePath):
38466 (WebKit::WebURLResponse::setDownloadFilePath):
38468 2011-05-06 Kent Tamura <tkent@chromium.org>
38470 Reviewed by Ryosuke Niwa.
38472 Eliminate WebCore/dom/InputElement.{cpp,h}
38473 https://bugs.webkit.org/show_bug.cgi?id=60262
38475 * src/WebInputElement.cpp:
38476 (WebKit::WebInputElement::defaultMaxLength):
38477 Replace InputElement::s_maximumLength with HTMLInputElement::maximumLength.
38478 (WebKit::toWebInputElement):
38479 Follow the return type change of Node::toInputElement().
38481 2011-05-06 Justin Schuh <jschuh@chromium.org>
38483 Reviewed by Adam Barth.
38485 [Chromium] Whitelist input events interpreted as user gestures
38486 https://bugs.webkit.org/show_bug.cgi?id=60213
38488 * public/WebInputEvent.h:
38489 (WebKit::WebInputEvent::isUserGestureEventType):
38490 * src/WebViewImpl.cpp:
38491 (WebKit::WebViewImpl::handleInputEvent):
38493 2011-05-06 Brett Wilson <brettw@chromium.org>
38495 Reviewed by Adam Barth.
38497 Use a File object to store the downloaded file reference rather than
38498 just the path. This keeps the file and permissions in scope (using the
38499 already-existing blob system) so the browser won't delete the file
38500 when the load is complete. Instead, the file will be cleaned up when
38501 the request objects are deleted.
38502 https://bugs.webkit.org/show_bug.cgi?id=60281
38504 * src/WebURLResponse.cpp:
38505 (WebKit::WebURLResponse::downloadFilePath):
38506 (WebKit::WebURLResponse::setDownloadFilePath):
38508 2011-05-06 John Abd-El-Malek <jam@chromium.org>
38510 Reviewed by James Robinson.
38512 [chromium]: Reland using WebPermissionClient for checking indexed db usage
38513 https://bugs.webkit.org/show_bug.cgi?id=60386
38515 * public/WebPermissionClient.h:
38516 (WebKit::WebPermissionClient::allowIndexedDB):
38517 * src/IDBFactoryBackendProxy.cpp:
38518 (WebKit::IDBFactoryBackendProxy::open):
38520 2011-05-06 Sheriff Bot <webkit.review.bot@gmail.com>
38522 Unreviewed, rolling out r85919.
38523 http://trac.webkit.org/changeset/85919
38524 https://bugs.webkit.org/show_bug.cgi?id=60378
38526 broke chromium database tests (Requested by inferno-sec on
38529 * public/WebPermissionClient.h:
38530 * src/IDBFactoryBackendProxy.cpp:
38531 (WebKit::IDBFactoryBackendProxy::open):
38533 2011-05-04 Philippe Normand <pnormand@igalia.com>
38535 Reviewed by Dimitri Glazkov.
38537 Implement LayoutTestController::pseudoShadowId()
38538 https://bugs.webkit.org/show_bug.cgi?id=60034
38540 * public/WebElement.h:
38541 * src/WebElement.cpp:
38542 (WebKit::WebElement::shadowPseudoId):
38544 2011-05-05 John Abd-El-Malek <jam@chromium.org>
38546 Reviewed by James Robinson.
38548 [chromium] Make IndexedDB code use WebPermissionClient API
38549 https://bugs.webkit.org/show_bug.cgi?id=60340
38551 * public/WebPermissionClient.h:
38552 (WebKit::WebPermissionClient::allowIndexedDB):
38553 * src/IDBFactoryBackendProxy.cpp:
38554 (WebKit::IDBFactoryBackendProxy::open):
38556 2011-05-05 Adam Barth <abarth@webkit.org>
38558 Roll Chromium DEPS.
38562 2011-05-05 Ryosuke Niwa <rniwa@webkit.org>
38564 Reviewed by Eric Seidel.
38566 Rename SelectionController to FrameSelection
38567 https://bugs.webkit.org/show_bug.cgi?id=60234
38569 * src/WebFrameImpl.cpp:
38570 (WebKit::WebFrameImpl::selectWordAroundCaret):
38571 * src/WebViewImpl.cpp:
38572 (WebKit::WebViewImpl::textInputType):
38573 (WebKit::WebViewImpl::caretOrSelectionBounds):
38574 (WebKit::WebViewImpl::caretOrSelectionRange):
38575 (WebKit::WebViewImpl::clearFocusedNode):
38577 2011-05-03 Hans Wennborg <hans@chromium.org>
38579 Reviewed by Steve Block.
38581 IndexedDB: Unit tests for LevelDB key coding functions
38582 https://bugs.webkit.org/show_bug.cgi?id=59692
38584 Add unit tests for the basic key coding functions used by the LevelDB back-end.
38587 * tests/IDBLevelDBCodingTest.cpp: Added.
38588 (IDBLevelDBCoding::TEST):
38590 2011-05-04 MORITA Hajime <morrita@google.com>
38592 Unreviewed unit test skip (startPostAndWaitOnCondition)
38593 which fails on Windows 7. See bug 60248 for tracking.
38595 * tests/CCThreadTest.cpp:
38598 2011-05-04 Cris Neckar <cdn@chromium.org>
38600 Reviewed by Adam Barth.
38602 Expose WebView directly through ChromeClient.
38603 https://bugs.webkit.org/show_bug.cgi?id=49902
38605 * src/AutoFillPopupMenuClient.cpp:
38606 (WebKit::AutoFillPopupMenuClient::getWebView):
38607 * src/ChromeClientImpl.cpp:
38608 (WebKit::ChromeClientImpl::webView):
38609 * src/ChromeClientImpl.h:
38610 * src/GraphicsContext3DChromium.cpp:
38611 (WebCore::GraphicsContext3DInternal::initialize):
38612 * src/PlatformBridge.cpp:
38613 (WebCore::toWebWidgetClient):
38614 * src/StorageNamespaceProxy.cpp:
38615 (WebCore::StorageNamespace::sessionStorageNamespace):
38616 * src/WebViewImpl.cpp:
38617 (WebKit::WebViewImpl::fromPage):
38619 2011-05-04 Nate Chapin <japhet@chromium.org>
38621 Reviewed by Mihai Parparita.
38623 Ensure we don't overwrite user-specified scroll positions
38624 on same document HistoryItem navigations.
38625 https://bugs.webkit.org/show_bug.cgi?id=59877
38627 * src/WebFrameImpl.cpp:
38628 (WebKit::WebFrameImpl::loadHistoryItem):
38629 (WebKit::WebFrameImpl::currentHistoryItem):
38630 (WebKit::WebFrameImpl::WebFrameImpl):
38631 * src/WebFrameImpl.h:
38633 2011-05-04 Tao Bai <michaelbai@chromium.org>
38635 Reviewed by David Kilzer.
38637 Populate touch-icon url to FrameLoaderClient
38638 https://bugs.webkit.org/show_bug.cgi?id=59143
38640 Respected the change of FrameLoaderClient.
38642 * src/FrameLoaderClientImpl.cpp:
38643 (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
38644 * src/FrameLoaderClientImpl.h:
38646 2011-05-04 Jay Civelli <jcivelli@chromium.org>
38648 Reviewed by Ojan Vafai.
38650 Send the char events to the select popup if one is showing to fix
38651 a bug were pressing a letter would not select the matching option.
38652 https://bugs.webkit.org/show_bug.cgi?id=47769
38654 * src/WebViewImpl.cpp:
38655 (WebKit::WebViewImpl::keyEvent):
38656 (WebKit::WebViewImpl::charEvent):
38657 * src/WebViewImpl.h:
38659 2011-05-03 Justin Novosad <junov@chromium.org>
38661 Reviewed by Kenneth Russell.
38663 [Chromium] Make accelerated 2d canvas enabled by default with skia
38664 https://bugs.webkit.org/show_bug.cgi?id=59929
38665 Added new flag for enabling the legacy accelerated 2d canvas
38666 The flag is not yet functional with this change.
38668 * public/WebSettings.h:
38669 * src/WebSettingsImpl.cpp:
38670 (WebKit::WebSettingsImpl::setLegacyAccelerated2dCanvasEnabled):
38671 * src/WebSettingsImpl.h:
38673 2011-05-03 Alpha Lam <hclam@chromium.org>
38675 Not reviewed. Build fix.
38679 * src/FrameLoaderClientImpl.cpp:
38680 (WebKit::FrameLoaderClientImpl::pluginLoadObserver):
38681 * src/GraphicsContext3DChromium.cpp:
38682 (WebCore::GraphicsContext3D::~GraphicsContext3D):
38683 * src/WebAudioBus.cpp:
38684 (WebKit::WebAudioBus::release):
38685 * src/WebBlobData.cpp:
38686 (WebKit::WebBlobData::reset):
38687 * src/WebViewImpl.cpp:
38688 (WebKit::WebView::addUserScript):
38689 (WebKit::WebView::addUserStyleSheet):
38691 2011-05-03 John Abd-El-Malek <jam@chromium.org>
38693 Reviewed by James Robinson.
38695 [chromium] Go through WebPermissionClient for local storage access. Also cleanup left over code from previous WebPermissionClient change.
38696 https://bugs.webkit.org/show_bug.cgi?id=60066
38698 * public/WebFrameClient.h:
38699 * public/WebPermissionClient.h:
38700 (WebKit::WebPermissionClient::allowLocalStorage):
38701 * src/DatabaseObserver.cpp:
38702 (WebCore::DatabaseObserver::canEstablishDatabase):
38703 * src/FrameLoaderClientImpl.cpp:
38704 (WebKit::FrameLoaderClientImpl::allowScriptExtension):
38705 (WebKit::FrameLoaderClientImpl::allowJavaScript):
38706 (WebKit::FrameLoaderClientImpl::allowPlugins):
38707 (WebKit::FrameLoaderClientImpl::allowImages):
38708 (WebKit::FrameLoaderClientImpl::didNotAllowScript):
38709 (WebKit::FrameLoaderClientImpl::didNotAllowPlugins):
38710 * src/StorageAreaProxy.cpp:
38711 (WebCore::StorageAreaProxy::setItem):
38713 2011-05-03 Tony Chang <tony@chromium.org>
38715 Unreviewed, rolling the version of chromium to r83922.
38719 2011-05-03 Julien Chaffraix <jchaffraix@codeaurora.org>
38721 Reviewed by Dimitri Glazkov.
38723 Element:shadowRoot & Element::ensureShadowRoot should return ShadowRoot*
38724 https://bugs.webkit.org/show_bug.cgi?id=58703
38726 * src/WebElement.cpp: Added #include for ShadowRoot.h.
38728 2011-05-02 Adam Klein <adamk@chromium.org>
38730 Reviewed by Tony Chang.
38732 Roll chromium DEPS to r83722, add new crypto directory to DEPS
38733 https://bugs.webkit.org/show_bug.cgi?id=59992
38737 2011-05-02 Adam Roben <aroben@apple.com>
38739 Take advantage of implicit conversion from nullptr_t to PassOwnPtr
38741 Fixes <http://webkit.org/b/59964> Implicit conversion from std::nullptr_t to PassOwnPtr
38742 doesn't work, but should
38744 Reviewed by Adam Barth.
38746 * src/WebMediaPlayerClientImpl.cpp:
38748 2011-05-03 Pavel Feldman <pfeldman@google.com>
38750 Not reviewed: re-applied r85589.
38752 * src/js/DevTools.js:
38753 (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
38755 2011-05-03 Pavel Feldman <pfeldman@google.com>
38757 Reviewed by Yury Semikhatsky.
38759 Web Inspector: [remote debugging] use document.title to set window name.
38760 https://bugs.webkit.org/show_bug.cgi?id=60012
38762 * src/js/DevTools.js:
38763 (WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
38765 2011-05-02 Alok Priyadarshi <alokp@chromium.org>
38767 Reviewed by Dimitri Glazkov.
38769 Chromium windows build is broken due to r85395
38770 https://bugs.webkit.org/show_bug.cgi?id=59945
38772 Include SecurityOrigin.h in IDBFactoryBackendProxy.cpp
38774 * src/IDBFactoryBackendProxy.cpp:
38776 2011-04-30 Mihai Parparita <mihaip@chromium.org>
38778 Reviewed by Eric Seidel.
38780 V8Proxy.h shouldn't include SecurityOrigin.h
38781 https://bugs.webkit.org/show_bug.cgi?id=59859
38783 Add SecurityOrigin.h includes to places that were relying on transitive
38786 * src/ApplicationCacheHost.cpp:
38787 * src/WebGeolocationPermissionRequest.cpp:
38789 2011-04-29 Chris Evans <cevans@chromium.org>
38791 Reviewed by Adam Barth.
38793 Add WebCore::Setting to block displaying and/or running insecure content on secure pages
38794 https://bugs.webkit.org/show_bug.cgi?id=58378
38796 * public/WebSettings.h:
38797 * src/WebSettingsImpl.cpp:
38798 (WebKit::WebSettingsImpl::setAllowDisplayOfInsecureContent):
38799 (WebKit::WebSettingsImpl::setAllowRunningOfInsecureContent):
38800 * src/WebSettingsImpl.h:
38801 Simple plumbing for the new boolean settings.
38803 2011-04-29 Kenneth Russell <kbr@google.com>
38805 Unreviewed build fix. Skip WebPageNewSerializerTest.cpp in Windows multi-DLL build.
38809 2011-04-28 Evan Martin <evan@chromium.org>
38811 Reviewed by Tony Chang.
38813 [chromium] support components build on Linux
38814 https://bugs.webkit.org/show_bug.cgi?id=59748
38816 * WebKit.gyp: adjust tests to not be Windows-specific.
38817 * public/WebCommon.h: add #defines to support Linux.
38818 * public/linux/WebFontRenderStyle.h: expose Linux-specific API.
38819 * tests/RunAllTests.cpp: adjust ifdefs to not be Windows-specific.
38821 2011-04-29 Vsevolod Vlasov <vsevik@chromium.org>
38823 Reviewed by Pavel Feldman.
38825 Chromium DevTools: Fix network panel timing/size/headers tests.
38826 https://bugs.webkit.org/show_bug.cgi?id=59696
38829 (.TestSuite.prototype.testNetworkSize.finishResource):
38830 (.TestSuite.prototype.testNetworkSyncSize.finishResource):
38831 (.TestSuite.prototype.testNetworkRawHeadersText.finishResource):
38832 (.TestSuite.prototype.testNetworkTiming.finishResource):
38834 2011-04-29 Pavel Feldman <pfeldman@google.com>
38836 Reviewed by Yury Semikhatsky.
38838 Web Inspector: add "open link in new tab" action into the network and resources panels.
38839 https://bugs.webkit.org/show_bug.cgi?id=59788
38841 This change also distinguishes context menu items case between platforms.
38843 * src/js/DevTools.js:
38845 2011-04-28 Nat Duca <nduca@chromium.org>
38847 Reviewed by Kenneth Russell.
38849 [chromium] Add swapBuffersCompleteCallback to Extensions3DChromium
38850 https://bugs.webkit.org/show_bug.cgi?id=59626
38852 * public/WebGraphicsContext3D.h:
38853 (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
38854 (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
38855 * src/Extensions3DChromium.cpp:
38856 (WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
38857 * src/GraphicsContext3DChromium.cpp:
38858 (WebCore::SwapBuffersCompleteCallbackAdapter::~SwapBuffersCompleteCallbackAdapter):
38859 (WebCore::SwapBuffersCompleteCallbackAdapter::SwapBuffersCompleteCallbackAdapter):
38860 (WebCore::SwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
38861 (WebCore::SwapBuffersCompleteCallbackAdapter::create):
38862 (WebCore::GraphicsContext3DInternal::setSwapBuffersCompleteCallbackCHROMIUM):
38863 * src/GraphicsContext3DInternal.h:
38864 * src/WebViewImpl.cpp:
38866 2011-04-28 John Abd-El-Malek <jam@chromium.org>
38868 Reviewed by Tony Chang.
38870 [chromium] Fix silly bug with WebPermissionClient
38871 https://bugs.webkit.org/show_bug.cgi?id=59769
38873 * src/FrameLoaderClientImpl.cpp:
38874 (WebKit::FrameLoaderClientImpl::allowJavaScript):
38875 (WebKit::FrameLoaderClientImpl::allowPlugins):
38876 (WebKit::FrameLoaderClientImpl::allowImages):
38878 2011-04-28 Jay Civelli <jcivelli@chromium.org>
38880 Reviewed by Adam Barth.
38882 Introducing a new API to serialize a WebView back to HTML.
38883 https://bugs.webkit.org/show_bug.cgi?id=58947
38886 * public/WebPageSerializer.h:
38887 * src/WebPageSerializer.cpp:
38888 (WebKit::WebPageSerializer::serialize):
38889 * tests/WebPageNewSerializerTest.cpp: Added.
38890 * tests/data/pageserializer: Added.
38891 * tests/data/pageserializer/blank_frames.html: Added.
38892 * tests/data/pageserializer/blue_background.png: Added.
38893 * tests/data/pageserializer/css_test_page.html: Added.
38894 * tests/data/pageserializer/green_background.png: Added.
38895 * tests/data/pageserializer/iframe.html: Added.
38896 * tests/data/pageserializer/iframe2.html: Added.
38897 * tests/data/pageserializer/import_style_from_link.css: Added.
38898 * tests/data/pageserializer/import_styles.css: Added.
38899 * tests/data/pageserializer/link_styles.css: Added.
38900 * tests/data/pageserializer/ol-dot.png: Added.
38901 * tests/data/pageserializer/orange_background.png: Added.
38902 * tests/data/pageserializer/purple_background.png: Added.
38903 * tests/data/pageserializer/red_background.png: Added.
38904 * tests/data/pageserializer/simple.xhtml: Added.
38905 * tests/data/pageserializer/top_frame.html: Added.
38906 * tests/data/pageserializer/ul-dot.png: Added.
38907 * tests/data/pageserializer/yellow_background.png: Added.
38909 2011-04-28 John Abd-El-Malek <jam@chromium.org>
38911 Reviewed by Darin Fisher.
38913 [chromium] Add a WebPermissionClient to be used for checking permissions of features
38914 https://bugs.webkit.org/show_bug.cgi?id=59720
38916 * public/WebFrameClient.h:
38917 (WebKit::WebFrameClient::allowPlugins):
38918 (WebKit::WebFrameClient::didNotAllowPlugins):
38919 (WebKit::WebFrameClient::allowImages):
38920 (WebKit::WebFrameClient::allowScript):
38921 (WebKit::WebFrameClient::allowDatabase):
38922 (WebKit::WebFrameClient::didNotAllowScript):
38923 * public/WebPermissionClient.h: Added.
38924 (WebKit::WebPermissionClient::allowDatabase):
38925 (WebKit::WebPermissionClient::allowImages):
38926 (WebKit::WebPermissionClient::allowPlugins):
38927 (WebKit::WebPermissionClient::allowScript):
38928 (WebKit::WebPermissionClient::allowScriptExtension):
38929 (WebKit::WebPermissionClient::allowReadFromClipboard):
38930 (WebKit::WebPermissionClient::allowWriteToClipboard):
38931 (WebKit::WebPermissionClient::didNotAllowPlugins):
38932 (WebKit::WebPermissionClient::didNotAllowScript):
38933 (WebKit::WebPermissionClient::~WebPermissionClient):
38934 * public/WebView.h:
38935 * public/WebViewClient.h:
38936 (WebKit::WebViewClient::didEndEditing):
38937 * src/DatabaseObserver.cpp:
38938 (WebCore::DatabaseObserver::canEstablishDatabase):
38939 * src/EditorClientImpl.cpp:
38940 (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
38941 (WebKit::EditorClientImpl::canCopyCut):
38942 (WebKit::EditorClientImpl::canPaste):
38943 * src/FrameLoaderClientImpl.cpp:
38944 (WebKit::FrameLoaderClientImpl::allowScriptExtension):
38945 (WebKit::FrameLoaderClientImpl::allowJavaScript):
38946 (WebKit::FrameLoaderClientImpl::allowPlugins):
38947 (WebKit::FrameLoaderClientImpl::allowImages):
38948 (WebKit::FrameLoaderClientImpl::didNotAllowScript):
38949 (WebKit::FrameLoaderClientImpl::didNotAllowPlugins):
38950 * src/WebFrameImpl.cpp:
38951 (WebKit::WebFrameImpl::enableContinuousSpellChecking):
38952 * src/WebViewImpl.cpp:
38953 (WebKit::WebViewImpl::setAutoFillClient):
38954 (WebKit::WebViewImpl::setPermissionClient):
38955 (WebKit::WebViewImpl::WebViewImpl):
38956 * src/WebViewImpl.h:
38957 (WebKit::WebViewImpl::permissionClient):
38959 2011-04-28 Kenneth Russell <kbr@google.com>
38961 Unreviewed fix for Windows multi-DLL build.
38965 2011-04-27 Dmitry Lomov <dslomov@google.com>
38967 Reviewed by David Levin.
38969 CrossThreadCopier should not have a default specialization for raw pointers
38970 https://bugs.webkit.org/show_bug.cgi?id=59234
38971 Removed the ablity to pass raw pointers cross-thread
38972 Added and applied annotations for doing that
38974 * src/WebSharedWorkerImpl.cpp:
38975 (WebKit::WebSharedWorkerImpl::connect):
38976 (WebKit::WebSharedWorkerImpl::connectTask):
38977 * src/WebSharedWorkerImpl.h:
38978 * src/WebWorkerBase.cpp:
38979 (WebKit::WebWorkerBase::postMessageToWorkerObject):
38980 (WebKit::WebWorkerBase::postExceptionToWorkerObject):
38981 (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
38982 (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
38983 (WebKit::WebWorkerBase::reportPendingActivity):
38984 (WebKit::WebWorkerBase::workerContextClosed):
38985 (WebKit::WebWorkerBase::workerContextDestroyed):
38986 * src/WebWorkerClientImpl.cpp:
38987 (WebKit::WebWorkerClientImpl::startWorkerContext):
38988 (WebKit::WebWorkerClientImpl::terminateWorkerContext):
38989 (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
38990 (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
38991 (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
38992 (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
38993 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
38994 (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
38995 (WebKit::WebWorkerClientImpl::reportPendingActivity):
38996 * src/WebWorkerImpl.cpp:
38997 (WebKit::WebWorkerImpl::postMessageToWorkerContext):
38998 * src/WorkerFileSystemCallbacksBridge.cpp:
38999 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
39000 (WebKit::WorkerFileSystemCallbacksBridge::postMoveToMainThread):
39001 (WebKit::WorkerFileSystemCallbacksBridge::postCopyToMainThread):
39002 (WebKit::WorkerFileSystemCallbacksBridge::postRemoveToMainThread):
39003 (WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread):
39004 (WebKit::WorkerFileSystemCallbacksBridge::postReadMetadataToMainThread):
39005 (WebKit::WorkerFileSystemCallbacksBridge::postCreateFileToMainThread):
39006 (WebKit::WorkerFileSystemCallbacksBridge::postCreateDirectoryToMainThread):
39007 (WebKit::WorkerFileSystemCallbacksBridge::postFileExistsToMainThread):
39008 (WebKit::WorkerFileSystemCallbacksBridge::postDirectoryExistsToMainThread):
39009 (WebKit::WorkerFileSystemCallbacksBridge::postReadDirectoryToMainThread):
39010 (WebKit::WorkerFileSystemCallbacksBridge::didFailOnMainThread):
39011 (WebKit::WorkerFileSystemCallbacksBridge::didOpenFileSystemOnMainThread):
39012 (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnMainThread):
39013 (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnMainThread):
39014 (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnMainThread):
39015 * src/WorkerFileWriterCallbacksBridge.cpp:
39016 (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
39017 (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
39018 (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
39019 (WebKit::WorkerFileWriterCallbacksBridge::didWrite):
39020 (WebKit::WorkerFileWriterCallbacksBridge::didFail):
39021 (WebKit::WorkerFileWriterCallbacksBridge::didTruncate):
39022 (WebKit::WorkerFileWriterCallbacksBridge::postInitToMainThread):
39023 (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToMainThread):
39024 (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToWorkerThread):
39025 * tests/CCThreadTest.cpp:
39028 2011-04-27 James Robinson <jamesr@chromium.org>
39030 Reviewed by Kenneth Russell.
39032 [chromium] Ensure compositing layers are up to date before entering doComposite
39033 https://bugs.webkit.org/show_bug.cgi?id=59159
39035 Explicitly update and sync the compositing layer data structures for all frames in the tree before entering the
39036 composite operation so that lazily updated state doesn't mutate the GraphicsLayer tree while compositing.
39038 * src/WebViewImpl.cpp:
39039 (WebKit::WebViewImpl::composite):
39041 2011-04-27 James Robinson <jamesr@chromium.org>
39043 Reviewed by Adam Barth.
39045 Fix OwnPtr strict issues in chromium linux build
39046 https://bugs.webkit.org/show_bug.cgi?id=59664
39048 * src/WebImageDecoder.cpp:
39049 (WebKit::WebImageDecoder::getFrameAtIndex):
39050 * src/WebImageSkia.cpp:
39051 (WebKit::WebImage::fromData):
39053 2011-04-27 Adam Barth <abarth@webkit.org>
39055 Reviewed by David Levin.
39057 Make GraphicsContext3DChromium play nice with strict OwnPtrs
39058 https://bugs.webkit.org/show_bug.cgi?id=59659
39060 Attempt #2. Hopefully this time I won't make everything crash.
39062 * src/GraphicsContext3DChromium.cpp:
39063 (WebCore::GraphicsContext3DInternal::initialize):
39065 2011-04-27 Dirk Pranke <dpranke@chromium.org>
39067 Reviewed by Darin Fisher.
39069 remove unneeded TestWebWidget class
39070 https://bugs.webkit.org/show_bug.cgi?id=59573
39072 * tests/PopupMenuTest.cpp:
39074 2011-04-27 Tony Chang <tony@chromium.org>
39076 Reviewed by Ojan Vafai.
39078 [chromium] add a build target to make a zip file with the inspector debug files
39079 https://bugs.webkit.org/show_bug.cgi?id=56656
39081 * WebKit.gyp: Add target
39082 * scripts/concatenate_css_files.py: Pass in a string of html rather
39084 * scripts/concatenate_js_files.py: Same as above
39085 * scripts/generate_devtools_html.py: Refactor main into a helper function
39086 * scripts/generate_devtools_zip.py: Added.
39088 2011-04-27 Mihai Parparita <mihaip@chromium.org>
39090 Reviewed by Eric Seidel.
39092 Frame.h shouldn't include Document.h
39093 https://bugs.webkit.org/show_bug.cgi?id=59560
39095 Add Document.h #includes for files that were relying on transitive
39096 #includes via Frame.h.
39098 * src/LocalFileSystemChromium.cpp:
39099 * src/StorageEventDispatcherImpl.cpp:
39100 * src/WebFrameImpl.h:
39101 * src/WebWorkerBase.cpp:
39103 2011-04-26 Jay Civelli <jcivelli@chromium.org>
39105 Reviewed by Eric Seidel.
39107 Typedefing the shared timer function.
39108 https://bugs.webkit.org/show_bug.cgi?id=59564
39110 * public/WebKitClient.h:
39111 (WebKit::WebKitClient::setSharedTimerFiredFunction):
39113 2011-04-26 Dirk Pranke <dpranke@chromium.org>
39115 Unreviewed, rolling out r84982.
39116 http://trac.webkit.org/changeset/84982
39117 https://bugs.webkit.org/show_bug.cgi?id=59558
39122 * public/WebFrame.h:
39123 * public/WebWidget.h:
39124 * public/mac/WebSubstringUtil.h: Added.
39125 * src/WebFrameImpl.cpp:
39126 (WebKit::WebFrameImpl::firstRectForCharacterRange):
39127 (WebKit::WebFrameImpl::characterIndexForPoint):
39128 * src/WebFrameImpl.h:
39129 * src/WebPopupMenuImpl.cpp:
39130 (WebKit::WebPopupMenuImpl::compositionRange):
39131 (WebKit::WebPopupMenuImpl::caretOrSelectionRange):
39132 * src/WebPopupMenuImpl.h:
39133 * src/WebViewImpl.cpp:
39134 (WebKit::WebViewImpl::compositionRange):
39135 (WebKit::WebViewImpl::caretOrSelectionRange):
39136 * src/WebViewImpl.h:
39137 * src/mac/WebSubstringUtil.mm: Added.
39138 (WebKit::WebSubstringUtil::attributedSubstringInRange):
39140 2011-04-26 Sam Weinig <sam@webkit.org>
39142 Reviewed by David Hyatt.
39144 Remove Datagrid from the tree
39145 https://bugs.webkit.org/show_bug.cgi?id=59543
39150 2011-04-26 Sheriff Bot <webkit.review.bot@gmail.com>
39152 Unreviewed, rolling out r84951.
39153 http://trac.webkit.org/changeset/84951
39154 https://bugs.webkit.org/show_bug.cgi?id=59558
39156 "breaks chromium compile" (Requested by dpranke on #webkit).
39159 * public/WebFrame.h:
39160 * public/WebWidget.h:
39161 * public/mac/WebSubstringUtil.h: Removed.
39162 * src/WebFrameImpl.cpp:
39163 (WebKit::WebFrameImpl::firstRectForCharacterRange):
39164 * src/WebFrameImpl.h:
39165 * src/WebPopupMenuImpl.cpp:
39166 * src/WebPopupMenuImpl.h:
39167 * src/WebViewImpl.cpp:
39168 * src/WebViewImpl.h:
39169 * src/mac/WebSubstringUtil.mm: Removed.
39171 2011-04-26 Daniel Cheng <dcheng@chromium.org>
39173 Reviewed by Eric Seidel.
39175 [chromium] Implement EditorClient::canCopyCut and EditorClient::canPaste
39176 https://bugs.webkit.org/show_bug.cgi?id=59264
39178 * public/WebViewClient.h:
39179 (WebKit::WebViewClient::canTriggerClipboardRead):
39180 (WebKit::WebViewClient::canTriggerClipboardWrite):
39181 * src/EditorClientImpl.cpp:
39182 (WebKit::EditorClientImpl::canCopyCut):
39183 (WebKit::EditorClientImpl::canPaste):
39185 2011-04-26 Evan Martin <evan@chromium.org>
39187 Unreviewed, Chrome/Mac build fix.
39189 * WebKit.gypi: Remove extra file. (I removed a subtraction, but
39190 forgot to remove the corresponding addition that the subtraction
39191 was counteracting.)
39193 2011-04-26 Evan Martin <evan@chromium.org>
39195 Reviewed by Tony Chang.
39197 [chromium] refactor duplicated list of test source files
39198 https://bugs.webkit.org/show_bug.cgi?id=59478
39200 The platform-specific unit test files were listed twice in
39201 WebKit.gyp: once for the components build, once for the normal
39202 build. Refactor this into the unified webkit_unittest_files
39203 variable. (It appears the omission of WebPageSerializerTest
39204 in one instance was an oversight.)
39209 2011-04-26 Robert Sesek <rsesek@chromium.org>
39211 Reviewed by Dimitri Glazkov.
39213 [Chromium] Implement WebKit methods to assist with Cocoa NSTextInput implementation
39214 https://bugs.webkit.org/show_bug.cgi?id=54969
39217 * public/WebFrame.h:
39218 * public/WebWidget.h:
39219 * public/mac/WebSubstringUtil.h: Added.
39220 * src/WebFrameImpl.cpp:
39221 (WebKit::WebFrameImpl::firstRectForCharacterRange): Return the result rect in window coordinates
39222 (WebKit::WebFrameImpl::characterIndexForPoint): New method on WebFrame
39223 * src/WebFrameImpl.h:
39224 * src/WebPopupMenuImpl.cpp:
39225 (WebKit::WebPopupMenuImpl::compositionRange): New method on WebWidget; empty impl
39226 (WebKit::WebPopupMenuImpl::caretOrSelectionRange): New method on WebWidget; empty impl
39227 * src/WebPopupMenuImpl.h:
39228 * src/WebViewImpl.cpp:
39229 (WebKit::WebViewImpl::compositionRange): New method on WebWidget
39230 (WebKit::WebViewImpl::caretOrSelectionRange): New method on WebWidget
39231 * src/WebViewImpl.h:
39232 * src/mac/WebSubstringUtil.mm: Added.
39233 (WebKit::WebSubstringUtil::attributedSubstringInRange):
39235 2011-04-26 Adam Barth <abarth@webkit.org>
39237 Reviewed by David Levin.
39239 Moar strict OwnPtr fixes for WebKit/chromium
39240 https://bugs.webkit.org/show_bug.cgi?id=59437
39242 This patch fixes all but two strict OwnPtr issues in WebKit/chromium.
39244 * src/WebDataSourceImpl.cpp:
39245 (WebKit::WebDataSourceImpl::setExtraData):
39246 (WebKit::WebDataSourceImpl::setNextPluginLoadObserver):
39247 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
39248 * src/WebDataSourceImpl.h:
39249 * src/WebDevToolsAgentImpl.cpp:
39250 (WebKit::WebDevToolsAgentImpl::attach):
39251 (WebKit::WebDevToolsAgentImpl::detach):
39252 (WebKit::WebDevToolsAgent::interruptAndDispatch):
39253 * src/WebFrameImpl.cpp:
39254 (WebKit::WebFrameImpl::printBegin):
39255 * src/WebMediaPlayerClientImpl.cpp:
39256 (WebKit::createWebMediaPlayer):
39257 (WebKit::WebMediaPlayerClientImpl::loadInternal):
39258 * src/WebSpeechInputControllerMockImpl.cpp:
39259 (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
39260 * src/WebStorageEventDispatcherImpl.cpp:
39261 (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
39262 * src/WebViewImpl.cpp:
39263 (WebKit::WebViewImpl::WebViewImpl):
39264 (WebKit::WebViewImpl::settings):
39265 (WebKit::WebViewImpl::applyAutoFillSuggestions):
39266 (WebKit::WebView::addUserScript):
39267 (WebKit::WebView::addUserStyleSheet):
39269 2011-04-26 Ruben <chromium@hybridsource.org>
39271 Reviewed by Tony Chang.
39273 Change linux ifdefs for Chromium to Unix instead, allowing
39274 new Unix ports to be enabled by default
39275 https://bugs.webkit.org/show_bug.cgi?id=59297
39277 * src/PlatformBridge.cpp:
39278 * src/WebFrameImpl.cpp:
39279 * src/WebViewImpl.cpp:
39281 2011-04-26 Stephen White <senorblanco@chromium.org>
39283 Reviewed by Kenneth Russell.
39285 Partial revert of http://trac.webkit.org/changeset/84893, since it
39286 triggered a large number of layout test failures.
39287 https://bugs.webkit.org/show_bug.cgi?id=59459
39289 * src/GraphicsContext3DChromium.cpp:
39290 (WebCore::GraphicsContext3DInternal::initialize):
39292 2011-04-26 Hans Wennborg <hans@chromium.org>
39294 Reviewed by Tony Gentilcore.
39296 IndexedDB: Enable compile-time flag for LevelDB
39297 https://bugs.webkit.org/show_bug.cgi?id=59457
39299 Set ENABLE_LEVELDB=1 in features.gypi.
39303 2011-04-26 Pavel Feldman <pfeldman@google.com>
39305 Reviewed by Yury Semikhatsky.
39307 Chromium DevTools: recognize WebP as a valid mimetype in the Chromium port.
39308 https://bugs.webkit.org/show_bug.cgi?id=59332
39310 * src/js/DevTools.js:
39312 2011-04-26 Adam Barth <abarth@webkit.org>
39314 Reviewed by David Levin.
39316 WebKit/chromium should play nice with strict OwnPtrs
39317 https://bugs.webkit.org/show_bug.cgi?id=59434
39319 This fixes about half the issues.
39321 * src/ApplicationCacheHost.cpp:
39322 (WebCore::ApplicationCacheHost::maybeLoadMainResource):
39323 * src/ApplicationCacheHostInternal.h:
39324 (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
39325 * src/AutoFillPopupMenuClient.cpp:
39326 (WebKit::AutoFillPopupMenuClient::initialize):
39327 * src/GraphicsContext3DChromium.cpp:
39328 (WebCore::GraphicsContext3DInternal::initialize):
39329 * src/ResourceHandle.cpp:
39330 (WebCore::ResourceHandleInternal::start):
39331 (WebCore::ResourceHandle::ResourceHandle):
39332 (WebCore::ResourceHandle::loadResourceSynchronously):
39333 * src/SocketStreamHandle.cpp:
39334 (WebCore::SocketStreamHandleInternal::connect):
39336 2011-04-25 Dirk Pranke <dpranke@chromium.org>
39338 Unreviewed, build fix.
39340 Change FAILS_ to DISABLED_ in r84813.
39342 * tests/TransparencyWinTest.cpp:
39345 2011-04-25 Dirk Pranke <dpranke@chromium.org>
39347 Reviewed by James Robinson.
39349 Suppress test failure in Chromium webkit_unit_tests.
39350 https://bugs.webkit.org/show_bug.cgi?id=59358
39352 Looks like this started failing after
39353 http://trac.webkit.org/changeset/84631.
39355 * tests/TransparencyWinTest.cpp:
39358 2011-04-22 Mikhail Naganov <mnaganov@chromium.org>
39360 Reviewed by Pavel Feldman.
39362 Web Inspector: [Chromium] Move detailed heap snapshots storage and processing into workers.
39363 https://bugs.webkit.org/show_bug.cgi?id=59094
39367 2011-04-22 Andrey Kosyakov <caseq@chromium.org>
39369 Reviewed by Pavel Feldman.
39371 Web Inspector: [Extensions API] misc API cleanup
39372 https://bugs.webkit.org/show_bug.cgi?id=59194
39374 * src/js/DevTools.js:
39375 (WebInspector.platformExtensionAPI):
39377 2011-04-21 Chris Fleizach <cfleizach@apple.com>
39379 Reviewed by Beth Dakin.
39381 AX: order AccessibilityRole alphabetically
39382 https://bugs.webkit.org/show_bug.cgi?id=31524
39384 * public/WebAccessibilityRole.h:
39386 2011-04-21 Maciej Stachowiak <mjs@apple.com>
39388 Reviewed by Adam Roben.
39390 Add a feature define to allow <details> and <summary> to be disabled
39391 https://bugs.webkit.org/show_bug.cgi?id=59118
39392 <rdar://problem/9257045>
39396 2011-04-21 Ryosuke Niwa <rniwa@webkit.org>
39398 Reviewed by Sam Weinig.
39400 Add Frame* to the argument lists of canCopyCut and canPaste
39401 https://bugs.webkit.org/show_bug.cgi?id=59153
39403 * src/EditorClientImpl.cpp:
39404 (WebKit::EditorClientImpl::canCopyCut):
39405 (WebKit::EditorClientImpl::canPaste):
39406 * src/EditorClientImpl.h:
39408 2011-04-21 Roland Steiner <rolandsteiner@chromium.org>
39410 Reviewed by Dimitri Glazkov.
39412 Bug 58704 - Decide on node type for ShadowRoot
39413 https://bugs.webkit.org/show_bug.cgi?id=58704
39415 Add a new enum entry to WebNode::NodeType for shadow roots.
39416 Adapt calling sites for new SHADOW_ROOT_NODE node type.
39418 * public/WebNode.h:
39419 * src/WebPageSerializerImpl.cpp:
39420 (WebKit::WebPageSerializerImpl::buildContentForNode):
39422 2011-04-20 Dominic Cooney <dominicc@chromium.org>
39424 Reviewed by Dimitri Glazkov.
39426 layoutTestController can create and destroy shadow DOM
39427 https://bugs.webkit.org/show_bug.cgi?id=59058
39429 Chromium DRT relies on the Chromium WebKit API
39431 * public/WebElement.h:
39432 * src/WebElement.cpp:
39433 (WebKit::WebElement::shadowRoot): don't steal a zero refcount
39434 (WebKit::WebElement::ensureShadowRoot): added
39435 (WebKit::WebElement::removeShadowRoot): added
39437 2011-04-20 Alexey Marinichev <amarinichev@chromium.org>
39439 Reviewed by Kenneth Russell.
39441 Check for null m_context in WebGLLayerChromium and add resetting platform layer's context in the destructor of GraphicsContext3D.
39442 https://bugs.webkit.org/show_bug.cgi?id=59045
39444 * src/GraphicsContext3DChromium.cpp:
39445 (WebCore::GraphicsContext3D::~GraphicsContext3D): call into platform
39446 layer and unregister itself.
39448 2011-04-20 Yuzhu Shen <yzshen@chromium.org>
39450 Reviewed by Tony Chang.
39452 [chromium] linux chromium doesn't set click count for mouse up events.
39453 https://bugs.webkit.org/show_bug.cgi?id=58921
39455 The reason why we need such a fix is that the Pepper API passes this information to plugins,
39456 and some consumers (e.g., Flash) need it to detect double-clicks.
39458 * src/gtk/WebInputEventFactory.cpp: set click count for mouse up events.
39459 * tests/WebInputEventFactoryTestGtk.cpp: added test case MouseUpClickCount.
39461 2011-04-20 Evan Martin <evan@chromium.org>
39463 Reviewed by Tony Chang.
39465 [chromium] expose title text direction on WebDataSource
39466 https://bugs.webkit.org/show_bug.cgi?id=59010
39468 * public/WebDataSource.h:
39469 * src/WebDataSourceImpl.cpp:
39470 (WebKit::WebDataSourceImpl::pageTitle):
39471 (WebKit::WebDataSourceImpl::pageTitleDirection):
39472 * src/WebDataSourceImpl.h:
39474 2011-04-20 Pavel Feldman <pfeldman@google.com>
39476 Reviewed by Yury Semikhatsky.
39478 Web Inspector: add saveAs into the InspectorFrontendHost binding.
39479 https://bugs.webkit.org/show_bug.cgi?id=58979
39481 * public/WebDevToolsFrontendClient.h:
39482 (WebKit::WebDevToolsFrontendClient::saveAs):
39483 * src/InspectorFrontendClientImpl.cpp:
39484 (WebKit::InspectorFrontendClientImpl::saveAs):
39485 * src/InspectorFrontendClientImpl.h:
39486 * src/js/DevTools.js:
39488 2011-04-19 Naoki Takano <takano.naoki@gmail.com>
39490 Reviewed by Kent Tamura.
39492 [Chromium]UI polishes and tweaks to Autofill dropdown menu.
39493 https://bugs.webkit.org/show_bug.cgi?id=58505
39495 * src/AutoFillPopupMenuClient.cpp:
39496 (WebKit::AutoFillPopupMenuClient::initialize): Set AutofillPopup for menuStyle.
39498 2011-04-19 Dirk Pranke <dpranke@chromium.org>
39500 Unreviewed, attempting build fix.
39502 Disable leveldb to work around
39503 http://code.google.com/p/leveldb/issues/detail?id=1.
39507 2011-04-19 Dominic Cooney <dominicc@chromium.org>
39509 Reviewed by Dimitri Glazkov.
39511 Check the type of the wrapper when unwrapping NPObjects to native
39512 Ranges and Elements
39513 https://bugs.webkit.org/show_bug.cgi?id=58957
39515 * src/WebBindings.cpp:
39516 (WebKit::getRangeImpl): check HasInstance
39517 (WebKit::getElementImpl): check HasInstance
39519 2011-04-19 Evan Martin <evan@chromium.org>
39521 Reviewed by Darin Fisher.
39523 [chromium] didReceiveTitle API signature should not change
39524 https://bugs.webkit.org/show_bug.cgi?id=58909
39526 My previous attempt at a temporary shim was wrong.
39527 This second try should correctly work with older clients.
39529 * public/WebFrameClient.h:
39530 (WebKit::WebFrameClient::didReceiveTitle):
39532 2011-04-19 Jungshik Shin <jshin@chromium.org>
39534 Reviewed by Adam Barth
39536 Fix the compile failure in UniscribeHelperTest.cpp due to
39537 a change in UniscribeHelper made by the CL for bug 48860
39540 http://bugs.webkit.org/show_bug.cgi?id=48860
39542 * tests/UniscribeHelperTest.cpp:
39545 2011-04-19 Stuart Morgan <stuartmorgan@chromium.org>
39547 Reviewed by Tony Chang.
39549 [chromium] Clicking on plugin for first time blocks focus shift
39550 https://bugs.webkit.org/show_bug.cgi?id=58419
39552 Switched to using FocusController when moving focus to a plugin
39553 so that cross-frame focus changes are handled correctly.
39555 * src/WebPluginContainerImpl.cpp:
39556 (WebKit::WebPluginContainerImpl::handleMouseEvent):
39558 2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>
39560 Reviewed by Pavel Feldman.
39562 Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
39563 https://bugs.webkit.org/show_bug.cgi?id=58883
39565 Renamed lengthReceived to encodedDataLength/dataLength.
39567 * public/WebURLLoaderClient.h:
39568 (WebKit::WebURLLoaderClient::didReceiveData):
39569 * src/AssociatedURLLoader.cpp:
39570 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
39571 * src/FrameLoaderClientImpl.cpp:
39572 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
39573 * src/FrameLoaderClientImpl.h:
39574 * src/ResourceHandle.cpp:
39575 (WebCore::ResourceHandleInternal::didReceiveData):
39577 2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>
39579 Reviewed by Pavel Feldman.
39581 Chromium DevTools: Network panel timing test is flaky
39582 https://bugs.webkit.org/show_bug.cgi?id=58699
39584 Fixed network timing test flakiness.
39587 (.TestSuite.prototype.testNetworkTiming.finishResource):
39589 2011-04-19 Andrey Kosyakov <caseq@chromium.org>
39591 Reviewed by Pavel Feldman.
39593 Web Inspector: add chrome.devTools alias to webInspector namespace for chromium port
39594 https://bugs.webkit.org/show_bug.cgi?id=58894
39596 * src/js/DevTools.js:
39597 (WebInspector.platformExtensionAPI):
39599 2011-04-19 Kinuko Yasuda <kinuko@chromium.org>
39601 Not reviewed; another build fix attempt.
39603 * src/StorageInfoChromium.cpp:
39604 (WebCore::StorageInfo::queryUsageAndQuota):
39605 (WebCore::StorageInfo::requestQuota):
39606 * src/WebStorageQuotaCallbacksImpl.cpp:
39607 (WebKit::WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl):
39608 * src/WebStorageQuotaCallbacksImpl.h:
39610 2011-04-19 Kinuko Yasuda <kinuko@chromium.org>
39612 Reviewed by David Levin.
39614 [Chromium] Enable QUOTA API at runtime if enable-quota flag is given
39615 https://bugs.webkit.org/show_bug.cgi?id=58784
39617 * features.gypi: Added ENABLE_QUOTA=1.
39618 * public/WebRuntimeFeatures.h:
39619 * src/WebRuntimeFeatures.cpp:
39620 (WebKit::WebRuntimeFeatures::enableQuota): Added.
39621 (WebKit::WebRuntimeFeatures::isQuotaEnabled): Added.
39623 2011-04-19 John Gregg <johnnyg@google.com>
39625 Reviewed by Darin Fisher.
39627 Enable folder drag-n-drop when using a "webkitdirectory" file input
39628 https://bugs.webkit.org/show_bug.cgi?id=58401
39630 This uses a new ChromeClient API to enumerate the directory and
39631 return all the files, as if the user had selected that directory
39632 by clicking the control in the normal way.
39634 * public/WebViewClient.h:
39635 (WebKit::WebViewClient::enumerateChosenDirectory):
39636 * src/ChromeClientImpl.cpp:
39637 (WebKit::ChromeClientImpl::enumerateChosenDirectory):
39638 * src/ChromeClientImpl.h:
39640 2011-04-18 Evan Martin <evan@chromium.org>
39642 Reviewed by Eric Seidel.
39644 [chromium] expose title direction to webkit client
39645 https://bugs.webkit.org/show_bug.cgi?id=58823
39647 * public/WebFrameClient.h:
39648 (WebKit::WebFrameClient::didReceiveTitle):
39649 Add new param to API.
39651 * src/FrameLoaderClientImpl.cpp:
39652 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
39653 Pass new param in API.
39655 2011-04-17 Patrick Gansterer <paroga@webkit.org>
39657 Reviewed by Adam Barth.
39659 Rename PLATFORM(CG) to USE(CG)
39660 https://bugs.webkit.org/show_bug.cgi?id=58729
39662 * src/GraphicsContext3DChromium.cpp:
39663 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
39664 (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
39665 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
39666 (WebCore::GraphicsContext3DInternal::reshape):
39667 * src/GraphicsContext3DInternal.h:
39668 * src/PlatformBridge.cpp:
39669 * src/WebViewImpl.cpp:
39670 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
39672 2011-04-15 John Bates <jbates@google.com>
39674 Reviewed by Kenneth Russell.
39676 Change WebGraphicsContext3D virtuals to pure virtuals as intended
39677 https://bugs.webkit.org/show_bug.cgi?id=58479
39679 * public/WebGraphicsContext3D.h:
39681 2011-04-15 Shishir Agrawal <shishir@chromium.org>
39683 Reviewed by James Robinson.
39685 Add a flag to guard Page Visibility API changes.
39686 https://bugs.webkit.org/show_bug.cgi?id=58464
39690 2011-04-15 Charlie Reis <creis@chromium.org>
39692 Reviewed by Darin Fisher.
39694 [Chromium] fast/events/popup-allowed-from-gesture-initiated-form-submit.html causing debug ASSERT
39695 https://bugs.webkit.org/show_bug.cgi?id=44079
39697 Remove an assert whose invariant doesn't hold.
39699 * src/FrameLoaderClientImpl.cpp:
39701 2011-04-15 Kinuko Yasuda <kinuko@chromium.org>
39703 Reviewed by David Levin.
39705 Expose unified Quota API if QUOTA build flag is enabled
39706 https://bugs.webkit.org/show_bug.cgi?id=58648
39708 * src/AssertMatchingEnums.cpp: Added enum assertions.
39709 * src/StorageInfoChromium.cpp: Made a build fix.
39711 2011-04-15 Vsevolod Vlasov <vsevik@chromium.org>
39713 Reviewed by Pavel Feldman.
39715 Web Inspector: Rename rawRequestHeadersText and RawResponseHeadersText to requestHeadersText and responseHeadersText
39716 https://bugs.webkit.org/show_bug.cgi?id=58650
39718 * public/WebHTTPLoadInfo.h:
39719 * src/WebHTTPLoadInfo.cpp:
39720 (WebKit::WebHTTPLoadInfo::requestHeadersText):
39721 (WebKit::WebHTTPLoadInfo::setRequestHeadersText):
39722 (WebKit::WebHTTPLoadInfo::responseHeadersText):
39723 (WebKit::WebHTTPLoadInfo::setResponseHeadersText):
39725 2011-04-15 Zelidrag Hornung <zelidrag@chromium.org>
39727 Reviewed by Darin Fisher.
39729 Added enums for external file system type and exposed factory function
39730 for creating File- and DirectoryEntry objects from Chromium side.
39731 https://bugs.webkit.org/show_bug.cgi?id=58456
39733 * public/WebFileSystem.h:
39734 * public/WebFrame.h:
39735 * src/AssertMatchingEnums.cpp:
39736 * src/WebFrameImpl.cpp:
39737 (WebKit::WebFrameImpl::createFileSystem):
39738 (WebKit::WebFrameImpl::createFileEntry):
39739 * src/WebFrameImpl.h:
39741 2011-04-15 Vsevolod Vlasov <vsevik@chromium.org>
39743 Reviewed by Pavel Feldman.
39745 Web Inspector: [Chromium] Create tests for network panel timing, size and raw headers text
39746 https://bugs.webkit.org/show_bug.cgi?id=58566
39748 Added network timing, size and raw headers tests for Inspector
39749 Since chromium used different version of network stack for layout
39750 tests, these are interactive ui tests (DevToolsSanityTest.TestNetwork*)
39753 (.TestSuite.prototype.testNetworkSize.finishResource):
39754 (.TestSuite.prototype.testNetworkSyncSize.finishResource):
39755 (.TestSuite.prototype.testNetworkRawHeadersText.finishResource):
39756 (.TestSuite.prototype.testNetworkTiming.finishResource):
39758 2011-04-14 Vsevolod Vlasov <vsevik@chromium.org>
39760 Reviewed by Pavel Feldman.
39762 Web Inspector: Enable raw HTTP headers support
39763 https://bugs.webkit.org/show_bug.cgi?id=58259
39765 Added raw headers text support to inspector.
39767 * public/WebHTTPLoadInfo.h:
39768 * src/WebHTTPLoadInfo.cpp:
39769 (WebKit::WebHTTPLoadInfo::rawRequestHeadersText):
39770 (WebKit::WebHTTPLoadInfo::setRawRequestHeadersText):
39771 (WebKit::WebHTTPLoadInfo::rawResponseHeadersText):
39772 (WebKit::WebHTTPLoadInfo::setRawResponseHeadersText):
39774 2011-04-14 Vsevolod Vlasov <vsevik@chromium.org>
39776 Reviewed by Pavel Feldman.
39778 Web Inspector: ResourceResponse should have encodedDataLength field for synchronous requests transfer size
39779 https://bugs.webkit.org/show_bug.cgi?id=58447
39781 FrameLoader now takes encoded data length for synchronous requests from the field with the same name.
39783 * public/WebHTTPLoadInfo.h:
39784 * src/WebHTTPLoadInfo.cpp:
39785 (WebKit::WebHTTPLoadInfo::encodedDataLength):
39786 (WebKit::WebHTTPLoadInfo::setEncodedDataLength):
39788 2011-04-14 Alok Priyadarshi <alokp@chromium.org>
39790 Reviewed by James Robinson.
39792 Remove dependency on chromium skia::PlatformCanvas
39793 https://bugs.webkit.org/show_bug.cgi?id=57563
39795 * public/WebCanvas.h:
39796 * src/WebFrameImpl.cpp:
39797 (WebKit::WebFrameImpl::printPage):
39798 * tests/TransparencyWinTest.cpp:
39799 (WebCore::drawNativeRect):
39800 (WebCore::getPixelAt):
39801 (WebCore::clearTopLayerAlphaChannel):
39802 (WebCore::clearTopLayerAlphaPixel):
39805 2011-04-14 Brian Salomon <bsalomon@google.com>
39807 Reviewed by Kenneth Russell.
39809 In skia platform call SkBitmap::notifyPixelsChanged on WebGL readback
39810 https://bugs.webkit.org/show_bug.cgi?id=58543
39812 No new tests. Tested by fast/canvas/webgl/canvas-test.html
39814 * src/GraphicsContext3DChromium.cpp:
39815 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
39817 2011-04-14 Adrienne Walker <enne@google.com>
39819 Reviewed by James Robinson.
39821 [chromium] TilingData should return 1 tile if tile size is texture size.
39822 https://bugs.webkit.org/show_bug.cgi?id=58364
39824 Update test to properly handle this case.
39826 * tests/TilingDataTest.cpp:
39829 2011-04-14 Bill Budge <bbudge@chromium.org>
39831 Reviewed by Darin Fisher.
39833 Make WebURLLoaderOptions disallow cross origin requests by default.
39834 https://bugs.webkit.org/show_bug.cgi?id=58475
39836 No new tests. Exposes no new functionality.
39838 * public/WebURLLoaderOptions.h:
39839 (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
39841 2011-04-13 James Robinson <jamesr@chromium.org>
39843 Reviewed by Simon Fraser.
39845 Allow setting composited backing stores for scrollbars and scroll corners
39846 https://bugs.webkit.org/show_bug.cgi?id=57202
39848 Remove a lot of scrollbar hacks from the chromium compositor implementation now that
39849 scrollbars go to real layers.
39851 * src/WebScrollbarImpl.cpp:
39852 (WebKit::WebScrollbarImpl::invalidateScrollCornerRect):
39853 (WebKit::WebScrollbarImpl::scrollCornerPresent):
39854 * src/WebScrollbarImpl.h:
39855 (WebKit::WebScrollbarImpl::scrollCornerRect):
39856 * src/WebViewImpl.cpp:
39857 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
39858 (WebKit::WebViewImpl::reallocateRenderer):
39860 2011-04-13 John Abd-El-Malek <jam@chromium.org>
39862 Reviewed by Jian Li.
39864 [chromium] Remove unnecessary #define now that chrome has rolled to the latest WebKit
39865 https://bugs.webkit.org/show_bug.cgi?id=58474
39868 * public/WebSpellCheckClient.h:
39870 2011-04-13 Zhenyao Mo <zmo@google.com>
39872 Reviewed by Kenneth Russell.
39874 Extension3D needs to provide a way to check if an extension is enabled
39875 https://bugs.webkit.org/show_bug.cgi?id=58410
39877 Implement isEnabled() in chromium port.
39879 * src/Extensions3DChromium.cpp:
39880 (WebCore::Extensions3DChromium::isEnabled):
39881 * src/GraphicsContext3DChromium.cpp:
39882 (WebCore::GraphicsContext3DInternal::isExtensionEnabled):
39883 * src/GraphicsContext3DInternal.h:
39885 2011-04-13 Kinuko Yasuda <kinuko@chromium.org>
39887 Reviewed by David Levin.
39889 Add mock implementation and plumbing code for unified Quota API
39890 https://bugs.webkit.org/show_bug.cgi?id=57927
39892 Added plumbing code for the quota API, that is based on the
39893 discussion on public-webapps:
39894 http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0346.html
39896 * WebKit.gyp: Added new file entries.
39897 * src/StorageInfoChromium.cpp: Added.
39898 * src/WebStorageQuotaCallbacksImpl.cpp: Added. An implementation of
39899 WebStorageQuotaCallbacks.
39900 * src/WebStorageQuotaCallbacksImpl.h: Added.
39902 2011-04-12 Hans Wennborg <hans@chromium.org>
39904 Reviewed by Jeremy Orlow.
39906 Chromium: Set ENABLE_LEVELDB=1 and add leveldb and snappy to DEPS
39907 https://bugs.webkit.org/show_bug.cgi?id=58343
39909 Set ENABLE_LEVELDB=1 so that code gets compiled by the EWS bots.
39910 Add the necessary dependencies to the DEPS file.
39915 2011-04-12 Kent Tamura <tkent@chromium.org>
39917 Reviewed by Dimitri Glazkov.
39919 [Chromium] Add WebSettings::setValidationMessageTimerMagnification()
39920 https://bugs.webkit.org/show_bug.cgi?id=57426
39922 * public/WebSettings.h: Declare new function.
39923 * src/WebSettingsImpl.cpp:
39924 (WebKit::WebSettingsImpl::setValidationMessageTimerMagnification):
39925 Passing the specified value to WebCore::Settings.
39926 * src/WebSettingsImpl.h: Declare new function.
39928 2011-04-12 Antoine Labour <piman@chromium.org>
39930 Reviewed by Kenneth Russell.
39932 Allow WebView users to recreate dependent contexts after a context lost
39933 event. Similarly to the startup case, a temporary context gets created,
39934 that gets used by the layer renderer once it itself gets recreated.
39935 https://bugs.webkit.org/show_bug.cgi?id=58385
39937 * src/WebViewImpl.cpp:
39938 (WebKit::WebViewImpl::reallocateRenderer): use the temporary context to
39939 recreate the layer renderer if it's valid.
39940 (WebKit::WebViewImpl::graphicsContext3D): create a temporary context if
39941 the layer renderer's context is lost.
39943 2011-04-12 Adrienne Walker <enne@google.com>
39945 Reviewed by James Robinson.
39947 [chromium] TilingData mishandles very small texture sizes
39948 https://bugs.webkit.org/show_bug.cgi?id=58364
39950 Update test to properly handle texture sizes of 0-3.
39952 * tests/TilingDataTest.cpp:
39955 2011-04-12 Jian Li <jianli@chromium.org>
39957 Unreviewed, rolling out r83649.
39958 http://trac.webkit.org/changeset/83649
39959 https://bugs.webkit.org/show_bug.cgi?id=57563
39961 This patch causes compiling errors for chromium
39963 * public/WebCanvas.h:
39964 * src/WebFrameImpl.cpp:
39965 (WebKit::WebFrameImpl::printPage):
39966 * tests/TransparencyWinTest.cpp:
39967 (WebCore::drawNativeRect):
39968 (WebCore::getPixelAt):
39969 (WebCore::clearTopLayerAlphaChannel):
39970 (WebCore::clearTopLayerAlphaPixel):
39973 2011-04-12 John Abd-El-Malek <jam@chromium.org>
39975 Reviewed by Jian Li.
39977 [chromium] Fix spellcheck regression in context menus
39978 https://bugs.webkit.org/show_bug.cgi?id=58386
39980 * src/ContextMenuClientImpl.cpp:
39981 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
39983 2011-04-12 Noel Gordon <noel.gordon@gmail.com>
39985 Reviewed by Tony Chang.
39987 [chromium] Use new dragTargetDragEnter() function signature
39988 https://bugs.webkit.org/show_bug.cgi?id=58303
39990 After WebKit/chromium/DEPS rolls to chromium r80907, the drag identity
39991 based version of dragTargetDragEnter() is no longer used; remove it.
39993 * public/WebView.h:
39994 * src/WebViewImpl.cpp:
39995 * src/WebViewImpl.h:
39997 2011-04-12 Alok Priyadarshi <alokp@chromium.org>
39999 Reviewed by James Robinson.
40001 Remove dependency on chromium skia::PlatformCanvas
40002 https://bugs.webkit.org/show_bug.cgi?id=57563
40004 * public/WebCanvas.h:
40005 * src/WebFrameImpl.cpp:
40006 (WebKit::WebFrameImpl::printPage):
40007 * tests/TransparencyWinTest.cpp:
40008 (WebCore::drawNativeRect):
40009 (WebCore::getPixelAt):
40010 (WebCore::clearTopLayerAlphaChannel):
40011 (WebCore::clearTopLayerAlphaPixel):
40014 2011-04-12 Adam Barth <abarth@webkit.org>
40016 Revert unintentional changes to WebKit.
40018 * public/WebSettings.h:
40019 * src/WebSettingsImpl.cpp:
40020 * src/WebSettingsImpl.h:
40022 2011-04-11 John Abd-El-Malek <jam@chromium.org>
40024 Reviewed by Darin Fisher.
40026 [chromium]: Get the list of misspelled words in the WebKit code insetad of in chromium's RenderView
40027 https://bugs.webkit.org/show_bug.cgi?id=58260
40029 * public/WebContextMenuData.h:
40030 * public/WebSpellCheckClient.h:
40031 (WebKit::WebSpellCheckClient::spellCheck):
40032 * src/ContextMenuClientImpl.cpp:
40033 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
40034 * src/EditorClientImpl.cpp:
40035 (WebKit::EditorClientImpl::checkSpellingOfString):
40037 2011-04-12 Bill Budge <bbudge@chromium.org>
40039 Reviewed by Darin Fisher.
40041 Move the WebURLLoaderOptions struct into its own file and rename the CrossOriginRequestPolicy enum to conform to the WebKit coding standard.
40042 https://bugs.webkit.org/show_bug.cgi?id=58287
40044 No new tests. No new functionality exposed.
40047 * public/WebURLLoader.h:
40048 * public/WebURLLoaderOptions.h: Added.
40049 (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
40050 * src/AssociatedURLLoader.cpp:
40051 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
40052 * src/AssociatedURLLoader.h:
40054 2011-04-11 Pavel Podivilov <podivilov@chromium.org>
40056 Reviewed by Pavel Feldman.
40058 Web Inspector: [chromium] script formatting doesn't work when chromium is built with debug_devtools=1.
40059 https://bugs.webkit.org/show_bug.cgi?id=58232
40063 2011-04-11 John Bates <jbates@google.com>
40065 Reviewed by Kenneth Russell.
40067 chromium support for glSetLatch and glWaitLatch between 3D contexts
40068 https://bugs.webkit.org/show_bug.cgi?id=58003
40070 * public/WebGraphicsContext3D.h:
40071 (WebKit::WebGraphicsContext3D::getParentToChildLatchCHROMIUM):
40072 (WebKit::WebGraphicsContext3D::getChildToParentLatchCHROMIUM):
40073 (WebKit::WebGraphicsContext3D::waitLatchCHROMIUM):
40074 (WebKit::WebGraphicsContext3D::setLatchCHROMIUM):
40075 * src/Extensions3DChromium.cpp:
40076 (WebCore::Extensions3DChromium::waitLatchCHROMIUM):
40077 (WebCore::Extensions3DChromium::setLatchCHROMIUM):
40078 * src/GraphicsContext3DChromium.cpp:
40079 * src/GraphicsContext3DInternal.h:
40081 2011-04-11 Ryosuke Niwa <rniwa@webkit.org>
40083 Reviewed by Tony Chang.
40085 [chromium] Crash in WebViewImpl::caretOrSelectionBounds
40086 https://bugs.webkit.org/show_bug.cgi?id=58269
40088 The bug was caused by caretOrSelectionBounds's incorrectly assuming
40089 SelectionController::toNormalizedRange to always return a non-null Range.
40091 Fixed the bug by adding a null pointer check. Also replaced calls to deprecatedNode
40092 by containerNode() and calls to SelectionController::start() and SelectionController::end()
40093 by calls to SelectionController::base() and SelectionController::extent() because
40094 selection extends from base to extent, not from start to end.
40096 Test: editing/selection/extend-over-file-input-by-drag-crash.html
40098 * src/WebViewImpl.cpp:
40099 (WebKit::WebViewImpl::caretOrSelectionBounds):
40101 2011-04-11 Dimitri Glazkov <dglazkov@chromium.org>
40103 Reviewed by Eric Carlson.
40105 Rename MediaControls to MediaControlRootElement.
40106 https://bugs.webkit.org/show_bug.cgi?id=58250
40108 Mechanical move using do-webcore-rename.
40110 2011-04-11 Daniel Cheng <dcheng@chromium.org>
40112 Reviewed by Dmitry Titov.
40114 [chromium] Implement image/png support in DataTransferItems
40115 https://bugs.webkit.org/show_bug.cgi?id=58106
40117 Add glue for reading image data from clipboard.
40120 * src/PlatformBridge.cpp:
40121 (WebCore::PlatformBridge::clipboardReadImage):
40123 2011-04-05 Hans Wennborg <hans@chromium.org>
40125 Reviewed by Steve Block.
40127 IndexedDB: Introduce skeleton for LevelDB backend
40128 https://bugs.webkit.org/show_bug.cgi?id=57827
40131 Add ENABLE_LEVELDB=0.
40132 * public/WebIDBFactory.h:
40133 (WebKit::WebIDBFactory::open):
40134 Remove pre-roll open() function.
40136 2011-04-10 Kent Tamura <tkent@chromium.org>
40138 [Chromium] Fix build errors on "Win Shared Builder (dbg)"
40140 * WebKit.gyp: Exclude WebFrameTest.cpp for WEBKIT_DLL.
40142 2011-04-10 Kent Tamura <tkent@chromium.org>
40144 Unreviewed, rolling out r83353.
40145 http://trac.webkit.org/changeset/83353
40146 https://bugs.webkit.org/show_bug.cgi?id=58106
40148 The new test doesn't pass on all Chromium platforms.
40151 * src/PlatformBridge.cpp:
40153 2011-04-09 Sreeram Ramachandran <sreeram@google.com>
40155 Reviewed by Ryosuke Niwa.
40157 Gather data on modal dialogs shown during unload events
40158 https://bugs.webkit.org/show_bug.cgi?id=58115
40160 Implementation of the new API to receive notifications of modal dialogs
40161 dispatched during unload events. Count the notifications through a histogram.
40163 No tests because it's not clear how to test chromium histograms from webkit.
40165 * src/ChromeClientImpl.cpp:
40166 (WebKit::ChromeClientImpl::willRunModalDialogDuringPageDismissal):
40167 * src/ChromeClientImpl.h:
40169 2011-04-08 Aaron Boodman <aa@chromium.org>
40171 Reviewed by Dmitry Titov.
40173 Re-land http://trac.webkit.org/changeset/83007. This works
40174 without changes after https://bugs.webkit.org/show_bug.cgi?id=58110.
40176 https://bugs.webkit.org/show_bug.cgi?id=58096
40180 * public/WebFrame.h:
40181 * src/WebFrameImpl.cpp:
40182 (WebKit::WebFrame::frameForContext):
40183 * tests/WebFrameTest.cpp:
40184 (WebKit::WebFrameTest::WebFrameTest):
40185 (WebKit::WebFrameTest::registerMockedURLLoad):
40186 (WebKit::WebFrameTest::loadFrame):
40189 2011-04-08 Daniel Cheng <dcheng@chromium.org>
40191 Reviewed by Dmitry Titov.
40193 [chromium] Implement image/png support in DataTransferItems
40194 https://bugs.webkit.org/show_bug.cgi?id=58106
40196 Add glue for reading image data from clipboard.
40199 * src/PlatformBridge.cpp:
40200 (WebCore::PlatformBridge::clipboardReadImage):
40202 2011-04-08 Alpha Lam <hclam@chromium.org>
40204 Unreviewed, rolling out r83335.
40205 http://trac.webkit.org/changeset/83335
40206 https://bugs.webkit.org/show_bug.cgi?id=53556
40208 GTK and QT bots are broken
40212 2011-04-07 Anna Cavender <annacc@chromium.org>
40214 Reviewed by Eric Carlson.
40216 Setup ENABLE(TRACK) feature define
40217 https://bugs.webkit.org/show_bug.cgi?id=53556
40221 2011-04-08 Dmitry Titov <dimich@chromium.org>
40223 Reviewed by Adam Barth.
40225 [Chromium] Remove unneeded usage of V8::Lockers in IDB tests.
40226 https://bugs.webkit.org/show_bug.cgi?id=58110
40227 Since they are simple one-thread tests.
40228 This code parallels the code in Chromium's idb bindings that uses v8 Lockers in utility process,
40229 which is equally not needed since there is only one thread running v8 in that process.
40231 * tests/IDBBindingUtilitiesTest.cpp:
40233 2011-04-07 Pavel Podivilov <podivilov@chromium.org>
40235 Reviewed by Pavel Feldman.
40237 Web Inspector: add test for script formatter worker.
40238 https://bugs.webkit.org/show_bug.cgi?id=57447
40242 2011-04-08 Kent Tamura <tkent@chromium.org>
40244 [Chromium] The second attempt of fixing for Windows (dbg)(shared) build.
40246 * WebKit.gyp: webkit should not depend on webkit_support.
40248 2011-04-08 Kent Tamura <tkent@chromium.org>
40250 [Chromium] Build fix for Windows (dbg)(shared).
40252 * WebKit.gyp: Add webkit_support dependency, which is required for webkit_unittest_files.
40254 2011-04-07 Kinuko Yasuda <kinuko@chromium.org>
40256 Reviewed by Darin Fisher.
40258 [Chromium] Add WebKit API to query and request unified offline-storage quota
40259 https://bugs.webkit.org/show_bug.cgi?id=57849
40260 Just adding the API, this does not do anything yet.
40262 The API is based on the public discussion for unified quota API:
40263 http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0346.html
40264 (The detail is not yet fully specified and might be subject to change.)
40266 * public/WebFrameClient.h:
40267 (WebKit::WebFrameClient::queryStorageUsageAndQuota): Added.
40268 (WebKit::WebFrameClient::requestStorageQuota): Added.
40269 * public/WebStorageQuotaCallbacks.h: Added.
40270 (WebKit::WebStorageQuotaCallbacks::~WebStorageQuotaCallbacks):
40271 * public/WebStorageQuotaType.h: Added.
40273 2011-04-07 Dominic Cooney <dominicc@google.com>
40275 Reviewed by Dimitri Glazkov.
40277 Let shadow DOM have a list of nodes at the top level of a shadow.
40278 https://bugs.webkit.org/show_bug.cgi?id=57813
40280 * src/WebElement.cpp:
40281 (WebKit::WebElement::shadowRoot): shadow roots are ContainerNodes now
40283 2011-04-07 Magnus Danielsson <public@fuzzac.com>
40285 Reviewed by Darin Fisher.
40287 [chromium] WebPageSerializerImpl doesn't serialize sub-frames correctly
40288 https://bugs.webkit.org/show_bug.cgi?id=53897
40290 When serializing a web page using 'save page as', sub-frames and resources gets
40291 saved in a sub-directory. However, frame elements didn't get updated to reference
40292 these saved sub-frames, but were still referencing the original url. So when opening
40293 a saved web page, any sub-frames would get pulled in from the original url rather than
40296 In addition to this, sub-frames in the sub-directory erroneously had the name of the
40297 sub-directory prepended to the path of resources located in the same sub-directory.
40299 * src/WebPageSerializerImpl.cpp:
40300 (WebKit::WebPageSerializerImpl::openTagToStrne: Fixed resource paths in sub-frames.
40301 Also made sure sub-frames are referenced correctly from parent frame.
40302 (WebKit::WebPageSerializerImpl::endTagToString): Removed constness from argument.
40303 (WebKit::WebPageSerializerImpl::buildContentForNode): Ditto.
40304 * src/WebPageSerializerImpl.h:
40306 2011-04-07 Nat Duca <nduca@chromium.org>
40308 Reviewed by David Levin.
40310 [chromium] Compositor thread infrastructure
40311 https://bugs.webkit.org/show_bug.cgi?id=56131
40313 Tests for chrome compositor thread and related infrastructure.
40317 * tests/CCThreadTaskTest.cpp: Added.
40319 * tests/CCThreadTest.cpp: Added.
40321 (WebCore::PingPongUsingCondition::ping):
40322 (WebCore::PingPongTestUsingTasks::ping):
40323 (WebCore::PingPongTestUsingTasks::pong):
40324 * tests/RunAllTests.cpp:
40327 2011-04-07 Andrew Scherkus <scherkus@chromium.org>
40329 Revert ENABLE_TRACK patch due to compile failures.
40333 2011-04-07 Pavel Feldman <pfeldman@google.com>
40335 Not reviewed: rolling chromium DEPS 80421:80767.
40339 2011-04-07 Vsevolod Vlasov <vsevik@chromium.org>
40341 Reviewed by Pavel Feldman.
40343 Web Inspector: [Chromium] Rename didReceiveData2 to didReceiveData as part of enabling transfer size support.
40344 https://bugs.webkit.org/show_bug.cgi?id=58036
40346 Renamed didReceiveData2 to didReceiveData.
40348 * public/WebURLLoaderClient.h:
40349 (WebKit::WebURLLoaderClient::didReceiveData):
40350 * src/AssociatedURLLoader.cpp:
40351 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
40352 * src/ResourceHandle.cpp:
40353 (WebCore::ResourceHandleInternal::didReceiveData):
40355 2011-04-07 Vsevolod Vlasov <vsevik@chromium.org>
40357 Reviewed by Pavel Feldman.
40359 Web Inspector: [Chromium] Migrate didReceiveData in upstream for plugins as part of enabling transfer size support.
40360 https://bugs.webkit.org/show_bug.cgi?id=58034
40362 Migrated didReceiveData to support new lengthReceived parameter.
40364 * src/AssociatedURLLoader.cpp:
40365 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
40367 2011-04-06 Asanka Herath <asanka@chromium.org>
40369 Reviewed by Darin Fisher.
40371 Add new TargetType: TargetIsFavicon
40373 https://bugs.webkit.org/show_bug.cgi?id=57659
40375 * public/WebURLRequest.h:
40377 2011-04-06 Alok Priyadarshi <alokp@chromium.org>
40379 Reviewed by Eric Seidel.
40381 [chromium] Add settings API to enable accelerated drawing
40382 https://bugs.webkit.org/show_bug.cgi?id=57863
40384 If accelerated drawing is enabled we try to render content and
40385 root layers using GPU. Please note that this setting is ignored if
40386 accelerated compositing is disabled.
40388 * public/WebSettings.h:
40389 * src/WebSettingsImpl.cpp:
40390 (WebKit::WebSettingsImpl::setAcceleratedDrawingEnabled):
40391 * src/WebSettingsImpl.h:
40393 2011-04-05 Zelidrag Hornung <zelidrag@chromium.org>
40395 Reviewed by David Levin.
40397 Added MediaTypeFile enum value to WebContextMenuData::MediaType.
40398 https://bugs.webkit.org/show_bug.cgi?id=57566
40400 * public/WebContextMenuData.h:
40402 2011-04-05 Sheriff Bot <webkit.review.bot@gmail.com>
40404 Unreviewed, rolling out r83007.
40405 http://trac.webkit.org/changeset/83007
40406 https://bugs.webkit.org/show_bug.cgi?id=57920
40408 Broke WebFrameTest.FrameForEnteredContext on Chromium-win and
40409 Chromium-mac (Requested by tkent on #webkit).
40413 * public/WebFrame.h:
40414 * src/WebFrameImpl.cpp:
40415 * tests/WebFrameTest.cpp:
40416 (WebKit::WebFrameTest::WebFrameTest):
40417 (WebKit::WebFrameTest::registerMockedURLLoad):
40418 (WebKit::WebFrameTest::serveRequests):
40421 2011-04-05 James Kozianski <koz@chromium.org>
40423 Unreviewed, rolling out r82976.
40424 http://trac.webkit.org/changeset/82976
40425 https://bugs.webkit.org/show_bug.cgi?id=57566
40427 Breaks chromium canary build
40429 * public/WebContextMenuData.h:
40431 2011-04-05 Aaron Boodman <aa@chromium.org>
40433 Reviewed by Adam Barth.
40435 Add ability to get frame from v8 context to chromium WebKit API
40436 https://bugs.webkit.org/show_bug.cgi?id=57516
40438 * public/WebFrame.h:
40439 * src/WebFrameImpl.cpp:
40440 (WebKit::WebFrame::frameForV8Context):
40442 2011-04-05 Nico Weber <thakis@chromium.org>
40444 Reviewed by Dimitri Glazkov.
40446 [chromium] Don't have 'using namespace' declarations in header files
40447 https://bugs.webkit.org/show_bug.cgi?id=57882
40449 * src/EventListenerWrapper.cpp:
40450 * src/EventListenerWrapper.h:
40451 * src/VideoFrameChromiumImpl.h:
40452 * src/WebDOMEventListener.cpp:
40453 * src/WebDOMEventListenerPrivate.cpp:
40454 * src/WebDOMEventListenerPrivate.h:
40455 (WebKit::WebDOMEventListenerPrivate::ListenerInfo::ListenerInfo):
40457 2011-04-05 Zelidrag Hornung <zelidrag@chromium.org>
40459 Reviewed by David Levin.
40461 Added MediaTypeFile enum value to WebContextMenuData::MediaType.
40462 https://bugs.webkit.org/show_bug.cgi?id=57566
40464 * public/WebContextMenuData.h:
40466 2011-04-04 MORITA Hajime <morrita@google.com>
40468 Reviewed by Ryosuke Niwa.
40470 [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
40471 https://bugs.webkit.org/show_bug.cgi?id=56085
40473 Followed the signature change.
40475 * src/EditorClientImpl.h:
40476 * src/EditorClientImpl.cpp:
40477 * src/WebTextCheckingCompletionImpl.cpp
40479 2011-04-05 Hans Wennborg <hans@chromium.org>
40481 Reviewed by Adam Barth
40483 Clean up IndexedDB WebKit API
40484 https://bugs.webkit.org/show_bug.cgi?id=57507
40486 Rename the backend proxy files that didn't have Backend in their name.
40487 Everything in WebKit should be in the WebKit namespace.
40488 Put everything behind the feature flag so we're consistient.
40489 Put the feature flag #if above includes.
40492 * src/IDBCallbacksProxy.cpp:
40493 (WebKit::IDBCallbacksProxy::create):
40494 (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
40495 (WebKit::IDBCallbacksProxy::onError):
40496 (WebKit::IDBCallbacksProxy::onSuccess):
40497 * src/IDBCallbacksProxy.h:
40498 * src/IDBCursorBackendProxy.cpp:
40499 (WebKit::IDBCursorBackendProxy::create):
40500 (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
40501 * src/IDBCursorBackendProxy.h:
40502 * src/IDBDatabaseBackendProxy.cpp:
40503 (WebKit::IDBDatabaseBackendProxy::create):
40504 (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
40505 (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
40506 (WebKit::IDBDatabaseBackendProxy::name):
40507 (WebKit::IDBDatabaseBackendProxy::version):
40508 (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
40509 (WebKit::IDBDatabaseBackendProxy::createObjectStore):
40510 (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
40511 (WebKit::IDBDatabaseBackendProxy::setVersion):
40512 (WebKit::IDBDatabaseBackendProxy::transaction):
40513 (WebKit::IDBDatabaseBackendProxy::close):
40514 (WebKit::IDBDatabaseBackendProxy::open):
40515 * src/IDBDatabaseCallbacksProxy.cpp:
40516 (WebKit::IDBDatabaseCallbacksProxy::create):
40517 (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
40518 * src/IDBDatabaseCallbacksProxy.h:
40519 * src/IDBFactoryBackendProxy.cpp:
40520 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
40521 (WebKit::IDBFactoryBackendProxy::open):
40522 * src/IDBFactoryBackendProxy.h:
40523 * src/IDBIndexBackendProxy.cpp:
40524 (WebKit::IDBIndexBackendProxy::create):
40525 (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
40526 * src/IDBIndexBackendProxy.h:
40527 * src/IDBObjectStoreBackendProxy.cpp:
40528 (WebKit::IDBObjectStoreBackendProxy::create):
40529 (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
40530 (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
40531 (WebKit::IDBObjectStoreBackendProxy::name):
40532 (WebKit::IDBObjectStoreBackendProxy::keyPath):
40533 (WebKit::IDBObjectStoreBackendProxy::indexNames):
40534 (WebKit::IDBObjectStoreBackendProxy::get):
40535 (WebKit::IDBObjectStoreBackendProxy::put):
40536 (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
40537 (WebKit::IDBObjectStoreBackendProxy::clear):
40538 (WebKit::IDBObjectStoreBackendProxy::createIndex):
40539 (WebKit::IDBObjectStoreBackendProxy::index):
40540 (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
40541 (WebKit::IDBObjectStoreBackendProxy::openCursor):
40542 * src/IDBObjectStoreBackendProxy.h: Added.
40543 * src/IDBObjectStoreProxy.h: Removed.
40544 * src/IDBTransactionBackendProxy.cpp:
40545 (WebKit::IDBTransactionBackendProxy::create):
40546 (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
40547 (WebKit::IDBTransactionBackendProxy::objectStore):
40548 * src/IDBTransactionBackendProxy.h:
40549 (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
40550 * src/IDBTransactionCallbacksProxy.cpp:
40551 (WebKit::IDBTransactionCallbacksProxy::create):
40552 (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
40553 * src/IDBTransactionCallbacksProxy.h:
40554 * src/WebIDBCallbacksImpl.cpp:
40555 (WebKit::WebIDBCallbacksImpl::onError):
40556 (WebKit::WebIDBCallbacksImpl::onSuccess):
40557 * src/WebIDBCallbacksImpl.h:
40558 * src/WebIDBCursorImpl.cpp:
40559 * src/WebIDBCursorImpl.h:
40560 * src/WebIDBDatabaseCallbacksImpl.cpp:
40561 (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
40562 * src/WebIDBDatabaseCallbacksImpl.h:
40563 * src/WebIDBDatabaseError.cpp:
40564 * src/WebIDBDatabaseImpl.cpp:
40565 * src/WebIDBDatabaseImpl.h:
40566 * src/WebIDBFactoryImpl.cpp:
40567 (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
40568 * src/WebIDBFactoryImpl.h:
40569 * src/WebIDBIndexImpl.cpp:
40570 * src/WebIDBIndexImpl.h:
40571 * src/WebIDBKey.cpp:
40572 (WebKit::WebIDBKey::createFromValueAndKeyPath):
40573 (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
40574 * src/WebIDBKeyPath.cpp:
40575 (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
40576 * src/WebIDBKeyRange.cpp:
40577 * src/WebIDBObjectStoreImpl.cpp:
40578 * src/WebIDBObjectStoreImpl.h:
40579 * src/WebIDBTransactionCallbacksImpl.cpp:
40580 * src/WebIDBTransactionCallbacksImpl.h:
40581 * src/WebIDBTransactionImpl.cpp:
40582 * src/WebIDBTransactionImpl.h:
40584 2011-04-05 Sailesh Agrawal <sail@chromium.org>
40586 Reviewed by Darin Fisher.
40588 Don't clear existing files if the user cancels the file chooser dialog.
40589 https://bugs.webkit.org/show_bug.cgi?id=55200
40591 * src/WebFileChooserCompletionImpl.cpp:
40592 (WebKit::WebFileChooserCompletionImpl::didChooseFile):
40594 2011-04-05 John Mellor <johnme@chromium.org>
40596 Reviewed by Darin Fisher.
40598 [chromium] Minor cleanup: simplify WebFrameImpl by using contentsToWindow instead of convertToContainingWindow.
40599 https://bugs.webkit.org/show_bug.cgi?id=55681
40601 * src/WebFrameImpl.cpp:
40602 (WebKit::WebFrameImpl::find):
40603 (WebKit::WebFrameImpl::scopeStringMatches):
40605 2011-04-05 Adam Barth <abarth@webkit.org>
40607 Roll Chromium DEPS.
40611 2011-04-04 Chang Shu <cshu@webkit.org>
40613 Reviewed by Ryosuke Niwa.
40615 setContentEditable with true/false/inherit string is not working properly
40616 https://bugs.webkit.org/show_bug.cgi?id=52058
40618 Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
40619 as rendererIsEditable is for WebCore internal use.
40622 (WebKit::WebNode::isContentEditable):
40623 * src/WebViewImpl.cpp:
40624 (WebKit::WebViewImpl::setFocus):
40625 (WebKit::WebViewImpl::setComposition):
40626 (WebKit::WebViewImpl::confirmComposition):
40628 2011-04-04 Alexey Proskuryakov <ap@apple.com>
40630 Reviewed by Dan Bernstein.
40632 REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
40633 https://bugs.webkit.org/show_bug.cgi?id=51230
40634 <rdar://problem/8780989>
40636 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::keyEvent): Moved Caps Lock handling from
40637 WebKits to WebCore, because WebKit shouldn't be smart.
40639 2011-04-01 Adam Barth <abarth@webkit.org>
40641 Attempt to fix the Chromium build using the great and powerful git.
40642 This patch should be the remaining part of reverting Jeremy's ill-fated
40645 * src/IDBDatabaseProxy.cpp:
40646 (WebCore::IDBDatabaseProxy::create):
40647 (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
40648 (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
40649 (WebCore::IDBDatabaseProxy::name):
40650 (WebCore::IDBDatabaseProxy::version):
40651 (WebCore::IDBDatabaseProxy::objectStoreNames):
40652 (WebCore::IDBDatabaseProxy::createObjectStore):
40653 (WebCore::IDBDatabaseProxy::deleteObjectStore):
40654 (WebCore::IDBDatabaseProxy::setVersion):
40655 (WebCore::IDBDatabaseProxy::transaction):
40656 (WebCore::IDBDatabaseProxy::close):
40657 (WebCore::IDBDatabaseProxy::open):
40658 * src/IDBDatabaseProxy.h:
40659 * src/IDBObjectStoreProxy.cpp:
40660 (WebCore::IDBObjectStoreProxy::create):
40661 (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
40662 (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
40663 (WebCore::IDBObjectStoreProxy::name):
40664 (WebCore::IDBObjectStoreProxy::keyPath):
40665 (WebCore::IDBObjectStoreProxy::indexNames):
40666 (WebCore::IDBObjectStoreProxy::get):
40667 (WebCore::IDBObjectStoreProxy::put):
40668 (WebCore::IDBObjectStoreProxy::deleteFunction):
40669 (WebCore::IDBObjectStoreProxy::clear):
40670 (WebCore::IDBObjectStoreProxy::createIndex):
40671 (WebCore::IDBObjectStoreProxy::index):
40672 (WebCore::IDBObjectStoreProxy::deleteIndex):
40673 (WebCore::IDBObjectStoreProxy::openCursor):
40675 2011-04-01 Adam Barth <abarth@webkit.org>
40677 Move these files back to their old locations. I'm not sure why the
40678 rollout didn't move them properly.
40680 * src/IDBDatabaseBackendProxy.cpp: Removed.
40681 * src/IDBDatabaseBackendProxy.h: Removed.
40682 * src/IDBDatabaseProxy.cpp: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
40683 * src/IDBDatabaseProxy.h: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
40684 * src/IDBObjectStoreBackendProxy.cpp: Removed.
40685 * src/IDBObjectStoreProxy.cpp: Copied from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
40687 2011-04-01 Sheriff Bot <webkit.review.bot@gmail.com>
40689 Unreviewed, rolling out r82738.
40690 http://trac.webkit.org/changeset/82738
40691 https://bugs.webkit.org/show_bug.cgi?id=57684
40693 Broke storage/indexeddb/objectstore-autoincrement.html and
40694 InjectIDBKey (Requested by abarth|gardening on #webkit).
40697 * src/IDBCallbacksProxy.cpp:
40698 (WebCore::IDBCallbacksProxy::create):
40699 (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
40700 (WebCore::IDBCallbacksProxy::onError):
40701 (WebCore::IDBCallbacksProxy::onSuccess):
40702 * src/IDBCallbacksProxy.h:
40703 * src/IDBCursorBackendProxy.cpp:
40704 (WebCore::IDBCursorBackendProxy::create):
40705 (WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy):
40706 * src/IDBCursorBackendProxy.h:
40707 * src/IDBDatabaseCallbacksProxy.cpp:
40708 (WebCore::IDBDatabaseCallbacksProxy::create):
40709 (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
40710 * src/IDBDatabaseCallbacksProxy.h:
40711 * src/IDBDatabaseProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
40712 (WebCore::IDBDatabaseProxy::create):
40713 (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
40714 (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
40715 (WebCore::IDBDatabaseProxy::name):
40716 (WebCore::IDBDatabaseProxy::version):
40717 (WebCore::IDBDatabaseProxy::objectStoreNames):
40718 (WebCore::IDBDatabaseProxy::createObjectStore):
40719 (WebCore::IDBDatabaseProxy::deleteObjectStore):
40720 (WebCore::IDBDatabaseProxy::setVersion):
40721 (WebCore::IDBDatabaseProxy::transaction):
40722 (WebCore::IDBDatabaseProxy::close):
40723 (WebCore::IDBDatabaseProxy::open):
40724 * src/IDBDatabaseProxy.h: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
40725 * src/IDBFactoryBackendProxy.cpp:
40726 (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
40727 (WebCore::IDBFactoryBackendProxy::open):
40728 * src/IDBFactoryBackendProxy.h:
40729 * src/IDBIndexBackendProxy.cpp:
40730 (WebCore::IDBIndexBackendProxy::create):
40731 (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
40732 * src/IDBIndexBackendProxy.h:
40733 * src/IDBObjectStoreBackendProxy.h: Removed.
40734 * src/IDBObjectStoreProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
40735 (WebCore::IDBObjectStoreProxy::create):
40736 (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
40737 (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
40738 (WebCore::IDBObjectStoreProxy::name):
40739 (WebCore::IDBObjectStoreProxy::keyPath):
40740 (WebCore::IDBObjectStoreProxy::indexNames):
40741 (WebCore::IDBObjectStoreProxy::get):
40742 (WebCore::IDBObjectStoreProxy::put):
40743 (WebCore::IDBObjectStoreProxy::deleteFunction):
40744 (WebCore::IDBObjectStoreProxy::clear):
40745 (WebCore::IDBObjectStoreProxy::createIndex):
40746 (WebCore::IDBObjectStoreProxy::index):
40747 (WebCore::IDBObjectStoreProxy::deleteIndex):
40748 (WebCore::IDBObjectStoreProxy::openCursor):
40749 * src/IDBObjectStoreProxy.h: Added.
40750 * src/IDBTransactionBackendProxy.cpp:
40751 (WebCore::IDBTransactionBackendProxy::create):
40752 (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
40753 (WebCore::IDBTransactionBackendProxy::objectStore):
40754 * src/IDBTransactionBackendProxy.h:
40755 (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction):
40756 * src/IDBTransactionCallbacksProxy.cpp:
40757 (WebCore::IDBTransactionCallbacksProxy::create):
40758 (WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
40759 * src/IDBTransactionCallbacksProxy.h:
40760 * src/WebIDBCallbacksImpl.cpp:
40761 (WebCore::WebIDBCallbacksImpl::onError):
40762 (WebCore::WebIDBCallbacksImpl::onSuccess):
40763 * src/WebIDBCallbacksImpl.h:
40764 * src/WebIDBCursorImpl.cpp:
40765 * src/WebIDBCursorImpl.h:
40766 * src/WebIDBDatabaseCallbacksImpl.cpp:
40767 (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
40768 * src/WebIDBDatabaseCallbacksImpl.h:
40769 * src/WebIDBDatabaseError.cpp:
40770 * src/WebIDBDatabaseImpl.cpp:
40771 * src/WebIDBDatabaseImpl.h:
40772 * src/WebIDBFactoryImpl.cpp:
40773 (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
40774 * src/WebIDBFactoryImpl.h:
40775 * src/WebIDBIndexImpl.cpp:
40776 * src/WebIDBIndexImpl.h:
40777 * src/WebIDBKey.cpp:
40778 (WebKit::WebIDBKey::createFromValueAndKeyPath):
40779 (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
40780 * src/WebIDBKeyPath.cpp:
40781 (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):
40782 * src/WebIDBKeyRange.cpp:
40783 * src/WebIDBObjectStoreImpl.cpp:
40784 * src/WebIDBObjectStoreImpl.h:
40785 * src/WebIDBTransactionCallbacksImpl.cpp:
40786 * src/WebIDBTransactionCallbacksImpl.h:
40787 * src/WebIDBTransactionImpl.cpp:
40788 * src/WebIDBTransactionImpl.h:
40790 2011-03-30 Jeremy Orlow <jorlow@chromium.org>
40792 Reviewed by Nate Chapin.
40794 Clean up IndexedDB WebKit API
40795 https://bugs.webkit.org/show_bug.cgi?id=57507
40797 Rename the backend proxy files that didn't have Backend in their name.
40798 Everything in WebKit should be in the WebKit namespace.
40799 Put everything behind the feature flag so we're consistient.
40800 Put the feature flag #if above includes.
40803 * src/IDBCallbacksProxy.cpp:
40804 (WebKit::IDBCallbacksProxy::create):
40805 (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
40806 (WebKit::IDBCallbacksProxy::onError):
40807 (WebKit::IDBCallbacksProxy::onSuccess):
40808 * src/IDBCallbacksProxy.h:
40809 * src/IDBCursorBackendProxy.cpp:
40810 (WebKit::IDBCursorBackendProxy::create):
40811 (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
40812 * src/IDBCursorBackendProxy.h:
40813 * src/IDBDatabaseBackendProxy.cpp:
40814 (WebKit::IDBDatabaseBackendProxy::create):
40815 (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
40816 (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
40817 (WebKit::IDBDatabaseBackendProxy::name):
40818 (WebKit::IDBDatabaseBackendProxy::version):
40819 (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
40820 (WebKit::IDBDatabaseBackendProxy::createObjectStore):
40821 (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
40822 (WebKit::IDBDatabaseBackendProxy::setVersion):
40823 (WebKit::IDBDatabaseBackendProxy::transaction):
40824 (WebKit::IDBDatabaseBackendProxy::close):
40825 (WebKit::IDBDatabaseBackendProxy::open):
40826 * src/IDBDatabaseCallbacksProxy.cpp:
40827 (WebKit::IDBDatabaseCallbacksProxy::create):
40828 (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
40829 * src/IDBDatabaseCallbacksProxy.h:
40830 * src/IDBFactoryBackendProxy.cpp:
40831 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
40832 (WebKit::IDBFactoryBackendProxy::open):
40833 * src/IDBFactoryBackendProxy.h:
40834 * src/IDBIndexBackendProxy.cpp:
40835 (WebKit::IDBIndexBackendProxy::create):
40836 (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
40837 * src/IDBIndexBackendProxy.h:
40838 * src/IDBObjectStoreBackendProxy.cpp:
40839 (WebKit::IDBObjectStoreBackendProxy::create):
40840 (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
40841 (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
40842 (WebKit::IDBObjectStoreBackendProxy::name):
40843 (WebKit::IDBObjectStoreBackendProxy::keyPath):
40844 (WebKit::IDBObjectStoreBackendProxy::indexNames):
40845 (WebKit::IDBObjectStoreBackendProxy::get):
40846 (WebKit::IDBObjectStoreBackendProxy::put):
40847 (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
40848 (WebKit::IDBObjectStoreBackendProxy::clear):
40849 (WebKit::IDBObjectStoreBackendProxy::createIndex):
40850 (WebKit::IDBObjectStoreBackendProxy::index):
40851 (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
40852 (WebKit::IDBObjectStoreBackendProxy::openCursor):
40853 * src/IDBObjectStoreBackendProxy.h: Added.
40854 * src/IDBObjectStoreProxy.h: Removed.
40855 * src/IDBTransactionBackendProxy.cpp:
40856 (WebKit::IDBTransactionBackendProxy::create):
40857 (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
40858 (WebKit::IDBTransactionBackendProxy::objectStore):
40859 * src/IDBTransactionBackendProxy.h:
40860 (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
40861 * src/IDBTransactionCallbacksProxy.cpp:
40862 (WebKit::IDBTransactionCallbacksProxy::create):
40863 (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
40864 * src/IDBTransactionCallbacksProxy.h:
40865 * src/WebIDBCallbacksImpl.cpp:
40866 (WebKit::WebIDBCallbacksImpl::onError):
40867 (WebKit::WebIDBCallbacksImpl::onSuccess):
40868 * src/WebIDBCallbacksImpl.h:
40869 * src/WebIDBCursorImpl.cpp:
40870 * src/WebIDBCursorImpl.h:
40871 * src/WebIDBDatabaseCallbacksImpl.cpp:
40872 (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
40873 * src/WebIDBDatabaseCallbacksImpl.h:
40874 * src/WebIDBDatabaseError.cpp:
40875 * src/WebIDBDatabaseImpl.cpp:
40876 * src/WebIDBDatabaseImpl.h:
40877 * src/WebIDBFactoryImpl.cpp:
40878 (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
40879 * src/WebIDBFactoryImpl.h:
40880 * src/WebIDBIndexImpl.cpp:
40881 * src/WebIDBIndexImpl.h:
40882 * src/WebIDBKey.cpp:
40883 (WebKit::WebIDBKey::createFromValueAndKeyPath):
40884 (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
40885 * src/WebIDBKeyPath.cpp:
40886 (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
40887 * src/WebIDBKeyRange.cpp:
40888 * src/WebIDBObjectStoreImpl.cpp:
40889 * src/WebIDBObjectStoreImpl.h:
40890 * src/WebIDBTransactionCallbacksImpl.cpp:
40891 * src/WebIDBTransactionCallbacksImpl.h:
40892 * src/WebIDBTransactionImpl.cpp:
40893 * src/WebIDBTransactionImpl.h:
40895 2011-03-30 Pavel Podivilov <podivilov@chromium.org>
40897 Reviewed by Pavel Feldman.
40899 Web Inspector: [chromium] script formatting doesn't work when all scripts are concatenated.
40900 https://bugs.webkit.org/show_bug.cgi?id=57446
40903 * scripts/inline_js_imports.py: Added.
40905 2011-03-31 Victoria Kirst <vrk@google.com>
40907 Reviewed by Eric Carlson.
40909 [chromium] Implement preload=none, setPreload hooks to media player
40910 https://bugs.webkit.org/show_bug.cgi?id=56983
40912 This patch implements preload=none in Chromium. It also replaces
40913 the now-deprecated setAutobuffer method with setPreload.
40915 * public/WebMediaPlayer.h:
40916 (WebKit::WebMediaPlayer::setPreload):
40917 * public/WebMediaPlayerClient.h:
40918 * src/WebMediaPlayerClientImpl.cpp:
40919 (WebKit::WebMediaPlayerClientImpl::preload):
40920 (WebKit::WebMediaPlayerClientImpl::load):
40921 (WebKit::WebMediaPlayerClientImpl::loadInternal):
40922 (WebKit::WebMediaPlayerClientImpl::prepareToPlay):
40923 (WebKit::WebMediaPlayerClientImpl::setPreload):
40924 (WebKit::WebMediaPlayerClientImpl::startDelayedLoad):
40925 (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
40926 * src/WebMediaPlayerClientImpl.h:
40928 2011-03-31 Evan Martin <evan@chromium.org>
40930 Reviewed by Eric Seidel.
40932 <title> should support dir attribute
40933 https://bugs.webkit.org/show_bug.cgi?id=50961
40935 Update to new FrameLoaderClient interface.
40937 * src/FrameLoaderClientImpl.cpp:
40938 (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
40939 (WebKit::FrameLoaderClientImpl::setTitle):
40940 * src/FrameLoaderClientImpl.h:
40941 * src/WebDataSourceImpl.cpp:
40942 (WebKit::WebDataSourceImpl::pageTitle):
40944 2011-03-30 David Levin <levin@chromium.org>
40946 Reviewed by Dmitry Titov.
40948 UnlockNonLocked condition reached in WorkerFileSystemsCallbackBridge::mayPostTaskToWorker
40949 https://bugs.webkit.org/show_bug.cgi?id=57382
40951 There were two issues to address:
40952 1. The use of a non-thread safe class (RefPtr) in a ThreadSafeRefCounted class.
40953 The problem was that this RefPtr could be changed on either thread.
40954 2. Keeping WorkerFileSystemCallbacksBridge alive for while it was being used
40955 including while its mutex was in use.
40957 * src/WorkerFileSystemCallbacksBridge.cpp:
40958 (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnMainThread):
40959 Changed to take a PassRefPtr and leak the ref count as opposed to relying on
40960 dispatchTaskToMainThread to store the pointer in m_selfRef.
40961 (WebKit::WorkerFileSystemCallbacksBridge::dispatchTaskToMainThread): Remove the
40962 m_selfRef and hand off a PassRefPtr instead.
40963 (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker): Balance out the leaked ref
40964 and ensure that WorkerFileSystemCallbacksBridge stays alive while the mutex is held.
40965 * src/WorkerFileSystemCallbacksBridge.h: Removed m_selfRef and derefIfWorkerIsStopped which
40966 was simply due to m_selfRef.
40968 2011-03-29 John Abd-El-Malek <jam@chromium.org>
40970 Reviewed by Tony Chang.
40972 [chromium]: Remove the code that called WebViewClient for spelling now that chromium is updated
40973 https://bugs.webkit.org/show_bug.cgi?id=57396
40976 * public/WebFrame.h:
40977 * public/WebView.h:
40978 * public/WebViewClient.h:
40979 (WebKit::WebViewClient::handleCurrentKeyboardEvent):
40980 * src/EditorClientImpl.cpp:
40981 (WebKit::EditorClientImpl::checkSpellingOfString):
40982 (WebKit::EditorClientImpl::requestCheckingOfString):
40983 (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
40984 (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
40985 (WebKit::EditorClientImpl::showSpellingUI):
40986 (WebKit::EditorClientImpl::spellingUIIsShowing):
40987 * src/WebViewImpl.cpp:
40988 (WebKit::WebView::create):
40989 * src/WebViewImpl.h:
40990 * src/WebWorkerBase.cpp:
40991 (WebKit::WebWorkerBase::initializeLoader):
40992 * tests/PopupMenuTest.cpp:
40993 (WebKit::SelectPopupMenuTest::SetUp):
40994 * tests/WebFrameTest.cpp:
40996 * tests/WebPageSerializerTest.cpp:
40997 (WebKit::WebPageSerializerTest::SetUp):
40999 2011-03-30 MORITA Hajime <morrita@google.com>
41001 Reviewed by Dimitri Glazkov.
41003 [Chromium] Expose the shadow DOM to DumpRenderTree JS tests.
41004 https://bugs.webkit.org/show_bug.cgi?id=56573
41007 - WebBindins::makeNode() to convert WebNode to a JS object, and
41008 - WebElement::shadowRoot().
41010 * public/WebBindings.h:
41011 * public/WebElement.h:
41012 * src/WebBindings.cpp:
41013 (WebKit::makeNodeImpl):
41014 (WebKit::WebBindings::makeNode):
41015 * src/WebElement.cpp:
41016 (WebKit::WebElement::shadowRoot):
41018 2011-03-30 Mario Sanchez Prada <msanchez@igalia.com>
41020 Reviewed by Chris Fleizach.
41022 AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
41023 https://bugs.webkit.org/show_bug.cgi?id=47636
41025 Duplicate new internal WebCore roles in the Chromium port.
41027 * public/WebAccessibilityRole.h: Update enumeration
41028 WebAccessibilityRole to reflect newly added roles in WebCore.
41029 * src/AssertMatchingEnums.cpp: Added new assertions.
41031 2011-03-30 Yury Semikhatsky <yurys@chromium.org>
41033 Reviewed by Pavel Feldman.
41035 Web Inspector: split debugger agent into Page and Worker-specific ones
41036 https://bugs.webkit.org/show_bug.cgi?id=57345
41038 ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
41039 for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
41040 and Page/WorkerDebuggerAgent.
41042 * src/DebuggerAgentManager.cpp:
41043 (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
41044 * src/WebDevToolsAgentImpl.cpp:
41045 (WebKit::WebDevToolsAgent::interruptAndDispatch):
41046 (WebKit::WebDevToolsAgent::processPendingMessages):
41048 2011-03-30 Yury Semikhatsky <yurys@chromium.org>
41050 Unreviewed. Rollout r82438 and r82436.
41052 * src/DebuggerAgentManager.cpp:
41053 (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
41054 * src/WebDevToolsAgentImpl.cpp:
41055 (WebKit::WebDevToolsAgent::interruptAndDispatch):
41056 (WebKit::WebDevToolsAgent::processPendingMessages):
41058 2011-03-30 Yury Semikhatsky <yurys@chromium.org>
41060 Reviewed by Pavel Feldman.
41062 Web Inspector: split debugger agent into Page and Worker-specific ones
41063 https://bugs.webkit.org/show_bug.cgi?id=57345
41065 ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
41066 for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
41067 and Page/WorkerDebuggerAgent.
41069 * src/DebuggerAgentManager.cpp:
41070 (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
41071 * src/WebDevToolsAgentImpl.cpp:
41072 (WebKit::WebDevToolsAgent::interruptAndDispatch):
41073 (WebKit::WebDevToolsAgent::processPendingMessages):
41075 2011-03-29 Sheriff Bot <webkit.review.bot@gmail.com>
41077 Unreviewed, rolling out r82293.
41078 http://trac.webkit.org/changeset/82293
41079 https://bugs.webkit.org/show_bug.cgi?id=57390
41081 Breaks RetrieveCSSResources (Requested by abarth|gardener on
41085 * src/WebPageSerializer.cpp:
41086 (WebCore::getSubResourceURLFromElement):
41087 (WebCore::retrieveResourcesForElement):
41088 (WebCore::retrieveResourcesForFrame):
41089 (WebKit::WebPageSerializer::retrieveAllResources):
41090 * tests/WebPageSerializerTest.cpp:
41091 * tests/data/pageserialization/css_test_page.html: Removed.
41092 * tests/data/pageserialization/import_style_from_link.css: Removed.
41093 * tests/data/pageserialization/import_styles.css: Removed.
41094 * tests/data/pageserialization/link_styles.css: Removed.
41096 2011-03-29 Tony Chang <tony@chromium.org>
41098 Roll chromium version to r79710 to pick up libpng changes.
41102 2011-03-29 Sheriff Bot <webkit.review.bot@gmail.com>
41104 Unreviewed, rolling out r82295 and r82300.
41105 http://trac.webkit.org/changeset/82295
41106 http://trac.webkit.org/changeset/82300
41107 https://bugs.webkit.org/show_bug.cgi?id=57380
41109 This patch breaks compile on Chromium (Requested by
41110 abarth|gardener on #webkit).
41112 * public/WebAccessibilityRole.h:
41113 * src/AssertMatchingEnums.cpp:
41115 2011-03-29 Mario Sanchez Prada <msanchez@igalia.com>
41117 Reviewed by Adam Barth.
41119 REGRESSION(r82295): This patch does not compile on Chromium (Requested by abarth|gardener on #webkit).
41120 https://bugs.webkit.org/show_bug.cgi?id=57377
41122 Fix build errors on Chromium bots.
41124 * public/WebAccessibilityRole.h: Update to reflect newly added roles in WebCore.
41125 * src/AssertMatchingEnums.cpp: Ditto.
41127 2011-03-29 Adam Barth <abarth@webkit.org>
41130 https://bugs.webkit.org/show_bug.cgi?id=57361
41134 2011-03-29 Jay Civelli <jcivelli@chromium.org>
41136 Reviewed by David Levin.
41138 Adding retrieval off CSS resources to WebPageSerializer::retrieveAllResources.
41139 https://bugs.webkit.org/show_bug.cgi?id=56650
41142 * src/WebPageSerializer.cpp:
41143 (WebCore::getResourceAttributeForElement):
41144 (WebCore::retrieveStyleSheetForElement):
41145 (WebCore::retrieveResourcesForElement):
41146 (WebCore::retrieveResourcesForFrame):
41147 (WebCore::retrieveResourcesForCSSRule):
41148 (WebCore::retrieveResourcesForCSSStyleDeclaration):
41149 (WebCore::retrieveResourcesForCSSStyleSheet):
41150 (WebKit::WebPageSerializer::retrieveAllResources):
41151 * tests/WebPageSerializerTest.cpp:
41152 (WebKit::TestWebFrameClient::TestWebFrameClient):
41153 (WebKit::TestWebFrameClient::allowScript):
41154 (WebKit::WebPageSerializerTest::enableJS):
41155 (WebKit::WebPageSerializerTest::runOnLoad):
41157 * tests/data/pageserialization/css_test_page.html: Added.
41158 * tests/data/pageserialization/import_style_from_link.css: Added.
41160 * tests/data/pageserialization/import_styles.css: Added.
41162 * tests/data/pageserialization/link_styles.css: Added.
41165 2011-03-29 Vsevolod Vlasov <vsevik@chromium.org>
41167 Reviewed by Pavel Feldman.
41169 [Chromium] Inspector does not always shows transferred size correctly (e.g. gzipped/chunked content)
41170 https://bugs.webkit.org/show_bug.cgi?id=56602
41172 Added new methods to interface while keeping the old ones to keep
41173 chromium working until it is also patched.
41175 * public/WebURLLoaderClient.h:
41176 (WebKit::WebURLLoaderClient::didReceiveData2):
41177 * src/AssociatedURLLoader.cpp:
41178 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
41179 * src/ResourceHandle.cpp:
41180 (WebCore::ResourceHandleInternal::didReceiveData):
41181 (WebCore::ResourceHandleInternal::didReceiveData2):
41183 2011-03-29 Vsevolod Vlasov <vsevik@chromium.org>
41185 Reviewed by Pavel Feldman.
41187 Web Inspector: [Chromium] DevTools shows two resources for each plugin resource loaded
41188 https://bugs.webkit.org/show_bug.cgi?id=57101
41190 Remove DevToolsAgent network callbacks as this information is now available through ResourceLoader
41192 * public/WebDevToolsAgent.h:
41193 * src/WebDevToolsAgentImpl.cpp:
41194 * src/WebDevToolsAgentImpl.h:
41196 2011-03-29 Emil A Eklund <eae@chromium.org>
41198 Reviewed by Dimitri Glazkov.
41200 Relative mouse coordinates recalculated for each target
41201 https://bugs.webkit.org/show_bug.cgi?id=57130
41203 * public/WebDOMMouseEvent.h:
41204 * src/WebDOMMouseEvent.cpp:
41205 (WebKit::WebDOMMouseEvent::layerX):
41206 (WebKit::WebDOMMouseEvent::layerY):
41207 (WebKit::WebDOMMouseEvent::offsetX):
41208 (WebKit::WebDOMMouseEvent::offsetY):
41210 2011-03-29 Yuta Kitamura <yutak@chromium.org>
41212 Unreviewed, rolling out r82195.
41213 http://trac.webkit.org/changeset/82195
41214 https://bugs.webkit.org/show_bug.cgi?id=56602
41216 Broke Chromium Clang builds.
41218 * public/WebDevToolsAgent.h:
41219 * public/WebURLLoaderClient.h:
41220 * src/AssociatedURLLoader.cpp:
41221 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
41222 * src/ResourceHandle.cpp:
41223 (WebCore::ResourceHandleInternal::didReceiveData):
41224 * src/WebDevToolsAgentImpl.cpp:
41225 (WebKit::WebDevToolsAgentImpl::didReceiveData):
41226 * src/WebDevToolsAgentImpl.h:
41228 2011-03-29 Yuta Kitamura <yutak@chromium.org>
41230 Unreviewed. Another build fix. The last fix was incorrect.
41232 * src/ChromeClientImpl.cpp:
41233 (WebKit::ChromeClientImpl::supportsFullscreenForNode):
41234 (WebKit::ChromeClientImpl::supportsFullScreenForElement):
41235 * src/ChromeClientImpl.h:
41237 2011-03-29 Yuta Kitamura <yutak@chromium.org>
41239 Unreviewed. Build fix for Chromium Clang bot.
41241 * src/ChromeClientImpl.cpp:
41242 (WebKit::ChromeClientImpl::supportsFullscreenForNode):
41243 * src/ChromeClientImpl.h:
41245 2011-03-28 Vsevolod Vlasov <vsevik@chromium.org>
41247 Reviewed by Pavel Feldman.
41249 [Chromium] Inspector does not always shows transferred size correctly (e.g. gzipped/chunked content)
41250 https://bugs.webkit.org/show_bug.cgi?id=56602
41252 Added new methods to interface while keeping the old ones to keep
41253 chromium working until it is also patched.
41255 * public/WebDevToolsAgent.h:
41256 * public/WebURLLoaderClient.h:
41257 (WebKit::WebURLLoaderClient::didReceiveData):
41258 * src/AssociatedURLLoader.cpp:
41259 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
41260 * src/ResourceHandle.cpp:
41261 (WebCore::ResourceHandleInternal::didReceiveData):
41262 * src/WebDevToolsAgentImpl.cpp:
41263 (WebKit::WebDevToolsAgentImpl::didReceiveData):
41264 * src/WebDevToolsAgentImpl.h:
41266 2011-03-28 Tony Chang <tony@chromium.org>
41268 Reviewed by Adam Barth.
41270 [chromium] have DRT write the png checksum into a png comment
41271 https://bugs.webkit.org/show_bug.cgi?id=57255
41273 * DEPS: Pull in version of chromium with comment writing
41275 2011-03-28 Adele Peterson <adele@apple.com>
41279 * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor):
41280 Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
41282 2011-03-28 Pavel Feldman <pfeldman@chromium.org>
41284 Not reviewed: fixed chromium build.
41286 * src/WebDevToolsAgentImpl.cpp:
41287 (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
41289 2011-03-25 Andy Estes <aestes@apple.com>
41291 Reviewed by Adele Peterson.
41293 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
41294 https://bugs.webkit.org/show_bug.cgi?id=49016
41296 Update objectContentType() implementation to handle the
41297 shouldPreferPlugInsForImages flag.
41299 * src/FrameLoaderClientImpl.cpp:
41300 (WebKit::FrameLoaderClientImpl::objectContentType):
41301 * src/FrameLoaderClientImpl.h:
41303 2011-03-25 Kinuko Yasuda <kinuko@chromium.org>
41305 Reviewed by David Levin.
41307 Data race between ~WorkerFileSystemCallbacksBridge and runTasksOnWorkerThread
41308 https://bugs.webkit.org/show_bug.cgi?id=56138
41309 Stopped passing the WorkerFileSystemCallbacksBridge's reference to
41310 MainThreadFileSystemCallbacks so that in most cases (in normal cases)
41311 its reference is only maintained by WorkerThread.
41313 * src/WorkerFileSystemCallbacksBridge.cpp:
41314 (WebKit::MainThreadFileSystemCallbacks::createLeakedPtr):
41315 (WebKit::MainThreadFileSystemCallbacks::MainThreadFileSystemCallbacks):
41316 (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
41317 * src/WorkerFileSystemCallbacksBridge.h:
41319 2011-03-24 John Abd-El-Malek <jam@chromium.org>
41321 Reviewed by Dimitri Glazkov.
41323 [chromium] Add setters for various client interfaces, and add WebSpellCheckClient
41324 https://bugs.webkit.org/show_bug.cgi?id=57070
41326 * public/WebSpellCheckClient.h: Added.
41327 (WebKit::WebSpellCheckClient::spellCheck):
41328 (WebKit::WebSpellCheckClient::requestCheckingOfText):
41329 (WebKit::WebSpellCheckClient::autoCorrectWord):
41330 (WebKit::WebSpellCheckClient::showSpellingUI):
41331 (WebKit::WebSpellCheckClient::isShowingSpellingUI):
41332 (WebKit::WebSpellCheckClient::updateSpellingUIWithMisspelledWord):
41333 (WebKit::WebSpellCheckClient::~WebSpellCheckClient):
41334 * public/WebView.h:
41335 * public/WebViewClient.h:
41336 * src/EditorClientImpl.cpp:
41337 (WebKit::EditorClientImpl::checkSpellingOfString):
41338 (WebKit::EditorClientImpl::requestCheckingOfString):
41339 (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
41340 (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
41341 (WebKit::EditorClientImpl::showSpellingUI):
41342 (WebKit::EditorClientImpl::spellingUIIsShowing):
41343 * src/WebViewImpl.cpp:
41344 (WebKit::WebViewImpl::setWebDevToolsAgentClient):
41345 (WebKit::WebViewImpl::setWebAutoFillClient):
41346 (WebKit::WebViewImpl::setWebSpellCheckClient):
41347 (WebKit::WebViewImpl::WebViewImpl):
41348 * src/WebViewImpl.h:
41349 (WebKit::WebViewImpl::spellCheckClient):
41351 2011-03-25 Cary Clark <caryclark@google.com>
41353 Reviewed by Dimitri Glazkov.
41355 Add CGBitmapContext.h include to WebViewImpl.cpp
41356 https://bugs.webkit.org/show_bug.cgi?id=57097
41358 No tests. Exposes no new functionality.
41360 * src/WebViewImpl.cpp:
41362 2011-03-25 Adam Klein <adamk@chromium.org>
41364 Reviewed by David Levin.
41366 [chromium] Remove deprecated overload of openFileSystem for workers
41367 https://bugs.webkit.org/show_bug.cgi?id=57062
41369 * public/WebCommonWorkerClient.h:
41371 2011-03-25 Chang Shu <cshu@webkit.org>
41373 Reviewed by Ryosuke Niwa.
41375 rename Node::isContentEditable and all call sites to rendererIsEditable
41376 https://bugs.webkit.org/show_bug.cgi?id=54290
41378 This is part of the effort to separate JS API HTMLElement isContentEditable from
41379 internal Node::rendererIsEditable.
41382 (WebKit::WebNode::isContentEditable):
41383 * src/WebViewImpl.cpp:
41384 (WebKit::WebViewImpl::setFocus):
41385 (WebKit::WebViewImpl::setComposition):
41386 (WebKit::WebViewImpl::confirmComposition):
41388 2011-03-25 Mikhail Naganov <mnaganov@chromium.org>
41390 Roll forward Chromium deps to r79379 to pick up V8 3.2.4.2.
41394 2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com>
41396 Unreviewed, rolling out r81916 and r81917.
41397 http://trac.webkit.org/changeset/81916
41398 http://trac.webkit.org/changeset/81917
41399 https://bugs.webkit.org/show_bug.cgi?id=57071
41401 broke a test on platforms that do not have QuickTime installed
41402 (Requested by estes on #webkit).
41404 * src/FrameLoaderClientImpl.cpp:
41405 (WebKit::FrameLoaderClientImpl::objectContentType):
41406 * src/FrameLoaderClientImpl.h:
41408 2011-03-24 Min Qin <qinmin@google.com>
41410 Reviewed by James Robinson.
41412 Allow WebMediaPlayerClient to notify MediaPlayer that the playback state has changed
41414 https://bugs.webkit.org/show_bug.cgi?id=56837
41416 * public/WebMediaPlayerClient.h:
41417 * src/WebMediaPlayerClientImpl.cpp:
41418 (WebKit::WebMediaPlayerClientImpl::playbackStateChanged):
41419 * src/WebMediaPlayerClientImpl.h:
41421 2011-03-23 John Abd-El-Malek <jam@chromium.org>
41423 Reviewed by Tony Chang.
41425 [chromium] Get rid of WEB_TEXT_CHECKING_RESULT_IS_A_STRUCT since it's not needed anymore
41426 https://bugs.webkit.org/show_bug.cgi?id=56955
41429 * public/WebTextCheckingResult.h:
41431 2011-03-24 Bill Budge <bbudge@chromium.org>
41433 Reviewed by Eric Seidel.
41435 Change a forward declaration of WebURLLoaderOptions to struct to prevent a build break in Chromium.
41436 https://bugs.webkit.org/show_bug.cgi?id=57064
41438 No tests. Exposes no new functionality.
41440 * public/WebFrame.h:
41442 2011-03-24 Andy Estes <aestes@apple.com>
41444 Fix the chromium build.
41446 * src/FrameLoaderClientImpl.cpp:
41447 (WebKit::FrameLoaderClientImpl::objectContentType):
41449 2011-03-24 Andy Estes <aestes@apple.com>
41451 Reviewed by Darin Adler.
41453 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
41454 https://bugs.webkit.org/show_bug.cgi?id=49016
41456 Update objectContentType() implementation to handle the
41457 shouldPreferPlugInsForImages flag.
41459 * src/FrameLoaderClientImpl.cpp:
41460 (WebKit::FrameLoaderClientImpl::objectContentType):
41461 * src/FrameLoaderClientImpl.h:
41463 2011-03-24 Bill Budge <bbudge@chromium.org>
41465 Reviewed by Dmitry Titov.
41467 Add an overloaded WebFrame::createAssociatedURLLoader method that takes WebURLLoaderOptions, so clients can specify CORS options to allow cross-origin requests.
41468 https://bugs.webkit.org/show_bug.cgi?id=56885
41470 No new tests. Exposes no new functionality.
41472 * public/WebFrame.h:
41473 * src/WebFrameImpl.cpp:
41474 (WebKit::WebFrameImpl::createAssociatedURLLoader):
41475 * src/WebFrameImpl.h:
41477 2011-03-24 Sam Weinig <sam@webkit.org>
41479 Reviewed by Anders Carlsson.
41481 Remove legacy version of findPlainText.
41482 https://bugs.webkit.org/show_bug.cgi?id=57056
41484 * src/WebFrameImpl.cpp:
41485 (WebKit::WebFrameImpl::scopeStringMatches):
41486 Replace use of legacy findPlainText with a version that
41487 takes an options parameter.
41489 2011-03-24 Nat Duca <nduca@chromium.org>
41491 Reviewed by Kenneth Russell.
41493 [chromium] Add traceEvents to compositor
41494 https://bugs.webkit.org/show_bug.cgi?id=56965
41496 * src/WebViewImpl.cpp:
41497 (WebKit::WebViewImpl::composite):
41499 2011-03-24 Dominic Mazzoni <dmazzoni@google.com>
41501 Reviewed by Dimitri Glazkov.
41503 Add accessibilityObject accessor to WebDocument (needed for
41504 building an accessibility tree that includes iframes).
41505 https://bugs.webkit.org/show_bug.cgi?id=56984
41507 * public/WebDocument.h:
41508 * src/WebDocument.cpp:
41509 (WebKit::WebDocument::accessibilityObject):
41511 2011-03-24 Ilya Sherman <isherman@chromium.org>
41513 Reviewed by Dimitri Glazkov.
41515 Expose Node::isFocusable() in the Chromium WebKit API
41516 In service of https://code.google.com/p/chromium/issues/detail?id=72918
41517 https://bugs.webkit.org/show_bug.cgi?id=56809
41519 * public/WebNode.h:
41521 (WebKit::WebNode::isFocusable):
41523 2011-03-24 Pavel Feldman <pfeldman@chromium.org>
41525 Not reviewed: fix chromium compilation.
41527 * public/WebDevToolsAgent.h:
41529 2011-03-24 Pavel Feldman <pfeldman@chromium.org>
41531 Reviewed by Yury Semikhatsky.
41533 Web Inspector: brush up Network agent API.
41534 https://bugs.webkit.org/show_bug.cgi?id=57001
41536 * public/WebDevToolsAgent.h:
41537 * src/WebDevToolsAgentImpl.cpp:
41538 (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
41539 (WebKit::WebDevToolsAgentImpl::willSendRequest):
41540 * src/WebDevToolsAgentImpl.h:
41542 2011-03-24 Noel Gordon <noel.gordon@gmail.com>
41544 Reviewed by Ojan Vafai.
41546 [chromium] WebBindings::getRangeImpl() should NULL check its NPObject argument
41547 https://bugs.webkit.org/show_bug.cgi?id=56996
41549 * src/WebBindings.cpp:
41550 (WebKit::getRangeImpl):
41552 2011-03-23 Noel Gordon <noel.gordon@gmail.com>
41554 Reviewed by Ojan Vafai.
41556 [chromium] WebBindings{.h,.cpp}: should use consistent argument naming
41557 https://bugs.webkit.org/show_bug.cgi?id=56898
41559 Address FIXME I noted/added in r81676. Wanted to just copy/paste the checking
41560 code from elsewhere in the file, but inconsistent argument naming made it more
41561 difficult than it need be, so first step: use consistent naming.
41563 * public/WebBindings.h:
41564 * src/WebBindings.cpp:
41565 (WebKit::WebBindings::construct):
41566 (WebKit::WebBindings::enumerate):
41567 (WebKit::WebBindings::evaluate):
41568 (WebKit::WebBindings::evaluateHelper):
41569 (WebKit::WebBindings::getProperty):
41570 (WebKit::WebBindings::hasMethod):
41571 (WebKit::WebBindings::hasProperty):
41572 (WebKit::WebBindings::invoke):
41573 (WebKit::WebBindings::invokeDefault):
41574 (WebKit::WebBindings::releaseObject):
41575 (WebKit::WebBindings::removeProperty):
41576 (WebKit::WebBindings::retainObject):
41577 (WebKit::WebBindings::setException):
41578 (WebKit::WebBindings::setProperty):
41579 (WebKit::WebBindings::unregisterObject):
41580 (WebKit::WebBindings::extractIdentifierData):
41581 (WebKit::getRangeImpl):
41582 (WebKit::getElementImpl):
41583 (WebKit::makeIntArrayImpl):
41584 (WebKit::WebBindings::getRange):
41585 (WebKit::WebBindings::makeIntArray):
41587 2011-03-23 Jay Civelli <jcivelli@chromium.org>
41589 Reviewed by David Levin.
41592 Moving the method that is used to retrieve all the resources in
41593 a page from the Chromium code (dom_operations.cc) to WebKit.
41594 https://bugs.webkit.org/show_bug.cgi?id=55859
41597 * public/WebPageSerializer.h:
41599 (WebKit::operator==):
41600 (WebKit::operator!=):
41601 * public/WebVector.h:
41602 (WebKit::WebVector::contains):
41603 * src/WebDataSourceImpl.cpp:
41604 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
41605 * src/WebPageSerializer.cpp:
41606 (WebCore::getSubResourceURLFromElement):
41607 (WebCore::retrieveResourcesForElement):
41608 (WebCore::retrieveResourcesForFrame):
41609 (WebKit::WebPageSerializer::retrieveAllResources):
41610 * tests/WebFrameTest.cpp:
41611 * tests/WebPageSerializerTest.cpp: Added.
41612 * tests/data/pageserialization/awesome.png: Added.
41613 * tests/data/pageserialization/embed_iframe.html: Added.
41614 * tests/data/pageserialization/object_iframe.html: Added.
41615 * tests/data/pageserialization/simple_iframe.html: Added.
41616 * tests/data/pageserialization/simple_page.html: Added.
41617 * tests/data/pageserialization/top_frame.html: Added.
41619 2011-03-23 Kenneth Russell <kbr@google.com>
41621 Rolled forward Chromium DEPS again to fix DumpRenderTree build
41622 failure caused by r81821.
41626 2011-03-23 Kenneth Russell <kbr@google.com>
41628 Rolled forward Chromium DEPS to fix build breakage after r81821.
41632 2011-03-23 Kenneth Russell <kbr@google.com>
41634 Reviewed by James Robinson.
41636 [chromium] WebGLRenderingContext and other DOMWindow properties should remain if WebGL is disabled
41637 https://bugs.webkit.org/show_bug.cgi?id=56947
41639 Removed the WebRuntimeFeatures setting for WebGL. WebGL support is
41640 now controlled exclusively through the page's Settings.
41642 * public/WebRuntimeFeatures.h:
41643 * src/WebRuntimeFeatures.cpp:
41645 2011-03-23 Chris Rogers <crogers@google.com>
41647 Reviewed by Kenneth Russell.
41649 Add API to retrieve the audio hardware sample-rate
41650 https://bugs.webkit.org/show_bug.cgi?id=56882
41652 * public/WebAudioDevice.h:
41653 * public/WebKitClient.h:
41654 (WebKit::WebKitClient::audioHardwareSampleRate):
41655 * src/AudioDestinationChromium.cpp:
41656 (WebCore::AudioDestination::hardwareSampleRate):
41658 2011-03-23 Cris Neckar <cdn@chromium.org>
41660 Reviewed by Eric Seidel.
41662 Add refptr for widget. Mutations can happen within the event handler.
41663 https://bugs.webkit.org/show_bug.cgi?id=56774
41665 * src/WebPluginContainerImpl.cpp:
41666 (WebKit::WebPluginContainerImpl::handleEvent):
41668 2011-03-23 Viet-Trung Luu <viettrungluu@chromium.org>
41670 Reviewed by Tony Chang.
41672 [chromium] Add FormatPlainText to WebClipboard::Format enumeration.
41673 https://bugs.webkit.org/show_bug.cgi?id=56868
41675 Chromium's WebClipboard::isFormatAvailable() will be correspondingly
41678 * public/WebClipboard.h:
41679 * src/AssertMatchingEnums.cpp:
41681 2011-03-23 Yury Semikhatsky <yurys@chromium.org>
41683 Reviewed by Pavel Feldman.
41685 [Chromium] Web Inspector: Remove DebuggerScript.js from Chromium resource bundle.
41686 https://bugs.webkit.org/show_bug.cgi?id=56916
41688 * DEPS: bump up Chromium dependency to the revision where no references to the DebuggerScript.js resource are left.
41691 2011-03-23 Yury Semikhatsky <yurys@chromium.org>
41693 Reviewed by Pavel Feldman.
41695 [Chromium] Web Inspector: remove inspectNode method from WebDevToolsAgent
41696 https://bugs.webkit.org/show_bug.cgi?id=56926
41698 * public/WebDevToolsAgent.h:
41699 * src/WebDevToolsAgentImpl.cpp:
41700 * src/WebDevToolsAgentImpl.h:
41702 2011-03-23 Sheriff Bot <webkit.review.bot@gmail.com>
41704 Unreviewed, rolling out r81686.
41705 http://trac.webkit.org/changeset/81686
41706 https://bugs.webkit.org/show_bug.cgi?id=56914
41708 Breaks webkit_tests in Chromium again. (Requested by pfeldman
41712 * public/WebPageSerializer.h:
41714 * public/WebVector.h:
41715 (WebKit::WebVector::operator[]):
41716 * src/WebDataSourceImpl.cpp:
41717 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
41718 * src/WebPageSerializer.cpp:
41719 * tests/WebFrameTest.cpp:
41720 * tests/WebPageSerializerTest.cpp: Removed.
41721 * tests/data/pageserialization/awesome.png: Removed.
41722 * tests/data/pageserialization/embed_iframe.html: Removed.
41723 * tests/data/pageserialization/object_iframe.html: Removed.
41724 * tests/data/pageserialization/simple_iframe.html: Removed.
41725 * tests/data/pageserialization/simple_page.html: Removed.
41726 * tests/data/pageserialization/top_frame.html: Removed.
41728 2011-03-22 Yury Semikhatsky <yurys@chromium.org>
41730 Reviewed by Pavel Feldman.
41732 [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
41733 https://bugs.webkit.org/show_bug.cgi?id=56843
41735 * public/WebDevToolsAgentClient.h: the script source is now compiled along with the inspector code.
41736 * src/WebDevToolsAgentImpl.cpp:
41737 (WebKit::WebDevToolsAgentImpl::attach):
41739 2011-03-22 Yury Semikhatsky <yurys@chromium.org>
41741 Reviewed by Pavel Feldman.
41743 [Chromium] Web Inspector: remove obsolete methods from WebDevToolsAgentClient.h
41744 https://bugs.webkit.org/show_bug.cgi?id=56897
41746 * public/WebDevToolsAgentClient.h:
41748 2011-03-22 Noel Gordon <noel.gordon@gmail.com>
41750 Reviewed by Tony Chang.
41752 [chromium] Remove identity from dragTargetDragEnter() function signature
41753 https://bugs.webkit.org/show_bug.cgi?id=56875
41755 First part of 3-sided patch. Add new function signature sans identity.
41757 * public/WebView.h:
41758 * src/WebViewImpl.cpp:
41759 (WebKit::WebViewImpl::dragTargetDragEnter):
41760 * src/WebViewImpl.h:
41762 2011-03-22 John Bauman <jbauman@chromium.org>
41764 Reviewed by Kenneth Russell.
41766 Add support for preserveDrawingBuffer context creation attribute
41767 https://bugs.webkit.org/show_bug.cgi?id=56431
41769 * src/GraphicsContext3DChromium.cpp:
41770 (WebCore::GraphicsContext3DInternal::markContextChanged):
41771 (WebCore::GraphicsContext3DInternal::markLayerComposited):
41772 (WebCore::GraphicsContext3DInternal::layerComposited):
41773 (WebCore::GraphicsContext3D::layerComposited):
41774 * src/GraphicsContext3DInternal.h:
41776 2011-03-22 John Abd-El-Malek <jam@chromium.org>
41778 Reviewed by Tony Chang.
41780 [chromium] Make WebTextCheckingResult's members be public in preparation for converting it to a struct
41781 https://bugs.webkit.org/show_bug.cgi?id=56857
41784 * public/WebTextCheckingResult.h:
41786 2011-03-22 Jay Civelli <jcivelli@chromium.org>
41788 Reviewed by David Levin.
41791 Moving the method that is used to retrieve all the resources in
41792 a page from the Chromium code (dom_operations.cc) to WebKit.
41793 https://bugs.webkit.org/show_bug.cgi?id=55859
41797 * public/WebPageSerializer.h:
41799 (WebKit::operator==):
41800 (WebKit::operator!=):
41801 * public/WebVector.h:
41802 (WebKit::WebVector::contains):
41803 * src/WebDataSourceImpl.cpp:
41804 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
41805 * src/WebPageSerializer.cpp:
41806 (WebCore::getSubResourceURLFromElement):
41807 (WebCore::retrieveResourcesForElement):
41808 (WebCore::retrieveResourcesForFrame):
41809 (WebKit::WebPageSerializer::retrieveAllResources):
41810 * tests/WebFrameTest.cpp:
41811 * tests/WebPageSerializerTest.cpp: Added.
41812 * tests/data/pageserialization/awesome.png: Added.
41813 * tests/data/pageserialization/embed_iframe.html: Added.
41814 * tests/data/pageserialization/object_iframe.html: Added.
41815 * tests/data/pageserialization/simple_iframe.html: Added.
41816 * tests/data/pageserialization/simple_page.html: Added.
41817 * tests/data/pageserialization/top_frame.html: Added.
41819 2011-03-22 Noel Gordon <noel.gordon@gmail.com>
41821 Reviewed by Tony Chang.
41823 [chromium] Remove Gears from Chromium WebKit
41824 https://bugs.webkit.org/show_bug.cgi?id=56808
41826 Gears has been removed from Chromium 12. Remove Gears drag drop support
41827 from WebKit. That work lead to http://webkit.org/b/25916, a proposal to
41828 add native file drag drop, and its subsequent standardization in HTML5.
41830 * public/WebBindings.h:
41831 * public/WebView.h:
41832 * src/WebBindings.cpp:
41833 (WebKit::getRangeImpl): FIXME note added.
41834 * src/WebViewImpl.cpp:
41835 (WebKit::WebViewImpl::WebViewImpl):
41836 (WebKit::WebViewImpl::dragTargetDragEnter):
41837 (WebKit::WebViewImpl::dragTargetDragLeave):
41838 (WebKit::WebViewImpl::dragTargetDrop):
41839 (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
41840 * src/WebViewImpl.h:
41842 2011-03-21 Adam Klein <adamk@chromium.org>
41844 Reviewed by David Levin.
41846 [fileapi] Add URI resolution support to WorkerContext
41847 https://bugs.webkit.org/show_bug.cgi?id=55644
41849 Pass "create" bool through to allow opening
41850 a filesystem without allowing creation.
41852 * src/LocalFileSystemChromium.cpp:
41853 (WebCore::LocalFileSystem::readFileSystem):
41854 (WebCore::LocalFileSystem::requestFileSystem):
41855 * src/WebWorkerBase.cpp:
41856 (WebKit::WebWorkerBase::openFileSystemForWorker):
41857 * src/WebWorkerBase.h:
41858 * src/WorkerFileSystemCallbacksBridge.cpp:
41859 (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
41860 (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
41861 * src/WorkerFileSystemCallbacksBridge.h:
41863 2011-03-21 Ilya Sherman <isherman@chromium.org>
41865 Reviewed by James Robinson.
41867 Remove WebInputElement::isEnabledFormControl() from Chromium WebKit API
41868 Clients should instead call into WebFormControlElement::isEnabled().
41869 https://bugs.webkit.org/show_bug.cgi?id=56364
41871 * public/WebInputElement.h: Removed isEnabledFormControl().
41872 * src/WebInputElement.cpp: Removed isEnabledFormControl().
41874 2011-03-21 Robert Kroeger <rjkroege@chromium.org>
41876 Reviewed by Antonio Gomes.
41878 Flag to enable a platform specific GestureReocognizer framework in Chromium.
41880 https://bugs.webkit.org/show_bug.cgi?id=49345
41884 2011-03-21 Tony Chang <tony@chromium.org>
41886 Reviewed by Pavel Feldman.
41888 [chromium] remove devtools_html's dependency on WebKit.gypi
41889 https://bugs.webkit.org/show_bug.cgi?id=56661
41891 We want to depend on the values in the gypi file, not the gypi file
41892 itself. Actually, if someone edits a gypi file, s/he should re-run
41893 gyp to pick up the new dependencies.
41895 It turns out that this doesn't matter much for this target anymore
41896 since we pull the .js dependencies from the inspector html file.
41898 * WebKit.gyp: cleanup dependencies
41899 * scripts/generate_devtools_html.py: remove unused param
41901 2011-03-21 Sheriff Bot <webkit.review.bot@gmail.com>
41903 Unreviewed, rolling out r81377.
41904 http://trac.webkit.org/changeset/81377
41905 https://bugs.webkit.org/show_bug.cgi?id=56765
41907 WebPageSerializerTest.MultipleFrames is broken (Requested by
41908 simonjam on #webkit).
41911 * public/WebPageSerializer.h:
41913 * public/WebVector.h:
41914 (WebKit::WebVector::operator[]):
41915 * src/WebDataSourceImpl.cpp:
41916 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
41917 * src/WebPageSerializer.cpp:
41918 * tests/WebFrameTest.cpp:
41919 * tests/WebPageSerializerTest.cpp: Removed.
41920 * tests/data/pageserialization/awesome.png: Removed.
41921 * tests/data/pageserialization/embed_iframe.html: Removed.
41922 * tests/data/pageserialization/object_iframe.html: Removed.
41923 * tests/data/pageserialization/simple_iframe.html: Removed.
41924 * tests/data/pageserialization/simple_page.html: Removed.
41925 * tests/data/pageserialization/top_frame.html: Removed.
41927 2011-03-21 Daniel Sievers <sievers@google.com>
41929 Reviewed by Simon Fraser.
41931 [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
41932 https://bugs.webkit.org/show_bug.cgi?id=56139
41934 * public/WebFrame.h:
41935 * src/WebFrameImpl.cpp:
41936 (WebKit::WebFrameImpl::renderTreeAsText):
41937 (WebKit::WebFrameImpl::layerTreeAsText):
41938 * src/WebFrameImpl.h:
41940 2011-03-21 Eric Uhrhane <ericu@chromium.org>
41942 Reviewed by David Levin.
41944 [fileapi/chromium] Fetch platform path using GetMetadata before creating File from FileEntry*
41945 https://bugs.webkit.org/show_bug.cgi?id=56704
41947 * src/WebFileSystemCallbacksImpl.cpp:
41948 (WebFileSystemCallbacksImpl::didReadMetadata)
41949 Pass new platformPath member through.
41951 * src/WorkerFileSystemCallbacksBridge.cpp:
41952 (CrossThreadCopierBase)
41953 Copy new platformPath member.
41955 * public/WebFileInfo.h:
41956 (struct WebFileInfo)
41957 Add new platformPath member.
41959 2011-03-21 Leandro Gracia Gil <leandrogracia@chromium.org>
41961 Reviewed by Steve Block.
41963 Media Stream API patch 0: adding compilation guards.
41964 https://bugs.webkit.org/show_bug.cgi?id=56458
41966 Enabling the feature by default for chromium builds.
41970 2011-03-21 Vsevolod Vlasov <vsevik@chromium.org>
41972 Reviewed by Pavel Feldman.
41974 Web Inspector: Inspector does not always show correct transfer size (for compressed/chunked data)
41975 https://bugs.webkit.org/show_bug.cgi?id=56691
41977 Added transfer size support in inspector for compressed data.
41979 * src/ResourceHandle.cpp:
41980 (WebCore::ResourceHandleInternal::didReceiveData):
41981 * src/WebDevToolsAgentImpl.cpp:
41982 (WebKit::WebDevToolsAgentImpl::didReceiveData):
41984 2011-03-20 Bill Budge <bbudge@chromium.org>
41986 Reviewed by Adam Barth.
41988 Rename ThreadSafeShared to ThreadSafeRefCounted
41989 https://bugs.webkit.org/show_bug.cgi?id=56714
41991 No new tests. Exposes no new functionality.
41993 * src/PlatformMessagePortChannel.h:
41994 * src/WebWorkerBase.cpp:
41995 * src/WorkerFileSystemCallbacksBridge.h:
41996 * src/WorkerFileWriterCallbacksBridge.h:
41998 2011-03-18 Tony Chang <tony@chromium.org>
42000 Reviewed by Eric Seidel.
42002 [chromium] make devtool concatenation targets conditional based on debug_devtools
42003 https://bugs.webkit.org/show_bug.cgi?id=56667
42005 We don't want to run these targets when debug_devtools=1 because it
42006 will overwrite the devtools.js and devtools.css files copied by
42007 inspector_resources. On Linux, this triggers a warning because
42008 there are two commands that target the same output file when
42011 I also removed the 'sources' lines since I don't think they do
42012 anything for actions.
42016 2011-03-17 Alexey Marinichev <amarinichev@chromium.org>
42018 Reviewed by Kenneth Russell.
42020 chromium: uninitialized field in WebViewImpl
42021 https://bugs.webkit.org/show_bug.cgi?id=56620
42023 * src/WebViewImpl.cpp:
42024 (WebKit::WebViewImpl::WebViewImpl):
42026 2011-03-17 Adrienne Walker <enne@google.com>
42028 Reviewed by James Robinson.
42030 [chromium] Turn off accelerated compositing for RTL style pages.
42031 https://bugs.webkit.org/show_bug.cgi?id=56585
42033 * src/WebViewImpl.cpp:
42034 (WebKit::WebViewImpl::layout):
42035 (WebKit::WebViewImpl::pageHasRTLStyle):
42036 (WebKit::WebViewImpl::setRootGraphicsLayer):
42037 * src/WebViewImpl.h:
42039 2011-03-17 Jay Civelli <jcivelli@chromium.org>
42041 Reviewed by David Levin.
42043 Moving the method that is used to retrieve all the resources in
42044 a page from the Chromium code (dom_operations.cc) to WebKit.
42045 https://bugs.webkit.org/show_bug.cgi?id=55859
42048 * public/WebPageSerializer.h:
42050 (WebKit::operator==):
42051 (WebKit::operator!=):
42052 * public/WebVector.h:
42053 (WebKit::WebVector::contains):
42054 * src/WebDataSourceImpl.cpp:
42055 (WebKit::WebDataSourceImpl::WebDataSourceImpl):
42056 * src/WebPageSerializer.cpp:
42057 (WebCore::getSubResourceURLFromElement):
42058 (WebCore::retrieveResourcesForElement):
42059 (WebCore::retrieveResourcesForFrame):
42060 (WebKit::WebPageSerializer::retrieveAllResources):
42061 * tests/WebFrameTest.cpp:
42062 * tests/WebPageSerializerTest.cpp: Added.
42063 * tests/data/pageserialization: Added.
42064 * tests/data/pageserialization/awesome.png: Added.
42065 * tests/data/pageserialization/embed_iframe.html: Added.
42066 * tests/data/pageserialization/object_iframe.html: Added.
42067 * tests/data/pageserialization/simple_iframe.html: Added.
42068 * tests/data/pageserialization/simple_page.html: Added.
42069 * tests/data/pageserialization/top_frame.html: Added.
42071 2011-03-17 Tony Chang <tony@chromium.org>
42073 Reviewed by Pavel Feldman.
42075 [chromium] don't concatenate devtools files when debug_devtools=1
42076 https://bugs.webkit.org/show_bug.cgi?id=56572
42080 2011-03-17 Tony Chang <tony@chromium.org>
42082 Reviewed by Eric Seidel.
42084 [chromium] minor cleanup of devtools_files variable in WebKit.gyp
42085 https://bugs.webkit.org/show_bug.cgi?id=56503
42087 * WebKit.gyp: Moving duplicate variables out of a condition.
42089 2011-03-16 Adam Barth <abarth@webkit.org>
42091 Reviewed by James Robinson.
42093 Remove USE(BUILTIN_UTF8_CODEC)
42094 https://bugs.webkit.org/show_bug.cgi?id=56508
42098 2011-03-16 Tony Chang <tony@chromium.org>
42100 Reviewed by Adam Barth.
42102 [chromium] include inspector gif files in the list of resources
42103 https://bugs.webkit.org/show_bug.cgi?id=56504
42105 * scripts/generate_devtools_grd.py:
42107 2011-03-16 Bill Budge <bbudge@chromium.org>
42109 Reviewed by David Levin.
42111 AssociatedURLLoader does not support Cross Origin Requests
42112 https://bugs.webkit.org/show_bug.cgi?id=53925
42114 No new tests. Exposes no new functionality.
42116 * public/WebURLLoader.h:
42117 (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
42118 * src/AssociatedURLLoader.cpp:
42119 (WebKit::AssociatedURLLoader::ClientAdapter::isDocumentThreadableLoaderClient):
42120 (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
42121 (WebKit::AssociatedURLLoader::ClientAdapter::create):
42122 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
42123 (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
42124 (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
42125 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
42126 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
42127 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
42128 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
42129 (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
42130 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
42131 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
42132 (WebKit::AssociatedURLLoader::loadSynchronously):
42133 (WebKit::AssociatedURLLoader::loadAsynchronously):
42134 (WebKit::AssociatedURLLoader::cancel):
42135 (WebKit::AssociatedURLLoader::setDefersLoading):
42136 * src/AssociatedURLLoader.h:
42138 2011-03-16 Adam Barth <abarth@webkit.org>
42140 Roll Chromium DEPS.
42144 2011-03-16 Daniel Sievers <sievers@google.com>
42146 Reviewed by James Robinson.
42148 Add setting to always force compositing mode
42149 https://bugs.webkit.org/show_bug.cgi?id=56156
42151 * public/WebSettings.h:
42152 * src/WebSettingsImpl.cpp:
42153 (WebKit::WebSettingsImpl::setForceCompositingMode):
42154 * src/WebSettingsImpl.h:
42156 2011-03-16 Sreeram Ramachandran <sreeram@google.com>
42158 Reviewed by Dimitri Glazkov.
42160 Revert of r80451. Decided to do this in WebCore instead.
42161 https://bugs.webkit.org/show_bug.cgi?id=55844
42163 * public/WebFrame.h:
42164 * src/WebFrameImpl.cpp:
42165 * src/WebFrameImpl.h:
42167 2011-03-15 Ilya Sherman <isherman@chromium.org>
42169 Reviewed by Darin Fisher.
42171 Move isReadOnly() from WebInputElement to WebFormControlElement
42172 https://bugs.webkit.org/show_bug.cgi?id=55760
42174 * public/WebFormControlElement.h:
42175 * public/WebInputElement.h:
42176 * src/WebFormControlElement.cpp:
42177 (WebKit::WebFormControlElement::isReadOnly):
42178 * src/WebInputElement.cpp:
42180 2011-03-15 John Bauman <jbauman@chromium.org>
42182 Reviewed by Kenneth Russell.
42184 Non-premultiplied-alpha canvas attribute is ignore for toDataURL, drawImage, texImage2D
42185 https://bugs.webkit.org/show_bug.cgi?id=56238
42187 Add support for reading a webgl context into an ImageData.
42189 * src/GraphicsContext3DChromium.cpp:
42190 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
42191 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToImageData):
42192 * src/GraphicsContext3DInternal.h:
42194 2011-03-15 Sheriff Bot <webkit.review.bot@gmail.com>
42196 Unreviewed, rolling out r81144.
42197 http://trac.webkit.org/changeset/81144
42198 https://bugs.webkit.org/show_bug.cgi?id=56432
42200 It broke the ui test
42201 NPAPITesterBase.GetURLRedirectNotification. (Requested by
42202 dave_levin on #webkit).
42204 * public/WebURLLoader.h:
42205 * src/AssociatedURLLoader.cpp:
42206 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
42207 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
42208 (WebKit::AssociatedURLLoader::loadSynchronously):
42209 (WebKit::AssociatedURLLoader::loadAsynchronously):
42210 (WebKit::AssociatedURLLoader::cancel):
42211 (WebKit::AssociatedURLLoader::setDefersLoading):
42212 (WebKit::AssociatedURLLoader::prepareRequest):
42213 (WebKit::AssociatedURLLoader::willSendRequest):
42214 (WebKit::AssociatedURLLoader::didSendData):
42215 (WebKit::AssociatedURLLoader::didReceiveResponse):
42216 (WebKit::AssociatedURLLoader::didDownloadData):
42217 (WebKit::AssociatedURLLoader::didReceiveData):
42218 (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
42219 (WebKit::AssociatedURLLoader::didFinishLoading):
42220 (WebKit::AssociatedURLLoader::didFail):
42221 * src/AssociatedURLLoader.h:
42223 2011-03-15 Tony Chang <tony@chromium.org>
42225 Reviewed by Adam Barth.
42227 pngcrush images used by inspector
42228 https://bugs.webkit.org/show_bug.cgi?id=56426
42230 This saves 120k in WebCore and 8k in WebKit/chromium. I ran
42231 pngcrush -brute, so none of the meta data (ancillary chunks)
42234 * src/js/Images/segmentChromium.png:
42235 * src/js/Images/segmentHoverChromium.png:
42236 * src/js/Images/segmentHoverEndChromium.png:
42237 * src/js/Images/segmentSelectedChromium.png:
42238 * src/js/Images/segmentSelectedEndChromium.png:
42239 * src/js/Images/statusbarBackgroundChromium.png:
42240 * src/js/Images/statusbarBottomBackgroundChromium.png:
42241 * src/js/Images/statusbarMenuButtonChromium.png:
42242 * src/js/Images/statusbarMenuButtonSelectedChromium.png:
42244 2011-03-15 Michael Nordman <michaeln@google.com>
42246 Reviewed by Alexey Proskuryakov.
42248 When initiating a main resource load, let the application cache
42249 know which frame the load is being conducted for. This patch doesn't
42250 resolve the following bug, but the additional WebFrame parameter
42251 should provide the chromium port with enough info to pick the
42252 "most appropiate" cached resource.
42253 https://bugs.webkit.org/show_bug.cgi?id=55505
42255 Also fixup a stale comment in stopLoadingInFrame.
42257 * public/WebApplicationCacheHost.h:
42258 (WebKit::WebApplicationCacheHost::willStartMainResourceRequest):
42259 * src/ApplicationCacheHost.cpp:
42260 (WebCore::ApplicationCacheHost::maybeLoadMainResource):
42261 (WebCore::ApplicationCacheHost::stopLoadingInFrame):
42263 2011-03-15 Tony Chang <tony@chromium.org>
42265 Reviewed by Adam Barth.
42267 [chromium] add a build target to create a grd file with devtool resources
42268 https://bugs.webkit.org/show_bug.cgi?id=56335
42270 Reland with a fix to avoid really long command lines on Windows.
42273 * scripts/generate_devtools_grd.py: Added.
42275 2011-03-15 Alok priyadarshi <alokp@chromium.org>
42277 Reviewed by James Robinson.
42279 Valgrind error due to uninitialized PluginLayerChromium::m_textureId
42280 https://bugs.webkit.org/show_bug.cgi?id=56390
42282 * src/WebPluginContainerImpl.cpp:
42283 (WebKit::WebPluginContainerImpl::setBackingTextureId):
42284 (WebKit::WebPluginContainerImpl::platformLayer):
42286 2011-03-15 Brett Wilson <brettw@chromium.org>
42288 Reviewed by Adam Barth.
42290 Make WebConsoleMessage properly respect the log level.
42291 https://bugs.webkit.org/show_bug.cgi?id=56386
42293 * public/WebConsoleMessage.h:
42294 (WebKit::WebConsoleMessage::WebConsoleMessage):
42296 2011-03-15 Tony Chang <tony@chromium.org>
42298 Revert r81147 and r81149, broke the chromium win build.
42301 * scripts/generate_devtools_grd.py: Removed.
42303 2011-03-15 Tony Chang <tony@chromium.org>
42305 Fix chromium build using python 2.5 (with statement).
42307 * scripts/generate_devtools_grd.py:
42309 2011-03-15 Tony Chang <tony@chromium.org>
42311 Reviewed by Adam Barth.
42313 [chromium] add a build target to create a grd file with devtool resources
42314 https://bugs.webkit.org/show_bug.cgi?id=56335
42316 This is the webkit side of the fix for
42317 http://code.google.com/p/chromium/issues/detail?id=35793
42320 * scripts/generate_devtools_grd.py: Added.
42322 2011-03-15 Bill Budge <bbudge@chromium.org>
42324 Reviewed by David Levin.
42326 AssociatedURLLoader does not support Cross Origin Requests
42327 https://bugs.webkit.org/show_bug.cgi?id=53925
42329 No new tests. No new functionality exposed.
42331 * public/WebURLLoader.h:
42332 (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
42333 * src/AssociatedURLLoader.cpp:
42334 (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
42335 (WebKit::AssociatedURLLoader::ClientAdapter::create):
42336 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
42337 (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
42338 (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
42339 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
42340 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
42341 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
42342 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
42343 (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
42344 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
42345 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
42346 (WebKit::AssociatedURLLoader::loadSynchronously):
42347 (WebKit::AssociatedURLLoader::loadAsynchronously):
42348 (WebKit::AssociatedURLLoader::cancel):
42349 (WebKit::AssociatedURLLoader::setDefersLoading):
42350 * src/AssociatedURLLoader.h:
42352 2011-03-15 Alok priyadarshi <alokp@chromium.org>
42354 Reviewed by James Robinson.
42356 Remove unnecessary function WebPlugin::getBackingTextureId
42357 https://bugs.webkit.org/show_bug.cgi?id=56122
42359 It will be tested by Pepper2D and Pepper3D layout/smoke tests
42360 on the Chromium side.
42362 * public/WebPlugin.h:
42363 * src/WebPluginContainerImpl.cpp:
42364 (WebKit::WebPluginContainerImpl::platformLayer):
42366 2011-03-15 Mikhail Naganov <mnaganov@chromium.org>
42368 Unreviewed. Update chromium deps to pick up the latest V8.
42372 2011-03-14 Alexey Marinichev <amarinichev@chromium.org>
42374 Reviewed by Kenneth Russell.
42376 Graphics Context is not properly recovered if the GPU process dies.
42377 https://bugs.webkit.org/show_bug.cgi?id=56148
42379 Split context recreation into two steps.
42381 * src/WebViewImpl.cpp:
42382 (WebKit::WebViewImpl::composite):
42383 (WebKit::WebViewImpl::doComposite):
42384 (WebKit::WebViewImpl::reallocateRenderer):
42385 * src/WebViewImpl.h:
42387 2011-03-14 Sheriff Bot <webkit.review.bot@gmail.com>
42389 Unreviewed, rolling out r81094.
42390 http://trac.webkit.org/changeset/81094
42391 https://bugs.webkit.org/show_bug.cgi?id=56355
42393 Broke the chromium DRT related build. (Requested by dave_levin
42396 * public/WebFrame.h:
42397 * src/WebFrameImpl.cpp:
42398 (WebKit::WebFrameImpl::renderTreeAsText):
42399 (WebKit::WebFrameImpl::layerTreeAsText):
42400 * src/WebFrameImpl.h:
42402 2011-03-14 Daniel Sievers <sievers@google.com>
42404 Reviewed by Simon Fraser.
42406 [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
42407 https://bugs.webkit.org/show_bug.cgi?id=56139
42409 * public/WebFrame.h:
42410 * src/WebFrameImpl.cpp:
42411 (WebKit::WebFrameImpl::renderTreeAsText):
42412 (WebKit::WebFrameImpl::layerTreeAsText):
42413 * src/WebFrameImpl.h:
42415 2011-03-14 John Knottenbelt <jknotten@chromium.org>
42417 Reviewed by Steve Block.
42419 Detach Geolocation from Frame when Page destroyed.
42420 https://bugs.webkit.org/show_bug.cgi?id=52877
42422 Add accessors to the WebGeolocationClientMock to allow the number of
42423 pending geolocation permission requests to be queried.
42425 * public/WebGeolocationClientMock.h:
42426 * src/WebGeolocationClientMock.cpp:
42427 (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
42429 2011-03-11 David Levin <levin@chromium.org>
42431 Rollout the chromium deps roll as it adds a dependency on a header
42432 that the bots building for WebKit don't seem to have.
42434 Specifically gfx\gl\gl_context_egl.cc depends on d3dcompiler.h
42438 2011-03-11 Daniel Cheng <dcheng@chromium.org>
42440 Reviewed by Tony Chang.
42442 [chromium] Correct return type of WebClipboard::readImage.
42443 https://bugs.webkit.org/show_bug.cgi?id=56234
42445 Update the return type to reflect that we are returning a blob of PNG
42446 data, not a bitmap.
42448 * public/WebClipboard.h:
42449 (WebKit::WebClipboard::readImage):
42451 2011-03-11 David Levin <levin@chromium.org>
42453 Update chromium deps to pick up the skia roll.
42457 2011-03-11 Adrienne Walker <enne@google.com>
42459 Reviewed by Kenneth Russell.
42461 Add missing unit tests to TilingData.
42462 https://bugs.webkit.org/show_bug.cgi?id=54143
42464 * tests/TilingDataTest.cpp:
42467 2011-03-11 Anton D'Auria <adauria@apple.com>
42469 Reviewed and landed by Brady Eidson.
42471 Add WebKit1 API to view and delete local storage
42472 https://bugs.webkit.org/show_bug.cgi?id=51878
42474 * src/StorageNamespaceProxy.cpp:
42475 (WebCore::StorageNamespaceProxy::clearOriginForDeletion):
42476 (WebCore::StorageNamespaceProxy::clearAllOriginsForDeletion):
42477 (WebCore::StorageNamespaceProxy::sync):
42478 * src/StorageNamespaceProxy.h:
42480 2011-03-11 Dominic Mazzoni <dmazzoni@google.com>
42482 Reviewed by Dimitri Glazkov.
42484 Add an accessibilityIsIgnored method to WebAccessibilityObject.
42485 https://bugs.webkit.org/show_bug.cgi?id=50969
42487 * public/WebAccessibilityObject.h:
42488 * src/WebAccessibilityObject.cpp:
42489 (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
42491 2011-03-11 Avi Drissman <avi@google.com>
42493 Reviewed by Tony Chang.
42495 Fix missing initialization of new member variables.
42496 https://bugs.webkit.org/show_bug.cgi?id=50969
42498 * public/WebMenuItemInfo.h:
42499 (WebKit::WebMenuItemInfo::WebMenuItemInfo):
42501 2011-03-11 Roland Steiner <rolandsteiner@chromium.org>
42503 Reviewed by Ryosuke Niwa.
42505 Bug 55570 - Remove dependency of dom/InputElement.cpp on html/ and wml/
42506 https://bugs.webkit.org/show_bug.cgi?id=55570
42508 Add a virtual function toInputElement() to Node that has a default
42509 implementation of returning 0.
42510 For HTMLInputElement and WMLInputElement (which derive from InputElement)
42511 override this to return the object.
42512 Change all calling sites of the old toInputElement to use the new member
42513 function. This also allows us to save some casts.
42515 No new tests (refactoring).
42517 * src/WebInputElement.cpp:
42518 (WebKit::toWebInputElement):
42520 2011-03-10 Takayoshi Kochi <kochi@chromium.org>
42522 Reviewed by Tony Chang.
42524 Remove default parameter declaration for familiForChars(), which is no longer necessary.
42526 * public/gtk/WebFontInfo.h:
42528 2011-03-10 Nat Duca <nduca@chromium.org>
42530 Reviewed by James Robinson.
42532 [chromium] Make updateAndDrawLayers argumentless.
42533 https://bugs.webkit.org/show_bug.cgi?id=55985
42535 Made the TilePainters and viewport parameters for
42536 LayerRendererChromium member variables instead of arguments on
42537 updateAndDrawLayers. In a future change, this will allows us to
42538 draw the layer tree without the WebView's assistance.
42540 * src/WebViewImpl.cpp:
42541 (WebKit::WebViewImpl::resize):
42542 (WebKit::WebViewImpl::paint):
42543 (WebKit::WebViewImpl::scrollRootLayerRect):
42544 (WebKit::WebViewImpl::invalidateRootLayerRect):
42545 (WebKit::WebViewImplContentPainter::create):
42546 (WebKit::WebViewImplContentPainter::paint):
42547 (WebKit::WebViewImplContentPainter::WebViewImplContentPainter):
42548 (WebKit::WebViewImplScrollbarPainter::create):
42549 (WebKit::WebViewImplScrollbarPainter::paint):
42550 (WebKit::WebViewImplScrollbarPainter::WebViewImplScrollbarPainter):
42551 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
42552 (WebKit::WebViewImpl::doComposite):
42553 (WebKit::WebViewImpl::reallocateRenderer):
42554 (WebKit::WebViewImpl::updateLayerRendererViewport):
42555 * src/WebViewImpl.h:
42557 2011-03-10 Tony Chang <tony@chromium.org>
42559 Unreviewed, roll chromium version to r77259 to pick up
42560 webfontinfo api change.
42564 2011-03-10 Sheriff Bot <webkit.review.bot@gmail.com>
42566 Unreviewed, rolling out r80701.
42567 http://trac.webkit.org/changeset/80701
42568 https://bugs.webkit.org/show_bug.cgi?id=56126
42570 fast/dom/Geolocation/window-close-crash.html fails on Snow
42571 Leopard release builds (Requested by mihaip on #webkit).
42573 * public/WebGeolocationClientMock.h:
42574 * src/WebGeolocationClientMock.cpp:
42576 2011-03-10 Andrey Kosyakov <caseq@chromium.org>
42578 Reviewed by Yury Semikhatsky.
42580 Web Inspector: better names for HAR export commands
42581 https://bugs.webkit.org/show_bug.cgi?id=56097
42583 Rename Export to HAR to Copy entry/network log as HAR
42584 Expose Copy as HAR unconditionally, remove related settings entry.
42586 * src/js/DevTools.js: removed override for resourceExportEnabled
42588 2011-01-26 John Knottenbelt <jknotten@chromium.org>
42590 Reviewed by Dmitry Titov.
42592 Detach Geolocation from Frame when Page destroyed.
42593 https://bugs.webkit.org/show_bug.cgi?id=52877
42595 Add accessors to the WebGeolocationClientMock to allow the number of
42596 pending geolocation permission requests to be queried.
42598 * public/WebGeolocationClientMock.h:
42599 * src/WebGeolocationClientMock.cpp:
42600 (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
42602 2011-03-08 Hans Wennborg <hans@chromium.org>
42604 Reviewed by Jeremy Orlow.
42606 IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
42607 https://bugs.webkit.org/show_bug.cgi?id=55948
42609 Add a parameter that allows for selection of alternative backing store
42612 * public/WebIDBFactory.h:
42613 (WebKit::WebIDBFactory::open):
42614 * src/AssertMatchingEnums.cpp:
42615 * src/IDBFactoryBackendProxy.cpp:
42616 (WebCore::IDBFactoryBackendProxy::open):
42617 * src/IDBFactoryBackendProxy.h:
42618 * src/WebIDBFactoryImpl.cpp:
42619 (WebKit::WebIDBFactoryImpl::open):
42620 * src/WebIDBFactoryImpl.h:
42622 2011-03-08 Kinuko Yasuda <kinuko@chromium.org>
42624 Reviewed by David Levin.
42626 Destroying WorkerFileSystemCallbacksBridge on main thread results in ASSERT in WorkerContext::Observer::~Observer
42627 https://bugs.webkit.org/show_bug.cgi?id=55895
42629 * src/WorkerFileSystemCallbacksBridge.cpp:
42630 (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnWorkerThread):
42631 Added stopObserving() so that releasing the bridge on the main thread
42632 (this could happen before or after the runTaskOnWorkerThread) does
42633 not cause the assertion error.
42635 2011-03-08 Alok priyadarshi <alokp@chromium.org>
42637 Reviewed by Dimitri Glazkov.
42639 Plugins needs a way to trigger style recalc
42640 https://bugs.webkit.org/show_bug.cgi?id=55242
42642 It will be tested by Pepper2D and Pepper3D layout/smoke tests
42643 on the Chromium side.
42645 * public/WebPluginContainer.h:
42646 * src/WebPluginContainerImpl.cpp:
42647 (WebKit::WebPluginContainerImpl::setBackingTextureId):
42648 * src/WebPluginContainerImpl.h:
42650 2011-03-08 Andrei Popescu <andreip@google.com>
42652 Reviewed by Steve Block.
42654 IDBCallbacks::onsuccess(IDBIndex*) is unused and should be removed.
42655 https://bugs.webkit.org/show_bug.cgi?id=55938
42657 * public/WebIDBCallbacks.h:
42658 * src/IDBCallbacksProxy.cpp:
42659 * src/IDBCallbacksProxy.h:
42660 * src/WebIDBCallbacksImpl.cpp:
42661 * src/WebIDBCallbacksImpl.h:
42662 * src/WebIDBObjectStoreImpl.cpp:
42664 2011-03-07 Daniel Cheng <dcheng@chromium.org>
42666 Reviewed by David Levin.
42668 Add support for DataTransferItems
42669 https://bugs.webkit.org/show_bug.cgi?id=55115
42671 Add new runtime enabled flag for data transfer items feature.
42673 * public/WebRuntimeFeatures.h:
42674 * src/WebRuntimeFeatures.cpp:
42675 (WebKit::WebRuntimeFeatures::enableDataTransferItems):
42676 (WebKit::WebRuntimeFeatures::isDataTransferItemsEnabled):
42678 2011-03-07 Ryosuke Niwa <rniwa@webkit.org>
42680 Chromium build fix.
42682 * src/ContextMenuClientImpl.cpp:
42683 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
42685 2011-03-07 Ryosuke Niwa <rniwa@webkit.org>
42687 Reviewed by Darin Adler.
42689 selectionHasStyle and selectionStartHasStyle should use EditingStyle
42690 https://bugs.webkit.org/show_bug.cgi?id=55902
42692 selectionHasStyle now takes a property id and a value instead of a CSSMutableStyleDeclaration.
42694 * src/ContextMenuClientImpl.cpp:
42695 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Calls selectionHasStyle.
42697 2011-03-07 Daniel Cheng <dcheng@chromium.org>
42699 Reviewed by Tony Chang.
42701 Add plumbing for paste support to ChromiumDataObject::types()
42702 https://bugs.webkit.org/show_bug.cgi?id=55792
42704 This requires a DEPS roll for a Chromium-side change to support DRT testing of
42705 event.dataTransfer.types.
42709 2011-03-07 Takayoshi Kochi <kochi@chromium.org>
42711 Reviewed by Tony Chang.
42713 Use preferred locale information when choosing fallback font using
42714 fontconfig on Linux platform.
42715 https://bugs.webkit.org/show_bug.cgi?id=55453
42717 Tests will be covered by Chromium side.
42719 * public/gtk/WebFontInfo.h:
42720 (WebKit::WebFontInfo::familyForChars): added 3rd parameter |preferredLocale|
42721 * public/linux/WebSandboxSupport.h:
42722 (WebKit::WebSandboxSupport::getFontFamilyForCharacters): added 3rd parameter |preferredLocale|
42723 * src/PlatformBridge.cpp:
42724 * src/gtk/WebFontInfo.cpp:
42726 2011-03-07 James Robinson <jamesr@chromium.org>
42728 Reviewed by Kenneth Russell.
42730 [chromium] Separate the "update" and "draw" portions of LayerRendererChromium's drawLayers function
42731 https://bugs.webkit.org/show_bug.cgi?id=54047
42733 Call updated LayerRendererChromium APIs.
42735 * src/WebViewImpl.cpp:
42736 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
42737 (WebKit::WebViewImpl::paint):
42738 (WebKit::WebViewImpl::doComposite):
42740 2011-03-07 Sam Weinig <sam@webkit.org>
42742 Reviewed by Anders Carlsson.
42744 Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
42745 https://bugs.webkit.org/show_bug.cgi?id=55827
42747 Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
42748 and pass the entire response, instead of just the MIMEType.
42750 * src/FrameLoaderClientImpl.cpp:
42751 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForResponse):
42752 * src/FrameLoaderClientImpl.h:
42754 2011-03-07 Marcus Bulach <bulach@chromium.org>
42756 Reviewed by Dan Bernstein.
42758 WebViewImpl::focusedWebCoreFrame() should be const.
42759 https://bugs.webkit.org/show_bug.cgi?id=55870
42761 * src/WebViewImpl.cpp:
42762 (WebKit::WebViewImpl::focusedWebCoreFrame):
42763 * src/WebViewImpl.h:
42765 2011-03-07 Eric Carlson <eric.carlson@apple.com>
42767 Reviewed by Darin Adler.
42769 Add API to enumerate/delete files downloaded for <audio> and <video>
42770 https://bugs.webkit.org/show_bug.cgi?id=55267
42772 * src/WebMediaPlayerClientImpl.cpp:
42773 (WebKit::WebMediaPlayerClientImpl::registerSelf): Update for MediaEngineRegistrar change.
42775 2011-03-07 Andrei Popescu <andreip@google.com>
42777 Reviewed by Steve Block.
42779 IDBRequest::onSuccess(IDBObjectStore*) should be removed as it is unused.
42780 https://bugs.webkit.org/show_bug.cgi?id=55777
42782 * src/IDBCallbacksProxy.cpp:
42783 * src/IDBCallbacksProxy.h:
42784 * src/WebIDBCallbacksImpl.cpp:
42785 * src/WebIDBCallbacksImpl.h:
42787 2011-03-07 Sheriff Bot <webkit.review.bot@gmail.com>
42789 Unreviewed, rolling out r80458.
42790 http://trac.webkit.org/changeset/80458
42791 https://bugs.webkit.org/show_bug.cgi?id=55863
42793 caused tests to crash on several chromium bots (Requested by
42796 * src/AssociatedURLLoader.cpp:
42797 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
42798 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
42799 (WebKit::AssociatedURLLoader::loadSynchronously):
42800 (WebKit::AssociatedURLLoader::loadAsynchronously):
42801 (WebKit::AssociatedURLLoader::cancel):
42802 (WebKit::AssociatedURLLoader::setDefersLoading):
42803 (WebKit::AssociatedURLLoader::prepareRequest):
42804 (WebKit::AssociatedURLLoader::willSendRequest):
42805 (WebKit::AssociatedURLLoader::didSendData):
42806 (WebKit::AssociatedURLLoader::didReceiveResponse):
42807 (WebKit::AssociatedURLLoader::didDownloadData):
42808 (WebKit::AssociatedURLLoader::didReceiveData):
42809 (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
42810 (WebKit::AssociatedURLLoader::didFinishLoading):
42811 (WebKit::AssociatedURLLoader::didFail):
42812 * src/AssociatedURLLoader.h:
42814 2011-03-07 Bill Budge <bbudge@chromium.org>
42816 Reviewed by David Levin.
42818 AssociatedURLLoader does not support Cross Origin Requests
42819 https://bugs.webkit.org/show_bug.cgi?id=53925
42821 No tests needed. Exposes no new functionality.
42823 * src/AssociatedURLLoader.cpp:
42824 (WebKit::AssociatedURLLoader::ClientAdapter::create):
42825 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
42826 (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
42827 (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
42828 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
42829 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
42830 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
42831 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
42832 (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
42833 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
42834 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
42835 (WebKit::AssociatedURLLoader::loadSynchronously):
42836 (WebKit::AssociatedURLLoader::loadAsynchronously):
42837 (WebKit::AssociatedURLLoader::cancel):
42838 (WebKit::AssociatedURLLoader::setDefersLoading):
42839 * src/AssociatedURLLoader.h:
42840 (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
42842 2011-03-06 Sreeram Ramachandran <sreeram@google.com>
42844 Reviewed by Dimitri Glazkov.
42846 Expose page dismissal event status through the WebKit API for chromium.
42847 https://bugs.webkit.org/show_bug.cgi?id=55844
42849 Chromium will find it useful to know the page dismissal status (i.e.,
42850 whether a frame is in the midst of executing a beforeunload or unload
42851 handler), so expose that information through the chromium port in the
42854 This is my second attempt at this patch. The previous one broke
42855 downstream Chromium builds of some unit tests which had classes derived
42856 from WebFrame (and thus became uninstantiable because of this new pure
42857 virtual method). Those have now been fixed (http://crrev.com/77101).
42859 * public/WebFrame.h:
42860 * src/WebFrameImpl.cpp:
42861 (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
42862 * src/WebFrameImpl.h:
42864 2011-03-06 Sheriff Bot <webkit.review.bot@gmail.com>
42866 Unreviewed, rolling out r80436.
42867 http://trac.webkit.org/changeset/80436
42868 https://bugs.webkit.org/show_bug.cgi?id=55849
42870 Broke Chromium compile across the board (Requested by dglazkov
42873 * public/WebFrame.h:
42874 * src/WebFrameImpl.cpp:
42875 * src/WebFrameImpl.h:
42877 2011-03-06 Sreeram Ramachandran <sreeram@google.com>
42879 Reviewed by Dimitri Glazkov.
42881 Expose page dismissal event status through the WebKit API for chromium
42882 https://bugs.webkit.org/show_bug.cgi?id=55844
42884 * public/WebFrame.h:
42885 * src/WebFrameImpl.cpp:
42886 (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
42887 * src/WebFrameImpl.h:
42889 2011-03-05 Daniel Cheng <dcheng@chromium.org>
42891 Reviewed by Dmitry Titov.
42893 [chromium] Add method to WebClipboard to read images from the clipboard.
42894 https://bugs.webkit.org/show_bug.cgi?id=55814
42896 * public/WebClipboard.h:
42897 (WebKit::WebClipboard::readImage):
42899 2011-03-04 Adam Barth <abarth@webkit.org>
42901 Reviewed by Dimitri Glazkov.
42903 Remove unneeded round-trips through ../Source in the Chromium GYP build
42904 https://bugs.webkit.org/show_bug.cgi?id=55795
42908 2011-03-03 John Abd-El-Malek <jam@chromium.org>
42910 Reviewed by Dimitri Glazkov.
42912 [chromium] Get rid of IsContentFiltered flags since they're not used anymore
42913 https://bugs.webkit.org/show_bug.cgi?id=55748
42916 * public/WebURLResponse.h:
42917 * src/WebURLResponse.cpp:
42919 2011-03-04 James Su <suzhe@chromium.org>
42921 Reviewed by Dimitri Glazkov.
42923 [Chromium] keycode is always 0 when using non-Latin keyboard layout.
42924 https://bugs.webkit.org/show_bug.cgi?id=54939
42926 No intended functionality change.
42928 * src/mac/WebInputEventFactory.mm:
42929 (WebKit::windowsKeyCodeForKeyEvent): Use the same implementation
42930 provided in WebCore/platform/mac/KeyEventMac.mm.
42932 2011-03-04 Zelidrag Hornung <zelidrag@chromium.org>
42934 Reviewed by David Levin
42936 Expose ability to create instance of DOMFileSystem from Chromium side.
42937 https://bugs.webkit.org/show_bug.cgi?id=55618
42939 * public/WebFrame.h:
42940 * src/WebFrameImpl.cpp:
42941 (WebKit::WebFrameImpl::createFileSystem):
42942 * src/WebFrameImpl.h:
42944 2011-03-03 Nat Duca <nduca@chromium.org>
42946 Reviewed by James Robinson.
42948 [chromium] Create a LayerChromium layerTreeAsText. Add HUD to
42949 LayerRendererChromium that draws compositor FPS and, optionally,
42951 https://bugs.webkit.org/show_bug.cgi?id=54710
42953 * public/WebSettings.h:
42954 * src/WebSettingsImpl.cpp:
42955 (WebKit::WebSettingsImpl::WebSettingsImpl):
42956 (WebKit::WebSettingsImpl::setShowFPSCounter):
42957 (WebKit::WebSettingsImpl::setShowPlatformLayerTree):
42958 * src/WebSettingsImpl.h:
42959 (WebKit::WebSettingsImpl::showFPSCounter):
42960 (WebKit::WebSettingsImpl::showPlatformLayerTree):
42961 * src/WebViewImpl.cpp:
42962 (WebKit::WebViewImpl::doComposite):
42964 2011-03-03 Alexey Proskuryakov <ap@apple.com>
42966 Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
42969 * src/ChromeClientImpl.h:
42971 2011-03-02 Alexey Proskuryakov <ap@apple.com>
42973 Reviewed by Darin Adler.
42975 REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
42976 https://bugs.webkit.org/show_bug.cgi?id=55633
42977 <rdar://problem/8963023>
42979 * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::keyboardUIMode):
42980 * src/ChromeClientImpl.h:
42981 Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
42982 this platform doesn't observe or have full keyboard access state.
42984 2011-03-03 Sheriff Bot <webkit.review.bot@gmail.com>
42986 Unreviewed, rolling out r80219.
42987 http://trac.webkit.org/changeset/80219
42988 https://bugs.webkit.org/show_bug.cgi?id=55680
42990 "Causes several media test crashes" (Requested by tonyg-cr on
42993 * src/AssociatedURLLoader.cpp:
42994 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
42995 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
42996 (WebKit::AssociatedURLLoader::loadSynchronously):
42997 (WebKit::AssociatedURLLoader::loadAsynchronously):
42998 (WebKit::AssociatedURLLoader::cancel):
42999 (WebKit::AssociatedURLLoader::setDefersLoading):
43000 (WebKit::AssociatedURLLoader::prepareRequest):
43001 (WebKit::AssociatedURLLoader::willSendRequest):
43002 (WebKit::AssociatedURLLoader::didSendData):
43003 (WebKit::AssociatedURLLoader::didReceiveResponse):
43004 (WebKit::AssociatedURLLoader::didDownloadData):
43005 (WebKit::AssociatedURLLoader::didReceiveData):
43006 (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
43007 (WebKit::AssociatedURLLoader::didFinishLoading):
43008 (WebKit::AssociatedURLLoader::didFail):
43009 * src/AssociatedURLLoader.h:
43011 2011-03-03 Dominic Mazzoni <dmazzoni@google.com>
43013 Reviewed by Dimitri Glazkov.
43015 Add an equals() method to WebAccessibilityObject.
43016 https://bugs.webkit.org/show_bug.cgi?id=55631
43018 * public/WebAccessibilityObject.h:
43019 * src/WebAccessibilityObject.cpp:
43020 (WebKit::WebAccessibilityObject::equals):
43022 2011-03-03 Pavel Podivilov <podivilov@chromium.org>
43024 Reviewed by Yury Semikhatsky.
43026 Web Inspector: make selected call frame debugger presentation model property.
43027 https://bugs.webkit.org/show_bug.cgi?id=55582
43031 2011-03-03 Bill Budge <bbudge@chromium.org>
43033 Reviewed by David Levin.
43035 AssociatedURLLoader does not support Cross Origin Requests
43036 https://bugs.webkit.org/show_bug.cgi?id=53925
43038 No tests needed. Exposes no new functionality.
43040 * src/AssociatedURLLoader.cpp:
43041 (WebKit::AssociatedURLLoader::ClientAdapter::create):
43042 (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
43043 (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
43044 (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
43045 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
43046 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
43047 (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
43048 (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
43049 (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
43050 (WebKit::AssociatedURLLoader::AssociatedURLLoader):
43051 (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
43052 (WebKit::AssociatedURLLoader::loadSynchronously):
43053 (WebKit::AssociatedURLLoader::loadAsynchronously):
43054 (WebKit::AssociatedURLLoader::cancel):
43055 (WebKit::AssociatedURLLoader::setDefersLoading):
43056 * src/AssociatedURLLoader.h:
43057 (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
43059 2011-03-03 Steve Lacey <sjl@chromium.org>
43061 Reviewed by Darin Fisher.
43063 Wire up webkit metrics changes to chromium changes.
43064 https://bugs.webkit.org/show_bug.cgi?id=54580
43067 * public/WebMediaPlayer.h:
43068 * src/WebMediaPlayerClientImpl.cpp:
43069 (WebKit::WebMediaPlayerClientImpl::decodedFrameCount):
43070 (WebKit::WebMediaPlayerClientImpl::droppedFrameCount):
43071 (WebKit::WebMediaPlayerClientImpl::audioDecodedByteCount):
43072 (WebKit::WebMediaPlayerClientImpl::videoDecodedByteCount):
43073 * src/WebMediaPlayerClientImpl.h:
43075 2011-03-02 Daniel Cheng <dcheng@chromium.org>
43077 Reviewed by David Levin.
43079 Manually revert ChromiumDataObject changes.
43080 https://bugs.webkit.org/show_bug.cgi?id=55627
43082 * public/WebView.h:
43083 * src/WebDragData.cpp:
43084 (WebKit::WebDragData::initialize):
43085 * src/WebViewImpl.cpp:
43086 (WebKit::WebViewImpl::dragTargetDragEnter):
43087 * src/WebViewImpl.h:
43089 2011-03-02 David Grogan <dgrogan@chromium.org>
43091 Reviewed by Jeremy Orlow.
43093 IndexedDB: fire versionchange events when calling setVersion
43094 https://bugs.webkit.org/show_bug.cgi?id=55095
43097 * src/IDBDatabaseCallbacksProxy.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
43098 (WebCore::IDBDatabaseCallbacksProxy::create):
43099 (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
43100 (WebCore::IDBDatabaseCallbacksProxy::~IDBDatabaseCallbacksProxy):
43101 (WebCore::IDBDatabaseCallbacksProxy::onVersionChange):
43102 * src/IDBDatabaseCallbacksProxy.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
43103 * src/IDBDatabaseProxy.cpp:
43104 (WebCore::IDBDatabaseProxy::setVersion):
43105 (WebCore::IDBDatabaseProxy::close):
43106 (WebCore::IDBDatabaseProxy::open):
43107 * src/IDBDatabaseProxy.h:
43108 * src/WebIDBDatabaseCallbacksImpl.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.cpp.
43109 (WebCore::WebIDBDatabaseCallbacksImpl::WebIDBDatabaseCallbacksImpl):
43110 (WebCore::WebIDBDatabaseCallbacksImpl::~WebIDBDatabaseCallbacksImpl):
43111 (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
43112 * src/WebIDBDatabaseCallbacksImpl.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
43113 * src/WebIDBDatabaseImpl.cpp:
43114 (WebKit::WebIDBDatabaseImpl::setVersion):
43115 (WebKit::WebIDBDatabaseImpl::close):
43116 (WebKit::WebIDBDatabaseImpl::open):
43117 * src/WebIDBDatabaseImpl.h:
43119 2011-03-02 Sheriff Bot <webkit.review.bot@gmail.com>
43121 Unreviewed, rolling out r80139.
43122 http://trac.webkit.org/changeset/80139
43123 https://bugs.webkit.org/show_bug.cgi?id=55620
43125 failing and crashing tests on Snow Leopard bot (Requested by
43126 mihaip1 on #webkit).
43128 * public/WebGeolocationClientMock.h:
43129 * src/WebGeolocationClientMock.cpp:
43131 2011-03-02 Daniel Cheng <dcheng@chromium.org>
43133 Revert frame-specific WebClipboard changes
43134 https://bugs.webkit.org/show_bug.cgi?id=55617
43136 This code is no longer needed since we've decided to use the original
43137 approach to copy/paste drag/drop handling in ClipboardChromium.
43139 * public/WebFrameClient.h:
43140 * src/PlatformBridge.cpp:
43141 (WebCore::PlatformBridge::clipboardReadAvailableTypes):
43142 (WebCore::PlatformBridge::clipboardReadData):
43143 (WebCore::PlatformBridge::clipboardReadFilenames):
43144 * src/WebFrameImpl.cpp:
43145 (WebKit::WebFrameImpl::fromFrame):
43146 * src/WebFrameImpl.h:
43147 * src/WebViewImpl.cpp:
43148 (WebKit::WebViewImpl::dragTargetDragEnterNew):
43150 2011-03-02 Tony Chang <tony@chromium.org>
43152 Unreviewed, rolling chromium DEPS to r76362.
43154 https://bugs.webkit.org/show_bug.cgi?id=55564
43158 2011-02-28 Jeremy Orlow <jorlow@chromium.org>
43160 Reviewed by James Robinson.
43162 Split IDBCursor.value into IDBCursor.primaryKey and IDBCursor.value
43163 https://bugs.webkit.org/show_bug.cgi?id=55443
43165 * public/WebIDBCursor.h:
43166 (WebKit::WebIDBCursor::primaryKey):
43167 (WebKit::WebIDBCursor::value):
43168 * src/IDBCursorBackendProxy.cpp:
43169 (WebCore::IDBCursorBackendProxy::primaryKey):
43170 (WebCore::IDBCursorBackendProxy::value):
43171 * src/IDBCursorBackendProxy.h:
43172 * src/WebIDBCursorImpl.cpp:
43173 (WebKit::WebIDBCursorImpl::key):
43174 (WebKit::WebIDBCursorImpl::primaryKey):
43175 (WebKit::WebIDBCursorImpl::value):
43176 * src/WebIDBCursorImpl.h:
43178 2011-03-02 Daniel Cheng <dcheng@chromium.org>
43180 Reviewed by David Levin.
43182 Add feature define for data transfer items
43183 https://bugs.webkit.org/show_bug.cgi?id=55510
43187 2011-01-26 John Knottenbelt <jknotten@chromium.org>
43189 Detach Geolocation from Frame when Page destroyed.
43190 https://bugs.webkit.org/show_bug.cgi?id=52877
43192 Add accessors to the WebGeolocationClientMock to allow the number of
43193 pending geolocation permission requests to be queried.
43195 * public/WebGeolocationClientMock.h:
43196 * src/WebGeolocationClientMock.cpp:
43197 (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
43199 2011-03-01 David Grogan <dgrogan@chromium.org>
43201 Reviewed by Jeremy Orlow.
43203 IndexedDB: public webkit interfaces for firing versionchange events to IDBDatabase objects
43204 https://bugs.webkit.org/show_bug.cgi?id=55548
43207 * public/WebIDBDatabase.h:
43208 (WebKit::WebIDBDatabase::createObjectStore):
43209 (WebKit::WebIDBDatabase::open):
43210 * public/WebIDBDatabaseCallbacks.h: Added.
43211 (WebKit::WebIDBDatabaseCallbacks::~WebIDBDatabaseCallbacks):
43212 (WebKit::WebIDBDatabaseCallbacks::onVersionChange):
43214 2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>
43216 Unreviewed, rolling out r80079.
43217 http://trac.webkit.org/changeset/80079
43218 https://bugs.webkit.org/show_bug.cgi?id=55547
43220 "Broke the Win debug build?" (Requested by dcheng on #webkit).
43224 2011-03-01 Daniel Cheng <dcheng@chromium.org>
43226 Reviewed by David Levin.
43228 Add feature define for data transfer items
43229 https://bugs.webkit.org/show_bug.cgi?id=55510
43233 2011-03-01 Jeremy Orlow <jorlow@chromium.org>
43235 Reviewed by James Robinson.
43237 Add a primaryKey method to IDBCursor
43238 https://bugs.webkit.org/show_bug.cgi?id=55518
43240 In prep for https://bugs.webkit.org/show_bug.cgi?id=55443
43242 * public/WebIDBCursor.h:
43243 (WebKit::WebIDBCursor::primaryKey):
43245 2011-02-28 Chang Shu <cshu@webkit.org>
43247 Reviewed by Ryosuke Niwa.
43249 Remove the support of Frame::isContentEditable and its dependencies.
43250 https://bugs.webkit.org/show_bug.cgi?id=54292
43252 Remove the WebKit side implementation.
43254 * src/EditorClientImpl.cpp:
43255 * src/EditorClientImpl.h:
43257 2011-02-28 Avi Drissman <avi@google.com>
43259 Reviewed by James Robinson.
43261 WebCursorInfo needs to match enums in platform/Cursor.h
43262 https://bugs.webkit.org/show_bug.cgi?id=55094
43264 * public/WebCursorInfo.h:
43265 * src/AssertMatchingEnums.cpp:
43267 2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
43269 Unreviewed, rolling out r78789.
43270 http://trac.webkit.org/changeset/78789
43271 https://bugs.webkit.org/show_bug.cgi?id=55409
43273 Incorrect canvas fallback implementation (Requested by
43274 inferno-sec on #webkit).
43276 * public/WebAccessibilityRole.h:
43277 * src/AssertMatchingEnums.cpp:
43279 2011-02-28 Adam Klein <adamk@chromium.org>
43281 Reviewed by Adam Barth.
43283 [fileapi] Implement LocalFileSystem.resolveLocalFileSystemURI
43284 https://bugs.webkit.org/show_bug.cgi?id=54774
43286 * src/LocalFileSystemChromium.cpp:
43287 (WebCore::LocalFileSystem::readFileSystem):
43288 Removed size argument to readFileSystem()
43290 2011-02-27 Pavel Feldman <pfeldman@chromium.org>
43292 Reviewed by Darin Fisher.
43294 Pass frame history state in the context menu parameters.
43295 https://bugs.webkit.org/show_bug.cgi?id=55232
43297 * public/WebContextMenuData.h:
43298 * src/ContextMenuClientImpl.cpp:
43299 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
43301 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
43303 Reviewed by Pavel Feldman.
43305 DumpRenderTree should reset frame opener between tests.
43306 https://bugs.webkit.org/show_bug.cgi?id=54874
43308 Added clearOpener method to WebFrame.
43310 * public/WebFrame.h:
43311 * src/WebFrameImpl.cpp:
43312 (WebKit::WebFrameImpl::clearOpener):
43313 * src/WebFrameImpl.h:
43315 2011-02-26 Pavel Feldman <pfeldman@chromium.org>
43317 Not reviewed: rolling chromium DEPS.
43321 2011-02-26 Bill Budge <bbudge@chromium.org>
43323 Reviewed by David Levin.
43325 WebURLRequest, WebURLResponse properties should be passed to WebCore Layer
43326 https://bugs.webkit.org/show_bug.cgi?id=54489
43328 No tests needed. This is already tested by ui_tests, nacl_ui_tests, and nacl_sandbox_tests
43330 * src/WebURLRequest.cpp:
43331 (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
43332 (WebKit::WebURLRequest::downloadToFile):
43333 (WebKit::WebURLRequest::setDownloadToFile):
43334 * src/WebURLRequestPrivate.h:
43335 (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
43336 * src/WebURLResponse.cpp:
43337 (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
43338 (WebKit::WebURLResponse::downloadFilePath):
43339 (WebKit::WebURLResponse::setDownloadFilePath):
43340 * src/WebURLResponsePrivate.h:
43342 2011-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
43344 Unreviewed, rolling out r79764.
43345 http://trac.webkit.org/changeset/79764
43346 https://bugs.webkit.org/show_bug.cgi?id=55295
43348 "broke Chromium builds" (Requested by rniwa on #webkit).
43350 * public/WebFrame.h:
43351 * src/WebFrameImpl.cpp:
43352 * src/WebFrameImpl.h:
43354 2011-02-26 David Dorwin <ddorwin@chromium.org>
43356 Reviewed by Darin Fisher.
43358 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.
43360 fullscreen javascript bindings not implemented for v8
43361 https://bugs.webkit.org/show_bug.cgi?id=44797
43364 * public/WebSettings.h:
43365 * src/ChromeClientImpl.cpp:
43366 (WebKit::ChromeClientImpl::supportsFullScreenForElement):
43367 (WebKit::ChromeClientImpl::enterFullScreenForElement):
43368 (WebKit::ChromeClientImpl::exitFullScreenForElement):
43369 (WebKit::ChromeClientImpl::fullScreenRendererChanged):
43370 * src/ChromeClientImpl.h:
43371 * src/WebSettingsImpl.cpp:
43372 (WebKit::WebSettingsImpl::setFullScreenEnabled):
43373 * src/WebSettingsImpl.h:
43375 2011-02-26 John Mellor <johnme@chromium.org>
43377 Reviewed by Antonio Gomes.
43379 [chromium] WebFrameImpl::m_totalMatchCount should be an int
43380 https://bugs.webkit.org/show_bug.cgi?id=55134
43382 WebFrameImpl::m_totalMatchCount should be an int instead of a size_t since it can be -1.
43384 * src/WebFrameImpl.h:
43386 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
43388 Reviewed by Pavel Feldman.
43390 DumpRenderTree should reset frame opener between tests.
43391 https://bugs.webkit.org/show_bug.cgi?id=54874
43393 Added clearOpener method to WebFrame.
43395 * public/WebFrame.h:
43396 * src/WebFrameImpl.cpp:
43397 (WebKit::WebFrameImpl::clearOpener):
43398 * src/WebFrameImpl.h:
43400 2011-02-25 Tony Chang <tony@chromium.org>
43402 Roll chromium deps to include RBGToHSL fix and ICU update.
43406 2011-02-15 Brett Wilson <brettw@chromium.org>
43408 Reviewed by Darin Fisher.
43410 Recover the mouse capture state when we recieve a mouse event where there is no longer a button down.
43411 https://bugs.webkit.org/show_bug.cgi?id=54503
43413 * src/WebViewImpl.cpp:
43414 (WebKit::WebViewImpl::handleInputEvent):
43416 2011-02-24 James Robinson <jamesr@chromium.org>
43418 Reviewed by Darin Fisher.
43420 Add a USE() macro to control use of the built-in UTF8 codec
43421 https://bugs.webkit.org/show_bug.cgi?id=55189
43423 Defaults USE(BUILTIN_UTF8_CODEC) to true for the Chromium port.
43427 2011-02-24 James Kozianski <koz@chromium.org>
43429 Reviewed by Ojan Vafai.
43431 Add missing plumbing for registerProtocolHandler in ChromeClientImpl.
43432 https://bugs.webkit.org/show_bug.cgi?id=55112
43434 * src/ChromeClientImpl.cpp:
43435 (WebKit::ChromeClientImpl::registerProtocolHandler):
43437 2011-02-24 James Robinson <jamesr@chromium.org>
43439 Unreviewed, rolling out r79584.
43440 http://trac.webkit.org/changeset/79584
43441 https://bugs.webkit.org/show_bug.cgi?id=44797
43443 [chromium] Patch does not compile if ENABLE_FULLSCREEN_API is
43447 * public/WebSettings.h:
43448 * src/ChromeClientImpl.cpp:
43449 * src/ChromeClientImpl.h:
43450 * src/WebSettingsImpl.cpp:
43451 * src/WebSettingsImpl.h:
43453 2011-02-24 Andrew Wilson <atwilson@chromium.org>
43455 Unreviewed, rolling out r79570.
43456 http://trac.webkit.org/changeset/79570
43457 https://bugs.webkit.org/show_bug.cgi?id=54874
43459 Breaks chromium build because glue/mocks/mock_web_frame.h/cc
43462 * public/WebFrame.h:
43463 * src/WebFrameImpl.cpp:
43464 * src/WebFrameImpl.h:
43466 2011-02-24 David Dorwin <ddorwin@chromium.org>
43468 Reviewed by Eric Seidel.
43470 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.
43472 fullscreen javascript bindings not implemented for v8
43473 https://bugs.webkit.org/show_bug.cgi?id=44797
43476 * public/WebSettings.h:
43477 * src/ChromeClientImpl.cpp:
43478 (WebKit::ChromeClientImpl::supportsFullScreenForElement):
43479 (WebKit::ChromeClientImpl::enterFullScreenForElement):
43480 (WebKit::ChromeClientImpl::exitFullScreenForElement):
43481 (WebKit::ChromeClientImpl::fullScreenRendererChanged):
43482 * src/ChromeClientImpl.h:
43483 * src/WebSettingsImpl.cpp:
43484 (WebKit::WebSettingsImpl::setFullScreenEnabled):
43485 * src/WebSettingsImpl.h:
43487 2011-02-24 Patrick Gansterer <paroga@webkit.org>
43489 Reviewed by Eric Seidel.
43491 Rename PLATFORM(SKIA) to USE(SKIA)
43492 https://bugs.webkit.org/show_bug.cgi?id=55090
43494 * src/GraphicsContext3DChromium.cpp:
43495 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
43496 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
43497 * src/GraphicsContext3DInternal.h:
43498 * src/WebViewImpl.cpp:
43499 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
43501 2011-02-24 Vsevolod Vlasov <vsevik@chromium.org>
43503 Reviewed by Alexey Proskuryakov.
43505 DumpRenderTree should reset frame opener between tests.
43506 https://bugs.webkit.org/show_bug.cgi?id=54874
43508 Added clearOpener method to WebFrame.
43510 * public/WebFrame.h:
43511 * src/WebFrameImpl.cpp:
43512 (WebKit::WebFrameImpl::clearOpener):
43513 * src/WebFrameImpl.h:
43515 2011-02-24 Adam Klein <adamk@chromium.org>
43517 Reviewed by Darin Fisher.
43519 [chromium] Add code to WebKit Chromium to allow access to NetworkStateNotifier
43520 https://bugs.webkit.org/show_bug.cgi?id=54516
43522 Add a new WebNetworkStateNotifier class with a single static method,
43523 setOnLine(), which dispatches to WebCore's singleton NetworkStateNotifier.
43526 * public/WebNetworkStateNotifier.h: Added.
43527 * src/WebNetworkStateNotifier.cpp: Added.
43528 (WebKit::WebNetworkStateNotifier::setOnLine):
43530 2011-02-24 Robert Kroeger <rjkroege@chromium.org>
43532 Reviewed by Darin Fisher.
43534 Added timestamps to PlatformTouchEvent etc.
43536 PlatformTouchEvent doesn't have a timestamp and so
43537 eventSender.leapForward cannot be used for touchevent based tests.
43538 This change constructs PlatformTouchEvents with timestamps
43539 provided from a WebTouchEvent on chromium. It also adds an enum
43540 to make code referring to specific WebTouchPoints easier to read.
43542 [chromium] [WebCore] [android] Touch events are missing time stamps
43543 https://bugs.webkit.org/show_bug.cgi?id=53510
43545 * public/WebTouchPoint.h:
43546 (WebKit::WebTouchPoint::WebTouchPoint):
43547 * src/WebInputEventConversion.cpp:
43548 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
43550 2011-02-23 Adam Barth <abarth@webkit.org>
43552 Reviewed by James Robinson.
43554 [Chromium] Use WebKitClient for OSRandomSource instead of trying to talk to the file system in the sandbox
43555 https://bugs.webkit.org/show_bug.cgi?id=55093
43557 We need to get OS randomness from the WebKit client rather than try to
43558 get it from /dev/urandom directly because WebKit doesn't have access to
43559 the file system when running inside the Chromium sandbox.
43562 * src/ChromiumOSRandomSource.cpp: Added.
43564 2011-02-23 Adam Barth <abarth@webkit.org>
43566 Reviewed by James Robinson.
43569 https://bugs.webkit.org/show_bug.cgi?id=55096
43571 Rolling to the future, like a truck.
43575 2011-02-23 Adam Barth <abarth@webkit.org>
43577 Reviewed by Darin Fisher.
43579 [Chromium] Add WebKitClient::cryptographicallyRandomValues
43580 https://bugs.webkit.org/show_bug.cgi?id=55073
43582 This patch adds a WebKit client API to get cryptographic randomness.
43583 We'll use this API to gather seed randomness while inside the sandbox.
43585 * public/WebKitClient.h:
43586 (WebKit::WebKitClient::cryptographicallyRandomValues):
43588 2011-02-23 Kenneth Russell <kbr@google.com>
43590 Unreviewed, rolling out r79387.
43591 https://bugs.webkit.org/show_bug.cgi?id=54885
43593 Reapply the code changes from r79038 since they weren't the root
43594 cause of the test timeouts.
43597 (WebKit::initialize):
43599 2011-02-23 Takashi Toyoshima <toyoshim@chromium.org>
43601 Reviewed by Shinichiro Hamaji.
43603 [chromium] Control-Up/Down should be PageUp/Down on Mac.
43604 https://bugs.webkit.org/show_bug.cgi?id=54606
43606 * src/WebViewImpl.cpp:
43607 (WebKit::WebViewImpl::scrollViewWithKeyboard):
43609 2011-02-22 Kenneth Russell <kbr@google.com>
43611 Reviewed by James Robinson.
43613 Many tests started timing out on the chrome mac canaries around r79035
43614 https://bugs.webkit.org/show_bug.cgi?id=54885
43616 Revert the code changes, but not the Chromium DEPS roll, from
43617 r79038 to see whether this clears up the timing-out tests. Was not
43618 able to reproduce the timeouts locally with a Release mode build
43619 of DRT (on Snow Leopard).
43622 (WebKit::initialize):
43624 2011-02-21 Nico Weber <thakis@chromium.org>
43626 Reviewed by James Robinson.
43628 [chromium] WebWorkerBase::openFileSystem confuses clang's -Woverloaded-virtual
43629 https://bugs.webkit.org/show_bug.cgi?id=54920
43631 Rename WebWorkerBase::openFileSystem() to openFileSystemForWorker() to
43632 make it obvious it's not an override of
43633 WebFrameClient::openFileSystem().
43635 Remove a failed attempt to override it in WebWorkerClientImpl (the
43636 override didn't change the behavior).
43638 No intended functionality change.
43640 * src/LocalFileSystemChromium.cpp:
43641 (WebCore::LocalFileSystem::requestFileSystem):
43643 * src/WebWorkerBase.cpp:
43644 (WebKit::WebWorkerBase::openFileSystemForWorker):
43645 Rename openFileSystem() to openFileSystemForWorker().
43646 * src/WebWorkerBase.h:
43647 Rename openFileSystem() to openFileSystemForWorker().
43648 * src/WebWorkerClientImpl.h:
43649 (WebKit::WebWorkerClientImpl::allowDatabase):
43650 Remove unsuccessful (and pointless) override.
43652 2011-02-22 Ilya Tikhonovsky <loislo@chromium.org>
43654 Reviewed by Pavel Feldman.
43656 Web Inspector: flakyness of inspector tests.
43657 https://bugs.webkit.org/show_bug.cgi?id=54729
43659 As far as we have the protocol with sequence numbers we can simplify test harness support
43660 and drop out chomium specific methods.
43662 * src/js/DevTools.js:
43664 2011-02-21 Pavel Podivilov <podivilov@chromium.org>
43666 Reviewed by Pavel Feldman.
43668 Web Inspector: move source mapping from SourceFrame to ScriptsPanel.
43669 https://bugs.webkit.org/show_bug.cgi?id=54645
43672 (.TestSuite.prototype._checkExecutionLine):
43674 2011-02-21 Nico Weber <thakis@chromium.org>
43676 Reviewed by James Robinson.
43678 [chromium] PopupContainer::show() confuses clang's -Woverloaded-virtual
43679 https://bugs.webkit.org/show_bug.cgi?id=54923
43681 Rename PopupContainer::show() to showInRect(), to make it obvious it's
43682 not an override of ScrollView::show().
43684 No intended functionality change.
43686 * src/WebViewImpl.cpp:
43687 (WebKit::WebViewImpl::applyAutoFillSuggestions):
43689 2011-02-21 Nico Weber <thakis@chromium.org>
43691 Reviewed by Kent Tamura.
43693 [chromium] ChromePluginPrintContext::begin() fails to override superclass method
43694 https://bugs.webkit.org/show_bug.cgi?id=54914
43696 Update subclass method signature to match superclass again. This
43697 regressed in http://trac.webkit.org/changeset/71964
43699 * src/WebFrameImpl.cpp:
43700 (WebKit::ChromePluginPrintContext::begin):
43702 2011-02-17 Ryosuke Niwa <rniwa@webkit.org>
43704 Reviewed by Kent Tamura.
43706 Rename Position::node() to Position::deprecatedNode()
43707 https://bugs.webkit.org/show_bug.cgi?id=54622
43709 Done the rename. All calls to node() are replaced by calls to deprecatedNode().
43711 * src/WebViewImpl.cpp:
43712 (WebKit::WebViewImpl::setComposition): Check the nullity of startContainer() instead of startPosition()->node().
43713 (WebKit::WebViewImpl::confirmComposition): Ditto.
43714 (WebKit::WebViewImpl::textInputType):
43715 (WebKit::WebViewImpl::caretOrSelectionBounds):
43717 2011-02-19 Brian Ryner <bryner@chromium.org>
43719 Reviewed by Adam Barth.
43721 Add missing #includes of DocumentLoader.h, needed since the transitive
43722 include through Document.h is removed.
43723 https://bugs.webkit.org/show_bug.cgi?id=50489
43725 * src/WebPageSerializerImpl.cpp:
43726 * src/WebSearchableFormData.cpp:
43728 2011-02-19 Charlie Reis <creis@chromium.org>
43730 Reviewed by Mihai Parparita.
43732 Ensure loading has stopped in HistoryController::goToItem
43733 https://bugs.webkit.org/show_bug.cgi?id=54517
43735 Call Page::goToItem instead of HistoryController::goToItem, so that
43736 FrameLoader::stopAllLoaders is called first. Also adds a callback in
43737 FrameLoaderClient for checking for pseudo-back-forward URLs.
43739 Test: http/tests/navigation/forward-to-fragment-fires-onload.html
43741 * src/FrameLoaderClientImpl.cpp:
43742 (WebKit::FrameLoaderClientImpl::shouldStopLoadingForHistoryItem): Added.
43743 * src/FrameLoaderClientImpl.h:
43744 * src/WebFrameImpl.cpp:
43746 2011-02-18 Dominic Mazzoni <dmazzoni@google.com>
43748 Reviewed by Dimitri Glazkov.
43750 Marks any actions triggered by performDefaultAction as a user
43751 gesture, so that a user with a screen reader isn't prevented from
43752 performing operations that must be triggered by a user gesture.
43753 https://bugs.webkit.org/show_bug.cgi?id=54759
43755 * src/WebAccessibilityObject.cpp:
43756 (WebKit::WebAccessibilityObject::performDefaultAction):
43758 2011-02-18 Kenneth Russell <kbr@google.com>
43760 Reviewed by James Robinson.
43762 [chromium] Clean up initialization of minimum timer interval
43763 https://bugs.webkit.org/show_bug.cgi?id=54772
43765 Rolled forward Chromium DEPS to pick up new webkit_support entry
43766 point. Removed setting of default minimum timer interval, as this
43767 is now done every time WebPreferences are applied.
43769 Tested with Chromium DRT port built from WebKit workspace; ran
43770 fast/dom/ layout tests.
43774 (WebKit::initialize):
43776 2011-02-18 Ben Vanik <benvanik@google.com>
43778 Reviewed by Kenneth Russell.
43780 Bug 53940: Implement the OES_vertex_array_object WebGL extension
43781 https://bugs.webkit.org/show_bug.cgi?id=53940
43783 Stubbed out methods for the new OES_vertex_array_object methods.
43785 * src/Extensions3DChromium.cpp:
43786 (WebCore::Extensions3DChromium::createVertexArrayOES):
43787 (WebCore::Extensions3DChromium::deleteVertexArrayOES):
43788 (WebCore::Extensions3DChromium::isVertexArrayOES):
43789 (WebCore::Extensions3DChromium::bindVertexArrayOES):
43791 2011-02-17 Yuzo Fujishima <yuzo@google.com>
43793 Reviewed by Shinichiro Hamaji.
43795 Retry landing after fixing Chromium side.
43796 Fix for Bug 54632 - [chromium] Printing causes view to scroll
43797 https://bugs.webkit.org/show_bug.cgi?id=54632
43799 Expose setScrollOffset such that Chromium can restore the scroll offset
43800 after printing the document. The bug will be fixed when the counterpart
43801 patch http://codereview.chromium.org/6539011/ is landed for Chromium.
43803 * public/WebFrame.h:
43804 * src/WebFrameImpl.cpp:
43805 (WebKit::WebFrameImpl::setScrollOffset):
43806 * src/WebFrameImpl.h:
43808 2011-02-17 Andrew Wilson <atwilson@chromium.org>
43810 Unreviewed, rolling out r78936.
43811 http://trac.webkit.org/changeset/78936
43812 https://bugs.webkit.org/show_bug.cgi?id=54632
43814 Breaks chromium build
43816 * public/WebFrame.h:
43817 * src/WebFrameImpl.cpp:
43818 * src/WebFrameImpl.h:
43820 2011-02-17 Yuzo Fujishima <yuzo@google.com>
43822 Reviewed by Shinichiro Hamaji.
43824 Fix for Bug 54632 - [chromium] Printing causes view to scroll
43825 https://bugs.webkit.org/show_bug.cgi?id=54632
43827 Expose setScrollOffset such that Chromium can restore the scroll offset
43828 after printing the document. The bug will be fixed when the counterpart
43829 patch http://codereview.chromium.org/6539011/ is landed for Chromium.
43831 * public/WebFrame.h:
43832 * src/WebFrameImpl.cpp:
43833 (WebKit::WebFrameImpl::setScrollOffset):
43834 * src/WebFrameImpl.h:
43836 2011-02-17 W. James MacLean <wjmaclean@chromium.org>
43838 Reviewed by James Robinson.
43840 [chromium] Add command-line flag to enable composite to offscreen texture.
43841 https://bugs.webkit.org/show_bug.cgi?id=52311
43843 Add plumbing to allow command-line switch to enable offscreen compositing. Function
43844 LayerRendererChromium::copyOffscreenTextureToDisplay used for now to mimic
43845 normal renderer operation.
43847 * public/WebSettings.h:
43848 * src/WebSettingsImpl.cpp:
43849 (WebKit::WebSettingsImpl::WebSettingsImpl):
43850 (WebKit::WebSettingsImpl::setCompositeToTextureEnabled):
43851 * src/WebSettingsImpl.h:
43852 (WebKit::WebSettingsImpl::compositeToTextureEnabled):
43853 * src/WebViewImpl.cpp:
43854 (WebKit::WebViewImpl::doComposite):
43856 2011-02-10 Luiz Agostini <luiz.agostini@openbossa.org>
43858 Reviewed by Adam Roben.
43860 HTML5 <details> and <summary>: localized text
43861 https://bugs.webkit.org/show_bug.cgi?id=54260
43863 The method defaultDetailsSummaryText was added to LocalizedStrings. It is used to provide
43864 the default label to be used by a <details> tag that has no <summary> child.
43866 * src/LocalizedStrings.cpp:
43867 (WebCore::defaultDetailsSummaryText):
43869 2011-02-17 Steve Lacey <sjl@chromium.org>
43871 Reviewed by Darin Fisher.
43873 Roll chromium deps to 75190. Includes new dependency
43876 https://bugs.webkit.org/show_bug.cgi?id=54588
43880 2011-02-17 Pavel Podivilov <podivilov@chromium.org>
43882 Unreviewed, interactive ui test fix for r78808.
43885 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
43886 (.TestSuite.prototype._waitUntilScriptsAreParsed):
43888 2011-02-16 Brian Ryner <bryner@chromium.org>
43890 Reviewed by Darin Fisher.
43892 Split the socket address field into separate IP address and port fields.
43893 This will make the field less error-prone to parse, for example when
43894 dealing with IPv6 literals.
43895 https://bugs.webkit.org/show_bug.cgi?id=54607
43897 * public/WebURLResponse.h:
43898 * src/WebURLResponse.cpp:
43899 (WebKit::WebURLResponse::remoteIPAddress):
43900 (WebKit::WebURLResponse::setRemoteIPAddress):
43901 (WebKit::WebURLResponse::remotePort):
43902 (WebKit::WebURLResponse::setRemotePort):
43904 2011-02-16 Dominic Mazzoni <dmazzoni@google.com>
43906 Reviewed by Chris Fleizach.
43908 Add new role for canvas elements.
43910 https://bugs.webkit.org/show_bug.cgi?id=50126
43912 * public/WebAccessibilityRole.h:
43913 * src/AssertMatchingEnums.cpp:
43915 2011-02-16 Victoria Kirst <vrk@google.com>
43917 Reviewed by Kenneth Russell.
43919 [chromium] Fix green pixels at edge of certain GPU-accelerated videos
43920 https://bugs.webkit.org/show_bug.cgi?id=54559
43922 * src/VideoFrameChromiumImpl.cpp:
43923 (WebKit::VideoFrameChromiumImpl::width):
43924 (WebKit::VideoFrameChromiumImpl::height):
43925 (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
43926 (WebKit::VideoFrameChromiumImpl::hasPaddingBytes):
43927 * src/VideoFrameChromiumImpl.h:
43929 2011-02-16 Jeremy Orlow <jorlow@chromium.org>
43931 Back out IndexedDB change thats no longer necessary
43932 https://bugs.webkit.org/show_bug.cgi?id=54603
43934 Backing out 78645 as it turns out that it's not necessary.
43936 * public/WebIDBFactory.h:
43937 (WebKit::WebIDBFactory::open):
43938 * src/AssertMatchingEnums.cpp:
43939 * src/IDBFactoryBackendProxy.cpp:
43940 * src/IDBFactoryBackendProxy.h:
43941 * src/WebIDBFactoryImpl.cpp:
43942 (WebKit::WebIDBFactoryImpl::open):
43943 * src/WebIDBFactoryImpl.h:
43945 2011-02-16 David Grogan <dgrogan@chromium.org>
43947 Reviewed by Jeremy Orlow.
43949 indexeddb: make setVersion fire blocked event if other connections are open
43950 https://bugs.webkit.org/show_bug.cgi?id=53728
43952 * src/IDBCallbacksProxy.cpp:
43953 (WebCore::IDBCallbacksProxy::onBlocked):
43954 * src/IDBCallbacksProxy.h:
43955 * src/WebIDBCallbacksImpl.cpp:
43956 (WebCore::WebIDBCallbacksImpl::onBlocked):
43957 * src/WebIDBCallbacksImpl.h:
43959 == Rolled over to ChangeLog-2011-02-16 ==