[Release] Webkit2-efl-123997_0.11.86
[framework/web/webkit-efl.git] / Source / WebKit / chromium / ChangeLog-2012-05-22
1 2012-05-22  Daniel Sievers  <sievers@chromium.org>
2
3         [Chromium] Fix tests being flaky when multiple draws occur in between commits
4         https://bugs.webkit.org/show_bug.cgi?id=83935
5
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).
12
13         Reviewed by Adrienne Walker.
14
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):
24
25 2012-05-22  Ian Vollick  <vollick@chromium.org>
26
27         [chromium] Move asserts in CCLayerTreeHostTest::dispatch*
28         https://bugs.webkit.org/show_bug.cgi?id=87134
29
30         Reviewed by Adrienne Walker.
31
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):
42
43 2012-05-22  Dana Jansens  <danakj@chromium.org>
44
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
47
48         Reviewed by Adrienne Walker.
49
50         * tests/CCDamageTrackerTest.cpp:
51         (WebKitTests::TEST_F):
52
53 2012-05-22  David Grogan  <dgrogan@chromium.org>
54
55         IndexedDB: Fire error when there are problems opening a DB
56         https://bugs.webkit.org/show_bug.cgi?id=85579
57
58         Reviewed by Tony Chang.
59
60         * WebKit.gypi:
61         * tests/IDBAbortOnCorruptTest.cpp: Added.
62         (WebCore):
63         (MockIDBCallbacks):
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):
80         (WebCore::TEST):
81         * tests/IDBFakeBackingStore.h: Copied from Source/WebCore/Modules/indexeddb/IDBLevelDBBackingStore.h.
82         (WebCore):
83         (IDBFakeBackingStore):
84
85 2012-05-22  Alexander Pavlov  <apavlov@chromium.org>
86
87         [Chromium] Implement the ContextMenuItem SubMenu type
88         https://bugs.webkit.org/show_bug.cgi?id=86625
89
90         Reviewed by Pavel Feldman.
91
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.
96         (WebKit):
97         (WebKit::ContextMenuClientImpl::populateCustomMenuItems): Consider submenus when populating WebMenuItemInfos.
98
99 2012-05-22  Ian Vollick  <vollick@chromium.org>
100
101         [chromium] Speed up CCLayerTreeHostTestTickAnimationWhileBackgrounded
102         https://bugs.webkit.org/show_bug.cgi?id=86871
103
104         Reviewed by James Robinson.
105
106         Use a shorter time interval for background animation ticking so that
107         unit tests can run faster.
108
109         * tests/CCLayerTreeHostTest.cpp:
110         (WTF::MockLayerTreeHostImpl::lowFrequencyAnimationInterval):
111         (MockLayerTreeHostImpl):
112
113 2012-05-21  Alexandre Elias  <aelias@google.com>
114
115         [chromium] Simplify RTL root layer adjustment
116         https://bugs.webkit.org/show_bug.cgi?id=85672
117
118         Reviewed by Adrienne Walker.
119
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.
124
125         * src/WebViewImpl.cpp:
126         (WebKit::WebViewImpl::updateLayerTreeViewport):
127         * src/WebViewImpl.h:
128         (WebViewImpl):
129
130 2012-05-21  James Robinson  <jamesr@chromium.org>
131
132         Chromium compile fix, unreviewed.
133
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.
136
137         * tests/FilterOperationsTest.cpp:
138         (WebKit::TEST):
139
140 2012-05-21  James Robinson  <jamesr@chromium.org>
141
142         [chromium] Port chromium compositor to use WebFilterOperation(s)
143         https://bugs.webkit.org/show_bug.cgi?id=87046
144
145         Reviewed by Adrienne Walker.
146
147         * WebKit.gypi:
148         * src/AssertMatchingEnums.cpp:
149         * src/WebLayer.cpp:
150         (WebKit::WebLayer::setFilters):
151         (WebKit::WebLayer::setBackgroundFilters):
152         * tests/CCDamageTrackerTest.cpp:
153         (WebKitTests::TEST_F):
154         * tests/CCLayerImplTest.cpp:
155         (WebCore::TEST):
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'
170           behavior matches.
171         (WebKit):
172         (WebKit::TEST):
173         * tests/GraphicsLayerChromiumTest.cpp:
174
175 2012-05-21  Joshua Bell  <jsbell@chromium.org>
176
177         IndexedDB: Store key paths in IDBKeyPath type instead of String
178         https://bugs.webkit.org/show_bug.cgi?id=85298
179
180         Reviewed by Tony Chang, Kentaro Hara and James Robinson.
181
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
184
185         * public/WebIDBDatabase.h: Remove temporary overload.
186         (WebKit):
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
191         (WebIDBKeyPath):
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.
196         (WebKit):
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.
220         (WebIDBIndexImpl):
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):
227         (WebKit):
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):
243         (IDBLevelDBCoding):
244         * tests/IDBKeyPathTest.cpp:
245         (WebCore::checkKeyPath): Test IDBKeyPath validity.
246
247 2012-05-18  Michael Nordman  <michaeln@google.com>
248
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
253         more asynchronously.
254
255         Also clean up from a previous patch, remove support for the DEPRECATED event
256         dispatching API.
257
258         Reviewed by Adam Barth.
259
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:
276         (WebCore):
277         (StorageAreaProxy):
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):
286         * src/WebViewImpl.h:
287
288 2012-05-21  Greg Billock  <gbillock@google.com>
289
290         Add suggestions field to web intents API.
291         https://bugs.webkit.org/show_bug.cgi?id=86791
292
293         Reviewed by Adam Barth.
294
295         * public/WebIntent.h:
296         (WebIntent):
297         * src/WebIntent.cpp:
298         (WebKit::WebIntent::suggestions):
299         (WebKit):
300
301 2012-05-20  Kinuko Yasuda  <kinuko@chromium.org>
302
303         Cleanup: Remove WebCore::revealFolderInOS() which is no longer used anywhere
304         https://bugs.webkit.org/show_bug.cgi?id=86993
305
306         Reviewed by Adam Barth.
307
308         * public/WebFileUtilities.h:
309         (WebFileUtilities):
310         * src/PlatformSupport.cpp:
311
312 2012-05-21  Adam Barth  <abarth@webkit.org>
313
314         [Chromium] Implement WebViewImpl::textInputInfo() for Android
315         https://bugs.webkit.org/show_bug.cgi?id=86440
316
317         Reviewed by Darin Fisher.
318
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.
324
325         * WebKit.gyp:
326         * public/WebTextInputInfo.h: Added.
327         (WebKit):
328         (WebTextInputInfo):
329         (WebKit::WebTextInputInfo::WebTextInputInfo):
330         (WebKit::operator==):
331         (WebKit::operator!=):
332         * public/WebTextInputType.h:
333         * public/WebWidget.h:
334         (WebWidget):
335         (WebKit::WebWidget::textInputInfo):
336         (WebKit::WebWidget::textInputType):
337         * src/WebViewImpl.cpp:
338         (WebKit::WebViewImpl::textInputInfo):
339         (WebKit):
340         (WebKit::WebViewImpl::textInputType):
341         * src/WebViewImpl.h:
342         (WebViewImpl):
343
344 2012-05-21  Sheriff Bot  <webkit.review.bot@gmail.com>
345
346         Unreviewed.  Rolled DEPS.
347
348         * DEPS:
349
350 2012-05-20  Joshua Bell  <jsbell@chromium.org>
351
352         IndexedDB: Delete obsolete Chromium WebKit API method
353         https://bugs.webkit.org/show_bug.cgi?id=86933
354
355         Implementation was previously removed in r17512 and callers are updated.
356
357         Reviewed by Adam Barth.
358
359         * public/WebIDBIndex.h: Delete storeName()
360         (WebKit::WebIDBIndex::name):
361
362 2012-05-19  Sheriff Bot  <webkit.review.bot@gmail.com>
363
364         Unreviewed, rolling out r117675.
365         http://trac.webkit.org/changeset/117675
366         https://bugs.webkit.org/show_bug.cgi?id=86938
367
368         Broke builds. You can't initialize members by members
369         themselves (Requested by rniwa on #webkit).
370
371         * public/WebFrame.h:
372         (WebFrame):
373         * public/WebPlugin.h:
374         (WebPlugin):
375         (WebKit::WebPlugin::printBegin):
376         * public/WebPrintParams.h:
377         * src/WebFrameImpl.cpp:
378         (WebKit):
379         (WebKit::WebFrameImpl::printBegin):
380         * src/WebFrameImpl.h:
381         (WebFrameImpl):
382         * src/WebPluginContainerImpl.cpp:
383         (WebKit::WebPluginContainerImpl::printBegin):
384
385 2012-05-18  Jochen Eisinger  <jochen@chromium.org>
386
387         [chromium] remove obsolete WebViewClient::startDragging version
388         https://bugs.webkit.org/show_bug.cgi?id=86887
389
390         Reviewed by Adam Barth.
391
392         * public/WebViewClient.h:
393         (WebKit::WebViewClient::startDragging):
394
395 2012-05-18  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
396
397         [Chromium] Use overloaded printBegin() webkit API to support auto fit to page functionality.
398         https://bugs.webkit.org/show_bug.cgi?id=86684
399
400         Reviewed by Darin Fisher.
401
402         * public/WebFrame.h:
403         (WebFrame):
404         * public/WebPlugin.h:
405         (WebPlugin):
406         * public/WebPrintParams.h:
407         (WebKit::WebPrintParams::WebPrintParams):
408         (WebPrintParams):
409         * src/WebFrameImpl.cpp:
410         (WebKit):
411         * src/WebFrameImpl.h:
412         (WebFrameImpl):
413         * src/WebPluginContainerImpl.cpp:
414         (WebKit::WebPluginContainerImpl::printBegin):
415
416 2012-05-18  Ryosuke Niwa  <rniwa@webkit.org>
417
418         Roll Chromium DEPS from r136942 to r137976.
419
420         * DEPS:
421
422 2012-05-18  Aaron Colwell  <acolwell@chromium.org>
423
424         Update Media Source implementation to reflect changes in 0.5 spec.
425         https://bugs.webkit.org/show_bug.cgi?id=83607
426
427         Reviewed by Darin Fisher.
428
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.
437         (WebKit):
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.
442
443 2012-05-18  Shawn Singh  <shawnsingh@chromium.org>
444
445         [chromium] add back-face visibility check for renderSurfaces
446         https://bugs.webkit.org/show_bug.cgi?id=86870
447
448         Reviewed by Adrienne Walker.
449
450         * tests/CCLayerTreeHostCommonTest.cpp:
451         (WebKitTests::TEST):
452         (WebKitTests):
453
454 2012-05-18  Greg Billock  <gbillock@google.com>
455
456         Enable web intents flag for chromium build
457         https://bugs.webkit.org/show_bug.cgi?id=86762
458
459         Reviewed by Adam Barth.
460
461         This flag is enabled in the Chromium-side build.
462
463         * features.gypi:
464
465 2012-05-18  Tony Chang  <tony@chromium.org>
466
467         remove the CSS_GRID_LAYOUT compiler define, but default grid layout to off
468         https://bugs.webkit.org/show_bug.cgi?id=86767
469
470         Reviewed by Ojan Vafai.
471
472         * public/WebSettings.h:
473         * src/WebSettingsImpl.cpp:
474         (WebKit::WebSettingsImpl::setExperimentalCSSGridLayoutEnabled):
475         (WebKit):
476         * src/WebSettingsImpl.h:
477         (WebSettingsImpl):
478
479 2012-05-18  Ian Vollick  <vollick@chromium.org>
480
481         [chromium] Multithreaded compositor unit tests intermittently failing
482         https://bugs.webkit.org/show_bug.cgi?id=74623
483
484         Reviewed by Adrienne Walker.
485
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.
491
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):
507
508 2012-05-18  MORITA Hajime  <morrita@google.com>
509
510         https://bugs.webkit.org/show_bug.cgi?id=85515
511         Stale frame in WebCore::SpellChecker::didCheckSucceeded
512
513         Added WebTextCheckingCompletionImpl::invalidate() to mark
514         pending spellcheck request as invalid, and added frameWillDetachPage()
515         to fire it.
516
517         Reviewed by Ryosuke Niwa.
518
519         * src/EditorClientImpl.cpp:
520         (WebKit::EditorClientImpl::frameWillDetachPage):
521         (WebKit):
522         (WebKit::EditorClientImpl::requestCheckingOfString):
523         (WebKit::EditorClientImpl::didCheckString):
524         * src/EditorClientImpl.h:
525         (WebKit):
526         (EditorClientImpl):
527         * src/WebTextCheckingCompletionImpl.cpp:
528         (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
529         (WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
530         (WebKit::WebTextCheckingCompletionImpl::invalidate):
531         (WebKit):
532         * src/WebTextCheckingCompletionImpl.h:
533         (WebKit):
534         (WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
535         (WebTextCheckingCompletionImpl):
536         (WebKit::WebTextCheckingCompletionImpl::spellChecker):
537
538 2012-05-18  Jochen Eisinger  <jochen@chromium.org>
539
540         [chromium] plumb the frame for which a drag was initiated to the WebViewClient
541         https://bugs.webkit.org/show_bug.cgi?id=86670
542
543         Reviewed by Kent Tamura.
544
545         * public/WebViewClient.h:
546         (WebKit::WebViewClient::startDragging):
547         (WebViewClient):
548         * src/DragClientImpl.cpp:
549         (WebKit::DragClientImpl::startDrag):
550         * src/WebViewImpl.cpp:
551         (WebKit::WebViewImpl::startDragging):
552         * src/WebViewImpl.h:
553         (WebViewImpl):
554
555 2012-05-17  Mark Pilgrim  <pilgrim@chromium.org>
556
557         [Chromium] Move Web Workers methods to Platform.h
558         https://bugs.webkit.org/show_bug.cgi?id=86799
559
560         Reviewed by Adam Barth.
561
562         Part of a refactoring series. See tracking bug 82948.
563
564         * WebKit.gyp:
565         * public/WebWorkerRunLoop.h:
566         * public/platform/WebKitPlatformSupport.h:
567         (WebKit):
568         (WebKitPlatformSupport):
569         * src/PlatformSupport.cpp:
570         (WebCore::PlatformSupport::didStartWorkerRunLoop):
571         (WebCore::PlatformSupport::didStopWorkerRunLoop):
572
573 2012-05-17  Dana Jansens  <danakj@chromium.org>
574
575         [chromium] Scale all compositor output by the defaultDeviceScaleFactor
576         https://bugs.webkit.org/show_bug.cgi?id=86051
577
578         Reviewed by James Robinson.
579
580         Add the applyDefaultDeviceScaleInCompositor setting. When enabled, we
581         apply the scale factor during compositing instead of applying it through
582         the pageScaleFactor.
583
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
588         is affected.
589
590         Store the deviceScaleFactor being used in the compositor. The remainder
591         of the deviceScaleFactor() is being applied to the pageScale.
592
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):
603         (WebKit):
604         * src/WebSettingsImpl.h:
605         (WebSettingsImpl):
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):
615         * src/WebViewImpl.h:
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):
624         (WTF):
625         (WTF::TEST_F):
626         * tests/LayerRendererChromiumTest.cpp:
627         * tests/WebFrameTest.cpp:
628         (WebKit::TEST_F):
629
630 2012-05-17  Vangelis Kokkevis  <vangelis@chromium.org>
631
632         Expose layer tiling size options to WebSettings.
633         https://bugs.webkit.org/show_bug.cgi?id=86425
634
635         This will allow tiling parameters to be set via command line flags
636         passed to the Renderer.
637
638         Reviewed by Adrienne Walker.
639
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):
646         (WebKit):
647         (WebKit::WebSettingsImpl::setMaxUntiledLayerSize):
648         * src/WebSettingsImpl.h:
649         (WebSettingsImpl):
650         (WebKit::WebSettingsImpl::defaultTileSize):
651         (WebKit::WebSettingsImpl::maxUntiledLayerSize):
652         * src/WebViewImpl.cpp:
653         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
654
655 2012-05-17  Mark Pilgrim  <pilgrim@chromium.org>
656
657         [Chromium] Move fileUtilities to Platform.h
658         https://bugs.webkit.org/show_bug.cgi?id=86777
659
660         Reviewed by Adam Barth.
661
662         Part of a refactoring series. See tracking bug 82948.
663
664         * WebKit.gyp:
665         * public/WebFileUtilities.h:
666         * public/platform/WebKitPlatformSupport.h:
667         (WebKit):
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):
688
689 2012-05-17  Joshua Bell  <jsbell@chromium.org>
690
691         IndexedDB: Remove IDBIndex.storeName
692         https://bugs.webkit.org/show_bug.cgi?id=86676
693
694         Reviewed by Tony Chang.
695
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()
703         (WebIDBIndexImpl):
704
705 2012-05-17  Joshua Bell  <jsbell@chromium.org>
706
707         IndexedDB: Implement IDBObjectStore.autoIncrement
708         https://bugs.webkit.org/show_bug.cgi?id=86662
709
710         Reviewed by Dimitri Glazkov.
711
712         * src/IDBObjectStoreBackendProxy.cpp:
713         (WebKit::IDBObjectStoreBackendProxy::autoIncrement):
714         (WebKit):
715         * src/IDBObjectStoreBackendProxy.h:
716         (IDBObjectStoreBackendProxy):
717         * src/WebIDBObjectStoreImpl.cpp:
718         (WebKit::WebIDBObjectStoreImpl::autoIncrement):
719         (WebKit):
720         * src/WebIDBObjectStoreImpl.h:
721         (WebIDBObjectStoreImpl):
722
723 2012-05-17  Mikhail Naganov  <mnaganov@chromium.org>
724
725         Support Copy ... actions for the Web Inspector remote debugging mode.
726         https://bugs.webkit.org/show_bug.cgi?id=86621
727
728         Reviewed by Pavel Feldman.
729
730         * src/js/DevTools.js:
731         (WebInspector.clipboardAccessDeniedMessage):
732
733 2012-05-17  Hironori Bono  <hbono@chromium.org>
734
735         [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
736         https://bugs.webkit.org/show_bug.cgi?id=86591
737
738         Reviewed by Ryosuke Niwa.
739
740         This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
741         function to remove platform-specific code from Editor::respondToChangedSelection
742         function.
743
744         No new tests, no change in behavior.
745
746         * src/EditorClientImpl.cpp:
747         (WebKit::EditorClientImpl::shouldEraseMarkersAfterChangeSelection):
748         (WebKit):
749         * src/EditorClientImpl.h:
750         (EditorClientImpl):
751
752 2012-05-11  James Robinson  <jamesr@chromium.org>
753
754         [chromium] Convert GraphicsLayerChromium to use WebLayer types
755         https://bugs.webkit.org/show_bug.cgi?id=86269
756
757         Reviewed by Adrienne Walker.
758
759         * WebKit.gyp:
760         * src/WebContentLayer.cpp:
761         (WebKit::WebContentLayer::clearClient):
762         (WebKit):
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):
771         * src/WebLayer.cpp:
772         (WebKit::WebLayer::setSublayerTransform):
773         (WebKit):
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:
781         (WebCore::TEST):
782
783 2012-05-17  Dan Bernstein  <mitz@apple.com>
784
785         REGRESSION (r117428): WebKit API/SPI was removed
786         https://bugs.webkit.org/show_bug.cgi?id=86748
787
788         Reverted r117428.
789
790         * public/WebView.h:
791         * src/WebViewImpl.cpp:
792         (WebKit::WebViewImpl::setDomainRelaxationForbidden):
793         (WebKit):
794         * src/WebViewImpl.h:
795         (WebViewImpl):
796
797 2012-05-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
798
799         Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface
800         https://bugs.webkit.org/show_bug.cgi?id=86704
801
802         Reviewed by Eric Seidel.
803
804         Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the
805         cross-port way through the InternalSettings interface.
806
807         * public/WebView.h:
808         * src/WebViewImpl.cpp:
809         * src/WebViewImpl.h:
810         (WebViewImpl):
811
812 2012-05-17  MORITA Hajime  <morrita@google.com>
813
814         Unreviewed attempt to fix a Windows build breakage.
815
816         * public/WebIntent.h:
817         (WebIntent):
818
819 2012-05-16  Sheriff Bot  <webkit.review.bot@gmail.com>
820
821         Unreviewed, rolling out r117396.
822         http://trac.webkit.org/changeset/117396
823         https://bugs.webkit.org/show_bug.cgi?id=86709
824
825         "breaks chromium tree" (Requested by morrita on #webkit).
826
827         * WebKit.gyp:
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):
835         * src/WebViewImpl.h:
836         (WebViewImpl):
837
838 2012-05-16  Hao Zheng  <zhenghao@chromium.org>
839
840         [chromium] Get text direction at the start and end of selection.
841         https://bugs.webkit.org/show_bug.cgi?id=86573
842
843         Reviewed by Adam Barth.
844
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.
850
851         * public/WebWidget.h:
852         (WebWidget):
853         (WebKit::WebWidget::selectionTextDirection):
854         * src/WebViewImpl.cpp:
855         (WebKit):
856         (WebKit::WebViewImpl::selectionTextDirection):
857         * src/WebViewImpl.h:
858         (WebViewImpl):
859
860 2012-05-16  Adam Barth  <abarth@webkit.org>
861
862         [Chromium] Implement WebViewImpl::textInputInfo() for Android
863         https://bugs.webkit.org/show_bug.cgi?id=86440
864
865         Reviewed by Darin Fisher.
866
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.
872
873         * WebKit.gyp:
874         * public/WebTextInputInfo.h: Added.
875         (WebKit):
876         (WebTextInputInfo):
877         (WebKit::WebTextInputInfo::WebTextInputInfo):
878         (WebKit::operator==):
879         (WebKit::operator!=):
880         * public/WebTextInputType.h:
881         * public/WebWidget.h:
882         (WebWidget):
883         (WebKit::WebWidget::textInputInfo):
884         (WebKit::WebWidget::textInputType):
885         * src/WebViewImpl.cpp:
886         (WebKit::WebViewImpl::textInputInfo):
887         (WebKit):
888         (WebKit::WebViewImpl::textInputType):
889         * src/WebViewImpl.h:
890         (WebViewImpl):
891
892 2012-05-16  Greg Billock  <gbillock@google.com>
893
894         IDL and implementation for Web Intents delivery
895         https://bugs.webkit.org/show_bug.cgi?id=83634
896
897         Reviewed by Adam Barth.
898
899         The embedder will implement the WebDeliveredIntentClient interface, which
900         will get notifications of postResult/postFailure from the service page.
901
902         * public/WebDeliveredIntentClient.h:
903         * public/WebFrame.h:
904         (WebKit):
905         (WebFrame):
906         * src/WebDeliveredIntentClient.cpp:
907         * src/WebFrameImpl.cpp:
908         (WebKit::WebFrameImpl::deliverIntent):
909         (WebKit):
910         * src/WebFrameImpl.h:
911         (WebFrameImpl):
912
913 2012-05-16  James Robinson  <jamesr@chromium.org>
914
915         GraphicsContext3D interface should not be aware of CanvasRenderingContext
916         https://bugs.webkit.org/show_bug.cgi?id=86550
917
918         Reviewed by Darin Adler.
919
920         Updates chromium implementation of GraphicsContext3D for API change and removes a bunch of unnecessary
921         #includes.
922
923         * src/GraphicsContext3DChromium.cpp:
924         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
925         (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
926         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
927         * src/GraphicsContext3DPrivate.h:
928         (GraphicsContext3DPrivate):
929
930 2012-05-16  Joshua Bell  <jsbell@chromium.org>
931
932         [Chromium] IndexedDB: WebKit API for IDBObjectStore.autoIncrement property
933         https://bugs.webkit.org/show_bug.cgi?id=86661
934
935         Reviewed by Dimitri Glazkov.
936
937         * public/WebIDBObjectStore.h:
938         (WebKit::WebIDBObjectStore::autoIncrement):
939
940 2012-05-16  Varun Jain  <varunjain@google.com>
941
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
944
945         Reviewed by Tony Chang.
946
947         * public/WebView.h:
948         (WebView):
949         * src/WebViewImpl.cpp:
950         (WebKit::webInputEventKeyStateToPlatformEventKeyState):
951         (WebKit):
952         (WebKit::WebViewImpl::dragTargetDragEnter):
953         (WebKit::WebViewImpl::dragTargetDragOver):
954         (WebKit::WebViewImpl::dragTargetDrop):
955         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
956         * src/WebViewImpl.h:
957         (WebViewImpl):
958
959 2012-05-16  Yury Semikhatsky  <yurys@chromium.org>
960
961         [Chromium] Web Inspector: DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh is broken
962         https://bugs.webkit.org/show_bug.cgi?id=86629
963
964         Reviewed by Pavel Feldman.
965
966         Listen to DebuggerModel instead of DebuggerPresentationModel which is gone.
967
968         * src/js/Tests.js:
969         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
970
971 2012-05-16  Yury Semikhatsky  <yurys@chromium.org>
972
973         [Chromium] Web Inspector: debugger browser tests are broken
974         https://bugs.webkit.org/show_bug.cgi?id=86624
975
976         Reviewed by Vsevolod Vlasov.
977
978         Use WebInspector.panels.scripts._scriptMapping instead of
979         WebInspector.panels.scripts._presentationModel as the latter
980         has been deleted.
981
982         * src/js/Tests.js:
983         (.TestSuite.prototype.nonAnonymousUISourceCodes_):
984
985 2012-05-16  Keishi Hattori  <keishi@webkit.org>
986
987         [chromium] Add WebKit API to access inner text value of input element
988         https://bugs.webkit.org/show_bug.cgi?id=85353
989
990         Reviewed by Kent Tamura.
991
992         * public/WebInputElement.h:
993         (WebInputElement):
994         * src/WebInputElement.cpp:
995         (WebKit::WebInputElement::editingValue):
996         (WebKit):
997         (WebKit::WebInputElement::setEditingValue):
998
999 2012-05-16  Hans Wennborg  <hans@chromium.org>
1000
1001         Speech JavaScript API: pass WebSecurityOrigin to embedder
1002         https://bugs.webkit.org/show_bug.cgi?id=86348
1003
1004         Reviewed by Adam Barth.
1005
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
1008         allowed or not.
1009
1010         * public/WebSpeechRecognitionParams.h:
1011         (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
1012         (WebKit::WebSpeechRecognitionParams::origin):
1013         (WebSpeechRecognitionParams):
1014         * src/SpeechRecognitionClientProxy.cpp:
1015         (WebKit::SpeechRecognitionClientProxy::start):
1016
1017 2012-05-15  Tien-Ren Chen  <trchen@chromium.org>
1018
1019         [Chromium] CCTimer::isActive() is incorrect inside tick callback
1020         https://bugs.webkit.org/show_bug.cgi?id=86513
1021
1022         Update test cases to verify CCTimer::isActive() values.
1023
1024         Reviewed by James Robinson.
1025
1026         * tests/CCTimerTest.cpp:
1027         (WebKitTests::TEST_F):
1028
1029 2012-05-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1030
1031         Unreviewed, rolling out r117204.
1032         http://trac.webkit.org/changeset/117204
1033         https://bugs.webkit.org/show_bug.cgi?id=86559
1034
1035         causing win compilation failures (Requested by pilgrim_google_
1036         on #webkit).
1037
1038         * WebKit.gyp:
1039         * public/WebMessagePortChannel.h:
1040         (WebKit):
1041         (WebMessagePortChannel):
1042         (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
1043         * public/platform/WebKitPlatformSupport.h:
1044         (WebKit):
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:
1053
1054 2012-05-15  Shinya Kawanaka  <shinyak@chromium.org>
1055
1056         Rename Node::shadowTreeRootNode() to Node::shadowRoot()
1057         https://bugs.webkit.org/show_bug.cgi?id=86449
1058
1059         Reviewed by Darin Adler.
1060
1061         * src/WebFrameImpl.cpp:
1062         (WebKit::WebFrameImpl::scopeStringMatches):
1063
1064 2012-05-15  Mark Pilgrim  <pilgrim@chromium.org>
1065
1066         [Chromium] Move createMessagePortChannel to Platform.h
1067         https://bugs.webkit.org/show_bug.cgi?id=85764
1068
1069         Reviewed by Adam Barth.
1070
1071         Part of a refactoring series. See tracking bug 82948.
1072
1073         * WebKit.gyp:
1074         * public/WebMessagePortChannel.h:
1075         * public/platform/WebKitPlatformSupport.h:
1076         (WebKit):
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:
1084
1085 2012-05-15  Fady Samuel  <fsamuel@chromium.org>
1086
1087         [Chromium] Reset ScriptInstance in HTMLPlugInElement on WebPluginContainerImpl::setPlugin
1088         https://bugs.webkit.org/show_bug.cgi?id=86535
1089
1090         Reviewed by Darin Fisher.
1091
1092         * src/WebPluginContainerImpl.cpp:
1093         (WebKit::WebPluginContainerImpl::setPlugin):
1094         (WebKit):
1095         * src/WebPluginContainerImpl.h:
1096         (WebPluginContainerImpl):
1097
1098 2012-05-15  Mark Pilgrim  <pilgrim@chromium.org>
1099
1100         [Chromium] Move blobRegistry to Platform.h
1101         https://bugs.webkit.org/show_bug.cgi?id=85765
1102
1103         Reviewed by Adam Barth.
1104
1105         Part of a refactoring series. See tracking bug 82948.
1106
1107         * WebKit.gyp:
1108         * public/platform/WebBlobData.h:
1109         * public/platform/WebBlobRegistry.h:
1110         * public/platform/WebKitPlatformSupport.h:
1111         (WebKit):
1112         (WebKit::WebKitPlatformSupport::cookieJar):
1113         * src/BlobRegistryProxy.cpp:
1114         (WebCore::BlobRegistryProxy::BlobRegistryProxy):
1115         * src/WebBlobData.cpp:
1116
1117 2012-05-15  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
1118
1119         [chromium] Overloaded printBegin() function to support auto fit to page functionality.
1120         https://bugs.webkit.org/show_bug.cgi?id=84312
1121
1122         Reviewed by Darin Fisher.
1123
1124         * WebKit.gyp:
1125         * public/WebFrame.h:
1126         (WebKit):
1127         (WebFrame):
1128         * public/WebPlugin.h:
1129         (WebKit):
1130         (WebPlugin):
1131         (WebKit::WebPlugin::printBegin):
1132         * public/WebPrintParams.h: Added.
1133         (WebKit):
1134         (WebPrintParams):
1135         (WebKit::WebPrintParams::WebPrintParams):
1136         * src/WebFrameImpl.cpp:
1137         (WebKit::ChromePluginPrintContext::ChromePluginPrintContext):
1138         (WebKit::ChromePluginPrintContext::computePageRects):
1139         (ChromePluginPrintContext):
1140         (WebKit):
1141         (WebKit::WebFrameImpl::printBegin):
1142         * src/WebFrameImpl.h:
1143         (WebKit):
1144         (WebFrameImpl):
1145         * src/WebPluginContainerImpl.cpp:
1146         (WebKit::WebPluginContainerImpl::printBegin):
1147         * src/WebPluginContainerImpl.h:
1148         (WebKit):
1149         (WebPluginContainerImpl):
1150
1151 2012-05-15  Shawn Singh  <shawnsingh@chromium.org>
1152
1153         [chromium] Add unit testing to WebTransformationMatrix
1154         https://bugs.webkit.org/show_bug.cgi?id=86421
1155
1156         Reviewed by Adrienne Walker.
1157
1158         * WebKit.gypi:
1159         * tests/WebTransformationMatrixTest.cpp: Added.
1160         (WebKit):
1161         (WebKit::printTransform):
1162         (WebKit::initializeTestMatrix):
1163         (WebKit::initializeTestMatrix2):
1164         (WebKit::TEST):
1165
1166 2012-05-15  James Robinson  <jamesr@chromium.org>
1167
1168         [chromium] Chromium port never sets USE(CG) so code behind it is dead
1169         https://bugs.webkit.org/show_bug.cgi?id=86537
1170
1171         Reviewed by Adrienne Walker.
1172
1173         Deletes code behind USE(CG) in chromium-specific code and removes unneeded USE(SKIA) guards.
1174
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):
1186
1187 2012-05-15  Anders Carlsson  <andersca@apple.com>
1188
1189         Set the new PlatformWheelEvent member variables to sane defaults
1190         https://bugs.webkit.org/show_bug.cgi?id=86542
1191
1192         Reviewed by Andreas Kling.
1193
1194         * src/WebInputEventConversion.cpp:
1195         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1196
1197 2012-05-15  Ian Vollick  <vollick@chromium.org>
1198
1199         [chromium] Ensure animations get ticked at least once when added.
1200         https://bugs.webkit.org/show_bug.cgi?id=86013
1201
1202         Reviewed by James Robinson.
1203
1204         * tests/CCLayerTreeHostTest.cpp:
1205         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
1206         (WTF):
1207
1208 2012-05-15  Alexandre Elias  <aelias@google.com>
1209
1210         [chromium] Fix unsafe viewport tag dispatch
1211         https://bugs.webkit.org/show_bug.cgi?id=80554
1212
1213         Reviewed by Adam Barth.
1214
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.
1221
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
1226         redundant.
1227
1228         Covered by FixedLayoutInitializeAtMinimumPageScale test introduced
1229         in http://webk.it/82949 (an assertion will fire there without
1230         this fix).
1231
1232         * src/ChromeClientImpl.cpp:
1233         (WebKit::ChromeClientImpl::layoutUpdated):
1234         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
1235         * src/WebViewImpl.cpp:
1236         (WebKit::WebViewImpl::resize):
1237         (WebKit::WebViewImpl::didChangeContentsSize):
1238
1239 2012-05-15  James Robinson  <jamesr@chromium.org>
1240
1241         [chromium] Move createOffscreenGraphicsContext3D() from WebKitPlatformSupport to Platform
1242         https://bugs.webkit.org/show_bug.cgi?id=86524
1243
1244         Reviewed by Adam Barth.
1245
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.
1248
1249         * public/platform/WebKitPlatformSupport.h:
1250         (WebKitPlatformSupport):
1251         * src/GraphicsContext3DChromium.cpp:
1252         (WebCore::GraphicsContext3D::create):
1253
1254 2012-05-15  Terry Anderson  <tdanderson@chromium.org>
1255
1256         [chromium] Compute the best target node on a GestureTap event
1257         https://bugs.webkit.org/show_bug.cgi?id=85101
1258
1259         Reviewed by Adam Barth.
1260
1261         * features.gypi:
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.
1267
1268 2012-05-15  James Robinson  <jamesr@chromium.org>
1269
1270         Unreviewed, rolling out r116811.
1271         http://trac.webkit.org/changeset/116811
1272         https://bugs.webkit.org/show_bug.cgi?id=86257
1273
1274         Introduced layering violation
1275
1276         * WebKit.gyp:
1277         * src/Extensions3DChromium.cpp: Renamed from Source/WebCore/platform/chromium/support/Extensions3DChromium.cpp.
1278         (WebCore):
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.
1314         (WebCore):
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.
1407         (WebKit):
1408         (WebCore):
1409         (GraphicsContext3DPrivate):
1410
1411 2012-05-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1412
1413         Unreviewed, rolling out r116712.
1414         http://trac.webkit.org/changeset/116712
1415         https://bugs.webkit.org/show_bug.cgi?id=86484
1416
1417         This patch is causing crashes in Chromium Canary builds
1418         (Requested by pilgrim_google__ on #webkit).
1419
1420         * WebKit.gyp:
1421         * public/WebStorageArea.h:
1422         (WebKit):
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):
1436         (WebCore):
1437         (WebCore::StorageAreaProxy::storageEvent):
1438         (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
1439         (WebCore::findPageWithSessionStorageNamespace):
1440         (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
1441         * src/StorageAreaProxy.h:
1442         (WebCore):
1443         (StorageAreaProxy):
1444         * src/StorageEventDispatcherImpl.cpp: Added.
1445         (WebCore):
1446         (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl):
1447         (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
1448         * src/StorageEventDispatcherImpl.h: Copied from Source/WebKit/chromium/public/WebStorageEventDispatcher.h.
1449         (WebCore):
1450         (StorageEventDispatcherImpl):
1451         * src/WebStorageEventDispatcherImpl.cpp:
1452         (WebKit):
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.
1459         (WebKit):
1460         (WebStorageEventDispatcherImpl):
1461         * src/WebViewImpl.cpp:
1462         * src/WebViewImpl.h:
1463         (WebCore):
1464         (WebViewImpl):
1465
1466 2012-05-15  Terry Anderson  <tdanderson@chromium.org>
1467
1468         [chromium] Remove unused code for tap target fuzzing
1469         https://bugs.webkit.org/show_bug.cgi?id=86252
1470
1471         Reviewed by Adam Barth.
1472
1473         * public/WebInputEvent.h:
1474         (WebGestureEvent):
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.
1482
1483 2012-05-15  Hans Wennborg  <hans@chromium.org>
1484
1485         Speech JavaScript API: Introduce error code enum in Chromium plumbing
1486         https://bugs.webkit.org/show_bug.cgi?id=86353
1487
1488         Reviewed by Adam Barth.
1489
1490         Introduce an enum for receiving error codes from the embedder.
1491         This enum matches the enum in SpeechRecognitionError.
1492
1493         * public/WebSpeechRecognizerClient.h:
1494         * src/AssertMatchingEnums.cpp:
1495         * src/SpeechRecognitionClientProxy.cpp:
1496         (WebKit::SpeechRecognitionClientProxy::didReceiveError):
1497         * src/SpeechRecognitionClientProxy.h:
1498         (SpeechRecognitionClientProxy):
1499
1500 2012-05-14  Shinya Kawanaka  <shinyak@chromium.org> 
1501
1502         document.execCommand('Indent') in the direct child of ShadowRoot causes a crash.
1503         https://bugs.webkit.org/show_bug.cgi?id=86341
1504
1505         Reviewed by Ryosuke Niwa.
1506
1507         * src/WebRange.cpp:
1508         (WebKit::WebRange::fromDocumentRange):
1509
1510 2012-05-14  Shinya Kawanaka  <shinyak@chromium.org>
1511
1512         Node::shadowTreeRootNode() should return ShadowRoot instead of Node.
1513         https://bugs.webkit.org/show_bug.cgi?id=86428
1514
1515         Reviewed by Hajime Morita.
1516
1517         Adds include directive to build.
1518
1519         * src/WebFrameImpl.cpp:
1520
1521 2012-05-14  Gavin Peters  <gavinp@chromium.org>
1522
1523         Add Prerenderer, PrerenderHandle and a chromium interface for Prerendering.
1524         https://bugs.webkit.org/show_bug.cgi?id=85005
1525
1526         Reviewed by Adam Barth.
1527
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.
1530
1531         The new Prerenderer and PrerenderHandle let <link rel=prerender...> elements signal
1532         removal and unload to their platform.
1533
1534         * WebKit.gyp:
1535         * public/WebView.h:
1536         * src/PrerendererClientImpl.cpp: Copied from Source/WebCore/html/LinkRelAttribute.h.
1537         (WebKit):
1538         (WebKit::PrerendererClientImpl::PrerendererClientImpl):
1539         (WebKit::PrerendererClientImpl::willAddPrerender):
1540         * src/PrerendererClientImpl.h: Copied from Source/WebCore/html/LinkRelAttribute.h.
1541         (WebCore):
1542         (WebKit):
1543         (PrerendererClientImpl):
1544         * src/WebKit.cpp:
1545         (WebKit::shutdown):
1546         * src/WebViewImpl.cpp:
1547         (WebKit::WebViewImpl::setPrerendererClient):
1548         (WebKit):
1549         * src/WebViewImpl.h:
1550         (WebKit):
1551         (WebViewImpl):
1552
1553 2012-05-14  Luke Macpherson  <macpherson@chromium.org>
1554
1555         Introduce ENABLE_CSS_VARIABLES compile flag.
1556         https://bugs.webkit.org/show_bug.cgi?id=86338
1557
1558         Reviewed by Dimitri Glazkov.
1559
1560         Add a configuration option for CSS Variables support, disabling it by default.
1561
1562         * features.gypi:
1563
1564 2012-05-14  Gavin Peters  <gavinp@chromium.org>
1565
1566         [Chromium] remove skia/third_party/glu from DEPS
1567         https://bugs.webkit.org/show_bug.cgi?id=86431
1568
1569         Chromium rev 136872 removed skia/third_party/glu, but nobody updated it in WebKit.  This
1570         patch fixes that.
1571
1572         Unreviewed, remove bad Chromium repo.
1573
1574         * DEPS:
1575
1576 2012-05-14  Dirk Pranke <dpranke@chromium.org>
1577
1578         Unreviewed, roll Chromium DEPS to r136942.
1579
1580 2012-05-14  Adam Barth  <abarth@webkit.org>
1581
1582         [Chromium] android/WebInputEventFactory should handle wheel events and gesture events
1583         https://bugs.webkit.org/show_bug.cgi?id=86270
1584
1585         Reviewed by Eric Seidel.
1586
1587         * public/android/WebInputEventFactory.h:
1588         * src/android/WebInputEventFactory.cpp:
1589         (WebKit::WebInputEventFactory::keyboardEvent):
1590         (WebKit::WebInputEventFactory::mouseEvent):
1591         (WebKit):
1592         (WebKit::WebInputEventFactory::mouseWheelEvent):
1593         (WebKit::WebInputEventFactory::gestureEvent):
1594
1595 2012-05-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1596
1597         Unreviewed, rolling out r116983.
1598         http://trac.webkit.org/changeset/116983
1599         https://bugs.webkit.org/show_bug.cgi?id=86397
1600
1601         Does not compile on chromium-win (Requested by abarth on
1602         #webkit).
1603
1604         * features.gypi:
1605         * src/WebInputEventConversion.cpp:
1606         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1607
1608 2012-05-14  Terry Anderson  <tdanderson@chromium.org>
1609
1610         [chromium] Compute the best target node on a GestureTap event
1611         https://bugs.webkit.org/show_bug.cgi?id=85101
1612
1613         Reviewed by Adam Barth.
1614
1615         * features.gypi:
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.
1621
1622 2012-05-14  Adrienne Walker  <enne@google.com>
1623
1624         [chromium] Add compositor debug asserts for blocked main thread
1625         https://bugs.webkit.org/show_bug.cgi?id=86384
1626
1627         Reviewed by James Robinson.
1628
1629         For tests that are just on the impl tree, pretend that the main thread
1630         is always blocked.
1631
1632         * tests/CCLayerTreeHostImplTest.cpp:
1633         (CCLayerTreeHostImplTest):
1634
1635 2012-05-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1636
1637         Unreviewed, rolling out r116812.
1638         http://trac.webkit.org/changeset/116812
1639         https://bugs.webkit.org/show_bug.cgi?id=86313
1640
1641         Appears to be causing a top crash (Requested by abarth on
1642         #webkit).
1643
1644         * WebKit.gyp:
1645         * public/WebStorageArea.h:
1646         (WebKit):
1647         (WebStorageArea):
1648         (WebKit::WebStorageArea::~WebStorageArea):
1649         (WebKit::WebStorageArea::setItem):
1650         (WebKit::WebStorageArea::removeItem):
1651         (WebKit::WebStorageArea::clear):
1652         * public/WebStorageNamespace.h:
1653         (WebKit):
1654         (WebStorageNamespace):
1655         (WebKit::WebStorageNamespace::~WebStorageNamespace):
1656         (WebKit::WebStorageNamespace::isSameNamespace):
1657         * public/platform/WebKitPlatformSupport.h:
1658         (WebKit):
1659         (WebKitPlatformSupport):
1660         (WebKit::WebKitPlatformSupport::createLocalStorageNamespace):
1661         * src/StorageAreaProxy.cpp:
1662         * src/StorageNamespaceProxy.cpp:
1663         (WebCore::StorageNamespace::localStorageNamespace):
1664
1665 2012-05-11  Mark Pilgrim  <pilgrim@chromium.org>
1666
1667         [Chromium] Call isLinkVisited directly
1668         https://bugs.webkit.org/show_bug.cgi?id=85412
1669
1670         Reviewed by Adam Barth.
1671
1672         Part of a refactoring series. See tracking bug 82948.
1673
1674         * src/PlatformSupport.cpp:
1675         (WebCore):
1676
1677 2012-05-11  Tony Chang  <tony@chromium.org>
1678
1679         [chromium] Port gtest WebViewTest.ActiveState from test_shell_tests to webkit_unit_tests
1680         https://bugs.webkit.org/show_bug.cgi?id=86271
1681
1682         Reviewed by James Robinson.
1683
1684         The original test is in src/webkit/glue/webview_unittest.cc.
1685
1686         * tests/WebViewTest.cpp:
1687         (WebKit::TEST_F):
1688         (WebKit):
1689
1690 2012-05-11  Shawn Singh  <shawnsingh@chromium.org>
1691
1692         [chromium] Plumb --show-paint-rects to accelerated compositor
1693         https://bugs.webkit.org/show_bug.cgi?id=86255
1694
1695         Reviewed by James Robinson.
1696
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):
1703         (WebKit):
1704         * src/WebSettingsImpl.h:
1705         (WebSettingsImpl):
1706         (WebKit::WebSettingsImpl::showFPSCounter):
1707         (WebKit::WebSettingsImpl::showPlatformLayerTree):
1708         (WebKit::WebSettingsImpl::showPaintRects):
1709         * src/WebViewImpl.cpp:
1710         (WebKit::WebViewImpl::settingsImpl):
1711         (WebKit::WebViewImpl::settings):
1712         (WebKit):
1713         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1714         * src/WebViewImpl.h:
1715
1716 2012-05-11  Ryosuke Niwa  <rniwa@webkit.org>
1717
1718         Do a DEPS roll per build failure caused by r116810.
1719
1720         See http://webkitmemes.tumblr.com/post/21734202168/the-solution-to-any-chromium-problem for the rationale.
1721
1722         * DEPS:
1723
1724 2012-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1725
1726         Unreviewed, rolling out r116802.
1727         http://trac.webkit.org/changeset/116802
1728         https://bugs.webkit.org/show_bug.cgi?id=86260
1729
1730         This patch causes compiling error to chromium builds
1731         (Requested by jianli_ on #webkit).
1732
1733         * features.gypi:
1734         * src/WebInputEventConversion.cpp:
1735         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1736
1737 2012-05-11  Mark Pilgrim  <pilgrim@chromium.org>
1738
1739         [Chromium] Move createLocalStorageNamespace to Platform.h
1740         https://bugs.webkit.org/show_bug.cgi?id=85766
1741
1742         Reviewed by Adam Barth.
1743
1744         Part of a refactoring series. See tracking bug 82948.
1745
1746         * WebKit.gyp:
1747         * public/WebStorageArea.h:
1748         * public/WebStorageNamespace.h:
1749         * public/platform/WebKitPlatformSupport.h:
1750         (WebKit):
1751         (WebKit::WebKitPlatformSupport::blobRegistry):
1752         * src/StorageAreaProxy.cpp:
1753         * src/StorageNamespaceProxy.cpp:
1754         (WebCore::StorageNamespace::localStorageNamespace):
1755
1756 2012-05-11  James Robinson  <jamesr@chromium.org>
1757
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
1760
1761         Reviewed by Adam Barth.
1762
1763         * WebKit.gyp:
1764
1765 2012-05-11  Fady Samuel  <fsamuel@chromium.org>
1766
1767         [Chromium] Expose WebPluginContainer of WebPlugin to embedder
1768         https://bugs.webkit.org/show_bug.cgi?id=85916
1769
1770         Reviewed by Darin Fisher.
1771
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
1774         across processes.
1775
1776         * public/WebPlugin.h:
1777         (WebPlugin):
1778         (WebKit::WebPlugin::container):
1779
1780 2012-05-11  Terry Anderson  <tdanderson@chromium.org>
1781
1782         [chromium] Compute the best target node on a GestureTap event
1783         https://bugs.webkit.org/show_bug.cgi?id=85101
1784
1785         Reviewed by Adam Barth.
1786
1787         * features.gypi:
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.
1793
1794 2012-05-11  Ian Vollick  <vollick@chromium.org>
1795
1796         [chromium] Ensure that animations continue to run when transform-style is changed
1797         https://bugs.webkit.org/show_bug.cgi?id=83283
1798
1799         Reviewed by James Robinson.
1800
1801         * WebKit.gypi:
1802         * tests/GraphicsLayerChromiumTest.cpp: Added.
1803         (WebKitTests):
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):
1811
1812 2012-05-11  Min Qin  <qinmin@google.com>
1813
1814         split MediaPlayer::enterFullscreen into 2 seperate functions
1815         https://bugs.webkit.org/show_bug.cgi?id=86052
1816
1817         Reviewed by Adam Barth.
1818
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.
1823
1824         * public/WebMediaPlayer.h:
1825         (WebMediaPlayer):
1826         (WebKit::WebMediaPlayer::enterFullscreen):
1827         (WebKit::WebMediaPlayer::canEnterFullscreen):
1828         * src/WebMediaPlayerClientImpl.cpp:
1829         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
1830         (WebKit):
1831         (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
1832         * src/WebMediaPlayerClientImpl.h:
1833         (WebMediaPlayerClientImpl):
1834         * src/WebViewImpl.cpp:
1835         (WebKit::WebViewImpl::enterFullScreenForElement):
1836
1837 2012-05-11  David Reveman  <reveman@chromium.org>
1838
1839         [Chromium] Move instantiation of texture uploader to LayerRendererChromium.
1840         https://bugs.webkit.org/show_bug.cgi?id=85893
1841
1842         Reviewed by Adrienne Walker.
1843
1844         * tests/CCLayerTreeHostImplTest.cpp:
1845         (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
1846         (WebKitTests::TEST_F):
1847         * tests/LayerRendererChromiumTest.cpp:
1848         (FakeLayerRendererChromium::FakeLayerRendererChromium):
1849         (LayerRendererChromiumTest::LayerRendererChromiumTest):
1850         (TEST):
1851
1852 2012-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1853
1854         Unreviewed, rolling out r116727.
1855         http://trac.webkit.org/changeset/116727
1856         https://bugs.webkit.org/show_bug.cgi?id=86181
1857
1858         Build error on Chromium-Android (Requested by tkent on
1859         #webkit).
1860
1861         * public/WebMediaPlayer.h:
1862         (WebMediaPlayer):
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):
1872
1873 2012-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1874
1875         Unreviewed, rolling out r116731.
1876         http://trac.webkit.org/changeset/116731
1877         https://bugs.webkit.org/show_bug.cgi?id=86178
1878
1879         Build failure on Chromium-mac (Requested by tkent on #webkit).
1880
1881         * tests/CCLayerTreeHostImplTest.cpp:
1882         (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
1883         (WebKitTests::TEST_F):
1884         * tests/LayerRendererChromiumTest.cpp:
1885         (FakeLayerRendererChromium::FakeLayerRendererChromium):
1886         (LayerRendererChromiumTest::LayerRendererChromiumTest):
1887         (TEST):
1888
1889 2012-05-10  David Reveman  <reveman@chromium.org>
1890
1891         [Chromium] Move instantiation of texture uploader to LayerRendererChromium.
1892         https://bugs.webkit.org/show_bug.cgi?id=85893
1893
1894         Reviewed by Adrienne Walker.
1895
1896         * tests/CCLayerTreeHostImplTest.cpp:
1897         (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
1898         (WebKitTests::TEST_F):
1899         * tests/LayerRendererChromiumTest.cpp:
1900         (FakeLayerRendererChromium::FakeLayerRendererChromium):
1901         (LayerRendererChromiumTest::LayerRendererChromiumTest):
1902         (TEST):
1903
1904 2012-05-10  Min Qin  <qinmin@google.com>
1905
1906         split MediaPlayer::enterFullscreen into 2 seperate functions
1907         https://bugs.webkit.org/show_bug.cgi?id=86052
1908
1909         Reviewed by Benjamin Poulain.
1910
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.
1916
1917         * public/WebMediaPlayer.h:
1918         (WebMediaPlayer):
1919         (WebKit::WebMediaPlayer::enterFullscreen):
1920         (WebKit::WebMediaPlayer::canEnterFullscreen):
1921         * src/WebMediaPlayerClientImpl.cpp:
1922         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
1923         (WebKit):
1924         (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
1925         * src/WebMediaPlayerClientImpl.h:
1926         (WebMediaPlayerClientImpl):
1927         * src/WebViewImpl.cpp:
1928         (WebKit::WebViewImpl::enterFullScreenForElement):
1929
1930 2012-05-10  Hajime Morrita  <morrita@google.com>
1931
1932         WebKit should support tab-size.
1933         https://bugs.webkit.org/show_bug.cgi?id=52994
1934
1935         Reviewed by Simon Fraser.
1936
1937         * src/WebTextRun.cpp:
1938         (WebKit::WebTextRun::operator WebCore::TextRun):
1939
1940 2012-05-10  Kent Tamura  <tkent@chromium.org>
1941
1942         Unreviewed, rolling out r116594.
1943         http://trac.webkit.org/changeset/116594
1944         https://bugs.webkit.org/show_bug.cgi?id=86013
1945
1946         r116594 might have made some composition tests flaky.
1947
1948         * tests/CCLayerTreeHostTest.cpp:
1949         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
1950         (WTF):
1951         (WTF::TEST_F):
1952
1953 2012-05-10  Jian Li  <jianli@chromium.org>
1954
1955         Unreviewed. Fix chromium build break.
1956
1957         * src/LocalizedStrings.cpp:
1958         (WebCore::insecurePluginVersionText):
1959
1960 2012-05-10  Michael Nordman  <michaeln@google.com>
1961
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.
1967
1968         Also clean up from the last patch, remove support for the DEPRECATED event
1969         dispatching API.
1970
1971         Reviewed by Adam Barth.
1972
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:
1989         (WebCore):
1990         (StorageAreaProxy):
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:
2000
2001
2002 2012-05-10  Anders Carlsson  <andersca@apple.com>
2003
2004         Add insecurePluginVersionText stub here too.
2005
2006         * src/LocalizedStrings.cpp:
2007
2008 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
2009
2010         [Chromium] Call addTraceEvent and getTraceCategoryEnabledFlag directly
2011         https://bugs.webkit.org/show_bug.cgi?id=85399
2012
2013         Reviewed by Adam Barth.
2014
2015         Part of a refactoring series. See tracking bug 82948.
2016
2017         * src/PlatformSupport.cpp:
2018         (WebCore):
2019
2020 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
2021
2022         [Chromium] Remove WEBKIT_USING_SKIA ifdefs that are always true
2023         https://bugs.webkit.org/show_bug.cgi?id=86121
2024
2025         Reviewed by Adam Barth.
2026
2027         Chromium always uses Skia now, so this just removes the barriers
2028         around code that was previously #if'd.
2029
2030         * README:
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:
2052         (WebKit):
2053
2054 2012-05-10  Tom Sepez  <tsepez@chromium.org>
2055
2056         [Chromium] WebFrameTest.ChromePageNoJavascript isn't catching regressions
2057         https://bugs.webkit.org/show_bug.cgi?id=86046
2058
2059         Reviewed by Adam Barth.
2060
2061         Test both cases for registerURLSchemeAsNotAllowingJavascriptURLs.  Also add
2062         a call to layout() to ensure the javascript result is seen.
2063         
2064         * tests/WebFrameTest.cpp:
2065         (WebKit::TEST_F):
2066         (WebKit):
2067
2068 2012-05-10  Varun Jain  <varunjain@google.com>
2069
2070         [chromium] Trigger context menu for long press gesture
2071         https://bugs.webkit.org/show_bug.cgi?id=85919
2072
2073         Reviewed by Adam Barth.
2074
2075         * src/PageWidgetDelegate.cpp:
2076         (WebKit::PageWidgetDelegate::handleInputEvent):
2077         * src/WebViewImpl.cpp:
2078         (WebKit::WebViewImpl::handleGestureEvent):
2079
2080 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
2081
2082         [Chromium] Remove dead code behind unused WEBKIT_USING_CG
2083         https://bugs.webkit.org/show_bug.cgi?id=86018
2084
2085         Reviewed by Adam Barth.
2086
2087         We never use CoreGraphics as the backend for GraphicsContext in
2088         Chromium, so this is all dead code.
2089
2090         * README:
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:
2102         (WebKit):
2103
2104 2012-05-10  Sam D  <dsam2912@gmail.com>
2105
2106         Web Inspector: rename InspectorBackendStub.js to InspectorBackendCommands.js
2107         https://bugs.webkit.org/show_bug.cgi?id=72306
2108
2109         Changed name for InspectorBackendStub.js to InspectorBackendCommands.js
2110
2111         Reviewed by Yury Semikhatsky.
2112
2113         * WebKit.gyp:
2114
2115 2012-05-09  Kent Tamura  <tkent@chromium.org>
2116
2117         [Chromium] Mark CCLayerTreeHostTestSetNeedsCommit2.runMultiThread and
2118         CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity.runMultiThread flaky.
2119
2120         * tests/CCLayerTreeHostTest.cpp:
2121
2122 2012-05-09  Dan Alcantara  <dfalcantara@chromium.org>
2123
2124         [chromium] Add ability to override user agent string per-WebFrameClient
2125         https://bugs.webkit.org/show_bug.cgi?id=83959
2126         
2127         Reviewed by Adam Barth.
2128         
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.
2131
2132         * WebKit.gypi:
2133         * public/WebFrameClient.h:
2134         (WebFrameClient):
2135         (WebKit::WebFrameClient::userAgent):
2136         * src/FrameLoaderClientImpl.cpp:
2137         (WebKit::FrameLoaderClientImpl::userAgent):
2138         * tests/FrameLoaderClientImplTest.cpp: Added.
2139         (WebKit):
2140         (TestWebFrameClient):
2141         (WebKit::TestWebFrameClient::setUserAgentOverride):
2142         (FrameLoaderClientImplTest):
2143         (WebKit::FrameLoaderClientImplTest::SetUp):
2144         (WebKit::FrameLoaderClientImplTest::TearDown):
2145         (WebKit::FrameLoaderClientImplTest::setUserAgentOverride):
2146         (WebKit::FrameLoaderClientImplTest::userAgent):
2147         (WebKit::TEST_F):
2148
2149 2012-05-09  Charlie Reis  <creis@chromium.org>
2150
2151         Add dispatchMessageEventWithOriginCheck to WebFrame
2152         https://bugs.webkit.org/show_bug.cgi?id=85815
2153
2154         Reviewed by Adam Barth.
2155
2156         Tested by WebFrameTest.DispatchMessageEventWithOriginCheck.
2157         Also fixes source frame bug in willCheckAndDispatchMessageEvent.
2158
2159         * public/WebFrame.h:
2160         (WebFrame):
2161         * src/FrameLoaderClientImpl.cpp:
2162         (WebKit::FrameLoaderClientImpl::willCheckAndDispatchMessageEvent):
2163         * src/WebFrameImpl.cpp:
2164         (WebKit::WebFrameImpl::checkAndDispatchMessageEvent):
2165         (WebKit):
2166         * src/WebFrameImpl.h:
2167         (WebFrameImpl):
2168
2169 2012-05-09  Hironori Bono  <hbono@chromium.org>
2170
2171         Fix a crash in ContextMenuClientImpl::getCustomMenuFromDefaultItems
2172         https://bugs.webkit.org/show_bug.cgi?id=85866
2173
2174         Reviewed by Ryosuke Niwa.
2175
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.
2179
2180         * src/ContextMenuClientImpl.cpp:
2181         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Added a NULL check.
2182
2183 2012-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2184
2185         Unreviewed, rolling out r116602.
2186         http://trac.webkit.org/changeset/116602
2187         https://bugs.webkit.org/show_bug.cgi?id=86057
2188
2189         Build error on Windows (Requested by tkent on #webkit).
2190
2191         * WebKit.gypi:
2192         * public/WebFrameClient.h:
2193         * src/FrameLoaderClientImpl.cpp:
2194         (WebKit::FrameLoaderClientImpl::userAgent):
2195         * tests/FrameLoaderClientImplTest.cpp: Removed.
2196
2197 2012-05-09  Kent Tamura  <tkent@chromium.org>
2198
2199         [Chromium] Fix compilation warning on Android.
2200         https://bugs.webkit.org/show_bug.cgi?id=85958
2201
2202         * features.gypi: Move ENABLE_MEDIA_CAPTURE=0 to non-Android block.
2203
2204 2012-05-09  Dan Alcantara  <dfalcantara@chromium.org>
2205
2206         [chromium] Add ability to override user agent string per-WebFrameClient
2207         https://bugs.webkit.org/show_bug.cgi?id=83959
2208         
2209         Reviewed by Adam Barth.
2210         
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.
2213
2214         * WebKit.gypi:
2215         * public/WebFrameClient.h:
2216         (WebFrameClient):
2217         (WebKit::WebFrameClient::userAgent):
2218         * src/FrameLoaderClientImpl.cpp:
2219         (WebKit::FrameLoaderClientImpl::userAgent):
2220         * tests/FrameLoaderClientImplTest.cpp: Added.
2221         (WebKit):
2222         (TestWebFrameClient):
2223         (WebKit::TestWebFrameClient::setUserAgentOverride):
2224         (FrameLoaderClientImplTest):
2225         (WebKit::FrameLoaderClientImplTest::SetUp):
2226         (WebKit::FrameLoaderClientImplTest::TearDown):
2227         (WebKit::FrameLoaderClientImplTest::setUserAgentOverride):
2228         (WebKit::FrameLoaderClientImplTest::userAgent):
2229         (WebKit::TEST_F):
2230
2231 2012-05-09  Ian Vollick  <vollick@chromium.org>
2232
2233         [chromium] Ensure animations get ticked at least once when added.
2234         https://bugs.webkit.org/show_bug.cgi?id=86013
2235
2236         Reviewed by James Robinson.
2237
2238         * tests/CCLayerTreeHostTest.cpp:
2239         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
2240         (WTF):
2241
2242 2012-05-09  Adam Barth  <abarth@webkit.org>
2243
2244         Implement HTML Media Capture
2245         https://bugs.webkit.org/show_bug.cgi?id=85958
2246
2247         Reviewed by Eric Seidel.
2248
2249         * features.gypi:
2250         * public/WebFileChooserParams.h:
2251         (WebFileChooserParams):
2252         * src/ChromeClientImpl.cpp:
2253         (WebKit::ChromeClientImpl::runOpenPanel):
2254
2255 2012-05-09  Dana Jansens  <danakj@chromium.org>
2256
2257         [chromium] Don't draw when canDraw() is false
2258         https://bugs.webkit.org/show_bug.cgi?id=85829
2259
2260         Reviewed by Adrienne Walker.
2261
2262         * tests/CCLayerTreeHostImplTest.cpp:
2263         (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
2264         (WebKitTests::TEST_F):
2265         * tests/CCLayerTreeHostTest.cpp:
2266         (WTF):
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):
2274         (WTF::TEST_F):
2275
2276 2012-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2277
2278         Unreviewed, rolling out r116573.
2279         http://trac.webkit.org/changeset/116573
2280         https://bugs.webkit.org/show_bug.cgi?id=86038
2281
2282         Broke the Chromium Mac compile (Requested by ojan_gardening on
2283         #webkit).
2284
2285         * public/WebPlugin.h:
2286         (WebPlugin):
2287
2288 2012-05-09  Fady Samuel  <fsamuel@chromium.org>
2289
2290         [Chromium] Expose WebPluginContainer of WebPlugin to embedder
2291         https://bugs.webkit.org/show_bug.cgi?id=85916
2292
2293         Reviewed by Darin Fisher.
2294
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
2297         across processes.
2298
2299         * public/WebPlugin.h:
2300         (WebPlugin):
2301         (WebKit::WebPlugin::container):
2302
2303 2012-05-09  Mark Pilgrim  <pilgrim@chromium.org>
2304
2305         [Chromium] Move clipboard to Platform.h
2306         https://bugs.webkit.org/show_bug.cgi?id=85758
2307
2308         Reviewed by Adam Barth.
2309
2310         Part of a refactoring series. See tracking bug 82948.
2311
2312         * WebKit.gyp:
2313         * public/platform/WebClipboard.h:
2314         * public/platform/WebDragData.h:
2315         * public/platform/WebImage.h:
2316         * public/platform/WebKitPlatformSupport.h:
2317         (WebKit):
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:
2329
2330 2012-05-09  Mark Pilgrim  <pilgrim@chromium.org>
2331
2332         [Chromium] Remove PlatformSupport::loadPlatformImageResource, call loadResource directly
2333         https://bugs.webkit.org/show_bug.cgi?id=84417
2334
2335         Reviewed by Adam Barth.
2336
2337         Part of a refactoring series. See tracking bug 82948.
2338
2339         * src/PlatformSupport.cpp:
2340         (WebCore):
2341
2342 2012-05-09  Jochen Eisinger  <jochen@chromium.org>
2343
2344         [chromium] remove the obsolete WebFrame::referrerPolicy method
2345         https://bugs.webkit.org/show_bug.cgi?id=86003
2346
2347         Reviewed by Adam Barth.
2348
2349         * public/WebFrame.h:
2350         * src/WebFrameImpl.cpp:
2351         * src/WebFrameImpl.h:
2352         (WebFrameImpl):
2353
2354 2012-05-09  Jochen Eisinger  <jochen@chromium.org>
2355
2356         [chromium] Check whether an active document loader exists before accessing it
2357         https://bugs.webkit.org/show_bug.cgi?id=85892
2358
2359         Reviewed by Eric Seidel.
2360
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.
2366
2367         * src/FrameLoaderClientImpl.cpp:
2368         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
2369
2370 2012-05-09  Ian Vollick  <vollick@chromium.org>
2371
2372         [chromium] Add impl-thread support for fill-mode and direction css animation properties
2373         https://bugs.webkit.org/show_bug.cgi?id=77662
2374
2375         Reviewed by James Robinson.
2376
2377         * tests/CCActiveAnimationTest.cpp:
2378         (WebCore::TEST):
2379         (WebCore):
2380         * tests/CCLayerAnimationControllerTest.cpp:
2381         (WebKitTests::TEST):
2382         (WebKitTests):
2383
2384 2012-05-09  Ojan Vafai  <ojan@chromium.org>
2385
2386         Unreviewed.  Rolled DEPS.
2387
2388         * DEPS:
2389
2390 2012-05-09  Marcus Bulach  <bulach@chromium.org>
2391
2392         [chromium] Exposes OrientationChangeEvent.
2393         https://bugs.webkit.org/show_bug.cgi?id=85976
2394
2395         Reviewed by Adam Barth.
2396
2397         This is used by the android port, we need to expose the existing
2398         WebCore API.
2399
2400         * public/WebFrame.h:
2401         (WebFrame):
2402         * src/WebFrameImpl.cpp:
2403         (WebKit::WebFrameImpl::sendOrientationChangeEvent):
2404         (WebKit):
2405         * src/WebFrameImpl.h:
2406         (WebFrameImpl):
2407
2408 2012-05-09  Dana Jansens  <danakj@chromium.org>
2409
2410         Early-out and avoid any copying when possible for Region operations
2411         https://bugs.webkit.org/show_bug.cgi?id=85260
2412
2413         Reviewed by Anders Carlsson.
2414
2415         * tests/RegionTest.cpp:
2416         (WebCore::TEST):
2417         (WebCore):
2418
2419 2012-05-09  Tommy Widenflycht  <tommyw@google.com>
2420
2421         [chromium] MediaStream API: Fixing a memory leak in WebUserMediaRequest
2422         https://bugs.webkit.org/show_bug.cgi?id=85992
2423
2424         Reviewed by Adam Barth.
2425
2426         * src/WebUserMediaRequest.cpp:
2427         (WebKit::WebUserMediaRequest::assign):
2428
2429 2012-05-09  Kent Tamura  <tkent@chromium.org>
2430
2431         [Chromium] Disable WebViewTest.TextInputType because the test is incomplete.
2432
2433         * tests/WebViewTest.cpp:
2434
2435 2012-05-09  Kent Tamura  <tkent@chromium.org>
2436
2437         [Chromium] Some of *.runMultiThread tests intermittently crash.
2438         Mark them flaky.
2439
2440         * tests/CCLayerTreeHostTest.cpp:
2441
2442 2012-05-09  Oli Lan  <olilan@chromium.org>
2443
2444         Adds date/time input types to WebTextInputType, and adds support for these
2445         to WebViewImpl.textInputType().
2446
2447         Adds a new test WebViewTest.TextInputType to test WebViewImpl.textInputType(),
2448         including the new types.
2449
2450         https://bugs.webkit.org/show_bug.cgi?id=78746
2451
2452         Reviewed by Kent Tamura.
2453
2454         * public/WebTextInputType.h:
2455         * src/WebViewImpl.cpp:
2456         (WebKit::WebViewImpl::textInputType):
2457         * tests/WebViewTest.cpp:
2458         (WebViewTest):
2459         (WebKit::WebViewTest::testTextInputType):
2460         (WebKit):
2461         (WebKit::TEST_F):
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.
2470
2471 2012-05-08  Jochen Eisinger  <jochen@chromium.org>
2472
2473         Unreviewed.  Rolled DEPS.
2474
2475         * DEPS:
2476
2477 2012-05-08  Dana Jansens  <danakj@chromium.org>
2478
2479         [chromium] Show borders for partial-draw-culled quads to visualize culling behaviour
2480         https://bugs.webkit.org/show_bug.cgi?id=85414
2481
2482         Reviewed by Adrienne Walker.
2483
2484         * tests/CCQuadCullerTest.cpp:
2485         (WebCore::appendQuads):
2486         * tests/MockCCQuadCuller.h:
2487         (WebCore::MockCCQuadCuller::MockCCQuadCuller):
2488
2489 2012-05-08  Tony Chang  <tony@chromium.org>
2490
2491         [chromium] force ENABLE_REGISTER_PROTOCOL_HANDLER=1 in features.gypi
2492         https://bugs.webkit.org/show_bug.cgi?id=85924
2493
2494         Reviewed by Adam Barth.
2495
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.
2498
2499         * features.gypi:
2500
2501 2012-05-08  Dana Jansens  <danakj@chromium.org>
2502
2503         [chromium] Reflections with masks should not occlude
2504         https://bugs.webkit.org/show_bug.cgi?id=85927
2505
2506         Reviewed by James Robinson.
2507
2508         * tests/CCOcclusionTrackerTest.cpp:
2509         (WebKitTests::CCOcclusionTrackerTest::TearDown):
2510         (WebKitTests::CCOcclusionTrackerTest::createMaskLayer):
2511         (CCOcclusionTrackerTest):
2512         (WebKitTests::CCOcclusionTrackerTest::setMask):
2513         (CCOcclusionTrackerTestReplicaWithMask):
2514         (WebKitTests::CCOcclusionTrackerTestReplicaWithMask::runMyTest):
2515         (WebKitTests):
2516
2517 2012-05-08  Dana Jansens  <danakj@chromium.org>
2518
2519         Region reads past end of spans
2520         https://bugs.webkit.org/show_bug.cgi?id=85909
2521
2522         Reviewed by Anders Carlsson.
2523
2524         * tests/RegionTest.cpp:
2525         (WebCore::TEST):
2526         (WebCore):
2527
2528 2012-05-08  Tony Chang  <tony@chromium.org>
2529
2530         move listener_leak_test to webkit_unit_tests
2531         https://bugs.webkit.org/show_bug.cgi?id=85922
2532
2533         Reviewed by Ojan Vafai.
2534
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.
2537
2538         * WebKit.gyp: Exclude file in components build.
2539         * WebKit.gypi: Add new file.
2540         * tests/ListenerLeakTest.cpp: Added.
2541         (WebKit):
2542         (WebKit::GetProperty):
2543         (WebKit::GetNumObjects):
2544         (ListenerLeakTest):
2545         (WebKit::ListenerLeakTest::ListenerLeakTest):
2546         (WebKit::ListenerLeakTest::RunTest):
2547         (WebKit::TEST_F):
2548         * tests/data/listener/listener_leak1.html: Added.
2549         * tests/data/listener/listener_leak2.html: Added.
2550
2551 2012-05-08  W. James MacLean  <wjmaclean@chromium.org>
2552
2553         [chromium] Create LinkHighlightLayerChromium class to provide link-highlight preview animations for GraphicsLayerChromium.
2554         https://bugs.webkit.org/show_bug.cgi?id=85084
2555
2556         Reviewed by James Robinson.
2557
2558         * WebKit.gypi:
2559         * tests/LinkHighlightTest.cpp: Added.
2560         (WebCore):
2561         (MockGraphicsLayerClient):
2562         (WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
2563         (WebCore::MockGraphicsLayerClient::notifySyncRequired):
2564         (WebCore::MockGraphicsLayerClient::paintContents):
2565         (WebCore::MockGraphicsLayerClient::showDebugBorders):
2566         (WebCore::MockGraphicsLayerClient::showRepaintCounter):
2567         (WebCore::TEST):
2568
2569 2012-05-08  Tony Chang  <tony@chromium.org>
2570
2571         [chromium] move event_listener_unittest to webkit_unit_tests
2572         https://bugs.webkit.org/show_bug.cgi?id=85836
2573
2574         Reviewed by James Robinson.
2575
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.
2578
2579         * WebKit.gyp: Exclude file in components build.
2580         * WebKit.gypi: Add new file.
2581         * tests/EventListenerTest.cpp: Added.
2582         (WebKit):
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):
2597         (WebKit::TEST_F):
2598         * tests/data/listener/mutation_event_listener.html: Added.
2599
2600 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
2601
2602         Unreviewed build fix: didOpenFileSystem hides overloaded virtual function
2603
2604         * src/WorkerAsyncFileSystemChromium.cpp:
2605
2606 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
2607
2608         Unreviewed build fix: adding missing include.
2609
2610         * src/AsyncFileSystemChromium.cpp:
2611
2612 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
2613
2614         Support cross-filesystem operations in FileSystem API
2615         https://bugs.webkit.org/show_bug.cgi?id=84135
2616
2617         Reviewed by David Levin.
2618
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.
2625
2626         This patch does:
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.
2631
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):
2678
2679 2012-05-07  Greg Billock  <gbillock@google.com>
2680
2681         [Web Intents] Flagged-off implementation of an intent tag for registration.
2682         https://bugs.webkit.org/show_bug.cgi?id=73039
2683
2684         Reviewed by Adam Barth.
2685
2686         The intent tag allows web pages to mark themselves declaratively as accepting
2687         web intent delivery of particular characteristics (action/type).
2688         See the spec at:
2689         http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview.html
2690
2691         * WebKit.gyp:
2692         * src/FrameLoaderClientImpl.cpp:
2693         (WebKit::FrameLoaderClientImpl::registerIntentService):
2694         * src/FrameLoaderClientImpl.h:
2695
2696 2012-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2697
2698         Unreviewed, rolling out r116375.
2699         http://trac.webkit.org/changeset/116375
2700         https://bugs.webkit.org/show_bug.cgi?id=85850
2701
2702         Build break on Chromium-win and Chromium-mac. (Requested by
2703         tkent on #webkit).
2704
2705         * WebKit.gyp:
2706         * WebKit.gypi:
2707         * tests/EventListenerTest.cpp: Removed.
2708         * tests/data/listener/mutation_event_listener.html: Removed.
2709
2710 2012-05-07  Dana Jansens  <danakj@chromium.org>
2711
2712         Region::intersects() and Region::contains() are slow due to copy overhead
2713         https://bugs.webkit.org/show_bug.cgi?id=81076
2714
2715         Reviewed by Anders Carlsson.
2716
2717         * tests/RegionTest.cpp:
2718         (WebCore):
2719         (WebCore::TEST):
2720
2721 2012-05-07  Tony Chang  <tony@chromium.org>
2722
2723         [chromium] move event_listener_unittest to webkit_unit_tests
2724         https://bugs.webkit.org/show_bug.cgi?id=85836
2725
2726         Reviewed by James Robinson.
2727
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.
2730
2731         * WebKit.gyp: Exclude file in components build.
2732         * WebKit.gypi: Add new file.
2733         * tests/EventListenerTest.cpp: Added.
2734         (WebKit):
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):
2749         (WebKit::TEST_F):
2750         * tests/data/listener/mutation_event_listener.html: Added.
2751
2752 2012-05-07  Julien Chaffraix  <jchaffraix@webkit.org>
2753
2754         Refactor windowClipRectForLayer to remove the explicit RenderLayer dependency
2755         https://bugs.webkit.org/show_bug.cgi?id=84090
2756
2757         Reviewed by David Hyatt.
2758
2759         * src/WebPluginContainerImpl.cpp:
2760         Updated after windowClipRectForLayer name and signature change.
2761
2762 2012-05-07  Dana Jansens  <danakj@chromium.org>
2763
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
2766
2767         Reviewed by Adrienne Walker.
2768
2769         * tests/CCLayerTreeHostTest.cpp:
2770         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginCommitOnCCThread):
2771         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
2772         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
2773         (WTF::CCLayerTreeHostTestScrollChildLayer::beginCommitOnCCThread):
2774
2775 2012-05-07  Adrienne Walker  <enne@google.com>
2776
2777         [chromium] Allow for asymmetric tile sizes on composited tiled layers
2778         https://bugs.webkit.org/show_bug.cgi?id=85687
2779
2780         Reviewed by James Robinson.
2781
2782         Update tests for new constructor and function args. Add a few more
2783         tests that use non-square tile sizes.
2784
2785         * tests/TilingDataTest.cpp:
2786         (WebCore::TestTiling::TestTiling):
2787         (WebCore::TEST):
2788         (WebCore):
2789
2790 2012-05-07  David Reveman  <reveman@chromium.org>
2791
2792         [Chromium] Use GL_CHROMIUM_command_buffer_query to throttle texture uploads.
2793         https://bugs.webkit.org/show_bug.cgi?id=81004
2794
2795         Reviewed by Adrienne Walker.
2796
2797         * WebKit.gypi:
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):
2808         (TEST):
2809         * tests/ThrottledTextureUploaderTest.cpp: Added.
2810         (WebKit):
2811         (FakeWebGraphicsContext3DWithQueryTesting):
2812         (WebKit::FakeWebGraphicsContext3DWithQueryTesting::FakeWebGraphicsContext3DWithQueryTesting):
2813         (WebKit::FakeWebGraphicsContext3DWithQueryTesting::getQueryObjectuivEXT):
2814         (WebKit::FakeWebGraphicsContext3DWithQueryTesting::setResultAvailable):
2815         (WebKit::TEST):
2816         * tests/TiledLayerChromiumTest.cpp:
2817         (WTF::TEST):
2818
2819 2012-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2820
2821         Unreviewed, rolling out r116334.
2822         http://trac.webkit.org/changeset/116334
2823         https://bugs.webkit.org/show_bug.cgi?id=85816
2824
2825         Broke the Chromium Win/Mac compile (Requested by
2826         ojan_gardening on #webkit).
2827
2828         * WebKit.gypi:
2829         * tests/LinkHighlightLayerDelegateTest.cpp: Removed.
2830
2831 2012-05-07  Mark Pilgrim  <pilgrim@chromium.org>
2832
2833         [Chromium] Move fileSystem to Platform.h
2834         https://bugs.webkit.org/show_bug.cgi?id=85760
2835
2836         Reviewed by Adam Barth.
2837
2838         Part of a refactoring series. See tracking bug 82948.
2839
2840         * WebKit.gyp:
2841         * public/platform/WebFileSystem.h:
2842         * public/platform/WebKitPlatformSupport.h:
2843         (WebKit):
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):
2858
2859 2012-05-07  W. James MacLean  <wjmaclean@chromium.org>
2860
2861         [chromium] Create LinkHighlightLayerChromium class to provide link-highlight preview animations for GraphicsLayerChromium.
2862         https://bugs.webkit.org/show_bug.cgi?id=85084
2863
2864         Reviewed by Adrienne Walker.
2865
2866         * WebKit.gypi:
2867         * tests/LinkHighlightLayerDelegateTest.cpp: Added.
2868         (WebCore):
2869         (MockGraphicsLayerClient):
2870         (WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
2871         (WebCore::MockGraphicsLayerClient::notifySyncRequired):
2872         (WebCore::MockGraphicsLayerClient::paintContents):
2873         (WebCore::MockGraphicsLayerClient::showDebugBorders):
2874         (WebCore::MockGraphicsLayerClient::showRepaintCounter):
2875         (WebCore::TEST):
2876
2877 2012-05-07  Joshua Bell  <jsbell@chromium.org>
2878
2879         IndexedDB: LevelDB coding for bools is broken
2880         https://bugs.webkit.org/show_bug.cgi?id=85810
2881
2882         Reviewed by Tony Chang.
2883
2884         Added tests for encodeBool/decodeBool.
2885
2886         * tests/IDBLevelDBCodingTest.cpp:
2887         (IDBLevelDBCoding::TEST):
2888         (IDBLevelDBCoding):
2889
2890 2012-05-07  Shawn Singh  <shawnsingh@chromium.org>
2891
2892         [chromium] CCMathUtil projectPoint needs to avoid divide-by-zero
2893         https://bugs.webkit.org/show_bug.cgi?id=85560
2894
2895         Reviewed by Adrienne Walker.
2896
2897         * tests/CCLayerTreeHostCommonTest.cpp:
2898         (WebKitTests::TEST):
2899         * tests/CCMathUtilTest.cpp:
2900         (WebCore::TEST):
2901         (WebCore):
2902
2903 2012-05-07  Nat Duca  <nduca@chromium.org>
2904
2905         Unreviewed, rolling out r115525.
2906         http://trac.webkit.org/changeset/115525
2907         https://bugs.webkit.org/show_bug.cgi?id=66683
2908
2909         Too many pages rely on DOMTimeStamp as first argument.
2910         Reverting while we consider next steps.
2911
2912         * src/PageWidgetDelegate.cpp:
2913         (WebKit::PageWidgetDelegate::animate):
2914         * src/WebViewImpl.cpp:
2915         (WebKit::WebViewImpl::updateAnimations):
2916
2917 2012-05-07  Tommy Widenflycht  <tommyw@google.com>
2918
2919         MediaStream API: Allow UserMediaRequest::succeed to take an MediaStreamDescriptor
2920         https://bugs.webkit.org/show_bug.cgi?id=85798
2921
2922         Reviewed by Adam Barth.
2923
2924         Adding another WebUserMediaRequest::requestSucceed function that takes an
2925         WebMediaStreamDescriptor instead of the two WebMediaStreamSource arrays.
2926
2927         * public/WebUserMediaRequest.h:
2928         (WebKit):
2929         (WebUserMediaRequest):
2930         * src/WebUserMediaRequest.cpp:
2931         (WebKit::WebUserMediaRequest::requestSucceeded):
2932
2933 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
2934
2935         Unreviewed: the same fix in another file for chromium win build.  Adding WebCore namespace to FileSystemTypes.
2936
2937         * src/WebFrameImpl.cpp:
2938         (WebKit::WebFrameImpl::createFileSystem):
2939         (WebKit::WebFrameImpl::createFileEntry):
2940
2941 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
2942
2943         Not reviewed: chromium win build fix attempt; adding WebCore namespace to ambiguous type name.
2944
2945         * src/WebFileSystemCallbacksImpl.cpp:
2946         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
2947
2948 2012-05-06  Kinuko Yasuda  <kinuko@chromium.org>
2949
2950         Cleanup: Change boolean synchronous flag argument into enum in FileSystem API code
2951         https://bugs.webkit.org/show_bug.cgi?id=85741
2952
2953         Reviewed by David Levin.
2954
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):
2970
2971 2012-05-06  Kinuko Yasuda  <kinuko@chromium.org>
2972
2973         Cleanup: Move FileSystem API type definitions into a separate header file
2974         https://bugs.webkit.org/show_bug.cgi?id=85738
2975
2976         Reviewed by David Levin.
2977
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
2981
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.
2985
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):
3012
3013 2012-05-06  Kinuko Yasuda  <kinuko@chromium.org>
3014
3015         Cleanup: FileSystem API's Entry.toURL() impl should return KURL instead of String
3016         https://bugs.webkit.org/show_bug.cgi?id=85736
3017
3018         Reviewed by David Levin.
3019
3020         Change AsyncFileSystemChromium::toURL()'s return type from String to KURL.
3021
3022         * src/AsyncFileSystemChromium.cpp:
3023         (WebCore::AsyncFileSystemChromium::toURL):
3024         String to KURL.
3025         * src/AsyncFileSystemChromium.h:
3026         (AsyncFileSystemChromium):
3027
3028 2012-05-06  Mark Pilgrim  <pilgrim@chromium.org>
3029
3030         [Chromium] Call currentThread through Platform.h directly
3031         https://bugs.webkit.org/show_bug.cgi?id=85769
3032
3033         Reviewed by Kentaro Hara.
3034
3035         Part of a refactoring series. See tracking bug 82948.
3036
3037         * tests/CCLayerTreeHostTest.cpp:
3038         (WTF::CCLayerTreeHostTest::onEndTest):
3039         (WTF::CCLayerTreeHostTest::runTest):
3040
3041 2012-05-06  Mark Pilgrim  <pilgrim@chromium.org>
3042
3043         [Chromium] Call cryptographicallyRandomValues through Platform.h
3044         https://bugs.webkit.org/show_bug.cgi?id=85763
3045
3046         Reviewed by Adam Barth.
3047
3048         Part of a refactoring series. See tracking bug 82948.
3049
3050         * src/ChromiumOSRandomSource.cpp:
3051         (WTF::cryptographicallyRandomValuesFromOS):
3052
3053 2012-05-06  Keishi Hattori  <keishi@webkit.org>
3054
3055         [chromium] Add WebKit API to access multiple attribute of input element
3056         https://bugs.webkit.org/show_bug.cgi?id=85355
3057
3058         Reviewed by Kent Tamura.
3059
3060         We need this to implement the datalist UI for <input type=email multiple>.
3061
3062         * public/WebInputElement.h:
3063         (WebInputElement):
3064         * src/WebInputElement.cpp:
3065         (WebKit::WebInputElement::isMultiple):
3066         (WebKit):
3067
3068 2012-05-06  Adam Barth  <abarth@webkit.org>
3069
3070         CSP should let sites both enforce one policy and monitor another
3071         https://bugs.webkit.org/show_bug.cgi?id=85561
3072
3073         Reviewed by Eric Seidel.
3074
3075         * src/SharedWorkerRepository.cpp:
3076         (WebCore::SharedWorkerScriptLoader::notifyFinished):
3077         * src/WebWorkerClientImpl.cpp:
3078         (WebKit::WebWorkerClientImpl::startWorkerContext):
3079
3080 2012-05-06  Kent Tamura  <tkent@chromium.org>
3081
3082         Rename ICULocale to LocaleICU, part 2
3083         https://bugs.webkit.org/show_bug.cgi?id=85695
3084
3085         Reviewed by Kentaro Hara.
3086
3087         * tests/LocalizedNumberICUTest.cpp:
3088         (testNumberIsReversible): Rename ICULocale to LocaleICU.
3089
3090 2012-05-06  Adrienne Walker  <enne@google.com>
3091
3092         [chromium] Allow WebMediaPlayerClientImpl to switch clients
3093         https://bugs.webkit.org/show_bug.cgi?id=85093
3094
3095         Reviewed by James Robinson.
3096
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
3101         provider.
3102
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.
3107
3108         Test: WebMediaPlayerClientImplTest.InitialNullVideoClient
3109               WebMediaPlayerClientImplTest.SetAndUnsetVideoClient
3110               WebMediaPlayerClientImplTest.DestroyProvider
3111               WebMediaPlayerClientImplTest.SetMultipleVideoClients
3112
3113         * WebKit.gypi:
3114         * src/WebMediaPlayerClientImpl.cpp:
3115         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
3116         * src/WebMediaPlayerClientImpl.h:
3117         (WebMediaPlayerClientImpl):
3118         * tests/WebMediaPlayerClientImplTest.cpp: Added.
3119         (WebKit):
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):
3131         (WebKit::TEST):
3132
3133 2012-05-06  Sheriff Bot  <webkit.review.bot@gmail.com>
3134
3135         Unreviewed.  Rolled DEPS.
3136
3137         * DEPS:
3138
3139 2012-05-06  Andrey Kosyakov  <caseq@chromium.org>
3140
3141         Web Inspector: take timeline frame mode out of experimental
3142         https://bugs.webkit.org/show_bug.cgi?id=85707
3143
3144         Reviewed by Pavel Feldman.
3145
3146         - exposed supportFrameInstrumentation method to InspectorClient. Client must return true iff the platform will call
3147           InspectorInstrumentation::instrumentBeginFrame() upon beginning of frame rendering;
3148
3149         * src/InspectorClientImpl.cpp:
3150         (WebKit::InspectorClientImpl::supportsFrameInstrumentation):
3151         (WebKit):
3152         * src/InspectorClientImpl.h:
3153         (InspectorClientImpl):
3154
3155 2012-05-04  Kent Tamura  <tkent@chromium.org>
3156
3157         Rename ICULocale to LocaleICU, part 1
3158         https://bugs.webkit.org/show_bug.cgi?id=85688
3159
3160         Reviewed by Kentaro Hara.
3161
3162         * tests/LocalizedNumberICUTest.cpp: Rename ICULocale.h to LocaleICU.h.
3163
3164 2012-05-04  Shawn Singh  <shawnsingh@chromium.org>
3165
3166         [chromium] Changes to layer tree structure need to be tracked properly
3167         https://bugs.webkit.org/show_bug.cgi?id=85421
3168
3169         Reviewed by Adrienne Walker.
3170
3171         Unit test added: TreeSynchronizerTest.syncSimpleTreeAndTrackStackingOrderChange
3172
3173         * tests/TreeSynchronizerTest.cpp:
3174         (WebKitTests):
3175         (WebKitTests::TEST):
3176
3177 2012-05-04  Tony Chang  <tony@chromium.org>
3178
3179         [chromium] enable msvs_error_on_missing_sources at gyp time
3180         https://bugs.webkit.org/show_bug.cgi?id=85683
3181
3182         Reviewed by Adam Barth.
3183
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
3187         these errors.
3188
3189         * DEPS: Roll to a chromium version that has no missing files.
3190         * gyp_webkit: Add the flag.
3191
3192 2012-05-04  Satoru Takabayashi  <satorux@chromium.org>
3193
3194         [chromium] Add plumbing for file display names for drag and drop
3195         https://bugs.webkit.org/show_bug.cgi?id=85673
3196
3197         Reviewed by Darin Fisher.
3198
3199         * public/platform/WebDragData.h:
3200         * src/WebDragData.cpp:
3201         (WebKit::WebDragData::items):
3202         (WebKit::WebDragData::addItem):
3203
3204 2012-05-04  Adam Barth  <abarth@webkit.org>
3205
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
3208
3209         Reviewed by Eric Seidel.
3210
3211         Update callers to the new function name.
3212
3213         * src/SharedWorkerRepository.cpp:
3214         (WebCore::SharedWorkerScriptLoader::notifyFinished):
3215         * src/WebWorkerClientImpl.cpp:
3216         (WebKit::WebWorkerClientImpl::startWorkerContext):
3217
3218 2012-05-04  Sami Kyostila  <skyostil@chromium.org>
3219
3220         [chromium] Revert compositor layer scrolling
3221         https://bugs.webkit.org/show_bug.cgi?id=85644
3222
3223         Reviewed by Steve Block.
3224
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):
3233
3234 2012-05-04  Tommy Widenflycht  <tommyw@google.com>
3235
3236         MediaStream API: Make PeerConnection00's API fully compliant with the draft
3237         https://bugs.webkit.org/show_bug.cgi?id=85491
3238
3239         Reviewed by Adam Barth.
3240
3241         * src/AssertMatchingEnums.cpp:
3242
3243 2012-05-04  Nate Chapin  <japhet@chromium.org>
3244
3245         Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
3246         https://bugs.webkit.org/show_bug.cgi?id=85533
3247
3248         Reviewed by Alexey Proskuryakov.
3249
3250         * src/FrameLoaderClientImpl.cpp:
3251         (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl):
3252         (WebKit):
3253         (WebKit::FrameLoaderClientImpl::finishedLoading):
3254         * src/FrameLoaderClientImpl.h:
3255         (WebKit::FrameLoaderClientImpl::makeRepresentation):
3256         (WebKit::FrameLoaderClientImpl::revertToProvisionalState):
3257         (FrameLoaderClientImpl):
3258
3259 2012-05-04  Alexander Pavlov  <apavlov@chromium.org>
3260
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
3263
3264         Reviewed by Pavel Feldman.
3265
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).
3268
3269         Test: inspector/styles/device-metrics-fit-window.html
3270
3271         * src/WebDevToolsAgentImpl.cpp:
3272         (WebKit::DeviceMetricsSupport::ensureOriginalZoomFactor):
3273         (WebKit::DeviceMetricsSupport::scaledEmulatedFrameSize):
3274
3275 2012-05-03  W. James MacLean  <wjmaclean@chromium.org>
3276
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
3279
3280         Reviewed by Kenneth Russell.
3281
3282         * tests/PlatformGestureCurveTest.cpp:
3283
3284 2012-05-03  Dimitri Glazkov  <dglazkov@chromium.org>
3285
3286         [Chromium] Use correct define in the features.gypi
3287         https://bugs.webkit.org/show_bug.cgi?id=85520
3288
3289         Patch by Ben Goodger.
3290
3291         Reviewed by Tony Chang.
3292
3293         * features.gypi: Replaced use_aura with a more appropriate chromeos
3294
3295 2012-05-03  Antony Sargent  <asargent@chromium.org>
3296
3297         Add methods to create WebArrayBuffer/WebArrayBufferView from v8 objects
3298         https://bugs.webkit.org/show_bug.cgi?id=84899
3299
3300         Reviewed by Adam Barth.
3301
3302         * public/WebArrayBuffer.h:
3303         (WebArrayBuffer):
3304         * public/platform/WebArrayBufferView.h:
3305         (v8):
3306         (WebArrayBufferView):
3307         * src/WebArrayBuffer.cpp:
3308         (WebKit):
3309         (WebKit::WebArrayBuffer::createFromV8Value):
3310         * src/WebArrayBufferView.cpp:
3311         (WebKit):
3312         (WebKit::WebArrayBufferView::createFromV8Value):
3313
3314 2012-05-03  Dana Jansens  <danakj@chromium.org>
3315
3316         [chromium] Don't add small opaque areas to the occlusion tracker's Region
3317         https://bugs.webkit.org/show_bug.cgi?id=85297
3318
3319         Reviewed by Adrienne Walker.
3320
3321         * tests/CCOcclusionTrackerTest.cpp:
3322         (WebKitTests):
3323         (CCOcclusionTrackerTestMinimumTrackingSize):
3324         (WebKitTests::CCOcclusionTrackerTestMinimumTrackingSize::runMyTest):
3325
3326 2012-05-02  Jon Lee  <jonlee@apple.com>
3327
3328         Migrate permission functions to Notification from NotificationCenter
3329         https://bugs.webkit.org/show_bug.cgi?id=80485
3330         <rdar://problem/10965458>
3331
3332         Reviewed by Jian Li.
3333
3334         * src/NotificationPresenterImpl.h:
3335         (NotificationPresenterImpl): Add stub implementation of requestPermission.
3336         (WebKit::NotificationPresenterImpl::requestPermission):
3337
3338 2012-05-02  Dana Jansens  <danakj@chromium.org>
3339
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
3342
3343         Reviewed by Adrienne Walker.
3344
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):
3356         (WebKitTests):
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):
3369
3370 2012-04-18  Jon Honeycutt  <jhoneycutt@apple.com>
3371
3372         FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
3373         information about the form being submitted
3374         https://bugs.webkit.org/show_bug.cgi?id=84297
3375
3376         Reviewed by Andy Estes.
3377
3378         * src/FrameLoaderClientImpl.cpp:
3379         (WebKit::FrameLoaderClientImpl::dispatchWillSendSubmitEvent):
3380         Updated to use the FormState.
3381
3382         * src/FrameLoaderClientImpl.h:
3383         (FrameLoaderClientImpl):
3384         Updated method declaration.
3385
3386 2012-05-02  Joshua Bell  <jsbell@chromium.org>
3387
3388         Roll Chromium DEPS r134537 to r134581.
3389         https://bugs.webkit.org/show_bug.cgi?id=85428
3390
3391         Unreviewed - just a deps roll.
3392
3393         * DEPS:
3394
3395 2012-05-02  Jochen Eisinger  <jochen@chromium.org>
3396
3397         [chromium] Add WebDocument::referrerPolicy() which wraps the same method on Document
3398         https://bugs.webkit.org/show_bug.cgi?id=85201
3399
3400         Reviewed by Adam Barth.
3401
3402         Embedders should use webFrame->document()->referrerPolicy() instead of webFrame->referrerPolicy(). The latter will be removed soon.
3403
3404         * public/WebDocument.h:
3405         (WebDocument):
3406         * src/WebDocument.cpp:
3407         (WebKit::WebDocument::referrerPolicy):
3408         (WebKit):
3409
3410 2012-05-02  Michal Mocny  <mmocny@google.com>
3411
3412         [chromium] Set contents texture manager preferred memory limit based on GpuMemoryManager suggestion.
3413         https://bugs.webkit.org/show_bug.cgi?id=84270
3414
3415         Reviewed by Kenneth Russell.
3416
3417         * tests/CCLayerTreeHostImplTest.cpp:
3418         * tests/LayerRendererChromiumTest.cpp:
3419
3420 2012-05-02  Emil A Eklund  <eae@chromium.org>
3421
3422         Fix usage of layout types in platform code
3423         https://bugs.webkit.org/show_bug.cgi?id=85392
3424
3425         Reviewed by Eric Seidel.
3426
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.       
3432
3433 2012-05-02  Yury Semikhatsky  <yurys@chromium.org>
3434
3435         Web Inspector: TypeError: Cannot call method 'createLiveLocation' of undefined
3436         https://bugs.webkit.org/show_bug.cgi?id=85371
3437
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.
3443
3444         Reviewed by Pavel Feldman.
3445
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):
3455
3456 2012-05-02  Tommy Widenflycht  <tommyw@google.com>
3457
3458         MediaStream API: Changing webkitGetUserMedia to take an object instead of a string
3459         https://bugs.webkit.org/show_bug.cgi?id=84850
3460
3461         Reviewed by Dimitri Glazkov.
3462
3463         * public/WebUserMediaRequest.h:
3464         (WebUserMediaRequest):
3465         * src/WebUserMediaRequest.cpp:
3466
3467 2012-05-01  Mark Pilgrim  <pilgrim@chromium.org>
3468
3469         [Chromium] Additional instances of calling histogramCustomCounts directly
3470         https://bugs.webkit.org/show_bug.cgi?id=85322
3471
3472         Reviewed by Kentaro Hara.
3473
3474         Part of a refactoring series. See tracking bug 82948.
3475
3476         * src/painting/PaintAggregator.cpp:
3477         (WebKit::PaintAggregator::invalidateRect):
3478
3479 2012-05-01  Min Qin  <qinmin@google.com>
3480
3481         use USE(NATIVE_FULLSCREEN_VIDEO) instead of ENABLE(NATIVE_FULLSCREEN_VIDEO)
3482         https://bugs.webkit.org/show_bug.cgi?id=85316
3483
3484         Reviewed by Kent Tamura.
3485
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
3490
3491         * features.gypi:
3492         * src/WebMediaPlayerClientImpl.cpp:
3493         (WebKit):
3494         * src/WebMediaPlayerClientImpl.h:
3495         (WebMediaPlayerClientImpl):
3496         * src/WebViewImpl.cpp:
3497         (WebKit::WebViewImpl::enterFullScreenForElement):
3498         (WebKit::WebViewImpl::exitFullScreenForElement):
3499
3500 2012-05-01  Mark Pilgrim  <pilgrim@chromium.org>
3501
3502         [Chromium] Additional instances of calling createAudioDevice directly
3503         https://bugs.webkit.org/show_bug.cgi?id=85321
3504
3505         Reviewed by Kentaro Hara.
3506
3507         Part of a refactoring series. See tracking bug 82948.
3508
3509         * src/AudioDestinationChromium.cpp:
3510         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
3511
3512 2012-05-01  Mark Pilgrim  <pilgrim@chromium.org>
3513
3514         [Chromium] Additional instances of calling mimeRegistry directly
3515         https://bugs.webkit.org/show_bug.cgi?id=85320
3516
3517         Reviewed by Eric Seidel.
3518
3519         Part of a refactoring series. See tracking bug 82948.
3520
3521         * src/FrameLoaderClientImpl.cpp:
3522         (WebKit::FrameLoaderClientImpl::canShowMIMEType):
3523         * src/WebMediaPlayerClientImpl.cpp:
3524         (WebKit::WebMediaPlayerClientImpl::supportsType):
3525
3526 2012-05-01  Ryosuke Niwa  <rniwa@webkit.org>
3527
3528         *Command.h files shouldn't be exported to WebKit layer
3529         https://bugs.webkit.org/show_bug.cgi?id=74778
3530
3531         Reviewed by Eric Seidel.
3532
3533         * src/WebFrameImpl.cpp:
3534         * src/WebViewImpl.cpp:
3535
3536 2012-05-01  Julien Chaffraix  <jchaffraix@webkit.org>
3537
3538         WebKit test RenderTableCellDeathTest.CanSetRow is failing as of r115705
3539         https://bugs.webkit.org/show_bug.cgi?id=85274
3540
3541         Reviewed by Ojan Vafai.
3542
3543         The tests were crashing as we were creating a RenderTableCell without any RenderTableRow parent
3544         which shouldn't happen inside the render tree.
3545
3546         Using RenderTableCell to access RenderTableRow was artificial and the checks have now been moved
3547         to using a RenderTableRow directly.
3548
3549         * WebKit.gyp:
3550         * WebKit.gypi:
3551         Added the new file.
3552
3553         * tests/RenderTableCellTest.cpp:
3554         Removed the row index tests as they are now in the following file.
3555
3556         * tests/RenderTableRowTest.cpp: Copied from Source/WebKit/chromium/tests/RenderTableCellTest.cpp.
3557         Changed a bit the row index tests and re-enabled them.
3558
3559 2012-05-01  Pavel Feldman  <pfeldman@chromium.org>
3560
3561         WebKit unit tests RenderTableCellDeathTest.CanSetRow* are failing as of r115705
3562         https://bugs.webkit.org/show_bug.cgi?id=85274
3563
3564         Not reviewed: test disabled.
3565
3566         * tests/RenderTableCellTest.cpp:
3567
3568 2012-05-01  Pavel Feldman  <pfeldman@chromium.org>
3569
3570         WebKit test RenderTableCellDeathTest.CanSetRow is failing as of r115705
3571         https://bugs.webkit.org/show_bug.cgi?id=85274
3572
3573         Not reviewed: test disabled.
3574
3575         The test is based on the standalone cell, while the new logic
3576         requires parent to be present upon the row index set.
3577
3578         * tests/RenderTableCellTest.cpp:
3579
3580 2012-05-01  Hironori Bono  <hbono@chromium.org>
3581
3582         [Chromium] Regression r113405 ContextMenuImpl does not set a misspelled word
3583         https://bugs.webkit.org/show_bug.cgi?id=85271
3584
3585         Reviewed by Kent Tamura.
3586
3587         This change calls selectMisspelledWord() to get a misspelled word so Chrome can
3588         set the misspelledWord variable without selecting text.
3589
3590         * src/ContextMenuClientImpl.cpp:
3591         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3592
3593 2012-04-30  Kent Tamura  <tkent@chromium.org>
3594
3595         [Chromium/Windows] Add LocalizedDateWin
3596         https://bugs.webkit.org/show_bug.cgi?id=84935
3597
3598         Reviewed by Kentaro Hara.
3599
3600         Add test for LocaleWin.cpp.
3601
3602         * WebKit.gypi:
3603         * tests/LocaleWinTest.cpp: Added.
3604         (msForDate): A helper function.
3605         (TEST):
3606
3607 2012-04-30  Julien Chaffraix  <jchaffraix@webkit.org>
3608
3609         Move RenderTableCell's row index to RenderTableRow
3610         https://bugs.webkit.org/show_bug.cgi?id=85229
3611
3612         Reviewed by Ojan Vafai.
3613
3614         * tests/RenderTableCellTest.cpp:
3615         Updated after the refactoring.
3616
3617 2012-04-30  Gavin Peters  <gavinp@chromium.org>
3618
3619         [Chromium] Add thunk headers for staging Prerendering API.
3620         https://bugs.webkit.org/show_bug.cgi?id=84880
3621
3622         Reviewed by Adam Barth.
3623
3624         These empty headers will be replaced by the actual API when Bug 85005 is commited.
3625
3626         * WebKit.gyp:
3627         * public/WebPrerendererClient.h: Added.
3628         (WebKit):
3629         (WebPrerendererClient):
3630         * public/WebView.h:
3631         (WebKit):
3632         (WebKit::WebView::setPrerendererClient):
3633
3634 2012-04-30  Ilya Sherman  <isherman@chromium.org>
3635
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
3640
3641         Reviewed by Abhishek Arya
3642
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
3647
3648 2012-04-30  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3649
3650         [chromium] Disable battery-status API support.
3651
3652         The battery-status API support should not have view-dependency. So disable it until
3653         that is fixed.
3654         https://bugs.webkit.org/show_bug.cgi?id=84499
3655
3656         Reviewed by Adam Barth.
3657
3658         * features.gypi:
3659
3660 2012-04-30  Gavin Peters  <gavinp@chromium.org>
3661
3662         [Chromium] Remove Webkit/chromium/public/WebReferrerPolicy.h thunk.
3663         https://bugs.webkit.org/show_bug.cgi?id=84552
3664
3665         After http://codereview.chromium.org/10139023/ lands, this thunk is no
3666         longer needed.
3667
3668         Reviewed by Adam Barth.
3669
3670         * WebKit.gyp:
3671         * public/WebReferrerPolicy.h: Removed.
3672
3673 2012-04-29  Sam Weinig  <sam@webkit.org>
3674
3675         Remove BlobBuilder
3676         https://bugs.webkit.org/show_bug.cgi?id=84036
3677
3678         Reviewed by Anders Carlsson.
3679
3680         * features.gypi:
3681         Keep WebKitBlobBuilder enabled for Chromium, since it has shipped it.
3682
3683 2012-04-30  Min Qin  <qinmin@google.com>
3684
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
3687
3688         Reviewed by Darin Fisher.
3689
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.
3695
3696         Sorry, there is a merge error during the previous commit, resolved now
3697
3698         No new tests. This just exposes the flag so later it can be used by android.
3699
3700         * features.gypi:
3701         * public/WebMediaPlayer.h:
3702         (WebMediaPlayer):
3703         (WebKit::WebMediaPlayer::enterFullscreen):
3704         (WebKit::WebMediaPlayer::exitFullscreen):
3705         * src/WebMediaPlayerClientImpl.cpp:
3706         (WebKit):
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):
3714
3715 2012-04-30  Gavin Peters  <gavinp@chromium.org>
3716
3717         Unreviewed.  Rolled DEPS.
3718
3719         * DEPS:
3720
3721 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3722
3723         [Chromium] Remove PlatformSupport::loadPlatformAudioResource, call loadResource directly
3724         https://bugs.webkit.org/show_bug.cgi?id=85193
3725
3726         Reviewed by Kentaro Hara.
3727
3728         Part of a refactoring series. See tracking bug 82948.
3729
3730         * src/PlatformSupport.cpp:
3731         (WebCore):
3732
3733 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3734
3735         [Chromium] Call defaultLocale directly
3736         https://bugs.webkit.org/show_bug.cgi?id=85192
3737
3738         Reviewed by Kentaro Hara.
3739
3740         Part of a refactoring series. See tracking bug 82948.
3741
3742         * src/PlatformSupport.cpp:
3743         (WebCore):
3744
3745 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3746
3747         [Chromium] Use new syntax to call callOnMainThread directly
3748         https://bugs.webkit.org/show_bug.cgi?id=85190
3749
3750         Reviewed by Kentaro Hara.
3751
3752         Part of a refactoring series. See tracking bug 82948.
3753
3754         * src/ChromiumThreading.cpp:
3755         (WTF::ChromiumThreading::callOnMainThread):
3756
3757 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3758
3759         [Chromium] Use new syntax to call monotonicallyIncreasingTime directly
3760         https://bugs.webkit.org/show_bug.cgi?id=85189
3761
3762         Reviewed by Kentaro Hara.
3763
3764         Part of a refactoring series. See tracking bug 82948.
3765
3766         * src/ChromiumCurrentTime.cpp:
3767         (WTF::monotonicallyIncreasingTime):
3768
3769 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3770
3771         [Chromium] Use new syntax to call userAgent directly
3772         https://bugs.webkit.org/show_bug.cgi?id=85188
3773
3774         Reviewed by Kentaro Hara.
3775
3776         Part of a refactoring series. See tracking bug 82948.
3777         
3778         * src/FrameLoaderClientImpl.cpp:
3779         (WebKit::FrameLoaderClientImpl::userAgent):
3780
3781 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3782
3783         [Chromium] Use new syntax to call currentTime directly
3784         https://bugs.webkit.org/show_bug.cgi?id=85187
3785
3786         Reviewed by Kentaro Hara.
3787
3788         Part of a refactoring series. See tracking bug 82948.
3789
3790         * src/ChromiumCurrentTime.cpp:
3791         (WTF::currentTime):
3792
3793 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3794
3795         [Chromium] Use new syntax to call currentThread directly
3796         https://bugs.webkit.org/show_bug.cgi?id=85185
3797
3798         Reviewed by Kentaro Hara.
3799
3800         Part of a refactoring series. See tracking bug 82948.
3801         
3802         * src/CCThreadImpl.cpp:
3803         (WebKit::CCThreadImpl::CCThreadImpl):
3804         * src/WebCompositorImpl.cpp:
3805         (WebKit::WebCompositorImpl::initialize):
3806
3807 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3808
3809         [Chromium] Use new syntax to call createThread directly
3810         https://bugs.webkit.org/show_bug.cgi?id=85186
3811
3812         Reviewed by Kentaro Hara.
3813
3814         Part of a refactoring series. See tracking bug 82948.
3815
3816         * tests/CCLayerTreeHostTest.cpp:
3817         (WTF::CCLayerTreeHostTest::runTest):
3818         * tests/Canvas2DLayerChromiumTest.cpp:
3819         (Canvas2DLayerChromiumTest::fullLifecycleTest):
3820
3821 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
3822
3823         [Chromium] Use new syntax to call createSocketStreamHandle directly
3824         https://bugs.webkit.org/show_bug.cgi?id=85184
3825
3826         Reviewed by Kentaro Hara.
3827
3828         Part of a refactoring series. See tracking bug 82948.
3829         
3830         * src/SocketStreamHandle.cpp:
3831         (WebCore::SocketStreamHandleInternal::connect):
3832
3833 2012-04-29  Mark Pilgrim  <pilgrim@chromium.org>
3834
3835         [Chromium] Call highUsageDeltaMB directly
3836         https://bugs.webkit.org/show_bug.cgi?id=84844
3837
3838         Reviewed by Kentaro Hara.
3839
3840         Part of a refactoring series. See tracking bug 82948.
3841
3842         * src/PlatformSupport.cpp:
3843         (WebCore):
3844
3845 2012-04-28  Ilya Tikhonovsky  <loislo@chromium.org>
3846
3847         Web Inspector: InspectorFrontendHost.append has to be implemented for saving heap snapshots.
3848         https://bugs.webkit.org/show_bug.cgi?id=85137
3849
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.
3854
3855         Reviewed by Yury Semikhatsky.
3856
3857         * public/WebDevToolsFrontendClient.h:
3858         (WebKit::WebDevToolsFrontendClient::append):
3859         * src/InspectorFrontendClientImpl.cpp:
3860         (WebKit::InspectorFrontendClientImpl::append):
3861         (WebKit):
3862         * src/InspectorFrontendClientImpl.h:
3863         (InspectorFrontendClientImpl):
3864
3865 2012-04-28  Andrey Kosyakov  <caseq@chromium.org>
3866
3867         [chromium] add frame boundaries instrumentation for the threaded compositor
3868         https://bugs.webkit.org/show_bug.cgi?id=83926
3869
3870         - call instrumentBeginFrame() in a callback invoked by CCThreadProxy to fix frame marks in WebInspector's
3871           timeline panel, currently broken for threaded compositor.
3872
3873         * src/WebViewImpl.cpp:
3874         (WebKit::WebViewImpl::willBeginFrame):
3875
3876 2012-04-27  Sheriff Bot  <webkit.review.bot@gmail.com>
3877
3878         Unreviewed, rolling out r115529.
3879         http://trac.webkit.org/changeset/115529
3880         https://bugs.webkit.org/show_bug.cgi?id=85125
3881
3882         Broke Clang build (Requested by enne on #webkit).
3883
3884         * WebKit.gypi:
3885         * src/WebMediaPlayerClientImpl.cpp:
3886         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
3887         * src/WebMediaPlayerClientImpl.h:
3888         (WebMediaPlayerClientImpl):
3889         * tests/WebMediaPlayerClientImplTest.cpp: Removed.
3890
3891 2012-04-27  Mark Pilgrim  <pilgrim@chromium.org>
3892
3893         [Chromium] Call highMemoryUsageMB directly
3894         https://bugs.webkit.org/show_bug.cgi?id=84841
3895
3896         Reviewed by Kentaro Hara.
3897
3898         Part of a refactoring series. See tracking bug 82948.
3899
3900         * src/PlatformSupport.cpp:
3901         (WebCore):
3902
3903 2012-04-27  Adrienne Walker  <enne@google.com>
3904
3905         [chromium] Allow WebMediaPlayerClientImpl to switch clients
3906         https://bugs.webkit.org/show_bug.cgi?id=85093
3907
3908         Reviewed by James Robinson.
3909
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
3914         provider.
3915
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.
3920
3921         Test: WebMediaPlayerClientImplTest.InitialNullVideoClient
3922               WebMediaPlayerClientImplTest.SetAndUnsetVideoClient
3923               WebMediaPlayerClientImplTest.DestroyProvider
3924               WebMediaPlayerClientImplTest.SetMultipleVideoClients
3925
3926         * WebKit.gypi:
3927         * src/WebMediaPlayerClientImpl.cpp:
3928         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
3929         * src/WebMediaPlayerClientImpl.h:
3930         (WebMediaPlayerClientImpl):
3931         * tests/WebMediaPlayerClientImplTest.cpp: Added.
3932         (WebKit):
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):
3944         (WebKit::TEST):
3945
3946 2012-04-27  Tony Chang  <tony@chromium.org>
3947
3948         [chromium] Fix compiler warning in CCSchedulerTest.cpp with gcc 4.6.3
3949         https://bugs.webkit.org/show_bug.cgi?id=85110
3950
3951         Reviewed by James Robinson.
3952
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]
3956
3957         * tests/CCSchedulerTest.cpp:
3958         (WebKitTests::TEST):
3959
3960 2012-04-27  Nat Duca  <nduca@chromium.org>
3961
3962         Expose high-resolution on requestAnimationFrame callback
3963         https://bugs.webkit.org/show_bug.cgi?id=66683
3964
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
3968
3969         Reviewed by James Robinson.
3970
3971         * src/PageWidgetDelegate.cpp:
3972         (WebKit::PageWidgetDelegate::animate):
3973         * src/WebViewImpl.cpp:
3974         (WebKit::WebViewImpl::updateAnimations):
3975
3976 2012-04-27  Mark Pilgrim  <pilgrim@chromium.org>
3977
3978         [Chromium] Call lowMemoryUsageMB directly
3979         https://bugs.webkit.org/show_bug.cgi?id=84840
3980
3981         Reviewed by Kentaro Hara.
3982
3983         Part of a refactoring series. See tracking bug 82948.
3984
3985         * src/PlatformSupport.cpp:
3986         (WebCore):
3987
3988 2012-04-27  Ian Vollick  <vollick@chromium.org>
3989
3990         [chromium] Add pause and resume support for accelerated css animations.
3991         https://bugs.webkit.org/show_bug.cgi?id=84601
3992
3993         Reviewed by James Robinson.
3994
3995         * tests/CCActiveAnimationTest.cpp:
3996         (WebCore::TEST):
3997         (WebCore):
3998         * tests/CCLayerAnimationControllerTest.cpp:
3999         (WebKitTests::TEST):
4000         (WebKitTests):
4001
4002 2012-04-26  James Robinson  <jamesr@chromium.org>
4003
4004         [chromium] Separate IOSurface layer type from texture layers
4005         https://bugs.webkit.org/show_bug.cgi?id=85030
4006
4007         Reviewed by Adrienne Walker.
4008
4009         Update WebPluginContainerImpl to support having either a texture or IOSurface layer (but never both) depending
4010         on the plugin's contents.
4011
4012         * WebKit.gyp:
4013         * src/WebExternalTextureLayer.cpp:
4014         * src/WebIOSurfaceLayer.cpp:
4015         (WebKit):
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):
4028
4029 2012-04-27  Hans Wennborg  <hans@chromium.org>
4030
4031         Speech JavaScript API: Fix Vector use failure
4032         https://bugs.webkit.org/show_bug.cgi?id=85069
4033
4034         Reviewed by Tony Gentilcore.
4035
4036         Fix think-o in code copying from WebVector to Vector.
4037
4038         * src/SpeechRecognitionClientProxy.cpp:
4039         (WebKit::SpeechRecognitionClientProxy::didReceiveResult):
4040         (WebKit::SpeechRecognitionClientProxy::didDeleteResult):
4041         * src/WebSpeechRecognitionResult.cpp:
4042         (WebKit::WebSpeechRecognitionResult::assign):
4043
4044 2012-04-27  Leandro Gracia Gil  <leandrogracia@chromium.org>
4045
4046         Selectively retrieve text around a touched point.
4047         https://bugs.webkit.org/show_bug.cgi?id=82460
4048
4049         Reviewed by Darin Fisher.
4050
4051         Implements an embedding API to WebCore's SurroundingText, adding also
4052         the possibility of select and highlight the retrieved text range.
4053
4054         * WebKit.gyp:
4055         * public/WebFrame.h:
4056         (WebFrame):
4057         * public/WebHitTestResult.h: Added.
4058         (WebCore):
4059         (WebKit):
4060         (WebHitTestResult):
4061         (WebKit::WebHitTestResult::WebHitTestResult):
4062         (WebKit::WebHitTestResult::~WebHitTestResult):
4063         * public/WebRange.h:
4064         (WebKit):
4065         (WebRange):
4066         * public/WebSurroundingText.h: Added.
4067         (WebCore):
4068         (WebKit):
4069         (WebSurroundingText):
4070         (WebKit::WebSurroundingText::WebSurroundingText):
4071         (WebKit::WebSurroundingText::~WebSurroundingText):
4072         * public/WebView.h:
4073         (WebKit):
4074         * src/WebFrameImpl.cpp:
4075         (WebKit::WebFrameImpl::selectRange):
4076         (WebKit):
4077         * src/WebFrameImpl.h:
4078         (WebFrameImpl):
4079         * src/WebHitTestResult.cpp: Added.
4080         (WebKit):
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):
4089         * src/WebRange.cpp:
4090         (WebKit::WebRange::textQuads):
4091         (WebKit):
4092         * src/WebSurroundingText.cpp: Added.
4093         (WebKit):
4094         (WebKit::WebSurroundingText::initialize):
4095         (WebKit::WebSurroundingText::textContent):
4096         (WebKit::WebSurroundingText::hitOffsetInTextContent):
4097         (WebKit::WebSurroundingText::rangeFromContentOffsets):
4098         (WebKit::WebSurroundingText::isNull):
4099         (WebKit::WebSurroundingText::reset):
4100
4101 2012-04-27  Dimitri Glazkov  <dglazkov@chromium.org>
4102
4103         Unreviewed, rolling out r115463.
4104         http://trac.webkit.org/changeset/115463
4105         https://bugs.webkit.org/show_bug.cgi?id=82460
4106
4107         Broke Mac build.
4108
4109         * WebKit.gyp:
4110         * public/WebFrame.h:
4111         (WebFrame):
4112         * public/WebHitTestResult.h: Removed.
4113         * public/WebRange.h:
4114         (WebRange):
4115         * public/WebSurroundingText.h: Removed.
4116         * public/WebView.h:
4117         (WebKit):
4118         * src/WebFrameImpl.cpp:
4119         * src/WebFrameImpl.h:
4120         (WebFrameImpl):
4121         * src/WebHitTestResult.cpp: Removed.
4122         * src/WebRange.cpp:
4123         * src/WebSurroundingText.cpp: Removed.
4124
4125 2012-04-27  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
4126
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
4129
4130         Reviewed by Darin Fisher.
4131
4132         * WebKit.gyp:
4133         * public/WebPrintScalingOption.h: Added.
4134         (WebKit):
4135
4136 2012-04-27  Leandro Gracia Gil  <leandrogracia@chromium.org>
4137
4138         Selectively retrieve text around a touched point.
4139         https://bugs.webkit.org/show_bug.cgi?id=82460
4140
4141         Reviewed by Darin Fisher.
4142
4143         Implements an embedding API to WebCore's SurroundingText, adding also
4144         the possibility of select and highlight the retrieved text range.
4145
4146         * WebKit.gyp:
4147         * public/WebFrame.h:
4148         (WebFrame):
4149         * public/WebHitTestResult.h: Added.
4150         (WebCore):
4151         (WebKit):
4152         (WebHitTestResult):
4153         (WebKit::WebHitTestResult::WebHitTestResult):
4154         (WebKit::WebHitTestResult::~WebHitTestResult):
4155         * public/WebRange.h:
4156         (WebKit):
4157         (WebRange):
4158         * public/WebSurroundingText.h: Added.
4159         (WebCore):
4160         (WebKit):
4161         (WebSurroundingText):
4162         (WebKit::WebSurroundingText::WebSurroundingText):
4163         (WebKit::WebSurroundingText::~WebSurroundingText):
4164         * public/WebView.h:
4165         (WebKit):
4166         * src/WebFrameImpl.cpp:
4167         (WebKit::WebFrameImpl::selectRange):
4168         (WebKit):
4169         * src/WebFrameImpl.h:
4170         (WebFrameImpl):
4171         * src/WebHitTestResult.cpp: Added.
4172         (WebKit):
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):
4181         * src/WebRange.cpp:
4182         (WebKit::WebRange::textQuads):
4183         (WebKit):
4184         * src/WebSurroundingText.cpp: Added.
4185         (WebKit):
4186         (WebKit::WebSurroundingText::initialize):
4187         (WebKit::WebSurroundingText::textContent):
4188         (WebKit::WebSurroundingText::hitOffsetInTextContent):
4189         (WebKit::WebSurroundingText::rangeFromContentOffsets):
4190         (WebKit::WebSurroundingText::isNull):
4191         (WebKit::WebSurroundingText::reset):
4192
4193 2012-04-27  Sheriff Bot  <webkit.review.bot@gmail.com>
4194
4195         Unreviewed, rolling out r115436.
4196         http://trac.webkit.org/changeset/115436
4197         https://bugs.webkit.org/show_bug.cgi?id=85079
4198
4199         "broke the build" (Requested by tonyg-cr on #webkit).
4200
4201         * WebKit.gyp:
4202         * public/WebReferrerPolicy.h: Added.
4203
4204 2012-04-27  Gavin Peters  <gavinp@chromium.org>
4205
4206         Add new ENABLE_LINK_PRERENDER define to control the Prerendering API
4207         https://bugs.webkit.org/show_bug.cgi?id=84871
4208
4209         Reviewed by Adam Barth.
4210
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.
4215
4216 2012-04-27  Dimitri Glazkov  <dglazkov@chromium.org>
4217
4218         Unreviewed, rolling out r115433.
4219         http://trac.webkit.org/changeset/115433
4220         https://bugs.webkit.org/show_bug.cgi?id=85052
4221
4222         Enable unit tests again.
4223
4224         * tests/PopupMenuTest.cpp:
4225         (WebKit::TEST_F):
4226
4227 2012-04-27  Dimitri Glazkov  <dglazkov@chromium.org>
4228
4229         Unreviewed, rolling out r115421.
4230         http://trac.webkit.org/changeset/115421
4231         https://bugs.webkit.org/show_bug.cgi?id=85052
4232
4233         Enable unit tests again.
4234
4235         * tests/PopupMenuTest.cpp:
4236         (WebKit::TEST_F):
4237
4238 2012-04-27  Dimitri Glazkov  <dglazkov@chromium.org>
4239
4240         Unreviewed, rolling out r115400.
4241         http://trac.webkit.org/changeset/115400
4242         https://bugs.webkit.org/show_bug.cgi?id=84420
4243
4244         Broke unit tests.
4245
4246         * src/ChromeClientImpl.cpp:
4247         (WebKit::ChromeClientImpl::popupOpened):
4248         * src/WebViewImpl.cpp:
4249         (WebKit::WebViewImpl::applyAutofillSuggestions):
4250
4251 2012-04-27  Gavin Peters  <gavinp@chromium.org>
4252
4253         [Chromium] Remove Webkit/chromium/public/WebReferrerPolicy.h thunk.
4254         https://bugs.webkit.org/show_bug.cgi?id=84552
4255
4256         After http://codereview.chromium.org/10139023/ lands, this thunk is no
4257         longer needed.
4258
4259         Reviewed by Adam Barth.
4260
4261         * WebKit.gyp:
4262         * public/WebReferrerPolicy.h: Removed.
4263
4264 2012-04-27  Marcus Bulach  <bulach@chromium.org>
4265
4266         [chromium] Disables a few more webkit_unittests.
4267         https://bugs.webkit.org/show_bug.cgi?id=85052
4268
4269         Unreviewed build fix.
4270         
4271         Failing on Windows bots, probably due to r115400.
4272
4273         * tests/PopupMenuTest.cpp:
4274         (WebKit::TEST_F):
4275
4276 2012-04-27  Marcus Bulach  <bulach@chromium.org>
4277
4278         [chromium] Disables a few webkit_unittests.
4279         https://bugs.webkit.org/show_bug.cgi?id=85052
4280
4281         Unreviewed build fix.
4282
4283         * tests/PopupMenuTest.cpp:
4284         (WebKit::TEST_F):
4285
4286 2012-04-24  James Robinson  <jamesr@chromium.org>
4287
4288         [chromium] Move ProgramBinding definitions to LayerRendererChromium and normalize naming
4289         https://bugs.webkit.org/show_bug.cgi?id=84808
4290
4291         Reviewed by Adrienne Walker.
4292
4293         Add some includes needed by this test that were previously picked up by upstream headers.
4294
4295         * tests/CCLayerTreeHostImplTest.cpp:
4296
4297 2012-04-26  Ilya Sherman  <isherman@chromium.org>
4298
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
4303
4304         Reviewed by Kent Tamura.
4305
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
4310
4311 2012-04-26  Dana Jansens  <danakj@chromium.org>
4312
4313         [chromium] Some background filters require inflating damage on the surface behind them
4314         https://bugs.webkit.org/show_bug.cgi?id=84479
4315
4316         Reviewed by Adrienne Walker.
4317
4318         * tests/CCDamageTrackerTest.cpp:
4319         (WebKitTests::TEST_F):
4320         (WebKitTests):
4321
4322 2012-04-26  Aaron Colwell  <acolwell@chromium.org>
4323
4324         Cleanup WebMediaPlayer enum values that didn't match Chromium style guidelines
4325         https://bugs.webkit.org/show_bug.cgi?id=84998
4326
4327         Reviewed by Darin Fisher.
4328
4329         * public/WebMediaPlayer.h:
4330         (WebKit::WebMediaPlayer::generateKeyRequest):
4331         (WebKit::WebMediaPlayer::addKey):
4332         (WebKit::WebMediaPlayer::cancelKeyRequest):
4333
4334 2012-04-26  Shawn Singh  <shawnsingh@chromium.org>
4335
4336         [chromium] re-implement backFaceVisibility to avoid dealing with perspective w<0 problem
4337         https://bugs.webkit.org/show_bug.cgi?id=84059
4338
4339         Reviewed by Adrienne Walker.
4340
4341         * WebKit.gypi:
4342         * tests/CCMathUtilTest.cpp: Added.
4343         (WebCore):
4344         (WebCore::TEST):
4345
4346 2012-04-26  Justin Novosad  <junov@chromium.org>
4347
4348         [Chromium] Single buffered canvas layers with the threaded compositor
4349         https://bugs.webkit.org/show_bug.cgi?id=80540
4350
4351         Reviewed by James Robinson.
4352
4353         * tests/CCLayerTreeHostTest.cpp:
4354         (WTF::CCLayerTreeHostTest::AcquireLayerTextures):
4355         (CCLayerTreeHostTest):
4356         (WTF::CCLayerTreeHostTest::dispatchAcquireLayerTextures):
4357         (WTF::TEST_F):
4358         (WTF):
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):
4372         (WebKitTests):
4373         * tests/Canvas2DLayerChromiumTest.cpp:
4374         (Canvas2DLayerChromiumTest::fullLifecycleTest):
4375
4376 2012-04-26  Joshua Bell  <jsbell@chromium.org>
4377
4378         [Chromium] IndexedDB: Use WebIDBKeyPath type for key paths in WebKit API
4379         https://bugs.webkit.org/show_bug.cgi?id=84631
4380
4381         Reviewed by James Robinson.
4382
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
4388
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.
4414         (WebKit):
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.
4420         (WebKit):
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.
4429         (WebKit):
4430         * src/WebIDBObjectStoreImpl.h:
4431         (WebIDBObjectStoreImpl): Add createIndex overload for WebIDBKeyPath type, delegates to WebString version until callers are updated.
4432
4433 2012-04-26  Alexander Pavlov  <apavlov@chromium.org>
4434
4435         Web Inspector: [CRASH] WebViewImpl::setZoomLevel when emulating device metrics
4436         https://bugs.webkit.org/show_bug.cgi?id=84938
4437
4438         Check for the presence of a live Frame/FrameView before invoking methods that depend on them.
4439
4440         Reviewed by Yury Semikhatsky.
4441
4442         * src/WebDevToolsAgentImpl.cpp:
4443         (WebKit::DeviceMetricsSupport::restore):
4444
4445 2012-04-25  Dana Jansens  <danakj@chromium.org>
4446
4447         [chromium] Remove guarded virtual methods from WebFilterOperation API
4448         https://bugs.webkit.org/show_bug.cgi?id=84926
4449
4450         Reviewed by James Robinson.
4451
4452         * src/AssertMatchingEnums.cpp:
4453
4454 2012-04-25  James Robinson  <jamesr@chromium.org>
4455
4456         [chromium] REGRESSION(112286) Compositor initialization blocks for program compilation / linking
4457         https://bugs.webkit.org/show_bug.cgi?id=84822
4458
4459         Reviewed by Adrienne Walker.
4460
4461         Add a test that makes sure we don't make blocking calls during LayerRendererChromium initialization.
4462
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):
4477         (TEST):
4478
4479 2012-04-25  Alec Flett  <alecflett@chromium.org>
4480
4481         IndexedDB: implement cursor.advance()
4482         https://bugs.webkit.org/show_bug.cgi?id=84174
4483
4484         Reviewed by Ojan Vafai.
4485
4486         Hook up chromium IPC to IDBCursor.advance().
4487
4488         * src/IDBCursorBackendProxy.cpp:
4489         (WebKit::IDBCursorBackendProxy::advance):
4490         (WebKit):
4491         * src/IDBCursorBackendProxy.h:
4492         (IDBCursorBackendProxy):
4493         * src/WebIDBCursorImpl.cpp:
4494         (WebKit::WebIDBCursorImpl::advance):
4495
4496 2012-04-25  Alpha Lam  <hclam@chromium.org>
4497
4498         Unreviewed, rolling out r115262.
4499         http://trac.webkit.org/changeset/115262
4500         https://bugs.webkit.org/show_bug.cgi?id=84631
4501
4502         r115262 is causing link error in WebKit Win Builder (dbg)
4503
4504         * public/WebIDBDatabase.h:
4505         (WebKit::WebIDBDatabase::createObjectStore):
4506         * public/WebIDBIndex.h:
4507         (WebKit::WebIDBIndex::keyPath):
4508         (WebKit::WebIDBIndex::keyPathString):
4509         * public/WebIDBKeyPath.h:
4510         (WebKit):
4511         (WebIDBKeyPath):
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:
4527         (WebIDBIndexImpl):
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):
4536
4537 2012-04-24  Adrienne Walker  <enne@google.com>
4538
4539         [chromium] Prevent CCLayerImpl::willDraw/didDraw mismatches
4540         https://bugs.webkit.org/show_bug.cgi?id=84812
4541
4542         Reviewed by James Robinson.
4543
4544         Update all tests to call CCLayerTreeHostImpl::didDrawAllLayers if they
4545         call CCLayerTreeHostImpl::prepareToDraw.
4546
4547         * tests/CCLayerTreeHostImplTest.cpp:
4548         (WebKitTests::CCLayerTreeHostImplTest::initializeLayerRendererAndDrawFrame):
4549         (WebKitTests::TEST_F):
4550
4551 2012-04-25  Joshua Bell  <jsbell@chromium.org>
4552
4553         [Chromium] IndexedDB: Use WebIDBKeyPath type for key paths in WebKit API
4554         https://bugs.webkit.org/show_bug.cgi?id=84631
4555
4556         Reviewed by James Robinson.
4557
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
4563
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.
4589         (WebKit):
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.
4595         (WebKit):
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.
4604         (WebKit):
4605         * src/WebIDBObjectStoreImpl.h:
4606         (WebIDBObjectStoreImpl): Add createIndex overload for WebIDBKeyPath type, delegates to WebString version until callers are updated.
4607
4608 2012-04-25  Ian Vollick  <vollick@chromium.org>
4609
4610         [chromium] Add support for animation finished events.
4611         https://bugs.webkit.org/show_bug.cgi?id=84454
4612
4613         Reviewed by James Robinson.
4614
4615         * tests/CCLayerAnimationControllerTest.cpp:
4616         (WebKitTests::TEST):
4617         * tests/CCLayerTreeHostTest.cpp:
4618         (WTF::TestHooks::notifyAnimationFinished):
4619         (WTF::TEST_F):
4620         (WTF):
4621         (CCLayerTreeHostTestAnimationFinishedEvents):
4622         (WTF::CCLayerTreeHostTestAnimationFinishedEvents::CCLayerTreeHostTestAnimationFinishedEvents):
4623         (WTF::CCLayerTreeHostTestAnimationFinishedEvents::beginTest):
4624         (WTF::CCLayerTreeHostTestAnimationFinishedEvents::notifyAnimationFinished):
4625         (WTF::CCLayerTreeHostTestAnimationFinishedEvents::afterTest):
4626
4627 2012-04-25  Ian Vollick  <vollick@chromium.org>
4628
4629         [chromium] Do not clobber synchronized start times.
4630         https://bugs.webkit.org/show_bug.cgi?id=84605
4631
4632         Reviewed by James Robinson.
4633
4634         * tests/CCLayerAnimationControllerTest.cpp:
4635         (WebKitTests):
4636         (WebKitTests::TEST):
4637
4638 2012-04-25  Mark Pilgrim  <pilgrim@chromium.org>
4639
4640         [Chromium] Call actualMemoryUsageMB directly
4641         https://bugs.webkit.org/show_bug.cgi?id=84837
4642
4643         Reviewed by Kentaro Hara.
4644
4645         Part of a refactoring series. See tracking bug 82948.
4646
4647         * src/PlatformSupport.cpp:
4648         (WebCore):
4649
4650 2012-04-25  Alexis Menard  <alexis.menard@openbossa.org>
4651
4652         Rename CSSStyleSelector files to StyleResolver.
4653         https://bugs.webkit.org/show_bug.cgi?id=84814
4654
4655         Reviewed by Antti Koivisto.
4656
4657         Rename CSSStyleSelector files to match the new class name StyleResolver.
4658         Update the includes all over the code base to the new name.
4659
4660         * src/AutofillPopupMenuClient.cpp:
4661         * src/WebViewImpl.cpp:
4662
4663 2012-04-25  Gavin Peters  <gavinp@chromium.org>
4664
4665         [Chromium] Fix some conditional compilation logic in Platform
4666         https://bugs.webkit.org/show_bug.cgi?id=83798
4667
4668         Reviewed by Darin Fisher.
4669
4670         * tests/WebFrameTest.cpp:
4671         (WebKit::TestReloadDoesntRedirectWebFrameClient::cancelledError):
4672
4673 2012-04-25  Yury Semikhatsky  <yurys@chromium.org>
4674
4675         Web Inspector: move HeapSnapshotLoader into a separate file
4676         https://bugs.webkit.org/show_bug.cgi?id=84860
4677
4678         Extracted HeapSnapshotLoader into its own file.
4679
4680         Reviewed by Pavel Feldman.
4681
4682         * WebKit.gyp:
4683
4684 2012-04-25  Ian Vollick  <vollick@chromium.org>
4685
4686         [chromium] Animations waiting for a synchronized start time should never be marked finished.
4687         https://bugs.webkit.org/show_bug.cgi?id=84519
4688
4689         Reviewed by James Robinson.
4690
4691         * tests/CCLayerAnimationControllerTest.cpp:
4692         (WebKitTests::TEST):
4693         (WebKitTests):
4694
4695 2012-04-25  Gavin Peters  <gavinp@chromium.org>
4696
4697         Move WebReferrerPolicy.h from WebKit to Platform
4698         https://bugs.webkit.org/show_bug.cgi?id=84539
4699
4700         Reviewed by Adam Barth.
4701
4702         * WebKit.gyp:
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:
4709
4710 2012-04-24  Dana Jansens  <danakj@chromium.org>
4711
4712         [chromium] Unbounded draws should use clip to limit their damage to opaque tracking
4713         https://bugs.webkit.org/show_bug.cgi?id=84494
4714
4715         Reviewed by Adrienne Walker.
4716
4717         * tests/PlatformContextSkiaTest.cpp:
4718         (WebCore::TEST):
4719         (WebCore):
4720
4721 2012-04-24  Dana Jansens  <danakj@chromium.org>
4722
4723         [chromium] Image masks are considered opaque incorrectly
4724         https://bugs.webkit.org/show_bug.cgi?id=84275
4725
4726         Reviewed by Adrienne Walker.
4727
4728         * tests/PlatformContextSkiaTest.cpp:
4729         (WebCore):
4730         (WebCore::TEST):
4731
4732 2012-04-24  Alexis Menard  <alexis.menard@openbossa.org>
4733
4734         Replace occurences of style selector from variables and methods names by style resolver.
4735         https://bugs.webkit.org/show_bug.cgi?id=84765
4736
4737         Reviewed by Andreas Kling.
4738
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.
4743
4744         * src/AutofillPopupMenuClient.cpp:
4745         (WebKit::AutofillPopupMenuClient::fontSelector):
4746         (WebKit::AutofillPopupMenuClient::initialize):
4747         * src/WebDevToolsAgentImpl.cpp:
4748         (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
4749         (WebKit::DeviceMetricsSupport::applySizeOverrideInternal):
4750
4751 2012-04-24  Kent Tamura  <tkent@chromium.org>
4752
4753         [Chromium] Implement WebCore::dateFormat{DayInMonth,Month,Year}Text()
4754         https://bugs.webkit.org/show_bug.cgi?id=84683
4755
4756         Reviewed by Dimitri Glazkov.
4757
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.
4764
4765 2012-04-24  Tommy Widenflycht  <tommyw@google.com>
4766
4767         MediaStream API: Create a new flag for PeerConnection
4768         https://bugs.webkit.org/show_bug.cgi?id=84723
4769
4770         Reviewed by Dimitri Glazkov.
4771
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.
4776
4777         * public/WebRuntimeFeatures.h:
4778         (WebRuntimeFeatures):
4779         * src/WebRuntimeFeatures.cpp:
4780         (WebKit::WebRuntimeFeatures::enablePeerConnection):
4781         (WebKit):
4782         (WebKit::WebRuntimeFeatures::isPeerConnectionEnabled):
4783
4784 2012-04-24  Sami Kyostila  <skyostil@chromium.org>
4785
4786         [chromium] Don't keep pointers to released layer tree
4787         https://bugs.webkit.org/show_bug.cgi?id=84715
4788
4789         Reviewed by Adrienne Walker.
4790
4791         Added new unit test to check that we can keep scrolling even if the layer
4792         tree is replaced from under us.
4793
4794         * tests/CCLayerTreeHostImplTest.cpp:
4795         (WebKitTests::TEST_F):
4796         (WebKitTests):
4797
4798 2012-04-24  Sheriff Bot  <webkit.review.bot@gmail.com>
4799
4800         Unreviewed.  Rolled DEPS.
4801
4802         * DEPS:
4803
4804 2012-04-24  Sheriff Bot  <webkit.review.bot@gmail.com>
4805
4806         Unreviewed, rolling out r115000.
4807         http://trac.webkit.org/changeset/115000
4808         https://bugs.webkit.org/show_bug.cgi?id=84703
4809
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).
4813
4814         * tests/PlatformContextSkiaTest.cpp:
4815         (WebCore):
4816         (WebCore::TEST):
4817
4818 2012-04-23  Dana Jansens  <danakj@chromium.org>
4819
4820         [chromium] Image masks are considered opaque incorrectly
4821         https://bugs.webkit.org/show_bug.cgi?id=84275
4822
4823         Reviewed by Adrienne Walker.
4824
4825         * tests/PlatformContextSkiaTest.cpp:
4826         (WebCore):
4827         (WebCore::TEST):
4828
4829 2012-04-23  Kent Tamura  <tkent@chromium.org>
4830
4831         Show the format indicator in a date field
4832         https://bugs.webkit.org/show_bug.cgi?id=83872
4833
4834         Reviewed by Hajime Morita.
4835
4836         * src/LocalizedStrings.cpp:
4837         (WebCore::dateFormatYearText): Added a stub.
4838         (WebCore::dateFormatMonthText): ditto.
4839         (WebCore::dateFormatDayInMonthText): ditto.
4840
4841 2012-04-23  Michael Nordman  <michaeln@google.com>
4842
4843         [chromium] DomStorage event handling mods.
4844         https://bugs.webkit.org/show_bug.cgi?id=84387
4845
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
4852         this better.
4853
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).
4857
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
4862         mutation event.
4863
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
4869
4870         Reviewed by Dimitri Glazkov.
4871
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
4888
4889 2012-04-23  Kenneth Russell  <kbr@google.com>
4890
4891         Change ImageData to reference Uint8ClampedArray rather than CanvasPixelArray
4892         https://bugs.webkit.org/show_bug.cgi?id=73011
4893
4894         Reviewed by Oliver Hunt.
4895
4896         * src/GraphicsContext3DChromium.cpp:
4897         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
4898         * src/WebViewImpl.cpp:
4899         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
4900
4901 2012-04-23  Kent Tamura  <tkent@chromium.org>
4902
4903         Crash when the page with a calendar picker is scrolled
4904         https://bugs.webkit.org/show_bug.cgi?id=84287
4905
4906         Reviewed by Hajime Morita.
4907
4908         Use the same ownership model as WebPopupMenuImpl's.
4909
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.
4925
4926 2012-04-18  James Robinson  <jamesr@chromium.org>
4927
4928         [chromium] Use TextureLayerChromium for WebGL content instead of a dedicated layer type
4929         https://bugs.webkit.org/show_bug.cgi?id=84311
4930
4931         Reviewed by Adrienne Walker.
4932
4933         * WebKit.gypi:
4934         * src/WebExternalTextureLayer.cpp:
4935         (WebKit::WebExternalTextureLayer::create):
4936         * src/WebLayer.cpp:
4937         * tests/WebGLLayerChromiumTest.cpp: Removed.
4938         * tests/WebLayerTest.cpp:
4939
4940 2012-04-23  Alec Flett  <alecflett@chromium.org>
4941
4942         IndexedDB: remove IDB(Index|ObjectStore)BackendImpl::get/getKey for IDBKey
4943         https://bugs.webkit.org/show_bug.cgi?id=84285
4944
4945         Reviewed by Dimitri Glazkov.
4946
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.
4950
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:
4961         (WebIDBIndexImpl):
4962         * src/WebIDBObjectStoreImpl.cpp:
4963         * src/WebIDBObjectStoreImpl.h:
4964         (WebIDBObjectStoreImpl):
4965
4966 2012-04-23  Eriq Augustine  <eaugusti@chromium.org>
4967
4968         Return value from executed script in Chromium.
4969         https://bugs.webkit.org/show_bug.cgi?id=79851
4970
4971         Reviewed by Adam Barth.
4972
4973         Providing a variant of evaluateScriptInIsolatedWorld that
4974         returns the value of the evaluated script.
4975
4976         * public/WebFrame.h:
4977         (WebFrame):
4978         * src/WebFrameImpl.cpp:
4979         (WebKit::WebFrameImpl::executeScriptInIsolatedWorldAndReturnValues):
4980         (WebKit):
4981         * src/WebFrameImpl.h:
4982         (WebKit):
4983         (WebFrameImpl):
4984
4985 2012-04-23  Raymond Toy  <rtoy@google.com>
4986
4987         Move AudioDestinationChromium FIFO class to its own class.
4988         https://bugs.webkit.org/show_bug.cgi?id=84058
4989
4990         Reviewed by Chris Rogers.
4991
4992         Remove private FIFO class and use new AudioPullFIFO class.
4993         * src/AudioDestinationChromium.cpp:
4994         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
4995         * src/AudioDestinationChromium.h:
4996         (AudioDestinationChromium):
4997
4998 2012-04-23  Dmitry Titov  <dimich@chromium.org>
4999
5000         Chromium roll 133422:133506.
5001         Not reviewed.
5002
5003         * DEPS:
5004
5005 2012-04-23  Ian Vollick  <vollick@chromium.org>
5006
5007         [chromium] Properly ignore unsupported animation directions.
5008         https://bugs.webkit.org/show_bug.cgi?id=84599
5009
5010         Reviewed by Adrienne Walker.
5011
5012         * tests/CCLayerAnimationControllerTest.cpp:
5013         (WebKitTests::TEST):
5014         (WebKitTests):
5015
5016 2012-04-23  Ian Vollick  <vollick@chromium.org>
5017
5018         [chromium] When prepareToDraw fails due to animation checkerboard, we need to call setNeedsCommit
5019         https://bugs.webkit.org/show_bug.cgi?id=84520
5020
5021         Reviewed by Adrienne Walker.
5022
5023         * tests/CCLayerTreeHostImplTest.cpp:
5024         (WebKitTests::TEST_F):
5025
5026 2012-04-23  Mikhail Naganov  <mnaganov@chromium.org>
5027
5028         Chromium roll from r133348 to r133422.
5029
5030         * DEPS:
5031
5032 2012-04-23  Gavin Peters  <gavinp@chromium.org>
5033
5034         Move ReferrerPolicy out of SecurityPolicy class into its own header in platform.
5035         https://bugs.webkit.org/show_bug.cgi?id=84516
5036
5037
5038         Reviewed by Adam Barth.
5039
5040         No change in behaviour; same enum, different class.
5041
5042         * src/AssertMatchingEnums.cpp:
5043         * src/WebSecurityPolicy.cpp:
5044         (WebKit::WebSecurityPolicy::generateReferrerHeader):
5045
5046 2012-04-22  Andreas Kling  <kling@webkit.org>
5047
5048         Optimize Element attribute storage for the common case (no Attr objects.)
5049         <http://webkit.org/b/83440>
5050
5051         Reviewed by Antti Koivisto.
5052
5053         Remove the WebNamedNodeMap and WebAttribute API classes since they are no
5054         longer needed by chromium after <http://crrev.com/133299>.
5055
5056         * WebKit.gyp:
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.
5063
5064 2012-04-22  Mikhail Naganov  <mnaganov@chromium.org>
5065
5066         [Chromium] Fix clang build after r114827, unreviewed.
5067
5068         * tests/LayerTextureUpdaterTest.cpp:
5069         (WebCore::TEST):
5070
5071 2012-04-22  Shawn Singh  <shawnsingh@chromium.org>
5072
5073         [chromium] Damage Tracker needs to use CCMathUtil transforms
5074         https://bugs.webkit.org/show_bug.cgi?id=84070
5075
5076         Reviewed by Adrienne Walker.
5077
5078         * tests/CCDamageTrackerTest.cpp:
5079         (WebKitTests::TEST_F):
5080         (WebKitTests):
5081
5082 2012-04-21  Ryosuke Niwa  <rniwa@webkit.org>
5083
5084         Chromium roll attempt from r133173 to r133348.
5085
5086         * DEPS:
5087
5088 2012-04-20  Adrienne Walker  <enne@google.com>
5089
5090         [chromium] Refactor opaque content transform out of Skia context
5091         https://bugs.webkit.org/show_bug.cgi?id=83608
5092
5093         Reviewed by James Robinson.
5094
5095         Add tests for opaque tracking in LayerTextureUpdater, since the
5096         transform logic has moved there.
5097
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()):
5106         (WebCore):
5107         (WebCore::TEST):
5108         * tests/PlatformContextSkiaTest.cpp:
5109         (WebCore::TEST):
5110
5111 2012-04-20  Dana Jansens  <danakj@chromium.org>
5112
5113         [chromium] Remove special case for recreating layers during sync
5114         https://bugs.webkit.org/show_bug.cgi?id=84458
5115
5116         Reviewed by James Robinson.
5117
5118         * tests/TreeSynchronizerTest.cpp:
5119
5120 2012-04-20  Alec Flett  <alecflett@chromium.org>
5121
5122         IndexedDB: Support get/getKey(keyRange)
5123         https://bugs.webkit.org/show_bug.cgi?id=83638
5124
5125         Reviewed by Ojan Vafai.
5126
5127         Hook up WebKit API to the new get/getKey implementations.
5128
5129         * src/IDBIndexBackendProxy.cpp:
5130         (WebKit::IDBIndexBackendProxy::get):
5131         (WebKit):
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):
5140
5141 2012-04-20  Brady Eidson  <beidson@apple.com>
5142
5143         https://bugs.webkit.org/show_bug.cgi?id=84512
5144         Repurpose ActiveDOMObject::WillShowDialog to WillDeferLoading
5145
5146         Reviewed by Eric Carlson.
5147
5148         PageGroupLoadDeferrer's don't take a ReasonForSuspension argument anymore;
5149         They just use WillDeferLoading by default.
5150
5151         * src/WebViewImpl.cpp:
5152         (WebKit::WebView::willEnterModalLoop):
5153
5154 2012-04-20  James Robinson  <jamesr@chromium.org>
5155
5156         [chromium] Plumb a compositor surface ready notification through to the threaded compositor
5157         https://bugs.webkit.org/show_bug.cgi?id=84305
5158
5159         Reviewed by Adrienne Walker.
5160
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
5165         it will fail.
5166
5167         * public/WebWidget.h:
5168         (WebWidget):
5169         * src/WebLayerTreeView.cpp:
5170         (WebKit::WebLayerTreeView::setSurfaceReady):
5171         (WebKit):
5172         * src/WebPagePopupImpl.cpp:
5173         (WebKit::WebPagePopupImpl::setCompositorSurfaceReady):
5174         (WebKit):
5175         * src/WebPagePopupImpl.h:
5176         (WebPagePopupImpl):
5177         * src/WebPopupMenuImpl.cpp:
5178         (WebKit::WebPopupMenuImpl::setCompositorSurfaceReady):
5179         (WebKit):
5180         * src/WebPopupMenuImpl.h:
5181         * src/WebViewImpl.cpp:
5182         (WebKit::WebViewImpl::setCompositorSurfaceReady):
5183         (WebKit):
5184         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
5185         * src/WebViewImpl.h:
5186         (WebViewImpl):
5187
5188 2012-04-20  Mark Pilgrim  <pilgrim@chromium.org>
5189
5190         [Chromium] Call memoryUsageMB directly
5191         https://bugs.webkit.org/show_bug.cgi?id=84376
5192
5193         Reviewed by Kentaro Hara.
5194
5195         Part of a refactoring series. See tracking bug 82948.
5196
5197         * src/PlatformSupport.cpp:
5198         (WebCore):
5199
5200 2012-04-20  Adrienne Walker  <enne@google.com>
5201
5202         [chromium] Clip TransparencyWin to prevent OOM from large Skia canvas
5203         https://bugs.webkit.org/show_bug.cgi?id=84289
5204
5205         Reviewed by James Robinson.
5206
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.
5209
5210         * tests/TransparencyWinTest.cpp:
5211         (WebCore::testClippedLayerKeepTransform):
5212         (WebCore):
5213         (WebCore::TEST):
5214
5215 2012-04-20  Brady Eidson  <beidson@apple.com>
5216
5217         https://bugs.webkit.org/show_bug.cgi?id=84490
5218         PageGroupLoadDeferrer needs to take a ReasonForSuspension argument
5219
5220         Reviewed by Anders Carlsson.
5221
5222         * src/WebViewImpl.cpp:
5223         (WebKit::WebView::willEnterModalLoop): Pass along ActiveDOMObject::WillShowDialog, which used
5224           to be the default.
5225
5226 2012-04-20  James Robinson  <jamesr@chromium.org>
5227
5228         Avoid synchronously recalculating the nonFastScrollableRegion when the ScrollableArea set changes
5229         https://bugs.webkit.org/show_bug.cgi?id=84470
5230
5231         Reviewed by Anders Carlsson.
5232
5233         Trigger a layout when a plugin becomes or stops being scrollable so the nonFastScrollableRegion
5234         can be updated.
5235
5236         * src/ScrollbarGroup.cpp:
5237         (WebKit::ScrollbarGroup::scrollbarCreated):
5238         (WebKit::ScrollbarGroup::scrollbarDestroyed):
5239
5240 2012-04-20  Dana Jansens  <danakj@chromium.org>
5241
5242         [chromium] Some filters require inflating damage rect in CCDamageTracker
5243         https://bugs.webkit.org/show_bug.cgi?id=84373
5244
5245         Reviewed by James Robinson.
5246
5247         * tests/CCDamageTrackerTest.cpp:
5248         (WebKitTests::emulateDrawingOneFrame):
5249         (WebKitTests::TEST_F):
5250         (WebKitTests):
5251
5252 2012-04-20  Sami Kyostila  <skyostil@chromium.org>
5253
5254         [chromium] Don't crash when scrolling empty layer tree
5255         https://bugs.webkit.org/show_bug.cgi?id=84455
5256
5257         Reviewed by James Robinson.
5258
5259         Try to scroll an empty layer tree.
5260
5261         * tests/CCLayerTreeHostImplTest.cpp:
5262         (WebKitTests::TEST_F):
5263         (WebKitTests):
5264
5265 2012-04-20  Sheriff Bot  <webkit.review.bot@gmail.com>
5266
5267         Unreviewed.  Rolled DEPS.
5268
5269         * DEPS:
5270
5271 2012-04-20  'Pavel Feldman'  <pfeldman@chromium.org>
5272
5273         Not reviewed: fixed chromium sanity tests for inspector via assigning last path component
5274         to entire url for parsed urls with invalid specs.
5275
5276         * src/js/Tests.js:
5277         (.TestSuite.prototype._scriptsAreParsed):
5278
5279 2012-04-20  Mark Pilgrim  <pilgrim@chromium.org>
5280
5281         [Chromium] Call cacheMetadata directly
5282         https://bugs.webkit.org/show_bug.cgi?id=84415
5283
5284         Reviewed by Kentaro Hara.
5285
5286         Part of a refactoring series. See tracking bug 82948.
5287
5288         * src/PlatformSupport.cpp:
5289         (WebCore):
5290
5291 2012-04-20  Mark Pilgrim  <pilgrim@chromium.org>
5292
5293         [Chromium] Call stopSharedTimer directly
5294         https://bugs.webkit.org/show_bug.cgi?id=84418
5295
5296         Reviewed by Kentaro Hara.
5297
5298         Part of a refactoring series. See tracking bug 82948.
5299
5300         * src/PlatformSupport.cpp:
5301         (WebCore):
5302
5303 2012-04-19  Jeremy Mao  <yujie.mao@intel.com>
5304
5305         Media Stream API: Piece of code cleanup for the chromium port
5306         https://bugs.webkit.org/show_bug.cgi?id=84328
5307
5308         Reviewed by Kent Tamura.
5309
5310         Remove some deprecated interfaces.
5311
5312         No new tests. No behavior changes.
5313
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.
5323
5324 2012-04-19  Joshua Bell  <jsbell@chromium.org>
5325
5326         [Chromium] IndexedDB: Prep for changing keyPath return type
5327         https://bugs.webkit.org/show_bug.cgi?id=84208
5328
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.
5333
5334         Reviewed by Kent Tamura.
5335
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:
5345         (WebIDBIndexImpl):
5346         * src/WebIDBObjectStoreImpl.cpp:
5347         (WebKit::WebIDBObjectStoreImpl::keyPathString):
5348         * src/WebIDBObjectStoreImpl.h:
5349         (WebIDBObjectStoreImpl):
5350
5351 2012-04-19  Andreas Kling  <kling@webkit.org>
5352
5353         [chromium] Add simplified API for iterating over a WebElement's attributes.
5354         <http://webkit.org/b/84183>
5355
5356         Reviewed by Dimitri Glazkov.
5357
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>.
5362
5363         * public/WebElement.h:
5364         * src/WebElement.cpp:
5365         (WebKit::WebElement::attributeCount):
5366         (WebKit::WebElement::attributeLocalName):
5367         (WebKit::WebElement::attributeValue):
5368
5369 2012-04-19  Mark Pilgrim  <pilgrim@chromium.org>
5370
5371         [Chromium] Call signedPublicKeyAndChallengeString directly
5372         https://bugs.webkit.org/show_bug.cgi?id=84372
5373
5374         Reviewed by Kentaro Hara.
5375
5376         Part of a refactoring series. See tracking bug 82948.
5377
5378         * src/PlatformSupport.cpp:
5379         (WebCore):
5380
5381 2012-04-19  Mark Pilgrim  <pilgrim@chromium.org>
5382
5383         [Chromium] Call audioHardwareBufferSize directly
5384         https://bugs.webkit.org/show_bug.cgi?id=84370
5385
5386         Reviewed by Kentaro Hara.
5387
5388         Part of a refactoring series. See tracking bug 82948.
5389
5390         * src/AudioDestinationChromium.cpp:
5391         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
5392
5393 2012-04-19  Sami Kyostila  <skyostil@chromium.org>
5394
5395         [chromium] Add tests for scrolling non-root layers in the compositor thread
5396         https://bugs.webkit.org/show_bug.cgi?id=73350
5397
5398         Reviewed by James Robinson.
5399
5400         * src/WebContentLayerImpl.cpp:
5401         (WebKit::WebContentLayerImpl::didScroll):
5402         (WebKit):
5403         * src/WebContentLayerImpl.h:
5404         (WebContentLayerImpl):
5405         * tests/CCLayerImplTest.cpp:
5406         (WebCore::TEST):
5407         (WebCore):
5408         * tests/CCLayerTreeHostImplTest.cpp:
5409         (WebKitTests::CCLayerTreeHostImplTest::createScrollableLayer):
5410         (CCLayerTreeHostImplTest):
5411         (WebKitTests::CCLayerTreeHostImplTest::initializeLayerRendererAndDrawFrame):
5412         (WebKitTests::TEST_F):
5413         (WebKitTests):
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):
5425         (WTF):
5426         (WTF::TEST_F):
5427
5428 2012-04-19  Alec Flett  <alecflett@chromium.org>
5429
5430         IndexedDB: Stub out IDBCursor.advance for landing
5431         https://bugs.webkit.org/show_bug.cgi?id=84280
5432
5433         Reviewed by Dimitri Glazkov.
5434
5435         Just a stub method so it can be implemented on chromium
5436
5437         * public/WebIDBCursor.h:
5438         (WebKit::WebIDBCursor::advance):
5439         * src/WebIDBCursorImpl.cpp:
5440         (WebKit::WebIDBCursorImpl::advance):
5441         (WebKit):
5442         * src/WebIDBCursorImpl.h:
5443         (WebIDBCursorImpl):
5444
5445 2012-04-19  Mark Pilgrim  <pilgrim@chromium.org>
5446
5447         [Chromium] Call mimeRegistry directly
5448         https://bugs.webkit.org/show_bug.cgi?id=84334
5449
5450         Reviewed by Kentaro Hara.
5451
5452         Part of a refactoring series. See tracking bug 82948.
5453
5454         * src/PlatformSupport.cpp:
5455         (WebCore::PlatformSupport::layoutTestMode):
5456
5457 2012-04-19  Mark Pilgrim  <pilgrim@chromium.org>
5458
5459         [Chromium] Call sampleGamepads directly
5460         https://bugs.webkit.org/show_bug.cgi?id=84339
5461
5462         Reviewed by Kentaro Hara.
5463
5464         Part of a refactoring series. See tracking bug 82948.
5465
5466         * src/PlatformSupport.cpp:
5467         (WebCore::PlatformSupport::injectIDBKeyIntoSerializedValue):
5468
5469 2012-04-19  Mark Pilgrim  <pilgrim@chromium.org>
5470
5471         [Chromium] Call audioHardwareSampleRate directly
5472         https://bugs.webkit.org/show_bug.cgi?id=84335
5473
5474         Reviewed by Kentaro Hara.
5475
5476         Part of a refactoring series. See tracking bug 82948.
5477
5478         * src/AudioDestinationChromium.cpp:
5479         (WebCore::AudioDestination::hardwareSampleRate):
5480
5481 2012-04-18  Nico Weber  <thakis@chromium.org>
5482
5483         [chromium/mac] Fix build.
5484         https://bugs.webkit.org/show_bug.cgi?id=84314
5485
5486         Unreviewed, build fix after http://trac.webkit.org/changeset/114604
5487
5488         * src/WebPluginContainerImpl.cpp:
5489         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
5490
5491 2012-04-18  Hironori Bono  <hbono@chromium.org>
5492
5493         Split SpellChecker::didCheck() to SpellChecker::didCheckSucceeded() and SpellChecker::didCheckCanceled()
5494         https://bugs.webkit.org/show_bug.cgi?id=83748
5495
5496         Reviewed by Ryosuke Niwa.
5497
5498         This change adds a new API WebTextCheckingCompletion::didCancelCheckingText(),
5499         which encapsulates SpellChecker::didCheckCanceled() and implements it so
5500         Chromium can use it.
5501
5502         * public/WebTextCheckingCompletion.h:
5503         (WebKit::WebTextCheckingCompletion::didCancelCheckingText):
5504         * src/WebTextCheckingCompletionImpl.cpp:
5505         (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
5506         (WebKit):
5507         (WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
5508         * src/WebTextCheckingCompletionImpl.h:
5509         (WebTextCheckingCompletionImpl):
5510
5511 2012-04-16  James Robinson  <jamesr@chromium.org>
5512
5513         [chromium] Convert WebPluginContainerImpl over to use WebExternalTextureLayer
5514         https://bugs.webkit.org/show_bug.cgi?id=84120
5515
5516         Reviewed by Adrienne Walker.
5517
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.
5522
5523         * WebKit.gyp:
5524         * WebKit.gypi:
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.
5537         * src/WebLayer.cpp:
5538         (WebKit::WebLayer::invalidateRect):
5539         (WebKit):
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:
5549         (WebCore):
5550         (WebPluginContainerImpl):
5551         * tests/WebExternalTextureLayerImplTest.cpp: Removed.
5552         * tests/WebLayerTest.cpp:
5553
5554 2012-04-18  Dana Jansens  <danakj@chromium.org>
5555
5556         [chromium] Simplify occlusion tracker API by passing layer iterator data
5557         https://bugs.webkit.org/show_bug.cgi?id=84088
5558
5559         Reviewed by Adrienne Walker.
5560
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:
5613         (WebCore):
5614         (WebCore::makeLayer):
5615         (WebCore::appendQuads):
5616         (WebCore::TEST):
5617
5618 2012-04-18  James Robinson  <jamesr@chromium.org>
5619
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
5622
5623         Reviewed by Adrienne Walker.
5624
5625         Update unit tests for new canBeginFrame bit.
5626
5627         * tests/CCSchedulerStateMachineTest.cpp:
5628         (WebCore::TEST):
5629         (WebCore):
5630         * tests/CCSchedulerTest.cpp:
5631         (WebKitTests::TEST):
5632
5633 2012-04-18  David Reveman  <reveman@chromium.org>
5634
5635         [Chromium] Solid color layers should respect opacity value.
5636         https://bugs.webkit.org/show_bug.cgi?id=84197
5637
5638         Reviewed by Adrienne Walker.
5639
5640         * tests/CCSolidColorLayerImplTest.cpp:
5641         (CCLayerTestCommon::TEST):
5642         (CCLayerTestCommon):
5643
5644 2012-04-18  Mark Pilgrim  <pilgrim@chromium.org>
5645
5646         [Chromium] Call prefetchDNS directly
5647         https://bugs.webkit.org/show_bug.cgi?id=84262
5648
5649         Reviewed by Kentaro Hara.
5650
5651         Part of a series, see tracking bug 82948.
5652
5653         * src/PlatformSupport.cpp:
5654         (WebCore):
5655
5656 2012-04-18  Myles Maxfield  <mmaxfield@google.com>
5657
5658         Chromium compile of WebDatabase.cpp fails without SQL_DATABASE
5659         https://bugs.webkit.org/show_bug.cgi?id=84212
5660
5661         Reviewed by Kentaro Hara.
5662
5663         * src/WebDatabase.cpp:
5664         (WebCore::AbstractDatabase::isSyncDatabase):
5665
5666 2012-04-18  Keishi Hattori  <keishi@webkit.org>
5667
5668         [chromium] Turn on ENABLE_DATALIST for chromium
5669         https://bugs.webkit.org/show_bug.cgi?id=84118
5670
5671         Reviewed by Kent Tamura.
5672
5673         * features.gypi: Turn on ENABLE_DATALIST.
5674         * src/WebInputElement.cpp: Touched to avoid build issues. No code change.
5675
5676 2012-04-18  Alexander Pavlov  <apavlov@chromium.org>
5677
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
5681
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.
5685
5686         Reviewed by Kent Tamura.
5687
5688         * src/WebViewImpl.cpp:
5689         (WebKit::WebViewImpl::refreshAutofillPopup):
5690
5691 2012-04-17  Rafael Weinstein  <rafaelw@chromium.org>
5692
5693         [MutationObservers] enable V8RecursionScope debug ASSERT()
5694         https://bugs.webkit.org/show_bug.cgi?id=84094
5695
5696         Reviewed by Ojan Vafai.
5697
5698         This patch enables the ASSERT() which enforces usage of
5699         V8RecursionScope.
5700
5701         * src/WebKit.cpp:
5702         (WebKit::assertV8RecursionScope):
5703
5704 2012-04-17  Dana Jansens  <danakj@chromium.org>
5705
5706         [chromium] Fix gyp for WebFilterOperation.h and WebFilterOperations.h
5707         https://bugs.webkit.org/show_bug.cgi?id=84182
5708
5709         Reviewed by James Robinson.
5710
5711         * WebKit.gyp:
5712
5713 2012-04-17  David Reveman  <reveman@chromium.org>
5714
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
5717
5718         Reviewed by James Robinson.
5719
5720         * tests/CCTiledLayerTestCommon.h:
5721         (FakeTextureUploader):
5722         (WebKitTests::FakeTextureUploader::uploadTexture):
5723         (WebKitTests):
5724         * tests/Canvas2DLayerChromiumTest.cpp:
5725         * tests/TiledLayerChromiumTest.cpp:
5726         (WTF::TEST):
5727
5728 2012-04-17  Alec Flett  <alecflett@chromium.org>
5729
5730         IndexedDB: stub getKey/getObject interfaces for IDBKeyRange
5731         https://bugs.webkit.org/show_bug.cgi?id=84089
5732
5733         Reviewed by Dimitri Glazkov.
5734
5735         Added stub methods on WebIDBIndex.h to cleanly land 
5736         https://bugs.webkit.org/show_bug.cgi?id=83638
5737
5738         * public/WebIDBIndex.h:
5739         (WebKit::WebIDBIndex::getObject):
5740         (WebKit::WebIDBIndex::getKey):
5741         * src/WebIDBIndexImpl.cpp:
5742         (WebKit::WebIDBIndexImpl::getObject):
5743         (WebKit):
5744         (WebKit::WebIDBIndexImpl::getKey):
5745         * src/WebIDBIndexImpl.h:
5746         (WebIDBIndexImpl):
5747
5748 2012-04-17  Aaron Colwell  <acolwell@chromium.org>
5749
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
5755
5756         Reviewed by Eric Carlson, Darin Fisher.
5757
5758         * public/WebMediaPlayer.h:
5759         (WebKit::WebMediaPlayer::sourceAddId):
5760         (WebKit::WebMediaPlayer::sourceRemoveId):
5761         * src/AssertMatchingEnums.cpp:
5762         * src/WebMediaPlayerClientImpl.cpp:
5763         (WebKit::WebMediaPlayerClientImpl::sourceAddId):
5764         (WebKit):
5765         (WebKit::WebMediaPlayerClientImpl::sourceRemoveId):
5766         * src/WebMediaPlayerClientImpl.h:
5767         (WebMediaPlayerClientImpl):
5768
5769 2012-04-17  Kent Tamura  <tkent@chromium.org>
5770
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
5774
5775         Reviewed by Hajime Morita.
5776
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.
5780
5781         No new tests. This is not testable in WebKit.
5782
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
5787         origin rectangle.
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.
5793
5794 2012-04-16  Kent Tamura  <tkent@chromium.org>
5795
5796         Rename LocalizedNumberICU.h to ICULocale.h
5797         https://bugs.webkit.org/show_bug.cgi?id=84119
5798
5799         Reviewed by Kentaro Hara.
5800
5801         * tests/LocalizedNumberICUTest.cpp: Rename LocalizedNumberICU.h to ICULocale.h
5802
5803 2012-04-16  Dana Jansens  <danakj@chromium.org>
5804
5805         [chromium] Expose compositor filters to Aura through WebLayer
5806         https://bugs.webkit.org/show_bug.cgi?id=80054
5807
5808         Reviewed by James Robinson.
5809
5810         * WebKit.gyp:
5811         * src/WebLayer.cpp:
5812         (WebKit::WebLayer::setFilters):
5813         (WebKit):
5814         (WebKit::WebLayer::setBackgroundFilters):
5815
5816 2012-04-16  Sheriff Bot  <webkit.review.bot@gmail.com>
5817
5818         Unreviewed.  Rolled DEPS.
5819
5820         * DEPS:
5821
5822 2012-04-16  Kent Tamura  <tkent@chromium.org>
5823
5824         [Chromium] Move popup location detection code from WebViewImpl to WebPagePopupImpl
5825         https://bugs.webkit.org/show_bug.cgi?id=84116
5826
5827         Reviewed by Kentaro Hara.
5828
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.
5832
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().
5839
5840 2012-04-13  James Robinson  <jamesr@chromium.org>
5841
5842         [chromium] Expose WebVideoLayer to Platform API and port WebMediaPlayerClientImpl to using it
5843         https://bugs.webkit.org/show_bug.cgi?id=83963
5844
5845         Reviewed by Adrienne Walker.
5846
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.
5850
5851         * WebKit.gyp:
5852         * src/WebContentLayer.cpp:
5853         * src/WebLayer.cpp:
5854         (WebKit::WebLayer::invalidate):
5855         (WebKit):
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.
5867         (WebKit):
5868         (WebKit::WebVideoLayer::create):
5869         (WebKit::WebVideoLayer::WebVideoLayer):
5870         (WebKit::WebVideoLayer::active):
5871
5872 2012-04-16  Aaron Colwell  <acolwell@chromium.org>
5873
5874         Fix WebKit style violations in Chromium WebMediaPlayer.h & WebMediaPlayerClient.h
5875         https://bugs.webkit.org/show_bug.cgi?id=84046
5876
5877         Reviewed by Darin Fisher.
5878
5879         * WebKit.gyp:
5880         * public/WebMediaPlayer.h:
5881         (WebKit):
5882         * public/WebMediaPlayerClient.h:
5883         * public/WebTimeRange.h: Copied from Source/WebKit/chromium/public/WebMediaPlayerClient.h.
5884         (WebKit):
5885         (WebKit::WebTimeRange::WebTimeRange):
5886         (WebTimeRange):
5887         * src/AssertMatchingEnums.cpp:
5888
5889 2012-04-16  Terry Anderson  <tdanderson@chromium.org>
5890
5891         [chromium] Allow WebGestureEvent to store four floating point values
5892         https://bugs.webkit.org/show_bug.cgi?id=84053
5893
5894         Reviewed by Darin Fisher.
5895
5896         See bug description for an explanation of the changes made.
5897
5898         * public/WebInputEvent.h:
5899         (WebGestureEvent):
5900         (WebKit::WebGestureEvent::WebGestureEvent):
5901         * src/WebInputEvent.cpp:
5902         (SameSizeAsWebGestureEvent):
5903         * src/WebInputEventConversion.cpp:
5904         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
5905
5906 2012-04-16  Alexey Proskuryakov  <ap@apple.com>
5907
5908         [chromium] Remove BlobRegistryProxy::createResourceHandle
5909         https://bugs.webkit.org/show_bug.cgi?id=84047
5910
5911         Reviewed by Nate Chapin.
5912
5913         * src/BlobRegistryProxy.h: (BlobRegistryProxy::createResourceHandle): This function
5914         is no longer used.
5915
5916 2012-04-16  Raymes Khoury  <raymes@chromium.org>
5917
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
5920
5921         Reviewed by Darin Fisher.
5922
5923         * src/WebPluginContainerImpl.cpp:
5924         (WebKit::WebPluginContainerImpl::isRectTopmost):
5925
5926 2012-04-15  Keishi Hattori  <keishi@webkit.org>
5927
5928         Introduce MenuItemID to autofill popup
5929         https://bugs.webkit.org/show_bug.cgi?id=83777
5930
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.
5933
5934         Reviewed by Kent Tamura.
5935
5936         * public/WebAutofillClient.h:
5937         (WebKit::WebAutofillClient::didAcceptAutofillSuggestion): Changed uniqueID to itemID because they aren't unique.
5938         (WebKit::WebAutofillClient::didSelectAutofillSuggestion):
5939         * public/WebView.h:
5940         (WebView):
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:
5962         (WebViewImpl):
5963
5964 2012-04-15  James Robinson  <jamesr@chromium.org>
5965
5966         [chromium] LayerRendererChromium shouldn't know anything about CCLayerImpl
5967         https://bugs.webkit.org/show_bug.cgi?id=83415
5968
5969         Reviewed by Adrienne Walker.
5970
5971         Add an explicit rootLayer getter to the test implementation of LayerRendererChromium since there isn't one on
5972         the base class any more.
5973
5974         * tests/LayerRendererChromiumTest.cpp:
5975         (FakeLayerRendererChromiumClient::rootLayer):
5976         (FakeLayerRendererChromiumClient):
5977         (TEST_F):
5978
5979 2012-04-15  Yuta Kitamura  <yutak@chromium.org>
5980
5981         Leak in WebSocketChannel with workers/worker-reload.html (part 2)
5982         https://bugs.webkit.org/show_bug.cgi?id=83749
5983
5984         Reviewed by David Levin.
5985
5986         * src/WebWorkerClientImpl.cpp:
5987         (WebKit::WebWorkerClientImpl::postTaskForModeToWorkerContext):
5988         Correctly propagate the return value of postTaskForModeToWorkerContext().
5989
5990 2012-04-13  David Reveman  <reveman@chromium.org>
5991
5992         [Chromium] Avoid unnecessary full tile updates for checkerboard tiles.
5993         https://bugs.webkit.org/show_bug.cgi?id=83804
5994
5995         Reviewed by James Robinson.
5996
5997         * tests/CCLayerTreeHostTest.cpp:
5998         (WTF::setLayerPropertiesForTesting):
5999         (WTF):
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:
6009         (WTF::TEST):
6010
6011 2012-04-13  Nico Weber  <thakis@chromium.org>
6012
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
6015
6016         Reviewed by James Robinson.
6017
6018         Found by clang:
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           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
6022
6023         * tests/LayerChromiumTest.cpp:
6024
6025 2012-04-13  Dana Jansens  <danakj@chromium.org>
6026
6027         [chromium] Replicas should be included in the computed occlusion
6028         https://bugs.webkit.org/show_bug.cgi?id=82262
6029
6030         Reviewed by Adrienne Walker.
6031
6032         * tests/CCOcclusionTrackerTest.cpp:
6033         (CCOcclusionTrackerTestReplicaDoesOcclude):
6034         (WebKitTests::CCOcclusionTrackerTestReplicaDoesOcclude::runMyTest):
6035         (WebKitTests):
6036         (CCOcclusionTrackerTestReplicaWithClipping):
6037         (WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest):
6038         (CCOcclusionTrackerTestSurfaceChildOfSurface):
6039         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
6040
6041 2012-04-13  Bernhard Bauer  <bauerb@google.com>
6042
6043         [chromium] Remove fallback code for "Missing plug-in" string.
6044         https://bugs.webkit.org/show_bug.cgi?id=81907
6045
6046         Reviewed by Adam Barth.
6047
6048         * src/LocalizedStrings.cpp:
6049         (WebCore::missingPluginText):
6050
6051 2012-04-11  James Robinson  <jamesr@chromium.org>
6052
6053         [chromium] Remove unused compositeToTexture / compositeOffscreen setting
6054         https://bugs.webkit.org/show_bug.cgi?id=83733
6055
6056         Reviewed by Adrienne Walker.
6057
6058         Remove compositeOffscreen / compositeToTexture setting. This was an experiment that is no longer needed.
6059
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:
6066         (WebSettingsImpl):
6067         * src/WebViewImpl.cpp:
6068         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6069
6070 2012-04-13  James Robinson  <jamesr@chromium.org>
6071
6072         [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API
6073         https://bugs.webkit.org/show_bug.cgi?id=83851
6074
6075         Reviewed by Adam Barth.
6076
6077         Moves the WebVideoFrame interface into Platform and removes the now unnecessary VideoFrameChromiumImpl adapter
6078         implementation.
6079
6080         * WebKit.gyp:
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):
6091
6092 2012-04-13  Rob Flack  <flackr@chromium.org>
6093
6094         Chromium: Should enable -webkit-image-set
6095         https://bugs.webkit.org/show_bug.cgi?id=81859
6096
6097         Reviewed by Adam Barth.
6098
6099         * features.gypi:
6100
6101 2012-04-12  Michael Nordman  <michaeln@google.com>
6102
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
6109
6110         Reviewed by Adam Barth.
6111
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.
6125
6126 2012-04-13  Sheriff Bot  <webkit.review.bot@gmail.com>
6127
6128         Unreviewed, rolling out r114140.
6129         http://trac.webkit.org/changeset/114140
6130         https://bugs.webkit.org/show_bug.cgi?id=83921
6131
6132         Fails fast/css/image-set-parsing.html test it attempts to
6133         introduce. (Requested by scheib on #webkit).
6134
6135         * features.gypi:
6136
6137 2012-04-13  Rob Flack  <flackr@chromium.org>
6138
6139         Chromium: Should enable -webkit-image-set
6140         https://bugs.webkit.org/show_bug.cgi?id=81859
6141
6142         Reviewed by Adam Barth.
6143
6144         * features.gypi:
6145
6146 2012-04-13  Yury Semikhatsky  <yurys@chromium.org>
6147
6148         Unreviewed. Build fix after r114126.
6149
6150         * WebKit.gyp:
6151
6152 2012-04-13  Keishi Hattori  <keishi@webkit.org>
6153
6154         [chromium] Add WebKit API to access <datalist> options
6155         https://bugs.webkit.org/show_bug.cgi?id=83762
6156
6157         Introduce WebInputElement::dataListOptions so we can implement a UI for datalist.
6158
6159         Reviewed by Kent Tamura.
6160
6161         * public/WebInputElement.h:
6162         (WebKit):
6163         (WebInputElement):
6164         * src/WebInputElement.cpp:
6165         (WebKit::WebInputElement::dataListOptions): Added. Returns a WebNodeCollection containing WebOptionElements.
6166
6167 2012-04-13  Kent Tamura  <tkent@chromium.org>
6168
6169         Add a runtime flag for <input type=date>
6170         https://bugs.webkit.org/show_bug.cgi?id=83853
6171
6172         Reviewed by Adam Barth.
6173
6174         * public/WebRuntimeFeatures.h:
6175         (WebRuntimeFeatures): Add enableInputTypeDate() and isInputTypeDateEnabled().
6176         * src/WebRuntimeFeatures.cpp:
6177         (WebKit::WebRuntimeFeatures::enableInputTypeDate): Added.
6178         (WebKit::WebRuntimeFeatures::isInputTypeDateEnabled): Added.
6179
6180 2012-04-13  Sheriff Bot  <webkit.review.bot@gmail.com>
6181
6182         Unreviewed.  Rolled DEPS.
6183
6184         * DEPS:
6185
6186 2012-04-12  Dana Jansens  <danakj@chromium.org>
6187
6188         [chromium] Background filters for composited layers
6189         https://bugs.webkit.org/show_bug.cgi?id=80046
6190
6191         Reviewed by Adrienne Walker.
6192
6193         * tests/CCLayerImplTest.cpp:
6194         (WebCore::TEST):
6195
6196 2012-04-12  Sheriff Bot  <webkit.review.bot@gmail.com>
6197
6198         Unreviewed, rolling out r114075.
6199         http://trac.webkit.org/changeset/114075
6200         https://bugs.webkit.org/show_bug.cgi?id=83857
6201
6202         Breaks compile (Requested by jamesr on #webkit).
6203
6204         * WebKit.gyp:
6205         * public/WebVideoFrame.h:
6206         (WebKit):
6207         (WebVideoFrame):
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.
6219         (WebKit):
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.
6233         (WebKit):
6234         (VideoFrameChromiumImpl):
6235         * src/WebMediaPlayerClientImpl.cpp:
6236         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
6237         (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
6238         (WebKit::WebMediaPlayerClientImpl::supportsType):
6239         * src/WebMediaPlayerClientImpl.h:
6240         (WebMediaPlayerClientImpl):
6241
6242 2012-04-12  James Robinson  <jamesr@chromium.org>
6243
6244         [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API
6245         https://bugs.webkit.org/show_bug.cgi?id=83851
6246
6247         Reviewed by Adam Barth.
6248
6249         Moves the WebVideoFrame interface into Platform and removes the now unnecessary VideoFrameChromiumImpl adapter
6250         implementation.
6251
6252         * WebKit.gyp:
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):
6263
6264 2012-04-12  David Dorwin  <ddorwin@chromium.org>
6265
6266         Add Encrypted Media Extensions events and errors to HTMLMediaElement
6267         https://bugs.webkit.org/show_bug.cgi?id=82974
6268
6269         Reviewed by Adam Barth.
6270
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.
6274
6275         * public/WebMediaPlayerClient.h:
6276         * src/AssertMatchingEnums.cpp:
6277         * src/WebMediaPlayerClientImpl.cpp:
6278         (WebKit::WebMediaPlayerClientImpl::keyAdded):
6279         (WebKit):
6280         (WebKit::WebMediaPlayerClientImpl::keyError):
6281         (WebKit::WebMediaPlayerClientImpl::keyMessage):
6282         (WebKit::WebMediaPlayerClientImpl::keyNeeded):
6283         * src/WebMediaPlayerClientImpl.h:
6284         (WebMediaPlayerClientImpl):
6285
6286 2012-04-12  Kent Tamura  <tkent@chromium.org>
6287
6288         [Chromium] Enable INPUT_TYPE_DATE
6289         https://bugs.webkit.org/show_bug.cgi?id=83761
6290
6291         Reviewed by Kentaro Hara.
6292
6293         * features.gypi: Turn ENABLE_INPUT_TYPE_DATE on.
6294
6295 2012-04-12  Kent Tamura  <tkent@chromium.org>
6296
6297         [Chromium] Fix !ENABLE(PAGE_POPUP) build
6298
6299         * src/WebViewImpl.cpp:
6300         (WebKit::WebViewImpl::WebViewImpl): Wrap m_pagePopup with ENABLE(PAGE_POPUP).
6301
6302 2012-04-12  Kent Tamura  <tkent@chromium.org>
6303
6304         [Chromium] Add PagePopup implementation
6305         https://bugs.webkit.org/show_bug.cgi?id=81081
6306
6307         Reviewed by Adam Barth.
6308
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.
6312
6313         No new tests because this makes no behavior change yet.
6314
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.
6321
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.
6347
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.
6364
6365 2012-04-12  Kent Tamura  <tkent@chromium.org>
6366
6367         [Chromium] Move some code of WebViewImpl and WebFrameImpl to PageWidgetDelegate
6368         https://bugs.webkit.org/show_bug.cgi?id=83750
6369
6370         Reviewed by Adam Barth.
6371
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.
6377
6378         No new tests. Just refactoring.
6379
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
6401         PageWidgetDelegate.
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:
6420
6421 2012-04-12  Adrienne Walker  <enne@google.com>
6422
6423         [chromium] Fix Windows compiler warnings in webkit_unit_test target
6424         https://bugs.webkit.org/show_bug.cgi?id=83732
6425
6426         Reviewed by Kent Tamura.
6427
6428         * tests/CCDamageTrackerTest.cpp:
6429         (WebKitTests::TEST_F):
6430         * tests/CCLayerImplTest.cpp:
6431         (WebCore::TEST):
6432         * tests/CCLayerTreeHostCommonTest.cpp:
6433         (WebKitTests::TEST):
6434         * tests/CCLayerTreeHostImplTest.cpp:
6435         (WebKitTests::TEST_F):
6436         * tests/CCQuadCullerTest.cpp:
6437         (WebCore::TEST):
6438         * tests/FloatQuadTest.cpp:
6439         (WebCore::TEST):
6440         * tests/ScrollAnimatorNoneTest.cpp:
6441         (TEST_F):
6442         * tests/TreeSynchronizerTest.cpp:
6443         (WebKitTests::TEST):
6444         * tests/WebLayerTest.cpp:
6445
6446 2012-04-11  Alec Flett  <alecflett@chromium.org>
6447
6448         IndexedDB: Stub out WebKit interface for get(IndexedKeyRange)
6449         https://bugs.webkit.org/show_bug.cgi?id=83637
6450
6451         Reviewed by Kent Tamura.
6452
6453         This is just a stub-out of IDBObjectStore.get(IDBKeyRange) to coordinate 
6454         a landing in chromium
6455
6456         * public/WebIDBObjectStore.h:
6457         (WebKit::WebIDBObjectStore::get):
6458         (WebIDBObjectStore):
6459         * src/IDBObjectStoreBackendProxy.cpp:
6460         (WebKit::IDBObjectStoreBackendProxy::get):
6461         (WebKit):
6462         * src/IDBObjectStoreBackendProxy.h:
6463         (IDBObjectStoreBackendProxy):
6464         * src/WebIDBObjectStoreImpl.cpp:
6465         (WebKit::WebIDBObjectStoreImpl::get):
6466         (WebKit):
6467         * src/WebIDBObjectStoreImpl.h:
6468         (WebIDBObjectStoreImpl):
6469
6470 2012-04-11  Kenichi Ishibashi  <bashi@chromium.org>
6471
6472         [chromium] Fix Windows warnings in WebSocketDeflaterTest
6473         https://bugs.webkit.org/show_bug.cgi?id=83731
6474
6475         Reviewed by Kent Tamura.
6476
6477         Use const char* instead of const char[] to suppress warnings on
6478         Windows.
6479
6480         * tests/WebSocketDeflaterTest.cpp:
6481         (WebCore::TEST):
6482
6483 2012-04-11  David Dorwin  <ddorwin@chromium.org>
6484
6485         Add keySystem attribute to canPlayType() for Encrypted Media Extensions
6486         https://bugs.webkit.org/show_bug.cgi?id=82973
6487
6488         Reviewed by Adam Barth.
6489
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.
6493
6494         * src/WebMediaPlayerClientImpl.cpp:
6495         (WebKit::WebMediaPlayerClientImpl::supportsType):
6496         * src/WebMediaPlayerClientImpl.h:
6497         (WebMediaPlayerClientImpl):
6498
6499 2012-04-10  James Robinson  <jamesr@chromium.org>
6500
6501         [chromium] Add OVERRIDE annotations for cc layer types
6502         https://bugs.webkit.org/show_bug.cgi?id=83658
6503
6504         Reviewed by Daniel Bates.
6505
6506         This adds OVERRIDE annotations to overrides of functions on these classes:
6507         - CCLayerImpl
6508         - LayerChromium
6509         - TiledLayerChromium
6510
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:
6523
6524 2012-04-11  James Robinson  <jamesr@chromium.org>
6525
6526         [chromium] Add OVERRIDE annotations for cc animation-related interfaces
6527         https://bugs.webkit.org/show_bug.cgi?id=83650
6528
6529         Reviewed by Daniel Bates.
6530
6531         This adds OVERRIDE annotations to the implementations of the following interfaces:
6532         - CCAnimationCurve
6533         - CCFloatAnimationCurve
6534         - CCLayerAnimationControllerClient
6535         - CCTransformAnimationCurve
6536
6537         * tests/CCAnimationTestCommon.h:
6538
6539 2012-04-11  Aaron Colwell  <acolwell@chromium.org>
6540
6541         Remove webkit prefix from Media Source runtime feature name.
6542         https://bugs.webkit.org/show_bug.cgi?id=83633
6543
6544         Reviewed by Adam Barth.
6545
6546         * src/WebRuntimeFeatures.cpp:
6547         (WebKit::WebRuntimeFeatures::enableMediaSource):
6548         (WebKit::WebRuntimeFeatures::isMediaSourceEnabled):
6549
6550 2012-04-11  Adrienne Walker  <enne@google.com>
6551
6552         [chromium] Draw missing layer tile checkerboards as checkerboards
6553         https://bugs.webkit.org/show_bug.cgi?id=83241
6554
6555         Reviewed by James Robinson.
6556
6557         Rename usedCheckerboard to hadMissingTile to avoid confusion. Update
6558         tests to not expect SolidColor quads for checkerboards.
6559
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:
6570
6571 2012-04-11  Ami Fischman  <fischman@chromium.org>
6572
6573         Remove unused WebVideoFrame::Format values
6574         https://bugs.webkit.org/show_bug.cgi?id=83625
6575
6576         Reviewed by Kenneth Russell.
6577
6578         * public/WebVideoFrame.h:
6579         (WebKit):
6580         * src/AssertMatchingEnums.cpp:
6581
6582 2012-04-11  'Pavel Feldman'  <pfeldman@chromium.org>
6583
6584         Follow up to r113863: fix chromium inspector interactive test harness.
6585
6586         * src/js/Tests.js:
6587
6588 2012-04-11  Sadrul Habib Chowdhury  <sadrul@chromium.org>
6589
6590         [chromium] Add Battery Status API support.
6591
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
6597
6598         Reviewed by Adam Barth.
6599
6600         * WebKit.gyp:
6601         * features.gypi:
6602         * public/WebBatteryStatus.h: Added.
6603         (WebKit):
6604         (WebBatteryStatus):
6605         (WebKit::WebBatteryStatus::WebBatteryStatus):
6606         * public/WebBatteryStatusClient.h: Added.
6607         (WebKit):
6608         (WebBatteryStatusClient):
6609         (WebKit::WebBatteryStatusClient::~WebBatteryStatusClient):
6610         * public/WebView.h:
6611         (WebKit):
6612         (WebView):
6613         (WebKit::WebView::updateBatteryStatus):
6614         * public/WebViewClient.h:
6615         (WebKit):
6616         (WebViewClient):
6617         (WebKit::WebViewClient::batteryStatusClient):
6618         * src/BatteryClientImpl.cpp: Added.
6619         (WebKit):
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.
6627         (WebKit):
6628         (BatteryClientImpl):
6629         (WebKit::BatteryClientImpl::~BatteryClientImpl):
6630         * src/WebViewImpl.cpp:
6631         (WebKit::WebViewImpl::WebViewImpl):
6632         (WebKit):
6633         (WebKit::WebViewImpl::updateBatteryStatus):
6634         * src/WebViewImpl.h:
6635         (WebKit):
6636         (WebViewImpl):
6637
6638 2012-04-10  Ami Fischman  <fischman@chromium.org>
6639
6640         Roll Chromium DEPS to last-known good revision
6641         https://bugs.webkit.org/show_bug.cgi?id=83652
6642
6643         Unreviewed, just a DEPS roll (131469:131684)
6644
6645         * DEPS:
6646
6647 2012-04-10  Alexandre Elias  <aelias@google.com>
6648
6649         Add gesture event enums for long-press and pinch
6650         https://bugs.webkit.org/show_bug.cgi?id=83640
6651
6652         Reviewed by James Robinson.
6653
6654         Add new enum values GestureLongPress and GesturePinchBegin/End/Update,
6655         along with no-op default handling.
6656
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):
6664
6665 2012-04-10  James Robinson  <jamesr@chromium.org>
6666
6667         [chromium] Add OVERRIDE annotations for cc tree host and proxy interfaces
6668         https://bugs.webkit.org/show_bug.cgi?id=83653
6669
6670         Reviewed by Adrienne Walker.
6671
6672         This adds OVERRIDE annotations to the implementations of the following interfaces:
6673         - CCLayerTreeHostClient
6674         - CCLayerTreeHostImplClient
6675         - CCProxy
6676         - LayerRendererChromiumClient
6677
6678         * src/WebLayerTreeViewImpl.h:
6679         (WebLayerTreeViewImpl):
6680         * src/WebViewImpl.h:
6681         (WebViewImpl):
6682         * tests/CCLayerTreeHostImplTest.cpp:
6683         * tests/CCLayerTreeHostTest.cpp:
6684         * tests/FakeCCLayerTreeHostClient.h:
6685         * tests/LayerRendererChromiumTest.cpp:
6686
6687 2012-04-10  James Robinson  <jamesr@chromium.org>
6688
6689         [chromium] Add OVERRIDE annotations for cc scheduler-related client interfaces
6690         https://bugs.webkit.org/show_bug.cgi?id=83646
6691
6692         Reviewed by Adrienne Walker.
6693
6694         This adds OVERRIDE annotations to the implementations of the following interfaces:
6695         - CCFrameRateControllerClient
6696         - CCSchedulerClient
6697         - CCTimeSource
6698         - CCTimeSourceClient
6699         - CCTimerClient
6700
6701
6702         * tests/CCSchedulerTest.cpp:
6703         * tests/CCSchedulerTestCommon.h:
6704
6705 2012-04-10  James Robinson  <jamesr@chromium.org>
6706
6707         [chromium] Fold LayerChromium::updateCompositorResources into main update
6708         https://bugs.webkit.org/show_bug.cgi?id=83530
6709
6710         Reviewed by Adrienne Walker.
6711
6712         Update tests for interface changes.
6713
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:
6736         (WTF::TEST):
6737         (WTF::idlePaintRepeat):
6738
6739 2012-04-10  Adam Barth  <abarth@webkit.org>
6740
6741         Limit -apple- and -khtml- to ENABLE(DASHBOARD_SUPPORT)
6742         https://bugs.webkit.org/show_bug.cgi?id=83256
6743
6744         Reviewed by Eric Seidel.
6745
6746         * features.gypi:
6747
6748 2012-04-10  Tim Dresser  <tdresser@chromium.org>
6749
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
6752
6753         Reviewed by Darin Fisher.
6754
6755         If there is no viewport tag, the deviceScaleFactor is set to the defaultDeviceScaleFactor.
6756         Tested by: WebFrameTest.DeviceScaleFactorUsesDefaultWithoutViewportTag.
6757
6758         * src/ChromeClientImpl.cpp:
6759         (WebKit):
6760         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
6761         * tests/WebFrameTest.cpp:
6762         (WebKit):
6763         (FixedLayoutTestWebViewClient):
6764         (WebKit::TEST_F):
6765         * tests/data/no_viewport_tag.html: Added.
6766
6767 2012-04-10  Sheriff Bot  <webkit.review.bot@gmail.com>
6768
6769         Unreviewed, rolling out r113734.
6770         http://trac.webkit.org/changeset/113734
6771         https://bugs.webkit.org/show_bug.cgi?id=83606
6772
6773         causing a bunch of unrelated test failures (Requested by
6774         simonjam on #webkit).
6775
6776         * WebKit.gyp:
6777         * features.gypi:
6778         * public/WebBatteryStatus.h: Removed.
6779         * public/WebBatteryStatusClient.h: Removed.
6780         * public/WebView.h:
6781         (WebKit):
6782         (WebView):
6783         * public/WebViewClient.h:
6784         (WebKit):
6785         * src/BatteryClientImpl.cpp: Removed.
6786         * src/BatteryClientImpl.h: Removed.
6787         * src/WebViewImpl.cpp:
6788         (WebKit::WebViewImpl::WebViewImpl):
6789         * src/WebViewImpl.h:
6790         (WebKit):
6791         (WebViewImpl):
6792
6793 2012-04-09  James Robinson  <jamesr@chromium.org>
6794
6795         [chromium] Defer texture id allocation for copies until the actual copy executes
6796         https://bugs.webkit.org/show_bug.cgi?id=83514
6797
6798         Reviewed by Adrienne Walker.
6799
6800         * tests/CCTiledLayerTestCommon.cpp:
6801         * tests/CCTiledLayerTestCommon.h:
6802         * tests/Canvas2DLayerChromiumTest.cpp:
6803         * tests/TiledLayerChromiumTest.cpp:
6804         (WTF::TEST):
6805
6806 2012-04-10  David Dorwin  <ddorwin@chromium.org>
6807
6808         Add Encrypted Media Extensions methods to HTMLMediaElement
6809         https://bugs.webkit.org/show_bug.cgi?id=82971
6810
6811         Reviewed by Adam Barth.
6812
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.
6816
6817         * features.gypi:
6818         * public/WebMediaPlayer.h:
6819         (WebKit):
6820         (WebMediaPlayer):
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:
6828         (WebKit):
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):
6837         (WebKit):
6838         (WebKit::WebRuntimeFeatures::isEncryptedMediaEnabled):
6839
6840 2012-04-10  Sadrul Habib Chowdhury  <sadrul@chromium.org>
6841
6842         [chromium] Add Battery Status API support.
6843
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
6849
6850         Reviewed by Adam Barth.
6851
6852         * WebKit.gyp:
6853         * features.gypi:
6854         * public/WebBatteryStatus.h: Added.
6855         (WebKit):
6856         (WebBatteryStatus):
6857         (WebKit::WebBatteryStatus::WebBatteryStatus):
6858         * public/WebBatteryStatusClient.h: Added.
6859         (WebKit):
6860         (WebBatteryStatusClient):
6861         (WebKit::WebBatteryStatusClient::~WebBatteryStatusClient):
6862         * public/WebView.h:
6863         (WebKit):
6864         (WebView):
6865         (WebKit::WebView::updateBatteryStatus):
6866         * public/WebViewClient.h:
6867         (WebKit):
6868         (WebViewClient):
6869         (WebKit::WebViewClient::batteryStatusClient):
6870         * src/BatteryClientImpl.cpp: Added.
6871         (WebKit):
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.
6879         (WebKit):
6880         (BatteryClientImpl):
6881         (WebKit::BatteryClientImpl::~BatteryClientImpl):
6882         * src/WebViewImpl.cpp:
6883         (WebKit::WebViewImpl::WebViewImpl):
6884         (WebKit):
6885         (WebKit::WebViewImpl::updateBatteryStatus):
6886         * src/WebViewImpl.h:
6887         (WebKit):
6888         (WebViewImpl):
6889
6890 2012-04-10  Zhenyao Mo  <zmo@google.com>
6891
6892         Unreviewed, roll chromium to 131469
6893
6894         * DEPS:
6895
6896 2012-04-09  Alexander Pavlov  <apavlov@chromium.org>
6897
6898         Web Inspector: [Device Metrics] Introduce the "Fit window" option
6899         https://bugs.webkit.org/show_bug.cgi?id=83280
6900
6901         Implement the scaling of the FrameView to the WebViewImpl size, handle WebViewImpl resizes.
6902
6903         Reviewed by Pavel Feldman.
6904
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):
6923         (WebKit):
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):
6932
6933 2012-04-09  Kent Tamura  <tkent@chromium.org>
6934
6935         [Chromium] Remove unused variable, WebViewImpl::m_lastMousePosition.
6936         https://bugs.webkit.org/show_bug.cgi?id=83550
6937
6938         Reviewed by Kentaro Hara.
6939
6940         * src/WebViewImpl.cpp:
6941         (WebKit::WebViewImpl::WebViewImpl):
6942         (WebKit::WebViewImpl::mouseMove):
6943         * src/WebViewImpl.h:
6944
6945 2012-04-09  Dana Jansens  <danakj@chromium.org>
6946
6947         [chromium] Viewport is not filled when out of texture memory on mac
6948         https://bugs.webkit.org/show_bug.cgi?id=83351
6949
6950         Reviewed by Adrienne Walker.
6951
6952         * src/NonCompositedContentHost.cpp:
6953         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
6954         (WebKit::NonCompositedContentHost::setBackgroundColor):
6955         * src/WebLayerTreeView.cpp:
6956         (WebKit::WebLayerTreeView::setBackgroundColor):
6957         (WebKit):
6958         * src/WebViewImpl.cpp:
6959         (WebKit::WebViewImpl::setBackgroundColor):
6960         (WebKit):
6961         (WebKit::WebViewImplContentPainter::paint):
6962         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
6963         * src/WebViewImpl.h:
6964         (WebCore):
6965         (WebViewImpl):
6966         * tests/CCLayerImplTest.cpp:
6967         (WebCore::TEST):
6968         * tests/CCLayerTreeHostImplTest.cpp:
6969         (WebKitTests::BlendStateCheckLayer::appendQuads):
6970         (WebKitTests::TEST_F):
6971         (WebKitTests):
6972         * tests/CCLayerTreeHostTest.cpp:
6973         (WTF):
6974         (CCLayerTreeHostTestCommit):
6975         (WTF::CCLayerTreeHostTestCommit::CCLayerTreeHostTestCommit):
6976         (WTF::CCLayerTreeHostTestCommit::beginTest):
6977         (WTF::CCLayerTreeHostTestCommit::commitCompleteOnCCThread):
6978         (WTF::CCLayerTreeHostTestCommit::afterTest):
6979         (WTF::TEST_F):
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:
6992
6993 2012-04-09  Sheriff Bot  <webkit.review.bot@gmail.com>
6994
6995         Unreviewed, rolling out r113656.
6996         http://trac.webkit.org/changeset/113656
6997         https://bugs.webkit.org/show_bug.cgi?id=83542
6998
6999         test is broken on chromium-win (Requested by simonjam on
7000         #webkit).
7001
7002         * public/WebIntent.h:
7003         (WebIntent):
7004         * src/WebIntent.cpp:
7005
7006 2012-04-09  James Robinson  <jamesr@chromium.org>
7007
7008         [chromium] More unreviewed OwnPtr<>::operator= related clang build fixes in unit tests.
7009
7010         * tests/Canvas2DLayerChromiumTest.cpp:
7011         * tests/LayerChromiumTest.cpp:
7012
7013 2012-04-09  Dana Jansens  <danakj@chromium.org>
7014
7015         [chromium] Cull occluded surface quads
7016         https://bugs.webkit.org/show_bug.cgi?id=81227
7017
7018         Reviewed by Adrienne Walker.
7019
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):
7031         (WebKitTests):
7032         (CCOcclusionTrackerTestReplicaOccluded):
7033         (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
7034         (CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded):
7035         (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
7036         (CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently):
7037         (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
7038         (CCOcclusionTrackerTestSurfaceChildOfSurface):
7039         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
7040
7041 2012-04-09  James Robinson  <jamesr@chromium.org>
7042
7043         [chromium] Unreviewed build fix. OwnPtr<>::operator = breaks the build on clang, but not gcc :(
7044
7045         * tests/CCLayerTreeHostTest.cpp:
7046         (WTF::MockLayerTreeHost::create):
7047         * tests/Canvas2DLayerChromiumTest.cpp:
7048         * tests/LayerChromiumTest.cpp:
7049
7050 2012-04-09  Dana Jansens  <danakj@chromium.org>
7051
7052         [chromium] Make culling work with clipped rects
7053         https://bugs.webkit.org/show_bug.cgi?id=83494
7054
7055         Reviewed by Adrienne Walker.
7056
7057         * tests/CCOcclusionTrackerTest.cpp:
7058         (CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude):
7059         (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest):
7060         (WebKitTests):
7061         (CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect):
7062         (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
7063         * tests/CCQuadCullerTest.cpp:
7064         (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
7065         (WebCore::makeLayer):
7066         (WebCore::TEST):
7067
7068 2012-04-09  Sheriff Bot  <webkit.review.bot@gmail.com>
7069
7070         Unreviewed, rolling out r113613.
7071         http://trac.webkit.org/changeset/113613
7072         https://bugs.webkit.org/show_bug.cgi?id=83509
7073
7074         crashing most chromium bots (Requested by simonjam on
7075         #webkit).
7076
7077         * WebKit.gyp:
7078         * features.gypi:
7079         * public/WebBatteryStatus.h: Removed.
7080         * public/WebBatteryStatusClient.h: Removed.
7081         * public/WebView.h:
7082         (WebKit):
7083         (WebView):
7084         * public/WebViewClient.h:
7085         (WebKit):
7086         * src/BatteryClientImpl.cpp: Removed.
7087         * src/BatteryClientImpl.h: Removed.
7088         * src/WebViewImpl.cpp:
7089         (WebKit::WebViewImpl::WebViewImpl):
7090         * src/WebViewImpl.h:
7091         (WebKit):
7092         (WebViewImpl):
7093
7094 2012-04-09  James Robinson  <jamesr@chromium.org>
7095
7096         [chromium] CCLayerTreeHost / WebLayerTreeView should be single ownership, not RefCounted
7097         https://bugs.webkit.org/show_bug.cgi?id=83413
7098
7099         Reviewed by Adrienne Walker.
7100
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.
7104
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:
7129         (WTF::TEST):
7130
7131 2012-04-09  Joshua Bell  <jsbell@chromium.org>
7132
7133         Unreviewed, rolling out r113473.
7134         http://trac.webkit.org/changeset/113473
7135         https://bugs.webkit.org/show_bug.cgi?id=83074
7136
7137         Change does not handle cursor retention of LevelDB iterators
7138
7139         * WebKit.gypi:
7140         * tests/IDBDatabaseBackendTest.cpp: Removed.
7141
7142 2012-04-06  James Robinson  <jamesr@chromium.org>
7143
7144         [chromium] Texture copies should happen after incremental updates to preserve commit atomicity
7145         https://bugs.webkit.org/show_bug.cgi?id=83392
7146
7147         Reviewed by Adrienne Walker.
7148
7149         * tests/Canvas2DLayerChromiumTest.cpp:
7150
7151 2012-04-09  Sadrul Habib Chowdhury  <sadrul@chromium.org>
7152
7153         [chromium] Add Battery Status API support.
7154
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
7160
7161         Reviewed by Adam Barth.
7162
7163         * WebKit.gyp:
7164         * features.gypi:
7165         * public/WebBatteryStatus.h: Added.
7166         (WebKit):
7167         (WebBatteryStatus):
7168         (WebKit::WebBatteryStatus::WebBatteryStatus):
7169         * public/WebBatteryStatusClient.h: Added.
7170         (WebKit):
7171         (WebBatteryStatusClient):
7172         (WebKit::WebBatteryStatusClient::~WebBatteryStatusClient):
7173         * public/WebView.h:
7174         (WebKit):
7175         (WebView):
7176         (WebKit::WebView::updateBatteryStatus):
7177         * public/WebViewClient.h:
7178         (WebKit):
7179         (WebViewClient):
7180         (WebKit::WebViewClient::batteryStatusClient):
7181         * src/BatteryClientImpl.cpp: Added.
7182         (WebKit):
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.
7190         (WebKit):
7191         (BatteryClientImpl):
7192         (WebKit::BatteryClientImpl::~BatteryClientImpl):
7193         * src/WebViewImpl.cpp:
7194         (WebKit::WebViewImpl::WebViewImpl):
7195         (WebKit):
7196         (WebKit::WebViewImpl::updateBatteryStatus):
7197         * src/WebViewImpl.h:
7198         (WebKit):
7199         (WebViewImpl):
7200
7201 2012-04-09  Shawn Singh  <shawnsingh@chromium.org>
7202
7203         [chromium] Fix layer sorting perspective w if w becomes negative
7204         https://bugs.webkit.org/show_bug.cgi?id=82997
7205
7206         Reviewed by Adrienne Walker.
7207
7208         * tests/CCLayerSorterTest.cpp:
7209         (WebCore::TEST):
7210         (WebCore):
7211
7212 2012-04-09  Dana Jansens  <danakj@chromium.org>
7213
7214         [chromium] Flip transition painting delayed with threaded animations
7215         https://bugs.webkit.org/show_bug.cgi?id=82571
7216
7217         Reviewed by Adrienne Walker.
7218
7219         * tests/CCLayerTreeHostCommonTest.cpp:
7220         (WebKitTests::TEST):
7221         (WebKitTests):
7222
7223 2012-04-09  Sheriff Bot  <webkit.review.bot@gmail.com>
7224
7225         Unreviewed, rolling out r113561.
7226         http://trac.webkit.org/changeset/113561
7227         https://bugs.webkit.org/show_bug.cgi?id=83487
7228
7229         broke webkit_unit_tests (Requested by simonjam on #webkit).
7230
7231         * tests/CCOcclusionTrackerTest.cpp:
7232         (WebKitTests):
7233         * tests/CCQuadCullerTest.cpp:
7234         (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
7235
7236 2012-04-09  Dana Jansens  <danakj@chromium.org>
7237
7238         [chromium] Make culling work with clipped rects
7239         https://bugs.webkit.org/show_bug.cgi?id=83217
7240
7241         Reviewed by Adrienne Walker.
7242
7243         * tests/CCOcclusionTrackerTest.cpp:
7244         (CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude):
7245         (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest):
7246         (WebKitTests):
7247         (CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect):
7248         (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
7249         * tests/CCQuadCullerTest.cpp:
7250         (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
7251
7252 2012-04-06  Ami Fischman  <fischman@chromium.org>
7253
7254         Roll Chromium DEPS
7255         https://bugs.webkit.org/show_bug.cgi?id=83389
7256
7257         Unreviewed, just a DEPS roll (130110:131183)
7258
7259         * DEPS:
7260
7261 2012-04-06  James Robinson  <jamesr@chromium.org>
7262
7263         WebGL content swapped at wrong time in threaded compositing mode
7264         https://bugs.webkit.org/show_bug.cgi?id=82275
7265
7266         Reviewed by Kenneth Russell.
7267
7268         * tests/WebGLLayerChromiumTest.cpp:
7269         (WebKit::TEST):
7270
7271 2012-04-06  Joshua Bell  <jsbell@chromium.org>
7272
7273         IndexedDB: ObjectStore/Index shouldn't hold reference to backing store
7274         https://bugs.webkit.org/show_bug.cgi?id=83074
7275
7276         Reviewed by Tony Chang.
7277
7278         * WebKit.gypi:
7279         * tests/IDBDatabaseBackendTest.cpp: Added.
7280         (WebCore):
7281         (MockIDBBackingStore):
7282         (WebCore::TEST):
7283
7284 2012-04-06  Kent Tamura  <tkent@chromium.org>
7285
7286         Calendar Picker: Add code to open/close the calendar picker
7287         https://bugs.webkit.org/show_bug.cgi?id=83258
7288
7289         Reviewed by Hajime Morita.
7290
7291         * features.gypi: Enable ENABLE_PAGE_POPUP for non-Android
7292         platforms. This is needed because ENABLE_CALENDAR_PICKER now depends on
7293         ENABLE_PAGE_POPUP.
7294         * src/ChroemClientImpl.cpp: Add stubs.
7295         (WebKit::ChromeClientImpl::openPagePopup):
7296         (WebKit::ChromeClientImpl::closePagePopup):
7297         * src/ChromeClientImpl.h: Add declarations of openPagePopup() and closePagePopup().
7298
7299 2012-04-05  Hironori Bono  <hbono@chromium.org>
7300
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
7303
7304         Reviewed by Ryosuke Niwa.
7305
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.
7310
7311         * src/ContextMenuClientImpl.cpp:
7312         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): use marker descriptions instead of spellchecking text when Chrome enables asynchronous spellchecking.
7313
7314 2012-04-05  Dana Jansens  <danakj@chromium.org>
7315
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
7318
7319         Reviewed by Adrienne Walker.
7320
7321         * tests/CCQuadCullerTest.cpp:
7322         (WebCore::TEST):
7323         * tests/TiledLayerChromiumTest.cpp:
7324         (WTF::TEST):
7325
7326 2012-04-05  Shawn Singh  <shawnsingh@chromium.org>
7327
7328         [chromium] Need to clip to homogeneous w=0 plane when applying transforms.
7329         https://bugs.webkit.org/show_bug.cgi?id=80806
7330
7331         Reviewed by Adrienne Walker.
7332
7333         * tests/CCLayerTreeHostCommonTest.cpp:
7334         (WebKitTests::TEST):
7335         (WebKitTests):
7336
7337 2012-04-05  Dana Jansens  <danakj@chromium.org>
7338
7339         [chromium] Cleanup test, redundant code in CCSchedulerTest.NoBeginFrameWhenDrawFails
7340         https://bugs.webkit.org/show_bug.cgi?id=83300
7341
7342         Reviewed by Adrienne Walker.
7343
7344         * tests/CCSchedulerTest.cpp:
7345         (WebKitTests::TEST):
7346
7347 2012-04-05  Sheriff Bot  <webkit.review.bot@gmail.com>
7348
7349         Unreviewed, rolling out r113241.
7350         http://trac.webkit.org/changeset/113241
7351         https://bugs.webkit.org/show_bug.cgi?id=83293
7352
7353         Requested by sievers@chromium.org (Requested by zhenyao on
7354         #webkit).
7355
7356         * tests/CCLayerTreeHostImplTest.cpp:
7357         (WebKitTests::TEST_F):
7358         * tests/CCLayerTreeHostTest.cpp:
7359         (WTF::CCLayerTreeHostTest::doBeginTest):
7360
7361 2012-04-05  Sheriff Bot  <webkit.review.bot@gmail.com>
7362
7363         Unreviewed, rolling out r113341.
7364         http://trac.webkit.org/changeset/113341
7365         https://bugs.webkit.org/show_bug.cgi?id=83299
7366
7367         bots caught some build errors (Requested by shawnsingh on
7368         #webkit).
7369
7370         * tests/CCLayerTreeHostCommonTest.cpp:
7371
7372 2012-04-05  Ian Vollick  <vollick@chromium.org>
7373
7374         [chromium] Race condition in CCLayerTreeHostTestSynchronizeAnimationStartTimes
7375         https://bugs.webkit.org/show_bug.cgi?id=83179
7376
7377         Reviewed by James Robinson.
7378
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):
7386
7387 2012-04-05  Justin Novosad  <junov@chromium.org>
7388
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
7392
7393         Reviewed by Stephen White.
7394
7395         Replacing unnecessary usage of SkCanvas::LayerIter with call to
7396         SkCanvas::isDrawingToLayer(). Same results, lower overhead, and no
7397         GPU texture invalidation.
7398
7399         * src/WebFontImpl.cpp:
7400         (WebKit::WebFontImpl::drawText):
7401
7402 2012-04-05  Lei Zhang  <thestig@chromium.org>
7403
7404         [Chromium] Properly align members in WebInputEvent and subclasses to make Valgrind happy.
7405         https://bugs.webkit.org/show_bug.cgi?id=81570
7406
7407         Reviewed by Darin Fisher.
7408
7409         * public/WebInputEvent.h:
7410         (WebKit):
7411         (WebKit::WebInputEvent::WebInputEvent):
7412         (WebKeyboardEvent):
7413         (WebKit::WebTouchEvent::WebTouchEvent):
7414
7415 2012-04-05  Shawn Singh  <shawnsingh@chromium.org>
7416
7417         [chromium] Need to clip to homogeneous w=0 plane when applying transforms.
7418         https://bugs.webkit.org/show_bug.cgi?id=80806
7419
7420         Reviewed by Adrienne Walker.
7421
7422         * tests/CCLayerTreeHostCommonTest.cpp:
7423         (WebKitTests::TEST):
7424         (WebKitTests):
7425
7426 2012-04-05  Sheriff Bot  <webkit.review.bot@gmail.com>
7427
7428         Unreviewed, rolling out r113307.
7429         http://trac.webkit.org/changeset/113307
7430         https://bugs.webkit.org/show_bug.cgi?id=83288
7431
7432         Requested by sievers@chromium.org (Requested by zhenyao on
7433         #webkit).
7434
7435         * tests/CCLayerTreeHostTest.cpp:
7436         (WTF::TEST_F):
7437
7438 2012-04-05  Pavel Feldman  <pfeldman@chromium.org>
7439
7440         Web Inspector: [chromium] clean up WDTFC::saveAs after migration to save()
7441         https://bugs.webkit.org/show_bug.cgi?id=83271
7442
7443         Reviewed by Yury Semikhatsky.
7444
7445         * public/WebDevToolsFrontendClient.h:
7446
7447 2012-04-05  Hans Wennborg  <hans@chromium.org>
7448
7449         webkit_unit_tests build fix.
7450         https://bugs.webkit.org/show_bug.cgi?id=83261
7451
7452         Unreviewed, webkit_unit_tests buildfix.
7453
7454         The CCLayerTreeHostTestEmptyContentsShouldNotDraw.runMultiThread test
7455         stopped working after r113254.
7456
7457         Disable it for now.
7458
7459         * tests/CCLayerTreeHostTest.cpp:
7460         (WTF):
7461         (WTF::TEST_F):
7462
7463 2012-04-05  Jochen Eisinger  <jochen@chromium.org>
7464
7465         [chromium] Only shut down V8 if we actually initialized it
7466         https://bugs.webkit.org/show_bug.cgi?id=83159
7467
7468         Reviewed by Pavel Feldman.
7469
7470         * src/WebKit.cpp:
7471         (WebKit::initialize):
7472         (WebKit::shutdown):
7473
7474 2012-04-05  Kinuko Yasuda  <kinuko@chromium.org>
7475
7476         Expose DataTransferItem.getAsEntry() to allow users access dropped files as FileEntry
7477         https://bugs.webkit.org/show_bug.cgi?id=82592
7478
7479         Reviewed by David Levin.
7480
7481         * src/WebDragData.cpp:
7482         (WebKit::WebDragData::filesystemId): Added implementation.
7483         (WebKit::WebDragData::setFilesystemId): Added implementation.
7484
7485 2012-04-04  Kent Tamura  <tkent@chromium.org>
7486
7487         [Chromium] Calendar Picker: Add localization functions
7488         https://bugs.webkit.org/show_bug.cgi?id=83235
7489
7490         Reviewed by Adam Barth.
7491
7492         Implement calendarTodayText() and calendarClearText(), which are
7493         introduced in http://trac.webkit.org/changeset/113166
7494
7495         * public/platform/WebLocalizedString.h:
7496         Add CalendarClear and CalendarToday.
7497         * src/LocalizedStrings.cpp:
7498         (WebCore::calendarTodayText): Added.
7499         (WebCore::calendarClearText): Added.
7500
7501 2012-04-04  Mark Pilgrim  <pilgrim@chromium.org>
7502
7503         Call histogramEnumeration directly
7504         https://bugs.webkit.org/show_bug.cgi?id=83106
7505
7506         Reviewed by Adam Barth.
7507
7508         Part of a refactoring project to remove the PlatformSupport
7509         abstraction from some functions. See bug 82948.
7510
7511         * src/ChromeClientImpl.cpp:
7512         (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
7513         * src/PlatformSupport.cpp:
7514         (WebCore):
7515
7516 2012-04-04  Shawn Singh  <shawnsingh@chromium.org>
7517
7518         [chromium] Move recursive renderSurface clearing to CCLayerTreeHostImpl
7519         https://bugs.webkit.org/show_bug.cgi?id=82091
7520
7521         Reviewed by James Robinson.
7522
7523         * tests/LayerRendererChromiumTest.cpp:
7524         (FakeLayerRendererChromiumClient::FakeLayerRendererChromiumClient):
7525
7526 2012-04-04  Daniel Sievers  <sievers@chromium.org>
7527
7528         [Chromium] Always skip draw and readback if there is nothing
7529         to draw.
7530         https://bugs.webkit.org/show_bug.cgi?id=82680
7531
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.
7537
7538         Reviewed by James Robinson.
7539
7540         Added CCLayerTreeHostTestEmptyContentsShouldNotDraw.
7541
7542         * tests/CCLayerTreeHostImplTest.cpp:
7543         (WebKitTests::TEST_F):
7544         * tests/CCLayerTreeHostTest.cpp:
7545         (WTF::CCLayerTreeHostTest::doBeginTest):
7546         (WTF):
7547         (CCLayerTreeHostTestEmptyContentsShouldNotDraw):
7548         (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::CCLayerTreeHostTestEmptyContentsShouldNotDraw):
7549         (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::beginTest):
7550         (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::drawLayersOnCCThread):
7551         (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::didCommitAndDrawFrame):
7552         (WTF::CCLayerTreeHostTestEmptyContentsShouldNotDraw::afterTest):
7553         (WTF::TEST_F):
7554
7555 2012-04-04  Mark Pilgrim  <pilgrim@chromium.org>
7556
7557         Call histogramCustomCounts directly
7558         https://bugs.webkit.org/show_bug.cgi?id=83112
7559
7560         Reviewed by Adam Barth.
7561
7562         * src/PlatformSupport.cpp:
7563         (WebCore):
7564         * src/WebViewImpl.cpp:
7565         (WebKit::WebViewImpl::paint):
7566         (WebKit::WebViewImplContentPainter::paint):
7567         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
7568         * src/painting/PaintAggregator.cpp:
7569
7570 2012-04-04  Mark Pilgrim  <pilgrim@chromium.org>
7571
7572         Call suddenTerminationChanged directly
7573         https://bugs.webkit.org/show_bug.cgi?id=83114
7574
7575         Reviewed by Adam Barth.
7576
7577         * src/PlatformSupport.cpp:
7578         (WebCore):
7579
7580 2012-04-04  Adam Barth  <abarth@webkit.org>
7581
7582         figure out how to export webcore symbols from webkit.dll properly
7583         https://bugs.webkit.org/show_bug.cgi?id=83105
7584
7585         Reviewed by Dimitri Glazkov.
7586
7587         * WebKit.gyp:
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.
7592         * src/WebKit.cpp:
7593         (WebKit::shutdown):
7594             - Unwind our ugly, ugly hack to make the Windows component build
7595               work.
7596
7597 2012-04-04  Mark Pilgrim  <pilgrim@chromium.org>
7598
7599         Call sandboxEnabled directly
7600         https://bugs.webkit.org/show_bug.cgi?id=83113
7601
7602         Reviewed by Adam Barth.
7603
7604         * src/PlatformSupport.cpp:
7605         (WebCore):
7606
7607 2012-04-04  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
7608
7609         [Coverity] Address some uninit constructor values.
7610         https://bugs.webkit.org/show_bug.cgi?id=82424
7611
7612         Reviewed by Stephen White.
7613
7614         New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
7615
7616         * src/DatabaseObserver.cpp:
7617         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
7618         * src/LocalFileSystemChromium.cpp:
7619         (WebCore):
7620
7621 2012-04-04  Dimitri Glazkov  <dglazkov@chromium.org>
7622
7623         Unreviewed, temporary dirty hack to make Win Debug work again.
7624
7625         * All.gyp: Temporarily removed TestWebKitAPI target.
7626
7627 2012-04-04  Pavel Feldman  <pfeldman@chromium.org>
7628
7629         Web Inspector: migrate from InspectorFrontendHost.saveAs to InspectorFrontendHost.save.
7630         https://bugs.webkit.org/show_bug.cgi?id=83162
7631
7632         Reviewed by Yury Semikhatsky.
7633
7634         * public/WebDevToolsFrontendClient.h:
7635         * src/InspectorFrontendClientImpl.cpp:
7636         (WebKit::InspectorFrontendClientImpl::canSave):
7637         (WebKit::InspectorFrontendClientImpl::save):
7638         * src/InspectorFrontendClientImpl.h:
7639         (InspectorFrontendClientImpl):
7640
7641 2012-04-04  Hans Wennborg  <hans@chromium.org>
7642
7643         WebSpeechRecognizer.h: add missing forward declaration
7644         https://bugs.webkit.org/show_bug.cgi?id=83150
7645
7646         Reviewed by Tony Gentilcore.
7647
7648         Add missing forward declaration of WebSpeechRecognitionParams.
7649
7650         * public/WebSpeechRecognizer.h:
7651         (WebKit):
7652
7653 2012-04-03  Hans Wennborg  <hans@chromium.org>
7654
7655         Speech JavaScript API: Plumbing for Chromium
7656         https://bugs.webkit.org/show_bug.cgi?id=81667
7657
7658         Reviewed by Darin Fisher.
7659
7660         Add plumbing for speech recognition.
7661
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.
7667
7668         SpeechRecognitionClientProxy passes data between the WebCore and WebKit layers,
7669         implementing the WebCore::SpeechRecognitionClient and WebKit::WebSpeechRecognizerClient
7670         interfaces.
7671
7672         * WebKit.gyp:
7673         * public/WebSpeechGrammar.h:
7674         (WebCore):
7675         (WebKit):
7676         (WebSpeechGrammar):
7677         (WebKit::WebSpeechGrammar::WebSpeechGrammar):
7678         (WebKit::WebSpeechGrammar::~WebSpeechGrammar):
7679         * public/WebSpeechRecognitionHandle.h: Added.
7680         (WebCore):
7681         (WebKit):
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:
7690         (WebKit):
7691         (WebSpeechRecognitionParams):
7692         (WebKit::WebSpeechRecognitionParams::grammars):
7693         (WebKit::WebSpeechRecognitionParams::language):
7694         (WebKit::WebSpeechRecognitionParams::continuous):
7695         * public/WebSpeechRecognitionResult.h: Added.
7696         (WebCore):
7697         (WebKit):
7698         (WebSpeechRecognitionResult):
7699         (WebKit::WebSpeechRecognitionResult::WebSpeechRecognitionResult):
7700         (WebKit::WebSpeechRecognitionResult::~WebSpeechRecognitionResult):
7701         * public/WebSpeechRecognizer.h:
7702         (WebKit):
7703         (WebSpeechRecognizer):
7704         (WebKit::WebSpeechRecognizer::start):
7705         (WebKit::WebSpeechRecognizer::stop):
7706         (WebKit::WebSpeechRecognizer::abort):
7707         (WebKit::WebSpeechRecognizer::~WebSpeechRecognizer):
7708         * public/WebSpeechRecognizerClient.h: Added.
7709         (WebKit):
7710         (WebSpeechRecognizerClient):
7711         * public/WebViewClient.h:
7712         (WebKit):
7713         (WebViewClient):
7714         (WebKit::WebViewClient::speechRecognizer):
7715         * src/SpeechRecognitionClientProxy.cpp: Added.
7716         (WebKit):
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.
7736         (WebKit):
7737         (SpeechRecognitionClientProxy):
7738         * src/WebSpeechGrammar.cpp: Added.
7739         (WebKit):
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.
7746         (WebKit):
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.
7755         (WebKit):
7756         (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
7757         * src/WebSpeechRecognitionResult.cpp: Added.
7758         (WebKit):
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:
7765         (WebKit):
7766
7767 2012-04-04  Sheriff Bot  <webkit.review.bot@gmail.com>
7768
7769         Unreviewed, rolling out r113149.
7770         http://trac.webkit.org/changeset/113149
7771         https://bugs.webkit.org/show_bug.cgi?id=83126
7772
7773         for breaking Chromium builders (Requested by pfeldman on
7774         #webkit).
7775
7776         * WebKit.gyp:
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:
7784         (WebKit):
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:
7793         (WebKit):
7794
7795 2012-04-03  Hans Wennborg  <hans@chromium.org>
7796
7797         Speech JavaScript API: Plumbing for Chromium
7798         https://bugs.webkit.org/show_bug.cgi?id=81667
7799
7800         Reviewed by Darin Fisher.
7801
7802         Add plumbing for speech recognition.
7803
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.
7809
7810         SpeechRecognitionClientProxy passes data between the WebCore and WebKit layers,
7811         implementing the WebCore::SpeechRecognitionClient and WebKit::WebSpeechRecognizerClient
7812         interfaces.
7813
7814         * WebKit.gyp:
7815         * public/WebSpeechGrammar.h:
7816         (WebCore):
7817         (WebKit):
7818         (WebSpeechGrammar):
7819         (WebKit::WebSpeechGrammar::WebSpeechGrammar):
7820         (WebKit::WebSpeechGrammar::~WebSpeechGrammar):
7821         * public/WebSpeechRecognitionHandle.h: Added.
7822         (WebCore):
7823         (WebKit):
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:
7832         (WebKit):
7833         (WebSpeechRecognitionParams):
7834         (WebKit::WebSpeechRecognitionParams::grammars):
7835         (WebKit::WebSpeechRecognitionParams::language):
7836         (WebKit::WebSpeechRecognitionParams::continuous):
7837         * public/WebSpeechRecognitionResult.h: Added.
7838         (WebCore):
7839         (WebKit):
7840         (WebSpeechRecognitionResult):
7841         (WebKit::WebSpeechRecognitionResult::WebSpeechRecognitionResult):
7842         (WebKit::WebSpeechRecognitionResult::~WebSpeechRecognitionResult):
7843         * public/WebSpeechRecognizer.h:
7844         (WebKit):
7845         (WebSpeechRecognizer):
7846         (WebKit::WebSpeechRecognizer::start):
7847         (WebKit::WebSpeechRecognizer::stop):
7848         (WebKit::WebSpeechRecognizer::abort):
7849         (WebKit::WebSpeechRecognizer::~WebSpeechRecognizer):
7850         * public/WebSpeechRecognizerClient.h: Added.
7851         (WebKit):
7852         (WebSpeechRecognizerClient):
7853         * public/WebViewClient.h:
7854         (WebKit):
7855         (WebViewClient):
7856         (WebKit::WebViewClient::speechRecognizer):
7857         * src/SpeechRecognitionClientProxy.cpp: Added.
7858         (WebKit):
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.
7878         (WebKit):
7879         (SpeechRecognitionClientProxy):
7880         * src/WebSpeechGrammar.cpp: Added.
7881         (WebKit):
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.
7888         (WebKit):
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.
7897         (WebKit):
7898         (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
7899         * src/WebSpeechRecognitionResult.cpp: Added.
7900         (WebKit):
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:
7907         (WebKit):
7908
7909 2012-04-03  Yuta Kitamura  <yutak@chromium.org>
7910
7911         Crash in WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadCreateWebSocketChannel
7912         https://bugs.webkit.org/show_bug.cgi?id=82873
7913
7914         Reviewed by David Levin.
7915
7916         Change the function signature of WorkerLoaderProxy::postTaskForModeToWorkerContext().
7917
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):
7926
7927 2012-04-03  Ian Vollick  <vollick@chromium.org>
7928
7929         [chromium] Include Image.h in TextFieldDecoratorImpl.cpp
7930         https://bugs.webkit.org/show_bug.cgi?id=83066
7931
7932         Reviewed by James Robinson.
7933
7934         * src/TextFieldDecoratorImpl.cpp:
7935
7936 2012-04-03  Rafael Weinstein  <rafaelw@chromium.org>
7937
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
7940
7941         Reviewed by Adam Barth.
7942
7943         * WebKit.gyp:
7944         * public/WebFrame.h:
7945         (v8):
7946         (WebFrame):
7947         * src/WebFrameImpl.cpp:
7948         (WebKit):
7949         (WebKit::WebFrameImpl::callFunctionEvenIfScriptDisabled):
7950         * src/WebFrameImpl.h:
7951         (WebFrameImpl):
7952         * src/WebKit.cpp:
7953         (WebKit):
7954         (WebKit::assertV8RecursionScope):
7955         (WebKit::initialize):
7956         (WebKit::shutdown):
7957
7958 2012-04-03  Adam Barth  <abarth@webkit.org>
7959
7960         Unreviewed. This patch adds an ugly, ugly hack to bandaid over the
7961         Windows component build. See comments in the code for details.
7962
7963         * src/WebKit.cpp:
7964         (WebKit::shutdown):
7965
7966 2012-04-03  Dimitri Glazkov  <dglazkov@chromium.org>
7967
7968         Unreviewed, rolling out r113087.
7969         http://trac.webkit.org/changeset/113087
7970         https://bugs.webkit.org/show_bug.cgi?id=83068
7971
7972         Breaks Windows builds in other unpredictable ways.
7973
7974         * WebKit.gyp: Removed the hack.
7975
7976 2012-04-03  W. James MacLean  <wjmaclean@chromium.org>
7977
7978         [chromium] Switch touchpad fling curve physics to absolute (not scaled) curve.
7979         https://bugs.webkit.org/show_bug.cgi?id=83061
7980
7981         Reviewed by James Robinson.
7982
7983         * tests/PlatformGestureCurveTest.cpp:
7984
7985 2012-04-02  Zhenyao Mo  <zmo@google.com>
7986
7987         Implement WebGLShaderPrecisionFormat
7988         https://bugs.webkit.org/show_bug.cgi?id=75925
7989
7990         Reviewed by Kenneth Russell.
7991
7992         * src/GraphicsContext3DChromium.cpp: Add getShaderPrecisionFormat().
7993         (WebCore):
7994         * src/GraphicsContext3DPrivate.h: Ditto.
7995         (GraphicsContext3DPrivate):
7996         * tests/FakeWebGraphicsContext3D.h: Ditto.
7997         (FakeWebGraphicsContext3D):
7998
7999 2012-04-03  Dirk Pranke  <dpranke@chromium.org>
8000
8001         disable incremental linking for debug of webkit
8002         https://bugs.webkit.org/show_bug.cgi?id=83068
8003
8004         Reviewed by Adam Barth.
8005
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).
8009
8010         * WebKit.gyp:
8011
8012 2012-04-03  Shawn Singh  <shawnsingh@chromium.org>
8013
8014         [chromium] Fix incorrect comment in CCDamageTrackerTest
8015         https://bugs.webkit.org/show_bug.cgi?id=82118
8016
8017         Reviewed by Adrienne Walker.
8018
8019         * tests/CCDamageTrackerTest.cpp:
8020         (WebKitTests::TEST_F):
8021
8022 2012-04-03  Adam Barth  <abarth@webkit.org>
8023
8024         Another attempt to fix the Windows build.  This uses WebSecurityOrigin
8025         has a value type but doesn't include the header.
8026
8027         * public/WebUserMediaRequest.h:
8028         (WebKit):
8029
8030 2012-04-03  'Pavel Feldman'  <pfeldman@chromium.org>
8031
8032         Not reviewed. Follow up to inspector's r113032: change provisional method signature a bit.
8033
8034         * public/WebDevToolsFrontendClient.h:
8035         (WebKit::WebDevToolsFrontendClient::save):
8036
8037 2012-04-03  Bolin Hsu  <bhsu@google.com>
8038
8039         [Chromium] Add click count and modifiers to the factory method of mouse event.
8040         https://bugs.webkit.org/show_bug.cgi?id=82502
8041
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.
8045
8046         Reviewed by Eric Seidel.
8047
8048         * public/android/WebInputEventFactory.h:
8049         * src/android/WebInputEventFactory.cpp:
8050         (WebKit::WebInputEventFactory::mouseEvent):
8051
8052 2012-04-03  Mark Pilgrim  <pilgrim@chromium.org>
8053
8054         Call incrementStatsCounter directly
8055         https://bugs.webkit.org/show_bug.cgi?id=83023
8056
8057         Reviewed by Kentaro Hara.
8058
8059         * src/PlatformSupport.cpp:
8060         (WebCore):
8061         * src/WebFrameImpl.cpp:
8062         (WebKit::WebFrameImpl::WebFrameImpl):
8063
8064 2012-04-03  Sami Kyostila  <skyostil@chromium.org>
8065
8066         [chromium] Canvas2DLayerChromium::updateCompositorResources should flush after copying
8067         https://bugs.webkit.org/show_bug.cgi?id=83013
8068
8069         Reviewed by Stephen White.
8070
8071         * tests/Canvas2DLayerChromiumTest.cpp: Make sure context is flushed after copying.
8072
8073 2012-04-03  Pavel Feldman  <pfeldman@chromium.org>
8074
8075         Web Inspector: [chromium] add provisional save method into the frontend client.
8076         https://bugs.webkit.org/show_bug.cgi?id=83022
8077
8078         Reviewed by Yury Semikhatsky.
8079
8080         * public/WebDevToolsFrontendClient.h:
8081         (WebKit::WebDevToolsFrontendClient::save):
8082
8083 2012-04-03  Bill Budge  <bbudge@chromium.org>
8084
8085         WebViewImpl doesn't notify the page that the user has canceled fullscreen.
8086         https://bugs.webkit.org/show_bug.cgi?id=82760
8087
8088         Reviewed by Darin Fisher.
8089
8090         * src/WebViewImpl.cpp:
8091         (WebKit::WebViewImpl::WebViewImpl):
8092         (WebKit::WebViewImpl::willExitFullScreen):
8093         (WebKit::WebViewImpl::exitFullScreenForElement):
8094         * src/WebViewImpl.h:
8095
8096 2012-04-02  Kent Tamura  <tkent@chromium.org>
8097
8098         [Chromium] Add WebKit API for WebCore::TextFieldDecorator
8099         https://bugs.webkit.org/show_bug.cgi?id=82143
8100
8101         Reviewed by Dimitri Glazkov.
8102
8103         Expose WebCore::TextFieldDecorator as
8104         WebKit::WebTextFieldDecoratorClient. This change add capability to add
8105         decoration buttons to text field <input> elements.
8106
8107         * WebKit.gyp: Add new files.
8108         * public/WebTextFieldDecoratorClient.h: Added.
8109         * public/WebView.h:
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.
8138         (WebViewImpl):
8139         (WebKit::WebViewImpl::textFieldDecorators):
8140
8141 2012-04-02  Dana Jansens  <danakj@chromium.org>
8142
8143         [chromium] Remove SkCanvas::LayerIter use from OpaqueRegionSkia
8144         https://bugs.webkit.org/show_bug.cgi?id=82564
8145
8146         Reviewed by Stephen White.
8147
8148         * tests/PlatformContextSkiaTest.cpp:
8149         (WebCore):
8150         (WebCore::TEST):
8151
8152 2012-04-02  Mark Pilgrim  <pilgrim@chromium.org>
8153
8154         Call decrementStatsCounter directly
8155         https://bugs.webkit.org/show_bug.cgi?id=82950
8156
8157         Reviewed by Adam Barth.
8158
8159         * src/PlatformSupport.cpp:
8160         (WebCore):
8161         * src/WebFrameImpl.cpp:
8162         (WebKit::WebFrameImpl::~WebFrameImpl):
8163
8164 2012-04-02  Alexander Pavlov  <apavlov@chromium.org>
8165
8166         [Chromium] Unreviewed, CCLayerTreeHost runMultiThread is flaky.
8167         Related bug: https://bugs.webkit.org/show_bug.cgi?id=80811
8168
8169         Disabled CCLayerTreeHostTestAddAnimationWithTimingFunction.runMultiThread.
8170
8171         * tests/CCLayerTreeHostTest.cpp:
8172         (WTF::TEST_F):
8173
8174 2012-04-02  Alexander Pavlov  <apavlov@chromium.org>
8175
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
8178
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.
8181
8182         Reviewed by Yury Semikhatsky.
8183
8184         * src/WebDevToolsAgentImpl.cpp:
8185         (WebKit::WebDevToolsAgentImpl::overrideDeviceMetrics):
8186
8187 2012-04-02  Kinuko Yasuda  <kinuko@chromium.org>
8188
8189         Unreviewed, rolling chromium DEPS.
8190
8191         * DEPS:
8192
8193 2012-04-02  Keishi Hattori  <keishi@webkit.org>
8194
8195         [chromium] Disable ENABLE_INPUT_TYPE_COLOR for aura and android
8196         https://bugs.webkit.org/show_bug.cgi?id=82863
8197
8198         Reviewed by Kent Tamura.
8199
8200         * features.gypi:
8201
8202 2012-04-02  Adam Barth  <abarth@webkit.org>
8203
8204         [Chromium] Move a number of virtual functions from WebKitPlatformSupport.h into Platform.h
8205         https://bugs.webkit.org/show_bug.cgi?id=82865
8206
8207         Reviewed by Kent Tamura.
8208
8209         * public/platform/WebKitPlatformSupport.h:
8210         (WebKit):
8211         (WebKitPlatformSupport):
8212
8213 2012-04-02  Kent Tamura  <tkent@chromium.org>
8214
8215         Add a calendar picker indicator to date-type input fields
8216         https://bugs.webkit.org/show_bug.cgi?id=80478
8217
8218         Reviewed by Hajime Morita.
8219
8220         * features.gypi: Enable CALENDAR_PICKER for non-Android platforms. This
8221         doesn't affect any bahevior because INPUT_TYPE_DATE is disabled.
8222
8223 2012-04-02  Adam Barth  <abarth@webkit.org>
8224
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
8227
8228         Rubber-stamped by Eric Seidel.
8229
8230         * WebKit.gyp:
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.
8239
8240 2012-04-01  Adam Barth  <abarth@webkit.org>
8241
8242         [Chromium] Move thread-related APIs from WebKit into Platform
8243         https://bugs.webkit.org/show_bug.cgi?id=82858
8244
8245         Reviewed by Eric Seidel.
8246
8247         * WebKit.gyp:
8248         * public/platform/WebThread.h: Replaced.
8249         * public/platform/WebThreadSafeData.h: Replaced.
8250         * src/WebThreadSafeData.cpp: Removed.
8251
8252 2012-04-01  Jon Lee  <jonlee@apple.com>
8253
8254         Rename notification properties and functions
8255         https://bugs.webkit.org/show_bug.cgi?id=80482
8256         <rdar://problem/10912432>
8257
8258         Reviewed by Kentaro Hara.
8259
8260         * src/WebNotification.cpp:
8261         (WebKit::WebNotification::replaceId): Refactor to call tag().
8262
8263 2012-03-29  Adam Barth  <abarth@webkit.org>
8264
8265         [Chromium] Delete WebKit/chromium/bridge
8266         https://bugs.webkit.org/show_bug.cgi?id=82677
8267
8268         Reviewed by James Robinson.
8269
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.
8273
8274         * WebKit.gyp:
8275         * bridge: Removed.
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:
8288         (WebKit):
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.
8310
8311 2012-03-30  Adam Barth  <abarth@webkit.org>
8312
8313         [Chromium] Move ResourceHandle to WebCore/platform/network/chromium
8314         https://bugs.webkit.org/show_bug.cgi?id=82657
8315
8316         Reviewed by James Robinson.
8317
8318         * WebKit.gyp:
8319         * src/ResourceHandle.cpp: Removed.
8320         * src/ResourceHandleInternal.h: Removed.
8321         * src/WrappedResourceRequest.h: Removed.
8322         * src/WrappedResourceResponse.h: Removed.
8323
8324 2012-03-30  Adam Barth  <abarth@webkit.org>
8325
8326         Two more link errors.  This time it's v8 we're missing.
8327
8328         * WebKitUnitTests.gyp:
8329
8330 2012-03-30  Adam Barth  <abarth@webkit.org>
8331
8332         Attempt to fix the Windows component build.  It seems we're just
8333         missing GURL now.
8334
8335         * WebKitUnitTests.gyp:
8336
8337 2012-03-30  Adam Barth  <abarth@webkit.org>
8338
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.
8342
8343         * WebKitUnitTests.gyp:
8344
8345 2012-03-30  Emil A Eklund  <eae@chromium.org>
8346
8347         Change WebKit/WebKit2 platform code to use pixel snapped values
8348         https://bugs.webkit.org/show_bug.cgi?id=82549
8349
8350         Reviewed by Eric Seidel.
8351
8352         * src/WebAccessibilityObject.cpp:
8353         (WebKit::WebAccessibilityObject::boundingBoxRect):
8354         Use pixelSnappedBoundingBoxRect instead of boundingBoxRect which returns
8355         a LayoutRect.
8356         
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.
8361
8362 2012-03-30  Adam Barth  <abarth@webkit.org>
8363
8364         https://bugs.webkit.org/show_bug.cgi?id=82582
8365         Move CPP files related to ResourceHandle to WebCore/platform
8366
8367         Reviewed by James Robinson.
8368
8369         * WebKit.gyp:
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.
8378
8379 2012-03-30  Dirk Pranke  <dpranke@chromium.org>
8380
8381         Roll chromium DEPS from 129593 to 129574.
8382
8383         Unreviewed.
8384
8385         * DEPS:
8386
8387 2012-03-30  Adam Barth  <abarth@webkit.org>
8388
8389         Move CPP files related to ResourceHandle to WebCore/platform
8390         https://bugs.webkit.org/show_bug.cgi?id=82582
8391
8392         Reviewed by James Robinson.
8393
8394         * WebKit.gyp:
8395         * src/WebData.cpp: Removed.
8396
8397 2012-03-30  Mark Pilgrim  <pilgrim@chromium.org>
8398
8399         GEOLOCATION should be implemented as Page Supplement
8400         https://bugs.webkit.org/show_bug.cgi?id=82228
8401
8402         Reviewed by Adam Barth.
8403
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.
8407
8408         * src/WebViewImpl.cpp:
8409         (WebKit::WebViewImpl::WebViewImpl):
8410
8411 2012-03-30  Ian Vollick  <vollick@chromium.org>
8412
8413         [chromium] Flaky animation unit test CCLayerTreeHostTestSynchronizeAnimationStartTimes
8414         https://bugs.webkit.org/show_bug.cgi?id=82731
8415
8416         Reviewed by James Robinson.
8417
8418         * tests/CCLayerTreeHostTest.cpp:
8419         (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::CCLayerTreeHostTestSynchronizeAnimationStartTimes):
8420         (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::animateLayers):
8421         (CCLayerTreeHostTestSynchronizeAnimationStartTimes):
8422         (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::notifyAnimationStarted):
8423
8424 2012-03-30  Ian Vollick  <vollick@chromium.org>
8425
8426         [chromium] assertion being hit in CCLayerAnimationController
8427         https://bugs.webkit.org/show_bug.cgi?id=82237
8428
8429         Reviewed by James Robinson.
8430
8431         * tests/CCLayerAnimationControllerTest.cpp:
8432         (WebKitTests::TEST):
8433         (WebKitTests):
8434
8435 2012-03-30  Alexander Pavlov  <apavlov@chromium.org>
8436
8437         [Chromium] Unreviewed Chromium Mac build fix.
8438
8439         * src/WebDevToolsAgentPrivate.h:
8440         (WebKit):
8441
8442 2012-03-30  Alexander Pavlov  <apavlov@chromium.org>
8443
8444         Web Inspector: [Chromium] Implement Chromium-specific part of the device metrics emulation
8445         https://bugs.webkit.org/show_bug.cgi?id=82612
8446
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.
8450
8451         Reviewed by Pavel Feldman.
8452
8453         * src/InspectorClientImpl.cpp:
8454         (WebKit::InspectorClientImpl::canOverrideDeviceMetrics):
8455         (WebKit):
8456         (WebKit::InspectorClientImpl::overrideDeviceMetrics):
8457         (WebKit::InspectorClientImpl::autoZoomPageToFitWidth):
8458         * src/InspectorClientImpl.h:
8459         (InspectorClientImpl):
8460         * src/WebDevToolsAgentImpl.cpp:
8461         (OverlayZOrders):
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):
8472         (WebKit):
8473         (WebKit::WebDevToolsAgentImpl::mainFrameViewCreated):
8474         (WebKit::WebDevToolsAgentImpl::metricsOverridden):
8475         (WebKit::WebDevToolsAgentImpl::overrideDeviceMetrics):
8476         (WebKit::WebDevToolsAgentImpl::autoZoomPageToFitWidth):
8477         (WebKit::WebDevToolsAgentImpl::highlight):
8478         * src/WebDevToolsAgentImpl.h:
8479         (WebCore):
8480         (WebKit):
8481         (WebDevToolsAgentImpl):
8482         * src/WebDevToolsAgentPrivate.h:
8483         (WebKit):
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):
8492         (WebKit):
8493         (WebKit::WebViewImpl::updateLayerTreeViewport):
8494         * src/WebViewImpl.h:
8495         (WebViewImpl):
8496         (WebKit::WebViewImpl::emulatedTextZoomFactor):
8497
8498 2012-03-30  David Barr  <davidbarr@chromium.org>
8499
8500         Split up top-level .gitignore and .gitattributes
8501         https://bugs.webkit.org/show_bug.cgi?id=82687
8502
8503         Reviewed by Tor Arne Vestbø.
8504
8505         * .gitignore: Added.
8506
8507 2012-03-30  Mike Reed  <reed@google.com>
8508
8509         pass alpha directly to player, rather than creating a layer (for performance)
8510         https://bugs.webkit.org/show_bug.cgi?id=82360
8511
8512         Reviewed by Stephen White.
8513
8514         Performance change, existing webkit tests apply.
8515
8516         * public/WebMediaPlayer.h:
8517         (WebMediaPlayer):
8518         * src/WebMediaPlayerClientImpl.cpp:
8519         (WebKit::WebMediaPlayerClientImpl::paintCurrentFrameInContext):
8520
8521 2012-03-30  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
8522
8523         Add a "preview" state to Page Visibility API implementation
8524         https://bugs.webkit.org/show_bug.cgi?id=81355
8525
8526         Reviewed by Adam Barth.
8527
8528         Updating the Page Visibility API implementation to the current spec version.
8529
8530         * public/WebPageVisibilityState.h:
8531         * src/AssertMatchingEnums.cpp:
8532         * src/WebViewImpl.cpp:
8533         (WebKit::WebViewImpl::setVisibilityState):
8534
8535 2012-03-30  Keishi Hattori  <keishi@webkit.org>
8536
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
8539
8540         Reviewed by Kent Tamura.
8541
8542         * features.gypi:
8543         * src/ChromeClientImpl.cpp:
8544         (WebKit):
8545         * src/ChromeClientImpl.h:
8546         (WebCore):
8547         (ChromeClientImpl):
8548         * src/ColorChooserProxy.cpp:
8549         * src/ColorChooserProxy.h:
8550         * src/WebColorChooserClientImpl.cpp:
8551         * src/WebColorChooserClientImpl.h:
8552
8553 2012-03-29  Adam Barth  <abarth@webkit.org>
8554
8555         Unreviewed, rolling out r112572.
8556         http://trac.webkit.org/changeset/112572
8557         https://bugs.webkit.org/show_bug.cgi?id=82582
8558
8559         Does not compile in Windows component build
8560
8561         * WebKit.gyp:
8562         * src/WebData.cpp: Renamed from Source/WebCore/platform/chromium/support/WebData.cpp.
8563         (WebKit):
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.
8572         (WebKit):
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.
8591         (WebKit):
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.
8611         (WebKit):
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.
8616         (WebKit):
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):
8625         (WebKit):
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.
8672         (WebKit):
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):
8680         (WebKit):
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.
8745         (WebKit):
8746         (WebURLResponsePrivate):
8747         (WebKit::WebURLResponsePrivate::WebURLResponsePrivate):
8748
8749 2012-03-29  Adam Barth  <abarth@webkit.org>
8750
8751         Unreviewed, rolling out r112579.
8752         http://trac.webkit.org/changeset/112579
8753         https://bugs.webkit.org/show_bug.cgi?id=82657
8754
8755         Does not compile in Windows component build
8756
8757         * WebKit.gyp:
8758         * src/ResourceHandle.cpp: Renamed from Source/WebCore/platform/network/chromium/ResourceHandle.cpp.
8759         (WebCore):
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.
8790         (WebCore):
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.
8799         (WebKit):
8800         (WrappedResourceRequest):
8801         (WebKit::WrappedResourceRequest::~WrappedResourceRequest):
8802         (WebKit::WrappedResourceRequest::WrappedResourceRequest):
8803         (WebKit::WrappedResourceRequest::bind):
8804         (Handle):
8805         (WebKit::WrappedResourceRequest::Handle::dispose):
8806         * src/WrappedResourceResponse.h: Renamed from Source/WebCore/platform/chromium/support/WrappedResourceResponse.h.
8807         (WebKit):
8808         (WrappedResourceResponse):
8809         (WebKit::WrappedResourceResponse::~WrappedResourceResponse):
8810         (WebKit::WrappedResourceResponse::WrappedResourceResponse):
8811         (WebKit::WrappedResourceResponse::bind):
8812         (Handle):
8813         (WebKit::WrappedResourceResponse::Handle::dispose):
8814
8815 2012-03-29  Adam Barth  <abarth@webkit.org>
8816
8817         [Chromium] Move ResourceHandle to WebCore/platform/network/chromium
8818         https://bugs.webkit.org/show_bug.cgi?id=82657
8819
8820         Reviewed by James Robinson.
8821
8822         * WebKit.gyp:
8823         * src/ResourceHandle.cpp: Removed.
8824         * src/ResourceHandleInternal.h: Removed.
8825         * src/WrappedResourceRequest.h: Removed.
8826         * src/WrappedResourceResponse.h: Removed.
8827
8828 2012-03-29  Dmitry Lomov  <dslomov@google.com>
8829
8830         [Chromium] WorkerFileSystemContextObserver can reference a deleted WorkerFileSystemCallbacksBridge.
8831         https://bugs.webkit.org/show_bug.cgi?id=82565
8832         
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
8837         terminates.
8838
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.
8841
8842         Reviewed by David Levin.
8843
8844         * src/WorkerFileSystemCallbacksBridge.cpp:
8845         (WebKit::WorkerFileSystemContextObserver::create):
8846         (WebKit::WorkerFileSystemContextObserver::WorkerFileSystemContextObserver):
8847         (WorkerFileSystemContextObserver):
8848
8849 2012-03-29  Adam Barth  <abarth@webkit.org>
8850
8851         Move CPP files related to ResourceHandle to WebCore/platform
8852         https://bugs.webkit.org/show_bug.cgi?id=82582
8853
8854         Reviewed by James Robinson.
8855
8856         * WebKit.gyp:
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.
8866
8867 2012-03-29  Michal Mocny  <mmocny@google.com>
8868
8869         [chromium] Ensure framebuffer exists at the start of beginDrawingFrame.
8870         https://bugs.webkit.org/show_bug.cgi?id=82569
8871
8872         Reviewed by James Robinson.
8873
8874         * tests/LayerRendererChromiumTest.cpp:
8875         (FakeLayerRendererChromiumClient::FakeLayerRendererChromiumClient):
8876         (FakeLayerRendererChromiumClient::rootLayer):
8877         (FakeLayerRendererChromiumClient):
8878         (TEST_F):
8879
8880 2012-03-29  Adam Barth  <abarth@webkit.org>
8881
8882         Move createURLLoader() into Platform
8883         https://bugs.webkit.org/show_bug.cgi?id=82587
8884
8885         Reviewed by James Robinson.
8886
8887         * public/platform/WebKitPlatformSupport.h:
8888         (WebKit):
8889         (WebKitPlatformSupport):
8890         * src/WebKit.cpp:
8891         (WebKit::initializeWithoutV8):
8892         (WebKit::shutdown):
8893
8894 2012-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
8895
8896         Unreviewed, rolling out r112553.
8897         http://trac.webkit.org/changeset/112553
8898         https://bugs.webkit.org/show_bug.cgi?id=82638
8899
8900         It made all tests crash on Qt WK2 (Requested by Ossy_away on
8901         #webkit).
8902
8903         * src/WebViewImpl.cpp:
8904         (WebKit::WebViewImpl::WebViewImpl):
8905
8906 2012-03-29  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
8907
8908         HashMap<>::add should return a more descriptive object
8909         https://bugs.webkit.org/show_bug.cgi?id=71063
8910
8911         Reviewed by Ryosuke Niwa.
8912
8913         Update code to use AddResult instead of a pair.
8914
8915         * src/WebHTTPLoadInfo.cpp:
8916         (WebKit::addHeader):
8917         * src/WebURLResponse.cpp:
8918         (WebKit::WebURLResponse::addHTTPHeaderField):
8919
8920 2012-03-29  Mark Pilgrim  <pilgrim@chromium.org>
8921
8922         GEOLOCATION should be implemented as Page Supplement
8923         https://bugs.webkit.org/show_bug.cgi?id=82228
8924
8925         Reviewed by Adam Barth.
8926
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.
8930
8931         * src/WebViewImpl.cpp:
8932         (WebKit::WebViewImpl::WebViewImpl):
8933
8934 2012-03-29  Dana Jansens  <danakj@chromium.org>
8935
8936         [chromium] Split off tiled layer constructs for unit tests into a common header
8937         https://bugs.webkit.org/show_bug.cgi?id=82425
8938
8939         Reviewed by Adrienne Walker.
8940
8941         * WebKit.gypi:
8942         * tests/CCTiledLayerTestCommon.cpp: Added.
8943         (WebKitTests):
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.
8962         (WebKitTests):
8963         (FakeLayerTextureUpdater):
8964         (Texture):
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:
8997
8998 2012-03-29  Dana Jansens  <danakj@chromium.org>
8999
9000         [chromium] Remove unneeded code+fixmes from CCOcclusionTracker
9001         https://bugs.webkit.org/show_bug.cgi?id=82380
9002
9003         Reviewed by Adrienne Walker.
9004
9005         * WebKit.gypi:
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.
9039         (WebKitTests):
9040         (TestCCOcclusionTrackerBase):
9041         (WebKitTests::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
9042         (WebKitTests::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
9043         (WebKitTests::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
9044         (WebKitTests::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
9045         (WebKitTests::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
9046
9047 2012-03-29  Dirk Schulze  <krit@webkit.org>
9048
9049         Introduce CSSParserMode in all classes
9050         https://bugs.webkit.org/show_bug.cgi?id=82335
9051
9052         Unreviewed build fix.
9053
9054         * src/WebDocument.cpp:
9055         (WebKit::WebDocument::insertUserStyleSheet):
9056
9057 2012-03-28  Dirk Schulze  <krit@webkit.org>
9058
9059         Introduce CSSParserMode in all classes
9060         https://bugs.webkit.org/show_bug.cgi?id=82335
9061
9062         Use CSSParserMode for setting the parsing mode on parseValue.
9063
9064         * src/WebDocument.cpp:
9065         (WebKit::WebDocument::insertUserStyleSheet):
9066
9067 2012-03-29  Tommy Widenflycht  <tommyw@google.com>
9068
9069         MediaStream API: Adding better comments for the WebRTC methods in WebKitPlatformSupport.h
9070         https://bugs.webkit.org/show_bug.cgi?id=82588
9071
9072         Reviewed by Adam Barth.
9073
9074         * public/platform/WebKitPlatformSupport.h:
9075         (WebKitPlatformSupport):
9076
9077 2012-03-28  Kinuko Yasuda  <kinuko@chromium.org>
9078
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
9081
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.
9086
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.
9090
9091         This is all platform-specific implementation detail and all the changes
9092         are in chromium directory.
9093
9094         Reviewed by David Levin.
9095
9096         * public/platform/WebDragData.h:
9097         (WebDragData):
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.
9110
9111 2012-03-29  Kinuko Yasuda  <kinuko@chromium.org>
9112
9113         Unreviewed; rolling chromium deps to 129583.
9114
9115         * DEPS:
9116
9117 2012-03-28  Adam Barth  <abarth@webkit.org>
9118
9119         [Chromium] Move APIs related to ResourceHandle into Platform
9120         https://bugs.webkit.org/show_bug.cgi?id=82553
9121
9122         Reviewed by James Robinson.
9123
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.
9128
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:
9141
9142 2012-03-28  Bill Budge  <bbudge@chromium.org>
9143
9144         AssociatedURLLoader does not support Cross Origin Redirects when using
9145         Access Control.
9146         https://bugs.webkit.org/show_bug.cgi?id=82354
9147
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.
9152
9153         Reviewed by Adam Barth.
9154
9155         * src/AssociatedURLLoader.cpp:
9156         (AssociatedURLLoader::ClientAdapter):
9157         (WebKit::AssociatedURLLoader::ClientAdapter::didFailRedirectCheck):
9158         (WebKit):
9159         * tests/AssociatedURLLoaderTest.cpp:
9160         (WebKit):
9161         (WebKit::TEST_F):
9162
9163 2012-03-28  Adrienne Walker  <enne@google.com>
9164
9165         [chromium] Fix tiled layer assert for huge layers
9166         https://bugs.webkit.org/show_bug.cgi?id=82486
9167
9168         Reviewed by James Robinson.
9169
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().
9173
9174         * tests/TiledLayerChromiumTest.cpp:
9175         (WTF::TEST):
9176         (WTF):
9177         * tests/TilingDataTest.cpp:
9178         (TestTiling):
9179         (WebCore::TestTiling::TestTiling):
9180         (WebCore::TestTiling::numTiles):
9181         (WebCore):
9182         (WebCore::TEST):
9183
9184 2012-03-28  Nate Chapin  <japhet@chromium.org>
9185
9186         Remove dispatchDidLoadMainResource callback, since no
9187         port implements it.
9188         https://bugs.webkit.org/show_bug.cgi?id=82539
9189
9190         Reviewed by Alexey Proskuryakov.
9191
9192         * src/FrameLoaderClientImpl.cpp:
9193         (WebKit):
9194         * src/FrameLoaderClientImpl.h:
9195         (FrameLoaderClientImpl):
9196
9197 2012-03-28  Dirk Pranke  <dpranke@chromium.org>
9198
9199         Roll chromium from 129300 to 129509.
9200
9201         Unreviewed, DEPS change.
9202
9203         * DEPS:
9204
9205 2012-03-28  Sheriff Bot  <webkit.review.bot@gmail.com>
9206
9207         Unreviewed, rolling out r112432.
9208         http://trac.webkit.org/changeset/112432
9209         https://bugs.webkit.org/show_bug.cgi?id=82536
9210
9211         Causes ccs3 layout test asserts (Requested by enne on
9212         #webkit).
9213
9214         * tests/TiledLayerChromiumTest.cpp:
9215         * tests/TilingDataTest.cpp:
9216         (WebCore::TEST):
9217
9218 2012-03-27  Daniel Cheng  <dcheng@chromium.org>
9219
9220         [chromium] Merge ChromiumDataObject and DataTransferItemListChromium.
9221         https://bugs.webkit.org/show_bug.cgi?id=82407
9222
9223         Reviewed by Tony Chang.
9224
9225         * src/WebDragData.cpp:
9226         (WebKit::WebDragData::items):
9227
9228 2012-03-28  Nat Duca  <nduca@chromium.org>
9229
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
9232
9233         Reviewed by James Robinson.
9234
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):
9250         (WebKitTests):
9251
9252 2012-03-26  Shawn Singh  <shawnsingh@chromium.org>
9253
9254         [chromium] layer->clipRect() is not initialized for layers that create a renderSurface.
9255         https://bugs.webkit.org/show_bug.cgi?id=74147
9256
9257         Reviewed by Adrienne Walker.
9258
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.
9262
9263         * tests/CCLayerTreeHostCommonTest.cpp:
9264         (WebCore::TEST):
9265         (WebCore):
9266         * tests/CCLayerTreeTestCommon.h:
9267         (WebKitTests):
9268
9269 2012-03-28  Adrienne Walker  <enne@google.com>
9270
9271         [chromium] Fix tiled layer assert for huge layers
9272         https://bugs.webkit.org/show_bug.cgi?id=82486
9273
9274         Reviewed by James Robinson.
9275
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().
9279
9280         * tests/TiledLayerChromiumTest.cpp:
9281         (WTF::TEST):
9282         (WTF):
9283         * tests/TilingDataTest.cpp:
9284         (TestTiling):
9285         (WebCore::TestTiling::TestTiling):
9286         (WebCore::TestTiling::numTiles):
9287         (WebCore):
9288         (WebCore::TEST):
9289
9290 2012-03-28  Tommy Widenflycht  <tommyw@google.com>
9291
9292         [chromium] MediaStream API (JSEP): Introducing WebPeerConnection00Handler
9293         https://bugs.webkit.org/show_bug.cgi?id=82450
9294
9295         Reviewed by Adam Barth.
9296
9297         Last patch to enable the PeerConnection00 functionality in Chromium introduces
9298         WebPeerConnection00Handler and WebPeerConnection00HandlerClient, together with the necessary plumbing.
9299
9300         * WebKit.gyp:
9301         * bridge/PeerConnection00Handler.cpp: Added.
9302         (WebCore):
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.
9318         (WebCore):
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.
9338         (WebKit):
9339         (WebCore):
9340         (PeerConnection00HandlerInternal):
9341         * public/platform/WebKitPlatformSupport.h:
9342         (WebKit):
9343         (WebKit::WebKitPlatformSupport::createPeerConnection00Handler):
9344         * public/platform/WebPeerConnection00Handler.h: Added.
9345         (WebKit):
9346         (WebPeerConnection00Handler):
9347         (WebKit::WebPeerConnection00Handler::~WebPeerConnection00Handler):
9348         * public/platform/WebPeerConnection00HandlerClient.h: Added.
9349         (WebKit):
9350         (WebPeerConnection00HandlerClient):
9351         (WebKit::WebPeerConnection00HandlerClient::~WebPeerConnection00HandlerClient):
9352         * src/AssertMatchingEnums.cpp:
9353
9354 2012-03-28  James Robinson  <jamesr@chromium.org>
9355
9356         [chromium] Compositor visibility setting must be updated even if not actively compositing
9357         https://bugs.webkit.org/show_bug.cgi?id=82406
9358
9359         Reviewed by Adrienne Walker.
9360
9361         Propagate the visibility bit to the WebLayerTreeView even when compositing is inactive.
9362
9363         * src/WebViewImpl.cpp:
9364         (WebKit::WebViewImpl::setVisibilityState):
9365
9366 2012-03-28  Fady Samuel  <fsamuel@chromium.org>
9367
9368         [Chromium] Enable Viewport define by default
9369         https://bugs.webkit.org/show_bug.cgi?id=79514
9370
9371         Reviewed by Darin Fisher.
9372
9373         * features.gypi:
9374
9375 2012-03-27  James Robinson  <jamesr@chromium.org>
9376
9377         [chromium] Transfer wheel fling via WebCompositorInputHandlerClient
9378         https://bugs.webkit.org/show_bug.cgi?id=81740
9379
9380         Reviewed by Adrienne Walker.
9381
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.
9386
9387         New tests added to WebCompositorInputHandlerTest for the transfering logic.
9388
9389         * public/WebActiveWheelFlingParameters.h: Copied from Source/WebKit/chromium/public/WebCompositorInputHandlerClient.h.
9390         (WebKit):
9391         (WebActiveWheelFlingParameters):
9392         (WebKit::WebActiveWheelFlingParameters::WebActiveWheelFlingParameters):
9393         * public/WebCompositorInputHandlerClient.h:
9394         (WebKit):
9395         (WebCompositorInputHandlerClient):
9396         (WebKit::WebCompositorInputHandlerClient::transferActiveWheelFlingAnimation):
9397         * public/WebView.h:
9398         (WebKit):
9399         (WebView):
9400         * src/WebCompositorInputHandlerImpl.cpp:
9401         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
9402         (WebKit::WebCompositorInputHandlerImpl::animate):
9403         (WebKit::WebCompositorInputHandlerImpl::cancelCurrentFling):
9404         (WebKit::WebCompositorInputHandlerImpl::scrollBy):
9405         * src/WebCompositorInputHandlerImpl.h:
9406         (WebCore):
9407         * src/WebViewImpl.cpp:
9408         (WebKit::WebViewImpl::transferActiveWheelFlingAnimation):
9409         (WebKit):
9410         * src/WebViewImpl.h:
9411         (WebViewImpl):
9412         * tests/WebCompositorInputHandlerImplTest.cpp:
9413         (WebKit::MockWebCompositorInputHandlerClient::MockWebCompositorInputHandlerClient):
9414         (MockWebCompositorInputHandlerClient):
9415         (WebKit::TEST):
9416         (WebKit::WebCompositorInputHandlerImplTest::WebCompositorInputHandlerImplTest):
9417         (WebKit::WebCompositorInputHandlerImplTest::~WebCompositorInputHandlerImplTest):
9418         (WebCompositorInputHandlerImplTest):
9419         (WebKit::TEST_F):
9420         (WebKit):
9421
9422 2012-03-27  James Robinson  <jamesr@chromium.org>
9423
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
9426
9427         Reviewed by Adrienne Walker.
9428
9429         * src/WebCompositorInputHandlerImpl.cpp:
9430         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
9431
9432 2012-03-27  Nat Duca  <nduca@chromium.org>
9433
9434         [chromium] Route monotonic clock up from compositor
9435         https://bugs.webkit.org/show_bug.cgi?id=82154
9436
9437         Reviewed by James Robinson.
9438
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:
9449         (WebViewImpl):
9450         * tests/FakeCCLayerTreeHostClient.h:
9451         (WebCore::FakeCCLayerTreeHostClient::updateAnimations):
9452
9453 2012-03-27  James Robinson  <jamesr@chromium.org>
9454
9455         webkit_unit_tests crashing on chromium lion in CCLayerTreeHostTestCompositeAndReadbackWhileInvisible
9456         https://bugs.webkit.org/show_bug.cgi?id=82382
9457
9458         Reviewed by Adrienne Walker.
9459
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.
9464
9465         * tests/CCLayerTreeHostTest.cpp:
9466         (CompositorFakeWebGraphicsContext3DWithTextureTracking):
9467
9468 2012-03-27  James Robinson  <jamesr@chromium.org>
9469
9470         webkit_unit_tests crashing on chromium lion in ScrollbarLayerChromiumTest.resolveScrollLayerPointer
9471         https://bugs.webkit.org/show_bug.cgi?id=82381
9472
9473         Reviewed by Adrienne Walker.
9474
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.
9477
9478         * tests/ScrollbarLayerChromiumTest.cpp:
9479         (WebCore::TEST):
9480
9481 2012-03-27  Dirk Pranke  <dpranke@chromium.org>
9482
9483         Unreviewed, rolling out r112339.
9484         http://trac.webkit.org/changeset/112339
9485         https://bugs.webkit.org/show_bug.cgi?id=82354
9486
9487         webkit_unit_tests crashing on chromium mac bots
9488
9489         * src/AssociatedURLLoader.cpp:
9490         (AssociatedURLLoader::ClientAdapter):
9491         * tests/AssociatedURLLoaderTest.cpp:
9492         (WebKit::AssociatedURLLoaderTest::TearDown):
9493         (WebKit):
9494         (WebKit::TEST_F):
9495
9496 2012-03-27  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
9497
9498         [Coverity] Address some uninitialized constructor values.
9499         https://bugs.webkit.org/show_bug.cgi?id=82376
9500
9501         Reviewed by James Robinson.
9502
9503         New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
9504
9505         * src/WebCompositorInputHandlerImpl.cpp:
9506         (WebCore::PlatformGestureToCCGestureAdapter::PlatformGestureToCCGestureAdapter):
9507
9508 2012-03-27  Dirk Pranke  <dpranke@chromium.org>
9509
9510         Roll chromium DEPS to r129300.
9511
9512         Unreviewed, deps change.
9513
9514         * DEPS:
9515
9516 2012-03-27  Bill Budge  <bbudge@chromium.org>
9517
9518         AssociatedURLLoader does not support Cross Origin Redirects when using
9519         Access Control.
9520         https://bugs.webkit.org/show_bug.cgi?id=82354
9521
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.
9526
9527         Reviewed by Adam Barth.
9528
9529         * src/AssociatedURLLoader.cpp:
9530         (AssociatedURLLoader::ClientAdapter):
9531         (WebKit::AssociatedURLLoader::ClientAdapter::didFailRedirectCheck):
9532         (WebKit):
9533         * tests/AssociatedURLLoaderTest.cpp:
9534         (WebKit::TEST_F):
9535
9536 2012-03-27  Dana Jansens  <danakj@chromium.org>
9537
9538         [chromium] Unknown transforms should be treated as non-axis aligned on main thread
9539         https://bugs.webkit.org/show_bug.cgi?id=82370
9540
9541         Reviewed by Adrienne Walker.
9542
9543         * tests/CCLayerTreeHostCommonTest.cpp:
9544         (WebKitTests::TEST):
9545
9546 2012-03-27  Dana Jansens  <danakj@chromium.org>
9547
9548         [chromium] Rename opaqueContentsRegion() to visibleContentOpaqueRegion()
9549         https://bugs.webkit.org/show_bug.cgi?id=81689
9550
9551         Reviewed by Adrienne Walker.
9552
9553         * tests/CCLayerTreeHostTest.cpp:
9554         (WTF::TestLayerChromium::opaqueVisibleContents):
9555         * tests/CCOcclusionTrackerTest.cpp:
9556         (WebCore::TestContentLayerChromium::opaqueVisibleContents):
9557         (WebCore::TestContentLayerImpl::opaqueVisibleContents):
9558         * tests/TiledLayerChromiumTest.cpp:
9559         (WTF::TEST):
9560
9561 2012-03-27  Dana Jansens  <danakj@chromium.org>
9562
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
9565
9566         Reviewed by Adrienne Walker.
9567
9568         * tests/CCOcclusionTrackerTest.cpp:
9569         (WebCore::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
9570         (WebCore):
9571         (CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping):
9572         (WebCore::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest):
9573
9574 2012-03-27  James Robinson  <jamesr@chromium.org>
9575
9576         Scrollable plugins not registered properly in ScrollingCoordinator
9577         https://bugs.webkit.org/show_bug.cgi?id=82163
9578
9579         Reviewed by Anders Carlsson.
9580
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.
9584
9585         * src/ScrollbarGroup.cpp:
9586         (WebKit::ScrollbarGroup::ScrollbarGroup):
9587         (WebKit::ScrollbarGroup::~ScrollbarGroup):
9588         (WebKit::ScrollbarGroup::scrollbarCreated):
9589         (WebKit::ScrollbarGroup::scrollbarDestroyed):
9590         (WebKit::ScrollbarGroup::setFrameRect):
9591         (WebKit):
9592         (WebKit::ScrollbarGroup::scrollableAreaBoundingBox):
9593         * src/ScrollbarGroup.h:
9594         (ScrollbarGroup):
9595         * src/WebPluginContainerImpl.cpp:
9596         (WebKit::WebPluginContainerImpl::reportGeometry):
9597         (WebKit):
9598         (WebKit::WebPluginContainerImpl::scrollbarGroup):
9599         * src/WebPluginContainerImpl.h:
9600         (WebPluginContainerImpl):
9601
9602 2012-03-27  Dana Jansens  <danakj@chromium.org>
9603
9604         [chromium] Make use of common animation unit test methods
9605         https://bugs.webkit.org/show_bug.cgi?id=82357
9606
9607         Reviewed by Adrienne Walker.
9608
9609         * tests/CCAnimationTestCommon.cpp:
9610         (WebKitTests::addAnimatedTransformToController):
9611         (WebKitTests):
9612         * tests/CCAnimationTestCommon.h:
9613         (WebKitTests):
9614         * tests/CCLayerTreeHostCommonTest.cpp:
9615         (WebKitTests::TEST):
9616         * tests/CCOcclusionTrackerTest.cpp:
9617         (WebKitTests):
9618         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
9619         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
9620         (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
9621
9622 2012-03-27  Sami Kyostila  <skyostil@chromium.org>
9623
9624         [chromium] Add TextureCopier for copying texture contents
9625         https://bugs.webkit.org/show_bug.cgi?id=80870
9626
9627         Reviewed by Stephen White.
9628
9629         Add new test for TextureCopier.
9630
9631         * WebKit.gypi:
9632         * tests/Canvas2DLayerChromiumTest.cpp:
9633         * tests/TextureCopierTest.cpp: Added.
9634         * tests/TiledLayerChromiumTest.cpp:
9635         (FakeTextureCopier):
9636         (WTF::FakeTextureCopier::copyTexture):
9637         (WTF):
9638         (WTF::TEST):
9639
9640 2012-03-27  Stephen White  <senorblanco@chromium.org>
9641
9642         [chromium] Fix filter context usage in webkit_unit_tests.
9643         https://bugs.webkit.org/show_bug.cgi?id=82349
9644
9645         Reviewed by James Robinson.
9646
9647         * tests/CCLayerTreeHostTest.cpp:
9648         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
9649         Cancel request for filter context after test run.
9650         (WTF::TEST_F):
9651         * tests/CCOcclusionTrackerTest.cpp:
9652         Re-enable CCLayerTreeHostTestSetSingleLostContext.runMultiThread.
9653         (WebCore::CCOcclusionTrackerTest::TearDown):
9654         Cancel request for filter context after test run.
9655
9656 2012-03-26  Stephen White  <senorblanco@chromium.org>
9657
9658         Disable CCLayerTreeHostTestSetSingleLostContext.runMultiThread.
9659         https://bugs.webkit.org/show_bug.cgi?id=82285
9660
9661         Reviewed by James Robinson.
9662
9663         * tests/CCLayerTreeHostTest.cpp:
9664         (WTF::TEST_F):
9665
9666 2012-03-26  Andrew Scherkus  <scherkus@chromium.org>
9667
9668         [chromium] Remove WebMediaElement from Chromium WebKit API.
9669         https://bugs.webkit.org/show_bug.cgi?id=82277
9670
9671         Reviewed by James Robinson.
9672
9673         This was added in r63859 but is no longer used by anyone.
9674
9675         * WebKit.gyp:
9676         * public/WebMediaElement.h: Removed.
9677         * src/WebMediaElement.cpp: Removed.
9678
9679 2012-03-26  Scott Byer  <scottbyer@chromium.org>
9680
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.
9687
9688         Reviewed by James Robinson.
9689
9690         * public/WebSettings.h:
9691         * src/WebSettingsImpl.cpp:
9692         (WebKit::WebSettingsImpl::scrollAnimatorEnabled):
9693         (WebKit):
9694         * src/WebSettingsImpl.h:
9695         (WebSettingsImpl):
9696
9697 2012-03-26  Nat Duca  <nduca@chromium.org>
9698
9699         [chromium] Add isInputThrottled/didBecomeReadyForAdditionalInput to WebWidget
9700         https://bugs.webkit.org/show_bug.cgi?id=82265
9701
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.
9709
9710         Reviewed by James Robinson.
9711
9712         * public/WebWidget.h:
9713         (WebWidget):
9714         (WebKit::WebWidget::isInputThrottled):
9715         * public/WebWidgetClient.h:
9716         (WebWidgetClient):
9717         (WebKit::WebWidgetClient::didBecomeReadyForAdditionalInput):
9718         * src/WebLayerTreeView.cpp:
9719         (WebKit::WebLayerTreeView::commitRequested):
9720         (WebKit):
9721         * src/WebLayerTreeViewImpl.cpp:
9722         (WebKit::WebLayerTreeViewImpl::didCommit):
9723         (WebKit):
9724         * src/WebLayerTreeViewImpl.h:
9725         (WebLayerTreeViewImpl):
9726         * src/WebViewImpl.cpp:
9727         (WebKit::WebViewImpl::isInputThrottled):
9728         (WebKit):
9729         (WebKit::WebViewImpl::didCommit):
9730         * src/WebViewImpl.h:
9731         (WebViewImpl):
9732         * tests/CCLayerTreeHostTest.cpp:
9733         (WTF::MockLayerTreeHostClient::didCommit):
9734         (MockLayerTreeHostClient):
9735         * tests/FakeCCLayerTreeHostClient.h:
9736         (FakeCCLayerTreeHostClient):
9737
9738 2012-03-26  Vangelis Kokkevis  <vangelis@chromium.org>
9739
9740         [chromium] Simplify and fix CCLayerSorter
9741         https://bugs.webkit.org/show_bug.cgi?id=82114
9742
9743         Adjustments to the CCLayerSorter unit tests to account for API changes in the
9744         CCLayerSorter class.
9745
9746         Reviewed by Kenneth Russell.
9747
9748         * tests/CCLayerSorterTest.cpp:
9749         (WebCore):
9750         (WebCore::TEST):
9751
9752 2012-03-26  James Robinson  <jamesr@chromium.org>
9753
9754         Scrollable plugins not registered properly in ScrollingCoordinator
9755         https://bugs.webkit.org/show_bug.cgi?id=82163
9756
9757         Reviewed by Anders Carlsson.
9758
9759         * src/WebPluginContainerImpl.cpp:
9760         (WebKit::WebPluginContainerImpl::scrollable):
9761         * src/WebPluginContainerImpl.h:
9762         (WebPluginContainerImpl):
9763
9764 2012-03-26  W. James MacLean  <wjmaclean@chromium.org>
9765
9766         [chromium] Change handleGestureFling() to use CCInputHandlerClient::Wheel.
9767         https://bugs.webkit.org/show_bug.cgi?id=82133
9768
9769         Reviewed by James Robinson.
9770
9771         * src/WebCompositorInputHandlerImpl.cpp:
9772         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
9773         * tests/CCLayerTreeHostImplTest.cpp:
9774         (WebKitTests::TEST_F):
9775
9776 2012-03-26  Terry Anderson  <tdanderson@chromium.org>
9777
9778         [chromium] Allow the viewport meta tag to be disabled for testing purposes
9779         https://bugs.webkit.org/show_bug.cgi?id=81940
9780
9781         Reviewed by Adam Barth.
9782
9783         * public/WebSettings.h:
9784         * src/ChromeClientImpl.cpp:
9785         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
9786         * src/WebSettingsImpl.cpp:
9787         (WebKit::WebSettingsImpl::WebSettingsImpl):
9788         (WebKit::WebSettingsImpl::setViewportEnabled):
9789         (WebKit):
9790         * src/WebSettingsImpl.h:
9791         (WebSettingsImpl):
9792         (WebKit::WebSettingsImpl::viewportEnabled):
9793
9794 2012-03-25  Nat Duca  <nduca@chromium.org>
9795
9796         [chromium] Route willBeginFrame from compositor to WebWidget
9797         https://bugs.webkit.org/show_bug.cgi?id=82171
9798
9799         Reviewed by Darin Fisher.
9800
9801         * public/WebWidgetClient.h:
9802         (WebWidgetClient):
9803         (WebKit::WebWidgetClient::willBeginCompositorFrame):
9804         * src/WebLayerTreeViewImpl.cpp:
9805         (WebKit::WebLayerTreeViewImpl::willBeginFrame):
9806         (WebKit):
9807         * src/WebLayerTreeViewImpl.h:
9808         (WebLayerTreeViewImpl):
9809         * src/WebViewImpl.cpp:
9810         (WebKit::WebViewImpl::willBeginFrame):
9811         (WebKit):
9812         * src/WebViewImpl.h:
9813         (WebViewImpl):
9814         * tests/CCLayerTreeHostTest.cpp:
9815         (WTF::MockLayerTreeHostClient::willBeginFrame):
9816         (MockLayerTreeHostClient):
9817         * tests/FakeCCLayerTreeHostClient.h:
9818         (WebCore::FakeCCLayerTreeHostClient::willBeginFrame):
9819
9820 2012-03-25  Dana Jansens  <danakj@chromium.org>
9821
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
9824
9825         Reviewed by Adrienne Walker.
9826
9827         * tests/TiledLayerChromiumTest.cpp:
9828         (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
9829         (WTF::FakeTiledLayerChromium::tileSize):
9830         (FakeTiledLayerChromium):
9831         (WTF::TEST):
9832         (WTF):
9833         (WTF::idlePaintRepeat):
9834         (WTF::testHaveOuterTiles):
9835
9836 2012-03-24  Nat Duca  <nduca@chromium.org>
9837
9838         [chromium] Instrument gesture animations with async traces
9839         https://bugs.webkit.org/show_bug.cgi?id=82076
9840
9841         Reviewed by Adrienne Walker.
9842
9843         * src/WebCompositorInputHandlerImpl.cpp:
9844         (WebCore::PlatformGestureToCCGestureAdapter::debugName):
9845         (PlatformGestureToCCGestureAdapter):
9846
9847 2012-03-23  Shawn Singh  <shawnsingh@chromium.org>
9848
9849         [chromium] Incorrect replica originTransform used in CCDamageTracker
9850         https://bugs.webkit.org/show_bug.cgi?id=82118
9851
9852         Reviewed by Adrienne Walker.
9853
9854         * tests/CCDamageTrackerTest.cpp:
9855         (WebKitTests::TEST_F):
9856         (WebKitTests):
9857
9858 2012-03-23  Dana Jansens  <danakj@chromium.org>
9859
9860         [chromium] When prepainting fails, tiles dirty rects may be cleared
9861         https://bugs.webkit.org/show_bug.cgi?id=82107
9862
9863         Reviewed by Adrienne Walker.
9864
9865         * tests/TiledLayerChromiumTest.cpp:
9866         (WTF::FakeTextureAllocator::createTexture):
9867         (WTF::FakeLayerTextureUpdater::Texture::updateRect):
9868         (FakeCCTiledLayerImpl):
9869         (WTF::FakeCCTiledLayerImpl::hasTextureIdForTileAt):
9870         (WTF::TEST):
9871         (WTF):
9872
9873 2012-03-23  W. James MacLean  <wjmaclean@chromium.org>
9874
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
9877
9878         Reviewed by Adrienne Walker.
9879
9880         * tests/CCLayerTreeHostImplTest.cpp:
9881         (WebKit::TEST_F):
9882
9883 2012-03-23  Shawn Singh  <shawnsingh@chromium.org>
9884
9885         [chromium] Fix race bug that clobbers CCLayerImpl updateRect
9886         https://bugs.webkit.org/show_bug.cgi?id=82109
9887
9888         Reviewed by Dirk Pranke.
9889
9890         * tests/LayerChromiumTest.cpp:
9891
9892 2012-03-23  Daniel Cheng  <dcheng@chromium.org>
9893
9894         [chromium] Support file drag out using DataTransferItemList::add(File)
9895         https://bugs.webkit.org/show_bug.cgi?id=81261
9896
9897         Reviewed by Tony Chang.
9898
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.
9902
9903         * src/WebDragData.cpp:
9904         (WebKit::WebDragData::items):
9905
9906 2012-03-23  Dana Jansens  <danakj@chromium.org>
9907
9908         [chromium] Record painted pixel counts for measuring effectiveness of per-tile painting
9909         https://bugs.webkit.org/show_bug.cgi?id=82057
9910
9911         Reviewed by Adrienne Walker.
9912
9913         * tests/TiledLayerChromiumTest.cpp:
9914         (WTF::TEST):
9915         (WTF):
9916
9917 2012-03-23  Adrienne Walker  <enne@google.com>
9918
9919         [chromium] Fix scrollbarLayerLostContext flaky test crash on 10.6
9920         https://bugs.webkit.org/show_bug.cgi?id=82062
9921
9922         Reviewed by James Robinson.
9923
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.
9927
9928         * tests/CCLayerTreeHostImplTest.cpp:
9929         (ScrollbarLayerFakePaint):
9930         (WebKitTests::ScrollbarLayerFakePaint::create):
9931         (WebKitTests::ScrollbarLayerFakePaint::paint):
9932         (WebKitTests::ScrollbarLayerFakePaint::ScrollbarLayerFakePaint):
9933         (WebKitTests):
9934         (WebKitTests::TEST_F):
9935
9936 2012-03-23  Tommy Widenflycht  <tommyw@google.com>
9937
9938         [chromium] MediaStream API (JSEP): Extending WebMediaStreamCenter
9939         https://bugs.webkit.org/show_bug.cgi?id=81924
9940
9941         Reviewed by Adam Barth.
9942
9943         Adding the two constructSDP methods.
9944
9945         * bridge/MediaStreamCenter.cpp:
9946         (WebCore::MediaStreamCenter::constructSDP):
9947         (WebCore):
9948         * bridge/MediaStreamCenterInternal.cpp:
9949         (WebCore::MediaStreamCenterInternal::constructSDP):
9950         (WebCore):
9951         * bridge/MediaStreamCenterInternal.h:
9952         (WebCore):
9953         (MediaStreamCenterInternal):
9954         * public/platform/WebMediaStreamCenter.h:
9955         (WebKit):
9956         (WebMediaStreamCenter):
9957         (WebKit::WebMediaStreamCenter::constructSDP):
9958
9959 2012-03-23  Jonathan Backer  <backer@chromium.org>
9960
9961         [chromium] Remove unused variables from unittest.
9962         https://bugs.webkit.org/show_bug.cgi?id=82054
9963
9964         Reviewed by Adrienne Walker.
9965
9966         * tests/CCLayerTreeHostImplTest.cpp:
9967         (WebKitTests::TEST_F):
9968
9969 2012-03-23  Ryosuke Niwa  <rniwa@webkit.org>
9970
9971         Chromium DEPS roll r127913:r128426.
9972
9973         * DEPS:
9974
9975 2012-03-22  Shawn Singh  <shawnsingh@chromium.org>
9976
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
9979
9980         Reviewed by Adrienne Walker.
9981
9982         * tests/CCDamageTrackerTest.cpp:
9983         (WebKitTests::TEST_F):
9984         (WebKitTests):
9985
9986 2012-03-22  Adrienne Walker  <enne@google.com>
9987
9988         [chromium] Unreviewed, fix LayerRendererChromiumTest debug unit test errors
9989         https://bugs.webkit.org/show_bug.cgi?id=81823
9990
9991         * tests/LayerRendererChromiumTest.cpp:
9992         (FakeLayerRendererChromiumClient):
9993
9994 2012-03-22  Michal Mocny  <mmocny@google.com>
9995
9996         [chromium] Removing failing unit test - CCLayerTreeHostImplTest.visibilityChangeResetsDamage
9997         https://bugs.webkit.org/show_bug.cgi?id=82003
9998
9999         Reviewed by Adrienne Walker.
10000
10001         * tests/CCLayerTreeHostImplTest.cpp:
10002         (WebKitTests::TEST_F):
10003
10004 2012-03-22  Robert Kroeger  <rjkroege@chromium.org>
10005
10006         [chromium] Halt in progress flings on receipt of key events
10007         https://bugs.webkit.org/show_bug.cgi?id=81988
10008
10009         Reviewed by Adrienne Walker.
10010
10011         * src/WebCompositorInputHandlerImpl.cpp:
10012         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
10013         * src/WebViewImpl.cpp:
10014         (WebKit::WebViewImpl::keyEvent):
10015
10016 2012-03-22  Dana Jansens  <danakj@chromium.org>
10017
10018         [chromium] Skip frames when checkerboarding an animation
10019         https://bugs.webkit.org/show_bug.cgi?id=81716
10020
10021         Reviewed by Adrienne Walker.
10022
10023         * tests/CCLayerTreeHostImplTest.cpp:
10024         (WebKitTests::TEST_F):
10025         * tests/CCSchedulerStateMachineTest.cpp:
10026         (WebCore::TEST):
10027         (WebCore):
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):
10040         (WebKitTests):
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):
10049         (WebKitTests):
10050
10051 2012-03-22  W. James MacLean  <wjmaclean@chromium.org>
10052
10053         [chromium] Force update of nonFastScrollableRegion if target CCLayerImpl has been freshly created.
10054         https://bugs.webkit.org/show_bug.cgi?id=81968
10055
10056         Reviewed by Adrienne Walker.
10057
10058         * tests/TreeSynchronizerTest.cpp:
10059         (WebKitTests::expectTreesAreIdentical):
10060         (WebKitTests::TEST):
10061         (WebKitTests):
10062
10063 2012-03-22  Michal Mocny  <mmocny@google.com>
10064
10065         [chromium] LayerRendererChromium should use GpuMemoryAllocationChanged callback to explicitly manage framebuffer.
10066         https://bugs.webkit.org/show_bug.cgi?id=81823
10067
10068         Reviewed by Adrienne Walker.
10069
10070         * WebKit.gypi:
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):
10094         (TEST_F):
10095
10096 2012-03-22  Shawn Singh  <shawnsingh@chromium.org>
10097
10098         [chromium] Make CCDamageTracker robust to empty layer lists
10099         https://bugs.webkit.org/show_bug.cgi?id=81831
10100
10101         Reviewed by Adrienne Walker.
10102
10103         * tests/CCDamageTrackerTest.cpp:
10104         (WebKitTests::emulateDrawingOneFrame): modified args passed to damage tracker on update.
10105
10106         (WebKitTests::TEST_F): Added another unit test.
10107         (WebKitTests):
10108
10109 2012-03-22  Bernhard Bauer  <bauerb@google.com>
10110
10111         [chromium] Plug-in failing to load shouldn't say "Missing Plug-in"
10112         https://bugs.webkit.org/show_bug.cgi?id=81907
10113
10114         Reviewed by Adam Barth.
10115
10116         Adding a MissingPluginText value to WebLocalizedString which can be used to override the "Missing Plug-in" message.
10117
10118         * public/platform/WebLocalizedString.h:
10119         * src/LocalizedStrings.cpp:
10120         (WebCore::missingPluginText):
10121
10122 2012-03-22  Adrienne Walker  <enne@google.com>
10123
10124         [chromium] Fix scrollbar layers holding onto invalid textures after lost context
10125         https://bugs.webkit.org/show_bug.cgi?id=81841
10126
10127         Reviewed by James Robinson.
10128
10129         * tests/CCLayerTreeHostImplTest.cpp:
10130         (WebKitTests::TEST_F):
10131         (WebKitTests):
10132
10133 2012-03-22  Dana Jansens  <danakj@chromium.org>
10134
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
10137
10138         Reviewed by Adrienne Walker.
10139
10140         * tests/CCAnimationTestCommon.cpp:
10141         (WebCore):
10142         (WebCore::addAnimatedTransform):
10143         (WebKitTests::addOpacityTransitionToLayer):
10144         (WebKitTests):
10145         (WebKitTests::addAnimatedTransformToLayer):
10146         * tests/CCAnimationTestCommon.h:
10147         (WebCore):
10148         (WebKitTests):
10149         * tests/CCLayerTreeHostImplTest.cpp:
10150         (WebKitTests::TEST_F):
10151         (DidDrawCheckLayer):
10152         (WebKitTests::DidDrawCheckLayer::DidDrawCheckLayer):
10153         (MissingTextureAnimatingLayer):
10154         (WebKitTests::MissingTextureAnimatingLayer::create):
10155         (WebKitTests::MissingTextureAnimatingLayer::MissingTextureAnimatingLayer):
10156         (WebKitTests):
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):
10172
10173 2012-03-22  W. James MacLean  <wjmaclean@chromium.org>
10174
10175         Rename touchpad fling curve, add curve parameters to constructor.
10176         https://bugs.webkit.org/show_bug.cgi?id=81820
10177
10178         Reviewed by Adrienne Walker.
10179
10180         * src/WebCompositorInputHandlerImpl.cpp:
10181         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
10182         * src/WebViewImpl.cpp:
10183         (WebKit::WebViewImpl::gestureEvent):
10184         * tests/PlatformGestureCurveTest.cpp:
10185
10186 2012-03-21  Ian Vollick  <vollick@chromium.org>
10187
10188         [chromium] timing functions are getting incorrectly applied for accelerated css transitions
10189         https://bugs.webkit.org/show_bug.cgi?id=81692
10190
10191         Reviewed by Adrienne Walker.
10192
10193         * tests/CCAnimationTestCommon.cpp:
10194         (WebCore::addOpacityTransition):
10195         (WebKitTests::addOpacityTransitionToController):
10196         (WebKitTests::addOpacityTransitionToLayer):
10197         * tests/CCAnimationTestCommon.h:
10198         (WebKitTests):
10199         * tests/CCLayerAnimationControllerTest.cpp:
10200         (WebKitTests::TEST):
10201         * tests/CCLayerTreeHostTest.cpp:
10202         (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
10203         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
10204         (WTF::TEST_F):
10205         (WTF):
10206         (CCLayerTreeHostTestAddAnimationWithTimingFunction):
10207         (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::CCLayerTreeHostTestAddAnimationWithTimingFunction):
10208         (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::beginTest):
10209         (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::animateLayers):
10210         (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::afterTest):
10211
10212 2012-03-22  Kenichi Ishibashi  <bashi@chromium.org>
10213
10214         [Chromium] Should check m_socket in SocketStreamHandleInternal::close()
10215         https://bugs.webkit.org/show_bug.cgi?id=81860
10216
10217         Reviewed by Kent Tamura.
10218
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.
10221
10222         * src/SocketStreamHandle.cpp:
10223         (WebCore::SocketStreamHandleInternal::close): Ensures m_socket is not NULL.
10224
10225 2012-03-21  Sheriff Bot  <webkit.review.bot@gmail.com>
10226
10227         Unreviewed, rolling out r111616.
10228         http://trac.webkit.org/changeset/111616
10229         https://bugs.webkit.org/show_bug.cgi?id=81862
10230
10231         broke chromium mac (Requested by eae on #webkit).
10232
10233         * tests/CCAnimationTestCommon.cpp:
10234         * tests/CCAnimationTestCommon.h:
10235         (WebKitTests):
10236         * tests/CCLayerTreeHostImplTest.cpp:
10237         (WebKit::TEST_F):
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):
10252
10253 2012-03-21  Dana Jansens  <danakj@chromium.org>
10254
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
10257
10258         Reviewed by Adrienne Walker.
10259
10260         * tests/CCAnimationTestCommon.cpp:
10261         (WebCore):
10262         (WebCore::addAnimatedTransform):
10263         (WebKitTests::addOpacityTransitionToLayer):
10264         (WebKitTests):
10265         (WebKitTests::addAnimatedTransformToLayer):
10266         * tests/CCAnimationTestCommon.h:
10267         (WebCore):
10268         (WebKitTests):
10269         * tests/CCLayerTreeHostImplTest.cpp:
10270         (WebKitTests::TEST_F):
10271         (DidDrawCheckLayer):
10272         (WebKitTests::DidDrawCheckLayer::DidDrawCheckLayer):
10273         (MissingTextureAnimatingLayer):
10274         (WebKitTests::MissingTextureAnimatingLayer::create):
10275         (WebKitTests::MissingTextureAnimatingLayer::MissingTextureAnimatingLayer):
10276         (WebKitTests):
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):
10292
10293 2012-03-21  Alexandru Chiculita  <achicu@adobe.com>
10294
10295         [CSS Shaders] Make CSS Shaders compile on Chromium
10296         https://bugs.webkit.org/show_bug.cgi?id=81435
10297
10298         Reviewed by Stephen White.
10299
10300         I've added the ENABLE_CSS_SHADERS flag by default, but kept CSS Shaders disabled using the runtime flag.
10301         
10302         This change adds a new public API to WebSettings with syntax void setExperimentalCSSCustomFilterEnabled(bool).
10303
10304         * features.gypi:
10305         * public/WebSettings.h:
10306         * src/WebSettingsImpl.cpp:
10307         (WebKit::WebSettingsImpl::setExperimentalCSSCustomFilterEnabled):
10308         (WebKit):
10309         * src/WebSettingsImpl.h:
10310         (WebSettingsImpl):
10311
10312 2012-03-21  David Reveman  <reveman@chromium.org>
10313
10314         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
10315         https://bugs.webkit.org/show_bug.cgi?id=80988
10316
10317         Reviewed by Adrienne Walker.
10318
10319         Expose EXT_occlusion_query API to WebKit compositor.
10320
10321         * src/Extensions3DChromium.cpp:
10322         (WebCore::Extensions3DChromium::createQueryEXT):
10323         (WebCore):
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:
10331         (WebCore):
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):
10343
10344 2012-03-21  Tommy Widenflycht  <tommyw@google.com>
10345
10346         [chromium] MediaStream API (JSEP): Enhancing WebMediaHints and WebICEOptions
10347         https://bugs.webkit.org/show_bug.cgi?id=81652
10348
10349         Reviewed by Adam Barth.
10350
10351         Adding an initialize method to WebMediaHints and WebICEOptions.
10352         This is needed for Chromium unittests.
10353
10354         * public/platform/WebICEOptions.h:
10355         (WebKit::WebICEOptions::WebICEOptions):
10356         (WebICEOptions):
10357         * public/platform/WebMediaHints.h:
10358         (WebKit::WebMediaHints::WebMediaHints):
10359         (WebMediaHints):
10360         * src/AssertMatchingEnums.cpp:
10361         * src/WebICEOptions.cpp:
10362         (WebKit::WebICEOptions::initialize):
10363         (WebKit):
10364         (WebKit::WebICEOptions::candidateTypeToUse):
10365         * src/WebMediaHints.cpp:
10366         (WebKit::WebMediaHints::initialize):
10367         (WebKit):
10368
10369 2012-03-21  Tommy Widenflycht  <tommyw@google.com>
10370
10371         [chromium] MediaStream API (JSEP): Introducing WebSessionDescription and WebIceCandidate
10372         https://bugs.webkit.org/show_bug.cgi?id=81339
10373
10374         Reviewed by Adam Barth.
10375
10376         Simple WebKit representations of the WebCore/platform versions.
10377
10378         * WebKit.gyp:
10379         * public/platform/WebICECandidateDescriptor.h: Added.
10380         (WebCore):
10381         (WebKit):
10382         (WebICECandidateDescriptor):
10383         (WebKit::WebICECandidateDescriptor::WebICECandidateDescriptor):
10384         (WebKit::WebICECandidateDescriptor::~WebICECandidateDescriptor):
10385         (WebKit::WebICECandidateDescriptor::operator=):
10386         (WebKit::WebICECandidateDescriptor::isNull):
10387         * public/platform/WebSessionDescriptionDescriptor.h: Added.
10388         (WebCore):
10389         (WebKit):
10390         (WebSessionDescriptionDescriptor):
10391         (WebKit::WebSessionDescriptionDescriptor::WebSessionDescriptionDescriptor):
10392         (WebKit::WebSessionDescriptionDescriptor::~WebSessionDescriptionDescriptor):
10393         (WebKit::WebSessionDescriptionDescriptor::operator=):
10394         (WebKit::WebSessionDescriptionDescriptor::isNull):
10395         * src/WebICECandidateDescriptor.cpp: Added.
10396         (WebKit):
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.
10405         (WebKit):
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):
10414
10415 2012-03-21  Sami Kyostila  <skyostil@chromium.org>
10416
10417         [chromium] Use floating point scroll deltas for layers
10418         https://bugs.webkit.org/show_bug.cgi?id=81546
10419
10420         Reviewed by James Robinson.
10421
10422         New unit test for accumulating fractional scroll deltas across multiple commits.
10423
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):
10431         (WTF):
10432         (WTF::TEST_F):
10433
10434 2012-03-21  Joshua Bell  <jsbell@chromium.org>
10435
10436         [Chromium] IndexedDB: Expose necessary IDB exception codes through WebKit API
10437         https://bugs.webkit.org/show_bug.cgi?id=81597
10438
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.
10441
10442         Reviewed by Darin Fisher.
10443
10444         * WebKit.gyp:
10445         * public/WebIDBDatabaseException.h: Added.
10446         (WebKit):
10447         * src/AssertMatchingEnums.cpp:
10448
10449 2012-03-21  Tim Dresser  <tdresser@chromium.org>
10450
10451         [chromium] Increase size of Combo Box Options for touch and high DPI devices
10452         https://bugs.webkit.org/show_bug.cgi?id=80027
10453
10454         Reviewed by Darin Fisher.
10455
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):
10464
10465 2012-03-21  Takashi Toyoshima  <toyoshim@chromium.org>
10466
10467         [Chromium] [WebSocket] provide WebFrameClient with a chance of
10468         accessing to opening WebSocketStreamHandle.
10469         https://bugs.webkit.org/show_bug.cgi?id=78459
10470
10471         Reviewed by Kent Tamura and Darin Fisher.
10472
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.
10478
10479         No new tests because this change just provide mechanisms to embedders.
10480
10481         * public/WebFrameClient.h: Add dispatchWillOpenSocketStream declaration.
10482         (WebKit):
10483         (WebFrameClient):
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):
10491         (WebKit):
10492         * src/FrameLoaderClientImpl.h: Add dispatchWillOpenSocketStream declaratioin.
10493         (FrameLoaderClientImpl):
10494         * src/SocketStreamHandle.cpp: Call willOpenSocketStream client function.
10495         (WebCore::SocketStreamHandleInternal::connect):
10496
10497 2012-03-21  Ian Vollick  <vollick@chromium.org>
10498
10499         [chromium] timing functions are getting incorrectly applied for accelerated css transitions
10500         https://bugs.webkit.org/show_bug.cgi?id=81692
10501
10502         Reviewed by Adrienne Walker.
10503
10504         * tests/CCAnimationTestCommon.cpp:
10505         (WebCore::addOpacityTransition):
10506         (WebKitTests::addOpacityTransitionToController):
10507         (WebKitTests::addOpacityTransitionToLayer):
10508         * tests/CCAnimationTestCommon.h:
10509         (WebKitTests):
10510         * tests/CCLayerAnimationControllerTest.cpp:
10511         (WebKitTests::TEST):
10512         * tests/CCLayerTreeHostTest.cpp:
10513         (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
10514         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
10515         (WTF::TEST_F):
10516         (WTF):
10517         (CCLayerTreeHostTestAddAnimationWithTimingFunction):
10518         (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::CCLayerTreeHostTestAddAnimationWithTimingFunction):
10519         (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::beginTest):
10520         (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::animateLayers):
10521         (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::afterTest):
10522
10523 2012-03-21  Ian Vollick  <vollick@chromium.org>
10524
10525         [chromium] Animation events should only be used for synchronizing animation start times
10526         https://bugs.webkit.org/show_bug.cgi?id=81484
10527
10528         Reviewed by Adrienne Walker.
10529
10530         * tests/CCLayerTreeHostTest.cpp:
10531         (WTF):
10532         (CCLayerTreeHostTestSynchronizeAnimationStartTimes):
10533         (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::CCLayerTreeHostTestSynchronizeAnimationStartTimes):
10534         (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::beginTest):
10535         (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::animateLayers):
10536         (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::afterTest):
10537         (WTF::TEST_F):
10538
10539 2012-03-21  Peter Beverloo  <peter@chromium.org>
10540
10541         [Chromium] Remove Android build-fix when the proper fix rolled into WebKit
10542         https://bugs.webkit.org/show_bug.cgi?id=80861
10543
10544         Reviewed by Tony Chang.
10545
10546         No longer set the CC.target environment variable as this is no longer
10547         required for project file generation.
10548
10549         * gyp_webkit:
10550
10551 2012-03-21  Peter Beverloo  <peter@chromium.org>
10552
10553         Unreviewed.  Rolled DEPS.
10554
10555         * DEPS:
10556
10557 2012-03-20  Dana Jansens  <danakj@chromium.org>
10558
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
10561
10562         Reviewed by Adrienne Walker.
10563
10564         * tests/CCOcclusionTrackerTest.cpp:
10565         (WebCore):
10566         (CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent):
10567         (WebCore::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
10568
10569 2012-03-20  Dana Jansens  <danakj@chromium.org>
10570
10571         [chromium] Store origin/screen space transforms for surface and replica in the surface
10572         https://bugs.webkit.org/show_bug.cgi?id=81296
10573
10574         Reviewed by Adrienne Walker.
10575
10576         * tests/CCLayerTreeHostCommonTest.cpp:
10577         (WebCore::TEST):
10578
10579 2012-03-20  W. James MacLean  <wjmaclean@chromium.org>
10580
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
10583
10584         Reviewed by Dirk Pranke.
10585
10586         * tests/PlatformGestureCurveTest.cpp:
10587
10588 2012-03-20  Dana Jansens  <danakj@chromium.org>
10589
10590         [chromium] Allow us to disable overdraw metrics when tracing is off
10591         https://bugs.webkit.org/show_bug.cgi?id=81431
10592
10593         Reviewed by Adrienne Walker.
10594
10595         * tests/CCOcclusionTrackerTest.cpp:
10596         (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
10597         * tests/CCQuadCullerTest.cpp:
10598         (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
10599         (WebCore::TEST):
10600         (WebCore):
10601         * tests/TiledLayerChromiumTest.cpp:
10602         (WTF::TestCCOcclusionTracker::TestCCOcclusionTracker):
10603
10604 2012-03-20  Dana Jansens  <danakj@chromium.org>
10605
10606         [chromium] Use opaque contents for paint culling
10607         https://bugs.webkit.org/show_bug.cgi?id=81676
10608
10609         Reviewed by Adrienne Walker.
10610
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):
10619         (WTF):
10620
10621 2012-03-20  W. James MacLean  <wjmaclean@chromium.org>
10622
10623         [chromium] Tune fling physics curve. [Not for review yet]
10624         https://bugs.webkit.org/show_bug.cgi?id=81398
10625
10626         Reviewed by James Robinson.
10627
10628         * tests/PlatformGestureCurveTest.cpp:
10629
10630 2012-03-20  Ian Vollick  <vollick@chromium.org>
10631
10632         [chromium] Infrastructure to allow animating layers to be only partially updated
10633         https://bugs.webkit.org/show_bug.cgi?id=81106
10634
10635         Reviewed by James Robinson
10636
10637         * WebKit.gypi:
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):
10648         (WebKitTests):
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):
10658
10659 2012-03-20  Keishi Hattori  <keishi@webkit.org>
10660
10661         [chromium] Marking WebFrameTest.DivAutoZoomParamsTest as failing.
10662
10663         * tests/WebFrameTest.cpp:
10664         (WebKit::TEST_F):
10665
10666 2012-03-19  Adam Barth  <abarth@webkit.org>
10667
10668         Remove support for "magic" iframe
10669         https://bugs.webkit.org/show_bug.cgi?id=81590
10670
10671         Reviewed by Eric Seidel.
10672
10673         Remove FrameLoaderClient methods that no longer exist.
10674
10675         * public/WebFrameClient.h:
10676         (WebFrameClient):
10677         * src/FrameLoaderClientImpl.cpp:
10678         (WebKit):
10679         * src/FrameLoaderClientImpl.h:
10680         (FrameLoaderClientImpl):
10681
10682 2012-03-19  Charlie Reis  <creis@chromium.org>
10683
10684         [Chromium] Add registerURLSchemeAsEmptyDocument to WebSecurityPolicy
10685         https://bugs.webkit.org/show_bug.cgi?id=81421
10686
10687         Reviewed by Adam Barth.
10688
10689         * public/WebSecurityPolicy.h:
10690         (WebSecurityPolicy):
10691         * src/WebSecurityPolicy.cpp:
10692         (WebKit::WebSecurityPolicy::registerURLSchemeAsEmptyDocument):
10693         (WebKit):
10694
10695 2012-03-19  Keishi Hattori  <keishi@webkit.org>
10696
10697         [chromium] Fixing build. Adding missing virtual.
10698
10699         * src/GraphicsContext3DPrivate.h:
10700         (GraphicsContext3DPrivate):
10701
10702 2012-03-19  Dana Jansens  <danakj@chromium.org>
10703
10704         [chromium] Push culled tiles that are prepainted
10705         https://bugs.webkit.org/show_bug.cgi?id=81552
10706
10707         Reviewed by Adrienne Walker.
10708
10709         * tests/TiledLayerChromiumTest.cpp:
10710         (WTF::TEST):
10711         (WTF):
10712
10713 2012-03-19  James Robinson  <jamesr@chromium.org>
10714
10715         Unreviewed chromium compile fix - put all TRACE_*s in their own scope explicitly.
10716
10717         * src/WebCompositorInputHandlerImpl.cpp:
10718         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
10719         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
10720
10721 2012-03-19  Robert Kroeger  <rjkroege@chromium.org>
10722
10723         [chromium] return true/false on GestureFlingCancel if a fling was stopped
10724         https://bugs.webkit.org/show_bug.cgi?id=81563
10725
10726         Reviewed by James Robinson.
10727
10728         * src/WebViewImpl.cpp:
10729         (WebKit::WebViewImpl::gestureEvent):
10730
10731 2012-03-19  Michal Mocny  <mmocny@google.com>
10732
10733         [chromium] Adding support for GL_EXT_discard_framebuffer.
10734         https://bugs.webkit.org/show_bug.cgi?id=81383
10735
10736         Reviewed by James Robinson.
10737
10738         * src/Extensions3DChromium.cpp:
10739         (WebCore::Extensions3DChromium::discardFramebufferEXT):
10740         (WebCore):
10741         (WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM):
10742         * src/GraphicsContext3DChromium.cpp:
10743         (WebCore):
10744         * src/GraphicsContext3DPrivate.h:
10745         (GraphicsContext3DPrivate):
10746         * tests/FakeWebGraphicsContext3D.h:
10747         (WebKit::FakeWebGraphicsContext3D::discardFramebufferEXT):
10748         (WebKit::FakeWebGraphicsContext3D::ensureFramebufferCHROMIUM):
10749         (FakeWebGraphicsContext3D):
10750
10751 2012-03-19  Ian Vollick  <vollick@chromium.org>
10752
10753         [chromium] Times in the cc should be expressed in seconds.
10754         https://bugs.webkit.org/show_bug.cgi?id=80514
10755
10756         Reviewed by James Robinson.
10757
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):
10771
10772 2012-03-19  Nat Duca  <nduca@chromium.org>
10773
10774         [chromium] Stop deriving WebCompositor from WebCompositorInputHandler
10775         https://bugs.webkit.org/show_bug.cgi?id=80586
10776
10777         Reviewed by Darin Fisher.
10778
10779         * public/WebCompositor.h:
10780         (WebKit):
10781         * public/WebCompositorInputHandler.h:
10782         (WebCompositorInputHandler):
10783         * public/WebWidgetClient.h:
10784         (WebWidgetClient):
10785         (WebKit::WebWidgetClient::didActivateCompositor):
10786         * src/WebCompositorInputHandlerImpl.cpp:
10787         (WebKit::WebCompositorInputHandler::fromIdentifier):
10788         * src/WebCompositorInputHandlerImpl.h:
10789         (WebCompositorInputHandlerImpl):
10790
10791 2012-03-18  James Robinson  <jamesr@chromium.org>
10792
10793         [chromium] Implement fling-by-wheel on compositor thread
10794         https://bugs.webkit.org/show_bug.cgi?id=81462
10795
10796         Reviewed by Adrienne Walker.
10797
10798         Implement fling-by-wheel and beef up existing unit test coverage considerably by using gmock instead of mocking
10799         by hand.
10800
10801         * src/WebCompositorInputHandlerImpl.cpp:
10802         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
10803         (WebKit):
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:
10812
10813 2012-03-19  Emil A Eklund  <eae@chromium.org>
10814
10815         [mac/chromium] Change platform code to use pixelSnappedRect methods
10816         https://bugs.webkit.org/show_bug.cgi?id=81016
10817
10818         Reviewed by Eric Seidel.
10819
10820         * src/WebViewImpl.cpp:
10821         (WebKit::WebViewImpl::computeBlockBounds):
10822         (WebKit::WebViewImpl::applyAutofillSuggestions):
10823         (WebKit::WebViewImpl::refreshAutofillPopup):
10824
10825 2012-03-19  Eric Seidel  <eric@webkit.org>
10826
10827         Fix WTF header include discipline in Chromium WebKit
10828         https://bugs.webkit.org/show_bug.cgi?id=81281
10829
10830         Reviewed by James Robinson.
10831
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:
10844
10845 2012-03-19  Dana Jansens  <danakj@chromium.org>
10846
10847         [chromium] Invalidate/update evicted tiles during commit
10848         https://bugs.webkit.org/show_bug.cgi?id=81529
10849
10850         Reviewed by Adrienne Walker.
10851
10852         * tests/TiledLayerChromiumTest.cpp:
10853         (WTF::TEST):
10854         (WTF):
10855
10856 2012-03-19  Sheriff Bot  <webkit.review.bot@gmail.com>
10857
10858         Unreviewed, rolling out r111207.
10859         http://trac.webkit.org/changeset/111207
10860         https://bugs.webkit.org/show_bug.cgi?id=81561
10861
10862         Causing chromium unit test failure (Requested by reveman on
10863         #webkit).
10864
10865         * src/Extensions3DChromium.cpp:
10866         * src/GraphicsContext3DChromium.cpp:
10867         (WebCore):
10868         * src/GraphicsContext3DPrivate.h:
10869         (GraphicsContext3DPrivate):
10870         * tests/FakeWebGraphicsContext3D.h:
10871
10872 2012-03-19  Tommy Widenflycht  <tommyw@google.com>
10873
10874         [chromium] MediaStream API (JSEP): Introducing WebMediaHints and WebIceOptions
10875         https://bugs.webkit.org/show_bug.cgi?id=81341
10876
10877         Reviewed by Darin Fisher.
10878
10879         Simple WebKit representations of the WebCore/platform versions.
10880
10881         * WebKit.gyp:
10882         * public/platform/WebICEOptions.h: Added.
10883         (WebCore):
10884         (WebKit):
10885         (WebICEOptions):
10886         (WebKit::WebICEOptions::WebICEOptions):
10887         (WebKit::WebICEOptions::~WebICEOptions):
10888         (WebKit::WebICEOptions::operator=):
10889         (WebKit::WebICEOptions::isNull):
10890         * public/platform/WebMediaHints.h: Added.
10891         (WebCore):
10892         (WebKit):
10893         (WebMediaHints):
10894         (WebKit::WebMediaHints::WebMediaHints):
10895         (WebKit::WebMediaHints::~WebMediaHints):
10896         (WebKit::WebMediaHints::operator=):
10897         (WebKit::WebMediaHints::isNull):
10898         * src/WebICEOptions.cpp: Added.
10899         (WebKit):
10900         (WebKit::WebICEOptions::WebICEOptions):
10901         (WebKit::WebICEOptions::assign):
10902         (WebKit::WebICEOptions::reset):
10903         (WebKit::WebICEOptions::candidateTypeToUse):
10904         * src/WebMediaHints.cpp: Added.
10905         (WebKit):
10906         (WebKit::WebMediaHints::WebMediaHints):
10907         (WebKit::WebMediaHints::assign):
10908         (WebKit::WebMediaHints::reset):
10909         (WebKit::WebMediaHints::audio):
10910         (WebKit::WebMediaHints::video):
10911
10912 2012-03-19  Michal Mocny  <mmocny@google.com>
10913
10914         [chromium] Updating WebGraphicsContext3D MemoryAllocation callback to accept a struct with have backbuffer suggestion.
10915         https://bugs.webkit.org/show_bug.cgi?id=81279
10916
10917         Reviewed by James Robinson.
10918
10919         * src/GraphicsContext3DChromium.cpp:
10920         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
10921         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
10922         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
10923
10924 2012-03-19  David Reveman  <reveman@chromium.org>
10925
10926         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
10927         https://bugs.webkit.org/show_bug.cgi?id=80988
10928
10929         Reviewed by Adrienne Walker.
10930
10931         Expose EXT_occlusion_query API to WebKit compositor.
10932
10933         * src/Extensions3DChromium.cpp:
10934         (WebCore::Extensions3DChromium::createQueryEXT):
10935         (WebCore):
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:
10943         (WebCore):
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):
10955
10956 2012-03-19  Dana Jansens  <danakj@chromium.org>
10957
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
10960
10961         Reviewed by Adrienne Walker.
10962
10963         * tests/CCQuadCullerTest.cpp:
10964         (WebCore::appendQuads):
10965         (WebCore):
10966         (WebCore::TEST):
10967
10968 2012-03-19  Sheriff Bot  <webkit.review.bot@gmail.com>
10969
10970         Unreviewed.  Rolled DEPS.
10971
10972         * DEPS:
10973
10974 2012-03-19  Robert Kroeger  <rjkroege@chromium.org>
10975
10976         [chromium] synthesize wheel events for fling on main thread
10977         https://bugs.webkit.org/show_bug.cgi?id=81458
10978
10979         Support track pad fling by generating a sequence of wheel events.
10980
10981         Reviewed by James Robinson.
10982
10983         * src/WebViewImpl.cpp:
10984         (WebKit::WebViewImpl::WebViewImpl):
10985         (WebKit::WebViewImpl::scrollBy): Call-back from PlatformGestureCurve to dispatch wheel event.
10986         (WebKit):
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:
10991         (WebCore):
10992         (WebViewImpl):
10993
10994 2012-03-19  Keishi Hattori  <keishi@webkit.org>
10995
10996         [chromium] Fix build that was broken by r111137
10997
10998         Fixed was ambiguous because of MacTypes.h
10999
11000         * tests/CCLayerTreeHostCommonTest.cpp:
11001         (WebCore::addTransformAnimationToLayer):
11002         * tests/CCOcclusionTrackerTest.cpp:
11003         (WebCore::addTransformAnimationToLayer):
11004
11005 2012-03-18  Keishi Hattori  <keishi@webkit.org>
11006
11007         [chromium] Fix test that was broken by r111128
11008
11009         * tests/ScrollAnimatorNoneTest.cpp:
11010         (TEST): ScrollByPixel no longer animates.
11011
11012 2012-03-18  Dana Jansens  <danakj@chromium.org>
11013
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
11016
11017         Reviewed by Adrienne Walker.
11018
11019         * tests/CCOcclusionTrackerTest.cpp:
11020         (WebCore):
11021         (WebCore::addOpacityAnimationToLayer):
11022         (WebCore::addTransformAnimationToLayer):
11023         (CCOcclusionTrackerTestAnimationOpacity1OnMainThread):
11024         (WebCore::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
11025         (CCOcclusionTrackerTestAnimationOpacity0OnMainThread):
11026         (WebCore::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
11027         (CCOcclusionTrackerTestAnimationTranslateOnMainThread):
11028         (WebCore::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
11029
11030 2012-03-18  Dana Jansens  <danakj@chromium.org>
11031
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
11034
11035         Reviewed by James Robinson.
11036
11037         * tests/CCLayerTreeHostCommonTest.cpp:
11038         (WebCore::TEST):
11039
11040 2012-03-18  Dana Jansens  <danakj@chromium.org>
11041
11042         [chromium] Transform animation state should be inherited from parents
11043         https://bugs.webkit.org/show_bug.cgi?id=81363
11044
11045         Reviewed by Adrienne Walker.
11046
11047         * tests/CCLayerTreeHostCommonTest.cpp:
11048         (WebCore::addOpacityAnimationToLayer):
11049         (WebCore):
11050         (WebCore::addTransformAnimationToLayer):
11051         (WebCore::TEST):
11052
11053 2012-03-16  James Robinson  <jamesr@chromium.org>
11054
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
11057
11058         Reviewed by Adrienne Walker.
11059
11060         * tests/Canvas2DLayerChromiumTest.cpp:
11061
11062 2012-03-15  Daniel Cheng  <dcheng@chromium.org>
11063
11064         [chromium] Refactor ClipboardChromium and DataTransferItemList/DataTransferItem to support HTML spec
11065         https://bugs.webkit.org/show_bug.cgi?id=76598
11066
11067         Reviewed by Tony Chang.
11068
11069         * src/WebDragData.cpp:
11070         (WebKit::WebDragData::items):
11071         (WebKit::WebDragData::addItem):
11072         (WebKit::WebDragData::assign):
11073
11074 2012-03-16  Dana Jansens  <danakj@chromium.org>
11075
11076         [chromium] Add overdraw metrics for texture uploads
11077         https://bugs.webkit.org/show_bug.cgi?id=81175
11078
11079         Reviewed by Adrienne Walker.
11080
11081         * tests/TiledLayerChromiumTest.cpp:
11082         (WTF::TEST):
11083
11084 2012-03-16  Dana Jansens  <danakj@chromium.org>
11085
11086         [chromium] Remove surface damage client from occlusion tracker
11087         https://bugs.webkit.org/show_bug.cgi?id=81242
11088
11089         Reviewed by Adrienne Walker.
11090
11091         * tests/CCOcclusionTrackerTest.cpp:
11092         (WebCore):
11093
11094 2012-03-16  Ian Vollick  <vollick@chromium.org>
11095
11096         [chromium] Threaded opacity animation jump to opacity of 0
11097         https://bugs.webkit.org/show_bug.cgi?id=80744
11098
11099         Reviewed by James Robinson.
11100
11101         * tests/CCLayerTreeHostTest.cpp:
11102         (WTF):
11103         (CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity):
11104         (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity):
11105         (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::beginTest):
11106         (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::animateLayers):
11107         (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::commitCompleteOnCCThread):
11108         (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::afterTest):
11109         (WTF::TEST_F):
11110
11111 2012-03-16  Dana Jansens  <danakj@chromium.org>
11112
11113         [chromium] Changes to overdraw metrics to allow upload tracking
11114         https://bugs.webkit.org/show_bug.cgi?id=81222
11115
11116         Reviewed by Adrienne Walker.
11117
11118         * tests/CCQuadCullerTest.cpp:
11119         (WebCore::appendQuads):
11120         (WebCore):
11121         (WebCore::TEST):
11122         * tests/MockCCQuadCuller.h:
11123         (WebCore::MockCCQuadCuller::MockCCQuadCuller):
11124
11125 2012-03-16  Dana Jansens  <danakj@chromium.org>
11126
11127         [chromium] Quads that become fully opaque after culling should not use blending
11128         https://bugs.webkit.org/show_bug.cgi?id=81235
11129
11130         Reviewed by Adrienne Walker.
11131
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):
11140         (WebKit::TEST_F):
11141
11142 2012-03-15  Hans Wennborg  <hans@chromium.org>
11143
11144         Speech JavaScript API: SpeechRecognition, Controller and Client
11145         https://bugs.webkit.org/show_bug.cgi?id=81096
11146
11147         Reviewed by Adam Barth.
11148
11149         Provide a SpeechRecognitionController to Page, with a NULL client for
11150         now.
11151
11152         * src/WebViewImpl.cpp:
11153         (WebKit::WebViewImpl::WebViewImpl):
11154
11155 2012-03-15  Dana Jansens  <danakj@chromium.org>
11156
11157         [chromium] Fix some assertions in occlusion tracker unit tests
11158         https://bugs.webkit.org/show_bug.cgi?id=81308
11159
11160         Reviewed by James Robinson.
11161
11162         * tests/CCOcclusionTrackerTest.cpp:
11163         (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
11164         (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
11165         (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
11166         (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
11167
11168 2012-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
11169
11170         Unreviewed, rolling out r110941.
11171         http://trac.webkit.org/changeset/110941
11172         https://bugs.webkit.org/show_bug.cgi?id=81307
11173
11174         the revert looks innocent. (Requested by morrita on #webkit).
11175
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):
11186         (WTF):
11187         (WTF::FakeTiledLayerChromium::prepareToUpdate):
11188         (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
11189         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
11190         (WTF::TEST):
11191
11192 2012-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
11193
11194         Unreviewed, rolling out r110929.
11195         http://trac.webkit.org/changeset/110929
11196         https://bugs.webkit.org/show_bug.cgi?id=81306
11197
11198         breaking webkit_unit_tests (Requested by morrita on #webkit).
11199
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):
11209         (WTF::TEST):
11210
11211 2012-03-15  Dana Jansens  <danakj@chromium.org>
11212
11213         [chromium] Decide occlusion in paint culling with CCOcclusionTracker
11214         https://bugs.webkit.org/show_bug.cgi?id=81181
11215
11216         Reviewed by Adrienne Walker.
11217
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):
11228         (WTF):
11229         (WTF::FakeTiledLayerChromium::prepareToUpdate):
11230         (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
11231         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
11232         (WTF::TEST):
11233
11234 2012-03-15  Dana Jansens  <danakj@chromium.org>
11235
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
11238
11239         Reviewed by Adrienne Walker.
11240
11241         * tests/CCQuadCullerTest.cpp:
11242         (WebCore::appendQuads):
11243         (WebCore):
11244         (WebCore::TEST):
11245
11246 2012-03-07  Jon Lee  <jonlee@apple.com>
11247
11248         Move NotificationContents into Notification
11249         https://bugs.webkit.org/show_bug.cgi?id=80487
11250         <rdar://problem/10965519>
11251
11252         Reviewed by Jian Li.
11253
11254         Refactor to use accessor methods on Notification.
11255         * src/WebNotification.cpp:
11256         (WebKit::WebNotification::title):
11257         (WebKit::WebNotification::body):
11258
11259 2012-03-13  Jon Lee  <jonlee@apple.com>
11260
11261         Deprecate ondisplay()
11262         https://bugs.webkit.org/show_bug.cgi?id=80483
11263         <rdar://problem/10912432>
11264
11265         Reviewed by Jian Li.
11266
11267         * src/WebNotification.cpp:
11268         (WebKit::WebNotification::dispatchDisplayEvent): Dispatch the show event.
11269
11270 2012-03-14  W. James MacLean  <wjmaclean@chromium.org>
11271
11272         [chromium] Wire up PlatformGestureCurves for CC, ScrollAnimatorNone.
11273         https://bugs.webkit.org/show_bug.cgi?id=80607
11274
11275         Reviewed by James Robinson.
11276
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):
11285         (WebCore):
11286         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
11287         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
11288         (WebKit):
11289         (WebKit::WebCompositorInputHandlerImpl::scrollBy):
11290         * src/WebCompositorInputHandlerImpl.h:
11291         (WebCore):
11292         (WebCompositorInputHandlerImpl):
11293         * tests/PlatformGestureCurveTest.cpp:
11294         * tests/WebCompositorInputHandlerImplTest.cpp:
11295
11296 2012-03-15  Dana Jansens  <danakj@chromium.org>
11297
11298         [Chromium] REGRESSION(r110596) CCQuadCullerTest.verifyCullChildLinesUpTopLeft fails on Windows
11299         https://bugs.webkit.org/show_bug.cgi?id=81083
11300
11301         Reviewed by Adrienne Walker.
11302
11303         * tests/CCQuadCullerTest.cpp:
11304         (WebCore::TEST):
11305
11306 2012-03-15  David Levin  <levin@chromium.org>
11307
11308         Various autoresize fixes.
11309         https://bugs.webkit.org/show_bug.cgi?id=81199
11310
11311         Reviewed by Darin Fisher.
11312
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.
11328
11329 2012-03-15  Peter Beverloo  <peter@chromium.org>
11330
11331         Unreviewed.  Rolled DEPS.
11332
11333         * DEPS:
11334
11335 2012-03-14  Chris Fleizach  <cfleizach@apple.com>
11336
11337         AXDescription for HTML5 footer and ARIA role contentinfo incorrect
11338         https://bugs.webkit.org/show_bug.cgi?id=78967
11339
11340         Reviewed by Beth Dakin.
11341
11342         * src/LocalizedStrings.cpp:
11343
11344 2012-03-13  Jon Lee  <jonlee@apple.com>
11345
11346         Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
11347         https://bugs.webkit.org/show_bug.cgi?id=80922
11348         <rdar://problem/11035082>
11349
11350         Reviewed by Jian Li.
11351
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)
11356
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.
11359
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):
11370         (WebKit):
11371         * src/WebViewImpl.h:
11372         (WebViewImpl):
11373
11374 2012-03-14  James Robinson  <jamesr@chromium.org>
11375
11376         [chromium] Deprecate renderDirectlyToWebView parameter of WebViewClient::createGraphicsContext3D()
11377         https://bugs.webkit.org/show_bug.cgi?id=80523
11378
11379         Reviewed by Darin Fisher.
11380
11381         * public/WebViewClient.h:
11382         (WebViewClient):
11383         (WebKit::WebViewClient::createGraphicsContext3D):
11384         * public/platform/WebKitPlatformSupport.h:
11385         (WebKit):
11386         * src/WebViewImpl.cpp:
11387         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
11388
11389 2012-03-14  James Robinson  <jamesr@chromium.org>
11390
11391         [chromium] Remove canRecoverFromContextLoss attribute, it's unused
11392         https://bugs.webkit.org/show_bug.cgi?id=81158
11393
11394         Reviewed by Stephen White.
11395
11396         Deletes the canRecoverFromContextLoss attribute from WebCore::GraphicsContext3D::Attributes. This is still left in
11397         WebGraphicsContext3D::Attributes, since chromium-side code still references it.
11398
11399         * src/GraphicsContext3DChromium.cpp:
11400         (WebCore::GraphicsContext3D::create):
11401
11402 2012-03-14  Stephen White  <senorblanco@chromium.org>
11403
11404         [chromium] Fix accelerated Canvas2D with threaded compositing.
11405         https://bugs.webkit.org/show_bug.cgi?id=80998
11406
11407         Reviewed by James Robinson.
11408
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:
11415         (WebKitTests):
11416         (WebKitTests::TEST):
11417         Add a new test for trying to synchronize NULL tree.
11418
11419 2012-03-14  James Robinson  <jamesr@chromium.org>
11420
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
11423
11424         Reviewed by Darin Fisher.
11425
11426         * public/platform/WebKitPlatformSupport.h:
11427         (WebKit::WebKitPlatformSupport::canAccelerate2dCanvas):
11428         (WebKitPlatformSupport):
11429         * src/PlatformSupport.cpp:
11430         (WebCore::PlatformSupport::canAccelerate2dCanvas):
11431         (WebCore):
11432
11433 2012-03-14  Andrey Kosyakov  <caseq@chromium.org>
11434
11435         Web Inspector: add didCancelFrame timeline event
11436         https://bugs.webkit.org/show_bug.cgi?id=80994
11437
11438         Reviewed by Pavel Feldman.
11439
11440         - add intrumentCanceFrame(), called when renderer decides not to
11441             render frame after instrumentBeginFrame() was called.
11442
11443         * public/WebWidget.h:
11444         (WebWidget):
11445         (WebKit::WebWidget::instrumentCancelFrame):
11446         * src/WebViewImpl.cpp:
11447         (WebKit::WebViewImpl::instrumentCancelFrame):
11448         (WebKit):
11449         * src/WebViewImpl.h:
11450         (WebViewImpl):
11451
11452 2012-03-14  Dana Jansens  <danakj@chromium.org>
11453
11454         Region can acquire an empty span by subtracting an empty Region
11455         https://bugs.webkit.org/show_bug.cgi?id=81074
11456
11457         Reviewed by Anders Carlsson.
11458
11459         * tests/RegionTest.cpp:
11460         (WebCore::TEST):
11461         (WebCore):
11462
11463 2012-03-13  Hajime Morrita  <morrita@chromium.org>
11464
11465         Unreviewed, mark verifyCullChildLinesUpTopLeft() as failed.
11466
11467         * tests/CCQuadCullerTest.cpp:
11468         (WebCore):
11469         (WebCore::TEST):
11470
11471 2012-03-14  Marja Hölttä  <marja@google.com>
11472
11473         WebHTTPBody: Keep track of whether the data includes passwords.
11474         https://bugs.webkit.org/show_bug.cgi?id=81003
11475
11476         Reviewed by Darin Fisher.
11477
11478         This change enables Chrome to save HTTP bodies selectively, only
11479         if they don't contain passwords.
11480
11481         * public/platform/WebHTTPBody.h:
11482         (WebHTTPBody): Added containsPasswordData, setContainsPasswordData.
11483         * src/WebHTTPBody.cpp:
11484         (WebKit::WebHTTPBody::containsPasswordData): Added.
11485         (WebKit):
11486         (WebKit::WebHTTPBody::setContainsPasswordData): Added.
11487
11488 2012-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
11489
11490         Unreviewed.  Rolled DEPS.
11491
11492         * DEPS:
11493
11494 2012-03-13  Hajime Morrita  <morrita@chromium.org>
11495
11496         Unreviewed, mark verifyCullChildLinesUpTopLeft() as failed.
11497
11498         * tests/CCQuadCullerTest.cpp:
11499         (WebCore):
11500         (WebCore::TEST):
11501
11502 2012-03-13  Shawn Singh  <shawnsingh@chromium.org>
11503
11504         [chromium] wrong transform causing incorrect culling
11505         https://bugs.webkit.org/show_bug.cgi?id=80471
11506
11507         Reviewed by James Robinson.
11508
11509         * tests/CCRenderSurfaceTest.cpp:
11510         (WebCore::TEST):
11511         (WebCore):
11512
11513 2012-03-13  Nat Duca  <nduca@chromium.org>
11514
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
11517
11518         Reviewed by James Robinson.
11519
11520         * tests/CCSchedulerStateMachineTest.cpp:
11521         (WebCore::TEST):
11522         (WebCore):
11523
11524 2012-03-13  Dana Jansens  <danakj@chromium.org>
11525
11526         Region::contains(IntPoint) is slow
11527         https://bugs.webkit.org/show_bug.cgi?id=81008
11528
11529         Reviewed by Anders Carlsson.
11530
11531         * WebKit.gypi:
11532         * tests/RegionTest.cpp: Added.
11533         (WebCore):
11534         (WebCore::TEST):
11535
11536 2012-03-13  Gavin Peters  <gavinp@chromium.org>
11537
11538         Implement ApplicationCacheHost::canCacheInPageCache() for chromium.
11539         https://bugs.webkit.org/show_bug.cgi?id=80905
11540
11541         Reviewed by Eric Seidel.
11542
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.
11545
11546         * src/ApplicationCacheHost.cpp:
11547         (WebCore::ApplicationCacheHost::canCacheInPageCache):
11548
11549 2012-03-13  Dana Jansens  <danakj@chromium.org>
11550
11551         [chromium] Use CCOcclusionTracker for draw culling
11552         https://bugs.webkit.org/show_bug.cgi?id=80743
11553
11554         Reviewed by Adrienne Walker.
11555
11556         * WebKit.gypi:
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):
11565         (WebCore):
11566         (WebCore::TEST):
11567         * tests/CCSolidColorLayerImplTest.cpp:
11568         (CCLayerTestCommon::TEST):
11569         * tests/CCTiledLayerImplTest.cpp:
11570         (CCLayerTestCommon::TEST):
11571         (CCLayerTestCommon::getQuads):
11572         * tests/MockCCQuadCuller.h: Added.
11573         (WebCore):
11574         (MockCCQuadCuller):
11575         (WebCore::MockCCQuadCuller::MockCCQuadCuller):
11576         (WebCore::MockCCQuadCuller::append):
11577         (WebCore::MockCCQuadCuller::quadList):
11578
11579 2012-03-13  Adam Barth  <abarth@webkit.org> && Benjamin Poulain  <bpoulain@apple.com>
11580
11581         Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
11582         https://bugs.webkit.org/show_bug.cgi?id=78853
11583
11584         Reviewed by Adam Barth.
11585
11586         * features.gypi:
11587         * src/ChromeClientImpl.cpp:
11588         * src/ChromeClientImpl.h:
11589         (ChromeClientImpl):
11590
11591 2012-03-13  Tommy Widenflycht  <tommyw@google.com>
11592
11593         MediaStream API: Rename PeerConnection to DeprecatedPeerConnection
11594         https://bugs.webkit.org/show_bug.cgi?id=80692
11595
11596         Reviewed by Adam Barth.
11597
11598         First patch in a series of patches to change the PeerConnection from ROAP to JSEP,
11599         see bug 80589 for more information.
11600
11601         * WebKit.gyp:
11602         * bridge/DeprecatedPeerConnectionHandler.cpp: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandler.cpp.
11603         (WebCore):
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.
11614         (WebCore):
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.
11629         (WebKit):
11630         (WebCore):
11631         (DeprecatedPeerConnectionHandlerInternal):
11632
11633 2012-03-13  Dana Jansens  <danakj@chromium.org>
11634
11635         [chromium] Use projectQuad to apply inverse mapRect
11636         https://bugs.webkit.org/show_bug.cgi?id=80741
11637
11638         Reviewed by Adrienne Walker.
11639
11640         * tests/CCOcclusionTrackerTest.cpp:
11641         (WebCore):
11642         (CCOcclusionTrackerTest3dTransform):
11643         (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
11644         (CCOcclusionTrackerTestPerspectiveTransform):
11645         (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
11646         (CCOcclusionTrackerTestPerspectiveTransformBehindCamera):
11647         (WebCore::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
11648
11649 2012-03-13  Gavin Peters  <gavinp@chromium.org>
11650
11651         Make ApplicationCacheHost::canCacheInPageCache() non-const.
11652         https://bugs.webkit.org/show_bug.cgi?id=80904
11653
11654         Reviewed by Alexey Proskuryakov.
11655
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
11658
11659         * src/ApplicationCacheHost.cpp:
11660         (WebCore::ApplicationCacheHost::canCacheInPageCache):
11661
11662 2012-03-13  Kinuko Yasuda  <kinuko@chromium.org>
11663
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
11666
11667         Reviewed by Kent Tamura.
11668
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.
11676         (WebKit):
11677         * src/WebFileChooserCompletionImpl.h:
11678         (WebFileChooserCompletionImpl):
11679
11680 2012-03-12  Sheriff Bot  <webkit.review.bot@gmail.com>
11681
11682         Unreviewed, rolling out r110529.
11683         http://trac.webkit.org/changeset/110529
11684         https://bugs.webkit.org/show_bug.cgi?id=80969
11685
11686         breaks mac build (Requested by morrita on #webkit).
11687
11688         * tests/CCOcclusionTrackerTest.cpp:
11689         (WebCore):
11690
11691 2012-03-12  Hajime Morrita  <morrita@chromium.org>
11692
11693         Unreviewed Windows build fix.
11694
11695         * src/WebViewImpl.cpp:
11696
11697 2012-03-12  Dana Jansens  <danakj@chromium.org>
11698
11699         [chromium] Use projectQuad to apply inverse mapRect
11700         https://bugs.webkit.org/show_bug.cgi?id=80741
11701
11702         Reviewed by Adrienne Walker.
11703
11704         * tests/CCOcclusionTrackerTest.cpp:
11705         (WebCore):
11706         (CCOcclusionTrackerTest3dTransform):
11707         (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
11708         (CCOcclusionTrackerTestPerspectiveTransform):
11709         (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
11710         (CCOcclusionTrackerTestPerspectiveTransformBehindCamera):
11711         (WebCore::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
11712
11713 2012-03-12  Dana Jansens  <danakj@chromium.org>
11714
11715         [chromium] Fix clang build for CCOcclusionTracker tests
11716         https://bugs.webkit.org/show_bug.cgi?id=80891
11717
11718         Reviewed by Adam Barth.
11719
11720         * tests/CCOcclusionTrackerTest.cpp:
11721         (WebCore::CCOcclusionTrackerTest::createRoot):
11722         (WebCore::CCOcclusionTrackerTest::createLayer):
11723         (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
11724
11725 2012-03-12  Stephen White  <senorblanco@chromium.org>
11726
11727         [chromium] Restore canvas2D acceleration after context loss.
11728         https://bugs.webkit.org/show_bug.cgi?id=80629
11729
11730         Reviewed by James Robinson.
11731
11732         Covered by existing canvas tests, and manual testing (killing the GPU
11733         process).
11734
11735         * src/WebViewImpl.cpp:
11736         (WebKit::WebViewImpl::sharedGraphicsContext3D):
11737
11738 2012-03-12  Nat Duca  <nduca@chromium.org>
11739
11740         [Chromium] Force compositeAndReadback through regular scheduling flow
11741         https://bugs.webkit.org/show_bug.cgi?id=77049
11742
11743         Reviewed by James Robinson.
11744
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:
11752         (WTF):
11753         (CCLayerTreeHostTestCompositeAndReadbackWhileInvisible):
11754         (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible):
11755         (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::beginTest):
11756         (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::didCommitAndDrawFrame):
11757         (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::afterTest):
11758         (WTF::TEST_F):
11759         * tests/CCSchedulerStateMachineTest.cpp:
11760         (WebCore::StateMachine::setNeedsForcedCommit):
11761         (WebCore::StateMachine::needsForcedCommit):
11762         (StateMachine):
11763         (WebCore::TEST):
11764         (WebCore):
11765
11766 2012-03-12  Joshua Bell  <jsbell@chromium.org>
11767
11768         IndexedDB: Handle LevelDB database corruption
11769         https://bugs.webkit.org/show_bug.cgi?id=79413
11770
11771         Reviewed by Tony Chang.
11772
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.
11776         (WebCore):
11777         (SimpleComparator):
11778         (WebCore::SimpleComparator::compare):
11779         (WebCore::SimpleComparator::name):
11780         (WebCore::encodeString):
11781         (WebCore::TEST):
11782
11783 2012-03-12  Dana Jansens  <danakj@chromium.org>
11784
11785         [chromium] Clean up culling tests and templatize to test impl constructs
11786         https://bugs.webkit.org/show_bug.cgi?id=80613
11787
11788         Reviewed by Adrienne Walker.
11789
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):
11799         (WebCore):
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):
11873
11874 2012-03-11  Sheriff Bot  <webkit.review.bot@gmail.com>
11875
11876         Unreviewed, rolling out r110359.
11877         http://trac.webkit.org/changeset/110359
11878         https://bugs.webkit.org/show_bug.cgi?id=80799
11879
11880         SelectPopupMenuTest.ClickItem failure (Requested by ukai on
11881         #webkit).
11882
11883         * src/WebViewImpl.cpp:
11884         (WebKit::WebViewImpl::gestureEvent):
11885         (WebKit::WebViewImpl::applyAutofillSuggestions):
11886
11887 2012-03-11  Pavel Feldman  <pfeldman@chromium.org>
11888
11889         Web Inspector: [chromium] add provisional test for the downstream sanity test.
11890         https://bugs.webkit.org/show_bug.cgi?id=80784
11891
11892         Reviewed by Yury Semikhatsky.
11893
11894         * src/js/Tests.js:
11895         (.TestSuite.prototype.checkLogAndErrorMessages.validMessage):
11896         (.TestSuite.prototype.checkLogAndErrorMessages.onConsoleMessage):
11897         (.TestSuite.prototype.checkLogAndErrorMessages):
11898
11899 2012-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
11900
11901         Unreviewed, rolling out r110384.
11902         http://trac.webkit.org/changeset/110384
11903         https://bugs.webkit.org/show_bug.cgi?id=80774
11904
11905         compile failed on Chromium Win Release (Requested by ukai_home
11906         on #webkit).
11907
11908         * tests/CCOcclusionTrackerTest.cpp:
11909         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
11910         (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
11911         (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
11912         (LayerChromiumWithForcedDrawsContent):
11913         (WebCore::setLayerPropertiesForTesting):
11914         (WebCore):
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):
11946         (WebCore::TEST):
11947
11948 2012-03-10  Dana Jansens  <danakj@chromium.org>
11949
11950         [chromium] Clean up culling tests and templatize to test impl constructs
11951         https://bugs.webkit.org/show_bug.cgi?id=80613
11952
11953         Reviewed by Adrienne Walker.
11954
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):
11964         (WebCore):
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):
12038
12039 2012-03-09  Jon Lee  <jonlee@apple.com>
12040
12041         Rename NotificationPresenter to NotificationClient
12042         https://bugs.webkit.org/show_bug.cgi?id=80488
12043         <rdar://problem/10965558>
12044
12045         Reviewed by Kentaro Hara.
12046
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):
12053
12054 2012-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
12055
12056         Unreviewed, rolling out r110363.
12057         http://trac.webkit.org/changeset/110363
12058         https://bugs.webkit.org/show_bug.cgi?id=80757
12059
12060         link error in chromium: unresolved external symbol
12061         webkit_support::CreateScopedTempDirectory(void) (Requested by
12062         ukai_home on #webkit).
12063
12064         * WebKit.gypi:
12065         * tests/LevelDBTest.cpp: Removed.
12066
12067 2012-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
12068
12069         Unreviewed, rolling out r110353.
12070         http://trac.webkit.org/changeset/110353
12071         https://bugs.webkit.org/show_bug.cgi?id=80752
12072
12073         copmile failed on Chromium (Requested by ukai_home on
12074         #webkit).
12075
12076         * tests/CCOcclusionTrackerTest.cpp:
12077         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
12078         (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
12079         (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
12080         (LayerChromiumWithForcedDrawsContent):
12081         (WebCore::setLayerPropertiesForTesting):
12082         (WebCore):
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):
12114         (WebCore::TEST):
12115
12116 2012-03-09  Robert Kroeger  <rjkroege@chromium.org>
12117
12118         Handle more Gesture* events by performing scrolls on the correct target ScrollableArea 
12119         https://bugs.webkit.org/show_bug.cgi?id=80311
12120
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.
12123
12124         Reviewed by James Robinson.
12125
12126         * tests/ScrollAnimatorNoneTest.cpp:
12127         (MockScrollAnimatorNone):
12128         (MockScrollAnimatorNone::reset):
12129         (MockScrollAnimatorNone::fireUpAnAnimation):
12130         (TEST):
12131
12132 2012-03-07  James Robinson  <jamesr@chromium.org>
12133
12134         [chromium] Deprecate renderDirectlyToWebView parameter of WebViewClient::createGraphicsContext3D()
12135         https://bugs.webkit.org/show_bug.cgi?id=80523
12136
12137         Reviewed by Darin Fisher.
12138
12139         * public/WebViewClient.h:
12140         (WebViewClient):
12141         (WebKit::WebViewClient::createGraphicsContext3D):
12142         * public/platform/WebKitPlatformSupport.h:
12143         (WebKit):
12144         * src/WebViewImpl.cpp:
12145         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
12146
12147 2012-03-09  Joshua Bell  <jsbell@chromium.org>
12148
12149         IndexedDB: Handle LevelDB database corruption
12150         https://bugs.webkit.org/show_bug.cgi?id=79413
12151
12152         Reviewed by Tony Chang.
12153
12154         * WebKit.gypi:
12155         * tests/LevelDBTest.cpp: Added.
12156         (WebCore):
12157         (SimpleComparator):
12158         (WebCore::SimpleComparator::compare):
12159         (WebCore::SimpleComparator::name):
12160         (WebCore::encodeString):
12161         (WebCore::TEST):
12162
12163 2012-03-09  Tim Dresser  <tdresser@chromium.org>
12164
12165         [chromium] Increase size of Combo Box Options for touch and high DPI devices
12166         https://bugs.webkit.org/show_bug.cgi?id=80027
12167
12168         Reviewed by Darin Fisher.
12169
12170         * src/WebViewImpl.cpp:
12171         (WebKit::WebViewImpl::gestureEvent):
12172         (WebKit::WebViewImpl::applyAutofillSuggestions):
12173
12174 2012-03-09  James Robinson  <jamesr@chromium.org>
12175
12176         [chromium] Roll chromium DEPS to r125600
12177         https://bugs.webkit.org/show_bug.cgi?id=80722
12178
12179         Unreviewed
12180
12181         * DEPS:
12182
12183 2012-03-09  Dana Jansens  <danakj@chromium.org>
12184
12185         [chromium] Clean up culling tests and templatize to test impl constructs
12186         https://bugs.webkit.org/show_bug.cgi?id=80613
12187
12188         Reviewed by Adrienne Walker.
12189
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):
12199         (WebCore):
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):
12273
12274 2012-03-09  Emil A Eklund  <eae@chromium.org>
12275
12276         Add roundedPoint to HitTestResult and change platform code to use it
12277         https://bugs.webkit.org/show_bug.cgi?id=80715
12278
12279         Reviewed by James Robinson.
12280
12281         Change ports to use roundedPoint to avoid exposing subpixel types to
12282         platform code.
12283
12284         * src/ChromeClientImpl.cpp:
12285         (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
12286         * src/ContextMenuClientImpl.cpp:
12287         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
12288
12289 2012-03-09  W. James MacLean  <wjmaclean@chromium.org>
12290
12291         [chromium] Implement scroll physics architecture for impl/main thread
12292         https://bugs.webkit.org/show_bug.cgi?id=79827
12293
12294         Reviewed by James Robinson.
12295
12296         * WebKit.gypi:
12297         * tests/PlatformGestureCurveTest.cpp: Added.
12298
12299 2012-03-09  Tien-Ren Chen  <trchen@chromium.org>
12300
12301         [chromium] ScrollbarLayerChromium/CCScrollbarLayerImpl for CC-side scrollbar painting
12302         https://bugs.webkit.org/show_bug.cgi?id=78872
12303
12304         Reviewed by James Robinson.
12305
12306         * WebKit.gypi:
12307         * tests/ScrollbarLayerChromiumTest.cpp: Added.
12308         (WebCore):
12309         (MockScrollbar):
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):
12344         (WebCore::TEST):
12345
12346 2012-03-08  James Robinson  <jamesr@chromium.org>
12347
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
12350
12351         Reviewed by Stephen White.
12352
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
12357         window is created.
12358
12359         * public/WebView.h:
12360         (WebView):
12361         * src/WebViewImpl.cpp:
12362         (WebKit::WebViewImpl::sharedGraphicsContext3D):
12363         (WebKit):
12364         * src/WebViewImpl.h:
12365         (WebViewImpl):
12366
12367 2012-03-09  Dana Jansens  <danakj@chromium.org>
12368
12369         [chromium] Use opaque paints in CCOcclusionTracker
12370         https://bugs.webkit.org/show_bug.cgi?id=80173
12371
12372         Reviewed by Adrienne Walker.
12373
12374         * tests/CCOcclusionTrackerTest.cpp:
12375         (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
12376         (LayerChromiumWithForcedDrawsContent):
12377         (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
12378         (WebCore::setLayerPropertiesForTesting):
12379         (WebCore):
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):
12404         (WebCore::TEST):
12405         * tests/TiledLayerChromiumTest.cpp:
12406         (WTF::TEST):
12407         (WTF):
12408
12409 2012-03-09  Jon Lee  <jonlee@apple.com>
12410
12411         Add support for ENABLE(LEGACY_NOTIFICATIONS)
12412         https://bugs.webkit.org/show_bug.cgi?id=80497
12413
12414         Reviewed by Adam Barth.
12415
12416         Prep for b80472: Update API for Web Notifications
12417         * features.gypi:
12418
12419 2012-03-09  Ian Vollick  <vollick@chromium.org>
12420
12421         [chromium] Ensure we use the correct time when notifying animation started
12422         https://bugs.webkit.org/show_bug.cgi?id=79537
12423
12424         Reviewed by James Robinson
12425
12426         * src/WebCompositorInputHandlerImpl.cpp:
12427         (WebKit::WebCompositorInputHandlerImpl::willDraw):
12428         * src/WebCompositorInputHandlerImpl.h:
12429         (WebCompositorInputHandlerImpl):
12430         * tests/CCLayerTreeHostImplTest.cpp:
12431         (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
12432         (WebKit::TEST_F):
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):
12442
12443 2012-03-09  Sheriff Bot  <webkit.review.bot@gmail.com>
12444
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
12450
12451         They broke !ENABLE(INSPECTOR) builds (Requested by Ossy on
12452         #webkit).
12453
12454         * features.gypi:
12455
12456 2012-03-09  Alexander Pavlov  <apavlov@chromium.org>
12457
12458         [chromium] Unreviewed, build fix after r110191
12459
12460         * features.gypi:
12461
12462 2012-03-08  Ian Vollick  <vollick@chromium.org>
12463
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
12466
12467         Reviewed by James Robinson.
12468
12469         * tests/CCLayerTreeHostTest.cpp:
12470         (WTF::CCLayerTreeHostTest::postAddInstantAnimationToMainThread):
12471         (CCLayerTreeHostTest):
12472         (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
12473         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
12474         (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
12475         (WTF):
12476         (CCLayerTreeHostTestTickAnimationWhileBackgrounded):
12477         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::CCLayerTreeHostTestTickAnimationWhileBackgrounded):
12478         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::beginTest):
12479         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
12480         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::afterTest):
12481         (WTF::TEST_F):
12482
12483 2012-03-08  Jeff Timanus  <twiz@chromium.org>
12484
12485         [chromium] Force the Canvas2D GPU texture cache to 0 bytes for backgrounded tabs.
12486         https://bugs.webkit.org/show_bug.cgi?id=79948
12487
12488         Reviewed by Stephen White.
12489
12490         * src/GraphicsContext3DChromium.cpp:
12491         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
12492         (WebCore::GraphicsContext3DPrivate::grContext):
12493         (WebCore::GraphicsContext3DPrivate::setVisibilityCHROMIUM):
12494
12495 2012-03-08  Dana Jansens  <danakj@chromium.org>
12496
12497         [chromium] Replace completelyContains with Region::contains()
12498         https://bugs.webkit.org/show_bug.cgi?id=80617
12499
12500         Reviewed by James Robinson.
12501
12502         * tests/CCLayerTestCommon.cpp:
12503         (CCLayerTestCommon):
12504         (CCLayerTestCommon::verifyQuadsExactlyCoverRect):
12505         * tests/CCLayerTestCommon.h:
12506         (CCLayerTestCommon):
12507
12508 2012-03-08  James Robinson  <jamesr@chromium.org>
12509
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
12512
12513         Reviewed by Stephen White.
12514
12515         * src/GraphicsContext3DChromium.cpp:
12516         (WebCore::GraphicsContext3DPrivate::getContextAttributes):
12517         (WebCore::GraphicsContext3D::create):
12518         * src/WebViewImpl.cpp:
12519         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
12520
12521 2012-03-08  Scott Byer  <scottbyer@chromium.org>
12522
12523         Have ScrollAnimatorNone use requestAnimationFrame
12524         https://bugs.webkit.org/show_bug.cgi?id=78938
12525
12526         Reviewed by James Robinson.
12527
12528         * src/ScrollbarGroup.h:
12529         (WebCore):
12530         (WebKit::ScrollbarGroup::hostWindow):
12531         (ScrollbarGroup):
12532         * tests/ScrollAnimatorNoneTest.cpp:
12533         (MockScrollableArea::hostWindow):
12534
12535 2012-03-08  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
12536
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
12539
12540         Reviewed by Ryosuke Niwa.
12541
12542         * src/WebElement.cpp: Include NamedNodeMap.h since Element.h doesn't include it anymore.
12543
12544 2012-03-07  Kent Tamura  <tkent@chromium.org>
12545
12546         Remove meaningless code in RenderTextControlSingleLine::preferredContentWidth()
12547         https://bugs.webkit.org/show_bug.cgi?id=80493
12548
12549         Reviewed by Hajime Morita.
12550
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):
12557
12558 2012-03-07  Adam Barth  <abarth@webkit.org>
12559
12560         Remove #define private public from WebCache.cpp
12561         https://bugs.webkit.org/show_bug.cgi?id=80520
12562
12563         Reviewed by Eric Seidel.
12564
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.
12568
12569         * src/WebCache.cpp:
12570         (WebKit::WebCache::getUsageStats):
12571
12572 2012-03-07  Joshua Bell  <jsbell@chromium.org>
12573
12574         [Chromium] IndexedDB: V8LocalContext creation in IDBKey extraction/injection is slow
12575         https://bugs.webkit.org/show_bug.cgi?id=80358
12576
12577         Reviewed by Tony Chang.
12578
12579         * tests/IDBBindingUtilitiesTest.cpp:
12580         (WebCore::TEST):
12581
12582 2012-03-07  Scott Byer  <scottbyer@chromium.org>
12583
12584         Get ScrollAnimatorNone to handle the stop and reverse cases.
12585         https://bugs.webkit.org/show_bug.cgi?id=80455
12586
12587         Reviewed by James Robinson.
12588
12589         * tests/ScrollAnimatorNoneTest.cpp:
12590         (ScrollAnimatorNoneTest::updateDataFromParameters):
12591         (TEST_F):
12592
12593 2012-03-07  Dana Jansens  <danakj@chromium.org>
12594
12595         [chromium] Cull occluded tiles during paint
12596         https://bugs.webkit.org/show_bug.cgi?id=76838
12597
12598         Reviewed by Adrienne Walker.
12599
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):
12612         (WTF::TEST):
12613         (WTF):
12614
12615 2012-03-07  Elliot Poger  <epoger@google.com>
12616
12617         [Chromium] Remove use_skia option from GYP
12618         https://bugs.webkit.org/show_bug.cgi?id=75811
12619
12620         Reviewed by Tony Chang.
12621
12622         * WebKit.gyp:
12623         * WebKit.gypi:
12624         * features.gypi:
12625
12626 2012-03-06  Dana Jansens  <danakj@chromium.org>
12627
12628         [chromium] Add clipping to scissor rect to CCOcclusionTracker
12629         https://bugs.webkit.org/show_bug.cgi?id=79927
12630
12631         Reviewed by Adrienne Walker.
12632
12633         * tests/CCOcclusionTrackerTest.cpp:
12634         (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
12635         (TestCCOcclusionTracker):
12636         (WebCore::TestCCOcclusionTracker::setLayerScissorRect):
12637         (WebCore::TestCCOcclusionTracker::useDefaultLayerScissorRect):
12638         (WebCore::TestCCOcclusionTracker::layerScissorRect):
12639         (WebCore):
12640         (TestDamageClient):
12641         (WebCore::TestDamageClient::damageRect):
12642         (WebCore::TestDamageClient::TestDamageClient):
12643         (WebCore::TestDamageClient::setDamageRect):
12644         (WebCore::TEST):
12645
12646 2012-03-06  Kenichi Ishibashi  <bashi@chromium.org>
12647
12648         [WebSocket] Introduce ThreadableWebSocketChannel::SendResult
12649         https://bugs.webkit.org/show_bug.cgi?id=80356
12650
12651         Reviewed by Kent Tamura.
12652
12653         * src/WebSocketImpl.cpp:
12654         (WebKit::WebSocketImpl::sendText): Checks whether the return value of send() is ThreadableWebSocketChannel::SendSuccess.
12655         (WebKit::WebSocketImpl::sendArrayBuffer): Ditto.
12656
12657 2012-03-06  Nat Duca  <nduca@chromium.org>
12658
12659         [chromium] CCThreadProxy context lost support
12660         https://bugs.webkit.org/show_bug.cgi?id=80100
12661
12662         Reviewed by James Robinson.
12663
12664         * tests/CCSchedulerStateMachineTest.cpp:
12665         * tests/CCSchedulerTest.cpp:
12666         (WebKitTests::FakeCCSchedulerClient::scheduledActionBeginContextRecreation):
12667         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionBeginContextRecreation):
12668         (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::scheduledActionBeginContextRecreation):
12669
12670 2012-03-06  James Robinson  <jamesr@chromium.org>
12671
12672         [chromium] Null-check m_layerRenderer in CCLayerTreeHostImpl::finishAllRendering()
12673         https://bugs.webkit.org/show_bug.cgi?id=80445
12674
12675         Reviewed by Adrienne Walker.
12676
12677         * tests/CCLayerTreeHostImplTest.cpp:
12678         (FakeWebGraphicsContext3DMakeCurrentFails):
12679         (WebKit::FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
12680         (WebKit):
12681         (WebKit::TEST_F):
12682
12683 2012-03-06  David Grogan  <dgrogan@chromium.org>
12684
12685         [Chromium] Add OVERRIDEs to WebWorkerClientImpl.h
12686         https://bugs.webkit.org/show_bug.cgi?id=80434
12687
12688         Reviewed by Tony Chang.
12689
12690         Tests: just that it compiles.
12691
12692         * src/WebWorkerClientImpl.h:
12693         (WebWorkerClientImpl):
12694
12695 2012-03-06  David Grogan  <dgrogan@chromium.org>
12696
12697         IndexedDB: Check WebCommonWorkerClient::allowIndexedDB before proceeding from a shared worker
12698         https://bugs.webkit.org/show_bug.cgi?id=79954
12699
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.
12704
12705         Reviewed by Tony Chang.
12706
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:
12724         (WebKit):
12725         (WebKit::WebWorkerClientImpl::allowIndexedDB):
12726         * src/WebWorkerClientImpl.h:
12727         (WebWorkerClientImpl):
12728
12729 2012-03-06  Stephen White  <senorblanco@chromium.org>
12730
12731         Unreviewed, rolling out r109825.
12732         http://trac.webkit.org/changeset/109825
12733         https://bugs.webkit.org/show_bug.cgi?id=79413
12734
12735         Broke webkit_unit_tests on Chromium Win
12736
12737         * WebKit.gypi:
12738         * tests/LevelDBTest.cpp: Removed.
12739
12740 2012-03-06  Takashi Toyoshima  <toyoshim@chromium.org>
12741
12742         [Chromium] [WebSocket] Add WebSocket extensions query WebKit API
12743         https://bugs.webkit.org/show_bug.cgi?id=80190
12744
12745         Reviewed by Darin Fisher.
12746
12747         * public/WebSocket.h: Add extensions() declaration.
12748         (WebSocket):
12749         * src/WebSocketImpl.cpp: Implement extensions() bridge.
12750         (WebKit::WebSocketImpl::extensions):
12751         (WebKit):
12752         * src/WebSocketImpl.h: Add extensions() declaration.
12753         (WebSocketImpl):
12754
12755 2012-03-05  Kent Tamura  <tkent@chromium.org>
12756
12757         Do not reformat strings in <input type=number> on platforms using LocalizedNumberICU.
12758         https://bugs.webkit.org/show_bug.cgi?id=78326
12759
12760         Reviewed by Hajime Morita.
12761
12762         Add a test for WebCore/platform/text/LocalizedNumberICU.
12763
12764         * WebKit.gypi: Added LocalizedNumberICUTest.cpp
12765         * tests/LocalizedNumberICUTest.cpp: Added.
12766
12767 2012-03-05  Kenneth Russell  <kbr@google.com>
12768
12769         [chromium] Notify CCLayerImpl tree of context loss and restoration
12770         https://bugs.webkit.org/show_bug.cgi?id=80339
12771
12772         Reviewed by James Robinson.
12773
12774         Unit test for notification of context loss and restoration.
12775
12776         * tests/CCLayerTreeHostImplTest.cpp:
12777         (WebKit):
12778         (ContextLostNotificationCheckLayer):
12779         (WebKit::ContextLostNotificationCheckLayer::create):
12780         (WebKit::ContextLostNotificationCheckLayer::didLoseAndRecreateGraphicsContext):
12781         (WebKit::ContextLostNotificationCheckLayer::didLoseAndRecreateGraphicsContextCalled):
12782         (WebKit::ContextLostNotificationCheckLayer::ContextLostNotificationCheckLayer):
12783         (WebKit::TEST_F):
12784
12785 2012-03-05  Changhun Kang  <temoochin@company100.net>
12786
12787         Change the argument orders to match OpenGL's in GraphicsContext3D functions
12788         https://bugs.webkit.org/show_bug.cgi?id=80120
12789
12790         Reviewed by Kenneth Russell.
12791
12792         No new tests because this patch just change the order of arguments.
12793
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):
12806         (WebCore):
12807         * src/GraphicsContext3DPrivate.h:
12808         (GraphicsContext3DPrivate):
12809
12810 2012-03-05  Yoshifumi Inoue  <yosin@chromium.org>
12811
12812         [Chromium] WebOptionElement should inherit WebElement instead of WebFormControlElement
12813         https://bugs.webkit.org/show_bug.cgi?id=80089
12814
12815         Change class hierarchy of WebOptionElement to match with specification.
12816
12817         Reviewed by Darin Fisher.
12818
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):
12825
12826 2012-03-05  Joshua Bell  <jsbell@chromium.org>
12827
12828         IndexedDB: Handle LevelDB database corruption
12829         https://bugs.webkit.org/show_bug.cgi?id=79413
12830
12831         Reviewed by Tony Chang.
12832
12833         * WebKit.gypi:
12834         * tests/LevelDBTest.cpp: Added.
12835         (WebCore):
12836         (SimpleComparator):
12837         (WebCore::SimpleComparator::compare):
12838         (WebCore::SimpleComparator::name):
12839         (WebCore::encodeString):
12840         (WebCore::TEST):
12841
12842 2012-03-05  Min Qin  <qinmin@google.com>
12843
12844         Enable context menu on android
12845
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
12849
12850         Reviewed by Adam Barth.
12851
12852         * src/WebViewImpl.cpp:
12853         (WebKit::WebViewImpl::mouseDown):
12854
12855 2012-03-05  Kent Tamura  <tkent@chromium.org>
12856
12857         [Chromium] Add new popup type: PagePopup
12858         https://bugs.webkit.org/show_bug.cgi?id=80106
12859
12860         Reviewed by Darin Fisher.
12861
12862         This is a preparation of implementing ChromeClient::openPagePopup and
12863         closePagePopup.
12864
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.
12871
12872 2012-03-05  Charlie Reis  <creis@chromium.org>
12873
12874         [chromium] Pass WebNavigationPolicy to WebViewClient::createView
12875         https://bugs.webkit.org/show_bug.cgi?id=80057
12876
12877         Reviewed by Darin Fisher.
12878
12879         * public/WebViewClient.h:
12880         (WebViewClient):
12881         (WebKit::WebViewClient::createView):
12882         * src/ChromeClientImpl.cpp:
12883         (WebKit::ChromeClientImpl::ChromeClientImpl):
12884         (WebKit::ChromeClientImpl::createWindow):
12885         (WebKit::ChromeClientImpl::getNavigationPolicy):
12886         (WebKit):
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):
12894
12895 2012-03-05  James Robinson  <jamesr@chromium.org>
12896
12897         [chromium] Initialize CCOverdrawCounts struct to zero
12898         https://bugs.webkit.org/show_bug.cgi?id=80204
12899
12900         Reviewed by Adrienne Walker.
12901
12902         Update test to use c'tor instead of {} struct initialization.
12903
12904         * tests/CCQuadCullerTest.cpp:
12905         (WebCore):
12906
12907 2012-03-05  Takashi Toyoshima  <toyoshim@chromium.org>
12908
12909         [Chromium] [WebSocket] use OVERRIDE in WebSocketImpl.h
12910         https://bugs.webkit.org/show_bug.cgi?id=80192
12911
12912         Reviewed by Kent Tamura.
12913
12914         * src/WebSocketImpl.h: use OVERRIDE macro.
12915         (WebSocketImpl):
12916
12917 2012-03-05  Adam Barth  <abarth@webkit.org>
12918
12919         Geolocation should use a ScriptExecutionContext as its context object
12920         https://bugs.webkit.org/show_bug.cgi?id=80248
12921
12922         Reviewed by Kentaro Hara.
12923
12924         Rather than indirecting through the Frame to get the SecurityOrigin, we
12925         should get the SecurityOrigin directly from ScriptExecutionContext.
12926
12927         * src/WebGeolocationPermissionRequest.cpp:
12928         (WebKit::WebGeolocationPermissionRequest::securityOrigin):
12929
12930 2012-03-02  Andrey Kosyakov  <caseq@chromium.org>
12931
12932         Add instrumentation for frame start/end on timeline.
12933
12934         Web Inspector: add timeline instrumentation for frame events
12935         https://bugs.webkit.org/show_bug.cgi?id=80127
12936
12937         Reviewed by Pavel Feldman.
12938
12939         - expose an instrumentation method from WebWidget to mark frame update start
12940
12941         * public/WebWidget.h:
12942         (WebWidget):
12943         (WebKit::WebWidget::instrumentBeginFrame):
12944         * src/WebViewImpl.cpp:
12945         (WebKit::WebViewImpl::instrumentBeginFrame):
12946         (WebKit):
12947         * src/WebViewImpl.h:
12948         (WebViewImpl):
12949
12950 2012-03-03  Benjamin Poulain  <benjamin@webkit.org>
12951
12952         Remove the redundant method KURL::protocolInHTTPFamily()
12953         https://bugs.webkit.org/show_bug.cgi?id=80216
12954
12955         Reviewed by Anders Carlsson.
12956
12957         * src/FrameLoaderClientImpl.cpp:
12958         (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
12959         * src/WebPageSerializer.cpp:
12960         (WebCore::retrieveResourcesForElement):
12961
12962 2012-03-03  Hans Wennborg  <hans@chromium.org>
12963
12964         Implement Speech JavaScript API
12965         https://bugs.webkit.org/show_bug.cgi?id=80019
12966
12967         Reviewed by Adam Barth.
12968
12969         Add ENABLE_SCRIPTED_SPEECH and runtime flag.
12970
12971         * features.gypi:
12972         * public/WebRuntimeFeatures.h:
12973         (WebRuntimeFeatures):
12974         * src/WebRuntimeFeatures.cpp:
12975         (WebKit::WebRuntimeFeatures::enableScriptedSpeech):
12976         (WebKit):
12977         (WebKit::WebRuntimeFeatures::isScriptedSpeechEnabled):
12978
12979 2012-03-03  Bill Budge  <bbudge@chromium.org>
12980
12981         Fixes AssociatedURLLoader support for Access-Control-Expose-Headers field in response.
12982         https://bugs.webkit.org/show_bug.cgi?id=80198
12983
12984         Reviewed by Adam Barth.
12985
12986         * src/AssociatedURLLoader.cpp:
12987         * tests/AssociatedURLLoaderTest.cpp:
12988
12989 2012-03-02  Dana Jansens  <danakj@chromium.org>
12990
12991         [Chromium] Allow plugins to set opaque() on their platform layer
12992         https://bugs.webkit.org/show_bug.cgi?id=80171
12993
12994         Reviewed by James Robinson.
12995
12996         * public/WebPluginContainer.h:
12997         (WebPluginContainer):
12998         * src/WebPluginContainerImpl.cpp:
12999         (WebKit::WebPluginContainerImpl::setOpaque):
13000         (WebKit):
13001         * src/WebPluginContainerImpl.h:
13002         (WebPluginContainerImpl):
13003
13004 2012-03-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
13005
13006         Make parser code not depend on NamedNodeMap
13007         https://bugs.webkit.org/show_bug.cgi?id=79963
13008
13009         Reviewed by Adam Barth.
13010
13011         * src/WebNamedNodeMap.cpp:
13012         (WebKit::WebNamedNodeMap::attributeItem):
13013
13014 2012-03-01  Dana Jansens  <danakj@chromium.org>
13015
13016         [chromium] Make opaque paint tracker aware of SkCanvas layers
13017         https://bugs.webkit.org/show_bug.cgi?id=79145
13018
13019         Reviewed by Stephen White.
13020
13021         * tests/PlatformContextSkiaTest.cpp:
13022         (WebCore::TEST):
13023         (WebCore):
13024
13025 2012-03-01  Hironori Bono  <hbono@chromium.org>
13026
13027         Render overflow controls of an RTL element to its left-side.
13028         https://bugs.webkit.org/show_bug.cgi?id=54623
13029
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.
13033
13034         Reviewed by Ryosuke Niwa.
13035
13036         * features.gypi: Set WTF_USE_RTL_SCROLLBAR to 1 on Chromium.
13037
13038 2012-03-01  James Robinson  <jamesr@chromium.org>
13039
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
13042
13043         Reviewed by Adrienne Walker.
13044
13045         * tests/LayerChromiumTest.cpp:
13046
13047 2012-03-01  Dale Curtis  <dalecurtis@chromium.org>
13048
13049         Remove deprecated FFmpeg build directories.
13050         https://bugs.webkit.org/show_bug.cgi?id=79282
13051
13052         We've switched the layout of the FFmpeg repo in Chrome and these paths
13053         are no longer needed or valid.
13054
13055         Reviewed by Dirk Pranke.
13056
13057         * DEPS:
13058
13059 2012-03-01  Dirk Pranke  <dpranke@chromium.org>
13060
13061         Roll chromium DEPS to 124511
13062
13063         Unreviewed, DEPS change.
13064
13065         * DEPS:
13066
13067 2012-02-29  Nat Duca  <nduca@chromium.org>
13068
13069         [chromium] Move context lost control code from CCSingleThreadProxy to CCLayerTreeHost
13070         https://bugs.webkit.org/show_bug.cgi?id=79964
13071
13072         Reviewed by James Robinson.
13073
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):
13087
13088 2012-03-01  Kentaro Hara  <haraken@chromium.org>
13089
13090         REGRESSION(r109288): WebViewImpl::enableAutoResizeMode loops infinitely
13091         https://bugs.webkit.org/show_bug.cgi?id=77452
13092
13093         Reviewed by Hajime Morita.
13094
13095         WebViewImpl::enableAutoResizeMode loops infinitely.
13096         This patch fixes the following line:
13097
13098             enableAutoResizeMode(enable, minSize, maxSize);
13099
13100         to
13101             enableAutoResizeMode(minSize, maxSize);
13102
13103         to avoid the infinite loop. I guess this is the change originally intended.
13104
13105         Test: webkit_unit_tests.WebViewTest.AutoResizeMinimumSize
13106
13107         * src/WebViewImpl.cpp:
13108         (WebKit::WebViewImpl::enableAutoResizeMode):
13109
13110 2012-02-29  Kinuko Yasuda  <kinuko@chromium.org>
13111
13112         Use the new createSnapshotFileAndReadMetadata API for FileEntry.file()
13113         https://bugs.webkit.org/show_bug.cgi?id=79928
13114
13115         Reviewed by David Levin.
13116
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.
13120
13121         The implementor of createSnapshotFileAndReadMetadata() (i.e. chromium)
13122         registers the created snapshot file with the given internal Blob URL.
13123
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.
13127
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):
13140
13141 2012-02-29  Kinuko Yasuda  <kinuko@chromium.org>
13142
13143         Unreviewed.  Rolled DEPS.
13144
13145         * DEPS:
13146
13147 2012-02-29  W. James MacLean  <wjmaclean@chromium.org>
13148
13149         [chromium] Estimate pixel count for frame rate control
13150         https://bugs.webkit.org/show_bug.cgi?id=74982
13151
13152         Reviewed by James Robinson.
13153
13154         Adds mechanism to compute and collect statistics on pixel overdraw for selected frames.
13155
13156         * tests/CCQuadCullerTest.cpp:
13157         (WebCore):
13158         (WebCore::TEST):
13159
13160 2012-02-29  James Simonsen  <simonjam@chromium.org>
13161
13162         [chromium] Fix navigation start time on cross-renderer navigation
13163         https://bugs.webkit.org/show_bug.cgi?id=75922
13164
13165         Reviewed by Darin Fisher.
13166
13167         * public/WebDataSource.h:
13168         * src/WebDataSource.cpp:
13169         (WebKit::WebDataSource::setNavigationStartTime): Added.
13170         * src/WebDataSource.h:
13171
13172 2012-02-29  Ian Vollick  <vollick@chromium.org>
13173
13174         [chromium] Add impl-thread support for animation-timing-function
13175         https://bugs.webkit.org/show_bug.cgi?id=79819
13176
13177         Reviewed by James Robinson.
13178
13179         * tests/CCKeyframedAnimationCurveTest.cpp:
13180         (WebCore::TEST):
13181         (WebCore):
13182
13183 2012-02-29  David Levin  <levin@chromium.org>
13184
13185         [chromium] Add the ability to turn off autoresize.
13186         https://bugs.webkit.org/show_bug.cgi?id=77452
13187
13188         Reviewed by Darin Fisher.
13189
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.
13202
13203 2012-02-29  Sheriff Bot  <webkit.review.bot@gmail.com>
13204
13205         Unreviewed.  Rolled DEPS.
13206
13207         * DEPS:
13208
13209 2012-02-29  Dana Jansens  <danakj@chromium.org>
13210
13211         [chromium] Don't let invalidation for next frame prevent tile upload
13212         https://bugs.webkit.org/show_bug.cgi?id=79841
13213
13214         Reviewed by James Robinson.
13215
13216         * tests/TiledLayerChromiumTest.cpp:
13217         (WTF::TEST):
13218
13219 2012-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
13220
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
13225
13226         Fix the chromium build. (Requested by dcheng on #webkit).
13227
13228         * src/WebDragData.cpp:
13229         (WebKit::WebDragData::items):
13230
13231 2012-02-28  Ryosuke Niwa  <rniwa@webkit.org>
13232
13233         Chromium build fix attempt.
13234
13235         * src/WebDragData.cpp:
13236
13237 2012-02-28  Jonathan Backer  <backer@chromium.org>
13238
13239         [chromium] Reset damage tracker on visibility change.
13240         https://bugs.webkit.org/show_bug.cgi?id=79267
13241
13242         Reviewed by James Robinson.
13243
13244         * tests/CCLayerTreeHostImplTest.cpp:
13245         (WebKit::PartialSwapTrackerContext::getString):
13246         (WebKit):
13247         (WebKit::TEST_F):
13248
13249 2012-02-28  Tim Dresser  <tdresser@chromium.org>
13250
13251         Provide DefaultDeviceScaleFactor though WebSettings
13252         https://bugs.webkit.org/show_bug.cgi?id=79534
13253
13254         Reviewed by Darin Fisher.
13255
13256         * public/WebSettings.h:
13257         * src/WebSettingsImpl.cpp:
13258         (WebKit::WebSettingsImpl::setDefaultDeviceScaleFactor):
13259         (WebKit):
13260         * src/WebSettingsImpl.h:
13261         (WebSettingsImpl):
13262
13263 2012-02-28  Gary Kacmarcik  <garykac@chromium.org>
13264
13265         [chromium] Set nativeKeyCode to include Windows scan code
13266         https://bugs.webkit.org/show_bug.cgi?id=79289
13267
13268         Reviewed by Ryosuke Niwa.
13269
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.
13274
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).
13280
13281         All platforms except Windows currently send native key event info, so
13282         this change will bring Windows in line with other platforms.
13283
13284         This change is part of our effort to send enhanced keycode information
13285         to Pepper plugins in Chromium.
13286
13287         * src/win/WebInputEventFactory.cpp:
13288         (WebKit::WebInputEventFactory::keyboardEvent):
13289
13290 2012-02-28  Adam Klein  <adamk@chromium.org>
13291
13292         Unreviewed, speculative test fix after r109016.
13293
13294         * tests/TransparencyWinTest.cpp:
13295         (WebCore::TEST): Update all ImageBuffer::create calls to include a scale of 1.
13296
13297 2012-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
13298
13299         Unreviewed.  Rolled DEPS.
13300
13301         * DEPS:
13302
13303 2012-02-27  James Kozianski  <koz@chromium.org>
13304
13305         Add missing parameter to didCreateScriptContext() so it overrides base class again.
13306         https://bugs.webkit.org/show_bug.cgi?id=79742
13307
13308         Reviewed by Kent Tamura.
13309
13310         * tests/WebFrameTest.cpp:
13311
13312 2012-02-27  Kenichi Ishibashi  <bashi@chromium.org>
13313
13314         [Chromium] Unreviewed gardening, Disable TransparencyWin.OpaqueCompositeLayerPixel
13315
13316         * tests/TransparencyWinTest.cpp:
13317         (WebCore::TEST):
13318
13319 2012-02-27  Kinuko Yasuda  <kinuko@chromium.org>
13320
13321         [chromium] Add createSnapshotFile API to WebFileSystem to create File snapshots for filesystem files
13322         https://bugs.webkit.org/show_bug.cgi?id=79394
13323
13324         Reviewed by Darin Fisher.
13325
13326         * public/platform/WebFileSystem.h:
13327         (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata): Added.
13328
13329 2012-02-27  James Kozianski  <koz@chromium.org>
13330
13331         [chromium] Plumb extensionGroup into didCreateScriptContext().
13332         https://bugs.webkit.org/show_bug.cgi?id=79072
13333
13334         Reviewed by Darin Fisher.
13335
13336         * public/WebFrameClient.h:
13337         (WebKit::WebFrameClient::didCreateScriptContext):
13338         * src/FrameLoaderClientImpl.cpp:
13339         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
13340         * src/FrameLoaderClientImpl.h:
13341         (FrameLoaderClientImpl):
13342
13343 2012-02-27  Adrienne Walker  <enne@google.com>
13344
13345         [chromium] Unreviewed gardening, disable TransparencyWinTest unit tests
13346         https://bugs.webkit.org/show_bug.cgi?id=79718
13347
13348         * tests/TransparencyWinTest.cpp:
13349
13350 2012-02-26  Hajime Morrita  <morrita@chromium.org>
13351
13352         Move ChromeClient::showContextMenu() to ContextMenuClient
13353         https://bugs.webkit.org/show_bug.cgi?id=79427
13354
13355         Reviewed by Adam Barth.
13356
13357         * src/ChromeClientImpl.h:
13358         (ChromeClientImpl):
13359
13360 2012-02-26  James Robinson  <jamesr@chromium.org>
13361
13362         Take 2 build fix.
13363
13364         * tests/CCLayerTreeHostImplTest.cpp:
13365         (WebKit::TEST_F):
13366
13367 2012-02-26  James Robinson  <jamesr@chromium.org>
13368
13369         Compile fix for CCLayerTreeHostImpl test.
13370
13371         * tests/CCLayerTreeHostImplTest.cpp:
13372         (WebKit::TEST_F):
13373
13374 2012-02-26  James Robinson  <jamesr@chromium.org>
13375
13376         [chromium] Wire up shouldUpdateScrollPositionOnMainThread and nonFastScrollableRegion to compositor
13377         https://bugs.webkit.org/show_bug.cgi?id=79155
13378
13379         Reviewed by Adam Barth.
13380
13381         Add new tests for shouldScrollOnMainThread and nonFastScrollableRegion properties.
13382
13383         * tests/CCLayerTreeHostImplTest.cpp:
13384         (WebKit::TEST_F):
13385         (WebKit):
13386         * tests/LayerChromiumTest.cpp:
13387
13388 2012-02-25  Adrienne Walker  <enne@google.com>
13389
13390         [chromium] Unreviewed gardening, fix Linux Clang OwnPtr breakage
13391         https://bugs.webkit.org/show_bug.cgi?id=78404
13392
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.
13396
13397         * tests/TiledLayerChromiumTest.cpp:
13398         (WTF::TEST):
13399
13400 2012-02-24  Tien-Ren Chen  <trchen@chromium.org>
13401
13402         [chromium] Replace RefPtr with OwnPtr for CCLayerImpl tree structure
13403         https://bugs.webkit.org/show_bug.cgi?id=78404
13404
13405         Reviewed by James Robinson.
13406
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:
13416         (WebCore::TEST):
13417         * tests/CCLayerIteratorTest.cpp:
13418         * tests/CCLayerSorterTest.cpp:
13419         (WebCore::TEST):
13420         * tests/CCLayerTreeHostCommonTest.cpp:
13421         (WebCore::TEST):
13422         * tests/CCLayerTreeHostImplTest.cpp:
13423         (WebKit::CCLayerTreeHostImplTest::setupScrollAndContentsLayers):
13424         (WebKit::TEST_F):
13425         (WebKit::DidDrawCheckLayer::create):
13426         (WebKit::BlendStateCheckLayer::create):
13427         * tests/CCRenderSurfaceTest.cpp:
13428         (WebCore::TEST):
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:
13438         (WTF::TEST):
13439         * tests/TreeSynchronizerTest.cpp:
13440         (WebKitTests::MockCCLayerImpl::create):
13441         (WebKitTests::MockLayerChromium::createCCLayerImpl):
13442         (WebKitTests::expectTreesAreIdentical):
13443         (WebKitTests::TEST):
13444
13445 2012-02-08  James Robinson  <jamesr@chromium.org>
13446
13447         [chromium] Make WebViewImpl depend on WebLayerTreeView instead of CCLayerTreeHost
13448         https://bugs.webkit.org/show_bug.cgi?id=75591
13449
13450         Reviewed by Kenneth Russell.
13451
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:
13455
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.
13460
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.
13464
13465         - WebLayerTreeViewClient expanded with some flow-control related APIs.
13466
13467         Refactor only, no change in behavior.
13468
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:
13514
13515 2012-02-24  Ian Vollick  <vollick@chromium.org>
13516
13517         [chromium] Plumb animation started notifications from CCLayerTreeHost to GraphicsLayerChromium
13518         https://bugs.webkit.org/show_bug.cgi?id=77646
13519
13520         Reviewed by James Robinson.
13521
13522         * tests/CCLayerTreeHostTest.cpp:
13523         (TestHooks):
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):
13532
13533 2012-02-24  James Robinson  <jamesr@chromium.org>
13534
13535         [chromium] WebKit::setColorNames is a client API
13536         https://bugs.webkit.org/show_bug.cgi?id=79539
13537
13538         Reviewed by Darin Fisher.
13539
13540         * WebKit.gyp:
13541         * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
13542         (WebKit):
13543         * public/platform/WebColorName.h:
13544         * src/WebColor.cpp:
13545
13546 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
13547
13548         Unreviewed, rolling out r108860.
13549         http://trac.webkit.org/changeset/108860
13550         https://bugs.webkit.org/show_bug.cgi?id=79544
13551
13552         "Breaks Linux compile" (Requested by enne on #webkit).
13553
13554         * WebKit.gyp:
13555         * public/platform/WebColorName.h:
13556         * src/WebColor.cpp: Renamed from Source/WebKit/chromium/src/WebColorName.cpp.
13557         (WebKit):
13558         (WebKit::toCSSValueKeyword):
13559         (WebKit::setNamedColors):
13560
13561 2012-02-24  James Robinson  <jamesr@chromium.org>
13562
13563         [chromium] WebKit::setColorNames is a client API
13564         https://bugs.webkit.org/show_bug.cgi?id=79539
13565
13566         Reviewed by Darin Fisher.
13567
13568         * WebKit.gyp:
13569         * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
13570         (WebKit):
13571         * public/platform/WebColorName.h:
13572         * src/WebColor.cpp:
13573
13574 2012-02-22  James Robinson  <jamesr@chromium.org>
13575
13576         [chromium] Move WebGraphicsContext3D header into the Platform directory
13577         https://bugs.webkit.org/show_bug.cgi?id=79301
13578
13579         Reviewed by Adam Barth.
13580
13581         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
13582
13583         * public/platform/WebGraphicsContext3D.h:
13584         * public/platform/WebNonCopyable.h:
13585
13586 2012-02-24  Michal Mocny  <mmocny@google.com>
13587
13588         [chromium] Purge Skia's GPU texture cache using GL_CHROMIUM_gpu_memory_manager
13589         https://bugs.webkit.org/show_bug.cgi?id=78265
13590
13591         Reviewed by Stephen White.
13592
13593         * src/GraphicsContext3DChromium.cpp:
13594         (GrMemoryAllocationChangedCallback):
13595         (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
13596         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
13597         (WebCore):
13598         (WebCore::GraphicsContext3DPrivate::grContext):
13599
13600 2012-02-24  James Robinson  <jamesr@chromium.org>
13601
13602         [chromium] Remove deprecated and unused WebGraphicsContext3D::initialize call
13603         https://bugs.webkit.org/show_bug.cgi?id=79296
13604
13605         Reviewed by Kenneth Russell.
13606
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.
13609
13610         * public/platform/WebGraphicsContext3D.h:
13611         (WebKit):
13612         * tests/CCLayerTreeHostImplTest.cpp:
13613         * tests/FakeWebGraphicsContext3D.h:
13614
13615 2012-02-23  James Robinson  <jamesr@chromium.org>
13616
13617         [chromium] Move Web*Layer* headers into Platform
13618         https://bugs.webkit.org/show_bug.cgi?id=79425
13619
13620         Reviewed by Adam Barth.
13621
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.
13626
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:
13638
13639 2012-02-24  Peter Collingbourne  <peter@pcc.me.uk>
13640
13641         [chromium] Have WebFrameImpl::selectionAsMarkup create interchange markup.
13642         https://bugs.webkit.org/show_bug.cgi?id=77307
13643
13644         Reviewed by Tony Chang.
13645
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.
13651
13652         Chromium bug: http://crbug.com/23329
13653
13654         * src/WebFrameImpl.cpp:
13655         (WebKit::WebFrameImpl::selectionAsMarkup):
13656
13657 2012-02-24  Pavel Feldman  <pfeldman@chromium.org>
13658
13659         Not reviewed: chromium image for inspector status bar button updated.
13660
13661         * src/js/Images/segmentSelectedEndChromium.png:
13662
13663 2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
13664
13665         SpellCheckRequest needs to know the context where the spellcheck happened.
13666         https://bugs.webkit.org/show_bug.cgi?id=79320
13667
13668         Reviewed by Hajime Morita.
13669
13670         * src/EditorClientImpl.cpp:
13671         (WebKit::EditorClientImpl::requestCheckingOfString):
13672         * src/EditorClientImpl.h:
13673         (EditorClientImpl):
13674         * src/WebFrameImpl.cpp:
13675         (WebKit::WebFrameImpl::requestTextChecking):
13676
13677 2012-02-23  Sheriff Bot  <webkit.review.bot@gmail.com>
13678
13679         Unreviewed.  Rolled DEPS.
13680
13681         * DEPS:
13682
13683 2012-02-23  Ian Vollick  <vollick@chromium.org>
13684
13685         [chromium] Implement keyframed animations for the cc thread.
13686         https://bugs.webkit.org/show_bug.cgi?id=77229
13687
13688         Reviewed by James Robinson.
13689
13690         * WebKit.gypi:
13691         * tests/CCAnimationTestCommon.cpp:
13692         (WebCore):
13693         (WebCore::addOpacityTransition):
13694         (WebKitTests::addOpacityTransitionToController):
13695         (WebKitTests::addOpacityTransitionToLayer):
13696         * tests/CCAnimationTestCommon.h:
13697         (WebCore):
13698         (WebKitTests):
13699         * tests/CCKeyframedAnimationCurveTest.cpp: Added.
13700         (WebCore):
13701         (WebCore::expectTranslateX):
13702         (WebCore::TEST):
13703         * tests/CCLayerAnimationControllerTest.cpp:
13704         (WebKitTests::expectTranslateX):
13705         (WebKitTests):
13706         (WebKitTests::TEST):
13707         * tests/CCLayerTreeHostTest.cpp:
13708         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
13709         (WTF::CCLayerTreeHostTest::doBeginTest):
13710
13711 2012-02-23  James Robinson  <jamesr@chromium.org>
13712
13713         [chromium] Clean up GraphicsContext3D initialization paths
13714         https://bugs.webkit.org/show_bug.cgi?id=79321
13715
13716         Reviewed by Kenneth Russell.
13717
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.
13721
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.
13727
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.
13733
13734         There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
13735         within WebCore.
13736
13737         * src/GraphicsContext3DChromium.cpp:
13738         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
13739         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
13740         (WebCore):
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):
13750         (WebKit):
13751         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
13752         (WebKit::WebViewImpl::graphicsContext3D):
13753         * src/WebViewImpl.h:
13754         (WebViewImpl):
13755         * tests/CCLayerTreeHostImplTest.cpp:
13756         (WebKit::CCLayerTreeHostImplTest::createContext):
13757         (CCLayerTreeHostImplTest):
13758         (WebKit::TEST_F):
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:
13766         (TEST):
13767
13768 2012-02-23  Jonathan Backer  <backer@chromium.org>
13769
13770         [chromium] Plumb video damage to the damage tracker.
13771         https://bugs.webkit.org/show_bug.cgi?id=79373
13772
13773         Reviewed by James Robinson.
13774
13775         * src/WebMediaPlayerClientImpl.cpp:
13776         (WebKit::WebMediaPlayerClientImpl::repaint):
13777
13778 2012-02-21  James Robinson  <jamesr@chromium.org>
13779
13780         [chromium] Notify compositor of wheel event registration via ScrollingCoordinator
13781         https://bugs.webkit.org/show_bug.cgi?id=79133
13782
13783         Reviewed by Dimitri Glazkov.
13784
13785         Rips out old wheel event notification and adds unit tests for new LayerChromium property.
13786
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:
13796         (WebKit::TEST_F):
13797         (WebKit):
13798         * tests/LayerChromiumTest.cpp:
13799         * tests/WebCompositorInputHandlerImplTest.cpp:
13800
13801 2012-02-23  Adrienne Walker  <enne@google.com>
13802
13803         Unreviewed, rolling out r108666.
13804         http://trac.webkit.org/changeset/108666
13805         https://bugs.webkit.org/show_bug.cgi?id=79321
13806
13807         Breaks webplugin tests: http://goo.gl/CoHIi
13808
13809         * src/GraphicsContext3DChromium.cpp:
13810         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
13811         (WebCore):
13812         (WebCore::GraphicsContext3DPrivate::create):
13813         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
13814         (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
13815         (WebCore::GraphicsContext3DPrivate::platformTexture):
13816         (WebCore::GraphicsContext3D::create):
13817         * src/GraphicsContext3DPrivate.h:
13818         (WebKit):
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):
13828         (WebKit::TEST_F):
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:
13836         (TEST):
13837
13838 2012-02-23  Daniel Sievers  <sievers@chromium.org>
13839
13840         [Chromium] Add video stream texture support
13841         https://bugs.webkit.org/show_bug.cgi?id=78398
13842
13843         This upstreams the abstraction used on Android for
13844         hardware video decoding with the compositor.
13845
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
13850         be displayed.
13851
13852         Reviewed by James Robinson.
13853
13854         * WebKit.gyp:
13855         * public/WebMediaPlayer.h:
13856         (WebKit):
13857         (WebKit::WebMediaPlayer::setStreamTextureClient):
13858         (WebMediaPlayer):
13859         * public/WebStreamTextureClient.h: Copied from Source/WebKit/chromium/public/WebVideoFrame.h.
13860         (WebKit):
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):
13868         (WebKit):
13869         (WebKit::WebMediaPlayerClientImpl::didUpdateMatrix):
13870         * src/WebMediaPlayerClientImpl.h:
13871         (WebMediaPlayerClientImpl):
13872
13873 2012-02-22  James Robinson  <jamesr@chromium.org>
13874
13875         [chromium] Clean up GraphicsContext3D initialization paths
13876         https://bugs.webkit.org/show_bug.cgi?id=79321
13877
13878         Reviewed by Kenneth Russell.
13879
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.
13883
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.
13889
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.
13895
13896         There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
13897         within WebCore.
13898
13899         * src/GraphicsContext3DChromium.cpp:
13900         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
13901         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
13902         (WebCore):
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):
13916         (WebKit::TEST_F):
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:
13924         (TEST):
13925
13926 2012-02-23  Greg Billock  <gbillock@google.com>
13927
13928         Add UserGestureIndicator capability to Chromium API.
13929         https://bugs.webkit.org/show_bug.cgi?id=77690
13930
13931         Reviewed by Darin Fisher.
13932
13933         * WebKit.gyp:
13934         * public/WebScopedUserGesture.h: Added.
13935         * src/WebScopedUserGesture.cpp: Added.
13936
13937 2012-02-23  Peter Beverloo  <peter@chromium.org>
13938
13939         Unreviewed, rolling out r108627 and r108630.
13940         https://bugs.webkit.org/show_bug.cgi?id=79367
13941
13942         ffmpeg is creating issues and was just reverted upstream as well.
13943
13944         * DEPS:
13945
13946 2012-02-23  Peter Beverloo  <peter@chromium.org>
13947
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
13952
13953         * DEPS:
13954
13955 2012-02-23  Peter Beverloo  <peter@chromium.org>
13956
13957         Unreviewed.  Rolled DEPS.
13958
13959         * DEPS:
13960
13961 2012-02-22  Hajime Morrita  <morrita@chromium.org>
13962
13963         NOTIFICATIONS should be implemented as PageSupplement
13964         https://bugs.webkit.org/show_bug.cgi?id=79052
13965
13966         Reviewed by Adam Barth.
13967
13968         * src/WebViewImpl.cpp:
13969         (WebKit::WebViewImpl::WebViewImpl):
13970
13971 2012-02-22  Dana Jansens  <danakj@chromium.org>
13972
13973         [chromium] Add unit test for surface occlusion
13974         https://bugs.webkit.org/show_bug.cgi?id=79302
13975
13976         Reviewed by James Robinson.
13977
13978         * tests/CCOcclusionTrackerTest.cpp:
13979         (WebCore::TEST):
13980         (WebCore):
13981
13982 2012-02-22  James Robinson  <jamesr@chromium.org>
13983
13984         Remove GraphicsContext3D::paintsIntoCanvasBuffer and unify WebGL and canvas 2d logic
13985         https://bugs.webkit.org/show_bug.cgi?id=79317
13986
13987         Reviewed by Kenneth Russell.
13988
13989         Remove paintsIntoCanvasBuffer() implementations.
13990
13991         * src/GraphicsContext3DChromium.cpp:
13992         (WebCore):
13993         * src/GraphicsContext3DPrivate.h:
13994
13995 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
13996
13997         Unreviewed, rolling out r108590.
13998         http://trac.webkit.org/changeset/108590
13999
14000         I mistakenly disabled tests even though the fix was already
14001         in.
14002
14003         * tests/CCOcclusionTrackerTest.cpp:
14004         (WebCore::TEST):
14005
14006 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
14007
14008         [Chromium] Unreviewed. Disable two tests from CCOcclusionTrackerTest
14009         which cause assertion failures.
14010
14011         * tests/CCOcclusionTrackerTest.cpp:
14012         (WebCore):
14013         (WebCore::TEST):
14014
14015 2012-02-22  Dana Jansens  <danakj@chromium.org>
14016
14017         [chromium] Fix CCOcclusionTracker unit test assertion
14018         https://bugs.webkit.org/show_bug.cgi?id=79275
14019
14020         Reviewed by James Robinson.
14021
14022         * tests/CCOcclusionTrackerTest.cpp:
14023         (WebCore::TEST):
14024
14025 2012-02-22  Ian Vollick  <vollick@chromium.org>
14026
14027         [chromium] Plumb from GraphicsLayer to the cc thread animation code
14028         https://bugs.webkit.org/show_bug.cgi?id=75874
14029
14030         Reviewed by James Robinson.
14031
14032         * WebKit.gypi:
14033         * public/WebSettings.h:
14034         * public/platform/WebLayerTreeView.h:
14035         (WebKit::WebLayerTreeView::Settings::Settings):
14036         (Settings):
14037         * src/WebLayerTreeView.cpp:
14038         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
14039         * src/WebSettingsImpl.cpp:
14040         (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
14041         (WebKit):
14042         * src/WebSettingsImpl.h:
14043         (WebSettingsImpl):
14044         * src/WebViewImpl.cpp:
14045         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
14046         * tests/CCActiveAnimationTest.cpp:
14047         (WebCore::createActiveAnimation):
14048         * tests/CCAnimationTestCommon.cpp: Added.
14049         (WebKitTests):
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.
14065         (WebCore):
14066         (WebKitTests):
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.
14085         (WebKitTests):
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):
14096         (WTF):
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):
14110         (WTF::TEST_F):
14111         * tests/TreeSynchronizerTest.cpp:
14112         (FakeLayerAnimationController):
14113         (WebKitTests::FakeLayerAnimationController::create):
14114         (WebKitTests::FakeLayerAnimationController::synchronizedAnimations):
14115         (WebKitTests::FakeLayerAnimationController::FakeLayerAnimationController):
14116         (WebKitTests::FakeLayerAnimationController::synchronizeAnimations):
14117         (WebKitTests):
14118         (WebKitTests::TEST):
14119
14120 2012-02-21  Ryosuke Niwa  <rniwa@webkit.org>
14121
14122         Remove the remaining uses of CSSStyleDeclaration in Editor
14123         https://bugs.webkit.org/show_bug.cgi?id=78939
14124
14125         Reviewed by Enrica Casucci.
14126
14127         * src/EditorClientImpl.cpp:
14128         (WebKit::EditorClientImpl::shouldApplyStyle):
14129         * src/EditorClientImpl.h:
14130         (EditorClientImpl):
14131
14132 2012-02-22  Daniel Cheng  <dcheng@chromium.org>
14133
14134         [chromium] Cleanup unused WebDragData methods after r107846
14135         https://bugs.webkit.org/show_bug.cgi?id=78837
14136
14137         Reviewed by Tony Chang.
14138
14139         The deleted methods have been replaced by items() and setItems().
14140
14141         * public/platform/WebDragData.h:
14142         (WebDragData):
14143         * src/WebDragData.cpp:
14144         (WebKit::WebDragData::addItem): Add ensureMutable() call to verify preconditions for
14145                                         mutating the item store.
14146
14147 2012-02-22  Tim Dresser  <tdresser@chromium.org>
14148
14149         CCLayerTreeHostImpl calls didDraw more frequently than willDraw
14150         https://bugs.webkit.org/show_bug.cgi?id=79139
14151
14152         Reviewed by James Robinson.
14153
14154         * tests/CCLayerTreeHostImplTest.cpp:
14155         (WebKit::DidDrawCheckLayer::willDraw):
14156         (DidDrawCheckLayer):
14157         (WebKit::DidDrawCheckLayer::willDrawCalled):
14158         (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
14159         (WebKit::TEST_F):
14160         (WebKit):
14161
14162 2012-02-22  Dana Jansens  <danakj@chromium.org>
14163
14164         [Chromium] New CCOcclusionTracker class with tests
14165         https://bugs.webkit.org/show_bug.cgi?id=78549
14166
14167         Reviewed by James Robinson.
14168
14169         * WebKit.gypi:
14170         * tests/CCLayerTreeHostCommonTest.cpp:
14171         (WebCore):
14172         * tests/CCOcclusionTrackerTest.cpp: Added.
14173         (WebCore):
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):
14183         (WebCore::TEST):
14184
14185 2012-02-22  Hao Zheng  <zhenghao@chromium.org>
14186
14187         [chromium] Build WebKit with MEDIA_STREAM disabled.
14188         https://bugs.webkit.org/show_bug.cgi?id=79214
14189
14190         Reviewed by Kent Tamura.
14191
14192         * src/UserMediaClientImpl.h:
14193
14194 2012-02-20  Roland Steiner  <rolandsteiner@chromium.org>
14195
14196         <style scoped>: Add runtime-flag
14197         https://bugs.webkit.org/show_bug.cgi?id=79074
14198
14199         Added a runtime-flag.
14200         Enable default STYLE_SCOPED compile-time flag for Chromium.
14201
14202         Reviewed by Dimitri Glazkov.
14203
14204         * features.gypi: enable STYLE_SCOPED
14205         * public/WebRuntimeFeatures.h:
14206         (WebRuntimeFeatures):
14207         * src/WebRuntimeFeatures.cpp:
14208         (WebKit::WebRuntimeFeatures::enableStyleScoped):
14209         (WebKit):
14210         (WebKit::WebRuntimeFeatures::isStyleScopedEnabled):
14211
14212 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
14213
14214         Unreviewed, rolling out r108453.
14215         http://trac.webkit.org/changeset/108453
14216         https://bugs.webkit.org/show_bug.cgi?id=78549
14217
14218         Broke Chromium's webkit_unit_tests.
14219
14220         * WebKit.gypi:
14221         * tests/CCLayerTreeHostCommonTest.cpp:
14222         (WebCore::TEST):
14223         (WebCore):
14224         * tests/CCOcclusionTrackerTest.cpp: Removed.
14225
14226 2012-02-22  Ryosuke Niwa  <rniwa@webkit.org>
14227
14228         Remove the remaining uses of CSSStyleDeclaration in Editor
14229         https://bugs.webkit.org/show_bug.cgi?id=78939
14230
14231         Reviewed by Enrica Casucci.
14232
14233         * src/EditorClientImpl.cpp:
14234         (WebKit::EditorClientImpl::shouldApplyStyle):
14235         * src/EditorClientImpl.h:
14236         (EditorClientImpl):
14237
14238 2012-02-22  Dana Jansens  <danakj@chromium.org>
14239
14240         [chromium] Cull quads outside of the scissoring damage rect
14241         https://bugs.webkit.org/show_bug.cgi?id=79181
14242
14243         Reviewed by James Robinson.
14244
14245         * tests/CCQuadCullerTest.cpp:
14246         (WebCore::TEST):
14247         (WebCore):
14248
14249 2012-02-21  Dana Jansens  <danakj@chromium.org>
14250
14251         [Chromium] New CCOcclusionTracker class with tests
14252         https://bugs.webkit.org/show_bug.cgi?id=78549
14253
14254         Reviewed by James Robinson.
14255
14256         * WebKit.gypi:
14257         * tests/CCLayerTreeHostCommonTest.cpp:
14258         (WebCore):
14259         * tests/CCOcclusionTrackerTest.cpp: Added.
14260         (WebCore):
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):
14270         (WebCore::TEST):
14271
14272 2012-02-21  MORITA Hajime  <morrita@google.com>
14273
14274         INPUT_SPEECH should be implemented as a PageSupplement.
14275         https://bugs.webkit.org/show_bug.cgi?id=79051
14276
14277         Reviewed by Adam Barth.
14278
14279         * src/WebViewImpl.cpp:
14280         (WebKit::WebViewImpl::WebViewImpl):
14281
14282 2012-02-20  MORITA Hajime  <morrita@google.com>
14283
14284         MEDIA_STREAM should be implemented as a PageSupplement.
14285         https://bugs.webkit.org/show_bug.cgi?id=79050
14286
14287         Reviewed by Adam Barth.
14288
14289         * src/WebViewImpl.cpp:
14290         (WebKit::WebViewImpl::WebViewImpl):
14291
14292 2012-02-21  Dana Jansens  <danakj@chromium.org>
14293
14294         [chromium] Painting a layer clears opaque rect in untouched tiles
14295         https://bugs.webkit.org/show_bug.cgi?id=79157
14296
14297         Reviewed by James Robinson.
14298
14299         * tests/TiledLayerChromiumTest.cpp:
14300         (WTF::TEST):
14301
14302 2012-02-21  James Robinson  <jamesr@chromium.org>
14303
14304         Enable ScrollingCoordinator in chromium whenever compositing is enabled
14305         https://bugs.webkit.org/show_bug.cgi?id=79165
14306
14307         Reviewed by Adam Barth.
14308
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):
14315
14316 2012-02-21  Daniel Cheng  <dcheng@chromium.org>
14317
14318         [chromium] Fix image drag out on Chromium
14319         https://bugs.webkit.org/show_bug.cgi?id=79158
14320
14321         Reviewed by Tony Chang.
14322
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
14326         had diverged.
14327
14328         * src/WebDragData.cpp:
14329         (WebKit::WebDragData::items):
14330
14331 2012-02-21  David Grogan  <dgrogan@chromium.org>
14332
14333         IndexedDB: webFrame isn't threadsafe, don't use it from a worker thread
14334         https://bugs.webkit.org/show_bug.cgi?id=78659
14335
14336         After crrev.com/121669, indexed db doesn't use the web frame for
14337         anything if called from a web worker.
14338
14339         No new tests - this check was defensive and possibly not ever
14340         triggered.
14341
14342         Reviewed by Tony Chang.
14343
14344         * src/IDBFactoryBackendProxy.cpp:
14345         (WebKit::IDBFactoryBackendProxy::openFromWorker):
14346
14347 2012-02-21  Yury Semikhatsky  <yurys@chromium.org>
14348
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
14351
14352         Worker script execution will be interrupted for dispatching inspector commands.
14353
14354         Reviewed by Pavel Feldman.
14355
14356         * src/WebSharedWorkerImpl.cpp:
14357         (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
14358
14359 2012-02-20  Peter Beverloo  <peter@chromium.org>
14360
14361         Unreviewed.  Rolled DEPS.
14362
14363         * DEPS:
14364
14365 2012-02-20  Kenichi Ishibashi  <bashi@chromium.org>
14366
14367         [WebSocket] Add deflater/inflater classes
14368         https://bugs.webkit.org/show_bug.cgi?id=78449
14369
14370         Add tests which ensure WebSocketDeflater/WebSocketInflater can
14371         compress/decompress data correctly.
14372
14373         Reviewed by Kent Tamura.
14374
14375         * WebKit.gypi: Added zlib dependency.
14376         * WebKitUnitTests.gyp: Ditto.
14377         * tests/WebSocketDeflaterTest.cpp: Added.
14378         (WebCore):
14379         (WebCore::TEST):
14380
14381 2012-02-17  Yury Semikhatsky  <yurys@chromium.org>
14382
14383         [Chromium] Web Inspector: terminated workers are not removed from dedicated worker list
14384         https://bugs.webkit.org/show_bug.cgi?id=78899
14385
14386         Pass original WorkerContextProxy object to the inspector instrumentation instead
14387         of Chromium-specific one for consistency with WorkerMessagingProxy implementation
14388         in WebCore.
14389
14390         Reviewed by Pavel Feldman.
14391
14392         * src/WebWorkerClientImpl.cpp:
14393         (WebKit::WebWorkerClientImpl::startWorkerContext):
14394
14395 2012-02-18  raman Tenneti  <rtenneti@chromium.org>
14396
14397         Track the NPN protocol version negotiated with the server
14398         https://bugs.webkit.org/show_bug.cgi?id=77349
14399
14400         Reviewed by Darin Fisher.
14401
14402         [chromium] Added ExtraData to WebURLResponse.
14403
14404         * WebKit.gypi:
14405         * public/platform/WebURLResponse.h:
14406         (ExtraData):
14407         (WebKit::WebURLResponse::ExtraData::~ExtraData):
14408         (WebURLResponse):
14409         * src/WebURLResponse.cpp:
14410         (WebKit::WebURLResponse::extraData):
14411         (WebKit):
14412         (WebKit::WebURLResponse::setExtraData):
14413         * tests/WebURLResponseTest.cpp: Added.
14414         (WebKit):
14415         (TestExtraData):
14416         (WebKit::TestExtraData::TestExtraData):
14417         (WebKit::TestExtraData::~TestExtraData):
14418         (WebKit::TEST):
14419
14420 2012-02-17  Joshua Bell  <jsbell@chromium.org>
14421
14422         IndexedDB: Support overloaded methods that take IDBKey or IDBKeyRange
14423         https://bugs.webkit.org/show_bug.cgi?id=78399
14424
14425         Implements the WebKit API for IDBObjectStore.delete(IDBKeyRange),
14426         to exercise the overload capability.
14427
14428         Reviewed by Tony Chang.
14429
14430         * src/IDBObjectStoreBackendProxy.cpp:
14431         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
14432         (WebKit):
14433         * src/IDBObjectStoreBackendProxy.h:
14434         (IDBObjectStoreBackendProxy):
14435         * src/WebIDBObjectStoreImpl.cpp:
14436         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
14437         (WebKit):
14438         * src/WebIDBObjectStoreImpl.h:
14439         (WebIDBObjectStoreImpl):
14440
14441 2012-02-17  Michal Mocny  <mmocny@google.com>
14442
14443         [chromium] GL_CHROMIUM_gpu_memory_manager extension
14444         https://bugs.webkit.org/show_bug.cgi?id=77155
14445
14446         Reviewed by James Robinson.
14447
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):
14455         (WebCore):
14456         * src/GraphicsContext3DChromium.cpp:
14457         (WebCore::GraphicsContext3D::~GraphicsContext3D):
14458         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
14459         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
14460         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
14461         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
14462         (WebCore):
14463         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
14464         * src/GraphicsContext3DPrivate.h:
14465         (WebCore):
14466         * tests/FakeWebGraphicsContext3D.h:
14467         (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
14468         (FakeWebGraphicsContext3D):
14469
14470 2012-02-17  Mihnea Ovidenie  <mihnea@adobe.com>
14471
14472         CSS regions enabled by default
14473         https://bugs.webkit.org/show_bug.cgi?id=78525
14474
14475         Reviewed by David Hyatt.
14476
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.
14480
14481         * public/WebSettings.h:
14482         * src/WebSettingsImpl.cpp:
14483         (WebKit::WebSettingsImpl::setExperimentalCSSRegionsEnabled):
14484         (WebKit):
14485         * src/WebSettingsImpl.h:
14486         (WebSettingsImpl):
14487
14488 2012-02-17  Scott Graham  <scottmg@chromium.org>
14489
14490         [Chromium] pack Gamepad shared memory structure
14491         https://bugs.webkit.org/show_bug.cgi?id=78022
14492
14493         Reviewed by Darin Fisher.
14494
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.
14498
14499         * public/platform/WebGamepad.h:
14500         (WebKit):
14501         * public/platform/WebGamepads.h:
14502         (WebKit):
14503
14504 2012-02-17  Tim Dresser  <tdresser@chromium.org>
14505
14506         [chromium] Refactor video drawing to be more data driven
14507         https://bugs.webkit.org/show_bug.cgi?id=76720
14508
14509         Reviewed by James Robinson.
14510
14511         CCLayerTreeHostImplTest.didDrawCalledOnAllLayers ensures that
14512         CCLayerImpl::didDraw() is called on all layers, including layers
14513         on different render surfaces.
14514
14515         * tests/CCLayerTreeHostImplTest.cpp:
14516         (DidDrawCheckLayer):
14517         (WebKit::DidDrawCheckLayer::create):
14518         (WebKit::DidDrawCheckLayer::didDraw):
14519         (WebKit::DidDrawCheckLayer::didDrawCalled):
14520         (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
14521         (WebKit):
14522         (WebKit::TEST_F):
14523
14524 2012-02-17  Ilya Tikhonovsky  <loislo@chromium.org>
14525
14526         Unreviewed, rolling out r108071.
14527         http://trac.webkit.org/changeset/108071
14528         https://bugs.webkit.org/show_bug.cgi?id=77155
14529
14530         chromium-mac compilation failed
14531
14532         * public/platform/WebGraphicsContext3D.h:
14533         (WebGraphicsContext3D):
14534         * src/Extensions3DChromium.cpp:
14535         * src/GraphicsContext3DChromium.cpp:
14536         (WebCore::GraphicsContext3D::~GraphicsContext3D):
14537         * src/GraphicsContext3DPrivate.h:
14538         (WebCore):
14539         * tests/FakeWebGraphicsContext3D.h:
14540
14541 2012-02-17  Michal Mocny  <mmocny@google.com>
14542
14543         [chromium] GL_CHROMIUM_gpu_memory_manager extension
14544         https://bugs.webkit.org/show_bug.cgi?id=77155
14545
14546         Reviewed by James Robinson.
14547
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):
14555         (WebCore):
14556         * src/GraphicsContext3DChromium.cpp:
14557         (WebCore::GraphicsContext3D::~GraphicsContext3D):
14558         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
14559         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
14560         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
14561         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
14562         (WebCore):
14563         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
14564         * src/GraphicsContext3DPrivate.h:
14565         (WebCore):
14566         * tests/FakeWebGraphicsContext3D.h:
14567         (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
14568         (FakeWebGraphicsContext3D):
14569
14570 2012-02-17  Ilya Tikhonovsky  <loislo@chromium.org>
14571
14572         Unreviewed. Chromium DEPS roll
14573
14574         * DEPS: from 122122 to 122498
14575
14576 2012-02-16  Alexandre Elias  <aelias@google.com>
14577
14578         [chromium] Bundle page scale factor and limits in CCLayerTreeHost
14579         https://bugs.webkit.org/show_bug.cgi?id=78762
14580
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.
14585
14586         Reviewed by James Robinson.
14587
14588         * src/WebViewImpl.cpp:
14589         (WebKit::WebViewImpl::computePageScaleFactorLimits):
14590         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
14591         (WebKit::WebViewImpl::updateLayerTreeViewport):
14592         * tests/CCLayerTreeHostTest.cpp:
14593         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
14594
14595 2012-02-16  Varun Jain  <varunjain@google.com>
14596
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
14599
14600         Reviewed by James Robinson.
14601
14602         * src/WebViewImpl.cpp:
14603         (std):
14604         (WebKit):
14605         (WebKit::WebViewImpl::computeBlockBounds):
14606         (WebKit::WebViewImpl::widenRectWithinPageBounds):
14607         (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
14608         * src/WebViewImpl.h:
14609         (WebViewImpl):
14610         * tests/WebFrameTest.cpp:
14611         (WebKit):
14612         (WebKit::TEST_F):
14613         * tests/data/get_scale_for_auto_zoom_into_div_test.html: Added.
14614
14615 2012-02-16  Sami Kyostila  <skyostil@chromium.org>
14616
14617         [chromium] LayerChromium::setNeedsDisplay does not apply contents scale correctly
14618         https://bugs.webkit.org/show_bug.cgi?id=77464
14619
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.
14623
14624         Reviewed by James Robinson.
14625
14626         * tests/LayerChromiumTest.cpp:
14627         * tests/TiledLayerChromiumTest.cpp:
14628         (WTF::FakeTiledLayerChromium::setNeedsDisplayRect):
14629         (FakeTiledLayerChromium):
14630         (WTF::FakeTiledLayerChromium::lastNeedsDisplayRect):
14631         (WTF::TEST):
14632         (WTF):
14633
14634 2012-02-16  MORITA Hajime  <morrita@google.com>
14635
14636         https://bugs.webkit.org/show_bug.cgi?id=78065
14637         [Chromium] Should eliminate WebTextCheckingResult legacy APIs
14638
14639         Reviewed by Kent Tamura.
14640
14641         Removed unused legacy members.
14642
14643         * public/WebTextCheckingResult.h:
14644         (WebKit::WebTextCheckingResult::WebTextCheckingResult):
14645         (WebTextCheckingResult):
14646         * src/AssertMatchingEnums.cpp:
14647
14648 2012-02-16  Evan Martin  <evan@chromium.org>
14649
14650         [chromium] pull third_party/gold to fix linux build
14651         https://bugs.webkit.org/show_bug.cgi?id=78842
14652
14653         Reviewed by Tony Chang.
14654
14655         The Chrome build now depends on third_party/gold also being checked out.
14656
14657         * DEPS:
14658
14659 2012-02-15  Michael Nordman  <michaeln@google.com>
14660
14661         Fix bugs in the implementation of WebDatabase::closeDatabaseImmediately.
14662         https://bugs.webkit.org/show_bug.cgi?id=78841
14663
14664         WebDatabase now delegates this function entirely to DatabaseTracker.
14665         This is part of resolving http://crbug.com/98939
14666
14667         Reviewed by David Levin.
14668
14669         * src/WebDatabase.cpp:
14670         (WebKit::WebDatabase::closeDatabaseImmediately):
14671
14672 2012-02-16  Dana Jansens  <danakj@chromium.org>
14673
14674         [Chromium] Occlusion tracking with CSS filters
14675         https://bugs.webkit.org/show_bug.cgi?id=77498
14676
14677         Reviewed by James Robinson.
14678
14679         * tests/CCLayerTreeHostTest.cpp:
14680         (CCLayerTreeHostTestLayerOcclusionWithFilters):
14681         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::CCLayerTreeHostTestLayerOcclusionWithFilters):
14682         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
14683         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::afterTest):
14684         (WTF):
14685
14686 2012-02-16  Joshua Bell  <jsbell@chromium.org>
14687
14688         IndexedDB: Chromium WebKit API support for IDBObjectStore.delete(IDBKeyRange)
14689         https://bugs.webkit.org/show_bug.cgi?id=78619
14690
14691         Add an overload to WebIDBObjectStore::deleteFunction(). First part of a two-sided patch.
14692
14693         Reviewed by Darin Fisher.
14694
14695         * public/WebIDBObjectStore.h:
14696         (WebKit::WebIDBObjectStore::deleteFunction):
14697
14698 2012-02-16  Dana Jansens  <danakj@chromium.org>
14699
14700         [chromium] Clipping/Transforms applied in wrong order in opaque paint tracking
14701         https://bugs.webkit.org/show_bug.cgi?id=78775
14702
14703         Reviewed by Stephen White.
14704
14705         * tests/PlatformContextSkiaTest.cpp:
14706         (WebCore::TEST):
14707
14708 2012-02-16  Daniel Cheng  <dcheng@chromium.org>
14709
14710         [chromium] Add WEBKIT_EXPORT to new WebDragData methods.
14711         https://bugs.webkit.org/show_bug.cgi?id=78843
14712
14713         Reviewed by Tony Chang.
14714
14715         * public/platform/WebDragData.h:
14716         (WebDragData):
14717
14718 2012-02-16  Viet-Trung Luu  <viettrungluu@chromium.org>
14719
14720         [chromium] Add method to WebPluginContainer to check if a rectangle is topmost
14721         https://bugs.webkit.org/show_bug.cgi?id=78166
14722
14723         Reviewed by Darin Fisher.
14724
14725         * public/WebPluginContainer.h:
14726         (WebPluginContainer):
14727         * src/WebPluginContainerImpl.cpp:
14728         * src/WebPluginContainerImpl.h:
14729         (WebPluginContainerImpl):
14730
14731 2012-02-16  Yosifumi Inoue  <yosin@chromium.org>
14732
14733         Build Fix: R107894 breaks Chromium Linux Build.
14734         https://bugs.webkit.org/show_bug.cgi?id=78790
14735
14736         WebDragDataPrivate::types, inherited from ChromiumDataObject, returns PassRef<DOMStringList> since r107894. However, WebDragData expected to get old return value type HashSet<String>.
14737
14738         Reviewed by Kent Tamura.
14739
14740         * src/WebDragData.cpp:
14741         (WebKit::WebDragData::items): Use RefPtr<DOMStringList> rather than HashSet<String> for value of m_private->types().
14742
14743 2012-02-15  Sami Kyostila  <skyostil@google.com>
14744
14745         Enable -webkit-overflow-scrolling CSS property
14746         https://bugs.webkit.org/show_bug.cgi?id=78664
14747
14748         Reviewed by Eric Seidel.
14749
14750         * features.gypi:
14751
14752 2012-02-15  Tommy Widenflycht  <tommyw@google.com>
14753
14754         MediaStream API: Removing SecurityContext from the embedder API
14755         https://bugs.webkit.org/show_bug.cgi?id=73816
14756
14757         Reviewed by Darin Fisher.
14758
14759         * bridge/PeerConnectionHandler.cpp:
14760         (WebCore::PeerConnectionHandler::create):
14761         (WebCore::PeerConnectionHandler::PeerConnectionHandler):
14762         * bridge/PeerConnectionHandlerInternal.cpp:
14763         (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
14764         * bridge/PeerConnectionHandlerInternal.h:
14765         (WebCore):
14766         (PeerConnectionHandlerInternal):
14767         * public/platform/WebPeerConnectionHandler.h:
14768         (WebPeerConnectionHandler):
14769         (WebKit::WebPeerConnectionHandler::initialize):
14770
14771 2012-02-15  Peter Beverloo  <peter@chromium.org>
14772
14773         [Chromium] Roll DEPS to r122122
14774         https://bugs.webkit.org/show_bug.cgi?id=78754
14775
14776         Unreviewed DEPS roll.
14777
14778         * DEPS:
14779
14780 2012-02-01  Daniel Cheng  <dcheng@chromium.org>
14781
14782         [chromium] Add setter/getter to expose drag data as a list of items
14783         https://bugs.webkit.org/show_bug.cgi?id=77125
14784
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.
14792
14793         Reviewed by Darin Fisher.
14794
14795         * public/platform/WebDragData.h:
14796         (WebKit):
14797         (WebDragData):
14798         * src/WebDragData.cpp:
14799         (WebKit::WebDragData::items):
14800         (WebKit):
14801         (WebKit::WebDragData::setItems):
14802         (WebKit::WebDragData::addItem):
14803
14804 2012-02-15  Sadrul Habib Chowdhury  <sadrul@chromium.org>
14805
14806         Notify ChromeClient when touch-event handlers are installed/removed.
14807         https://bugs.webkit.org/show_bug.cgi?id=77440
14808
14809         Reviewed by Darin Fisher and Ryosuke Niwa.
14810
14811         * public/WebViewClient.h:
14812         (WebKit::WebViewClient::numberOfTouchEventHandlersChanged):
14813         * src/ChromeClientImpl.cpp:
14814         (WebKit::ChromeClientImpl::numTouchEventHandlersChanged):
14815         (WebKit):
14816         * src/ChromeClientImpl.h:
14817         (ChromeClientImpl):
14818         * src/WebViewImpl.cpp:
14819         (WebKit::WebViewImpl::numberOfTouchEventHandlersChanged):
14820         (WebKit):
14821         * src/WebViewImpl.h:
14822         (WebViewImpl):
14823
14824 2012-02-15  Anders Carlsson  <andersca@apple.com>
14825
14826         Remove ScrollableArea::handleGestureEvent
14827         https://bugs.webkit.org/show_bug.cgi?id=78661
14828
14829         Reviewed by Adam Roben.
14830
14831         Update for WebCore changes.
14832
14833         * src/WebPluginContainerImpl.cpp:
14834         * src/WebPluginContainerImpl.h:
14835         (WebPluginContainerImpl):
14836         * src/WebViewImpl.cpp:
14837         (WebKit::WebViewImpl::gestureEvent):
14838
14839 2012-02-14  Takashi Toyoshima  <toyoshim@chromium.org>
14840
14841         Provide SocketStreamHandleInternal::toWebSocketStreamHandle(SocketStreamHandle*).
14842         https://bugs.webkit.org/show_bug.cgi?id=78581
14843
14844         Reviewed by Kent Tamura.
14845
14846         Now, there is no way to convert SocketStreamHandle to
14847         WebSocketStreamHandle. In subsequent changes, I'll use this function
14848         in FrameLoaderClientImpl.
14849
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.
14852         (WebKit):
14853         (WebCore):
14854         (SocketStreamHandleInternal):
14855         (WebCore::SocketStreamHandleInternal::create):
14856         (WebCore::SocketStreamHandleInternal::toWebSocketStreamHandle):
14857         * WebKit.gyp: Add SocketStreamHandleInternal.h entry.
14858
14859 2012-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
14860
14861         Unreviewed, rolling out r107766.
14862         http://trac.webkit.org/changeset/107766
14863         https://bugs.webkit.org/show_bug.cgi?id=78665
14864
14865         Breaks Chromium Win build (Requested by bashi1 on #webkit).
14866
14867         * WebKit.gypi:
14868         * tests/WebSocketDeflaterTest.cpp: Removed.
14869
14870 2012-02-14  Kenichi Ishibashi  <bashi@chromium.org>
14871
14872         [WebSocket] Add extension attribute support
14873         https://bugs.webkit.org/show_bug.cgi?id=78557
14874
14875         Add WebSocketExtensionDispatcher::acceptedExtensions() checks.
14876
14877         Reviewed by Kent Tamura.
14878
14879         * tests/WebSocketExtensionDispatcherTest.cpp:
14880         (WebCore::TEST_F):
14881
14882 2012-02-14  Kenichi Ishibashi  <bashi@chromium.org>
14883
14884         [WebSocket] Add deflater/inflater classes.
14885         https://bugs.webkit.org/show_bug.cgi?id=78449
14886
14887         Add tests which ensure WebSocketDeflater/WebSocketInflater can
14888         compress/decompress data correctly.
14889
14890         Reviewed by Kent Tamura.
14891
14892         * WebKit.gypi:
14893         * tests/WebSocketDeflaterTest.cpp: Added.
14894         (WebCore):
14895         (WebCore::TEST):
14896
14897 2012-02-14  Dana Jansens  <danakj@chromium.org>
14898
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
14901
14902         Reviewed by James Robinson.
14903
14904         * tests/CCLayerImplTest.cpp:
14905         (WebCore::TEST):
14906
14907 2012-02-14  Ramya Chandrasekaran  <cramya@google.com>
14908
14909         Last character display for passwords in Android.
14910         https://bugs.webkit.org/show_bug.cgi?id=78532
14911
14912         Reviewed by Adam Barth.
14913
14914         * public/WebSettings.h:
14915         * src/WebSettingsImpl.cpp:
14916         (WebKit::WebSettingsImpl::setPasswordEchoEnabled):
14917         (WebKit):
14918         (WebKit::WebSettingsImpl::setPasswordEchoDurationInSeconds):
14919         * src/WebSettingsImpl.h:
14920         (WebSettingsImpl):
14921
14922 2012-02-14  David Reveman  <reveman@chromium.org>
14923
14924         [Chromium] Expose perTilePainting setting through WebLayerTreeView::Settings interface.
14925         https://bugs.webkit.org/show_bug.cgi?id=76937
14926
14927         Reviewed by James Robinson.
14928
14929         Add perTilePainting to WebLayerTreeView::Settings.
14930
14931         * public/platform/WebLayerTreeView.h:
14932         (WebKit::WebLayerTreeView::Settings::Settings):
14933         (Settings):
14934         * src/WebLayerTreeView.cpp:
14935         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
14936
14937 2012-02-14  Vsevolod Vlasov  <vsevik@chromium.org>
14938
14939         Web Inspector: Make ScriptsNavigator default file selector.
14940         https://bugs.webkit.org/show_bug.cgi?id=78349
14941
14942         Reviewed by Pavel Feldman.
14943
14944         * src/js/Tests.js:
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):
14951
14952 2012-02-14  Hayato Ito  <hayato@chromium.org>
14953
14954         Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
14955         https://bugs.webkit.org/show_bug.cgi?id=77514
14956
14957         Reviewed by Dimitri Glazkov.
14958
14959         NodeType.SHADOW_ROOT_NODE type is finally gone.
14960
14961         * src/WebPageSerializerImpl.cpp:
14962         (WebKit::WebPageSerializerImpl::buildContentForNode):
14963
14964 2012-02-14  David Reveman  <reveman@chromium.org>
14965
14966         [Chromium] Inconsistent initialization of CCSettings in WebLayerTreeView.
14967         https://bugs.webkit.org/show_bug.cgi?id=76927
14968
14969         Reviewed by James Robinson.
14970
14971         Remove unnecessary initialization and include maxPartialTextureUpdates
14972         in FIXME comment.
14973
14974         * src/WebLayerTreeView.cpp:
14975         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
14976
14977 2012-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
14978
14979         Unreviewed, rolling out r107661.
14980         http://trac.webkit.org/changeset/107661
14981         https://bugs.webkit.org/show_bug.cgi?id=78591
14982
14983         crash on lion/qt bots (Requested by hayato on #webkit).
14984
14985         * src/WebPageSerializerImpl.cpp:
14986         (WebKit::WebPageSerializerImpl::buildContentForNode):
14987
14988 2012-02-14  Yuzhu Shen  <yzshen@chromium.com>
14989
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
14993
14994         This change makes WebMouseEventBuilder pass along mouse movement
14995         information properly.
14996
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
15000           about pepper.)
15001         - this change is trivial. It just copies two newly-added data fields
15002           from MouseEvent to WebMouseEventBuilder during conversion.
15003
15004         Reviewed by Tony Chang.
15005
15006         * src/WebInputEventConversion.cpp:
15007         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
15008
15009 2012-02-11  Nikolas Zimmermann  <nzimmermann@rim.com>
15010
15011         Convert svg/animations to use SMIL methods for driving the timeline
15012         https://bugs.webkit.org/show_bug.cgi?id=78422
15013
15014         Reviewed by Dirk Schulze.
15015
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.
15018
15019         * public/WebFrame.h:
15020         (WebFrame):
15021         * src/WebFrameImpl.cpp:
15022         * src/WebFrameImpl.h:
15023         (WebFrameImpl):
15024
15025 2012-02-13  Mihai Parparita  <mihaip@chromium.org>
15026
15027         [Chromium] Remove BoundObject
15028         https://bugs.webkit.org/show_bug.cgi?id=78531
15029
15030         Reviewed by Pavel Feldman.
15031
15032         Remove the BoundObject class, references to it were removed in r56999.
15033
15034         * WebKit.gyp:
15035         * src/BoundObject.cpp: Removed.
15036         * src/BoundObject.h: Removed.
15037         * src/WebDevToolsFrontendImpl.cpp:
15038
15039 2012-02-13  W. James MacLean  <wjmaclean@chromium.org>
15040
15041         [chromium] Remove obsolete zoom animation pathway.
15042         https://bugs.webkit.org/show_bug.cgi?id=78359
15043
15044         Reviewed by James Robinson.
15045
15046         This patch removes dead code from the previous incarnation of zoom animation for chromium.
15047
15048         * src/WebViewImpl.cpp:
15049
15050 2012-02-13  Hayato Ito  <hayato@chromium.org>
15051
15052         Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
15053         https://bugs.webkit.org/show_bug.cgi?id=77514
15054
15055         Reviewed by Dimitri Glazkov.
15056
15057         NodeType.SHADOW_ROOT_NODE type is finally gone.
15058
15059         * src/WebPageSerializerImpl.cpp:
15060         (WebKit::WebPageSerializerImpl::buildContentForNode):
15061
15062 2012-02-13  Nico Weber  <thakis@chromium.org>
15063
15064         [chromium] Let WebKit::initialize call InitWebCoreSystemInterface on mac.
15065         https://bugs.webkit.org/show_bug.cgi?id=78246
15066
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).
15070
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.
15074
15075         Reviewed by Darin Fisher.
15076
15077         * src/WebKit.cpp:
15078         (WebKit::initializeWithoutV8):
15079
15080 2012-02-13  Yosifumi Inoue  <yosin@chromium.org>
15081
15082         [Forms] Use enum instead of bool for HTMLInputElement::setValue
15083         https://bugs.webkit.org/show_bug.cgi?id=75217
15084
15085         Reviewed by Kent Tamura.
15086
15087         * src/WebInputElement.cpp:
15088         (WebKit::WebInputElement::setValue): Use enum for HTMLInputElement::setValue
15089
15090 2012-02-12  Hajime Morrita  <morrita@chromium.org>
15091
15092         Page should have less intrusive way to associate API implementation objects.
15093         https://bugs.webkit.org/show_bug.cgi?id=78085
15094
15095         Reviewed by Adam Barth.
15096
15097         * src/WebViewImpl.cpp:
15098         (WebKit::WebViewImpl::WebViewImpl):
15099
15100 2012-02-10  David Grogan  <dgrogan@chromium.org>
15101
15102         Disable IndexedDB permissions check from shared workers
15103         https://bugs.webkit.org/show_bug.cgi?id=78316
15104
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.
15109
15110         No new tests because it affects shared workers only, which aren't
15111         testable by DRT.
15112
15113         Reviewed by Tony Chang.
15114
15115         * src/IDBFactoryBackendProxy.cpp:
15116         (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
15117
15118 2012-02-10  Sheriff Bot  <webkit.review.bot@gmail.com>
15119
15120         Unreviewed.  Rolled DEPS.
15121
15122         * DEPS:
15123
15124 2012-02-09  Kenichi Ishibashi  <bashi@chromium.org>
15125
15126         Add WebSocket extension support
15127         https://bugs.webkit.org/show_bug.cgi?id=78079
15128
15129         Add some tests which check WebSocketExtensions::processHeaderValue()
15130         parses the given response correctly.
15131
15132         Reviewed by Kent Tamura.
15133
15134         * WebKit.gypi:
15135         * tests/WebSocketExtensionDispatcherTest.cpp: Added.
15136         (WebCore):
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):
15146         (WebCore::TEST_F):
15147
15148 2012-02-09  W. James MacLean  <wjmaclean@chromium.org>
15149
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
15152
15153         Reviewed by James Robinson.
15154
15155         Provides a pathway to invoke CCLayerTreeHostImpl::startPageScaleAnimation() from
15156         WebViewImpl. This is intended to support scale and scroll animations, such as WebInputEvent::GestureDoubleTap.
15157
15158         * src/WebViewImpl.cpp:
15159         (WebKit):
15160         (WebKit::WebViewImpl::startPageScaleAnimation):
15161         * src/WebViewImpl.h:
15162         (WebViewImpl):
15163         * tests/CCLayerTreeHostTest.cpp:
15164         (WTF):
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):
15173         (WTF::TEST_F):
15174
15175 2012-02-09  John Bates  <jbates@google.com>
15176
15177         [Chromium] Add chromium-style tracing support
15178         https://bugs.webkit.org/show_bug.cgi?id=76885
15179
15180         Reviewed by Darin Fisher.
15181
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.
15185
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):
15192
15193 2012-02-09  Jonathan Backer  <backer@chromium.org>
15194
15195         [chromium] Plumb setNeedsRedraw.
15196         https://bugs.webkit.org/show_bug.cgi?id=78248
15197
15198         Reviewed by James Robinson.
15199
15200         * public/platform/WebLayerTreeView.h:
15201         (WebLayerTreeView):
15202         * src/WebLayerTreeView.cpp:
15203         (WebKit::WebLayerTreeView::setNeedsRedraw):
15204         (WebKit):
15205
15206 2012-02-09  Jonathan Backer  <backer@chromium.org>
15207
15208         [chromium] Add setNeedsRedraw to WebWidget
15209         https://bugs.webkit.org/show_bug.cgi?id=77555
15210
15211         Reviewed by James Robinson.
15212
15213         * public/WebWidget.h:
15214         (WebWidget):
15215         (WebKit::WebWidget::setNeedsRedraw):
15216         * src/WebViewImpl.cpp:
15217         (WebKit::WebViewImpl::setNeedsRedraw):
15218         (WebKit):
15219         * src/WebViewImpl.h:
15220         (WebViewImpl):
15221
15222 2012-02-08  Raymond Liu  <raymond.liu@intel.com>
15223
15224         Fix a typo for r107125
15225         https://bugs.webkit.org/show_bug.cgi?id=77804
15226
15227         Reviewed by James Robinson.
15228
15229         * tests/WebCompositorInputHandlerImplTest.cpp:
15230
15231 2012-02-08  David Reveman  <reveman@chromium.org>
15232
15233         [Chromium] Avoid unnecessary full tile updates without breaking atomicity of commits.
15234         https://bugs.webkit.org/show_bug.cgi?id=76740
15235
15236         Reviewed by James Robinson.
15237
15238         Add CCLayerTreeHostTestAtomicCommitWithPartialUpdate and
15239         TiledLayerChromiumTest.partialUpdates tests that verifies
15240         atomicity of commits with partial updates.
15241
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):
15255         (WTF):
15256         (WTF::TEST_F):
15257         * tests/TiledLayerChromiumTest.cpp:
15258         (WTF::FakeLayerTextureUpdater::Texture::Texture):
15259         (WTF::FakeLayerTextureUpdater::Texture::updateRect):
15260         (Texture):
15261         (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
15262         (FakeLayerTextureUpdater):
15263         (WTF::FakeLayerTextureUpdater::updateCount):
15264         (WTF::FakeLayerTextureUpdater::clearUpdateCount):
15265         (WTF::FakeLayerTextureUpdater::updateRect):
15266         (WTF::FakeLayerTextureUpdater::createTexture):
15267         (FakeTiledLayerChromium):
15268         (WTF::TEST):
15269         (WTF):
15270
15271 2012-02-07  MORITA Hajime  <morrita@google.com>
15272
15273         Replacement text should be available from the marker.
15274         https://bugs.webkit.org/show_bug.cgi?id=77934
15275
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.
15279
15280         Reviewed by Kent Tamura.
15281
15282         * src/WebTextCheckingCompletionImpl.cpp:
15283         (WebKit::toCoreResults):
15284
15285 2012-02-08  Dmitry Lomov  <dslomov@chromium.org>
15286
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.
15290
15291         Reviewed by David Levin.
15292
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):
15301
15302 2012-02-08  Adam Klein  <adamk@chromium.org>
15303
15304         DOM mutations should not be delivered on worker threads
15305         https://bugs.webkit.org/show_bug.cgi?id=77898
15306
15307         Reviewed by Dmitry Titov.
15308
15309         * src/WebDevToolsFrontendImpl.cpp:
15310         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
15311
15312 2012-02-08  Scott Graham  <scottmg@chromium.org>
15313
15314         Roll Chromium DEPS
15315         https://bugs.webkit.org/show_bug.cgi?id=78152
15316
15317         Reviewed by Adam Barth.
15318
15319         * DEPS:
15320
15321 2012-02-08  Dana Jansens  <danakj@chromium.org>
15322
15323         [Chromium] Fix opaque tracking for box shadows and non-composited child elements
15324         https://bugs.webkit.org/show_bug.cgi?id=78073
15325
15326         Reviewed by Stephen White.
15327
15328         * tests/PlatformContextSkiaTest.cpp:
15329         (WebCore::TEST):
15330         (WebCore):
15331
15332 2012-02-08  Shawn Singh  <shawnsingh@chromium.org>
15333
15334         [chromium] Remove incorrect early exit in CCDamageTracker
15335         https://bugs.webkit.org/show_bug.cgi?id=76924
15336
15337         Reviewed by James Robinson.
15338
15339         * tests/CCDamageTrackerTest.cpp:
15340         (WebKitTests::emulateDrawingOneFrame):
15341         (WebKitTests::TEST_F):
15342         (WebKitTests):
15343
15344 2012-02-08  Sadrul Habib Chowdhury  <sadrul@chromium.org>
15345
15346         Add support for pinch gesture processing in the MT compositor.
15347         https://bugs.webkit.org/show_bug.cgi?id=77804
15348
15349         Reviewed by James Robinson.
15350
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:
15364
15365 2012-02-08  Nico Weber  <nicolasweber@gmx.de>
15366
15367         [chromium] Make dependency on Accelerate.framework explicit.
15368         https://bugs.webkit.org/show_bug.cgi?id=78131
15369
15370         It's used by platform/audio/mac/FFTFrameMac.cpp. The explicit
15371         dependency is needed to build a libwebkit.dylib.
15372
15373         Reviewed by Tony Chang.
15374
15375         * WebKit.gyp:
15376
15377 2012-02-08  Bernhard Bauer  <bauerb@google.com>
15378
15379         [Chromium] Don't add selection from password fields to context menu.
15380         https://bugs.webkit.org/show_bug.cgi?id=77733
15381
15382         Reviewed by Adam Barth.
15383
15384         * src/ContextMenuClientImpl.cpp:
15385         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
15386
15387 2012-02-08  Nico Weber  <nicolasweber@gmx.de>
15388
15389         [chromium] Let -Wglobal-constructors hack in shared build metastasize to mac
15390         https://bugs.webkit.org/show_bug.cgi?id=78130
15391
15392         Reviewed by Tony Chang.
15393
15394         * WebKit.gyp:
15395
15396 2012-02-08  Alexei Svitkine  <asvitkine@chromium.org>
15397
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
15400
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
15403
15404         There is still three tests that fail from the set, but the cause for these is different,
15405         which I'm still investigating.
15406
15407         Reviewed by James Robinson.
15408
15409         * src/NonCompositedContentHost.cpp:
15410         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
15411
15412 2012-02-07  James Robinson  <jamesr@chromium.org>
15413
15414         [chromium] Move geometry headers in Platform API to Platform directory
15415         https://bugs.webkit.org/show_bug.cgi?id=78067
15416
15417         Reviewed by Adam Barth.
15418
15419         Add forwarding headers for several API types moved into Platform.
15420
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:
15427
15428 2012-02-07  MORITA Hajime  <morrita@google.com>
15429
15430         [Chromium] WebTextCheckingResult should have new default constructor
15431         https://bugs.webkit.org/show_bug.cgi?id=78066
15432
15433         Reviewed by Ryosuke Niwa.
15434
15435         Added a new default constructor. ex-default constructor will be removed
15436         in an upcoming change.
15437
15438         * public/WebTextCheckingResult.h:
15439         (WebKit::WebTextCheckingResult::WebTextCheckingResult):
15440         (WebTextCheckingResult):
15441
15442 2012-02-07  Gregg Tavares  <gman@google.com>
15443
15444         Plumb through webGLErrorsToConsoleEnable in WebSettings
15445         https://bugs.webkit.org/show_bug.cgi?id=78061
15446
15447         Reviewed by Kenneth Russell.
15448
15449         * public/WebSettings.h:
15450         * src/WebSettingsImpl.cpp:
15451         (WebKit::WebSettingsImpl::setWebGLErrorsToConsoleEnabled):
15452         (WebKit):
15453         * src/WebSettingsImpl.h:
15454         (WebSettingsImpl):
15455
15456 2012-02-07  Robert Kroeger  <rjkroege@chromium.org>
15457
15458         [chromium] Remove no longer necessary Chromium gesture recognizer code.
15459         https://bugs.webkit.org/show_bug.cgi?id=77492
15460
15461         Reviewed by Adam Barth.
15462
15463         * WebKit.gypi:
15464         * features.gypi:
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:
15475         (WebCore):
15476         (WebViewImpl):
15477         * tests/InnerGestureRecognizerTest.cpp: Removed.
15478
15479 2012-02-07  David Reveman  <reveman@chromium.org>
15480
15481         [Chromium] REGRESSION(r101854): Causing large amounts of unnecessary repainting.
15482         https://bugs.webkit.org/show_bug.cgi?id=78020
15483
15484         Reviewed by James Robinson.
15485
15486         Update TextureManagerTest.requestTextureExceedingPreferredLimit test.
15487
15488         * tests/TextureManagerTest.cpp:
15489         (WTF::TextureManagerTest::requestTexture):
15490         (WTF::TEST_F):
15491
15492 2012-02-07  Dana Jansens  <danakj@chromium.org>
15493
15494         [chromium] Unit test for bug #77996
15495         https://bugs.webkit.org/show_bug.cgi?id=78019
15496
15497         Reviewed by James Robinson.
15498
15499         * tests/CCLayerTreeHostTest.cpp:
15500         (CCLayerTreeHostTestManySurfaces):
15501         (WTF::CCLayerTreeHostTestManySurfaces::CCLayerTreeHostTestManySurfaces):
15502         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
15503         (WTF::CCLayerTreeHostTestManySurfaces::afterTest):
15504         (WTF):
15505
15506 2012-02-07  Sadrul Habib Chowdhury  <sadrul@chromium.org>
15507
15508         Process Scroll-gesture events from the compositor.
15509         https://bugs.webkit.org/show_bug.cgi?id=77477
15510
15511         Reviewed by James Robinson.
15512
15513         * src/WebCompositorInputHandlerImpl.cpp:
15514         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
15515         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
15516         * src/WebCompositorInputHandlerImpl.h:
15517         (WebCompositorInputHandlerImpl):
15518
15519 2012-02-07  Anders Carlsson  <andersca@apple.com>
15520
15521         ScrollableAreaSet should be moved from Page to FrameView
15522         https://bugs.webkit.org/show_bug.cgi?id=62762
15523
15524         Reviewed by Beth Dakin.
15525
15526         Update for changes to WebCore now that the scrollable area set is kept per frame view.
15527
15528         * src/ScrollbarGroup.cpp:
15529         (WebKit::ScrollbarGroup::ScrollbarGroup):
15530         (WebKit::ScrollbarGroup::~ScrollbarGroup):
15531         * src/ScrollbarGroup.h:
15532         (WebCore):
15533         (ScrollbarGroup):
15534         * src/WebPluginContainerImpl.cpp:
15535         (WebKit::WebPluginContainerImpl::scrollbarGroup):
15536
15537 2012-02-07  Hans Wennborg  <hans@chromium.org>
15538
15539         Chromium: remove WebSpeechInputResult::set
15540         https://bugs.webkit.org/show_bug.cgi?id=77977
15541
15542         Reviewed by Darin Fisher.
15543
15544         It was renamed to assign() in r106475.
15545
15546         * public/WebSpeechInputResult.h:
15547
15548 2012-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
15549
15550         Unreviewed, rolling out r106935.
15551         http://trac.webkit.org/changeset/106935
15552         https://bugs.webkit.org/show_bug.cgi?id=77994
15553
15554         "Crashes runMultiThread webkit_unit_test" (Requested by tonyg-
15555         cr on #webkit).
15556
15557         * public/WebWidget.h:
15558         (WebWidget):
15559         * src/WebViewImpl.cpp:
15560         * src/WebViewImpl.h:
15561         (WebViewImpl):
15562
15563 2012-02-07  Jonathan Backer  <backer@chromium.org>
15564
15565         [chromium] Add setNeedsRedraw to WebWidget
15566         https://bugs.webkit.org/show_bug.cgi?id=77555
15567
15568         Reviewed by James Robinson.
15569
15570         * public/WebWidget.h:
15571         (WebWidget):
15572         (WebKit::WebWidget::setNeedsRedraw):
15573         * src/WebViewImpl.cpp:
15574         (WebKit::WebViewImpl::setNeedsRedraw):
15575         (WebKit):
15576         * src/WebViewImpl.h:
15577         (WebViewImpl):
15578
15579 2012-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
15580
15581         Unreviewed.  Rolled DEPS.
15582
15583         * DEPS:
15584
15585 2012-02-06  James Robinson  <jamesr@chromium.org>
15586
15587         [chromium] canvas demo is slow due to unnecessary resource cleanups
15588         https://bugs.webkit.org/show_bug.cgi?id=77135
15589
15590         Reviewed by Kenneth Russell.
15591
15592         * tests/Canvas2DLayerChromiumTest.cpp:
15593         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
15594         * tests/TextureManagerTest.cpp:
15595         * tests/TiledLayerChromiumTest.cpp:
15596
15597 2012-02-06  Julien Chaffraix  <jchaffraix@webkit.org>
15598
15599         Unreviewed gardening.
15600
15601         * DEPS: Rolling the DEPS to get the apple_webkit update
15602         and fix the Chromium build.
15603
15604 2012-02-06  Emil A Eklund  <eae@chromium.org>
15605
15606         Convert PopupMenuClient::clientPadding over to new layout abstraction
15607         https://bugs.webkit.org/show_bug.cgi?id=77798
15608
15609         Reviewed by Eric Seidel.
15610
15611         Change PopupMenuClient and all classes inheriting from it to use the new
15612         layout types for padding.
15613
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):
15622
15623 2012-02-06  James Robinson  <jamesr@chromium.org>
15624
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
15627
15628         Reviewed by Kenneth Russell.
15629
15630         Adds test for resizing a layer to cover fewer tiles. Test hits ASSERT()s without any code changes.
15631
15632         * tests/TiledLayerChromiumTest.cpp:
15633         (::TEST):
15634
15635 2012-02-06  Ryosuke Niwa  <rniwa@webkit.org>
15636
15637         Revert r106859. It was completely bogus.
15638
15639         * src/WebViewImpl.cpp:
15640         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
15641
15642 2012-02-06  Ryosuke Niwa  <rniwa@webkit.org>
15643
15644         Chromium build fix after r106836.
15645
15646         * src/WebViewImpl.cpp:
15647         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
15648
15649 2012-02-06  Eric Uhrhane  <ericu@chromium.org>
15650
15651         [filesystem/Chromium] crackFileSystemURL needs to use innerURL
15652         https://bugs.webkit.org/show_bug.cgi?id=77881
15653
15654         Reviewed by Adam Barth.
15655
15656         * src/AsyncFileSystemChromium.cpp:
15657         (WebCore::AsyncFileSystem::crackFileSystemURL):
15658         Add the new code path, taken only if innerURL is present.
15659
15660 2012-02-03  James Robinson  <jamesr@chromium.org>
15661
15662         [chromium] Support detaching TextureManager from ManagedTexture
15663         https://bugs.webkit.org/show_bug.cgi?id=77655
15664
15665         Adds unit test for destroying a TextureManager while ManagedTextures are still alive referring to it.
15666
15667         Reviewed by Kenneth Russell.
15668
15669         * tests/TextureManagerTest.cpp:
15670
15671 2012-02-06  Matthew Delaney  <mdelaney@apple.com>
15672
15673         toDataURL() uses stale data after putImageData()
15674         https://bugs.webkit.org/show_bug.cgi?id=65767
15675
15676         Reviewed by Chris Marrin.
15677
15678         * src/WebViewImpl.cpp: Updated method name.
15679         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
15680
15681 2012-02-06  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
15682
15683         Provide more attribute methods in Element
15684         https://bugs.webkit.org/show_bug.cgi?id=77800
15685
15686         Reviewed by Ryosuke Niwa.
15687
15688         * src/WebPageSerializerImpl.cpp:
15689         (WebKit::WebPageSerializerImpl::openTagToString): access attributes via Element interface.
15690
15691 2012-02-04  Shawn Singh  <shawnsingh@chromium.org>
15692
15693         [chromium] Add support to force full damage in CCDamageTracker
15694         https://bugs.webkit.org/show_bug.cgi?id=76805
15695
15696         Reviewed by James Robinson.
15697
15698         * tests/CCDamageTrackerTest.cpp:
15699         (WebKitTests::TEST_F):
15700         (WebKitTests):
15701
15702 2012-02-03  James Robinson  <jamesr@chromium.org>
15703
15704         [chromium] Defer makeContextCurrent in compositor until first frame
15705         https://bugs.webkit.org/show_bug.cgi?id=77269
15706
15707         Reviewed by Kenneth Russell.
15708
15709         * tests/CCLayerTreeHostTest.cpp:
15710         (WTF::CCLayerTreeHostTestSetViewportSize::beginTest):
15711         * tests/TiledLayerChromiumTest.cpp:
15712         (WTF::TEST):
15713
15714 2012-02-03  Beth Dakin  <bdakin@apple.com>
15715
15716         https://bugs.webkit.org/show_bug.cgi?id=77691
15717         Fix PlatformScreen layering violation and PlatformScreenMac's incorrect use 
15718         of device scale
15719
15720         Reviewed by Andy Estes.
15721
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):
15726
15727 2012-02-03  John Knottenbelt  <jknotten@chromium.org>
15728
15729         [skia] Fix unit test PlatformContextSkiaTest.trackOpaqueOvalTest
15730         https://bugs.webkit.org/show_bug.cgi?id=77738
15731
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.
15736
15737         Similarly, valgrind discovered that
15738         PlatformContextSkiaTest.trackOpaqueTest and
15739         PlatformContextSkiaTest.trackOpaqueLineTest suffers from the same
15740         problem.
15741
15742         Also, re-enable WebFrameTest.FindInPage which was falsely
15743         blamed for making this test fail.
15744
15745         Reviewed by Stephen White.
15746
15747         * tests/PlatformContextSkiaTest.cpp:
15748         (WebCore::TEST):
15749         * tests/WebFrameTest.cpp:
15750         (WebKit::TEST_F):
15751
15752 2012-02-03  Dana Jansens  <danakj@chromium.org>
15753
15754         [Chromium] Use the current clip when marking paints as opaque
15755         https://bugs.webkit.org/show_bug.cgi?id=77582
15756
15757         Reviewed by Stephen White.
15758
15759         * tests/PlatformContextSkiaTest.cpp:
15760         (WebCore::TEST):
15761         (WebCore):
15762
15763 2012-02-03  Yury Semikhatsky  <yurys@chromium.org>
15764
15765         Unreviewed. Update Chromium deps.
15766
15767         * DEPS:
15768
15769 2012-02-02  Tommy Widenflycht  <tommyw@google.com>
15770
15771         [chromium] MediaStream API: Adding the embedding code for MediaStreamCenter
15772         https://bugs.webkit.org/show_bug.cgi?id=73130
15773
15774         Reviewed by Darin Fisher.
15775
15776         * WebKit.gyp:
15777         * bridge/MediaStreamCenter.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15778         (WebCore):
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.
15786         (WebCore):
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.
15795         (WebKit):
15796         (WebCore):
15797         (MediaStreamCenterInternal):
15798         * public/platform/WebKitPlatformSupport.h:
15799         (WebKit):
15800         (WebKit::WebKitPlatformSupport::createMediaStreamCenter):
15801         * public/platform/WebMediaStreamCenter.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15802         (WebKit):
15803         (WebMediaStreamCenter):
15804         (WebKit::WebMediaStreamCenter::~WebMediaStreamCenter):
15805         * public/platform/WebMediaStreamCenterClient.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15806         (WebKit):
15807         (WebMediaStreamCenterClient):
15808         (WebKit::WebMediaStreamCenterClient::~WebMediaStreamCenterClient):
15809         * public/platform/WebMediaStreamComponent.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15810         (WebCore):
15811         (WebKit):
15812         (WebMediaStreamComponent):
15813         (WebKit::WebMediaStreamComponent::WebMediaStreamComponent):
15814         (WebKit::WebMediaStreamComponent::~WebMediaStreamComponent):
15815         (WebKit::WebMediaStreamComponent::isNull):
15816         * public/platform/WebMediaStreamDescriptor.h:
15817         (WebKit):
15818         (WebMediaStreamDescriptor):
15819         * public/platform/WebMediaStreamSourcesRequest.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15820         (WebCore):
15821         (WebKit):
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.
15829         (WebKit):
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):
15839         (WebKit):
15840         (WebKit::WebMediaStreamDescriptor::audioSources):
15841         (WebKit::WebMediaStreamDescriptor::videoSources):
15842         * src/WebMediaStreamSourcesRequest.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
15843         (WebKit):
15844         (WebKit::WebMediaStreamSourcesRequest::WebMediaStreamSourcesRequest):
15845         (WebKit::WebMediaStreamSourcesRequest::reset):
15846         (WebKit::WebMediaStreamSourcesRequest::audio):
15847         (WebKit::WebMediaStreamSourcesRequest::video):
15848         (WebKit::WebMediaStreamSourcesRequest::didCompleteQuery):
15849
15850 2012-02-02  Sheriff Bot  <webkit.review.bot@gmail.com>
15851
15852         Unreviewed.  Rolled DEPS.
15853
15854         * DEPS:
15855
15856 2012-02-02  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
15857
15858         Update enum name for HitTestRequest::RequestType
15859         https://bugs.webkit.org/show_bug.cgi?id=77620
15860
15861         Reviewed by Kenneth Rohde Christiansen.
15862
15863         * src/WebFrameImpl.cpp:
15864         (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
15865
15866 2012-02-02  Kinuko Yasuda  <kinuko@chromium.org>
15867
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
15870
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):
15882
15883 2012-02-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
15884
15885         Avoid creating NamedNodeMap unnecessarily
15886         https://bugs.webkit.org/show_bug.cgi?id=77574
15887
15888         Reviewed by Ryosuke Niwa.
15889
15890         * src/WebPageSerializerImpl.cpp:
15891         (WebKit::WebPageSerializerImpl::openTagToString): use updatedAttributes().
15892
15893 2012-02-01  Justin Novosad  <junov@chromium.org>
15894
15895         [Chromium] Enable deferred canvas rendering in the skia port
15896         https://bugs.webkit.org/show_bug.cgi?id=76732
15897
15898         Reviewed by Stephen White.
15899
15900         Adding a new setting for enabling deferred 2d canvas rendering
15901
15902         * public/WebSettings.h:
15903         * src/WebSettingsImpl.cpp:
15904         (WebKit::WebSettingsImpl::setDeferred2dCanvasEnabled):
15905         (WebKit):
15906         * src/WebSettingsImpl.h:
15907         (WebSettingsImpl):
15908
15909 2012-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
15910
15911         Unreviewed, rolling out r106382.
15912         http://trac.webkit.org/changeset/106382
15913         https://bugs.webkit.org/show_bug.cgi?id=77571
15914
15915         Causing chromium crashes in PNGImageDecoder (Requested by
15916         japhet on #webkit).
15917
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):
15925         (WebCore):
15926         (WebCore::PlatformSupport::traceEventBegin):
15927         (WebCore::PlatformSupport::traceEventEnd):
15928
15929 2012-02-01  Dirk Pranke  <dpranke@chromium.org>
15930
15931         TestWebKitAPI isn't being built on chromium bots any more
15932         https://bugs.webkit.org/show_bug.cgi?id=77563
15933
15934         Reviewed by Dimitri Glazkov.
15935
15936         I accidentally dropped it in the refactoring in r105449.
15937
15938         * All.gyp:
15939
15940 2012-02-01  Hans Wennborg  <hans@chromium.org>
15941
15942         Rename WebSpeechInputResult::set() to assign()
15943         https://bugs.webkit.org/show_bug.cgi?id=77540
15944
15945         Reviewed by Darin Fisher.
15946
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().
15950
15951         * public/WebSpeechInputResult.h:
15952         (WebSpeechInputResult):
15953         (WebKit::WebSpeechInputResult::set):
15954         * src/WebSpeechInputResult.cpp:
15955         (WebKit::WebSpeechInputResult::assign):
15956
15957 2012-02-01  Kent Tamura  <tkent@chromium.org>
15958
15959         [Chromium] Disable WebFrameTest.FindInPage
15960         https://bugs.webkit.org/show_bug.cgi?id=77186
15961
15962         Disable it because PlatformContextSkiaTest.trackOpaqueOvalTest has
15963         been failing since FindInPage test was committed.
15964
15965         * tests/WebFrameTest.cpp:
15966         (WebKit::TEST_F):
15967
15968 2012-01-31  Ami Fischman  <fischman@chromium.org>
15969
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).
15973
15974         Reviewed by Tony Chang.
15975
15976         * WebKitUnitTests.gyp:
15977         * tests/FrameTestHelpers.cpp:
15978         (WebKit::FrameTestHelpers::defaultWebFrameClient):
15979         (WebKit::FrameTestHelpers::defaultWebViewClient):
15980
15981 2012-01-31  Nico Weber  <thakis@chromium.org>
15982
15983         [chromium] Expose windowResizerRectChanged() on WebWidget.
15984         https://bugs.webkit.org/show_bug.cgi?id=77453
15985
15986         Needed for http://crbug.com/111266
15987
15988         Reviewed by Darin Fisher.
15989
15990         * public/WebWidget.h:
15991         (WebWidget):
15992         (WebKit::WebWidget::didChangeWindowResizerRect):
15993         * src/WebViewImpl.cpp:
15994         (WebKit::WebViewImpl::didChangeWindowResizerRect):
15995         (WebKit):
15996         * src/WebViewImpl.h:
15997         (WebViewImpl):
15998
15999 2012-01-31  Nat Duca  <nduca@chromium.org>
16000
16001         [chromium] Import PaintAggregator
16002         https://bugs.webkit.org/show_bug.cgi?id=53715
16003
16004         Reviewed by Darin Fisher.
16005
16006         * WebKit.gyp:
16007         * WebKit.gypi:
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.
16027         (WebKit::TEST):
16028
16029 2012-01-31  Fady Samuel  <fsamuel@chromium.org>
16030
16031         [Chromium] ChromeClientImpl::dispatchViewportPropertiesDidChange is repeatedly called in Google News
16032         https://bugs.webkit.org/show_bug.cgi?id=77429
16033
16034         Reviewed by Darin Fisher.
16035
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.
16039         
16040         The simplest solution is to simply get rid of the early return in 
16041         WebViewImpl::setPageScaleFactorPreservingScrollOffset.
16042
16043         * src/WebViewImpl.cpp:
16044         (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
16045
16046 2012-01-31  Fady Samuel  <fsamuel@chromium.org>
16047
16048         [Chromium] Expose setLayoutFallbackWidth as a WebSetting
16049         https://bugs.webkit.org/show_bug.cgi?id=77431
16050
16051         Reviewed by Darin Fisher.
16052
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.
16057
16058         * public/WebSettings.h:
16059         ():
16060         * src/WebSettingsImpl.cpp:
16061         (WebKit::WebSettingsImpl::setLayoutFallbackWidth):
16062         (WebKit):
16063         * src/WebSettingsImpl.h:
16064         (WebSettingsImpl):
16065
16066 2012-01-31  Dana Jansens  <danakj@chromium.org>
16067
16068         [chromium] Compute occlusion during paint loop
16069         https://bugs.webkit.org/show_bug.cgi?id=76858
16070
16071         Reviewed by James Robinson.
16072
16073         * tests/CCLayerTreeHostCommonTest.cpp:
16074         (WebCore::TEST):
16075         (WebCore):
16076         * tests/CCLayerTreeHostTest.cpp:
16077         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
16078         (WTF):
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):
16098         (WTF::TEST):
16099         (WTF):
16100
16101 2012-01-31  John Bates  <jbates@google.com>
16102
16103         [Chromium] Add chromium-style tracing support
16104         https://bugs.webkit.org/show_bug.cgi?id=76885
16105
16106         Reviewed by Darin Fisher.
16107
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.
16111
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):
16118
16119 2012-01-31  Antoine Labour  <piman@chromium.org>
16120
16121         Add back temporarily WebKitPlatformSupport::createGraphicsContext3D() to fix build
16122         https://bugs.webkit.org/show_bug.cgi?id=77467
16123
16124         Rubber-stamped by Nate Chapin <japhet@chromium.org>.
16125
16126         * public/platform/WebKitPlatformSupport.h:
16127         (WebKitPlatformSupport):
16128         (WebKit::WebKitPlatformSupport::createGraphicsContext3D):
16129
16130 2012-01-31  Antoine Labour  <piman@chromium.org>
16131
16132         Merge WebGraphicsContext3D creation and initialization, and move it to
16133         WebViewClient.
16134         https://bugs.webkit.org/show_bug.cgi?id=76593
16135
16136         Reviewed by Darin Fisher.
16137
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:
16144
16145 2012-01-26  Hans Wennborg  <hans@chromium.org>
16146
16147         Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
16148         https://bugs.webkit.org/show_bug.cgi?id=77083
16149
16150         Reviewed by Darin Fisher.
16151
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.
16156
16157         Also add a proper copy constructor for WebSpeechInputResult.
16158         The default one doesn't do a proper copy.
16159
16160         * WebKit.gyp:
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):
16169         (WebKit):
16170
16171 2012-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
16172
16173         Unreviewed.  Rolled DEPS.
16174
16175         * DEPS:
16176
16177 2012-01-30  Sheriff Bot  <webkit.review.bot@gmail.com>
16178
16179         Unreviewed, rolling out r106324.
16180         http://trac.webkit.org/changeset/106324
16181         https://bugs.webkit.org/show_bug.cgi?id=77406
16182
16183         Broke CCLayerTreeHostTestLayerOcclusion.runMultiThread and
16184         runSingleThread (Requested by yuzo1 on #webkit).
16185
16186         * tests/CCLayerTreeHostCommonTest.cpp:
16187         (WebCore):
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):
16196
16197 2012-01-30  Dana Jansens  <danakj@chromium.org>
16198
16199         [chromium] Compute occlusion during paint loop
16200         https://bugs.webkit.org/show_bug.cgi?id=76858
16201
16202         Reviewed by James Robinson.
16203
16204         * tests/CCLayerTreeHostCommonTest.cpp:
16205         (WebCore::TEST):
16206         (WebCore):
16207         * tests/CCLayerTreeHostTest.cpp:
16208         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
16209         (WTF):
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):
16229         (WTF::TEST):
16230         (WTF):
16231
16232 2012-01-30  Gregg Tavares  <gman@google.com>
16233
16234         Add Plumming to get graphics error messages to JS Console
16235         https://bugs.webkit.org/show_bug.cgi?id=77238
16236
16237         Reviewed by Kenneth Russell.
16238
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):
16246         (WebCore):
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:
16254         (WebCore):
16255         ():
16256
16257 2012-01-30  Sheriff Bot  <webkit.review.bot@gmail.com>
16258
16259         Unreviewed, rolling out r106259.
16260         http://trac.webkit.org/changeset/106259
16261         https://bugs.webkit.org/show_bug.cgi?id=77395
16262
16263         Breaks shared builders as they also build webkittests with
16264         -Wexit-time-destructors. (Requested by leviw on #webkit).
16265
16266         * WebKitUnitTests.gyp:
16267
16268 2012-01-30  Dana Jansens  <danakj@chromium.org>
16269
16270         [chromium] Use region reported painted opaque for draw culling
16271         https://bugs.webkit.org/show_bug.cgi?id=76015
16272
16273         Reviewed by James Robinson.
16274
16275         * tests/CCLayerTreeHostImplTest.cpp:
16276         (WebKit::BlendStateCheckLayer::appendQuads):
16277         (WebKit::BlendStateCheckLayer::setOpaqueColor):
16278         (BlendStateCheckLayer):
16279         (WebKit::BlendStateCheckLayer::BlendStateCheckLayer):
16280         (WebKit::TEST_F):
16281         * tests/CCQuadCullerTest.cpp:
16282         (WebCore::MakeTileQuad):
16283         (WebCore::setQuads):
16284         (WebCore::TEST):
16285         (WebCore):
16286         * tests/CCTiledLayerImplTest.cpp:
16287         (CCLayerTestCommon::createLayer):
16288         (CCLayerTestCommon::TEST):
16289         (CCLayerTestCommon::getQuads):
16290         (CCLayerTestCommon::coverageVisibleRectOnTileBoundaries):
16291         (CCLayerTestCommon::coverageVisibleRectIntersectsTiles):
16292         (CCLayerTestCommon::coverageVisibleRectIntersectsBounds):
16293         (CCLayerTestCommon):
16294
16295 2012-01-30  Adrienne Walker  <enne@google.com>
16296
16297         [chromium] Always pre-reserve scrollbar and scroll corner textures
16298         https://bugs.webkit.org/show_bug.cgi?id=77251
16299
16300         Reviewed by James Robinson.
16301
16302         * src/NonCompositedContentHost.cpp:
16303         (WebKit::reserveScrollbarLayers):
16304         (WebKit):
16305         (WebKit::NonCompositedContentHost::setViewport):
16306
16307 2012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
16308
16309         Roll Chromium DEPS from 119623 to 119700.
16310
16311         * DEPS:
16312
16313 2012-01-30  Beth Dakin  <bdakin@apple.com>
16314
16315         https://bugs.webkit.org/show_bug.cgi?id=77263
16316         PlatformScreenMac should not rely on NSWindow for important bits of data
16317
16318         Reviewed by Geoff Garen.
16319
16320         These two functions now take a FrameView instead of a Widget.
16321         * src/PlatformSupport.cpp:
16322         (WebCore::PlatformSupport::screenRect):
16323         (WebCore::PlatformSupport::screenAvailableRect):
16324
16325 2012-01-30  Ami Fischman  <fischman@chromium.org>
16326
16327         [chromium] enable -Wexit-time-destructors for webkit unit tests
16328         https://bugs.webkit.org/show_bug.cgi?id=77300
16329
16330         Reviewed by Tony Chang.
16331
16332         * WebKitUnitTests.gyp: Enable clang check for exit time destructors.
16333
16334 2012-01-30  Tommy Widenflycht  <tommyw@google.com>
16335
16336         [chromium] MediaStream API: Fix a few memory leaks
16337         https://bugs.webkit.org/show_bug.cgi?id=77334
16338
16339         Reviewed by Darin Fisher.
16340
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.
16344
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):
16355         (WebKit):
16356
16357 2012-01-30  Jochen Eisinger  <jochen@chromium.org>
16358
16359         [chromium] remove exit time destructors from TextureManagerTest
16360         https://bugs.webkit.org/show_bug.cgi?id=77333
16361
16362         Reviewed by Tony Gentilcore.
16363
16364         Non-trivial, global objects require an at-exit time destructor which add
16365         unnecessary complexity and delays to shutdown.
16366
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):
16376         (WTF::TEST_F):
16377
16378 2012-01-30  Hans Wennborg  <hans@chromium.org>
16379
16380         Unreviewed, rolling out r106219.
16381         http://trac.webkit.org/changeset/106219
16382         https://bugs.webkit.org/show_bug.cgi?id=77083
16383
16384         This broke Chromium's test_shell.
16385
16386         * WebKit.gyp:
16387         * public/WebSpeechInputControllerMock.h: Added.
16388         (WebKit):
16389         (WebSpeechInputControllerMock):
16390         (WebKit::WebSpeechInputControllerMock::~WebSpeechInputControllerMock):
16391         * public/WebSpeechInputResult.h:
16392         (WebSpeechInputResult):
16393         * src/WebSpeechInputControllerMockImpl.cpp: Added.
16394         (WebKit):
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.
16407         (WebCore):
16408         (WebKit):
16409         (WebSpeechInputControllerMockImpl):
16410         * src/WebSpeechInputResult.cpp:
16411
16412 2012-01-26  Hans Wennborg  <hans@chromium.org>
16413
16414         Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
16415         https://bugs.webkit.org/show_bug.cgi?id=77083
16416
16417         Reviewed by Darin Fisher.
16418
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.
16423
16424         Also add a proper copy constructor for WebSpeechInputResult.
16425         The default one doesn't do a proper copy.
16426
16427         * WebKit.gyp:
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):
16436         (WebKit):
16437
16438 2012-01-29  Kent Tamura  <tkent@chromium.org>
16439
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
16443
16444         Reviewed by Hajime Morita.
16445
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.
16450
16451         However the behavior of pre-r87067 is useful and we should support it
16452         for contentEditable elements too.
16453
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.
16461
16462 2012-01-29  Nico Weber  <nicolasweber@gmx.de>
16463
16464         [chromium/mac] Fix two-finger scrolling
16465         https://bugs.webkit.org/show_bug.cgi?id=77316
16466
16467         http://trac.webkit.org/changeset/106021/trunk changed the phase enums
16468         to match AppKit. This changes WebMouseWheelEvent accordingly.
16469
16470         No tests, because DRT doesn't support synthetic scroll events with
16471         event phases.
16472
16473         Reviewed by Anders Carlsson.
16474
16475         * public/WebInputEvent.h:
16476         * src/mac/WebInputEventFactory.mm:
16477
16478 2012-01-28  Sheriff Bot  <webkit.review.bot@gmail.com>
16479
16480         Unreviewed.  Rolled DEPS.
16481
16482         * DEPS:
16483
16484 2012-01-28  Nico Weber  <thakis@chromium.org>
16485
16486         [chromium] Add support for building standalone webkit/chromium checkouts with ninja.
16487         https://bugs.webkit.org/show_bug.cgi?id=77243
16488
16489         Reviewed by Adam Barth.
16490
16491         * gyp_webkit:
16492
16493 2012-01-27  Jeff Timanus  <twiz@chromium.org>
16494
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.
16497
16498         Bug 76666 - Ganesh's Texture Cache is too small
16499         https://bugs.webkit.org/show_bug.cgi?id=76666
16500
16501         Reviewed by Stephen White.
16502
16503         * src/GraphicsContext3DChromium.cpp:
16504         (WebCore::GraphicsContext3DPrivate::grContext):
16505
16506 2012-01-27  Adrienne Walker  <enne@google.com>
16507
16508         [chromium] Don't ever skip drawing the non-composited content layer
16509         https://bugs.webkit.org/show_bug.cgi?id=77236
16510
16511         Reviewed by James Robinson.
16512
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
16515         opaque black.
16516
16517         * src/WebViewImpl.cpp:
16518         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
16519
16520 2012-01-27  Fady Samuel  <fsamuel@chromium.org>
16521
16522         Rename shouldLayoutFixedElementsRelativeToFrame and make it a setting
16523         https://bugs.webkit.org/show_bug.cgi?id=76459
16524
16525         Reviewed by Darin Fisher.
16526
16527         * public/WebSettings.h:
16528         ():
16529         * public/WebView.h:
16530         (WebView):
16531         * src/WebSettingsImpl.cpp:
16532         (WebKit::WebSettingsImpl::setFixedElementsLayoutRelativeToFrame):
16533         (WebKit):
16534         * src/WebSettingsImpl.h:
16535         (WebSettingsImpl):
16536         * src/WebViewImpl.cpp:
16537         * src/WebViewImpl.h:
16538         (WebViewImpl):
16539
16540 2012-01-24  Vincent Scheib  <scheib@chromium.org>
16541
16542         Pointer Lock: Implement pointer interface
16543         https://bugs.webkit.org/show_bug.cgi?id=75762
16544
16545         Add calls to the PointerLockController added in this patch to WebCore.
16546
16547         * src/WebViewImpl.cpp:
16548         (WebKit::WebViewImpl::close):
16549         (WebKit::WebViewImpl::didAcquirePointerLock):
16550         (WebKit::WebViewImpl::didNotAcquirePointerLock):
16551         (WebKit::WebViewImpl::didLosePointerLock):
16552         (WebKit::WebViewImpl::pointerLockMouseEvent):
16553
16554 2012-01-26  Kent Tamura  <tkent@chromium.org>
16555
16556         [Chromium] Cleanup of WebPopupMenuImpl
16557         https://bugs.webkit.org/show_bug.cgi?id=76441
16558
16559         Reviewed by Kentaro Hara.
16560
16561         Removed WebPopupMenuImpl::invalidateContents() and scrollRectIntoView()
16562         because they were removed from HostWindow in r58445 and r55864. They
16563         were found by OVERRIDE.
16564
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.
16588          - Add OVERRIDE.
16589
16590 2012-01-26  W. James MacLean  <wjmaclean@chromium.org>
16591
16592         [chromium] Allow modification of size of partially occluded quads.
16593         https://bugs.webkit.org/show_bug.cgi?id=76349
16594
16595         Reviewed by James Robinson.
16596
16597         * tests/CCQuadCullerTest.cpp:
16598         (WebCore::makeTileQuads)
16599         (WebCore::setQuads):
16600         (WebCore::TEST):
16601
16602 2012-01-26  Michal Mocny  <mmocny@google.com>
16603
16604         [chromium] Revert changes which added setResourceUsageCHROMIUM gl extension since feature changed directions
16605         https://bugs.webkit.org/show_bug.cgi?id=77120
16606
16607         Reviewed by Kenneth Russell.
16608
16609         * public/platform/WebGraphicsContext3D.h:
16610         (WebGraphicsContext3D):
16611         * src/GraphicsContext3DChromium.cpp:
16612         (WebCore):
16613         * tests/FakeWebGraphicsContext3D.h:
16614         (WebKit::FakeWebGraphicsContext3D::setVisibilityCHROMIUM):
16615
16616 2012-01-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
16617
16618         Add GestureTapDown and GestureDoubleTap gesture types to WebGestureEvent.
16619         https://bugs.webkit.org/show_bug.cgi?id=77140
16620
16621         Reviewed by Darin Fisher.
16622
16623         * public/WebInputEvent.h:
16624         ():
16625         * src/WebInputEventConversion.cpp:
16626         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
16627         * src/WebPopupMenuImpl.cpp:
16628         (WebKit::WebPopupMenuImpl::handleInputEvent):
16629         * src/WebViewImpl.cpp:
16630         (WebKit::WebViewImpl::handleInputEvent):
16631
16632 2012-01-25  Cris Neckar  <cdn@chromium.org>
16633
16634         Add API to register schemes which can be sent simple CORS requests.
16635         https://bugs.webkit.org/show_bug.cgi?id=77041
16636
16637         Reviewed by Alexey Proskuryakov.
16638
16639         * public/WebSecurityPolicy.h:
16640         (WebSecurityPolicy):
16641         * src/WebSecurityPolicy.cpp:
16642         (WebKit::WebSecurityPolicy::registerCORSEnabledScheme):
16643         (WebKit):
16644
16645 2012-01-10  James Robinson  <jamesr@chromium.org>
16646
16647         [chromium] Add enter/exitRunLoop to WebThread API
16648         https://bugs.webkit.org/show_bug.cgi?id=76012
16649
16650         Reviewed by Darin Fisher.
16651
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
16654         component build.
16655
16656         * WebKit.gyp:
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):
16665
16666 2012-01-26  John Bates  <jbates@google.com>
16667
16668         Roll chromium_rev to 119248
16669         https://bugs.webkit.org/show_bug.cgi?id=77124
16670
16671         Reviewed by James Robinson.
16672
16673         * DEPS:
16674
16675 2012-01-25  Greg Billock  <gbillock@google.com>
16676
16677         Add IntentRequest include for FrameLoaderClientImpl.
16678         https://bugs.webkit.org/show_bug.cgi?id=77039
16679
16680         Reviewed by Darin Fisher.
16681
16682         * src/FrameLoaderClientImpl.cpp:
16683
16684 2012-01-25  Daniel Cheng  <dcheng@chromium.org>
16685
16686         [chromium] Fix ClipboardChromium::validateFilename to actually operate on extensions
16687         https://bugs.webkit.org/show_bug.cgi?id=76996
16688
16689         Reviewed by Tony Chang.
16690
16691         * WebKit.gypi:
16692         * tests/ClipboardChromiumTest.cpp: Added.
16693         (WebCore):
16694         (WebCore::TEST):
16695
16696 2012-01-25  James Robinson  <jamesr@chromium.org>
16697
16698         [chromium] Rollout r100751, this mechanism does not work and is very slow
16699         https://bugs.webkit.org/show_bug.cgi?id=77055
16700
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.
16703
16704         * public/WebScreenInfo.h:
16705         (WebScreenInfo):
16706         (WebKit::WebScreenInfo::WebScreenInfo):
16707         * src/PlatformSupport.cpp:
16708         * src/WebViewImpl.cpp:
16709         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
16710         * tests/CCLayerTreeHostTest.cpp:
16711         (WTF::CCLayerTreeHostTest::runTest):
16712
16713 2012-01-25  Eric Uhrhane  <ericu@chromium.org>
16714
16715         Add full support for filesystem URLs.
16716         https://bugs.webkit.org/show_bug.cgi?id=75049
16717
16718         Reviewed by Adam Barth.
16719
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.
16723
16724         * tests/KURLTest.cpp:
16725         TEST(KURLTest, Encode): Update expectation that '/' sails through unescaped.
16726         
16727 2012-01-25  Joshua Bell  <jsbell@chromium.org>
16728
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
16731
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).
16735
16736         Reviewed by Tony Chang.
16737
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):
16746
16747 2012-01-24  Vsevolod Vlasov  <vsevik@chromium.org>
16748
16749         Unreviewed chromium test fix.
16750
16751         * src/js/Tests.js:
16752         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
16753         (.TestSuite.prototype._waitUntilScriptsAreParsed):
16754
16755 2012-01-24  Vangelis Kokkevis  <vangelis@chromium.org>
16756
16757         Adding a test to verify that m_skipsDraw gets reset between frames for
16758         tiled layers.
16759         https://bugs.webkit.org/show_bug.cgi?id=76735
16760
16761         Reviewed by James Robinson.
16762
16763         * WebKit.gypi:
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):
16777         (WTF::TEST):
16778
16779 2012-01-24  Dmitry Lomov  <dslomov@google.com>
16780
16781         Unreviewed: removing WebWorker.h again after r105684.
16782
16783         * WebKit.gyp:
16784
16785 2012-01-24  Tommy Widenflycht  <tommyw@google.com>
16786
16787         MediaStream API: Split the MediaStream track list into audio/video specific ones.
16788         https://bugs.webkit.org/show_bug.cgi?id=76614
16789
16790         Reviewed by Darin Fisher.
16791
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):
16806
16807 2012-01-23  Simon Fraser  <simon.fraser@apple.com>
16808
16809         Show layer borders for scrollbar layers
16810         https://bugs.webkit.org/show_bug.cgi?id=76888
16811
16812         Reviewed by Beth Dakin.
16813
16814         Update for new signature of GraphicsLayerClient::showDebugBorders()
16815         and GraphicsLayerClient::showRepaintCounter().
16816
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):
16827
16828 2012-01-24  Vincent Scheib  <scheib@chromium.org>
16829
16830         [Chromium] Add WebKit API for Pointer Lock
16831         https://bugs.webkit.org/show_bug.cgi?id=76410
16832
16833         Reviewed by Darin Fisher.
16834
16835         Breaking up https://bugs.webkit.org/show_bug.cgi?id=75762
16836         into a series of patches, this stubs out the API.
16837
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:
16861
16862 2012-01-23  Sheriff Bot  <webkit.review.bot@gmail.com>
16863
16864         Unreviewed.  Rolled DEPS.
16865
16866         * DEPS:
16867
16868 2012-01-23  Tom Sepez  <tsepez@chromium.org>
16869
16870         [chromium] Clean up old WebSharedWorker::startWorkerContext() method.
16871         https://bugs.webkit.org/show_bug.cgi?id=76853
16872
16873         Reviewed by Darin Fisher.
16874
16875         * public/WebSharedWorker.h:
16876         * src/WebSharedWorkerImpl.cpp:
16877         * src/WebSharedWorkerImpl.h:
16878
16879 2012-01-23  Dmitry Lomov  <dslomov@google.com>
16880
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.
16885
16886         Reviewed by Darin Fisher.
16887
16888         * WebKit.gyp:
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):
16892
16893 2012-01-23  Greg Billock  <gbillock@google.com>
16894
16895         Fine tune Web Intents Chromium API
16896         https://bugs.webkit.org/show_bug.cgi?id=76754
16897
16898         Reviewed by Darin Fisher.
16899
16900         * public/WebIntent.h:
16901         * public/WebIntentServiceInfo.h:
16902         * src/WebIntent.cpp:
16903         * src/WebIntentServiceInfo.cpp:
16904         (WebKit::WebIntentServiceInfo::WebIntentServiceInfo):
16905
16906 2012-01-23  Shawn Singh  <shawnsingh@chromium.org>
16907
16908         [chromium] updateRect is incorrect when contentBounds != bounds
16909         https://bugs.webkit.org/show_bug.cgi?id=72919
16910
16911         Reviewed by James Robinson.
16912
16913         * tests/TiledLayerChromiumTest.cpp:
16914         (WTF::FakeTiledLayerWithScaledBounds::FakeTiledLayerWithScaledBounds):
16915         (WTF::FakeTiledLayerWithScaledBounds::setContentBounds):
16916         (WTF::FakeTiledLayerWithScaledBounds::contentBounds):
16917         (WTF::FakeTiledLayerWithScaledBounds::updateRect):
16918         (WTF::TEST):
16919
16920 2012-01-23  Takashi Toyoshima  <toyoshim@chromium.org>
16921
16922         [Chromium][WebSocket] Remove binary communication using WebData in WebKit API
16923         https://bugs.webkit.org/show_bug.cgi?id=76608
16924
16925         Reviewed by Darin Fisher.
16926
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&).
16933
16934 2012-01-23  James Robinson  <jamesr@chromium.org>
16935
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
16938
16939         Reviewed by Dirk Pranke.
16940
16941         * WebKit.gyp:
16942
16943 2012-01-23  Stephen White  <senorblanco@chromium.org>
16944
16945         Unreviewed, rolling out r105640.
16946         http://trac.webkit.org/changeset/105640
16947         https://bugs.webkit.org/show_bug.cgi?id=76849
16948
16949         Broke the chromium build.
16950
16951         * DEPS:
16952
16953 2012-01-23  Justin Novosad  <junov@chromium.org>
16954
16955         rolling chromium DEPS to r118713
16956         https://bugs.webkit.org/show_bug.cgi?id=76849
16957
16958         Reviewed by Stephen White.
16959
16960         This is to pick up a change to skia build configuration
16961
16962         * DEPS:
16963
16964 2012-01-23  Xianzhu Wang  <wangxianzhu@chromium.org>
16965
16966         Basic enhancements to StringBuilder
16967         https://bugs.webkit.org/show_bug.cgi?id=67081
16968
16969         This change is because we explicitly disallowed StringBuilder's
16970         copy constructor and assignment operator.
16971
16972         Reviewed by Darin Adler.
16973
16974         No new tests. All layout tests and unit tests should run as before.
16975
16976         * src/WebPageSerializerImpl.cpp:
16977         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
16978
16979 2012-01-23  W. James MacLean  <wjmaclean@chromium.org>
16980
16981         [chromium] Add WebSolidColorLayer interface to draw non-textured color layers from Aura.
16982         https://bugs.webkit.org/show_bug.cgi?id=75732
16983
16984         Reviewed by James Robinson.
16985
16986         * WebKit.gyp:
16987         * WebKit.gypi:
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:
17005
17006 2012-01-20  Pavel Feldman  <pfeldman@google.com>
17007
17008         Web Inspector: PageAgent.open() dosen't belong to the protocol.
17009         https://bugs.webkit.org/show_bug.cgi?id=74790
17010
17011         Reviewed by Yury Semikhatsky.
17012
17013         * public/WebDevToolsFrontendClient.h:
17014         (WebKit::WebDevToolsFrontendClient::openInNewTab):
17015         * src/InspectorFrontendClientImpl.cpp:
17016         (WebKit::InspectorFrontendClientImpl::openInNewTab):
17017         (WebKit::InspectorFrontendClientImpl::saveAs):
17018         * src/InspectorFrontendClientImpl.h:
17019
17020 2012-01-21  David Reveman  <reveman@chromium.org>
17021
17022         [Chromium] Incremental texture updates are not atomic.
17023         https://bugs.webkit.org/show_bug.cgi?id=72672
17024
17025         Reviewed by Adam Barth.
17026
17027         Add CCLayerTreeHostTestAtomicCommit test that verifies atomicity
17028         of commits.
17029
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):
17052         (WTF::TEST_F):
17053         * tests/CompositorFakeWebGraphicsContext3D.h:
17054
17055 2012-01-21  Sheriff Bot  <webkit.review.bot@gmail.com>
17056
17057         Unreviewed, rolling out r105564.
17058         http://trac.webkit.org/changeset/105564
17059         https://bugs.webkit.org/show_bug.cgi?id=76792
17060
17061         Does not compile on Chromium Mac (Requested by abarth on
17062         #webkit).
17063
17064         * tests/CCLayerTreeHostTest.cpp:
17065         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
17066         * tests/CompositorFakeWebGraphicsContext3D.h:
17067
17068 2012-01-20  Alexandre Elias  <aelias@google.com>
17069
17070         [chromium] Write unit tests for compositor-thread zooming
17071         https://bugs.webkit.org/show_bug.cgi?id=71529
17072
17073         Reviewed by James Robinson.
17074
17075         Add unit tests for pinch zoom and page scale animation.  Includes
17076         small cleanups in CCLayerTreeHostImpl for testability.
17077
17078         * tests/CCLayerTreeHostImplTest.cpp:
17079         (WebKit::CCLayerTreeHostImplTest::setupScrollAndContentsLayers):
17080         (WebKit::TEST_F):
17081
17082 2012-01-20  David Reveman  <reveman@chromium.org>
17083
17084         [Chromium] Incremental texture updates are not atomic.
17085         https://bugs.webkit.org/show_bug.cgi?id=72672
17086
17087         Reviewed by James Robinson.
17088
17089         Add CCLayerTreeHostTestAtomicCommit test that verifies atomicity
17090         of commits.
17091
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):
17114         (WTF::TEST_F):
17115         * tests/CompositorFakeWebGraphicsContext3D.h:
17116
17117 2012-01-20  Ami Fischman  <fischman@chromium.org>
17118
17119         Small cleanup of {get,put}CurrentFrame for  WebMediaPlayerClientImpl/CCVideoLayerImpl.
17120         https://bugs.webkit.org/show_bug.cgi?id=76332
17121
17122         Reviewed by James Robinson.
17123
17124         * src/WebMediaPlayerClientImpl.cpp:
17125         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
17126         (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
17127
17128 2012-01-20  Ryosuke Niwa  <rniwa@webkit.org>
17129
17130         Roll Chromium DEPS from 118291 to 118493.
17131
17132         * DEPS:
17133
17134 2012-01-20  Ryosuke Niwa  <rniwa@webkit.org>
17135
17136         Revert r105545. Something got broken about gclient/gyp but I can't figure out what.
17137
17138         * DEPS:
17139
17140 2012-01-20  Ryosuke Niwa  <rniwa@webkit.org>
17141
17142         Roll Chromium DEPS from 118291 to 118530.
17143
17144         * DEPS:
17145
17146 2012-01-20  Sadrul Habib Chowdhury  <sadrul@chromium.org>
17147
17148         [chromium] Revert a couple of changes in fileapi/ that break tests in chromeos.
17149         https://bugs.webkit.org/show_bug.cgi?id=76718
17150
17151         Reviewed by Darin Fisher.
17152
17153         * public/platform/WebFileSystem.h:
17154         * src/AssertMatchingEnums.cpp:
17155         * src/AsyncFileSystemChromium.cpp:
17156         * src/AsyncFileSystemChromium.h:
17157
17158 2012-01-20  Fady Samuel  <fsamuel@chromium.org>
17159
17160         [Chromium] Do not recompute viewport on same page navigation
17161         https://bugs.webkit.org/show_bug.cgi?id=75576
17162
17163         Reviewed by Darin Fisher.
17164
17165         Added parameter isNavigationWithinPage to WebViewImpl::didCommitLoad
17166         that indicates whether a same-page navigation has just occurred.
17167
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
17170         layoutUpdated.
17171
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:
17179
17180 2012-01-20  Pavel Feldman  <pfeldman@google.com>
17181
17182         Web Inspector: [chromium] add WebDevToolsFrontendClient::openInNewTab for upcoming WebCore change.
17183         https://bugs.webkit.org/show_bug.cgi?id=76698
17184
17185         Reviewed by Yury Semikhatsky.
17186
17187         * public/WebDevToolsFrontendClient.h:
17188         (WebKit::WebDevToolsFrontendClient::openInNewTab):
17189
17190 2012-01-20  Hayato Ito  <hayato@chromium.org>
17191
17192         Add ShadowRoot.idl which is enabled by newly introduced SHADOW_DOM flag.
17193         https://bugs.webkit.org/show_bug.cgi?id=76353
17194
17195         Reviewed by Hajime Morita.
17196
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.
17201
17202         * features.gypi:
17203         * public/WebRuntimeFeatures.h:
17204         * src/WebRuntimeFeatures.cpp:
17205         (WebKit::WebRuntimeFeatures::enableShadowDOM):
17206         (WebKit::WebRuntimeFeatures::isShadowDOMEnabled):
17207
17208 2012-01-20  Shinya Kawanaka  <shinyak@google.com>
17209
17210         [chromium] Chromium should have EditorClientImpl::checkTextOfParagraph.
17211         https://bugs.webkit.org/show_bug.cgi?id=74071
17212
17213         Reviewed by Darin Fisher.
17214
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.
17218
17219         Also, currently WebKit::WebTextCheckingResult and WebCore::TextCheckingResult have different forms.
17220         They should be corresponding apparently. This patch introduces such correspondence.
17221
17222         * WebKit.gyp:
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):
17236
17237 2012-01-20  Shinya Kawanaka  <shinyak@google.com>
17238
17239         [chromium] WebFrame should have an interface to invoke spellchecking in arbitrarily.
17240         https://bugs.webkit.org/show_bug.cgi?id=73971
17241
17242         Reviewed by Darin Fisher.
17243
17244         This interface is necessary to recheck spelling of an arbitrary element.
17245
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:
17252         * src/WebNode.cpp:
17253         (WebKit::WebNode::rootEditableElement):
17254           Takes a root editable element from Node.
17255
17256 2012-01-19  Kinuko Yasuda  <kinuko@chromium.org>
17257
17258         Cleanup: make constant variable names in fileapi/ conform to WebKit's coding guideline
17259         https://bugs.webkit.org/show_bug.cgi?id=76625
17260
17261         Reviewed by David Levin.
17262
17263         Also removing (almost) duplicated implementation of AsyncFileSystem::crackFileSystem.
17264
17265         * src/AsyncFileSystemChromium.cpp:
17266
17267 2012-01-19  Alexandre Elias  <aelias@google.com>
17268
17269         [chromium] Draw gutter quads outside root content layer
17270         https://bugs.webkit.org/show_bug.cgi?id=76328
17271
17272         Reviewed by James Robinson.
17273
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
17278         be undrawn.
17279
17280         Test: CCTiledLayerImplTest::backgroundCoversViewport
17281
17282         * src/NonCompositedContentHost.cpp:
17283         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
17284         * tests/CCLayerImplTest.cpp:
17285         (WebCore::TEST):
17286         * tests/CCTiledLayerImplTest.cpp:
17287         (WebCore::TEST):
17288         * tests/LayerChromiumTest.cpp:
17289
17290 2012-01-19  Greg Billock  <gbillock@google.com>
17291
17292         Web Intents chromium API modifications to track IntentRequest invocation method
17293         https://bugs.webkit.org/show_bug.cgi?id=76014
17294
17295         Reviewed by Darin Fisher.
17296
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.
17306
17307 2012-01-19  Michal Mocny  <mmocny@google.com>
17308
17309         [chromium] Replace WGC3D visibility extension with resource_usage extension. [Part 1 of 3]
17310         https://bugs.webkit.org/show_bug.cgi?id=76634
17311
17312         Reviewed by Kenneth Russell.
17313
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):
17321
17322 2012-01-19  James Robinson  <jamesr@chromium.org>
17323
17324         [chromium] Remove CCLayerDelegate, add ContentLayerDelegate for painting
17325         https://bugs.webkit.org/show_bug.cgi?id=76663
17326
17327         Reviewed by Kenneth Russell.
17328
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):
17347         (WebCore::TEST):
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):
17357         (WebCore::TEST):
17358
17359 2012-01-19  Dirk Pranke  <dpranke@chromium.org>
17360
17361         remove the duplicated build rules from WebKit.gyp, Tools.gyp
17362         https://bugs.webkit.org/show_bug.cgi?id=73384
17363
17364         Reviewed by Tony Chang.
17365
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.
17369         * WebKit.gyp:
17370         * WebKitUnitTests.gyp:
17371         * gyp_webkit:
17372
17373 2012-01-19  Dirk Pranke  <dpranke@chromium.org>
17374
17375         Unreviewed, Roll DEPS to most recent LKGR (118291).
17376
17377         * DEPS:
17378
17379 2012-01-18  Jer Noble  <jer.noble@apple.com>
17380
17381         Make WebAudio API const-correct.
17382         https://bugs.webkit.org/show_bug.cgi?id=76573
17383
17384         Reviewed by Daniel Bates.
17385
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):
17394
17395 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
17396
17397         Enable use of precompiled headers in Chromium port on Windows.
17398
17399         Bug 76381 - Use precompiled headers in Chromium port on Windows
17400         https://bugs.webkit.org/show_bug.cgi?id=76381
17401
17402         Reviewed by Tony Chang.
17403
17404         * WebKit.gyp: Include WinPrecompile.gypi.
17405         * WinPrecompile.cpp: Added.
17406         * WinPrecompile.gypi: Added.
17407         * WinPrecompile.h: Added.
17408
17409 2012-01-18  Kinuko Yasuda  <kinuko@chromium.org>
17410
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
17413
17414         Reviewed by Darin Fisher.
17415
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:
17422
17423 2012-01-18  Tom Sepez  <tsepez@chromium.org>
17424
17425         Pass content-security-policy directive into shared workers.
17426         https://bugs.webkit.org/show_bug.cgi?id=75660
17427
17428         Reviewed by Darin Fisher.
17429
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:
17439
17440 2012-01-18  Ian Vollick  <vollick@chromium.org>
17441
17442         [chromium] Create a base-class CCAnimation to represent compositor animations
17443         https://bugs.webkit.org/show_bug.cgi?id=73233
17444
17445         Reviewed by Kenneth Russell.
17446
17447         * WebKit.gypi:
17448         * tests/CCActiveAnimationTest.cpp: Added.
17449         (WebCore::FakeFloatAnimation::duration):
17450         (WebCore::FakeFloatAnimation::getValue):
17451         (WebCore::createActiveAnimation):
17452         (WebCore::TEST):
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):
17468         (WebCore::TEST):
17469
17470 2012-01-18  James Robinson  <jamesr@chromium.org>
17471
17472         Unreviewed, rolling out r105366.
17473         http://trac.webkit.org/changeset/105366
17474         https://bugs.webkit.org/show_bug.cgi?id=76015
17475
17476         Breaks CCLayerTreeHostImplTest unit test
17477
17478         * tests/CCQuadCullerTest.cpp:
17479         (WebCore::TestDrawQuad::TestDrawQuad):
17480         (WebCore::TestDrawQuad::create):
17481         (WebCore::setQuads):
17482         * tests/CCTiledLayerImplTest.cpp:
17483         (WebCore::createLayer):
17484         (WebCore::TEST):
17485         (WebCore::getQuads):
17486         (WebCore::coverageVisibleRectOnTileBoundaries):
17487         (WebCore::coverageVisibleRectIntersectsTiles):
17488         (WebCore::coverageVisibleRectIntersectsBounds):
17489
17490 2012-01-18  Dana Jansens  <danakj@chromium.org>
17491
17492         [chromium] Use region reported painted opaque for draw culling
17493         https://bugs.webkit.org/show_bug.cgi?id=76015
17494
17495         Reviewed by James Robinson.
17496
17497         * tests/CCQuadCullerTest.cpp:
17498         (WebCore::TestDrawQuad::TestDrawQuad):
17499         (WebCore::TestDrawQuad::create):
17500         (WebCore::setQuads):
17501         (WebCore::TEST):
17502         * tests/CCTiledLayerImplTest.cpp:
17503         (WebCore::createLayer):
17504         (WebCore::TEST):
17505         (WebCore::getQuads):
17506         (WebCore::coverageVisibleRectOnTileBoundaries):
17507         (WebCore::coverageVisibleRectIntersectsTiles):
17508         (WebCore::coverageVisibleRectIntersectsBounds):
17509
17510 2012-01-18  Joshua Bell  <jsbell@chromium.org>
17511
17512         IndexedDB: Fix InjectIDBKeyTest.SubProperty test failure
17513         https://bugs.webkit.org/show_bug.cgi?id=76582
17514
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.
17518
17519         Reviewed by James Robinson.
17520
17521         * tests/IDBBindingUtilitiesTest.cpp:
17522         (WebCore::TEST):
17523
17524 2012-01-18  Dirk Pranke  <dpranke@chromium.org>
17525
17526         [chromium] move Tools.gyp, switch build-webkit --chromium to All.gyp
17527         https://bugs.webkit.org/show_bug.cgi?id=76505
17528
17529         Reviewed by Tony Chang.
17530
17531         Update path to Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp.
17532
17533         * All.gyp:
17534         * gyp_webkit:
17535         - change to using All.gyp
17536         - change build_webkit_exes_from_webkit_gyp to 0
17537
17538 2012-01-18  David Grogan  <dgrogan@chromium.org>
17539
17540         IndexedDB: Check for permission before using IndexedDB from a worker.
17541         https://bugs.webkit.org/show_bug.cgi?id=76500
17542
17543         Reviewed by David Levin.
17544
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
17558         worker thread.
17559
17560 2012-01-18  Tommy Widenflycht  <tommyw@google.com>
17561
17562         [chromium] MediaStream API: Make WebMediaStreamDescriptor copyable
17563         https://bugs.webkit.org/show_bug.cgi?id=76526
17564
17565         Reviewed by Darin Fisher.
17566
17567         This patch adds a copy constructor and a assignment operator to WebMediaStreamDescriptor.
17568
17569         * public/platform/WebMediaStreamDescriptor.h:
17570         (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
17571         (WebKit::WebMediaStreamDescriptor::operator=):
17572         * src/WebMediaStreamDescriptor.cpp:
17573         (WebKit::WebMediaStreamDescriptor::assign):
17574
17575 2012-01-18  Dana Jansens  <danakj@chromium.org>
17576
17577         [chromium] Enable tracking opaque region in Skia graphics context, return it from LayerTextureUpdater
17578         https://bugs.webkit.org/show_bug.cgi?id=76211
17579
17580         Reviewed by James Robinson.
17581
17582         * WebKit.gypi:
17583         * tests/LayerTextureUpdaterTest.cpp: Added.
17584         (WebCore::TestLayerPainterChromium::TestLayerPainterChromium):
17585         (WebCore::TestLayerPainterChromium::paint):
17586         (WebCore::PaintFillOpaque::operator()):
17587         (WebCore::PaintFillAlpha::operator()):
17588         (WebCore::TEST):
17589         * tests/TiledLayerChromiumTest.cpp:
17590         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
17591
17592 2012-01-18  Tim Dresser  <tdresser@chromium.org>
17593
17594         [chromium] Refactor canvas, plugin, and video drawing to be more data-driven
17595         https://bugs.webkit.org/show_bug.cgi?id=76274
17596
17597         Reviewed by James Robinson.
17598
17599         No longer test culling in CCLayerTreeHostImplTest.blendingOffWhenDrawingLayers.
17600
17601         * tests/CCLayerTreeHostImplTest.cpp:
17602         (WebKit::BlendStateCheckLayer::appendQuads):
17603         (WebKit::BlendStateCheckLayer::setExpectation):
17604         (WebKit::BlendStateCheckLayer::quadsAppended):
17605         (WebKit::BlendStateCheckLayer::BlendStateCheckLayer):
17606         (WebKit::TEST_F):
17607
17608 2012-01-18  Dominic Mazzoni  <dmazzoni@google.com>
17609
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
17612
17613         Reviewed by Chris Fleizach.
17614
17615         * public/WebAccessibilityObject.h:
17616         * src/WebAccessibilityObject.cpp:
17617         (WebKit::WebAccessibilityObject::scrollToMakeVisible):
17618         (WebKit::WebAccessibilityObject::scrollToMakeVisibleWithSubFocus):
17619         (WebKit::WebAccessibilityObject::scrollToGlobalPoint):
17620
17621 2012-01-17  Sheriff Bot  <webkit.review.bot@gmail.com>
17622
17623         Unreviewed, rolling out r105244.
17624         http://trac.webkit.org/changeset/105244
17625         https://bugs.webkit.org/show_bug.cgi?id=76518
17626
17627         broke Chromium Mac (Requested by rolandsteiner on #webkit).
17628
17629         * public/WebAccessibilityObject.h:
17630         * src/WebAccessibilityObject.cpp:
17631
17632 2012-01-17  Dominic Mazzoni  <dmazzoni@google.com>
17633
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
17636
17637         Reviewed by Chris Fleizach.
17638
17639         * public/WebAccessibilityObject.h:
17640         * src/WebAccessibilityObject.cpp:
17641         (WebKit::WebAccessibilityObject::scrollToMakeVisible):
17642         (WebKit::WebAccessibilityObject::scrollToMakeVisibleWithSubFocus):
17643         (WebKit::WebAccessibilityObject::scrollToGlobalPoint):
17644
17645 2012-01-17  Noel Gordon  <noel.gordon@gmail.com>
17646
17647         [chromium] Remove public/WebWorker.h from the gyp projects
17648         https://bugs.webkit.org/show_bug.cgi?id=76512
17649
17650         Reviewed by David Levin.
17651
17652         public/WebWorker.h was removed in r105020, remove references from the gyp projects.
17653
17654         * WebKit.gyp:
17655
17656 2012-01-17  Yury Semikhatsky  <yurys@chromium.org>
17657
17658         Unreviewed. Update Chromium dependency 117616:117882
17659
17660         * DEPS:
17661
17662 2012-01-17  Bill Budge  <bbudge@chromium.org>
17663
17664         AssociatedURLLoader adds support for the HTTP response header Access-Control-Expose-Header.
17665         https://bugs.webkit.org/show_bug.cgi?id=76419
17666
17667         Reviewed by Adam Barth.
17668
17669         * src/AssociatedURLLoader.cpp:
17670         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
17671         * tests/AssociatedURLLoaderTest.cpp:
17672         (WebKit::AssociatedURLLoaderTest::CheckAccessControlHeaders):
17673         (WebKit::TEST_F):
17674
17675 2012-01-16  Bill Budge  <bbudge@chromium.org>
17676
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
17680
17681         Reviewed by Adam Barth.
17682
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):
17690         (WebKit::TEST_F):
17691
17692 2012-01-16  xueqing huang  <huangxueqing@baidu.com>
17693
17694         Add offline web applications API applicationCache.abort.
17695         https://bugs.webkit.org/show_bug.cgi?id=76270
17696
17697         Reviewed by Alexey Proskuryakov.
17698
17699         * src/ApplicationCacheHost.cpp:
17700         (WebCore::ApplicationCacheHost::abort):
17701
17702 2012-01-16  Sheriff Bot  <webkit.review.bot@gmail.com>
17703
17704         Unreviewed, rolling out r105040.
17705         http://trac.webkit.org/changeset/105040
17706         https://bugs.webkit.org/show_bug.cgi?id=76373
17707
17708         Breaks Win (dbg) canary builder (Requested by apavlov on
17709         #webkit).
17710
17711         * WebKit.gypi:
17712         * tests/DispatchEventTest.cpp: Removed.
17713         * tests/data/event_target.html: Removed.
17714
17715 2012-01-16  Dave Michael  <dmichael@chromium.org>
17716
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
17719
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).
17722
17723         Reviewed by Hajime Morita.
17724
17725         * WebKit.gypi:
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):
17733         (WebKit::TEST_F):
17734         * tests/data/event_target.html: Added.
17735
17736 2012-01-15  Xinchao He  <xinchao.he@intel.com>
17737
17738         Add DeviceOrientationEvent.absolute
17739         https://bugs.webkit.org/show_bug.cgi?id=51742
17740
17741         Reviewed by Darin Fisher.
17742
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/
17746
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>):
17755
17756 2012-01-14  David Levin  <levin@chromium.org>
17757
17758         HWndDC should be in platform/win instead of wtf.
17759         https://bugs.webkit.org/show_bug.cgi?id=76314
17760
17761         Reviewed by Sam Weinig.
17762
17763         * src/win/WebScreenInfoFactory.cpp:
17764         (WebKit::WebScreenInfoFactory::screenInfo):
17765
17766 2012-01-14  Dmitry Lomov  <dslomov@google.com>
17767
17768         [Chromium] Remove WebKit::WebWorker class.
17769         https://bugs.webkit.org/show_bug.cgi?id=76327
17770
17771         Reviewed by Darin Fisher.
17772
17773         * public/WebWorker.h: Removed.
17774         * src/WebWorkerClientImpl.cpp:
17775
17776 2012-01-13  David Levin  <levin@chromium.org>
17777
17778         HWndDC is a better name than HwndDC.
17779         https://bugs.webkit.org/show_bug.cgi?id=76281
17780
17781         Reviewed by Darin Adler.
17782
17783         * src/win/WebScreenInfoFactory.cpp:
17784         (WebKit::WebScreenInfoFactory::screenInfo):
17785
17786 2012-01-13  Sheriff Bot  <webkit.review.bot@gmail.com>
17787
17788         Unreviewed.  Rolled DEPS.
17789
17790         * DEPS:
17791
17792 2012-01-12  David Levin  <levin@chromium.org>
17793
17794         HwndDC is a better name than OwnGetDC.
17795         https://bugs.webkit.org/show_bug.cgi?id=76235
17796
17797         Reviewed by Dmitry Titov.
17798
17799         * src/win/WebScreenInfoFactory.cpp:
17800         (WebKit::WebScreenInfoFactory::screenInfo):
17801
17802 2012-01-12  David Levin  <levin@chromium.org>
17803
17804         [chromium] Fix DC leak in WebScreenInfoFactory.
17805         https://bugs.webkit.org/show_bug.cgi?id=76203
17806
17807         Reviewed by Dmitry Titov.
17808
17809         * src/win/WebScreenInfoFactory.cpp:
17810         (WebKit::WebScreenInfoFactory::screenInfo): Use OwnGetDC to ensure its release.
17811
17812 2012-01-12  Dana Jansens  <danakj@chromium.org>
17813
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
17816
17817         Reviewed by Stephen White.
17818
17819         * WebKit.gypi:
17820         * tests/PlatformContextSkiaTest.cpp: Added.
17821         (WebCore::TEST):
17822
17823 2012-01-12  Nat Duca  <nduca@chromium.org>
17824
17825         [chromium] Turn off FrameRateController timesource when it is not needed
17826         https://bugs.webkit.org/show_bug.cgi?id=76149
17827
17828         Reviewed by James Robinson.
17829
17830         * tests/CCDelayBasedTimeSourceTest.cpp:
17831         (WebKitTests::TEST):
17832         * tests/CCLayerTreeHostTest.cpp:
17833         (WTF::CCLayerTreeHostTest::timeout):
17834         * tests/CCSchedulerStateMachineTest.cpp:
17835         (WebCore::TEST):
17836         * tests/CCSchedulerTest.cpp:
17837         (WebKitTests::TEST):
17838         * tests/CCSchedulerTestCommon.h:
17839         (WebKitTests::FakeCCTimeSource::active):
17840
17841 2012-01-12  Sheriff Bot  <webkit.review.bot@gmail.com>
17842
17843         Unreviewed.  Rolled DEPS.
17844
17845         * DEPS:
17846
17847 2012-01-11  Vsevolod Vlasov  <vsevik@chromium.org>
17848
17849         Make default console messages line numbers consistent.
17850         https://bugs.webkit.org/show_bug.cgi?id=74075
17851
17852         Reviewed by Pavel Feldman.
17853
17854         Unset line numbers are not printed to console now.
17855
17856         * src/WebFrameImpl.cpp:
17857         (WebKit::WebFrameImpl::addMessageToConsole):
17858
17859 2012-01-11  Takashi Toyoshima  <toyoshim@chromium.org>
17860
17861         Add WebArrayBuffer support in WebSocket to WebKit API.
17862         https://bugs.webkit.org/show_bug.cgi?id=75080
17863
17864         Reviewed by Darin Fisher.
17865
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.
17876
17877 2012-01-11  Scott Violet  <sky@google.com>
17878
17879         [chromium] TiledLayerChromium drops invalidates that occur during
17880         LayerTextureUpdater::prepareToUpdate
17881         https://bugs.webkit.org/show_bug.cgi?id=76067
17882
17883         Reviewed by James Robinson.
17884
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):
17893         (WTF::TEST):
17894
17895 2012-01-10  Dmitry Lomov  <dslomov@google.com>
17896
17897         [Chromium] Remove obsolete references to WebWorker class.
17898         https://bugs.webkit.org/show_bug.cgi?id=76020
17899
17900         Reviewed by David Levin.
17901
17902         * public/WebFrameClient.h:
17903         * public/WebSharedWorkerClient.h:
17904
17905 2012-01-11  Jochen Eisinger  <jochen@chromium.org>
17906
17907         Move the check for canExecuteScripts out of V8Proxy::retrieve
17908         https://bugs.webkit.org/show_bug.cgi?id=75533
17909
17910         Reviewed by Adam Barth.
17911
17912         * src/WebDevToolsAgentImpl.cpp:
17913         (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
17914
17915 2012-01-10  Daniel Cheng  <dcheng@chromium.org>
17916
17917         [chromium] Unreviewed, roll Chromium DEPS to r117121.
17918
17919         * DEPS:
17920
17921 2012-01-10  Nat Duca  <nduca@chromium.org>
17922
17923         [chromium] Reuse old timebase when activating CCDelayBasedTimeSource
17924         https://bugs.webkit.org/show_bug.cgi?id=75938
17925
17926         Reviewed by James Robinson.
17927
17928         * tests/CCDelayBasedTimeSourceTest.cpp:
17929         (WebKitTests::TEST):
17930
17931 2012-01-10  Tony Chang  <tony@chromium.org>
17932
17933         [chromium] Unreviewed, roll Chromium DEPS to r117109.
17934
17935         * DEPS:
17936
17937 2012-01-10  Bill Budge  <bbudge@chromium.org>
17938
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
17942
17943         Reviewed by Darin Fisher.
17944
17945         * WebKit.gyp:
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:
17959
17960 2012-01-10  Dana Jansens  <danakj@chromium.org>
17961
17962         [chromium] Create iterators for the RenderSurface-Layer tree
17963         https://bugs.webkit.org/show_bug.cgi?id=74203
17964
17965         Reviewed by James Robinson.
17966
17967         * WebKit.gypi:
17968         * tests/CCLayerIteratorTest.cpp: Added.
17969
17970 2012-01-10  James Robinson  <jamesr@chromium.org>
17971
17972         [chromium] Remove old WebMimeRegistry.h forwarding header
17973         https://bugs.webkit.org/show_bug.cgi?id=75979
17974
17975         Reviewed by Ryosuke Niwa.
17976
17977         This isn't needed any more.
17978
17979         * WebKit.gyp:
17980         * public/platform/WebMimeRegistry.h: Removed.
17981         * src/FrameLoaderClientImpl.cpp:
17982         * src/PlatformSupport.cpp:
17983         * src/WebMediaPlayerClientImpl.cpp:
17984
17985 2012-01-10  Adrienne Walker  <enne@google.com>
17986
17987         [chromium] Draw debug tile borders on composited layers
17988         https://bugs.webkit.org/show_bug.cgi?id=75680
17989
17990         Reviewed by James Robinson.
17991
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
17995         it.
17996
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):
18004
18005 2012-01-10  Peter Beverloo  <peter@chromium.org>
18006
18007         [Chromium] Fix compilation with ENABLE_WEB_AUDIO=0
18008         https://bugs.webkit.org/show_bug.cgi?id=75957
18009
18010         Reviewed by Tony Gentilcore.
18011
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.
18015
18016         * src/WebMediaPlayerClientImpl.cpp:
18017         (WebKit::WebMediaPlayerClientImpl::load):
18018         (WebKit::WebMediaPlayerClientImpl::loadInternal):
18019
18020 2012-01-09  Ryosuke Niwa  <rniwa@webkit.org>
18021
18022         Roll Chromium DEPS from 116979 to 117006.
18023
18024         * DEPS:
18025
18026 2012-01-09  Sheriff Bot  <webkit.review.bot@gmail.com>
18027
18028         Unreviewed, rolling out r104507.
18029         http://trac.webkit.org/changeset/104507
18030         https://bugs.webkit.org/show_bug.cgi?id=75936
18031
18032         Broke webkit_unit_tests (Requested by dimich on #webkit).
18033
18034         * WebKit.gypi:
18035         * tests/CCLayerIteratorTest.cpp: Removed.
18036
18037 2012-01-09  Ryosuke Niwa  <rniwa@webkit.org>
18038
18039         Touch WebView.h in an attempt to clobber Chromium bots on build.webkit.org.
18040
18041         * public/WebView.h:
18042
18043 2012-01-09  Ryosuke Niwa  <rniwa@webkit.org>
18044
18045         Roll Chromium DEPS from 116459 to 116979.
18046
18047         * DEPS:
18048
18049 2012-01-09  Dana Jansens  <danakj@chromium.org>
18050
18051         [chromium] Create iterators for the RenderSurface-Layer tree
18052         https://bugs.webkit.org/show_bug.cgi?id=74203
18053
18054         Reviewed by James Robinson.
18055
18056         * WebKit.gypi:
18057         * tests/CCLayerIteratorTest.cpp: Added.
18058
18059 2012-01-09  W. James MacLean  <wjmaclean@chromium.org>
18060
18061         [Chromium] REGRESSION(r104368): Broke CCLayerTreeHostImplTest.blendingOffWhenDrawingOpaqueLayers
18062         https://bugs.webkit.org/show_bug.cgi?id=75783
18063
18064         Updated unit test to reflect desired behaviour now that tile/quad culling
18065         is implemented.
18066
18067         Reviewed by James Robinson.
18068
18069         * tests/CCLayerTreeHostImplTest.cpp:
18070         (WebKit::TEST_F):
18071
18072 2012-01-09  Chris Rogers  <crogers@google.com>
18073
18074         Fix potential issue in WebMediaPlayerClientImpl
18075         https://bugs.webkit.org/show_bug.cgi?id=75899
18076
18077         Reviewed by Kenneth Russell.
18078
18079         * src/WebMediaPlayerClientImpl.cpp:
18080         (WebKit::WebMediaPlayerClientImpl::load):
18081         (WebKit::WebMediaPlayerClientImpl::loadInternal):
18082         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::wrap):
18083
18084 2012-01-09  Justin Novosad  <junov@chromium.org>
18085
18086         [Chromium] remove all references to the legacy accelerated 2d Canvas
18087         implementation
18088         https://bugs.webkit.org/show_bug.cgi?id=75108
18089
18090         Purging an old settings flag that is no longer referenced
18091
18092         Reviewed by Darin Fisher.
18093
18094         * public/WebSettings.h:
18095         * src/WebSettingsImpl.cpp:
18096         * src/WebSettingsImpl.h:
18097
18098 2012-01-09  Joshua Bell  <jsbell@chromium.org>
18099
18100         IndexedDB: Make WebIDBDatabase::close() idempotent
18101         https://bugs.webkit.org/show_bug.cgi?id=75751
18102
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.
18106
18107         Reviewed by Tony Chang.
18108
18109         * src/WebIDBDatabaseImpl.cpp:
18110         (WebKit::WebIDBDatabaseImpl::close):
18111
18112 2012-01-09  Xianzhu Wang  <wangxianzhu@chromium.org>
18113
18114         Avoid unnecessary TextureManager::reduceMemoryToLimit().
18115         https://bugs.webkit.org/show_bug.cgi?id=75632
18116
18117         Main part of the change is in Source/WebCore.
18118
18119         Reviewed by James Robinson.
18120
18121         Tests: webkit_unit_tests --gtest_filter=TextureManagerTest.*:CCLayerTreeHostTestSetViewportSize.*
18122
18123         * WebKit.gypi:
18124         * src/WebLayerTreeView.cpp:
18125         (WebKit::WebLayerTreeView::setViewportSize):
18126         * src/WebViewImpl.cpp:
18127         (WebKit::WebViewImpl::updateLayerTreeViewport):
18128         * tests/CCLayerTreeHostImplTest.cpp:
18129         (WebKit::TEST_F):
18130         * tests/CCLayerTreeHostTest.cpp:
18131         (WTF::MockLayerTreeHost::create):
18132         (WTF::CCLayerTreeHostTestOpacityChange::beginTest):
18133         (WTF::CCLayerTreeHostTestSetViewportSize::CCLayerTreeHostTestSetViewportSize):
18134         (WTF::CCLayerTreeHostTestSetViewportSize::beginTest):
18135         (WTF::CCLayerTreeHostTestSetViewportSize::afterTest):
18136         (WTF::TEST_F):
18137         * tests/TextureManagerTest.cpp: Added.
18138         (WTF::FakeTextureAllocator::createTexture):
18139         (WTF::FakeTextureAllocator::deleteTexture):
18140         (WTF::texturesMemorySize):
18141         (WTF::createTextureManager):
18142         (WTF::requestTexture):
18143         (WTF::TEST):
18144
18145 2012-01-09  Sheriff Bot  <webkit.review.bot@gmail.com>
18146
18147         Unreviewed, rolling out r104418.
18148         http://trac.webkit.org/changeset/104418
18149         https://bugs.webkit.org/show_bug.cgi?id=75855
18150
18151         we still need to build against CG on Mac sometimes (Requested
18152         by epoger on #webkit).
18153
18154         * WebKit.gyp:
18155         * WebKit.gypi:
18156
18157 2012-01-08  David Levin  <levin@chromium.org>
18158
18159         [chromium] iframes in an autoresized window get sized incorrectly.
18160         https://bugs.webkit.org/show_bug.cgi?id=75806
18161
18162         Reviewed by Adam Barth.
18163
18164         TEST: fast/autoresize/autoresize-with-iframe.html
18165
18166         * src/WebFrameImpl.cpp:
18167         (WebKit::WebFrameImpl::createFrameView): Only do autoresizing
18168         for the main frame not child frames.
18169
18170 2012-01-08  Adam Barth  <abarth@webkit.org>
18171
18172         [Chromium] Remove use_skia option from GYP
18173         https://bugs.webkit.org/show_bug.cgi?id=75811
18174
18175         Reviewed by Ryosuke Niwa.
18176
18177         The CG configuration of Chromium Mac is no longer supported.
18178
18179         * WebKit.gyp:
18180         * WebKit.gypi:
18181
18182 2012-01-07  Dmitry Lomov  <dslomov@google.com>
18183
18184         Unreviewed: disabled CCLayerTreeHostImplTest.blendingOffWhenDrawingOpaqueLayers
18185         and filed https://bugs.webkit.org/show_bug.cgi?id=75783.
18186
18187         * tests/CCLayerTreeHostImplTest.cpp:
18188         (WebKit::TEST_F):
18189
18190 2012-01-06  W. James MacLean  <wjmaclean@chromium.org>
18191
18192         [Chromium] Cull occluded tiles in tiled layers
18193         https://bugs.webkit.org/show_bug.cgi?id=70533
18194
18195         Reviewed by James Robinson.
18196
18197         * WebKit.gypi:
18198         * tests/CCQuadCullerTest.cpp: Added.
18199         (WebCore::TestDrawQuad::TestDrawQuad):
18200         (WebCore::TestDrawQuad::create):
18201         (WebCore::setQuads):
18202         (WebCore::TEST):
18203
18204 2012-01-06  Greg Billock  <gbillock@google.com>
18205
18206         [Web Intents] Flagged-off WebCore implementation of navigator.startActivity
18207         https://bugs.webkit.org/show_bug.cgi?id=73051
18208
18209         Reviewed by Adam Barth.
18210
18211         * features.gypi:
18212
18213 2012-01-06  Tom Sepez  <tsepez@chromium.org>
18214
18215         Pass Content-security-policy directive to worker threads.
18216         https://bugs.webkit.org/show_bug.cgi?id=73242
18217
18218         Reviewed by David Levin.
18219
18220         * src/WebSharedWorkerImpl.cpp:
18221         (WebKit::WebSharedWorkerImpl::startWorkerContext):
18222         * src/WebWorkerClientImpl.cpp:
18223         (WebKit::WebWorkerClientImpl::startWorkerContext):
18224
18225 2012-01-05  Jochen Eisinger  <jochen@chromium.org>
18226
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
18229
18230         Reviewed by Adam Barth.
18231
18232         * src/StorageAreaProxy.cpp:
18233         (WebCore::StorageAreaProxy::canAccessStorage):
18234
18235 2012-01-04  James Robinson  <jamesr@chromium.org>
18236
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
18239
18240         Reviewed by Darin Fisher.
18241
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
18246         CCProxy's control.
18247
18248         This is a small step towards inverting the scheduling control from the WebWidget to the compositor.
18249
18250         * src/WebViewImpl.cpp:
18251         (WebKit::WebViewImpl::animate):
18252         (WebKit::WebViewImpl::updateAnimations):
18253         * src/WebViewImpl.h:
18254
18255 2012-01-05  David Levin  <levin@chromium.org>
18256
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
18259
18260         Reviewed by Dmitry Titov.
18261
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.
18267
18268 2012-01-05  W. James MacLean  <wjmaclean@chromium.org>
18269
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
18272
18273         Reviewed by James Robinson.
18274
18275         * WebKit.gypi:
18276         * src/WebExternalTextureLayerImpl.cpp:
18277         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
18278         * tests/WebExternalTextureLayerImplTest.cpp: Copied from Source/WebKit/chromium/src/WebExternalTextureLayerImpl.cpp.
18279
18280 2012-01-05  Tien Ren Chen  <trchen@chromium.org>
18281
18282         [chromium] Add CCTimer class for the compositor
18283         https://bugs.webkit.org/show_bug.cgi?id=74769
18284
18285         Reviewed by James Robinson.
18286
18287         Add a simple timer class for CCThread that the timered task can be
18288         manually cancelled.
18289
18290         * WebKit.gypi:
18291         * tests/CCTimerTest.cpp: Added.
18292         (WebKitTests::CCTimerTest::CCTimerTest):
18293         (WebKitTests::CCTimerTest::onTimerFired):
18294         (WebKitTests::TEST_F):
18295
18296 2012-01-04  Adrienne Walker  <enne@google.com>
18297
18298         [chromium] Create unit tests for CCTiledLayerImpl
18299         https://bugs.webkit.org/show_bug.cgi?id=75557
18300
18301         Reviewed by James Robinson.
18302
18303         Add some quad generation tests for tiled layers.
18304
18305         * WebKit.gypi:
18306         * tests/CCTiledLayerImplTest.cpp: Added.
18307         (WebCore::createLayer):
18308         (WebCore::TEST):
18309         (WebCore::completelyContains):
18310         (WebCore::getQuads):
18311         (WebCore::verifyQuadsExactlyCoverRect):
18312         (WebCore::coverageVisibleRectOnTileBoundaries):
18313         (WebCore::coverageVisibleRectIntersectsTiles):
18314         (WebCore::coverageVisibleRectIntersectsBounds):
18315
18316 2012-01-05  David Reveman  <reveman@chromium.org>
18317
18318         [Chromium] Remove WebSettings::setAcceleratedDrawingEnabled from public API.
18319         https://bugs.webkit.org/show_bug.cgi?id=74125
18320
18321         Reviewed by James Robinson.
18322
18323         Remove setAcceleratedDrawingEnabled method from WebSettings class.
18324
18325         * public/WebSettings.h:
18326         * src/WebSettingsImpl.cpp:
18327         * src/WebSettingsImpl.h:
18328
18329 2012-01-05  Peter Beverloo  <peter@chromium.org>
18330
18331         [Chromium] Upstream the RenderTheme and ScrollbarTheme for Android
18332         https://bugs.webkit.org/show_bug.cgi?id=74614
18333
18334         Reviewed by Adam Barth.
18335
18336         * src/WebViewImpl.cpp:
18337         (WebKit::WebViewImpl::setScrollbarColors):
18338         (WebKit::WebViewImpl::setSelectionColors):
18339
18340 2012-01-05  Fady Samuel  <fsamuel@chromium.org>
18341
18342         [Chromium] Expose Fixed Position Layout to WebViewImpl
18343         https://bugs.webkit.org/show_bug.cgi?id=75556
18344
18345         Reviewed by Darin Fisher.
18346
18347         * public/WebView.h:
18348         * src/WebViewImpl.cpp:
18349         (WebKit::WebViewImpl::shouldLayoutFixedElementsRelativeToFrame):
18350         (WebKit::WebViewImpl::setShouldLayoutFixedElementsRelativeToFrame):
18351         * src/WebViewImpl.h:
18352
18353 2012-01-04  Ryosuke Niwa  <rniwa@webkit.org>
18354
18355         Roll Chromium DEPS from 116031 to 116459.
18356
18357         * DEPS:
18358
18359 2012-01-04  David Levin  <levin@chromium.org>
18360
18361         Attempt Chromium build fix.
18362
18363         * src/WorkerFileSystemCallbacksBridge.h:
18364
18365 2012-01-04  David Levin  <levin@chromium.org>
18366
18367         [chromium] Remove AllowCrossThreadAccess in WorkerFileSystemCallbacksBridge.
18368         https://bugs.webkit.org/show_bug.cgi?id=75579
18369
18370         Reviewed by Dmitry Titov.
18371
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.
18376
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:
18415
18416 2012-01-04  David Levin  <levin@chromium.org>
18417
18418         [chromium] Make it safe to delete WorkerFileSystemContextObserver on any thread.
18419         https://bugs.webkit.org/show_bug.cgi?id=75573
18420
18421         Reviewed by Dmitry Titov.
18422
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.
18439
18440 2012-01-04  James Robinson  <jamesr@chromium.org>
18441
18442         [chromium] Remove chromium compositor support for unused zoomAnimatorTransform
18443         https://bugs.webkit.org/show_bug.cgi?id=75585
18444
18445         Reviewed by Kenneth Russell.
18446
18447         * src/WebViewImpl.cpp:
18448         (WebKit::WebViewImpl::setZoomLevel):
18449         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
18450         * tests/CCLayerImplTest.cpp:
18451         (WebCore::TEST):
18452
18453 2012-01-04  James Robinson  <jamesr@chromium.org>
18454
18455         [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl
18456
18457         * WebKit.gyp:
18458
18459 2012-01-04  Sheriff Bot  <webkit.review.bot@gmail.com>
18460
18461         Unreviewed, rolling out r104052.
18462         http://trac.webkit.org/changeset/104052
18463         https://bugs.webkit.org/show_bug.cgi?id=75574
18464
18465         Breaks win builder (Requested by enne on #webkit).
18466
18467         * WebKit.gypi:
18468         * tests/CCTiledLayerImplTest.cpp: Removed.
18469
18470 2012-01-04  Dmitry Lomov  <dslomov@google.com>
18471
18472         Unreviewed:[Chromium]Disable WebPageNewSerializeTest.CSSResources and WebPageNewSerializeTest.TestMHTMLEncoding.
18473         https://bugs.webkit.org/show_bug.cgi?id=75567
18474
18475         * tests/WebPageNewSerializerTest.cpp:
18476         (WebKit::TEST_F):
18477
18478 2012-01-04  Adrienne Walker  <enne@google.com>
18479
18480         [chromium] Create unit tests for CCTiledLayerImpl
18481         https://bugs.webkit.org/show_bug.cgi?id=75557
18482
18483         Reviewed by James Robinson.
18484
18485         Add some quad generation tests for tiled layers.
18486
18487         * WebKit.gypi:
18488         * tests/CCTiledLayerImplTest.cpp: Added.
18489         (WebCore::createLayer):
18490         (WebCore::TEST):
18491         (WebCore::completelyContains):
18492         (WebCore::getQuads):
18493         (WebCore::verifyQuadsExactlyCoverRect):
18494         (WebCore::coverageVisibleRectOnTileBoundaries):
18495         (WebCore::coverageVisibleRectIntersectsTiles):
18496         (WebCore::coverageVisibleRectIntersectsBounds):
18497
18498 2012-01-04  James Robinson  <jamesr@chromium.org>
18499
18500         [chromium] Move WebMimeRegistry and dependencies to Source/Platform
18501         https://bugs.webkit.org/show_bug.cgi?id=74583
18502
18503         Reviewed by Darin Fisher.
18504
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.
18507
18508         WebString, WebCString, and WebCommon.h will remain in place as forwarding headers for users of the WebKit client
18509         API.
18510
18511         * WebKit.gyp:
18512         * public/platform/WebCString.h:
18513         * public/platform/WebCommon.h:
18514         * public/platform/WebMimeRegistry.h:
18515         * public/platform/WebString.h:
18516
18517 2012-01-03  Vangelis Kokkevis  <vangelis@chromium.org>
18518
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
18522
18523         Modified Canvas2DLayerChromium unit test to test canvas with
18524         both threaded and non-threaded compositing.
18525
18526         Reviewed by James Robinson.
18527
18528         * tests/CCSchedulerTestCommon.h:
18529         (WebKitTests::FakeCCThread::threadID):
18530         * tests/Canvas2DLayerChromiumTest.cpp:
18531         (WebCore::Canvas2DLayerChromiumTest::setTextureManager):
18532         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
18533         (WebCore::TEST_F):
18534
18535 2012-01-04  Peter Beverloo  <peter@chromium.org>
18536
18537         [Chromium] Re-use TestShellLinux.cpp for Android
18538         https://bugs.webkit.org/show_bug.cgi?id=75169
18539
18540         Reviewed by Tony Chang.
18541
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.
18547
18548         * WebKit.gyp:
18549
18550 2012-01-03  Karl Koscher  <supersat@chromium.org>
18551
18552         Give embedders a chance to handle postMessage calls
18553         https://bugs.webkit.org/show_bug.cgi?id=73883
18554
18555         Reviewed by Adam Barth.
18556
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:
18564
18565 2012-01-03  Shawn Singh  <shawnsingh@chromium.org>
18566
18567         [chromium] CCLayerSorter accidentally reverses order of some layers.
18568         https://bugs.webkit.org/show_bug.cgi?id=75046
18569
18570         Reviewed by James Robinson.
18571
18572         * tests/CCLayerSorterTest.cpp:
18573         (WebCore::TEST):
18574
18575 2012-01-03  David Levin  <levin@chromium.org>
18576
18577         [chromium] LocalFileSystemChromium needs some thread safety fixes.
18578         https://bugs.webkit.org/show_bug.cgi?id=75494
18579
18580         Reviewed by Dmitry Titov.
18581
18582         This is essentially the same fix as r102894 except in slightly different code.
18583
18584         The important part of this fix is the removal of AllowCrossThreadAccess so
18585         that ref counting happens appropriately.
18586
18587         Minor clean up throughout: Removed unnecessary WTF prefix in many
18588         of these places and unnecessary String().
18589
18590         * src/LocalFileSystemChromium.cpp: See r102894 since this
18591         is basically the same thing.
18592
18593 2012-01-03  Shawn Singh  <shawnsingh@chromium.org>
18594
18595         [chromium] Push drawsContent and contentsVisible into accelerated compositor
18596         https://bugs.webkit.org/show_bug.cgi?id=71209
18597
18598         Reviewed by James Robinson.
18599
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):
18615
18616 2012-01-03  Shawn Singh  <shawnsingh@chromium.org>
18617
18618         [chromium] Make sure root damage rect gets passed to renderer
18619         https://bugs.webkit.org/show_bug.cgi?id=74893
18620
18621         Reviewed by James Robinson.
18622
18623         * tests/CCLayerTreeHostImplTest.cpp:
18624         (WebKit::TEST_F):
18625         (WebKit::PartialSwapTrackerContext::initialize):
18626         (WebKit::PartialSwapTrackerContext::postSubBufferCHROMIUM):
18627         (WebKit::PartialSwapTrackerContext::getString):
18628         (WebKit::PartialSwapTrackerContext::partialSwapRect):
18629
18630 2012-01-03  Tony Chang  <tony@chromium.org>
18631
18632         [chromium] Fix compilation with clang and the shared build
18633         https://bugs.webkit.org/show_bug.cgi?id=75492
18634
18635         Reviewed by Ojan Vafai.
18636
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.
18641
18642 2012-01-03  Adrienne Walker  <enne@google.com>
18643
18644         [chromium] Revert accidentally removed chrome client compositing check
18645         https://bugs.webkit.org/show_bug.cgi?id=75500
18646
18647         Reviewed by James Robinson.
18648
18649         This check was overzealously removed in r103968 as a part of
18650         re-enabling compositing for RTL pages. Add it back.
18651
18652         * src/ChromeClientImpl.cpp:
18653         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
18654
18655 2012-01-03  Jon Lee  <jonlee@apple.com>
18656
18657         Leak of WebNotificationClient when page is destroyed
18658         https://bugs.webkit.org/show_bug.cgi?id=74980
18659         <rdar://problem/10611231>
18660
18661         Reviewed by Mark Rowe.
18662
18663         * src/NotificationPresenterImpl.cpp:
18664         (WebKit::NotificationPresenterImpl::notificationControllerDestroyed): Empty implementation because ownership
18665         model differs.
18666         * src/NotificationPresenterImpl.h:
18667
18668 2012-01-03  James Robinson  <jamesr@chromium.org>
18669
18670         [chromium] Remove WebLayerClient
18671         https://bugs.webkit.org/show_bug.cgi?id=75481
18672
18673         Reviewed by Darin Fisher.
18674
18675         * WebKit.gyp:
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:
18683
18684 2012-01-03  Adrienne Walker  <enne@google.com>
18685
18686         [chromium] Support RTL pages and elements in the compositor
18687         https://bugs.webkit.org/show_bug.cgi?id=56591
18688
18689         Reviewed by James Robinson.
18690
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.
18695
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):
18704
18705 2012-01-03  Adrienne Walker  <enne@google.com>
18706
18707         [chromium] Make tiled layer's tiler always exist
18708         https://bugs.webkit.org/show_bug.cgi?id=75329
18709
18710         Reviewed by James Robinson.
18711
18712         Update test due to changing API. Add a test for changing border
18713         texel option on TilingData.
18714
18715         * tests/TiledLayerChromiumTest.cpp:
18716         (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
18717         * tests/TilingDataTest.cpp:
18718         (WebCore::TEST):
18719
18720 2011-12-30  Ami Fischman  <fischman@chromium.org>
18721
18722         Allow disabling accelerated compositing in WebMediaPlayerClient (so audio-only <video> isn't accelerated).
18723         https://bugs.webkit.org/show_bug.cgi?id=75261
18724
18725         Reviewed by Darin Fisher.
18726
18727         * public/WebMediaPlayerClient.h:
18728         * src/WebMediaPlayerClientImpl.cpp:
18729         (WebKit::WebMediaPlayerClientImpl::disableAcceleratedCompositing):
18730         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::setClient):
18731         * src/WebMediaPlayerClientImpl.h:
18732
18733 2011-12-30  Sheriff Bot  <webkit.review.bot@gmail.com>
18734
18735         Unreviewed.  Rolled DEPS.
18736
18737         * DEPS:
18738
18739 2011-12-30  Pavel Feldman  <pfeldman@google.com>
18740
18741         Web Inspector: migrate from "attached" to "compact" styles.
18742         https://bugs.webkit.org/show_bug.cgi?id=75381
18743
18744         Reviewed by Yury Semikhatsky.
18745
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.
18748
18749         * src/js/devTools.css:
18750         (body.compact #toolbar):
18751
18752 2011-12-30  Dmitry Lomov  <dslomov@google.com>
18753
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.
18757
18758         Reviewed by Adam Barth.
18759
18760         * WebKit.gyp:
18761         * public/WebFrameClient.h:
18762         * public/WebWorkerClient.h: Removed.
18763         * src/WebSharedWorkerImpl.h:
18764         * src/WebWorkerBase.cpp:
18765         * src/WebWorkerClientImpl.h:
18766
18767 2011-12-29  Sheriff Bot  <webkit.review.bot@gmail.com>
18768
18769         Unreviewed, rolling out r103831.
18770         http://trac.webkit.org/changeset/103831
18771         https://bugs.webkit.org/show_bug.cgi?id=75377
18772
18773         broke chromium build (Requested by dslomov_ on #webkit).
18774
18775         * WebKit.gyp:
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:
18781
18782 2011-12-29  Pavel Feldman  <pfeldman@google.com>
18783
18784         Web Inspector: enable dock-to-right view (still need embedders to support it).
18785         https://bugs.webkit.org/show_bug.cgi?id=75360
18786
18787         Reviewed by Yury Semikhatsky.
18788
18789         * src/js/DevTools.js:
18790
18791 2011-12-29  Dmitry Lomov  <dslomov@google.com>
18792
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.
18796
18797         Reviewed by Adam Barth.
18798
18799         * WebKit.gyp:
18800         * public/WebFrameClient.h:
18801         * public/WebWorkerClient.h: Removed.
18802         * src/WebSharedWorkerImpl.h:
18803         * src/WebWorkerBase.cpp:
18804         * src/WebWorkerClientImpl.h:
18805
18806 2011-12-29  Pavel Feldman  <pfeldman@google.com>
18807
18808         Web Inspector: [chromium] pass dock to side request to the embedder.
18809         https://bugs.webkit.org/show_bug.cgi?id=75344
18810
18811         Reviewed by Yury Semikhatsky.
18812
18813         * public/WebDevToolsFrontendClient.h:
18814         (WebKit::WebDevToolsFrontendClient::requestSetDockSide):
18815         * src/InspectorFrontendClientImpl.cpp:
18816         (WebKit::InspectorFrontendClientImpl::requestSetDockSide):
18817         * src/InspectorFrontendClientImpl.h:
18818
18819 2011-12-28  Dmitry Lomov  <dslomov@google.com>
18820
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.
18830
18831         Reviewed by David Levin.
18832
18833         * WebKit.gyp:
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:
18902
18903 2011-12-28  Sheriff Bot  <webkit.review.bot@gmail.com>
18904
18905         Unreviewed, rolling out r103785.
18906         http://trac.webkit.org/changeset/103785
18907         https://bugs.webkit.org/show_bug.cgi?id=75332
18908
18909         Broke builders; looks like clobbering didnt help (Requested by
18910         dslomov on #webkit).
18911
18912         * WebKit.gyp:
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:
18999
19000 2011-12-28  Dmitry Lomov  <dslomov@google.com>
19001
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.
19011
19012         Reviewed by David Levin.
19013
19014         * WebKit.gyp:
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:
19083
19084 2011-12-28  Sheriff Bot  <webkit.review.bot@gmail.com>
19085
19086         Unreviewed, rolling out r103620.
19087         http://trac.webkit.org/changeset/103620
19088         https://bugs.webkit.org/show_bug.cgi?id=75316
19089
19090         Causes many crashes (Requested by abarth on #webkit).
19091
19092         * public/WebDOMMessageEvent.h:
19093         * public/WebFrameClient.h:
19094         * src/FrameLoaderClientImpl.cpp:
19095         * src/FrameLoaderClientImpl.h:
19096
19097 2011-12-27  Sheriff Bot  <webkit.review.bot@gmail.com>
19098
19099         Unreviewed, rolling out r103734.
19100         http://trac.webkit.org/changeset/103734
19101         https://bugs.webkit.org/show_bug.cgi?id=75278
19102
19103         Broke cr-mac (Requested by dslomov on #webkit).
19104
19105         * WebKit.gyp:
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:
19192
19193 2011-12-27  Dmitry Lomov  <dslomov@google.com>
19194
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.
19204
19205         Reviewed by David Levin.
19206
19207         * WebKit.gyp:
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:
19276
19277 2011-12-27  Tony Chang  <tony@chromium.org>
19278
19279         [chromium] Minor cleanup of gyp files.
19280         https://bugs.webkit.org/show_bug.cgi?id=75269
19281
19282         Reviewed by Adam Barth.
19283
19284         * WebKit.gyp: msvs_guid is no longer needed.
19285
19286 2011-12-27  Tony Chang  <tony@chromium.org>
19287
19288         [chromium] When building with clang, enable -Wglobal-constructors
19289         https://bugs.webkit.org/show_bug.cgi?id=74365
19290
19291         Reviewed by Adam Barth.
19292
19293         * WebKit.gyp: Only add it to the webkit target.  I got errors when
19294         trying to compile webkit_unit_tests.
19295
19296 2011-12-24  Ryosuke Niwa  <rniwa@webkit.org>
19297
19298         Unreviewed, rolling out r103619.
19299         http://trac.webkit.org/changeset/103619
19300         https://bugs.webkit.org/show_bug.cgi?id=66509
19301
19302         Broke chromium clang build
19303
19304         * WebKit.gyp:
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:
19389
19390 2011-12-23  Sam Weinig  <sam@webkit.org>
19391
19392         Start extracting platform specific bits out of PlatformEvents
19393         https://bugs.webkit.org/show_bug.cgi?id=75063
19394
19395         Reviewed by Anders Carlsson.
19396
19397         * src/WebInputEventConversion.cpp:
19398         (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
19399         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
19400         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
19401         (WebKit::PlatformKeyboardEventBuilder::PlatformKeyboardEventBuilder):
19402         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
19403
19404 2011-12-23  Ryosuke Niwa  <rniwa@webkit.org>
19405
19406         Chromium Chromium DEPS from 115012 to 115743.
19407
19408         * DEPS:
19409
19410 2011-12-23  Karl Koscher  <supersat@chromium.org>
19411
19412         Give embedders a chance to handle postMessage calls
19413         https://bugs.webkit.org/show_bug.cgi?id=73883
19414
19415         Reviewed by Adam Barth.
19416
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:
19424
19425 2011-12-23  Dmitry Lomov  <dslomov@google.com>
19426
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.
19436
19437         Reviewed by David Levin.
19438
19439         * WebKit.gyp:
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:
19508
19509 2011-12-23  Bill Budge  <bbudge@chromium.org>
19510
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
19514
19515         Reviewed by Adam Barth.
19516
19517         * tests/AssociatedURLLoaderTest.cpp:
19518
19519 2011-12-22  Chris Rogers  <crogers@google.com>
19520
19521         WebMediaPlayerClientImpl::AudioClientImpl wrapper object should exist only if wrapped object exists
19522         https://bugs.webkit.org/show_bug.cgi?id=75113
19523
19524         Reviewed by Kenneth Russell.
19525
19526         * src/WebMediaPlayerClientImpl.cpp:
19527         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::wrap):
19528         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::setClient):
19529         * src/WebMediaPlayerClientImpl.h:
19530         (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::AudioClientImpl):
19531
19532 2011-12-21  Peter Kotwicz  <pkotwicz@google.com>
19533
19534         Plumbs refresh rate through WebLayerTreeView::Settings
19535         https://bugs.webkit.org/show_bug.cgi?id=74884
19536
19537         Reviewed by James Robinson.
19538
19539         * public/platform/WebLayerTreeView.h:
19540         (WebKit::WebLayerTreeView::Settings::Settings):
19541         * src/WebLayerTreeView.cpp:
19542         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
19543
19544 2011-12-20  Andrey Kosyakov  <caseq@chromium.org>
19545
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
19548
19549         Reviewed by Pavel Feldman.
19550
19551         * WebKit.gyp:
19552         * WebKit.gypi:
19553         * scripts/concatenate_js_files.py:
19554         (main):
19555         * scripts/generate_devtools_extension_api.py:
19556         (write_devtools_extension_api):
19557         * src/js/DevTools.js:
19558         ():
19559
19560 2011-12-20  Nate Chapin  <japhet@chromium.org>
19561
19562         Revert code for r96912 and r101905, since they cause
19563         regressions in mac scrollbars, caret display in
19564         form fields, etc.
19565         https://bugs.webkit.org/show_bug.cgi?id=74939
19566
19567         Reviewed by Eric Seidel.
19568
19569         * src/WebViewImpl.cpp:
19570         (WebKit::WebViewImpl::setFocus):
19571
19572 2011-12-20  Mike Reed  <reed@google.com>
19573
19574         enable USE_SKIA_TEXT by default, replacing GDI for all text drawing
19575         https://bugs.webkit.org/show_bug.cgi?id=74928
19576
19577         Reviewed by Stephen White.
19578
19579         * features.gypi:
19580
19581 2011-12-20  Greg Billock  <gbillock@google.com>
19582
19583         Make WebIntentServiceInfo constructor public for testing.
19584         https://bugs.webkit.org/show_bug.cgi?id=74764
19585
19586         Reviewed by Darin Fisher.
19587
19588         * public/WebIntentServiceInfo.h:
19589
19590 2011-12-19  James Robinson  <jamesr@chromium.org>
19591
19592         Compile fix for chromium on windows due to collision of testing::NotNull from gtest and NotNull from Vector.h
19593
19594         * tests/WebLayerTest.cpp:
19595
19596 2011-12-19  Ami Fischman  <fischman@chromium.org>
19597
19598         Teach VideoLayerChromium how to render native texture (to support HW video decode).
19599         https://bugs.webkit.org/show_bug.cgi?id=73043
19600         
19601         Reviewed by James Robinson.
19602         
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.
19610
19611         * src/WebMediaPlayerClientImpl.cpp:
19612         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
19613
19614 2011-12-19  Sam Weinig  <sam@webkit.org>
19615
19616         More PlatformEvent cleanup
19617         https://bugs.webkit.org/show_bug.cgi?id=74831
19618
19619         Reviewed by Dan Bernstein.
19620
19621         * src/WebViewImpl.cpp:
19622         (WebKit::WebViewImpl::mouseContextMenu):
19623         Update to use new names, access style.
19624
19625 2011-12-19  James Robinson  <jamesr@chromium.org>
19626
19627         [chromium] CCLayerDelegate and WebLayerClient do not need notifySyncRequired
19628         https://bugs.webkit.org/show_bug.cgi?id=74376
19629
19630         Reviewed by Kenneth Russell.
19631
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().
19637
19638         Once downstream implementations of WebLayerClient are removed, WebLayerClient.h and the constructors associated
19639         with it can be deleted.
19640
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.
19645
19646         * WebKit.gypi:
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:
19692         (WebKit::TEST):
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):
19700         (testing::TEST_F):
19701
19702 2011-12-19  James Robinson  <jamesr@chromium.org>
19703
19704         [chromium] Set the CCLayerTreeHost pointer on LayerChromium instances eagerly
19705         https://bugs.webkit.org/show_bug.cgi?id=74477
19706
19707         Reviewed by Kenneth Russell.
19708
19709         Add some new tests for LayerChromium::m_layerTreeHost behavior.
19710
19711         * tests/CCLayerTreeHostTest.cpp:
19712         (::MockLayerTreeHost::create):
19713         (::MockLayerTreeHost::MockLayerTreeHost):
19714         (::CCLayerTreeHostTestShortlived1::beginTest):
19715         (::CCLayerTreeHostTestShortlived2::beginTest):
19716         (::CCLayerTreeHostTestShortlived3::beginTest):
19717         * tests/LayerChromiumTest.cpp:
19718
19719 2011-12-19  Adrienne Walker  <enne@google.com>
19720
19721         [chromium] Add more using statements to (re)fix Chromium builders.
19722
19723         Unreviewed gardening.
19724
19725         * tests/Canvas2DLayerChromiumTest.cpp:
19726
19727 2011-12-19  Adrienne Walker  <enne@google.com>
19728
19729         [chromium] Fix win builder due to more NotNull ambiguity errors.
19730
19731         Unreviewed gardening.
19732
19733         * tests/Canvas2DLayerChromiumTest.cpp:
19734
19735 2011-12-19  Iain Merrick  <husky@google.com>
19736
19737         [chromium] Accelerated canvas broken in threaded compositing mode
19738         https://bugs.webkit.org/show_bug.cgi?id=72738
19739
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.
19744
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.
19748
19749         Reviewed by James Robinson.
19750
19751         * WebKit.gypi:
19752         * tests/Canvas2DLayerChromiumTest.cpp: Added.
19753         (WebCore::Canvas2DLayerChromiumTest::setTextureManager):
19754
19755 2011-12-19  Ryosuke Niwa  <rniwa@webkit.org>
19756
19757         Chromium DEPS from 114686 to 115012.
19758
19759         * DEPS:
19760
19761 2011-12-19  Tommy Widenflycht  <tommyw@google.com>
19762
19763         [chromium] MediaStream API: Fixing memory leak in WebMediaStreamSource
19764         https://bugs.webkit.org/show_bug.cgi?id=74714
19765
19766         Reviewed by Eric Seidel.
19767
19768         Missed that PassRefPtr does a ref if constructed with a raw pointer.
19769         Also removed an extra space in WebMediaStreamDescriptor.cpp.
19770
19771         * src/WebMediaStreamDescriptor.cpp:
19772         (WebKit::WebMediaStreamDescriptor::sources):
19773         * src/WebMediaStreamSource.cpp:
19774         (WebKit::WebMediaStreamSource::operator=):
19775
19776 2011-12-19  Adrienne Walker  <enne@google.com>
19777
19778         Try to fix the Chromium win builder NotNull conflict.
19779
19780         Unreviewed gardening.
19781
19782         * tests/MockGraphicsContext3DTest.cpp:
19783
19784 2011-12-18  Keishi Hattori  <keishi@webkit.org>
19785
19786         Implement <input type=color> UI WebKit chromium part
19787         https://bugs.webkit.org/show_bug.cgi?id=65897
19788
19789         Reviewed by Darin Fisher.
19790
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.
19818
19819 2011-12-18  James Kozianski  <koz@chromium.org>
19820
19821         [chromium] Add worldId parameter to allowScriptExtension()
19822         https://bugs.webkit.org/show_bug.cgi?id=74214
19823
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.
19827
19828         Reviewed by Darin Fisher.
19829
19830         * public/WebPermissionClient.h:
19831         (WebKit::WebPermissionClient::allowScriptExtension):
19832         * src/FrameLoaderClientImpl.cpp:
19833         (WebKit::FrameLoaderClientImpl::allowScriptExtension):
19834         * src/FrameLoaderClientImpl.h:
19835
19836 2011-12-18  Sheriff Bot  <webkit.review.bot@gmail.com>
19837
19838         Unreviewed, rolling out r103169.
19839         http://trac.webkit.org/changeset/103169
19840         https://bugs.webkit.org/show_bug.cgi?id=74809
19841
19842         it broke compilation on many platforms (Requested by loislo_
19843         on #webkit).
19844
19845         * WebKit.gyp:
19846         * features.gypi:
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.
19855
19856 2011-12-18  Keishi Hattori  <keishi@webkit.org>
19857
19858         Implement <input type=color> UI WebKit chromium part
19859         https://bugs.webkit.org/show_bug.cgi?id=65897
19860
19861         Reviewed by Darin Fisher.
19862
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.
19890
19891 2011-12-17  Sam Weinig  <sam@webkit.org>
19892
19893         Make PlatformTouchEvent inherit from PlatformEvent
19894         https://bugs.webkit.org/show_bug.cgi?id=74777
19895
19896         Reviewed by Andreas Kling.
19897
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.
19905
19906 2011-12-17  Adrienne Walker  <enne@google.com>
19907
19908         [chromium] Reverting r103011, r103135 due to Aura test failures
19909
19910         Unreviewed gardening.
19911
19912         * WebKit.gypi:
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):
19966         (TEST):
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):
20144         (WebKit::TEST):
20145         * tests/WebLayerTest.cpp:
20146         (testing::WebLayerTest::WebLayerTest):
20147         (testing::TEST_F):
20148
20149 2011-12-17  Kenichi Ishibashi  <bashi@chromium.org>
20150
20151         [Chromium] Implement PluginViewBase::getFormValue
20152         https://bugs.webkit.org/show_bug.cgi?id=64434
20153
20154         Reviewed by Darin Fisher.
20155
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.
20158
20159         No new tests. No behavior change at this time. We should add a test for PPAPI after chromium supports the feature.
20160
20161         * public/WebPlugin.h: Added getFormValue().
20162         * src/WebPluginContainerImpl.cpp:
20163         (WebKit::WebPluginContainerImpl::getFormValue): Added.
20164         * src/WebPluginContainerImpl.h: Added getFormValue().
20165
20166 2011-12-16  James Robinson  <jamesr@chromium.org>
20167
20168         [chromium] CCLayerDelegate and WebLayerClient do not need notifySyncRequired
20169         https://bugs.webkit.org/show_bug.cgi?id=74376
20170
20171         Reviewed by Kenneth Russell.
20172
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().
20178
20179         Once downstream implementations of WebLayerClient are removed, WebLayerClient.h and the constructors associated
20180         with it can be deleted.
20181
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.
20186
20187         * WebKit.gypi:
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:
20233         (WebKit::TEST):
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):
20241         (testing::TEST_F):
20242
20243 2011-12-16  Eric Penner  <epenner@google.com>
20244
20245         [chromium] Need to prepaint tiles in TiledLayerChromium
20246         https://bugs.webkit.org/show_bug.cgi?id=72686
20247
20248         Reviewed by James Robinson.
20249
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):
20259         (WTF::TEST):
20260
20261 2011-12-16  James Robinson  <jamesr@chromium.org>
20262
20263         [chromium] Remove WebCString's dependency on WebCore
20264         https://bugs.webkit.org/show_bug.cgi?id=74761
20265
20266         Reviewed by Darin Fisher.
20267
20268         Remove WebCString::fromUTF16(), which are never called, and implement WebCString::utf16() using WTF instead of
20269         WebCore/platform/text/TextEncoding.
20270
20271         * public/platform/WebCString.h:
20272         * src/WebCString.cpp:
20273         (WebKit::WebCString::utf16):
20274
20275 2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
20276
20277         Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
20278         https://bugs.webkit.org/show_bug.cgi?id=74748
20279
20280         Reviewed by Eric Seidel.
20281
20282         * src/EditorClientImpl.cpp:
20283         (WebKit::EditorClientImpl::registerUndoStep):
20284         (WebKit::EditorClientImpl::registerRedoStep):
20285         * src/EditorClientImpl.h:
20286
20287 2011-12-16  Sam Weinig  <sam@webkit.org>
20288
20289         Give PlatformEvents a base class
20290         https://bugs.webkit.org/show_bug.cgi?id=74685
20291
20292         Reviewed by Anders Carlsson.
20293
20294         Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
20295         and PlatformGestureEvent and move Type enumeration and modifiers down to it.
20296
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):
20311         (TEST_F):
20312         * tests/KeyboardTest.cpp:
20313         (WebKit::KeyboardTest::interpretKeyEvent):
20314         (WebKit::KeyboardTest::interpretOSModifierKeyPress):
20315         (WebKit::KeyboardTest::interpretCtrlKeyPress):
20316         (WebKit::KeyboardTest::interpretTab):
20317         (WebKit::KeyboardTest::interpretNewLine):
20318         (WebKit::TEST_F):
20319         * tests/PopupMenuTest.cpp:
20320         (WebKit::SelectPopupMenuTest::simulateLeftMouseDownEvent):
20321         (WebKit::SelectPopupMenuTest::simulateLeftMouseUpEvent):
20322         (WebKit::TEST_F):
20323
20324 2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
20325
20326         Only EditCommandComposition should implement unapply and reapply
20327         https://bugs.webkit.org/show_bug.cgi?id=74490
20328
20329         Reviewed by Eric Seidel.
20330
20331         * src/EditorClientImpl.cpp:
20332         (WebKit::EditorClientImpl::registerCommandForUndo):
20333         (WebKit::EditorClientImpl::registerCommandForRedo):
20334         (WebKit::EditorClientImpl::undo):
20335         (WebKit::EditorClientImpl::redo):
20336         * src/EditorClientImpl.h:
20337
20338 2011-12-16  Joshua Bell  <jsbell@chromium.org>
20339
20340         IndexedDB: Implement IDBObjectStore.count() and IDBIndex.count()
20341         https://bugs.webkit.org/show_bug.cgi?id=73686
20342
20343         Reviewed by Tony Chang.
20344
20345         Plumbing to support the new methods in Chromium.
20346
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:
20359
20360 2011-12-16  Adrienne Walker  <enne@google.com>
20361
20362         [chromium] Disable compositor CCLayerTreeHostTestsetNeedsCommit1 test
20363         https://bugs.webkit.org/show_bug.cgi?id=74623
20364
20365         Unreviewed gardening.
20366
20367         This has been failing (timeout) intermittently on Mac.
20368
20369         * tests/CCLayerTreeHostTest.cpp:
20370         (WTF::TEST_F):
20371
20372 2011-12-16  Dana Jansens  <danakj@chromium.org>
20373
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
20376
20377         Reviewed by Darin Fisher.
20378
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:
20386
20387 2011-12-15  Stephen White  <senorblanco@chromium.org>
20388
20389         Enable CSS_FILTERS in Chromium.
20390         https://bugs.webkit.org/show_bug.cgi?id=74334
20391
20392         Reviewed by Chris Marrin.
20393
20394         * features.gypi:
20395
20396 2011-12-15  Yongjun Zhang  <yongjun_zhang@apple.com>
20397
20398         PODIntervalTree takes 1.7MB memory on www.nytimes.com.
20399         https://bugs.webkit.org/show_bug.cgi?id=73712
20400
20401         Reviewed by Kenneth Russell.
20402
20403         Change the test code in chromium port since PODRedBlackTree now takes PODFreeListArena<T>
20404         in its constructor.
20405
20406         * tests/PODRedBlackTreeTest.cpp:
20407         (WebCore::TEST):
20408
20409 2011-12-15  Joshua Bell  <jsbell@chromium.org>
20410
20411         IndexedDB: Clean up WebIDBObjectStore createIndex temp code
20412         https://bugs.webkit.org/show_bug.cgi?id=74205
20413
20414         Reviewed by Darin Fisher.
20415
20416         Remove a method and an implementation that only needed for
20417         older Chromium revisions.
20418
20419         * public/WebIDBObjectStore.h:
20420         (WebKit::WebIDBObjectStore::createIndex):
20421
20422 2011-12-15  Tony Chang  <tony@chromium.org>
20423
20424         Chromium Windows (Tests) is failing to build
20425         https://bugs.webkit.org/show_bug.cgi?id=74320
20426
20427         Reviewed by Kenneth Russell.
20428
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
20432         limit on Windows.
20433
20434         * DEPS: roll to r114686
20435
20436 2011-12-15  James Robinson  <jamesr@chromium.org>
20437
20438         [chromium] Set the CCLayerTreeHost pointer on LayerChromium instances eagerly
20439         https://bugs.webkit.org/show_bug.cgi?id=74477
20440
20441         Reviewed by Kenneth Russell.
20442
20443         Add some new tests for LayerChromium::m_layerTreeHost behavior.
20444
20445         * tests/CCLayerTreeHostTest.cpp:
20446         (::MockLayerTreeHost::create):
20447         (::MockLayerTreeHost::MockLayerTreeHost):
20448         (::CCLayerTreeHostTestShortlived1::beginTest):
20449         (::CCLayerTreeHostTestShortlived2::beginTest):
20450         (::CCLayerTreeHostTestShortlived3::beginTest):
20451         * tests/LayerChromiumTest.cpp:
20452
20453 2011-12-15  Nat Duca  <nduca@chromium.org>
20454
20455         [chromium] Add forUseOnAnotherThread to WebGraphicsContext3D::Attributes
20456         https://bugs.webkit.org/show_bug.cgi?id=74557
20457
20458         Reviewed by Kenneth Russell.
20459
20460         * public/platform/WebGraphicsContext3D.h:
20461         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
20462         * src/GraphicsContext3DChromium.cpp:
20463
20464 2011-12-15  Tommy Widenflycht  <tommyw@google.com>
20465
20466         [chromium] MediaStream API: Fixing #include statements and removing forwarding header file
20467         https://bugs.webkit.org/show_bug.cgi?id=74598
20468
20469         Reviewed by Darin Fisher.
20470
20471         WebMediaStreamSource.h had some issues when accessed from chromium. Also cleaned up the forwarding header.
20472
20473         * WebKit.gyp:
20474         * public/WebMediaStreamSource.h: Removed.
20475         * public/platform/WebMediaStreamSource.h:
20476
20477 2011-12-15  Stephen White  <senorblanco@chromium.org>
20478
20479         Unreviewed, rolling out r102956.
20480         http://trac.webkit.org/changeset/102956
20481         https://bugs.webkit.org/show_bug.cgi?id=74334
20482
20483         Broke Chromium/Win build.
20484
20485         * features.gypi:
20486
20487 2011-12-15  Kenneth Russell  <kbr@google.com>
20488
20489         Unreviewed. Disable flaky tests. Built and tested on Linux.
20490         https://bugs.webkit.org/show_bug.cgi?id=74623
20491
20492         * tests/CCLayerTreeHostTest.cpp:
20493         (WTF::TEST_F):
20494
20495 2011-12-15  Stephen White  <senorblanco@chromium.org>
20496
20497         Enable CSS_FILTERS in Chromium.
20498         https://bugs.webkit.org/show_bug.cgi?id=74334
20499
20500         Reviewed by Kenneth Russell.
20501
20502         * features.gypi:
20503
20504 2011-12-15  Martin Kosiba  <mkosiba@google.com>
20505
20506         Fix find on web pages with -webkit-user-select: none for Chromium
20507         https://bugs.webkit.org/show_bug.cgi?id=72281
20508
20509         Reviewed by Ryosuke Niwa.
20510
20511         This will make it possible to search for text that has
20512         selection disabled (via the webkit-user-select attribute).
20513
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.
20517
20518         * src/WebFrameImpl.cpp:
20519         (WebKit::WebFrameImpl::find):
20520
20521 2011-12-15  Kenneth Russell  <kbr@google.com>
20522
20523         [chromium] Add DRT support for WebKitPageCacheSupportsPluginsPreferenceKey
20524         https://bugs.webkit.org/show_bug.cgi?id=74581
20525
20526         Reviewed by Darin Fisher.
20527
20528         * public/WebSettings.h:
20529         * src/WebSettingsImpl.cpp:
20530         (WebKit::WebSettingsImpl::setPageCacheSupportsPlugins):
20531         * src/WebSettingsImpl.h:
20532
20533 2011-12-15  Andrey Kosyakov  <caseq@chromium.org>
20534
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
20537
20538         Reviewed by Yury Semikhatsky.
20539
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).
20543
20544         * src/js/Tests.js:
20545         (.TestSuite.prototype.testWaitForResultsInConsole.onConsoleMessage):
20546         (.TestSuite.prototype.testWaitForResultsInConsole):
20547
20548 2011-12-15  Peter Beverloo  <peter@chromium.org>
20549
20550         [Chromium] Enable TestNetscapePlugIn to link for Android
20551         https://bugs.webkit.org/show_bug.cgi?id=74597
20552
20553         Reviewed by Tony Gentilcore.
20554
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.
20558
20559         * WebKit.gyp:
20560
20561 2011-12-14  David Levin  <levin@chromium.org>
20562
20563         [chromium] DatabaseObserver needs threadsafe fixes and other clean-up.
20564         https://bugs.webkit.org/show_bug.cgi?id=74558
20565
20566         Reviewed by Dmitry Titov.
20567
20568         The important part of this fix is the removal of AllowCrossThreadAccess so
20569         that ref counting happens appropriately.
20570
20571         Minor clean up throughout: Removed unnecessary WTF prefix in many
20572         of these places and unnecessary String().
20573
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.
20583
20584 2011-12-14  Tony Chang  <tony@chromium.org>
20585
20586         [chromium] Remove redundant third_party entries from chromium DEPS
20587         https://bugs.webkit.org/show_bug.cgi?id=74472
20588
20589         Reviewed by Kenneth Russell.
20590
20591         Removed redundant DEPS entries for third_party subdirectories
20592         coming from chromium_svn, which were causing intermittent gclient
20593         failures on the bots.
20594
20595         * DEPS:
20596
20597 2011-12-14  Scott Graham  <scottmg@chromium.org>
20598
20599         Increase maximum number of gamepad buttons in Chromium port interface
20600         https://bugs.webkit.org/show_bug.cgi?id=74559
20601
20602         Reviewed by Darin Fisher.
20603
20604         * public/platform/WebGamepad.h:
20605
20606 2011-12-14  Kenichi Ishibashi  <bashi@chromium.org>
20607
20608         Unreviewed, rolling out r102873.
20609         http://trac.webkit.org/changeset/102873
20610         https://bugs.webkit.org/show_bug.cgi?id=64434
20611
20612         Break the build
20613
20614         * public/WebPlugin.h:
20615         * src/WebPluginContainerImpl.cpp:
20616         * src/WebPluginContainerImpl.h:
20617
20618 2011-12-14  Nat Duca  <nduca@chromium.org>
20619
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
20622
20623         Reviewed by James Robinson.
20624
20625         * tests/CCSchedulerStateMachineTest.cpp:
20626         (WebCore::StateMachine::inhibitDraw):
20627         (WebCore::TEST):
20628         * tests/CCSchedulerTest.cpp:
20629         (WebKitTests::FakeCCSchedulerClient::setInhibitDraw):
20630         (WebKitTests::FakeCCSchedulerClient::inhibitDraw):
20631         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::inhibitDraw):
20632         (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::inhibitDraw):
20633
20634 2011-12-14  Jing Zhao  <jingzhao@chromium.org>
20635
20636         Opening two popup menus by dispatchEvent() makes problems.
20637         https://bugs.webkit.org/show_bug.cgi?id=73304
20638
20639         Reviewed by Kent Tamura.
20640
20641         By using element.dispatchEvent(), a user written script can open two
20642         popup menus, which causes the assertion in WebViewImpl::popupOpened()
20643         fail.
20644
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.
20648
20649         * src/ChromeClientImpl.cpp:
20650         (WebKit::ChromeClientImpl::hasOpenedPopup): Checks the popup in WebViewImpl.
20651         * src/ChromeClientImpl.h: Overrides hasOpenedPopup().
20652
20653 2011-12-14  Kenichi Ishibashi  <bashi@chromium.org>
20654
20655         [Chromium] Implement PluginViewBase::getFormValue
20656         https://bugs.webkit.org/show_bug.cgi?id=64434
20657
20658         Adds getFormValue() to WebPluginContainerImpl as an implementation of PluginViewBase::getFormValue().
20659
20660         Reviewed by Darin Fisher.
20661
20662         No new tests. No behavior change at this time. We should add a test for PPAPI after chromium supports the feature.
20663
20664         * public/WebPlugin.h: Added getFormValue().
20665         * src/WebPluginContainerImpl.cpp:
20666         (WebKit::WebPluginContainerImpl::getFormValue): Added.
20667         * src/WebPluginContainerImpl.h: Added getFormValue().
20668
20669 2011-12-14  Sami Kyostila  <skyostil@chromium.org>
20670
20671         [chromium] Fix CCLayerTreeHostTest shutdown race
20672         https://bugs.webkit.org/show_bug.cgi?id=73926
20673
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:
20677
20678           1. CCThreadProxy::scheduledActionDrawAndSwap() is called when a frame
20679              begins.
20680           2. CCThreadProxy calls drawLayersOnCCThread(), which in turn calls
20681              endTest().
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
20685              the main thread.
20686
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
20691         posted.
20692
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).
20697
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.
20701
20702         Reviewed by James Robinson.
20703
20704 2011-12-14  Jonathan Backer  <backer@chromium.org>
20705
20706         [chromium] Plumb through flag for enabling partial swap
20707         https://bugs.webkit.org/show_bug.cgi?id=74513
20708
20709         Reviewed by James Robinson.
20710
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):
20721
20722 2011-12-14  Peter Beverloo  <peter@chromium.org>
20723
20724         [Chromium] Roll chromium DEPS (r113807 -> r114356)
20725         https://bugs.webkit.org/show_bug.cgi?id=74496
20726
20727         Reviewed by Tony Gentilcore.
20728
20729         Roll deps to r114356 and update the location of sfntly to
20730         pick up the change at Chromium.
20731
20732         * DEPS:
20733
20734 2011-12-13  Dirk Pranke  <dpranke@chromium.org>
20735
20736         chromium port - remove nacl hack in DEPS/gyp_webkit
20737         https://bugs.webkit.org/show_bug.cgi?id=74150
20738
20739         Reviewed by Tony Chang.
20740
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.
20744
20745         * DEPS:
20746         * gyp_webkit:
20747
20748 2011-12-13  Dave Michael  <dmichael@chromium.org>
20749
20750         Export WebArrayBuffer::byteLength
20751         https://bugs.webkit.org/show_bug.cgi?id=74438
20752
20753         Reviewed by Darin Fisher.
20754
20755         * public/WebArrayBuffer.h:
20756
20757 2011-12-13  Kenneth Russell  <kbr@google.com>
20758
20759         Unreviewed, rolling out r102693.
20760         http://trac.webkit.org/changeset/102693
20761         https://bugs.webkit.org/show_bug.cgi?id=74334
20762
20763         Broke Chromium Windows DRT build
20764
20765         * features.gypi:
20766
20767 2011-12-13  Peter Beverloo  <peter@chromium.org>
20768
20769         [Chromium] Pull in FreeType and decrease check-out complexity for Android
20770         https://bugs.webkit.org/show_bug.cgi?id=74401
20771
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.
20776
20777         Reviewed by Adam Barth.
20778
20779         * DEPS:
20780
20781 2011-12-13  Alok Priyadarshi  <alokp@chromium.org>
20782
20783         [chromium] compositing/masks layout tests fail with accelerated drawing
20784         https://bugs.webkit.org/show_bug.cgi?id=72760
20785
20786         Reviewed by Stephen White.
20787
20788         * tests/TiledLayerChromiumTest.cpp:
20789         (WTF::FakeLayerTextureUpdater::createTexture):
20790
20791 2011-12-13  Stephen White  <senorblanco@chromium.org>
20792
20793         Enable CSS_FILTERS in Chromium.
20794         https://bugs.webkit.org/show_bug.cgi?id=74334
20795
20796         Reviewed by Kenneth Russell.
20797
20798         * features.gypi:
20799
20800 2011-12-12  Ryosuke Niwa  <rniwa@webkit.org>
20801
20802         WebKit code shouldn't be calling applyCommand directly
20803         https://bugs.webkit.org/show_bug.cgi?id=74337
20804
20805         Reviewed by Darin Adler.
20806
20807         * src/WebFrameImpl.cpp:
20808         (WebKit::WebFrameImpl::replaceSelection):
20809
20810 2011-12-12  David Grogan  <dgrogan@chromium.org>
20811
20812         Fix compilation error when !ENABLE(WORKERS)
20813         https://bugs.webkit.org/show_bug.cgi?id=74029
20814
20815         Reviewed by Yury Semikhatsky.
20816
20817         * features.gypi:
20818         * src/IDBFactoryBackendProxy.cpp:
20819         (WebKit::IDBFactoryBackendProxy::openFromWorker):
20820         * src/PlatformSupport.cpp:
20821         * src/WebDevToolsAgentImpl.cpp:
20822         (WebKit::WebDevToolsAgent::disconnectEventAsText):
20823         * src/WebWorkerRunLoop.cpp:
20824
20825 2011-12-12  Shawn Singh  <shawnsingh@chromium.org>
20826
20827         [chromium] Remove assumption that empty surface is always at end of list
20828         https://bugs.webkit.org/show_bug.cgi?id=74037
20829
20830         Reviewed by James Robinson.
20831
20832         * tests/CCLayerTreeHostCommonTest.cpp:
20833         (WebCore::TEST):
20834
20835 2011-12-09  Daniel Cheng  <dcheng@chromium.org>
20836
20837         [chromium] Remove BufferDrag from WebClipboard::Buffer enum.
20838         https://bugs.webkit.org/show_bug.cgi?id=74227
20839
20840         Reviewed by Tony Chang.
20841
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.
20844
20845         * public/platform/WebClipboard.h:
20846         * src/AssertMatchingEnums.cpp:
20847
20848 2011-12-12  Tommy Widenflycht  <tommyw@google.com>
20849
20850         [chromium] MediaStream API: Moving WebMediaStreamSource.h
20851         https://bugs.webkit.org/show_bug.cgi?id=74081
20852
20853         Moving WebMediaStreamSource.h to public/platform.
20854         Keeping a stub in public as to not affect chromium right now.
20855
20856         Reviewed by Darin Fisher.
20857
20858         * WebKit.gyp:
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:
20870
20871 2011-12-09  James Robinson  <jamesr@chromium.org>
20872
20873         [chromium] Remove forwarding headers for WebLayer APIs
20874         https://bugs.webkit.org/show_bug.cgi?id=73729
20875
20876         Reviewed by Adam Barth.
20877
20878         These are no longer necessary.
20879
20880         * WebKit.gyp:
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.
20888
20889 2011-12-09  Karl Koscher  <supersat@chromium.org>
20890
20891         [chromium] add accessors to WebDOMMessageEvent
20892         https://bugs.webkit.org/show_bug.cgi?id=73346
20893
20894         Reviewed by Darin Fisher.
20895
20896         * public/WebDOMMessageEvent.h:
20897         * src/WebDOMMessageEvent.cpp:
20898         (WebKit::WebDOMMessageEvent::data):
20899         (WebKit::WebDOMMessageEvent::origin):
20900
20901 2011-12-09  Karl Koscher  <supersat@chromium.org>
20902
20903         [chromium] add event methods to WebFrame
20904         https://bugs.webkit.org/show_bug.cgi?id=73259
20905
20906         Reviewed by Darin Fisher.
20907
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
20923
20924 2011-12-09  Dirk Pranke  <dpranke@chromium.org>
20925
20926         chromium win build: revert build_webkit_exes_from_webkit_gyp change
20927         https://bugs.webkit.org/show_bug.cgi?id=74225
20928
20929         Reviewed by Tony Chang.
20930
20931         This change sets build_webkit_exes_from_webkit_gyp back to 1;
20932         the "All.gyp" solution doesn't work on windows.
20933
20934         * gyp_webkit:
20935
20936 2011-12-09  Dirk Pranke  <dpranke@chromium.org>
20937
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
20940
20941         Reviewed by Tony Chang.
20942
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.
20951
20952         * All.gyp:
20953         * Tools.gyp: Renamed from ../../../Tools/Tools.gyp.
20954
20955 2011-12-09  Cary Clark  <caryclark@google.com>
20956
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
20959
20960         Reviewed by Adam Barth.
20961
20962         * DEPS:
20963
20964 2011-12-08  Fady Samuel  <fsamuel@chromium.org>
20965
20966         [Chromium] Enable viewport metatag
20967         https://bugs.webkit.org/show_bug.cgi?id=73495
20968
20969         Reviewed by Darin Fisher.
20970
20971         Compute the appropriate fixed layout size, page, and device scale factors,
20972         based on the viewport meta tag parameters.
20973
20974         See http://developer.android.com/guide/webapps/targeting.html for more information.
20975
20976
20977         * features.gypi:
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:
20991
20992 2011-12-08  Pierre Rossi  <pierre.rossi@gmail.com>
20993
20994         Drop ENABLE_NO_LISTBOX_RENDERING, and make it a runtime decision.
20995         https://bugs.webkit.org/show_bug.cgi?id=73916
20996
20997         Reviewed by Kent Tamura.
20998
20999         * src/ExternalPopupMenu.cpp:
21000         (WebKit::ExternalPopupMenu::didAcceptIndices):
21001         (WebKit::ExternalPopupMenu::getPopupMenuInfo):
21002
21003 2011-12-08  David Reveman  <reveman@chromium.org>
21004
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
21007
21008         Reviewed by James Robinson.
21009
21010         Add WebSettings::setAcceleratedPaintingEnabled to public API.
21011
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):
21020
21021 2011-12-08  James Robinson  <jamesr@chromium.org>
21022
21023         [chromium] Move NonCompositedContentHost to WebKit
21024         https://bugs.webkit.org/show_bug.cgi?id=74047
21025
21026         Reviewed by Kenneth Russell.
21027
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.
21031
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.
21035
21036         Refactor only and covered by several unit tests.
21037
21038         * WebKit.gyp:
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:
21060
21061 2011-12-08  Sami Kyostila  <skyostil@google.com>
21062
21063         [chromium] Layer contents scale change should trigger invalidation
21064
21065         https://bugs.webkit.org/show_bug.cgi?id=74086
21066
21067         When the contents scale of a layer is changed, the entire contents of
21068         the layer should be marked dirty.
21069
21070         Reviewed by James Robinson.
21071
21072         * tests/LayerChromiumTest.cpp:
21073
21074 2011-12-08  Dana Jansens  <danakj@chromium.org>
21075
21076         [chromium] Set opaque() for VideoLayerChromium
21077         https://bugs.webkit.org/show_bug.cgi?id=73858
21078
21079         Reviewed by James Robinson.
21080
21081         * src/WebMediaPlayerClientImpl.cpp:
21082         (WebKit::isVideoFrameFormatOpaque):
21083         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
21084
21085 2011-12-08  Elliot Poger  <epoger@google.com>
21086
21087         Chromium DEPS roll 112974 -> 113603
21088         https://bugs.webkit.org/show_bug.cgi?id=74105
21089
21090         Reviewed by Adam Barth.
21091
21092         * DEPS:
21093
21094 2011-12-08  Tony Chang  <tony@chromium.org>
21095
21096         [chromium] remove headers from WebKit.gyp that moved into WebKit/chromium/public/platform
21097         https://bugs.webkit.org/show_bug.cgi?id=74106
21098
21099         Reviewed by Darin Fisher.
21100
21101         * WebKit.gyp:
21102
21103 2011-12-08  Peter Beverloo  <peter@chromium.org>
21104
21105         [Chromium] Exclude the four RenderTableCellDeathTest death tests for Android
21106         https://bugs.webkit.org/show_bug.cgi?id=73997
21107
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.
21112
21113         Reviewed by Julien Chaffraix.
21114
21115         * tests/RenderTableCellTest.cpp:
21116
21117 2011-12-08  Joshua Bell  <jsbell@chromium.org>
21118
21119         IndexedDB: WebKit API addition of IDBObjectStore.count() and IDBIndex.count()
21120         https://bugs.webkit.org/show_bug.cgi?id=73685
21121
21122         Reviewed by Darin Fisher.
21123
21124         Implementation to follow - this just extends the WebKit API.
21125
21126         * public/WebIDBIndex.h:
21127         (WebKit::WebIDBIndex::count):
21128         * public/WebIDBObjectStore.h:
21129         (WebKit::WebIDBObjectStore::count):
21130
21131 2011-12-07  Alexandre Elias  <aelias@google.com>
21132
21133         [chromium] Add page-scale animation support to Impl thread
21134         https://bugs.webkit.org/show_bug.cgi?id=72996
21135
21136         Reviewed by James Robinson.
21137
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
21140         frame by frame.
21141
21142         No new tests. (https://bugs.webkit.org/show_bug.cgi?id=71529 filed.)
21143
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):
21155
21156 2011-12-07  Fady Samuel  <fsamuel@chromium.org>
21157
21158         [Chromium] Plumb DPI info into PlatformScreen
21159         https://bugs.webkit.org/show_bug.cgi?id=70556
21160
21161         Reviewed by Darin Fisher.
21162         
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).
21166
21167         This patch adds DPI plumbing on Chromium Win/Mac/Linux
21168         platforms.
21169
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):
21181
21182 2011-12-07  Alexandre Elias  <aelias@google.com>
21183
21184         [chromium] Preserve original pageScale limits in WebViewImpl
21185         https://bugs.webkit.org/show_bug.cgi?id=72983
21186
21187         Reviewed by Darin Fisher.
21188
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).
21193
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.
21198
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:
21211
21212 2011-12-07  Chris Sharp  <csharp@chromium.org>
21213         
21214         Exposing boundsInScreenSpace in WebElement.
21215         https://bugs.webkit.org/show_bug.cgi?id=71579
21216
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
21223
21224
21225         Reviewed by Darin Fisher.
21226
21227         * public/WebElement.h:
21228         * src/WebElement.cpp:
21229         (WebKit::WebElement::boundsInViewportSpace):
21230
21231 2011-12-07  Adam Klein  <adamk@chromium.org>
21232
21233         [MutationObservers] Enable in Chromium trunk
21234         https://bugs.webkit.org/show_bug.cgi?id=73851
21235
21236         Reviewed by Ojan Vafai.
21237
21238         Re-landing after fixing Chromium unit test crashes in r102171
21239         and inspector debugger crash in r102264.
21240
21241         * features.gypi:
21242
21243 2011-12-07  Jonathan Backer  <backer@chromium.org>
21244
21245         [chromium] Plumb damage from WebExternalTextureLayer and WebPluginContainer to CCDamageTracker
21246         https://bugs.webkit.org/show_bug.cgi?id=73485
21247
21248         Reviewed by Darin Fisher.
21249
21250         * public/platform/WebExternalTextureLayer.h:
21251         * src/WebExternalTextureLayer.cpp:
21252         (WebKit::WebExternalTextureLayer::invalidateRect):
21253         * src/WebPluginContainerImpl.cpp:
21254         (WebKit::WebPluginContainerImpl::commitBackingTexture):
21255
21256 2011-12-06  Dirk Pranke  <dpranke@chromium.org>
21257
21258         Fix typo in WebKit.gyp introduced in previous change.
21259
21260         Unreviewed, build fix.
21261
21262         * WebKit.gyp:
21263
21264 2011-12-06  Dirk Pranke  <dpranke@chromium.org>
21265
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
21268
21269         Reviewed by Tony Chang.
21270
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.
21278
21279         * WebKit.gyp:
21280         * All.gyp:
21281         * WebKitUnitTests.gyp:
21282         * gyp_webkit:
21283
21284 2011-12-06  Adrienne Walker  <enne@google.com>
21285
21286         [chromium] setNeedsCommit on non-composited host layers should trigger commit
21287         https://bugs.webkit.org/show_bug.cgi?id=73711
21288
21289         Reviewed by James Robinson.
21290
21291         Add some tests to make sure that modifying the noncomposited content
21292         host triggers commits.
21293
21294         Properties that trigger setNeedsCommit should only do so when the
21295         property changes. Additionally, make more property changes properly
21296         trigger commits.
21297
21298         * tests/LayerChromiumTest.cpp:
21299
21300 2011-12-06  David Reveman  <reveman@chromium.org>
21301
21302         [Chromium] Implement tile-sized painting using SkPicture.
21303         https://bugs.webkit.org/show_bug.cgi?id=71869
21304
21305         Reviewed by James Robinson.
21306
21307         Add perTilePainting setting that is used by compositor to determine
21308         what texture uploader to use.
21309
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):
21318
21319 2011-12-06  Dana Jansens  <danakj@chromium.org>
21320
21321         [chromium] Set opaque flag for ImageLayerChromium
21322         https://bugs.webkit.org/show_bug.cgi?id=72964
21323
21324         Reviewed by James Robinson.
21325
21326         * WebKit.gypi:
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):
21345         (WebCore::TEST):
21346
21347 2011-12-06  Adam Klein  <adamk@chromium.org>
21348
21349         [chromium] Guard access to WebKitPlatformSupport::currentThread with a null check
21350         https://bugs.webkit.org/show_bug.cgi?id=73937
21351
21352         Reviewed by Adam Barth.
21353
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.
21357
21358         * src/WebKit.cpp:
21359         (WebKit::initialize):
21360         (WebKit::shutdown):
21361
21362 2011-12-06  Alexandre Elias  <aelias@google.com>
21363
21364         [chromium] Apply sent deltas on finishCommit
21365         https://bugs.webkit.org/show_bug.cgi?id=73884
21366
21367         Reviewed by James Robinson.
21368
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.
21371
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.
21382
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().
21387
21388         * tests/CCLayerTreeHostImplTest.cpp:
21389         (WebKit::TEST_F):
21390
21391 2011-12-06  Adam Barth  <abarth@webkit.org>
21392
21393         Remove forwarding header now that downstream has been fixed to refer to
21394         the actual location of this header.
21395
21396         * public/WebRect.h: Removed.
21397
21398 2011-12-06  Dimitri Glazkov  <dglazkov@chromium.org>
21399
21400         Unreviewed, rolling out r102091.
21401         http://trac.webkit.org/changeset/102091
21402         https://bugs.webkit.org/show_bug.cgi?id=73711
21403
21404         Caused Clang Linux compile failure.
21405
21406         * tests/LayerChromiumTest.cpp:
21407
21408 2011-12-06  Sheriff Bot  <webkit.review.bot@gmail.com>
21409
21410         Unreviewed, rolling out r102102.
21411         http://trac.webkit.org/changeset/102102
21412         https://bugs.webkit.org/show_bug.cgi?id=73925
21413
21414         Causes segmentation fault on chromium unit_tests,
21415         content_unittests, sync_unit_tests (Requested by vsevik on
21416         #webkit).
21417
21418         * features.gypi:
21419
21420 2011-12-06  Vsevolod Vlasov  <vsevik@chromium.org>
21421
21422         Unreviewed chromium expectations update.
21423
21424         * tests/KURLTest.cpp:
21425         (ComponentCase::TEST):
21426
21427 2011-12-06  Eric Penner  <epenner@google.com>
21428
21429         [chromium] Set texture limits as multiples of viewport size instead of hardcoded values
21430         https://bugs.webkit.org/show_bug.cgi?id=72202
21431
21432         Reviewed by James Robinson.
21433
21434         * tests/TiledLayerChromiumTest.cpp:
21435         (WTF::TEST):
21436
21437 2011-12-06  Sheriff Bot  <webkit.review.bot@gmail.com>
21438
21439         Unreviewed, rolling out r102043.
21440         http://trac.webkit.org/changeset/102043
21441         https://bugs.webkit.org/show_bug.cgi?id=73898
21442
21443         Breaks chromium mac-cg compilation. (Requested by vsevik on
21444         #webkit).
21445
21446         * WebKit.gypi:
21447         * tests/ImageLayerChromiumTest.cpp: Removed.
21448
21449 2011-12-05  Rafael Weinstein  <rafaelw@chromium.org>
21450
21451         [MutationObservers] Enable in Chromium trunk
21452         https://bugs.webkit.org/show_bug.cgi?id=73851
21453
21454         Reviewed by Ojan Vafai.
21455
21456         * features.gypi:
21457
21458 2011-12-05  James Robinson  <jamesr@chromium.org>
21459
21460         chromium build fix
21461
21462         * src/WebLayerTreeView.cpp:
21463
21464 2011-12-05  James Robinson  <jamesr@chromium.org>
21465
21466         Rollout http://trac.webkit.org/changeset/102019, dependent has not
21467         landed in chromium
21468
21469         * WebKit.gyp:
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:
21478
21479 2011-12-05  Dana Jansens  <danakj@chromium.org>
21480
21481         Set opaque flag for WebGLLayerChromium
21482         https://bugs.webkit.org/show_bug.cgi?id=73876
21483
21484         Reviewed by James Robinson.
21485
21486         * WebKit.gypi:
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):
21497         (WebKit::TEST):
21498
21499 2011-12-05  Adrienne Walker  <enne@google.com>
21500
21501         [chromium] setNeedsCommit on non-composited host layers should trigger commit
21502         https://bugs.webkit.org/show_bug.cgi?id=73711
21503
21504         Reviewed by James Robinson.
21505
21506         Add some tests to make sure that modifying the noncomposited content
21507         host triggers commits.
21508
21509         Properties that trigger setNeedsCommit should only do so when the
21510         property changes. Additionally, make more property changes properly
21511         trigger commits.
21512
21513         * tests/LayerChromiumTest.cpp:
21514
21515 2011-12-05  Stephen White  <senorblanco@chromium.org>
21516
21517         Allow the ImageBuffers used by SVG filters to be accelerated
21518         https://bugs.webkit.org/show_bug.cgi?id=73842
21519
21520         Reviewed by Kenneth Russell.
21521
21522         * public/WebSettings.h:
21523         * src/WebSettingsImpl.cpp:
21524         (WebKit::WebSettingsImpl::setAcceleratedFiltersEnabled):
21525         * src/WebSettingsImpl.h:
21526
21527 2011-12-05  Adam Barth  <abarth@webkit.org>
21528
21529         [Chromium] Chromium fails to compile due to missing WebContentLayerClient.h
21530         https://bugs.webkit.org/show_bug.cgi?id=73881
21531
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
21534
21535         * public/WebContentLayerClient.h: Added.
21536
21537 2011-12-05  Adam Barth  <abarth@webkit.org>
21538
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.
21542
21543         * public/WebRect.h: Added.
21544
21545 2011-12-01  Vangelis Kokkevis  <vangelis@chromium.org>
21546
21547         Use ANGLE's texture_usage and texture_storage extensions when allocating compositor textures.
21548         https://bugs.webkit.org/show_bug.cgi?id=73621
21549
21550         Add the necessary entry points and enums to GraphicsContext3D.
21551
21552         Reviewed by Kenneth Russell.
21553
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):
21561
21562 2011-12-05  Adam Barth  <abarth@webkit.org>
21563
21564         Another attempted build fix.
21565
21566         * src/linux/WebFontInfo.cpp:
21567
21568 2011-12-05  Adam Barth  <abarth@webkit.org>
21569
21570         Fix Linux build.
21571
21572         * public/linux/WebFontInfo.h:
21573
21574 2011-12-05  Adam Barth  <abarth@webkit.org>
21575
21576         [Chromium] Remove no-longer-used forwarding headers in the WebKit API
21577         https://bugs.webkit.org/show_bug.cgi?id=73845
21578
21579         Reviewed by Darin Fisher.
21580
21581         Delete unused forwarding headers and update includes to the new header
21582         locations.
21583
21584         * WebKit.gyp:
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:
21712         * src/WebData.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:
21751         * src/WebKit.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:
21760         * src/WebNode.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:
21791         * src/WebURL.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:
21823
21824 2011-12-05  Dana Jansens  <danakj@chromium.org>
21825
21826         [chromium] Set opaque flag for ImageLayerChromium
21827         https://bugs.webkit.org/show_bug.cgi?id=72964
21828
21829         Reviewed by James Robinson.
21830
21831         * WebKit.gypi:
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):
21848         (WebCore::TEST):
21849
21850 2011-12-02  James Robinson  <jamesr@chromium.org>
21851
21852         [chromium] Remove forwarding headers for WebLayer APIs
21853         https://bugs.webkit.org/show_bug.cgi?id=73729
21854
21855         Reviewed by Adam Barth.
21856
21857         These are no longer necessary.
21858
21859         * WebKit.gyp:
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:
21870
21871 2011-12-05  Vsevolod Vlasov  <vsevik@chromium.org>
21872
21873         Unreviewed, fixed chromium DEPS syntax.
21874
21875         * DEPS:
21876
21877 2011-12-05  Vsevolod Vlasov  <vsevik@chromium.org>
21878
21879         Unreviewed.  Rolled DEPS.
21880
21881         * DEPS:
21882
21883 2011-12-05  Eric Carlson  <eric.carlson@apple.com>
21884
21885         WebKit/chromium part of: Add WebKit preferences for text track settings
21886         https://bugs.webkit.org/show_bug.cgi?id=73721
21887
21888         Reviewed by John Sullivan.
21889
21890         * src/WebSettingsImpl.cpp:
21891         (WebKit::WebSettingsImpl::shouldDisplaySubtitles): Added.
21892         (WebKit::WebSettingsImpl::shouldDisplayCaptions): Ditto.
21893         (WebKit::WebSettingsImpl::shouldDisplayTextDescriptions): Ditto.
21894         * src/WebSettingsImpl.h:
21895
21896 2011-12-04  Sheriff Bot  <webkit.review.bot@gmail.com>
21897
21898         Unreviewed.  Rolled DEPS.
21899
21900         * DEPS:
21901
21902 2011-12-02  Sheriff Bot  <webkit.review.bot@gmail.com>
21903
21904         Unreviewed, rolling out r101906.
21905         http://trac.webkit.org/changeset/101906
21906         https://bugs.webkit.org/show_bug.cgi?id=73736
21907
21908         Failing chromium webkit_unit_tests (Requested by scheib on
21909         #webkit).
21910
21911         * WebKit.gypi:
21912         * tests/DispatchEventTest.cpp: Removed.
21913         * tests/data/event_target.html: Removed.
21914
21915 2011-12-02  Dave Michael  <dmichael@chromium.org>
21916
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
21920
21921         Reviewed by Darin Fisher.
21922
21923         * WebKit.gypi:
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):
21930         (WebKit::TEST_F):
21931
21932 2011-12-02  Nate Chapin  <japhet@chromium.org>
21933
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
21939
21940         Reviewed by Eric Seidel.
21941
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
21946             has focus.
21947
21948 2011-12-02  Dave Michael  <dmichael@chromium.org>
21949
21950         Add WebArrayBuffer to chromium API
21951         https://bugs.webkit.org/show_bug.cgi?id=73593
21952
21953         Reviewed by Darin Fisher.
21954
21955         * WebKit.gyp:
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):
21975
21976 2011-12-02  David Grogan  <dgrogan@chromium.org>
21977
21978         Grant workers experimental access to IndexedDB.
21979         https://bugs.webkit.org/show_bug.cgi?id=73609
21980
21981         Reviewed by Nate Chapin.
21982
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:
21991
21992 2011-12-01  James Robinson  <jamesr@chromium.org>
21993
21994         [chromium] Move WebLayer APIs to platform directory
21995         https://bugs.webkit.org/show_bug.cgi?id=73610
21996
21997         Reviewed by Darin Fisher.
21998
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:
22047
22048 2011-12-02  Karl Koscher  <supersat@chromium.org>
22049
22050         [chromium] add setOpener method to WebFrame
22051         https://bugs.webkit.org/show_bug.cgi?id=73379
22052
22053         Reviewed by Darin Fisher.
22054
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:
22060
22061 2011-12-02  Kent Tamura  <tkent@chromium.org>
22062
22063         Unreviewed, rolling out r101337.
22064         http://trac.webkit.org/changeset/101337
22065         https://bugs.webkit.org/show_bug.cgi?id=73189
22066
22067         It's a wrong way to fix the problem
22068
22069         * src/WebViewImpl.cpp:
22070         (WebKit::WebViewImpl::popupOpened):
22071
22072 2011-12-02  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
22073
22074         Added helper method to identify whether the page has custom page size style.
22075         https://bugs.webkit.org/show_bug.cgi?id=73585
22076
22077         Reviewed by Darin Fisher.
22078
22079         * public/WebFrame.h:
22080         * src/WebFrameImpl.cpp:
22081         (WebKit::WebFrameImpl::hasCustomPageSizeStyle):
22082         * src/WebFrameImpl.h:
22083
22084 2011-12-02  Tony Chang  <tony@chromium.org>
22085
22086         [Chromium] GYP fix for Windows 2010 build
22087         https://bugs.webkit.org/show_bug.cgi?id=73483
22088
22089         Reviewed by Adam Barth.
22090
22091         Patch by Carlos Pizano.
22092
22093         * WebKit.gyp: Exclude the android directory and remove a file match that doesn't match anything.
22094
22095 2011-12-01  Alok Priyadarshi  <alokp@chromium.org>
22096
22097         [chromium] CCLayerQuad does not return FloatQuad in correct order
22098         https://bugs.webkit.org/show_bug.cgi?id=73247
22099
22100         Reviewed by James Robinson.
22101
22102         * WebKit.gypi:
22103         * tests/CCLayerQuadTest.cpp: Added.
22104         (WebCore::TEST):
22105
22106 2011-11-30  Adam Klein  <adamk@chromium.org>
22107
22108         [chromium] WebKitMutationObserver::deliverAllMutations should be exposed through the Chromium API
22109         https://bugs.webkit.org/show_bug.cgi?id=71242
22110
22111         Reviewed by Darin Fisher.
22112
22113         Relanding, depends on http://codereview.chromium.org/8748015/
22114         to fix a sandboxing issue on Chromium/Linux.
22115
22116         Add addTaskObserver and removeTaskObserver to WebThread,
22117         along with a new WebThread::TaskObserver interface.
22118
22119         For mutation observers, add a TaskObserver to the main thread
22120         to deliver mutations after each task runs.
22121
22122         The Chromium implementation of the new WebThread methods is in
22123         http://codereview.chromium.org/8586038/.
22124
22125         * public/platform/WebThread.h:
22126         (WebKit::WebThread::TaskObserver::~TaskObserver):
22127         * src/WebKit.cpp:
22128         (WebKit::initialize):
22129         (WebKit::shutdown):
22130
22131 2011-12-02  Sheriff Bot  <webkit.review.bot@gmail.com>
22132
22133         Unreviewed, rolling out r101833.
22134         http://trac.webkit.org/changeset/101833
22135         https://bugs.webkit.org/show_bug.cgi?id=73678
22136
22137         test_expectations file invalid: run Tools/Scripts/new-run-
22138         webkit-tests --lint-test-files (Requested by scheib on
22139         #webkit).
22140
22141         * WebKit.gypi:
22142         * tests/CCLayerQuadTest.cpp: Removed.
22143
22144 2011-12-02  Alok Priyadarshi  <alokp@chromium.org>
22145
22146         [chromium] CCLayerQuad does not return FloatQuad in correct orientation
22147         https://bugs.webkit.org/show_bug.cgi?id=73247
22148
22149         Reviewed by James Robinson.
22150
22151         * WebKit.gypi:
22152         * tests/CCLayerQuadTest.cpp: Added.
22153         (WebCore::TEST):
22154
22155 2011-12-02  Daniel Cheng  <dcheng@chromium.org>
22156
22157         [chromium] Add plumbing for supporting custom MIME types in DataTransfer.
22158         https://bugs.webkit.org/show_bug.cgi?id=73594
22159
22160         Reviewed by David Levin.
22161
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):
22170
22171 2011-12-02  Joshua Bell  <jsbell@chromium.org>
22172
22173         IndexedDB: Rename "multientry" to "multiEntry" per spec change
22174         https://bugs.webkit.org/show_bug.cgi?id=73578
22175
22176         Reviewed by Darin Fisher.
22177
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:
22194
22195 2011-12-02  Sami Kyostila  <skyostil@chromium.org>
22196
22197         [chromium] Make CCInputHandler scrolling stateful
22198         https://bugs.webkit.org/show_bug.cgi?id=73345
22199
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.
22205
22206         Reviewed by Steve Block.
22207
22208         * src/WebCompositorImpl.cpp:
22209         (WebKit::WebCompositorImpl::handleInputEvent):
22210         * tests/CCLayerTreeHostImplTest.cpp:
22211         (WebKit::TEST_F):
22212
22213 2011-12-02  Pavel Feldman  <pfeldman@google.com>
22214
22215         Web Inspector [chromium]: provisional fix for interactive ui tests
22216         https://bugs.webkit.org/show_bug.cgi?id=73633
22217
22218         Reviewed by Yury Semikhatsky.
22219
22220         * src/js/Tests.js:
22221         (.):
22222         (.TestSuite.prototype._executeCodeWhenScriptsAreParsed):
22223
22224 2011-12-01  David Levin  <levin@chromium.org>
22225
22226         [chromium] Add WebKit API's to support the autosize algorithm in renderer process.
22227         https://bugs.webkit.org/show_bug.cgi?id=73058
22228
22229         Reviewed by Darin Fisher.
22230
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.
22266
22267 2011-12-02  Xiyuan Xia  <xiyuan@chromium.org>
22268
22269         [Chromium] Support adding/removing page overlay to WebView
22270         https://bugs.webkit.org/show_bug.cgi?id=73235
22271
22272         Reviewed by James Robinson.
22273
22274         * WebKit.gyp:
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):
22318
22319 2011-12-01  Jochen Eisinger  <jochen@chromium.org>
22320
22321         [chromium] add referrer policy to WebContextMenuData
22322         https://bugs.webkit.org/show_bug.cgi?id=73567
22323
22324         Reviewed by Darin Fisher.
22325
22326         * public/WebContextMenuData.h:
22327         * src/ContextMenuClientImpl.cpp:
22328         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
22329
22330 2011-12-01  Kelly Norton  <knorton@google.com>
22331
22332         More void functions eager to return values in RenderObject & WebFrameImpl
22333         https://bugs.webkit.org/show_bug.cgi?id=73571
22334
22335         Reviewed by Adam Barth.
22336
22337         * src/WebFrameImpl.cpp:
22338         (WebKit::ChromePrintContext::computePageRects):
22339
22340 2011-12-01  Daniel Sievers  <sievers@chromium.org>
22341
22342         [Chromium] Early returns in calculateDrawTransformsAndVisibilityInternal() are not respected by parent.
22343         https://bugs.webkit.org/show_bug.cgi?id=73270
22344
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.
22347
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'
22350         in the same frame.
22351
22352         Reviewed by James Robinson.
22353
22354         * tests/CCLayerTreeHostCommonTest.cpp:
22355         (WebCore::TEST):
22356
22357 2011-12-01  David Reveman  <reveman@chromium.org>
22358
22359         [Chromium] Use contentBounds instead of bounds for invalidation.
22360         https://bugs.webkit.org/show_bug.cgi?id=73525
22361
22362         Reviewed by James Robinson.
22363
22364         Use setNeedsDisplay() instead of setNeedsDisplayRect() when possible.
22365
22366         * src/WebMediaPlayerClientImpl.cpp:
22367         (WebKit::WebMediaPlayerClientImpl::repaint):
22368
22369 2011-12-01  Elliot Poger  <epoger@google.com>
22370
22371         webkit->chromium DEPS roll 111575->112463
22372         https://bugs.webkit.org/show_bug.cgi?id=73231
22373
22374         Reviewed by Yury Semikhatsky.
22375
22376         * DEPS:
22377
22378 2011-12-01  Pavel Feldman  <pfeldman@google.com>
22379
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
22382
22383         Reviewed by Yury Semikhatsky.
22384
22385         * src/InspectorFrontendClientImpl.cpp:
22386         (WebKit::InspectorFrontendClientImpl::canSaveAs):
22387         * src/InspectorFrontendClientImpl.h:
22388         * src/js/DevTools.js:
22389
22390 2011-12-01  Pavel Feldman  <pfeldman@google.com>
22391
22392         Web Inspector: query backend for capabilities explicitly.
22393         https://bugs.webkit.org/show_bug.cgi?id=73442
22394
22395         Reviewed by Yury Semikhatsky.
22396
22397         * src/InspectorClientImpl.cpp:
22398         (WebKit::InspectorClientImpl::canClearBrowserCache):
22399         (WebKit::InspectorClientImpl::canClearBrowserCookies):
22400         * src/InspectorClientImpl.h:
22401         * src/js/DevTools.js:
22402
22403 2011-11-29  Hans Wennborg  <hans@chromium.org>
22404
22405         IndexedDB: Cursor pre-fetching
22406         https://bugs.webkit.org/show_bug.cgi?id=73025
22407
22408         Reviewed by Darin Fisher.
22409
22410         Add plumbing for new pre-fetching related functions.
22411
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:
22435
22436 2011-12-01  Hans Wennborg  <hans@chromium.org>
22437
22438         IndexedDB: Fix WebIDBObjectStore::createIndex() after r101602
22439         https://bugs.webkit.org/show_bug.cgi?id=73543
22440
22441         Reviewed by Tony Gentilcore.
22442
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.
22446
22447         * public/WebIDBObjectStore.h:
22448         (WebKit::WebIDBObjectStore::createIndex):
22449
22450 2011-11-30  David Reveman  <reveman@chromium.org>
22451
22452         [Chromium] Improve tile invalidation.
22453         https://bugs.webkit.org/show_bug.cgi?id=71872
22454
22455         Reviewed by James Robinson.
22456
22457         Remove public API function WebContentLayer::invalidRect(). Add new
22458         test case to
22459         LayerChromiumTest.checkSetNeedsDisplayCausesCorrectBehavior that
22460         verifies that calling setNeedsDisplay() on a LayerChromium with
22461         empty bounds is handled correctly.
22462
22463         * public/WebContentLayer.h:
22464         * src/WebContentLayer.cpp:
22465         (WebKit::WebContentLayer::invalidateRect):
22466         * src/WebMediaPlayerClientImpl.cpp:
22467         (WebKit::WebMediaPlayerClientImpl::repaint):
22468         * tests/LayerChromiumTest.cpp:
22469
22470 2011-11-30  Takashi Toyoshima  <toyoshim@chromium.org>
22471
22472         Add didUpdateBufferedAmount callback to WebSocketClient API
22473         https://bugs.webkit.org/show_bug.cgi?id=73306
22474
22475         Reviewed by Darin Fisher.
22476
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:
22488
22489 2011-11-30  Scott Violet  <sky@google.com>
22490
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
22494
22495         Reviewed by James Robinson.
22496
22497         * public/WebLayerTreeView.h: Adds setRootLayer.
22498         * src/WebLayerTreeView.cpp: Ditto.
22499         (WebKit::WebLayerTreeView::setRootLayer):
22500
22501 2011-11-30  Alexey Proskuryakov  <ap@apple.com>
22502
22503         Remove an unneeded argument from FrameLoaderClient::download
22504         https://bugs.webkit.org/show_bug.cgi?id=73486
22505
22506         Reviewed by Andreas Kling.
22507
22508         * src/FrameLoaderClientImpl.cpp:
22509         (WebKit::FrameLoaderClientImpl::download):
22510         * src/FrameLoaderClientImpl.h:
22511         Updated for the change.
22512
22513 2011-11-30  Joshua Bell  <jsbell@chromium.org>
22514
22515         IndexedDB: Implement IDBIndex multientry feature
22516         https://bugs.webkit.org/show_bug.cgi?id=73232
22517
22518         Reviewed by Tony Chang.
22519
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
22522         are updated.
22523
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):
22541
22542 2011-11-30  David Reveman  <reveman@chromium.org>
22543
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
22546
22547         Reviewed by James Robinson.
22548
22549         Track changes to texture updater.
22550
22551         * tests/TiledLayerChromiumTest.cpp:
22552         (WTF::FakeLayerTextureUpdater::Texture::Texture):
22553         (WTF::FakeLayerTextureUpdater::Texture::~Texture):
22554         (WTF::FakeLayerTextureUpdater::Texture::updateRect):
22555         (WTF::FakeLayerTextureUpdater::createTexture):
22556
22557 2011-11-30  Gregg Tavares  <gman@google.com>
22558
22559         Implement draft WEBGL_compressed_textures WebGL extension
22560         https://bugs.webkit.org/show_bug.cgi?id=72086
22561
22562         Reviewed by Kenneth Russell.
22563
22564         * public/WebGraphicsContext3D.h:
22565         * src/GraphicsContext3DChromium.cpp:
22566         * src/GraphicsContext3DPrivate.h:
22567         * tests/MockWebGraphicsContext3D.h:
22568         (WebKit::MockWebGraphicsContext3D::compressedTexImage2D):
22569         (WebKit::MockWebGraphicsContext3D::compressedTexSubImage2D):
22570
22571 2011-11-18  Nat Duca  <nduca@chromium.org>
22572
22573         [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
22574         https://bugs.webkit.org/show_bug.cgi?id=70838
22575
22576         Reviewed by James Robinson.
22577
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):
22586         * src/WebKit.cpp:
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):
22607
22608 2011-11-30  David Levin  <levin@chromium.org>
22609
22610         [chromium] Move didUpdateLayout from WebFrameClient to WebViewClient.
22611         https://bugs.webkit.org/show_bug.cgi?id=73415
22612
22613         Reviewed by Darin Fisher.
22614
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.
22623
22624 2011-11-30  Pavel Feldman  <pfeldman@google.com>
22625
22626         Web Inspector: get rid of deferred backend->front-end commands processing.
22627         https://bugs.webkit.org/show_bug.cgi?id=73439
22628
22629         Reviewed by Yury Semikhatsky.
22630
22631         * src/WebDevToolsFrontendImpl.cpp:
22632         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
22633         (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
22634         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
22635         * src/WebDevToolsFrontendImpl.h:
22636
22637 2011-11-30  Michael Nordman  <michaeln@google.com>
22638
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
22642
22643         Reviewed by David Levin.
22644
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):
22662
22663 2011-11-30  Sheriff Bot  <webkit.review.bot@gmail.com>
22664
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
22669
22670         multiple crashes on layout tests (Requested by hayato on
22671         #webkit).
22672
22673         * WebKit.gyp:
22674         * WebKit.gypi:
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.
22697         * src/WebKit.cpp:
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.
22729
22730 2011-11-30  Daniel Sievers  <sievers@chromium.org>
22731
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
22734
22735         Reviewed by James Robinson.
22736
22737         * tests/CCLayerTreeHostCommonTest.cpp:
22738         (WebCore::TEST):
22739
22740 2011-11-30  Pavel Feldman  <pfeldman@google.com>
22741
22742         Web Inspector: do not report worker-related events unless inspector agent is enabled.
22743         https://bugs.webkit.org/show_bug.cgi?id=73411
22744
22745         Reviewed by Yury Semikhatsky.
22746
22747         * src/WebDevToolsAgentImpl.cpp:
22748         (WebKit::WebDevToolsAgent::disconnectEventAsText):
22749
22750 2011-11-30  Fady Samuel  <fsamuel@chromium.org>
22751
22752         [Chromium] Fix broken DRT build for Aura Linux
22753         https://bugs.webkit.org/show_bug.cgi?id=72667
22754
22755         Reviewed by Tony Chang.
22756
22757         * WebKit.gyp:
22758
22759 2011-11-29  Nat Duca  <nduca@chromium.org>
22760
22761         Unreviewed. Fix clang build by using raw pointers instead of static OwnPtrs
22762         for WebCompositor managment.
22763
22764         * src/WebCompositorImpl.cpp:
22765         (WebKit::WebCompositorImpl::initialize):
22766         (WebKit::WebCompositorImpl::shutdown):
22767         * src/WebCompositorImpl.h:
22768
22769 2011-11-18  Nat Duca  <nduca@chromium.org>
22770
22771         [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
22772         https://bugs.webkit.org/show_bug.cgi?id=70838
22773
22774         Reviewed by James Robinson.
22775
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):
22784         * src/WebKit.cpp:
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):
22805
22806 2011-11-29  Sheriff Bot  <webkit.review.bot@gmail.com>
22807
22808         Unreviewed, rolling out r101418.
22809         http://trac.webkit.org/changeset/101418
22810         https://bugs.webkit.org/show_bug.cgi?id=73372
22811
22812         Chromium renderer crashes with ENABLE(MUTATION_OBSERVERS)
22813         (Requested by aklein on #webkit).
22814
22815         * public/platform/WebThread.h:
22816         * src/WebKit.cpp:
22817         (WebKit::initialize):
22818         (WebKit::shutdown):
22819
22820 2011-11-29  Dirk Pranke  <dpranke@chromium.org>
22821
22822         add webkit_user_agent to DRT and webkit_unit_tests
22823         https://bugs.webkit.org/show_bug.cgi?id=73362
22824
22825         Reviewed by Tony Chang.
22826
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.
22830
22831         * WebKit.gyp:
22832
22833 2011-11-28  Adam Klein  <adamk@chromium.org>
22834
22835         [chromium] WebKitMutationObserver::deliverAllMutations should be exposed through the Chromium API
22836         https://bugs.webkit.org/show_bug.cgi?id=71242
22837
22838         Reviewed by Darin Fisher.
22839
22840         Add addTaskObserver and removeTaskObserver to WebThread,
22841         along with a new WebThread::TaskObserver interface.
22842
22843         For mutation observers, add a TaskObserver to the main thread
22844         to deliver mutations after each task runs.
22845
22846         The Chromium side of this patch is http://codereview.chromium.org/8586038/
22847
22848         * public/platform/WebThread.h:
22849         (WebKit::WebThread::TaskObserver::~TaskObserver):
22850         * src/WebKit.cpp:
22851         (WebKit::initialize):
22852         (WebKit::shutdown):
22853
22854 2011-11-29  Pavel Feldman  <pfeldman@google.com>
22855
22856         Web Inspector: split Preferences into Preferences and Capabilities.
22857         https://bugs.webkit.org/show_bug.cgi?id=73321
22858
22859         Reviewed by Yury Semikhatsky.
22860
22861         * src/js/DevTools.js:
22862
22863 2011-11-29  Jing Zhao  <jingzhao@chromium.org>
22864
22865         Assertion fails when opening two popup menus
22866         https://bugs.webkit.org/show_bug.cgi?id=73189
22867
22868         Reviewed by Kent Tamura.
22869
22870         By using element.dispatchEvent(), a user written script can open two
22871         popup menus, which causes the assertion in WebViewImpl::popupOpened()
22872         fail.
22873
22874         Check if there is an opened popup menu before opening a popup menu.
22875
22876         * src/WebViewImpl.cpp:
22877         (WebKit::WebViewImpl::popupOpened):
22878
22879 2011-11-28  David Grogan  <dgrogan@chromium.org>
22880
22881         WebWorkerRunLoop wrapper around WorkerRunLoop
22882         https://bugs.webkit.org/show_bug.cgi?id=71757
22883
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.
22887
22888         Reviewed by Darin Fisher.
22889
22890         * WebKit.gyp: Added WebWorkerRunLoop.{cpp,h}
22891
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<):
22899
22900         * public/platform/WebKitPlatformSupport.h: Stubs for the embedder to
22901         implement.
22902         (WebKit::WebKitPlatformSupport::didStartWorkerRunLoop):
22903         (WebKit::WebKitPlatformSupport::didStopWorkerRunLoop):
22904
22905         * src/PlatformSupport.cpp: Wrap incoming WorkerRunLoop objects in
22906         WebWorkerRunLoopImpl objects, forward them to WebKitPlatformSupport.
22907         (WebCore::PlatformSupport::didStartWorkerRunLoop):
22908         (WebCore::PlatformSupport::didStopWorkerRunLoop):
22909
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
22916         above.
22917         (WebKit::WebWorkerRunLoop::lessThan): Ditto.
22918
22919 2011-11-29  Roland Steiner  <rolandsteiner@chromium.org>
22920
22921         <style scoped>: add ENABLE(STYLE_SCOPED) flag to WebKit
22922         https://bugs.webkit.org/show_bug.cgi?id=72848
22923
22924         Reviewed by Dimitri Glazkov.
22925
22926         * features.gypi:
22927
22928 2011-11-28  Shawn Singh  <shawnsingh@chromium.org>
22929
22930         [chromium] Create CCDamageTracker class to determine regions of change for a surface.
22931         https://bugs.webkit.org/show_bug.cgi?id=72520
22932
22933         Reviewed by James Robinson.
22934
22935         * WebKit.gypi:
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:
22945         (WebCore::TEST):
22946         * tests/CCLayerTreeHostCommonTest.cpp:
22947         (WebCore::TEST):
22948         * tests/CCLayerTreeTestCommon.h: Added.
22949         * tests/CCRenderSurfaceTest.cpp:
22950         (WebCore::TEST):
22951         * tests/LayerChromiumTest.cpp:
22952
22953 2011-11-28  Jon Lee  <jonlee@apple.com>
22954
22955         Possible fix for test failures in r101307.
22956
22957         * src/WebViewImpl.cpp:
22958         (WebKit::WebViewImpl::WebViewImpl):
22959
22960 2011-11-28  Jon Lee  <jonlee@apple.com>
22961
22962         Create skeleton framework for notifications support in WK2
22963         https://bugs.webkit.org/show_bug.cgi?id=73253
22964         <rdar://problem/10356943>
22965
22966         Reviewed by Sam Weinig.
22967
22968         Remove notificationPresenter() from the chrome client, since it is now managed by
22969         the notification controller.
22970
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.
22978
22979 2011-11-28  Beth Dakin  <bdakin@apple.com>
22980
22981         Speculative Chromium build fix.
22982
22983         * src/ScrollbarGroup.cpp:
22984         (WebKit::ScrollbarGroup::scrollbarStyleChanged):
22985         * src/ScrollbarGroup.h:
22986
22987 2011-11-28  Dana Jansens  <danakj@chromium.org>
22988
22989         FloatQuad::isRectilinear() returns false for 180degree rotations
22990         https://bugs.webkit.org/show_bug.cgi?id=73040
22991
22992         Reviewed by James Robinson.
22993
22994         * WebKit.gypi:
22995         * tests/FloatQuadTest.cpp: Added.
22996         (WebCore::TEST):
22997
22998 2011-11-28  Sheriff Bot  <webkit.review.bot@gmail.com>
22999
23000         Unreviewed, rolling out r101273.
23001         http://trac.webkit.org/changeset/101273
23002         https://bugs.webkit.org/show_bug.cgi?id=73244
23003
23004         multiple test failures and timeouts (Requested by tony^work on
23005         #webkit).
23006
23007         * WebKit.gyp:
23008
23009 2011-11-28  Fady Samuel  <fsamuel@chromium.org>
23010
23011         [Chromium] Fix broken DRT build for Aura Linux
23012         https://bugs.webkit.org/show_bug.cgi?id=72667
23013
23014         Reviewed by Tony Chang.
23015
23016         * WebKit.gyp:
23017
23018 2011-11-28  Adam Barth  <abarth@webkit.org>
23019
23020         [Chromium] Move "final" batch of headers into public/platform
23021         https://bugs.webkit.org/show_bug.cgi?id=73198
23022
23023         Reviewed by Darin Fisher.
23024
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.
23032
23033         There are two main groups of headers that make up the bulk of this
23034         patch:
23035
23036         1) URLLoader-related headers.
23037         2) Geometry-related headers.
23038
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.
23072
23073 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
23074
23075         [Chromium] Web Inspector: delete WebDevToolsAgent::frontendLoaded
23076         https://bugs.webkit.org/show_bug.cgi?id=73131
23077
23078         Now that the method is not used in Chromium we can delete it.
23079
23080         Reviewed by Pavel Feldman.
23081
23082         * public/WebDevToolsAgent.h:
23083         * src/WebDevToolsAgentImpl.cpp:
23084         * src/WebDevToolsAgentImpl.h:
23085
23086 2011-11-28  Adam Barth  <abarth@webkit.org>
23087
23088         Update some sloppy includes.
23089
23090         * public/platform/linux/WebSandboxSupport.h:
23091         * public/platform/win/WebThemeEngine.h:
23092
23093 2011-11-28  Adam Barth  <abarth@webkit.org>
23094
23095         More forwarding headers.  Turns out I forgot to svn add them.  :(
23096
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.
23102
23103 2011-11-28  Adam Barth  <abarth@webkit.org>
23104
23105         Add missing forwaring headers.
23106
23107         * public/android/WebThemeEngine.h: Added.
23108         * public/linux/WebThemeEngine.h: Added.
23109         * public/mac/WebThemeEngine.h: Added.
23110         * public/win/WebThemeEngine.h: Added.
23111
23112 2011-11-27  Yury Semikhatsky  <yurys@chromium.org>
23113
23114         Unreviewed. Revert r101226.
23115
23116         * DEPS:
23117
23118 2011-11-27  Yury Semikhatsky  <yurys@chromium.org>
23119
23120         Unreviewed. Update Chromium revision.
23121
23122         * DEPS:
23123
23124 2011-11-24  Adam Barth  <abarth@webkit.org>
23125
23126         [Chromium] Move the next traunch of headers into public/platform
23127         https://bugs.webkit.org/show_bug.cgi?id=73073
23128
23129         Reviewed by Darin Fisher.
23130
23131         These headers are all the forward-declared classes in
23132         WebKitPlatformSupport (and their dependencies) that wrap concepts in
23133         WebCore/platform.
23134
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).
23142
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.
23237
23238 2011-11-27  Tommy Widenflycht  <tommyw@google.com>
23239
23240         [chromium] MediaStream API: Updating the licences to the correct one.
23241         https://bugs.webkit.org/show_bug.cgi?id=73129
23242
23243         Replacing the incorrect ones I have submitted with the correct ones.
23244
23245         Reviewed by Darin Fisher.
23246
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:
23258
23259 2011-11-26  Pavel Feldman  <pfeldman@google.com>
23260
23261         Web Inspector: remove disconnectFromBackend from the protocol.
23262         https://bugs.webkit.org/show_bug.cgi?id=73127
23263
23264         We should instead use InspectorClient::closeInspectorFrontend that would
23265         be closing the front-end window.
23266
23267         Reviewed by Yury Semikhatsky.
23268
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:
23278
23279 2011-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
23280
23281         Unreviewed, rolling out r101193.
23282         http://trac.webkit.org/changeset/101193
23283         https://bugs.webkit.org/show_bug.cgi?id=73158
23284
23285         Breaks Windows and Qt minimal. (Requested by pfeldman on
23286         #webkit).
23287
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:
23296
23297 2011-11-26  Pavel Feldman  <pfeldman@google.com>
23298
23299         Web Inspector: remove disconnectFromBackend from the protocol.
23300         https://bugs.webkit.org/show_bug.cgi?id=73127
23301
23302         We should instead use InspectorClient::closeInspectorFrontend that would
23303         be closing the front-end window.
23304
23305         Reviewed by Yury Semikhatsky.
23306
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:
23316
23317 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
23318
23319         [Chromium] Web Inspector: assertion failure in InspectorController::restoreInspectorStateFromCookie
23320         https://bugs.webkit.org/show_bug.cgi?id=73136
23321
23322         Don't call connectFrontend twice on reattach.
23323
23324         Reviewed by Pavel Feldman.
23325
23326         * src/WebDevToolsAgentImpl.cpp:
23327         (WebKit::WebDevToolsAgentImpl::reattach):
23328
23329 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
23330
23331         Unreviewed. Chromium build fix.
23332
23333         * public/WebDevToolsFrontendClient.h:
23334         (WebKit::WebDevToolsFrontendClient::sendFrontendLoaded): dowsntream implementation
23335         with OVERRIDE modifier fails to compile without this stub.
23336
23337 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
23338
23339         [Chromium] Web Inspector: get rid of WebDevToolsFrontendClient::sendFrontendLoaded method
23340         https://bugs.webkit.org/show_bug.cgi?id=73126
23341
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.
23345
23346         Reviewed by Pavel Feldman.
23347
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:
23358
23359 2011-11-24  Yury Semikhatsky  <yurys@chromium.org>
23360
23361         [Chromium] Web Inspector: remove legacy debugger support
23362         https://bugs.webkit.org/show_bug.cgi?id=73081
23363
23364         Removed classed providing access to V8 debugging protocol. Clients should
23365         use Web Inspector protocol instead.
23366
23367         Reviewed by Pavel Feldman.
23368
23369         * WebKit.gyp:
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:
23384
23385 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
23386
23387         Unreviewed. Update Chromium deps revision to 111575
23388
23389         * DEPS:
23390
23391 2011-11-24  Fady Samuel  <fsamuel@chromium.org>
23392
23393         [Chromium] Removed obsolete touchui flag
23394         https://bugs.webkit.org/show_bug.cgi?id=73067
23395
23396         Reviewed by Tony Chang.
23397
23398         * features.gypi:
23399
23400 2011-11-24  Joshua Bell  <jsbell@chromium.org>
23401
23402         IndexedDB: Indexes should be secondarily sorted on primary key
23403         https://bugs.webkit.org/show_bug.cgi?id=72567
23404
23405         Reviewed by Tony Chang.
23406
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.
23410
23411         * tests/IDBLevelDBCodingTest.cpp:
23412         (IDBLevelDBCoding::TEST):
23413
23414 2011-11-23  Greg Billock  <gbillock@google.com>
23415
23416         Add simple implementation for web intents chromium API data classes.
23417         https://bugs.webkit.org/show_bug.cgi?id=73036
23418
23419         Reviewed by Darin Fisher.
23420
23421         * WebKit.gyp:
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):
23446
23447 2011-11-23  Adam Barth  <abarth@webkit.org>
23448
23449         [Chromium] Move WebKitPlatformSupport.h and dependencies to new public/platform directory
23450         https://bugs.webkit.org/show_bug.cgi?id=73066
23451
23452         Reviewed by Darin Fisher.
23453
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.
23458
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.
23463
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:
23554         * public/WebKit.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:
23662
23663 2011-11-23  Adam Barth  <abarth@webkit.org>
23664
23665         [Chromium] Remove unused WebSecurityOrigin::isEmpty from WebKit API
23666         https://bugs.webkit.org/show_bug.cgi?id=73065
23667
23668         Reviewed by Eric Seidel.
23669
23670         This API no longer has any callers.
23671
23672         * public/WebSecurityOrigin.h:
23673         * src/WebSecurityOrigin.cpp:
23674         (WebKit::WebSecurityOrigin::isUnique):
23675
23676 2011-11-23  Dmitry Lomov  <dslomov@google.com>
23677
23678         https://bugs.webkit.org/show_bug.cgi?id=73054
23679         [V8][Chromium] Add list of transferred ArrayBuffers to SerializedScriptValue::create.
23680
23681         Reviewed by David Levin.
23682
23683         * src/WebSerializedScriptValue.cpp:
23684         (WebKit::WebSerializedScriptValue::serialize):
23685
23686 2011-11-23  Ami Fischman  <fischman@chromium.org>
23687
23688         Teach VideoLayerChromium how to render native texture (to support HW video decode).
23689         https://bugs.webkit.org/show_bug.cgi?id=73043
23690
23691         Reviewed by Kenneth Russell.
23692
23693         * public/WebVideoFrame.h:
23694         * src/VideoFrameChromiumImpl.cpp:
23695         (WebKit::VideoFrameChromiumImpl::textureId):
23696         * src/VideoFrameChromiumImpl.h:
23697
23698 2011-11-23  Vincent Scheib  <scheib@chromium.org>
23699
23700         Pointer Lock: Plumb movement coordinates from PlatformMouseEvent to MouseEvents.
23701         https://bugs.webkit.org/show_bug.cgi?id=73031
23702
23703         Reviewed by Dimitri Glazkov.
23704
23705         * src/WebInputEventConversion.cpp:
23706         (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
23707
23708 2011-11-23  Tommy Widenflycht  <tommyw@google.com>
23709
23710         [chromium] MediaStream API: Missing WEBKIT_EXPORT in WebMediaStreamRegistry
23711         https://bugs.webkit.org/show_bug.cgi?id=73010
23712
23713         Reviewed by Darin Fisher.
23714
23715         * public/WebMediaStreamRegistry.h:
23716
23717 2011-11-23  Scott Graham  <scottmg@chromium.org>
23718
23719         Adding gamepad support
23720         https://bugs.webkit.org/show_bug.cgi?id=69451
23721
23722         Add implementation of sampleGamepads in Chromium platform. Retrieves
23723         gamepad data from Chromium port and converts to DOM format, i.e.
23724         GamepadList.
23725
23726         Reviewed by Darin Fisher.
23727
23728         * src/PlatformSupport.cpp:
23729         (WebCore::PlatformSupport::sampleGamepads):
23730
23731 2011-11-23  Dmitry Lomov  <dslomov@google.com>
23732
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.
23736
23737         * src/WebArrayBufferView.cpp: WebCore replaced with WTF
23738
23739 2011-11-23  Tommy Widenflycht  <tommyw@google.com>
23740
23741         [chromium] MediaStream API: Adding embedding code for GetUserMedia
23742         https://bugs.webkit.org/show_bug.cgi?id=71678
23743
23744         This patch includes a fix for https://bugs.webkit.org/show_bug.cgi?id=72925.
23745
23746         Reviewed by Darin Fisher.
23747
23748         * WebKit.gyp:
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:
23781
23782 2011-11-23  Antoine Labour  <piman@chromium.org>
23783
23784         [chromium] Expose showFPSCounter and showPlatformLayerTree in WebLayerTreeView::Settings
23785         https://bugs.webkit.org/show_bug.cgi?id=72973
23786
23787         Reviewed by Darin Fisher.
23788
23789         * public/WebLayerTreeView.h:
23790         (WebKit::WebLayerTreeView::Settings::Settings):
23791         * src/WebLayerTreeView.cpp:
23792         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
23793
23794 2011-11-22  Dirk Pranke  <dpranke@chromium.org>
23795
23796         Roll DEPS to r111325 to fix an issue with the linux build
23797
23798         https://bugs.webkit.org/show_bug.cgi?id=73004
23799
23800         Unreviewed, build fix.
23801
23802         There appears to be a bug in the Makefile generator for gyp
23803         that is causing make to not rebuild DRT on Linux.
23804
23805         * DEPS:
23806
23807 2011-11-22  Kenneth Russell  <kbr@google.com>
23808
23809         [chromium] Support Core Animation plugins in compositor
23810         https://bugs.webkit.org/show_bug.cgi?id=72921
23811
23812         Reviewed by Stephen White.
23813
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.
23817
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:
23830
23831 2011-11-22  Daniel Cheng  <dcheng@chromium.org>
23832
23833         [chromium] Fix plumbing for differentiating between clipboard/selection pastes.
23834         https://bugs.webkit.org/show_bug.cgi?id=72056
23835
23836         Reviewed by tony@chromium.org.
23837
23838         Add a buffer parameter when retrieving the clipboard sequence number.
23839
23840         * public/WebClipboard.h:
23841         (WebKit::WebClipboard::sequenceNumber):
23842         * src/PlatformSupport.cpp:
23843         (WebCore::PlatformSupport::clipboardSequenceNumber):
23844
23845 2011-11-22  Greg Billock  <gbillock@google.com>
23846
23847         Empty API for web intents
23848         https://bugs.webkit.org/show_bug.cgi?id=69870
23849
23850         Reviewed by Darin Fisher.
23851
23852         * WebKit.gyp:
23853         * public/WebIntent.h: Added.
23854         * public/WebIntentServiceInfo.h: Added.
23855         * public/WebFrame.h:
23856         * public/WebFrameClient.h:
23857
23858 2011-11-22  Scott Graham  <scottmg@chromium.org>
23859
23860         Roll Chromium DEPS
23861         https://bugs.webkit.org/show_bug.cgi?id=72972
23862
23863         Add dbus in Chromium as pulled dep and update to HEAD.
23864
23865         Reviewed by Dirk Pranke.
23866
23867         * DEPS:
23868
23869 2011-11-22  Dirk Pranke  <dpranke@chromium.org>
23870
23871         Roll Chromium DEPS to r110960 and set the disable_nacl flag.
23872         https://bugs.webkit.org/show_bug.cgi?id=72911
23873
23874         Unreviewed, build fix.
23875
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.
23879
23880         * DEPS:
23881         * gyp_webkit:
23882
23883 2011-11-22  Pavel Feldman  <pfeldman@google.com>
23884
23885         Web Inspector: [chromium] fix internactive ui test for scripts panel.
23886         https://bugs.webkit.org/show_bug.cgi?id=72935
23887
23888         Reviewed by Yury Semikhatsky.
23889
23890         * src/js/Tests.js:
23891         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
23892
23893 2011-11-22  Pavel Feldman  <pfeldman@google.com>
23894
23895         Web Inspector: remove Inspector::bringToFront from the protocol.
23896         https://bugs.webkit.org/show_bug.cgi?id=72937
23897
23898         Reviewed by Yury Semikhatsky.
23899
23900         * src/InspectorClientImpl.cpp:
23901         (WebKit::InspectorClientImpl::bringFrontendToFront):
23902         * src/InspectorClientImpl.h:
23903         * src/WebDevToolsAgentImpl.cpp:
23904         (WebKit::WebDevToolsAgentImpl::bringFrontendToFront):
23905         * src/WebDevToolsAgentImpl.h:
23906
23907 2011-11-17  Nat Duca  <nduca@chromium.org>
23908
23909         [chromium] Route willDraw/setNeedsRedraw to CCInputHandler and fix double-drawing issues that result
23910         https://bugs.webkit.org/show_bug.cgi?id=72688
23911
23912         Reviewed by James Robinson.
23913
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:
23924         (WebCore::TEST):
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):
23935
23936 2011-11-21  Sheriff Bot  <webkit.review.bot@gmail.com>
23937
23938         Unreviewed, rolling out r100970.
23939         http://trac.webkit.org/changeset/100970
23940         https://bugs.webkit.org/show_bug.cgi?id=72925
23941
23942         Caused AssociatedURLLoaderTest.Success to fail (Requested by
23943         koz on #webkit).
23944
23945         * WebKit.gyp:
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:
23955
23956 2011-11-21  Tommy Widenflycht  <tommyw@google.com>
23957
23958         [chromium] MediaStream API: Adding embedding code for GetUserMedia
23959         https://bugs.webkit.org/show_bug.cgi?id=71678
23960
23961         Reviewed by Darin Fisher.
23962
23963         * WebKit.gyp:
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:
23996
23997 2011-11-21  James Robinson  <jamesr@chromium.org>
23998
23999         [chromium] Fix tiler initialization in TiledLayerChromiumTest
24000         https://bugs.webkit.org/show_bug.cgi?id=72915
24001
24002         Reviewed by Kenneth Russell.
24003
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.
24007
24008         * tests/TiledLayerChromiumTest.cpp:
24009         (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
24010
24011 2011-11-21  James Robinson  <jamesr@chromium.org>
24012
24013         Fix chromium compile bustage - base interface added a parameter so my fake wasn't actually implementing it.
24014
24015         * tests/TiledLayerChromiumTest.cpp:
24016         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
24017
24018 2011-11-21  James Robinson  <jamesr@chromium.org>
24019
24020         [chromium] Avoid pushing dirty tiles to the impl layer
24021         https://bugs.webkit.org/show_bug.cgi?id=72765
24022
24023         Reviewed by Kenneth Russell.
24024
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.
24027
24028         * WebKit.gypi:
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):
24048         (::TEST):
24049
24050 2011-11-21  Dominic Mazzoni  <dmazzoni@google.com>
24051
24052         [Chromium] WebAccessibilityNotification should use AssertMatchingEnums.
24053         https://bugs.webkit.org/show_bug.cgi?id=72895
24054
24055         Reviewed by Chris Fleizach.
24056
24057         * public/WebAccessibilityNotification.h:
24058         * src/AssertMatchingEnums.cpp:
24059         * src/ChromeClientImpl.cpp:
24060         (WebKit::toWebAccessibilityNotification):
24061
24062 2011-11-21  Shinya Kawanaka  <shinyak@google.com>
24063
24064         Implement a setter for UnifiedTextCheckerEnabled.
24065         https://bugs.webkit.org/show_bug.cgi?id=72872
24066
24067         Reviewed by Darin Fisher.
24068
24069         * public/WebSettings.h:
24070         * src/WebSettingsImpl.cpp:
24071         (WebKit::WebSettingsImpl::setUnifiedTextCheckerEnabled): Added.
24072         * src/WebSettingsImpl.h:
24073
24074 2011-11-21  Jochen Eisinger  <jochen@chromium.org>
24075
24076         Implement Meta referrer
24077         https://bugs.webkit.org/show_bug.cgi?id=72674
24078
24079         Reviewed by Adam Barth.
24080
24081         * WebKit.gyp:
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):
24092
24093 2011-11-21  Dominic Mazzoni  <dmazzoni@google.com>
24094
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
24097
24098         Reviewed by Chris Fleizach.
24099
24100         Test: accessibility/multiselect-list-reports-active-option.html
24101
24102         * public/WebAccessibilityObject.h:
24103         * src/WebAccessibilityObject.cpp:
24104         (WebKit::WebAccessibilityObject::isSelectedOptionActive):
24105
24106 2011-11-20  Kenichi Ishibashi  <bashi@chromium.org>
24107
24108         [Chromium] Remove old getFontFamilyForCharacters() and familyForChars() APIs.
24109         https://bugs.webkit.org/show_bug.cgi?id=72844
24110
24111         Removes old APIs for getting font family for given characters.
24112
24113         Reviewed by Darin Fisher.
24114
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().
24118
24119 2011-10-17  Antonio Gomes  <agomes@rim.com>
24120
24121         Pass a Frame* parameter in EditorClient::respondToChangedSelection
24122         https://bugs.webkit.org/show_bug.cgi?id=70248
24123
24124         Reviewed by Ryosuke Niwa.
24125
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.
24129
24130 2011-11-20  Adam Barth  <abarth@webkit.org>
24131
24132         Add WebNode::hasEventListeners for Android
24133         https://bugs.webkit.org/show_bug.cgi?id=72817
24134
24135         Reviewed by Darin Fisher.
24136
24137         Expose this EventTarget interface in the Chromium WebKit API for use by
24138         Android.
24139
24140         * public/WebNode.h:
24141         * src/WebNode.cpp:
24142         (WebKit::WebNode::hasEventListeners):
24143
24144 2011-11-20  Adam Barth  <abarth@webkit.org>
24145
24146         [Chromium] Add GestureFlingStart and GestureFlingCancel to WebGestureEvent for Android
24147         https://bugs.webkit.org/show_bug.cgi?id=72819
24148
24149         Reviewed by Darin Fisher.
24150
24151         These gesture types are used with FlingAnimator for scrolling.
24152
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):
24160
24161 2011-11-20  Adam Barth  <abarth@webkit.org>
24162
24163         [Chromium] Add WebInputEventFactory for Android
24164         https://bugs.webkit.org/show_bug.cgi?id=67890
24165
24166         Reviewed by Darin Fisher.
24167
24168         Like every Chromium OS, Android needs a WebInputFactory.
24169
24170         * WebKit.gyp:
24171         * public/android/WebInputEventFactory.h: Added.
24172         * src/android/WebInputEventFactory.cpp: Added.
24173
24174 2011-11-19  Nat Duca  <nduca@chromium.org>
24175
24176         Unreviewed, rolling out r100854.
24177         http://trac.webkit.org/changeset/100854
24178
24179         Rollout DEPS roll. Made chromium bots cry.
24180
24181         * DEPS:
24182
24183 2011-11-19  Nat Duca  <nduca@chromium.org>
24184
24185         Unreviewed.  Rolled DEPS 109696->110838
24186
24187         * DEPS:
24188
24189 2011-11-19  Adam Barth  <abarth@webkit.org>
24190
24191         Integrate Source/WTF with the Chromium build system
24192         https://bugs.webkit.org/show_bug.cgi?id=72790
24193
24194         Reviewed by Eric Seidel.
24195
24196         Add a dependency on the new WTF.
24197
24198         * WebKit.gyp:
24199
24200 2011-11-18  Takashi Toyoshima  <toyoshim@chromium.org>
24201
24202         [Chromium] [WebSocket] export WebSocketChannel interface for plugins
24203         https://bugs.webkit.org/show_bug.cgi?id=72016
24204
24205         Add WebSocket and WebSocketClient to WebKit API.
24206
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.
24212
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
24216         header include.
24217
24218         Reviewed by Darin Fisher.
24219
24220         * WebKit.gyp:
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):
24248
24249 2011-11-18  Alpha Lam  <hclam@chromium.org>
24250
24251         [chromium] composited layers are blurry with a zoom-in page scale factor
24252         https://bugs.webkit.org/show_bug.cgi?id=71225
24253
24254         Reviewed by James Robinson.
24255
24256         Implements GraphicsLayerClient to return values for pageScaleFactor and deviceScaleFactor. They are used to determine contents scale factor compositer layers.
24257
24258         * src/PageOverlay.cpp:
24259         (WebKit::OverlayGraphicsLayerClientImpl::deviceScaleFactor):
24260         (WebKit::OverlayGraphicsLayerClientImpl::pageScaleFactor):
24261
24262 2011-11-18  Scott Graham  <scottmg@chromium.org>
24263
24264         IDL changes for gamepad support
24265         https://bugs.webkit.org/show_bug.cgi?id=71753
24266
24267         Reviewed by Adam Barth.
24268
24269         Update to use vendor-prefixed enable.
24270
24271         * src/WebRuntimeFeatures.cpp:
24272         (WebKit::WebRuntimeFeatures::enableGamepad):
24273         (WebKit::WebRuntimeFeatures::isGamepadEnabled):
24274
24275 2011-11-18  Daniel Cheng  <dcheng@chromium.org>
24276
24277         [chromium] Use correct backing store for ChromiumDataObject in pasteboard writes.
24278         https://bugs.webkit.org/show_bug.cgi?id=72767
24279
24280         Reviewed by Tony Chang.
24281
24282         * src/WebDragData.cpp:
24283         (WebKit::WebDragData::initialize):
24284         (WebKit::WebDragData::assign):
24285
24286 2011-10-24  Darin Fisher  <darin@chromium.org>
24287
24288         [chromium] Improve fullscreen API
24289         https://bugs.webkit.org/show_bug.cgi?id=70477
24290
24291         Reviewed by Adam Barth.
24292
24293         Move fullscreen entry points from WebView to WebWidget since they are
24294         just about widget geometry.
24295
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.
24299
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
24304         fullscreen mode.
24305
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:
24331
24332 2011-11-17  Pavel Feldman  <pfeldman@google.com>
24333
24334         Web Inspector: dispatch messages from the front-end to the backend asynchronously.
24335         https://bugs.webkit.org/show_bug.cgi?id=72621
24336
24337         Reviewed by Yury Semikhatsky.
24338
24339         * src/InspectorFrontendClientImpl.cpp:
24340         (WebKit::InspectorFrontendClientImpl::performDisconnectFromBackend):
24341         * src/InspectorFrontendClientImpl.h:
24342
24343 2011-11-18  Iain Merrick  <husky@google.com>
24344
24345         [chromium] Pass screen refresh rate into compositor.
24346         https://bugs.webkit.org/show_bug.cgi?id=71040
24347
24348         Reviewed by Tony Gentilcore.
24349
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):
24358
24359 2011-11-17  Vincent Scheib  <scheib@chromium.org>
24360
24361         Pointer Lock: Page Settings unecessary
24362         https://bugs.webkit.org/show_bug.cgi?id=72662
24363
24364         Reviewed by Darin Fisher.
24365
24366         * public/WebSettings.h:
24367         * src/WebSettingsImpl.cpp:
24368         * src/WebSettingsImpl.h:
24369
24370 2011-11-17  Alexandre Elias  <aelias@google.com>
24371
24372         [chromium] Don't clamp minimumPageScaleFactor when doc width is zero
24373         https://bugs.webkit.org/show_bug.cgi?id=72679
24374
24375         Reviewed by James Robinson.
24376
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.
24380
24381         * src/WebViewImpl.cpp:
24382         (WebKit::WebViewImpl::setPageScaleFactorLimits):
24383
24384 2011-11-06  Nat Duca  <nduca@chromium.org>
24385
24386         [chromium] Fix handling of setNeedsCommit and setNeedsAnimate in threaded mode
24387         https://bugs.webkit.org/show_bug.cgi?id=71638
24388
24389         Reviewed by James Robinson.
24390
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):
24401
24402 2011-11-17  Elliot Glaysher  <erg@chromium.org>
24403
24404         [chromium] Don't include internal GTK headers so we build with GTK_DISABLE_SINGLE_INCLUDES
24405
24406         https://bugs.webkit.org/show_bug.cgi?id=72653
24407
24408         Reviewed by James Robinson.
24409
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.
24414
24415
24416 2011-11-17  David Reveman  <reveman@chromium.org>
24417
24418         [Chromium] Calls to paintContentsIfDirty() and updateCompositorResources() should be balanced.
24419         https://bugs.webkit.org/show_bug.cgi?id=72630
24420
24421         Reviewed by James Robinson.
24422
24423         Add test that check if calls to paintContentsIfDirty() and
24424         updateCompositorResources() are balanced when layer opacity
24425         changes during paintContent().
24426
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):
24446         (WTF::TEST_F):
24447
24448 2011-11-17  Peter Kasting  <pkasting@google.com>
24449
24450         Unreviewed, rolling out r100676.
24451         http://trac.webkit.org/changeset/100676
24452         https://bugs.webkit.org/show_bug.cgi?id=72393
24453
24454         Looks like r100572 was not the source of the crashes.
24455
24456         * src/js/DevTools.js:
24457
24458 2011-11-17  Peter Kasting  <pkasting@google.com>
24459
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
24463
24464         May have caused seg faults on Chromium Linux dbg bot.
24465
24466         * src/js/DevTools.js:
24467
24468 2011-11-17  Adrienne Walker  <enne@google.com>
24469
24470         [chromium] Implicitly skip render surfaces that won't be drawn
24471         https://bugs.webkit.org/show_bug.cgi?id=71038
24472
24473         Update a test that depends on a layer not getting removed.
24474
24475         Reviewed by James Robinson.
24476
24477         * tests/CCLayerTreeHostCommonTest.cpp:
24478         (WebCore::TEST):
24479
24480 2011-11-17  Vsevolod Vlasov  <vsevik@chromium.org>
24481
24482         Web Inspector: Remove onlineDetectionEnabled from Preferences
24483         https://bugs.webkit.org/show_bug.cgi?id=72617
24484
24485         Reviewed by Pavel Feldman.
24486
24487         * src/js/DevTools.js:
24488
24489 2011-11-17  Kenichi Ishibashi  <bashi@chromium.org>
24490
24491         [chromium] don't call fontconfig twice in complex text path
24492         https://bugs.webkit.org/show_bug.cgi?id=38701
24493
24494         Reviewed by Tony Chang.
24495
24496         Add new API for getFamilyForChars() so that keeping correct font mapping of the given characters.
24497
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.
24506
24507 2011-11-17  Adam Barth  <abarth@webkit.org>
24508
24509         [Chromium] Introduce WebSecurityOrigin::isUnique in preparation for removing WebSecurityOrigin::isEmpty
24510         https://bugs.webkit.org/show_bug.cgi?id=72580
24511
24512         Reviewed by Darin Fisher.
24513
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.
24516
24517         * public/WebSecurityOrigin.h:
24518         (WebKit::WebSecurityOrigin::isUnique):
24519
24520 2011-11-15  Pavel Feldman  <pfeldman@google.com>
24521
24522         Web Inspector: introduce Debugger domain capabilities concept.
24523         https://bugs.webkit.org/show_bug.cgi?id=72393
24524
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.
24528
24529         Reviewed by Yury Semikhatsky.
24530
24531         * src/js/DevTools.js:
24532
24533 2011-11-11  Adrienne Walker  <enne@google.com>
24534
24535         [chromium] Expose mock scrollbars to window.internals
24536         https://bugs.webkit.org/show_bug.cgi?id=72195
24537
24538         Reviewed by James Robinson.
24539
24540         * public/WebSettings.h:
24541         * src/WebSettingsImpl.cpp:
24542         (WebKit::WebSettingsImpl::setMockScrollbarsEnabled):
24543         * src/WebSettingsImpl.h:
24544
24545 2011-11-16  Shawn Singh  <shawnsingh@chromium.org>
24546
24547         [chromium] Track property changes for render surfaces.
24548         https://bugs.webkit.org/show_bug.cgi?id=72521
24549
24550         Reviewed by James Robinson.
24551
24552         * WebKit.gypi:
24553         * tests/CCLayerImplTest.cpp:
24554         (WebCore::TEST):
24555         * tests/CCRenderSurfaceTest.cpp: Added.
24556         (WebCore::TEST):
24557
24558 2011-11-16  Alexandre Elias  <aelias@google.com>
24559
24560         [chromium] Improvements for page scale delta during commit
24561         https://bugs.webkit.org/show_bug.cgi?id=72471
24562
24563         Reviewed by James Robinson.
24564
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.
24568
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.
24574
24575         No new tests. (planning to add later: https://bugs.webkit.org/show_bug.cgi?id=71529)
24576
24577         * src/WebViewImpl.cpp:
24578         (WebKit::WebViewImpl::applyScrollAndScale):
24579
24580 2011-11-16  Dave Michael  <dmichael@chromium.org>
24581
24582         Fix up chromium API for creating events, initializing message events
24583         https://bugs.webkit.org/show_bug.cgi?id=71478
24584
24585         - Fix a mistake when checking the exception code during event creation.
24586         - Change WebFrame parameter to pointer so that NULL may be passed.
24587
24588         This is required for the following chromium CL: http://codereview.chromium.org/8437093/
24589
24590         Tested in Chromium by:
24591          ui_test --gtest_filter=*PPAPITest.PostMessage*
24592
24593         Reviewed by Darin Fisher.
24594
24595         * public/WebDOMMessageEvent.h:
24596         * src/WebDOMMessageEvent.cpp:
24597         (WebKit::WebDOMMessageEvent::initMessageEvent):
24598         * src/WebDocument.cpp:
24599         (WebKit::WebDocument::createEvent):
24600
24601 2011-11-16  Sheriff Bot  <webkit.review.bot@gmail.com>
24602
24603         Unreviewed, rolling out r100438.
24604         http://trac.webkit.org/changeset/100438
24605         https://bugs.webkit.org/show_bug.cgi?id=72536
24606
24607         Broke unit tests (Requested by jamesr_ on #webkit).
24608
24609         * public/WebScreenInfo.h:
24610         (WebKit::WebScreenInfo::WebScreenInfo):
24611         * src/PlatformSupport.cpp:
24612         * src/WebViewImpl.cpp:
24613         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
24614
24615 2011-11-16  Alexandre Elias  <aelias@google.com>
24616
24617         [chromium] Add minimum/maximumPageScaleFactor API and clamp fixes
24618         https://bugs.webkit.org/show_bug.cgi?id=72463
24619
24620         Reviewed by Darin Fisher.
24621
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.
24625
24626         I also added a few clamp calls that are needed in some corner cases.
24627
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:
24635
24636 2011-11-16  Vsevolod Vlasov  <vsevik@chromium.org>
24637
24638         Web Inspector: Application cache status should be updated after swapCache().
24639         https://bugs.webkit.org/show_bug.cgi?id=72123
24640
24641         Reviewed by Pavel Feldman.
24642
24643         * src/ApplicationCacheHost.cpp:
24644         (WebCore::ApplicationCacheHost::swapCache):
24645
24646 2011-11-16  Iain Merrick  <husky@google.com>
24647
24648         [chromium] Pass screen refresh rate into compositor.
24649         https://bugs.webkit.org/show_bug.cgi?id=71040
24650
24651         Reviewed by Tony Gentilcore.
24652
24653         * public/WebScreenInfo.h:
24654         (WebKit::WebScreenInfo::WebScreenInfo):
24655         * src/PlatformSupport.cpp:
24656         (WebCore::PlatformSupport::screenRefreshRate):
24657         * src/WebViewImpl.cpp:
24658         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
24659
24660 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
24661
24662         Unreviewed, rolling out r100340.
24663         http://trac.webkit.org/changeset/100340
24664         https://bugs.webkit.org/show_bug.cgi?id=72448
24665
24666         Caused assertion failure in Win dbg canary. (Requested by
24667         pkasting on #webkit).
24668
24669         * tests/CCLayerTreeHostImplTest.cpp:
24670
24671 2011-11-15  Nat Duca  <nduca@chromium.org>
24672
24673         [chromium] Fuse MainThread and CCThread
24674         https://bugs.webkit.org/show_bug.cgi?id=72426
24675
24676         Reviewed by James Robinson.
24677
24678         * WebKit.gyp:
24679         * WebKit.gypi:
24680         * src/CCMainThreadImpl.cpp: Removed.
24681         * src/CCThreadImpl.cpp:
24682         (WebKit::CCThreadImpl::CCThreadImpl):
24683         * src/WebCompositorImpl.cpp:
24684         (WebKit::WebCompositor::setThread):
24685         * src/WebKit.cpp:
24686         (WebKit::initializeWithoutV8):
24687         (WebKit::shutdown):
24688         * tests/CCLayerTreeHostTest.cpp:
24689         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
24690         (WTF::CCLayerTreeHostTest::endTest):
24691         * tests/CCThreadTest.cpp: Removed.
24692
24693 2011-11-15  Jochen Eisinger  <jochen@chromium.org>
24694
24695         Rename ReferrerPolicy to clarify its meaning
24696         https://bugs.webkit.org/show_bug.cgi?id=72420
24697
24698         Reviewed by Nate Chapin.
24699
24700         * src/WebPluginContainerImpl.cpp:
24701         (WebKit::WebPluginContainerImpl::loadFrameRequest):
24702
24703 2011-11-15  Anders Carlsson  <andersca@apple.com>
24704
24705         HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
24706         https://bugs.webkit.org/show_bug.cgi?id=72397
24707
24708         Reviewed by Dan Bernstein.
24709
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):
24720
24721 2011-11-15  Scott Graham  <scottmg@chromium.org>
24722
24723         [Chromium] gamepad changes to the public interface of Chromium port
24724         https://bugs.webkit.org/show_bug.cgi?id=71518
24725
24726         Reviewed by Darin Fisher.
24727
24728         Adds stubs for Chromium port, and defines shared memory structure to
24729         be used between browser and WebKit.
24730
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
24735
24736         * WebKit.gyp:
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):
24747
24748 2011-11-14  Anders Carlsson  <andersca@apple.com>
24749
24750         HostWindow invalidation functions should use root view coordinates
24751         https://bugs.webkit.org/show_bug.cgi?id=72338
24752
24753         Reviewed by Dan Bernstein.
24754
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:
24765
24766 2011-11-15  Pavel Feldman  <pfeldman@google.com>
24767
24768         Web Inspector: move generic code from DevTools.js into the WebCore.
24769         https://bugs.webkit.org/show_bug.cgi?id=72377
24770
24771         re-landing r100269.
24772
24773         Reviewed by Yury Semikhatsky.
24774
24775         * src/js/DevTools.js:
24776         (WebInspector.setInspectedTabId):
24777
24778 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
24779
24780         Unreviewed, rolling out r100269.
24781         http://trac.webkit.org/changeset/100269
24782         https://bugs.webkit.org/show_bug.cgi?id=72383
24783
24784         "Broke dozens of tests due to exception in loadingFinished"
24785         (Requested by tonyg-cr on #webkit).
24786
24787         * src/js/DevTools.js:
24788         ():
24789         (devtools.domContentLoaded):
24790         (WebInspector.UIString):
24791         (WebInspector.setToolbarColors):
24792         (WebInspector.resetToolbarColors):
24793         (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
24794
24795 2011-11-15  Pavel Feldman  <pfeldman@google.com>
24796
24797         Web Inspector: move generic code from DevTools.js into the WebCore.
24798         https://bugs.webkit.org/show_bug.cgi?id=72377
24799
24800         This includes support for themed toolbar, remote debugging routines,
24801         removes a couple of obsolete overrides from the DevTools.js
24802
24803         Reviewed by Yury Semikhatsky.
24804
24805         * src/js/DevTools.js:
24806         (WebInspector.setInspectedTabId):
24807
24808 2011-11-15  Alpha Lam  <hclam@chromium.org>
24809
24810         [chromium] scroll deltas are cleared during commit to the main thread
24811         https://bugs.webkit.org/show_bug.cgi?id=71916
24812
24813         Reviewed by James Robinson.
24814
24815         Modify test to verify sentScrollDeltas() values of CCLayerImpl during commit.
24816
24817         * tests/CCLayerTreeHostImplTest.cpp:
24818         (WebKit::TEST_F):
24819
24820 2011-11-14  Julien Chaffraix  <jchaffraix@webkit.org>
24821
24822         [chromium] Fix the build after moving some arrays to WTF
24823         https://bugs.webkit.org/show_bug.cgi?id=72345
24824
24825         Reviewed by Dirk Pranke.
24826
24827         * public/WebArrayBufferView.h: s/WebCore/WTF/g.
24828
24829 2011-11-14  Ian Vollick  <vollick@chromium.org>
24830
24831         Expose compositeAndReadback in WebLayerTreeView
24832         https://bugs.webkit.org/show_bug.cgi?id=72188
24833
24834         Reviewed by Darin Fisher.
24835
24836         * public/WebLayerTreeView.h:
24837         * src/WebLayerTreeView.cpp:
24838         (WebKit::WebLayerTreeView::compositeAndReadback):
24839
24840 2011-11-14  Raymond Toy  <rtoy@google.com>
24841
24842         Add buffering to handle mismatch between hardware buffer size and webaudio render size
24843         https://bugs.webkit.org/show_bug.cgi?id=71949
24844
24845         Reviewed by Kenneth Russell.
24846
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.
24864
24865 2011-11-14  Adrienne Walker  <enne@google.com>
24866
24867         [chromium] Pipe compositor commit/swap up to WebWidgetClient
24868         https://bugs.webkit.org/show_bug.cgi?id=72041
24869
24870         Reviewed by Darin Fisher.
24871
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):
24886
24887 2011-11-14  Tony Chang  <tony@chromium.org>
24888
24889         Remove the CSS3_FLEXBOX compile time flag and enable on all ports
24890         https://bugs.webkit.org/show_bug.cgi?id=72196
24891
24892         Reviewed by Ojan Vafai.
24893
24894         * features.gypi:
24895
24896 2011-11-14  Fady Samuel  <fsamuel@chromium.org>
24897
24898         [Chromium] setPageScaleFactor and associated methods should take scaling limits into account
24899         https://bugs.webkit.org/show_bug.cgi?id=72176
24900
24901         Reviewed by Darin Fisher.
24902  
24903         A couple of changes:
24904  
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.
24909  
24910
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:
24921
24922 2011-11-14  Vincent Scheib  <scheib@chromium.org>
24923
24924         Mouse Lock: Renaming to 'Pointer Lock': Runtime Enable Flags
24925         https://bugs.webkit.org/show_bug.cgi?id=72303
24926
24927         Reviewed by Darin Fisher.
24928
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:
24937
24938 2011-11-14  Sheriff Bot  <webkit.review.bot@gmail.com>
24939
24940         Unreviewed, rolling out r100176.
24941         http://trac.webkit.org/changeset/100176
24942         https://bugs.webkit.org/show_bug.cgi?id=72309
24943
24944         it broke the Mac builds (missing symbols) in a non-obvious way
24945         (Requested by jchaffraix on #webkit).
24946
24947         * public/WebGraphicsContext3D.h:
24948         * src/GraphicsContext3DChromium.cpp:
24949         * src/GraphicsContext3DPrivate.h:
24950         * tests/MockWebGraphicsContext3D.h:
24951
24952 2011-11-14  Adam Barth  <abarth@webkit.org>
24953
24954         Remove the concept of an empty SecurityOrigin
24955         https://bugs.webkit.org/show_bug.cgi?id=72287
24956
24957         Reviewed by Eric Seidel.
24958
24959         I'll rename the API in a subsequent patch.
24960
24961         * src/WebSecurityOrigin.cpp:
24962         (WebKit::WebSecurityOrigin::isEmpty):
24963
24964 2011-11-14  Vincent Scheib  <scheib@chromium.org>
24965
24966         Mouse Lock: Renaming to 'Pointer Lock': ENABLE Flags
24967         https://bugs.webkit.org/show_bug.cgi?id=72286
24968
24969         Reviewed by Adam Barth.
24970
24971         * features.gypi:
24972         * src/WebRuntimeFeatures.cpp:
24973         (WebKit::WebRuntimeFeatures::enableMouseLockAPI):
24974         (WebKit::WebRuntimeFeatures::isMouseLockAPIEnabled):
24975         * src/WebSettingsImpl.cpp:
24976         (WebKit::WebSettingsImpl::setMouseLockEnabled):
24977
24978 2011-11-14  Gregg Tavares  <gman@google.com>
24979
24980         Implement WEBGL_EXPERIMENTAL_compressed_textures WebGL extension
24981         https://bugs.webkit.org/show_bug.cgi?id=72086
24982
24983         Reviewed by Kenneth Russell.
24984
24985         * public/WebGraphicsContext3D.h:
24986         * src/GraphicsContext3DChromium.cpp:
24987         * src/GraphicsContext3DPrivate.h:
24988         * tests/MockWebGraphicsContext3D.h:
24989         (WebKit::MockWebGraphicsContext3D::compressedTexImage2D):
24990         (WebKit::MockWebGraphicsContext3D::compressedTexSubImage2D):
24991
24992 2011-11-14  Tommy Widenflycht  <tommyw@google.com>
24993
24994         [chromium] MediaStream API: Adding a sources() method to WebMediaStreamDescriptor
24995         https://bugs.webkit.org/show_bug.cgi?id=72116
24996
24997         Reviewed by Darin Fisher.
24998
24999         * public/WebMediaStreamDescriptor.h:
25000         * public/WebMediaStreamSource.h:
25001         * src/WebMediaStreamDescriptor.cpp:
25002         (WebKit::WebMediaStreamDescriptor::sources):
25003         * src/WebMediaStreamSource.cpp:
25004         (WebKit::WebMediaStreamSource::operator=):
25005
25006 2011-11-14  Tommy Widenflycht  <tommyw@google.com>
25007
25008         [chromium] MediaStream API: Allow for null WebPeerConnectionHandler
25009         https://bugs.webkit.org/show_bug.cgi?id=72114
25010
25011         Fixing crash if WebKitPlatformSupport returns a null WebPeerConnectionHandler
25012         to PeerConnectionHandlerInternal.
25013
25014         Reviewed by Adam Barth.
25015
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:
25030
25031 2011-11-14  Jonathan Backer  <backer@chromium.org>
25032
25033         [chromium] Plumb through partial swap
25034         https://bugs.webkit.org/show_bug.cgi?id=72028
25035
25036         Reviewed by Kenneth Russell.
25037
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):
25045
25046 2011-11-14  Iain Merrick  <husky@google.com>
25047
25048         [chromium] Fix incorrect usage of ASSERT in CCLayerTreeHostTest
25049         https://bugs.webkit.org/show_bug.cgi?id=72026
25050
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
25053         isMainThread().
25054
25055         Replacing with ASSERT_TRUE (or EXPECT_TRUE in constructors, where
25056         we can't return a value).
25057
25058         Reviewed by Tony Gentilcore.
25059
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):
25067
25068 2011-11-14  Alexander Pavlov  <apavlov@chromium.org>
25069
25070         [chromium] r99963 causes inspector/debugger/script-formatter.html to fail text diff
25071         https://bugs.webkit.org/show_bug.cgi?id=72204
25072
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.
25075
25076         Reviewed by Yury Semikhatsky.
25077
25078         * WebKit.gyp:
25079
25080 2011-11-13  Nat Duca  <nduca@chromium.org>
25081
25082         [chromium] LayerRendererChromium::initialize should fail when GaphicsContext3D::makeCurrent fails
25083         https://bugs.webkit.org/show_bug.cgi?id=72102
25084
25085         Reviewed by James Robinson.
25086
25087         * src/WebViewImpl.cpp:
25088         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
25089
25090 2011-11-13  Kent Tamura  <tkent@chromium.org>
25091
25092         [Chromium] Remove WebFileChooserParams::acceptTypes
25093         https://bugs.webkit.org/show_bug.cgi?id=71998
25094
25095         Reviewed by Darin Fisher.
25096
25097         * public/WebFileChooserParams.h: Remove acceptTypes.
25098         * src/ChromeClientImpl.cpp:
25099         (WebKit::ChromeClientImpl::runOpenPanel): Remove acceptTypes generatio code.
25100
25101 2011-11-11  Nico Weber  <thakis@chromium.org>
25102
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
25105
25106         Reviewed by Nate Chapin.
25107
25108         * WebKit.gyp:
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):
25119
25120 2011-11-11  Nat Duca  <nduca@chromium.org>
25121
25122         Since GraphicsContext3D::makeContextCurrent can fail, return bool.
25123
25124         https://bugs.webkit.org/show_bug.cgi?id=72101
25125
25126         Reviewed by Kenneth Russell.
25127
25128         * src/GraphicsContext3DChromium.cpp:
25129
25130 2011-11-11  Ojan Vafai  <ojan@chromium.org>
25131
25132         Unreviewed. Rolled DEPS.
25133         https://bugs.webkit.org/show_bug.cgi?id=72174
25134
25135         * DEPS:
25136
25137 2011-11-11  James Robinson  <jamesr@chromium.org>
25138
25139         Rollout http://trac.webkit.org/changeset/99844
25140         Solution is more complicated than the problem it was intended to solve.
25141
25142         * tests/CCLayerTreeHostImplTest.cpp:
25143         (WebKit::TEST_F):
25144
25145 2011-11-11  Iain Merrick  <husky@google.com>
25146
25147         [chromium] CCThreadProxy::finishAllRendering hangs if !visible
25148         https://bugs.webkit.org/show_bug.cgi?id=71920
25149
25150         Reviewed by James Robinson.
25151
25152         * tests/CCSchedulerStateMachineTest.cpp:
25153         (WebCore::TEST):
25154
25155 2011-11-11  Antoine Labour  <piman@chromium.org>
25156
25157         [chromium] Add translation/scaling to WebExternalTextureLayer
25158         https://bugs.webkit.org/show_bug.cgi?id=72087
25159
25160         Reviewed by James Robinson.
25161
25162         * public/WebExternalTextureLayer.h:
25163         * src/WebExternalTextureLayer.cpp:
25164         (WebKit::WebExternalTextureLayer::setUVRect):
25165         (WebKit::WebExternalTextureLayer::uvRect):
25166
25167 2011-11-11  Adam Klein  <adamk@chromium.org>
25168
25169         Remove no-op StorageNamespace::unlock method
25170         https://bugs.webkit.org/show_bug.cgi?id=72181
25171
25172         Reviewed by Darin Adler.
25173
25174         * src/StorageNamespaceProxy.cpp:
25175         * src/StorageNamespaceProxy.h:
25176
25177 2011-11-11  Stephen Chenney  <schenney@chromium.org>
25178
25179         [Chromium] DRT does not have LayoutTestController.pageSizeAndMarginsInPixels
25180         https://bugs.webkit.org/show_bug.cgi?id=49257
25181
25182         Add the WebFrame::getPageProperty method for Chromium.
25183
25184         Reviewed by Darin Fisher.
25185
25186         * public/WebFrame.h:
25187         * src/WebFrameImpl.cpp:
25188         (WebKit::WebFrameImpl::getPageProperty):
25189         * src/WebFrameImpl.h:
25190
25191 2011-11-11  Jeff Timanus  <twiz@chromium.org>
25192
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
25201
25202         Reviewed by Stephen White.
25203
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:
25215
25216 2011-11-11  Sheriff Bot  <webkit.review.bot@gmail.com>
25217
25218         Unreviewed, rolling out r100010.
25219         http://trac.webkit.org/changeset/100010
25220         https://bugs.webkit.org/show_bug.cgi?id=72172
25221
25222         "Broke gclient syncing on the chromium bots." (Requested by
25223         ojan on #webkit).
25224
25225         * DEPS:
25226
25227 2011-11-11  Ojan Vafai  <ojan@chromium.org>
25228
25229         Unreviewed.  Rolled DEPS.
25230
25231         * DEPS:
25232
25233 2011-11-11  James Robinson  <jamesr@chromium.org>
25234
25235         [chromium] Fix CCLayerTreeHost leak in webkit_unit_tests
25236         https://bugs.webkit.org/show_bug.cgi?id=72081
25237
25238         Reviewed by Kenneth Russell.
25239
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
25243         this test was not.
25244
25245         * tests/CCLayerTreeHostTest.cpp:
25246         (WTF::CCLayerTreeHostTest::runTest):
25247         (WTF::CCLayerTreeHostTest::doBeginTest):
25248
25249 2011-11-11  Sheriff Bot  <webkit.review.bot@gmail.com>
25250
25251         Unreviewed, rolling out r99826.
25252         http://trac.webkit.org/changeset/99826
25253         https://bugs.webkit.org/show_bug.cgi?id=72109
25254
25255         "Likely causing test flakiness" (Requested by tonyg-cr on
25256         #webkit).
25257
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):
25265         (WebKit::TEST_F):
25266         * tests/WebViewTest.cpp:
25267         (WebKit::TEST_F):
25268         * tests/data/page_with_image.mht: Removed.
25269
25270 2011-11-10  Daniel Cheng  <dcheng@chromium.org>
25271
25272         [chromium] Add plumbing for JS to write to clipboard in copy/cut events.
25273         https://bugs.webkit.org/show_bug.cgi?id=71414
25274
25275         Reviewed by Darin Fisher.
25276
25277         * public/WebClipboard.h:
25278         (WebKit::WebClipboard::writeDataObject):
25279         * src/PlatformSupport.cpp:
25280         (WebCore::PlatformSupport::clipboardWriteDataObject):
25281
25282 2011-11-10  Vsevolod Vlasov  <vsevik@chromium.org>
25283
25284         Unreviewed.  Rolled DEPS.
25285
25286         * DEPS:
25287
25288 2011-11-10  Iain Merrick  <husky@google.com>
25289
25290         [Chromium] Fix CCLayerTreeHostImplTest::scrollRootCallsCommitAndRedraw
25291         https://bugs.webkit.org/show_bug.cgi?id=72027
25292
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.
25296
25297         Reviewed by Tony Gentilcore.
25298
25299         * tests/CCLayerTreeHostImplTest.cpp:
25300         (WebKit::TEST_F):
25301
25302 2011-11-10  Alpha Lam  <hclam@chromium.org>
25303
25304         [chromium] Scroll deltas are cleared during commit to the main thread
25305         https://bugs.webkit.org/show_bug.cgi?id=71916
25306
25307         Reviewed by James Robinson.
25308
25309         * tests/CCLayerTreeHostImplTest.cpp:
25310         (WebKit::TEST_F):
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.
25319
25320 2011-11-10  Jay Civelli  <jcivelli@chromium.org>
25321
25322         Fix progress load reporting for MHTML documents.
25323
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
25327
25328         Reviewed by Adam Barth.
25329
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):
25338         (WebKit::TEST_F):
25339         * tests/WebViewTest.cpp:
25340         (WebKit::TEST_F):
25341         * tests/data/page_with_image.mht: Added.
25342
25343 2011-11-09  Tommy Widenflycht  <tommyw@google.com>
25344
25345         [chromium] MediaStream API: Add WebMediaStreamRegistry
25346         https://bugs.webkit.org/show_bug.cgi?id=71458
25347
25348         Reviewed by Darin Fisher.
25349
25350         * WebKit.gyp:
25351         * public/WebMediaStreamRegistry.h: Added.
25352         * src/WebMediaStreamRegistry.cpp: Added.
25353         (WebKit::WebMediaStreamRegistry::lookupMediaStreamDescriptor):
25354
25355 2011-11-09  Alexandre Elias  <aelias@google.com>
25356
25357         [chromium] Add draw-time scale delta to compositor thread
25358         https://bugs.webkit.org/show_bug.cgi?id=71595
25359
25360         Reviewed by James Robinson.
25361
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.
25371
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
25375         scale.
25376
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'.
25380
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.
25384
25385         Also introduce deviceOrPageScaleFactorChanged() call which invalidates
25386         layers.
25387
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):
25402         (WebKit::TEST_F):
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):
25412
25413 2011-11-09  Dominic Mazzoni  <dmazzoni@google.com>
25414
25415         Fix crash by handling case when AccessibilityObject::lineForPosition
25416         returns -1.
25417         https://bugs.webkit.org/show_bug.cgi?id=71561
25418
25419         Adds layout test: platform/chromium/accessibility/insertion-point-line-number-on-password-crashes.html
25420
25421         Reviewed by Dimitri Glazkov.
25422
25423         * src/WebAccessibilityObject.cpp:
25424         (WebKit::WebAccessibilityObject::lineBreaks):
25425
25426 2011-11-09  Jay Civelli  <jcivelli@chromium.org>
25427
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
25431
25432         Reviewed by Adam Barth.
25433
25434         * tests/WebPageNewSerializerTest.cpp:
25435         (WebKit::LineReader::LineReader):
25436         (WebKit::LineReader::getNextLine):
25437         (WebKit::WebPageNewSerializeTest::setUpCSSTestPage):
25438         (WebKit::TEST_F):
25439
25440 2011-11-09  Henrik Grunell  <grunell@chromium.org>
25441
25442         Adding missing implementation of WebMediaStreamDescriptor::label().
25443
25444         [Chromium] Missing WebMediaStreamDescriptor::label() implementation
25445         https://bugs.webkit.org/show_bug.cgi?id=71657
25446
25447         Reviewed by Adam Barth.
25448
25449         * src/WebMediaStreamDescriptor.cpp:
25450         (WebKit::WebMediaStreamDescriptor::label):
25451
25452 2011-11-09  Alexei Svitkine  <asvitkine@chromium.org>
25453
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
25456
25457         These are the only WebKit-side changes needed. The rest will be done on the Chromium side.
25458
25459         Chromium bug: http://crbug.com/44350
25460
25461         Reviewed by Pavel Feldman.
25462
25463         * public/WebDevToolsFrontendClient.h:
25464         (WebKit::WebDevToolsFrontendClient::moveWindowBy):
25465         * src/InspectorFrontendClientImpl.cpp:
25466         (WebKit::InspectorFrontendClientImpl::moveWindowBy):
25467
25468 2011-11-08  Jay Civelli  <jcivelli@chromium.org>
25469
25470         Fixes and reenables the WebPageSerializer tests.
25471         https://bugs.webkit.org/show_bug.cgi?id=71874
25472
25473         Reviewed by Adam Barth.
25474
25475         * WebKit.gypi:
25476         * tests/WebPageNewSerializerTest.cpp:
25477         (WebKit::TestWebFrameClient::~TestWebFrameClient):
25478         (WebKit::WebPageNewSerializeTest::SetUp):
25479         (WebKit::WebPageNewSerializeTest::resourceVectorContains):
25480         (WebKit::TEST_F):
25481         * tests/WebPageSerializerTest.cpp:
25482         (WebKit::WebPageSerializerTest::WebPageSerializerTest):
25483         (WebKit::WebPageSerializerTest::webVectorContains):
25484         (WebKit::TEST_F):
25485
25486 2011-11-07  Adam Barth  <abarth@webkit.org>
25487
25488         Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
25489         https://bugs.webkit.org/show_bug.cgi?id=71755
25490
25491         Reviewed by Eric Seidel.
25492
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):
25502
25503 2011-11-08  Nat Duca  <nduca@chromium.org>
25504
25505         [chromium] When GC3DPrivate::initializExtensions fails, dont keep retrying
25506         https://bugs.webkit.org/show_bug.cgi?id=71637
25507
25508         Reviewed by Kenneth Russell.
25509
25510         * src/GraphicsContext3DChromium.cpp:
25511         (WebCore::GraphicsContext3DPrivate::initializeExtensions):
25512
25513 2011-11-08  Adam Klein  <adamk@chromium.org>
25514
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
25517
25518         Reviewed by Adam Barth.
25519
25520         * src/SharedWorkerRepository.cpp:
25521
25522 2011-11-08  Fady Samuel  <fsamuel@chromium.org>
25523
25524         Delete WebViewimpl::scalePage
25525         https://bugs.webkit.org/show_bug.cgi?id=71711
25526
25527         Reviewed by Darin Fisher.
25528
25529         Once this patch lands: http://codereview.chromium.org/8477033
25530
25531         WebViewImpl::scalePage will no longer be used in Chromium and
25532         can safely be deleted.
25533
25534         * public/WebView.h:
25535         * src/WebViewImpl.cpp:
25536         * src/WebViewImpl.h:
25537
25538 2011-11-08  Joshua Bell  <jsbell@chromium.org>
25539
25540         IndexedDB: implement compound (array) key support
25541         https://bugs.webkit.org/show_bug.cgi?id=62284
25542
25543         Reviewed by Tony Chang.
25544
25545         Extend WebKit API to support Array values as IDBKeys.
25546
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:
25556         (WebCore::TEST):
25557         * tests/IDBLevelDBCodingTest.cpp:
25558         (IDBLevelDBCoding::createArrayIDBKey):
25559         (IDBLevelDBCoding::TEST):
25560         (IDBLevelDBCoding::compareStrings):
25561
25562 2011-11-08  Yury Semikhatsky  <yurys@chromium.org>
25563
25564         Web Inspector: display notification in the front-end when inspected worker terminates
25565         https://bugs.webkit.org/show_bug.cgi?id=71770
25566
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.
25569
25570         Reviewed by Pavel Feldman.
25571
25572         * public/WebDevToolsAgent.h:
25573         * src/WebDevToolsAgentImpl.cpp:
25574         (WebKit::WebDevToolsAgent::createFrontendDisconnectedEvent):
25575
25576 2011-11-08  Yury Semikhatsky  <yurys@chromium.org>
25577
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
25580
25581         Added a test function that checks if console evaluation works after crashed tab reloading.
25582
25583         Reviewed by Pavel Feldman.
25584
25585         * src/js/Tests.js:
25586         (.TestSuite.prototype.testReattachAfterCrash):
25587
25588 2011-11-07  Emil A Eklund  <eae@chromium.org>
25589
25590         Revert platform and scrolling to ints
25591         https://bugs.webkit.org/show_bug.cgi?id=71585
25592
25593         Reviewed by Eric Seidel.
25594
25595         Replace all uses of LayoutUnit and related types with ints in platform
25596         and scrolling code.
25597
25598         * tests/ScrollAnimatorNoneTest.cpp:
25599         (MockScrollableArea::visibleHeight):
25600         (MockScrollableArea::visibleWidth):
25601
25602 2011-11-07  Adam Barth  <abarth@webkit.org>
25603
25604         Move DomainRelaxationForbidden scheme registry to SchemeRegistry
25605         https://bugs.webkit.org/show_bug.cgi?id=71750
25606
25607         Reviewed by Eric Seidel.
25608
25609         * src/WebViewImpl.cpp:
25610         (WebKit::WebViewImpl::setDomainRelaxationForbidden):
25611
25612 2011-11-07  Beth Dakin  <bdakin@apple.com>
25613
25614         https://bugs.webkit.org/show_bug.cgi?id=71490
25615         Support uiStateTransitionProgress for scrollbars
25616         -and corresponding-
25617         <rdar://problem/9849612>
25618
25619         Reviewed by Sam Weinig.
25620
25621         Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter.
25622         * src/WebScrollbarImpl.cpp:
25623         (WebKit::WebScrollbarImpl::onMouseUp):
25624
25625 2011-11-07  Fady Samuel  <fsamuel@chromium.org>
25626
25627         [Chromium] Rename WebView::scalePage to WebView::setPageScaleFactor to match WebCore
25628         https://bugs.webkit.org/show_bug.cgi?id=71485
25629
25630         Reviewed by Darin Fisher.
25631
25632         Created new method setPageScaleFactor to replace scalePage to match
25633         renamed method in WebCore. This change will happen in three stages:
25634
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
25638            repository.
25639         3. scalePage is deleted from WebView/WebViewImpl
25640
25641         * public/WebView.h:
25642         * src/WebViewImpl.cpp:
25643         (WebKit::WebViewImpl::pageScaleFactor):
25644         (WebKit::WebViewImpl::scalePage):
25645         (WebKit::WebViewImpl::setPageScaleFactor):
25646         * src/WebViewImpl.h:
25647
25648 2011-11-07  Jessie Berlin  <jberlin@apple.com>
25649
25650         Need a way to allow a scheme access to Local Storage and Databases while Private Browsing is
25651         enabled.
25652         https://bugs.webkit.org/show_bug.cgi?id=71631
25653
25654         Reviewed by Jon Honeycutt.
25655
25656         * src/StorageAreaProxy.h:
25657         (WebCore::StorageAreaProxy::disabledByPrivateBrowsingInFrame):
25658         Chromium uses a different method to track its icognito mode, so always return false.
25659
25660 2011-11-07  Yury Semikhatsky  <yurys@chromium.org>
25661
25662         [Chromium] Web Inspector: use native worker inspector instead of fake workers
25663         https://bugs.webkit.org/show_bug.cgi?id=71670
25664
25665         chrome://workers link is replaced with instructions on discovering shared workers
25666         in Task Manager.
25667
25668         Reviewed by Pavel Feldman.
25669
25670         * src/js/DevTools.js:
25671         ():
25672
25673 2011-11-07  Sheriff Bot  <webkit.review.bot@gmail.com>
25674
25675         Unreviewed.  Rolled DEPS.
25676
25677         * DEPS:
25678
25679 2011-11-05  Daniel Cheng  <dcheng@chromium.org>
25680
25681         [chromium] Use the security origin instead of the URL when checking notification permissions
25682         https://bugs.webkit.org/show_bug.cgi?id=71590
25683
25684         Reviewed by Adam Barth.
25685
25686         * public/WebNotificationPresenter.h:
25687         * src/NotificationPresenterImpl.cpp:
25688         (WebKit::NotificationPresenterImpl::checkPermission):
25689
25690 2011-11-04  Shawn Singh  <shawnsingh@chromium.org>
25691
25692         [chromium] Re-named the original scissorRect to clipRect
25693         https://bugs.webkit.org/show_bug.cgi?id=71580
25694
25695         Reviewed by James Robinson.
25696
25697         * tests/CCLayerImplTest.cpp:
25698         (WebCore::TEST):
25699         * tests/CCLayerTreeHostCommonTest.cpp:
25700         (WebCore::TEST):
25701         * tests/LayerChromiumTest.cpp:
25702
25703 2011-11-04  Robert Sesek  <rsesek@chromium.org>
25704
25705         [chromium] Use Chromium's copy of libWebKitSystemInterfaceLeopard.a
25706         https://bugs.webkit.org/show_bug.cgi?id=71563
25707
25708         Reviewed by Adam Barth.
25709
25710         Roll Chromium DEPS r108107:108476 to pull in
25711         libWebKitSystemInterfaceLeopard.a.
25712
25713         * DEPS:
25714
25715 2011-11-03  Adrienne Walker  <enne@google.com>
25716
25717         [chromium] Implement checkerboarding for missing layer tiles
25718         https://bugs.webkit.org/show_bug.cgi?id=69585
25719
25720         Reviewed by James Robinson.
25721
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.
25725
25726         * src/WebViewImpl.cpp:
25727         (WebKit::WebViewImpl::nonCompositedContentHost):
25728         (WebKit::WebViewImplContentPainter::paint):
25729         * src/WebViewImpl.h:
25730         * tests/CCLayerImplTest.cpp:
25731         (WebCore::TEST):
25732
25733 2011-11-04  Fady Samuel  <fsamuel@chromium.org>
25734
25735         [Chromium] Expose deviceScaleFactor to WebKit API
25736         https://bugs.webkit.org/show_bug.cgi?id=70614
25737
25738         Reviewed by Darin Fisher.
25739
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. 
25743
25744         For details on how this can be accessed from CSS and javascript, please
25745         see here:
25746
25747         http://developer.android.com/guide/webapps/targeting.html#DensityCSS
25748
25749         * public/WebView.h:
25750         * src/WebViewImpl.cpp:
25751         (WebKit::WebViewImpl::deviceScaleFactor):
25752         (WebKit::WebViewImpl::setDeviceScaleFactor):
25753         * src/WebViewImpl.h:
25754
25755 2011-11-03  Adrienne Walker  <enne@google.com>
25756
25757         [chromium] Fix incorrect visibility/scissor rect for threaded compositing
25758         https://bugs.webkit.org/show_bug.cgi?id=70962
25759
25760         Reviewed by James Robinson.
25761
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):
25769
25770 2011-11-02  Xiaomei Ji  <xji@chromium.org>
25771
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
25774
25775         Reviewed by Ryosuke Niwa.
25776
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. 
25781
25782         The work flow is:
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.
25787  
25788         * public/WebSettings.h:
25789         * src/WebSettingsImpl.cpp:
25790         (WebKit::WebSettingsImpl::setVisualWordMovementEnabled):
25791         * src/WebSettingsImpl.h:
25792
25793 2011-11-03  Darin Adler  <darin@apple.com>
25794
25795         Change remaining callers of releaseRef to call leakRef
25796         https://bugs.webkit.org/show_bug.cgi?id=71422
25797
25798         * public/WebPrivatePtr.h:
25799         (WebKit::WebPrivatePtr::WebPrivatePtr):
25800         (WebKit::WebPrivatePtr::operator=):
25801         * src/WebDOMEvent.cpp:
25802         (WebKit::WebDOMEvent::WebDOMEvent):
25803         * src/WebData.cpp:
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):
25831         Use leakRef.
25832
25833 2011-11-02  Darin Adler  <darin@apple.com>
25834
25835         Change remaining callers of releaseRef to call leakRef
25836         https://bugs.webkit.org/show_bug.cgi?id=71422
25837
25838         * public/WebPrivatePtr.h:
25839         (WebKit::WebPrivatePtr::WebPrivatePtr):
25840         (WebKit::WebPrivatePtr::operator=):
25841         * src/WebDOMEvent.cpp:
25842         (WebKit::WebDOMEvent::WebDOMEvent):
25843         * src/WebData.cpp:
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):
25871         Use leakRef.
25872
25873 2011-11-03  Daniel Cheng  <dcheng@chromium.org>
25874
25875         [chromium] Remove unused clipboard methods
25876         https://bugs.webkit.org/show_bug.cgi?id=71512
25877
25878         Reviewed by Tony Chang.
25879
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):
25887
25888 2011-11-03  Fady Samuel  <fsamuel@chromium.org>
25889
25890         [Chromium] Refactor WebFrameImpl::createFrameView() to use Frame:createView
25891         https://bugs.webkit.org/show_bug.cgi?id=70507
25892
25893         Reviewed by Darin Fisher.
25894
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.
25898
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
25902         navigation.
25903
25904         * src/WebFrameImpl.cpp:
25905         (WebKit::WebFrameImpl::createFrameView):
25906
25907 2011-10-28  Hans Wennborg  <hans@chromium.org>
25908
25909         IndexedDB: Recycle cursor objects when calling continue()
25910         https://bugs.webkit.org/show_bug.cgi?id=71115
25911
25912         Reviewed by Darin Fisher.
25913
25914         Add the new onSuccessWithContinuation() callback to IDB wrappers.
25915
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:
25924
25925 2011-11-02  Pavel Feldman  <pfeldman@google.com>
25926
25927         Web Inspector [chromium]: fix debug front-end zip generation.
25928         https://bugs.webkit.org/show_bug.cgi?id=71376
25929
25930         Reviewed by Yury Semikhatsky.
25931
25932         * WebKit.gyp:
25933         * scripts/generate_devtools_zip.py:
25934
25935 2011-11-02  Jon Lee  <jonlee@apple.com>
25936
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>
25940
25941         Reviewed by Darin Adler.
25942
25943         * src/WebViewImpl.cpp:
25944         (WebKit::WebViewImpl::dragTargetDragEnterOrOver): The drag operation is contained
25945         within the new DragSession struct. Minor refactor.
25946
25947 2011-10-31  Nat Duca  <nduca@chromium.org>
25948
25949         [chromium] Slow down commit and draw rate based on visibility and draw completion
25950         https://bugs.webkit.org/show_bug.cgi?id=71267
25951
25952         Reviewed by James Robinson.
25953
25954         * tests/CCSchedulerStateMachineTest.cpp:
25955         (WebCore::TEST):
25956         * tests/CCSchedulerTest.cpp:
25957         (WebKitTests::FakeCCSchedulerClient::reset):
25958         (WebKitTests::FakeCCSchedulerClient::setVisible):
25959         (WebKitTests::FakeCCSchedulerClient::visible):
25960         (WebKitTests::TEST):
25961
25962 2011-11-02  Tom Sepez  <tsepez@chromium.org>
25963
25964         XSSAuditor is silent
25965         https://bugs.webkit.org/show_bug.cgi?id=70973
25966
25967         Reviewed by Adam Barth.
25968
25969         * public/WebFrameClient.h:
25970         (WebKit::WebFrameClient::didDetectXSS):
25971         * src/FrameLoaderClientImpl.cpp:
25972         (WebKit::FrameLoaderClientImpl::didDetectXSS):
25973         * src/FrameLoaderClientImpl.h:
25974
25975 2011-11-02  Jon Lee  <jonlee@apple.com>
25976
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>
25980
25981         Reviewed by Darin Adler.
25982
25983         * src/LocalizedStrings.cpp:
25984         (WebCore::fileButtonNoFilesSelectedLabel):
25985
25986 2011-11-02  Andrey Kosyakov  <caseq@chromium.org>
25987
25988         Unreviewed fix for build failure on chromium shared linux caused by r99020.
25989
25990         * WebKit.gyp:
25991
25992 2011-11-01  Darin Adler  <darin@apple.com>
25993
25994         Change HTMLSelectElement::setSelectedIndex to use enums instead of bools
25995         https://bugs.webkit.org/show_bug.cgi?id=70184
25996
25997         Reviewed by Kent Tamura.
25998
25999         * tests/PopupMenuTest.cpp:
26000         (WebKit::TestPopupMenuClient::valueChanged): Replaced setSelectedIndexByUser
26001         call with a call to the renamed optionSelectedByUser, also removed one argument.
26002
26003 2011-11-01  Nat Duca  <nduca@chromium.org>
26004
26005         [chromium] Move resource-releasing logic into CCProxy and cleanup setNeedsCommit
26006         https://bugs.webkit.org/show_bug.cgi?id=71269
26007
26008         Reviewed by James Robinson.
26009
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):
26028
26029 2011-11-01  Julien Chaffraix  <jchaffraix@webkit.org>
26030
26031         Pack RenderTableCell bits
26032         https://bugs.webkit.org/show_bug.cgi?id=71135
26033
26034         Reviewed by Darin Adler.
26035
26036         * WebKit.gypi:
26037         * tests/RenderTableCellTest.cpp: Added.
26038         Added some tests for the column/row index limit
26039         that was implemented in RenderTableCell.
26040
26041 2011-11-01  Nate Chapin  <japhet@chromium.org>
26042
26043         Add 2 new TargetTypes (to match ResourceRequest::TargetType)
26044         and ensure we don't pass chromium a TargetType it doesn't
26045         yet understand.
26046         https://bugs.webkit.org/show_bug.cgi?id=70972
26047
26048         Reviewed by Darin Fisher.
26049
26050         * public/WebURLRequest.h:
26051         * src/WebURLRequest.cpp:
26052
26053 2011-11-01  Tommy Widenflycht  <tommyw@google.com>
26054
26055         [chromium] Media Stream API: Adding supporting classes to WebPeerConnectionHandler
26056         https://bugs.webkit.org/show_bug.cgi?id=71008
26057
26058         Expanding WebMediaStreamDescriptor and adding WebMediaStreamSource
26059
26060         Reviewed by Darin Fisher.
26061
26062         * WebKit.gyp:
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):
26081
26082 2011-11-01  Nat Duca  <nduca@chromium.org>
26083
26084         CCSchedulerTests fail on Chromium Windows (dbg) after r98915
26085         https://bugs.webkit.org/show_bug.cgi?id=71294
26086
26087         Reviewed by James Robinson.
26088
26089         * tests/CCSchedulerTest.cpp:
26090         (WebKitTests::TEST):
26091
26092 2011-11-01  Alok Priyadarshi  <alokp@chromium.org>
26093
26094         Roll chromium DEPS.
26095
26096         Unreviewed.
26097
26098         * DEPS:
26099
26100 2011-11-01  Pavel Feldman  <pfeldman@google.com>
26101
26102         Not reviewed: fix chromium interactive tests.
26103
26104         * src/js/Tests.js:
26105         (.TestSuite.prototype.showPanel):
26106
26107 2011-10-31  Tommy Widenflycht  <tommyw@google.com>
26108
26109         [Chromium] Media Stream API: add the Chromium WebKit interfaces
26110         https://bugs.webkit.org/show_bug.cgi?id=58550
26111
26112         Adds the bridging code + the minimum amount of Web* supporting code.
26113
26114         Reviewed by Darin Fisher.
26115
26116         * WebKit.gyp:
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*):
26158
26159         Tests for the Media Stream API will be provided by the bug 56587, pending enough landed code.
26160
26161 2011-10-31  Yuzhu Shen  <yzshen@google.com>
26162
26163         [chromium] Calling methods of WebFontImpl causes assertions
26164         https://bugs.webkit.org/show_bug.cgi?id=71232
26165
26166         Added FontCachePurgePreventer in several methods.
26167
26168         Reviewed by James Robinson.
26169
26170         * src/WebFontImpl.cpp:
26171         (WebKit::WebFontImpl::calculateWidth):
26172         (WebKit::WebFontImpl::offsetForPosition):
26173         (WebKit::WebFontImpl::selectionRectForText):
26174         (WebKit::WebFontImpl::estimateTextBounds):
26175
26176 2011-10-28  Nat Duca  <nduca@chromium.org>
26177
26178         [chromium] Connect CCThreadProxy to FrameRateController and SchedulerStateMachine via CCScheduler
26179         https://bugs.webkit.org/show_bug.cgi?id=71100
26180
26181         Reviewed by James Robinson.
26182
26183         * tests/CCSchedulerStateMachineTest.cpp:
26184         (WebCore::StateMachine::setUpdateMoreResourcesPending):
26185         (WebCore::StateMachine::updateMoreResourcesPending):
26186         (WebCore::TEST):
26187         * tests/CCSchedulerTest.cpp:
26188
26189 2011-10-31  Joshua Bell  <jsbell@chromium.org>
26190
26191         IndexedDB: Remove null key support (part 2)
26192         https://bugs.webkit.org/show_bug.cgi?id=71132
26193
26194         Reviewed by Darin Fisher.
26195
26196         * public/WebIDBKey.h:
26197         * src/AssertMatchingEnums.cpp:
26198         * src/WebIDBKey.cpp:
26199
26200 2011-10-31  Pavel Feldman  <pfeldman@google.com>
26201
26202         Web Inspector: move localization support into UIUtil.js, reduce externs.
26203         https://bugs.webkit.org/show_bug.cgi?id=71220
26204
26205         Reviewed by Yury Semikhatsky.
26206
26207         * src/js/DevTools.js:
26208
26209 2011-10-31  Adam Barth  <abarth@webkit.org>
26210
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
26213
26214         Reviewed by Ryosuke Niwa.
26215
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.
26220
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):
26346
26347 2011-10-31  Vangelis Kokkevis  <vangelis@chromium.org>
26348
26349         Add missing declaration in WebSettings.h
26350         https://bugs.webkit.org/show_bug.cgi?id=71165
26351
26352         Reviewed by Darin Fisher.
26353
26354         * public/WebSettings.h:
26355
26356 2011-10-29  Jochen Eisinger  <jochen@chromium.org>
26357
26358         Implement IDBFactory.deleteDatabase
26359         https://bugs.webkit.org/show_bug.cgi?id=62622
26360
26361         Reviewed by Tony Chang.
26362
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:
26371
26372 2011-10-28  Sadrul Habib Chowdhury  <sadrul@chromium.org>
26373  
26374         Add support for sending scroll-update events from EventSender.
26375         https://bugs.webkit.org/show_bug.cgi?id=66272
26376
26377         Reviewed by Adam Barth.
26378
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):
26387
26388 2011-10-28  James Robinson  <jamesr@chromium.org>
26389
26390         [chromium] Track wheel event handler registration and pass to input filter
26391         https://bugs.webkit.org/show_bug.cgi?id=71078
26392
26393         Reviewed by Kenneth Russell.
26394
26395         Pushes mouse wheel event handler notifications to CCLayerTreeHost when compositing.
26396
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:
26405
26406 2011-10-28  Jochen Eisinger  <jochen@chromium.org>
26407
26408         Rename a number of methods mentioning JavaScript to just Script instead
26409         https://bugs.webkit.org/show_bug.cgi?id=71105
26410
26411         Reviewed by Adam Barth.
26412
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):
26420
26421 2011-10-28  Adam Barth  <abarth@webkit.org>
26422
26423         Remove getExceptionCodeDescription()
26424         https://bugs.webkit.org/show_bug.cgi?id=71103
26425
26426         Reviewed by Eric Seidel.
26427
26428         Migrate to new API.
26429
26430         * src/StorageInfoChromium.cpp:
26431         * src/WebStorageQuotaCallbacksImpl.cpp:
26432         (WebKit::WebStorageQuotaCallbacksImpl::didFail):
26433
26434 2011-10-28  Hans Wennborg  <hans@chromium.org>
26435
26436         IndexedDB: Clean-up unused functions in WebIDBFactory
26437         https://bugs.webkit.org/show_bug.cgi?id=71011
26438
26439         Reviewed by Tony Chang.
26440
26441         This is a clean-up after r97453. Since Chromium was updated,
26442         these functions are no longer used.
26443
26444         * public/WebIDBFactory.h:
26445         (WebKit::WebIDBFactory::getDatabaseNames):
26446         (WebKit::WebIDBFactory::open):
26447
26448 2011-10-28  Sheriff Bot  <webkit.review.bot@gmail.com>
26449
26450         Unreviewed.  Rolled DEPS.
26451
26452         * DEPS:
26453
26454 2011-10-28  Jochen Eisinger  <jochen@chromium.org>
26455
26456         Add allowScriptFromSource callback to FrameLoaderClient
26457         https://bugs.webkit.org/show_bug.cgi?id=71013
26458
26459         Reviewed by Darin Fisher.
26460
26461         * public/WebPermissionClient.h:
26462         (WebKit::WebPermissionClient::allowScriptFromSource):
26463         * src/FrameLoaderClientImpl.cpp:
26464         (WebKit::FrameLoaderClientImpl::allowScriptFromSource):
26465         * src/FrameLoaderClientImpl.h:
26466
26467 2011-10-26  Nat Duca  <nduca@chromium.org>
26468
26469         [chromium] Implement frame rate control portions of CCScheduler
26470         https://bugs.webkit.org/show_bug.cgi?id=70713
26471
26472         Reviewed by James Robinson.
26473
26474         * WebKit.gypi:
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):
26500
26501 2011-10-27  Vangelis Kokkevis  <vangelis@chromium.org>
26502
26503         Expose Settings::setAcceleratedCompositingForFixedPositionEnabled to WebSettingsImpl.
26504         https://bugs.webkit.org/show_bug.cgi?id=71077
26505
26506         Reviewed by James Robinson.
26507
26508         * src/WebSettingsImpl.cpp:
26509         (WebKit::WebSettingsImpl::setAcceleratedCompositingForFixedPositionEnabled):
26510         * src/WebSettingsImpl.h:
26511
26512 2011-10-27  Peng Huang  <penghuang@chromium.org>
26513
26514         [chromium] Remove some APIs which are not used anymore.
26515         https://bugs.webkit.org/show_bug.cgi?id=71068
26516
26517         Reviewed by Darin Fisher.
26518
26519         * public/WebWidget.h:
26520         * src/WebPopupMenuImpl.cpp:
26521         * src/WebPopupMenuImpl.h:
26522         * src/WebViewImpl.cpp:
26523         * src/WebViewImpl.h:
26524
26525 2011-10-27  Shawn Singh  <shawnsingh@chromium.org>
26526
26527         [chromium] Track when CCLayerImpl properties have changed.
26528         https://bugs.webkit.org/show_bug.cgi?id=70442
26529
26530         Reviewed by James Robinson.
26531
26532         * WebKit.gypi:
26533         * tests/CCLayerImplTest.cpp: Added.
26534         (WebCore::TEST):
26535
26536 2011-10-27  Vsevolod Vlasov  <vsevik@chromium.org>
26537
26538         Web Inspector: HTTP headers merged incorrect in Chrome
26539         https://bugs.webkit.org/show_bug.cgi?id=69674
26540
26541         Reviewed by Pavel Feldman.
26542
26543         * src/WebHTTPLoadInfo.cpp:
26544         (WebKit::addHeader):
26545
26546 2011-10-27  Stephen Chenney  <schenney@chromium.org>
26547
26548         [Chromium] Need setPrinting
26549         https://bugs.webkit.org/show_bug.cgi?id=46152
26550
26551         Reviewed by Hajime Morita.
26552
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
26560         breaks.
26561         * src/WebFrameImpl.h: Added prototype.
26562
26563 2011-10-27  Antoine Labour  <piman@chromium.org>
26564
26565         Fix teardown in Web*LayerImpl, and add tests for Web*Layer
26566         https://bugs.webkit.org/show_bug.cgi?id=70431
26567
26568         Reviewed by James Robinson.
26569
26570         * src/WebContentLayerImpl.cpp:
26571         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
26572         * src/WebExternalTextureLayerImpl.cpp:
26573         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
26574         * src/WebLayerImpl.cpp:
26575         (WebKit::WebLayerImpl::~WebLayerImpl):
26576
26577 2011-10-24  Nat Duca  <nduca@chromium.org>
26578
26579         [chromium] Encapsulate state machine parts of scheduling in CCSchedulerStateMachine
26580         https://bugs.webkit.org/show_bug.cgi?id=70714
26581
26582         Reviewed by James Robinson.
26583
26584         * WebKit.gypi:
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):
26594         (WebCore::TEST):
26595
26596 2011-10-27  Nat Duca  <nduca@chromium.org>
26597
26598         Unreviewed, rolling out r98612.
26599         http://trac.webkit.org/changeset/98612
26600         https://bugs.webkit.org/show_bug.cgi?id=70714
26601
26602         Broke build
26603
26604         * WebKit.gypi:
26605         * tests/CCSchedulerStateMachineTest.cpp: Removed.
26606
26607 2011-10-24  Nat Duca  <nduca@chromium.org>
26608
26609         [chromium] Encapsulate state machine parts of scheduling in CCSchedulerStateMachine
26610         https://bugs.webkit.org/show_bug.cgi?id=70714
26611
26612         Reviewed by James Robinson.
26613
26614         * WebKit.gypi:
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):
26624         (WebCore::TEST):
26625
26626 2011-10-27  Dave Michael  <dmichael@chromium.org>
26627
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
26630
26631         Reviewed by David Levin.
26632
26633         * src/PlatformMessagePortChannel.cpp:
26634         (WebCore::PlatformMessagePortChannel::hasPendingActivity):
26635
26636 2011-10-27  Aaron Colwell  <acolwell@chromium.org>
26637
26638         Enable MEDIA_SOURCE feature for Chromium
26639         https://bugs.webkit.org/show_bug.cgi?id=70745
26640
26641         Reviewed by David Levin.
26642
26643         * features.gypi:
26644
26645 2011-10-26  Chris Rogers  <crogers@google.com>
26646
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
26649
26650         Reviewed by Darin Fisher.
26651
26652         * WebKit.gyp:
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):
26669
26670 2011-10-25  Stephen White  <senorblanco@chromium.org>
26671
26672         [chromium] Canvas2D should rate-limit drawing to prevent swamping the GPU process.
26673         https://bugs.webkit.org/show_bug.cgi?id=70367
26674
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.
26680
26681 2011-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>
26682
26683         Unreviewed, rolling out r98393.
26684         http://trac.webkit.org/changeset/98393
26685         https://bugs.webkit.org/show_bug.cgi?id=70892
26686
26687         "Compilation is broken on Chromium Webkit Mac Builder (dbg) "
26688         (Requested by yurys on #webkit).
26689
26690         * WebKit.gypi:
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.
26700
26701 2011-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>
26702
26703         Unreviewed, rolling out r98429.
26704         http://trac.webkit.org/changeset/98429
26705         https://bugs.webkit.org/show_bug.cgi?id=70881
26706
26707         "webkit_gpu_tests fail in Chromium" (Requested by yurys on
26708         #webkit).
26709
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):
26723
26724 2011-10-26  Polina Sokolova  <polina@chromium.org>
26725
26726         Remove temporary hack needed to ease Chromium/WebKit commit.
26727         https://bugs.webkit.org/show_bug.cgi?id=70791
26728
26729         Reviewed by Darin Fisher.
26730
26731         * public/WebDocument.h:
26732
26733 2011-10-25  Nat Duca  <nduca@chromium.org>
26734
26735         [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
26736         https://bugs.webkit.org/show_bug.cgi?id=70838
26737
26738         Reviewed by James Robinson.
26739
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):
26749
26750 2011-10-25  Antoine Labour  <piman@chromium.org>
26751
26752         Fix teardown in Web*LayerImpl, and add tests for Web*Layer
26753         https://bugs.webkit.org/show_bug.cgi?id=70431
26754
26755         Reviewed by James Robinson.
26756
26757         * src/WebContentLayerImpl.cpp:
26758         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
26759         * src/WebExternalTextureLayerImpl.cpp:
26760         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
26761         * src/WebLayerImpl.cpp:
26762         (WebKit::WebLayerImpl::~WebLayerImpl):
26763
26764 2011-10-25  Adam Barth  <abarth@webkit.org>
26765
26766         EventTarget.h shouldn't need to know about every feature and ifdef
26767         https://bugs.webkit.org/show_bug.cgi?id=70659
26768
26769         Reviewed by Darin Adler.
26770
26771         This cast isn't needed because dispatchEvent is a virtual function.
26772
26773         * src/WebSharedWorkerImpl.cpp:
26774         (WebKit::WebSharedWorkerImpl::connectTask):
26775
26776 2011-10-25  Michal Mocny  <mmocny@google.com>
26777
26778         [chromium] WebGraphicsContext3D setVisibilityCHROMIUM extension changed to pure virtual.
26779         https://bugs.webkit.org/show_bug.cgi?id=70818
26780
26781         Reviewed by Kenneth Russell.
26782
26783         * public/WebGraphicsContext3D.h:
26784
26785 2011-10-25  Dave Michael  <dmichael@chromium.org>
26786
26787         Make it possible to create and dispatch a message event through chromium API
26788
26789         Removed messageChannels parameter, since it's hard to get right and I don't need it. Changed message_data->messageData. Reordered includes.
26790
26791         https://bugs.webkit.org/show_bug.cgi?id=69962
26792
26793         Reviewed by David Levin.
26794
26795         * WebKit.gyp:
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):
26808         * src/WebNode.cpp:
26809         (WebKit::WebNode::dispatchEvent):
26810
26811 2011-10-25  Gene Girard  <girard@chromium.org>
26812
26813         Re-enable touch tests (from 66577)
26814         https://bugs.webkit.org/show_bug.cgi?id=70351
26815
26816         Reviewed by Adam Barth.
26817
26818         * tests/InnerGestureRecognizerTest.cpp:
26819         (TEST_F):
26820
26821 2011-10-25  Nat Duca  <nduca@chromium.org>
26822
26823         Unreviewed. Rolled DEPS.
26824
26825         * DEPS:
26826
26827 2011-10-25  Yury Semikhatsky  <yurys@chromium.org>
26828
26829         Web Inspector: redesign workers sidebar pane
26830         https://bugs.webkit.org/show_bug.cgi?id=70815
26831
26832         Reviewed by Pavel Feldman.
26833
26834         * src/js/DevTools.js: Expose link to shared workers inspection page to WebCore.
26835         ():
26836
26837 2011-10-25  Nico Weber  <thakis@chromium.org>
26838
26839         [chromium] Try to fix mac build after r98294
26840         https://bugs.webkit.org/show_bug.cgi?id=70753
26841
26842         Remove test for ScrollAnimatorNone on mac.
26843
26844         Unreviewed, build fix.
26845
26846         * WebKit.gypi:
26847
26848 2011-10-24  Geoffrey Garen  <ggaren@apple.com>
26849
26850         Removed SharedUChar and tightened language around its previous uses
26851         https://bugs.webkit.org/show_bug.cgi?id=70698
26852
26853         Reviewed by David Levin.
26854
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.
26858
26859
26860         * src/WorkerFileSystemCallbacksBridge.cpp:
26861
26862 2011-10-24  Sheriff Bot  <webkit.review.bot@gmail.com>
26863
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
26868
26869         the first patch broke chromium-mac and the second gclient
26870         (Requested by jchaffraix on #webkit).
26871
26872         * WebKit.gypi:
26873
26874 2011-10-24  Nico Weber  <thakis@chromium.org>
26875
26876         [chromium] Try to fix mac build after r98294
26877         https://bugs.webkit.org/show_bug.cgi?id=70785
26878
26879         Remove test for ScrollAnimatorNone on mac.
26880
26881         Unreviewed, build fix.
26882
26883         * WebKit.gypi:
26884
26885 2011-10-24  Sheriff Bot  <webkit.review.bot@gmail.com>
26886
26887         Unreviewed, rolling out r98266.
26888         http://trac.webkit.org/changeset/98266
26889         https://bugs.webkit.org/show_bug.cgi?id=70767
26890
26891         Broke the chromium build. (Requested by dave_levin on
26892         #webkit).
26893
26894         * features.gypi:
26895
26896 2011-10-21  Nat Duca  <nduca@chromium.org>
26897
26898         [chromium] Add isTraceEventEnabled to PlatformSupport.
26899         https://bugs.webkit.org/show_bug.cgi?id=70618
26900
26901         Reviewed by Darin Fisher.
26902
26903         * public/WebKitPlatformSupport.h:
26904         (WebKit::WebKitPlatformSupport::isTraceEventEnabled):
26905         * src/PlatformSupport.cpp:
26906         (WebCore::PlatformSupport::isTraceEventEnabled):
26907
26908 2011-10-24  Joshua Bell  <jsbell@chromium.org>
26909
26910         IndexedDB: Throw DATA_ERR on invalid keys, remove null key support
26911         https://bugs.webkit.org/show_bug.cgi?id=70065
26912
26913         Reviewed by Tony Chang.
26914
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.
26919
26920         * src/AssertMatchingEnums.cpp:
26921         * src/WebIDBKey.cpp:
26922         (WebKit::WebIDBKey::assignNull):
26923
26924 2011-10-24  Nat Duca  <nduca@chromium.org>
26925
26926         [chromium] Expose WebThread::postDelayedTask to CCThread
26927         https://bugs.webkit.org/show_bug.cgi?id=70712
26928
26929         Reviewed by James Robinson.
26930
26931         * src/CCThreadImpl.cpp:
26932         (WebKit::CCThreadImpl::postDelayedTask):
26933         * src/CCThreadImpl.h:
26934
26935 2011-10-24  Nat Duca  <nduca@chromium.org>
26936
26937         [chromium] Manage webkit_unit_tests TestSuite lifetime explicitly in DLL build
26938         https://bugs.webkit.org/show_bug.cgi?id=70688
26939
26940         Reviewed by Tony Chang.
26941
26942         * tests/RunAllTests.cpp:
26943         (main):
26944         * tests/WebUnitTests.cpp:
26945         (WebKit::InitTestSuite):
26946         (WebKit::RunAllUnitTests):
26947         (WebKit::DeleteTestSuite):
26948         * tests/WebUnitTests.h:
26949
26950 2011-10-24  Aaron Colwell  <acolwell@chromium.org>
26951
26952         Enable MEDIA_SOURCE feature for Chromium
26953         https://bugs.webkit.org/show_bug.cgi?id=70745
26954
26955         Reviewed by David Levin.
26956
26957         * features.gypi:
26958
26959 2011-10-24  Yury Semikhatsky  <yurys@chromium.org>
26960
26961         Web Inspector: allow debugging dedicated worker initialization
26962         https://bugs.webkit.org/show_bug.cgi?id=70723
26963
26964         Pass worker thread start mode to the worker thread.
26965
26966         Reviewed by Pavel Feldman.
26967
26968         * src/WebWorkerClientImpl.cpp:
26969         (WebKit::WebWorkerClientImpl::startWorkerContext):
26970         * src/WebWorkerClientImpl.h:
26971
26972 2011-10-24  Sheriff Bot  <webkit.review.bot@gmail.com>
26973
26974         Unreviewed.  Rolled DEPS.
26975
26976         * DEPS:
26977
26978 2011-10-21  Nat Duca  <nduca@chromium.org>
26979
26980         [chromium] Make setVisibility extension- and thread-correct
26981         https://bugs.webkit.org/show_bug.cgi?id=70635
26982
26983         Reviewed by Kenneth Russell.
26984
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):
26993
26994 2011-10-21  Adam Barth  <abarth@webkit.org>
26995
26996         Introduce Event::hasInterface to make uses of interfaceName more readable
26997         https://bugs.webkit.org/show_bug.cgi?id=70652
26998
26999         Reviewed by Eric Seidel.
27000
27001         Update call sites to the new interface.
27002
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):
27019
27020 2011-10-21  Adam Barth  <abarth@webkit.org>
27021
27022         Event.h has too many virtual isMumbleEvent() functions
27023         https://bugs.webkit.org/show_bug.cgi?id=70636
27024
27025         Reviewed by Dimitri Glazkov.
27026
27027         Update these callsites to the new API.
27028
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):
27042
27043 2011-10-20  Zhenyao Mo  <zmo@google.com>
27044
27045         Implement mechanism to enable privileged webgl extensions
27046         https://bugs.webkit.org/show_bug.cgi?id=70538
27047
27048         Reviewed by Darin Fisher.
27049
27050         * public/WebSettings.h: Add the flag.
27051         * src/WebSettingsImpl.cpp: Ditto.
27052         (WebKit::WebSettingsImpl::setPrivilegedWebGLExtensionsEnabled):
27053         * src/WebSettingsImpl.h: Ditto.
27054
27055 2011-10-21  Yury Semikhatsky  <yurys@chromium.org>
27056
27057         [Chromium] Web Inspector: remove debugger support for out-of-process dedicated workers
27058         https://bugs.webkit.org/show_bug.cgi?id=70602
27059
27060         Now that Chromium uses in-process dedicated workers, remove support for out-of-process
27061         dedicated workers debugger.
27062
27063         Reviewed by Pavel Feldman.
27064
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:
27073
27074 2011-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
27075
27076         Unreviewed.  Rolled DEPS.
27077
27078         * DEPS:
27079
27080 2011-10-20  Fady Samuel  <fsamuel@chromium.org>
27081
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
27084
27085         Reviewed by Adam Barth.
27086
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.
27089
27090         * src/WebViewImpl.cpp:
27091         (WebKit::WebViewImpl::isFixedLayoutModeEnabled):
27092         (WebKit::WebViewImpl::enableFixedLayoutMode):
27093         (WebKit::WebViewImpl::fixedLayoutSize):
27094         (WebKit::WebViewImpl::setFixedLayoutSize):
27095
27096 2011-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
27097
27098         Unreviewed.  Rolled DEPS.
27099
27100         * DEPS:
27101
27102 2011-10-20  Darin Adler  <darin@apple.com>
27103
27104         Remove OptionElement (first half)
27105         https://bugs.webkit.org/show_bug.cgi?id=70276
27106
27107         Reviewed by Kent Tamura.
27108
27109         Update hand-written binding for option element so it does not depend on otherwise-unneeded functions.
27110
27111         * src/WebOptionElement.cpp:
27112         (WebKit::WebOptionElement::defaultSelected): Call hasAttribute.
27113         (WebKit::WebOptionElement::setDefaultSelected): Call setAttribute.
27114
27115         * src/WebSearchableFormData.cpp:
27116         (HTMLNames::IsSelectInDefaultState): Call hasAttribute.
27117
27118 2011-10-20  Nico Weber  <thakis@chromium.org>
27119
27120         [chromium/mac] Add support for building with make
27121         https://bugs.webkit.org/show_bug.cgi?id=70455
27122
27123         Reviewed by Adam Barth.
27124
27125         Depends on http://codereview.chromium.org/8352029/
27126         `GYP_GENERATORS=make Tools/Scripts/update-webkit --chromium` will
27127         create a toplevel Makefile.chromium.
27128
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
27131         xcodebuild.
27132
27133         * gyp_webkit:
27134 2011-10-20  Nat Duca  <nduca@chromium.org>
27135
27136         [chromium] Route onSwapBuffersComplete from LayerRenderer to CCScheduler.
27137
27138         Reviewed by James Robinson.
27139
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):
27151         (WebCore::TEST_F):
27152
27153 2011-10-20  Michal Mocny  <mmocny@google.com>
27154
27155         [chromium] Add a setVisibility method to WebGraphicsContext3D.
27156         https://bugs.webkit.org/show_bug.cgi?id=68905
27157
27158         Reviewed by Kenneth Russell.
27159
27160         Added hooks for notifying WebGraphicsContext3D of surface visibility changes.
27161         Useful for releasing various graphics resource.
27162
27163         * DEPS:
27164         * public/WebGraphicsContext3D.h:
27165         * src/WebViewImpl.cpp:
27166         (WebKit::WebViewImpl::setVisibilityState):
27167         * tests/MockWebGraphicsContext3D.h:
27168         (WebKit::MockWebGraphicsContext3D::setVisibility):
27169
27170 2011-10-20  Antoine Labour  <piman@chromium.org>
27171
27172         Export missing symbols from Web*Layer
27173         https://bugs.webkit.org/show_bug.cgi?id=70440
27174
27175         Reviewed by Darin Fisher.
27176
27177         * public/WebContentLayer.h:
27178         * public/WebExternalTextureLayer.h:
27179         * public/WebLayer.h:
27180         * public/WebLayerTreeView.h:
27181
27182 2011-10-17  Nat Duca  <nduca@chromium.org>
27183
27184         [chromium] Allow CCLayerTreeHostImpl to call back to proxy via CCLayerTreeHostImplClient
27185         https://bugs.webkit.org/show_bug.cgi?id=70291
27186
27187         Reviewed by James Robinson.
27188
27189         * tests/CCLayerTreeHostImplTest.cpp:
27190         (WebCore::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
27191         (WebCore::CCLayerTreeHostImplTest::setNeedsRedrawOnImplThread):
27192         (WebCore::CCLayerTreeHostImplTest::setNeedsCommitOnImplThread):
27193         (WebCore::TEST_F):
27194         * tests/CCLayerTreeHostTest.cpp:
27195         (WTF::MockLayerTreeHostImpl::create):
27196         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
27197         (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
27198
27199 2011-10-20  Vincent Scheib  <scheib@chromium.org>
27200
27201         MouseLock compile and run time flags.
27202         https://bugs.webkit.org/show_bug.cgi?id=70530
27203
27204         Reviewed by Darin Fisher.
27205
27206         * features.gypi:
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:
27215
27216 2011-10-20  Hao Zheng  <zhenghao@chromium.org>
27217
27218         [Chromium] Reduce dependencies of ImageDiff to compile it for Android.
27219         https://bugs.webkit.org/show_bug.cgi?id=69997
27220
27221         Reviewed by Tony Chang.
27222
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.
27230
27231         * WebKit.gyp:
27232
27233 2011-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
27234
27235         Unreviewed, rolling out r97917.
27236         http://trac.webkit.org/changeset/97917
27237         https://bugs.webkit.org/show_bug.cgi?id=70475
27238
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).
27243
27244         * src/WebOptionElement.cpp:
27245         (WebKit::WebOptionElement::defaultSelected):
27246         (WebKit::WebOptionElement::setDefaultSelected):
27247         * src/WebSearchableFormData.cpp:
27248         (HTMLNames::IsSelectInDefaultState):
27249
27250 2011-10-19  Nat Duca  <nduca@chromium.org>
27251
27252         [chromium] Route requestAnimationFrame through CCProxy in threaded mode
27253         https://bugs.webkit.org/show_bug.cgi?id=70160
27254
27255         Reviewed by James Robinson.
27256
27257         * src/ChromeClientImpl.cpp:
27258         (WebKit::ChromeClientImpl::scheduleAnimation):
27259         * src/WebViewImpl.cpp:
27260         (WebKit::WebViewImpl::scheduleAnimation):
27261         * src/WebViewImpl.h:
27262
27263 2011-10-19  Nico Weber  <thakis@chromium.org>
27264
27265         [chromium/mac] Use clang as compiler!
27266         https://bugs.webkit.org/show_bug.cgi?id=70425
27267
27268         Reviewed by Adam Barth.
27269
27270         It looks like http://trac.webkit.org/changeset/97415 was all that's
27271         needed to get this to work.
27272
27273         * gyp_webkit:
27274         Don't force clang off, which means it's now on by default on mac.
27275
27276 2011-10-19  Darin Adler  <darin@apple.com>
27277
27278         Remove OptionElement (first half)
27279         https://bugs.webkit.org/show_bug.cgi?id=70276
27280
27281         Reviewed by Kent Tamura.
27282
27283         Update hand-written binding for option element so it does not depend on otherwise-unneeded functions.
27284
27285         * src/WebOptionElement.cpp:
27286         (WebKit::WebOptionElement::defaultSelected): Call hasAttribute.
27287         (WebKit::WebOptionElement::setDefaultSelected): Call setAttribute.
27288
27289         * src/WebSearchableFormData.cpp:
27290         (HTMLNames::IsSelectInDefaultState): Call hasAttribute.
27291
27292 2011-10-19  Kent Tamura  <tkent@chromium.org>
27293
27294         [Chromium]: Move from FileChooserSettings deprecatedAcceptType to acceptMIMETypes
27295         https://bugs.webkit.org/show_bug.cgi?id=70003
27296
27297         Reviewed by Darin Fisher.
27298
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.
27305
27306 2011-10-19  Adam Bergkvist  <adam.bergkvist@ericsson.com>
27307
27308         Update MediaStream to use WebCore platform interfaces
27309         https://bugs.webkit.org/show_bug.cgi?id=68464
27310
27311         Reviewed by Adam Barth.
27312
27313         Removed WebMediaStreamTrack* since they will no longer be needed.
27314
27315         * WebKit.gyp:
27316         * public/WebMediaStreamTrack.h: Removed.
27317         * public/WebMediaStreamTrackList.h: Removed.
27318         * src/WebMediaStreamTrack.cpp: Removed.
27319         * src/WebMediaStreamTrackList.cpp: Removed.
27320
27321 2011-10-19  Zhenyao Mo  <zmo@google.com>
27322
27323         Implement WEBGL_debug_shaders and WEBGL_debug_renderer_info extensions
27324         https://bugs.webkit.org/show_bug.cgi?id=70077
27325
27326         Reviewed by Kenneth Russell.
27327
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.
27334
27335 2011-10-19  Dirk Pranke  <dpranke@chromium.org>
27336
27337         Unreviewed, rolling out r97850.
27338         http://trac.webkit.org/changeset/97850
27339         https://bugs.webkit.org/show_bug.cgi?id=70334
27340
27341         tests are crashing on xp debug
27342
27343         * DEPS:
27344
27345 2011-10-19  Andrey Kosyakov  <caseq@chromium.org>
27346
27347         Web Inspector: make extension tests pass on chromium
27348         https://bugs.webkit.org/show_bug.cgi?id=70334
27349
27350         Reviewed by Pavel Feldman.
27351
27352         * DEPS: roll chromium 105970:106056
27353
27354 2011-10-18  Yuzo Fujishima  <yuzo@google.com>
27355
27356         [chromium] Attempt to fix Linux Clang compilation error.
27357
27358         Unreviewed.
27359
27360         * tests/CCLayerTreeHostTest.cpp:
27361         (WTF::CCLayerTreeHostTestThreadOnly::runTestThreaded):
27362         (WTF::TEST_F):
27363
27364 2011-10-18  James Robinson  <jamesr@chromium.org>
27365
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
27368
27369         Reviewed by Kenneth Russell.
27370
27371         * features.gypi:
27372         * src/WebLayerTreeViewImpl.cpp:
27373         (WebKit::WebLayerTreeViewImpl::scheduleComposite):
27374         * src/WebLayerTreeViewImpl.h:
27375         * src/WebViewImpl.h:
27376
27377 2011-10-18  Antoine Labour  <piman@chromium.org>
27378
27379         Enable out-of-thread compositing in WebKit compositor API
27380         https://bugs.webkit.org/show_bug.cgi?id=69850
27381
27382         Reviewed by James Robinson.
27383
27384         * src/WebLayerTreeView.cpp:
27385         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
27386         (WebKit::WebLayerTreeView::composite):
27387
27388 2011-10-18  James Robinson  <jamesr@chromium.org>
27389
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
27392
27393         Reviewed by David Levin.
27394
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.
27398
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):
27412
27413 2011-10-18  Adam Barth  <abarth@webkit.org>
27414
27415         Always enable ENABLE(XPATH)
27416         https://bugs.webkit.org/show_bug.cgi?id=70217
27417
27418         Reviewed by Eric Seidel.
27419
27420         * features.gypi:
27421
27422 2011-10-18  Chris Fleizach  <cfleizach@apple.com>
27423
27424         AX: buttons of number type <input> controls are not fully accessible
27425         https://bugs.webkit.org/show_bug.cgi?id=70241
27426
27427         Reviewed by Darin Adler.
27428
27429         * public/WebAccessibilityRole.h:
27430         * src/AssertMatchingEnums.cpp:
27431
27432 2011-10-17  Sheriff Bot  <webkit.review.bot@gmail.com>
27433
27434         Unreviewed, rolling out r97677.
27435         http://trac.webkit.org/changeset/97677
27436         https://bugs.webkit.org/show_bug.cgi?id=70308
27437
27438         A dependent revision was rolled out. (Requested by tkent on
27439         #webkit).
27440
27441         * public/WebAccessibilityRole.h:
27442         * src/AssertMatchingEnums.cpp:
27443
27444 2011-10-17  Jochen Eisinger  <jochen@chromium.org>
27445
27446         Make NavigationAction wrap a ResourceRequest instead of a KURL.
27447         https://bugs.webkit.org/show_bug.cgi?id=68803
27448
27449         Use the request in the NavigationAction, if the FrameLoadRequest
27450         doesn't already contain a request.
27451
27452         Reviewed by Nate Chapin.
27453
27454         * src/ChromeClientImpl.cpp:
27455         (WebKit::ChromeClientImpl::createWindow):
27456
27457 2011-10-17  James Robinson  <jamesr@chromium.org>
27458
27459         [chromium] Fix a new[]/delete mismatch in InnerGestureRecognizerTest that makes valgrind sad
27460         https://bugs.webkit.org/show_bug.cgi?id=70273
27461
27462         Reviewed by Mihai Parparita.
27463
27464         * tests/InnerGestureRecognizerTest.cpp:
27465         (TouchSequence::~TouchSequence):
27466
27467 2011-10-17  Sheriff Bot  <webkit.review.bot@gmail.com>
27468
27469         Unreviewed.  Rolled DEPS.
27470
27471         * DEPS:
27472
27473 2011-10-17  Peter Beverloo  <peter@chromium.org>
27474
27475         [Chromium] Add a missing semi-colon in ExternalPopupMenu.cpp
27476         https://bugs.webkit.org/show_bug.cgi?id=70232
27477
27478         Reviewed by Andreas Kling.
27479
27480         * src/ExternalPopupMenu.cpp:
27481         (WebKit::ExternalPopupMenu::didAcceptIndices):
27482
27483 2011-10-17  James Robinson  <jamesr@chromium.org>
27484
27485         Unreviewed, rolling out r97690.
27486         http://trac.webkit.org/changeset/97690
27487         https://bugs.webkit.org/show_bug.cgi?id=70161
27488
27489         Hits assertion in CCLayerTreeHostTests
27490
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):
27499         (WTF::TEST_F):
27500         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
27501         * tests/CCThreadTest.cpp:
27502         (WebKit::PingPongTestUsingTasks::ping):
27503
27504 2011-10-17  James Robinson  <jamesr@chromium.org>
27505
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
27508
27509         Reviewed by David Levin.
27510
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.
27514
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):
27528
27529 2011-10-17  Alok Priyadarshi  <alokp@chromium.org>
27530
27531         Add layout tests for WebPlugin compositor path
27532         https://bugs.webkit.org/show_bug.cgi?id=69027
27533
27534         Reviewed by James Robinson.
27535
27536         * src/WebPluginContainerImpl.cpp:
27537         (WebKit::WebPluginContainerImpl::printEnd):
27538
27539 2011-10-17  Chris Fleizach  <cfleizach@apple.com>
27540
27541         AX: buttons of number type <input> controls are not fully accessible
27542         https://bugs.webkit.org/show_bug.cgi?id=70241
27543
27544         Build fix. Fix matching enums.
27545
27546         * public/WebAccessibilityRole.h:
27547         * src/AssertMatchingEnums.cpp:
27548
27549 2011-10-17  Yury Semikhatsky  <yurys@chromium.org>
27550
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
27553
27554         Removed debugger pause details validation. The only check left is that debugger pause event is fired when expected.
27555
27556         Reviewed by Pavel Feldman.
27557
27558         * src/js/Tests.js:
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):
27565
27566 2011-10-17  Mikhail Naganov  <mnaganov@chromium.org>
27567
27568         Unreviewed. Remove reference to third_party/skia/gpu.
27569         It was removed from Chromium DEPS in Chromium r105526.
27570
27571         * DEPS:
27572
27573 2011-10-17  Sheriff Bot  <webkit.review.bot@gmail.com>
27574
27575         Unreviewed.  Rolled DEPS.
27576
27577         * DEPS:
27578
27579 2011-10-16  Adam Barth  <abarth@webkit.org>
27580
27581         Always enable ENABLE(DOM_STORAGE)
27582         https://bugs.webkit.org/show_bug.cgi?id=70189
27583
27584         Reviewed by Eric Seidel.
27585
27586         * features.gypi:
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:
27605
27606 2011-10-15  Adam Barth  <abarth@webkit.org>
27607
27608         Rename ENABLE(SKIA_TEXT) to USE(SKIA_TEXT)
27609         https://bugs.webkit.org/show_bug.cgi?id=70191
27610
27611         Reviewed by Daniel Bates.
27612
27613         * features.gypi:
27614
27615 2011-10-15  Adam Barth  <abarth@webkit.org>
27616
27617         Remove unused ENABLE(SKIA_GPU)
27618         https://bugs.webkit.org/show_bug.cgi?id=70192
27619
27620         Reviewed by Daniel Bates.
27621
27622         There do not appear to be any references to this macro.
27623
27624         * features.gypi:
27625
27626 2011-10-15  Vincent Scheib  <scheib@chromium.org>
27627
27628         [Chromium] Populate WebMouseEvent movementX/Y on Mac
27629         https://bugs.webkit.org/show_bug.cgi?id=70167
27630
27631         Reviewed by Adam Barth.
27632
27633         * src/mac/WebInputEventFactory.mm:
27634         (WebKit::setWebEventLocationFromEventInView):
27635
27636 2011-10-15  Antoine Labour  <piman@chromium.org>
27637
27638         Add WebAcceleratedContentLayer backed by a texture to support accelerated content hosting
27639         https://bugs.webkit.org/show_bug.cgi?id=70084
27640
27641         Reviewed by James Robinson.
27642
27643         * WebKit.gyp:
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.
27665
27666 2011-10-15  Michael Nordman  <michaeln@google.com>
27667
27668         [Chromium] Some WebSQLDatabase in worker bug fixes.
27669         https://bugs.webkit.org/show_bug.cgi?id=70071
27670
27671         - Test for a NULL webView WebWorkerClientImpl.
27672         - Avoid altering Database instance lifetimes during WorkerThread::stop().
27673
27674         Reviewed by David Levin.
27675
27676         * src/WebWorkerClientImpl.cpp:
27677         (WebKit::WebWorkerClientImpl::allowFileSystem):
27678         (WebKit::WebWorkerClientImpl::allowDatabase):
27679
27680 2011-10-14  Darin Adler  <darin@apple.com>
27681
27682        Try to fix Chromium build.
27683
27684         * tests/PopupMenuTest.cpp:
27685         (WebKit::TestPopupMenuClient::valueChanged):
27686         Use toHTMLSelectElement instead of toSelectElement.
27687
27688 2011-10-14  Dmitry Lomov  <dslomov@google.com>
27689
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.
27694
27695         Reviewed by David Levin.
27696
27697         * src/WebSerializedScriptValue.cpp:
27698         (WebKit::WebSerializedScriptValue::serialize):
27699
27700 2011-10-14  Sheriff Bot  <webkit.review.bot@gmail.com>
27701
27702         Unreviewed.  Rolled DEPS.
27703
27704         * DEPS:
27705
27706 2011-10-14  Daniel Cheng  <dcheng@chromium.org>
27707
27708         Context-aware HTML paste for Chromium
27709         https://bugs.webkit.org/show_bug.cgi?id=62112
27710
27711         Reviewed by Ryosuke Niwa.
27712
27713         Add WebKit side for plumbing to receive context for HTML paste.
27714
27715         * public/WebClipboard.h:
27716         (WebKit::WebClipboard::readHTML):
27717         * src/PlatformSupport.cpp:
27718         (WebCore::PlatformSupport::clipboardReadHTML):
27719
27720 2011-10-14  Peter Beverloo  <peter@chromium.org>
27721
27722         [Chromium] Inherit settings from Chromium's envsetup.sh, address a NDK todo
27723         https://bugs.webkit.org/show_bug.cgi?id=70028
27724
27725         Reviewed by Adam Barth.
27726
27727         * WebKit.gyp:
27728         * gyp_webkit:
27729
27730 2011-10-14  Ryosuke Niwa  <rniwa@webkit.org>
27731
27732         Chromium Mac build fix after r97478.
27733
27734         * src/mac/WebSubstringUtil.mm:
27735         (WebKit::WebSubstringUtil::attributedSubstringInRange):
27736
27737 2011-10-12  Ryosuke Niwa  <rniwa@webkit.org>
27738
27739         Make the interface of locationAndLengthFromRange and rangeFromLocationAndLength consistent
27740         https://bugs.webkit.org/show_bug.cgi?id=69964
27741
27742         Reviewed by Enrica Casucci.
27743
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):
27753
27754 2011-10-13  Arko Saha  <arko@motorola.com>
27755
27756         Microdata: Basic implementation of document.getItems() method.
27757         https://bugs.webkit.org/show_bug.cgi?id=68610
27758
27759         Reviewed by Ryosuke Niwa.
27760
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
27763
27764         * features.gypi:
27765
27766 2011-10-12  Hans Wennborg  <hans@chromium.org>
27767
27768         IndexedDB: Remove SQLite backing store
27769         https://bugs.webkit.org/show_bug.cgi?id=69620
27770
27771         Reviewed by Darin Fisher.
27772
27773         Remove the SQLite backing store implementation; it is not used anymore.
27774         Also remove the maximumSize parameter, it is not used either.
27775
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:
27788
27789 2011-10-14  Justin Schuh  <jschuh@chromium.org>
27790
27791         Clear WebMediaPlayerClientImpl back pointer on destruction
27792         https://bugs.webkit.org/show_bug.cgi?id=69973
27793
27794         Reviewed by James Robinson.
27795
27796         Clear the backpointer and remove the unused m_currentFrame
27797
27798         * src/WebMediaPlayerClientImpl.cpp:
27799         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
27800         (WebKit::WebMediaPlayerClientImpl::load):
27801         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
27802         (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
27803         * src/WebMediaPlayerClientImpl.h:
27804
27805 2011-10-14  Polina Sokolova  <polina@chromium.org>
27806
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
27811
27812         Reviewed by Darin Fisher.
27813
27814         * public/WebDocument.h:
27815         * src/WebDocument.cpp:
27816         (WebKit::WebDocument::securityOrigin):
27817         (WebKit::WebDocument::isHTMLDocument):
27818         (WebKit::WebDocument::isPluginDocument):
27819         (WebKit::WebDocument::fullScreenElement):
27820
27821 2011-10-13  Antoine Labour  <piman@chromium.org>
27822
27823         Expose layer debug borders to WebLayer
27824         https://bugs.webkit.org/show_bug.cgi?id=70079
27825
27826         Reviewed by Darin Fisher.
27827
27828         * public/WebLayer.h:
27829         * src/WebLayer.cpp:
27830         (WebKit::WebLayer::setDebugBorderColor):
27831         (WebKit::WebLayer::setDebugBorderWidth):
27832
27833 2011-10-13  Julien Chaffraix  <jchaffraix@webkit.org>
27834
27835         Remove layerX / layerY from the Chromium API
27836         https://bugs.webkit.org/show_bug.cgi?id=70052
27837
27838         Reviewed by Darin Fisher.
27839
27840         * public/WebDOMMouseEvent.h:
27841         * src/WebDOMMouseEvent.cpp:
27842         Just remove the 2 properties without considering the ABI stability.
27843
27844 2011-10-13  Nico Weber  <thakis@chromium.org>
27845
27846         [chromium] Automatically pull clang on `update-webkit --chromium` on mac
27847         https://bugs.webkit.org/show_bug.cgi?id=70058
27848
27849         Reviewed by Adam Barth.
27850
27851         * DEPS:
27852
27853 2011-10-13  John Knottenbelt  <jknotten@chromium.org>
27854
27855         [Chromium] Allow building without speech input enabled.
27856         https://bugs.webkit.org/show_bug.cgi?id=69867
27857
27858         Reviewed by Darin Fisher.
27859
27860         * src/AssertMatchingEnums.cpp:
27861         * src/WebSpeechInputControllerMockImpl.cpp:
27862         (WebKit::WebSpeechInputControllerMock::create):
27863         * src/WebSpeechInputControllerMockImpl.h:
27864         * src/WebSpeechInputResult.cpp:
27865
27866 2011-10-13  Peng Huang  <shawn.p.huang@gmail.com>
27867
27868         [chromium] Add a selectionBounds() method to WebWidget.
27869         https://bugs.webkit.org/show_bug.cgi?id=69028
27870
27871         Reviewed by Darin Fisher.
27872
27873         * public/WebWidget.h:
27874         (WebKit::WebWidget::selectionBounds):
27875         * src/WebViewImpl.cpp:
27876         (WebKit::WebViewImpl::selectionRange):
27877         (WebKit::WebViewImpl::selectionBounds):
27878         * src/WebViewImpl.h:
27879
27880 2011-10-13  Kent Tamura  <tkent@chromium.org>
27881
27882         Cleanup of HTMLSelectElement
27883         https://bugs.webkit.org/show_bug.cgi?id=69908
27884
27885         Reviewed by Darin Adler.
27886
27887         Change the HTMLSelectElement::listItems() return type:
27888           Vector<Element*> -> Vector<HTMLElement*>
27889
27890         * src/WebSearchableFormData.cpp:
27891         (HTMLNames::IsSelectInDefaultState):
27892         * src/WebSelectElement.cpp:
27893         (WebKit::WebSelectElement::listItems):
27894
27895 2011-10-12  Joseph Pecoraro  <joepeck@webkit.org>
27896
27897         Pass Parsed Accept Attribute MIME Types to WebKit Clients
27898         https://bugs.webkit.org/show_bug.cgi?id=69598
27899
27900         Reviewed by Kent Tamura.
27901
27902         Chromium uses the deprecated accept string. Switching to
27903         the new approach will require coordination with their port.
27904
27905         * src/ChromeClientImpl.cpp:
27906         (WebKit::ChromeClientImpl::runOpenPanel):
27907
27908 2011-10-12  Antoine Labour  <piman@chromium.org>
27909
27910         Fix CCThreadTest.startPostAndWaitOnCondition
27911         https://bugs.webkit.org/show_bug.cgi?id=69967
27912
27913         Reviewed by Darin Fisher.
27914
27915         * tests/CCThreadTest.cpp:
27916         (WebKit::TEST):
27917
27918 2011-10-12  Sheriff Bot  <webkit.review.bot@gmail.com>
27919
27920         Unreviewed.  Rolled DEPS.
27921
27922         * DEPS:
27923
27924 2011-10-12  Nico Weber  <thakis@chromium.org>
27925
27926         [chromium] Add a setSelectionToRange() method to WebFrame.
27927         https://bugs.webkit.org/show_bug.cgi?id=69846
27928
27929         Also add a method to WebRange to create a range given a frame and an
27930         interval.
27931
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
27934         render_widget.cc).
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
27939         from there, too.
27940
27941         Reviewed by Darin Fisher.
27942
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):
27951         * src/WebRange.h:
27952         (WebRange::fromGlobalRange):
27953
27954 2011-10-12  Sergey Glazunov  <serg.glazunov@gmail.com>
27955
27956         ScriptController::executeIfJavaScriptURL gets confused by synchronous frame loads
27957         https://bugs.webkit.org/show_bug.cgi?id=69777
27958
27959         Reviewed by Adam Barth.
27960
27961         * src/WebFrameImpl.cpp:
27962         (WebKit::WebFrameImpl::loadJavaScriptURL):
27963
27964 2011-10-12  Yury Semikhatsky  <yurys@chromium.org>
27965
27966         [Chromium] Web Inspector: testPauseWhenLoadingDevTools is broken
27967         https://bugs.webkit.org/show_bug.cgi?id=69934
27968
27969         Reviewed by Pavel Feldman.
27970
27971         * src/js/Tests.js:
27972
27973 2011-10-12  Cary Clark  <caryclark@google.com>
27974
27975         [Chromium] Prevent fallback fonts from purging while measuring
27976         https://bugs.webkit.org/show_bug.cgi?id=69855
27977
27978         Reviewed by Eric Seidel.
27979
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.
27984
27985         Adding FontCachePurgePreventer suppresses a debug-time assert
27986         when running PageCycler over international tests.
27987
27988         * src/WebFrameImpl.cpp:
27989         (WebKit::WebFrameImpl::contentsPreferredWidth):
27990
27991 2011-10-12  Pavel Podivilov  <podivilov@chromium.org>
27992
27993         Unreviewed, CCThreadTest.startPostAndWaitOnCondition is flaky on linux.
27994
27995         * tests/CCThreadTest.cpp:
27996         (WebKit::TEST):
27997
27998 2011-10-12  Sheriff Bot  <webkit.review.bot@gmail.com>
27999
28000         Unreviewed.  Rolled DEPS.
28001
28002         * DEPS:
28003
28004 2011-10-12  Yury Semikhatsky  <yurys@chromium.org>
28005
28006         [Chromium] Web Inspector:  add test for pause in shared worker initialization
28007         https://bugs.webkit.org/show_bug.cgi?id=69915
28008
28009         Add WebKit part of interactive ui test for pause in worker initialization.
28010
28011         Reviewed by Pavel Feldman.
28012
28013         * src/js/Tests.js:
28014         (.TestSuite.prototype.testPauseInSharedWorkerInitialization):
28015
28016 2011-10-12  Yury Semikhatsky  <yurys@chromium.org>
28017
28018         [Chromium] Web Inspector: repair interactive tests for debugger pause
28019         https://bugs.webkit.org/show_bug.cgi?id=69912
28020
28021         Listen to DebuggerModel event instead of overriding private methods on it.
28022
28023         Reviewed by Pavel Feldman.
28024
28025         * src/js/Tests.js:
28026         (.TestSuite.prototype._waitForScriptPause):
28027
28028 2011-10-11  Steve VanDeBogart  <vandebo@chromium.org>
28029
28030         [chromium] Add accessor for plugin request to not scale print output.
28031         https://bugs.webkit.org/show_bug.cgi?id=68853
28032
28033         Reviewed by Darin Fisher.
28034
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:
28044
28045 2011-10-11  Antoine Labour  <piman@chromium.org>
28046
28047         Separate compositor client thread from webkit's main thread.
28048         https://bugs.webkit.org/show_bug.cgi?id=69048
28049
28050         Reviewed by Darin Fisher.
28051
28052         * WebKit.gyp:
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):
28061
28062 2011-10-11  Simon Fraser  <simon.fraser@apple.com>
28063
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
28066
28067         Reviewed by Darin Adler.
28068
28069         Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
28070         
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.
28074
28075         * src/WebScrollbarImpl.cpp:
28076         (WebKit::WebScrollbar::defaultThickness):
28077
28078 2011-10-11  Sheriff Bot  <webkit.review.bot@gmail.com>
28079
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
28085
28086         Broke builds (Requested by rniwa on #webkit).
28087
28088         * src/AutofillPopupMenuClient.cpp:
28089         * src/AutofillPopupMenuClient.h:
28090         * src/WebViewImpl.cpp:
28091         (WebKit::WebViewImpl::applyAutofillSuggestions):
28092         * tests/PopupMenuTest.cpp:
28093
28094 2011-10-11  Ryosuke Niwa  <rniwa@webkit.org>
28095
28096         Second attempt to fix Chromium Windows build after r97202.
28097
28098         * tests/PopupMenuTest.cpp:
28099         (WebKit::TestPopupMenuClient::boundingBoxRect):
28100         (WebKit::TestPopupMenuClient::setFocusedNode):
28101
28102 2011-10-11  Ryosuke Niwa  <rniwa@webkit.org>
28103
28104         Chromium build fix attempt after r97202.
28105
28106         * tests/PopupMenuTest.cpp:
28107         (WebKit::SelectPopupMenuTest::boundingBoxRect):
28108
28109 2011-10-11  Fady Samuel  <fsamuel@chromium.org>
28110
28111         Towards making PopupMenuClient more testable
28112         https://bugs.webkit.org/show_bug.cgi?id=69631
28113
28114         Reviewed by Simon Fraser.
28115
28116         * src/AutofillPopupMenuClient.cpp:
28117         (WebKit::AutofillPopupMenuClient::boundingBoxRect):
28118         * src/AutofillPopupMenuClient.h:
28119         * src/WebViewImpl.cpp:
28120         (WebKit::WebViewImpl::applyAutofillSuggestions):
28121
28122 2011-10-11  Dominic Mazzoni  <dmazzoni@google.com>
28123
28124         WebAccessibilityObject needs titleUIElement
28125         https://bugs.webkit.org/show_bug.cgi?id=69869
28126
28127         Reviewed by Dimitri Glazkov.
28128
28129         * public/WebAccessibilityObject.h:
28130         * src/WebAccessibilityObject.cpp:
28131         (WebKit::WebAccessibilityObject::titleUIElement):
28132
28133 2011-10-10  Adam Klein  <adamk@chromium.org>
28134
28135         [MutationObservers] Add stub implementation of WebKitMutationObserver
28136         https://bugs.webkit.org/show_bug.cgi?id=68949
28137
28138         Reviewed by Ryosuke Niwa, Oliver Hunt, and Dimitri Glazkov.
28139
28140         * features.gypi: Added 'enable_mutation_observers' variable.
28141
28142 2011-10-11  Mike Reed  <reed@google.com>
28143
28144         re-add support for GDI text behind a compile flag
28145         https://bugs.webkit.org/show_bug.cgi?id=69530
28146
28147         Reviewed by James Robinson.
28148
28149         * features.gypi:
28150
28151 2011-10-11  Pavel Podivilov  <podivilov@chromium.org>
28152
28153         Unreviewed, roll chromium revision to pick HTML speech input images update.
28154
28155         * DEPS:
28156
28157 2011-10-11  Antoine Labour  <piman@chromium.org>
28158
28159         Expose WebLayer::isNull
28160         https://bugs.webkit.org/show_bug.cgi?id=69813
28161
28162         Reviewed by Darin Fisher.
28163
28164         * public/WebLayer.h:
28165         (WebKit::WebLayer::isNull):
28166
28167 2011-10-10  Sheriff Bot  <webkit.review.bot@gmail.com>
28168
28169         Unreviewed, rolling out r97087.
28170         http://trac.webkit.org/changeset/97087
28171         https://bugs.webkit.org/show_bug.cgi?id=69805
28172
28173         failing assert on debug builds (Requested by simonjam on
28174         #webkit).
28175
28176         * src/WebFrameImpl.cpp:
28177         (WebKit::WebFrameImpl::loadJavaScriptURL):
28178
28179 2011-10-10  Nico Weber  <thakis@chromium.org>
28180
28181         [chromium] Pull tools/clang from upstream.
28182         https://bugs.webkit.org/show_bug.cgi?id=69797
28183
28184         Reviewed by Adam Barth.
28185
28186         * DEPS:
28187
28188 2011-10-10  Sergey Glazunov  <serg.glazunov@gmail.com>
28189
28190         ScriptController::executeIfJavaScriptURL gets confused by synchronous frame loads
28191         https://bugs.webkit.org/show_bug.cgi?id=69777
28192
28193         Reviewed by Adam Barth.
28194
28195         * src/WebFrameImpl.cpp:
28196         (WebKit::WebFrameImpl::loadJavaScriptURL):
28197
28198 2011-10-10  Dominic Mazzoni  <dmazzoni@google.com>
28199
28200         [Chromium] Get rid of WebAccessibilityCache.
28201         https://bugs.webkit.org/show_bug.cgi?id=68224
28202
28203         Reviewed by Dimitri Glazkov.
28204
28205         * WebKit.gyp:
28206         * public/WebAccessibilityCache.h: Removed.
28207         * src/WebAccessibilityCache.cpp: Removed.
28208         * src/WebAccessibilityCacheImpl.cpp: Removed.
28209         * src/WebAccessibilityCacheImpl.h: Removed.
28210
28211 2011-10-10  Pavel Podivilov  <podivilov@chromium.org>
28212
28213         Unreviewed, mark CCThreadTest.startPostAndWaitOnCondition as flaky on win and mac.
28214
28215         * tests/CCThreadTest.cpp:
28216         (WebKit::TEST):
28217
28218 2011-10-07  Yury Semikhatsky  <yurys@chromium.org>
28219
28220         Web Inspector: allow to start WorkerContext paused
28221         https://bugs.webkit.org/show_bug.cgi?id=69635
28222
28223         Expose methods for pausing shared worker on start.
28224
28225         Reviewed by Pavel Feldman.
28226
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):
28252
28253 2011-10-09  W. James MacLean  <wjmaclean@chromium.org>
28254
28255         [chromium] Zoom animator front-end
28256         https://bugs.webkit.org/show_bug.cgi?id=68035
28257
28258         Modifications to get zoom texture-scale parameters from ScaleAnimator directly
28259         instead of via Settings.
28260
28261         Reviewed by Kenneth Russell.
28262
28263         * src/WebViewImpl.cpp:
28264         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
28265
28266 2011-10-07  Antoine Labour  <piman@chromium.org>
28267
28268         Webkit API for compositor
28269         https://bugs.webkit.org/show_bug.cgi?id=69107
28270
28271         Reviewed by Darin Fisher.
28272
28273         * WebKit.gyp:
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.
28384
28385 2011-10-07  Shawn Singh  <shawnsingh@chromium.org>
28386
28387         First round of unit tests for CCLayerTreeHostCommon.
28388         https://bugs.webkit.org/show_bug.cgi?id=69197
28389
28390         Reviewed by James Robinson.
28391
28392         This round of tests focuses on verifying the computation of matrix transforms
28393         in calculateDrawTransformsAndVisibility.
28394
28395         * WebKit.gypi:
28396         * tests/CCLayerTreeHostCommonTest.cpp: Added.
28397         (WebCore::setLayerPropertiesForTesting):
28398         (WebCore::executeCalculateDrawTransformsAndVisibility):
28399         (WebCore::remove3DComponentOfMatrix):
28400         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
28401         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
28402         (WebCore::TEST):
28403
28404 2011-10-07  Tony Chang  <tony@chromium.org>
28405
28406         Fix chromium compile when using the components build.  This test
28407         helper file is using methods not available when compiling as a dll.
28408
28409         * WebKit.gyp:
28410
28411 2011-10-07  Adam Barth  <abarth@webkit.org>
28412
28413         Remove setShouldPaintCustomScrollbars, which has no callers
28414         https://bugs.webkit.org/show_bug.cgi?id=69300
28415
28416         Reviewed by Darin Adler.
28417
28418         Anders tells me this function no longer has any callers.  We should
28419         remove it before it grows any!
28420
28421         * public/WebSettings.h:
28422         * src/WebSettingsImpl.cpp:
28423         * src/WebSettingsImpl.h:
28424
28425 2011-10-07  Sheriff Bot  <webkit.review.bot@gmail.com>
28426
28427         Unreviewed, rolling out r96879.
28428         http://trac.webkit.org/changeset/96879
28429         https://bugs.webkit.org/show_bug.cgi?id=69618
28430
28431         Broke CCLayerTreeHostTestShortlived1 on chromium mac.
28432         (Requested by podivilov on #webkit).
28433
28434         * features.gypi:
28435         * src/WebViewImpl.h:
28436         * tests/CCLayerTreeHostTest.cpp:
28437         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
28438         (WTF::CCLayerTreeHostTest::onEndTest):
28439
28440 2011-10-07  Sheriff Bot  <webkit.review.bot@gmail.com>
28441
28442         Unreviewed, rolling out r96909.
28443         http://trac.webkit.org/changeset/96909
28444         https://bugs.webkit.org/show_bug.cgi?id=69616
28445
28446         Broke chromium mac compilation (Requested by podivilov on
28447         #webkit).
28448
28449         * WebKit.gyp:
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.
28465
28466 2011-10-07  Pavel Podivilov  <podivilov@chromium.org>
28467
28468         Unreviewed, revert r96924.
28469
28470         * public/WebContentLayer.h:
28471
28472 2011-10-07  Pavel Podivilov  <podivilov@chromium.org>
28473
28474         Unreviewed, fix mac build after r96909.
28475
28476         * public/WebContentLayer.h:
28477
28478 2011-10-07  Anna Cavender  <annacc@chromium.org>
28479
28480         Turn ENABLE_VIDEO_TRACK on for chromium.
28481         https://bugs.webkit.org/show_bug.cgi?id=69460
28482
28483         Reviewed by David Levin.
28484
28485         * features.gypi:
28486
28487 2011-10-07  Pavel Feldman  <pfeldman@google.com>
28488
28489         Not reviewed: also add glass pane to the frame document's body.
28490
28491         * src/js/DevTools.js:
28492
28493 2011-10-07  Pavel Feldman  <pfeldman@google.com>
28494
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
28497
28498         Reviewed by Yury Semikhatsky.
28499
28500         * src/js/DevTools.js:
28501
28502 2011-10-07  Nate Chapin  <japhet@chromium.org>
28503
28504         Always call setActive() in WebViewImpl::setFocus(),
28505         not just when enabling focus.
28506         https://bugs.webkit.org/show_bug.cgi?id=65220
28507
28508         Reviewed by Darin Fisher.
28509
28510         * WebKit.gyp:
28511         * WebKit.gypi:
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.
28523
28524 2011-10-06  Bill Budge  <bbudge@chromium.org>
28525
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
28528         for saving).
28529         https://bugs.webkit.org/show_bug.cgi?id=69301
28530
28531         Reviewed by Darin Fisher.
28532
28533         * public/WebFileChooserParams.h:
28534         (WebKit::WebFileChooserParams::WebFileChooserParams):
28535
28536 2011-10-06  Antoine Labour  <piman@chromium.org>
28537
28538         Webkit API for compositor
28539         https://bugs.webkit.org/show_bug.cgi?id=69107
28540
28541         Reviewed by Darin Fisher.
28542
28543         * WebKit.gyp:
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.
28654
28655 2011-10-06  Kent Tamura  <tkent@chromium.org>
28656
28657         [Chromium] Build fix for r96907.
28658
28659         * tests/PopupMenuTest.cpp:
28660         (WebKit::TestPopupMenuClient::valueChanged):
28661         Use HTMLSelectElement instead of SelectElement.
28662
28663 2011-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>
28664
28665         Unreviewed, rolling out r96896.
28666         http://trac.webkit.org/changeset/96896
28667         https://bugs.webkit.org/show_bug.cgi?id=69601
28668
28669         broke windows and mac chromium builds (Requested by simonjam
28670         on #webkit).
28671
28672         * WebKit.gyp:
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.
28688
28689 2011-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>
28690
28691         Unreviewed.  Rolled DEPS.
28692
28693         * DEPS:
28694
28695 2011-10-06  Antoine Labour  <piman@chromium.org>
28696
28697         Webkit API for compositor
28698         https://bugs.webkit.org/show_bug.cgi?id=69107
28699
28700         Reviewed by Darin Fisher.
28701
28702         * WebKit.gyp:
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.
28813
28814 2011-10-06  James Robinson  <jamesr@chromium.org>
28815
28816         [chromium] Remove USE(THREADED_COMPOSITING) from the tree
28817         https://bugs.webkit.org/show_bug.cgi?id=69489
28818
28819         Reviewed by Darin Fisher.
28820
28821         Updated CCLayerTreeHostTest::onEndTest() to pump all pending messages
28822         after posting the Quit task and before tearing down any test
28823         infrastructure.
28824
28825         * features.gypi:
28826         * src/WebViewImpl.h:
28827         * tests/CCLayerTreeHostTest.cpp:
28828         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
28829
28830 2011-10-06  James Robinson  <jamesr@chromium.org>
28831
28832         [chromium] Remove obsolete WebWidgetClient::didActivateAcceleratedCompositing call
28833         https://bugs.webkit.org/show_bug.cgi?id=69576
28834
28835         Reviewed by Darin Fisher.
28836
28837         The chromium implementation of this function went away at r104017.
28838
28839         * public/WebWidgetClient.h:
28840         * src/WebViewImpl.cpp:
28841         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
28842
28843 2011-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>
28844
28845         Unreviewed, rolling out r96861.
28846         http://trac.webkit.org/changeset/96861
28847         https://bugs.webkit.org/show_bug.cgi?id=69573
28848
28849         This patch didn't compile on windows (Requested by annacc on
28850         #webkit).
28851
28852         * features.gypi:
28853
28854 2011-10-06  Anna Cavender  <annacc@chromium.org>
28855
28856         Turn ENABLE_VIDEO_TRACK on for chromium.
28857         https://bugs.webkit.org/show_bug.cgi?id=69460
28858
28859         Reviewed by David Levin.
28860
28861         * features.gypi:
28862
28863 2011-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>
28864
28865         Unreviewed, rolling out r96791.
28866         http://trac.webkit.org/changeset/96791
28867         https://bugs.webkit.org/show_bug.cgi?id=69528
28868
28869         webkit_unit_tests broken on Mac and Win (Requested by
28870         hwennborg on #webkit).
28871
28872         * features.gypi:
28873         * src/WebViewImpl.h:
28874         * tests/CCLayerTreeHostTest.cpp:
28875         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
28876
28877 2011-10-06  Hans Wennborg  <hans@chromium.org>
28878
28879         [Chromium] WebKit.gyp fix to unbreak Linux(shared) build after r96791
28880
28881         Unreviewed gardening.
28882
28883         * WebKit.gyp:
28884
28885 2011-10-03  Hans Wennborg  <hans@chromium.org>
28886
28887         IndexedDB: Remove SQLite-LevelDB migration code
28888         https://bugs.webkit.org/show_bug.cgi?id=69264
28889
28890         Reviewed by Tony Chang.
28891
28892         Remove setOverrideBackingStoreType. It was used in the layout test
28893         for migration.
28894
28895         * public/WebIDBFactory.h:
28896         * src/WebIDBFactoryImpl.cpp:
28897         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
28898         (WebKit::WebIDBFactoryImpl::open):
28899
28900 2011-10-06  James Robinson  <jamesr@chromium.org>
28901
28902         [chromium] Remove USE(THREADED_COMPOSITING) from the tree
28903         https://bugs.webkit.org/show_bug.cgi?id=69489
28904
28905         Reviewed by Darin Fisher.
28906
28907         * features.gypi:
28908         * src/WebViewImpl.h:
28909         * tests/CCLayerTreeHostTest.cpp:
28910         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
28911
28912 2011-10-05  Alexei Svitkine  <asvitkine@chromium.org>
28913
28914         Make destructor of WebURLLoaderClient virtual.
28915         https://bugs.webkit.org/show_bug.cgi?id=69457
28916
28917         Reviewed by Darin Fisher.
28918
28919         * public/WebURLLoaderClient.h:
28920         (WebKit::WebURLLoaderClient::~WebURLLoaderClient):
28921
28922 2011-10-05  Vangelis Kokkevis  <vangelis@chromium.org>
28923
28924         Switching threaded compositor from a compile time option to a
28925         run time one.
28926         https://bugs.webkit.org/show_bug.cgi?id=69391
28927
28928         Reviewed by Darin Fisher.
28929
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):
28945
28946 2011-10-05  Jer Noble  <jer.noble@apple.com>
28947
28948         WEB_AUDIO does not compile on Leopard 32-bit.
28949         https://bugs.webkit.org/show_bug.cgi?id=69292
28950
28951         Reviewed by Simon Fraser.
28952
28953         Platform-independent portions of WEB_AUDIO have changed from double -> float, and 
28954         platform-specific subclasses must change as well.
28955
28956         * src/AudioDestinationChromium.cpp:
28957         (WebCore::AudioDestination::create):
28958         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
28959         (WebCore::AudioDestination::hardwareSampleRate):
28960         * src/AudioDestinationChromium.h:
28961         (WebCore::AudioDestinationChromium::sampleRate):
28962
28963 2011-10-05  James Robinson  <jamesr@chromium.org>
28964
28965         [chromium] Hook WebCompositor interface for input events up to the compositor proper
28966         https://bugs.webkit.org/show_bug.cgi?id=69394
28967
28968         Reviewed by Darin Fisher.
28969
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.
28976
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:
28992
28993 2011-10-05  Anna Cavender  <annacc@chromium.org>
28994
28995         Functions to make <track> enabled at runtime.
28996         https://bugs.webkit.org/show_bug.cgi?id=69352
28997
28998         Reviewed by Adam Barth.
28999
29000         * public/WebRuntimeFeatures.h:
29001         * src/WebRuntimeFeatures.cpp:
29002         (WebKit::WebRuntimeFeatures::enableVideoTrack):
29003         (WebKit::WebRuntimeFeatures::isVideoTrackEnabled):
29004
29005 2011-10-05  Yury Semikhatsky  <yurys@chromium.org>
29006
29007         Web Inspector: provide a way for persisting worker inspector state
29008         https://bugs.webkit.org/show_bug.cgi?id=69422
29009
29010         Provided an API for saving/restoring worker inspector state.
29011
29012         Reviewed by Pavel Feldman.
29013
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:
29029
29030 2011-10-04  Yury Semikhatsky  <yurys@chromium.org>
29031
29032         [Chromium] Web Inspector: save inspector state into single string instead of string map
29033         https://bugs.webkit.org/show_bug.cgi?id=69335
29034
29035         Now that Chromium side is updated, remove unused methods from the DevToolsAgent API.
29036
29037         Reviewed by Pavel Feldman.
29038
29039         * public/WebDevToolsAgent.h:
29040         * public/WebDevToolsAgentClient.h:
29041         * src/WebDevToolsAgentImpl.cpp:
29042         (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
29043         * src/WebDevToolsAgentImpl.h:
29044
29045 2011-10-04  Kent Tamura  <tkent@chromium.org>
29046
29047         Introduce feature flags for incomplete input types
29048         https://bugs.webkit.org/show_bug.cgi?id=68971
29049
29050         Reviewed by Hajime Morita.
29051
29052         * features.gypi: Add disabled ENABLE_INPUT_TYPE_* flags.
29053
29054 2011-10-04  Scott Graham  <scottmg@chromium.org>
29055
29056         Add GAMEPAD feature flag
29057         https://bugs.webkit.org/show_bug.cgi?id=66859
29058
29059         Reviewed by Darin Fisher.
29060
29061         * features.gypi:
29062
29063 2011-10-04  Fady Samuel  <fsamuel@chromium.org>
29064
29065         [Chromium] Moved files towards GTK removal
29066         https://bugs.webkit.org/show_bug.cgi?id=69229
29067
29068         Reviewed by Tony Chang.
29069
29070         * WebKit.gyp:
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):
29076
29077 2011-10-04  James Robinson  <jamesr@chromium.org>
29078
29079         [chromium] Extract scheduling logic from CCThreadProxy to its own class
29080         https://bugs.webkit.org/show_bug.cgi?id=69049
29081
29082         Reviewed by Kenneth Russell.
29083
29084         Adds some unit tests for the new CCScheduler class. Since the class is very simple today, the tests are
29085         similarly quite simple.
29086
29087         * WebKit.gypi:
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.
29101
29102 2011-10-04  Scott Graham  <scottmg@chromium.org>
29103
29104         occasional crash in Chromium in dispatching keyEvent
29105         https://bugs.webkit.org/show_bug.cgi?id=67941
29106
29107         Reviewed by Tony Chang.
29108
29109         Guard Frame while handling keyEvent, as it can lose last reference due
29110         to actions of handler.
29111
29112         * src/WebViewImpl.cpp:
29113         (WebKit::WebViewImpl::keyEvent):
29114
29115 2011-10-04  Anders Carlsson  <andersca@apple.com>
29116
29117         Remove PlatformWheelEvent::m_isAccepted
29118         https://bugs.webkit.org/show_bug.cgi?id=69357
29119
29120         Reviewed by Darin Adler.
29121
29122         * src/WebInputEventConversion.cpp:
29123         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
29124         m_isAccepted has been removed.
29125
29126         * src/WebScrollbarImpl.cpp:
29127         (WebKit::WebScrollbarImpl::onMouseWheel):
29128         Just return the value of handleWheelEvent.
29129
29130 2011-10-04  Yury Semikhatsky  <yurys@chromium.org>
29131
29132         [Chromium] Web Inspector: save inspector state into single string instead of string map
29133         https://bugs.webkit.org/show_bug.cgi?id=69335
29134
29135         Added explicit methods for saving and restoring agent runtime state.
29136
29137         Reviewed by Pavel Feldman.
29138
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:
29146
29147 2011-10-03  James Robinson  <jamesr@chromium.org>
29148
29149         [chromium] Tweak WebCompositor API for input event handling to express three possible states
29150         https://bugs.webkit.org/show_bug.cgi?id=69304
29151
29152         Reviewed by Darin Fisher.
29153
29154         * public/WebCompositorClient.h:
29155         * src/WebCompositorImpl.cpp:
29156         (WebKit::WebCompositorImpl::~WebCompositorImpl):
29157         (WebKit::WebCompositorImpl::handleInputEvent):
29158
29159 2011-10-03  Anders Carlsson  <andersca@apple.com>
29160
29161         Remove custom scrollbar painting hooks
29162         https://bugs.webkit.org/show_bug.cgi?id=69163
29163
29164         Reviewed by Alexey Proskuryakov.
29165
29166         * src/WebSettingsImpl.cpp:
29167         (WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars):
29168
29169 2011-10-03  Elliot Poger  <epoger@google.com>
29170
29171         webkit->chromium DEPS roll 103471->103694
29172         https://bugs.webkit.org/show_bug.cgi?id=69271
29173
29174         This brings in a new tools/win/supalink directory from
29175         http://src.chromium.org/viewvc/chrome?view=rev&revision=103474
29176
29177         Reviewed by Adam Barth.
29178
29179         * DEPS:
29180
29181 2011-10-03  James Robinson  <jamesr@chromium.org>
29182
29183         [chromium] Add WebWidget API for accessing the current WebCompositor
29184         https://bugs.webkit.org/show_bug.cgi?id=69181
29185
29186         Reviewed by Darin Fisher.
29187
29188         Add new WebWidgetClient::did(Activate|Deactivate)Compositor calls intended to replace
29189         didActivateAccleratedCompositing(bool) so that the enable call can be parameterized.
29190
29191         Add a WebCompositor identifier parameter to didEnableAcceleratedCompositing that can be used on the compositor
29192         thread to get access to a WebCompositor pointer.
29193
29194         * public/WebWidget.h:
29195         (WebKit::WebWidget::compositor):
29196         * src/WebViewImpl.cpp:
29197         (WebKit::WebViewImpl::compositor):
29198         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
29199         * src/WebViewImpl.h:
29200
29201 2011-10-03  Sheriff Bot  <webkit.review.bot@gmail.com>
29202
29203         Unreviewed, rolling out r96481.
29204         http://trac.webkit.org/changeset/96481
29205         https://bugs.webkit.org/show_bug.cgi?id=69251
29206
29207         Breaks webkit_unit_tests on Linux(dbg) (Requested by hwennborg
29208         on #webkit).
29209
29210         * WebKit.gypi:
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.
29225
29226 2011-10-02  James Robinson  <jamesr@chromium.org>
29227
29228         [chromium] Add WebWidget API for accessing the current WebCompositor
29229         https://bugs.webkit.org/show_bug.cgi?id=69181
29230
29231         Reviewed by Darin Fisher.
29232
29233         Add new WebWidgetClient::did(Activate|Deactivate)Compositor calls intended to replace
29234         didActivateAccleratedCompositing(bool) so that the enable call can be parameterized.
29235
29236         Add a WebCompositor identifier parameter to didEnableAcceleratedCompositing that can be used on the compositor
29237         thread to get access to a WebCompositor pointer.
29238
29239         * public/WebWidget.h:
29240         (WebKit::WebWidget::compositor):
29241         * src/WebViewImpl.cpp:
29242         (WebKit::WebViewImpl::compositor):
29243         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
29244         * src/WebViewImpl.h:
29245
29246 2011-09-30  Adrienne Walker  <enne@google.com>
29247
29248         [chromium] Track separate scroll deltas on the compositor thread
29249         https://bugs.webkit.org/show_bug.cgi?id=69034
29250
29251         Reviewed by James Robinson.
29252
29253         Add testing support for scroll deltas on layers.
29254
29255         * WebKit.gypi:
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):
29263         (WebCore::TEST_F):
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):
29276         (WTF::TEST_F):
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:
29284         (WebCore::TEST):
29285
29286 2011-09-30  Shawn Singh  <shawnsingh@chromium.org>
29287
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
29291
29292         Reviewed by James Robinson.
29293
29294         * WebKit.gypi:
29295         * tests/LayerChromiumTest.cpp: Added.
29296
29297 2011-09-30  James Robinson  <jamesr@chromium.org>
29298
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
29301
29302         Reviewed by Darin Fisher.
29303
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.
29307
29308         * public/WebCompositorClient.h:
29309         * src/WebCompositorImpl.cpp:
29310         (WebKit::WebCompositorImpl::handleInputEvent):
29311
29312 2011-09-30  Elliot Poger  <epoger@google.com>
29313
29314         webkit->chromium DEPS roll 102910->103471
29315         https://bugs.webkit.org/show_bug.cgi?id=69160
29316
29317         Reviewed by Adam Barth.
29318
29319         * DEPS:
29320
29321 2011-09-29  Pavel Feldman  <pfeldman@google.com>
29322
29323         Web Inspector: [chromium] expose inspector protocol version to the embedder.
29324         https://bugs.webkit.org/show_bug.cgi?id=69092
29325
29326         Reviewed by Yury Semikhatsky.
29327
29328         * public/WebDevToolsAgent.h:
29329         * src/WebDevToolsAgentImpl.cpp:
29330         (WebKit::WebDevToolsAgent::inspectorProtocolVersion):
29331         (WebKit::WebDevToolsAgent::supportsInspectorProtocolVersion):
29332
29333 2011-09-30  James Robinson  <jamesr@chromium.org>
29334
29335         [chromium] Add WebKit API for sending input events to the compositor thread
29336         https://bugs.webkit.org/show_bug.cgi?id=69117
29337
29338         Reviewed by Darin Fisher.
29339
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.
29343
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.
29348
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.
29351
29352         * WebKit.gyp:
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:
29374         (WebKit::TEST):
29375
29376 2011-09-29  Iain Merrick  <husky@google.com>
29377
29378         Add unit test for CCLayerSorter
29379         https://bugs.webkit.org/show_bug.cgi?id=68622
29380
29381         Reviewed by James Robinson.
29382
29383         * WebKit.gypi:
29384         * tests/CCLayerSorterTest.cpp: Added.
29385         (WebCore::TEST):
29386
29387 2011-09-29  Hans Wennborg  <hans@chromium.org>
29388
29389         IndexedDB: Use LevelDB also for in-memory databases
29390         https://bugs.webkit.org/show_bug.cgi?id=68903
29391
29392         Reviewed by Steve Block.
29393
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
29396         databases now.
29397
29398         * public/WebIDBFactory.h:
29399         * src/WebIDBFactoryImpl.cpp:
29400         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
29401         (WebKit::WebIDBFactoryImpl::open):
29402
29403 2011-09-28  Fady Samuel  <fsamuel@chromium.org>
29404
29405         [Chromium] Seperate GTK specific Gyp rules from X11 Gyp rules
29406         https://bugs.webkit.org/show_bug.cgi?id=68936
29407
29408         Reviewed by Tony Chang.
29409
29410         * WebKit.gyp:
29411         * public/gtk/WebFontInfo.h:
29412         * public/linux/WebFontInfo.h: Copied from Source/WebKit/chromium/public/gtk/WebFontInfo.h.
29413
29414 2011-09-27  Sheriff Bot  <webkit.review.bot@gmail.com>
29415
29416         Unreviewed.  Rolled DEPS.
29417
29418         * DEPS:
29419
29420 2011-09-27  Yury Semikhatsky  <yurys@chromium.org>
29421
29422         [Chromium] Web Inspector: Bug with console.log and popstate/hashchange events
29423         https://bugs.webkit.org/show_bug.cgi?id=67732
29424
29425         Added WebKit part of a new interactive UI test for the bug with duplicated console messages after navigation back.
29426
29427         Reviewed by Pavel Feldman.
29428
29429         * src/js/Tests.js:
29430         (.TestSuite.prototype.testConsoleOnNavigateBack.firstConsoleMessageReceived):
29431         (.TestSuite.prototype.testConsoleOnNavigateBack.didClickLink):
29432         (.TestSuite.prototype.testConsoleOnNavigateBack.didNavigateBack):
29433         (.TestSuite.prototype.testConsoleOnNavigateBack.didCompleteNavigation):
29434         (.TestSuite.prototype.testConsoleOnNavigateBack):
29435
29436 2011-09-27  Sheriff Bot  <webkit.review.bot@gmail.com>
29437
29438         Unreviewed.  Rolled DEPS.
29439
29440         * DEPS:
29441
29442 2011-09-26  Nat Duca  <nduca@chromium.org>
29443
29444         [chromium] Make CCThreadProxy draw
29445         https://bugs.webkit.org/show_bug.cgi?id=67417
29446
29447         Disable CCLayerTreeHostTest temporarily. Will re-enable
29448         with https://bugs.webkit.org/show_bug.cgi?id=67418
29449
29450         Reviewed by James Robinson.
29451
29452         * tests/CCLayerTreeHostTest.cpp:
29453
29454 2011-09-26  Joshua Bell  <jsbell@chromium.org>
29455
29456         IndexedDB: Second half of IDBFactory.getDatabaseNames implementation
29457         https://bugs.webkit.org/show_bug.cgi?id=68818
29458
29459         Reviewed by Tony Chang.
29460
29461         Adds ability to enumerate IndexedDB databases within an origin.
29462
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:
29475
29476 2011-09-26  Fady Samuel  <fsamuel@chromium.org>
29477
29478         Removed an unnecessary include in WebFrameImpl
29479         https://bugs.webkit.org/show_bug.cgi?id=68834
29480
29481         Reviewed by Darin Fisher.
29482
29483         * src/WebFrameImpl.cpp:
29484
29485 2011-09-26  Mihai Parparita  <mihaip@chromium.org>
29486
29487         Fix copy and paste error in r96002.
29488
29489         * tests/InnerGestureRecognizerTest.cpp:
29490         (TEST_F):
29491
29492 2011-09-26  Mihai Parparita  <mihaip@chromium.org>
29493
29494         Disable Chromium gesture recognizer tests that started to fail on the
29495         Mac bots recently.
29496
29497         * tests/InnerGestureRecognizerTest.cpp:
29498         (TEST_F):
29499
29500 2011-09-26  W. James MacLean  <wjmaclean@chromium.org>
29501
29502         [chromium] Revise zoom animator backend to use full transform instead of just scale.
29503         https://bugs.webkit.org/show_bug.cgi?id=68535
29504
29505         Reviewed by Kenneth Russell.
29506
29507         * src/WebViewImpl.cpp:
29508         (WebKit::WebViewImpl::setZoomLevel):
29509         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
29510
29511 2011-09-26  Sheriff Bot  <webkit.review.bot@gmail.com>
29512
29513         Unreviewed, rolling out r95256.
29514         http://trac.webkit.org/changeset/95256
29515         https://bugs.webkit.org/show_bug.cgi?id=68814
29516
29517         Temporary CRASH calls no longer needed (Requested by enne on
29518         #webkit).
29519
29520         * src/WebViewImpl.cpp:
29521         (WebKit::WebViewImpl::composite):
29522
29523 2011-09-26  Sheriff Bot  <webkit.review.bot@gmail.com>
29524
29525         Unreviewed.  Rolled DEPS.
29526
29527         * DEPS:
29528
29529 2011-09-24  Adam Barth  <abarth@webkit.org>
29530
29531         Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
29532         https://bugs.webkit.org/show_bug.cgi?id=68767
29533
29534         Reviewed by Eric Seidel.
29535
29536         * features.gypi:
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):
29548
29549 2011-09-23  Adam Klein  <adamk@chromium.org>
29550
29551         Add ENABLE_MUTATION_OBSERVERS feature flag
29552         https://bugs.webkit.org/show_bug.cgi?id=68732
29553
29554         Reviewed by Ojan Vafai.
29555
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
29558
29559         * features.gypi:
29560
29561 2011-09-23  Jay Civelli  <jcivelli@chromium.org>
29562
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
29566
29567         Reviewed by Darin Fisher.
29568
29569         * public/WebBlob.h:
29570
29571 2011-09-23  Varun Jain  <varunjain@google.com>
29572
29573         Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests 
29574         https://bugs.webkit.org/show_bug.cgi?id=68198
29575
29576         Reviewed by Dimitri Glazkov.
29577
29578         * public/WebView.h:
29579         (WebKit::WebView::scrollFocusedNodeIntoRect):
29580         * src/WebViewImpl.cpp:
29581         (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
29582
29583 2011-09-23  Mihai Parparita  <mihaip@chromium.org>
29584
29585         Unreviewed, rolling out r95860.
29586         http://trac.webkit.org/changeset/95860
29587         https://bugs.webkit.org/show_bug.cgi?id=68648
29588
29589         Breaks overhang rendering on Chromium Mac
29590
29591         * features.gypi:
29592
29593 2011-09-23  Adam Klein  <adamk@chromium.org>
29594
29595         [chromium] Remove WEBWIDGET_HAS_ANIMATE_CHANGES #define
29596         https://bugs.webkit.org/show_bug.cgi?id=68720
29597
29598         Reviewed by James Robinson.
29599
29600         References to this macro were removed in http://crrev.com/102314.
29601
29602         * public/WebWidget.h:
29603
29604 2011-09-23  Stephen Chenney  <schenney@chromium.org>
29605
29606         [Chromium] Crash in WebCore::DatabaseObserver
29607         https://bugs.webkit.org/show_bug.cgi?id=67805
29608
29609         Reviewed by David Levin.
29610
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.
29619
29620 2011-09-23  Scott Graham  <scottmg@chromium.org>
29621
29622         occasional crash in Chromium in dispatching keyEvent
29623         https://bugs.webkit.org/show_bug.cgi?id=67941
29624
29625         Reviewed by Darin Fisher.
29626
29627         Use focusedWebCoreNode() to handle null document for frame when
29628         retrieving focused node in handling keyEvent.
29629
29630         * src/WebViewImpl.cpp:
29631         (WebKit::WebViewImpl::keyEvent):
29632
29633 2011-09-23  Fady Samuel  <fsamuel@chromium.org>
29634
29635         Refactor paintOverhangAreas to allow non-Mac Chromium platforms to reuse code
29636         https://bugs.webkit.org/show_bug.cgi?id=68648
29637
29638         Reviewed by Dimitri Glazkov.
29639
29640         * features.gypi:
29641
29642 2011-09-23  Elliot Poger  <epoger@google.com>
29643
29644         update layout_tests to account for new default of use_skia=1
29645         https://bugs.webkit.org/show_bug.cgi?id=68698
29646
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
29650         Core Graphics).
29651
29652         Also updates layout_test code to work with that change.
29653
29654         Reviewed by Mihai Parparita.
29655
29656         * DEPS:
29657
29658 2011-09-22  Sheriff Bot  <webkit.review.bot@gmail.com>
29659
29660         Unreviewed.  Rolled DEPS.
29661
29662         * DEPS:
29663
29664 2011-09-22  James Robinson  <jamesr@chromium.org>
29665
29666         Unreviewed, rolling out r95699.
29667         http://trac.webkit.org/changeset/95699
29668         https://bugs.webkit.org/show_bug.cgi?id=67417
29669
29670         Makes many chromium compositor tests crash
29671
29672         * tests/CCLayerTreeHostTest.cpp:
29673         (WTF::CCLayerTreeHostTest::doBeginTest):
29674         (WTF::TEST_F):
29675         * tests/TreeSynchronizerTest.cpp:
29676         (WebCore::TEST):
29677
29678 2011-09-22  Nat Duca  <nduca@chromium.org>
29679
29680         [chromium] Make CCThreadProxy draw
29681         https://bugs.webkit.org/show_bug.cgi?id=67417
29682
29683         Disable CCLayerTreeHostTest temporarily. Will re-enable
29684         with https://bugs.webkit.org/show_bug.cgi?id=67418
29685
29686         Reviewed by James Robinson.
29687
29688         * tests/CCLayerTreeHostTest.cpp:
29689
29690 2011-09-21  Joshua Bell  <jsbell@chromium.org>
29691
29692         Implement WebKit side of IDBFactory::getDatabaseNames
29693         https://bugs.webkit.org/show_bug.cgi?id=68037
29694
29695         Reviewed by Tony Chang.
29696
29697         Interface changes and stub implementations for
29698         new IndexedDB IDBFactory.getDatabaseNames. This is
29699         part one of a two-sided patch.
29700
29701         * public/WebIDBCallbacks.h:
29702         (WebKit::WebIDBCallbacks::onSuccess):
29703         * public/WebIDBFactory.h:
29704         (WebKit::WebIDBFactory::getDatabaseNames):
29705
29706 2011-09-21  Robert Kroeger  <rjkroege@chromium.org>
29707
29708         [chromium] Code cleanup in gesture recognizer unit tests
29709         https://bugs.webkit.org/show_bug.cgi?id=68561
29710
29711         Fix some style nits in the gesture recognizer unit tests.
29712
29713         Reviewed by David Levin.
29714
29715         * tests/InnerGestureRecognizerTest.cpp:
29716         (InspectableGestureRecognizerChromium::stubEdgeFunction):
29717         (BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
29718         (TEST_F):
29719
29720 2011-09-21  Aaron Boodman  <aa@chromium.org>
29721
29722         Remove old and busted context notification APIs
29723         https://bugs.webkit.org/show_bug.cgi?id=68381
29724
29725         Reviewed by David Levin.
29726
29727         * public/WebFrameClient.h:
29728         * src/FrameLoaderClientImpl.cpp:
29729         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
29730         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
29731
29732 2011-09-21  Xianzhu Wang  <wangxianzhu@chromium.org>
29733
29734         Ensure TestWebKitAPI works on mac, win, chromium-mac and chromium-linux
29735         https://bugs.webkit.org/show_bug.cgi?id=68206
29736
29737         Reviewed by Tony Chang.
29738
29739         * WebKit.gyp:
29740
29741 2011-09-21  chandra shekar vallala  <chandra.vallala@gmail.com>
29742
29743         [chromium]ClearFocusedNode doesn't clear the cursor or selection in editable div element.
29744         https://bugs.webkit.org/show_bug.cgi?id=68351
29745
29746         Reviewed by Darin Fisher.
29747
29748         * src/WebViewImpl.cpp:
29749         (WebKit::WebViewImpl::clearFocusedNode):
29750
29751 2011-09-20  Jay Civelli  <jcivelli@chromium.org>
29752
29753         This CL makes it possible to create a blob from Chromium.
29754         https://bugs.webkit.org/show_bug.cgi?id=68286
29755
29756         Reviewed by Darin Fisher.
29757
29758         * WebKit.gyp:
29759         * public/WebBlob.h: Added.
29760         * src/WebBlob.cpp: Added.
29761
29762 2011-09-20  Jochen Eisinger  <jochen@chromium.org>
29763
29764         [chromium] remove obsolete WebPermissionClient::allowImages method
29765         https://bugs.webkit.org/show_bug.cgi?id=68380
29766
29767         Reviewed by Darin Fisher.
29768
29769         * DEPS:
29770         * public/WebPermissionClient.h:
29771         (WebKit::WebPermissionClient::allowImage):
29772
29773 2011-09-20  Aaron Boodman  <aa@chromium.org>
29774
29775         Rework script context creation/release notifications
29776         https://bugs.webkit.org/show_bug.cgi?id=67828
29777
29778         Reviewed by Adam Barth.
29779
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:
29789         (WebKit::TEST_F):
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.
29799
29800 2011-09-19  Geoffrey Garen  <ggaren@apple.com>
29801
29802         Removed ENABLE_JSC_MULTIPLE_THREADS and related #ifdefs.
29803         https://bugs.webkit.org/show_bug.cgi?id=68422
29804
29805         Missed this one case before.
29806
29807         * features.gypi:
29808
29809 2011-09-19  Raymond Toy  <rtoy@google.com>
29810
29811         Ask for audio hardware buffer size instead of using hardwired constants.
29812         https://bugs.webkit.org/show_bug.cgi?id=67952
29813
29814         Reviewed by Kenneth Russell.
29815
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
29831
29832 2011-09-19  Adam Barth  <abarth@webkit.org>
29833
29834         Always enable ENABLE(EVENTSOURCE)
29835         https://bugs.webkit.org/show_bug.cgi?id=68414
29836
29837         Reviewed by Eric Seidel.
29838
29839         * features.gypi:
29840
29841 2011-09-19  Robert Kroeger  <rjkroege@chromium.org>
29842
29843         Suppress flakey test on windows in Chromium gesture recognizer
29844         https://bugs.webkit.org/show_bug.cgi?id=68408
29845
29846         Reviewed by Adam Barth.
29847
29848         * tests/InnerGestureRecognizerTest.cpp:
29849         (TEST_F):
29850
29851 2011-09-19  Dominic Mazzoni  <dmazzoni@google.com>
29852
29853         Expose AXObjectCache methods so that WebAccessibilityCache
29854         can be deleted.
29855         https://bugs.webkit.org/show_bug.cgi?id=68225
29856
29857         Reviewed by Dimitri Glazkov.
29858
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.
29864
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):
29874
29875 2011-09-19  Bill Budge  <bbudge@chromium.org>
29876
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
29884
29885         Reviewed by Darin Fisher.
29886
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):
29896         (WebKit::TEST_F):
29897
29898 2011-09-19  Adam Barth  <abarth@webkit.org>
29899
29900         Rename ENABLE(OPENTYPE_SANITIZER) to USE(OPENTYPE_SANITIZER)
29901         https://bugs.webkit.org/show_bug.cgi?id=68292
29902
29903         Reviewed by Eric Seidel.
29904
29905         * features.gypi:
29906
29907 2011-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
29908
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
29913
29914         Broke chromium browser_tests (Requested by dslomov on
29915         #webkit).
29916
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:
29925         (WebKit::TEST_F):
29926         * tests/data/context_notifications_test.html: Removed.
29927         * tests/data/context_notifications_test_frame.html: Removed.
29928
29929 2011-09-19  Aaron Boodman  <aa@chromium.org>
29930
29931         r95385 broke Chromium. Fix it.
29932         https://bugs.webkit.org/show_bug.cgi?id=68378
29933
29934         Unreviewed, build fix.
29935
29936         * src/FrameLoaderClientImpl.cpp:
29937         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
29938         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
29939
29940 2011-09-19  Jochen Eisinger  <jochen@chromium.org>
29941
29942         Unreviewed, build fix
29943
29944         It's not enough to disable clang plugins.
29945
29946         * gyp_webkit:
29947
29948 2011-09-19  Jochen Eisinger  <jochen@chromium.org>
29949
29950         [chromium] Disable clang when building chromium in WebKit
29951         https://bugs.webkit.org/show_bug.cgi?id=68343
29952
29953         Reviewed by Adam Barth.
29954
29955         * DEPS:
29956         * gyp_webkit:
29957
29958 2011-09-19  Robert Kroeger  <rjkroege@chromium.org>
29959
29960         [chromium] Gesture recognizer fires taptype only every other touch
29961         down/up sequence https://bugs.webkit.org/show_bug.cgi?id=68368
29962  
29963         Reviewed by Adam Barth.
29964
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.
29968
29969
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):
29975         (TEST_F):
29976
29977 2011-09-19  Peter Rybin  <peter.rybin@gmail.com>
29978
29979         TextPosition refactoring: Merge ZeroBasedNumber and OneBasedNumber classes
29980         https://bugs.webkit.org/show_bug.cgi?id=63541
29981
29982         Reviewed by Adam Barth.
29983
29984         * src/WebFrameImpl.cpp:
29985         (WebKit::WebFrameImpl::executeScript):
29986         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
29987         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
29988
29989 2011-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
29990
29991         Unreviewed, rolling out r95416.
29992         http://trac.webkit.org/changeset/95416
29993         https://bugs.webkit.org/show_bug.cgi?id=68367
29994
29995         Broke chromium-mac (Requested by beverloo on #webkit).
29996
29997         * DEPS:
29998
29999 2011-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
30000
30001         Unreviewed.  Rolled DEPS.
30002
30003         * DEPS:
30004
30005 2011-09-19  Ilya Tikhonovsky  <loislo@chromium.org>
30006
30007         Web Inspector: extend timeline coverage.
30008         https://bugs.webkit.org/show_bug.cgi?id=68260
30009
30010         Another place with js function call from native.
30011
30012         Reviewed by Pavel Feldman.
30013
30014         * src/WebDevToolsFrontendImpl.cpp:
30015         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
30016
30017 2011-09-17  Mihai Parparita  <mihaip@chromium.org>
30018
30019         FrameLoaderClient BackForwardList-related methods are unsued
30020         https://bugs.webkit.org/show_bug.cgi?id=68293
30021
30022         Reviewed by Darin Adler.
30023
30024         Remove FrameLoaderClient methods that were added by r51629, since only        
30025         the old (since-deleted) Android port needed them.
30026
30027         * src/FrameLoaderClientImpl.cpp:
30028         * src/FrameLoaderClientImpl.h:
30029
30030 2011-09-17  Aaron Boodman  <aa@chromium.org>
30031
30032         Rework script context creation/release notifications
30033         https://bugs.webkit.org/show_bug.cgi?id=67828
30034
30035         Reviewed by Adam Barth.
30036
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:
30045
30046 2011-09-17  chandra shekar vallala  <chandra.vallala@motorola.com>
30047
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
30050
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.
30054
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.
30061
30062 2011-09-16  Adam Barth  <abarth@webkit.org>
30063
30064         Rename ENABLE(LEVELDB) to USE(LEVELDB)
30065         https://bugs.webkit.org/show_bug.cgi?id=68290
30066
30067         Reviewed by Darin Adler.
30068
30069         * features.gypi:
30070         * tests/IDBLevelDBCodingTest.cpp:
30071
30072 2011-09-16  Jochen Eisinger  <jochen@chromium.org>
30073
30074         Rename FrameLoaderClient::allowImages to FrameLoaderClient::allowImage and include the image URL as parameter
30075         https://bugs.webkit.org/show_bug.cgi?id=68071
30076
30077         Reviewed by Adam Barth.
30078
30079         * public/WebPermissionClient.h:
30080         (WebKit::WebPermissionClient::allowImage):
30081         * src/FrameLoaderClientImpl.cpp:
30082         (WebKit::FrameLoaderClientImpl::allowImage):
30083         * src/FrameLoaderClientImpl.h:
30084
30085 2011-09-16  Dmitry Lomov  <dslomov@google.com>
30086
30087         https://bugs.webkit.org/show_bug.cgi?id=67733
30088         [Chromium] Separate WebKit initialization and V8 initialization in chromium port.
30089
30090         Reviewed by Darin Fisher.
30091
30092         * public/WebKit.h:
30093         * src/WebKit.cpp:
30094         (WebKit::initialize):
30095         (WebKit::initializeWithoutV8):
30096
30097 2011-09-16  Vincent Scheib  <scheib@chromium.org>
30098
30099         [Chromium] Add movementX/Y members to WebMouseEvent
30100         https://bugs.webkit.org/show_bug.cgi?id=68174
30101
30102         Reviewed by Dimitri Glazkov.
30103
30104         * public/WebInputEvent.h:
30105         (WebKit::WebMouseEvent::WebMouseEvent):
30106
30107 2011-09-16  Nat Duca  <nduca@chromium.org>
30108
30109         [chromium] Create WebGL layer for graphics contexts on demand
30110         https://bugs.webkit.org/show_bug.cgi?id=68288
30111
30112         Reviewed by James Robinson.
30113
30114         * src/GraphicsContext3DChromium.cpp:
30115         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
30116         (WebCore::GraphicsContext3DPrivate::platformLayer):
30117         * src/GraphicsContext3DPrivate.h:
30118
30119 2011-09-16  chandra shekar v  <chandra.vallala@motorola.com>
30120
30121         [chromium] compilation failed in target 'webkit_unit_tests'.
30122         https://bugs.webkit.org/show_bug.cgi?id=68078
30123
30124         Reviewed by Adam Barth.
30125
30126         * tests/WebFrameTest.cpp:
30127         (WebKit::TestReloadDoesntRedirectWebFrameClient::decidePolicyForNavigation):
30128
30129 2011-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
30130
30131         Unreviewed, rolling out r95312.
30132         http://trac.webkit.org/changeset/95312
30133         https://bugs.webkit.org/show_bug.cgi?id=68277
30134
30135         It's innocent, innocent I tell you! (Requested by jamesr_ on
30136         #webkit).
30137
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):
30188
30189 2011-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
30190
30191         Unreviewed, rolling out r95309.
30192         http://trac.webkit.org/changeset/95309
30193         https://bugs.webkit.org/show_bug.cgi?id=68271
30194
30195         Broke many chromium gpu tests. (Requested by dave_levin on
30196         #webkit).
30197
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):
30249
30250 2011-09-16  Iain Merrick  <husky@google.com>
30251
30252         [chromium] Fix CCLayerTreeHostTest
30253         https://bugs.webkit.org/show_bug.cgi?id=67418
30254
30255         Fixes needed to compile and link with USE_THREADED_COMPOSITING
30256         enabled, and to pass the basic unit test.
30257
30258         Reviewed by James Robinson.
30259
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):
30306
30307 2011-09-16  Andrey Kosyakov  <caseq@chromium.org>
30308
30309         Web Inspector: [Extensions API] support extensions for remote inspector front-end
30310         https://bugs.webkit.org/show_bug.cgi?id=67840
30311
30312         Reviewed by Pavel Feldman.
30313
30314         - expose extension API as a single, standalone file for easy reuse in remote extension scripts.
30315
30316         * WebKit.gyp:
30317         * scripts/generate_devtools_extension_api.py: Added.
30318         * scripts/generate_devtools_zip.py:
30319
30320 2011-09-16  Ilya Tikhonovsky  <loislo@chromium.org>
30321
30322         Web Inspector: change WebInspector.currentPanel getter/setter to functions.
30323         https://bugs.webkit.org/show_bug.cgi?id=68242
30324
30325         This is necessary for the panel switching performance tests.
30326
30327         Reviewed by Pavel Feldman.
30328
30329         * src/js/Tests.js:
30330         (.TestSuite.prototype.showPanel):
30331
30332 2011-09-15  Adam Barth  <abarth@webkit.org>
30333
30334         Sigh.  Missed this one.
30335
30336         * features.gypi:
30337 2011-09-15  Adam Barth  <abarth@webkit.org>
30338
30339         Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
30340         https://bugs.webkit.org/show_bug.cgi?id=68205
30341
30342         Reviewed by Eric Seidel.
30343
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):
30353
30354 2011-09-15  Adrienne Walker  <enne@google.com>
30355
30356         [chromium] Add temporary diagnostics for LayerTreeHost::commitTo crash
30357         https://bugs.webkit.org/show_bug.cgi?id=68204
30358
30359         Reviewed by James Robinson.
30360
30361         Add CRASH calls to determine which assumptions are being violated.
30362
30363         * src/WebViewImpl.cpp:
30364         (WebKit::WebViewImpl::composite):
30365
30366 2011-09-15  David Levin  <levin@chromium.org>
30367
30368         Remove TestWebKitAPI from the chromium build until it is made to work
30369         with the shared component build.
30370
30371         * WebKit.gyp:
30372
30373 2011-09-15  Eric Seidel  <eric@webkit.org>
30374
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
30377
30378         Reviewed by Adam Barth.
30379
30380         * features.gypi:
30381
30382 2011-09-15  Jon Lee  <jonlee@apple.com>
30383
30384         Submitting a form with target=_blank works only once
30385         https://bugs.webkit.org/show_bug.cgi?id=28633
30386         <rdar://problem/7357787>
30387
30388         Reviewed by Andy Estes.
30389
30390         * src/WebViewImpl.cpp:
30391         (WebKit::WebViewImpl::mouseDown): Remove call to resetMultipleFormSubmissionProtection() since
30392         it will be made in platform-independent function EventHandler::handleMousePressEvent().
30393
30394 2011-09-15  Eric Seidel  <eric@webkit.org>
30395
30396         Remove ENABLE_SVG_ANIMATION as all major ports have it on by default
30397         https://bugs.webkit.org/show_bug.cgi?id=68022
30398
30399         Reviewed by Ryosuke Niwa.
30400
30401         * features.gypi:
30402
30403 2011-09-15  James Simonsen  <simonjam@chromium.org>
30404
30405         Ref protect HTMLObjectElement and HTMLEmbedElement while requesting plugins
30406         https://bugs.webkit.org/show_bug.cgi?id=68014
30407
30408         Reviewed by Adam Barth.
30409
30410         * src/FrameLoaderClientImpl.cpp:
30411         (WebKit::FrameLoaderClientImpl::createPlugin): Moved protection up to HTMLObjectElement and HTMLEmbedElement.
30412
30413 2011-09-15  David Levin  <levin@chromium.org>
30414
30415         [chromium] Attempt to fix the shared build after r95188.
30416
30417         * WebKit.gyp:
30418
30419 2011-09-15  Brian Salomon  <bsalomon@google.com>
30420
30421         [Skia/Chrome] 
30422         https://bugs.webkit.org/show_bug.cgi?id=68096
30423
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.
30427
30428         Reviewed by Stephen White.
30429
30430         * public/WebGraphicsContext3D.h:
30431         * src/GraphicsContext3DChromium.cpp:
30432         (WebCore::GraphicsContext3DPrivate::grContext):
30433         * src/WebGraphicsContext3D.cpp:
30434         (WebKit::WebGraphicsContext3D::createGrGLInterface):
30435
30436 2011-09-15  Xianzhu Wang  <wangxianzhu@chromium.org>
30437
30438         Let TestWebKitAPI work for chromium
30439         https://bugs.webkit.org/show_bug.cgi?id=67756
30440
30441         Reviewed by Sam Weinig.
30442
30443         * WebKit.gyp:
30444
30445 2011-09-14  Hao Zheng  <zhenghao@chromium.org>
30446
30447         Remove some dependencies of DRT for Android.
30448         https://bugs.webkit.org/show_bug.cgi?id=68126
30449
30450         Reviewed by Tony Chang.
30451
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.
30454
30455         * WebKit.gyp:
30456
30457 2011-09-14  Peter Beverloo  <peter@chromium.org>
30458
30459         [Chromium] Make WEB_AUDIO conditional and fix the build when disabled
30460         https://bugs.webkit.org/show_bug.cgi?id=68107
30461
30462         Reviewed by Kenneth Russell.
30463
30464         * features.gypi:
30465         * src/WebMediaPlayerClientImpl.cpp:
30466         (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
30467         * src/WebMediaPlayerClientImpl.h:
30468
30469 2011-09-14  John Bauman  <jbauman@chromium.org>
30470
30471         [chromium] Return correct value for getContextAttributes().preserveDrawingBuffer
30472         https://bugs.webkit.org/show_bug.cgi?id=68082
30473
30474         Reviewed by Kenneth Russell.
30475
30476         WebKit::WebGraphicsContext3D::Attributes doesn't save
30477         preserveDrawingBuffer, so that has to be saving in
30478         GraphicsContext3DPrivate.
30479
30480         * src/GraphicsContext3DChromium.cpp:
30481         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
30482         (WebCore::GraphicsContext3DPrivate::create):
30483         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
30484         (WebCore::GraphicsContext3DPrivate::getContextAttributes):
30485         * src/GraphicsContext3DPrivate.h:
30486
30487 2011-09-14  Antoine Labour  <piman@chromium.org>
30488
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
30493
30494         Reviewed by James Robinson.
30495
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:
30503
30504 2011-09-14  Nebojsa Ciric  <cira@chromium.org>
30505
30506         Changed WebKit.gyp to use the new grit version of the scripts that handle
30507         .pak files.
30508         https://bugs.webkit.org/show_bug.cgi?id=68013
30509
30510         Reviewed by Tony Chang.
30511
30512         * DEPS:
30513         * WebKit.gyp:
30514
30515 2011-09-14  Anders Carlsson  <andersca@apple.com>
30516
30517         Fix Chromium build.
30518
30519         * src/ResourceHandle.cpp:
30520
30521 2011-09-13  Eric Seidel  <eric@webkit.org>
30522
30523         Remove ENABLE_SVG_USE as <use> is required by HTML5
30524         https://bugs.webkit.org/show_bug.cgi?id=68019
30525
30526         Reviewed by Ryosuke Niwa.
30527
30528         * features.gypi:
30529
30530 2011-09-13  Adam Barth  <abarth@webkit.org>
30531
30532         [Chromium] The checked state of WebPopupMenuItem isn't initialized
30533         https://bugs.webkit.org/show_bug.cgi?id=67889
30534
30535         Reviewed by Darin Fisher.
30536
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.
30540
30541         * src/ExternalPopupMenu.cpp:
30542         (WebKit::ExternalPopupMenu::getPopupMenuInfo):
30543
30544 2011-09-13  Eric Seidel  <eric@webkit.org>
30545
30546         Remove ENABLE_SVG_FOREIGN_OBJECT as it is a required part of HTML5
30547         https://bugs.webkit.org/show_bug.cgi?id=68018
30548
30549         Reviewed by Ryosuke Niwa.
30550
30551         * features.gypi:
30552
30553 2011-09-13  James Simonsen  <simonjam@chromium.org>
30554
30555         [Chromium] Ref protect element in FrameLoaderClientImpl::createPlugin
30556         https://bugs.webkit.org/show_bug.cgi?id=68014
30557
30558         Reviewed by Nate Chapin.
30559
30560         Test: plugins/destroy-during-npp-new.htm under valgrind
30561
30562         * src/FrameLoaderClientImpl.cpp:
30563         (WebKit::FrameLoaderClientImpl::createPlugin):
30564
30565 2011-09-13  Sheriff Bot  <webkit.review.bot@gmail.com>
30566
30567         Unreviewed.  Rolled DEPS.
30568
30569         * DEPS:
30570
30571 2011-09-12  Fumitoshi Ukai  <ukai@chromium.org>
30572
30573         Unreviewed. Roll DEPS again.
30574
30575         * DEPS:
30576
30577 2011-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
30578
30579         Unreviewed, rolling out r95015.
30580         http://trac.webkit.org/changeset/95015
30581         https://bugs.webkit.org/show_bug.cgi?id=67987
30582
30583         compiled failed on Chromium Win bot (Requested by ukai on
30584         #webkit).
30585
30586         * DEPS:
30587
30588 2011-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
30589
30590         Unreviewed.  Rolled DEPS.
30591
30592         * DEPS:
30593
30594 2011-09-12  David Levin  <levin@chromium.org>
30595
30596         [chromium] Remove AllowCrossThreadAccess for WorkerFileWriterCallbacksBridge.
30597         https://bugs.webkit.org/show_bug.cgi?id=67943
30598
30599         Reviewed by Adam Barth.
30600
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):
30616
30617 2011-09-08  Nat Duca  <nduca@chromium.org>
30618
30619         [chromium] Add GraphicsContext3DPrivate:createGraphicsContextForAnotherThread
30620         https://bugs.webkit.org/show_bug.cgi?id=67832
30621
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.
30629
30630         Reviewed by Kenneth Russell.
30631
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:
30641         (TEST):
30642
30643 2011-09-11  Jeremy Moskovich  <jeremy@chromium.org>
30644
30645         [Chromium] Change OOP Font loading code to use CGFont*() APIs.
30646         https://bugs.webkit.org/show_bug.cgi?id=66935
30647
30648         This change is necessary due a bug in ATSFontDeactivate() on 10.7.
30649         See crbug.com/93191 for details.
30650
30651         Reviewed by Eric Seidel.
30652
30653         * public/mac/WebSandboxSupport.h:
30654         * src/PlatformBridge.cpp:
30655         (WebCore::PlatformBridge::loadFont):
30656
30657 2011-09-11  Adam Barth  <abarth@webkit.org>
30658
30659         [Chromium] Add more key codes to WebInputEvent for Android
30660         https://bugs.webkit.org/show_bug.cgi?id=67887
30661
30662         Reviewed by Darin Fisher.
30663
30664         * src/WebInputEvent.cpp:
30665         (WebKit::staticKeyIdentifiers):
30666
30667 2011-09-09  Fady Samuel  <fsamuel@chromium.org>
30668
30669         Move pageScaleFactor code from Frame.{h|cpp} to Page.{h|cpp}
30670         https://bugs.webkit.org/show_bug.cgi?id=67250
30671
30672         Reviewed by Simon Fraser.
30673
30674         * src/WebViewImpl.cpp:
30675         (WebKit::WebViewImpl::pageScaleFactor):
30676         (WebKit::WebViewImpl::scalePage):
30677
30678 2011-09-09  Hao Zheng  <zhenghao@chromium.org>
30679
30680         [chromium] Implement DRT support for Android.
30681         https://bugs.webkit.org/show_bug.cgi?id=67590
30682
30683         Reviewed by Tony Chang.
30684
30685         Exclude Android specific files of DRT from other platforms.
30686
30687         * WebKit.gyp:
30688
30689 2011-09-09  Hao Zheng  <zhenghao@chromium.org>
30690
30691         [Chromium] Add WebSandboxSupport and WebThemeEngine for Android.
30692         https://bugs.webkit.org/show_bug.cgi?id=67584
30693
30694         Reviewed by Steve Block.
30695
30696         Make src/PlatformSupport.cpp and src/WebFrameImpl.cpp compile on
30697         Chromium port for Android.
30698
30699         * WebKit.gyp:
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:
30709
30710 2011-09-09  Martin Kosiba  <mkosiba@chromium.org>
30711
30712         Exposing the isLink method on WebNode for the Chromium port on Android.
30713
30714         Reviewed by Darin Fisher.
30715
30716         * public/WebNode.h:
30717         * src/WebNode.cpp:
30718         (WebKit::WebNode::isLink):
30719
30720 2011-09-08  Adam Barth  <abarth@webkit.org>
30721
30722         Another attempt to fix the Chromium build.  (Missed one.)
30723
30724         * src/WebPageSerializerImpl.cpp:
30725         (WebKit::WebPageSerializerImpl::serialize):
30726
30727 2011-09-08  Adam Barth  <abarth@webkit.org>
30728
30729         Attempt to fix Chromium build.  We can just grab the encoding from the document.
30730
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):
30741
30742 2011-09-08  W. James MacLean  <wjmaclean@chromium.org>
30743
30744         [chromium] Add backend compositor support for rescaling (zooming) textures during zoom animation.
30745         https://bugs.webkit.org/show_bug.cgi?id=66472
30746
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.
30749
30750         Reviewed by James Robinson.
30751
30752         * src/WebViewImpl.cpp:
30753         (WebKit::WebViewImpl::setZoomLevel):
30754         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
30755
30756 2011-09-08  Scott Byer  <scottbyer@chromium.org>
30757
30758         Compile in ScrollAnimator for Chromium on all platforms by default.
30759         https://bugs.webkit.org/show_bug.cgi?id=67650
30760
30761         Reviewed by Adam Barth.
30762
30763         * features.gypi:
30764
30765 2011-09-07  Adam Barth  <abarth@webkit.org>
30766
30767         FrameLoader::addExtraFieldsToRequest can crash when called from or after FrameLoader::detachFromParent
30768         https://bugs.webkit.org/show_bug.cgi?id=61810
30769
30770         Reviewed by Eric Seidel.
30771
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
30777         have failed.  :(
30778
30779         * src/WebPluginContainerImpl.cpp:
30780         (WebKit::WebPluginContainerImpl::loadFrameRequest):
30781
30782 2011-09-07  Eric Boren  <borenet@gmail.com>
30783
30784         [Chromium] Modify WebTouchEvent structure to match WebCore::TouchEvent
30785         https://bugs.webkit.org/show_bug.cgi?id=66800
30786
30787         Reviewed by Darin Fisher.
30788
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:
30797
30798 2011-09-07  Sheriff Bot  <webkit.review.bot@gmail.com>
30799
30800         Unreviewed, rolling out r94635.
30801         http://trac.webkit.org/changeset/94635
30802         https://bugs.webkit.org/show_bug.cgi?id=67704
30803
30804         Linux Touch build is failing to compile this change.
30805         (Requested by loislo on #webkit).
30806
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:
30817
30818 2011-09-05  Yury Semikhatsky  <yurys@chromium.org>
30819
30820         [Chromium] Web Inspector: repair console sniffing for interactive ui tests
30821         https://bugs.webkit.org/show_bug.cgi?id=67608
30822
30823         Reviewed by Pavel Feldman.
30824
30825         * src/js/Tests.js:
30826         (.TestSuite.prototype.evaluateInConsole_):
30827
30828 2011-09-06  Eric Boren  <borenet@gmail.com>
30829
30830         [Chromium] Modify WebTouchEvent structure to match WebCore::TouchEvent
30831         https://bugs.webkit.org/show_bug.cgi?id=66800
30832
30833         Reviewed by Darin Fisher.
30834
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:
30843
30844 2011-09-06  Ben Smith  <binji@chromium.org>
30845
30846         [chromium] Fix WebFrameClient receiving isRedirect when reloading
30847         https://bugs.webkit.org/show_bug.cgi?id=63591
30848
30849         Reviewed by Adam Barth.
30850
30851         Fix bug when quickly reloading a WebFrame where the
30852         WebFrameClient would get called with decidePolicyForNavigation
30853         isRedirect=true.
30854
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):
30862         (WebKit::TEST_F):
30863
30864 2011-09-06  Ryosuke Niwa  <rniwa@webkit.org>
30865
30866         Rename confirmCompositionWithoutDisturbingSelection to cancelComposition
30867         https://bugs.webkit.org/show_bug.cgi?id=67569
30868
30869         Reviewed by Antonio Gomes.
30870
30871         * src/WebFrameImpl.cpp:
30872         (WebKit::WebFrameImpl::unmarkText):
30873
30874 2011-09-06  Adam Barth  <abarth@webkit.org>
30875
30876         [Chromium] Add WebFloatQuad.h for Android
30877         https://bugs.webkit.org/show_bug.cgi?id=67573
30878
30879         Reviewed by Darin Fisher.
30880
30881         Android uses this wrapper of WebCore::FloatQuad in some API methods
30882         (which will appear in subsequent patches).
30883
30884         * WebKit.gyp:
30885         * public/WebFloatQuad.h: Added.
30886         * src/WebFloatQuad.cpp: Added.
30887
30888 2011-09-06  Adam Barth  <abarth@webkit.org>
30889
30890         [Chromium] Add didAcceptIndices to ExternalPopupMenuClient for Android
30891         https://bugs.webkit.org/show_bug.cgi?id=67574
30892
30893         Reviewed by Darin Fisher.
30894
30895         In Android, external popup menus can admit multiple selection (e.g.,
30896         for listboxes presented using external UI).
30897
30898         * public/WebExternalPopupMenuClient.h:
30899         * src/ExternalPopupMenu.cpp:
30900         (WebKit::ExternalPopupMenu::didAcceptIndices):
30901         * src/ExternalPopupMenu.h:
30902
30903 2011-09-06  Aaron Colwell  <acolwell@chromium.org>
30904
30905         Allow MediaSource API to be enabled at runtime.
30906         https://bugs.webkit.org/show_bug.cgi?id=67306
30907
30908         Reviewed by Eric Carlson.
30909
30910         * public/WebRuntimeFeatures.h:
30911         * src/WebRuntimeFeatures.cpp:
30912         (WebKit::WebRuntimeFeatures::enableMediaSource):
30913         (WebKit::WebRuntimeFeatures::isMediaSourceEnabled):
30914
30915 2011-09-06  Ryosuke Niwa  <rniwa@webkit.org>
30916
30917         REGRESSION(r94274): FormManagerTest.PreviewForm and FillFormNonEmptyField fail on chromium
30918         https://bugs.webkit.org/show_bug.cgi?id=67453
30919
30920         Reviewed by Kent Tamura.
30921
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.
30924
30925         * src/WebNode.cpp:
30926         (WebKit::WebNode::isFocusable):
30927
30928 2011-09-04  Adam Barth  <abarth@webkit.org>
30929
30930         [Chromium] Add mutliple to WebPopupMenuInfo for Android
30931         https://bugs.webkit.org/show_bug.cgi?id=67576
30932
30933         Reviewed by Darin Fisher.
30934
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.)
30937
30938         * public/WebPopupMenuInfo.h:
30939         * src/ExternalPopupMenu.cpp:
30940         (WebKit::ExternalPopupMenu::getPopupMenuInfo):
30941
30942 2011-09-04  Adam Barth  <abarth@webkit.org>
30943
30944         [Chromium] Add memory threshold values to WebKitPlatformSupport.h
30945         https://bugs.webkit.org/show_bug.cgi?id=67575
30946
30947         Reviewed by Darin Fisher.
30948
30949         Instead of hard-coding these values, we now grab them from
30950         WebKitPlatformSupport because Android wishes to configure them on a
30951         per-device basis.
30952
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.
30959
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):
30968
30969 2011-09-02  Adam Barth  <abarth@webkit.org>
30970
30971         Remove WebKitClient.h
30972         https://bugs.webkit.org/show_bug.cgi?id=67539
30973
30974         Reviewed by Sam Weinig.
30975
30976         This API no longer has any callers.
30977
30978         * WebKit.gyp:
30979         * public/WebKit.h:
30980         * public/WebKitClient.h: Removed.
30981         * src/WebKit.cpp:
30982
30983 2011-09-02  Bill Budge  <bbudge@chromium.org>
30984
30985         Add a 'didDownloadData' method to ResourceHandleInternal and pass these
30986         notifications to WebURLLoaderClients.
30987         https://bugs.webkit.org/show_bug.cgi?id=67229
30988
30989         Reviewed by Darin Fisher.
30990
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:
30999
31000 2011-09-02  Peng Huang  <penghuang@chromium.org>
31001
31002         Need API for getting surrounding text from webkit in chromium
31003         https://bugs.webkit.org/show_bug.cgi?id=66681
31004
31005         Reviewed by Ryosuke Niwa.
31006
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.
31010
31011         * public/WebWidget.h:
31012         (WebKit::WebWidget::getSelectionOffsetsAndTextInEditableContent):
31013         * src/WebViewImpl.cpp:
31014         (WebKit::WebViewImpl::getSelectionOffsetsAndTextInEditableContent):
31015         * src/WebViewImpl.h:
31016
31017 2011-09-02  Sheriff Bot  <webkit.review.bot@gmail.com>
31018
31019         Unreviewed.  Rolled DEPS.
31020
31021         * DEPS:
31022
31023 2011-09-02  Adrienne Walker  <enne@google.com>
31024
31025         [chromium] Remove LayerRendererChromium references from the LayerChromium tree
31026         https://bugs.webkit.org/show_bug.cgi?id=66430
31027
31028         Reviewed by James Robinson.
31029
31030         Change references to LayerRendererChromium to CCLayerTreeHost.
31031
31032         * src/WebMediaPlayerClientImpl.cpp:
31033         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
31034
31035 2011-09-01  Robert Kroeger  <rjkroege@chromium.org>
31036
31037  
31038         [chromium] Code cleanup FIXME in Chromium recognizer
31039         https://bugs.webkit.org/show_bug.cgi?id=67448
31040
31041         Updated GestureRecognizer unit tests for more encapsulated
31042         gesture recognizer implementation.
31043
31044         Reviewed by Adam Barth.
31045
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):
31057         (TEST_F):
31058
31059 2011-09-01  Brian Salomon  <bsalomon@google.com>
31060
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
31063
31064         Reviewed by Kenneth Russell.
31065
31066         * WebKit.gyp:
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):
31073
31074 2011-08-29  Nat Duca  <nduca@chromium.org>
31075
31076         [chromium] Introduce CCSingleThreadProxy in order to move LayerRenderer to CCLayerTreeHostImpl
31077         https://bugs.webkit.org/show_bug.cgi?id=66807
31078
31079         Reviewed by James Robinson.
31080
31081         * src/WebViewImpl.cpp:
31082         (WebKit::WebViewImpl::composite):
31083         (WebKit::WebViewImpl::setRootGraphicsLayer):
31084         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
31085         (WebKit::WebViewImpl::didRecreateGraphicsContext):
31086         * tests/CCThreadTaskTest.cpp:
31087         (WebCore::TEST):
31088
31089 2011-09-01  Dominic Mazzoni  <dmazzoni@google.com>
31090
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
31094
31095         Reviewed by Dimitri Glazkov.
31096
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):
31104
31105 2011-08-31  Greg Billock  <gbillock@google.com>
31106
31107         Add pass-throughs for NPObject/v8::Value marshalling to WebBindings
31108         https://bugs.webkit.org/show_bug.cgi?id=67302
31109
31110         Reviewed by Darin Fisher.
31111
31112         * public/WebBindings.h:
31113         * src/WebBindings.cpp:
31114         (WebKit::WebBindings::toNPVariant):
31115         (WebKit::WebBindings::toV8Value):
31116         * src/WebSerializedScriptValue.cpp:
31117         (WebKit::WebSerializedScriptValue::serialize):
31118
31119 2011-08-31  Adam Barth  <abarth@webkit.org>
31120
31121         [Chromium] Rename PlatformBridge to PlatformSupport
31122         https://bugs.webkit.org/show_bug.cgi?id=67349
31123
31124         Reviewed by Darin Fisher.
31125
31126         This matches the WebKitPlatformSupport embedder API.
31127
31128         * WebKit.gyp:
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):
31142
31143 2011-08-31  Sailesh Agrawal  <sail@chromium.org>
31144
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
31147
31148         Reviewed by Darin Fisher.
31149
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.
31151
31152         This change pipes gesture events to WebPluginContainerImpl if possible. This fixes this bug.
31153
31154         * src/WebPluginContainerImpl.cpp:
31155         (WebKit::WebPluginContainerImpl::handleGestureEvent):
31156         * src/WebPluginContainerImpl.h:
31157         * src/WebViewImpl.cpp:
31158         (WebKit::WebViewImpl::gestureEvent):
31159
31160 2011-08-31  Sailesh Agrawal  <sail@chromium.org>
31161
31162         Chromium Mac: Add fallback for drawing PDF overhang area
31163         https://bugs.webkit.org/show_bug.cgi?id=66614
31164
31165         Reviewed by Darin Fisher.
31166
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.
31168
31169         * src/ChromeClientImpl.cpp:
31170         (WebKit::ChromeClientImpl::paintCustomOverhangArea):
31171         * src/ChromeClientImpl.h:
31172         * src/WebPluginContainerImpl.cpp:
31173         (WebKit::WebPluginContainerImpl::paintCustomOverhangArea):
31174         * src/WebPluginContainerImpl.h:
31175
31176 2011-08-31  James Weatherall  <wez@chromium.org>
31177
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
31182
31183         Reviewed by Darin Fisher.
31184
31185         * src/FrameLoaderClientImpl.cpp:
31186         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
31187
31188 2011-08-31  Adam Barth  <abarth@webkit.org>
31189
31190         [Chromium] Rename WebKitClient to WebKitPlatformSupport
31191         https://bugs.webkit.org/show_bug.cgi?id=67309
31192
31193         Reviewed by Darin Fisher.
31194
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.
31199
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.
31202
31203         * WebKit.gyp:
31204         * public/WebFrameClient.h:
31205         * public/WebKit.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:
31236         (WebCore::query):
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):
31338         * src/WebKit.cpp:
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:
31354
31355 2011-08-31  Sheriff Bot  <webkit.review.bot@gmail.com>
31356
31357         Unreviewed.  Rolled DEPS.
31358
31359         * DEPS:
31360
31361 2011-08-31  Nat Duca  <nduca@chromium.org>
31362
31363         [Chromium] Unreviewed, fix inconsistent WebKit.gypi after r94106
31364         https://bugs.webkit.org/show_bug.cgi?id=67288
31365
31366         * WebKit.gypi:
31367
31368 2011-08-30  Sheriff Bot  <webkit.review.bot@gmail.com>
31369
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
31376
31377         Broke isindex element (Requested by rniwa on #webkit).
31378
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):
31386
31387 2011-08-30  Ryosuke Niwa  <rniwa@webkit.org>
31388
31389         Chromium build fix after r94142.
31390
31391         * src/EditorClientImpl.cpp:
31392         (WebKit::EditorClientImpl::textFieldDidEndEditing):
31393         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
31394         * src/WebPasswordFormUtils.cpp:
31395         (WebKit::findPasswordFormFields):
31396
31397 2011-08-30  Ryosuke Niwa  <rniwa@webkit.org>
31398
31399         Get rid of toInputElement()
31400         https://bugs.webkit.org/show_bug.cgi?id=67175
31401
31402         Reviewed by Darin Adler.
31403
31404         * src/WebInputElement.cpp:
31405         (WebKit::toWebInputElement):
31406
31407 2011-08-30  Nat Duca  <nduca@chromium.org>
31408
31409         Unreviewed, fix WebGL layout tests due to missing WebView pointer.
31410
31411         * src/GraphicsContext3DChromium.cpp:
31412         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
31413
31414 2011-08-30  Aaron Colwell  <acolwell@chromium.org>
31415
31416         Add MediaSource API to HTMLMediaElement
31417         https://bugs.webkit.org/show_bug.cgi?id=64731
31418
31419         Reviewed by Eric Carlson.
31420
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:
31431
31432 2011-08-30  Nat Duca  <nduca@chromium.org>
31433
31434         [chromium] Allow GraphicsContexts to be created from MockWebGraphicsContexts
31435         https://bugs.webkit.org/show_bug.cgi?id=67179
31436
31437         Reviewed by Kenneth Russell.
31438
31439         * WebKit.gypi:
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):
31450         (TEST):
31451
31452 2011-08-30  Adam Barth  <abarth@webkit.org>
31453
31454         [Chromium] Add null checks for document()->loader()
31455         https://bugs.webkit.org/show_bug.cgi?id=67077
31456
31457         Reviewed by Nate Chapin.
31458
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.
31464
31465         * src/ContextMenuClientImpl.cpp:
31466         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
31467         * src/WebSearchableFormData.cpp:
31468         (HTMLNames::GetFormEncoding):
31469         * src/WebViewImpl.cpp:
31470         (WebKit::WebViewImpl::pageEncoding):
31471
31472 2011-08-29  Darin Fisher  <darin@chromium.org>
31473
31474         [chromium] DumpRenderTree should be explicit about its dependency on
31475         GoogleURL
31476         https://bugs.webkit.org/show_bug.cgi?id=67169
31477
31478         Reviewed by Ryosuke Niwa.
31479
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.
31483
31484         This is needed to support the "component" build of DumpRenderTree, in
31485         which the various Chromium dependencies are built as separate DLLs.
31486
31487         * WebKit.gyp:
31488
31489 2011-08-30  Tony Chang  <tony@chromium.org>
31490
31491         Fix chromium compile when using clang.  Another compile error due
31492         to r94080.
31493
31494         * src/ChromeClientImpl.h:
31495         (WebKit::ChromeClientImpl::scrollRectIntoView):
31496
31497 2011-08-30  Tony Chang  <tony@chromium.org>
31498
31499         Roll chromium DEPS to r98771.
31500
31501         * DEPS:
31502
31503 2011-08-29  Chris Marrin  <cmarrin@apple.com>
31504
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
31507
31508         Reviewed by Kenneth Russell.
31509
31510         * WebKit.gyp:
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):
31598
31599 2011-08-30  Kaustubh Atrawalkar  <kaustubh@motorola.com>
31600
31601         The unused ScrollView* argument can and should be removed from
31602         scrollRectIntoView.
31603         https://bugs.webkit.org/show_bug.cgi?id=67117
31604
31605         Reviewed by Darin Adler.
31606
31607         * src/WebPopupMenuImpl.cpp:
31608         (WebKit::WebPopupMenuImpl::scrollRectIntoView):
31609         * src/WebPopupMenuImpl.h:
31610
31611 2011-08-29  Greg Billock  <gbillock@google.com>
31612
31613         [Chromium] Add ability to do static SerializedScriptValue deserialization
31614         https://bugs.webkit.org/show_bug.cgi?id=66877
31615
31616         Reviewed by Darin Fisher.
31617
31618         * public/WebSerializedScriptValue.h:
31619         * src/WebSerializedScriptValue.cpp:
31620         (WebKit::WebSerializedScriptValue::deserialize):
31621         (WebKit::WebSerializedScriptValue::serialize):
31622
31623 2011-08-27  Peter Beverloo  <peter@chromium.org>
31624
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
31628
31629         Reviewed by Adam Barth.
31630
31631         * gyp_webkit:
31632
31633 2011-08-26  Iain Merrick  <husky@google.com>
31634
31635         [chromium] Add MockWebGraphicsContext3D, for compositor unit testing
31636         https://bugs.webkit.org/show_bug.cgi?id=67006
31637
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.
31641
31642         Reviewed by Kenneth Russell.
31643
31644         * WebKit.gypi:
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.
31803         (TEST):
31804         (FrameCountingContext::FrameCountingContext):
31805         (FrameCountingContext::prepareTexture):
31806         (FrameCountingContext::frameCount):
31807
31808 2011-08-26  Nate Chapin  <japhet@chromium.org>
31809
31810         Use enums instead of bools for ThreadableLoaderOptions
31811         variables.
31812         https://bugs.webkit.org/show_bug.cgi?id=66984
31813
31814         Reviewed by David Levin.
31815
31816         * src/AssociatedURLLoader.cpp:
31817         (WebKit::AssociatedURLLoader::loadAsynchronously):
31818
31819 2011-08-25  Jeremy Apthorp  <jeremya@google.com>
31820
31821         Enable fullscreen API in Chromium by default.
31822         https://bugs.webkit.org/show_bug.cgi?id=66993
31823
31824         Reviewed by Adam Barth.
31825
31826         * features.gypi:
31827
31828 2011-08-25  Scott Graham  <scottmg@chromium.org>
31829
31830         Enable incremental linking for component build on Chromium
31831         https://bugs.webkit.org/show_bug.cgi?id=66950
31832
31833         Reviewed by Darin Fisher.
31834
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.
31838
31839         * WebKit.gyp:
31840
31841 2011-08-25  Pavel Podivilov  <podivilov@chromium.org>
31842
31843         Unreviewed, fix chromium devtools tests.
31844
31845         * src/js/Tests.js:
31846         (.TestSuite.prototype.evaluateInConsole_):
31847
31848 2011-08-25  John Bates  <jbates@google.com>
31849
31850         [chromium] Leaking SkBitmaps for background images
31851         https://bugs.webkit.org/show_bug.cgi?id=66488
31852
31853         Reviewed by Stephen White.
31854
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.
31860
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=):
31868
31869 2011-08-25  Brian Salomon  <bsalomon@google.com>
31870
31871         [SKIA] Move forward decl of skia type outside namespace Webkit
31872         https://bugs.webkit.org/show_bug.cgi?id=66942
31873
31874         Reviewed by Stephen White.
31875
31876         * public/WebGraphicsContext3D.h:
31877
31878 2011-08-25  Mikhail Naganov  <mnaganov@chromium.org>
31879
31880         Chromium: expose MemoryCache::prune and FontCache::purgeInactiveFontData.
31881         https://bugs.webkit.org/show_bug.cgi?id=66132
31882
31883         Reviewed by Tony Gentilcore.
31884
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):
31892
31893 2011-08-24  Kentaro Hara  <haraken@google.com>
31894
31895         Implement a keypath parser strictly following the specification
31896         https://bugs.webkit.org/show_bug.cgi?id=62288
31897
31898         Reviewed by Tony Chang.
31899
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.
31906
31907         Tests: IDBKeyPathTest.*
31908                IDBKeyFromValueAndKeyPathTest.*
31909                InjectIDBKeyTest.*
31910
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
31924
31925 2011-08-24  Eric Uhrhane  <ericu@chromium.org>
31926
31927         Reviewed by Adam Barth.
31928
31929         [filesystem/Chromium] Filesystem paths need proper URL escaping
31930         https://bugs.webkit.org/show_bug.cgi?id=62811
31931
31932         Fix http://code.google.com/p/chromium/issues/detail?id=78860 by making
31933         KURLChromium.cpp's escaping code actually work.
31934
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):
31940
31941         Here I updated the test to reflect the new functionality in
31942         encodeWithURLEscapeSequences.
31943         * tests/KURLTest.cpp:
31944
31945 2011-08-24  Ilya Sherman  <isherman@chromium.org>
31946
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
31950
31951         Reviewed by James Robinson.
31952
31953         * WebKit.gyp:
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):
31974
31975 2011-08-24  Tom Sepez  <tsepez@chromium.org>
31976
31977         chromium WebFrameImpl - don't load javascript URLs against chrome internal pages.
31978         https://bugs.webkit.org/show_bug.cgi?id=66720
31979
31980         Reviewed by Adam Barth.
31981
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):
31996         (WebKit::TEST_F):
31997         * tests/data/history.html: Added.
31998
31999 2011-08-24  Jeremy Apthorp  <jeremya@google.com>
32000
32001         Expose fullscreen API on WebElement/WebDocument
32002         https://bugs.webkit.org/show_bug.cgi?id=66746
32003
32004         Reviewed by Darin Fisher.
32005
32006         * public/WebPluginContainer.h:
32007         * src/WebPluginContainerImpl.cpp:
32008         (WebKit::WebPluginContainerImpl::setFullscreen):
32009         * src/WebPluginContainerImpl.h:
32010
32011 2011-08-24  Brian Salomon  <bsalomon@google.com>
32012
32013         [SKIA] Allow WebKitGraphicsContext3D implementation to provide a compatible GrGLInterface
32014         https://bugs.webkit.org/show_bug.cgi?id=66809
32015
32016         Reviewed by Stephen White.
32017
32018         * public/WebGraphicsContext3D.h:
32019         (WebKit::WebGraphicsContext3D::grGLInterface):
32020         * src/GraphicsContext3DChromium.cpp:
32021         (WebCore::GraphicsContext3DInternal::grContext):
32022
32023 2011-08-23  Adam Barth  <abarth@webkit.org>
32024
32025         WebSearchableFormData crashes when given a detached HTMLFormElement
32026         https://bugs.webkit.org/show_bug.cgi?id=66831
32027
32028         Reviewed by Dimitri Glazkov.
32029
32030         We need to null-check the Frame.
32031
32032         * src/WebSearchableFormData.cpp:
32033         (HTMLNames::GetFormEncoding):
32034         * tests/WebFrameTest.cpp:
32035         (WebKit::TEST_F):
32036         * tests/data/form.html: Added.
32037
32038 2011-08-23  Iain Merrick  <husky@google.com>
32039
32040         [chromium] Make WebGL context current before querying for extensions
32041         https://bugs.webkit.org/show_bug.cgi?id=66788
32042
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.
32046
32047         In line with other GraphicsContext3D implementations, we do this
32048         implicitly. This is the minimum change that makes WebGL compliant.
32049
32050         Reviewed by Kenneth Russell.
32051
32052         * src/GraphicsContext3DChromium.cpp:
32053         (WebCore::GraphicsContext3DInternal::initializeExtensions):
32054
32055 2011-08-23  Scott Byer  <scottbyer@chromium.org>
32056
32057         ScrollAnimatorNone coasting implementation
32058         https://bugs.webkit.org/show_bug.cgi?id=66258
32059
32060         Reviewed by James Robinson.
32061
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):
32074         (TEST_F):
32075
32076 2011-08-23  James Robinson  <jamesr@chromium.org>
32077
32078         [chromium] Need a way to test lost compositor context recovery
32079         https://bugs.webkit.org/show_bug.cgi?id=66820
32080
32081         Reviewed by Kenneth Russell.
32082
32083         Adds a testing-only API to simulate a lost compositor context.
32084
32085         * public/WebView.h:
32086         * src/WebViewImpl.cpp:
32087         (WebKit::WebViewImpl::loseCompositorContext):
32088         * src/WebViewImpl.h:
32089
32090 2011-08-23  Nat Duca  <nduca@chromium.org>
32091
32092         [chromium] Implement CCThread in terms of WebThread
32093         https://bugs.webkit.org/show_bug.cgi?id=66610
32094
32095         Reviewed by Darin Fisher.
32096
32097         * WebKit.gyp:
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:
32117
32118 2011-08-23  Iain Merrick  <husky@google.com>
32119
32120         [chromium] Renderer crashes when about:gpucrash is loaded
32121         https://bugs.webkit.org/show_bug.cgi?id=66814
32122
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.
32128
32129         Reviewed by James Robinson.
32130
32131         * src/WebViewImpl.cpp:
32132         (WebKit::WebViewImpl::didRecreateGraphicsContext):
32133
32134 2011-08-23  Dmitry Lomov  <Dmitry Lomov (dslomov@google.com)>
32135
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.
32141
32142         Reviewed by Pavel Feldman.
32143
32144         * src/WebWorkerClientImpl.cpp:
32145         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
32146         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
32147
32148 2011-08-23  Adam Klein  <adamk@chromium.org>
32149
32150         [chromium] Remove a few FIXME #defines in API headers
32151         https://bugs.webkit.org/show_bug.cgi?id=66791
32152
32153         Reviewed by James Robinson.
32154
32155         * DEPS:
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.
32162
32163
32164 2011-08-23  Al Patrick  <apatrick@chromium.org>
32165
32166         Add shareResources flag to 3D graphics context attributes
32167         https://bugs.webkit.org/show_bug.cgi?id=66516
32168
32169         Reviewed by James Robinson.
32170
32171         * public/WebGraphicsContext3D.h:
32172         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
32173         * src/GraphicsContext3DChromium.cpp:
32174         (WebCore::GraphicsContext3DInternal::initialize):
32175         * src/WebViewImpl.cpp:
32176         (std::getCompositorContextAttributes):
32177
32178 2011-08-23  Fady Samuel  <fsamuel@chromium.org>
32179
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
32182
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.
32185
32186         Reviewed by Darin Fisher.
32187
32188         * src/WebFrameImpl.cpp:
32189         (WebKit::WebFrameImpl::createFrameView):
32190
32191 2011-08-23  Matt Falkenhagen  <falken@chromium.org>
32192
32193         [chromium] Update WebSettings to support per-script font settings
32194         https://bugs.webkit.org/show_bug.cgi?id=66220
32195
32196         Reviewed by Tony Chang.
32197
32198         * WebKit.gyp:
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:
32208
32209 2011-08-23  Nat Duca  <nduca@chromium.org>
32210
32211         Unreviewd, roll chromium reverse DEPS 97698:97834
32212         https://bugs.webkit.org/show_bug.cgi?id=66781
32213
32214         * DEPS:
32215
32216 2011-08-22  Sheriff Bot  <webkit.review.bot@gmail.com>
32217
32218         Unreviewed, rolling out r93575.
32219         http://trac.webkit.org/changeset/93575
32220         https://bugs.webkit.org/show_bug.cgi?id=66744
32221
32222         Does not compile on chromium canaries (Requested by jamesr on
32223         #webkit).
32224
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:
32234
32235 2011-08-22  Matt Falkenhagen  <falken@chromium.org>
32236
32237         [chromium] Update WebSettings to support per-script font settings
32238         https://bugs.webkit.org/show_bug.cgi?id=66220
32239
32240         Reviewed by Tony Chang.
32241
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:
32251
32252 2011-08-22  Iain Merrick  <husky@google.com>
32253
32254         [chromium] WebViewImpl should not reshape the 3D context
32255         https://bugs.webkit.org/show_bug.cgi?id=66704
32256
32257         Reviewed by James Robinson.
32258
32259         * src/WebViewImpl.cpp:
32260         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
32261         (WebKit::WebViewImpl::graphicsContext3D):
32262
32263 2011-08-22  Nat Duca  <nduca@chromium.org>
32264
32265         Make GraphicsContext3D::isResourceSafe a function and, on Chromium, determine its value lazily
32266         https://bugs.webkit.org/show_bug.cgi?id=66708
32267
32268         Reviewed by Kenneth Russell.
32269
32270         * src/GraphicsContext3DChromium.cpp:
32271         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
32272         (WebCore::GraphicsContext3DInternal::isResourceSafe):
32273         (WebCore::GraphicsContext3D::create):
32274         (WebCore::GraphicsContext3D::isResourceSafe):
32275         * src/GraphicsContext3DInternal.h:
32276
32277 2011-08-22  Adam Klein  <adamk@chromium.org>
32278
32279         [chromium] Remove deprecated and unused bits of WebIDB* headers
32280         https://bugs.webkit.org/show_bug.cgi?id=66711
32281
32282         Reviewed by Tony Chang.
32283
32284         The Chromium side of this patch was submitted as
32285         http://crrev.com/97687.
32286
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):
32294
32295 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
32296
32297         Remove third_party/leveldb, because it's no longer used and doesn't exist downstream.
32298
32299         * DEPS: Done it.
32300
32301 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
32302
32303         Roll Chromium DEPS to 97698.
32304
32305         * DEPS: Rolled.
32306
32307 2011-08-22  Justin Novosad  <junov@chromium.org>
32308
32309         [Chromium] Crash when allocation of very large canvas fails
32310         https://bugs.webkit.org/show_bug.cgi?id=66563
32311
32312         Reviewed by Stephen White.
32313
32314         * DEPS:
32315         Bumping up the chrome DEPS to pick up 97474, which is
32316         required by this patch.
32317
32318 2011-08-20  Nebojsa Ciric  <cira@chromium.org>
32319
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
32323
32324         Reviewed by Kent Tamura.
32325
32326         * DEPS:
32327
32328 2011-08-19  Adam Klein  <adamk@chromium.org>
32329
32330         [chromium] Remove various unreferenced bits from Chromium API headers
32331         https://bugs.webkit.org/show_bug.cgi?id=66575
32332
32333         Reviewed by Tony Chang.
32334
32335         * public/WebApplicationCacheHost.h:
32336         (WebKit::WebApplicationCacheHost::willStartMainResourceRequest):
32337         * public/WebFrame.h:
32338         * public/WebFrameClient.h:
32339         (WebKit::WebFrameClient::didReceiveTitle):
32340         * public/WebVideoFrame.h:
32341
32342 2011-08-19  Fady Samuel  <fsamuel@chromium.org>
32343
32344         Expose Fixed Layout Size mode to Chromium's WebKit API
32345         https://bugs.webkit.org/show_bug.cgi?id=66568
32346
32347         Reviewed by Darin Fisher.
32348
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:
32356
32357 2011-08-17  Adrienne Walker  <enne@google.com>
32358
32359         [chromium] Split tiler into main thread / compositor thread versions
32360         https://bugs.webkit.org/show_bug.cgi?id=66065
32361
32362         Reviewed by James Robinson.
32363
32364         Add a test for assignment and copy constructor for TilingData.
32365
32366         * tests/TilingDataTest.cpp:
32367         (WebCore::TEST):
32368
32369 2011-08-19  Andrey Kosyakov  <caseq@chromium.org>
32370
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
32373
32374         Reviewed by Pavel Feldman.
32375
32376         * src/js/DevTools.js:
32377         (WebInspector.platformExtensionAPI):
32378
32379 2011-08-18  James Kozianski  <koz@chromium.org>
32380
32381         Chromium plumbing for webkitRequestFullScreen
32382         https://bugs.webkit.org/show_bug.cgi?id=66031
32383
32384         Reviewed by Darin Fisher.
32385
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:
32396
32397 2011-08-18  Chris Rogers  <crogers@google.com>
32398
32399         Implement WebMediaPlayerClientImpl::audioSourceProvider() and interface into chromium
32400         https://bugs.webkit.org/show_bug.cgi?id=66441
32401
32402         Reviewed by Darin Fisher.
32403
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):
32415
32416 2011-08-18  Sailesh Agrawal  <sail@chromium.org>
32417
32418         Chromium Mac: Show scrollbar when doing search
32419         https://bugs.webkit.org/show_bug.cgi?id=66209
32420
32421         Reviewed by James Robinson.
32422
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.
32424
32425         No tests because there are no Mac 10.7 chromium bots yet.
32426
32427         * src/WebFrameImpl.cpp:
32428         (WebKit::WebFrameImpl::invalidateArea):
32429
32430 2011-08-18  James Robinson  <jamesr@chromium.org>
32431
32432         [chromium] Draw the root/"non-composited content" in compositor side
32433         https://bugs.webkit.org/show_bug.cgi?id=58834
32434
32435         Reviewed by Kenneth Russell.
32436
32437         * src/WebViewImpl.cpp:
32438         (WebKit::WebViewImpl::paint):
32439         (WebKit::WebViewImpl::setRootGraphicsLayer):
32440         (WebKit::WebViewImpl::didRecreateGraphicsContext):
32441         (WebKit::WebViewImpl::updateLayerTreeViewport):
32442         * src/WebViewImpl.h:
32443
32444 2011-08-18  Sadrul Habib Chowdhury  <sadrul@chromium.org>
32445
32446         GestureRecognizer: Update how gesture-scroll works.
32447
32448         Add a unit-test to make sure the correct gesture events are being
32449         generated.
32450         https://bugs.webkit.org/show_bug.cgi?id=66267
32451
32452         Reviewed by Adam Barth.
32453
32454         * tests/InnerGestureRecognizerTest.cpp:
32455         (WebCore::BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
32456         (WebCore::BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
32457         (WebCore::TEST_F):
32458
32459 2011-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>
32460
32461         Unreviewed, rolling out r93329.
32462         http://trac.webkit.org/changeset/93329
32463         https://bugs.webkit.org/show_bug.cgi?id=66497
32464
32465         Turned text on chromium win blue (Requested by jamesr_ on
32466         #webkit).
32467
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:
32475
32476 2011-08-18  Dominic Mazzoni  <dmazzoni@google.com>
32477
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
32481         ARIA attributes.
32482
32483         https://bugs.webkit.org/show_bug.cgi?id=66411
32484
32485         Reviewed by Dimitri Glazkov.
32486
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):
32508
32509 2011-08-15  Dmitry Lomov  <dslomov@google.com>
32510
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).
32525
32526         Reviewed by David Levin.
32527
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:
32577
32578 2011-08-18  James Robinson  <jamesr@chromium.org>
32579
32580         [chromium] Draw the root/"non-composited content" in compositor side
32581         https://bugs.webkit.org/show_bug.cgi?id=58834
32582
32583         Reviewed by Darin Fisher.
32584
32585         * src/WebViewImpl.cpp:
32586         (WebKit::WebViewImpl::paint):
32587         (WebKit::WebViewImpl::setRootGraphicsLayer):
32588         (WebKit::WebViewImpl::didRecreateGraphicsContext):
32589         (WebKit::WebViewImpl::updateLayerTreeViewport):
32590         * src/WebViewImpl.h:
32591
32592 2011-08-18  Tony Chang  <tony@chromium.org>
32593
32594         Revert r93294, doesn't compile on Chromium Mac.
32595
32596         * features.gypi:
32597
32598 2011-08-17  Adam Roben  <aroben@apple.com>
32599
32600         Make WebCore keep track of the current device scale factor
32601
32602         Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
32603         device scale factor
32604
32605         Reviewed by Darin Adler.
32606
32607         * src/ChromeClientImpl.cpp:
32608         * src/ChromeClientImpl.h:
32609         Removed deviceScaleFactor.
32610
32611 2011-08-18  Steve Block  <steveblock@google.com>
32612
32613         Remove a superfluous 'using' from WebBindings.cpp
32614         https://bugs.webkit.org/show_bug.cgi?id=66046
32615
32616         Reviewed by Alexey Proskuryakov.
32617
32618         * src/WebBindings.cpp:
32619
32620 2011-08-18  Gavin Peters  <gavinp@chromium.org>
32621
32622         Prepare frames for history navigation.
32623
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.
32627
32628         https://bugs.webkit.org/show_bug.cgi?id=66322
32629
32630         Reviewed by Darin Fisher.
32631
32632         * src/WebFrameImpl.cpp:
32633         (WebKit::WebFrameImpl::loadHistoryItem):
32634
32635 2011-08-18  Nico Weber  <thakis@chromium.org>
32636
32637         [chromium/mac] Enable smooth scrolling
32638         https://bugs.webkit.org/show_bug.cgi?id=66418
32639
32640         Reviewed by Dimitri Glazkov.
32641
32642         * features.gypi:
32643
32644 2011-08-17  Scott Byer  <scottbyer@chromium.org>
32645
32646         ScrollAnimatorNone: Remove unused field
32647         https://bugs.webkit.org/show_bug.cgi?id=66312
32648
32649         Reviewed by Adam Barth.
32650
32651         * tests/ScrollAnimatorNoneTest.cpp:
32652         (ScrollAnimatorNoneTest::updateDataFromParameters):
32653         (TEST_F):
32654
32655 2011-08-16  Chang Shu  <cshu@webkit.org>
32656
32657         Support reset in WebCore::Internals
32658         https://bugs.webkit.org/show_bug.cgi?id=66307
32659
32660         Reviewed by Dimitri Glazkov.
32661
32662         Added framework code in WebKit.
32663
32664         * public/WebTestingSupport.h:
32665         * src/WebTestingSupport.cpp:
32666         (WebKit::WebTestingSupport::resetInternalsObject):
32667
32668 2011-08-15  Aaron Boodman  <aa@chromium.org>
32669
32670         Remove support for old didCreateIsolatedContext() signature
32671         https://bugs.webkit.org/show_bug.cgi?id=66249
32672
32673         Reviewed by Darin Fisher.
32674
32675         * public/WebFrameClient.h:
32676         * src/FrameLoaderClientImpl.cpp:
32677         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
32678
32679 2011-08-17  Aaron Boodman  <aa@chromium.org>
32680
32681         Remove support for old didCreateIsolatedContext() signature
32682         https://bugs.webkit.org/show_bug.cgi?id=66249
32683
32684         Reviewed by Darin Fisher.
32685
32686         * public/WebFrameClient.h:
32687         * src/FrameLoaderClientImpl.cpp:
32688         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
32689
32690 2011-08-17  David Grogan  <dgrogan@chromium.org>
32691
32692         Remove onTimeout from WebIDBTransactionCallbacks.h
32693         https://bugs.webkit.org/show_bug.cgi?id=66326
32694
32695         Reviewed by Tony Chang.
32696
32697         * public/WebIDBTransactionCallbacks.h:
32698
32699 2011-08-16  Per-Erik Brodin  <per-erik.brodin@ericsson.com>
32700
32701         Make it possible to explicitly prevent a preflight via ThreadableLoaderOptions
32702         https://bugs.webkit.org/show_bug.cgi?id=65694
32703
32704         Reviewed by Alexey Proskuryakov.
32705
32706         * src/AssociatedURLLoader.cpp:
32707         (WebKit::AssociatedURLLoader::loadAsynchronously):
32708
32709 2011-08-12  John Abd-El-Malek  <jam@chromium.org>
32710
32711         [chromium] cleanup after previous webkit change rolled into chrome
32712         https://bugs.webkit.org/show_bug.cgi?id=66177
32713
32714         Reviewed by James Robinson.
32715
32716         * DEPS:
32717         * WebKit.gyp:
32718         * public/WebScrollbar.h:
32719
32720 2011-08-16  Stephen White  <senorblanco@chromium.org>
32721
32722         GraphicsContext3D should allow its hostWindow to be NULL
32723         https://bugs.webkit.org/show_bug.cgi?id=66305
32724
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
32730         implementations.
32731
32732         Reviewed by James Robinson.
32733
32734         * DEPS:
32735         * src/GraphicsContext3DChromium.cpp:
32736         (WebCore::GraphicsContext3DInternal::initialize):
32737         (WebCore::GraphicsContext3DInternal::platformTexture):
32738         (WebCore::GraphicsContext3DInternal::paintsIntoCanvasBuffer):
32739
32740 2011-08-16  Mikhail Naganov  <mnaganov@chromium.org>
32741
32742         Web Inspector: [Chromium] Add deployment of NetworkPanel .css files to concatenated version
32743         https://bugs.webkit.org/show_bug.cgi?id=66316
32744
32745         Reviewed by Pavel Feldman.
32746
32747         * WebKit.gyp:
32748
32749 2011-08-16  Mikhail Naganov  <mnaganov@chromium.org>
32750
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
32753
32754         Reviewed by Pavel Feldman.
32755
32756         * WebKit.gyp:
32757
32758 2011-08-15  Dmitry Titov  <dimich@chromium.org>
32759
32760         [Chromium] Add WebFrameClient::didAdoptURLLoader() notification
32761         https://bugs.webkit.org/show_bug.cgi?id=66167
32762
32763         Reviewed by Darin Fisher.
32764
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):
32784
32785 2011-08-15  Dmitry Titov  <dimich@chromium.org>
32786
32787         FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
32788         https://bugs.webkit.org/show_bug.cgi?id=66165
32789
32790         Reviewed by Darin Fisher.
32791
32792         * src/FrameLoaderClientImpl.cpp:
32793         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
32794         * src/FrameLoaderClientImpl.h:
32795
32796 2011-08-15  Sheriff Bot  <webkit.review.bot@gmail.com>
32797
32798         Unreviewed, rolling out r93060.
32799         http://trac.webkit.org/changeset/93060
32800         https://bugs.webkit.org/show_bug.cgi?id=66259
32801
32802         Does not compile on Chromium Windows (Requested by
32803         abarth|gardener on #webkit).
32804
32805         * public/WebCache.h:
32806         * public/WebFontCache.h:
32807         * src/WebCache.cpp:
32808         (WebKit::WebCache::clear):
32809         * src/WebFontCache.cpp:
32810
32811 2011-08-15  Mikhail Naganov  <mnaganov@chromium.org>
32812
32813         Chromium: expose MemoryCache::prune and FontCache::purgeInactiveFontData.
32814         https://bugs.webkit.org/show_bug.cgi?id=66132
32815
32816         Reviewed by Darin Fisher.
32817
32818         * public/WebCache.h:
32819         * public/WebFontCache.h:
32820         * src/WebCache.cpp:
32821         (WebKit::WebCache::prune):
32822         * src/WebFontCache.cpp:
32823         (WebKit::WebFontCache::prune):
32824
32825 2011-08-15  Nico Weber  <thakis@chromium.org>
32826
32827         [chromium] Implement shouldRubberBandInDirection
32828         https://bugs.webkit.org/show_bug.cgi?id=66206
32829
32830         Reviewed by Adam Barth.
32831
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
32837         either.
32838
32839         This is based on the implementation in
32840         Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
32841
32842         * src/ChromeClientImpl.cpp:
32843         (WebKit::ChromeClientImpl::shouldRubberBandInDirection):
32844         * src/ChromeClientImpl.h:
32845
32846 2011-08-10  Aaron Boodman  <aa@chromium.org>
32847
32848         Pass additional details to client in didCreateIsolatedContext
32849         https://bugs.webkit.org/show_bug.cgi?id=66037
32850
32851         Reviewed by Darin Fisher.
32852
32853         * public/WebFrameClient.h:
32854         (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
32855         * src/FrameLoaderClientImpl.cpp:
32856         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
32857         * src/FrameLoaderClientImpl.h:
32858
32859 2011-08-10  Adam Roben  <aroben@apple.com>
32860
32861         Clear up scale factor terminology
32862
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.
32867
32868         Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
32869         device scale factor
32870
32871         Reviewed by Simon Fraser.
32872
32873         * src/ChromeClientImpl.cpp:
32874         * src/ChromeClientImpl.h:
32875
32876 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
32877
32878         Refactoring of PopupMenuChromium For Readability and Maintainability
32879         https://bugs.webkit.org/show_bug.cgi?id=66009
32880
32881         Reviewed by Darin Fisher.
32882
32883         * src/ChromeClientImpl.cpp:
32884         * src/WebPopupMenuImpl.cpp:
32885         * src/WebViewImpl.cpp:
32886         * tests/PopupMenuTest.cpp:
32887
32888 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
32889
32890         Expose pageScaleFactor() to Chromium's WebViewImpl
32891         https://bugs.webkit.org/show_bug.cgi?id=66067
32892
32893         Reviewed by Darin Fisher.
32894
32895         * public/WebView.h:
32896         * src/WebViewImpl.cpp:
32897         (WebKit::WebViewImpl::pageScaleFactor):
32898         * src/WebViewImpl.h:
32899
32900 2011-08-12  Sadrul Habib Chowdhury  <sadrul@chromium.org>
32901
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
32904
32905         Reviewed by Darin Fisher.
32906
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):
32914
32915 2011-08-12  Tommy Widenflycht  <tommyw@google.com>
32916
32917         [Chromium] Implement the embedders for the HTML5 Track List objects
32918         https://bugs.webkit.org/show_bug.cgi?id=60260
32919
32920         Reviewed by Darin Fisher.
32921
32922         * WebKit.gyp:
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>):
32941
32942 2011-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
32943
32944         Unreviewed, rolling out r92976.
32945         http://trac.webkit.org/changeset/92976
32946         https://bugs.webkit.org/show_bug.cgi?id=66159
32947
32948         Does not compile on chromium-win (Requested by abarth|gardener
32949         on #webkit).
32950
32951         * src/ChromeClientImpl.cpp:
32952         * src/WebPopupMenuImpl.cpp:
32953         * src/WebViewImpl.cpp:
32954
32955 2011-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
32956
32957         Unreviewed, rolling out r92978.
32958         http://trac.webkit.org/changeset/92978
32959         https://bugs.webkit.org/show_bug.cgi?id=66155
32960
32961         This patch does not compile (Requested by abarth|gardener on
32962         #webkit).
32963
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:
32973
32974 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
32975
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
32978
32979         Reviewed by Darin Fisher.
32980
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:
32990
32991 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
32992
32993         Refactoring of PopupMenuChromium
32994         https://bugs.webkit.org/show_bug.cgi?id=66009
32995
32996         Reviewed by Darin Fisher.
32997
32998         * src/ChromeClientImpl.cpp:
32999         * src/WebPopupMenuImpl.cpp:
33000         * src/WebViewImpl.cpp:
33001
33002 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
33003
33004         Expose pageScaleFactor in Chromium's WebHistoryItem
33005         https://bugs.webkit.org/show_bug.cgi?id=66139
33006
33007         Reviewed by Darin Fisher.
33008
33009         * public/WebHistoryItem.h:
33010         * src/WebHistoryItem.cpp:
33011         (WebKit::WebHistoryItem::pageScaleFactor):
33012         (WebKit::WebHistoryItem::setPageScaleFactor):
33013
33014 2011-08-10  Nat Duca  <nduca@chromium.org>
33015
33016         [chromium] Add WebThread to WebKitClient
33017         https://bugs.webkit.org/show_bug.cgi?id=66013
33018
33019         Reviewed by Darin Fisher.
33020
33021         * public/WebKitClient.h:
33022         (WebKit::WebKitClient::createThread):
33023         * public/WebThread.h: Added.
33024         (WebKit::WebThread::~WebThread):
33025
33026 2011-08-11  John Bauman  <jbauman@chromium.org>
33027
33028         Readback composited webgl results for printing
33029         https://bugs.webkit.org/show_bug.cgi?id=65658
33030
33031         Reviewed by James Robinson.
33032
33033         Add support for reading from the composited version of a canvas.
33034
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:
33046
33047 2011-08-05  Nat Duca  <nduca@chromium.org>
33048
33049         [chromium] Make WebViewImpl point at CCLayerTreeHost and related separation
33050         https://bugs.webkit.org/show_bug.cgi?id=65791
33051
33052         With this patch, LayerRendererChromium becomes increasingly responsible
33053         for rendering, while render scheduling and tree hosting moves into the
33054         CCLayerTreeHost.
33055
33056         Reviewed by James Robinson.
33057
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:
33079
33080 2011-08-11  Nico Weber  <thakis@chromium.org>
33081
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
33084
33085         Reviewed by James Robinson.
33086
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.
33092
33093         This is modelled after the WebKit2 functions
33094         WKPageIsPinnedToLeftSide(), WKPageIsPinnedToRightSide(),
33095         WKPageHasHorizontalScrollbar(), and
33096         webPageProxy::willHandleHorizontalScrollEvents().
33097
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:
33110
33111 2011-08-11  Marja Hölttä  <marja@chromium.org>
33112
33113         Remove the temporary workaround added by http://trac.webkit.org/changeset/51338
33114         https://bugs.webkit.org/show_bug.cgi?id=65908
33115
33116         Reviewed by Adam Barth.
33117
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
33123         case of file URLs.
33124
33125         WebStorageNamespaceImpl::createStorageArea contains a workaround which
33126         changes the string "file://" into "file:///a" before giving it to
33127         SecurityOrigin::createFromString.
33128
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.
33132
33133         This patch removes the workaround.
33134
33135         * src/WebStorageNamespaceImpl.cpp:
33136         (WebKit::WebStorageNamespaceImpl::createStorageArea):
33137
33138 2011-08-10  John Abd-El-Malek  <jam@chromium.org>
33139
33140         [chromium] Update WebScrollbar so that it works with overlay scrollbars on Lion
33141         https://bugs.webkit.org/show_bug.cgi?id=66008
33142
33143         Reviewed by James Robinson.
33144
33145         * WebKit.gyp:
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):
33209
33210 2011-08-10  Dmitry Lomov  <dslomov@google.com>
33211         
33212         [Chromium] Decouple implementation of allowFileSystem, openFileSystem and allowDatabase from WebWorkerBase.
33213         https://bugs.webkit.org/show_bug.cgi?id=65997.
33214
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.
33218
33219         Reviewed by Jian Li.
33220
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):
33243
33244 2011-08-10  Vsevolod Vlasov  <vsevik@chromium.org>
33245
33246         Web Inspector: Remove Network.initialContentSet from protocol, store workers content on backend.
33247         https://bugs.webkit.org/show_bug.cgi?id=65929
33248
33249         Reviewed by Pavel Feldman.
33250
33251         * src/SharedWorkerRepository.cpp:
33252         (WebCore::SharedWorkerScriptLoader::didReceiveResponse):
33253
33254 2011-08-10  Andrey Kosyakov  <caseq@chromium.org>
33255
33256         Unreviewed. Rolled DEPS 95813:96009 to pick data url timing fix.
33257
33258         * DEPS:
33259
33260 2011-08-10  Peter Kasting  <pkasting@google.com>
33261
33262         [Chromium] Name an enum used in some template arguments.
33263         https://bugs.webkit.org/show_bug.cgi?id=65953
33264
33265         Reviewed by Darin Fisher.
33266
33267         * public/WebHTTPBody.h:
33268
33269 2011-08-09  Alexei Svitkine  <asvitkine@chromium.org>
33270
33271         [Chromium] Enable rubber banding when scrolling.
33272
33273         https://bugs.webkit.org/show_bug.cgi?id=65707
33274
33275         Reviewed by Dimitri Glazkov.
33276
33277         * features.gypi:
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):
33301
33302 2011-08-09  Dmitry Lomov  <dslomov@google.com>
33303
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
33306
33307         Reviewed by Dmitry Titov.
33308
33309         * src/BoundObject.cpp:
33310
33311 2011-08-09  Jochen Eisinger  <jochen@chromium.org>
33312
33313         [chromium] remove temporary #define from WebURLRequest.h
33314         https://bugs.webkit.org/show_bug.cgi?id=65813
33315
33316         Reviewed by Darin Fisher.
33317
33318         * public/WebURLRequest.h:
33319
33320 2011-08-09  Jochen Eisinger  <jochen@chromium.org>
33321
33322         Unreviewed.  Rolled DEPS.
33323
33324         * DEPS:
33325
33326 2011-08-08  Sheriff Bot  <webkit.review.bot@gmail.com>
33327
33328         Unreviewed, rolling out r92619.
33329         http://trac.webkit.org/changeset/92619
33330         https://bugs.webkit.org/show_bug.cgi?id=65881
33331
33332         This patch breaks chromium canary (Requested by jianli on
33333         #webkit).
33334
33335         * src/BoundObject.cpp:
33336
33337 2011-08-08  Scott Byer  <scottbyer@chromium.org>
33338
33339         Scroll animator changes to nail the framerate
33340         https://bugs.webkit.org/show_bug.cgi?id=65645
33341
33342         Reviewed by James Robinson.
33343
33344         * tests/ScrollAnimatorNoneTest.cpp:
33345         (TEST):
33346
33347 2011-08-08  Dmitry Lomov  <dslomov@google.com>
33348
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
33351
33352         Reviewed by David Levin.
33353
33354         * src/BoundObject.cpp: AllowAllocation moved from V8Utilities.h to V8Binding.h
33355
33356 2011-08-08  Sheriff Bot  <webkit.review.bot@gmail.com>
33357
33358         Unreviewed, rolling out r92607.
33359         http://trac.webkit.org/changeset/92607
33360         https://bugs.webkit.org/show_bug.cgi?id=65865
33361
33362         This patch breaks Chromium Mac Canary (Requested by jianli on
33363         #webkit).
33364
33365         * features.gypi:
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):
33380
33381 2011-08-08  Alexei Svitkine  <asvitkine@chromium.org>
33382
33383         [Chromium] Enable rubber banding when scrolling.
33384
33385         https://bugs.webkit.org/show_bug.cgi?id=65707
33386
33387         Reviewed by Dimitri Glazkov.
33388
33389         * features.gypi:
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):
33413
33414 2011-08-08  Ryosuke Niwa  <rniwa@webkit.org>
33415
33416         Unreviewed. Rolled Chromium DEPS from 95576 to 95783.
33417
33418         * DEPS:
33419
33420 2011-08-05  Pavel Feldman  <pfeldman@chromium.org>
33421
33422         Web Inspector: implement dock/undock in WebKit2 without getting into WebCore.
33423         https://bugs.webkit.org/show_bug.cgi?id=65763
33424
33425         Reviewed by Yury Semikhatsky.
33426
33427         * src/InspectorFrontendClientImpl.cpp:
33428         * src/InspectorFrontendClientImpl.h:
33429         * src/js/DevTools.js:
33430         (devtools.domContentLoaded):
33431
33432 2011-08-07  James Kozianski  <koz@chromium.org>
33433
33434         Make the fullscreen JS API enabled at runtime.
33435         https://bugs.webkit.org/show_bug.cgi?id=65501
33436
33437         Reviewed by Adam Barth.
33438
33439         * public/WebRuntimeFeatures.h:
33440         * src/WebRuntimeFeatures.cpp:
33441         (WebKit::WebRuntimeFeatures::enableFullScreenAPI):
33442         (WebKit::WebRuntimeFeatures::isFullScreenAPIEnabled):
33443
33444 2011-08-05  James Robinson  <jamesr@chromium.org>
33445
33446         [chromium] Accelerated canvas breaks when moving canvases or resources between Pages
33447         https://bugs.webkit.org/show_bug.cgi?id=65402
33448
33449         Reviewed by Stephen White.
33450
33451         Remove plumbing for copyTextureToParentTexture extension, it's no longer used or needed.
33452
33453         * public/WebGraphicsContext3D.h:
33454         * src/Extensions3DChromium.cpp:
33455         * src/GraphicsContext3DChromium.cpp:
33456         * src/GraphicsContext3DInternal.h:
33457
33458 2011-08-05  Jochen Eisinger  <jochen@chromium.org>
33459
33460         Introduce a new ResourceRequest::TargetType for XHRs
33461         https://bugs.webkit.org/show_bug.cgi?id=65544
33462
33463         Reviewed by Darin Fisher.
33464
33465         * public/WebURLRequest.h:
33466
33467 2011-08-04  James Robinson  <jamesr@chromium.org>
33468
33469         Unreviewed.  Rolled DEPS.
33470
33471         * DEPS:
33472
33473 2011-08-04  David Levin  <levin@chromium.org>
33474
33475         CStringBuffer should have thread safety checks turned on.
33476         https://bugs.webkit.org/show_bug.cgi?id=58093
33477
33478         Reviewed by Dmitry Titov.
33479
33480         * DEPS: Roll far enough to pick up the latest WebKit::initialize
33481         fix for Linux.
33482
33483 2011-08-04  Sheriff Bot  <webkit.review.bot@gmail.com>
33484
33485         Unreviewed, rolling out r92415.
33486         http://trac.webkit.org/changeset/92415
33487         https://bugs.webkit.org/show_bug.cgi?id=65728
33488
33489         Causes many DEBUG crashes (Requested by abarth on #webkit).
33490
33491         * public/WebURLRequest.h:
33492
33493 2011-08-04  Jochen Eisinger  <jochen@chromium.org>
33494
33495         Introduce a new ResourceRequest::TargetType for XHRs
33496         https://bugs.webkit.org/show_bug.cgi?id=65544
33497
33498         Reviewed by Darin Fisher.
33499
33500         * public/WebURLRequest.h:
33501
33502 2011-08-04  Jochen Eisinger  <jochen@chromium.org>
33503
33504         Get rid of ResourceRequestBase::m_targetType. Move it to chromium's ResourceRequest.
33505         https://bugs.webkit.org/show_bug.cgi?id=48483
33506
33507         Reviewed by Alexey Proskuryakov.
33508
33509         * src/SharedWorkerRepository.cpp:
33510         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
33511
33512 2011-08-04  Brian Weinstein  <bweinstein@apple.com>
33513
33514         WebKit2: Web Inspector always starts in undocked mode
33515         https://bugs.webkit.org/show_bug.cgi?id=65493
33516         <rdar://problem/9353114>
33517
33518         Reviewed by Adam Roben.
33519         
33520         Add a stub method for Chromium.
33521
33522         * src/InspectorFrontendClientImpl.cpp:
33523         (WebKit::InspectorFrontendClientImpl::canAttachWindow):
33524         * src/InspectorFrontendClientImpl.h:
33525
33526 2011-08-03  Kentaro Hara  <haraken@google.com>
33527
33528         Implement EventSender.scalePageBy()
33529         https://bugs.webkit.org/show_bug.cgi?id=58013
33530
33531         Reviewed by Darin Fisher.
33532
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).
33536
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
33544
33545         * public/WebView.h:
33546         * src/WebViewImpl.cpp:
33547         (WebKit::WebViewImpl::scalePage): A wrapper method for scalePage() in WebCore.
33548         * src/WebViewImpl.h:
33549
33550 2011-08-03  Darin Fisher  <darin@chromium.org>
33551
33552         [Chromium] Rename WEBKIT_API to WEBKIT_EXPORT.
33553         https://bugs.webkit.org/show_bug.cgi?id=65649
33554
33555         Reviewed by Adam Barth.
33556
33557         * README:
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:
33610         * public/WebKit.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:
33660
33661 2011-08-03  Michael Nordman  <michaeln@google.com>
33662
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
33667
33668         Reviewed by Adam Barth.
33669
33670         * public/WebDatabase.h:
33671         * src/WebDatabase.cpp:
33672
33673 2011-08-03  Pavel Feldman  <pfeldman@google.com>
33674
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
33677
33678         Reviewed by Yury Semikhatsky.
33679
33680         * src/WebDevToolsAgentImpl.cpp:
33681         (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
33682
33683 2011-08-03  Jeremy Moskovich  <jeremy@chromium.org>
33684
33685         [Chromium] Fix OOP font loading to work on 10.6.6 and above.
33686         https://bugs.webkit.org/show_bug.cgi?id=65543
33687
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.
33692
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.
33697
33698         Reviewed by Kenneth Russell.
33699
33700         No new tests since this is not readily testable.
33701
33702         * public/mac/WebSandboxSupport.h: Plumb font ID parameter through.
33703         * src/PlatformBridge.cpp:
33704         (WebCore::PlatformBridge::loadFont): ditto.
33705
33706 2011-08-03  Pavel Feldman  <pfeldman@chromium.org>
33707
33708         Web Inspector: remove Node parameter from the InspectorClient::highlight
33709         https://bugs.webkit.org/show_bug.cgi?id=65549
33710
33711         Reviewed by Yury Semikhatsky.
33712
33713         * src/InspectorClientImpl.cpp:
33714         (WebKit::InspectorClientImpl::highlight):
33715         * src/InspectorClientImpl.h:
33716         * src/WebDevToolsAgentImpl.cpp:
33717         (WebKit::WebDevToolsAgentImpl::highlight):
33718         * src/WebDevToolsAgentImpl.h:
33719
33720 2011-08-02  David Reveman  <reveman@chromium.org>
33721
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
33724
33725         Reviewed by James Robinson.
33726
33727         * tests/TilingDataTest.cpp:
33728         (WebCore::TEST):
33729
33730 2011-08-02  Robert Kroeger  <rjkroege@chromium.org>
33731
33732         [chromium] Layering violations in gesture recognizer
33733         https://bugs.webkit.org/show_bug.cgi?id=65044
33734
33735        Reviewed by Adam Barth.
33736
33737         Moved gesture recognition higher up the event delivery code
33738         path so that recognition of gestures is completely separated
33739         from gesture handling.
33740
33741         * features.gypi:
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:
33759
33760 2011-08-02  Zhenyao Mo  <zmo@google.com>
33761
33762         Unreviewed, mark SelectPopupMenuTest.SelectItemKeyEvent as flaky, gardener stuff.
33763
33764         * tests/PopupMenuTest.cpp:
33765         (WebKit::TEST_F):
33766
33767 2011-08-02  Vsevolod Vlasov  <vsevik@chromium.org>
33768
33769         Web Inspector: Remove initator column for JSC, fix network resource initiator tests.
33770         https://bugs.webkit.org/show_bug.cgi?id=65534
33771
33772         Reviewed by Pavel Feldman.
33773
33774         * src/js/DevTools.js:
33775         ():
33776
33777 2011-08-02  Nat Duca  <nduca@chromium.org>
33778
33779         [chromium] Remove resizeOnscreenContent from LRC. It can be derived.
33780         https://bugs.webkit.org/show_bug.cgi?id=65519
33781
33782         Reviewed by James Robinson.
33783
33784         * src/WebViewImpl.cpp:
33785         (WebKit::WebViewImpl::resize):
33786         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
33787
33788 2011-08-01  Jean-luc Brouillet  <jeanluc@chromium.org>
33789
33790         Removing old source files in gyp files that slow build
33791         https://bugs.webkit.org/show_bug.cgi?id=65503
33792
33793         Reviewed by Adam Barth.
33794
33795         A number of stale files are listed in the gyp files. These slow the
33796         build on Visual Studio 2010. Removing them.
33797
33798         * WebKit.gyp:
33799
33800 2011-08-01  Nat Duca  <nduca@chromium.org>
33801
33802         [chromium] Add null check to setSwapbuffersCompletCallbackChromium
33803         https://bugs.webkit.org/show_bug.cgi?id=65485
33804
33805         Reviewed by James Robinson.
33806
33807         * src/GraphicsContext3DChromium.cpp:
33808         (WebCore::SwapBuffersCompleteCallbackAdapter::create):
33809
33810 2011-08-01  Yuta Kitamura  <yutak@chromium.org>
33811
33812         WebSocket: Rename SocketStreamHandleClient member functions
33813         https://bugs.webkit.org/show_bug.cgi?id=65374
33814
33815         Reviewed by Kent Tamura.
33816
33817         * src/SocketStreamHandle.cpp:
33818         (WebCore::SocketStreamHandleInternal::didOpenStream):
33819         (WebCore::SocketStreamHandleInternal::didReceiveData):
33820         (WebCore::SocketStreamHandleInternal::didClose):
33821         (WebCore::SocketStreamHandleInternal::didFail):
33822
33823 2011-07-31  Bill Budge  <bbudge@chromium.org>
33824
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
33828         overload.
33829         https://bugs.webkit.org/show_bug.cgi?id=65280
33830
33831         Reviewed by Darin Fisher.
33832
33833         * public/WebFrame.h:
33834         * src/AssociatedURLLoader.cpp:
33835         * src/AssociatedURLLoader.h:
33836         * src/WebFrameImpl.cpp:
33837         * src/WebFrameImpl.h:
33838
33839 2011-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
33840
33841         Unreviewed.  Rolled DEPS.
33842
33843         * DEPS:
33844
33845 2011-07-30  Patrick Gansterer  <paroga@webkit.org>
33846
33847         Remove inclusion of MainThread.h from Threading.h
33848         https://bugs.webkit.org/show_bug.cgi?id=65081
33849
33850         Reviewed by Darin Adler.
33851
33852         Add missing include statements for MainThread.
33853
33854         * src/WebKit.cpp:
33855         * src/WebViewImpl.cpp:
33856         * tests/CCThreadTest.cpp:
33857
33858 2011-07-29  Zhenyao Mo  <zmo@google.com>
33859
33860         Unreviewed, rolling out r92011.
33861         http://trac.webkit.org/changeset/92011
33862         https://bugs.webkit.org/show_bug.cgi?id=65044
33863
33864         break chromium win build
33865
33866         * features.gypi:
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:
33877
33878 2011-07-29  Robert Kroeger  <rjkroege@chromium.org>
33879
33880         [chromium] Layering violations in gesture recognizer
33881         https://bugs.webkit.org/show_bug.cgi?id=65044
33882
33883         Reviewed by Adam Barth.
33884
33885         Moved gesture recognition higher up the event delivery code
33886         path so that recognition of gestures is completely separated
33887         from gesture handling.
33888
33889         * features.gypi:
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:
33907
33908 2011-07-29  Scott Byer  <scottbyer@chromium.org>
33909
33910         Scroll animation refinements.
33911         https://bugs.webkit.org/show_bug.cgi?id=65154
33912
33913         Reviewed by Adam Barth.
33914
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.
33917
33918         Additional unit tests added to ScrollAnimatorNoneTest:
33919         ScrollQuadraticSmoothed, ScrollLotsQuadraticSmoothed, ScrollDownToBumper, ScrollUpToBumper
33920         
33921         * tests/ScrollAnimatorNoneTest.cpp:
33922         (ScrollAnimatorNoneTest::reset):
33923         (ScrollAnimatorNoneTest::updateDataFromParameters):
33924         (ScrollAnimatorNoneTest::animateScroll):
33925         (ScrollAnimatorNoneTest::checkDesiredPosition):
33926         (ScrollAnimatorNoneTest::checkSoftLanding):
33927
33928 2011-07-28  Naoki Takano  <honten@chromium.org>
33929
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
33933
33934         Reviewed by Darin Fisher.
33935
33936         Chromium Autofill feature needs to access the parent WebFormElement from WebFormControlElement. So added form() method.
33937
33938         * public/WebFormControlElement.h: Add form() function.
33939         * src/WebFormControlElement.cpp:
33940         (WebKit::WebFormControlElement::form): Return parent WebFormElement.
33941
33942 2011-07-28  Nico Weber  <thakis@chromium.org>
33943
33944         [chromium] Make WebImage::assign(CGImageRef) a WEBKIT_API
33945         https://bugs.webkit.org/show_bug.cgi?id=65265
33946
33947         Reviewed by James Robinson.
33948
33949         Required for the components build on mac. The inline function
33950         operator=(CGImageRef) is used from outside webkit, and calls this
33951         function.
33952
33953         * public/WebImage.h:
33954
33955 2011-07-28  Mihai Parparita  <mihaip@chromium.org>
33956
33957         [Chromium] Remove WebDocument::insertStyleText
33958         https://bugs.webkit.org/show_bug.cgi?id=65332
33959
33960         Reviewed by Tony Chang.
33961
33962         As of http://crrev.com/94499 no Chromium code calls this anymore.
33963         Also does a bit of #include cleanup.
33964
33965         * public/WebDocument.h:
33966         * src/WebDocument.cpp:
33967
33968 2011-07-27  Fady Samuel  <fsamuel@chromium.org>
33969
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
33972
33973         Reviewed by Darin Fisher.
33974
33975         * public/WebPopupMenu.h:
33976         * src/WebPopupMenuImpl.cpp:
33977         (WebKit::WebPopupMenu::setMinimumRowHeight):
33978
33979 2011-07-27  Peng Huang  <penghuang@chromium.org>
33980
33981         Add more text input types for chromium
33982         https://bugs.webkit.org/show_bug.cgi?id=64937
33983
33984         Reviewed by Darin Fisher.
33985
33986         * public/WebTextInputType.h:
33987         * src/WebViewImpl.cpp:
33988         (WebKit::WebViewImpl::textInputType):
33989
33990 2011-07-27  Ryosuke Niwa  <rniwa@webkit.org>
33991
33992         Add sfntly library to the Chromium DEPS file.
33993
33994         * DEPS:
33995
33996 2011-07-27  Ryosuke Niwa  <rniwa@webkit.org>
33997
33998         Unreviewed.  Rolled DEPS.
33999
34000         * DEPS:
34001
34002 2011-07-25  Mihai Parparita  <mihaip@chromium.org>
34003
34004         [Chromium] Add better WebKit API for chrome.tabs.insertCSS extension API
34005         https://bugs.webkit.org/show_bug.cgi?id=65158
34006
34007         Reviewed by David Hyatt.
34008
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).
34013
34014         * public/WebDocument.h:
34015         * src/WebDocument.cpp:
34016         (WebKit::WebDocument::insertUserStyleSheet):
34017
34018 2011-07-27  Vsevolod Vlasov  <vsevik@chromium.org>
34019
34020         Web Inspector: Disable cache option should only clear memory cache, not disable it.
34021         https://bugs.webkit.org/show_bug.cgi?id=65184
34022
34023         Reviewed by Pavel Feldman.
34024
34025         * src/InspectorClientImpl.cpp:
34026         * src/InspectorClientImpl.h:
34027         * src/WebDevToolsAgentImpl.cpp:
34028         * src/WebDevToolsAgentImpl.h:
34029
34030 2011-07-27  Sadrul Habib Chowdhury  <sadrul@chromium.org>
34031
34032         Pass on the suggested name for download file to the client.
34033         https://bugs.webkit.org/show_bug.cgi?id=65181
34034
34035         Reviewed by Darin Fisher.
34036
34037         * src/FrameLoaderClientImpl.cpp:
34038         (WebKit::FrameLoaderClientImpl::startDownload):
34039
34040 2011-07-27  Tony Gentilcore  <tonyg@chromium.org>
34041
34042         Speculative win build fix after r91835
34043         https://bugs.webkit.org/show_bug.cgi?id=65255
34044
34045         Unreviewed build fix.
34046
34047         * src/WebFontImpl.cpp:
34048
34049 2011-07-26  Sheriff Bot  <webkit.review.bot@gmail.com>
34050
34051         Unreviewed, rolling out r91809.
34052         http://trac.webkit.org/changeset/91809
34053         https://bugs.webkit.org/show_bug.cgi?id=65225
34054
34055         Does not build on Chromium Windows (Requested by abarth on
34056         #webkit).
34057
34058         * features.gypi:
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:
34069
34070 2011-07-26  Robert Kroeger  <rjkroege@chromium.org>
34071
34072         [chromium] Layering violations in gesture recognizer
34073         https://bugs.webkit.org/show_bug.cgi?id=65044
34074
34075         Reviewed by Adam Barth.
34076
34077         Moved gesture recognition higher up the event delivery code
34078         path so that recognition of gestures is completely separated
34079         from gesture handling.
34080
34081         * features.gypi:
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:
34099
34100 2011-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
34101
34102         Add support for download='filename' attribute in anchors.
34103         https://bugs.webkit.org/show_bug.cgi?id=64580
34104
34105         Reviewed by Adam Barth.
34106
34107         * features.gypi:
34108         * public/WebFrameClient.h:
34109         (WebKit::WebFrameClient::loadURLExternally):
34110         * src/FrameLoaderClientImpl.cpp:
34111         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
34112         (WebKit::FrameLoaderClientImpl::startDownload):
34113         * src/FrameLoaderClientImpl.h:
34114
34115 2011-07-26  Brett Wilson  <brettw@chromium.org>
34116
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.
34120
34121         https://bugs.webkit.org/show_bug.cgi?id=65204
34122
34123         Reviewed by Darin Fisher.
34124
34125         * src/AssociatedURLLoader.cpp:
34126         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
34127         (WebKit::AssociatedURLLoader::cancel):
34128
34129 2011-07-25  Al Patrick  <apatrick@chromium.org>
34130
34131         Removed support for the GL_latch_CHROMIUM extension which Chromium no longer supports.
34132         https://bugs.webkit.org/show_bug.cgi?id=65043
34133
34134         Reviewed by James Robinson.
34135
34136         * public/WebGraphicsContext3D.h:
34137         * src/Extensions3DChromium.cpp:
34138         * src/GraphicsContext3DChromium.cpp:
34139         * src/GraphicsContext3DInternal.h:
34140
34141 2011-07-25  Nico Weber  <thakis@chromium.org>
34142
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
34145
34146         Reviewed by James Robinson.
34147
34148         * WebKit.gyp:
34149
34150 2011-07-25  Chris Rogers  <crogers@google.com>
34151
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
34154
34155         Reviewed by Tony Chang.
34156
34157         * WebKit.gyp:
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):
34174
34175 2011-07-23  Alok Priyadarshi  <alokp@chromium.org>
34176
34177         Switching off acceleration for small canvas broke gpu tests
34178         https://bugs.webkit.org/show_bug.cgi?id=65053
34179
34180         Reviewed by Stephen White.
34181
34182         * public/WebSettings.h:
34183         * src/WebSettingsImpl.cpp:
34184         (WebKit::WebSettingsImpl::setMinimumAccelerated2dCanvasSize):
34185         * src/WebSettingsImpl.h:
34186
34187 2011-07-23  Yuta Kitamura  <yutak@chromium.org>
34188
34189         [Chromium] Turn on new WebSocket protocol in worker shadow page
34190         https://bugs.webkit.org/show_bug.cgi?id=64852
34191
34192         Reviewed by Dmitry Titov.
34193
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.
34200
34201 2011-07-22  James Robinson  <jamesr@chromium.org>
34202
34203         [chromium] Remove code that attempted to explicitly sync compositing state before compositing
34204         https://bugs.webkit.org/show_bug.cgi?id=65055
34205
34206         Reviewed by Kenneth Russell.
34207
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).
34214
34215         * src/WebViewImpl.cpp:
34216         (WebKit::WebViewImpl::layout):
34217         * src/WebViewImpl.h:
34218
34219 2011-07-22  Cris Neckar  <cdn@chromium.org>
34220
34221         Hook v8 up to cryptographicallyRandomValues as an entropy source.
34222         https://bugs.webkit.org/show_bug.cgi?id=64887
34223
34224         Reviewed by Adam Barth.
34225
34226         * public/WebKitClient.h:
34227         * src/WebKit.cpp:
34228         (WebKit::generateEntropy):
34229         (WebKit::initialize):
34230
34231 2011-07-22  Andrew Scherkus  <scherkus@chromium.org>
34232
34233         Remove surfaceType() and texture() methods from Chromium video frame classes.
34234         https://bugs.webkit.org/show_bug.cgi?id=64818
34235
34236         Reviewed by Kenneth Russell.
34237
34238         * public/WebVideoFrame.h:
34239         * src/AssertMatchingEnums.cpp:
34240         * src/VideoFrameChromiumImpl.cpp:
34241         * src/VideoFrameChromiumImpl.h:
34242
34243 2011-07-22  Ryosuke Niwa  <rniwa@webkit.org>
34244
34245         Unreviewed.  Rolled DEPS.
34246
34247         * DEPS:
34248
34249 2011-07-22  Ryosuke Niwa  <rniwa@webkit.org>
34250
34251         Revert r91510 due to Chromium debug test failures.
34252
34253         * src/WebKit.cpp:
34254         (WebKit::initialize):
34255
34256 2011-07-20  Cris Neckar  <cdn@chromium.org>
34257
34258         Hook v8 up to cryptographicallyRandomValues as an entropy source.
34259         https://bugs.webkit.org/show_bug.cgi?id=64887
34260
34261         Reviewed by Adam Barth.
34262
34263         * src/WebKit.cpp:
34264         (WebKit::generateEntropy):
34265         (WebKit::initialize):
34266
34267 2011-07-21  Vsevolod Vlasov  <vsevik@chromium.org>
34268
34269         [Chromium DevTools] Remove unused method setAgentIdentifierPrefix from WebDevToolAgent.
34270         https://bugs.webkit.org/show_bug.cgi?id=64793
34271
34272         Reviewed by Pavel Feldman.
34273
34274         * public/WebDevToolsAgent.h:
34275         * src/WebDevToolsAgentImpl.cpp:
34276         * src/WebDevToolsAgentImpl.h:
34277
34278 2011-07-21  Ryosuke Niwa  <rniwa@webkit.org>
34279
34280         Unreviewed.  Rolled DEPS.
34281
34282         * DEPS:
34283
34284 2011-07-20  Al Patrick  <apatrick@chromium.org>
34285
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
34290
34291         Reviewed by James Robinson.
34292
34293         * src/GraphicsContext3DChromium.cpp:
34294         (WebCore::GraphicsContext3DInternal::copyTextureToParentTextureCHROMIUM):
34295
34296 2011-07-19  Vsevolod Vlasov  <vsevik@chromium.org>
34297
34298         Web Inspector: Add support for disabling cache in web inspector.
34299         https://bugs.webkit.org/show_bug.cgi?id=64097
34300
34301         Reviewed by Pavel Feldman.
34302
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:
34310         ():
34311
34312 2011-07-20  Peter Kasting  <pkasting@google.com>
34313
34314         Remove "const" from obviously-non-const accessors
34315         https://bugs.webkit.org/show_bug.cgi?id=62302
34316
34317         Reviewed by Darin Adler.
34318
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):
34329
34330 2011-07-20  Ilya Sherman  <isherman@chromium.org>
34331
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
34334
34335         Reviewed by Darin Fisher.
34336
34337         * public/WebNode.h:
34338
34339 2011-07-20  Glen Shires  <gshires@google.com>
34340
34341         Bug 64625: Add isSpeechInputEnabled flag to WebContextMenuData.
34342         https://bugs.webkit.org/show_bug.cgi?id=64625
34343
34344         Reviewed by Darin Fisher.
34345
34346         * public/WebContextMenuData.h:
34347         (WebKit::WebContextMenuData::WebContextMenuData): added flag isSpeechInputEnabled
34348         * src/ContextMenuClientImpl.cpp:
34349         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): set flag isSpeechInputEnabled
34350
34351 2011-07-20  Andrey Kosyakov  <caseq@chromium.org>
34352
34353         Web Inspector: move Network log view to an iframe
34354         https://bugs.webkit.org/show_bug.cgi?id=62006
34355
34356         Reviewed by Pavel Feldman.
34357
34358         * WebKit.gyp:
34359
34360 2011-07-19  Ryosuke Niwa  <rniwa@webkit.org>
34361
34362         Unreviewed.  Rolled DEPS.
34363
34364         * DEPS:
34365
34366 2011-07-19  Dominic Mazzoni  <dmazzoni@google.com>
34367
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
34373
34374         Reviewed by Dimitri Glazkov.
34375
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>):
34442
34443 2011-07-19  Robert Sesek  <rsesek@chromium.org>
34444
34445         [Chromium] Need to remove app/ from DEPS
34446         https://bugs.webkit.org/show_bug.cgi?id=64750
34447
34448         Reviewed by Tony Chang.
34449
34450         Roll DEPS and remove dependencies on Chromium's /src/app.
34451
34452         * DEPS:
34453         * WebKit.gyp:
34454
34455 2011-07-19  Yury Semikhatsky  <yurys@chromium.org>
34456
34457         [Chromium] Web Inspector: add sanity test for shared worker inspector
34458         https://bugs.webkit.org/show_bug.cgi?id=64799
34459
34460         Reviewed by Pavel Feldman.
34461
34462         * src/js/Tests.js:
34463         (.TestSuite.prototype.testSharedWorker):
34464         (.TestSuite.prototype.evaluateInConsole_):
34465
34466 2011-07-19  Vsevolod Vlasov  <vsevik@chromium.org>
34467
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
34470
34471         Reviewed by Pavel Feldman.
34472
34473         * public/WebDevToolsAgent.h:
34474         * src/WebDevToolsAgentImpl.cpp:
34475         (WebKit::WebDevToolsAgentImpl::setAgentIdentifierPrefix):
34476         (WebKit::WebDevToolsAgentImpl::setProcessId):
34477         * src/WebDevToolsAgentImpl.h:
34478
34479 2011-07-18  Sheriff Bot  <webkit.review.bot@gmail.com>
34480
34481         Unreviewed.  Rolled DEPS.
34482
34483         * DEPS:
34484
34485 2011-07-18  James Robinson  <jamesr@chromium.org>
34486
34487         Timer scheduling should be based off the monotonic clock
34488         https://bugs.webkit.org/show_bug.cgi?id=64544
34489
34490         Reviewed by Darin Adler.
34491
34492         Renames setSharedTimerFireTime to setSharedTimerFireInterval to be consistent with WebCore.
34493
34494         * public/WebKitClient.h:
34495         (WebKit::WebKitClient::setSharedTimerFireInterval):
34496         * src/PlatformBridge.cpp:
34497         (WebCore::PlatformBridge::setSharedTimerFireInterval):
34498
34499 2011-07-18  Yuzhu Shen  <yzshen@chromium.com>
34500
34501         Reviewed by James Robinson.
34502
34503         [chromium] WebFontImpl::drawText needs to handle the canvasIsOpaque input.
34504         https://bugs.webkit.org/show_bug.cgi?id=64555
34505         
34506         This change handles canvasIsOpaque for the WEBKIT_USING_SKIA case.
34507  
34508         * src/WebFontImpl.cpp: handled canvasIsOpaque.
34509         * src/WebFontImpl.h: added method declaration.
34510
34511 2011-07-16  Simon Fraser  <simon.fraser@apple.com>
34512
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
34515
34516         Reviewed by Dan Bernstein.
34517
34518         Removed implementations of backingScaleFactor() and pageScaleFactor() now
34519         that GraphicsLayerClient has default implementations.
34520
34521         * src/PageOverlay.cpp:
34522
34523 2011-07-15  Simon Fraser  <simon.fraser@apple.com>
34524
34525         Have GraphicsLayer pull their contentsScale, rather than pushing it onto them
34526         https://bugs.webkit.org/show_bug.cgi?id=64643
34527
34528         Reviewed by Darin Adler.
34529         
34530         Impement new GraphicsLayerClient methods related to contents scale.
34531
34532         * src/PageOverlay.cpp:
34533         (WebKit::OverlayGraphicsLayerClientImpl::backingScaleFactor):
34534         (WebKit::OverlayGraphicsLayerClientImpl::pageScaleFactor):
34535
34536 2011-07-15  Sheriff Bot  <webkit.review.bot@gmail.com>
34537
34538         Unreviewed.  Rolled DEPS.
34539
34540         * DEPS:
34541
34542 2011-07-15  Kenneth Russell  <kbr@google.com>
34543
34544         Don't restore WebGL context if it was guilty of a graphics reset
34545         https://bugs.webkit.org/show_bug.cgi?id=64497
34546
34547         Reviewed by Stephen White.
34548
34549         Actually implement getGraphicsResetStatusARB rather than inferring
34550         the status based on whether the context has been lost.
34551
34552         * public/WebGraphicsContext3D.h:
34553         (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
34554         * src/Extensions3DChromium.cpp:
34555         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
34556         * src/GraphicsContext3DChromium.cpp:
34557         * src/GraphicsContext3DInternal.h:
34558
34559 2011-07-15  Dan Bernstein  <mitz@apple.com>
34560
34561         Chromium build fix.
34562
34563         * src/WebPopupMenuImpl.cpp:
34564         (WebKit::WebPopupMenuImpl::setCursorHiddenUntilMouseMoves):
34565         * src/WebPopupMenuImpl.h:
34566
34567 2011-07-15  Dan Bernstein  <mitz@apple.com>
34568
34569         REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
34570         https://bugs.webkit.org/show_bug.cgi?id=64615
34571
34572         Reviewed by Anders Carlsson.
34573
34574         * src/ChromeClientImpl.cpp:
34575         (WebKit::ChromeClientImpl::setCursorHiddenUntilMouseMoves): Added this stub.
34576         * src/ChromeClientImpl.h:
34577
34578 2011-07-14  Ryosuke Niwa  <rniwa@webkit.org>
34579
34580         Rolled Chromium revision to 92606.
34581
34582         * DEPS:
34583
34584 2011-07-14  Ilya Sherman  <isherman@chromium.org>
34585
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
34589
34590         Reviewed by Darin Fisher.
34591
34592         * WebKit.gyp:
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):
34672
34673 2011-07-14  Yury Semikhatsky  <yurys@chromium.org>
34674
34675         [Chromium] Web Inspector: URL parameters should consistently use camel case names
34676         https://bugs.webkit.org/show_bug.cgi?id=64520
34677
34678         Reviewed by Pavel Feldman.
34679
34680         * src/js/DevTools.js:
34681         (devtools.domContentLoaded): Now that Chromium side is updated we can remove the old parameter
34682         handling code.
34683
34684 2011-07-14  Yury Semikhatsky  <yurys@chromium.org>
34685
34686         [Chromium] Web Inspector: URL parameters should consistently use camel case names
34687         https://bugs.webkit.org/show_bug.cgi?id=64520
34688
34689         Reviewed by Pavel Feldman.
34690
34691         * src/js/DevTools.js:
34692         (devtools.domContentLoaded):
34693
34694 2011-07-13  Noel Gordon  <noel.gordon@gmail.com>
34695
34696         [chromium] Clean undeeded WebCore:: namespace prefixing from WebBindings.
34697         https://bugs.webkit.org/show_bug.cgi?id=64361
34698
34699         Reviewed by Kent Tamura.
34700
34701         * src/WebBindings.cpp:
34702         (WebKit::makeIntArrayImpl):
34703         (WebKit::makeStringArrayImpl):
34704
34705 2011-07-13  James Robinson  <jamesr@chromium.org>
34706
34707         [chromium] No implementation defined for WTF::monotonicallyIncreasingTime
34708         https://bugs.webkit.org/show_bug.cgi?id=64420
34709
34710         Reviewed by Tony Gentilcore.
34711
34712         Provides an implementation of WTF::monotonicallyIncreasingTime() alongside the implementation of
34713         WTF::currentTime().
34714
34715         * src/ChromiumCurrentTime.cpp:
34716         (WTF::monotonicallyIncreasingTime):
34717         * src/PlatformBridge.cpp:
34718
34719 2011-07-13  Vsevolod Vlasov  <vsevik@chromium.org>
34720
34721         Chromium DevTools: Enable clear cache and cookies from network panel in chromium.
34722         https://bugs.webkit.org/show_bug.cgi?id=64095
34723
34724         Reviewed by Pavel Feldman.
34725
34726         * src/js/DevTools.js:
34727         ():
34728
34729 2011-07-12  Al Patrick  <apatrick@chromium.org>
34730
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
34734
34735         Reviewed by Kenneth Russell.
34736
34737         * public/WebGraphicsContext3D.h:
34738         (WebKit::WebGraphicsContext3D::setParentContext):
34739         * src/GraphicsContext3DChromium.cpp:
34740         (WebCore::GraphicsContext3DInternal::platformTexture):
34741
34742 2011-07-12  James Robinson  <jamesr@chromium.org>
34743
34744         [chromium] Delete the unused legacy accelerated canvas 2d code
34745         https://bugs.webkit.org/show_bug.cgi?id=64214
34746
34747         Reviewed by Stephen White.
34748
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.
34753
34754         * src/GraphicsContext3DChromium.cpp:
34755         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
34756         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
34757         (WebCore::GraphicsContext3DInternal::grContext):
34758         (WebCore::GraphicsContext3D::grContext):
34759         * src/GraphicsContext3DInternal.h:
34760
34761 2011-07-12  Joseph Pecoraro  <joepeck@webkit.org>
34762
34763         ApplicationCache update should not immediately fail when reaching per-origin quota
34764         https://bugs.webkit.org/show_bug.cgi?id=64177
34765
34766         Reviewed by Alexey Proskuryakov.
34767
34768         * src/ChromeClientImpl.cpp:
34769         (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
34770         * src/ChromeClientImpl.h:
34771
34772 2011-07-12  John Bates  <jbates@google.com>
34773
34774         Move call to syncCompositingLayers so that we do not trigger redundant draws.
34775         https://bugs.webkit.org/show_bug.cgi?id=64224
34776
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.
34781
34782         Reviewed by James Robinson.
34783
34784         * src/WebViewImpl.cpp:
34785         (WebKit::WebViewImpl::layout):
34786         (WebKit::WebViewImpl::syncCompositingLayers):
34787         * src/WebViewImpl.h:
34788
34789 2011-07-12  Sheriff Bot  <webkit.review.bot@gmail.com>
34790
34791         Unreviewed.  Rolled DEPS.
34792
34793         * DEPS:
34794
34795 2011-07-12  Evan Martin  <evan@chromium.org>
34796
34797         [chromium] DRT depends on v8
34798         https://bugs.webkit.org/show_bug.cgi?id=64376
34799
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.
34802
34803         * WebKit.gyp:
34804
34805 2011-07-11  Ryosuke Niwa  <rniwa@webkit.org>
34806
34807         Unreviewed.  Rolled DEPS.
34808
34809         * DEPS:
34810
34811 2011-07-08  Nate Chapin  <japhet@chromium.org>
34812
34813         Check activeDocumentLoader() in
34814         WebFrameImpl::currentHistoryItem() and return
34815         early if null, since that should mean we're
34816         shutting down.
34817         https://bugs.webkit.org/show_bug.cgi?id=52923
34818
34819         Reviewed by Darin Fisher.
34820
34821         No known repro, so no new test.
34822
34823         * src/WebFrameImpl.cpp:
34824         (WebKit::WebFrameImpl::currentHistoryItem):
34825
34826 2011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>
34827
34828         Web Inspector: Add support for clearing cache and cookies from network panel.
34829         https://bugs.webkit.org/show_bug.cgi?id=63999
34830
34831         Reviewed by Pavel Feldman.
34832
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:
34844
34845 2011-07-06  Adam Barth  <abarth@webkit.org>
34846
34847         Unreviewed.  Rolled DEPS.
34848
34849         * DEPS:
34850
34851 2011-07-06  Johnny Ding  <jnd@chromium.org>
34852
34853         https://bugs.webkit.org/show_bug.cgi?id=63857
34854         Check WebWidgetClient before calling it to close widget.  
34855
34856         Reviewed by Tony Chang.
34857
34858         * src/WebPopupMenuImpl.cpp:
34859         (WebKit::WebPopupMenuImpl::popupClosed):
34860
34861 2011-07-06  Adrienne Walker  <enne@google.com>
34862
34863         [chromium] Add compositor texture manager soft limits and lost focus reclaiming
34864         https://bugs.webkit.org/show_bug.cgi?id=64009
34865
34866         Reviewed by James Robinson.
34867
34868         Reclaim textures when the tab loses focus.
34869
34870         * src/WebViewImpl.cpp:
34871         (WebKit::WebViewImpl::setVisibilityState):
34872
34873 2011-06-30  Cris Neckar  <cdn@chromium.org>
34874
34875         Reviewed by Darin Fisher.
34876
34877         Add versioning to Chromium clipboard and prevent polling from inside events.
34878         https://bugs.webkit.org/show_bug.cgi?id=63738
34879
34880         * public/WebClipboard.h:
34881         (WebKit::WebClipboard::getSequenceNumber):
34882         * src/PlatformBridge.cpp:
34883         (WebCore::PlatformBridge::clipboardGetSequenceNumber):
34884
34885 2011-07-06  Ryosuke Niwa  <rniwa@webkit.org>
34886
34887         Rolled DEPS.
34888
34889         * DEPS:
34890
34891 2011-07-05  Yury Semikhatsky  <yurys@chromium.org>
34892
34893         [Chromium] Web Inspector: extend WebSharedWorker with inspector transport methods
34894         https://bugs.webkit.org/show_bug.cgi?id=63942
34895
34896         Added methods for connecting inspector to shared worker and for passing
34897         messages between shared worker inspector and corresponding inspector frontend.
34898
34899         Reviewed by Pavel Feldman.
34900
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):
34918
34919 2011-07-01  Kent Tamura  <tkent@chromium.org>
34920
34921         [Chromium] Rebaseline for fast/forms/input-file-re-render.html
34922         https://bugs.webkit.org/show_bug.cgi?id=63733
34923
34924         * DEPS: Update chromium revision to 91405 to have "Choose Files" string.
34925
34926 2011-07-01  Michael Nordman  <michaeln@google.com>
34927
34928         Reviewed by Darin Fisher.
34929
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
34932
34933         * public/WebMimeRegistry.h:
34934         (WebKit::WebMimeRegistry::wellKnownMimeTypeForExtension):
34935         * src/PlatformBridge.cpp:
34936         (WebCore::PlatformBridge::wellKnownMimeTypeForExtension):
34937
34938 2011-07-01  Scott Byer  <scottbyer@chromium.org>
34939
34940         Reviewed by Adam Barth.
34941
34942         Smooth scrolling fixes
34943         https://bugs.webkit.org/show_bug.cgi?id=63770
34944
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.
34947
34948         * tests/ScrollAnimatorNoneTest.cpp:
34949         (ScrollAnimatorNoneTest::updateDataFromParameters):
34950         (TEST_F):
34951
34952 2011-07-01  Hans Wennborg  <hans@chromium.org>
34953
34954         IndexedDB: make LevelDB the default back-end
34955         https://bugs.webkit.org/show_bug.cgi?id=63817
34956
34957         Reviewed by Tony Chang.
34958
34959         Use LevelDB as the default back-end.
34960
34961         Covered by existing layout tests for indexeddb, which will now be
34962         using the LevelDB back-end.
34963
34964         * src/WebIDBFactoryImpl.cpp:
34965         (WebKit::WebIDBFactoryImpl::open):
34966
34967 2011-07-01  Ryosuke Niwa  <rniwa@webkit.org>
34968
34969         Reviewed by Ojan Vafai.
34970
34971         Move m_isDirectional from FrameSelection to VisibleSelection
34972         https://bugs.webkit.org/show_bug.cgi?id=63473
34973
34974         Don't pass MakeNonDirectionalSelection to setSelection since no other port does this.
34975
34976         * src/WebFrameImpl.cpp:
34977         (WebKit::WebFrameImpl::selectRange):
34978
34979 2011-07-01  Andrew Scherkus  <scherkus@chromium.org>
34980
34981         Reviewed by Darin Fisher.
34982
34983         Re-enable WTF_USE_WEBAUDIO_FFMPEG for Chromium
34984         https://bugs.webkit.org/show_bug.cgi?id=63783
34985
34986         * features.gypi:
34987
34988 2011-07-01  Tony Chang  <tony@chromium.org>
34989
34990         Fix the chromium build.  sql is a new top level directory.
34991
34992         * DEPS:
34993
34994 2011-07-01  Ryosuke Niwa  <rniwa@webkit.org>
34995
34996         Rolled DEPS.
34997
34998         * DEPS:
34999
35000 2011-06-30  Noel Gordon  <noel.gordon@gmail.com>
35001
35002         Reviewed by Hajime Morita.
35003
35004         [Chromium] Remove WebBindings::makeNode.
35005         https://bugs.webkit.org/show_bug.cgi?id=63613
35006
35007         Dead code elimination. No change in behaviour, so no new tests.
35008
35009         * public/WebBindings.h:
35010         * src/WebBindings.cpp:
35011
35012 2011-06-30  Kent Tamura  <tkent@chromium.org>
35013
35014         Reviewed by Darin Fisher.
35015
35016         [Chromium] Implement WebCore::defaultDetailsSummaryText()
35017         https://bugs.webkit.org/show_bug.cgi?id=63700
35018
35019         * public/WebLocalizedString.h: Add new key.
35020         * src/LocalizedStrings.cpp: Call query() with the new key.
35021         (WebCore::defaultDetailsSummaryText):
35022
35023 2011-06-30  Andrew Scherkus  <scherkus@chromium.org>
35024
35025         Unreviewed.
35026
35027         Temporarily disabling WTF_USE_WEBAUDIO_FFMPEG due to FFmpeg update.
35028
35029         * features.gypi:
35030
35031 2011-06-30  John Bates  <jbates@google.com>
35032
35033         Reviewed by James Robinson.
35034
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
35041
35042         * src/WebViewImpl.cpp:
35043         (WebKit::WebViewImpl::composite):
35044
35045 2011-06-30  Cary Clark  <caryclark@google.com>
35046
35047         Reviewed by James Robinson.
35048
35049         Use Skia if Skia on Mac Chrome is enabled
35050         https://bugs.webkit.org/show_bug.cgi?id=62999
35051
35052         * WebKit.gyp:
35053         If building for Skia, exclude CG files.
35054         If not, exclude Skia files.
35055
35056         * features.gypi:
35057         Enable Skia on Chromium Mac if so instructed by the gyp define.
35058         Allow Skia to be hardware accelerated on the Mac.
35059
35060         * public/WebCommon.h:
35061         If Skia is defined on the Mac, define it in the WebXXX
35062         interfaces as well.
35063
35064 2011-06-30  Sreeram Ramachandran  <sreeram@chromium.org>
35065
35066         Reviewed by Adam Barth.
35067
35068         Suppress modal JavaScript/HTML dialogs during unload events
35069         https://bugs.webkit.org/show_bug.cgi?id=56397
35070
35071         Implementation of the new shouldRunModalDialogDuringPageDismissal() API
35072         to block alerts during unload handlers. Logs such events to the console
35073         and updates histograms.
35074
35075         * src/ChromeClientImpl.cpp:
35076         (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
35077         * src/ChromeClientImpl.h:
35078
35079 2011-06-30  Anders Carlsson  <andersca@apple.com>
35080
35081         Reviewed by Dan Bernstein.
35082
35083         More ScrollableArea scaffolding
35084         https://bugs.webkit.org/show_bug.cgi?id=63678
35085
35086         Add an enclosingScrollableArea stub.
35087
35088         * src/WebScrollbarImpl.cpp:
35089         (WebKit::WebScrollbarImpl::enclosingScrollableArea):
35090         * src/WebScrollbarImpl.h:
35091
35092 2011-06-28  Hans Wennborg  <hans@chromium.org>
35093
35094         Reviewed by Tony Chang.
35095
35096         IndexedDB: Prepare for running layout tests with LevelDB
35097         https://bugs.webkit.org/show_bug.cgi?id=63593
35098
35099         WebIDBFactory should decide what DefaultBackingStore means.
35100         Also fix handling of layout test and incognito mode properly.
35101
35102         * src/WebIDBFactoryImpl.cpp:
35103         (WebKit::WebIDBFactoryImpl::open):
35104
35105 2011-06-30  Alexander Pavlov  <apavlov@chromium.org>
35106
35107         Reviewed by Kent Tamura.
35108
35109         [Chromium] Autofill suggestions appear in upper left corner after input change
35110         https://bugs.webkit.org/show_bug.cgi?id=63702
35111
35112         * src/ChromeClientImpl.cpp:
35113         (WebKit::ChromeClientImpl::screenToWindow): Implemented.
35114         * src/WebViewImpl.cpp:
35115         (WebKit::WebViewImpl::refreshAutoFillPopup): Pass screen (not window) coordinates into setWindowRect().
35116
35117 2011-06-30  Kentaro Hara  <haraken@google.com>
35118
35119         Reviewed by Kent Tamura.
35120
35121         Change the label of an HTML5 file chooser button to "Choose Files"
35122         https://bugs.webkit.org/show_bug.cgi?id=49245
35123
35124         We should notify capability of multiple files to users.
35125
35126         Test: fast/forms/input-file-label.html
35127
35128         * DEPS:
35129         * public/WebLocalizedString.h: Depends on chromium_rev>=91051.
35130         * src/LocalizedStrings.cpp:
35131         (WebCore::fileButtonChooseMultipleFilesLabel): Returns a "Choose Files" label.
35132
35133 2011-06-29  James Hawkins  <jhawkins@chromium.org>
35134
35135         Reviewed by Pavel Feldman.
35136
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
35139
35140         * src/WebFrameImpl.cpp:
35141         (WebKit::pluginContainerFromNode):
35142
35143 2011-06-29  Andrey Kosyakov  <caseq@chromium.org>
35144
35145         Reviewed by Pavel Feldman.
35146
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
35149
35150         * public/WebDevToolsAgent.h:
35151         * src/WebDevToolsAgentImpl.cpp:
35152         (WebKit::WebDevToolsAgentImpl::setAgentProcessIdentifier):
35153         * src/WebDevToolsAgentImpl.h:
35154
35155 2011-06-28  Ilya Sherman  <isherman@chromium.org>
35156
35157         Reviewed by Adam Barth.
35158
35159         form.autocomplete="off" does not work
35160         https://bugs.webkit.org/show_bug.cgi?id=35823
35161
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.
35170
35171 2011-06-28  Ryosuke Niwa  <rniwa@webkit.org>
35172
35173         Rolled DEPS.
35174
35175         * DEPS:
35176
35177 2011-06-28  Sheriff Bot  <webkit.review.bot@gmail.com>
35178
35179         Unreviewed, rolling out r89968.
35180         http://trac.webkit.org/changeset/89968
35181         https://bugs.webkit.org/show_bug.cgi?id=63581
35182
35183         Broke chromium windows compile (Requested by jamesr on
35184         #webkit).
35185
35186         * WebKit.gyp:
35187         * features.gypi:
35188         * public/WebCommon.h:
35189
35190 2011-06-28  Cary Clark  <caryclark@google.com>
35191
35192         Reviewed by James Robinson.
35193
35194         Use Skia if Skia on Mac Chrome is enabled
35195         https://bugs.webkit.org/show_bug.cgi?id=62999
35196
35197         * WebKit.gyp:
35198         If building for Skia, exclude CG files.
35199         If not, exclude Skia files.
35200
35201         * features.gypi:
35202         Enable Skia on Chromium Mac if so instructed by the gyp define.
35203         Allow Skia to be hardware accelerated on the Mac.
35204
35205         * public/WebCommon.h:
35206         If Skia is defined on the Mac, define it in the WebXXX
35207         interfaces as well.
35208
35209 2011-06-28  Ryosuke Niwa  <rniwa@webkit.org>
35210
35211         Rolled DEPS.
35212
35213         * DEPS:
35214
35215 2011-06-27  James Hawkins  <jhawkins@chromium.org>
35216
35217         Reviewed by Darin Fisher.
35218
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
35221
35222         * public/WebFrame.h:
35223         * src/WebFrameImpl.cpp:
35224         (WebKit::pluginContainerFromNode):
35225         (WebKit::WebFrameImpl::executeCommand):
35226         (WebKit::WebFrameImpl::printBegin):
35227         * src/WebFrameImpl.h:
35228
35229 2011-06-27  Ryosuke Niwa  <rniwa@webkit.org>
35230
35231         Rolled DEPS.
35232
35233         * DEPS:
35234
35235 2011-06-27  Jay Civelli  <jcivelli@chromium.org>
35236
35237         Reviewed by Darin Fisher.
35238
35239         Adding binary part support to MHTML.
35240         https://bugs.webkit.org/show_bug.cgi?id=63310
35241
35242         * public/WebPageSerializer.h:
35243         * src/WebPageSerializer.cpp:
35244         (WebKit::WebPageSerializer::serializeToMHTML):
35245         (WebKit::WebPageSerializer::serializeToMHTMLUsingBinaryEncoding):
35246
35247 2011-05-17  Nat Duca  <nduca@chromium.org>
35248
35249         Reviewed by James Robinson.
35250
35251         [chromium] Implement CCLayerTreeHost and CCLayerTreeHostImpl portions of threaded compositor
35252         https://bugs.webkit.org/show_bug.cgi?id=58408
35253
35254         Redirect invalidates and scheduling into compositor when in
35255         threaded compositing mode. Add stress tests for CCLayerTreeHost.
35256
35257         * WebKit.gypi:
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):
35317         (WTF::TEST_F):
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:
35345         (WebCore::TEST):
35346
35347 2011-06-27  Yuta Kitamura  <yutak@chromium.org>
35348
35349         Reviewed by Adam Barth.
35350
35351         [Chromium] Add useHixie76WebSocketProtocol to WebSettings
35352         https://bugs.webkit.org/show_bug.cgi?id=63424
35353
35354         * public/WebSettings.h:
35355         * src/WebSettingsImpl.cpp:
35356         (WebKit::WebSettingsImpl::setHixie76WebSocketProtocolEnabled):
35357         * src/WebSettingsImpl.h:
35358
35359 2011-06-26  Adam Barth  <abarth@webkit.org>
35360
35361         Reviewed by Eric Seidel.
35362
35363         [Chromium] Remove WebSecurityOrigin::grantUniversalAccess
35364         https://bugs.webkit.org/show_bug.cgi?id=63415
35365
35366         This function has no callers and is downright dangerous.
35367
35368         * public/WebSecurityOrigin.h:
35369         * src/WebSecurityOrigin.cpp:
35370
35371 2011-06-26  Adam Barth  <abarth@webkit.org>
35372
35373         Reviewed by Eric Seidel.
35374
35375         [Chromium] Remove code behind WEBKIT_FRAME_TO_DOCUMENT_API_MOVE
35376         https://bugs.webkit.org/show_bug.cgi?id=63402
35377
35378         These old APIs are no longer needed.
35379
35380         * public/WebFrame.h:
35381         * src/WebFrameImpl.cpp:
35382         * src/WebFrameImpl.h:
35383
35384 2011-06-25  Adam Barth  <abarth@webkit.org>
35385
35386         Reviewed by Eric Seidel.
35387
35388         [Chromium] Update WebKit for WEBKIT_FRAME_TO_DOCUMENT_API_MOVE
35389         https://bugs.webkit.org/show_bug.cgi?id=63394
35390
35391         * src/FrameLoaderClientImpl.cpp:
35392         (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
35393
35394 2011-06-25  Adam Barth  <abarth@webkit.org>
35395
35396         Roll Chromium DEPS.
35397
35398         * DEPS:
35399
35400 2011-06-25  Adam Barth  <abarth@webkit.org>
35401
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
35405         configuration.
35406
35407         * src/WebFrameImpl.h:
35408
35409 2011-06-24  Nat Duca  <nduca@chromium.org>
35410
35411         Unreviewed, rolling out r89694.
35412         http://trac.webkit.org/changeset/89694
35413         https://bugs.webkit.org/show_bug.cgi?id=58408
35414
35415         Test shell still not ready for animate changes.
35416
35417         * WebKit.gypi:
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:
35440         (WebCore::TEST):
35441
35442 2011-05-17  Nat Duca  <nduca@chromium.org>
35443
35444         Reviewed by James Robinson.
35445
35446         [chromium] Implement CCLayerTreeHost and CCLayerTreeHostImpl portions of threaded compositor
35447         https://bugs.webkit.org/show_bug.cgi?id=58408
35448
35449         Redirect invalidates and scheduling into compositor when in
35450         threaded compositing mode. Add stress tests for CCLayerTreeHost.
35451
35452         * WebKit.gypi:
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):
35512         (WTF::TEST_F):
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:
35540         (WebCore::TEST):
35541
35542 2011-06-24  Chris Rogers  <crogers@google.com>
35543
35544         Reviewed by Kenneth Russell.
35545
35546         Enable Web Audio for Chromium Win
35547         https://bugs.webkit.org/show_bug.cgi?id=63338
35548
35549         * features.gypi:
35550
35551 2011-06-24  Dominic Cooney  <dominicc@chromium.org>
35552
35553         Reviewed by Dimitri Glazkov.
35554
35555         Convert shadow DOM-related tests to use window.internals
35556         https://bugs.webkit.org/show_bug.cgi?id=61671
35557
35558         Remove shadow DOM-related methods from Chromium API. These are not
35559         required any more.
35560
35561         * public/WebElement.h:
35562         * src/WebElement.cpp:
35563
35564 2011-06-24  Vsevolod Vlasov  <vsevik@chromium.org>
35565
35566         Reviewed by Darin Fisher.
35567
35568         Web Inspector: [Chromium] Successfully prefetched page shows up as an error in console
35569         https://bugs.webkit.org/show_bug.cgi?id=62396
35570
35571         * public/WebURLError.h:
35572         (WebKit::WebURLError::WebURLError):
35573         * src/WebURLError.cpp:
35574         (WebKit::WebURLError::operator=):
35575         (WebKit::WebURLError::operator ResourceError):
35576
35577 2011-06-23  Yury Semikhatsky  <yurys@chromium.org>
35578
35579         Reviewed by Pavel Feldman.
35580
35581         [Chromium] Web Inspector: provide context menu item for enabling native worker inspection
35582         https://bugs.webkit.org/show_bug.cgi?id=63258
35583
35584         * src/js/DevTools.js:
35585         ():
35586
35587 2011-06-23  John Bates  <jbates@google.com>
35588
35589         Reviewed by James Robinson.
35590
35591         Fix latch deadlock when GPU process crashes or context is lost
35592         https://bugs.webkit.org/show_bug.cgi?id=63189
35593
35594         * src/WebViewImpl.cpp:
35595         (WebKit::WebViewImpl::composite):
35596
35597 2011-06-23  Ryosuke Niwa  <rniwa@webkit.org>
35598
35599         Rolled DEPS.
35600
35601         * DEPS:
35602
35603 2011-06-23  John Abd-El-Malek  <jam@chromium.org>
35604
35605         Reviewed by Tony Chang.
35606
35607         [chromium] Fix WebScrollBarImpl on Mac after recent smooth scrolling changes
35608         https://bugs.webkit.org/show_bug.cgi?id=63260
35609
35610         * src/WebScrollbarImpl.cpp:
35611         (WebKit::WebScrollbarImpl::visibleHeight):
35612         (WebKit::WebScrollbarImpl::visibleWidth):
35613         (WebKit::WebScrollbarImpl::contentsSize):
35614         (WebKit::WebScrollbarImpl::overhangAmount):
35615         * src/WebScrollbarImpl.h:
35616
35617 2011-06-23  Ryosuke Niwa  <rniwa@webkit.org>
35618
35619         Rolled DEPS.
35620
35621         * DEPS:
35622
35623 2011-06-22  Ryosuke Niwa  <rniwa@webkit.org>
35624
35625         Reviewed by Kent Tamura.
35626
35627         [chromium] Remove calls to Position::deprecatedNode
35628         https://bugs.webkit.org/show_bug.cgi?id=63226
35629
35630         Call containerNode instead of deprecatedNode.
35631
35632         * src/WebViewImpl.cpp:
35633         (WebKit::WebViewImpl::textInputType):
35634
35635 2011-06-22  Adam Barth  <abarth@webkit.org>
35636
35637         Reviewed by Darin Fisher.
35638
35639         [Chromium] Add WebDocument APIs for the functions moving from WebFrame
35640         https://bugs.webkit.org/show_bug.cgi?id=62831
35641
35642         The next phase will be to change all the callers and then remove all
35643         the code inside the ifdef.
35644
35645         * public/WebDocument.h:
35646             - Add new APIs.
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
35652               WebDocument.
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):
35674
35675 2011-06-22  Sheriff Bot  <webkit.review.bot@gmail.com>
35676
35677         Unreviewed, rolling out r89489.
35678         http://trac.webkit.org/changeset/89489
35679         https://bugs.webkit.org/show_bug.cgi?id=63203
35680
35681         Broke chromium mac build on build.webkit.org (Requested by
35682         abarth on #webkit).
35683
35684         * WebKit.gyp:
35685         * features.gypi:
35686         * public/WebCommon.h:
35687
35688 2011-06-22  Cary Clark  <caryclark@google.com>
35689
35690         Reviewed by Darin Fisher.
35691
35692         Use Skia if Skia on Mac Chrome is enabled
35693         https://bugs.webkit.org/show_bug.cgi?id=62999
35694
35695         * WebKit.gyp:
35696         If building for Skia, exclude CG files.
35697         If not, exclude Skia files.
35698
35699         * features.gypi:
35700         Enable Skia on Chromium Mac if so instructed by the gyp define.
35701         Allow Skia to be hardware accelerated on the Mac.
35702
35703         * public/WebCommon.h:
35704         If Skia is defined on the Mac, define it in the WebXXX
35705         interfaces as well.
35706
35707 2011-06-22  Adam Barth  <abarth@webkit.org>
35708
35709         Rollout 88332.
35710
35711         * features.gypi:
35712         * public/WebRuntimeFeatures.h:
35713         * src/ContextMenuClientImpl.cpp:
35714         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
35715         * src/WebRuntimeFeatures.cpp:
35716
35717 2011-06-20  Dimitri Glazkov  <dglazkov@chromium.org>
35718
35719         Reviewed by Kent Tamura.
35720
35721         FileChooser should be only created when we need to choose files.
35722         https://bugs.webkit.org/show_bug.cgi?id=63039
35723
35724         * src/ChromeClientImpl.cpp:
35725         (WebKit::ChromeClientImpl::runOpenPanel): Changed to use settings.
35726         (WebKit::ChromeClientImpl::enumerateChosenDirectory): Updated decls.
35727         * src/ChromeClientImpl.h:
35728
35729 2011-06-21  Tony Chang  <tony@chromium.org>
35730
35731         Reviewed by Eric Seidel.
35732
35733         add css parsing of flex()
35734         https://bugs.webkit.org/show_bug.cgi?id=62050
35735
35736         * features.gypi: Add a gyp flag (enable_css3_flexbox) for setting ENABLE_CSS3_FLEXBOX.
35737
35738 2011-06-21  Zhenyao Mo  <zmo@google.com>
35739
35740         Reviewed by Kenneth Russell.
35741
35742         Implement drawingBufferWidth/drawingBufferHeight in WebGL
35743         https://bugs.webkit.org/show_bug.cgi?id=58497
35744
35745         * src/GraphicsContext3DChromium.cpp: Make getInternalFramebufferSize method const.
35746         (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize):
35747         (WebCore::GraphicsContext3D::getInternalFramebufferSize):
35748         * src/GraphicsContext3DInternal.h:
35749
35750 2011-06-21  Dmitry Lomov  <dslomov@google.com>
35751
35752         Reviewed by Adam Barth.
35753
35754         https://bugs.webkit.org/show_bug.cgi?id=62653
35755         [V8][Chromium] Make StringCache in V8 bindings per-isolate
35756
35757         * src/WebKit.cpp:
35758         (WebKit::initialize): Initialize V8PerIsolateBindingData eagerly
35759         * src/WebScriptController.cpp:
35760         (WebKit::WebScriptController::enableV8SingleThreadMode): StringCache is now per-isolate, so ok in multithreaded contexts.
35761
35762 2011-06-21  Chris Evans  <cevans@chromium.org>
35763
35764         Reviewed by Darin Fisher.
35765
35766         Wire in checkIfRunInsecureContent to the chromium WebKit API
35767         https://bugs.webkit.org/show_bug.cgi?id=63026
35768
35769         * public/WebFrame.h:
35770         * src/WebFrameImpl.cpp:
35771         (WebKit::WebFrameImpl::checkIfRunInsecureContent): add in basic plumbing.
35772         * src/WebFrameImpl.h:
35773
35774 2011-06-21  Ryosuke Niwa  <rniwa@webkit.org>
35775
35776         Rolled DEPS.
35777
35778         * DEPS:
35779
35780 2011-06-21  Sheriff Bot  <webkit.review.bot@gmail.com>
35781
35782         Unreviewed, rolling out r89185.
35783         http://trac.webkit.org/changeset/89185
35784         https://bugs.webkit.org/show_bug.cgi?id=63068
35785
35786         For breaking navigation with inspector opened. (Requested by
35787         pfeldman on #webkit).
35788
35789         * src/WebScriptController.cpp:
35790         (WebKit::WebScriptController::enableV8SingleThreadMode):
35791
35792 2011-06-20  Scott Byer  <scottbyer@chromium.org>
35793
35794         Reviewed by Adam Barth.
35795
35796         Smooth scrolling for Chromium, initial patch.
35797         https://bugs.webkit.org/show_bug.cgi?id=61878
35798
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.
35803
35804         Unit tests ScrollAnimatorNoneTest.cpp
35805
35806         * WebKit.gypi:
35807         * features.gypi:
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):
35819         (TEST):
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):
35834         (TEST_F):
35835
35836 2011-06-20  Adam Barth  <abarth@webkit.org>
35837
35838         Reviewed by Dimitri Glazkov.
35839
35840         Several pyauto tests are failing because some infobars
35841         https://bugs.webkit.org/show_bug.cgi?id=62968
35842
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.
35849
35850         * src/WebFrameImpl.cpp:
35851         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
35852
35853 2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
35854
35855         Reviewed by Yury Semikhatsky.
35856
35857         Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
35858         https://bugs.webkit.org/show_bug.cgi?id=62994
35859
35860         * public/WebDevToolsAgent.h:
35861         * src/WebDevToolsAgentImpl.cpp:
35862         * src/WebDevToolsAgentImpl.h:
35863
35864 2011-06-19  Ryosuke Niwa  <rniwa@webkit.org>
35865
35866         Rolled DEPS.
35867
35868         * DEPS:
35869
35870 2011-06-18  Dimitri Glazkov  <dglazkov@chromium.org>
35871
35872         Reviewed by Darin Adler.
35873
35874         Separate concerns of loading file icons and choosing files.
35875         https://bugs.webkit.org/show_bug.cgi?id=62931
35876
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.
35884
35885 2011-06-18  Yufeng Shen  <miletus@chromium.org>
35886
35887         Reviewed by Darin Fisher.
35888
35889         Adding "force" filed to Touch Event
35890         https://bugs.webkit.org/show_bug.cgi?id=62766
35891
35892         * public/WebTouchPoint.h:
35893         (WebKit::WebTouchPoint::WebTouchPoint):
35894         * src/WebInputEventConversion.cpp:
35895         (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
35896
35897 2011-06-17  Chris Rogers  <crogers@google.com>
35898
35899         Unreviewed build fix.
35900
35901         Build fix - fix chromium shared win builder
35902         https://bugs.webkit.org/show_bug.cgi?id=62924
35903
35904         * features.gypi:
35905
35906 2011-06-17  Dmitry Lomov  <dslomov@google.com>
35907
35908         Reviewed by Adam Barth.
35909
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.
35913
35914         * src/WebScriptController.cpp:
35915         (WebKit::WebScriptController::enableV8SingleThreadMode): StringCache is now per-isolate, so ok in multithreaded contexts.
35916
35917 2011-06-17  Ryosuke Niwa  <rniwa@webkit.org>
35918
35919         Roll Chromium DEPS.
35920
35921         * DEPS:
35922
35923 2011-06-17  Sheriff Bot  <webkit.review.bot@gmail.com>
35924
35925         Unreviewed, rolling out r89143.
35926         http://trac.webkit.org/changeset/89143
35927         https://bugs.webkit.org/show_bug.cgi?id=62912
35928
35929         Possible Chromeos test breakage (Requested by senorblanco on
35930         #webkit).
35931
35932         * src/AsyncFileSystemChromium.cpp:
35933         (WebCore::AsyncFileSystemChromium::virtualPathToFileSystemURL):
35934         * src/WorkerAsyncFileSystemChromium.cpp:
35935         (WebCore::WorkerAsyncFileSystemChromium::virtualPathToFileSystemURL):
35936         * tests/KURLTest.cpp:
35937         (ComponentCase::TEST):
35938
35939 2011-06-17  Chris Rogers  <crogers@google.com>
35940
35941         Reviewed by Tony Chang.
35942
35943         Enable Web Audio for chromium windows build
35944         https://bugs.webkit.org/show_bug.cgi?id=62895
35945
35946         * features.gypi:
35947
35948 2011-06-17  Eric Uhrhane  <ericu@chromium.org>
35949
35950         Reviewed by Adam Barth.
35951
35952         [filesystem/Chromium] Filesystem paths need proper URL escaping
35953         https://bugs.webkit.org/show_bug.cgi?id=62811
35954
35955         Fix http://code.google.com/p/chromium/issues/detail?id=78860 by making
35956         KURLChromium.cpp's escaping code actually work.
35957
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):
35963
35964         Here I updated the test to reflect the new functionality in
35965         encodeWithURLEscapeSequences.
35966         * tests/KURLTest.cpp:
35967
35968 2011-06-16  Bill Budge  <bbudge@chromium.org>
35969
35970         Reviewed by Adam Barth.
35971
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
35974
35975         * WebKit.gyp:
35976         * WebKit.gypi:
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):
36000         (WebKit::TEST_F):
36001
36002 2011-06-16  Sailesh Agrawal  <sail@chromium.org>
36003
36004         Reviewed by Mihai Parparita.
36005
36006         [Chromium] Overlay scrollbars leave glitches on web content
36007         https://bugs.webkit.org/show_bug.cgi?id=62383
36008
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).
36010
36011         * src/ChromeClientImpl.cpp:
36012         (WebKit::ChromeClientImpl::scroll):
36013
36014 2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>
36015
36016         Rolled DEPS.
36017
36018         * DEPS:
36019
36020 2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>
36021
36022         Rolled DEPS.
36023
36024         * DEPS:
36025
36026 2011-06-16  Adam Barth  <abarth@webkit.org>
36027
36028         Reviewed by Darin Fisher.
36029
36030         [Chromium] Prepare to move some APIs from WebFrame to WebDocument
36031         https://bugs.webkit.org/show_bug.cgi?id=62781
36032
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).
36037
36038         * public/WebFrame.h:
36039         * src/WebFrameImpl.cpp:
36040         * src/WebFrameImpl.h:
36041
36042 2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
36043
36044         Unreviewed, rolling out r89026.
36045         http://trac.webkit.org/changeset/89026
36046         https://bugs.webkit.org/show_bug.cgi?id=62804
36047
36048         These patches were likely correct.  I'll investigate the
36049         browser_test failures. (Requested by abarth on #webkit).
36050
36051         * src/WebPluginContainerImpl.cpp:
36052         (WebKit::WebPluginContainerImpl::loadFrameRequest):
36053         * src/WebViewImpl.cpp:
36054         (WebKit::WebViewImpl::performMediaPlayerAction):
36055
36056 2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>
36057
36058         Reviewed by Pavel Feldman.
36059
36060         Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
36061         https://bugs.webkit.org/show_bug.cgi?id=61205
36062
36063         Added inspector backend cache for XHR content.
36064
36065         * src/AssociatedURLLoader.cpp:
36066         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
36067
36068 2011-06-16  Tommy Widenflycht  <tommyw@google.com>
36069
36070         Reviewed by Tony Gentilcore.
36071
36072         MediaStream API: Runtime enabled features
36073         https://bugs.webkit.org/show_bug.cgi?id=62798
36074
36075         Add the WebRuntimeFeatures API for Media Streams and enable the feature by default in DumpRenderTree.
36076
36077         * public/WebRuntimeFeatures.h:
36078         * src/WebRuntimeFeatures.cpp:
36079         (WebKit::WebRuntimeFeatures::enableMediaStream):
36080         (WebKit::WebRuntimeFeatures::isMediaStreamEnabled):
36081
36082 2011-06-16  Torsten Kurbad  <gentoo@tk-webart.de>
36083
36084         Reviewed by Eric Seidel.
36085
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
36089         build process.
36090         https://bugs.webkit.org/show_bug.cgi?id=62730
36091
36092         * gyp_webkit:
36093
36094 2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
36095
36096         Unreviewed, rolling out r89025.
36097         http://trac.webkit.org/changeset/89025
36098         https://bugs.webkit.org/show_bug.cgi?id=62799
36099
36100         "Some layout tests fail" (Requested by yurys on #webkit).
36101
36102         * src/AssociatedURLLoader.cpp:
36103         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
36104
36105 2011-06-16  Vitaly Repeshko  <vitalyr@chromium.org>
36106
36107         Unreviewed.
36108
36109         Revert Adam's user gesture patch series r89002, r89005, r89007, r89018
36110         https://bugs.webkit.org/show_bug.cgi?id=62796
36111
36112         The patches broke chromium browser tests.
36113
36114         * src/WebPluginContainerImpl.cpp:
36115         (WebKit::WebPluginContainerImpl::loadFrameRequest):
36116         * src/WebViewImpl.cpp:
36117         (WebKit::WebViewImpl::performMediaPlayerAction):
36118
36119 2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>
36120
36121         Reviewed by Yury Semikhatsky.
36122
36123         Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
36124         https://bugs.webkit.org/show_bug.cgi?id=61205
36125
36126         Added inspector backend cache for XHR content.
36127
36128         * src/AssociatedURLLoader.cpp:
36129         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
36130
36131 2011-06-16  Adam Barth  <abarth@webkit.org>
36132
36133         Reviewed by Eric Seidel.
36134
36135         Remove HTMLVideoElement::processingUserGesture
36136         https://bugs.webkit.org/show_bug.cgi?id=62784
36137
36138         * src/WebViewImpl.cpp:
36139         (WebKit::WebViewImpl::performMediaPlayerAction):
36140
36141 2011-06-15  Mikhail Naganov  <mnaganov@chromium.org>
36142
36143         Reviewed by Pavel Feldman.
36144
36145         WebInspector [Chromium]: Make heap snapshots UI more responsive.
36146         https://bugs.webkit.org/show_bug.cgi?id=62360
36147
36148         Two changes have been made:
36149           - when we request elements, sort array only partially;
36150           - when populating children, do it in batches;
36151
36152         * WebKit.gyp:
36153
36154 2011-06-15  Adam Barth  <abarth@webkit.org>
36155
36156         Reviewed by Eric Seidel.
36157
36158         Remove Event::fromUserGesture
36159         https://bugs.webkit.org/show_bug.cgi?id=62778
36160
36161         This call site is not definite about there not being a user gesture.
36162
36163         * src/WebPluginContainerImpl.cpp:
36164         (WebKit::WebPluginContainerImpl::loadFrameRequest):
36165
36166 2011-06-15  Darin Adler  <darin@apple.com>
36167
36168         Reviewed by Adam Barth.
36169
36170         Remove obsolete LOOSE_OWN_PTR code
36171         https://bugs.webkit.org/show_bug.cgi?id=59909
36172
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.
36178
36179 2011-06-15  Andrey Kosyakov  <caseq@chromium.org>
36180
36181        Unreviewed, rolled out r88937 (broke build on mac)
36182
36183         * src/AssociatedURLLoader.cpp:
36184         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
36185
36186 2011-06-15  Pavel Feldman  <pfeldman@chromium.org>
36187
36188         Not reviewed: [Chromium] one line background color fix for inspector.
36189
36190         * src/js/devTools.css:
36191         (body.detached.platform-mac-snowleopard #toolbar):
36192         (body.detached.platform-mac-snowleopard.inactive #toolbar):
36193
36194 2011-06-14  Hans Wennborg  <hans@chromium.org>
36195
36196         Reviewed by Tony Gentilcore.
36197
36198         IndexedDB: LevelDB doesn't do incognito mode; fall back to SQLite.
36199         https://bugs.webkit.org/show_bug.cgi?id=62633
36200
36201         LevelDB does not support in-memory databases. Fall back to SQLite
36202         for incognito mode browsing. This will be tested by browser_tests
36203         in Chromium.
36204
36205         * src/WebIDBFactoryImpl.cpp:
36206         (WebKit::WebIDBFactoryImpl::open):
36207
36208 2011-06-10  Yury Semikhatsky  <yurys@chromium.org>
36209
36210         Reviewed by Dmitry Titov.
36211
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
36214
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.
36218
36219         * src/WebWorkerClientImpl.cpp:
36220         (WebKit::WebWorkerClientImpl::startWorkerContext):
36221         (WebKit::WebWorkerClientImpl::startWorkerContextInternal):
36222         (WebKit::WebWorkerClientImpl::startWorkerContextTask):
36223         * src/WebWorkerClientImpl.h:
36224
36225 2011-06-14  Eric Uhrhane  <ericu@chromium.org>
36226
36227         Reviewed by Darin Fisher.
36228
36229         Clean up filesystem base path code.
36230         https://bugs.webkit.org/show_bug.cgi?id=60218
36231
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 
36235         simultaneous.
36236
36237         No new tests--no change in functionality.
36238
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:
36255
36256 2011-06-14  James Robinson  <jamesr@chromium.org>
36257
36258         Reviewed by Stephen White.
36259
36260         [chromium] Compositor shader initialization is inefficient
36261         https://bugs.webkit.org/show_bug.cgi?id=62618
36262
36263         Add a TRACE_EVENT() around initial compositor initialization.
36264
36265         * src/WebViewImpl.cpp:
36266         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
36267
36268 2011-06-14  Adam Barth  <abarth@webkit.org>
36269
36270         Reviewed by Darin Fisher.
36271
36272         WebFrame::url() should use the one true URL
36273         https://bugs.webkit.org/show_bug.cgi?id=62610
36274
36275         The Document's URL is the one true URL.  Thou shalt have no URLs before
36276         Document::url().
36277
36278         * src/WebFrameImpl.cpp:
36279         (WebKit::WebFrameImpl::url):
36280
36281 2011-06-13  James Simonsen  <simonjam@chromium.org>
36282
36283         [Chromium] Unreviewed, rolled DEPS.
36284
36285         * DEPS:
36286
36287 2011-06-13  James Simonsen  <simonjam@chromium.org>
36288
36289         Reviewed by James Robinson.
36290
36291         [Chromium] Implement monotonicallyIncreasingClock()
36292         https://bugs.webkit.org/show_bug.cgi?id=62162
36293
36294         * public/WebKitClient.h:
36295         (WebKit::WebKitClient::monotonicallyIncreasingTime): Added.
36296         * src/PlatformBridge.cpp:
36297         (WebCore::PlatformBridge::monotonicallyIncreasingTime): Added.
36298
36299 2011-06-13  Jian Li  <jianli@chromium.org>
36300
36301         Reviewed by David Levin.
36302
36303         [Chromium] WebNotification should check if ScriptExecutionContext is gone
36304         before dispatching events.
36305         https://bugs.webkit.org/show_bug.cgi?id=62592
36306
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.
36315
36316 2011-06-13  Dmitry Lomov  <dslomov@google.com>
36317
36318         Reviewed by Adam Barth.
36319
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.
36323
36324         * tests/IDBBindingUtilitiesTest.cpp:
36325         (WebCore::TEST):
36326
36327 2011-06-13  Lei Zhang  <thestig@chromium.org>
36328
36329         Reviewed by Darin Fisher.
36330
36331         [Chromium] Add a WebSetting to control printing backgrounds
36332         https://bugs.webkit.org/show_bug.cgi?id=62423
36333
36334         * public/WebSettings.h:
36335         * src/WebSettingsImpl.cpp:
36336         (WebKit::WebSettingsImpl::setShouldPrintBackgrounds):
36337         * src/WebSettingsImpl.h:
36338
36339 2011-06-13  Dominic Mazzoni  <dmazzoni@google.com>
36340
36341         Reviewed by Dimitri Glazkov.
36342
36343         Add accessors for selectionStart and selectionEnd.
36344         https://bugs.webkit.org/show_bug.cgi?id=62596
36345
36346         * public/WebAccessibilityObject.h:
36347         * src/WebAccessibilityObject.cpp:
36348         (WebKit::WebAccessibilityObject::selectionEnd):
36349         (WebKit::WebAccessibilityObject::selectionStart):
36350
36351 2011-06-13  Adam Barth  <abarth@webkit.org>
36352
36353         Reviewed by Nate Chapin.
36354
36355         Factor IconController out of FrameLoader
36356         https://bugs.webkit.org/show_bug.cgi?id=62509
36357
36358         * src/WebFrameImpl.cpp:
36359         (WebKit::WebFrameImpl::iconURLs):
36360
36361 2011-06-12  Adam Barth  <abarth@webkit.org>
36362
36363         Reviewed by Alexey Proskuryakov.
36364
36365         Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
36366         https://bugs.webkit.org/show_bug.cgi?id=62516
36367
36368         * src/FrameLoaderClientImpl.cpp:
36369         (WebKit::FrameLoaderClientImpl::interruptedForPolicyChangeError):
36370         * src/FrameLoaderClientImpl.h:
36371
36372 2011-06-12  Adam Barth  <abarth@webkit.org>
36373
36374         Reviewed by Eric Seidel.
36375
36376         Remove FrameLoader::isProcessingUserGesture
36377         https://bugs.webkit.org/show_bug.cgi?id=62519
36378
36379         * src/WebFrameImpl.cpp:
36380         (WebKit::WebFrameImpl::isProcessingUserGesture):
36381
36382 2011-06-10  Vsevolod Vlasov  <vsevik@chromium.org>
36383
36384         Reviewed by James Robinson.
36385
36386         Web Inspector: [Chromium] DevTools does not highlight elements when accelerated compositing is on.
36387         https://bugs.webkit.org/show_bug.cgi?id=62149
36388
36389         Added page overlay for inspector highlight support.
36390
36391         * WebKit.gyp:
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):
36430
36431 2011-06-10  David Levin  <levin@chromium.org>
36432
36433         Reviewed by Dmitry Titov.
36434
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
36437
36438         Test: fast/workers/worker-crash-with-invalid-location.html
36439
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.
36448
36449 2011-06-10  Ryosuke Niwa  <rniwa@webkit.org>
36450
36451         Rolled DEPS.
36452
36453         * DEPS:
36454
36455 2011-06-10  Tony Chang  <tony@chromium.org>
36456
36457         Reviewed by Dimitri Glazkov.
36458
36459         [chromium] make features.gypi the same as features_override.gypi
36460         https://bugs.webkit.org/show_bug.cgi?id=62399
36461
36462         Make the file the same as chromium's features_override.gypi so we
36463         can remove features_override.gypi in chromium.
36464
36465         Remove ENABLE_DATAGRID=0 since the define is gone and remove
36466         ENABLE_FULLSCREEN_API=1 since we want to disable it.
36467
36468         * features.gypi:
36469
36470 2011-06-09  Yury Semikhatsky  <yurys@chromium.org>
36471
36472         Reviewed by Dmitry Titov.
36473
36474         [Chromium] Worker object may be garbage collected even if it has message handlers
36475         https://bugs.webkit.org/show_bug.cgi?id=62292
36476
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.
36483
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:
36489
36490 2011-06-09  James Kozianski  <koz@chromium.org>
36491
36492         Unreviewed, rolling out r88466.
36493         http://trac.webkit.org/changeset/88466
36494         https://bugs.webkit.org/show_bug.cgi?id=60059
36495
36496         Broke PPAPITest.URLLoader test on the chromium bots
36497
36498         * WebKit.gyp:
36499         * WebKit.gypi:
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.
36507
36508 2011-06-09  James Robinson  <jamesr@chromium.org>
36509
36510         Reviewed by Eric Seidel.
36511
36512         [chromium] webkitRequestFullscreen exposed to web even when feature is disabled
36513         https://bugs.webkit.org/show_bug.cgi?id=62397
36514
36515         Remove ENABLE_FULLSCREEN_API define from chromium builds since this exposes the webkitRequestFullscreen function
36516         even when the runtime setting was disabled.
36517
36518         * features.gypi:
36519
36520 2011-06-09  Sheriff Bot  <webkit.review.bot@gmail.com>
36521
36522         Unreviewed, rolling out r88486.
36523         http://trac.webkit.org/changeset/88486
36524         https://bugs.webkit.org/show_bug.cgi?id=62409
36525
36526         Broke chromium-win compile (Requested by jamesr on #webkit).
36527
36528         * public/WebData.h:
36529         * public/WebPageSerializer.h:
36530         * src/WebData.cpp:
36531         * src/WebPageSerializer.cpp:
36532         (WebKit::WebPageSerializer::serialize):
36533         (WebKit::WebPageSerializer::serializeToMHTML):
36534
36535 2011-06-09  Jay Civelli  <jcivelli@chromium.org>
36536
36537         Reviewed by Darin Fisher.
36538
36539         Page serializer APIs now use WebData instead of fetching the entire
36540         resource contents.
36541         https://bugs.webkit.org/show_bug.cgi?id=61908
36542
36543         * public/WebData.h:
36544         * public/WebPageSerializer.h:
36545         * src/WebData.cpp:
36546         (WebKit::WebData::getSomeData):
36547         * src/WebPageSerializer.cpp:
36548         (WebKit::WebPageSerializer::serialize):
36549         (WebKit::WebPageSerializer::serializeToMHTML):
36550
36551 2011-06-09  Bill Budge  <bbudge@chromium.org>
36552
36553         Reviewed by Adam Barth.
36554
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
36557
36558         * WebKit.gyp:
36559         * WebKit.gypi:
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):
36583         (WebKit::TEST_F):
36584
36585 2011-06-09  Nico Weber  <thakis@chromium.org>
36586
36587         Reviewed by Darin Fisher.
36588
36589         [chromium] Make a few destructors private.
36590         https://bugs.webkit.org/show_bug.cgi?id=62341
36591
36592         No intended functionality change.
36593
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):
36602
36603 2011-06-09  James Robinson  <jamesr@chromium.org>
36604
36605         Fix chromium build on build.webkit.org builders.
36606
36607         * features.gypi:
36608
36609 2011-06-08  Justin Novosad  <junov@chromium.org>
36610
36611         Reviewed by James Robinson.
36612
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.
36622
36623         * src/GraphicsContext3DChromium.cpp:
36624         (WebCore::GraphicsContextLostCallbackAdapter::create):
36625
36626 2011-06-08  James Robinson  <jamesr@chromium.org>
36627
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.
36630
36631         * features.gypi:
36632
36633 2011-06-08  James Robinson  <jamesr@chromium.org>
36634
36635         Set ENABLE_REGISTER_PROTOCOL_HANDLER=1 for chromium. I didn't mean to turn that off...
36636
36637         * features.gypi:
36638
36639 2011-06-08  James Robinson  <jamesr@chromium.org>
36640
36641         [chromium] Update the chromium-within-WebKit revision to r88481
36642         https://bugs.webkit.org/show_bug.cgi?id=62353
36643
36644         * DEPS:
36645
36646 2011-06-08  Sailesh Agrawal  <sail@chromium.org>
36647
36648         Reviewed by Darin Fisher.
36649
36650         [Chromium] Add stubs to WebWidget
36651         https://bugs.webkit.org/show_bug.cgi?id=62263
36652
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.
36654
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):
36676
36677 2011-06-08  Tom Sepez  <tsepez@chromium.org>
36678
36679         Reviewed by Adam Barth.
36680
36681         Add new permission callbacks for mixed content blocking.
36682         https://bugs.webkit.org/show_bug.cgi?id=61946
36683
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:
36691
36692 2011-06-08  Ryosuke Niwa  <rniwa@webkit.org>
36693
36694         Added new entries for skia/third_party/glu.
36695
36696         * DEPS:
36697
36698 2011-06-08  Ryosuke Niwa  <rniwa@webkit.org>
36699
36700         Rolled DEPS.
36701
36702         * DEPS:
36703
36704 2011-06-08  Ryan Sleevi  <rsleevi@chromium.org>
36705
36706         Reviewed by Tony Chang.
36707
36708         Suppress C++0x compat warnings when compiling Chromium port with GCC 4.6
36709
36710         Compiling Chromium port under GCC 4.6 produces warnings about nullptr
36711         https://bugs.webkit.org/show_bug.cgi?id=62242
36712
36713         * WebKit.gyp:
36714
36715 2011-06-08  Greg Simon  <gregsimon@chromium.org>
36716
36717         Reviewed by Dimitri Glazkov.
36718
36719         Control Indexeddb backends from LayoutTestController
36720         https://bugs.webkit.org/show_bug.cgi?id=61000
36721
36722         * public/WebIDBFactory.h:
36723         * src/AssertMatchingEnums.cpp:
36724         * src/WebIDBFactoryImpl.cpp:
36725         (WebKit::WebIDBFactory::setOverrideBackingStoreType):
36726         (WebKit::WebIDBFactory::setTemporaryDatabaseFolder):
36727         (WebKit::WebIDBFactoryImpl::open):
36728
36729 2011-06-08  Dominic Mazzoni  <dmazzoni@google.com>
36730
36731         Reviewed by Dimitri Glazkov.
36732
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
36736
36737         * public/WebAccessibilityObject.h:
36738         * src/WebAccessibilityObject.cpp:
36739         (WebKit::WebAccessibilityObject::lineBreaks):
36740
36741 2011-06-08  Ilya Tikhonovsky  <loislo@chromium.org>
36742
36743         Unreviewed chromium build fix for r88332.
36744
36745         * src/WebRuntimeFeatures.cpp:
36746
36747 2011-06-08  Hironori Bono  <hbono@chromium.org>
36748
36749         Reviewed by Brent Fulgham.
36750
36751         Add SpellCheck API
36752         https://bugs.webkit.org/show_bug.cgi?id=59693
36753
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.
36757
36758         * features.gypi:
36759         * public/WebRuntimeFeatures.h:
36760         * src/ContextMenuClientImpl.cpp:
36761         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
36762         * src/WebRuntimeFeatures.cpp:
36763         (WebKit::WebRuntimeFeatures::enableSpellCheckAPI):
36764         (WebKit::WebRuntimeFeatures::isSpellCheckAPIEnabled):
36765
36766 2011-06-07  James Kozianski  <koz@chromium.org>
36767
36768         [Chromium] Unreviewed. Disable SelectItemEvenFire that fails on
36769         chromium canaries.
36770
36771         * tests/PopupMenuTest.cpp:
36772         (WebKit::TEST_F):
36773
36774 2011-06-07  Robert Kroeger  <rjkroege@chromium.org>
36775
36776         Reviewed by Adam Barth.
36777
36778         [chromium] Add a basic gesture recognizer to the Chromium platform
36779         https://bugs.webkit.org/show_bug.cgi?id=54417
36780
36781         Added unit tests for the basic chromium platform gesture recognizer.
36782
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):
36800         (WebCore::TEST_F):
36801
36802 2011-06-07  Vangelis Kokkevis  <vangelis@chromium.org>
36803
36804         Reviewed by James Robinson.
36805
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
36809
36810         * src/ChromeClientImpl.cpp:
36811         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
36812         * src/WebViewImpl.cpp:
36813         (WebKit::WebViewImpl::layout):
36814         (WebKit::WebViewImpl::setRootGraphicsLayer):
36815
36816 2011-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
36817
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
36823
36824         I fail at changing features.gypi (Requested by abarth on
36825         #webkit).
36826
36827         * features.gypi:
36828
36829 2011-06-07  Adam Barth  <abarth@webkit.org>
36830
36831         Reviewed by Tony Chang.
36832
36833         Fix "branding" issue in features.gypi
36834         https://bugs.webkit.org/show_bug.cgi?id=62229
36835
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.
36839
36840         * features.gypi:
36841
36842 2011-06-07  Adam Barth  <abarth@webkit.org>
36843
36844         Attempt to fix the cr-win build.
36845
36846         * features.gypi:
36847
36848 2011-06-07  Adam Barth  <abarth@webkit.org>
36849
36850         Reviewed by Dimitri Glazkov.
36851
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
36854
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.
36858
36859         * features.gypi:
36860
36861 2011-06-03  Yury Semikhatsky  <yurys@chromium.org>
36862
36863         Reviewed by Pavel Feldman.
36864
36865         [Chromium] Web Inspector: correctly handle disconnect from worker when script execution is paused
36866         https://bugs.webkit.org/show_bug.cgi?id=62019
36867
36868         Dispatch disconnecFrontend message in debugger task mode to make sure
36869         it is processed even if execution is paused.
36870
36871         * src/WebWorkerImpl.cpp:
36872         (WebKit::WebWorkerImpl::detachDevTools):
36873         (WebKit::WebWorkerImpl::dispatchDevToolsMessage):
36874
36875 2011-06-07  Naoki Takano  <takano.naoki@gmail.com>
36876
36877         Reviewed by Kent Tamura.
36878
36879         [Chromium] Click event is not fired for a menulist <select>
36880         https://bugs.webkit.org/show_bug.cgi?id=60563
36881
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.
36898
36899 2011-06-06  Nico Weber  <thakis@chromium.org>
36900
36901         Reviewed by James Robinson.
36902
36903         [chromium] Make WebViewImpl's destructor virtual
36904         https://bugs.webkit.org/show_bug.cgi?id=62155
36905
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.
36910
36911         * src/WebViewImpl.h:
36912
36913 2011-06-06  Daniel Cheng  <dcheng@chromium.org>
36914
36915         Reviewed by Tony Chang.
36916
36917         [chromium] Delete dead clipboard code.
36918         https://bugs.webkit.org/show_bug.cgi?id=62113
36919
36920         * src/WebDragData.cpp:
36921
36922 2011-06-06  Nico Weber  <thakis@chromium.org>
36923
36924         Reviewed by James Robinson.
36925
36926         [chromium] Make WebURLRequestPrivateImpl's and WebURLResponsePrivateImpl's destructors virtual
36927         https://bugs.webkit.org/show_bug.cgi?id=62148
36928
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.
36933
36934         * src/WebURLRequest.cpp:
36935         (WebKit::WebURLRequestPrivateImpl::~WebURLRequestPrivateImpl):
36936         * src/WebURLResponse.cpp:
36937         (WebKit::WebURLResponsePrivateImpl::~WebURLResponsePrivateImpl):
36938
36939 2011-06-06  Shishir Agrawal  <shishir@chromium.org>
36940
36941         Reviewed by Tony Gentilcore.
36942
36943         Add a "prerender" state for page visibility.
36944         https://bugs.webkit.org/show_bug.cgi?id=62062
36945
36946         * public/WebPageVisibilityState.h:
36947         * src/AssertMatchingEnums.cpp:
36948         * src/WebViewImpl.cpp:
36949         (WebKit::WebViewImpl::setVisibilityState):
36950
36951 2011-06-06  Nico Weber  <thakis@chromium.org>
36952
36953         Reviewed by Dimitri Glazkov.
36954
36955         webkit/glue/webmediaplayer_impl.cc deletes an object of type
36956         WebVideoFrame, which means this patch fixes a real bug, not just
36957         a theoretical one.
36958
36959         [chromium] Give WebVideoFrame a virtual destructor
36960         https://bugs.webkit.org/show_bug.cgi?id=61742
36961
36962         * public/WebVideoFrame.h:
36963         (WebKit::WebVideoFrame::~WebVideoFrame):
36964
36965 2011-06-04  Nico Weber  <thakis@chromium.org>
36966
36967         Reviewed by James Robinson.
36968
36969         [chromium] Make ResourceHandleInternal's destructor virtual
36970         https://bugs.webkit.org/show_bug.cgi?id=62073
36971
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.
36976
36977         * src/ResourceHandle.cpp:
36978         (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
36979
36980 2011-06-04  Nico Weber  <thakis@chromium.org>
36981
36982         Reviewed by James Robinson.
36983
36984         [chromium] Make ChromePrintContext's destructor virtual
36985         https://bugs.webkit.org/show_bug.cgi?id=62076
36986
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.
36990
36991         * src/WebFrameImpl.cpp:
36992         (WebKit::ChromePrintContext::~ChromePrintContext):
36993         (WebKit::ChromePluginPrintContext::~ChromePluginPrintContext):
36994
36995 2011-06-04  Nico Weber  <thakis@chromium.org>
36996
36997         Reviewed by James Robinson.
36998
36999         [chromium] Make WebTextCheckingCompletionImpl's destructor virtual
37000         https://bugs.webkit.org/show_bug.cgi?id=62074
37001
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.
37006
37007         * src/WebTextCheckingCompletionImpl.h:
37008         (WebKit::WebTextCheckingCompletionImpl::~WebTextCheckingCompletionImpl):
37009
37010 2011-06-04  Nico Weber  <thakis@chromium.org>
37011
37012         Reviewed by James Robinson.
37013
37014         [chromium] Make PlatformMessagePortChannel's destructor virtual
37015         https://bugs.webkit.org/show_bug.cgi?id=62072
37016
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.
37021
37022         * src/PlatformMessagePortChannel.h:
37023
37024 2011-06-04  Nico Weber  <thakis@chromium.org>
37025
37026         Reviewed by James Robinson.
37027
37028         [chromium] Give VoidCallbackClient a virtual destructor
37029         https://bugs.webkit.org/show_bug.cgi?id=62067
37030
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.
37035
37036         * src/NotificationPresenterImpl.cpp:
37037         (WebKit::VoidCallbackClient::~VoidCallbackClient):
37038
37039 2011-06-04  Nico Weber  <thakis@chromium.org>
37040
37041         Reviewed by James Robinson.
37042
37043         [chromium] Make WebFrameImpl destructor virtual
37044         https://bugs.webkit.org/show_bug.cgi?id=62065
37045
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.
37050
37051         * src/WebFrameImpl.h:
37052
37053 2011-06-03  Philippe Beauchamp  <philippe.beauchamp@gmail.com>
37054
37055         Reviewed by Dimitri Glazkov.
37056
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
37059
37060         * public/WebContextMenuData.h:
37061         * public/WebSearchableFormData.h:
37062         * src/ContextMenuClientImpl.cpp:
37063         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
37064         * src/WebSearchableFormData.cpp:
37065         (WebKit::WebSearchableFormData::WebSearchableFormData):
37066
37067 2011-06-03  Naoki Takano  <takano.naoki@gmail.com>
37068
37069         Reviewed by Eric Seidel.
37070
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
37074
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().
37083
37084 2011-06-03  Hans Wennborg  <hans@chromium.org>
37085
37086         Reviewed by Steve Block.
37087
37088         IndexedDB: Clean-up use of INT64_MAX in LevelDB back-end
37089         https://bugs.webkit.org/show_bug.cgi?id=62009
37090
37091         Don't use INT64_MAX, use the various encodeMaxKey() functions instead.
37092
37093         * tests/IDBLevelDBCodingTest.cpp:
37094         (IDBLevelDBCoding::TEST):
37095
37096 2011-06-03  Mikhail Naganov  <mnaganov@chromium.org>
37097
37098         Reviewed by Yury Semikhatsky.
37099
37100         Web Inspector: [Chromium] cpu-profiler-profiling layout test is flaky on Linux Debug.
37101         https://bugs.webkit.org/show_bug.cgi?id=61533
37102
37103         Skip cpu-profiler-profiling in debug, implement a fast headless alternative.
37104
37105         * public/WebDevToolsAgent.h:
37106         * src/WebDevToolsAgentImpl.cpp:
37107         (WebKit::WebDevToolsAgentImpl::setJavaScriptProfilingEnabled):
37108         * src/WebDevToolsAgentImpl.h:
37109
37110 2011-06-02  Yury Semikhatsky  <yurys@chromium.org>
37111
37112         Reviewed by Pavel Feldman.
37113
37114         Web Inspector: add an option for automatically attaching to new workers
37115         https://bugs.webkit.org/show_bug.cgi?id=61930
37116
37117         Notification about worker context termination are now sent to the inspector.
37118
37119         * src/WebWorkerClientImpl.cpp:
37120         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
37121         (WebKit::WebWorkerClientImpl::disconnectFromInspector):
37122         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
37123
37124 2011-06-02  Aaron Colwell  <acolwell@chromium.org>
37125
37126         Reviewed by David Levin.
37127
37128         Add mediaTimeForTimeValue() implementation.
37129         https://bugs.webkit.org/show_bug.cgi?id=61555
37130
37131         * public/WebMediaPlayer.h:
37132         * src/WebMediaPlayerClientImpl.cpp:
37133         (WebKit::WebMediaPlayerClientImpl::mediaTimeForTimeValue):
37134         * src/WebMediaPlayerClientImpl.h:
37135
37136 2011-06-02  Jay Civelli  <jcivelli@chromium.org>
37137
37138         Reviewed by Adam Barth.
37139
37140         Adding MHTML generation support to MHTMLArchive.
37141         https://bugs.webkit.org/show_bug.cgi?id=7169
37142
37143         * public/WebPageSerializer.h:
37144         * src/WebPageSerializer.cpp:
37145         (WebKit::WebPageSerializer::serializeToMHTML):
37146
37147 2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
37148
37149         Reviewed by Darin Adler.
37150
37151         Add build logistics and plumbing for window.internals object.
37152         https://bugs.webkit.org/show_bug.cgi?id=60313
37153
37154         * WebKit.gyp: Added linking new webkit_test_support library.
37155         * public/WebTestingSupport.h: Added.
37156         * src/WebTestingSupport.cpp: Added.
37157
37158 2011-06-02  Aaron Colwell  <acolwell@chromium.org>
37159
37160         Reviewed by David Levin.
37161
37162         Update chromium version
37163         https://bugs.webkit.org/show_bug.cgi?id=61555
37164
37165         * DEPS:
37166
37167 2011-06-02  Sheriff Bot  <webkit.review.bot@gmail.com>
37168
37169         Unreviewed, rolling out r87920.
37170         http://trac.webkit.org/changeset/87920
37171         https://bugs.webkit.org/show_bug.cgi?id=61943
37172
37173         This patch does not build in Win Builder (dbg)(shared)
37174         downstream (Requested by abarth|gardener on #webkit).
37175
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.
37184
37185 2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
37186
37187         Unreviewed, rolling out r87926.
37188         http://trac.webkit.org/changeset/87926
37189         https://bugs.webkit.org/show_bug.cgi?id=60313
37190
37191         Fails to find WebCoreTestSupport.dylib on bots.
37192
37193         * WebKit.gyp:
37194         * public/WebTestingSupport.h: Removed.
37195         * src/WebTestingSupport.cpp: Removed.
37196
37197 2011-06-02  Aaron Colwell  <acolwell@chromium.org>
37198
37199         Reviewed by Dimitri Glazkov.
37200
37201         Bring gyp_webkit up to date with changes made to
37202         gyp_chromium so chromium_rev can be advanced past
37203         revision 87140.
37204         https://bugs.webkit.org/show_bug.cgi?id=61881
37205
37206         * gyp_webkit:
37207
37208 2011-05-21  Dimitri Glazkov  <dglazkov@chromium.org>
37209
37210         Reviewed by Darin Adler.
37211
37212         Add build logistics and plumbing for window.internals object.
37213         https://bugs.webkit.org/show_bug.cgi?id=60313
37214
37215         * WebKit.gyp: Added linking new webkit_test_support library.
37216         * public/WebTestingSupport.h: Added.
37217         * src/WebTestingSupport.cpp: Added.
37218
37219 2011-06-02  Naoki Takano  <takano.naoki@gmail.com>
37220
37221         Reviewed by Dimitri Glazkov.
37222
37223         [Chromium] Click event is not fired for a menulist <select>
37224         https://bugs.webkit.org/show_bug.cgi?id=60563
37225
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.
37241
37242 2011-06-01  Adrienne Walker  <enne@google.com>
37243
37244         Reviewed by James Robinson.
37245
37246         [chromium] Fix syncing of removed mask and replica layers
37247         https://bugs.webkit.org/show_bug.cgi?id=61895
37248
37249         * tests/TreeSynchronizerTest.cpp:
37250         (WebCore::TEST):
37251
37252 2011-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
37253
37254         Unreviewed, rolling out r87788.
37255         http://trac.webkit.org/changeset/87788
37256         https://bugs.webkit.org/show_bug.cgi?id=61856
37257
37258         breaks windows chromium canary (Requested by jknotten on
37259         #webkit).
37260
37261         * public/WebPageSerializer.h:
37262         * src/WebPageSerializer.cpp:
37263
37264 2011-06-01  Jay Civelli  <jcivelli@chromium.org>
37265
37266         Reviewed by Adam Barth.
37267
37268         Adding MHTML generation support to MHTMLArchive.
37269         https://bugs.webkit.org/show_bug.cgi?id=7169
37270
37271         * public/WebPageSerializer.h:
37272         * src/WebPageSerializer.cpp:
37273         (WebKit::WebPageSerializer::serializeToMHTML):
37274
37275 2011-06-01  Mikhail Naganov  <mnaganov@chromium.org>
37276
37277         Reviewed by Yury Semikhatsky.
37278
37279         Web Inspector [Chromium]: Put worker scripts into devtools_frontend.zip.
37280         https://bugs.webkit.org/show_bug.cgi?id=61803
37281
37282         * WebKit.gyp:
37283         * scripts/generate_devtools_zip.py:
37284
37285 2011-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
37286
37287         Unreviewed, rolling out r87781.
37288         http://trac.webkit.org/changeset/87781
37289         https://bugs.webkit.org/show_bug.cgi?id=61842
37290
37291         breaks chromium linux release (Requested by mnaganov on
37292         #webkit).
37293
37294         * WebKit.gyp:
37295         * scripts/generate_devtools_zip.py:
37296
37297 2011-05-31  Mikhail Naganov  <mnaganov@chromium.org>
37298
37299         Reviewed by Pavel Feldman.
37300
37301         Web Inspector [Chromium]: Put worker scripts into devtools_frontend.zip.
37302         https://bugs.webkit.org/show_bug.cgi?id=61803
37303
37304         * WebKit.gyp:
37305         * scripts/generate_devtools_zip.py:
37306
37307 2011-05-31  Kinuko Yasuda  <kinuko@chromium.org>
37308
37309         Reviewed by Kent Tamura.
37310
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
37313
37314         Fixed assertion on errorCallback parameter.
37315
37316         Test: storage/quotainfo-no-callbacks.html
37317
37318         * src/StorageInfoChromium.cpp:
37319         (WebCore::StorageInfo::queryUsageAndQuota):
37320         (WebCore::StorageInfo::requestQuota):
37321
37322 2011-05-31  Daniel Erat  <derat@chromium.org>
37323
37324         Reviewed by Tony Chang.
37325
37326         Make WebScreenInfoFactory return fresh screen dimensions.
37327         https://bugs.webkit.org/show_bug.cgi?id=61679
37328
37329         * public/x11/WebScreenInfoFactory.h:
37330         * src/x11/WebScreenInfoFactory.cpp:
37331         (WebKit::WebScreenInfoFactory::screenInfo):
37332
37333 2011-05-31  Cary Clark  <caryclark@google.com>
37334
37335         Reviewed by Eric Seidel.
37336
37337         Allow Chromium porting layer to use Skia on Mac.
37338         https://bugs.webkit.org/show_bug.cgi?id=61548
37339
37340         * public/WebCommon.h:
37341         Don't allow WebKit to use CG if it is already using Skia.
37342
37343         * src/PlatformBridge.cpp:
37344         (WebCore::PlatformBridge::paintScrollbarThumb):
37345         Allow scrollbar thumb draw to take WebCanvas.
37346
37347 2011-05-27  Jochen Eisinger  <jochen@chromium.org>
37348
37349         Reviewed by Adam Barth.
37350
37351         Check access policy on all storage operations
37352         https://bugs.webkit.org/show_bug.cgi?id=61581
37353
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):
37368
37369 2011-05-27  Jochen Eisinger  <jochen@chromium.org>
37370
37371         Reviewed by Darin Fisher.
37372
37373         [chromium] drop unused WebFrame parameter to WebStorageArea::setItem
37374         https://bugs.webkit.org/show_bug.cgi?id=61583
37375
37376         * public/WebStorageArea.h:
37377         * src/StorageAreaProxy.cpp:
37378         (WebCore::StorageAreaProxy::setItem):
37379         * src/WebStorageAreaImpl.cpp:
37380         (WebKit::WebStorageAreaImpl::setItem):
37381         * src/WebStorageAreaImpl.h:
37382
37383 2011-05-27  David Levin  <levin@chromium.org>
37384
37385         Reviewed by Darin Fisher.
37386
37387         Need a callback for when the preferred rendered size may have changed.
37388         https://bugs.webkit.org/show_bug.cgi?id=61309
37389
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.
37395
37396 2011-05-27  Shishir Agrawal  <shishir@chromium.org>
37397
37398         Reviewed by Tony Gentilcore.
37399
37400         Enable Page Visibility API in the chromium port.
37401         https://bugs.webkit.org/show_bug.cgi?id=61397
37402
37403         * features.gypi:
37404
37405 2011-05-26  Mihai Parparita  <mihaip@chromium.org>
37406
37407         Reviewed by Adam Barth.
37408
37409         Fix worldID and destinationDomain argument names
37410         https://bugs.webkit.org/show_bug.cgi?id=61571
37411
37412         As part of working on r87423, I noticed a couple of inconsistencies in
37413         argument names:
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).
37419
37420         * public/WebFrame.h:
37421         * src/WebFrameImpl.cpp:
37422         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
37423         (WebKit::WebFrameImpl::setIsolatedWorldSecurityOrigin):
37424         * src/WebFrameImpl.h:
37425
37426 2011-05-26  Leandro Gracia Gil  <leandrogracia@chromium.org>
37427
37428         Reviewed by Dmitry Titov.
37429
37430         Add missing compile guards for WebWorkers in WebKit.
37431         https://bugs.webkit.org/show_bug.cgi?id=61536
37432
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:
37448
37449 2011-05-26  Evan Martin  <evan@chromium.org>
37450
37451         Reviewed by Tony Chang.
37452
37453         [chromium] simplify TestNetscapePlugIn naming logic
37454         https://bugs.webkit.org/show_bug.cgi?id=61577
37455
37456         * WebKit.gyp: drop use of product_prefix, just use the name
37457         needed directly.
37458
37459 2011-05-26  Sheriff Bot  <webkit.review.bot@gmail.com>
37460
37461         Unreviewed, rolling out r87444.
37462         http://trac.webkit.org/changeset/87444
37463         https://bugs.webkit.org/show_bug.cgi?id=61582
37464
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).
37468
37469         * public/WebFrameClient.h:
37470         * src/ChromeClientImpl.cpp:
37471         * src/ChromeClientImpl.h:
37472
37473 2011-05-26  David Levin  <levin@chromium.org>
37474
37475         Reviewed by Darin Fisher.
37476
37477         Need a callback for when the preferred rendered size changed.
37478         https://bugs.webkit.org/show_bug.cgi?id=61309
37479
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.
37486
37487 2011-05-26  Mihai Parparita  <mihaip@chromium.org>
37488
37489         Reviewed by Adam Barth.
37490
37491         Support cross-origin XMLHttpRequest in isolated worlds
37492         https://bugs.webkit.org/show_bug.cgi?id=59843
37493
37494         Expose setIsolatedWorldSecurityOrigin in the WebFrame API.
37495
37496         * public/WebFrame.h:
37497         * src/WebFrameImpl.cpp:
37498         (WebKit::WebFrameImpl::setIsolatedWorldSecurityOrigin):
37499         * src/WebFrameImpl.h:
37500
37501 2011-05-26  Michael Nordman  <michaeln@google.com>
37502
37503         Reviewed by Darin Fisher.
37504
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
37510
37511         * src/WebDatabase.cpp:
37512         (WebKit::WebDatabase::closeDatabaseImmediately):
37513
37514 2011-05-26  Sailesh Agrawal  <sail@chromium.org>
37515
37516         Reviewed by Tony Chang.
37517
37518         Expose willStartLiveResize and willEndLiveResize in WebWidget
37519         https://bugs.webkit.org/show_bug.cgi?id=60518
37520
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:
37530
37531 2011-05-25  Shishir Agrawal  <shishir@chromium.org>
37532
37533         Reviewed by Dimitri Glazkov.
37534
37535         Fix crash in Chromium memory test.
37536         https://bugs.webkit.org/show_bug.cgi?id=61451
37537
37538         * src/WebViewImpl.cpp:
37539         (WebKit::WebViewImpl::WebViewImpl):
37540
37541 2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>
37542
37543         Unreviewed, rolling out r87333.
37544         http://trac.webkit.org/changeset/87333
37545         https://bugs.webkit.org/show_bug.cgi?id=61488
37546
37547         Breaks Chromium build due to pure virtual methods. (Requested
37548         by aklein on #webkit).
37549
37550         * public/WebWidget.h:
37551         * src/WebPopupMenuImpl.cpp:
37552         * src/WebPopupMenuImpl.h:
37553         * src/WebViewImpl.cpp:
37554         * src/WebViewImpl.h:
37555
37556 2011-05-25  Sailesh Agrawal  <sail@chromium.org>
37557
37558         Reviewed by Darin Fisher.
37559
37560         Expose willStartLiveResize and willEndLiveResize in WebWidget
37561         https://bugs.webkit.org/show_bug.cgi?id=60518
37562
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:
37572
37573 2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>
37574
37575         Unreviewed, rolling out r87257.
37576         http://trac.webkit.org/changeset/87257
37577         https://bugs.webkit.org/show_bug.cgi?id=61457
37578
37579         This broke layout tests, see bug 61431. (Requested by
37580         hwennborg on #webkit).
37581
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:
37590
37591 2011-05-24  Keishi Hattori  <keishi@webkit.org>
37592
37593         Reviewed by Kent Tamura.
37594
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
37597
37598         * features.gypi: Added INPUT_COLOR feature flag.
37599
37600 2011-05-24  Adam Barth  <abarth@webkit.org>
37601
37602         Reviewed by Eric Seidel.
37603
37604         Add FIXME comments about removing FrameLoader::isProcessingUserGesture
37605         https://bugs.webkit.org/show_bug.cgi?id=61395
37606
37607         * src/FrameLoaderClientImpl.cpp:
37608         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
37609         * src/WebFrameImpl.cpp:
37610         (WebKit::WebFrameImpl::isProcessingUserGesture):
37611
37612 2011-05-24  Greg Simon  <gregsimon@chromium.org>
37613
37614         Reviewed by Dimitri Glazkov.
37615
37616         Control Indexeddb backends from LayoutTestController
37617         https://bugs.webkit.org/show_bug.cgi?id=61000
37618
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:
37632
37633 2011-05-24  Jay Civelli  <jcivelli@chromium.org>
37634
37635         Reviewed by Adam Barth.
37636
37637         Adding MHTML reading support to WebCore.
37638         https://bugs.webkit.org/show_bug.cgi?id=7168
37639
37640        * features.gypi:
37641
37642 2011-05-24  Alok Priyadarshi  <alokp@chromium.org>
37643
37644         Reviewed by James Robinson.
37645
37646         Enable skia gpu rendering for content layers
37647         https://bugs.webkit.org/show_bug.cgi?id=56749
37648
37649         * src/WebViewImpl.cpp:
37650         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
37651         (WebKit::WebViewImpl::reallocateRenderer):
37652
37653 2011-05-24  Mikhail Naganov  <mnaganov@chromium.org>
37654
37655         Reviewed by Yury Semikhatsky.
37656
37657         Web Inspector: Reorganize InspectorBackendDispatch code to eliminate duplication
37658         https://bugs.webkit.org/show_bug.cgi?id=61300
37659
37660         * src/WebDevToolsAgentImpl.cpp:
37661         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
37662
37663 2011-05-23  Gavin Peters  <gavinp@chromium.org>
37664
37665         Reviewed by Adam Barth.
37666
37667         fix rel=prerender target types
37668         https://bugs.webkit.org/show_bug.cgi?id=61297
37669
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.
37673
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.
37677
37678         * public/WebURLRequest.h:
37679
37680 2011-05-23  Tony Chang  <tony@chromium.org>
37681
37682         Reviewed by James Robinson.
37683
37684         [chromium] Link tcmalloc to DRT so we can use the heap checker
37685         https://bugs.webkit.org/show_bug.cgi?id=61292
37686
37687         * WebKit.gyp:
37688
37689 2011-05-23  Adrienne Walker  <enne@google.com>
37690
37691         Reviewed by James Robinson.
37692
37693         [chromium] Fix division by zero in TilingData for boundary case texture sizes
37694         https://bugs.webkit.org/show_bug.cgi?id=61164
37695
37696         Add additional tests for small max texture sizes.
37697
37698         * tests/TilingDataTest.cpp:
37699         (WebCore::TEST):
37700
37701 2011-05-23  Ruben  <chromium@hybridsource.org>
37702
37703         Reviewed by Tony Chang.
37704
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
37707
37708         * WebKit.gyp:
37709         * WebKit.gypi:
37710
37711 2011-05-23  Yury Semikhatsky  <yurys@chromium.org>
37712
37713         Reviewed by Pavel Feldman.
37714
37715         [Chromium] Web Inspector: provide initial implementation of worker inspector transport
37716         https://bugs.webkit.org/show_bug.cgi?id=60267
37717
37718         WebWorker and WebWorkerClient are extended with methods for passing
37719         DevTools messages between worker context inspector and page inspector.
37720
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:
37747
37748 2011-05-22  Greg Simon  <gregsimon@chromium.org>
37749
37750         Reviewed by Darin Fisher.
37751
37752         [chromium] Updating chromium DEPS
37753
37754         https://bugs.webkit.org/show_bug.cgi?id=61236
37755
37756         * DEPS:
37757
37758 2011-05-21  Jochen Eisinger  <jochen@chromium.org>
37759
37760         Reviewed by Darin Fisher.
37761
37762         [chromium] add extraData field to resource requests
37763         https://bugs.webkit.org/show_bug.cgi?id=61033
37764
37765         * WebKit.gypi:
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):
37774         (WebKit::TEST):
37775
37776 2011-05-20  Michael Nordman  <michaeln@google.com>
37777
37778         Reviewed by Darin Fisher.
37779
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.
37783
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.
37790
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()
37795
37796         https://bugs.webkit.org/show_bug.cgi?id=60985
37797
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):
37807
37808 2011-05-20  Simon Fraser  <simon.fraser@apple.com>
37809
37810         Reviewed by Sam Weinig.
37811
37812         numberOfActiveAnimations() can include animations from documents in the page cache
37813         https://bugs.webkit.org/show_bug.cgi?id=53641
37814
37815         Pass the Frame's document as the one to count animations on.
37816
37817         * src/WebAnimationControllerImpl.cpp:
37818         (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations):
37819
37820 2011-05-19  Evan Martin  <evan@chromium.org>
37821
37822         Reviewed by Tony Chang.
37823
37824         [chromium] remove <(library) variable
37825         https://bugs.webkit.org/show_bug.cgi?id=61158
37826
37827         This was for a build experiment; we can just use the correct value now.
37828
37829         * WebKit.gyp:
37830
37831 2011-05-20  Vitaly Repeshko  <vitalyr@chromium.org>
37832
37833         Unreviewed.
37834
37835         [chromium] Updating chromium DEPS.
37836
37837         * DEPS:
37838
37839 2011-05-19  Sheriff Bot  <webkit.review.bot@gmail.com>
37840
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
37847
37848         broke builds and debug DRT (Requested by rniwa on #webkit).
37849
37850         * WebKit.gyp:
37851         * public/WebTestingSupport.h: Removed.
37852         * src/WebTestingSupport.cpp: Removed.
37853
37854 2011-05-18  Dimitri Glazkov  <dglazkov@chromium.org>
37855
37856         Reviewed by Darin Adler.
37857
37858         Add build logistics and plumbing for window.internals object.
37859         https://bugs.webkit.org/show_bug.cgi?id=60313
37860
37861         * WebKit.gyp: Added linking new webkit_test_support library.
37862         * public/WebTestingSupport.h: Added.
37863         * src/WebTestingSupport.cpp: Added.
37864
37865 2011-05-19  Kenichi Ishibashi  <bashi@chromium.org>
37866
37867         Reviewed by Kent Tamura.
37868
37869         [Chromium] IME candidate window appears wrong position in an iframe
37870         https://bugs.webkit.org/show_bug.cgi?id=61023
37871
37872         Always adjusts the range to window relative coordinates.
37873
37874         * src/WebFrameImpl.cpp:
37875         (WebKit::WebFrameImpl::firstRectForCharacterRange): Removed condition
37876         which excludes editable selectionRoot from adjusting.
37877
37878 2011-05-18  Nat Duca  <nduca@chromium.org>
37879
37880         Reviewed by James Robinson.
37881
37882         [chromium] Add histograms for paint times
37883         https://bugs.webkit.org/show_bug.cgi?id=61010
37884
37885         * src/WebViewImpl.cpp:
37886         (WebKit::WebViewImpl::animate):
37887         (WebKit::WebViewImpl::layout):
37888         (WebKit::WebViewImpl::paint):
37889         (WebKit::WebViewImplContentPainter::paint):
37890
37891 2011-05-17  MORITA Hajime  <morrita@google.com>
37892
37893         Reviewed by Tony Chang.
37894
37895         [Refactoring] Member variables of DocumentMarker should be encapsulated.        
37896         https://bugs.webkit.org/show_bug.cgi?id=56814
37897
37898         Moved addMarker() implementation to
37899         WebCore::DocumentMarkerController::addTextMatchMarker().
37900         
37901         * src/WebFrameImpl.cpp:
37902         (WebKit::WebFrameImpl::addMarker):
37903
37904 2011-05-18  Alok Priyadarshi  <alokp@chromium.org> and Adrienne Walker  <enne@google.com>
37905
37906         Reviewed by James Robinson.
37907
37908         Split canvas from LayerTilerChromium
37909         https://bugs.webkit.org/show_bug.cgi?id=60719
37910
37911         * src/WebViewImpl.cpp:
37912
37913 2011-05-18  Brett Wilson  <brettw@chromium.org>
37914
37915         Reviewed by Adam Barth.
37916
37917         Don't create empty file objects if no download file path is specified.
37918         https://bugs.webkit.org/show_bug.cgi?id=60798
37919
37920         * src/WebURLResponse.cpp:
37921         (WebKit::WebURLResponse::setDownloadFilePath):
37922
37923 2011-05-17  Mikhail Naganov  <mnaganov@chromium.org>
37924
37925         Reviewed by Pavel Feldman.
37926
37927         Web Inspector: [Chromium] Enable detailed heap snapshots by default.
37928         https://bugs.webkit.org/show_bug.cgi?id=60286
37929
37930         * src/js/DevTools.js:
37931         ():
37932
37933 2011-05-17  Tao Bai  <michaelbai@chromium.org>
37934
37935         Reviewed by Darin Fisher.
37936
37937         Clear deprecated icon APIs from chromium port.
37938         https://bugs.webkit.org/show_bug.cgi?id=60989
37939
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()
37947
37948 2011-05-17  Daniel Cheng  <dcheng@chromium.org>
37949
37950         Reviewed by Ryosuke Niwa.
37951
37952         [chromium] Clipboard policy callbacks from EditorClientImpl are reversed
37953         https://bugs.webkit.org/show_bug.cgi?id=60994
37954
37955         * src/EditorClientImpl.cpp:
37956         (WebKit::EditorClientImpl::canCopyCut):
37957         (WebKit::EditorClientImpl::canPaste):
37958
37959 2011-05-17  Andrew Wilson  <atwilson@chromium.org>
37960
37961         Unreviewed, rolling out r86647.
37962         http://trac.webkit.org/changeset/86647
37963         https://bugs.webkit.org/show_bug.cgi?id=56814
37964
37965         Broke tests downstream in Chromium
37966
37967         * src/WebFrameImpl.cpp:
37968         (WebKit::WebFrameImpl::addMarker):
37969
37970 2011-05-17  Yufeng Shen  <miletus@chromium.org>
37971
37972         Reviewed by Darin Fisher.
37973
37974         Make WebKit expose extra touch information
37975         https://bugs.webkit.org/show_bug.cgi?id=59030
37976
37977         * public/WebTouchPoint.h:
37978         (WebKit::WebTouchPoint::WebTouchPoint):
37979         * src/WebInputEventConversion.cpp:
37980         (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
37981
37982 2011-05-16  James Robinson  <jamesr@chromium.org>
37983
37984         Reviewed by Kenneth Russell.
37985         https://bugs.webkit.org/show_bug.cgi?id=58830
37986
37987         Add unit tests for the compositor's TreeSynchronizer.
37988
37989         * WebKit.gypi:
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):
38001         (WebCore::TEST):
38002
38003 2011-05-16  MORITA Hajime  <morrita@google.com>
38004
38005         Reviewed by Tony Chang.
38006
38007         [Refactoring] Member variables of DocumentMarker should be encapsulated.        
38008         https://bugs.webkit.org/show_bug.cgi?id=56814
38009
38010         Moved addMarker() implementation to
38011         WebCore::DocumentMarkerController::addTextMatchMarker().
38012         
38013         * src/WebFrameImpl.cpp:
38014         (WebKit::WebFrameImpl::addMarker):
38015
38016 2011-05-16  Andrew Wilson  <atwilson@chromium.org>
38017
38018         Unreviewed, rolling out r86625.
38019         http://trac.webkit.org/changeset/86625
38020         https://bugs.webkit.org/show_bug.cgi?id=60719
38021
38022         Caused failed assertion on Chromium gpu canary bots
38023
38024         * src/WebViewImpl.cpp:
38025
38026 2011-05-16  Alok Priyadarshi  <alokp@chromium.org>
38027
38028         Reviewed by James Robinson.
38029
38030         Split canvas from LayerTilerChromium
38031         https://bugs.webkit.org/show_bug.cgi?id=60719
38032
38033         * src/WebViewImpl.cpp:
38034
38035 2011-05-13  Jon Lee  <jonlee@apple.com>
38036
38037         Reviewed by Simon Fraser.
38038
38039         Can't horizontally scroll iframes and overflow because wheel events are always accepted
38040         https://bugs.webkit.org/show_bug.cgi?id=60779
38041
38042         * src/ChromeClientImpl.h:
38043         (WebKit::ChromeClientImpl::shouldRubberBandInDirection): Default impl of new ChromeClient method
38044         (WebKit::ChromeClientImpl::numWheelEventHandlersChanged): Default impl of new ChromeClient method
38045
38046 2011-05-13  Tao Bai  <michaelbai@chromium.org>
38047
38048         Reviewed by Darin Fisher.
38049
38050         Handle the touch icon.
38051         https://bugs.webkit.org/show_bug.cgi?id=60247
38052
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. 
38056
38057         * WebKit.gyp:
38058         * features.gypi:
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:
38072
38073 2011-05-13  Sam Weinig  <sam@webkit.org>
38074
38075         Reviewed by Anders Carlsson.
38076
38077         Prune #includes from FrameView.h (Part 2)
38078         https://bugs.webkit.org/show_bug.cgi?id=60748
38079
38080         - Update files that were depending on FrameView.h #including Frame.h or
38081           Page.h.
38082
38083         * src/AutoFillPopupMenuClient.cpp:
38084         * src/PlatformBridge.cpp:
38085         * src/WebPopupMenuImpl.cpp:
38086
38087 2011-05-13  Brett Wilson  <brettw@chromium.org>
38088
38089         Reviewed by Adam Barth.
38090
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
38095
38096         * src/gtk/WebFontInfo.cpp:
38097         (WebKit::WebFontInfo::renderStyleForStrike):
38098
38099 2011-05-11  Hans Wennborg  <hans@chromium.org>
38100
38101         Reviewed by Tony Gentilcore.
38102
38103         IndexedDB: Fix integer comparison bug in LevelDB coding routines
38104         https://bugs.webkit.org/show_bug.cgi?id=60623
38105
38106         Unit test for comparison of encoded keys.
38107
38108         * tests/IDBLevelDBCodingTest.cpp:
38109         (IDBLevelDBCoding::TEST):
38110
38111 2011-05-05  Hans Wennborg  <hans@chromium.org>
38112
38113         Reviewed by Steve Block.
38114
38115         IndexedDB: Transaction rollback prevented by open SQLite statement
38116         https://bugs.webkit.org/show_bug.cgi?id=60032
38117
38118         Implement two new methods in IDBTransactionBackendInterface.
38119
38120         * src/IDBTransactionBackendProxy.cpp:
38121         (WebKit::IDBTransactionBackendProxy::registerOpenCursor):
38122         (WebKit::IDBTransactionBackendProxy::unregisterOpenCursor):
38123         * src/IDBTransactionBackendProxy.h:
38124
38125 2011-05-13  Patrick Gansterer  <paroga@webkit.org>
38126
38127         Reviewed by Adam Barth.
38128
38129         Enable OwnPtr strict mode in MediaPlayer
38130         https://bugs.webkit.org/show_bug.cgi?id=59466
38131
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.
38134
38135         * src/WebMediaPlayerClientImpl.cpp:
38136         (WebKit::WebMediaPlayerClientImpl::create):
38137         * src/WebMediaPlayerClientImpl.h:
38138
38139 2011-05-12  Adam Barth  <abarth@webkit.org>
38140
38141         Reviewed by Eric Seidel.
38142
38143         [Chromium] Add a WebSetting to control DNS prefetch
38144         https://bugs.webkit.org/show_bug.cgi?id=60736
38145
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.
38149
38150         * public/WebSettings.h:
38151         * src/WebSettingsImpl.cpp:
38152         (WebKit::WebSettingsImpl::setDNSPrefetchingEnabled):
38153         * src/WebSettingsImpl.h:
38154
38155 2011-05-11  John Abd-El-Malek  <jam@chromium.org>
38156
38157         Reviewed by James Robinson.
38158
38159         [chromium] Make openFileSystem check for permission first
38160         https://bugs.webkit.org/show_bug.cgi?id=60683
38161
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):
38174
38175 2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
38176
38177         Reviewed by Darin Adler.
38178
38179         String operator+ reallocates unnecessarily when concatting > 2 strings
38180         https://bugs.webkit.org/show_bug.cgi?id=58420
38181
38182         Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
38183
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):
38190
38191 2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
38192
38193         Reviewed by Darin Adler.
38194
38195         Perform some forward declarations suggested by include-what-you-use
38196         https://bugs.webkit.org/show_bug.cgi?id=60545
38197
38198         * src/WebHistoryItem.cpp:
38199         * src/WebNotification.cpp:
38200         * src/WebTextCheckingCompletionImpl.cpp:
38201         * src/mac/WebSubstringUtil.mm:
38202
38203 2011-05-11  Levi Weintraub  <leviw@chromium.org>
38204
38205         Reviewed by Eric Seidel.
38206
38207         Rename Widget::pos()
38208         https://bugs.webkit.org/show_bug.cgi?id=60575
38209
38210         Renaming Widget::pos() to the more-descriptive location().
38211
38212         * src/WebInputEventConversion.cpp:
38213         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
38214         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
38215
38216 2011-05-11  Antoine Labour  <piman@chromium.org>
38217
38218         Reviewed by David Levin.
38219
38220         Don't buffer data for resources loaded by AssociatedURLLoader.
38221         https://bugs.webkit.org/show_bug.cgi?id=60656
38222
38223         * src/AssociatedURLLoader.cpp:
38224         (WebKit::AssociatedURLLoader::loadAsynchronously): set shouldBufferData to false in ThreadableLoaderOptions
38225
38226 2011-05-11  Nat Duca  <nduca@chromium.org>
38227
38228         Reviewed by Kenneth Russell.
38229
38230         [chromium] Make throttling of WebGL based on webgl frames, not compositor frames
38231         https://bugs.webkit.org/show_bug.cgi?id=60508
38232
38233         Tell LayerRendererChromium when the requestAnimFrame-callbacks are running.
38234
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):
38243
38244 2011-05-11  John Bauman  <jbauman@chromium.org>
38245
38246         Reviewed by Kenneth Russell.
38247
38248         Don't send zeros in TexImage if GL implementation handles that
38249         https://bugs.webkit.org/show_bug.cgi?id=60581
38250
38251         Chromium already handles zeroing textures upon creation, so don't
38252         bother zeroing them in WebKit, as that causes some unnecessary memcpys
38253         of zeros.
38254
38255         * src/GraphicsContext3DChromium.cpp:
38256         (WebCore::GraphicsContext3D::create):
38257
38258 2011-05-10  Kent Tamura  <tkent@chromium.org>
38259
38260         Reviewed by Hajime Morita.
38261
38262         [Chromium] Fix a bug of WebFrameImpl::forms()
38263         https://bugs.webkit.org/show_bug.cgi?id=60606
38264
38265         If document()->forms() contained non-HTML element, the second for
38266         loop didn't stop.
38267
38268         * src/WebFrameImpl.cpp:
38269         (WebKit::WebFrameImpl::forms): Simplify the function by wtf::Vector().
38270
38271 2011-05-10  Ilya Tikhonovsky  <loislo@chromium.org>
38272
38273         Unreviewed buildfix for strict OwnPtr patch.
38274
38275         * src/PlatformBridge.cpp:
38276         (WebCore::PlatformBridge::loadPlatformAudioResource):
38277         (WebCore::PlatformBridge::decodeAudioFileData):
38278
38279 2011-05-06  Brett Wilson  <brettw@chromium.org>
38280
38281         Reviewed by Adam Barth.
38282
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
38289
38290         * src/WebURLResponse.cpp:
38291         (WebKit::WebURLResponse::downloadFilePath):
38292         (WebKit::WebURLResponse::setDownloadFilePath):
38293
38294 2011-05-10  Mikhail Naganov  <mnaganov@chromium.org>
38295
38296         Reviewed by Yury Semikhatsky.
38297
38298         Web Inspector: [Chromium] Drop obsolete test code for the Profiles panel.
38299         https://bugs.webkit.org/show_bug.cgi?id=60471
38300
38301         * src/js/Tests.js:
38302
38303 2011-05-10  Adam Barth  <abarth@webkit.org>
38304
38305         Attempt to fix the clang build.
38306
38307         * src/WebDevToolsAgentImpl.cpp:
38308
38309 2011-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
38310
38311         Unreviewed, rolling out r86091.
38312         http://trac.webkit.org/changeset/86091
38313         https://bugs.webkit.org/show_bug.cgi?id=60510
38314
38315         Broke Chromium win release build. (Requested by dave_levin on
38316         #webkit).
38317
38318         * WebKit.gyp:
38319         * features.gypi:
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:
38330
38331 2011-05-09  Tao Bai  <michaelbai@chromium.org>
38332
38333         Reviewed by David Levin.
38334
38335         Handle the touch icon.
38336         https://bugs.webkit.org/show_bug.cgi?id=60247
38337
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.
38341
38342         * WebKit.gyp:
38343         * features.gypi:
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:
38355
38356 2011-05-09  Evan Martin  <evan@chromium.org>
38357
38358         Reviewed by Tony Chang.
38359
38360         [chromium] make DumpRenderTree build in components for linux
38361         https://bugs.webkit.org/show_bug.cgi?id=60491
38362
38363         * WebKit.gyp: move some code that was in a Windows-only block to be used
38364         on all platforms.
38365
38366 2011-05-09  Adam Barth  <abarth@webkit.org>
38367
38368         Reviewed by Tony Gentilcore.
38369
38370         Make Chromium build with strict PassOwnPtr
38371         https://bugs.webkit.org/show_bug.cgi?id=60461
38372
38373         Fixed many, many PassOwnPtr nits.
38374
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):
38436
38437 2011-05-09  Shishir Agrawal  <shishir@chromium.org>
38438
38439         Reviewed by Tony Gentilcore.
38440
38441         Implement Page Visibility API.
38442         https://bugs.webkit.org/show_bug.cgi?id=54181
38443
38444         * WebKit.gyp:
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:
38455
38456 2011-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
38457
38458         Unreviewed, rolling out r85974.
38459         http://trac.webkit.org/changeset/85974
38460         https://bugs.webkit.org/show_bug.cgi?id=60444
38461
38462         broke browser tests (Requested by inferno-sec on #webkit).
38463
38464         * src/WebURLResponse.cpp:
38465         (WebKit::WebURLResponse::downloadFilePath):
38466         (WebKit::WebURLResponse::setDownloadFilePath):
38467
38468 2011-05-06  Kent Tamura  <tkent@chromium.org>
38469
38470         Reviewed by Ryosuke Niwa.
38471
38472         Eliminate WebCore/dom/InputElement.{cpp,h}
38473         https://bugs.webkit.org/show_bug.cgi?id=60262
38474
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().
38480
38481 2011-05-06  Justin Schuh  <jschuh@chromium.org>
38482
38483         Reviewed by Adam Barth.
38484
38485         [Chromium] Whitelist input events interpreted as user gestures
38486         https://bugs.webkit.org/show_bug.cgi?id=60213
38487
38488         * public/WebInputEvent.h:
38489         (WebKit::WebInputEvent::isUserGestureEventType):
38490         * src/WebViewImpl.cpp:
38491         (WebKit::WebViewImpl::handleInputEvent):
38492
38493 2011-05-06  Brett Wilson  <brettw@chromium.org>
38494
38495         Reviewed by Adam Barth.
38496
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
38503
38504         * src/WebURLResponse.cpp:
38505         (WebKit::WebURLResponse::downloadFilePath):
38506         (WebKit::WebURLResponse::setDownloadFilePath):
38507
38508 2011-05-06  John Abd-El-Malek  <jam@chromium.org>
38509
38510         Reviewed by James Robinson.
38511
38512         [chromium]: Reland using WebPermissionClient for checking indexed db usage
38513         https://bugs.webkit.org/show_bug.cgi?id=60386
38514
38515         * public/WebPermissionClient.h:
38516         (WebKit::WebPermissionClient::allowIndexedDB):
38517         * src/IDBFactoryBackendProxy.cpp:
38518         (WebKit::IDBFactoryBackendProxy::open):
38519
38520 2011-05-06  Sheriff Bot  <webkit.review.bot@gmail.com>
38521
38522         Unreviewed, rolling out r85919.
38523         http://trac.webkit.org/changeset/85919
38524         https://bugs.webkit.org/show_bug.cgi?id=60378
38525
38526         broke chromium database tests (Requested by inferno-sec on
38527         #webkit).
38528
38529         * public/WebPermissionClient.h:
38530         * src/IDBFactoryBackendProxy.cpp:
38531         (WebKit::IDBFactoryBackendProxy::open):
38532
38533 2011-05-04  Philippe Normand  <pnormand@igalia.com>
38534
38535         Reviewed by Dimitri Glazkov.
38536
38537         Implement LayoutTestController::pseudoShadowId()
38538         https://bugs.webkit.org/show_bug.cgi?id=60034
38539
38540         * public/WebElement.h:
38541         * src/WebElement.cpp:
38542         (WebKit::WebElement::shadowPseudoId):
38543
38544 2011-05-05  John Abd-El-Malek  <jam@chromium.org>
38545
38546         Reviewed by James Robinson.
38547
38548         [chromium] Make IndexedDB code use WebPermissionClient API
38549         https://bugs.webkit.org/show_bug.cgi?id=60340
38550
38551         * public/WebPermissionClient.h:
38552         (WebKit::WebPermissionClient::allowIndexedDB):
38553         * src/IDBFactoryBackendProxy.cpp:
38554         (WebKit::IDBFactoryBackendProxy::open):
38555
38556 2011-05-05  Adam Barth  <abarth@webkit.org>
38557
38558         Roll Chromium DEPS.
38559
38560         * DEPS:
38561
38562 2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>
38563
38564         Reviewed by Eric Seidel.
38565
38566         Rename SelectionController to FrameSelection
38567         https://bugs.webkit.org/show_bug.cgi?id=60234
38568
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):
38576
38577 2011-05-03  Hans Wennborg  <hans@chromium.org>
38578
38579         Reviewed by Steve Block.
38580
38581         IndexedDB: Unit tests for LevelDB key coding functions
38582         https://bugs.webkit.org/show_bug.cgi?id=59692
38583
38584         Add unit tests for the basic key coding functions used by the LevelDB back-end.
38585
38586         * WebKit.gypi:
38587         * tests/IDBLevelDBCodingTest.cpp: Added.
38588         (IDBLevelDBCoding::TEST):
38589
38590 2011-05-04  MORITA Hajime  <morrita@google.com>
38591
38592         Unreviewed unit test skip (startPostAndWaitOnCondition)
38593         which fails on Windows 7. See bug 60248 for tracking.
38594         
38595         * tests/CCThreadTest.cpp:
38596         (WebCore::TEST):
38597
38598 2011-05-04  Cris Neckar  <cdn@chromium.org>
38599
38600         Reviewed by Adam Barth.
38601
38602         Expose WebView directly through ChromeClient.
38603         https://bugs.webkit.org/show_bug.cgi?id=49902
38604
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):
38618
38619 2011-05-04  Nate Chapin  <japhet@chromium.org>
38620
38621         Reviewed by Mihai Parparita.
38622
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
38626
38627         * src/WebFrameImpl.cpp:
38628         (WebKit::WebFrameImpl::loadHistoryItem):
38629         (WebKit::WebFrameImpl::currentHistoryItem):
38630         (WebKit::WebFrameImpl::WebFrameImpl):
38631         * src/WebFrameImpl.h:
38632
38633 2011-05-04  Tao Bai  <michaelbai@chromium.org>
38634
38635         Reviewed by David Kilzer.
38636
38637         Populate touch-icon url to FrameLoaderClient
38638         https://bugs.webkit.org/show_bug.cgi?id=59143
38639
38640         Respected the change of FrameLoaderClient.
38641
38642         * src/FrameLoaderClientImpl.cpp:
38643         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
38644         * src/FrameLoaderClientImpl.h:
38645
38646 2011-05-04  Jay Civelli  <jcivelli@chromium.org>
38647
38648         Reviewed by Ojan Vafai.
38649
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
38653
38654         * src/WebViewImpl.cpp:
38655         (WebKit::WebViewImpl::keyEvent):
38656         (WebKit::WebViewImpl::charEvent):
38657         * src/WebViewImpl.h:
38658
38659 2011-05-03  Justin Novosad  <junov@chromium.org>
38660
38661         Reviewed by Kenneth Russell.
38662
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.
38667
38668         * public/WebSettings.h:
38669         * src/WebSettingsImpl.cpp:
38670         (WebKit::WebSettingsImpl::setLegacyAccelerated2dCanvasEnabled):
38671         * src/WebSettingsImpl.h:
38672
38673 2011-05-03  Alpha Lam  <hclam@chromium.org>
38674
38675         Not reviewed. Build fix.
38676
38677         More 0 to nullptr.
38678
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):
38690
38691 2011-05-03  John Abd-El-Malek  <jam@chromium.org>
38692
38693         Reviewed by James Robinson.
38694
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
38697
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):
38712
38713 2011-05-03  Tony Chang  <tony@chromium.org>
38714
38715         Unreviewed, rolling the version of chromium to r83922.
38716
38717         * DEPS:
38718
38719 2011-05-03  Julien Chaffraix  <jchaffraix@codeaurora.org>
38720
38721         Reviewed by Dimitri Glazkov.
38722
38723         Element:shadowRoot & Element::ensureShadowRoot should return ShadowRoot*
38724         https://bugs.webkit.org/show_bug.cgi?id=58703
38725
38726         * src/WebElement.cpp: Added #include for ShadowRoot.h.
38727
38728 2011-05-02  Adam Klein  <adamk@chromium.org>
38729
38730         Reviewed by Tony Chang.
38731
38732         Roll chromium DEPS to r83722, add new crypto directory to DEPS
38733         https://bugs.webkit.org/show_bug.cgi?id=59992
38734
38735         * DEPS:
38736
38737 2011-05-02  Adam Roben  <aroben@apple.com>
38738
38739         Take advantage of implicit conversion from nullptr_t to PassOwnPtr
38740
38741         Fixes <http://webkit.org/b/59964> Implicit conversion from std::nullptr_t to PassOwnPtr
38742         doesn't work, but should
38743
38744         Reviewed by Adam Barth.
38745
38746         * src/WebMediaPlayerClientImpl.cpp:
38747
38748 2011-05-03  Pavel Feldman  <pfeldman@google.com>
38749
38750         Not reviewed: re-applied r85589.
38751
38752         * src/js/DevTools.js:
38753         (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
38754
38755 2011-05-03  Pavel Feldman  <pfeldman@google.com>
38756
38757         Reviewed by Yury Semikhatsky.
38758
38759         Web Inspector: [remote debugging] use document.title to set window name.
38760         https://bugs.webkit.org/show_bug.cgi?id=60012
38761
38762         * src/js/DevTools.js:
38763         (WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
38764
38765 2011-05-02  Alok Priyadarshi  <alokp@chromium.org>
38766
38767         Reviewed by Dimitri Glazkov.
38768
38769         Chromium windows build is broken due to r85395
38770         https://bugs.webkit.org/show_bug.cgi?id=59945
38771         
38772         Include SecurityOrigin.h in IDBFactoryBackendProxy.cpp
38773
38774         * src/IDBFactoryBackendProxy.cpp:
38775
38776 2011-04-30  Mihai Parparita  <mihaip@chromium.org>
38777
38778         Reviewed by Eric Seidel.
38779
38780         V8Proxy.h shouldn't include SecurityOrigin.h
38781         https://bugs.webkit.org/show_bug.cgi?id=59859
38782
38783         Add SecurityOrigin.h includes to places that were relying on transitive
38784         includes.
38785
38786         * src/ApplicationCacheHost.cpp:
38787         * src/WebGeolocationPermissionRequest.cpp:
38788
38789 2011-04-29  Chris Evans  <cevans@chromium.org>
38790
38791         Reviewed by Adam Barth.
38792
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
38795
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.
38802
38803 2011-04-29  Kenneth Russell  <kbr@google.com>
38804
38805         Unreviewed build fix. Skip WebPageNewSerializerTest.cpp in Windows multi-DLL build.
38806
38807         * WebKit.gyp:
38808
38809 2011-04-28  Evan Martin  <evan@chromium.org>
38810
38811         Reviewed by Tony Chang.
38812
38813         [chromium] support components build on Linux
38814         https://bugs.webkit.org/show_bug.cgi?id=59748
38815
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.
38820
38821 2011-04-29  Vsevolod Vlasov  <vsevik@chromium.org>
38822
38823         Reviewed by Pavel Feldman.
38824
38825         Chromium DevTools: Fix network panel timing/size/headers tests.
38826         https://bugs.webkit.org/show_bug.cgi?id=59696
38827
38828         * src/js/Tests.js:
38829         (.TestSuite.prototype.testNetworkSize.finishResource):
38830         (.TestSuite.prototype.testNetworkSyncSize.finishResource):
38831         (.TestSuite.prototype.testNetworkRawHeadersText.finishResource):
38832         (.TestSuite.prototype.testNetworkTiming.finishResource):
38833
38834 2011-04-29  Pavel Feldman  <pfeldman@google.com>
38835
38836         Reviewed by Yury Semikhatsky.
38837
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
38840
38841         This change also distinguishes context menu items case between platforms.
38842
38843         * src/js/DevTools.js:
38844
38845 2011-04-28  Nat Duca  <nduca@chromium.org>
38846
38847         Reviewed by Kenneth Russell.
38848
38849         [chromium] Add swapBuffersCompleteCallback to Extensions3DChromium
38850         https://bugs.webkit.org/show_bug.cgi?id=59626
38851
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:
38865
38866 2011-04-28  John Abd-El-Malek  <jam@chromium.org>
38867
38868         Reviewed by Tony Chang.
38869
38870         [chromium] Fix silly bug with WebPermissionClient
38871         https://bugs.webkit.org/show_bug.cgi?id=59769
38872
38873         * src/FrameLoaderClientImpl.cpp:
38874         (WebKit::FrameLoaderClientImpl::allowJavaScript):
38875         (WebKit::FrameLoaderClientImpl::allowPlugins):
38876         (WebKit::FrameLoaderClientImpl::allowImages):
38877
38878 2011-04-28  Jay Civelli  <jcivelli@chromium.org>
38879
38880         Reviewed by Adam Barth.
38881
38882         Introducing a new API to serialize a WebView back to HTML.
38883         https://bugs.webkit.org/show_bug.cgi?id=58947
38884
38885         * WebKit.gyp:
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.
38908
38909 2011-04-28  John Abd-El-Malek  <jam@chromium.org>
38910
38911         Reviewed by Darin Fisher.
38912
38913         [chromium] Add a WebPermissionClient to be used for checking permissions of features
38914         https://bugs.webkit.org/show_bug.cgi?id=59720
38915
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):
38958
38959 2011-04-28  Kenneth Russell  <kbr@google.com>
38960
38961         Unreviewed fix for Windows multi-DLL build.
38962
38963         * WebKit.gyp:
38964
38965 2011-04-27  Dmitry Lomov  <dslomov@google.com>
38966
38967         Reviewed by David Levin.
38968         
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
38973
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:
39026         (WebCore::TEST):
39027
39028 2011-04-27  James Robinson  <jamesr@chromium.org>
39029
39030         Reviewed by Kenneth Russell.
39031
39032         [chromium] Ensure compositing layers are up to date before entering doComposite
39033         https://bugs.webkit.org/show_bug.cgi?id=59159
39034
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.
39037
39038         * src/WebViewImpl.cpp:
39039         (WebKit::WebViewImpl::composite):
39040
39041 2011-04-27  James Robinson  <jamesr@chromium.org>
39042
39043         Reviewed by Adam Barth.
39044
39045         Fix OwnPtr strict issues in chromium linux build
39046         https://bugs.webkit.org/show_bug.cgi?id=59664
39047
39048         * src/WebImageDecoder.cpp:
39049         (WebKit::WebImageDecoder::getFrameAtIndex):
39050         * src/WebImageSkia.cpp:
39051         (WebKit::WebImage::fromData):
39052
39053 2011-04-27  Adam Barth  <abarth@webkit.org>
39054
39055         Reviewed by David Levin.
39056
39057         Make GraphicsContext3DChromium play nice with strict OwnPtrs
39058         https://bugs.webkit.org/show_bug.cgi?id=59659
39059
39060         Attempt #2.  Hopefully this time I won't make everything crash.
39061
39062         * src/GraphicsContext3DChromium.cpp:
39063         (WebCore::GraphicsContext3DInternal::initialize):
39064
39065 2011-04-27  Dirk Pranke  <dpranke@chromium.org>
39066
39067         Reviewed by Darin Fisher.
39068
39069         remove unneeded TestWebWidget class
39070         https://bugs.webkit.org/show_bug.cgi?id=59573
39071
39072         * tests/PopupMenuTest.cpp:
39073
39074 2011-04-27  Tony Chang  <tony@chromium.org>
39075
39076         Reviewed by Ojan Vafai.
39077
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
39080
39081         * WebKit.gyp: Add target
39082         * scripts/concatenate_css_files.py: Pass in a string of html rather
39083             than a filename
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.
39087
39088 2011-04-27  Mihai Parparita  <mihaip@chromium.org>
39089
39090         Reviewed by Eric Seidel.
39091
39092         Frame.h shouldn't include Document.h
39093         https://bugs.webkit.org/show_bug.cgi?id=59560
39094         
39095         Add Document.h #includes for files that were relying on transitive
39096         #includes via Frame.h.
39097
39098         * src/LocalFileSystemChromium.cpp:
39099         * src/StorageEventDispatcherImpl.cpp:
39100         * src/WebFrameImpl.h:
39101         * src/WebWorkerBase.cpp:
39102
39103 2011-04-26  Jay Civelli  <jcivelli@chromium.org>
39104
39105         Reviewed by Eric Seidel.
39106
39107         Typedefing the shared timer function.
39108         https://bugs.webkit.org/show_bug.cgi?id=59564
39109
39110         * public/WebKitClient.h:
39111         (WebKit::WebKitClient::setSharedTimerFiredFunction):
39112
39113 2011-04-26  Dirk Pranke  <dpranke@chromium.org>
39114
39115         Unreviewed, rolling out r84982.
39116         http://trac.webkit.org/changeset/84982
39117         https://bugs.webkit.org/show_bug.cgi?id=59558
39118
39119         re-land r84951
39120
39121         * WebKit.gyp:
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):
39139
39140 2011-04-26  Sam Weinig  <sam@webkit.org>
39141
39142         Reviewed by David Hyatt.
39143
39144         Remove Datagrid from the tree
39145         https://bugs.webkit.org/show_bug.cgi?id=59543
39146
39147         * features.gypi:
39148         Remove feature.
39149
39150 2011-04-26  Sheriff Bot  <webkit.review.bot@gmail.com>
39151
39152         Unreviewed, rolling out r84951.
39153         http://trac.webkit.org/changeset/84951
39154         https://bugs.webkit.org/show_bug.cgi?id=59558
39155
39156         "breaks chromium compile" (Requested by dpranke on #webkit).
39157
39158         * WebKit.gyp:
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.
39170
39171 2011-04-26  Daniel Cheng  <dcheng@chromium.org>
39172
39173         Reviewed by Eric Seidel.
39174
39175         [chromium] Implement EditorClient::canCopyCut and EditorClient::canPaste
39176         https://bugs.webkit.org/show_bug.cgi?id=59264
39177
39178         * public/WebViewClient.h:
39179         (WebKit::WebViewClient::canTriggerClipboardRead):
39180         (WebKit::WebViewClient::canTriggerClipboardWrite):
39181         * src/EditorClientImpl.cpp:
39182         (WebKit::EditorClientImpl::canCopyCut):
39183         (WebKit::EditorClientImpl::canPaste):
39184
39185 2011-04-26  Evan Martin  <evan@chromium.org>
39186
39187         Unreviewed, Chrome/Mac build fix.
39188
39189         * WebKit.gypi: Remove extra file.  (I removed a subtraction, but
39190         forgot to remove the corresponding addition that the subtraction
39191         was counteracting.)
39192
39193 2011-04-26  Evan Martin  <evan@chromium.org>
39194
39195         Reviewed by Tony Chang.
39196
39197         [chromium] refactor duplicated list of test source files
39198         https://bugs.webkit.org/show_bug.cgi?id=59478
39199
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.)
39205
39206         * WebKit.gyp:
39207         * WebKit.gypi:
39208
39209 2011-04-26  Robert Sesek  <rsesek@chromium.org>
39210
39211         Reviewed by Dimitri Glazkov.
39212
39213         [Chromium] Implement WebKit methods to assist with Cocoa NSTextInput implementation
39214         https://bugs.webkit.org/show_bug.cgi?id=54969
39215
39216         * WebKit.gyp:
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):
39234
39235 2011-04-26  Adam Barth  <abarth@webkit.org>
39236
39237         Reviewed by David Levin.
39238
39239         Moar strict OwnPtr fixes for WebKit/chromium
39240         https://bugs.webkit.org/show_bug.cgi?id=59437
39241
39242         This patch fixes all but two strict OwnPtr issues in WebKit/chromium.
39243
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):
39268
39269 2011-04-26  Ruben  <chromium@hybridsource.org>
39270
39271         Reviewed by Tony Chang.
39272
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
39276
39277         * src/PlatformBridge.cpp:
39278         * src/WebFrameImpl.cpp:
39279         * src/WebViewImpl.cpp:
39280
39281 2011-04-26  Stephen White  <senorblanco@chromium.org>
39282
39283         Reviewed by Kenneth Russell.
39284
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
39288
39289         * src/GraphicsContext3DChromium.cpp:
39290         (WebCore::GraphicsContext3DInternal::initialize):
39291
39292 2011-04-26  Hans Wennborg  <hans@chromium.org>
39293
39294         Reviewed by Tony Gentilcore.
39295
39296         IndexedDB: Enable compile-time flag for LevelDB
39297         https://bugs.webkit.org/show_bug.cgi?id=59457
39298
39299         Set ENABLE_LEVELDB=1 in features.gypi.
39300
39301         * features.gypi:
39302
39303 2011-04-26  Pavel Feldman  <pfeldman@google.com>
39304
39305         Reviewed by Yury Semikhatsky.
39306
39307         Chromium DevTools: recognize WebP as a valid mimetype in the Chromium port.
39308         https://bugs.webkit.org/show_bug.cgi?id=59332
39309
39310         * src/js/DevTools.js:
39311
39312 2011-04-26  Adam Barth  <abarth@webkit.org>
39313
39314         Reviewed by David Levin.
39315
39316         WebKit/chromium should play nice with strict OwnPtrs
39317         https://bugs.webkit.org/show_bug.cgi?id=59434
39318
39319         This fixes about half the issues.
39320
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):
39335
39336 2011-04-25  Dirk Pranke  <dpranke@chromium.org>
39337
39338         Unreviewed, build fix.
39339
39340         Change FAILS_ to DISABLED_ in r84813.
39341
39342         * tests/TransparencyWinTest.cpp:
39343         (WebCore::TEST):
39344
39345 2011-04-25  Dirk Pranke  <dpranke@chromium.org>
39346
39347         Reviewed by James Robinson.
39348
39349         Suppress test failure in Chromium webkit_unit_tests.
39350         https://bugs.webkit.org/show_bug.cgi?id=59358
39351
39352         Looks like this started failing after
39353         http://trac.webkit.org/changeset/84631.
39354
39355         * tests/TransparencyWinTest.cpp:
39356         (WebCore::TEST):
39357
39358 2011-04-22  Mikhail Naganov  <mnaganov@chromium.org>
39359
39360         Reviewed by Pavel Feldman.
39361
39362         Web Inspector: [Chromium] Move detailed heap snapshots storage and processing into workers.
39363         https://bugs.webkit.org/show_bug.cgi?id=59094
39364
39365         * WebKit.gyp:
39366
39367 2011-04-22  Andrey Kosyakov  <caseq@chromium.org>
39368
39369         Reviewed by Pavel Feldman.
39370
39371         Web Inspector: [Extensions API] misc API cleanup
39372         https://bugs.webkit.org/show_bug.cgi?id=59194
39373
39374         * src/js/DevTools.js:
39375         (WebInspector.platformExtensionAPI):
39376
39377 2011-04-21  Chris Fleizach  <cfleizach@apple.com>
39378
39379         Reviewed by Beth Dakin.
39380
39381         AX: order AccessibilityRole alphabetically
39382         https://bugs.webkit.org/show_bug.cgi?id=31524
39383
39384         * public/WebAccessibilityRole.h:
39385
39386 2011-04-21  Maciej Stachowiak  <mjs@apple.com>
39387
39388         Reviewed by Adam Roben.
39389
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>
39393
39394         * features.gypi:
39395
39396 2011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
39397
39398         Reviewed by Sam Weinig.
39399
39400         Add Frame* to the argument lists of canCopyCut and canPaste
39401         https://bugs.webkit.org/show_bug.cgi?id=59153
39402
39403         * src/EditorClientImpl.cpp:
39404         (WebKit::EditorClientImpl::canCopyCut):
39405         (WebKit::EditorClientImpl::canPaste):
39406         * src/EditorClientImpl.h:
39407
39408 2011-04-21  Roland Steiner  <rolandsteiner@chromium.org>
39409
39410         Reviewed by Dimitri Glazkov.
39411
39412         Bug 58704 - Decide on node type for ShadowRoot
39413         https://bugs.webkit.org/show_bug.cgi?id=58704
39414
39415         Add a new enum entry to WebNode::NodeType for shadow roots.
39416         Adapt calling sites for new SHADOW_ROOT_NODE node type.
39417
39418         * public/WebNode.h:
39419         * src/WebPageSerializerImpl.cpp:
39420         (WebKit::WebPageSerializerImpl::buildContentForNode):
39421
39422 2011-04-20  Dominic Cooney  <dominicc@chromium.org>
39423
39424         Reviewed by Dimitri Glazkov.
39425
39426         layoutTestController can create and destroy shadow DOM
39427         https://bugs.webkit.org/show_bug.cgi?id=59058
39428
39429         Chromium DRT relies on the Chromium WebKit API
39430
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
39436
39437 2011-04-20  Alexey Marinichev  <amarinichev@chromium.org>
39438
39439         Reviewed by Kenneth Russell.
39440
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
39443
39444         * src/GraphicsContext3DChromium.cpp:
39445         (WebCore::GraphicsContext3D::~GraphicsContext3D): call into platform
39446         layer and unregister itself.
39447
39448 2011-04-20  Yuzhu Shen  <yzshen@chromium.org>
39449
39450         Reviewed by Tony Chang.
39451
39452         [chromium] linux chromium doesn't set click count for mouse up events.
39453         https://bugs.webkit.org/show_bug.cgi?id=58921
39454
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.
39457
39458         * src/gtk/WebInputEventFactory.cpp: set click count for mouse up events.
39459         * tests/WebInputEventFactoryTestGtk.cpp: added test case MouseUpClickCount.
39460
39461 2011-04-20  Evan Martin  <evan@chromium.org>
39462
39463         Reviewed by Tony Chang.
39464
39465         [chromium] expose title text direction on WebDataSource
39466         https://bugs.webkit.org/show_bug.cgi?id=59010
39467
39468         * public/WebDataSource.h:
39469         * src/WebDataSourceImpl.cpp:
39470         (WebKit::WebDataSourceImpl::pageTitle):
39471         (WebKit::WebDataSourceImpl::pageTitleDirection):
39472         * src/WebDataSourceImpl.h:
39473
39474 2011-04-20  Pavel Feldman  <pfeldman@google.com>
39475
39476         Reviewed by Yury Semikhatsky.
39477
39478         Web Inspector: add saveAs into the InspectorFrontendHost binding.
39479         https://bugs.webkit.org/show_bug.cgi?id=58979
39480
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:
39487
39488 2011-04-19  Naoki Takano  <takano.naoki@gmail.com>
39489
39490         Reviewed by Kent Tamura.
39491
39492         [Chromium]UI polishes and tweaks to Autofill dropdown menu.
39493         https://bugs.webkit.org/show_bug.cgi?id=58505
39494
39495         * src/AutoFillPopupMenuClient.cpp:
39496         (WebKit::AutoFillPopupMenuClient::initialize): Set AutofillPopup for menuStyle.
39497
39498 2011-04-19  Dirk Pranke  <dpranke@chromium.org>
39499
39500         Unreviewed, attempting build fix.
39501
39502         Disable leveldb to work around
39503         http://code.google.com/p/leveldb/issues/detail?id=1.
39504
39505         * features.gypi:
39506
39507 2011-04-19  Dominic Cooney  <dominicc@chromium.org>
39508
39509         Reviewed by Dimitri Glazkov.
39510
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
39514
39515         * src/WebBindings.cpp:
39516         (WebKit::getRangeImpl): check HasInstance
39517         (WebKit::getElementImpl): check HasInstance
39518
39519 2011-04-19  Evan Martin  <evan@chromium.org>
39520
39521         Reviewed by Darin Fisher.
39522
39523         [chromium] didReceiveTitle API signature should not change
39524         https://bugs.webkit.org/show_bug.cgi?id=58909
39525
39526         My previous attempt at a temporary shim was wrong.
39527         This second try should correctly work with older clients.
39528
39529         * public/WebFrameClient.h:
39530         (WebKit::WebFrameClient::didReceiveTitle):
39531
39532 2011-04-19  Jungshik Shin  <jshin@chromium.org>
39533
39534         Reviewed by Adam Barth
39535
39536         Fix the compile failure in UniscribeHelperTest.cpp due to
39537         a change in UniscribeHelper made by the CL for bug 48860
39538         (r84264)
39539
39540         http://bugs.webkit.org/show_bug.cgi?id=48860
39541
39542         * tests/UniscribeHelperTest.cpp:
39543         (TEST_F):
39544
39545 2011-04-19  Stuart Morgan  <stuartmorgan@chromium.org>
39546
39547         Reviewed by Tony Chang.
39548
39549         [chromium] Clicking on plugin for first time blocks focus shift
39550         https://bugs.webkit.org/show_bug.cgi?id=58419
39551
39552         Switched to using FocusController when moving focus to a plugin
39553         so that cross-frame focus changes are handled correctly.
39554
39555         * src/WebPluginContainerImpl.cpp:
39556         (WebKit::WebPluginContainerImpl::handleMouseEvent):
39557
39558 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
39559
39560         Reviewed by Pavel Feldman.
39561
39562         Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
39563         https://bugs.webkit.org/show_bug.cgi?id=58883
39564
39565         Renamed lengthReceived to encodedDataLength/dataLength.
39566
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):
39576
39577 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
39578
39579         Reviewed by Pavel Feldman.
39580
39581         Chromium DevTools: Network panel timing test is flaky
39582         https://bugs.webkit.org/show_bug.cgi?id=58699
39583
39584         Fixed network timing test flakiness.
39585
39586         * src/js/Tests.js:
39587         (.TestSuite.prototype.testNetworkTiming.finishResource):
39588
39589 2011-04-19  Andrey Kosyakov  <caseq@chromium.org>
39590
39591         Reviewed by Pavel Feldman.
39592
39593         Web Inspector: add chrome.devTools alias to webInspector namespace for chromium port
39594         https://bugs.webkit.org/show_bug.cgi?id=58894
39595
39596         * src/js/DevTools.js:
39597         (WebInspector.platformExtensionAPI):
39598
39599 2011-04-19  Kinuko Yasuda  <kinuko@chromium.org>
39600
39601         Not reviewed; another build fix attempt.
39602
39603         * src/StorageInfoChromium.cpp:
39604         (WebCore::StorageInfo::queryUsageAndQuota):
39605         (WebCore::StorageInfo::requestQuota):
39606         * src/WebStorageQuotaCallbacksImpl.cpp:
39607         (WebKit::WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl):
39608         * src/WebStorageQuotaCallbacksImpl.h:
39609
39610 2011-04-19  Kinuko Yasuda  <kinuko@chromium.org>
39611
39612         Reviewed by David Levin.
39613
39614         [Chromium] Enable QUOTA API at runtime if enable-quota flag is given
39615         https://bugs.webkit.org/show_bug.cgi?id=58784
39616
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.
39622
39623 2011-04-19  John Gregg  <johnnyg@google.com>
39624
39625         Reviewed by Darin Fisher.
39626
39627         Enable folder drag-n-drop when using a "webkitdirectory" file input
39628         https://bugs.webkit.org/show_bug.cgi?id=58401
39629
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.
39633
39634         * public/WebViewClient.h:
39635         (WebKit::WebViewClient::enumerateChosenDirectory):
39636         * src/ChromeClientImpl.cpp:
39637         (WebKit::ChromeClientImpl::enumerateChosenDirectory):
39638         * src/ChromeClientImpl.h:
39639
39640 2011-04-18  Evan Martin  <evan@chromium.org>
39641
39642         Reviewed by Eric Seidel.
39643
39644         [chromium] expose title direction to webkit client
39645         https://bugs.webkit.org/show_bug.cgi?id=58823
39646
39647         * public/WebFrameClient.h:
39648         (WebKit::WebFrameClient::didReceiveTitle):
39649         Add new param to API.
39650
39651         * src/FrameLoaderClientImpl.cpp:
39652         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
39653         Pass new param in API.
39654
39655 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
39656
39657         Reviewed by Adam Barth.
39658
39659         Rename PLATFORM(CG) to USE(CG)
39660         https://bugs.webkit.org/show_bug.cgi?id=58729
39661
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):
39671
39672 2011-04-15  John Bates  <jbates@google.com>
39673
39674         Reviewed by Kenneth Russell.
39675
39676         Change WebGraphicsContext3D virtuals to pure virtuals as intended
39677         https://bugs.webkit.org/show_bug.cgi?id=58479
39678
39679         * public/WebGraphicsContext3D.h:
39680
39681 2011-04-15  Shishir Agrawal  <shishir@chromium.org>
39682
39683         Reviewed by James Robinson.
39684
39685         Add a flag to guard Page Visibility API changes.
39686         https://bugs.webkit.org/show_bug.cgi?id=58464
39687
39688         * features.gypi:
39689
39690 2011-04-15  Charlie Reis  <creis@chromium.org>
39691
39692         Reviewed by Darin Fisher.
39693
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
39696
39697         Remove an assert whose invariant doesn't hold.
39698
39699         * src/FrameLoaderClientImpl.cpp:
39700
39701 2011-04-15  Kinuko Yasuda  <kinuko@chromium.org>
39702
39703         Reviewed by David Levin.
39704
39705         Expose unified Quota API if QUOTA build flag is enabled
39706         https://bugs.webkit.org/show_bug.cgi?id=58648
39707
39708         * src/AssertMatchingEnums.cpp: Added enum assertions.
39709         * src/StorageInfoChromium.cpp: Made a build fix.
39710
39711 2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>
39712
39713         Reviewed by Pavel Feldman.
39714
39715         Web Inspector: Rename rawRequestHeadersText and RawResponseHeadersText to requestHeadersText and responseHeadersText
39716         https://bugs.webkit.org/show_bug.cgi?id=58650
39717
39718         * public/WebHTTPLoadInfo.h:
39719         * src/WebHTTPLoadInfo.cpp:
39720         (WebKit::WebHTTPLoadInfo::requestHeadersText):
39721         (WebKit::WebHTTPLoadInfo::setRequestHeadersText):
39722         (WebKit::WebHTTPLoadInfo::responseHeadersText):
39723         (WebKit::WebHTTPLoadInfo::setResponseHeadersText):
39724
39725 2011-04-15  Zelidrag Hornung  <zelidrag@chromium.org>
39726
39727         Reviewed by Darin Fisher.
39728
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
39732
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:
39740
39741 2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>
39742
39743         Reviewed by Pavel Feldman.
39744
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
39747
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*)
39751
39752         * src/js/Tests.js:
39753         (.TestSuite.prototype.testNetworkSize.finishResource):
39754         (.TestSuite.prototype.testNetworkSyncSize.finishResource):
39755         (.TestSuite.prototype.testNetworkRawHeadersText.finishResource):
39756         (.TestSuite.prototype.testNetworkTiming.finishResource):
39757
39758 2011-04-14  Vsevolod Vlasov  <vsevik@chromium.org>
39759
39760         Reviewed by Pavel Feldman.
39761
39762         Web Inspector: Enable raw HTTP headers support
39763         https://bugs.webkit.org/show_bug.cgi?id=58259
39764
39765         Added raw headers text support to inspector.
39766
39767         * public/WebHTTPLoadInfo.h:
39768         * src/WebHTTPLoadInfo.cpp:
39769         (WebKit::WebHTTPLoadInfo::rawRequestHeadersText):
39770         (WebKit::WebHTTPLoadInfo::setRawRequestHeadersText):
39771         (WebKit::WebHTTPLoadInfo::rawResponseHeadersText):
39772         (WebKit::WebHTTPLoadInfo::setRawResponseHeadersText):
39773
39774 2011-04-14  Vsevolod Vlasov  <vsevik@chromium.org>
39775
39776         Reviewed by Pavel Feldman.
39777
39778         Web Inspector: ResourceResponse should have encodedDataLength field for synchronous requests transfer size
39779         https://bugs.webkit.org/show_bug.cgi?id=58447
39780
39781         FrameLoader now takes encoded data length for synchronous requests from the field with the same name.
39782
39783         * public/WebHTTPLoadInfo.h:
39784         * src/WebHTTPLoadInfo.cpp:
39785         (WebKit::WebHTTPLoadInfo::encodedDataLength):
39786         (WebKit::WebHTTPLoadInfo::setEncodedDataLength):
39787
39788 2011-04-14  Alok Priyadarshi  <alokp@chromium.org>
39789
39790         Reviewed by James Robinson.
39791
39792         Remove dependency on chromium skia::PlatformCanvas
39793         https://bugs.webkit.org/show_bug.cgi?id=57563
39794
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):
39803         (WebCore::TEST):
39804
39805 2011-04-14  Brian Salomon  <bsalomon@google.com>
39806
39807         Reviewed by Kenneth Russell.
39808
39809         In skia platform call SkBitmap::notifyPixelsChanged on WebGL readback
39810         https://bugs.webkit.org/show_bug.cgi?id=58543
39811
39812         No new tests. Tested by fast/canvas/webgl/canvas-test.html
39813
39814         * src/GraphicsContext3DChromium.cpp:
39815         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
39816
39817 2011-04-14  Adrienne Walker  <enne@google.com>
39818
39819         Reviewed by James Robinson.
39820
39821         [chromium] TilingData should return 1 tile if tile size is texture size.
39822         https://bugs.webkit.org/show_bug.cgi?id=58364
39823
39824         Update test to properly handle this case.
39825
39826         * tests/TilingDataTest.cpp:
39827         (WebCore::TEST):
39828
39829 2011-04-14  Bill Budge  <bbudge@chromium.org>
39830
39831         Reviewed by Darin Fisher.
39832
39833         Make WebURLLoaderOptions disallow cross origin requests by default.
39834         https://bugs.webkit.org/show_bug.cgi?id=58475
39835
39836         No new tests. Exposes no new functionality.
39837
39838         * public/WebURLLoaderOptions.h:
39839         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
39840
39841 2011-04-13  James Robinson  <jamesr@chromium.org>
39842
39843         Reviewed by Simon Fraser.
39844
39845         Allow setting composited backing stores for scrollbars and scroll corners
39846         https://bugs.webkit.org/show_bug.cgi?id=57202
39847
39848         Remove a lot of scrollbar hacks from the chromium compositor implementation now that
39849         scrollbars go to real layers.
39850
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):
39859
39860 2011-04-13  John Abd-El-Malek  <jam@chromium.org>
39861
39862         Reviewed by Jian Li.
39863
39864         [chromium] Remove unnecessary #define now that chrome has rolled to the latest WebKit
39865         https://bugs.webkit.org/show_bug.cgi?id=58474
39866
39867         * DEPS:
39868         * public/WebSpellCheckClient.h:
39869
39870 2011-04-13  Zhenyao Mo  <zmo@google.com>
39871
39872         Reviewed by Kenneth Russell.
39873
39874         Extension3D needs to provide a way to check if an extension is enabled
39875         https://bugs.webkit.org/show_bug.cgi?id=58410
39876
39877         Implement isEnabled() in chromium port.
39878
39879         * src/Extensions3DChromium.cpp:
39880         (WebCore::Extensions3DChromium::isEnabled):
39881         * src/GraphicsContext3DChromium.cpp:
39882         (WebCore::GraphicsContext3DInternal::isExtensionEnabled):
39883         * src/GraphicsContext3DInternal.h:
39884
39885 2011-04-13  Kinuko Yasuda  <kinuko@chromium.org>
39886
39887         Reviewed by David Levin.
39888
39889         Add mock implementation and plumbing code for unified Quota API
39890         https://bugs.webkit.org/show_bug.cgi?id=57927
39891
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
39895
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.
39901
39902 2011-04-12  Hans Wennborg  <hans@chromium.org>
39903
39904         Reviewed by Jeremy Orlow.
39905
39906         Chromium: Set ENABLE_LEVELDB=1 and add leveldb and snappy to DEPS
39907         https://bugs.webkit.org/show_bug.cgi?id=58343
39908
39909         Set ENABLE_LEVELDB=1 so that code gets compiled by the EWS bots.
39910         Add the necessary dependencies to the DEPS file.
39911
39912         * DEPS:
39913         * features.gypi:
39914
39915 2011-04-12  Kent Tamura  <tkent@chromium.org>
39916
39917         Reviewed by Dimitri Glazkov.
39918
39919         [Chromium] Add WebSettings::setValidationMessageTimerMagnification()
39920         https://bugs.webkit.org/show_bug.cgi?id=57426
39921
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.
39927
39928 2011-04-12  Antoine Labour  <piman@chromium.org>
39929
39930         Reviewed by Kenneth Russell.
39931
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
39936
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.
39942
39943 2011-04-12  Adrienne Walker  <enne@google.com>
39944
39945         Reviewed by James Robinson.
39946
39947         [chromium] TilingData mishandles very small texture sizes
39948         https://bugs.webkit.org/show_bug.cgi?id=58364
39949
39950         Update test to properly handle texture sizes of 0-3.
39951
39952         * tests/TilingDataTest.cpp:
39953         (WebCore::TEST):
39954
39955 2011-04-12  Jian Li  <jianli@chromium.org>
39956
39957         Unreviewed, rolling out r83649.
39958         http://trac.webkit.org/changeset/83649
39959         https://bugs.webkit.org/show_bug.cgi?id=57563
39960
39961         This patch causes compiling errors for chromium
39962
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):
39971         (WebCore::TEST):
39972
39973 2011-04-12  John Abd-El-Malek  <jam@chromium.org>
39974
39975         Reviewed by Jian Li.
39976
39977         [chromium] Fix spellcheck regression in context menus
39978         https://bugs.webkit.org/show_bug.cgi?id=58386
39979
39980         * src/ContextMenuClientImpl.cpp:
39981         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
39982
39983 2011-04-12  Noel Gordon  <noel.gordon@gmail.com>
39984
39985         Reviewed by Tony Chang.
39986
39987         [chromium] Use new dragTargetDragEnter() function signature
39988         https://bugs.webkit.org/show_bug.cgi?id=58303
39989
39990         After WebKit/chromium/DEPS rolls to chromium r80907, the drag identity
39991         based version of dragTargetDragEnter() is no longer used; remove it.
39992
39993         * public/WebView.h:
39994         * src/WebViewImpl.cpp:
39995         * src/WebViewImpl.h:
39996
39997 2011-04-12  Alok Priyadarshi  <alokp@chromium.org>
39998
39999         Reviewed by James Robinson.
40000
40001         Remove dependency on chromium skia::PlatformCanvas
40002         https://bugs.webkit.org/show_bug.cgi?id=57563
40003
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):
40012         (WebCore::TEST):
40013
40014 2011-04-12  Adam Barth  <abarth@webkit.org>
40015
40016         Revert unintentional changes to WebKit.
40017
40018         * public/WebSettings.h:
40019         * src/WebSettingsImpl.cpp:
40020         * src/WebSettingsImpl.h:
40021
40022 2011-04-11  John Abd-El-Malek  <jam@chromium.org>
40023
40024         Reviewed by Darin Fisher.
40025
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
40028
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):
40036
40037 2011-04-12  Bill Budge  <bbudge@chromium.org>
40038
40039         Reviewed by Darin Fisher.
40040
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
40043
40044         No new tests. No new functionality exposed.
40045
40046         * WebKit.gyp:
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:
40053
40054 2011-04-11  Pavel Podivilov  <podivilov@chromium.org>
40055
40056         Reviewed by Pavel Feldman.
40057
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
40060
40061         * WebKit.gyp:
40062
40063 2011-04-11  John Bates  <jbates@google.com>
40064
40065         Reviewed by Kenneth Russell.
40066
40067         chromium support for glSetLatch and glWaitLatch between 3D contexts
40068         https://bugs.webkit.org/show_bug.cgi?id=58003
40069
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:
40080
40081 2011-04-11  Ryosuke Niwa  <rniwa@webkit.org>
40082
40083         Reviewed by Tony Chang.
40084
40085         [chromium] Crash in WebViewImpl::caretOrSelectionBounds
40086         https://bugs.webkit.org/show_bug.cgi?id=58269
40087
40088         The bug was caused by caretOrSelectionBounds's incorrectly assuming
40089         SelectionController::toNormalizedRange to always return a non-null Range.
40090
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.
40095
40096         Test: editing/selection/extend-over-file-input-by-drag-crash.html
40097
40098         * src/WebViewImpl.cpp:
40099         (WebKit::WebViewImpl::caretOrSelectionBounds):
40100
40101 2011-04-11  Dimitri Glazkov  <dglazkov@chromium.org>
40102
40103         Reviewed by Eric Carlson.
40104
40105         Rename MediaControls to MediaControlRootElement.
40106         https://bugs.webkit.org/show_bug.cgi?id=58250
40107
40108         Mechanical move using do-webcore-rename.
40109
40110 2011-04-11  Daniel Cheng  <dcheng@chromium.org>
40111
40112         Reviewed by Dmitry Titov.
40113
40114         [chromium] Implement image/png support in DataTransferItems
40115         https://bugs.webkit.org/show_bug.cgi?id=58106
40116
40117         Add glue for reading image data from clipboard.
40118
40119         * DEPS:
40120         * src/PlatformBridge.cpp:
40121         (WebCore::PlatformBridge::clipboardReadImage):
40122
40123 2011-04-05  Hans Wennborg  <hans@chromium.org>
40124
40125         Reviewed by Steve Block.
40126
40127         IndexedDB: Introduce skeleton for LevelDB backend
40128         https://bugs.webkit.org/show_bug.cgi?id=57827
40129
40130         * features.gypi:
40131             Add ENABLE_LEVELDB=0.
40132         * public/WebIDBFactory.h:
40133         (WebKit::WebIDBFactory::open):
40134             Remove pre-roll open() function.
40135
40136 2011-04-10  Kent Tamura  <tkent@chromium.org>
40137
40138         [Chromium] Fix build errors on "Win Shared Builder (dbg)"
40139
40140         * WebKit.gyp: Exclude WebFrameTest.cpp for WEBKIT_DLL.
40141
40142 2011-04-10  Kent Tamura  <tkent@chromium.org>
40143
40144         Unreviewed, rolling out r83353.
40145         http://trac.webkit.org/changeset/83353
40146         https://bugs.webkit.org/show_bug.cgi?id=58106
40147
40148         The new test doesn't pass on all Chromium platforms.
40149
40150         * DEPS:
40151         * src/PlatformBridge.cpp:
40152
40153 2011-04-09  Sreeram Ramachandran  <sreeram@google.com>
40154
40155         Reviewed by Ryosuke Niwa.
40156
40157         Gather data on modal dialogs shown during unload events
40158         https://bugs.webkit.org/show_bug.cgi?id=58115
40159
40160         Implementation of the new API to receive notifications of modal dialogs
40161         dispatched during unload events. Count the notifications through a histogram.
40162
40163         No tests because it's not clear how to test chromium histograms from webkit.
40164
40165         * src/ChromeClientImpl.cpp:
40166         (WebKit::ChromeClientImpl::willRunModalDialogDuringPageDismissal):
40167         * src/ChromeClientImpl.h:
40168
40169 2011-04-08  Aaron Boodman  <aa@chromium.org>
40170
40171         Reviewed by Dmitry Titov.
40172
40173         Re-land http://trac.webkit.org/changeset/83007. This works
40174         without changes after https://bugs.webkit.org/show_bug.cgi?id=58110.
40175
40176         https://bugs.webkit.org/show_bug.cgi?id=58096
40177
40178         * WebKit.gyp:
40179         * WebKit.gypi:
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):
40187         (WebKit::TEST_F):
40188
40189 2011-04-08  Daniel Cheng  <dcheng@chromium.org>
40190
40191         Reviewed by Dmitry Titov.
40192
40193         [chromium] Implement image/png support in DataTransferItems
40194         https://bugs.webkit.org/show_bug.cgi?id=58106
40195
40196         Add glue for reading image data from clipboard.
40197
40198         * DEPS:
40199         * src/PlatformBridge.cpp:
40200         (WebCore::PlatformBridge::clipboardReadImage):
40201
40202 2011-04-08  Alpha Lam  <hclam@chromium.org>
40203
40204         Unreviewed, rolling out r83335.
40205         http://trac.webkit.org/changeset/83335
40206         https://bugs.webkit.org/show_bug.cgi?id=53556
40207
40208         GTK and QT bots are broken
40209
40210         * features.gypi:
40211
40212 2011-04-07  Anna Cavender  <annacc@chromium.org>
40213
40214         Reviewed by Eric Carlson.
40215
40216         Setup ENABLE(TRACK) feature define
40217         https://bugs.webkit.org/show_bug.cgi?id=53556
40218
40219         * features.gypi:
40220
40221 2011-04-08  Dmitry Titov  <dimich@chromium.org>
40222
40223         Reviewed by Adam Barth.
40224
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.
40230
40231         * tests/IDBBindingUtilitiesTest.cpp:
40232
40233 2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
40234
40235         Reviewed by Pavel Feldman.
40236
40237         Web Inspector: add test for script formatter worker.
40238         https://bugs.webkit.org/show_bug.cgi?id=57447
40239
40240         * WebKit.gyp:
40241
40242 2011-04-08  Kent Tamura  <tkent@chromium.org>
40243
40244         [Chromium] The second attempt of fixing for Windows (dbg)(shared) build.
40245
40246         * WebKit.gyp: webkit should not depend on webkit_support.
40247
40248 2011-04-08  Kent Tamura  <tkent@chromium.org>
40249
40250         [Chromium] Build fix for Windows (dbg)(shared).
40251
40252         * WebKit.gyp: Add webkit_support dependency, which is required for webkit_unittest_files.
40253
40254 2011-04-07  Kinuko Yasuda  <kinuko@chromium.org>
40255
40256         Reviewed by Darin Fisher.
40257
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.
40261
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.)
40265
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.
40272
40273 2011-04-07  Dominic Cooney  <dominicc@google.com>
40274
40275         Reviewed by Dimitri Glazkov.
40276
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
40279
40280         * src/WebElement.cpp:
40281         (WebKit::WebElement::shadowRoot): shadow roots are ContainerNodes now
40282
40283 2011-04-07  Magnus Danielsson  <public@fuzzac.com>
40284
40285         Reviewed by Darin Fisher.
40286
40287         [chromium] WebPageSerializerImpl doesn't serialize sub-frames correctly
40288         https://bugs.webkit.org/show_bug.cgi?id=53897
40289
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 
40294         what was saved.
40295
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.
40298
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:
40305
40306 2011-04-07  Nat Duca  <nduca@chromium.org>
40307
40308         Reviewed by David Levin.
40309
40310         [chromium] Compositor thread infrastructure
40311         https://bugs.webkit.org/show_bug.cgi?id=56131
40312
40313         Tests for chrome compositor thread and related infrastructure.
40314
40315         * WebKit.gyp:
40316         * WebKit.gypi:
40317         * tests/CCThreadTaskTest.cpp: Added.
40318         (WebCore::TEST):
40319         * tests/CCThreadTest.cpp: Added.
40320         (WebCore::TEST):
40321         (WebCore::PingPongUsingCondition::ping):
40322         (WebCore::PingPongTestUsingTasks::ping):
40323         (WebCore::PingPongTestUsingTasks::pong):
40324         * tests/RunAllTests.cpp:
40325         (main):
40326
40327 2011-04-07  Andrew Scherkus  <scherkus@chromium.org>
40328
40329         Revert ENABLE_TRACK patch due to compile failures.
40330
40331         * features.gypi:
40332
40333 2011-04-07  Pavel Feldman  <pfeldman@google.com>
40334
40335         Not reviewed: rolling chromium DEPS 80421:80767.
40336
40337         * DEPS:
40338
40339 2011-04-07  Vsevolod Vlasov  <vsevik@chromium.org>
40340
40341         Reviewed by Pavel Feldman.
40342
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
40345
40346         Renamed didReceiveData2 to didReceiveData.
40347
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):
40354
40355 2011-04-07  Vsevolod Vlasov  <vsevik@chromium.org>
40356
40357         Reviewed by Pavel Feldman.
40358
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
40361
40362         Migrated didReceiveData to support new lengthReceived parameter.
40363
40364         * src/AssociatedURLLoader.cpp:
40365         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
40366
40367 2011-04-06  Asanka Herath  <asanka@chromium.org>
40368
40369         Reviewed by Darin Fisher.
40370
40371         Add new TargetType: TargetIsFavicon
40372
40373         https://bugs.webkit.org/show_bug.cgi?id=57659
40374
40375         * public/WebURLRequest.h:
40376
40377 2011-04-06  Alok Priyadarshi  <alokp@chromium.org>
40378
40379         Reviewed by Eric Seidel.
40380
40381         [chromium] Add settings API to enable accelerated drawing
40382         https://bugs.webkit.org/show_bug.cgi?id=57863
40383         
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.
40387
40388         * public/WebSettings.h:
40389         * src/WebSettingsImpl.cpp:
40390         (WebKit::WebSettingsImpl::setAcceleratedDrawingEnabled):
40391         * src/WebSettingsImpl.h:
40392
40393 2011-04-05  Zelidrag Hornung  <zelidrag@chromium.org>
40394
40395         Reviewed by David Levin.
40396
40397         Added MediaTypeFile enum value to WebContextMenuData::MediaType.
40398         https://bugs.webkit.org/show_bug.cgi?id=57566
40399
40400         * public/WebContextMenuData.h:
40401
40402 2011-04-05  Sheriff Bot  <webkit.review.bot@gmail.com>
40403
40404         Unreviewed, rolling out r83007.
40405         http://trac.webkit.org/changeset/83007
40406         https://bugs.webkit.org/show_bug.cgi?id=57920
40407
40408         Broke WebFrameTest.FrameForEnteredContext on Chromium-win and
40409         Chromium-mac (Requested by tkent on #webkit).
40410
40411         * WebKit.gyp:
40412         * WebKit.gypi:
40413         * public/WebFrame.h:
40414         * src/WebFrameImpl.cpp:
40415         * tests/WebFrameTest.cpp:
40416         (WebKit::WebFrameTest::WebFrameTest):
40417         (WebKit::WebFrameTest::registerMockedURLLoad):
40418         (WebKit::WebFrameTest::serveRequests):
40419         (WebKit::TEST_F):
40420
40421 2011-04-05  James Kozianski  <koz@chromium.org>
40422
40423         Unreviewed, rolling out r82976.
40424         http://trac.webkit.org/changeset/82976
40425         https://bugs.webkit.org/show_bug.cgi?id=57566
40426
40427         Breaks chromium canary build
40428
40429         * public/WebContextMenuData.h:
40430
40431 2011-04-05  Aaron Boodman  <aa@chromium.org>
40432
40433         Reviewed by Adam Barth.
40434
40435         Add ability to get frame from v8 context to chromium WebKit API
40436         https://bugs.webkit.org/show_bug.cgi?id=57516
40437
40438         * public/WebFrame.h:
40439         * src/WebFrameImpl.cpp:
40440         (WebKit::WebFrame::frameForV8Context):
40441
40442 2011-04-05  Nico Weber  <thakis@chromium.org>
40443
40444         Reviewed by Dimitri Glazkov.
40445
40446         [chromium] Don't have 'using namespace' declarations in header files
40447         https://bugs.webkit.org/show_bug.cgi?id=57882
40448
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):
40456
40457 2011-04-05  Zelidrag Hornung  <zelidrag@chromium.org>
40458
40459         Reviewed by David Levin.
40460
40461         Added MediaTypeFile enum value to WebContextMenuData::MediaType.
40462         https://bugs.webkit.org/show_bug.cgi?id=57566
40463
40464         * public/WebContextMenuData.h:
40465
40466 2011-04-04  MORITA Hajime  <morrita@google.com>
40467
40468         Reviewed by Ryosuke Niwa.
40469
40470         [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
40471         https://bugs.webkit.org/show_bug.cgi?id=56085
40472
40473         Followed the signature change.
40474         
40475         * src/EditorClientImpl.h:
40476         * src/EditorClientImpl.cpp:
40477         * src/WebTextCheckingCompletionImpl.cpp
40478
40479 2011-04-05  Hans Wennborg  <hans@chromium.org>
40480
40481         Reviewed by Adam Barth
40482
40483         Clean up IndexedDB WebKit API
40484         https://bugs.webkit.org/show_bug.cgi?id=57507
40485
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.
40490
40491         * WebKit.gyp:
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:
40583
40584 2011-04-05  Sailesh Agrawal  <sail@chromium.org>
40585
40586         Reviewed by Darin Fisher.
40587
40588         Don't clear existing files if the user cancels the file chooser dialog.
40589         https://bugs.webkit.org/show_bug.cgi?id=55200
40590
40591         * src/WebFileChooserCompletionImpl.cpp:
40592         (WebKit::WebFileChooserCompletionImpl::didChooseFile):
40593
40594 2011-04-05  John Mellor  <johnme@chromium.org>
40595
40596         Reviewed by Darin Fisher.
40597
40598         [chromium] Minor cleanup: simplify WebFrameImpl by using contentsToWindow instead of convertToContainingWindow.
40599         https://bugs.webkit.org/show_bug.cgi?id=55681
40600
40601         * src/WebFrameImpl.cpp:
40602         (WebKit::WebFrameImpl::find):
40603         (WebKit::WebFrameImpl::scopeStringMatches):
40604
40605 2011-04-05  Adam Barth  <abarth@webkit.org>
40606
40607         Roll Chromium DEPS.
40608
40609         * DEPS: Rolled!
40610
40611 2011-04-04  Chang Shu  <cshu@webkit.org>
40612
40613         Reviewed by Ryosuke Niwa.
40614
40615         setContentEditable with true/false/inherit string is not working properly
40616         https://bugs.webkit.org/show_bug.cgi?id=52058
40617
40618         Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
40619         as rendererIsEditable is for WebCore internal use.
40620
40621         * src/WebNode.cpp:
40622         (WebKit::WebNode::isContentEditable):
40623         * src/WebViewImpl.cpp:
40624         (WebKit::WebViewImpl::setFocus):
40625         (WebKit::WebViewImpl::setComposition):
40626         (WebKit::WebViewImpl::confirmComposition):
40627
40628 2011-04-04  Alexey Proskuryakov  <ap@apple.com>
40629
40630         Reviewed by Dan Bernstein.
40631
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>
40635
40636         * src/WebViewImpl.cpp: (WebKit::WebViewImpl::keyEvent): Moved Caps Lock handling from
40637         WebKits to WebCore, because WebKit shouldn't be smart.
40638
40639 2011-04-01  Adam Barth  <abarth@webkit.org>
40640
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
40643         refactoring.
40644
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):
40674
40675 2011-04-01  Adam Barth  <abarth@webkit.org>
40676
40677         Move these files back to their old locations.  I'm not sure why the
40678         rollout didn't move them properly.
40679
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.
40686
40687 2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>
40688
40689         Unreviewed, rolling out r82738.
40690         http://trac.webkit.org/changeset/82738
40691         https://bugs.webkit.org/show_bug.cgi?id=57684
40692
40693         Broke storage/indexeddb/objectstore-autoincrement.html and
40694         InjectIDBKey (Requested by abarth|gardening on #webkit).
40695
40696         * WebKit.gyp:
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:
40789
40790 2011-03-30  Jeremy Orlow  <jorlow@chromium.org>
40791
40792         Reviewed by Nate Chapin.
40793
40794         Clean up IndexedDB WebKit API
40795         https://bugs.webkit.org/show_bug.cgi?id=57507
40796
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.
40801
40802         * WebKit.gyp:
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:
40894
40895 2011-03-30  Pavel Podivilov  <podivilov@chromium.org>
40896
40897         Reviewed by Pavel Feldman.
40898
40899         Web Inspector: [chromium] script formatting doesn't work when all scripts are concatenated.
40900         https://bugs.webkit.org/show_bug.cgi?id=57446
40901
40902         * WebKit.gyp:
40903         * scripts/inline_js_imports.py: Added.
40904
40905 2011-03-31  Victoria Kirst  <vrk@google.com>
40906
40907         Reviewed by Eric Carlson.
40908
40909         [chromium] Implement preload=none, setPreload hooks to media player
40910         https://bugs.webkit.org/show_bug.cgi?id=56983
40911
40912         This patch implements preload=none in Chromium. It also replaces
40913         the now-deprecated setAutobuffer method with setPreload.
40914
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:
40927
40928 2011-03-31  Evan Martin  <evan@chromium.org>
40929
40930         Reviewed by Eric Seidel.
40931
40932         <title> should support dir attribute
40933         https://bugs.webkit.org/show_bug.cgi?id=50961
40934
40935         Update to new FrameLoaderClient interface.
40936
40937         * src/FrameLoaderClientImpl.cpp:
40938         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
40939         (WebKit::FrameLoaderClientImpl::setTitle):
40940         * src/FrameLoaderClientImpl.h:
40941         * src/WebDataSourceImpl.cpp:
40942         (WebKit::WebDataSourceImpl::pageTitle):
40943
40944 2011-03-30  David Levin  <levin@chromium.org>
40945
40946         Reviewed by Dmitry Titov.
40947
40948         UnlockNonLocked condition reached in WorkerFileSystemsCallbackBridge::mayPostTaskToWorker
40949         https://bugs.webkit.org/show_bug.cgi?id=57382
40950
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.
40956
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.
40967
40968 2011-03-29  John Abd-El-Malek  <jam@chromium.org>
40969
40970         Reviewed by Tony Chang.
40971
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
40974
40975         * DEPS:
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:
40995         (WebKit::TEST_F):
40996         * tests/WebPageSerializerTest.cpp:
40997         (WebKit::WebPageSerializerTest::SetUp):
40998
40999 2011-03-30  MORITA Hajime  <morrita@google.com>
41000
41001         Reviewed by Dimitri Glazkov.
41002
41003         [Chromium] Expose the shadow DOM to DumpRenderTree JS tests.
41004         https://bugs.webkit.org/show_bug.cgi?id=56573
41005
41006         Added:
41007         - WebBindins::makeNode() to convert WebNode to a JS object, and
41008         - WebElement::shadowRoot().
41009
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):
41017
41018 2011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
41019
41020         Reviewed by Chris Fleizach.
41021
41022         AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
41023         https://bugs.webkit.org/show_bug.cgi?id=47636
41024
41025         Duplicate new internal WebCore roles in the Chromium port.
41026
41027         * public/WebAccessibilityRole.h: Update enumeration
41028         WebAccessibilityRole to reflect newly added roles in WebCore.
41029         * src/AssertMatchingEnums.cpp: Added new assertions.
41030
41031 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
41032
41033         Reviewed by Pavel Feldman.
41034
41035         Web Inspector: split debugger agent into Page and Worker-specific ones
41036         https://bugs.webkit.org/show_bug.cgi?id=57345
41037
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.
41041
41042         * src/DebuggerAgentManager.cpp:
41043         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
41044         * src/WebDevToolsAgentImpl.cpp:
41045         (WebKit::WebDevToolsAgent::interruptAndDispatch):
41046         (WebKit::WebDevToolsAgent::processPendingMessages):
41047
41048 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
41049
41050         Unreviewed. Rollout r82438 and r82436.
41051
41052         * src/DebuggerAgentManager.cpp:
41053         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
41054         * src/WebDevToolsAgentImpl.cpp:
41055         (WebKit::WebDevToolsAgent::interruptAndDispatch):
41056         (WebKit::WebDevToolsAgent::processPendingMessages):
41057
41058 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
41059
41060         Reviewed by Pavel Feldman.
41061
41062         Web Inspector: split debugger agent into Page and Worker-specific ones
41063         https://bugs.webkit.org/show_bug.cgi?id=57345
41064
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.
41068
41069         * src/DebuggerAgentManager.cpp:
41070         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
41071         * src/WebDevToolsAgentImpl.cpp:
41072         (WebKit::WebDevToolsAgent::interruptAndDispatch):
41073         (WebKit::WebDevToolsAgent::processPendingMessages):
41074
41075 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
41076
41077         Unreviewed, rolling out r82293.
41078         http://trac.webkit.org/changeset/82293
41079         https://bugs.webkit.org/show_bug.cgi?id=57390
41080
41081         Breaks RetrieveCSSResources (Requested by abarth|gardener on
41082         #webkit).
41083
41084         * WebKit.gyp:
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.
41095
41096 2011-03-29  Tony Chang  <tony@chromium.org>
41097
41098         Roll chromium version to r79710 to pick up libpng changes.
41099
41100         * DEPS:
41101
41102 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
41103
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
41108
41109         This patch breaks compile on Chromium (Requested by
41110         abarth|gardener on #webkit).
41111
41112         * public/WebAccessibilityRole.h:
41113         * src/AssertMatchingEnums.cpp:
41114
41115 2011-03-29  Mario Sanchez Prada  <msanchez@igalia.com>
41116
41117         Reviewed by Adam Barth.
41118
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
41121
41122         Fix build errors on Chromium bots.
41123
41124         * public/WebAccessibilityRole.h: Update to reflect newly added roles in WebCore.
41125         * src/AssertMatchingEnums.cpp: Ditto.
41126
41127 2011-03-29  Adam Barth  <abarth@webkit.org>
41128
41129         Roll Chromium DEPS
41130         https://bugs.webkit.org/show_bug.cgi?id=57361
41131
41132         * DEPS:
41133
41134 2011-03-29  Jay Civelli  <jcivelli@chromium.org>
41135
41136         Reviewed by David Levin.
41137
41138         Adding retrieval off CSS resources to WebPageSerializer::retrieveAllResources.
41139         https://bugs.webkit.org/show_bug.cgi?id=56650
41140
41141         * WebKit.gyp:
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):
41156         (WebKit::TEST_F):
41157         * tests/data/pageserialization/css_test_page.html: Added.
41158         * tests/data/pageserialization/import_style_from_link.css: Added.
41159         (#divOrange):
41160         * tests/data/pageserialization/import_styles.css: Added.
41161         (#divYellow):
41162         * tests/data/pageserialization/link_styles.css: Added.
41163         (#divRed):
41164
41165 2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>
41166
41167         Reviewed by Pavel Feldman.
41168
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
41171
41172         Added new methods to interface while keeping the old ones to keep
41173         chromium working until it is also patched.
41174
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):
41182
41183 2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>
41184
41185         Reviewed by Pavel Feldman.
41186
41187         Web Inspector: [Chromium] DevTools shows two resources for each plugin resource loaded
41188         https://bugs.webkit.org/show_bug.cgi?id=57101
41189
41190         Remove DevToolsAgent network callbacks as this information is now available through ResourceLoader
41191
41192         * public/WebDevToolsAgent.h:
41193         * src/WebDevToolsAgentImpl.cpp:
41194         * src/WebDevToolsAgentImpl.h:
41195
41196 2011-03-29  Emil A Eklund  <eae@chromium.org>
41197
41198         Reviewed by Dimitri Glazkov.
41199
41200         Relative mouse coordinates recalculated for each target
41201         https://bugs.webkit.org/show_bug.cgi?id=57130
41202
41203         * public/WebDOMMouseEvent.h:
41204         * src/WebDOMMouseEvent.cpp:
41205         (WebKit::WebDOMMouseEvent::layerX):
41206         (WebKit::WebDOMMouseEvent::layerY):
41207         (WebKit::WebDOMMouseEvent::offsetX):
41208         (WebKit::WebDOMMouseEvent::offsetY):
41209
41210 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
41211
41212         Unreviewed, rolling out r82195.
41213         http://trac.webkit.org/changeset/82195
41214         https://bugs.webkit.org/show_bug.cgi?id=56602
41215
41216         Broke Chromium Clang builds.
41217
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:
41227
41228 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
41229
41230         Unreviewed. Another build fix. The last fix was incorrect.
41231
41232         * src/ChromeClientImpl.cpp:
41233         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
41234         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
41235         * src/ChromeClientImpl.h:
41236
41237 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
41238
41239         Unreviewed. Build fix for Chromium Clang bot.
41240
41241         * src/ChromeClientImpl.cpp:
41242         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
41243         * src/ChromeClientImpl.h:
41244
41245 2011-03-28  Vsevolod Vlasov  <vsevik@chromium.org>
41246
41247         Reviewed by Pavel Feldman.
41248
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
41251
41252         Added new methods to interface while keeping the old ones to keep
41253         chromium working until it is also patched.
41254
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:
41265
41266 2011-03-28  Tony Chang  <tony@chromium.org>
41267
41268         Reviewed by Adam Barth.
41269
41270         [chromium] have DRT write the png checksum into a png comment
41271         https://bugs.webkit.org/show_bug.cgi?id=57255
41272
41273         * DEPS: Pull in version of chromium with comment writing
41274
41275 2011-03-28  Adele Peterson  <adele@apple.com>
41276
41277         Build fix.
41278
41279         * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor):
41280         Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
41281
41282 2011-03-28  Pavel Feldman  <pfeldman@chromium.org>
41283
41284         Not reviewed: fixed chromium build.
41285
41286         * src/WebDevToolsAgentImpl.cpp:
41287         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
41288
41289 2011-03-25  Andy Estes  <aestes@apple.com>
41290
41291         Reviewed by Adele Peterson.
41292
41293         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
41294         https://bugs.webkit.org/show_bug.cgi?id=49016
41295
41296         Update objectContentType() implementation to handle the
41297         shouldPreferPlugInsForImages flag.
41298
41299         * src/FrameLoaderClientImpl.cpp:
41300         (WebKit::FrameLoaderClientImpl::objectContentType):
41301         * src/FrameLoaderClientImpl.h:
41302
41303 2011-03-25  Kinuko Yasuda  <kinuko@chromium.org>
41304
41305         Reviewed by David Levin.
41306
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.
41312
41313         * src/WorkerFileSystemCallbacksBridge.cpp:
41314         (WebKit::MainThreadFileSystemCallbacks::createLeakedPtr):
41315         (WebKit::MainThreadFileSystemCallbacks::MainThreadFileSystemCallbacks):
41316         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
41317         * src/WorkerFileSystemCallbacksBridge.h:
41318
41319 2011-03-24  John Abd-El-Malek  <jam@chromium.org>
41320
41321         Reviewed by Dimitri Glazkov.
41322
41323         [chromium] Add setters for various client interfaces, and add WebSpellCheckClient
41324         https://bugs.webkit.org/show_bug.cgi?id=57070
41325
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):
41350
41351 2011-03-25  Cary Clark  <caryclark@google.com>
41352
41353         Reviewed by Dimitri Glazkov.
41354
41355         Add CGBitmapContext.h include to WebViewImpl.cpp
41356         https://bugs.webkit.org/show_bug.cgi?id=57097
41357         
41358         No tests. Exposes no new functionality.
41359
41360         * src/WebViewImpl.cpp:
41361
41362 2011-03-25  Adam Klein  <adamk@chromium.org>
41363
41364         Reviewed by David Levin.
41365
41366         [chromium] Remove deprecated overload of openFileSystem for workers
41367         https://bugs.webkit.org/show_bug.cgi?id=57062
41368
41369         * public/WebCommonWorkerClient.h:
41370
41371 2011-03-25  Chang Shu  <cshu@webkit.org>
41372
41373         Reviewed by Ryosuke Niwa.
41374
41375         rename Node::isContentEditable and all call sites to rendererIsEditable
41376         https://bugs.webkit.org/show_bug.cgi?id=54290
41377
41378         This is part of the effort to separate JS API HTMLElement isContentEditable from
41379         internal Node::rendererIsEditable.
41380
41381         * src/WebNode.cpp:
41382         (WebKit::WebNode::isContentEditable):
41383         * src/WebViewImpl.cpp:
41384         (WebKit::WebViewImpl::setFocus):
41385         (WebKit::WebViewImpl::setComposition):
41386         (WebKit::WebViewImpl::confirmComposition):
41387
41388 2011-03-25  Mikhail Naganov  <mnaganov@chromium.org>
41389
41390         Roll forward Chromium deps to r79379 to pick up V8 3.2.4.2.
41391
41392         * DEPS:
41393
41394 2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
41395
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
41400
41401         broke a test on platforms that do not have QuickTime installed
41402         (Requested by estes on #webkit).
41403
41404         * src/FrameLoaderClientImpl.cpp:
41405         (WebKit::FrameLoaderClientImpl::objectContentType):
41406         * src/FrameLoaderClientImpl.h:
41407
41408 2011-03-24  Min Qin  <qinmin@google.com>
41409
41410         Reviewed by James Robinson.
41411
41412         Allow WebMediaPlayerClient to notify MediaPlayer that the playback state has changed
41413
41414         https://bugs.webkit.org/show_bug.cgi?id=56837
41415
41416         * public/WebMediaPlayerClient.h:
41417         * src/WebMediaPlayerClientImpl.cpp:
41418         (WebKit::WebMediaPlayerClientImpl::playbackStateChanged):
41419         * src/WebMediaPlayerClientImpl.h:
41420
41421 2011-03-23  John Abd-El-Malek  <jam@chromium.org>
41422
41423         Reviewed by Tony Chang.
41424
41425         [chromium] Get rid of WEB_TEXT_CHECKING_RESULT_IS_A_STRUCT since it&apos;s not needed anymore
41426         https://bugs.webkit.org/show_bug.cgi?id=56955
41427
41428         * DEPS:
41429         * public/WebTextCheckingResult.h:
41430
41431 2011-03-24  Bill Budge  <bbudge@chromium.org>
41432
41433         Reviewed by Eric Seidel.
41434
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
41437
41438         No tests. Exposes no new functionality.
41439
41440         * public/WebFrame.h:
41441
41442 2011-03-24  Andy Estes  <aestes@apple.com>
41443
41444         Fix the chromium build.
41445
41446         * src/FrameLoaderClientImpl.cpp:
41447         (WebKit::FrameLoaderClientImpl::objectContentType):
41448
41449 2011-03-24  Andy Estes  <aestes@apple.com>
41450
41451         Reviewed by Darin Adler.
41452
41453         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
41454         https://bugs.webkit.org/show_bug.cgi?id=49016
41455
41456         Update objectContentType() implementation to handle the
41457         shouldPreferPlugInsForImages flag.
41458
41459         * src/FrameLoaderClientImpl.cpp:
41460         (WebKit::FrameLoaderClientImpl::objectContentType):
41461         * src/FrameLoaderClientImpl.h:
41462
41463 2011-03-24  Bill Budge  <bbudge@chromium.org>
41464
41465         Reviewed by Dmitry Titov.
41466
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
41469
41470         No new tests. Exposes no new functionality.
41471
41472         * public/WebFrame.h:
41473         * src/WebFrameImpl.cpp:
41474         (WebKit::WebFrameImpl::createAssociatedURLLoader):
41475         * src/WebFrameImpl.h:
41476
41477 2011-03-24  Sam Weinig  <sam@webkit.org>
41478
41479         Reviewed by Anders Carlsson.
41480
41481         Remove legacy version of findPlainText.
41482         https://bugs.webkit.org/show_bug.cgi?id=57056
41483
41484         * src/WebFrameImpl.cpp:
41485         (WebKit::WebFrameImpl::scopeStringMatches):
41486         Replace use of legacy findPlainText with a version that
41487         takes an options parameter.
41488
41489 2011-03-24  Nat Duca  <nduca@chromium.org>
41490
41491         Reviewed by Kenneth Russell.
41492
41493         [chromium] Add traceEvents to compositor
41494         https://bugs.webkit.org/show_bug.cgi?id=56965
41495
41496         * src/WebViewImpl.cpp:
41497         (WebKit::WebViewImpl::composite):
41498
41499 2011-03-24  Dominic Mazzoni  <dmazzoni@google.com>
41500
41501         Reviewed by Dimitri Glazkov.
41502
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
41506
41507         * public/WebDocument.h:
41508         * src/WebDocument.cpp:
41509         (WebKit::WebDocument::accessibilityObject):
41510
41511 2011-03-24  Ilya Sherman  <isherman@chromium.org>
41512
41513         Reviewed by Dimitri Glazkov.
41514
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
41518
41519         * public/WebNode.h:
41520         * src/WebNode.cpp:
41521         (WebKit::WebNode::isFocusable):
41522
41523 2011-03-24  Pavel Feldman  <pfeldman@chromium.org>
41524
41525         Not reviewed: fix chromium compilation.
41526
41527         * public/WebDevToolsAgent.h:
41528
41529 2011-03-24  Pavel Feldman  <pfeldman@chromium.org>
41530
41531         Reviewed by Yury Semikhatsky.
41532
41533         Web Inspector: brush up Network agent API.
41534         https://bugs.webkit.org/show_bug.cgi?id=57001
41535
41536         * public/WebDevToolsAgent.h:
41537         * src/WebDevToolsAgentImpl.cpp:
41538         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
41539         (WebKit::WebDevToolsAgentImpl::willSendRequest):
41540         * src/WebDevToolsAgentImpl.h:
41541
41542 2011-03-24  Noel Gordon  <noel.gordon@gmail.com>
41543
41544         Reviewed by Ojan Vafai.
41545
41546         [chromium] WebBindings::getRangeImpl() should NULL check its NPObject argument
41547         https://bugs.webkit.org/show_bug.cgi?id=56996
41548
41549         * src/WebBindings.cpp:
41550         (WebKit::getRangeImpl):
41551
41552 2011-03-23  Noel Gordon  <noel.gordon@gmail.com>
41553
41554         Reviewed by Ojan Vafai.
41555
41556         [chromium] WebBindings{.h,.cpp}: should use consistent argument naming
41557         https://bugs.webkit.org/show_bug.cgi?id=56898
41558
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.
41562
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):
41586
41587 2011-03-23  Jay Civelli  <jcivelli@chromium.org>
41588
41589         Reviewed by David Levin.
41590
41591         Relanding:
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
41595
41596         * WebKit.gyp:
41597         * public/WebPageSerializer.h:
41598         * public/WebURL.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.
41618
41619 2011-03-23  Kenneth Russell  <kbr@google.com>
41620
41621         Rolled forward Chromium DEPS again to fix DumpRenderTree build
41622         failure caused by r81821.
41623
41624         * DEPS:
41625
41626 2011-03-23  Kenneth Russell  <kbr@google.com>
41627
41628         Rolled forward Chromium DEPS to fix build breakage after r81821.
41629
41630         * DEPS:
41631
41632 2011-03-23  Kenneth Russell  <kbr@google.com>
41633
41634         Reviewed by James Robinson.
41635
41636         [chromium] WebGLRenderingContext and other DOMWindow properties should remain if WebGL is disabled
41637         https://bugs.webkit.org/show_bug.cgi?id=56947
41638
41639         Removed the WebRuntimeFeatures setting for WebGL. WebGL support is
41640         now controlled exclusively through the page's Settings.
41641
41642         * public/WebRuntimeFeatures.h:
41643         * src/WebRuntimeFeatures.cpp:
41644
41645 2011-03-23  Chris Rogers  <crogers@google.com>
41646
41647         Reviewed by Kenneth Russell.
41648
41649         Add API to retrieve the audio hardware sample-rate
41650         https://bugs.webkit.org/show_bug.cgi?id=56882
41651
41652         * public/WebAudioDevice.h:
41653         * public/WebKitClient.h:
41654         (WebKit::WebKitClient::audioHardwareSampleRate):
41655         * src/AudioDestinationChromium.cpp:
41656         (WebCore::AudioDestination::hardwareSampleRate):
41657
41658 2011-03-23  Cris Neckar  <cdn@chromium.org>
41659
41660         Reviewed by Eric Seidel.
41661
41662         Add refptr for widget. Mutations can happen within the event handler.
41663         https://bugs.webkit.org/show_bug.cgi?id=56774
41664
41665         * src/WebPluginContainerImpl.cpp:
41666         (WebKit::WebPluginContainerImpl::handleEvent):
41667
41668 2011-03-23  Viet-Trung Luu  <viettrungluu@chromium.org>
41669
41670         Reviewed by Tony Chang.
41671
41672         [chromium] Add FormatPlainText to WebClipboard::Format enumeration.
41673         https://bugs.webkit.org/show_bug.cgi?id=56868
41674
41675         Chromium's WebClipboard::isFormatAvailable() will be correspondingly
41676         extended.
41677
41678         * public/WebClipboard.h:
41679         * src/AssertMatchingEnums.cpp:
41680
41681 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
41682
41683         Reviewed by Pavel Feldman.
41684
41685         [Chromium] Web Inspector: Remove DebuggerScript.js from Chromium resource bundle.
41686         https://bugs.webkit.org/show_bug.cgi?id=56916
41687
41688         * DEPS: bump up Chromium dependency to the revision where no references to the DebuggerScript.js resource are left.
41689         * WebKit.grd:
41690
41691 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
41692
41693         Reviewed by Pavel Feldman.
41694
41695         [Chromium] Web Inspector: remove inspectNode method from WebDevToolsAgent
41696         https://bugs.webkit.org/show_bug.cgi?id=56926
41697
41698         * public/WebDevToolsAgent.h:
41699         * src/WebDevToolsAgentImpl.cpp:
41700         * src/WebDevToolsAgentImpl.h:
41701
41702 2011-03-23  Sheriff Bot  <webkit.review.bot@gmail.com>
41703
41704         Unreviewed, rolling out r81686.
41705         http://trac.webkit.org/changeset/81686
41706         https://bugs.webkit.org/show_bug.cgi?id=56914
41707
41708         Breaks webkit_tests in Chromium again. (Requested by pfeldman
41709         on #webkit).
41710
41711         * WebKit.gyp:
41712         * public/WebPageSerializer.h:
41713         * public/WebURL.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.
41727
41728 2011-03-22  Yury Semikhatsky  <yurys@chromium.org>
41729
41730         Reviewed by Pavel Feldman.
41731
41732         [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
41733         https://bugs.webkit.org/show_bug.cgi?id=56843
41734
41735         * public/WebDevToolsAgentClient.h: the script source is now compiled along with the inspector code.
41736         * src/WebDevToolsAgentImpl.cpp:
41737         (WebKit::WebDevToolsAgentImpl::attach):
41738
41739 2011-03-22  Yury Semikhatsky  <yurys@chromium.org>
41740
41741         Reviewed by Pavel Feldman.
41742
41743         [Chromium] Web Inspector: remove obsolete methods from WebDevToolsAgentClient.h
41744         https://bugs.webkit.org/show_bug.cgi?id=56897
41745
41746         * public/WebDevToolsAgentClient.h:
41747
41748 2011-03-22  Noel Gordon  <noel.gordon@gmail.com>
41749
41750         Reviewed by Tony Chang.
41751
41752         [chromium] Remove identity from dragTargetDragEnter() function signature
41753         https://bugs.webkit.org/show_bug.cgi?id=56875
41754
41755         First part of 3-sided patch.  Add new function signature sans identity.
41756
41757         * public/WebView.h:
41758         * src/WebViewImpl.cpp:
41759         (WebKit::WebViewImpl::dragTargetDragEnter):
41760         * src/WebViewImpl.h:
41761
41762 2011-03-22  John Bauman  <jbauman@chromium.org>
41763
41764         Reviewed by Kenneth Russell.
41765
41766         Add support for preserveDrawingBuffer context creation attribute
41767         https://bugs.webkit.org/show_bug.cgi?id=56431
41768
41769         * src/GraphicsContext3DChromium.cpp:
41770         (WebCore::GraphicsContext3DInternal::markContextChanged):
41771         (WebCore::GraphicsContext3DInternal::markLayerComposited):
41772         (WebCore::GraphicsContext3DInternal::layerComposited):
41773         (WebCore::GraphicsContext3D::layerComposited):
41774         * src/GraphicsContext3DInternal.h:
41775
41776 2011-03-22  John Abd-El-Malek  <jam@chromium.org>
41777
41778         Reviewed by Tony Chang.
41779
41780         [chromium] Make WebTextCheckingResult&apos;s members be public in preparation for converting it to a struct
41781         https://bugs.webkit.org/show_bug.cgi?id=56857
41782
41783         * DEPS:
41784         * public/WebTextCheckingResult.h:
41785
41786 2011-03-22  Jay Civelli  <jcivelli@chromium.org>
41787
41788         Reviewed by David Levin.
41789
41790         Relanding:
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
41794
41795
41796         * WebKit.gyp:
41797         * public/WebPageSerializer.h:
41798         * public/WebURL.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.
41818
41819 2011-03-22  Noel Gordon  <noel.gordon@gmail.com>
41820
41821         Reviewed by Tony Chang.
41822
41823         [chromium] Remove Gears from Chromium WebKit
41824         https://bugs.webkit.org/show_bug.cgi?id=56808
41825
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.
41829
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:
41841
41842 2011-03-21  Adam Klein  <adamk@chromium.org>
41843
41844         Reviewed by David Levin.
41845
41846         [fileapi] Add URI resolution support to WorkerContext
41847         https://bugs.webkit.org/show_bug.cgi?id=55644
41848
41849         Pass "create" bool through to allow opening
41850         a filesystem without allowing creation.
41851
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:
41862
41863 2011-03-21  Ilya Sherman  <isherman@chromium.org>
41864
41865         Reviewed by James Robinson.
41866
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
41870
41871         * public/WebInputElement.h: Removed isEnabledFormControl().
41872         * src/WebInputElement.cpp: Removed isEnabledFormControl().
41873
41874 2011-03-21  Robert Kroeger  <rjkroege@chromium.org>
41875
41876         Reviewed by Antonio Gomes.
41877
41878         Flag to enable a platform specific GestureReocognizer framework in Chromium.
41879
41880         https://bugs.webkit.org/show_bug.cgi?id=49345
41881
41882         * features.gypi:
41883
41884 2011-03-21  Tony Chang  <tony@chromium.org>
41885
41886         Reviewed by Pavel Feldman.
41887
41888         [chromium] remove devtools_html's dependency on WebKit.gypi
41889         https://bugs.webkit.org/show_bug.cgi?id=56661
41890
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.
41894
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.
41897
41898         * WebKit.gyp: cleanup dependencies
41899         * scripts/generate_devtools_html.py: remove unused param
41900
41901 2011-03-21  Sheriff Bot  <webkit.review.bot@gmail.com>
41902
41903         Unreviewed, rolling out r81377.
41904         http://trac.webkit.org/changeset/81377
41905         https://bugs.webkit.org/show_bug.cgi?id=56765
41906
41907         WebPageSerializerTest.MultipleFrames is broken (Requested by
41908         simonjam on #webkit).
41909
41910         * WebKit.gyp:
41911         * public/WebPageSerializer.h:
41912         * public/WebURL.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.
41926
41927 2011-03-21  Daniel Sievers  <sievers@google.com>
41928
41929         Reviewed by Simon Fraser.
41930
41931         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
41932         https://bugs.webkit.org/show_bug.cgi?id=56139
41933
41934         * public/WebFrame.h:
41935         * src/WebFrameImpl.cpp:
41936         (WebKit::WebFrameImpl::renderTreeAsText):
41937         (WebKit::WebFrameImpl::layerTreeAsText):
41938         * src/WebFrameImpl.h:
41939
41940 2011-03-21  Eric Uhrhane <ericu@chromium.org>
41941
41942         Reviewed by David Levin.
41943
41944         [fileapi/chromium] Fetch platform path using GetMetadata before creating File from FileEntry*
41945         https://bugs.webkit.org/show_bug.cgi?id=56704
41946
41947         * src/WebFileSystemCallbacksImpl.cpp:
41948         (WebFileSystemCallbacksImpl::didReadMetadata)
41949         Pass new platformPath member through.
41950
41951         * src/WorkerFileSystemCallbacksBridge.cpp:
41952         (CrossThreadCopierBase)
41953         Copy new platformPath member.
41954
41955         * public/WebFileInfo.h:
41956         (struct WebFileInfo)
41957         Add new platformPath member.
41958
41959 2011-03-21  Leandro Gracia Gil  <leandrogracia@chromium.org>
41960
41961         Reviewed by Steve Block.
41962
41963         Media Stream API patch 0: adding compilation guards.
41964         https://bugs.webkit.org/show_bug.cgi?id=56458
41965
41966         Enabling the feature by default for chromium builds.
41967
41968         * features.gypi:
41969
41970 2011-03-21  Vsevolod Vlasov  <vsevik@chromium.org>
41971
41972         Reviewed by Pavel Feldman.
41973
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
41976
41977         Added transfer size support in inspector for compressed data.
41978
41979         * src/ResourceHandle.cpp:
41980         (WebCore::ResourceHandleInternal::didReceiveData):
41981         * src/WebDevToolsAgentImpl.cpp:
41982         (WebKit::WebDevToolsAgentImpl::didReceiveData):
41983
41984 2011-03-20  Bill Budge  <bbudge@chromium.org>
41985
41986         Reviewed by Adam Barth.
41987
41988         Rename ThreadSafeShared to ThreadSafeRefCounted
41989         https://bugs.webkit.org/show_bug.cgi?id=56714
41990
41991         No new tests. Exposes no new functionality.
41992
41993         * src/PlatformMessagePortChannel.h:
41994         * src/WebWorkerBase.cpp:
41995         * src/WorkerFileSystemCallbacksBridge.h:
41996         * src/WorkerFileWriterCallbacksBridge.h:
41997
41998 2011-03-18  Tony Chang  <tony@chromium.org>
41999
42000         Reviewed by Eric Seidel.
42001
42002         [chromium] make devtool concatenation targets conditional based on debug_devtools
42003         https://bugs.webkit.org/show_bug.cgi?id=56667
42004
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
42009         debug_devtools=1.
42010
42011         I also removed the 'sources' lines since I don't think they do
42012         anything for actions.
42013
42014         * WebKit.gyp:
42015
42016 2011-03-17  Alexey Marinichev  <amarinichev@chromium.org>
42017
42018         Reviewed by Kenneth Russell.
42019
42020         chromium: uninitialized field in WebViewImpl
42021         https://bugs.webkit.org/show_bug.cgi?id=56620
42022
42023         * src/WebViewImpl.cpp:
42024         (WebKit::WebViewImpl::WebViewImpl):
42025
42026 2011-03-17  Adrienne Walker  <enne@google.com>
42027
42028         Reviewed by James Robinson.
42029
42030         [chromium] Turn off accelerated compositing for RTL style pages.
42031         https://bugs.webkit.org/show_bug.cgi?id=56585
42032
42033         * src/WebViewImpl.cpp:
42034         (WebKit::WebViewImpl::layout):
42035         (WebKit::WebViewImpl::pageHasRTLStyle):
42036         (WebKit::WebViewImpl::setRootGraphicsLayer):
42037         * src/WebViewImpl.h:
42038
42039 2011-03-17  Jay Civelli  <jcivelli@chromium.org>
42040
42041         Reviewed by David Levin.
42042
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
42046
42047         * WebKit.gyp:
42048         * public/WebPageSerializer.h:
42049         * public/WebURL.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.
42070
42071 2011-03-17  Tony Chang  <tony@chromium.org>
42072
42073         Reviewed by Pavel Feldman.
42074
42075         [chromium] don't concatenate devtools files when debug_devtools=1
42076         https://bugs.webkit.org/show_bug.cgi?id=56572
42077
42078         * WebKit.gyp:
42079
42080 2011-03-17  Tony Chang  <tony@chromium.org>
42081
42082         Reviewed by Eric Seidel.
42083
42084         [chromium] minor cleanup of devtools_files variable in WebKit.gyp
42085         https://bugs.webkit.org/show_bug.cgi?id=56503
42086
42087         * WebKit.gyp: Moving duplicate variables out of a condition.
42088
42089 2011-03-16  Adam Barth  <abarth@webkit.org>
42090
42091         Reviewed by James Robinson.
42092
42093         Remove USE(BUILTIN_UTF8_CODEC)
42094         https://bugs.webkit.org/show_bug.cgi?id=56508
42095
42096         * features.gypi:
42097
42098 2011-03-16  Tony Chang  <tony@chromium.org>
42099
42100         Reviewed by Adam Barth.
42101
42102         [chromium] include inspector gif files in the list of resources
42103         https://bugs.webkit.org/show_bug.cgi?id=56504
42104
42105         * scripts/generate_devtools_grd.py:
42106
42107 2011-03-16  Bill Budge  <bbudge@chromium.org>
42108
42109         Reviewed by David Levin.
42110
42111         AssociatedURLLoader does not support Cross Origin Requests
42112         https://bugs.webkit.org/show_bug.cgi?id=53925
42113
42114         No new tests. Exposes no new functionality.
42115
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:
42137
42138 2011-03-16  Adam Barth  <abarth@webkit.org>
42139
42140         Roll Chromium DEPS.
42141
42142         * DEPS:
42143
42144 2011-03-16  Daniel Sievers  <sievers@google.com>
42145
42146         Reviewed by James Robinson.
42147
42148         Add setting to always force compositing mode
42149         https://bugs.webkit.org/show_bug.cgi?id=56156
42150
42151         * public/WebSettings.h:
42152         * src/WebSettingsImpl.cpp:
42153         (WebKit::WebSettingsImpl::setForceCompositingMode):
42154         * src/WebSettingsImpl.h:
42155
42156 2011-03-16  Sreeram Ramachandran  <sreeram@google.com>
42157
42158         Reviewed by Dimitri Glazkov.
42159
42160         Revert of r80451. Decided to do this in WebCore instead.
42161         https://bugs.webkit.org/show_bug.cgi?id=55844
42162
42163         * public/WebFrame.h:
42164         * src/WebFrameImpl.cpp:
42165         * src/WebFrameImpl.h:
42166
42167 2011-03-15  Ilya Sherman  <isherman@chromium.org>
42168
42169         Reviewed by Darin Fisher.
42170
42171         Move isReadOnly() from WebInputElement to WebFormControlElement
42172         https://bugs.webkit.org/show_bug.cgi?id=55760
42173
42174         * public/WebFormControlElement.h:
42175         * public/WebInputElement.h:
42176         * src/WebFormControlElement.cpp:
42177         (WebKit::WebFormControlElement::isReadOnly):
42178         * src/WebInputElement.cpp:
42179
42180 2011-03-15  John Bauman  <jbauman@chromium.org>
42181
42182         Reviewed by Kenneth Russell.
42183
42184         Non-premultiplied-alpha canvas attribute is ignore for toDataURL, drawImage, texImage2D
42185         https://bugs.webkit.org/show_bug.cgi?id=56238
42186
42187         Add support for reading a webgl context into an ImageData.
42188
42189         * src/GraphicsContext3DChromium.cpp:
42190         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
42191         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToImageData):
42192         * src/GraphicsContext3DInternal.h:
42193
42194 2011-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
42195
42196         Unreviewed, rolling out r81144.
42197         http://trac.webkit.org/changeset/81144
42198         https://bugs.webkit.org/show_bug.cgi?id=56432
42199
42200         It broke the ui test
42201         NPAPITesterBase.GetURLRedirectNotification. (Requested by
42202         dave_levin on #webkit).
42203
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:
42222
42223 2011-03-15  Tony Chang  <tony@chromium.org>
42224
42225         Reviewed by Adam Barth.
42226
42227         pngcrush images used by inspector
42228         https://bugs.webkit.org/show_bug.cgi?id=56426
42229
42230         This saves 120k in WebCore and 8k in WebKit/chromium.  I ran
42231         pngcrush -brute, so none of the meta data (ancillary chunks)
42232         are modified.
42233
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:
42243
42244 2011-03-15  Michael Nordman  <michaeln@google.com>
42245
42246         Reviewed by Alexey Proskuryakov.
42247
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
42254
42255         Also fixup a stale comment in stopLoadingInFrame.
42256
42257         * public/WebApplicationCacheHost.h:
42258         (WebKit::WebApplicationCacheHost::willStartMainResourceRequest):
42259         * src/ApplicationCacheHost.cpp:
42260         (WebCore::ApplicationCacheHost::maybeLoadMainResource):
42261         (WebCore::ApplicationCacheHost::stopLoadingInFrame):
42262
42263 2011-03-15  Tony Chang  <tony@chromium.org>
42264
42265         Reviewed by Adam Barth.
42266
42267         [chromium] add a build target to create a grd file with devtool resources
42268         https://bugs.webkit.org/show_bug.cgi?id=56335
42269
42270         Reland with a fix to avoid really long command lines on Windows.
42271
42272         * WebKit.gyp:
42273         * scripts/generate_devtools_grd.py: Added.
42274
42275 2011-03-15  Alok priyadarshi  <alokp@chromium.org>
42276
42277         Reviewed by James Robinson.
42278
42279         Valgrind error due to uninitialized PluginLayerChromium::m_textureId
42280         https://bugs.webkit.org/show_bug.cgi?id=56390
42281
42282         * src/WebPluginContainerImpl.cpp:
42283         (WebKit::WebPluginContainerImpl::setBackingTextureId):
42284         (WebKit::WebPluginContainerImpl::platformLayer):
42285
42286 2011-03-15  Brett Wilson  <brettw@chromium.org>
42287
42288         Reviewed by Adam Barth.
42289
42290         Make WebConsoleMessage properly respect the log level.
42291         https://bugs.webkit.org/show_bug.cgi?id=56386
42292
42293         * public/WebConsoleMessage.h:
42294         (WebKit::WebConsoleMessage::WebConsoleMessage):
42295
42296 2011-03-15  Tony Chang  <tony@chromium.org>
42297
42298         Revert r81147 and r81149, broke the chromium win build.
42299
42300         * WebKit.gyp:
42301         * scripts/generate_devtools_grd.py: Removed.
42302
42303 2011-03-15  Tony Chang  <tony@chromium.org>
42304
42305         Fix chromium build using python 2.5 (with statement).
42306
42307         * scripts/generate_devtools_grd.py:
42308
42309 2011-03-15  Tony Chang  <tony@chromium.org>
42310
42311         Reviewed by Adam Barth.
42312
42313         [chromium] add a build target to create a grd file with devtool resources
42314         https://bugs.webkit.org/show_bug.cgi?id=56335
42315
42316         This is the webkit side of the fix for
42317         http://code.google.com/p/chromium/issues/detail?id=35793
42318
42319         * WebKit.gyp:
42320         * scripts/generate_devtools_grd.py: Added.
42321
42322 2011-03-15  Bill Budge  <bbudge@chromium.org>
42323
42324         Reviewed by David Levin.
42325
42326         AssociatedURLLoader does not support Cross Origin Requests
42327         https://bugs.webkit.org/show_bug.cgi?id=53925
42328
42329         No new tests. No new functionality exposed.
42330
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:
42351
42352 2011-03-15  Alok priyadarshi  <alokp@chromium.org>
42353
42354         Reviewed by James Robinson.
42355
42356         Remove unnecessary function WebPlugin::getBackingTextureId
42357         https://bugs.webkit.org/show_bug.cgi?id=56122
42358
42359         It will be tested by Pepper2D and Pepper3D layout/smoke tests
42360         on the Chromium side.
42361
42362         * public/WebPlugin.h:
42363         * src/WebPluginContainerImpl.cpp:
42364         (WebKit::WebPluginContainerImpl::platformLayer):
42365
42366 2011-03-15  Mikhail Naganov  <mnaganov@chromium.org>
42367
42368         Unreviewed. Update chromium deps to pick up the latest V8.
42369
42370         * DEPS:
42371
42372 2011-03-14  Alexey Marinichev  <amarinichev@chromium.org>
42373
42374         Reviewed by Kenneth Russell.
42375
42376         Graphics Context is not properly recovered if the GPU process dies.
42377         https://bugs.webkit.org/show_bug.cgi?id=56148
42378
42379         Split context recreation into two steps.
42380
42381         * src/WebViewImpl.cpp:
42382         (WebKit::WebViewImpl::composite):
42383         (WebKit::WebViewImpl::doComposite):
42384         (WebKit::WebViewImpl::reallocateRenderer):
42385         * src/WebViewImpl.h:
42386
42387 2011-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
42388
42389         Unreviewed, rolling out r81094.
42390         http://trac.webkit.org/changeset/81094
42391         https://bugs.webkit.org/show_bug.cgi?id=56355
42392
42393         Broke the chromium DRT related build. (Requested by dave_levin
42394         on #webkit).
42395
42396         * public/WebFrame.h:
42397         * src/WebFrameImpl.cpp:
42398         (WebKit::WebFrameImpl::renderTreeAsText):
42399         (WebKit::WebFrameImpl::layerTreeAsText):
42400         * src/WebFrameImpl.h:
42401
42402 2011-03-14  Daniel Sievers  <sievers@google.com>
42403
42404         Reviewed by Simon Fraser.
42405
42406         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
42407         https://bugs.webkit.org/show_bug.cgi?id=56139
42408
42409         * public/WebFrame.h:
42410         * src/WebFrameImpl.cpp:
42411         (WebKit::WebFrameImpl::renderTreeAsText):
42412         (WebKit::WebFrameImpl::layerTreeAsText):
42413         * src/WebFrameImpl.h:
42414
42415 2011-03-14  John Knottenbelt  <jknotten@chromium.org>
42416
42417         Reviewed by Steve Block.
42418
42419         Detach Geolocation from Frame when Page destroyed.
42420         https://bugs.webkit.org/show_bug.cgi?id=52877
42421
42422         Add accessors to the WebGeolocationClientMock to allow the number of
42423         pending geolocation permission requests to be queried.
42424
42425         * public/WebGeolocationClientMock.h:
42426         * src/WebGeolocationClientMock.cpp:
42427         (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
42428
42429 2011-03-11  David Levin  <levin@chromium.org>
42430
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.
42433
42434         Specifically gfx\gl\gl_context_egl.cc depends on d3dcompiler.h
42435
42436         * DEPS:
42437
42438 2011-03-11  Daniel Cheng  <dcheng@chromium.org>
42439
42440         Reviewed by Tony Chang.
42441
42442         [chromium] Correct return type of WebClipboard::readImage.
42443         https://bugs.webkit.org/show_bug.cgi?id=56234
42444
42445         Update the return type to reflect that we are returning a blob of PNG
42446         data, not a bitmap.
42447
42448         * public/WebClipboard.h:
42449         (WebKit::WebClipboard::readImage):
42450
42451 2011-03-11  David Levin  <levin@chromium.org>
42452
42453         Update chromium deps to pick up the skia roll.
42454
42455         * DEPS:
42456
42457 2011-03-11  Adrienne Walker  <enne@google.com>
42458
42459         Reviewed by Kenneth Russell.
42460
42461         Add missing unit tests to TilingData.
42462         https://bugs.webkit.org/show_bug.cgi?id=54143
42463
42464         * tests/TilingDataTest.cpp:
42465         (WebCore::TEST):
42466
42467 2011-03-11  Anton D'Auria  <adauria@apple.com>
42468
42469         Reviewed and landed by Brady Eidson.
42470
42471         Add WebKit1 API to view and delete local storage
42472         https://bugs.webkit.org/show_bug.cgi?id=51878
42473
42474         * src/StorageNamespaceProxy.cpp:
42475         (WebCore::StorageNamespaceProxy::clearOriginForDeletion):
42476         (WebCore::StorageNamespaceProxy::clearAllOriginsForDeletion):
42477         (WebCore::StorageNamespaceProxy::sync):
42478         * src/StorageNamespaceProxy.h:
42479
42480 2011-03-11  Dominic Mazzoni  <dmazzoni@google.com>
42481
42482         Reviewed by Dimitri Glazkov.
42483
42484         Add an accessibilityIsIgnored method to WebAccessibilityObject.
42485         https://bugs.webkit.org/show_bug.cgi?id=50969
42486
42487         * public/WebAccessibilityObject.h:
42488         * src/WebAccessibilityObject.cpp:
42489         (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
42490
42491 2011-03-11  Avi Drissman  <avi@google.com>
42492
42493         Reviewed by Tony Chang.
42494
42495         Fix missing initialization of new member variables.
42496         https://bugs.webkit.org/show_bug.cgi?id=50969
42497
42498         * public/WebMenuItemInfo.h:
42499         (WebKit::WebMenuItemInfo::WebMenuItemInfo):
42500
42501 2011-03-11  Roland Steiner  <rolandsteiner@chromium.org>
42502
42503         Reviewed by Ryosuke Niwa.
42504
42505         Bug 55570 - Remove dependency of dom/InputElement.cpp on html/ and wml/
42506         https://bugs.webkit.org/show_bug.cgi?id=55570
42507
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.
42514
42515         No new tests (refactoring).
42516
42517         * src/WebInputElement.cpp:
42518         (WebKit::toWebInputElement):
42519
42520 2011-03-10  Takayoshi Kochi  <kochi@chromium.org>
42521
42522         Reviewed by Tony Chang.
42523
42524         Remove default parameter declaration for familiForChars(), which is no longer necessary.
42525
42526         * public/gtk/WebFontInfo.h:
42527
42528 2011-03-10  Nat Duca  <nduca@chromium.org>
42529
42530         Reviewed by James Robinson.
42531
42532         [chromium] Make updateAndDrawLayers argumentless.
42533         https://bugs.webkit.org/show_bug.cgi?id=55985
42534
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.
42539
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:
42556
42557 2011-03-10  Tony Chang  <tony@chromium.org>
42558
42559         Unreviewed, roll chromium version to r77259 to pick up
42560         webfontinfo api change.
42561
42562         * DEPS:
42563
42564 2011-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
42565
42566         Unreviewed, rolling out r80701.
42567         http://trac.webkit.org/changeset/80701
42568         https://bugs.webkit.org/show_bug.cgi?id=56126
42569
42570         fast/dom/Geolocation/window-close-crash.html fails on Snow
42571         Leopard release builds (Requested by mihaip on #webkit).
42572
42573         * public/WebGeolocationClientMock.h:
42574         * src/WebGeolocationClientMock.cpp:
42575
42576 2011-03-10  Andrey Kosyakov  <caseq@chromium.org>
42577
42578         Reviewed by Yury Semikhatsky.
42579
42580         Web Inspector: better names for HAR export commands
42581         https://bugs.webkit.org/show_bug.cgi?id=56097
42582
42583         Rename Export to HAR to Copy entry/network log as HAR
42584         Expose Copy as HAR unconditionally, remove related settings entry.
42585
42586         * src/js/DevTools.js: removed override for resourceExportEnabled
42587
42588 2011-01-26  John Knottenbelt  <jknotten@chromium.org>
42589
42590         Reviewed by Dmitry Titov.
42591
42592         Detach Geolocation from Frame when Page destroyed.
42593         https://bugs.webkit.org/show_bug.cgi?id=52877
42594
42595         Add accessors to the WebGeolocationClientMock to allow the number of
42596         pending geolocation permission requests to be queried.
42597
42598         * public/WebGeolocationClientMock.h:
42599         * src/WebGeolocationClientMock.cpp:
42600         (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
42601
42602 2011-03-08  Hans Wennborg  <hans@chromium.org>
42603
42604         Reviewed by Jeremy Orlow.
42605
42606         IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
42607         https://bugs.webkit.org/show_bug.cgi?id=55948
42608
42609         Add a parameter that allows for selection of alternative backing store
42610         implementations.
42611
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:
42621
42622 2011-03-08  Kinuko Yasuda  <kinuko@chromium.org>
42623
42624         Reviewed by David Levin.
42625
42626         Destroying WorkerFileSystemCallbacksBridge on main thread results in ASSERT in WorkerContext::Observer::~Observer
42627         https://bugs.webkit.org/show_bug.cgi?id=55895
42628
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.
42634
42635 2011-03-08  Alok priyadarshi  <alokp@chromium.org>
42636
42637         Reviewed by Dimitri Glazkov.
42638
42639         Plugins needs a way to trigger style recalc
42640         https://bugs.webkit.org/show_bug.cgi?id=55242
42641
42642         It will be tested by Pepper2D and Pepper3D layout/smoke tests
42643         on the Chromium side.
42644         
42645         * public/WebPluginContainer.h:
42646         * src/WebPluginContainerImpl.cpp:
42647         (WebKit::WebPluginContainerImpl::setBackingTextureId):
42648         * src/WebPluginContainerImpl.h:
42649
42650 2011-03-08  Andrei Popescu  <andreip@google.com>
42651
42652         Reviewed by Steve Block.
42653
42654         IDBCallbacks::onsuccess(IDBIndex*) is unused and should be removed.
42655         https://bugs.webkit.org/show_bug.cgi?id=55938
42656
42657         * public/WebIDBCallbacks.h:
42658         * src/IDBCallbacksProxy.cpp:
42659         * src/IDBCallbacksProxy.h:
42660         * src/WebIDBCallbacksImpl.cpp:
42661         * src/WebIDBCallbacksImpl.h:
42662         * src/WebIDBObjectStoreImpl.cpp:
42663
42664 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
42665
42666         Reviewed by David Levin.
42667
42668         Add support for DataTransferItems
42669         https://bugs.webkit.org/show_bug.cgi?id=55115
42670
42671         Add new runtime enabled flag for data transfer items feature.
42672
42673         * public/WebRuntimeFeatures.h:
42674         * src/WebRuntimeFeatures.cpp:
42675         (WebKit::WebRuntimeFeatures::enableDataTransferItems):
42676         (WebKit::WebRuntimeFeatures::isDataTransferItemsEnabled):
42677
42678 2011-03-07  Ryosuke Niwa  <rniwa@webkit.org>
42679
42680         Chromium build fix.
42681
42682         * src/ContextMenuClientImpl.cpp:
42683         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
42684
42685 2011-03-07  Ryosuke Niwa  <rniwa@webkit.org>
42686
42687         Reviewed by Darin Adler.
42688
42689         selectionHasStyle and selectionStartHasStyle should use EditingStyle
42690         https://bugs.webkit.org/show_bug.cgi?id=55902
42691
42692         selectionHasStyle now takes a property id and a value instead of a CSSMutableStyleDeclaration.
42693
42694         * src/ContextMenuClientImpl.cpp:
42695         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Calls selectionHasStyle.
42696
42697 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
42698
42699         Reviewed by Tony Chang.
42700
42701         Add plumbing for paste support to ChromiumDataObject::types()
42702         https://bugs.webkit.org/show_bug.cgi?id=55792
42703
42704         This requires a DEPS roll for a Chromium-side change to support DRT testing of
42705         event.dataTransfer.types.
42706
42707         * DEPS:
42708
42709 2011-03-07  Takayoshi Kochi  <kochi@chromium.org>
42710
42711         Reviewed by Tony Chang.
42712
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
42716
42717         Tests will be covered by Chromium side.
42718
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:
42725
42726 2011-03-07  James Robinson  <jamesr@chromium.org>
42727
42728         Reviewed by Kenneth Russell.
42729
42730         [chromium] Separate the &quot;update&quot; and &quot;draw&quot; portions of LayerRendererChromium&apos;s drawLayers function
42731         https://bugs.webkit.org/show_bug.cgi?id=54047
42732
42733         Call updated LayerRendererChromium APIs.
42734
42735         * src/WebViewImpl.cpp:
42736         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
42737         (WebKit::WebViewImpl::paint):
42738         (WebKit::WebViewImpl::doComposite):
42739
42740 2011-03-07  Sam Weinig  <sam@webkit.org>
42741
42742         Reviewed by Anders Carlsson.
42743
42744         Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
42745         https://bugs.webkit.org/show_bug.cgi?id=55827
42746
42747         Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
42748         and pass the entire response, instead of just the MIMEType.
42749
42750         * src/FrameLoaderClientImpl.cpp:
42751         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForResponse):
42752         * src/FrameLoaderClientImpl.h:
42753
42754 2011-03-07  Marcus Bulach  <bulach@chromium.org>
42755
42756         Reviewed by Dan Bernstein.
42757
42758         WebViewImpl::focusedWebCoreFrame() should be const.
42759         https://bugs.webkit.org/show_bug.cgi?id=55870
42760
42761         * src/WebViewImpl.cpp:
42762         (WebKit::WebViewImpl::focusedWebCoreFrame):
42763         * src/WebViewImpl.h:
42764
42765 2011-03-07  Eric Carlson  <eric.carlson@apple.com>
42766
42767         Reviewed by Darin Adler.
42768
42769         Add API to enumerate/delete files downloaded for <audio> and <video>
42770         https://bugs.webkit.org/show_bug.cgi?id=55267
42771
42772         * src/WebMediaPlayerClientImpl.cpp:
42773         (WebKit::WebMediaPlayerClientImpl::registerSelf): Update for MediaEngineRegistrar change.
42774
42775 2011-03-07  Andrei Popescu  <andreip@google.com>
42776
42777         Reviewed by Steve Block.
42778
42779         IDBRequest::onSuccess(IDBObjectStore*) should be removed as it is unused.
42780         https://bugs.webkit.org/show_bug.cgi?id=55777
42781
42782         * src/IDBCallbacksProxy.cpp:
42783         * src/IDBCallbacksProxy.h:
42784         * src/WebIDBCallbacksImpl.cpp:
42785         * src/WebIDBCallbacksImpl.h:
42786
42787 2011-03-07  Sheriff Bot  <webkit.review.bot@gmail.com>
42788
42789         Unreviewed, rolling out r80458.
42790         http://trac.webkit.org/changeset/80458
42791         https://bugs.webkit.org/show_bug.cgi?id=55863
42792
42793         caused tests to crash on several chromium bots (Requested by
42794         ukai on #webkit).
42795
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:
42813
42814 2011-03-07  Bill Budge  <bbudge@chromium.org>
42815
42816         Reviewed by David Levin.
42817
42818         AssociatedURLLoader does not support Cross Origin Requests
42819         https://bugs.webkit.org/show_bug.cgi?id=53925
42820
42821         No tests needed. Exposes no new functionality.
42822
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):
42841
42842 2011-03-06  Sreeram Ramachandran  <sreeram@google.com>
42843
42844         Reviewed by Dimitri Glazkov.
42845
42846         Expose page dismissal event status through the WebKit API for chromium.
42847         https://bugs.webkit.org/show_bug.cgi?id=55844
42848
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
42852         WebKit API.
42853      
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).
42858
42859         * public/WebFrame.h:
42860         * src/WebFrameImpl.cpp:
42861         (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
42862         * src/WebFrameImpl.h:
42863
42864 2011-03-06  Sheriff Bot  <webkit.review.bot@gmail.com>
42865
42866         Unreviewed, rolling out r80436.
42867         http://trac.webkit.org/changeset/80436
42868         https://bugs.webkit.org/show_bug.cgi?id=55849
42869
42870         Broke Chromium compile across the board (Requested by dglazkov
42871         on #webkit).
42872
42873         * public/WebFrame.h:
42874         * src/WebFrameImpl.cpp:
42875         * src/WebFrameImpl.h:
42876
42877 2011-03-06  Sreeram Ramachandran  <sreeram@google.com>
42878
42879         Reviewed by Dimitri Glazkov.
42880
42881         Expose page dismissal event status through the WebKit API for chromium
42882         https://bugs.webkit.org/show_bug.cgi?id=55844
42883
42884         * public/WebFrame.h:
42885         * src/WebFrameImpl.cpp:
42886         (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
42887         * src/WebFrameImpl.h:
42888
42889 2011-03-05  Daniel Cheng  <dcheng@chromium.org>
42890
42891         Reviewed by Dmitry Titov.
42892
42893         [chromium] Add method to WebClipboard to read images from the clipboard.
42894         https://bugs.webkit.org/show_bug.cgi?id=55814
42895
42896         * public/WebClipboard.h:
42897         (WebKit::WebClipboard::readImage):
42898
42899 2011-03-04  Adam Barth  <abarth@webkit.org>
42900
42901         Reviewed by Dimitri Glazkov.
42902
42903         Remove unneeded round-trips through ../Source in the Chromium GYP build
42904         https://bugs.webkit.org/show_bug.cgi?id=55795
42905
42906         * WebKit.gyp:
42907
42908 2011-03-03  John Abd-El-Malek  <jam@chromium.org>
42909
42910         Reviewed by Dimitri Glazkov.
42911
42912         [chromium] Get rid of IsContentFiltered flags since they&apos;re not used anymore
42913         https://bugs.webkit.org/show_bug.cgi?id=55748
42914
42915         * DEPS:
42916         * public/WebURLResponse.h:
42917         * src/WebURLResponse.cpp:
42918
42919 2011-03-04  James Su <suzhe@chromium.org>
42920
42921         Reviewed by Dimitri Glazkov.
42922
42923         [Chromium] keycode is always 0 when using non-Latin keyboard layout.
42924         https://bugs.webkit.org/show_bug.cgi?id=54939
42925
42926         No intended functionality change.
42927
42928         * src/mac/WebInputEventFactory.mm:
42929         (WebKit::windowsKeyCodeForKeyEvent): Use the same implementation
42930         provided in WebCore/platform/mac/KeyEventMac.mm.
42931
42932 2011-03-04  Zelidrag Hornung  <zelidrag@chromium.org>
42933
42934         Reviewed by David Levin
42935
42936         Expose ability to create instance of DOMFileSystem from Chromium side.
42937         https://bugs.webkit.org/show_bug.cgi?id=55618
42938
42939         * public/WebFrame.h:
42940         * src/WebFrameImpl.cpp:
42941         (WebKit::WebFrameImpl::createFileSystem):
42942         * src/WebFrameImpl.h:
42943
42944 2011-03-03  Nat Duca  <nduca@chromium.org>
42945
42946         Reviewed by James Robinson.
42947
42948         [chromium] Create a LayerChromium layerTreeAsText. Add HUD to
42949         LayerRendererChromium that draws compositor FPS and, optionally,
42950         the layer tree.
42951         https://bugs.webkit.org/show_bug.cgi?id=54710
42952
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):
42963
42964 2011-03-03  Alexey Proskuryakov  <ap@apple.com>
42965
42966         Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
42967         via ChromeClient.h
42968
42969         * src/ChromeClientImpl.h:
42970
42971 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
42972
42973         Reviewed by Darin Adler.
42974
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>
42978
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.
42983
42984 2011-03-03  Sheriff Bot  <webkit.review.bot@gmail.com>
42985
42986         Unreviewed, rolling out r80219.
42987         http://trac.webkit.org/changeset/80219
42988         https://bugs.webkit.org/show_bug.cgi?id=55680
42989
42990         "Causes several media test crashes" (Requested by tonyg-cr on
42991         #webkit).
42992
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:
43010
43011 2011-03-03  Dominic Mazzoni  <dmazzoni@google.com>
43012
43013         Reviewed by Dimitri Glazkov.
43014
43015         Add an equals() method to WebAccessibilityObject.
43016         https://bugs.webkit.org/show_bug.cgi?id=55631
43017
43018         * public/WebAccessibilityObject.h:
43019         * src/WebAccessibilityObject.cpp:
43020         (WebKit::WebAccessibilityObject::equals):
43021
43022 2011-03-03  Pavel Podivilov  <podivilov@chromium.org>
43023
43024         Reviewed by Yury Semikhatsky.
43025
43026         Web Inspector: make selected call frame debugger presentation model property.
43027         https://bugs.webkit.org/show_bug.cgi?id=55582
43028
43029         * src/js/Tests.js:
43030
43031 2011-03-03  Bill Budge  <bbudge@chromium.org>
43032
43033         Reviewed by David Levin.
43034
43035         AssociatedURLLoader does not support Cross Origin Requests
43036         https://bugs.webkit.org/show_bug.cgi?id=53925
43037
43038         No tests needed. Exposes no new functionality.
43039
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):
43058
43059 2011-03-03  Steve Lacey  <sjl@chromium.org>
43060
43061         Reviewed by Darin Fisher.
43062
43063         Wire up webkit metrics changes to chromium changes.
43064         https://bugs.webkit.org/show_bug.cgi?id=54580
43065
43066         * features.gypi:
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:
43074
43075 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
43076
43077         Reviewed by David Levin.
43078
43079         Manually revert ChromiumDataObject changes.
43080         https://bugs.webkit.org/show_bug.cgi?id=55627
43081
43082         * public/WebView.h:
43083         * src/WebDragData.cpp:
43084         (WebKit::WebDragData::initialize):
43085         * src/WebViewImpl.cpp:
43086         (WebKit::WebViewImpl::dragTargetDragEnter):
43087         * src/WebViewImpl.h:
43088
43089 2011-03-02  David Grogan  <dgrogan@chromium.org>
43090
43091         Reviewed by Jeremy Orlow.
43092
43093         IndexedDB: fire versionchange events when calling setVersion
43094         https://bugs.webkit.org/show_bug.cgi?id=55095
43095
43096         * WebKit.gyp:
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:
43118
43119 2011-03-02  Sheriff Bot  <webkit.review.bot@gmail.com>
43120
43121         Unreviewed, rolling out r80139.
43122         http://trac.webkit.org/changeset/80139
43123         https://bugs.webkit.org/show_bug.cgi?id=55620
43124
43125         failing and crashing tests on Snow Leopard bot (Requested by
43126         mihaip1 on #webkit).
43127
43128         * public/WebGeolocationClientMock.h:
43129         * src/WebGeolocationClientMock.cpp:
43130
43131 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
43132
43133         Revert frame-specific WebClipboard changes
43134         https://bugs.webkit.org/show_bug.cgi?id=55617
43135
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.
43138
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):
43149
43150 2011-03-02  Tony Chang  <tony@chromium.org>
43151
43152         Unreviewed, rolling chromium DEPS to r76362.
43153
43154         https://bugs.webkit.org/show_bug.cgi?id=55564
43155
43156         * DEPS:
43157
43158 2011-02-28  Jeremy Orlow  <jorlow@chromium.org>
43159
43160         Reviewed by James Robinson.
43161
43162         Split IDBCursor.value into IDBCursor.primaryKey and IDBCursor.value
43163         https://bugs.webkit.org/show_bug.cgi?id=55443
43164
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:
43177
43178 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
43179
43180         Reviewed by David Levin.
43181
43182         Add feature define for data transfer items
43183         https://bugs.webkit.org/show_bug.cgi?id=55510
43184
43185         * features.gypi:
43186
43187 2011-01-26  John Knottenbelt  <jknotten@chromium.org>
43188
43189         Detach Geolocation from Frame when Page destroyed.
43190         https://bugs.webkit.org/show_bug.cgi?id=52877
43191
43192         Add accessors to the WebGeolocationClientMock to allow the number of
43193         pending geolocation permission requests to be queried.
43194
43195         * public/WebGeolocationClientMock.h:
43196         * src/WebGeolocationClientMock.cpp:
43197         (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
43198
43199 2011-03-01  David Grogan  <dgrogan@chromium.org>
43200
43201         Reviewed by Jeremy Orlow.
43202
43203         IndexedDB: public webkit interfaces for firing versionchange events to IDBDatabase objects
43204         https://bugs.webkit.org/show_bug.cgi?id=55548
43205
43206         * WebKit.gyp:
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):
43213
43214 2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
43215
43216         Unreviewed, rolling out r80079.
43217         http://trac.webkit.org/changeset/80079
43218         https://bugs.webkit.org/show_bug.cgi?id=55547
43219
43220         "Broke the Win debug build?" (Requested by dcheng on #webkit).
43221
43222         * features.gypi:
43223
43224 2011-03-01  Daniel Cheng  <dcheng@chromium.org>
43225
43226         Reviewed by David Levin.
43227
43228         Add feature define for data transfer items
43229         https://bugs.webkit.org/show_bug.cgi?id=55510
43230
43231         * features.gypi:
43232
43233 2011-03-01  Jeremy Orlow  <jorlow@chromium.org>
43234
43235         Reviewed by James Robinson.
43236
43237         Add a primaryKey method to IDBCursor
43238         https://bugs.webkit.org/show_bug.cgi?id=55518
43239
43240         In prep for https://bugs.webkit.org/show_bug.cgi?id=55443
43241
43242         * public/WebIDBCursor.h:
43243         (WebKit::WebIDBCursor::primaryKey):
43244
43245 2011-02-28  Chang Shu  <cshu@webkit.org>
43246
43247         Reviewed by Ryosuke Niwa.
43248
43249         Remove the support of Frame::isContentEditable and its dependencies.
43250         https://bugs.webkit.org/show_bug.cgi?id=54292
43251
43252         Remove the WebKit side implementation.
43253
43254         * src/EditorClientImpl.cpp:
43255         * src/EditorClientImpl.h:
43256
43257 2011-02-28  Avi Drissman  <avi@google.com>
43258
43259         Reviewed by James Robinson.
43260
43261         WebCursorInfo needs to match enums in platform/Cursor.h
43262         https://bugs.webkit.org/show_bug.cgi?id=55094
43263
43264         * public/WebCursorInfo.h:
43265         * src/AssertMatchingEnums.cpp:
43266
43267 2011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
43268
43269         Unreviewed, rolling out r78789.
43270         http://trac.webkit.org/changeset/78789
43271         https://bugs.webkit.org/show_bug.cgi?id=55409
43272
43273         Incorrect canvas fallback implementation (Requested by
43274         inferno-sec on #webkit).
43275
43276         * public/WebAccessibilityRole.h:
43277         * src/AssertMatchingEnums.cpp:
43278
43279 2011-02-28  Adam Klein  <adamk@chromium.org>
43280
43281         Reviewed by Adam Barth.
43282
43283         [fileapi] Implement LocalFileSystem.resolveLocalFileSystemURI
43284         https://bugs.webkit.org/show_bug.cgi?id=54774
43285
43286         * src/LocalFileSystemChromium.cpp:
43287         (WebCore::LocalFileSystem::readFileSystem):
43288         Removed size argument to readFileSystem()
43289
43290 2011-02-27  Pavel Feldman  <pfeldman@chromium.org>
43291
43292         Reviewed by Darin Fisher.
43293
43294         Pass frame history state in the context menu parameters.
43295         https://bugs.webkit.org/show_bug.cgi?id=55232
43296
43297         * public/WebContextMenuData.h:
43298         * src/ContextMenuClientImpl.cpp:
43299         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
43300
43301 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
43302
43303         Reviewed by Pavel Feldman.
43304
43305         DumpRenderTree should reset frame opener between tests.
43306         https://bugs.webkit.org/show_bug.cgi?id=54874
43307
43308         Added clearOpener method to WebFrame.
43309
43310         * public/WebFrame.h:
43311         * src/WebFrameImpl.cpp:
43312         (WebKit::WebFrameImpl::clearOpener):
43313         * src/WebFrameImpl.h:
43314
43315 2011-02-26  Pavel Feldman  <pfeldman@chromium.org>
43316
43317         Not reviewed: rolling chromium DEPS.
43318
43319         * DEPS:
43320
43321 2011-02-26  Bill Budge  <bbudge@chromium.org>
43322
43323         Reviewed by David Levin.
43324
43325         WebURLRequest, WebURLResponse properties should be passed to WebCore Layer
43326         https://bugs.webkit.org/show_bug.cgi?id=54489
43327
43328         No tests needed. This is already tested by ui_tests, nacl_ui_tests, and nacl_sandbox_tests
43329
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:
43341
43342 2011-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
43343
43344         Unreviewed, rolling out r79764.
43345         http://trac.webkit.org/changeset/79764
43346         https://bugs.webkit.org/show_bug.cgi?id=55295
43347
43348         "broke Chromium builds" (Requested by rniwa on #webkit).
43349
43350         * public/WebFrame.h:
43351         * src/WebFrameImpl.cpp:
43352         * src/WebFrameImpl.h:
43353
43354 2011-02-26  David Dorwin  <ddorwin@chromium.org>
43355
43356         Reviewed by Darin Fisher.
43357
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.
43359
43360         fullscreen javascript bindings not implemented for v8
43361         https://bugs.webkit.org/show_bug.cgi?id=44797
43362
43363         * features.gypi:
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:
43374
43375 2011-02-26  John Mellor  <johnme@chromium.org>
43376
43377         Reviewed by Antonio Gomes.
43378
43379         [chromium] WebFrameImpl::m_totalMatchCount should be an int
43380         https://bugs.webkit.org/show_bug.cgi?id=55134
43381
43382         WebFrameImpl::m_totalMatchCount should be an int instead of a size_t since it can be -1.
43383
43384         * src/WebFrameImpl.h:
43385
43386 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
43387
43388         Reviewed by Pavel Feldman.
43389
43390         DumpRenderTree should reset frame opener between tests.
43391         https://bugs.webkit.org/show_bug.cgi?id=54874
43392
43393         Added clearOpener method to WebFrame.
43394
43395         * public/WebFrame.h:
43396         * src/WebFrameImpl.cpp:
43397         (WebKit::WebFrameImpl::clearOpener):
43398         * src/WebFrameImpl.h:
43399
43400 2011-02-25  Tony Chang  <tony@chromium.org>
43401
43402         Roll chromium deps to include RBGToHSL fix and ICU update.
43403
43404         * DEPS:
43405
43406 2011-02-15  Brett Wilson  <brettw@chromium.org>
43407
43408         Reviewed by Darin Fisher.
43409
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
43412
43413         * src/WebViewImpl.cpp:
43414         (WebKit::WebViewImpl::handleInputEvent):
43415
43416 2011-02-24  James Robinson  <jamesr@chromium.org>
43417
43418         Reviewed by Darin Fisher.
43419
43420         Add a USE() macro to control use of the built-in UTF8 codec
43421         https://bugs.webkit.org/show_bug.cgi?id=55189
43422
43423         Defaults USE(BUILTIN_UTF8_CODEC) to true for the Chromium port.
43424
43425         * features.gypi:
43426
43427 2011-02-24  James Kozianski  <koz@chromium.org>
43428
43429         Reviewed by Ojan Vafai.
43430
43431         Add missing plumbing for registerProtocolHandler in ChromeClientImpl.
43432         https://bugs.webkit.org/show_bug.cgi?id=55112
43433
43434         * src/ChromeClientImpl.cpp:
43435         (WebKit::ChromeClientImpl::registerProtocolHandler):
43436
43437 2011-02-24  James Robinson  <jamesr@chromium.org>
43438
43439         Unreviewed, rolling out r79584.
43440         http://trac.webkit.org/changeset/79584
43441         https://bugs.webkit.org/show_bug.cgi?id=44797
43442
43443         [chromium] Patch does not compile if ENABLE_FULLSCREEN_API is
43444         not set
43445
43446         * features.gypi:
43447         * public/WebSettings.h:
43448         * src/ChromeClientImpl.cpp:
43449         * src/ChromeClientImpl.h:
43450         * src/WebSettingsImpl.cpp:
43451         * src/WebSettingsImpl.h:
43452
43453 2011-02-24  Andrew Wilson  <atwilson@chromium.org>
43454
43455         Unreviewed, rolling out r79570.
43456         http://trac.webkit.org/changeset/79570
43457         https://bugs.webkit.org/show_bug.cgi?id=54874
43458
43459         Breaks chromium build because glue/mocks/mock_web_frame.h/cc
43460         was not updated
43461
43462         * public/WebFrame.h:
43463         * src/WebFrameImpl.cpp:
43464         * src/WebFrameImpl.h:
43465
43466 2011-02-24  David Dorwin  <ddorwin@chromium.org>
43467
43468         Reviewed by Eric Seidel.
43469
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.
43471
43472         fullscreen javascript bindings not implemented for v8
43473         https://bugs.webkit.org/show_bug.cgi?id=44797
43474
43475         * features.gypi:
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:
43486
43487 2011-02-24  Patrick Gansterer  <paroga@webkit.org>
43488
43489         Reviewed by Eric Seidel.
43490
43491         Rename PLATFORM(SKIA) to USE(SKIA)
43492         https://bugs.webkit.org/show_bug.cgi?id=55090
43493
43494         * src/GraphicsContext3DChromium.cpp:
43495         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
43496         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
43497         * src/GraphicsContext3DInternal.h:
43498         * src/WebViewImpl.cpp:
43499         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
43500
43501 2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
43502
43503         Reviewed by Alexey Proskuryakov.
43504
43505         DumpRenderTree should reset frame opener between tests.
43506         https://bugs.webkit.org/show_bug.cgi?id=54874
43507
43508         Added clearOpener method to WebFrame.
43509
43510         * public/WebFrame.h:
43511         * src/WebFrameImpl.cpp:
43512         (WebKit::WebFrameImpl::clearOpener):
43513         * src/WebFrameImpl.h:
43514
43515 2011-02-24  Adam Klein  <adamk@chromium.org>
43516
43517         Reviewed by Darin Fisher.
43518
43519         [chromium] Add code to WebKit Chromium to allow access to NetworkStateNotifier
43520         https://bugs.webkit.org/show_bug.cgi?id=54516
43521
43522         Add a new WebNetworkStateNotifier class with a single static method,
43523         setOnLine(), which dispatches to WebCore's singleton NetworkStateNotifier.
43524
43525         * WebKit.gyp:
43526         * public/WebNetworkStateNotifier.h: Added.
43527         * src/WebNetworkStateNotifier.cpp: Added.
43528         (WebKit::WebNetworkStateNotifier::setOnLine):
43529
43530 2011-02-24  Robert Kroeger <rjkroege@chromium.org>
43531
43532         Reviewed by Darin Fisher.
43533
43534         Added timestamps to PlatformTouchEvent etc.
43535
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.
43541
43542         [chromium] [WebCore] [android] Touch events are missing time stamps
43543         https://bugs.webkit.org/show_bug.cgi?id=53510
43544
43545         * public/WebTouchPoint.h:
43546         (WebKit::WebTouchPoint::WebTouchPoint):
43547         * src/WebInputEventConversion.cpp:
43548         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
43549
43550 2011-02-23  Adam Barth  <abarth@webkit.org>
43551
43552         Reviewed by James Robinson.
43553
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
43556
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.
43560
43561         * WebKit.gyp:
43562         * src/ChromiumOSRandomSource.cpp: Added.
43563
43564 2011-02-23  Adam Barth  <abarth@webkit.org>
43565
43566         Reviewed by James Robinson.
43567
43568         Roll Chromium DEPS
43569         https://bugs.webkit.org/show_bug.cgi?id=55096
43570
43571         Rolling to the future, like a truck.
43572
43573         * DEPS:
43574
43575 2011-02-23  Adam Barth  <abarth@webkit.org>
43576
43577         Reviewed by Darin Fisher.
43578
43579         [Chromium] Add WebKitClient::cryptographicallyRandomValues
43580         https://bugs.webkit.org/show_bug.cgi?id=55073
43581
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.
43584
43585         * public/WebKitClient.h:
43586         (WebKit::WebKitClient::cryptographicallyRandomValues):
43587
43588 2011-02-23  Kenneth Russell  <kbr@google.com>
43589
43590         Unreviewed, rolling out r79387.
43591         https://bugs.webkit.org/show_bug.cgi?id=54885
43592
43593         Reapply the code changes from r79038 since they weren't the root
43594         cause of the test timeouts.
43595
43596         * src/WebKit.cpp:
43597         (WebKit::initialize):
43598
43599 2011-02-23  Takashi Toyoshima  <toyoshim@chromium.org>
43600
43601         Reviewed by Shinichiro Hamaji.
43602
43603         [chromium] Control-Up/Down should be PageUp/Down on Mac.
43604         https://bugs.webkit.org/show_bug.cgi?id=54606
43605
43606         * src/WebViewImpl.cpp:
43607         (WebKit::WebViewImpl::scrollViewWithKeyboard):
43608
43609 2011-02-22  Kenneth Russell  <kbr@google.com>
43610
43611         Reviewed by James Robinson.
43612
43613         Many tests started timing out on the chrome mac canaries around r79035
43614         https://bugs.webkit.org/show_bug.cgi?id=54885
43615
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).
43620
43621         * src/WebKit.cpp:
43622         (WebKit::initialize):
43623
43624 2011-02-21  Nico Weber  <thakis@chromium.org>
43625
43626         Reviewed by James Robinson.
43627
43628         [chromium] WebWorkerBase::openFileSystem confuses clang's -Woverloaded-virtual
43629         https://bugs.webkit.org/show_bug.cgi?id=54920
43630
43631         Rename WebWorkerBase::openFileSystem() to openFileSystemForWorker() to
43632         make it obvious it's not an override of
43633         WebFrameClient::openFileSystem().
43634
43635         Remove a failed attempt to override it in WebWorkerClientImpl (the
43636         override didn't change the behavior).
43637
43638         No intended functionality change.
43639
43640         * src/LocalFileSystemChromium.cpp:
43641         (WebCore::LocalFileSystem::requestFileSystem):
43642         Call new name.
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.
43651
43652 2011-02-22  Ilya Tikhonovsky  <loislo@chromium.org>
43653
43654         Reviewed by Pavel Feldman.
43655
43656         Web Inspector: flakyness of inspector tests.
43657         https://bugs.webkit.org/show_bug.cgi?id=54729
43658
43659         As far as we have the protocol with sequence numbers we can simplify test harness support
43660         and drop out chomium specific methods.
43661
43662         * src/js/DevTools.js:
43663
43664 2011-02-21  Pavel Podivilov  <podivilov@chromium.org>
43665
43666         Reviewed by Pavel Feldman.
43667
43668         Web Inspector: move source mapping from SourceFrame to ScriptsPanel.
43669         https://bugs.webkit.org/show_bug.cgi?id=54645
43670
43671         * src/js/Tests.js:
43672         (.TestSuite.prototype._checkExecutionLine):
43673
43674 2011-02-21  Nico Weber  <thakis@chromium.org>
43675
43676         Reviewed by James Robinson.
43677
43678         [chromium] PopupContainer::show() confuses clang's -Woverloaded-virtual
43679         https://bugs.webkit.org/show_bug.cgi?id=54923
43680
43681         Rename PopupContainer::show() to showInRect(), to make it obvious it's
43682         not an override of ScrollView::show().
43683
43684         No intended functionality change.
43685
43686         * src/WebViewImpl.cpp:
43687         (WebKit::WebViewImpl::applyAutoFillSuggestions):
43688
43689 2011-02-21  Nico Weber  <thakis@chromium.org>
43690
43691         Reviewed by Kent Tamura.
43692
43693         [chromium] ChromePluginPrintContext::begin() fails to override superclass method
43694         https://bugs.webkit.org/show_bug.cgi?id=54914
43695
43696         Update subclass method signature to match superclass again. This
43697         regressed in http://trac.webkit.org/changeset/71964
43698
43699         * src/WebFrameImpl.cpp:
43700         (WebKit::ChromePluginPrintContext::begin):
43701
43702 2011-02-17  Ryosuke Niwa  <rniwa@webkit.org>
43703
43704         Reviewed by Kent Tamura.
43705
43706         Rename Position::node() to Position::deprecatedNode()
43707         https://bugs.webkit.org/show_bug.cgi?id=54622
43708
43709         Done the rename. All calls to node() are replaced by calls to deprecatedNode().
43710
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):
43716
43717 2011-02-19  Brian Ryner  <bryner@chromium.org>
43718
43719         Reviewed by Adam Barth.
43720
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
43724
43725         * src/WebPageSerializerImpl.cpp:
43726         * src/WebSearchableFormData.cpp:
43727
43728 2011-02-19  Charlie Reis  <creis@chromium.org>
43729
43730         Reviewed by Mihai Parparita.
43731
43732         Ensure loading has stopped in HistoryController::goToItem
43733         https://bugs.webkit.org/show_bug.cgi?id=54517
43734
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.
43738
43739         Test: http/tests/navigation/forward-to-fragment-fires-onload.html
43740
43741         * src/FrameLoaderClientImpl.cpp:
43742         (WebKit::FrameLoaderClientImpl::shouldStopLoadingForHistoryItem): Added.
43743         * src/FrameLoaderClientImpl.h:
43744         * src/WebFrameImpl.cpp:
43745
43746 2011-02-18  Dominic Mazzoni  <dmazzoni@google.com>
43747
43748         Reviewed by Dimitri Glazkov.
43749
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
43754
43755         * src/WebAccessibilityObject.cpp:
43756         (WebKit::WebAccessibilityObject::performDefaultAction):
43757
43758 2011-02-18  Kenneth Russell  <kbr@google.com>
43759
43760         Reviewed by James Robinson.
43761
43762         [chromium] Clean up initialization of minimum timer interval
43763         https://bugs.webkit.org/show_bug.cgi?id=54772
43764
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.
43768
43769         Tested with Chromium DRT port built from WebKit workspace; ran
43770         fast/dom/ layout tests.
43771
43772         * DEPS:
43773         * src/WebKit.cpp:
43774         (WebKit::initialize):
43775
43776 2011-02-18  Ben Vanik  <benvanik@google.com>
43777
43778         Reviewed by Kenneth Russell.
43779
43780         Bug 53940: Implement the OES_vertex_array_object WebGL extension
43781         https://bugs.webkit.org/show_bug.cgi?id=53940
43782
43783         Stubbed out methods for the new OES_vertex_array_object methods.
43784
43785         * src/Extensions3DChromium.cpp:
43786         (WebCore::Extensions3DChromium::createVertexArrayOES):
43787         (WebCore::Extensions3DChromium::deleteVertexArrayOES):
43788         (WebCore::Extensions3DChromium::isVertexArrayOES):
43789         (WebCore::Extensions3DChromium::bindVertexArrayOES):
43790
43791 2011-02-17  Yuzo Fujishima  <yuzo@google.com>
43792
43793         Reviewed by Shinichiro Hamaji.
43794
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
43798
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.
43802
43803         * public/WebFrame.h:
43804         * src/WebFrameImpl.cpp:
43805         (WebKit::WebFrameImpl::setScrollOffset):
43806         * src/WebFrameImpl.h:
43807
43808 2011-02-17  Andrew Wilson  <atwilson@chromium.org>
43809
43810         Unreviewed, rolling out r78936.
43811         http://trac.webkit.org/changeset/78936
43812         https://bugs.webkit.org/show_bug.cgi?id=54632
43813
43814         Breaks chromium build
43815
43816         * public/WebFrame.h:
43817         * src/WebFrameImpl.cpp:
43818         * src/WebFrameImpl.h:
43819
43820 2011-02-17  Yuzo Fujishima  <yuzo@google.com>
43821
43822         Reviewed by Shinichiro Hamaji.
43823
43824         Fix for Bug 54632 - [chromium] Printing causes view to scroll
43825         https://bugs.webkit.org/show_bug.cgi?id=54632
43826
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.
43830
43831         * public/WebFrame.h:
43832         * src/WebFrameImpl.cpp:
43833         (WebKit::WebFrameImpl::setScrollOffset):
43834         * src/WebFrameImpl.h:
43835
43836 2011-02-17  W. James MacLean  <wjmaclean@chromium.org>
43837
43838         Reviewed by James Robinson.
43839
43840         [chromium] Add command-line flag to enable composite to offscreen texture.
43841         https://bugs.webkit.org/show_bug.cgi?id=52311
43842
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.
43846
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):
43855
43856 2011-02-10  Luiz Agostini  <luiz.agostini@openbossa.org>
43857
43858         Reviewed by Adam Roben.
43859
43860         HTML5 <details> and <summary>: localized text
43861         https://bugs.webkit.org/show_bug.cgi?id=54260
43862
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.
43865
43866         * src/LocalizedStrings.cpp:
43867         (WebCore::defaultDetailsSummaryText):
43868
43869 2011-02-17  Steve Lacey  <sjl@chromium.org>
43870
43871         Reviewed by Darin Fisher.
43872
43873         Roll chromium deps to 75190. Includes new dependency
43874         on libjingle.
43875
43876         https://bugs.webkit.org/show_bug.cgi?id=54588
43877
43878         * DEPS:
43879
43880 2011-02-17  Pavel Podivilov  <podivilov@chromium.org>
43881
43882         Unreviewed, interactive ui test fix for r78808.
43883
43884         * src/js/Tests.js:
43885         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
43886         (.TestSuite.prototype._waitUntilScriptsAreParsed):
43887
43888 2011-02-16  Brian Ryner  <bryner@chromium.org>
43889
43890         Reviewed by Darin Fisher.
43891
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
43896
43897         * public/WebURLResponse.h:
43898         * src/WebURLResponse.cpp:
43899         (WebKit::WebURLResponse::remoteIPAddress):
43900         (WebKit::WebURLResponse::setRemoteIPAddress):
43901         (WebKit::WebURLResponse::remotePort):
43902         (WebKit::WebURLResponse::setRemotePort):
43903
43904 2011-02-16  Dominic Mazzoni  <dmazzoni@google.com>
43905
43906         Reviewed by Chris Fleizach.
43907
43908         Add new role for canvas elements.
43909
43910         https://bugs.webkit.org/show_bug.cgi?id=50126
43911
43912         * public/WebAccessibilityRole.h:
43913         * src/AssertMatchingEnums.cpp:
43914
43915 2011-02-16  Victoria Kirst  <vrk@google.com>
43916
43917         Reviewed by Kenneth Russell.
43918
43919         [chromium] Fix green pixels at edge of certain GPU-accelerated videos
43920         https://bugs.webkit.org/show_bug.cgi?id=54559
43921
43922         * src/VideoFrameChromiumImpl.cpp:
43923         (WebKit::VideoFrameChromiumImpl::width):
43924         (WebKit::VideoFrameChromiumImpl::height):
43925         (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
43926         (WebKit::VideoFrameChromiumImpl::hasPaddingBytes):
43927         * src/VideoFrameChromiumImpl.h:
43928
43929 2011-02-16  Jeremy Orlow  <jorlow@chromium.org>
43930
43931         Back out IndexedDB change thats no longer necessary
43932         https://bugs.webkit.org/show_bug.cgi?id=54603
43933
43934         Backing out 78645 as it turns out that it's not necessary.
43935
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:
43944
43945 2011-02-16  David Grogan  <dgrogan@chromium.org>
43946
43947         Reviewed by Jeremy Orlow.
43948
43949         indexeddb: make setVersion fire blocked event if other connections are open
43950         https://bugs.webkit.org/show_bug.cgi?id=53728
43951
43952         * src/IDBCallbacksProxy.cpp:
43953         (WebCore::IDBCallbacksProxy::onBlocked):
43954         * src/IDBCallbacksProxy.h:
43955         * src/WebIDBCallbacksImpl.cpp:
43956         (WebCore::WebIDBCallbacksImpl::onBlocked):
43957         * src/WebIDBCallbacksImpl.h:
43958
43959 == Rolled over to ChangeLog-2011-02-16 ==