dee8fe86b71fea75f23e140675b42330cc9eee88
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-06-08  James Robinson  <jamesr@chromium.org>
2
3         [chromium] Clean up some unnecessary LayerChromium.h includes
4         https://bugs.webkit.org/show_bug.cgi?id=88599
5
6         Reviewed by Adam Barth.
7
8         Removes unused include, update comment.
9
10         * src/WebMediaPlayerClientImpl.cpp:
11         (WebKit::WebMediaPlayerClientImpl::platformLayer):
12         (WebKit::WebMediaPlayerClientImpl::paint):
13
14 2012-06-08  Jochen Eisinger  <jochen@chromium.org>
15
16         Unreviewed.  Rolled DEPS.
17
18         * DEPS:
19
20 2012-06-08  Ian Vollick  <vollick@chromium.org>
21
22         [chromium] Accelerated animations should use WebTransformOperations
23         https://bugs.webkit.org/show_bug.cgi?id=87686
24
25         Reviewed by James Robinson.
26
27         CCTransformKeyframe new owns a WebTransformOperations rather than a
28         TransformOperations. LayerChromium's API has been changed so that
29         LayerChromium::addAnimation should take only a CCActiveAnimation.
30         GraphicsLayerChromium is new responsible for translating to
31         WebTransformOperations and creating CCActiveAnimations. Tests that use
32         the public API (that is, they call addAnimation with KeyframeValueList
33         and Animation arguments) have been moved to GraphicsLayerChromiumTest.
34
35         * tests/CCAnimationTestCommon.cpp:
36         (WebCore::addOpacityTransition):
37         (WebCore::addAnimatedTransform):
38         (WebKitTests::FakeTransformTransition::getValue):
39         * tests/CCAnimationTestCommon.h:
40         * tests/CCKeyframedAnimationCurveTest.cpp:
41         * tests/CCLayerAnimationControllerTest.cpp:
42         * tests/CCLayerTreeHostTest.cpp:
43         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
44         * tests/GraphicsLayerChromiumTest.cpp:
45         (MockLayerTreeHostClient):
46         (WebKitTests):
47         (MockLayerTreeHost):
48         (WebKitTests::MockLayerTreeHost::create):
49         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
50         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
51         (GraphicsLayerChromiumTest):
52         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
53         (WebKitTests::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
54         (WebKitTests::GraphicsLayerChromiumTest::expectTranslateX):
55         (WebKitTests::TEST_F):
56         * tests/LayerChromiumTest.cpp:
57
58 2012-06-08  Robert Kroeger  <rjkroege@chromium.org>
59
60         More than 8 fingers get ignored by touch
61         https://bugs.webkit.org/show_bug.cgi?id=88359
62
63         Reviewed by James Robinson.
64
65         * public/WebInputEvent.h: Increase of TouchPoints per TouchEvent from 8 to 12.
66
67 2012-06-08  Sheriff Bot  <webkit.review.bot@gmail.com>
68
69         Unreviewed.  Rolled DEPS.
70
71         * DEPS:
72
73 2012-06-08  Taiju Tsuiki  <tzik@chromium.org>
74
75         Add FileSystem item to storage tree.
76         https://bugs.webkit.org/show_bug.cgi?id=72691
77
78         Reviewed by Vsevolod Vlasov.
79
80         * src/js/DevTools.js:
81
82 2012-06-08  Peter Beverloo  <peter@chromium.org>
83
84         [Chromium] Re-enable SHARED_WORKERS for Android until a build fix has been resolved.
85         https://bugs.webkit.org/show_bug.cgi?id=88637
86
87         Unreviewed build fix.
88
89         Linking content_shell on the Chromium side fails due to an unresolved
90         call to WebSharedWorker::create(). Since this blocks WebKit rolls,
91         temporarily re-enable the feature until this has been solved.
92
93         * features.gypi:
94
95 2012-06-07  Nico Weber  <thakis@chromium.org>
96
97         [chromium/mac] Improve deviceDPI, rect, and availableRect computation
98         https://bugs.webkit.org/show_bug.cgi?id=88596
99
100         Reviewed by Adam Barth.
101
102         Set deviceDPI to 160 for normal displays and 320 for HiDPI displays.
103         (Why 160? That's what chromium's render_view.cc assumes as default
104         single-resolution resolution at the moment. The only other place
105         where this number gets used is fixed layout mode, which is currently
106         not enabled.)
107
108         Also fix rect and availableRect computations: They get returned in
109         user space already.
110
111         Needed for http://crbug.com/31960.
112
113         * src/mac/WebScreenInfoFactory.mm:
114         (WebKit::toUserSpace):
115         (WebKit::deviceScaleFactor):
116         (WebKit):
117         (WebKit::WebScreenInfoFactory::screenInfo):
118
119 2012-06-07  Mark Pilgrim  <pilgrim@chromium.org>
120
121         [Chromium] Move didStartWorkerRunLoop to Platform.h
122         https://bugs.webkit.org/show_bug.cgi?id=88562
123
124         Reviewed by Adam Barth.
125
126         Part of a refactoring series. See tracking bug 82948.
127
128         * src/PlatformSupport.cpp:
129         (WebCore):
130
131 2012-06-05  James Robinson  <jamesr@chromium.org>
132
133         [chromium] Move deferral-related logic out of Canvas2DLayerChromium
134         https://bugs.webkit.org/show_bug.cgi?id=86050
135
136         Reviewed by Stephen White.
137
138         * WebKit.gypi:
139         * tests/Canvas2DLayerBridgeTest.cpp: Renamed from tests/Canvas2DLayerChromiumTest
140         (Canvas2DLayerBridgeTest):
141         (Canvas2DLayerBridgeTest::fullLifecycleTest):
142
143 2012-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
144
145         Unreviewed, rolling out r119744.
146         http://trac.webkit.org/changeset/119744
147         https://bugs.webkit.org/show_bug.cgi?id=88584
148
149         Fails assertions in debug builds (Requested by jamesr_ on
150         #webkit).
151
152         * tests/CCLayerTreeHostImplTest.cpp:
153
154 2012-06-07  Adam Barth  <abarth@webkit.org>
155
156         Settings::defaultDeviceScaleFactor is redundant with Page::deviceScaleFactor
157         https://bugs.webkit.org/show_bug.cgi?id=88375
158
159         Reviewed by James Robinson.
160
161         * public/WebSettings.h:
162         (WebKit::WebSettings::setDefaultDeviceScaleFactor):
163         (WebSettings):
164         * src/ChromeClientImpl.cpp:
165         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
166         * src/WebSettingsImpl.cpp:
167         (WebKit):
168         * src/WebSettingsImpl.h:
169         (WebSettingsImpl):
170         * src/WebViewImpl.cpp:
171         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
172         * tests/WebFrameTest.cpp:
173         (WebKit::TEST_F):
174
175 2012-06-07  Peter Beverloo  <peter@chromium.org>
176
177         [Chromium] features.gypi should have the correct definitions for Android
178         https://bugs.webkit.org/show_bug.cgi?id=88533
179
180         Reviewed by Adam Barth.
181
182         Make all features which are enabled on Android but disabled on other platforms,
183         or are disabled on Android while enabled on other platforms, conditional. This
184         also means that the selection of code compiled for Android will slightly change.
185
186         This change also removes the enable_viewport variable as the value of this is
187         no longer respected by WebKit - it's enabled by default for all of Chromium.
188         Furthermore, ENABLE_OVERFLOW_SCROLLING is now listed in features.gypi again.
189
190         * features.gypi:
191
192 2012-06-07  Dana Jansens  <danakj@chromium.org>
193
194         [chromium] Free texture from CCIOSurfaceLayerImpl when it is destroyed
195         https://bugs.webkit.org/show_bug.cgi?id=88371
196
197         Reviewed by James Robinson.
198
199         * tests/CCLayerTreeHostImplTest.cpp:
200
201 2012-06-07  Ami Fischman  <fischman@chromium.org>
202
203         Plumb CORS attribute information from HTMLMediaElement to media players so it can be used
204         https://bugs.webkit.org/show_bug.cgi?id=88349
205
206         Reviewed by Adam Barth.
207
208         * public/WebMediaPlayer.h:
209         (WebMediaPlayer):
210         * src/AssertMatchingEnums.cpp:
211         * src/WebMediaPlayerClientImpl.cpp:
212         (WebKit::WebMediaPlayerClientImpl::loadInternal):
213         (WebKit::WebMediaPlayerClientImpl::didPassCORSAccessCheck):
214         (WebKit):
215         * src/WebMediaPlayerClientImpl.h:
216         (WebMediaPlayerClientImpl):
217
218 2012-06-07  Daniel Erat  <derat@chromium.org>
219
220         Add setting to enable subpixel-positioned text on Linux.
221         https://bugs.webkit.org/show_bug.cgi?id=88263
222
223         Reviewed by Tony Chang.
224
225         Add subpixel positioning field to WebFontRenderStyle and rename
226         subpixel rendering field.  Make similar changes in
227         WebFontRendering.
228
229         Also add global WebFontInfo::setSubpixelPositioning() to turn
230         subpixel positioning on or off (there's not currently a
231         well-defined way to configure subpixel positioning via FontConfig).
232
233         * public/linux/WebFontInfo.h:
234         (WebFontInfo):
235         * public/linux/WebFontRenderStyle.h:
236         * public/linux/WebFontRendering.h:
237         (WebFontRendering):
238         * src/linux/WebFontInfo.cpp:
239         (WebKit):
240         (WebKit::WebFontInfo::setSubpixelPositioning):
241         (WebKit::WebFontInfo::renderStyleForStrike):
242         * src/linux/WebFontRenderStyle.cpp:
243         (WebKit::WebFontRenderStyle::toFontRenderStyle):
244         (WebKit::WebFontRenderStyle::setDefaults):
245         * src/linux/WebFontRendering.cpp:
246         (WebKit::WebFontRendering::setSubpixelGlyphs):
247         (WebKit):
248         (WebKit::WebFontRendering::setSubpixelRendering):
249         (WebKit::WebFontRendering::setSubpixelPositioning):
250
251 2012-06-06  Dana Jansens  <danakj@chromium.org>
252
253         [chromium] In each composited frame, didDraw() should only be called on layers for which willDraw() was called
254         https://bugs.webkit.org/show_bug.cgi?id=88469
255
256         Reviewed by James Robinson.
257
258         * tests/CCLayerTreeHostImplTest.cpp:
259
260 2012-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
261
262         Unreviewed, rolling out r119694.
263         http://trac.webkit.org/changeset/119694
264         https://bugs.webkit.org/show_bug.cgi?id=88529
265
266         it broke PrerenderBrowserTest.PrerenderHTML5VideoNetwork
267         (Requested by loislo on #webkit).
268
269         * public/WebMediaPlayer.h:
270         (WebMediaPlayer):
271         * src/AssertMatchingEnums.cpp:
272         * src/WebMediaPlayerClientImpl.cpp:
273         (WebKit::WebMediaPlayerClientImpl::loadInternal):
274         * src/WebMediaPlayerClientImpl.h:
275         (WebMediaPlayerClientImpl):
276
277 2012-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
278
279         Unreviewed, rolling out r119689.
280         http://trac.webkit.org/changeset/119689
281         https://bugs.webkit.org/show_bug.cgi?id=88516
282
283         it broke didDrawNotCalledOnScissoredLayer webkit_unit_test
284         (Requested by loislo on #webkit).
285
286         * tests/CCLayerTreeHostImplTest.cpp:
287
288 2012-06-07  Ami Fischman  <fischman@chromium.org>
289
290         Plumb CORS attribute information from HTMLMediaElement to media players so it can be used
291         https://bugs.webkit.org/show_bug.cgi?id=88349
292
293         Reviewed by Adam Barth.
294
295         * public/WebMediaPlayer.h:
296         (WebMediaPlayer):
297         * src/WebMediaPlayerClientImpl.cpp:
298         (WebKit::WebMediaPlayerClientImpl::loadInternal):
299
300 2012-06-07  Yoshifumi Inoue  <yosin@chromium.org>
301
302         [Platform] Introduce conversion from/to Deciaml to/from double and helper functions
303         https://bugs.webkit.org/show_bug.cgi?id=88480
304
305         Reviewed by Kent Tamura.
306
307         This patch added tests for Decimal::fromDouble, isInfinity, toDouble.
308
309         * tests/DecimalTest.cpp:
310         (TEST_F):
311
312 2012-06-07  Ami Fischman  <fischman@chromium.org>
313
314         Unreviewed.  Rolled DEPS.
315
316         * DEPS:
317
318 2012-06-06  Dana Jansens  <danakj@chromium.org>
319
320         [chromium] In each composited frame, didDraw() should only be called on layers for which willDraw() was called
321         https://bugs.webkit.org/show_bug.cgi?id=88469
322
323         Reviewed by James Robinson.
324
325         * tests/CCLayerTreeHostImplTest.cpp:
326
327 2012-06-06  Kent Tamura  <tkent@chromium.org>
328
329         Unreviewed, rolling out r60044.
330         http://trac.webkit.org/changeset/60044
331
332         It made a regression, crbug.com/114922.
333
334         * src/ChromeClientImpl.cpp:
335         (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll): Do not hide popups by scrolling.
336         (WebKit::ChromeClientImpl::scroll): ditto.
337
338 2012-06-06  Noel Gordon  <noel.gordon@gmail.com>
339
340         Unreviewed. Rolled DEPS.
341
342         * DEPS: Roll to chromium 140955.
343
344 2012-06-06  Sheriff Bot  <webkit.review.bot@gmail.com>
345
346         Unreviewed, rolling out r119683.
347         http://trac.webkit.org/changeset/119683
348         https://bugs.webkit.org/show_bug.cgi?id=88505
349
350         it broke webkit-unit-test
351         WebLayerTreeViewThreadedTest.InstrumentationCallbacks on mac
352         (Requested by loislo on #webkit).
353
354         * tests/CCLayerTreeHostTest.cpp:
355         (WTF::MockLayerTreeHost::create):
356         * tests/Canvas2DLayerChromiumTest.cpp:
357         (Canvas2DLayerChromiumTest::fullLifecycleTest):
358
359 2012-06-06  Robert Kroeger  <rjkroege@chromium.org>
360
361         [Chromium] Re-enable handling of smooth scrolling on Chromium Linux/Windows
362         https://bugs.webkit.org/show_bug.cgi?id=87535 by adding support for precise
363         scrolling deltas on all Chromium platforms.
364
365         Reviewed by James Robinson.
366
367         * src/WebInputEventConversion.cpp:
368         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder): Create PlatformWheelEvents
369         with m_hasPreciseScrollingDelta flag as required.
370         * tests/ScrollAnimatorNoneTest.cpp: Added new unit test condiiton for precise scrolling.
371         (TEST):
372
373 2012-06-06  Michal Mocny  <mmocny@google.com>
374
375         [chromium] Stop dropping texture limits when the layer tree host becomes invisible, and initialize with 0 allocation.
376         https://bugs.webkit.org/show_bug.cgi?id=87747
377
378         Reviewed by Adrienne Walker.
379
380         * tests/CCLayerTreeHostTest.cpp:
381         (WTF::MockLayerTreeHost::create):
382         * tests/Canvas2DLayerChromiumTest.cpp:
383         (Canvas2DLayerChromiumTest::fullLifecycleTest):
384
385 2012-06-06  Mark Pilgrim  <pilgrim@chromium.org>
386
387         [Chromium] Move createMessagePortChannel to Platform.h
388         https://bugs.webkit.org/show_bug.cgi?id=85764
389
390         Reviewed by Adam Barth.
391         
392         Part of a refactoring series. See tracking bug 82948.
393
394         * WebKit.gyp:
395         * public/WebFrame.h:
396         (WebFrame):
397         * public/WebMessagePortChannel.h:
398         * public/WebMessagePortChannelClient.h:
399         * public/WebSharedWorkerClient.h:
400         (WebSharedWorkerClient):
401         * public/platform/WebKitPlatformSupport.h:
402         (WebKit):
403         (WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
404         * src/PlatformMessagePortChannel.cpp:
405         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
406         * src/PlatformMessagePortChannel.h:
407         * src/SharedWorkerRepository.cpp:
408         * src/WebSharedWorkerImpl.cpp:
409
410 2012-06-06  Amy Ousterhout  <aousterh@chromium.org>
411
412         [Chromium] DeviceOrientation cleanup
413         https://bugs.webkit.org/show_bug.cgi?id=88406
414
415         Reviewed by Kent Tamura.
416
417         Made default constructor public and added a set function for each property.
418         This will allow us to remove the 8-parameter constructor.
419
420         * public/WebDeviceOrientation.h:
421         (WebKit::WebDeviceOrientation::WebDeviceOrientation):
422         (WebKit::WebDeviceOrientation::setNull):
423         (WebKit::WebDeviceOrientation::setAlpha):
424         (WebKit::WebDeviceOrientation::setBeta):
425         (WebKit::WebDeviceOrientation::setGamma):
426         (WebKit::WebDeviceOrientation::setAbsolute):
427         (WebDeviceOrientation):
428
429 2012-06-06  James Robinson  <jamesr@chromium.org>
430
431         [chromium] Move implementation of WebCore::GraphicsContext3D and related from WebKit/chromium/src to WebCore/platform/chromium/support
432         https://bugs.webkit.org/show_bug.cgi?id=86257
433
434         Reviewed by Kenneth Russell.
435
436         * WebKit.gyp:
437
438 2012-06-06  James Robinson  <jamesr@chromium.org>
439
440         [chromium] Unreviewed build fix, add an apparently used include of OwnArrayPtr.h back to GraphicsContext3DPrivate.h
441         https://bugs.webkit.org/show_bug.cgi?id=88468
442
443         * src/GraphicsContext3DPrivate.h:
444
445 2012-06-06  James Robinson  <jamesr@chromium.org>
446
447         [chromium] Clean up GraphicsContext3D implementation
448         https://bugs.webkit.org/show_bug.cgi?id=88460
449
450         Reviewed by Kenneth Russell.
451
452         Chromium's implementation of the GraphicsContext3D implementation has been somewhat messy for historical
453         reasons. The actual implementation of the majority of these functions is done by delegating to the Platform API
454         WebGraphicsContext3D. A few bits of functionality - extension mapping, some compositor functionality, a readback
455         utility - are implemented by code in WebKit. Previously, all GraphicsContext3D functions delegates to a clone of
456         the interface in GraphicsContext3DPrivate which in turn delegated to WebGraphicsContext3D. This required
457         duplicating the entire GraphicsContext3D interface and made updating the interface an epic pain in the rear.
458
459         This patch provides the implementations of GraphicsContext3D functions in GraphicsContext3DChromium.cpp. Most of
460         these functions delegate directly to WebGraphicsContext3D. The ones that do not delegate to
461         GraphicsContext3DPrivate, which now has a dedicated header and cpp file. GraphicsContext3DPrivate.cpp implements
462         all GraphicsContext3DPrivate functions. I've also reordered the implementation files so that the function order
463         matches the associated header file and normalized the names of callback adapters.
464
465         Refactor only, no change in functionality. Existing tests apply.
466
467         * WebKit.gyp:
468         * src/Extensions3DChromium.cpp:
469         (WebCore::Extensions3DChromium::ensureEnabled):
470         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
471         (WebCore::Extensions3DChromium::blitFramebuffer):
472         (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
473         (WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
474         (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
475         (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
476         (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
477         (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
478         (WebCore::Extensions3DChromium::setVisibilityCHROMIUM):
479         (WebCore::Extensions3DChromium::discardFramebufferEXT):
480         (WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM):
481         (WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE):
482         (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
483         (WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
484         (WebCore::Extensions3DChromium::texStorage2DEXT):
485         (WebCore::Extensions3DChromium::createQueryEXT):
486         (WebCore::Extensions3DChromium::deleteQueryEXT):
487         (WebCore::Extensions3DChromium::isQueryEXT):
488         (WebCore::Extensions3DChromium::beginQueryEXT):
489         (WebCore::Extensions3DChromium::endQueryEXT):
490         (WebCore::Extensions3DChromium::getQueryivEXT):
491         (WebCore::Extensions3DChromium::getQueryObjectuivEXT):
492         * src/GraphicsContext3DChromium.cpp:
493         (WebCore::GraphicsContext3D::GraphicsContext3D):
494         (WebCore::GraphicsContext3D::~GraphicsContext3D):
495         (WebCore::GraphicsContext3D::setContextLostCallback):
496         (WebCore::GraphicsContext3D::setErrorMessageCallback):
497         (WebCore::GraphicsContext3D::create):
498         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
499         (WebCore::GraphicsContext3D::platformTexture):
500         (WebCore::GraphicsContext3D::grContext):
501         (WebCore::GraphicsContext3D::platformLayer):
502         (WebCore):
503         (WebCore::GraphicsContext3D::isGLES2Compliant):
504         (WebCore::GraphicsContext3D::isResourceSafe):
505         (WebCore::GraphicsContext3D::bindAttribLocation):
506         (WebCore::GraphicsContext3D::bufferData):
507         (WebCore::GraphicsContext3D::getActiveAttrib):
508         (WebCore::GraphicsContext3D::getActiveUniform):
509         (WebCore::GraphicsContext3D::getAttribLocation):
510         (WebCore::GraphicsContext3D::getContextAttributes):
511         (WebCore::GraphicsContext3D::getProgramInfoLog):
512         (WebCore::GraphicsContext3D::getShaderInfoLog):
513         (WebCore::GraphicsContext3D::getShaderSource):
514         (WebCore::GraphicsContext3D::getString):
515         (WebCore::GraphicsContext3D::getUniformLocation):
516         (WebCore::GraphicsContext3D::shaderSource):
517         (WebCore::GraphicsContext3D::texImage2D):
518         (WebCore::GraphicsContext3D::texSubImage2D):
519         (WebCore::GraphicsContext3D::reshape):
520         (WebCore::GraphicsContext3D::markContextChanged):
521         (WebCore::GraphicsContext3D::layerComposited):
522         (WebCore::GraphicsContext3D::markLayerComposited):
523         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
524         (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
525         (WebCore::GraphicsContext3D::paintCompositedResultsToCanvas):
526         (WebCore::GraphicsContext3D::getExtensions):
527         (WebCore::GraphicsContext3D::getInternalFramebufferSize):
528         * src/GraphicsContext3DPrivate.cpp: Added.
529         (WebCore):
530         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
531         (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
532         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
533         (WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
534         (GrMemoryAllocationChangedCallback):
535         (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
536         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
537         (WebCore::GraphicsContext3DPrivate::grContext):
538         (WebCore::GraphicsContext3DPrivate::markContextChanged):
539         (WebCore::GraphicsContext3DPrivate::layerComposited):
540         (WebCore::GraphicsContext3DPrivate::markLayerComposited):
541         (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
542         (GraphicsContextLostCallbackAdapter):
543         (WebCore::GraphicsContextLostCallbackAdapter::GraphicsContextLostCallbackAdapter):
544         (WebCore::GraphicsContextLostCallbackAdapter::~GraphicsContextLostCallbackAdapter):
545         (WebCore::GraphicsContextLostCallbackAdapter::onContextLost):
546         (WebCore::GraphicsContext3DPrivate::setContextLostCallback):
547         (GraphicsErrorMessageCallbackAdapter):
548         (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter):
549         (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter):
550         (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
551         (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
552         (WebCore::GraphicsContext3DPrivate::getExtensions):
553         (WebCore::GraphicsContext3DPrivate::initializeExtensions):
554         (WebCore::GraphicsContext3DPrivate::supportsExtension):
555         (WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
556         (WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
557         (WebCore::GraphicsContext3DPrivate::isResourceSafe):
558         (GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
559         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
560         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
561         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
562         (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
563         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
564         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
565         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
566         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
567         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
568         * src/GraphicsContext3DPrivate.h:
569         (GraphicsContext3DPrivate):
570         (WebCore::GraphicsContext3DPrivate::webContext):
571         (WebCore::GraphicsContext3DPrivate::preserveDrawingBuffer):
572
573 2012-06-06  Sadrul Habib Chowdhury  <sadrul@chromium.org>
574
575         [chromium] Avoid limiting page-scale-factor when device-scale-factor is applied in the compositor.
576         https://bugs.webkit.org/show_bug.cgi?id=88417
577
578         Reviewed by James Robinson.
579
580         * src/WebViewImpl.cpp:
581         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
582
583 2012-06-06  Ami Fischman  <fischman@chromium.org>
584
585         Unreviewed.  Rolled DEPS.
586
587         * DEPS:
588
589 2012-06-06  Nico Weber  <thakis@chromium.org>
590
591         [chromium] Expose setPictographFontFamily through the chromium webkit api.
592         https://bugs.webkit.org/show_bug.cgi?id=88393
593
594         Reviewed by Adam Barth.
595
596         This was added to WebCore in
597         https://bugs.webkit.org/show_bug.cgi?id=65197
598
599         * public/WebSettings.h:
600         * src/WebSettingsImpl.cpp:
601         (WebKit::WebSettingsImpl::setPictographFontFamily):
602         (WebKit):
603         * src/WebSettingsImpl.h:
604         (WebSettingsImpl):
605
606 2012-06-06  Ryosuke Niwa  <rniwa@webkit.org>
607
608         Unreviewed.  Rolled DEPS.
609
610         * DEPS:
611
612 2012-06-06  Kinuko Yasuda  <kinuko@chromium.org>
613
614         Roll Chromium DEPS from r140700 to r140711.
615
616         * DEPS:
617
618 2012-06-06  Ami Fischman  <fischman@chromium.org>
619
620         [chromium] Add a WebKit::WebMediaPlayer::CORSMode enum in preparation for 88349
621         https://bugs.webkit.org/show_bug.cgi?id=88388
622
623         Reviewed by Darin Fisher.
624
625         * public/WebMediaPlayer.h:
626
627 2012-06-05  Ryosuke Niwa  <rniwa@webkit.org>
628
629         Roll Chromium DEPS from r140653 to r140700.
630
631         * DEPS:
632
633 2012-06-05  Kentaro Hara  <haraken@chromium.org>
634
635         Unreviewed, rolling out r119494.
636         http://trac.webkit.org/changeset/119494
637         https://bugs.webkit.org/show_bug.cgi?id=87911
638
639         We found similar APIs are already implemented
640
641         * public/WebWidget.h:
642         * src/WebViewImpl.cpp:
643         * src/WebViewImpl.h:
644         (WebViewImpl):
645         * tests/WebViewTest.cpp:
646         * tests/data/textarea.html: Removed.
647
648 2012-06-05  Ryosuke Niwa  <rniwa@webkit.org>
649
650         Roll Chromium DEPS from r140528 to r140653.
651
652         * DEPS:
653
654 2012-06-05  Mark Pilgrim  <pilgrim@chromium.org>
655
656         [Chromium] Move createLocalStorageNamespace to Platform.h
657         https://bugs.webkit.org/show_bug.cgi?id=85766
658
659         Reviewed by James Robinson.
660         
661         Part of a refactoring series. See tracking bug 82948.
662
663         * WebKit.gyp:
664         * public/WebStorageArea.h:
665         * public/WebStorageNamespace.h:
666         * public/platform/WebKitPlatformSupport.h:
667         (WebKit):
668         (WebKitPlatformSupport):
669
670 2012-06-05  Greg Billock  <gbillock@google.com>
671
672         New constructor for WebIntent to be used for delivery
673         https://bugs.webkit.org/show_bug.cgi?id=87143
674
675         Reviewed by Darin Fisher.
676
677         When delivering an intent to webkit, the caller needs to be able to
678         provide the action, type, and data, and also extra data and ports.
679
680         * public/WebIntent.h:
681         (WebIntent):
682         * src/WebFrameImpl.cpp:
683         (WebKit::WebFrameImpl::deliverIntent):
684         * src/WebIntent.cpp:
685         (WebKit::WebIntent::WebIntent):
686         (WebKit):
687         (WebKit::WebIntent::reset):
688         (WebKit::WebIntent::messagePortChannelsRelease):
689
690 2012-06-05  Ryosuke Niwa  <rniwa@webkit.org>
691
692         Roll Chromium DEPS from r140492 to r140528.
693
694         * DEPS:
695
696 2012-06-05  Seigo Nonaka  <nona@chromium.org>
697
698         [chromium] There is no way to retrieve composition character rectangle in WebKit/chromium
699         https://bugs.webkit.org/show_bug.cgi?id=87911
700
701         Reviewed by Ryosuke Niwa.
702
703         Add an API for retreieving each character bounds in composition text.
704         This API is necessary for implementing IMR_QUERYCHARPOSITION message in Windows.
705         The message is used by Japanese IME for showing their window at the correct position.
706
707         * public/WebWidget.h:
708         (WebWidget):
709         (WebKit::WebWidget::compositionCharacterBounds):
710         * src/WebViewImpl.cpp:
711         (WebKit::WebViewImpl::compositionCharacterBounds):
712         (WebKit):
713         * src/WebViewImpl.h:
714         (WebViewImpl):
715
716 2012-06-05  Dongwoo Im  <dw.im@samsung.com>
717
718         Add 'isProtocolHandlerRegistered' and 'unregisterProtocolHandler'.
719         https://bugs.webkit.org/show_bug.cgi?id=73176
720
721         Reviewed by Adam Barth.
722
723         Two more APIs are added in Custom Scheme Handler specification.
724         http://dev.w3.org/html5/spec/Overview.html#custom-handlers
725         One is 'isProtocolHandlerRegistered' to query whether the specific URL
726         is registered or not.
727         The other is 'unregisterProtocolHandler' to remove the registered URL.
728
729         * features.gypi: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
730
731 2012-06-05  Kent Tamura  <tkent@chromium.org>
732
733         Move some function definitions in EmptyClients.h to EmptyClients.cpp
734         https://bugs.webkit.org/show_bug.cgi?id=88285
735
736         Reviewed by Ryosuke Niwa.
737
738         * src/WebHelperPluginImpl.cpp: Remove unnecessary #includes, and add necessary #includes.
739         * src/WebPagePopupImpl.cpp: ditto.
740
741 2012-06-05  Noel Gordon  <noel.gordon@gmail.com>
742
743         Unreviewed.  Rolled DEPS.
744
745         * DEPS:
746
747 2012-06-05  Adam Barth  <abarth@webkit.org>
748
749         EventHandler shouldn't dispatch fake mousemove events when scrolling on devices that don't have a mouse
750         https://bugs.webkit.org/show_bug.cgi?id=88270
751
752         Reviewed by James Robinson.
753
754         * public/WebSettings.h:
755         * src/WebSettingsImpl.cpp:
756         (WebKit::WebSettingsImpl::setDeviceSupportsMouse):
757         (WebKit):
758         * src/WebSettingsImpl.h:
759         (WebSettingsImpl):
760
761 2012-06-04  Dana Jansens  <danakj@chromium.org>
762
763         [chromium] Remove redundant setNeedsCommit when prepareToDraw fails
764         https://bugs.webkit.org/show_bug.cgi?id=88246
765
766         Reviewed by James Robinson.
767
768         * tests/CCLayerTreeHostImplTest.cpp:
769
770 2012-06-04  Dana Jansens  <danakj@chromium.org>
771
772         [chromium] Allow CCLayerImpl to find its layer tree host, and use this for CCVideoLayerImpl instead of always-null pointer.
773         https://bugs.webkit.org/show_bug.cgi?id=88252
774
775         Reviewed by James Robinson.
776
777         * tests/ScrollbarLayerChromiumTest.cpp:
778         (WebCore::TEST):
779         * tests/TreeSynchronizerTest.cpp:
780         (WebKitTests::expectTreesAreIdentical):
781         (WebKitTests::TEST):
782
783 2012-06-04  Ryosuke Niwa  <rniwa@webkit.org>
784
785         yet another build fix attempt.
786
787         * src/WebHelperPluginImpl.cpp:
788
789 2012-06-04  Ryosuke Niwa  <rniwa@webkit.org>
790
791         Another Chromium Windows build fix attempt after r119411.
792
793         * src/WebHelperPluginImpl.cpp:
794
795 2012-06-04  Shawn Singh  <shawnsingh@chromium.org>
796
797         [chromium] CCDamageTrackerTest.verifyDamageForPerspectiveClippedLayer needs to be cleaner
798         https://bugs.webkit.org/show_bug.cgi?id=85245
799
800         Reviewed by James Robinson.
801
802         Updated CCDamageTrackerTest.verifyDamageForPerspectiveClippedLayer
803         so that the test is clearer and cleaner. The original test was
804         covering what it needed, but in a confusing and not-so-practical
805         way. This patch adds comments and performs a tighter test so that
806         the intent is a bit more clear.
807
808         * tests/CCDamageTrackerTest.cpp:
809         (WebKitTests::TEST_F):
810
811 2012-06-04  Ryosuke Niwa  <rniwa@webkit.org>
812
813         Fix attempt after r119411.
814
815         * src/WebHelperPluginImpl.cpp:
816
817 2012-06-04  Sadrul Habib Chowdhury  <sadrul@chromium.org>
818
819         [chromium] Fix software rendering for larger device-scale-factor
820         https://bugs.webkit.org/show_bug.cgi?id=88136
821
822         Reviewed by Darin Fisher.
823
824         The fix is to apply the device-scale factor on the GraphicsContext.
825         (and add a WebWidgetClient::deviceScaleFactor method to facilitate that).
826
827         * public/WebWidgetClient.h:
828         (WebWidgetClient):
829         (WebKit::WebWidgetClient::deviceScaleFactor):
830         * src/PageWidgetDelegate.cpp:
831         (WebKit::PageWidgetDelegate::paint):
832         * src/WebPopupMenuImpl.cpp:
833         (WebKit::WebPopupMenuImpl::paint):
834
835 2012-06-04  Sadrul Habib Chowdhury  <sadrul@chromium.org>
836
837         Combobox options and autofill options should not be scaled for device-scale factor.
838         https://bugs.webkit.org/show_bug.cgi?id=87921
839
840         Reviewed by Darin Fisher.
841
842         * src/WebViewImpl.cpp:
843         (WebKit::WebViewImpl::applyAutofillSuggestions):
844
845 2012-06-04  Dana Jansens  <danakj@chromium.org>
846
847         [chromium] Make LayerRendererChromium use RenderPasses instead of RenderSurfaces
848         https://bugs.webkit.org/show_bug.cgi?id=88132
849
850         Reviewed by Adrienne Walker.
851
852         * tests/CCLayerTreeHostImplTest.cpp:
853         * tests/LayerRendererChromiumTest.cpp:
854         (FakeCCRendererClient::FakeCCRendererClient):
855         (FakeCCRendererClient::rootRenderPass):
856         (FakeCCRendererClient):
857         (TEST_F):
858
859 2012-06-04  David Dorwin  <ddorwin@chromium.org>
860
861         Enable Chromium media player to instantiate a plugin
862         https://bugs.webkit.org/show_bug.cgi?id=87399
863
864         Reviewed by Kent Tamura.
865
866         Adds WebHelperPlugin, an off-screen widget that contains an <object> tag.
867
868         * WebKit.gyp:
869         * public/WebHelperPlugin.h: Copied from Source/WebKit/chromium/public/WebPopupType.h.
870         (WebKit):
871         (WebHelperPlugin):
872         (WebKit::WebHelperPlugin::~WebHelperPlugin):
873         * public/WebMediaPlayerClient.h:
874         (WebKit):
875         * public/WebPopupType.h:
876         * public/WebView.h:
877         * public/WebViewClient.h:
878         (WebKit):
879         (WebViewClient):
880         (WebKit::WebViewClient::initializeHelperPluginWebFrame):
881         * src/WebFrameImpl.cpp:
882         (WebKit::WebFrameImpl::WebFrameImpl):
883         (WebKit::WebFrameImpl::initializeAsMainFrame):
884         * src/WebFrameImpl.h:
885         (WebFrameImpl):
886         * src/WebHelperPluginImpl.cpp: Added.
887         (WebKit):
888         (WebKit::addString):
889         (WebKit::writeDocument):
890         (HelperPluginChromeClient):
891         (WebKit::HelperPluginChromeClient::HelperPluginChromeClient):
892         (WebKit::WebHelperPluginImpl::WebHelperPluginImpl):
893         (WebKit::WebHelperPluginImpl::~WebHelperPluginImpl):
894         (WebKit::WebHelperPluginImpl::init):
895         (WebKit::WebHelperPluginImpl::initializeFrame):
896         (WebKit::WebHelperPluginImpl::initPage):
897         (WebKit::WebHelperPluginImpl::setCompositorSurfaceReady):
898         (WebKit::WebHelperPluginImpl::composite):
899         (WebKit::WebHelperPluginImpl::layout):
900         (WebKit::WebHelperPluginImpl::setFocus):
901         (WebKit::WebHelperPluginImpl::close):
902         (WebKit::WebHelperPluginImpl::closeHelperPlugin):
903         (WebKit::WebHelperPlugin::create):
904         * src/WebHelperPluginImpl.h: Copied from Source/WebKit/chromium/public/WebPopupType.h.
905         (WebCore):
906         (WebKit):
907         (WebHelperPluginImpl):
908         * src/WebMediaPlayerClientImpl.cpp:
909         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
910         (WebKit::WebMediaPlayerClientImpl::createHelperPlugin):
911         (WebKit):
912         (WebKit::WebMediaPlayerClientImpl::closeHelperPlugin):
913         * src/WebMediaPlayerClientImpl.h:
914         (WebKit):
915         (WebMediaPlayerClientImpl):
916         * src/WebViewImpl.cpp:
917         (WebKit::WebViewImpl::initializeMainFrame):
918         (WebKit::WebViewImpl::initializeHelperPluginFrame):
919         (WebKit):
920         (WebKit::WebViewImpl::createHelperPlugin):
921         * src/WebViewImpl.h:
922         (WebKit):
923         (WebViewImpl):
924
925 2012-06-04  Raymes Khoury  <raymes@chromium.org>
926
927         Remove obsolete acceptMIMETypes member.
928         https://bugs.webkit.org/show_bug.cgi?id=88241
929
930         Reviewed by Darin Fisher.
931
932         Obsoleted by https://bugs.webkit.org/show_bug.cgi?id=87271 and http://codereview.chromium.org/10414085/.
933
934         * public/WebFileChooserParams.h:
935         (WebFileChooserParams):
936         * src/ChromeClientImpl.cpp:
937         (WebKit::ChromeClientImpl::runOpenPanel):
938
939 2012-06-04  Zeev Lieber  <zlieber@chromium.org>
940
941         [chromium] Cleanup scissor rect computation/use with damage
942         https://bugs.webkit.org/show_bug.cgi?id=87167
943
944         Reviewed by Adrienne Walker.
945
946         Added unit tests to CCLayerTreeHostImpl using mock graphic context
947         to verify end-to-end quad drawing.
948
949         Added more test cases to CCLayerTreeHostCommon to verify clip and
950         scissor rect computations.
951
952         * tests/CCDamageTrackerTest.cpp:
953         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
954         * tests/CCLayerIteratorTest.cpp:
955         * tests/CCLayerTreeHostCommonTest.cpp:
956         * tests/CCLayerTreeHostImplTest.cpp:
957         * tests/CCOcclusionTrackerTest.cpp:
958         (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
959         * tests/CCRenderSurfaceTest.cpp:
960
961 2012-06-03  Ryosuke Niwa  <rniwa@webkit.org>
962
963         Roll Chromium DEPS from r140222 to r140260.
964
965         * DEPS:
966
967 2012-06-03  Ryosuke Niwa  <rniwa@webkit.org>
968
969         Roll Chromium DEPS from r140000 to r140222.
970
971         * DEPS:
972
973 2012-06-03  Varun Jain  <varunjain@google.com>
974
975         [chromium] Add new gesture type (two finger tap) that triggers context menu.
976         https://bugs.webkit.org/show_bug.cgi?id=88173
977
978         Reviewed by Adam Barth.
979
980         * public/WebInputEvent.h:
981         * src/PageWidgetDelegate.cpp:
982         (WebKit::PageWidgetDelegate::handleInputEvent):
983         * src/WebInputEventConversion.cpp:
984         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
985         * src/WebPopupMenuImpl.cpp:
986         (WebKit::WebPopupMenuImpl::handleInputEvent):
987         * src/WebViewImpl.cpp:
988         (WebKit::WebViewImpl::handleGestureEvent):
989
990 2012-06-03  Robert Kroeger  <rjkroege@chromium.org>
991
992         [chromium] replace isScrollGestureEventType with isGestureEventType
993         https://bugs.webkit.org/show_bug.cgi?id=88097
994
995         This change replaces the unused and incorrect isScrollGestureEventType
996         method with a correct and useful isGestureEventType method.
997
998         Reviewed by Adam Barth.
999
1000         * public/WebInputEvent.h:
1001         (WebInputEvent):
1002         (WebKit::WebInputEvent::isGestureEventType):
1003
1004 2012-06-01  Alexandre Elias  <aelias@google.com>
1005
1006         [chromium] Software compositor initialization and base classes
1007         https://bugs.webkit.org/show_bug.cgi?id=87920
1008
1009         Reviewed by James Robinson.
1010
1011         Add a new setting to force software compositing.  In this mode,
1012         no GraphicsContext3D should ever be created.
1013
1014         * public/WebSettings.h:
1015         * src/WebLayerTreeView.cpp:
1016         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1017         (WebKit::WebLayerTreeView::context):
1018         * src/WebLayerTreeViewImpl.cpp:
1019         * src/WebSettingsImpl.cpp:
1020         (WebKit::WebSettingsImpl::WebSettingsImpl):
1021         (WebKit::WebSettingsImpl::setForceSoftwareCompositing):
1022         (WebKit):
1023         * src/WebSettingsImpl.h:
1024         (WebSettingsImpl):
1025         (WebKit::WebSettingsImpl::forceSoftwareCompositing):
1026         * src/WebViewImpl.cpp:
1027         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1028         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
1029         (WebKit::WebViewImpl::createContext3D):
1030         * tests/CCLayerTreeHostImplTest.cpp:
1031         (WebKitTests::CCLayerTreeHostImplTest::createContext):
1032         (WebKitTests::TEST_F):
1033         * tests/CCLayerTreeHostTest.cpp:
1034         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
1035         (WTF::CCLayerTreeHostTestAtomicCommit::drawLayersOnCCThread):
1036         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
1037         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
1038         * tests/CCTiledLayerTestCommon.cpp:
1039         (WebKitTests::FakeLayerTextureUpdater::Texture::updateRect):
1040         * tests/CCTiledLayerTestCommon.h:
1041         (Texture):
1042         (WebKitTests::FakeTextureCopier::copyTexture):
1043         (WebKitTests::FakeTextureUploader::uploadTexture):
1044         * tests/Canvas2DLayerChromiumTest.cpp:
1045         (Canvas2DLayerChromiumTest::fullLifecycleTest):
1046         * tests/FakeCCLayerTreeHostClient.h:
1047         * tests/LayerRendererChromiumTest.cpp:
1048         (FakeLayerRendererChromium::FakeLayerRendererChromium):
1049         (LayerRendererChromiumTest::LayerRendererChromiumTest):
1050         (LayerRendererChromiumTest):
1051         (TEST):
1052         * tests/TextureCopierTest.cpp:
1053         * tests/TiledLayerChromiumTest.cpp:
1054         (WTF::TEST):
1055
1056 2012-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
1057
1058         Unreviewed, rolling out r119283, r119287, and r119291.
1059         http://trac.webkit.org/changeset/119283
1060         http://trac.webkit.org/changeset/119287
1061         http://trac.webkit.org/changeset/119291
1062         https://bugs.webkit.org/show_bug.cgi?id=88159
1063
1064         Not only broke compilation in the initial commit but also
1065         broke LayerChromiumTest.basicCreateAndDestroy (Requested by
1066         rniwa on #webkit).
1067
1068         * tests/CCAnimationTestCommon.cpp:
1069         (WebCore::addOpacityTransition):
1070         (WebCore::addAnimatedTransform):
1071         (WebKitTests::FakeTransformTransition::getValue):
1072         * tests/CCAnimationTestCommon.h:
1073         * tests/CCKeyframedAnimationCurveTest.cpp:
1074         * tests/CCLayerAnimationControllerTest.cpp:
1075         * tests/CCLayerTreeHostTest.cpp:
1076         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
1077         * tests/GraphicsLayerChromiumTest.cpp:
1078         (WebKitTests::MockGraphicsLayerClient::notifyAnimationStarted):
1079         (WebKitTests::MockGraphicsLayerClient::notifySyncRequired):
1080         (WebKitTests::MockGraphicsLayerClient::paintContents):
1081         (WebKitTests::MockGraphicsLayerClient::showDebugBorders):
1082         (WebKitTests::MockGraphicsLayerClient::showRepaintCounter):
1083         (WebKitTests::TEST):
1084
1085 2012-06-01  Ryosuke Niwa  <rniwa@webkit.org>
1086
1087         Use fully qualified name for Fixed to avoid the collision with "typedef SInt32 Fixed" in MacTypes.h
1088
1089         * tests/GraphicsLayerChromiumTest.cpp:
1090         (WebKitTests::TEST_F):
1091
1092 2012-06-01  James Robinson  <jamesr@chromium.org>
1093
1094         [chromium] Unreviewed compile fix for r119283
1095
1096         For the record, Dana Jensens <danakj@chromium.org> wrote this slightly faster than I did.
1097
1098         * tests/CCAnimationTestCommon.h:
1099
1100 2012-06-01  Ian Vollick  <vollick@chromium.org>
1101
1102         [chromium] Accelerated animations should use WebTransformOperations
1103         https://bugs.webkit.org/show_bug.cgi?id=87686
1104
1105         Reviewed by James Robinson.
1106
1107         CCTransformKeyframe new owns a WebTransformOperations rather than a
1108         TransformOperations. LayerChromium's API has been changed so that
1109         LayerChromium::addAnimation should take only a CCActiveAnimation.
1110         GraphicsLayerChromium is new responsible for translating to
1111         WebTransformOperations and creating CCActiveAnimations. Tests that use
1112         the public API (that is, they call addAnimation with KeyframeValueList
1113         and Animation arguments) have been moved to GraphicsLayerChromiumTest.
1114
1115         * tests/CCAnimationTestCommon.cpp:
1116         (WebCore::addOpacityTransition):
1117         (WebCore::addAnimatedTransform):
1118         (WebKitTests::FakeTransformTransition::getValue):
1119         * tests/CCAnimationTestCommon.h:
1120         * tests/CCKeyframedAnimationCurveTest.cpp:
1121         (WebCore::TEST):
1122         * tests/CCLayerAnimationControllerTest.cpp:
1123         (WebKitTests::TEST):
1124         * tests/CCLayerTreeHostTest.cpp:
1125         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
1126         * tests/GraphicsLayerChromiumTest.cpp:
1127         (MockLayerTreeHostClient):
1128         (WebKitTests):
1129         (MockLayerTreeHost):
1130         (WebKitTests::MockLayerTreeHost::create):
1131         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
1132         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
1133         (GraphicsLayerChromiumTest):
1134         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
1135         (WebKitTests::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
1136         (WebKitTests::GraphicsLayerChromiumTest::expectTranslateX):
1137         (WebKitTests::TEST_F):
1138
1139 2012-06-01  Mark Pilgrim  <pilgrim@chromium.org>
1140
1141         [Chromium] Call clipboard methods directly
1142         https://bugs.webkit.org/show_bug.cgi?id=88038
1143
1144         Reviewed by Adam Barth.
1145
1146         Part of a refactoring series. See tracking bug 82948.
1147
1148         * src/AssertMatchingEnums.cpp:
1149         * src/PlatformSupport.cpp:
1150         (WebCore::getCookieJar):
1151
1152 2012-06-01  Peter Beverloo  <peter@chromium.org>
1153
1154         Unreviewed.  Rolled DEPS.
1155
1156         * DEPS:
1157
1158 2012-06-01  Yoshifumi Inoue  <yosin@chromium.org>
1159
1160         [Platform][Decimal] UInt128::operator/= calls makeUInt128 with wrong argument order
1161         https://bugs.webkit.org/show_bug.cgi?id=88044
1162
1163         Reviewed by Kent Tamura.
1164
1165         * tests/DecimalTest.cpp:
1166         (TEST_F): Add a new test for multiplication.
1167
1168 2012-05-31  Hajime Morrita  <morrita@chromium.org>
1169
1170         REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
1171         https://bugs.webkit.org/show_bug.cgi?id=86859
1172
1173         Removed a port specific fix which was introduced at r117572.
1174
1175         Reviewed by Ryosuke Niwa.
1176
1177         * src/EditorClientImpl.cpp:
1178         (WebKit::EditorClientImpl::frameWillDetachPage):
1179         (WebKit::EditorClientImpl::requestCheckingOfString):
1180         * src/EditorClientImpl.h:
1181         (WebCore):
1182         (EditorClientImpl):
1183         * src/WebTextCheckingCompletionImpl.cpp:
1184         (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
1185         (WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
1186         * src/WebTextCheckingCompletionImpl.h:
1187         (WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
1188         (WebTextCheckingCompletionImpl):
1189
1190 2012-05-31  Sheriff Bot  <webkit.review.bot@gmail.com>
1191
1192         Unreviewed, rolling out r119146.
1193         http://trac.webkit.org/changeset/119146
1194         https://bugs.webkit.org/show_bug.cgi?id=88035
1195
1196         android breakage fixed in http://crrev.com/139945 (Requested
1197         by fischman on #webkit).
1198
1199         * public/WebMediaPlayer.h:
1200         (WebMediaPlayer):
1201         * src/WebMediaPlayerClientImpl.cpp:
1202         (WebKit::WebMediaPlayerClientImpl::didLoadingProgress):
1203         * src/WebMediaPlayerClientImpl.h:
1204         (WebMediaPlayerClientImpl):
1205
1206 2012-05-31  Shawn Singh  <shawnsingh@chromium.org>
1207
1208         [chromium] Migrate to WebTransformationMatrix
1209         https://bugs.webkit.org/show_bug.cgi?id=87788
1210
1211         Reviewed by James Robinson.
1212
1213         * src/WebLayer.cpp:
1214         (WebKit::WebLayer::setSublayerTransform):
1215         (WebKit::WebLayer::setTransform):
1216         * tests/CCAnimationTestCommon.cpp:
1217         (WebKitTests::FakeTransformTransition::getValue):
1218         * tests/CCAnimationTestCommon.h:
1219         * tests/CCDamageTrackerTest.cpp:
1220         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
1221         (WebKitTests::TEST_F):
1222         * tests/CCKeyframedAnimationCurveTest.cpp:
1223         * tests/CCLayerAnimationControllerTest.cpp:
1224         * tests/CCLayerImplTest.cpp:
1225         (WebCore::TEST):
1226         * tests/CCLayerIteratorTest.cpp:
1227         * tests/CCLayerSorterTest.cpp:
1228         * tests/CCLayerTreeHostCommonTest.cpp:
1229         * tests/CCLayerTreeHostTest.cpp:
1230         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commitCompleteOnCCThread):
1231         (WTF::setLayerPropertiesForTesting):
1232         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
1233         (WTF::setTestLayerPropertiesForTesting):
1234         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
1235         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
1236         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
1237         * tests/CCLayerTreeTestCommon.h:
1238         (WebKitTests):
1239         * tests/CCMathUtilTest.cpp:
1240         * tests/CCOcclusionTrackerTest.cpp:
1241         (WebKitTests::CCOcclusionTrackerTest::createRoot):
1242         (WebKitTests::CCOcclusionTrackerTest::createLayer):
1243         (WebKitTests::CCOcclusionTrackerTest::createSurface):
1244         (WebKitTests::CCOcclusionTrackerTest::createDrawingLayer):
1245         (WebKitTests::CCOcclusionTrackerTest::createReplicaLayer):
1246         (WebKitTests::CCOcclusionTrackerTest::createDrawingSurface):
1247         (CCOcclusionTrackerTest):
1248         (WebKitTests::CCOcclusionTrackerTest::setBaseProperties):
1249         (WebKitTests::CCOcclusionTrackerTest::setProperties):
1250         (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
1251         (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
1252         (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
1253         (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
1254         (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
1255         (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
1256         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
1257         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
1258         (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
1259         (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
1260         (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
1261         (WebKitTests::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
1262         (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest):
1263         (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
1264         (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
1265         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
1266         (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
1267         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
1268         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
1269         (WebKitTests::CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded::runMyTest):
1270         * tests/CCQuadCullerTest.cpp:
1271         * tests/CCRenderSurfaceTest.cpp:
1272         * tests/FloatQuadTest.cpp:
1273         * tests/LayerChromiumTest.cpp:
1274         * tests/LinkHighlightTest.cpp:
1275         * tests/TiledLayerChromiumTest.cpp:
1276         * tests/WebTransformationMatrixTest.cpp:
1277         (WebKit::TEST):
1278         (WebKit):
1279
1280 2012-05-31  Ian Vollick  <vollick@chromium.org>
1281
1282         [chromium] Single thread proxy should not tick animations unless the layer renderer has been initialized
1283         https://bugs.webkit.org/show_bug.cgi?id=87873
1284
1285         Reviewed by James Robinson.
1286
1287         When the layer renderer fails to initialize, be sure to stop the animation timer.
1288
1289         * tests/CCLayerTreeHostTest.cpp:
1290         (CompositorFakeWebGraphicsContext3DWithTextureTracking):
1291         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::create):
1292         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::createTexture):
1293         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::deleteTexture):
1294         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::bindTexture):
1295         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numTextures):
1296         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::texture):
1297         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetTextures):
1298         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::numUsedTextures):
1299         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::usedTexture):
1300         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetUsedTextures):
1301         (WTF::CompositorFakeWebGraphicsContext3DWithTextureTracking::CompositorFakeWebGraphicsContext3DWithTextureTracking):
1302         (WTF):
1303         (WTF::TestHooks::didRecreateContext):
1304         (TestHooks):
1305         (WTF::TestHooks::createContext):
1306         (CCLayerTreeHostTest):
1307         (WTF::CCLayerTreeHostTest::clearEndTestTask):
1308         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1309         (EndTestTask):
1310         (WTF::CCLayerTreeHostTest::EndTestTask::EndTestTask):
1311         (WTF::CCLayerTreeHostTest::EndTestTask::~EndTestTask):
1312         (WTF::CCLayerTreeHostTest::EndTestTask::clearTest):
1313         (WTF::CCLayerTreeHostTest::EndTestTask::run):
1314         (WTF::CCLayerTreeHostTest::runTest):
1315         (WTF::CCLayerTreeHostTest::endTestAfterDelay):
1316         (FakeWebGraphicsContext3DMakeCurrentFails):
1317         (WTF::FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
1318         (CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation):
1319         (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation):
1320         (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::beginTest):
1321         (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::animateLayers):
1322         (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::didRecreateContext):
1323         (WTF::CCLayerTreeHostTestInitializeLayerRendererFailsAfterAddAnimation::afterTest):
1324         (WTF::TEST_F):
1325
1326 2012-05-15  Brett Wilson  <brettw@chromium.org>
1327
1328         Hook up GTK IsKeyPad flag for keyboard events, and preserve this flag
1329         on all platforms when converting back to a WebKeyboardEvent.
1330
1331         https://bugs.webkit.org/show_bug.cgi?id=86514
1332
1333         Reviewed by Dimitri Glazkov.
1334
1335         * src/WebInputEventConversion.cpp:
1336         (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
1337         * src/gtk/WebInputEventFactory.cpp:
1338         (WebKit::WebInputEventFactory::keyboardEvent):
1339         * tests/WebInputEventFactoryTestGtk.cpp:
1340
1341 2012-05-31  Alec Flett  <alecflett@chromium.org>
1342
1343         IndexedDB: Implement IDBTransaction.error and IDBRequest.error
1344         https://bugs.webkit.org/show_bug.cgi?id=87865
1345
1346         Reviewed by Tony Chang.
1347
1348         IDBDatabaseError now honors IDB-specific DOMException codes,
1349         so make sure that's how they are passed to/from chromium.
1350
1351         * src/WebIDBDatabaseError.cpp:
1352         (WebKit::WebIDBDatabaseError::assign):
1353
1354 2012-05-31  James Robinson  <jamesr@chromium.org>
1355
1356         [chromium] Assertion failures during compositor startup in lost context situations
1357         https://bugs.webkit.org/show_bug.cgi?id=87912
1358
1359         Reviewed by Adrienne Walker.
1360
1361         Adds a unit test verifying that even if we lose our context during or before initialization we get through the
1362         rest of the path without failing ASSERT()s.
1363
1364         * tests/LayerRendererChromiumTest.cpp:
1365         (LoseContextOnFirstGetContext):
1366         (LoseContextOnFirstGetContext::LoseContextOnFirstGetContext):
1367         (TEST):
1368
1369 2012-05-31  Sheriff Bot  <webkit.review.bot@gmail.com>
1370
1371         Unreviewed, rolling out r119125.
1372         http://trac.webkit.org/changeset/119125
1373         https://bugs.webkit.org/show_bug.cgi?id=88007
1374
1375         Will break android build if rolled (Requested by rafaelw_ on
1376         #webkit).
1377
1378         * public/WebMediaPlayer.h:
1379         (WebMediaPlayer):
1380         * src/WebMediaPlayerClientImpl.cpp:
1381         (WebKit::WebMediaPlayerClientImpl::bytesLoaded):
1382         * src/WebMediaPlayerClientImpl.h:
1383         (WebMediaPlayerClientImpl):
1384
1385 2012-05-31  Dana Jansens  <danakj@chromium.org>
1386
1387         [chromium] Move drawing code for RenderSurfaces into LayerRendererChromium
1388         https://bugs.webkit.org/show_bug.cgi?id=87877
1389
1390         Reviewed by James Robinson.
1391
1392         * tests/CCRenderSurfaceTest.cpp:
1393         (WebCore::TEST):
1394
1395 2012-05-31  Ami Fischman  <fischman@chromium.org>
1396
1397         Replace WebMediaPlayer::bytesLoaded() with an explicit didLoadingProgress()
1398         https://bugs.webkit.org/show_bug.cgi?id=86113
1399
1400         Reviewed by Eric Carlson.
1401
1402         * public/WebMediaPlayer.h:
1403         (WebMediaPlayer):
1404         * src/WebMediaPlayerClientImpl.cpp:
1405         (WebKit::WebMediaPlayerClientImpl::didLoadingProgress):
1406         * src/WebMediaPlayerClientImpl.h:
1407         (WebMediaPlayerClientImpl):
1408
1409 2012-05-31  Ian Vollick  <vollick@chromium.org>
1410
1411         [chromium] create WebTransformOperation interface for chromium platform
1412         https://bugs.webkit.org/show_bug.cgi?id=87510
1413
1414         Reviewed by James Robinson.
1415
1416         * WebKit.gypi:
1417         * tests/WebTransformOperationsTest.cpp: Added.
1418         (TEST):
1419         (checkProgress):
1420
1421 2012-05-31  Alexander Pavlov  <apavlov@chromium.org>
1422
1423         Web Inspector: [Chromium] Cannot bring Inspector to front when paused on breakpoint
1424         https://bugs.webkit.org/show_bug.cgi?id=87871
1425
1426         Reviewed by Yury Semikhatsky.
1427
1428         When input events handling is suppressed (due to the JS being paused on a breakpoint), we should report
1429         these events as NOT handled by the WebKit, so that the browser can handle them appropriately
1430         (on MacOS, switching between the application windows is done through the default key event handler, so if you run
1431         event.preventDefault() for all keydown events in a handler, the Chromium window switch will not occur on Cmd+`).
1432
1433         * src/WebViewImpl.cpp:
1434         (WebKit::WebViewImpl::handleInputEvent):
1435
1436 2012-05-31  Peter Beverloo  <peter@chromium.org>
1437
1438         Unreviewed.  Rolled DEPS.
1439
1440         * DEPS:
1441
1442 2012-05-30  Peter Beverloo  <peter@chromium.org>
1443
1444         [Chromium] Automatically install 64-bit linker for Android
1445         https://bugs.webkit.org/show_bug.cgi?id=79780
1446
1447         Reviewed by Adam Barth.
1448
1449         Change the Android-specific dependencies to inherit their revision from
1450         Chromium's DEPS file, like many other dependencies do, solving the
1451         versioning problem that we're running in to right now. These are listed
1452         in Chromium's main DEPS file starting Chromium r139529.
1453
1454         * DEPS:
1455
1456 2012-05-31  Yoshifumi Inoue  <yosin@chromium.org>
1457
1458         Build fix for Chromium Linux (Tests) after r119073.
1459
1460         * tests/DecimalTest.cpp:
1461         (TEST_F):
1462
1463 2012-05-31  Yoshifumi Inoue  <yosin@chromium.org>
1464
1465         [Platform] Introduce Decimal class for Number/Range input type.
1466         https://bugs.webkit.org/show_bug.cgi?id=87360
1467
1468         Reviewed by Kent Tamura.
1469
1470         This patch added unit test for Decimal class.
1471
1472         * WebKit.gypi:
1473         * tests/DecimalTest.cpp: Added.
1474         (WebCore):
1475         (WebCore::operator<<): Output Decimal for unit test debugging
1476         (DecimalStepRange):
1477         (DecimalStepRange::DecimalStepRange):
1478         (DecimalStepRange::clampValue):
1479         (DecimalTest):
1480         (DecimalTest::encode):
1481         (DecimalTest::fromString):
1482         (DecimalTest::stepDown):
1483         (DecimalTest::stepUp):
1484         (TEST_F):
1485
1486 2012-05-30  Yury Semikhatsky  <yurys@chromium.org>
1487
1488         Web Inspector: add MemoryUsageSupport::processMemorySizesInBytes
1489         https://bugs.webkit.org/show_bug.cgi?id=87830
1490
1491         Reviewed by James Robinson.
1492
1493         * public/platform/WebKitPlatformSupport.h: pulled getProcessMemorySize up
1494         to the Source/Platform/chromium/public/Platform.h
1495         * src/PlatformSupport.cpp:
1496
1497 2012-05-31  Kent Tamura  <tkent@chromium.org>
1498
1499         Unreviewed, rolling out r119062 and r119064.
1500         http://trac.webkit.org/changeset/119062
1501         http://trac.webkit.org/changeset/119064
1502         https://bugs.webkit.org/show_bug.cgi?id=87360
1503
1504         Broke build on Lion, SnowLoepard, Chromium Windows, and
1505         Chromium Linux 32
1506
1507         * WebKit.gypi:
1508         * tests/DecimalTest.cpp: Removed.
1509
1510 2012-05-30  Yoshifumi Inoue  <yosin@chromium.org>
1511
1512         [Platform] Introduce Decimal class for Number/Range input type.
1513         https://bugs.webkit.org/show_bug.cgi?id=87360
1514
1515         Reviewed by Kent Tamura.
1516
1517         This patch added unit test for Decimal class.
1518
1519         * WebKit.gypi:
1520         * tests/DecimalTest.cpp: Added.
1521         (WebCore):
1522         (WebCore::operator<<): Output Decimal for unit test debugging
1523         (DecimalStepRange):
1524         (DecimalStepRange::DecimalStepRange):
1525         (DecimalStepRange::clampValue):
1526         (DecimalTest):
1527         (DecimalTest::encode):
1528         (DecimalTest::fromString):
1529         (DecimalTest::stepDown):
1530         (DecimalTest::stepUp):
1531         (TEST_F):
1532
1533 2012-05-30  Shawn Singh  <shawnsingh@chromium.org>
1534
1535         [chromium] Fix min/max bounds error in CCMathUtil.cpp
1536         https://bugs.webkit.org/show_bug.cgi?id=87915
1537
1538         Reviewed by James Robinson.
1539
1540         * tests/CCMathUtilTest.cpp:
1541         (WebCore::TEST):
1542         (WebCore):
1543
1544 2012-05-30  Ami Fischman  <fischman@chromium.org>
1545
1546         Roll chromium DEPS from r139300 to r139542.  Unreviewed.
1547         https://bugs.webkit.org/show_bug.cgi?id=87868
1548
1549         * DEPS:
1550
1551 2012-05-30  Mark Pilgrim  <pilgrim@chromium.org>
1552
1553         [Chromium] Call fileUtilities methods directly
1554         https://bugs.webkit.org/show_bug.cgi?id=87852
1555
1556         Reviewed by Adam Barth.
1557
1558         Part of a refactoring series. See tracking bug 82948.
1559
1560         * src/PlatformSupport.cpp:
1561         (WebCore):
1562
1563 2012-05-30  Sheriff Bot  <webkit.review.bot@gmail.com>
1564
1565         Unreviewed, rolling out r118986.
1566         http://trac.webkit.org/changeset/118986
1567         https://bugs.webkit.org/show_bug.cgi?id=87914
1568
1569         Caused several IndexedDB browser_test failures on Chromium
1570         canary builders (Requested by rafaelw_ on #webkit).
1571
1572         * src/WebIDBDatabaseError.cpp:
1573         (WebKit::WebIDBDatabaseError::assign):
1574
1575 2012-05-30  Dominic Mazzoni  <dmazzoni@google.com>
1576
1577         AX: Chromium WebAccessibilityObject should check if an AccessibilityObject is detached
1578         https://bugs.webkit.org/show_bug.cgi?id=87778
1579
1580         Reviewed by Adam Barth.
1581
1582         Pretty simple - all places that previously just checked for null
1583         now also check if the wrapped AccessibilityObject is detached.
1584
1585         * public/WebAccessibilityObject.h:
1586         (WebAccessibilityObject):
1587         * src/WebAccessibilityObject.cpp:
1588         (WebKit::WebAccessibilityObject::isDetached):
1589         (WebKit):
1590         (WebKit::WebAccessibilityObject::axID):
1591         (WebKit::WebAccessibilityObject::accessibilityDescription):
1592         (WebKit::WebAccessibilityObject::actionVerb):
1593         (WebKit::WebAccessibilityObject::canSetFocusAttribute):
1594         (WebKit::WebAccessibilityObject::canSetValueAttribute):
1595         (WebKit::WebAccessibilityObject::isValid):
1596         (WebKit::WebAccessibilityObject::childCount):
1597         (WebKit::WebAccessibilityObject::childAt):
1598         (WebKit::WebAccessibilityObject::firstChild):
1599         (WebKit::WebAccessibilityObject::focusedChild):
1600         (WebKit::WebAccessibilityObject::lastChild):
1601         (WebKit::WebAccessibilityObject::nextSibling):
1602         (WebKit::WebAccessibilityObject::parentObject):
1603         (WebKit::WebAccessibilityObject::previousSibling):
1604         (WebKit::WebAccessibilityObject::canSetSelectedAttribute):
1605         (WebKit::WebAccessibilityObject::isAnchor):
1606         (WebKit::WebAccessibilityObject::isAriaReadOnly):
1607         (WebKit::WebAccessibilityObject::isButtonStateMixed):
1608         (WebKit::WebAccessibilityObject::isChecked):
1609         (WebKit::WebAccessibilityObject::isCollapsed):
1610         (WebKit::WebAccessibilityObject::isControl):
1611         (WebKit::WebAccessibilityObject::isEnabled):
1612         (WebKit::WebAccessibilityObject::isFocused):
1613         (WebKit::WebAccessibilityObject::isHovered):
1614         (WebKit::WebAccessibilityObject::isIndeterminate):
1615         (WebKit::WebAccessibilityObject::isLinked):
1616         (WebKit::WebAccessibilityObject::isLoaded):
1617         (WebKit::WebAccessibilityObject::isMultiSelectable):
1618         (WebKit::WebAccessibilityObject::isOffScreen):
1619         (WebKit::WebAccessibilityObject::isPasswordField):
1620         (WebKit::WebAccessibilityObject::isPressed):
1621         (WebKit::WebAccessibilityObject::isReadOnly):
1622         (WebKit::WebAccessibilityObject::isRequired):
1623         (WebKit::WebAccessibilityObject::isSelected):
1624         (WebKit::WebAccessibilityObject::isSelectedOptionActive):
1625         (WebKit::WebAccessibilityObject::isVertical):
1626         (WebKit::WebAccessibilityObject::isVisible):
1627         (WebKit::WebAccessibilityObject::isVisited):
1628         (WebKit::WebAccessibilityObject::accessKey):
1629         (WebKit::WebAccessibilityObject::ariaHasPopup):
1630         (WebKit::WebAccessibilityObject::ariaLiveRegionAtomic):
1631         (WebKit::WebAccessibilityObject::ariaLiveRegionBusy):
1632         (WebKit::WebAccessibilityObject::ariaLiveRegionRelevant):
1633         (WebKit::WebAccessibilityObject::ariaLiveRegionStatus):
1634         (WebKit::WebAccessibilityObject::boundingBoxRect):
1635         (WebKit::WebAccessibilityObject::estimatedLoadingProgress):
1636         (WebKit::WebAccessibilityObject::helpText):
1637         (WebKit::WebAccessibilityObject::headingLevel):
1638         (WebKit::WebAccessibilityObject::hierarchicalLevel):
1639         (WebKit::WebAccessibilityObject::hitTest):
1640         (WebKit::WebAccessibilityObject::keyboardShortcut):
1641         (WebKit::WebAccessibilityObject::performDefaultAction):
1642         (WebKit::WebAccessibilityObject::roleValue):
1643         (WebKit::WebAccessibilityObject::selectionEnd):
1644         (WebKit::WebAccessibilityObject::selectionStart):
1645         (WebKit::WebAccessibilityObject::setFocused):
1646         (WebKit::WebAccessibilityObject::stringValue):
1647         (WebKit::WebAccessibilityObject::title):
1648         (WebKit::WebAccessibilityObject::titleUIElement):
1649         (WebKit::WebAccessibilityObject::url):
1650         (WebKit::WebAccessibilityObject::valueDescription):
1651         (WebKit::WebAccessibilityObject::valueForRange):
1652         (WebKit::WebAccessibilityObject::maxValueForRange):
1653         (WebKit::WebAccessibilityObject::minValueForRange):
1654         (WebKit::WebAccessibilityObject::node):
1655         (WebKit::WebAccessibilityObject::document):
1656         (WebKit::WebAccessibilityObject::hasComputedStyle):
1657         (WebKit::WebAccessibilityObject::computedStyleDisplay):
1658         (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
1659         (WebKit::WebAccessibilityObject::lineBreaks):
1660         (WebKit::WebAccessibilityObject::columnCount):
1661         (WebKit::WebAccessibilityObject::rowCount):
1662
1663 2012-05-30  Shawn Singh  <shawnsingh@chromium.org>
1664
1665         Simplify TransformationMatrix rotation code to improve precision
1666         https://bugs.webkit.org/show_bug.cgi?id=86666
1667
1668         Reviewed by Adrienne Walker.
1669
1670         * tests/CCLayerTreeHostCommonTest.cpp:
1671         (WebKitTests::TEST):
1672         * tests/WebTransformationMatrixTest.cpp:
1673         (WebKit::TEST):
1674         (WebKit):
1675
1676 2012-05-30  Alec Flett  <alecflett@chromium.org>
1677
1678         IndexedDB: Implement IDBTransaction.error and IDBRequest.error
1679         https://bugs.webkit.org/show_bug.cgi?id=87865
1680
1681         Reviewed by Tony Chang.
1682
1683         IDBDatabaseError now honors IDB-specific DOMException codes,
1684         so make sure that's how they are passed to/from chromium.
1685
1686         * src/WebIDBDatabaseError.cpp:
1687         (WebKit::WebIDBDatabaseError::assign):
1688
1689 2012-05-30  Shawn Singh  <shawnsingh@chromium.org>
1690
1691         [chromium] Merge shared code in CCOcclusionTrackerTest
1692         https://bugs.webkit.org/show_bug.cgi?id=87798
1693
1694         Reviewed by Adrienne Walker.
1695
1696         This patch simple uses a different existing macro function so that
1697         the same thing doesn't exist in multiple places, and so that the
1698         naming is more consistent with gtest's conventions.
1699
1700         * tests/CCOcclusionTrackerTest.cpp:
1701         (WebKitTests::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
1702         (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
1703         (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
1704         (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
1705         (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
1706         (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
1707         (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
1708         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
1709         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
1710         (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
1711         (WebKitTests::CCOcclusionTrackerTestReplicaDoesOcclude::runMyTest):
1712         (WebKitTests::CCOcclusionTrackerTestReplicaWithClipping::runMyTest):
1713         (WebKitTests::CCOcclusionTrackerTestReplicaWithMask::runMyTest):
1714         (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
1715         (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
1716         (WebKitTests::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
1717         (WebKitTests::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
1718         (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
1719         (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
1720         (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
1721         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
1722         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
1723         (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
1724         (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
1725         (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesWithClipping::runMyTest):
1726         (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
1727         (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
1728         (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
1729         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
1730         (WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor::runMyTest):
1731         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
1732         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
1733         (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
1734         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip::runMyTest):
1735         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
1736         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
1737         (WebKitTests::CCOcclusionTrackerTestMinimumTrackingSize::runMyTest):
1738
1739 2012-05-30  Tony Chang  <tony@chromium.org>
1740
1741         [chromium] port webframe_unittest.cc to webkit_unit_tests
1742         https://bugs.webkit.org/show_bug.cgi?id=87796
1743
1744         Reviewed by James Robinson.
1745
1746         Move WebFrameTest.GetContentAsPlainText and WebFrameTest.GetFullHtmlOfPage to webkit_unit_tests.
1747
1748         * tests/WebFrameTest.cpp:
1749         (WebKit::TEST_F):
1750         (WebKit): Add tests.
1751
1752 2012-05-30  Jochen Eisinger  <jochen@chromium.org>
1753
1754         Match Firefox restrictions to window.blur and window.focus
1755         https://bugs.webkit.org/show_bug.cgi?id=86969
1756
1757         Reviewed by Adam Barth.
1758
1759         Allow window.focus() during the dispatch of the click event on
1760         notifications.
1761
1762         * src/WebNotification.cpp:
1763         (WebKit::WebNotification::dispatchClickEvent):
1764
1765 2012-05-29  Mark Pilgrim  <pilgrim@chromium.org>
1766
1767         [Chromium] Move fileExists to Platform.h
1768         https://bugs.webkit.org/show_bug.cgi?id=87531
1769
1770         Reviewed by Adam Barth.
1771
1772         Part of a refactoring series. See tracking bug 82948.
1773
1774         * src/PlatformSupport.cpp:
1775         (WebCore):
1776
1777 2012-05-29  Alec Flett  <alecflett@chromium.org>
1778
1779         IndexedDB: Align codes and names for IDB-specific and DOM-specific errors/exceptions
1780         https://bugs.webkit.org/show_bug.cgi?id=87276
1781
1782         Reviewed by Tony Chang.
1783
1784         * public/WebIDBDatabaseException.h:
1785         * src/AssertMatchingEnums.cpp:
1786
1787 2012-05-29  Rafael Weinstein  <rafaelw@chromium.org>
1788
1789         Unreviewed.  Rolled DEPS.
1790
1791         * DEPS:
1792
1793 2012-05-29  Dana Jansens  <danakj@chromium.org>
1794
1795         [chromium] Unoccluded area in surfaces should always be clipped to the rootScissorRect
1796         https://bugs.webkit.org/show_bug.cgi?id=87677
1797
1798         Reviewed by Adrienne Walker.
1799
1800         * tests/CCOcclusionTrackerTest.cpp:
1801         (CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor):
1802         (WebKitTests::CCOcclusionTrackerTestTopmostSurfaceIsClippedToScissor::runMyTest):
1803         (WebKitTests):
1804
1805 2012-05-29  David Barr  <davidbarr@chromium.org>
1806
1807         Introduce ENABLE_CSS_IMAGE_RESOLUTION compile flag
1808         https://bugs.webkit.org/show_bug.cgi?id=87685
1809
1810         Reviewed by Eric Seidel.
1811
1812         Add a configuration option for CSS image-resolution support, disabling it by default.
1813
1814         * features.gypi:
1815
1816 2012-05-29  Peter Beverloo  <peter@chromium.org>
1817
1818         Unreviewed.  Rolled DEPS.
1819
1820         * DEPS:
1821
1822 2012-05-29  Hironori Bono  <hbono@chromium.org>
1823
1824         Use WebSpellCheckClient::spellcheck to retrieve suggestions.
1825         https://bugs.webkit.org/show_bug.cgi?id=87690
1826
1827         Reviewed by Hajime Morita.
1828
1829         This change uses WebSpellCheckClient::spellcheck as a fallback method to
1830         retrieve suggestions when a marker does not have any suggestions. (It consumes
1831         lots of CPU power to get suggestions for misspelled word, i.e. Chromium cannot
1832         afford to attach suggestions to all spelling markers.)
1833
1834         * src/ContextMenuClientImpl.cpp:
1835         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Retrieve suggestions if markers do not have any.
1836
1837 2012-05-28  Takashi Toyoshima  <toyoshim@chromium.org>
1838
1839         [WebSocket] Receiving reserved close codes, 1005, 1006, and 1015 must appear as code=1006 and wasClean=false
1840         https://bugs.webkit.org/show_bug.cgi?id=87084
1841
1842         Reviewed by Kent Tamura.
1843
1844         Update close event codes corresponding to WebSocketChannel::CloseEventCode.
1845
1846         * public/WebSocket.h: Update on newly defined close event codes
1847
1848 2012-05-28  MORITA Hajime  <morrita@google.com>
1849
1850         Rename FrameLoaderClient::shadowDOMAllowed() to allowShadowDOM()
1851         https://bugs.webkit.org/show_bug.cgi?id=87101
1852
1853         Reviewed by Kentaro Hara.
1854
1855         * src/FrameLoaderClientImpl.cpp:
1856         (WebKit::FrameLoaderClientImpl::allowShadowDOM):
1857         * src/FrameLoaderClientImpl.h:
1858         (FrameLoaderClientImpl):
1859
1860 2012-05-28  Rob Flack  <flackr@chromium.org>
1861
1862         [chromium] Only increase size of Combo Box Options when displayed on touch screen
1863         https://bugs.webkit.org/show_bug.cgi?id=85921
1864
1865         Reviewed by Adam Barth.
1866
1867         Adds a flag to set whether the current device is a touch screen, independent of whether touch events are supported and use this for the combo box sizing.
1868
1869         * public/WebSettings.h:
1870         * src/WebSettingsImpl.cpp:
1871         (WebKit::WebSettingsImpl::defaultDeviceScaleFactor):
1872         (WebKit):
1873         (WebKit::WebSettingsImpl::setDeviceSupportsTouch):
1874         (WebKit::WebSettingsImpl::deviceSupportsTouch):
1875         * src/WebSettingsImpl.h:
1876         (WebSettingsImpl):
1877         * src/WebViewImpl.cpp:
1878         (WebKit::WebViewImpl::applyAutofillSuggestions):
1879         * tests/PopupMenuTest.cpp:
1880         (WebKit::SelectPopupMenuTest::SetUp):
1881         (WebKit::SelectPopupMenuTest::TearDown):
1882         (SelectPopupMenuTest):
1883         (WebKit::TEST_F):
1884
1885 2012-05-25  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1886
1887         WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
1888         https://bugs.webkit.org/show_bug.cgi?id=42328
1889
1890         Reviewed by Eric Seidel.
1891
1892         Removed private APIs that were only being used by DRT.
1893
1894         * public/WebDevToolsAgent.h:
1895         (WebDevToolsAgent):
1896         * src/WebDevToolsAgentImpl.cpp:
1897         * src/WebDevToolsAgentImpl.h:
1898         (WebDevToolsAgentImpl):
1899
1900 2012-05-28  Peter Beverloo  <peter@chromium.org>
1901
1902         Unreviewed.  Rolled DEPS.
1903
1904         * DEPS:
1905
1906 2012-05-28  Peter Beverloo  <peter@chromium.org>
1907
1908         [Chromium] Build fix for the Android bot, set CXX_target at gyp generation-time
1909         https://bugs.webkit.org/show_bug.cgi?id=87649
1910
1911         Unreviewed build fix.
1912
1913         Chromium Android builds were broken because v8 tried to compile files
1914         for target with the "-m32" flag. This was caused by a v8 check falling
1915         back to using "which g++" to find the right compiler, whereas it should
1916         have used the $CXX_target environment variable. This isn't being set
1917         for Android builds.
1918
1919         * gyp_webkit: Set the CXX_target environment variable. Annotate the fix
1920           with a FIXME comment too.
1921
1922 2012-05-28  Keishi Hattori  <keishi@webkit.org>
1923
1924         Expose value localization function of HTMLInputElement
1925         https://bugs.webkit.org/show_bug.cgi?id=84356
1926
1927         Reviewed by Kent Tamura.
1928
1929         * public/WebInputElement.h:
1930         (WebInputElement):
1931         * src/WebInputElement.cpp:
1932         (WebKit::WebInputElement::localizeValue):
1933         (WebKit):
1934
1935 2012-05-28  MORITA Hajime <morrita@google.com>
1936
1937         Unreviewed Mac Chromium build fix.
1938
1939         * src/FrameLoaderClientImpl.cpp:
1940         (WebKit::FrameLoaderClientImpl::allowStyleScoped):
1941
1942 2012-05-28  MORITA Hajime  <morrita@google.com>
1943
1944         https://bugs.webkit.org/show_bug.cgi?id=87609
1945         [Chromium] FrameLoaderClient::allowStyleScoped() should be implemented interms of WebPermissionClient
1946
1947         Reviewed by Kent Tamura.
1948
1949         Added allowStyleScoped() implementation which is essentially same as shadowDOMAllowed().
1950
1951         * src/FrameLoaderClientImpl.cpp:
1952         * src/FrameLoaderClientImpl.h:
1953         (FrameLoaderClientImpl):
1954
1955 2012-05-25  Ryosuke Niwa  <rniwa@webkit.org>
1956
1957         Roll chromium DEPS from r139156 to r139184.
1958
1959         * DEPS:
1960
1961 2012-05-25  Garrett Casto  <gcasto@chromium.org>
1962
1963         Allow WebTextFieldDecoratorClient to see applied decorations.
1964         https://bugs.webkit.org/show_bug.cgi?id=86557
1965
1966         Reviewed by Kent Tamura.
1967
1968         * WebKit.gyp: Added new files.
1969         * public/WebInputElement.h:
1970         (WebKit::WebInputElement::decorationElementFor): Returns the
1971         WebElement attached to the WebInputElement by the given
1972         WebTextFieldDecoratorClient, if one exists.
1973         * src/TextFieldDecoratorImpl.cpp:
1974         (WebKit):
1975         * src/TextFieldDecoratorImpl.h:
1976         (TextFieldDecoratorImpl::decoratorClient): Get the
1977         WebTextFieldDecoratorClient owned by this object.
1978
1979 2012-05-25  Mihai Parparita  <mihaip@chromium.org>
1980
1981         Allow synchronous XHRs to be disabled in documents
1982         https://bugs.webkit.org/show_bug.cgi?id=87540
1983
1984         Reviewed by Eric Seidel.
1985
1986         Synchronous XMLHttpRequests are a problematic API, since they result
1987         in blocked UI threads. Some clients may wish to always disable them;
1988         give them a setting to do so (see also r103629 for other cases where
1989         synchronous XHRs are disabled).
1990
1991         * public/WebSettings.h:
1992         * src/WebSettingsImpl.cpp:
1993         (WebKit::WebSettingsImpl::setSyncXHRInDocumentsEnabled):
1994         (WebKit):
1995         * src/WebSettingsImpl.h:
1996         (WebSettingsImpl):
1997
1998 2012-05-25  Kinuko Yasuda  <kinuko@chromium.org>
1999
2000         [chromium] Deprecate FileUtilities::getFileSize and getFileModifiedTime in favor of getFileMetadata
2001         https://bugs.webkit.org/show_bug.cgi?id=87492
2002
2003         Reviewed by Adam Barth.
2004
2005         * src/PlatformSupport.cpp:
2006         (WebCore::PlatformSupport::getFileMetadata):
2007
2008 2012-05-25  Ryosuke Niwa  <rniwa@webkit.org>
2009
2010         Roll Chromium DEPS from r139024 to r139156 in an attempt to fix Chromium Win builds.
2011
2012         * DEPS:
2013
2014 2012-05-25  Mark Pilgrim  <pilgrim@chromium.org>
2015
2016         [Chomium] Move sandboxSupport to Platform.h
2017         https://bugs.webkit.org/show_bug.cgi?id=87518
2018
2019         Reviewed by Adam Barth.
2020
2021         Part of a refactoring series. See tracking bug 82948.
2022
2023         * WebKit.gyp:
2024         * public/platform/WebKitPlatformSupport.h:
2025         (WebKit):
2026         (WebKitPlatformSupport):
2027         * public/platform/android/WebSandboxSupport.h:
2028         * public/platform/linux/WebFontFamily.h:
2029         * public/platform/linux/WebSandboxSupport.h:
2030         * public/platform/mac/WebSandboxSupport.h:
2031         * public/platform/win/WebSandboxSupport.h:
2032         * src/PlatformSupport.cpp:
2033         (WebCore::PlatformSupport::ensureFontLoaded):
2034         (WebCore::PlatformSupport::loadFont):
2035         (WebCore::PlatformSupport::getFontFamilyForCharacters):
2036         (WebCore::PlatformSupport::getRenderStyleForStrike):
2037
2038 2012-05-25  Dana Jansens  <danakj@chromium.org>
2039
2040         [chromium] WebLayerTreeViewImpl should not hide methods in CCLayerTreeHost with signatures that match the Client interface
2041         https://bugs.webkit.org/show_bug.cgi?id=87301
2042
2043         Reviewed by James Robinson.
2044
2045         Most methods in the CCLayerTreeHostClient interface have a matching
2046         method signature on CCLayerTreeHost that simply calls the client, if
2047         one exists at all. However, CCLayerTreeHost::updateAnimations() does
2048         important work in addition to calling the client.
2049
2050         Currently WebLayerTreeViewImpl itself implements the interface for
2051         CCLayerTreeHostClient as well as CCLayerTreeHost, and simply forwards
2052         any call to a method in the client interface to its own client. This
2053         blocks WebViewImpl from calling CCLayerTreeHost::updateAnimations, since
2054         the method is also in the client interface.
2055
2056         We change WebLayerTreeViewImpl to own a CCLayerTreeHost and a
2057         WebLayerTreeHostClientAdapter. This fixes the shadowing by making
2058         the two interfaces separate, and resolves lifetime issues by
2059         ensuring that the CCLayerTreeHost is destroyed before its client.
2060
2061         * src/WebLayerTreeView.cpp:
2062         (WebKit::WebLayerTreeView::setSurfaceReady):
2063         (WebKit::WebLayerTreeView::setRootLayer):
2064         (WebKit::WebLayerTreeView::compositorIdentifier):
2065         (WebKit::WebLayerTreeView::setViewportSize):
2066         (WebKit::WebLayerTreeView::viewportSize):
2067         (WebKit::WebLayerTreeView::setBackgroundColor):
2068         (WebKit::WebLayerTreeView::setVisible):
2069         (WebKit::WebLayerTreeView::setPageScaleFactorAndLimits):
2070         (WebKit::WebLayerTreeView::startPageScaleAnimation):
2071         (WebKit::WebLayerTreeView::setNeedsAnimate):
2072         (WebKit::WebLayerTreeView::setNeedsRedraw):
2073         (WebKit::WebLayerTreeView::commitRequested):
2074         (WebKit::WebLayerTreeView::composite):
2075         (WebKit::WebLayerTreeView::updateAnimations):
2076         (WebKit::WebLayerTreeView::compositeAndReadback):
2077         (WebKit::WebLayerTreeView::finishAllRendering):
2078         (WebKit::WebLayerTreeView::context):
2079         (WebKit::WebLayerTreeView::loseCompositorContext):
2080         * src/WebLayerTreeViewImpl.cpp:
2081         (WebKit):
2082         (WebLayerTreeViewClientAdapter):
2083         (WebKit::WebLayerTreeViewClientAdapter::WebLayerTreeViewClientAdapter):
2084         (WebKit::WebLayerTreeViewClientAdapter::~WebLayerTreeViewClientAdapter):
2085         (WebKit::WebLayerTreeViewImpl::create):
2086         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
2087         (WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
2088         * src/WebLayerTreeViewImpl.h:
2089         (WebCore):
2090         (WebKit):
2091         (WebKit::WebLayerTreeViewImpl::layerTreeHost):
2092         (WebLayerTreeViewImpl):
2093
2094 2012-05-25  Kinuko Yasuda  <kinuko@chromium.org>
2095
2096         Unreviewed; rolling chromium deps.
2097
2098         * DEPS:
2099
2100 2012-05-25  W. James MacLean  <wjmaclean@chromium.org>
2101
2102         [chromium] LayerChromium should recognise existing layer active animations when the layer is added.
2103         https://bugs.webkit.org/show_bug.cgi?id=87166
2104
2105         Reviewed by Adrienne Walker.
2106
2107         * tests/CCLayerTreeHostTest.cpp:
2108         (WTF::MockLayerTreeHost::didAddAnimationWasCalled):
2109         (MockLayerTreeHost):
2110         (WTF::MockLayerTreeHost::MockLayerTreeHost):
2111         (WTF):
2112         (CCLayerTreeHostTestLayerAddedWithAnimation):
2113         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::CCLayerTreeHostTestLayerAddedWithAnimation):
2114         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
2115         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::afterTest):
2116
2117 2012-05-17  Andrey Kosyakov  <caseq@chromium.org>
2118
2119         [chromium] add instrumentation for compositing
2120         https://bugs.webkit.org/show_bug.cgi?id=83928
2121
2122         Reviewed by James Robinson.
2123
2124         - plumb willCommit() and didComposite() to inspector instrumentation via WebViewImpl.
2125
2126         * WebKit.gypi: Added WebLayerTreeViewTest
2127         * src/WebLayerTreeViewImpl.cpp:
2128         (WebKit::WebLayerTreeViewImpl::didBeginFrame):
2129         (WebKit):
2130         (WebKit::WebLayerTreeViewImpl::willCommit):
2131         * src/WebLayerTreeViewImpl.h:
2132         (WebLayerTreeViewImpl):
2133         * src/WebViewImpl.cpp:
2134         (WebKit::WebViewImpl::didBeginFrame):
2135         (WebKit):
2136         (WebKit::WebViewImpl::willCommit):
2137         * src/WebViewImpl.h:
2138         (WebViewImpl):
2139         * tests/CCLayerTreeHostTest.cpp:
2140         * tests/FakeCCLayerTreeHostClient.h:
2141         * tests/WebLayerTest.cpp:
2142         * tests/WebLayerTreeViewTest.cpp: Added.
2143
2144 2012-05-25  Peter Beverloo  <peter@chromium.org>
2145
2146         [Chromium] Pull in Android tools from Chromium's repo through the DEPS file
2147         https://bugs.webkit.org/show_bug.cgi?id=87478
2148
2149         Reviewed by Kent Tamura.
2150
2151         Chromium's r122048 added the forwarder tool, which forwards a TCP port
2152         listening on the device to a port on the host. This now is a required
2153         dependency of DumpRenderTree, so pull it in.
2154
2155         Since it's likely that more tools will be required, pull in the entire
2156         tools/android/ directory in case the Chromium port for Android is being
2157         checked out or updated.
2158
2159         * DEPS: Added Android-specific dependency on tools/android/
2160
2161 2012-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>
2162
2163         Unreviewed, rolling out r118461.
2164         http://trac.webkit.org/changeset/118461
2165         https://bugs.webkit.org/show_bug.cgi?id=87468
2166
2167         Breaks two chromium browser_tests. (Requested by vsevik on
2168         #webkit).
2169
2170         * src/WebViewImpl.cpp:
2171         (WebKit::WebViewImpl::resize):
2172
2173 2012-05-24  Tim Horton  <timothy_horton@apple.com>
2174
2175         Add feature defines for web-facing parts of CSS Regions and Exclusions
2176         https://bugs.webkit.org/show_bug.cgi?id=87442
2177         <rdar://problem/10887709>
2178
2179         Reviewed by Dan Bernstein.
2180
2181         * features.gypi:
2182
2183 2012-05-24  Kent Tamura  <tkent@chromium.org>
2184
2185         PAGE_POPUP: window.setValueAndClosePopup should be moved to a
2186         per-context property of DOMWindow.
2187         https://bugs.webkit.org/show_bug.cgi?id=87086
2188
2189         Reviewed by Adam Barth.
2190
2191         * src/WebPagePopupImpl.cpp:
2192         (WebKit): Add PagePopupFrameLoaderClient, which allows window.pagePopupController.
2193         (WebKit::WebPagePopupImpl::initPage):
2194          - Use PagePopupFrameLoaderClient
2195          - Remove the call of ScriptController::installFunctionsForPagePopup().
2196          - Call DOMWindowPagePopup::install() to inform m_popupClient to a
2197            DOMWindowPagePopup object for the DOMWindow.
2198
2199 2012-05-21  Kinuko Yasuda  <kinuko@chromium.org>
2200
2201         Cleanup: add a file system call which captures the file metadata at once.
2202         https://bugs.webkit.org/show_bug.cgi?id=86995
2203
2204         Reviewed by David Levin.
2205
2206         * src/PlatformSupport.cpp:
2207         (WebCore::PlatformSupport::getFileMetadata):
2208         (WebCore):
2209
2210 2012-05-24  Hironori Bono  <hbono@chromium.org>
2211
2212         Enable grammar checking on Chromium when we paste text  (Take 2)
2213         https://bugs.webkit.org/show_bug.cgi?id=74393
2214
2215         Reviewed by Ryosuke Niwa.
2216
2217         This change enables grammar checking on Chromium and implements a mock grammar
2218         checker to fix a failing test.
2219
2220         * src/ContextMenuClientImpl.cpp:
2221         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Show suggestions when we right-click grammatically-misspelled words.
2222         * src/EditorClientImpl.cpp:
2223         (WebKit::EditorClientImpl::isGrammarCheckingEnabled): Enable grammar checking when we enable asynchronous spellchecking.
2224         (WebKit::EditorClientImpl::checkGrammarOfString): set badGrammarLocation to -1 to avoid an assertion error.
2225         * src/WebTextCheckingResult.cpp:
2226         (WebKit::WebTextCheckingResult::operator TextCheckingResult): Fill GrammarDetails for grammatical errors.
2227
2228 2012-05-24  Alexandre Elias  <aelias@google.com>
2229
2230         [chromium] Support mobile device rotation resizing
2231         https://bugs.webkit.org/show_bug.cgi?id=86819
2232
2233         Reviewed by Adam Barth.
2234
2235         Resizes on a mobile device are caused either by rotation or
2236         on-screen-keyboard bringup, and need different treatment to remain
2237         naturally laid out, scaled and scrolled without disorienting the user.
2238
2239         * src/WebViewImpl.cpp:
2240         (WebKit::WebViewImpl::resize):
2241
2242 2012-05-24  Antoine Labour  <piman@chromium.org>
2243
2244         [chromium] Add a setForceRenderSurface to WebLayer for test/bench purpose
2245         https://bugs.webkit.org/show_bug.cgi?id=87436
2246
2247         Reviewed by James Robinson.
2248
2249         * src/WebLayer.cpp:
2250         (WebKit::WebLayer::setForceRenderSurface):
2251         (WebKit):
2252         (WebKit::WebLayer::forceRenderSurface):
2253         * tests/CCLayerTreeHostCommonTest.cpp:
2254         (WebKitTests::TEST):
2255         (WebKitTests):
2256         * tests/LayerChromiumTest.cpp:
2257
2258 2012-05-24  Adam Barth  <abarth@webkit.org>
2259
2260         Fix the chromium-android build.
2261
2262         * features.gypi:
2263
2264 2012-05-24  John Mellor  <johnme@chromium.org>
2265
2266         Font Boosting: Add compile flag and runtime setting
2267         https://bugs.webkit.org/show_bug.cgi?id=87394
2268
2269         Reviewed by Adam Barth.
2270
2271         Expose fontBoostingEnabled runtime setting via WebSettings.
2272
2273         * features.gypi:
2274         * public/WebSettings.h:
2275         * src/WebSettingsImpl.cpp:
2276         (WebKit::WebSettingsImpl::setFontBoostingEnabled):
2277         (WebKit):
2278         * src/WebSettingsImpl.h:
2279         (WebSettingsImpl):
2280
2281 2012-05-24  Kinuko Yasuda  <kinuko@chromium.org>
2282
2283         Cleanup: introduce toFile() to reduce static cast from Blob to File
2284         https://bugs.webkit.org/show_bug.cgi?id=87234
2285
2286         Reviewed by Eric Seidel.
2287
2288         * src/WebDragData.cpp:
2289         (WebKit::WebDragData::items):
2290
2291 2012-05-24  Lu Guanqun  <guanqun.lu@intel.com>
2292
2293         use built-in data type DashArray
2294         https://bugs.webkit.org/show_bug.cgi?id=87344
2295
2296         Reviewed by Eric Seidel.
2297
2298         * tests/PlatformContextSkiaTest.cpp:
2299         (WebCore::TEST):
2300
2301 2012-05-24  Mark Pilgrim  <pilgrim@chromium.org>
2302
2303         [Chromium] Move queryLocalizedString to Platform.h
2304         https://bugs.webkit.org/show_bug.cgi?id=85762
2305
2306         Reviewed by Adam Barth.
2307
2308         Part of a refactoring series. See tracking bug 82948.
2309
2310         * WebKit.gyp:
2311         * public/platform/WebKitPlatformSupport.h:
2312         (WebKit::WebKitPlatformSupport::getPluginList):
2313         * public/platform/WebLocalizedString.h:
2314         * src/LocalizedStrings.cpp:
2315         (WebCore::query):
2316
2317 2012-05-24  Dana Jansens  <danakj@chromium.org>
2318
2319         [chromium] Only display frames created with memory allocations meant to be displayed
2320         https://bugs.webkit.org/show_bug.cgi?id=85108
2321
2322         Reviewed by Adrienne Walker.
2323
2324         Removing code to protect visible textures when a tab becomes invisible,
2325         as we want to reduce our memory limit for invisible tabs and these
2326         textures should not be saved.
2327
2328         * src/NonCompositedContentHost.cpp:
2329         * src/NonCompositedContentHost.h:
2330         (NonCompositedContentHost):
2331         * src/WebViewImpl.cpp:
2332         (WebKit::WebViewImpl::setVisibilityState):
2333         * tests/CCLayerTreeHostTest.cpp:
2334         (WTF::TestHooks::didCommit):
2335         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
2336         (WTF::CCLayerTreeHostTest::scheduleComposite):
2337         (WTF::CCLayerTreeHostTest::dispatchComposite):
2338         (CCLayerTreeHostTest):
2339         (WTF::CCLayerTreeHostTest::doBeginTest):
2340         (CCLayerTreeHostTestTickAnimationWhileBackgrounded):
2341         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::willAnimateLayers):
2342         (CCLayerTreeHostTestVisibilityAndAllocationControlDrawing):
2343         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing):
2344         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::beginTest):
2345         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommitAndDrawFrame):
2346         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommit):
2347         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::commitCompleteOnCCThread):
2348         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::afterTest):
2349         (WTF):
2350
2351 2012-05-24  Sheriff Bot  <webkit.review.bot@gmail.com>
2352
2353         Unreviewed, rolling out r118352.
2354         http://trac.webkit.org/changeset/118352
2355         https://bugs.webkit.org/show_bug.cgi?id=87390
2356
2357         Caused 6 editing/spelling tests crash/fail on chromium in
2358         debug. (Requested by vsevik on #webkit).
2359
2360         * src/ContextMenuClientImpl.cpp:
2361         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2362         * src/EditorClientImpl.cpp:
2363         (WebKit::EditorClientImpl::isGrammarCheckingEnabled):
2364         * src/WebTextCheckingResult.cpp:
2365         (WebKit::WebTextCheckingResult::operator TextCheckingResult):
2366
2367 2012-05-24  Ian Vollick  <vollick@chromium.org>
2368
2369         [chromium] Forcibly sync running animations in the waiting state when synchronized start times are needed.
2370         https://bugs.webkit.org/show_bug.cgi?id=87153
2371
2372         Reviewed by James Robinson.
2373
2374         * tests/CCLayerAnimationControllerTest.cpp:
2375         (WebKitTests::TEST):
2376         (WebKitTests):
2377
2378 2012-05-23  Yury Semikhatsky  <yurys@chromium.org>
2379
2380         Web Inspector: add a command to InspectorMemoryAgent for getting process memory break down
2381         https://bugs.webkit.org/show_bug.cgi?id=87263
2382
2383         Reviewed by Pavel Feldman.
2384
2385         Added an API for retrieving render process private and shared memory in bytes.
2386
2387         * public/platform/WebKitPlatformSupport.h:
2388         (WebKitPlatformSupport):
2389         (WebKit::WebKitPlatformSupport::getProcessMemorySize):
2390         * src/PlatformSupport.cpp:
2391         (WebCore::PlatformSupport::getProcessMemorySize):
2392         (WebCore):
2393
2394 2012-05-24  Hironori Bono  <hbono@chromium.org>
2395
2396         Enable grammar checking on Chromium when we paste text.
2397         https://bugs.webkit.org/show_bug.cgi?id=74393
2398
2399         Reviewed by Hajime Morita.
2400
2401         This change enables grammar checking on Chromium and implements a mock grammar
2402         checker to fix a failing test.
2403
2404         * src/ContextMenuClientImpl.cpp:
2405         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Show suggestions when we right-click grammatically-misspelled words.
2406         * src/EditorClientImpl.cpp:
2407         (WebKit::EditorClientImpl::isGrammarCheckingEnabled): Enable grammar checking when we enable asynchronous spellchecking.
2408         * src/WebTextCheckingResult.cpp:
2409         (WebKit::WebTextCheckingResult::operator TextCheckingResult): Fill GrammarDetails for grammatical errors.
2410
2411 2012-05-24  Vivek Galatage  <vivekgalatage@gmail.com>
2412
2413         Web Inspector: localStorage items are not updated when the storage changes
2414         https://bugs.webkit.org/show_bug.cgi?id=83012
2415
2416         Reviewed by Pavel Feldman.
2417
2418         Instrumented the DOM Storage Events in order to update the frontend.
2419
2420         * src/StorageAreaProxy.cpp:
2421         (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
2422         (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
2423
2424 2012-05-23  Ojan Vafai  <ojan@chromium.org>
2425
2426         add back the ability to disable flexbox
2427         https://bugs.webkit.org/show_bug.cgi?id=87147
2428
2429         Reviewed by Tony Chang.
2430
2431         * features.gypi:
2432
2433 2012-05-23  Dana Jansens  <danakj@chromium.org>
2434
2435         [chromium] Enable the CCLayerTreeHostTestCanDrawBlocksDrawing test in single-threaded mode
2436         https://bugs.webkit.org/show_bug.cgi?id=87308
2437
2438         Reviewed by James Robinson.
2439
2440         Chromium bug: http://crbug.com/127481
2441
2442         Unit test: CCLayerTreeHostTestCanDrawBlocksDrawing.runSingleThread
2443
2444         * tests/CCLayerTreeHostTest.cpp:
2445         (WTF::TestHooks::didCommit):
2446         (WTF):
2447         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::didCommit):
2448
2449 2012-05-23  James Robinson  <jamesr@chromium.org>
2450
2451         Add a Setting to make position:fixed form a new stacking context
2452         https://bugs.webkit.org/show_bug.cgi?id=87186
2453
2454         Reviewed by Adam Barth.
2455
2456         * public/WebSettings.h:
2457         * src/WebSettingsImpl.cpp:
2458         (WebKit::WebSettingsImpl::setFixedPositionCreatesStackingContext):
2459         (WebKit):
2460         * src/WebSettingsImpl.h:
2461         (WebSettingsImpl):
2462
2463 2012-05-23  James Robinson  <jamesr@chromium.org>
2464
2465         [chromium] Turn ENABLE(OVERFLOW_SCROLLING) off for Chromium port
2466         https://bugs.webkit.org/show_bug.cgi?id=87177
2467
2468         Reviewed by Eric Seidel.
2469
2470         Removes ENABLE(OVERFLOW_SCROLLING) from the set of enables set by Chromium. This guards a new non-standard
2471         CSS property, -webkit-overflow-scrolling, that was introduced by iOS5 intended for mobile browsers. This
2472         property is very partially implemented in Chromium but the way it's implemented does cause new stacking contexts
2473         to be created that otherwise would not be, breaking "desktop" pages.
2474
2475         This turns the feature off until we can figure out how to deal with the compatibility issues.
2476
2477         * features.gypi:
2478
2479 2012-05-23  Jay Civelli  <jcivelli@chromium.org>
2480
2481         [chromium] Provides a way to cancel an external popup menu before it is shown.
2482         https://bugs.webkit.org/show_bug.cgi?id=83474
2483
2484         Reviewed by Kent Tamura.
2485
2486         * src/ExternalPopupMenu.cpp:
2487         (WebKit::ExternalPopupMenu::show):
2488
2489 2012-05-23  Michael Nordman  <michaeln@google.com>
2490
2491         [chromium] DomStorage events handling needs TLC (3)
2492         https://bugs.webkit.org/show_bug.cgi?id=87031
2493         https://code.google.com/p/chromium/issues/detail?id=128482
2494         Only queue storage events for Documents which have allocated
2495         a WebCore::Storage instance since pages that have attached onstorage
2496         event handlers must have a non-null Storage instance.
2497
2498         Reviewed by Adam Barth.
2499
2500         * src/StorageAreaProxy.cpp:
2501         (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
2502         (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
2503         (WebCore::StorageAreaProxy::isEventSource):
2504
2505 2012-05-23  Sheriff Bot  <webkit.review.bot@gmail.com>
2506
2507         Unreviewed, rolling out r118218.
2508         http://trac.webkit.org/changeset/118218
2509         https://bugs.webkit.org/show_bug.cgi?id=87299
2510
2511         breaks webkit win builder (Requested by pilgrim_google__ on
2512         #webkit).
2513
2514         * WebKit.gyp:
2515         * public/platform/WebKitPlatformSupport.h:
2516         (WebKitPlatformSupport):
2517         (WebKit::WebKitPlatformSupport::queryLocalizedString):
2518         * public/platform/WebLocalizedString.h:
2519         (WebKit):
2520         * src/LocalizedStrings.cpp:
2521         (WebCore::query):
2522
2523 2012-05-23  Mark Pilgrim  <pilgrim@chromium.org>
2524
2525         [Chromium] Move themeEngine to Platform.h
2526         https://bugs.webkit.org/show_bug.cgi?id=87268
2527
2528         Reviewed by Adam Barth.
2529
2530         Part of a refactoring series. See tracking bug 82948.
2531
2532         * WebKit.gyp:
2533         * public/platform/WebKitPlatformSupport.h:
2534         (WebKit):
2535         (WebKit::WebKitPlatformSupport::sandboxSupport):
2536         * public/platform/android/WebThemeEngine.h:
2537         * public/platform/linux/WebThemeEngine.h:
2538         * public/platform/mac/WebThemeEngine.h:
2539         * public/platform/win/WebThemeEngine.h:
2540         * src/AssertMatchingEnums.cpp:
2541         * src/PlatformSupport.cpp:
2542         (WebCore::PlatformSupport::paintButton):
2543         (WebCore::PlatformSupport::paintMenuList):
2544         (WebCore::PlatformSupport::paintScrollbarArrow):
2545         (WebCore::PlatformSupport::paintScrollbarThumb):
2546         (WebCore::PlatformSupport::paintScrollbarTrack):
2547         (WebCore::PlatformSupport::paintSpinButton):
2548         (WebCore::PlatformSupport::paintTextField):
2549         (WebCore::PlatformSupport::paintTrackbar):
2550         (WebCore::PlatformSupport::paintProgressBar):
2551         (WebCore::PlatformSupport::getThemePartSize):
2552         (WebCore::PlatformSupport::paintThemePart):
2553
2554 2012-05-23  Raymes Khoury  <raymes@chromium.org>
2555
2556         Change acceptMIMETypes member to acceptTypes now that file extensions are legal accept types
2557         https://bugs.webkit.org/show_bug.cgi?id=87271
2558
2559         Reviewed by Darin Fisher.
2560
2561         * public/WebFileChooserParams.h:
2562         (WebFileChooserParams):
2563         * src/ChromeClientImpl.cpp:
2564         (WebKit::ChromeClientImpl::runOpenPanel):
2565
2566 2012-05-23  Dana Jansens  <danakj@chromium.org>
2567
2568         [chromium] Layers on main thread should get a RenderSurface for animating transform only if masksToBounds is true also
2569         https://bugs.webkit.org/show_bug.cgi?id=87184
2570
2571         Reviewed by James Robinson.
2572
2573         * tests/CCLayerTreeHostCommonTest.cpp:
2574         (WebKitTests::TEST):
2575
2576 2012-05-23  Mark Pilgrim  <pilgrim@chromium.org>
2577
2578         [Chromium] Move queryLocalizedString to Platform.h
2579         https://bugs.webkit.org/show_bug.cgi?id=85762
2580
2581         Reviewed by Adam Barth.
2582
2583         Part of a refactoring series. See tracking bug 82948.
2584
2585         * WebKit.gyp:
2586         * public/platform/WebKitPlatformSupport.h:
2587         (WebKit::WebKitPlatformSupport::getPluginList):
2588         * public/platform/WebLocalizedString.h:
2589         * src/LocalizedStrings.cpp:
2590         (WebCore::query):
2591
2592 2012-05-23  Antti Koivisto  <antti@apple.com>
2593
2594         Build fix.
2595
2596         Not reviewed.
2597
2598         * src/WebDocument.cpp:
2599         (WebKit::WebDocument::insertUserStyleSheet):
2600
2601 2012-05-22  Alexandre Elias  <aelias@google.com>
2602
2603         [chromium] Apply viewport tag initial-scale only once
2604         https://bugs.webkit.org/show_bug.cgi?id=82949
2605
2606         Reviewed by Adam Barth.
2607
2608         First, check that isPageScaleFactorSet return false before setting
2609         initial-scale. We need to call dispatchViewportPropertiesDidChange()
2610         when the viewport width changes, since that's an input to the viewport
2611         tag calculation. When this happens, we shouldn't pop back to initial
2612         scale.
2613
2614         Second, check that isNewNavigation is true when deciding to clear
2615         isPageScaleFactorIsSet in didCommitLoad. We only want to clear it on
2616         the very first commit, otherwise we'll pop back to initial scale if
2617         the user zooms in before the load is complete.
2618
2619         New test WebFrameTest::FixedLayoutInitializeAtMinimumPageScale.
2620
2621         * src/ChromeClientImpl.cpp:
2622         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
2623         * src/WebViewImpl.cpp:
2624         (WebKit::WebViewImpl::didCommitLoad):
2625
2626 2012-05-21  Shawn Singh  <shawnsingh@chromium.org>
2627
2628         Improve W3C conformance of backface-visibility
2629         https://bugs.webkit.org/show_bug.cgi?id=84195
2630
2631         Reviewed by Adrienne Walker.
2632
2633         * tests/CCLayerTreeHostCommonTest.cpp:
2634         (WebKitTests::TEST):
2635         (WebKitTests):
2636
2637 2012-05-22  Sheriff Bot  <webkit.review.bot@gmail.com>
2638
2639         Unreviewed, rolling out r118095.
2640         http://trac.webkit.org/changeset/118095
2641         https://bugs.webkit.org/show_bug.cgi?id=87201
2642
2643         "Causing crashes on Mac in
2644         WebCore::StyleResolver::adjustRenderStyle (Requested by
2645         sundiamonde on #webkit).
2646
2647         * public/WebSettings.h:
2648         * src/WebSettingsImpl.cpp:
2649         * src/WebSettingsImpl.h:
2650         (WebSettingsImpl):
2651
2652 2012-05-22  Xianzhu Wang  <wangxianzhu@chromium.org>
2653
2654         [Chromium-Android] Run DumpRenderTree as an apk (C++ and gyp part)
2655         https://bugs.webkit.org/show_bug.cgi?id=86922
2656
2657         Reviewed by Kent Tamura.
2658
2659         * All.gyp: Added DumpRenderTree_apk into dependencies for Android.
2660
2661 2012-05-22  Mark Pilgrim  <pilgrim@chromium.org>
2662
2663         [Chromium] Call canAccelerate2dCanvas directly
2664         https://bugs.webkit.org/show_bug.cgi?id=86893
2665
2666         Reviewed by James Robinson.
2667
2668         Part of a refactoring series. See tracking bug 82948.
2669
2670         * public/platform/WebKitPlatformSupport.h:
2671         (WebKitPlatformSupport):
2672         * src/PlatformSupport.cpp:
2673         (WebCore):
2674
2675 2012-05-22  Dana Jansens  <danakj@chromium.org>
2676
2677         [chromium] Don't drop children of a RenderSurface from the renderSurfaceLayerList when then position of the surface in its clipRect is not known
2678         https://bugs.webkit.org/show_bug.cgi?id=87181
2679
2680         Reviewed by Adrienne Walker.
2681
2682         * tests/CCLayerTreeHostCommonTest.cpp:
2683         (WebKitTests::TEST):
2684         (WebKitTests):
2685
2686 2012-05-22  MORITA Hajime  <morrita@google.com>
2687
2688         [Chromium][API] Introduce WebPermissionClient::allowWebComponents()
2689         https://bugs.webkit.org/show_bug.cgi?id=87097
2690
2691         Reviewed by Kent Tamura.
2692
2693         - Added WebPermissionClient::allowWebComponents(), and
2694         - Implemented FrameLoaderClientImpl::shadowDOMAllowed() using it.
2695
2696         * public/WebPermissionClient.h:
2697         (WebPermissionClient):
2698         (WebKit::WebPermissionClient::allowWebComponents):
2699         * src/FrameLoaderClientImpl.cpp:
2700         (WebKit::FrameLoaderClientImpl::shadowDOMAllowed):
2701         (WebKit):
2702         * src/FrameLoaderClientImpl.h:
2703         (FrameLoaderClientImpl):
2704
2705 2012-05-22  James Robinson  <jamesr@chromium.org>
2706
2707         Add a Setting to make position:fixed form a new stacking context
2708         https://bugs.webkit.org/show_bug.cgi?id=87186
2709
2710         Reviewed by Adam Barth.
2711
2712         * public/WebSettings.h:
2713         * src/WebSettingsImpl.cpp:
2714         (WebKit::WebSettingsImpl::setFixedPositionCreatesStackingContext):
2715         (WebKit):
2716         * src/WebSettingsImpl.h:
2717         (WebSettingsImpl):
2718
2719 2012-05-22  Dana Jansens  <danakj@chromium.org>
2720
2721         [chromium] Don't force the visibleLayerRect to be empty for animating layers whose front face is not visible
2722         https://bugs.webkit.org/show_bug.cgi?id=86886
2723
2724         Reviewed by Adrienne Walker.
2725
2726         * tests/CCLayerTreeHostCommonTest.cpp:
2727         (WebKitTests::TEST):
2728
2729 2012-05-22  Mark Pilgrim  <pilgrim@chromium.org>
2730
2731         [Chromium] Move cookieJar to Platform.h
2732         https://bugs.webkit.org/show_bug.cgi?id=86755
2733
2734         Reviewed by Adam Barth.
2735
2736         Part of a refactoring series. See tracking bug 82948.
2737
2738         * WebKit.gyp:
2739         * public/platform/WebCookie.h:
2740         * public/platform/WebCookieJar.h:
2741         * public/platform/WebKitPlatformSupport.h:
2742         (WebKit):
2743         (WebKit::WebKitPlatformSupport::themeEngine):
2744         * src/PlatformSupport.cpp:
2745         (WebCore::getCookieJar):
2746
2747 2012-05-22  Jochen Eisinger  <jochen@chromium.org>
2748
2749         Unreviewed.  Rolled DEPS.
2750
2751         * DEPS:
2752
2753 2012-05-22  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
2754
2755         [Chromium] Use overloaded printBegin() webkit API to support auto fit to page functionality.
2756         https://bugs.webkit.org/show_bug.cgi?id=86684
2757
2758         Reviewed by Darin Fisher.
2759
2760         * public/WebFrame.h:
2761         (WebFrame):
2762         * public/WebPlugin.h:
2763         (WebPlugin):
2764         * public/WebPrintParams.h:
2765         (WebKit::WebPrintParams::WebPrintParams):
2766         (WebPrintParams):
2767         * src/WebFrameImpl.cpp:
2768         (WebKit):
2769         * src/WebFrameImpl.h:
2770         (WebFrameImpl):
2771         * src/WebPluginContainerImpl.cpp:
2772         (WebKit::WebPluginContainerImpl::printBegin):
2773
2774 2012-05-22  Adam Barth  <abarth@webkit.org>
2775
2776         [Chromium] Expose setMediaPlaybackRequiresUserGesture via WebSettings
2777         https://bugs.webkit.org/show_bug.cgi?id=87164
2778
2779         Reviewed by Eric Seidel.
2780
2781         This is used by the Chromium Android port.
2782
2783         * public/WebSettings.h:
2784         * src/WebSettingsImpl.cpp:
2785         (WebKit::WebSettingsImpl::setMediaPlaybackRequiresUserGesture):
2786         (WebKit):
2787         * src/WebSettingsImpl.h:
2788         (WebSettingsImpl):
2789
2790 2012-05-21  Shawn Singh  <shawnsingh@chromium.org>
2791
2792         [chromium] Add unit testing for WebTransformationMatrix::blend()
2793         https://bugs.webkit.org/show_bug.cgi?id=87066
2794
2795         Reviewed by Adrienne Walker.
2796
2797         8 more unit tests added:
2798         WebTransformationMatrixTest.verifyBlendForTranslation
2799         WebTransformationMatrixTest.verifyBlendForScale
2800         WebTransformationMatrixTest.verifyBlendForSkewX
2801         WebTransformationMatrixTest.verifyBlendForSkewY
2802         WebTransformationMatrixTest.verifyBlendForRotationAboutX
2803         WebTransformationMatrixTest.verifyBlendForRotationAboutY
2804         WebTransformationMatrixTest.verifyBlendForRotationAboutZ
2805         WebTransformationMatrixTest.verifyBlendForCompositeTransform
2806
2807         * tests/WebTransformationMatrixTest.cpp:
2808         (WebKit::TEST):
2809         (WebKit):
2810         (WebKit::printTransform):
2811
2812 == Rolled over to ChangeLog-2012-05-22 ==