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