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