4b38196f26f869e203dc063331ef2e8053a43734
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-03-21  Tommy Widenflycht  <tommyw@google.com>
2
3         [chromium] MediaStream API (JSEP): Enhancing WebMediaHints and WebICEOptions
4         https://bugs.webkit.org/show_bug.cgi?id=81652
5
6         Reviewed by Adam Barth.
7
8         Adding an initialize method to WebMediaHints and WebICEOptions.
9         This is needed for Chromium unittests.
10
11         * public/platform/WebICEOptions.h:
12         (WebKit::WebICEOptions::WebICEOptions):
13         (WebICEOptions):
14         * public/platform/WebMediaHints.h:
15         (WebKit::WebMediaHints::WebMediaHints):
16         (WebMediaHints):
17         * src/AssertMatchingEnums.cpp:
18         * src/WebICEOptions.cpp:
19         (WebKit::WebICEOptions::initialize):
20         (WebKit):
21         (WebKit::WebICEOptions::candidateTypeToUse):
22         * src/WebMediaHints.cpp:
23         (WebKit::WebMediaHints::initialize):
24         (WebKit):
25
26 2012-03-21  Tommy Widenflycht  <tommyw@google.com>
27
28         [chromium] MediaStream API (JSEP): Introducing WebSessionDescription and WebIceCandidate
29         https://bugs.webkit.org/show_bug.cgi?id=81339
30
31         Reviewed by Adam Barth.
32
33         Simple WebKit representations of the WebCore/platform versions.
34
35         * WebKit.gyp:
36         * public/platform/WebICECandidateDescriptor.h: Added.
37         (WebCore):
38         (WebKit):
39         (WebICECandidateDescriptor):
40         (WebKit::WebICECandidateDescriptor::WebICECandidateDescriptor):
41         (WebKit::WebICECandidateDescriptor::~WebICECandidateDescriptor):
42         (WebKit::WebICECandidateDescriptor::operator=):
43         (WebKit::WebICECandidateDescriptor::isNull):
44         * public/platform/WebSessionDescriptionDescriptor.h: Added.
45         (WebCore):
46         (WebKit):
47         (WebSessionDescriptionDescriptor):
48         (WebKit::WebSessionDescriptionDescriptor::WebSessionDescriptionDescriptor):
49         (WebKit::WebSessionDescriptionDescriptor::~WebSessionDescriptionDescriptor):
50         (WebKit::WebSessionDescriptionDescriptor::operator=):
51         (WebKit::WebSessionDescriptionDescriptor::isNull):
52         * src/WebICECandidateDescriptor.cpp: Added.
53         (WebKit):
54         (WebKit::WebICECandidateDescriptor::WebICECandidateDescriptor):
55         (WebKit::WebICECandidateDescriptor::assign):
56         (WebKit::WebICECandidateDescriptor::reset):
57         (WebKit::WebICECandidateDescriptor::initialize):
58         (WebKit::WebICECandidateDescriptor::operator PassRefPtr<WebCore::IceCandidateDescriptor>):
59         (WebKit::WebICECandidateDescriptor::label):
60         (WebKit::WebICECandidateDescriptor::candidateLine):
61         * src/WebSessionDescriptionDescriptor.cpp: Added.
62         (WebKit):
63         (WebKit::WebSessionDescriptionDescriptor::WebSessionDescriptionDescriptor):
64         (WebKit::WebSessionDescriptionDescriptor::assign):
65         (WebKit::WebSessionDescriptionDescriptor::reset):
66         (WebKit::WebSessionDescriptionDescriptor::operator WTF::PassRefPtr<WebCore::SessionDescriptionDescriptor>):
67         (WebKit::WebSessionDescriptionDescriptor::initialize):
68         (WebKit::WebSessionDescriptionDescriptor::numberOfAddedCandidates):
69         (WebKit::WebSessionDescriptionDescriptor::candidate):
70         (WebKit::WebSessionDescriptionDescriptor::initialSDP):
71
72 2012-03-21  Sami Kyostila  <skyostil@chromium.org>
73
74         [chromium] Use floating point scroll deltas for layers
75         https://bugs.webkit.org/show_bug.cgi?id=81546
76
77         Reviewed by James Robinson.
78
79         New unit test for accumulating fractional scroll deltas across multiple commits.
80
81         * tests/CCLayerTreeHostTest.cpp:
82         (CCLayerTreeHostTestFractionalScroll):
83         (WTF::CCLayerTreeHostTestFractionalScroll::CCLayerTreeHostTestFractionalScroll):
84         (WTF::CCLayerTreeHostTestFractionalScroll::beginTest):
85         (WTF::CCLayerTreeHostTestFractionalScroll::drawLayersOnCCThread):
86         (WTF::CCLayerTreeHostTestFractionalScroll::applyScrollAndScale):
87         (WTF::CCLayerTreeHostTestFractionalScroll::afterTest):
88         (WTF):
89         (WTF::TEST_F):
90
91 2012-03-21  Joshua Bell  <jsbell@chromium.org>
92
93         [Chromium] IndexedDB: Expose necessary IDB exception codes through WebKit API
94         https://bugs.webkit.org/show_bug.cgi?id=81597
95
96         To fix http://crbug.com/96826 and http://crbug.com/113118 we need to be able throw
97         exceptions from the Chromium side, so expose the necessary members of IDBDatabaseException.
98
99         Reviewed by Darin Fisher.
100
101         * WebKit.gyp:
102         * public/WebIDBDatabaseException.h: Added.
103         (WebKit):
104         * src/AssertMatchingEnums.cpp:
105
106 2012-03-21  Tim Dresser  <tdresser@chromium.org>
107
108         [chromium] Increase size of Combo Box Options for touch and high DPI devices
109         https://bugs.webkit.org/show_bug.cgi?id=80027
110
111         Reviewed by Darin Fisher.
112
113         * src/WebViewImpl.cpp:
114         (WebKit::WebViewImpl::gestureEvent):
115         (WebKit::WebViewImpl::applyAutofillSuggestions):
116         * tests/PopupMenuTest.cpp:
117         (WebKit::TestWebViewClient::screenInfo):
118         (WebKit::SelectPopupMenuTest::SetUp):
119         (WebKit::SelectPopupMenuTest::TearDown):
120         (SelectPopupMenuTest):
121
122 2012-03-21  Takashi Toyoshima  <toyoshim@chromium.org>
123
124         [Chromium] [WebSocket] provide WebFrameClient with a chance of
125         accessing to opening WebSocketStreamHandle.
126         https://bugs.webkit.org/show_bug.cgi?id=78459
127
128         Reviewed by Kent Tamura and Darin Fisher.
129
130         Add dispatchWillOpenSocketStream client function to WebFrameClient with
131         an argument representing an opening SocketStreamHandle.
132         These mechanisms provide embedders with a chance to bind arbitrary
133         data to a WebSocketStreamHandle from WebFrameClient to which the
134         WebSocket object having the WebSocketStreamHandle belongs.
135
136         No new tests because this change just provide mechanisms to embedders.
137
138         * public/WebFrameClient.h: Add dispatchWillOpenSocketStream declaration.
139         (WebKit):
140         (WebFrameClient):
141         (WebKit::WebFrameClient::willOpenSocketStream):
142         * public/platform/WebSocketStreamHandle.h: Add default implementation to virtual functions.
143         (WebKit::WebSocketStreamHandle::connect):
144         (WebKit::WebSocketStreamHandle::send):
145         (WebKit::WebSocketStreamHandle::close):
146         * src/FrameLoaderClientImpl.cpp: Implement dispatchWillOpenSocketStream.
147         (WebKit::FrameLoaderClientImpl::dispatchWillOpenSocketStream):
148         (WebKit):
149         * src/FrameLoaderClientImpl.h: Add dispatchWillOpenSocketStream declaratioin.
150         (FrameLoaderClientImpl):
151         * src/SocketStreamHandle.cpp: Call willOpenSocketStream client function.
152         (WebCore::SocketStreamHandleInternal::connect):
153
154 2012-03-21  Ian Vollick  <vollick@chromium.org>
155
156         [chromium] timing functions are getting incorrectly applied for accelerated css transitions
157         https://bugs.webkit.org/show_bug.cgi?id=81692
158
159         Reviewed by Adrienne Walker.
160
161         * tests/CCAnimationTestCommon.cpp:
162         (WebCore::addOpacityTransition):
163         (WebKitTests::addOpacityTransitionToController):
164         (WebKitTests::addOpacityTransitionToLayer):
165         * tests/CCAnimationTestCommon.h:
166         (WebKitTests):
167         * tests/CCLayerAnimationControllerTest.cpp:
168         (WebKitTests::TEST):
169         * tests/CCLayerTreeHostTest.cpp:
170         (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
171         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
172         (WTF::TEST_F):
173         (WTF):
174         (CCLayerTreeHostTestAddAnimationWithTimingFunction):
175         (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::CCLayerTreeHostTestAddAnimationWithTimingFunction):
176         (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::beginTest):
177         (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::animateLayers):
178         (WTF::CCLayerTreeHostTestAddAnimationWithTimingFunction::afterTest):
179
180 2012-03-21  Ian Vollick  <vollick@chromium.org>
181
182         [chromium] Animation events should only be used for synchronizing animation start times
183         https://bugs.webkit.org/show_bug.cgi?id=81484
184
185         Reviewed by Adrienne Walker.
186
187         * tests/CCLayerTreeHostTest.cpp:
188         (WTF):
189         (CCLayerTreeHostTestSynchronizeAnimationStartTimes):
190         (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::CCLayerTreeHostTestSynchronizeAnimationStartTimes):
191         (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::beginTest):
192         (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::animateLayers):
193         (WTF::CCLayerTreeHostTestSynchronizeAnimationStartTimes::afterTest):
194         (WTF::TEST_F):
195
196 2012-03-21  Peter Beverloo  <peter@chromium.org>
197
198         [Chromium] Remove Android build-fix when the proper fix rolled into WebKit
199         https://bugs.webkit.org/show_bug.cgi?id=80861
200
201         Reviewed by Tony Chang.
202
203         No longer set the CC.target environment variable as this is no longer
204         required for project file generation.
205
206         * gyp_webkit:
207
208 2012-03-21  Peter Beverloo  <peter@chromium.org>
209
210         Unreviewed.  Rolled DEPS.
211
212         * DEPS:
213
214 2012-03-20  Dana Jansens  <danakj@chromium.org>
215
216         [chromium] Use origin transform to transform occlusion from surface content space to its target content space
217         https://bugs.webkit.org/show_bug.cgi?id=81730
218
219         Reviewed by Adrienne Walker.
220
221         * tests/CCOcclusionTrackerTest.cpp:
222         (WebCore):
223         (CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent):
224         (WebCore::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
225
226 2012-03-20  Dana Jansens  <danakj@chromium.org>
227
228         [chromium] Store origin/screen space transforms for surface and replica in the surface
229         https://bugs.webkit.org/show_bug.cgi?id=81296
230
231         Reviewed by Adrienne Walker.
232
233         * tests/CCLayerTreeHostCommonTest.cpp:
234         (WebCore::TEST):
235
236 2012-03-20  W. James MacLean  <wjmaclean@chromium.org>
237
238         [chromium] Convert TouchFlingPlatformGestureCurve to a 2-D Bezier for better control of curve shape.
239         https://bugs.webkit.org/show_bug.cgi?id=81713
240
241         Reviewed by Dirk Pranke.
242
243         * tests/PlatformGestureCurveTest.cpp:
244
245 2012-03-20  Dana Jansens  <danakj@chromium.org>
246
247         [chromium] Allow us to disable overdraw metrics when tracing is off
248         https://bugs.webkit.org/show_bug.cgi?id=81431
249
250         Reviewed by Adrienne Walker.
251
252         * tests/CCOcclusionTrackerTest.cpp:
253         (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
254         * tests/CCQuadCullerTest.cpp:
255         (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
256         (WebCore::TEST):
257         (WebCore):
258         * tests/TiledLayerChromiumTest.cpp:
259         (WTF::TestCCOcclusionTracker::TestCCOcclusionTracker):
260
261 2012-03-20  Dana Jansens  <danakj@chromium.org>
262
263         [chromium] Use opaque contents for paint culling
264         https://bugs.webkit.org/show_bug.cgi?id=81676
265
266         Reviewed by Adrienne Walker.
267
268         * tests/CCLayerTreeHostTest.cpp:
269         (WTF::TestLayerChromium::opaqueContentsRegion):
270         (WTF::TestLayerChromium::setOpaqueContentsRect):
271         (TestLayerChromium):
272         (CCLayerTreeHostTestContentLayerOcclusion):
273         (WTF::CCLayerTreeHostTestContentLayerOcclusion::CCLayerTreeHostTestContentLayerOcclusion):
274         (WTF::CCLayerTreeHostTestContentLayerOcclusion::beginTest):
275         (WTF::CCLayerTreeHostTestContentLayerOcclusion::afterTest):
276         (WTF):
277
278 2012-03-20  W. James MacLean  <wjmaclean@chromium.org>
279
280         [chromium] Tune fling physics curve. [Not for review yet]
281         https://bugs.webkit.org/show_bug.cgi?id=81398
282
283         Reviewed by James Robinson.
284
285         * tests/PlatformGestureCurveTest.cpp:
286
287 2012-03-20  Ian Vollick  <vollick@chromium.org>
288
289         [chromium] Infrastructure to allow animating layers to be only partially updated
290         https://bugs.webkit.org/show_bug.cgi?id=81106
291
292         Reviewed by James Robinson
293
294         * WebKit.gypi:
295         * tests/CCAnimationTestCommon.cpp:
296         (WebKitTests::FakeLayerAnimationControllerClient::FakeLayerAnimationControllerClient):
297         (WebKitTests::FakeLayerAnimationControllerClient::~FakeLayerAnimationControllerClient):
298         * tests/CCAnimationTestCommon.h:
299         (FakeLayerAnimationControllerClient):
300         (WebKitTests::FakeLayerAnimationControllerClient::setOpacityFromAnimation):
301         (WebKitTests::FakeLayerAnimationControllerClient::setTransformFromAnimation):
302         * tests/CCLayerAnimationControllerImplTest.cpp: Removed.
303         * tests/CCLayerAnimationControllerTest.cpp:
304         (WebKitTests::TEST):
305         (WebKitTests):
306         * tests/CCLayerTreeHostTest.cpp:
307         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
308         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
309         (CCLayerTreeHostTestAddAnimation):
310         * tests/TreeSynchronizerTest.cpp:
311         (WebKitTests::FakeLayerAnimationController::create):
312         (WebKitTests::FakeLayerAnimationController::FakeLayerAnimationController):
313         (WebKitTests::FakeLayerAnimationController::pushAnimationUpdatesTo):
314         (WebKitTests::TEST):
315
316 2012-03-20  Keishi Hattori  <keishi@webkit.org>
317
318         [chromium] Marking WebFrameTest.DivAutoZoomParamsTest as failing.
319
320         * tests/WebFrameTest.cpp:
321         (WebKit::TEST_F):
322
323 2012-03-19  Adam Barth  <abarth@webkit.org>
324
325         Remove support for "magic" iframe
326         https://bugs.webkit.org/show_bug.cgi?id=81590
327
328         Reviewed by Eric Seidel.
329
330         Remove FrameLoaderClient methods that no longer exist.
331
332         * public/WebFrameClient.h:
333         (WebFrameClient):
334         * src/FrameLoaderClientImpl.cpp:
335         (WebKit):
336         * src/FrameLoaderClientImpl.h:
337         (FrameLoaderClientImpl):
338
339 2012-03-19  Charlie Reis  <creis@chromium.org>
340
341         [Chromium] Add registerURLSchemeAsEmptyDocument to WebSecurityPolicy
342         https://bugs.webkit.org/show_bug.cgi?id=81421
343
344         Reviewed by Adam Barth.
345
346         * public/WebSecurityPolicy.h:
347         (WebSecurityPolicy):
348         * src/WebSecurityPolicy.cpp:
349         (WebKit::WebSecurityPolicy::registerURLSchemeAsEmptyDocument):
350         (WebKit):
351
352 2012-03-19  Keishi Hattori  <keishi@webkit.org>
353
354         [chromium] Fixing build. Adding missing virtual.
355
356         * src/GraphicsContext3DPrivate.h:
357         (GraphicsContext3DPrivate):
358
359 2012-03-19  Dana Jansens  <danakj@chromium.org>
360
361         [chromium] Push culled tiles that are prepainted
362         https://bugs.webkit.org/show_bug.cgi?id=81552
363
364         Reviewed by Adrienne Walker.
365
366         * tests/TiledLayerChromiumTest.cpp:
367         (WTF::TEST):
368         (WTF):
369
370 2012-03-19  James Robinson  <jamesr@chromium.org>
371
372         Unreviewed chromium compile fix - put all TRACE_*s in their own scope explicitly.
373
374         * src/WebCompositorInputHandlerImpl.cpp:
375         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
376         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
377
378 2012-03-19  Robert Kroeger  <rjkroege@chromium.org>
379
380         [chromium] return true/false on GestureFlingCancel if a fling was stopped
381         https://bugs.webkit.org/show_bug.cgi?id=81563
382
383         Reviewed by James Robinson.
384
385         * src/WebViewImpl.cpp:
386         (WebKit::WebViewImpl::gestureEvent):
387
388 2012-03-19  Michal Mocny  <mmocny@google.com>
389
390         [chromium] Adding support for GL_EXT_discard_framebuffer.
391         https://bugs.webkit.org/show_bug.cgi?id=81383
392
393         Reviewed by James Robinson.
394
395         * src/Extensions3DChromium.cpp:
396         (WebCore::Extensions3DChromium::discardFramebufferEXT):
397         (WebCore):
398         (WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM):
399         * src/GraphicsContext3DChromium.cpp:
400         (WebCore):
401         * src/GraphicsContext3DPrivate.h:
402         (GraphicsContext3DPrivate):
403         * tests/FakeWebGraphicsContext3D.h:
404         (WebKit::FakeWebGraphicsContext3D::discardFramebufferEXT):
405         (WebKit::FakeWebGraphicsContext3D::ensureFramebufferCHROMIUM):
406         (FakeWebGraphicsContext3D):
407
408 2012-03-19  Ian Vollick  <vollick@chromium.org>
409
410         [chromium] Times in the cc should be expressed in seconds.
411         https://bugs.webkit.org/show_bug.cgi?id=80514
412
413         Reviewed by James Robinson.
414
415         * tests/CCDelayBasedTimeSourceTest.cpp:
416         (WebKitTests::TEST):
417         * tests/CCFrameRateControllerTest.cpp:
418         (WebKitTests::TEST):
419         * tests/CCSchedulerTestCommon.h:
420         (WebKitTests::FakeCCThread::pendingDelayMs):
421         (WebKitTests::FakeCCDelayBasedTimeSource::create):
422         (WebKitTests::FakeCCDelayBasedTimeSource::setMonotonicallyIncreasingTime):
423         (WebKitTests::FakeCCDelayBasedTimeSource::monotonicallyIncreasingTime):
424         (WebKitTests::FakeCCDelayBasedTimeSource::FakeCCDelayBasedTimeSource):
425         (FakeCCDelayBasedTimeSource):
426         * tests/CCTimerTest.cpp:
427         (WebKitTests::TEST_F):
428
429 2012-03-19  Nat Duca  <nduca@chromium.org>
430
431         [chromium] Stop deriving WebCompositor from WebCompositorInputHandler
432         https://bugs.webkit.org/show_bug.cgi?id=80586
433
434         Reviewed by Darin Fisher.
435
436         * public/WebCompositor.h:
437         (WebKit):
438         * public/WebCompositorInputHandler.h:
439         (WebCompositorInputHandler):
440         * public/WebWidgetClient.h:
441         (WebWidgetClient):
442         (WebKit::WebWidgetClient::didActivateCompositor):
443         * src/WebCompositorInputHandlerImpl.cpp:
444         (WebKit::WebCompositorInputHandler::fromIdentifier):
445         * src/WebCompositorInputHandlerImpl.h:
446         (WebCompositorInputHandlerImpl):
447
448 2012-03-18  James Robinson  <jamesr@chromium.org>
449
450         [chromium] Implement fling-by-wheel on compositor thread
451         https://bugs.webkit.org/show_bug.cgi?id=81462
452
453         Reviewed by Adrienne Walker.
454
455         Implement fling-by-wheel and beef up existing unit test coverage considerably by using gmock instead of mocking
456         by hand.
457
458         * src/WebCompositorInputHandlerImpl.cpp:
459         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
460         (WebKit):
461         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
462         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
463         (WebKit::WebCompositorInputHandlerImpl::animate):
464         (WebKit::WebCompositorInputHandlerImpl::cancelCurrentFling):
465         (WebKit::WebCompositorInputHandlerImpl::scrollBy):
466         * src/WebCompositorInputHandlerImpl.h:
467         (WebCompositorInputHandlerImpl):
468         * tests/WebCompositorInputHandlerImplTest.cpp:
469
470 2012-03-19  Emil A Eklund  <eae@chromium.org>
471
472         [mac/chromium] Change platform code to use pixelSnappedRect methods
473         https://bugs.webkit.org/show_bug.cgi?id=81016
474
475         Reviewed by Eric Seidel.
476
477         * src/WebViewImpl.cpp:
478         (WebKit::WebViewImpl::computeBlockBounds):
479         (WebKit::WebViewImpl::applyAutofillSuggestions):
480         (WebKit::WebViewImpl::refreshAutofillPopup):
481
482 2012-03-19  Eric Seidel  <eric@webkit.org>
483
484         Fix WTF header include discipline in Chromium WebKit
485         https://bugs.webkit.org/show_bug.cgi?id=81281
486
487         Reviewed by James Robinson.
488
489         * src/CompositionUnderlineBuilder.h:
490         * src/CompositionUnderlineVectorBuilder.h:
491         * src/FrameLoaderClientImpl.cpp:
492         * src/WebArrayBuffer.cpp:
493         * src/WebArrayBufferView.cpp:
494         * src/WebBindings.cpp:
495         * src/WebColorName.cpp:
496         * src/WebGeolocationClientMock.cpp:
497         * src/WebPageSerializer.cpp:
498         * src/WebSocketImpl.cpp:
499         * src/WebViewImpl.cpp:
500         * tests/FrameTestHelpers.cpp:
501
502 2012-03-19  Dana Jansens  <danakj@chromium.org>
503
504         [chromium] Invalidate/update evicted tiles during commit
505         https://bugs.webkit.org/show_bug.cgi?id=81529
506
507         Reviewed by Adrienne Walker.
508
509         * tests/TiledLayerChromiumTest.cpp:
510         (WTF::TEST):
511         (WTF):
512
513 2012-03-19  Sheriff Bot  <webkit.review.bot@gmail.com>
514
515         Unreviewed, rolling out r111207.
516         http://trac.webkit.org/changeset/111207
517         https://bugs.webkit.org/show_bug.cgi?id=81561
518
519         Causing chromium unit test failure (Requested by reveman on
520         #webkit).
521
522         * src/Extensions3DChromium.cpp:
523         * src/GraphicsContext3DChromium.cpp:
524         (WebCore):
525         * src/GraphicsContext3DPrivate.h:
526         (GraphicsContext3DPrivate):
527         * tests/FakeWebGraphicsContext3D.h:
528
529 2012-03-19  Tommy Widenflycht  <tommyw@google.com>
530
531         [chromium] MediaStream API (JSEP): Introducing WebMediaHints and WebIceOptions
532         https://bugs.webkit.org/show_bug.cgi?id=81341
533
534         Reviewed by Darin Fisher.
535
536         Simple WebKit representations of the WebCore/platform versions.
537
538         * WebKit.gyp:
539         * public/platform/WebICEOptions.h: Added.
540         (WebCore):
541         (WebKit):
542         (WebICEOptions):
543         (WebKit::WebICEOptions::WebICEOptions):
544         (WebKit::WebICEOptions::~WebICEOptions):
545         (WebKit::WebICEOptions::operator=):
546         (WebKit::WebICEOptions::isNull):
547         * public/platform/WebMediaHints.h: Added.
548         (WebCore):
549         (WebKit):
550         (WebMediaHints):
551         (WebKit::WebMediaHints::WebMediaHints):
552         (WebKit::WebMediaHints::~WebMediaHints):
553         (WebKit::WebMediaHints::operator=):
554         (WebKit::WebMediaHints::isNull):
555         * src/WebICEOptions.cpp: Added.
556         (WebKit):
557         (WebKit::WebICEOptions::WebICEOptions):
558         (WebKit::WebICEOptions::assign):
559         (WebKit::WebICEOptions::reset):
560         (WebKit::WebICEOptions::candidateTypeToUse):
561         * src/WebMediaHints.cpp: Added.
562         (WebKit):
563         (WebKit::WebMediaHints::WebMediaHints):
564         (WebKit::WebMediaHints::assign):
565         (WebKit::WebMediaHints::reset):
566         (WebKit::WebMediaHints::audio):
567         (WebKit::WebMediaHints::video):
568
569 2012-03-19  Michal Mocny  <mmocny@google.com>
570
571         [chromium] Updating WebGraphicsContext3D MemoryAllocation callback to accept a struct with have backbuffer suggestion.
572         https://bugs.webkit.org/show_bug.cgi?id=81279
573
574         Reviewed by James Robinson.
575
576         * src/GraphicsContext3DChromium.cpp:
577         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
578         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
579         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
580
581 2012-03-19  David Reveman  <reveman@chromium.org>
582
583         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
584         https://bugs.webkit.org/show_bug.cgi?id=80988
585
586         Reviewed by Adrienne Walker.
587
588         Expose EXT_occlusion_query API to WebKit compositor.
589
590         * src/Extensions3DChromium.cpp:
591         (WebCore::Extensions3DChromium::createQueryEXT):
592         (WebCore):
593         (WebCore::Extensions3DChromium::deleteQueryEXT):
594         (WebCore::Extensions3DChromium::isQueryEXT):
595         (WebCore::Extensions3DChromium::beginQueryEXT):
596         (WebCore::Extensions3DChromium::endQueryEXT):
597         (WebCore::Extensions3DChromium::getQueryivEXT):
598         (WebCore::Extensions3DChromium::getQueryObjectuivEXT):
599         * src/GraphicsContext3DChromium.cpp:
600         (WebCore):
601         * src/GraphicsContext3DPrivate.h:
602         (GraphicsContext3DPrivate):
603         * tests/FakeWebGraphicsContext3D.h:
604         (WebKit::FakeWebGraphicsContext3D::createQueryEXT):
605         (WebKit::FakeWebGraphicsContext3D::deleteQueryEXT):
606         (WebKit::FakeWebGraphicsContext3D::isQueryEXT):
607         (WebKit::FakeWebGraphicsContext3D::beginQueryEXT):
608         (WebKit::FakeWebGraphicsContext3D::endQueryEXT):
609         (WebKit::FakeWebGraphicsContext3D::getQueryivEXT):
610         (WebKit::FakeWebGraphicsContext3D::getQueryObjectuivEXT):
611         (FakeWebGraphicsContext3D):
612
613 2012-03-19  Dana Jansens  <danakj@chromium.org>
614
615         [chromium] Unit test fix, save the sharedQuadState while the quads hold a pointer to it
616         https://bugs.webkit.org/show_bug.cgi?id=81476
617
618         Reviewed by Adrienne Walker.
619
620         * tests/CCQuadCullerTest.cpp:
621         (WebCore::appendQuads):
622         (WebCore):
623         (WebCore::TEST):
624
625 2012-03-19  Sheriff Bot  <webkit.review.bot@gmail.com>
626
627         Unreviewed.  Rolled DEPS.
628
629         * DEPS:
630
631 2012-03-19  Robert Kroeger  <rjkroege@chromium.org>
632
633         [chromium] synthesize wheel events for fling on main thread
634         https://bugs.webkit.org/show_bug.cgi?id=81458
635
636         Support track pad fling by generating a sequence of wheel events.
637
638         Reviewed by James Robinson.
639
640         * src/WebViewImpl.cpp:
641         (WebKit::WebViewImpl::WebViewImpl):
642         (WebKit::WebViewImpl::scrollBy): Call-back from PlatformGestureCurve to dispatch wheel event.
643         (WebKit):
644         (WebKit::WebViewImpl::gestureEvent): Handle GestureFlingStart and GestureFlingCancel.
645         (WebKit::WebViewImpl::updateAnimations): Requests a PlatformGestureCurve to animate forward.
646         (WebKit::WebViewImpl::didCommitLoad): Halt flings on navigations.
647         * src/WebViewImpl.h:
648         (WebCore):
649         (WebViewImpl):
650
651 2012-03-19  Keishi Hattori  <keishi@webkit.org>
652
653         [chromium] Fix build that was broken by r111137
654
655         Fixed was ambiguous because of MacTypes.h
656
657         * tests/CCLayerTreeHostCommonTest.cpp:
658         (WebCore::addTransformAnimationToLayer):
659         * tests/CCOcclusionTrackerTest.cpp:
660         (WebCore::addTransformAnimationToLayer):
661
662 2012-03-18  Keishi Hattori  <keishi@webkit.org>
663
664         [chromium] Fix test that was broken by r111128
665
666         * tests/ScrollAnimatorNoneTest.cpp:
667         (TEST): ScrollByPixel no longer animates.
668
669 2012-03-18  Dana Jansens  <danakj@chromium.org>
670
671         [chromium] Don't occlude on main-thread behind layers/surfaces with impl-thread animations
672         https://bugs.webkit.org/show_bug.cgi?id=81354
673
674         Reviewed by Adrienne Walker.
675
676         * tests/CCOcclusionTrackerTest.cpp:
677         (WebCore):
678         (WebCore::addOpacityAnimationToLayer):
679         (WebCore::addTransformAnimationToLayer):
680         (CCOcclusionTrackerTestAnimationOpacity1OnMainThread):
681         (WebCore::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
682         (CCOcclusionTrackerTestAnimationOpacity0OnMainThread):
683         (WebCore::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
684         (CCOcclusionTrackerTestAnimationTranslateOnMainThread):
685         (WebCore::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
686
687 2012-03-18  Dana Jansens  <danakj@chromium.org>
688
689         [chromium] Animating opacity is not opaque and should create a render surface on main thread
690         https://bugs.webkit.org/show_bug.cgi?id=81401
691
692         Reviewed by James Robinson.
693
694         * tests/CCLayerTreeHostCommonTest.cpp:
695         (WebCore::TEST):
696
697 2012-03-18  Dana Jansens  <danakj@chromium.org>
698
699         [chromium] Transform animation state should be inherited from parents
700         https://bugs.webkit.org/show_bug.cgi?id=81363
701
702         Reviewed by Adrienne Walker.
703
704         * tests/CCLayerTreeHostCommonTest.cpp:
705         (WebCore::addOpacityAnimationToLayer):
706         (WebCore):
707         (WebCore::addTransformAnimationToLayer):
708         (WebCore::TEST):
709
710 2012-03-16  James Robinson  <jamesr@chromium.org>
711
712         [chromium] Unify the drawing logic for different layer types that output textures to the compositor
713         https://bugs.webkit.org/show_bug.cgi?id=81286
714
715         Reviewed by Adrienne Walker.
716
717         * tests/Canvas2DLayerChromiumTest.cpp:
718
719 2012-03-15  Daniel Cheng  <dcheng@chromium.org>
720
721         [chromium] Refactor ClipboardChromium and DataTransferItemList/DataTransferItem to support HTML spec
722         https://bugs.webkit.org/show_bug.cgi?id=76598
723
724         Reviewed by Tony Chang.
725
726         * src/WebDragData.cpp:
727         (WebKit::WebDragData::items):
728         (WebKit::WebDragData::addItem):
729         (WebKit::WebDragData::assign):
730
731 2012-03-16  Dana Jansens  <danakj@chromium.org>
732
733         [chromium] Add overdraw metrics for texture uploads
734         https://bugs.webkit.org/show_bug.cgi?id=81175
735
736         Reviewed by Adrienne Walker.
737
738         * tests/TiledLayerChromiumTest.cpp:
739         (WTF::TEST):
740
741 2012-03-16  Dana Jansens  <danakj@chromium.org>
742
743         [chromium] Remove surface damage client from occlusion tracker
744         https://bugs.webkit.org/show_bug.cgi?id=81242
745
746         Reviewed by Adrienne Walker.
747
748         * tests/CCOcclusionTrackerTest.cpp:
749         (WebCore):
750
751 2012-03-16  Ian Vollick  <vollick@chromium.org>
752
753         [chromium] Threaded opacity animation jump to opacity of 0
754         https://bugs.webkit.org/show_bug.cgi?id=80744
755
756         Reviewed by James Robinson.
757
758         * tests/CCLayerTreeHostTest.cpp:
759         (WTF):
760         (CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity):
761         (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity):
762         (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::beginTest):
763         (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::animateLayers):
764         (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::commitCompleteOnCCThread):
765         (WTF::CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity::afterTest):
766         (WTF::TEST_F):
767
768 2012-03-16  Dana Jansens  <danakj@chromium.org>
769
770         [chromium] Changes to overdraw metrics to allow upload tracking
771         https://bugs.webkit.org/show_bug.cgi?id=81222
772
773         Reviewed by Adrienne Walker.
774
775         * tests/CCQuadCullerTest.cpp:
776         (WebCore::appendQuads):
777         (WebCore):
778         (WebCore::TEST):
779         * tests/MockCCQuadCuller.h:
780         (WebCore::MockCCQuadCuller::MockCCQuadCuller):
781
782 2012-03-16  Dana Jansens  <danakj@chromium.org>
783
784         [chromium] Quads that become fully opaque after culling should not use blending
785         https://bugs.webkit.org/show_bug.cgi?id=81235
786
787         Reviewed by Adrienne Walker.
788
789         * tests/CCLayerTreeHostImplTest.cpp:
790         (WebKit::BlendStateCheckLayer::appendQuads):
791         (WebKit::BlendStateCheckLayer::setQuadRect):
792         (WebKit::BlendStateCheckLayer::setQuadVisibleRect):
793         (WebKit::BlendStateCheckLayer::setOpaqueContents):
794         (WebKit::BlendStateCheckLayer::setOpaqueContentRect):
795         (WebKit::BlendStateCheckLayer::BlendStateCheckLayer):
796         (BlendStateCheckLayer):
797         (WebKit::TEST_F):
798
799 2012-03-15  Hans Wennborg  <hans@chromium.org>
800
801         Speech JavaScript API: SpeechRecognition, Controller and Client
802         https://bugs.webkit.org/show_bug.cgi?id=81096
803
804         Reviewed by Adam Barth.
805
806         Provide a SpeechRecognitionController to Page, with a NULL client for
807         now.
808
809         * src/WebViewImpl.cpp:
810         (WebKit::WebViewImpl::WebViewImpl):
811
812 2012-03-15  Dana Jansens  <danakj@chromium.org>
813
814         [chromium] Fix some assertions in occlusion tracker unit tests
815         https://bugs.webkit.org/show_bug.cgi?id=81308
816
817         Reviewed by James Robinson.
818
819         * tests/CCOcclusionTrackerTest.cpp:
820         (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
821         (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
822         (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
823         (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
824
825 2012-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
826
827         Unreviewed, rolling out r110941.
828         http://trac.webkit.org/changeset/110941
829         https://bugs.webkit.org/show_bug.cgi?id=81307
830
831         the revert looks innocent. (Requested by morrita on #webkit).
832
833         * tests/CCLayerTreeHostTest.cpp:
834         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
835         (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
836         (WTF::TestLayerChromium::paintContentsIfDirty):
837         * tests/Canvas2DLayerChromiumTest.cpp:
838         * tests/TiledLayerChromiumTest.cpp:
839         (TestCCOcclusionTracker):
840         (WTF::TestCCOcclusionTracker::TestCCOcclusionTracker):
841         (WTF::TestCCOcclusionTracker::setOcclusion):
842         (WTF::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
843         (WTF):
844         (WTF::FakeTiledLayerChromium::prepareToUpdate):
845         (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
846         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
847         (WTF::TEST):
848
849 2012-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
850
851         Unreviewed, rolling out r110929.
852         http://trac.webkit.org/changeset/110929
853         https://bugs.webkit.org/show_bug.cgi?id=81306
854
855         breaking webkit_unit_tests (Requested by morrita on #webkit).
856
857         * tests/CCLayerTreeHostTest.cpp:
858         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
859         (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
860         (WTF::TestLayerChromium::paintContentsIfDirty):
861         * tests/Canvas2DLayerChromiumTest.cpp:
862         * tests/TiledLayerChromiumTest.cpp:
863         (WTF::FakeTiledLayerChromium::prepareToUpdate):
864         (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
865         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
866         (WTF::TEST):
867
868 2012-03-15  Dana Jansens  <danakj@chromium.org>
869
870         [chromium] Decide occlusion in paint culling with CCOcclusionTracker
871         https://bugs.webkit.org/show_bug.cgi?id=81181
872
873         Reviewed by Adrienne Walker.
874
875         * tests/CCLayerTreeHostTest.cpp:
876         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
877         (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
878         (WTF::TestLayerChromium::paintContentsIfDirty):
879         * tests/Canvas2DLayerChromiumTest.cpp:
880         * tests/TiledLayerChromiumTest.cpp:
881         (TestCCOcclusionTracker):
882         (WTF::TestCCOcclusionTracker::TestCCOcclusionTracker):
883         (WTF::TestCCOcclusionTracker::setOcclusion):
884         (WTF::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
885         (WTF):
886         (WTF::FakeTiledLayerChromium::prepareToUpdate):
887         (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
888         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
889         (WTF::TEST):
890
891 2012-03-15  Dana Jansens  <danakj@chromium.org>
892
893         [chromium] Move overdraw metrics into a templated class for both paint and draw metrics.
894         https://bugs.webkit.org/show_bug.cgi?id=81156
895
896         Reviewed by Adrienne Walker.
897
898         * tests/CCQuadCullerTest.cpp:
899         (WebCore::appendQuads):
900         (WebCore):
901         (WebCore::TEST):
902
903 2012-03-07  Jon Lee  <jonlee@apple.com>
904
905         Move NotificationContents into Notification
906         https://bugs.webkit.org/show_bug.cgi?id=80487
907         <rdar://problem/10965519>
908
909         Reviewed by Jian Li.
910
911         Refactor to use accessor methods on Notification.
912         * src/WebNotification.cpp:
913         (WebKit::WebNotification::title):
914         (WebKit::WebNotification::body):
915
916 2012-03-13  Jon Lee  <jonlee@apple.com>
917
918         Deprecate ondisplay()
919         https://bugs.webkit.org/show_bug.cgi?id=80483
920         <rdar://problem/10912432>
921
922         Reviewed by Jian Li.
923
924         * src/WebNotification.cpp:
925         (WebKit::WebNotification::dispatchDisplayEvent): Dispatch the show event.
926
927 2012-03-14  W. James MacLean  <wjmaclean@chromium.org>
928
929         [chromium] Wire up PlatformGestureCurves for CC, ScrollAnimatorNone.
930         https://bugs.webkit.org/show_bug.cgi?id=80607
931
932         Reviewed by James Robinson.
933
934         * public/WebInputEvent.h:
935         (WebKit::WebInputEvent::isScrollGestureEventType):
936         * src/WebCompositorInputHandlerImpl.cpp:
937         (PlatformGestureToCCGestureAdapter):
938         (WebCore::PlatformGestureToCCGestureAdapter::create):
939         (WebCore::PlatformGestureToCCGestureAdapter::apply):
940         (WebCore::PlatformGestureToCCGestureAdapter::scrollBy):
941         (WebCore::PlatformGestureToCCGestureAdapter::PlatformGestureToCCGestureAdapter):
942         (WebCore):
943         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
944         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
945         (WebKit):
946         (WebKit::WebCompositorInputHandlerImpl::scrollBy):
947         * src/WebCompositorInputHandlerImpl.h:
948         (WebCore):
949         (WebCompositorInputHandlerImpl):
950         * tests/PlatformGestureCurveTest.cpp:
951         * tests/WebCompositorInputHandlerImplTest.cpp:
952
953 2012-03-15  Dana Jansens  <danakj@chromium.org>
954
955         [Chromium] REGRESSION(r110596) CCQuadCullerTest.verifyCullChildLinesUpTopLeft fails on Windows
956         https://bugs.webkit.org/show_bug.cgi?id=81083
957
958         Reviewed by Adrienne Walker.
959
960         * tests/CCQuadCullerTest.cpp:
961         (WebCore::TEST):
962
963 2012-03-15  David Levin  <levin@chromium.org>
964
965         Various autoresize fixes.
966         https://bugs.webkit.org/show_bug.cgi?id=81199
967
968         Reviewed by Darin Fisher.
969
970         * public/WebView.h:
971         (WebView): Remove a deprecated api.
972         * src/WebViewImpl.cpp: Ditto.
973         * src/WebViewImpl.h: Ditto.
974         * tests/FrameTestHelpers.cpp:
975         (WebKit::FrameTestHelpers::registerMockedURLLoad): Added an overload with more flexibility.
976         The previous api didn't allow one to request a url with a search string.
977         (FrameTestHelpers):
978         * tests/FrameTestHelpers.h:
979         (FrameTestHelpers): Ditto.
980         * tests/WebViewTest.cpp: Fix the test because calling javascript:
981         was working. Make the test generic and added a lot more tests to cover
982         various possibilities. I avoided using a layout test because there wasn't
983         a way to get the scrollbar state, so I just generalized a test that was already there.
984         * tests/data/specify_size.html: Allow the test to take its size from the search string.
985
986 2012-03-15  Peter Beverloo  <peter@chromium.org>
987
988         Unreviewed.  Rolled DEPS.
989
990         * DEPS:
991
992 2012-03-14  Chris Fleizach  <cfleizach@apple.com>
993
994         AXDescription for HTML5 footer and ARIA role contentinfo incorrect
995         https://bugs.webkit.org/show_bug.cgi?id=78967
996
997         Reviewed by Beth Dakin.
998
999         * src/LocalizedStrings.cpp:
1000
1001 2012-03-13  Jon Lee  <jonlee@apple.com>
1002
1003         Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
1004         https://bugs.webkit.org/show_bug.cgi?id=80922
1005         <rdar://problem/11035082>
1006
1007         Reviewed by Jian Li.
1008
1009         You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
1010         LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
1011         new API. Therefore, APIs that are common between the two will have:
1012         #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
1013
1014         This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
1015         the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
1016
1017         Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
1018         * src/AssertMatchingEnums.cpp:
1019         * src/NotificationPresenterImpl.cpp:
1020         * src/NotificationPresenterImpl.h:
1021         * src/WebNotification.cpp:
1022         * src/WebRuntimeFeatures.cpp:
1023         (WebKit::WebRuntimeFeatures::enableNotifications):
1024         (WebKit::WebRuntimeFeatures::isNotificationsEnabled):
1025         * src/WebViewImpl.cpp:
1026         (WebKit::WebViewImpl::WebViewImpl):
1027         (WebKit):
1028         * src/WebViewImpl.h:
1029         (WebViewImpl):
1030
1031 2012-03-14  James Robinson  <jamesr@chromium.org>
1032
1033         [chromium] Deprecate renderDirectlyToWebView parameter of WebViewClient::createGraphicsContext3D()
1034         https://bugs.webkit.org/show_bug.cgi?id=80523
1035
1036         Reviewed by Darin Fisher.
1037
1038         * public/WebViewClient.h:
1039         (WebViewClient):
1040         (WebKit::WebViewClient::createGraphicsContext3D):
1041         * public/platform/WebKitPlatformSupport.h:
1042         (WebKit):
1043         * src/WebViewImpl.cpp:
1044         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
1045
1046 2012-03-14  James Robinson  <jamesr@chromium.org>
1047
1048         [chromium] Remove canRecoverFromContextLoss attribute, it's unused
1049         https://bugs.webkit.org/show_bug.cgi?id=81158
1050
1051         Reviewed by Stephen White.
1052
1053         Deletes the canRecoverFromContextLoss attribute from WebCore::GraphicsContext3D::Attributes. This is still left in
1054         WebGraphicsContext3D::Attributes, since chromium-side code still references it.
1055
1056         * src/GraphicsContext3DChromium.cpp:
1057         (WebCore::GraphicsContext3D::create):
1058
1059 2012-03-14  Stephen White  <senorblanco@chromium.org>
1060
1061         [chromium] Fix accelerated Canvas2D with threaded compositing.
1062         https://bugs.webkit.org/show_bug.cgi?id=80998
1063
1064         Reviewed by James Robinson.
1065
1066         * tests/Canvas2DLayerChromiumTest.cpp:
1067         Instantiate a CCLayerTreeHost, so that Canvas2DLayerChromium can
1068         retrieve its texture manager.  Also move the test into the unnamed
1069         namespace -- since it's already using WebCore, there's little reason for
1070         it to also be in the namespace.
1071         * tests/TreeSynchronizerTest.cpp:
1072         (WebKitTests):
1073         (WebKitTests::TEST):
1074         Add a new test for trying to synchronize NULL tree.
1075
1076 2012-03-14  James Robinson  <jamesr@chromium.org>
1077
1078         [chromium] Provide explicit polling API to check if the platform is capable of accelerated 2d canvas
1079         https://bugs.webkit.org/show_bug.cgi?id=80667
1080
1081         Reviewed by Darin Fisher.
1082
1083         * public/platform/WebKitPlatformSupport.h:
1084         (WebKit::WebKitPlatformSupport::canAccelerate2dCanvas):
1085         (WebKitPlatformSupport):
1086         * src/PlatformSupport.cpp:
1087         (WebCore::PlatformSupport::canAccelerate2dCanvas):
1088         (WebCore):
1089
1090 2012-03-14  Andrey Kosyakov  <caseq@chromium.org>
1091
1092         Web Inspector: add didCancelFrame timeline event
1093         https://bugs.webkit.org/show_bug.cgi?id=80994
1094
1095         Reviewed by Pavel Feldman.
1096
1097         - add intrumentCanceFrame(), called when renderer decides not to
1098             render frame after instrumentBeginFrame() was called.
1099
1100         * public/WebWidget.h:
1101         (WebWidget):
1102         (WebKit::WebWidget::instrumentCancelFrame):
1103         * src/WebViewImpl.cpp:
1104         (WebKit::WebViewImpl::instrumentCancelFrame):
1105         (WebKit):
1106         * src/WebViewImpl.h:
1107         (WebViewImpl):
1108
1109 2012-03-14  Dana Jansens  <danakj@chromium.org>
1110
1111         Region can acquire an empty span by subtracting an empty Region
1112         https://bugs.webkit.org/show_bug.cgi?id=81074
1113
1114         Reviewed by Anders Carlsson.
1115
1116         * tests/RegionTest.cpp:
1117         (WebCore::TEST):
1118         (WebCore):
1119
1120 2012-03-13  Hajime Morrita  <morrita@chromium.org>
1121
1122         Unreviewed, mark verifyCullChildLinesUpTopLeft() as failed.
1123
1124         * tests/CCQuadCullerTest.cpp:
1125         (WebCore):
1126         (WebCore::TEST):
1127
1128 2012-03-14  Marja Hölttä  <marja@google.com>
1129
1130         WebHTTPBody: Keep track of whether the data includes passwords.
1131         https://bugs.webkit.org/show_bug.cgi?id=81003
1132
1133         Reviewed by Darin Fisher.
1134
1135         This change enables Chrome to save HTTP bodies selectively, only
1136         if they don't contain passwords.
1137
1138         * public/platform/WebHTTPBody.h:
1139         (WebHTTPBody): Added containsPasswordData, setContainsPasswordData.
1140         * src/WebHTTPBody.cpp:
1141         (WebKit::WebHTTPBody::containsPasswordData): Added.
1142         (WebKit):
1143         (WebKit::WebHTTPBody::setContainsPasswordData): Added.
1144
1145 2012-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1146
1147         Unreviewed.  Rolled DEPS.
1148
1149         * DEPS:
1150
1151 2012-03-13  Hajime Morrita  <morrita@chromium.org>
1152
1153         Unreviewed, mark verifyCullChildLinesUpTopLeft() as failed.
1154
1155         * tests/CCQuadCullerTest.cpp:
1156         (WebCore):
1157         (WebCore::TEST):
1158
1159 2012-03-13  Shawn Singh  <shawnsingh@chromium.org>
1160
1161         [chromium] wrong transform causing incorrect culling
1162         https://bugs.webkit.org/show_bug.cgi?id=80471
1163
1164         Reviewed by James Robinson.
1165
1166         * tests/CCRenderSurfaceTest.cpp:
1167         (WebCore::TEST):
1168         (WebCore):
1169
1170 2012-03-13  Nat Duca  <nduca@chromium.org>
1171
1172         [chromium] vsync ticks are needed in invisible tabs when we are still updating resources
1173         https://bugs.webkit.org/show_bug.cgi?id=80910
1174
1175         Reviewed by James Robinson.
1176
1177         * tests/CCSchedulerStateMachineTest.cpp:
1178         (WebCore::TEST):
1179         (WebCore):
1180
1181 2012-03-13  Dana Jansens  <danakj@chromium.org>
1182
1183         Region::contains(IntPoint) is slow
1184         https://bugs.webkit.org/show_bug.cgi?id=81008
1185
1186         Reviewed by Anders Carlsson.
1187
1188         * WebKit.gypi:
1189         * tests/RegionTest.cpp: Added.
1190         (WebCore):
1191         (WebCore::TEST):
1192
1193 2012-03-13  Gavin Peters  <gavinp@chromium.org>
1194
1195         Implement ApplicationCacheHost::canCacheInPageCache() for chromium.
1196         https://bugs.webkit.org/show_bug.cgi?id=80905
1197
1198         Reviewed by Eric Seidel.
1199
1200         This won't cause chrome to use the PageCache, but it will cause our histogram statistics
1201         describing PageCache use to be more accurate.
1202
1203         * src/ApplicationCacheHost.cpp:
1204         (WebCore::ApplicationCacheHost::canCacheInPageCache):
1205
1206 2012-03-13  Dana Jansens  <danakj@chromium.org>
1207
1208         [chromium] Use CCOcclusionTracker for draw culling
1209         https://bugs.webkit.org/show_bug.cgi?id=80743
1210
1211         Reviewed by Adrienne Walker.
1212
1213         * WebKit.gypi:
1214         * tests/CCLayerTreeHostImplTest.cpp:
1215         (WebKit::BlendStateCheckLayer::appendQuads):
1216         * tests/CCQuadCullerTest.cpp:
1217         (TestCCOcclusionTrackerImpl):
1218         (WebCore::TestCCOcclusionTrackerImpl::TestCCOcclusionTrackerImpl):
1219         (WebCore::TestCCOcclusionTrackerImpl::layerScissorRectInTargetSurface):
1220         (WebCore::makeLayer):
1221         (WebCore::appendQuads):
1222         (WebCore):
1223         (WebCore::TEST):
1224         * tests/CCSolidColorLayerImplTest.cpp:
1225         (CCLayerTestCommon::TEST):
1226         * tests/CCTiledLayerImplTest.cpp:
1227         (CCLayerTestCommon::TEST):
1228         (CCLayerTestCommon::getQuads):
1229         * tests/MockCCQuadCuller.h: Added.
1230         (WebCore):
1231         (MockCCQuadCuller):
1232         (WebCore::MockCCQuadCuller::MockCCQuadCuller):
1233         (WebCore::MockCCQuadCuller::append):
1234         (WebCore::MockCCQuadCuller::quadList):
1235
1236 2012-03-13  Adam Barth  <abarth@webkit.org> && Benjamin Poulain  <bpoulain@apple.com>
1237
1238         Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
1239         https://bugs.webkit.org/show_bug.cgi?id=78853
1240
1241         Reviewed by Adam Barth.
1242
1243         * features.gypi:
1244         * src/ChromeClientImpl.cpp:
1245         * src/ChromeClientImpl.h:
1246         (ChromeClientImpl):
1247
1248 2012-03-13  Tommy Widenflycht  <tommyw@google.com>
1249
1250         MediaStream API: Rename PeerConnection to DeprecatedPeerConnection
1251         https://bugs.webkit.org/show_bug.cgi?id=80692
1252
1253         Reviewed by Adam Barth.
1254
1255         First patch in a series of patches to change the PeerConnection from ROAP to JSEP,
1256         see bug 80589 for more information.
1257
1258         * WebKit.gyp:
1259         * bridge/DeprecatedPeerConnectionHandler.cpp: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandler.cpp.
1260         (WebCore):
1261         (WebCore::DeprecatedPeerConnectionHandler::create):
1262         (WebCore::DeprecatedPeerConnectionHandler::DeprecatedPeerConnectionHandler):
1263         (WebCore::DeprecatedPeerConnectionHandler::~DeprecatedPeerConnectionHandler):
1264         (WebCore::DeprecatedPeerConnectionHandler::produceInitialOffer):
1265         (WebCore::DeprecatedPeerConnectionHandler::handleInitialOffer):
1266         (WebCore::DeprecatedPeerConnectionHandler::processSDP):
1267         (WebCore::DeprecatedPeerConnectionHandler::processPendingStreams):
1268         (WebCore::DeprecatedPeerConnectionHandler::sendDataStreamMessage):
1269         (WebCore::DeprecatedPeerConnectionHandler::stop):
1270         * bridge/DeprecatedPeerConnectionHandlerInternal.cpp: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandlerInternal.cpp.
1271         (WebCore):
1272         (WebCore::DeprecatedPeerConnectionHandlerInternal::DeprecatedPeerConnectionHandlerInternal):
1273         (WebCore::DeprecatedPeerConnectionHandlerInternal::~DeprecatedPeerConnectionHandlerInternal):
1274         (WebCore::DeprecatedPeerConnectionHandlerInternal::produceInitialOffer):
1275         (WebCore::DeprecatedPeerConnectionHandlerInternal::handleInitialOffer):
1276         (WebCore::DeprecatedPeerConnectionHandlerInternal::processSDP):
1277         (WebCore::DeprecatedPeerConnectionHandlerInternal::processPendingStreams):
1278         (WebCore::DeprecatedPeerConnectionHandlerInternal::sendDataStreamMessage):
1279         (WebCore::DeprecatedPeerConnectionHandlerInternal::stop):
1280         (WebCore::DeprecatedPeerConnectionHandlerInternal::didCompleteICEProcessing):
1281         (WebCore::DeprecatedPeerConnectionHandlerInternal::didGenerateSDP):
1282         (WebCore::DeprecatedPeerConnectionHandlerInternal::didReceiveDataStreamMessage):
1283         (WebCore::DeprecatedPeerConnectionHandlerInternal::didAddRemoteStream):
1284         (WebCore::DeprecatedPeerConnectionHandlerInternal::didRemoveRemoteStream):
1285         * bridge/DeprecatedPeerConnectionHandlerInternal.h: Renamed from Source/WebKit/chromium/bridge/PeerConnectionHandlerInternal.h.
1286         (WebKit):
1287         (WebCore):
1288         (DeprecatedPeerConnectionHandlerInternal):
1289
1290 2012-03-13  Dana Jansens  <danakj@chromium.org>
1291
1292         [chromium] Use projectQuad to apply inverse mapRect
1293         https://bugs.webkit.org/show_bug.cgi?id=80741
1294
1295         Reviewed by Adrienne Walker.
1296
1297         * tests/CCOcclusionTrackerTest.cpp:
1298         (WebCore):
1299         (CCOcclusionTrackerTest3dTransform):
1300         (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
1301         (CCOcclusionTrackerTestPerspectiveTransform):
1302         (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
1303         (CCOcclusionTrackerTestPerspectiveTransformBehindCamera):
1304         (WebCore::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
1305
1306 2012-03-13  Gavin Peters  <gavinp@chromium.org>
1307
1308         Make ApplicationCacheHost::canCacheInPageCache() non-const.
1309         https://bugs.webkit.org/show_bug.cgi?id=80904
1310
1311         Reviewed by Alexey Proskuryakov.
1312
1313         A const pointer to a large object like ApplicationCacheHost is not our standard
1314         practice; so remove this (implicit) one.  See also https://bugs.webkit.org/show_bug.cgi?id=80898
1315
1316         * src/ApplicationCacheHost.cpp:
1317         (WebCore::ApplicationCacheHost::canCacheInPageCache):
1318
1319 2012-03-13  Kinuko Yasuda  <kinuko@chromium.org>
1320
1321         Allow WebFileChooser to return extra file info (like displayName) in addition to mere file paths
1322         https://bugs.webkit.org/show_bug.cgi?id=80719
1323
1324         Reviewed by Kent Tamura.
1325
1326         * public/WebFileChooserCompletion.h:
1327         (SelectedFileInfo): Added.
1328         (WebFileChooserCompletion):
1329         (WebKit::WebFileChooserCompletion::didChooseFile): Added an overloaded
1330         method that takes SelectedFileInfo.
1331         * src/WebFileChooserCompletionImpl.cpp:
1332         (WebKit::WebFileChooserCompletionImpl::didChooseFile): Ditto.
1333         (WebKit):
1334         * src/WebFileChooserCompletionImpl.h:
1335         (WebFileChooserCompletionImpl):
1336
1337 2012-03-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1338
1339         Unreviewed, rolling out r110529.
1340         http://trac.webkit.org/changeset/110529
1341         https://bugs.webkit.org/show_bug.cgi?id=80969
1342
1343         breaks mac build (Requested by morrita on #webkit).
1344
1345         * tests/CCOcclusionTrackerTest.cpp:
1346         (WebCore):
1347
1348 2012-03-12  Hajime Morrita  <morrita@chromium.org>
1349
1350         Unreviewed Windows build fix.
1351
1352         * src/WebViewImpl.cpp:
1353
1354 2012-03-12  Dana Jansens  <danakj@chromium.org>
1355
1356         [chromium] Use projectQuad to apply inverse mapRect
1357         https://bugs.webkit.org/show_bug.cgi?id=80741
1358
1359         Reviewed by Adrienne Walker.
1360
1361         * tests/CCOcclusionTrackerTest.cpp:
1362         (WebCore):
1363         (CCOcclusionTrackerTest3dTransform):
1364         (WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
1365         (CCOcclusionTrackerTestPerspectiveTransform):
1366         (WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
1367         (CCOcclusionTrackerTestPerspectiveTransformBehindCamera):
1368         (WebCore::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
1369
1370 2012-03-12  Dana Jansens  <danakj@chromium.org>
1371
1372         [chromium] Fix clang build for CCOcclusionTracker tests
1373         https://bugs.webkit.org/show_bug.cgi?id=80891
1374
1375         Reviewed by Adam Barth.
1376
1377         * tests/CCOcclusionTrackerTest.cpp:
1378         (WebCore::CCOcclusionTrackerTest::createRoot):
1379         (WebCore::CCOcclusionTrackerTest::createLayer):
1380         (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
1381
1382 2012-03-12  Stephen White  <senorblanco@chromium.org>
1383
1384         [chromium] Restore canvas2D acceleration after context loss.
1385         https://bugs.webkit.org/show_bug.cgi?id=80629
1386
1387         Reviewed by James Robinson.
1388
1389         Covered by existing canvas tests, and manual testing (killing the GPU
1390         process).
1391
1392         * src/WebViewImpl.cpp:
1393         (WebKit::WebViewImpl::sharedGraphicsContext3D):
1394
1395 2012-03-12  Nat Duca  <nduca@chromium.org>
1396
1397         [Chromium] Force compositeAndReadback through regular scheduling flow
1398         https://bugs.webkit.org/show_bug.cgi?id=77049
1399
1400         Reviewed by James Robinson.
1401
1402         * tests/CCFrameRateControllerTest.cpp:
1403         (WebKitTests::FakeCCFrameRateControllerClient::reset):
1404         (WebKitTests::FakeCCFrameRateControllerClient::vsyncTicked):
1405         (WebKitTests::FakeCCFrameRateControllerClient::vsyncTick):
1406         (FakeCCFrameRateControllerClient):
1407         (WebKitTests::TEST):
1408         * tests/CCLayerTreeHostTest.cpp:
1409         (WTF):
1410         (CCLayerTreeHostTestCompositeAndReadbackWhileInvisible):
1411         (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible):
1412         (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::beginTest):
1413         (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::didCommitAndDrawFrame):
1414         (WTF::CCLayerTreeHostTestCompositeAndReadbackWhileInvisible::afterTest):
1415         (WTF::TEST_F):
1416         * tests/CCSchedulerStateMachineTest.cpp:
1417         (WebCore::StateMachine::setNeedsForcedCommit):
1418         (WebCore::StateMachine::needsForcedCommit):
1419         (StateMachine):
1420         (WebCore::TEST):
1421         (WebCore):
1422
1423 2012-03-12  Joshua Bell  <jsbell@chromium.org>
1424
1425         IndexedDB: Handle LevelDB database corruption
1426         https://bugs.webkit.org/show_bug.cgi?id=79413
1427
1428         Reviewed by Tony Chang.
1429
1430         * WebKit.gyp: Skip LevelDBTest.cpp in shared component builds due to webkit_support dependency
1431         * WebKit.gypi: Add LevelDBTest.cpp
1432         * tests/LevelDBTest.cpp: Added.
1433         (WebCore):
1434         (SimpleComparator):
1435         (WebCore::SimpleComparator::compare):
1436         (WebCore::SimpleComparator::name):
1437         (WebCore::encodeString):
1438         (WebCore::TEST):
1439
1440 2012-03-12  Dana Jansens  <danakj@chromium.org>
1441
1442         [chromium] Clean up culling tests and templatize to test impl constructs
1443         https://bugs.webkit.org/show_bug.cgi?id=80613
1444
1445         Reviewed by Adrienne Walker.
1446
1447         * tests/CCOcclusionTrackerTest.cpp:
1448         (WebCore::TestContentLayerChromium::TestContentLayerChromium):
1449         (WebCore::TestContentLayerChromium::opaqueContentsRegion):
1450         (WebCore::TestContentLayerChromium::setOpaqueContentsRect):
1451         (TestContentLayerChromium):
1452         (TestContentLayerImpl):
1453         (WebCore::TestContentLayerImpl::TestContentLayerImpl):
1454         (WebCore::TestContentLayerImpl::opaqueContentsRegion):
1455         (WebCore::TestContentLayerImpl::setOpaqueContentsRect):
1456         (WebCore):
1457         (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
1458         (WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
1459         (WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
1460         (WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
1461         (WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
1462         (WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
1463         (WebCore::TestDamageClient::damageRect):
1464         (CCOcclusionTrackerTestMainThreadTypes):
1465         (WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
1466         (WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
1467         (CCOcclusionTrackerTestImplThreadTypes):
1468         (WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
1469         (WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
1470         (CCOcclusionTrackerTest):
1471         (WebCore::CCOcclusionTrackerTest::TearDown):
1472         (WebCore::CCOcclusionTrackerTest::createRoot):
1473         (WebCore::CCOcclusionTrackerTest::createLayer):
1474         (WebCore::CCOcclusionTrackerTest::createSurface):
1475         (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
1476         (WebCore::CCOcclusionTrackerTest::createDrawingSurface):
1477         (WebCore::CCOcclusionTrackerTest::calcDrawEtc):
1478         (WebCore::CCOcclusionTrackerTest::setBaseProperties):
1479         (WebCore::CCOcclusionTrackerTest::setProperties):
1480         (CCOcclusionTrackerTestIdentityTransforms):
1481         (WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
1482         (CCOcclusionTrackerTestRotatedChild):
1483         (WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
1484         (CCOcclusionTrackerTestTranslatedChild):
1485         (WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
1486         (CCOcclusionTrackerTestChildInRotatedChild):
1487         (WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
1488         (CCOcclusionTrackerTestVisitTargetTwoTimes):
1489         (WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
1490         (CCOcclusionTrackerTestSurfaceRotatedOffAxis):
1491         (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
1492         (CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
1493         (WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
1494         (CCOcclusionTrackerTestOverlappingSurfaceSiblings):
1495         (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
1496         (CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
1497         (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
1498         (CCOcclusionTrackerTestFilters):
1499         (WebCore::CCOcclusionTrackerTestFilters::runMyTest):
1500         (CCOcclusionTrackerTestLayerScissorRectOutsideChild):
1501         (WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
1502         (CCOcclusionTrackerTestScreenScissorRectOutsideChild):
1503         (WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
1504         (CCOcclusionTrackerTestDamageRectOutsideChild):
1505         (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
1506         (CCOcclusionTrackerTestLayerScissorRectOverChild):
1507         (WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
1508         (CCOcclusionTrackerTestScreenScissorRectOverChild):
1509         (WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
1510         (CCOcclusionTrackerTestDamageRectOverChild):
1511         (WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
1512         (CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
1513         (WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
1514         (CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
1515         (WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
1516         (CCOcclusionTrackerTestDamageRectPartlyOverChild):
1517         (WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
1518         (CCOcclusionTrackerTestLayerScissorRectOverNothing):
1519         (WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
1520         (CCOcclusionTrackerTestScreenScissorRectOverNothing):
1521         (WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
1522         (CCOcclusionTrackerTestDamageRectOverNothing):
1523         (WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
1524         (CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
1525         (WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
1526         (CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
1527         (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
1528         (CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
1529         (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
1530
1531 2012-03-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1532
1533         Unreviewed, rolling out r110359.
1534         http://trac.webkit.org/changeset/110359
1535         https://bugs.webkit.org/show_bug.cgi?id=80799
1536
1537         SelectPopupMenuTest.ClickItem failure (Requested by ukai on
1538         #webkit).
1539
1540         * src/WebViewImpl.cpp:
1541         (WebKit::WebViewImpl::gestureEvent):
1542         (WebKit::WebViewImpl::applyAutofillSuggestions):
1543
1544 2012-03-11  Pavel Feldman  <pfeldman@chromium.org>
1545
1546         Web Inspector: [chromium] add provisional test for the downstream sanity test.
1547         https://bugs.webkit.org/show_bug.cgi?id=80784
1548
1549         Reviewed by Yury Semikhatsky.
1550
1551         * src/js/Tests.js:
1552         (.TestSuite.prototype.checkLogAndErrorMessages.validMessage):
1553         (.TestSuite.prototype.checkLogAndErrorMessages.onConsoleMessage):
1554         (.TestSuite.prototype.checkLogAndErrorMessages):
1555
1556 2012-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
1557
1558         Unreviewed, rolling out r110384.
1559         http://trac.webkit.org/changeset/110384
1560         https://bugs.webkit.org/show_bug.cgi?id=80774
1561
1562         compile failed on Chromium Win Release (Requested by ukai_home
1563         on #webkit).
1564
1565         * tests/CCOcclusionTrackerTest.cpp:
1566         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
1567         (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
1568         (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
1569         (LayerChromiumWithForcedDrawsContent):
1570         (WebCore::setLayerPropertiesForTesting):
1571         (WebCore):
1572         (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
1573         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
1574         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
1575         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
1576         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
1577         (WebCore::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
1578         (WebCore::TestDamageClient::damageRect):
1579         (WebCore::layerAddedToOccludedRegion):
1580         (WebCore::layerAddedToOccludedRegionWithRotation):
1581         (WebCore::layerAddedToOccludedRegionWithTranslation):
1582         (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
1583         (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
1584         (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
1585         (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
1586         (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
1587         (WebCore::surfaceOcclusionInScreenSpace):
1588         (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
1589         (WebCore::occlusionInteractionWithFilters):
1590         (WebCore::layerScissorRectOverTile):
1591         (WebCore::screenScissorRectOverTile):
1592         (WebCore::layerScissorRectOverCulledTile):
1593         (WebCore::screenScissorRectOverCulledTile):
1594         (WebCore::layerScissorRectOverPartialTiles):
1595         (WebCore::screenScissorRectOverPartialTiles):
1596         (WebCore::layerScissorRectOverNoTiles):
1597         (WebCore::screenScissorRectOverNoTiles):
1598         (WebCore::layerScissorRectForLayerOffOrigin):
1599         (WebCore::damageRectOverTile):
1600         (WebCore::damageRectOverCulledTile):
1601         (WebCore::damageRectOverPartialTiles):
1602         (WebCore::damageRectOverNoTiles):
1603         (WebCore::TEST):
1604
1605 2012-03-10  Dana Jansens  <danakj@chromium.org>
1606
1607         [chromium] Clean up culling tests and templatize to test impl constructs
1608         https://bugs.webkit.org/show_bug.cgi?id=80613
1609
1610         Reviewed by Adrienne Walker.
1611
1612         * tests/CCOcclusionTrackerTest.cpp:
1613         (WebCore::TestContentLayerChromium::TestContentLayerChromium):
1614         (WebCore::TestContentLayerChromium::opaqueContentsRegion):
1615         (WebCore::TestContentLayerChromium::setOpaqueContentsRect):
1616         (TestContentLayerChromium):
1617         (TestContentLayerImpl):
1618         (WebCore::TestContentLayerImpl::TestContentLayerImpl):
1619         (WebCore::TestContentLayerImpl::opaqueContentsRegion):
1620         (WebCore::TestContentLayerImpl::setOpaqueContentsRect):
1621         (WebCore):
1622         (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
1623         (WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
1624         (WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
1625         (WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
1626         (WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
1627         (WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
1628         (WebCore::TestDamageClient::damageRect):
1629         (CCOcclusionTrackerTestMainThreadTypes):
1630         (WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
1631         (WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
1632         (CCOcclusionTrackerTestImplThreadTypes):
1633         (WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
1634         (WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
1635         (CCOcclusionTrackerTest):
1636         (WebCore::CCOcclusionTrackerTest::TearDown):
1637         (WebCore::CCOcclusionTrackerTest::createRoot):
1638         (WebCore::CCOcclusionTrackerTest::createLayer):
1639         (WebCore::CCOcclusionTrackerTest::createSurface):
1640         (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
1641         (WebCore::CCOcclusionTrackerTest::createDrawingSurface):
1642         (WebCore::CCOcclusionTrackerTest::calcDrawEtc):
1643         (WebCore::CCOcclusionTrackerTest::setBaseProperties):
1644         (WebCore::CCOcclusionTrackerTest::setProperties):
1645         (CCOcclusionTrackerTestIdentityTransforms):
1646         (WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
1647         (CCOcclusionTrackerTestRotatedChild):
1648         (WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
1649         (CCOcclusionTrackerTestTranslatedChild):
1650         (WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
1651         (CCOcclusionTrackerTestChildInRotatedChild):
1652         (WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
1653         (CCOcclusionTrackerTestVisitTargetTwoTimes):
1654         (WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
1655         (CCOcclusionTrackerTestSurfaceRotatedOffAxis):
1656         (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
1657         (CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
1658         (WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
1659         (CCOcclusionTrackerTestOverlappingSurfaceSiblings):
1660         (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
1661         (CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
1662         (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
1663         (CCOcclusionTrackerTestFilters):
1664         (WebCore::CCOcclusionTrackerTestFilters::runMyTest):
1665         (CCOcclusionTrackerTestLayerScissorRectOutsideChild):
1666         (WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
1667         (CCOcclusionTrackerTestScreenScissorRectOutsideChild):
1668         (WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
1669         (CCOcclusionTrackerTestDamageRectOutsideChild):
1670         (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
1671         (CCOcclusionTrackerTestLayerScissorRectOverChild):
1672         (WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
1673         (CCOcclusionTrackerTestScreenScissorRectOverChild):
1674         (WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
1675         (CCOcclusionTrackerTestDamageRectOverChild):
1676         (WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
1677         (CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
1678         (WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
1679         (CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
1680         (WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
1681         (CCOcclusionTrackerTestDamageRectPartlyOverChild):
1682         (WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
1683         (CCOcclusionTrackerTestLayerScissorRectOverNothing):
1684         (WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
1685         (CCOcclusionTrackerTestScreenScissorRectOverNothing):
1686         (WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
1687         (CCOcclusionTrackerTestDamageRectOverNothing):
1688         (WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
1689         (CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
1690         (WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
1691         (CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
1692         (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
1693         (CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
1694         (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
1695
1696 2012-03-09  Jon Lee  <jonlee@apple.com>
1697
1698         Rename NotificationPresenter to NotificationClient
1699         https://bugs.webkit.org/show_bug.cgi?id=80488
1700         <rdar://problem/10965558>
1701
1702         Reviewed by Kentaro Hara.
1703
1704         Refactor to use renamed WebCore::NotificationClient.
1705         * src/AssertMatchingEnums.cpp:
1706         * src/NotificationPresenterImpl.cpp:
1707         (WebKit::NotificationPresenterImpl::checkPermission):
1708         * src/NotificationPresenterImpl.h:
1709         (NotificationPresenterImpl):
1710
1711 2012-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
1712
1713         Unreviewed, rolling out r110363.
1714         http://trac.webkit.org/changeset/110363
1715         https://bugs.webkit.org/show_bug.cgi?id=80757
1716
1717         link error in chromium: unresolved external symbol
1718         webkit_support::CreateScopedTempDirectory(void) (Requested by
1719         ukai_home on #webkit).
1720
1721         * WebKit.gypi:
1722         * tests/LevelDBTest.cpp: Removed.
1723
1724 2012-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
1725
1726         Unreviewed, rolling out r110353.
1727         http://trac.webkit.org/changeset/110353
1728         https://bugs.webkit.org/show_bug.cgi?id=80752
1729
1730         copmile failed on Chromium (Requested by ukai_home on
1731         #webkit).
1732
1733         * tests/CCOcclusionTrackerTest.cpp:
1734         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
1735         (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
1736         (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
1737         (LayerChromiumWithForcedDrawsContent):
1738         (WebCore::setLayerPropertiesForTesting):
1739         (WebCore):
1740         (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
1741         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
1742         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
1743         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
1744         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
1745         (WebCore::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
1746         (WebCore::TestDamageClient::damageRect):
1747         (WebCore::layerAddedToOccludedRegion):
1748         (WebCore::layerAddedToOccludedRegionWithRotation):
1749         (WebCore::layerAddedToOccludedRegionWithTranslation):
1750         (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
1751         (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
1752         (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
1753         (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
1754         (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
1755         (WebCore::surfaceOcclusionInScreenSpace):
1756         (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
1757         (WebCore::occlusionInteractionWithFilters):
1758         (WebCore::layerScissorRectOverTile):
1759         (WebCore::screenScissorRectOverTile):
1760         (WebCore::layerScissorRectOverCulledTile):
1761         (WebCore::screenScissorRectOverCulledTile):
1762         (WebCore::layerScissorRectOverPartialTiles):
1763         (WebCore::screenScissorRectOverPartialTiles):
1764         (WebCore::layerScissorRectOverNoTiles):
1765         (WebCore::screenScissorRectOverNoTiles):
1766         (WebCore::layerScissorRectForLayerOffOrigin):
1767         (WebCore::damageRectOverTile):
1768         (WebCore::damageRectOverCulledTile):
1769         (WebCore::damageRectOverPartialTiles):
1770         (WebCore::damageRectOverNoTiles):
1771         (WebCore::TEST):
1772
1773 2012-03-09  Robert Kroeger  <rjkroege@chromium.org>
1774
1775         Handle more Gesture* events by performing scrolls on the correct target ScrollableArea 
1776         https://bugs.webkit.org/show_bug.cgi?id=80311
1777
1778         Added a unit test for the changes to ScrollAnimatorNone to make sure that the two-call
1779         transport of fling parameters is correctly delivered.
1780
1781         Reviewed by James Robinson.
1782
1783         * tests/ScrollAnimatorNoneTest.cpp:
1784         (MockScrollAnimatorNone):
1785         (MockScrollAnimatorNone::reset):
1786         (MockScrollAnimatorNone::fireUpAnAnimation):
1787         (TEST):
1788
1789 2012-03-07  James Robinson  <jamesr@chromium.org>
1790
1791         [chromium] Deprecate renderDirectlyToWebView parameter of WebViewClient::createGraphicsContext3D()
1792         https://bugs.webkit.org/show_bug.cgi?id=80523
1793
1794         Reviewed by Darin Fisher.
1795
1796         * public/WebViewClient.h:
1797         (WebViewClient):
1798         (WebKit::WebViewClient::createGraphicsContext3D):
1799         * public/platform/WebKitPlatformSupport.h:
1800         (WebKit):
1801         * src/WebViewImpl.cpp:
1802         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
1803
1804 2012-03-09  Joshua Bell  <jsbell@chromium.org>
1805
1806         IndexedDB: Handle LevelDB database corruption
1807         https://bugs.webkit.org/show_bug.cgi?id=79413
1808
1809         Reviewed by Tony Chang.
1810
1811         * WebKit.gypi:
1812         * tests/LevelDBTest.cpp: Added.
1813         (WebCore):
1814         (SimpleComparator):
1815         (WebCore::SimpleComparator::compare):
1816         (WebCore::SimpleComparator::name):
1817         (WebCore::encodeString):
1818         (WebCore::TEST):
1819
1820 2012-03-09  Tim Dresser  <tdresser@chromium.org>
1821
1822         [chromium] Increase size of Combo Box Options for touch and high DPI devices
1823         https://bugs.webkit.org/show_bug.cgi?id=80027
1824
1825         Reviewed by Darin Fisher.
1826
1827         * src/WebViewImpl.cpp:
1828         (WebKit::WebViewImpl::gestureEvent):
1829         (WebKit::WebViewImpl::applyAutofillSuggestions):
1830
1831 2012-03-09  James Robinson  <jamesr@chromium.org>
1832
1833         [chromium] Roll chromium DEPS to r125600
1834         https://bugs.webkit.org/show_bug.cgi?id=80722
1835
1836         Unreviewed
1837
1838         * DEPS:
1839
1840 2012-03-09  Dana Jansens  <danakj@chromium.org>
1841
1842         [chromium] Clean up culling tests and templatize to test impl constructs
1843         https://bugs.webkit.org/show_bug.cgi?id=80613
1844
1845         Reviewed by Adrienne Walker.
1846
1847         * tests/CCOcclusionTrackerTest.cpp:
1848         (WebCore::TestContentLayerChromium::TestContentLayerChromium):
1849         (WebCore::TestContentLayerChromium::opaqueContentsRegion):
1850         (WebCore::TestContentLayerChromium::setOpaqueContentsRect):
1851         (TestContentLayerChromium):
1852         (TestContentLayerImpl):
1853         (WebCore::TestContentLayerImpl::TestContentLayerImpl):
1854         (WebCore::TestContentLayerImpl::opaqueContentsRegion):
1855         (WebCore::TestContentLayerImpl::setOpaqueContentsRect):
1856         (WebCore):
1857         (WebCore::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
1858         (WebCore::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
1859         (WebCore::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
1860         (WebCore::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
1861         (WebCore::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
1862         (WebCore::TestCCOcclusionTrackerBase::layerScissorRectInTargetSurface):
1863         (WebCore::TestDamageClient::damageRect):
1864         (CCOcclusionTrackerTestMainThreadTypes):
1865         (WebCore::CCOcclusionTrackerTestMainThreadTypes::createLayer):
1866         (WebCore::CCOcclusionTrackerTestMainThreadTypes::createContentLayer):
1867         (CCOcclusionTrackerTestImplThreadTypes):
1868         (WebCore::CCOcclusionTrackerTestImplThreadTypes::createLayer):
1869         (WebCore::CCOcclusionTrackerTestImplThreadTypes::createContentLayer):
1870         (CCOcclusionTrackerTest):
1871         (WebCore::CCOcclusionTrackerTest::TearDown):
1872         (WebCore::CCOcclusionTrackerTest::createRoot):
1873         (WebCore::CCOcclusionTrackerTest::createLayer):
1874         (WebCore::CCOcclusionTrackerTest::createSurface):
1875         (WebCore::CCOcclusionTrackerTest::createDrawingLayer):
1876         (WebCore::CCOcclusionTrackerTest::createDrawingSurface):
1877         (WebCore::CCOcclusionTrackerTest::calcDrawEtc):
1878         (WebCore::CCOcclusionTrackerTest::setBaseProperties):
1879         (WebCore::CCOcclusionTrackerTest::setProperties):
1880         (CCOcclusionTrackerTestIdentityTransforms):
1881         (WebCore::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
1882         (CCOcclusionTrackerTestRotatedChild):
1883         (WebCore::CCOcclusionTrackerTestRotatedChild::runMyTest):
1884         (CCOcclusionTrackerTestTranslatedChild):
1885         (WebCore::CCOcclusionTrackerTestTranslatedChild::runMyTest):
1886         (CCOcclusionTrackerTestChildInRotatedChild):
1887         (WebCore::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
1888         (CCOcclusionTrackerTestVisitTargetTwoTimes):
1889         (WebCore::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
1890         (CCOcclusionTrackerTestSurfaceRotatedOffAxis):
1891         (WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
1892         (CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren):
1893         (WebCore::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
1894         (CCOcclusionTrackerTestOverlappingSurfaceSiblings):
1895         (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
1896         (CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms):
1897         (WebCore::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
1898         (CCOcclusionTrackerTestFilters):
1899         (WebCore::CCOcclusionTrackerTestFilters::runMyTest):
1900         (CCOcclusionTrackerTestLayerScissorRectOutsideChild):
1901         (WebCore::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
1902         (CCOcclusionTrackerTestScreenScissorRectOutsideChild):
1903         (WebCore::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
1904         (CCOcclusionTrackerTestDamageRectOutsideChild):
1905         (WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
1906         (CCOcclusionTrackerTestLayerScissorRectOverChild):
1907         (WebCore::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
1908         (CCOcclusionTrackerTestScreenScissorRectOverChild):
1909         (WebCore::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
1910         (CCOcclusionTrackerTestDamageRectOverChild):
1911         (WebCore::CCOcclusionTrackerTestDamageRectOverChild::runMyTest):
1912         (CCOcclusionTrackerTestLayerScissorRectPartlyOverChild):
1913         (WebCore::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
1914         (CCOcclusionTrackerTestScreenScissorRectPartlyOverChild):
1915         (WebCore::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
1916         (CCOcclusionTrackerTestDamageRectPartlyOverChild):
1917         (WebCore::CCOcclusionTrackerTestDamageRectPartlyOverChild::runMyTest):
1918         (CCOcclusionTrackerTestLayerScissorRectOverNothing):
1919         (WebCore::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
1920         (CCOcclusionTrackerTestScreenScissorRectOverNothing):
1921         (WebCore::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
1922         (CCOcclusionTrackerTestDamageRectOverNothing):
1923         (WebCore::CCOcclusionTrackerTestDamageRectOverNothing::runMyTest):
1924         (CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin):
1925         (WebCore::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
1926         (CCOcclusionTrackerTestOpaqueContentsRegionEmpty):
1927         (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
1928         (CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty):
1929         (WebCore::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
1930
1931 2012-03-09  Emil A Eklund  <eae@chromium.org>
1932
1933         Add roundedPoint to HitTestResult and change platform code to use it
1934         https://bugs.webkit.org/show_bug.cgi?id=80715
1935
1936         Reviewed by James Robinson.
1937
1938         Change ports to use roundedPoint to avoid exposing subpixel types to
1939         platform code.
1940
1941         * src/ChromeClientImpl.cpp:
1942         (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
1943         * src/ContextMenuClientImpl.cpp:
1944         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1945
1946 2012-03-09  W. James MacLean  <wjmaclean@chromium.org>
1947
1948         [chromium] Implement scroll physics architecture for impl/main thread
1949         https://bugs.webkit.org/show_bug.cgi?id=79827
1950
1951         Reviewed by James Robinson.
1952
1953         * WebKit.gypi:
1954         * tests/PlatformGestureCurveTest.cpp: Added.
1955
1956 2012-03-09  Tien-Ren Chen  <trchen@chromium.org>
1957
1958         [chromium] ScrollbarLayerChromium/CCScrollbarLayerImpl for CC-side scrollbar painting
1959         https://bugs.webkit.org/show_bug.cgi?id=78872
1960
1961         Reviewed by James Robinson.
1962
1963         * WebKit.gypi:
1964         * tests/ScrollbarLayerChromiumTest.cpp: Added.
1965         (WebCore):
1966         (MockScrollbar):
1967         (WebCore::MockScrollbar::x):
1968         (WebCore::MockScrollbar::y):
1969         (WebCore::MockScrollbar::width):
1970         (WebCore::MockScrollbar::height):
1971         (WebCore::MockScrollbar::size):
1972         (WebCore::MockScrollbar::location):
1973         (WebCore::MockScrollbar::parent):
1974         (WebCore::MockScrollbar::root):
1975         (WebCore::MockScrollbar::setFrameRect):
1976         (WebCore::MockScrollbar::frameRect):
1977         (WebCore::MockScrollbar::invalidate):
1978         (WebCore::MockScrollbar::invalidateRect):
1979         (WebCore::MockScrollbar::scrollbarOverlayStyle):
1980         (WebCore::MockScrollbar::getTickmarks):
1981         (WebCore::MockScrollbar::isScrollableAreaActive):
1982         (WebCore::MockScrollbar::isScrollViewScrollbar):
1983         (WebCore::MockScrollbar::convertFromContainingWindow):
1984         (WebCore::MockScrollbar::isCustomScrollbar):
1985         (WebCore::MockScrollbar::orientation):
1986         (WebCore::MockScrollbar::value):
1987         (WebCore::MockScrollbar::currentPos):
1988         (WebCore::MockScrollbar::visibleSize):
1989         (WebCore::MockScrollbar::totalSize):
1990         (WebCore::MockScrollbar::maximum):
1991         (WebCore::MockScrollbar::controlSize):
1992         (WebCore::MockScrollbar::lineStep):
1993         (WebCore::MockScrollbar::pageStep):
1994         (WebCore::MockScrollbar::pressedPart):
1995         (WebCore::MockScrollbar::hoveredPart):
1996         (WebCore::MockScrollbar::styleChanged):
1997         (WebCore::MockScrollbar::enabled):
1998         (WebCore::MockScrollbar::setEnabled):
1999         (WebCore::MockScrollbar::MockScrollbar):
2000         (WebCore::MockScrollbar::~MockScrollbar):
2001         (WebCore::TEST):
2002
2003 2012-03-08  James Robinson  <jamesr@chromium.org>
2004
2005         [chromium] Expose the shared graphics context on WebView so callers can allocate resources on the main thread for the compositor to use
2006         https://bugs.webkit.org/show_bug.cgi?id=80670
2007
2008         Reviewed by Stephen White.
2009
2010         This exposes a context on WebView that is in the compositor's share group and can be used directly from the main
2011         thread. This is useful for content that needs to allocate resources for the compositor to use, but cannot
2012         directly use the compositor's context either because it cannot access the correct thread or because it needs to
2013         initialize in situations where we cannot initialize a compositor (view) context - for instance before the native
2014         window is created.
2015
2016         * public/WebView.h:
2017         (WebView):
2018         * src/WebViewImpl.cpp:
2019         (WebKit::WebViewImpl::sharedGraphicsContext3D):
2020         (WebKit):
2021         * src/WebViewImpl.h:
2022         (WebViewImpl):
2023
2024 2012-03-09  Dana Jansens  <danakj@chromium.org>
2025
2026         [chromium] Use opaque paints in CCOcclusionTracker
2027         https://bugs.webkit.org/show_bug.cgi?id=80173
2028
2029         Reviewed by Adrienne Walker.
2030
2031         * tests/CCOcclusionTrackerTest.cpp:
2032         (WebCore::LayerChromiumWithForcedDrawsContent::opaqueContentsRegion):
2033         (LayerChromiumWithForcedDrawsContent):
2034         (WebCore::LayerChromiumWithForcedDrawsContent::setOpaquePaintRect):
2035         (WebCore::setLayerPropertiesForTesting):
2036         (WebCore):
2037         (WebCore::layerAddedToOccludedRegion):
2038         (WebCore::layerAddedToOccludedRegionWithRotation):
2039         (WebCore::layerAddedToOccludedRegionWithTranslation):
2040         (WebCore::layerAddedToOccludedRegionWithRotatedSurface):
2041         (WebCore::layerAddedToOccludedRegionWithSurfaceAlreadyOnStack):
2042         (WebCore::layerAddedToOccludedRegionWithRotatedOffAxisSurface):
2043         (WebCore::layerAddedToOccludedRegionWithMultipleOpaqueLayers):
2044         (WebCore::surfaceOcclusionWithOverlappingSiblingSurfaces):
2045         (WebCore::surfaceOcclusionInScreenSpace):
2046         (WebCore::surfaceOcclusionInScreenSpaceDifferentTransforms):
2047         (WebCore::occlusionInteractionWithFilters):
2048         (WebCore::layerScissorRectOverTile):
2049         (WebCore::screenScissorRectOverTile):
2050         (WebCore::layerScissorRectOverCulledTile):
2051         (WebCore::screenScissorRectOverCulledTile):
2052         (WebCore::layerScissorRectOverPartialTiles):
2053         (WebCore::screenScissorRectOverPartialTiles):
2054         (WebCore::layerScissorRectOverNoTiles):
2055         (WebCore::screenScissorRectOverNoTiles):
2056         (WebCore::layerScissorRectForLayerOffOrigin):
2057         (WebCore::damageRectOverTile):
2058         (WebCore::damageRectOverCulledTile):
2059         (WebCore::damageRectOverPartialTiles):
2060         (WebCore::damageRectOverNoTiles):
2061         (WebCore::TEST):
2062         * tests/TiledLayerChromiumTest.cpp:
2063         (WTF::TEST):
2064         (WTF):
2065
2066 2012-03-09  Jon Lee  <jonlee@apple.com>
2067
2068         Add support for ENABLE(LEGACY_NOTIFICATIONS)
2069         https://bugs.webkit.org/show_bug.cgi?id=80497
2070
2071         Reviewed by Adam Barth.
2072
2073         Prep for b80472: Update API for Web Notifications
2074         * features.gypi:
2075
2076 2012-03-09  Ian Vollick  <vollick@chromium.org>
2077
2078         [chromium] Ensure we use the correct time when notifying animation started
2079         https://bugs.webkit.org/show_bug.cgi?id=79537
2080
2081         Reviewed by James Robinson
2082
2083         * src/WebCompositorInputHandlerImpl.cpp:
2084         (WebKit::WebCompositorInputHandlerImpl::willDraw):
2085         * src/WebCompositorInputHandlerImpl.h:
2086         (WebCompositorInputHandlerImpl):
2087         * tests/CCLayerTreeHostImplTest.cpp:
2088         (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
2089         (WebKit::TEST_F):
2090         * tests/CCLayerTreeHostTest.cpp:
2091         (WTF::TestHooks::animateLayers):
2092         (WTF::TestHooks::updateAnimations):
2093         (WTF::MockLayerTreeHostImpl::animateLayers):
2094         (WTF::MockLayerTreeHostClient::updateAnimations):
2095         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
2096         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
2097         (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted):
2098         (CCLayerTreeHostTestAddAnimation):
2099
2100 2012-03-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2101
2102         Unreviewed, rolling out r110191, r110202, and r110279.
2103         http://trac.webkit.org/changeset/110191
2104         http://trac.webkit.org/changeset/110202
2105         http://trac.webkit.org/changeset/110279
2106         https://bugs.webkit.org/show_bug.cgi?id=80694
2107
2108         They broke !ENABLE(INSPECTOR) builds (Requested by Ossy on
2109         #webkit).
2110
2111         * features.gypi:
2112
2113 2012-03-09  Alexander Pavlov  <apavlov@chromium.org>
2114
2115         [chromium] Unreviewed, build fix after r110191
2116
2117         * features.gypi:
2118
2119 2012-03-08  Ian Vollick  <vollick@chromium.org>
2120
2121         [chromium] Ensure that the cc thread animation framework continues to tick when the tab is backgrounded
2122         https://bugs.webkit.org/show_bug.cgi?id=77668
2123
2124         Reviewed by James Robinson.
2125
2126         * tests/CCLayerTreeHostTest.cpp:
2127         (WTF::CCLayerTreeHostTest::postAddInstantAnimationToMainThread):
2128         (CCLayerTreeHostTest):
2129         (WTF::CCLayerTreeHostTest::dispatchAddInstantAnimation):
2130         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
2131         (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
2132         (WTF):
2133         (CCLayerTreeHostTestTickAnimationWhileBackgrounded):
2134         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::CCLayerTreeHostTestTickAnimationWhileBackgrounded):
2135         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::beginTest):
2136         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
2137         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::afterTest):
2138         (WTF::TEST_F):
2139
2140 2012-03-08  Jeff Timanus  <twiz@chromium.org>
2141
2142         [chromium] Force the Canvas2D GPU texture cache to 0 bytes for backgrounded tabs.
2143         https://bugs.webkit.org/show_bug.cgi?id=79948
2144
2145         Reviewed by Stephen White.
2146
2147         * src/GraphicsContext3DChromium.cpp:
2148         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
2149         (WebCore::GraphicsContext3DPrivate::grContext):
2150         (WebCore::GraphicsContext3DPrivate::setVisibilityCHROMIUM):
2151
2152 2012-03-08  Dana Jansens  <danakj@chromium.org>
2153
2154         [chromium] Replace completelyContains with Region::contains()
2155         https://bugs.webkit.org/show_bug.cgi?id=80617
2156
2157         Reviewed by James Robinson.
2158
2159         * tests/CCLayerTestCommon.cpp:
2160         (CCLayerTestCommon):
2161         (CCLayerTestCommon::verifyQuadsExactlyCoverRect):
2162         * tests/CCLayerTestCommon.h:
2163         (CCLayerTestCommon):
2164
2165 2012-03-08  James Robinson  <jamesr@chromium.org>
2166
2167         Use an explicit attribute to signal that a context prefers to use a discrete GPU
2168         https://bugs.webkit.org/show_bug.cgi?id=80639
2169
2170         Reviewed by Stephen White.
2171
2172         * src/GraphicsContext3DChromium.cpp:
2173         (WebCore::GraphicsContext3DPrivate::getContextAttributes):
2174         (WebCore::GraphicsContext3D::create):
2175         * src/WebViewImpl.cpp:
2176         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
2177
2178 2012-03-08  Scott Byer  <scottbyer@chromium.org>
2179
2180         Have ScrollAnimatorNone use requestAnimationFrame
2181         https://bugs.webkit.org/show_bug.cgi?id=78938
2182
2183         Reviewed by James Robinson.
2184
2185         * src/ScrollbarGroup.h:
2186         (WebCore):
2187         (WebKit::ScrollbarGroup::hostWindow):
2188         (ScrollbarGroup):
2189         * tests/ScrollAnimatorNoneTest.cpp:
2190         (MockScrollableArea::hostWindow):
2191
2192 2012-03-08  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2193
2194         Make elements with attributes smaller by eliminating the m_element back pointer in NamedNodeMap
2195         https://bugs.webkit.org/show_bug.cgi?id=75069
2196
2197         Reviewed by Ryosuke Niwa.
2198
2199         * src/WebElement.cpp: Include NamedNodeMap.h since Element.h doesn't include it anymore.
2200
2201 2012-03-07  Kent Tamura  <tkent@chromium.org>
2202
2203         Remove meaningless code in RenderTextControlSingleLine::preferredContentWidth()
2204         https://bugs.webkit.org/show_bug.cgi?id=80493
2205
2206         Reviewed by Hajime Morita.
2207
2208         * src/WebInputElement.cpp:
2209         RenderTextControlSingleLine::speechButtonElement() is removed. The
2210         following functions get it from HTMLInputElement.
2211         (WebKit::WebInputElement::getSpeechInputState):
2212         (WebKit::WebInputElement::startSpeechInput):
2213         (WebKit::WebInputElement::stopSpeechInput):
2214
2215 2012-03-07  Adam Barth  <abarth@webkit.org>
2216
2217         Remove #define private public from WebCache.cpp
2218         https://bugs.webkit.org/show_bug.cgi?id=80520
2219
2220         Reviewed by Eric Seidel.
2221
2222         This patch removes a hack we added long ago when Chromium used a forked
2223         copy of WebKit and editing WebCore caused merge pain.  Now that we're
2224         on trunk, we can unwind this hack.
2225
2226         * src/WebCache.cpp:
2227         (WebKit::WebCache::getUsageStats):
2228
2229 2012-03-07  Joshua Bell  <jsbell@chromium.org>
2230
2231         [Chromium] IndexedDB: V8LocalContext creation in IDBKey extraction/injection is slow
2232         https://bugs.webkit.org/show_bug.cgi?id=80358
2233
2234         Reviewed by Tony Chang.
2235
2236         * tests/IDBBindingUtilitiesTest.cpp:
2237         (WebCore::TEST):
2238
2239 2012-03-07  Scott Byer  <scottbyer@chromium.org>
2240
2241         Get ScrollAnimatorNone to handle the stop and reverse cases.
2242         https://bugs.webkit.org/show_bug.cgi?id=80455
2243
2244         Reviewed by James Robinson.
2245
2246         * tests/ScrollAnimatorNoneTest.cpp:
2247         (ScrollAnimatorNoneTest::updateDataFromParameters):
2248         (TEST_F):
2249
2250 2012-03-07  Dana Jansens  <danakj@chromium.org>
2251
2252         [chromium] Cull occluded tiles during paint
2253         https://bugs.webkit.org/show_bug.cgi?id=76838
2254
2255         Reviewed by Adrienne Walker.
2256
2257         * tests/CCLayerTreeHostTest.cpp:
2258         (WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
2259         * tests/TiledLayerChromiumTest.cpp:
2260         (WTF::FakeLayerTextureUpdater::Texture::prepareRect):
2261         (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
2262         (FakeLayerTextureUpdater):
2263         (WTF::FakeLayerTextureUpdater::prepareRectCount):
2264         (WTF::FakeLayerTextureUpdater::clearPrepareRectCount):
2265         (WTF::FakeLayerTextureUpdater::prepareRect):
2266         (WTF::FakeTiledLayerChromium::prepareToUpdate):
2267         (WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
2268         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
2269         (WTF::TEST):
2270         (WTF):
2271
2272 2012-03-07  Elliot Poger  <epoger@google.com>
2273
2274         [Chromium] Remove use_skia option from GYP
2275         https://bugs.webkit.org/show_bug.cgi?id=75811
2276
2277         Reviewed by Tony Chang.
2278
2279         * WebKit.gyp:
2280         * WebKit.gypi:
2281         * features.gypi:
2282
2283 2012-03-06  Dana Jansens  <danakj@chromium.org>
2284
2285         [chromium] Add clipping to scissor rect to CCOcclusionTracker
2286         https://bugs.webkit.org/show_bug.cgi?id=79927
2287
2288         Reviewed by Adrienne Walker.
2289
2290         * tests/CCOcclusionTrackerTest.cpp:
2291         (WebCore::TestCCOcclusionTracker::TestCCOcclusionTracker):
2292         (TestCCOcclusionTracker):
2293         (WebCore::TestCCOcclusionTracker::setLayerScissorRect):
2294         (WebCore::TestCCOcclusionTracker::useDefaultLayerScissorRect):
2295         (WebCore::TestCCOcclusionTracker::layerScissorRect):
2296         (WebCore):
2297         (TestDamageClient):
2298         (WebCore::TestDamageClient::damageRect):
2299         (WebCore::TestDamageClient::TestDamageClient):
2300         (WebCore::TestDamageClient::setDamageRect):
2301         (WebCore::TEST):
2302
2303 2012-03-06  Kenichi Ishibashi  <bashi@chromium.org>
2304
2305         [WebSocket] Introduce ThreadableWebSocketChannel::SendResult
2306         https://bugs.webkit.org/show_bug.cgi?id=80356
2307
2308         Reviewed by Kent Tamura.
2309
2310         * src/WebSocketImpl.cpp:
2311         (WebKit::WebSocketImpl::sendText): Checks whether the return value of send() is ThreadableWebSocketChannel::SendSuccess.
2312         (WebKit::WebSocketImpl::sendArrayBuffer): Ditto.
2313
2314 2012-03-06  Nat Duca  <nduca@chromium.org>
2315
2316         [chromium] CCThreadProxy context lost support
2317         https://bugs.webkit.org/show_bug.cgi?id=80100
2318
2319         Reviewed by James Robinson.
2320
2321         * tests/CCSchedulerStateMachineTest.cpp:
2322         * tests/CCSchedulerTest.cpp:
2323         (WebKitTests::FakeCCSchedulerClient::scheduledActionBeginContextRecreation):
2324         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionBeginContextRecreation):
2325         (WebKitTests::SchedulerClientThatSetNeedsCommitInsideDraw::scheduledActionBeginContextRecreation):
2326
2327 2012-03-06  James Robinson  <jamesr@chromium.org>
2328
2329         [chromium] Null-check m_layerRenderer in CCLayerTreeHostImpl::finishAllRendering()
2330         https://bugs.webkit.org/show_bug.cgi?id=80445
2331
2332         Reviewed by Adrienne Walker.
2333
2334         * tests/CCLayerTreeHostImplTest.cpp:
2335         (FakeWebGraphicsContext3DMakeCurrentFails):
2336         (WebKit::FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
2337         (WebKit):
2338         (WebKit::TEST_F):
2339
2340 2012-03-06  David Grogan  <dgrogan@chromium.org>
2341
2342         [Chromium] Add OVERRIDEs to WebWorkerClientImpl.h
2343         https://bugs.webkit.org/show_bug.cgi?id=80434
2344
2345         Reviewed by Tony Chang.
2346
2347         Tests: just that it compiles.
2348
2349         * src/WebWorkerClientImpl.h:
2350         (WebWorkerClientImpl):
2351
2352 2012-03-06  David Grogan  <dgrogan@chromium.org>
2353
2354         IndexedDB: Check WebCommonWorkerClient::allowIndexedDB before proceeding from a shared worker
2355         https://bugs.webkit.org/show_bug.cgi?id=79954
2356
2357         Tests: The 'allow' case will be tested once the patch at
2358         http://webkit.org/b/80189 and
2359         https://chromiumcodereview.appspot.com/9585031/ both land. Bug for
2360         testing the 'deny' case is http://crbug.com/113738.
2361
2362         Reviewed by Tony Chang.
2363
2364         * public/WebCommonWorkerClient.h:
2365         (WebKit::WebCommonWorkerClient::allowDatabase):
2366         (WebKit::WebCommonWorkerClient::allowFileSystem):
2367         (WebKit::WebCommonWorkerClient::openFileSystem):
2368         (WebCommonWorkerClient):
2369         (WebKit::WebCommonWorkerClient::allowIndexedDB):
2370         * public/WebSharedWorkerClient.h:
2371         (WebSharedWorkerClient):
2372         * src/IDBFactoryBackendProxy.cpp:
2373         (WebKit::AllowIndexedDBMainThreadBridge::create):
2374         (WebKit::AllowIndexedDBMainThreadBridge::cancel):
2375         (WebKit::AllowIndexedDBMainThreadBridge::signalCompleted):
2376         (WebKit::AllowIndexedDBMainThreadBridge::AllowIndexedDBMainThreadBridge):
2377         (WebKit::AllowIndexedDBMainThreadBridge::allowIndexedDBTask):
2378         (AllowIndexedDBMainThreadBridge):
2379         (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
2380         * src/WebWorkerClientImpl.cpp:
2381         (WebKit):
2382         (WebKit::WebWorkerClientImpl::allowIndexedDB):
2383         * src/WebWorkerClientImpl.h:
2384         (WebWorkerClientImpl):
2385
2386 2012-03-06  Stephen White  <senorblanco@chromium.org>
2387
2388         Unreviewed, rolling out r109825.
2389         http://trac.webkit.org/changeset/109825
2390         https://bugs.webkit.org/show_bug.cgi?id=79413
2391
2392         Broke webkit_unit_tests on Chromium Win
2393
2394         * WebKit.gypi:
2395         * tests/LevelDBTest.cpp: Removed.
2396
2397 2012-03-06  Takashi Toyoshima  <toyoshim@chromium.org>
2398
2399         [Chromium] [WebSocket] Add WebSocket extensions query WebKit API
2400         https://bugs.webkit.org/show_bug.cgi?id=80190
2401
2402         Reviewed by Darin Fisher.
2403
2404         * public/WebSocket.h: Add extensions() declaration.
2405         (WebSocket):
2406         * src/WebSocketImpl.cpp: Implement extensions() bridge.
2407         (WebKit::WebSocketImpl::extensions):
2408         (WebKit):
2409         * src/WebSocketImpl.h: Add extensions() declaration.
2410         (WebSocketImpl):
2411
2412 2012-03-05  Kent Tamura  <tkent@chromium.org>
2413
2414         Do not reformat strings in <input type=number> on platforms using LocalizedNumberICU.
2415         https://bugs.webkit.org/show_bug.cgi?id=78326
2416
2417         Reviewed by Hajime Morita.
2418
2419         Add a test for WebCore/platform/text/LocalizedNumberICU.
2420
2421         * WebKit.gypi: Added LocalizedNumberICUTest.cpp
2422         * tests/LocalizedNumberICUTest.cpp: Added.
2423
2424 2012-03-05  Kenneth Russell  <kbr@google.com>
2425
2426         [chromium] Notify CCLayerImpl tree of context loss and restoration
2427         https://bugs.webkit.org/show_bug.cgi?id=80339
2428
2429         Reviewed by James Robinson.
2430
2431         Unit test for notification of context loss and restoration.
2432
2433         * tests/CCLayerTreeHostImplTest.cpp:
2434         (WebKit):
2435         (ContextLostNotificationCheckLayer):
2436         (WebKit::ContextLostNotificationCheckLayer::create):
2437         (WebKit::ContextLostNotificationCheckLayer::didLoseAndRecreateGraphicsContext):
2438         (WebKit::ContextLostNotificationCheckLayer::didLoseAndRecreateGraphicsContextCalled):
2439         (WebKit::ContextLostNotificationCheckLayer::ContextLostNotificationCheckLayer):
2440         (WebKit::TEST_F):
2441
2442 2012-03-05  Changhun Kang  <temoochin@company100.net>
2443
2444         Change the argument orders to match OpenGL's in GraphicsContext3D functions
2445         https://bugs.webkit.org/show_bug.cgi?id=80120
2446
2447         Reviewed by Kenneth Russell.
2448
2449         No new tests because this patch just change the order of arguments.
2450
2451         * src/GraphicsContext3DChromium.cpp:
2452         (WebCore::GraphicsContext3DPrivate::uniform1fv):
2453         (WebCore::GraphicsContext3DPrivate::uniform1iv):
2454         (WebCore::GraphicsContext3DPrivate::uniform2fv):
2455         (WebCore::GraphicsContext3DPrivate::uniform2iv):
2456         (WebCore::GraphicsContext3DPrivate::uniform3fv):
2457         (WebCore::GraphicsContext3DPrivate::uniform3iv):
2458         (WebCore::GraphicsContext3DPrivate::uniform4fv):
2459         (WebCore::GraphicsContext3DPrivate::uniform4iv):
2460         (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
2461         (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
2462         (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
2463         (WebCore):
2464         * src/GraphicsContext3DPrivate.h:
2465         (GraphicsContext3DPrivate):
2466
2467 2012-03-05  Yoshifumi Inoue  <yosin@chromium.org>
2468
2469         [Chromium] WebOptionElement should inherit WebElement instead of WebFormControlElement
2470         https://bugs.webkit.org/show_bug.cgi?id=80089
2471
2472         Change class hierarchy of WebOptionElement to match with specification.
2473
2474         Reviewed by Darin Fisher.
2475
2476         * public/WebOptionElement.h: Replace to WebElement from WebFormControlElement 
2477         (WebKit::WebOptionElement::WebOptionElement):
2478         (WebKit::WebOptionElement::operator=):
2479         (WebKit::WebOptionElement::assign):
2480         * src/WebOptionElement.cpp:
2481         (WebKit::WebOptionElement::WebOptionElement):
2482
2483 2012-03-05  Joshua Bell  <jsbell@chromium.org>
2484
2485         IndexedDB: Handle LevelDB database corruption
2486         https://bugs.webkit.org/show_bug.cgi?id=79413
2487
2488         Reviewed by Tony Chang.
2489
2490         * WebKit.gypi:
2491         * tests/LevelDBTest.cpp: Added.
2492         (WebCore):
2493         (SimpleComparator):
2494         (WebCore::SimpleComparator::compare):
2495         (WebCore::SimpleComparator::name):
2496         (WebCore::encodeString):
2497         (WebCore::TEST):
2498
2499 2012-03-05  Min Qin  <qinmin@google.com>
2500
2501         Enable context menu on android
2502
2503         For android, long press is converted into a right mouse down event
2504         So we will use that to invoke the context menu
2505         https://bugs.webkit.org/show_bug.cgi?id=80332
2506
2507         Reviewed by Adam Barth.
2508
2509         * src/WebViewImpl.cpp:
2510         (WebKit::WebViewImpl::mouseDown):
2511
2512 2012-03-05  Kent Tamura  <tkent@chromium.org>
2513
2514         [Chromium] Add new popup type: PagePopup
2515         https://bugs.webkit.org/show_bug.cgi?id=80106
2516
2517         Reviewed by Darin Fisher.
2518
2519         This is a preparation of implementing ChromeClient::openPagePopup and
2520         closePagePopup.
2521
2522         * WebKit.gyp: Add WebPagePopup.h and WebPagePopupImpl.cpp.
2523         * public/WebPagePopup.h:
2524         (WebPagePopup): Add WebPagePopup interface.
2525         * public/WebPopupType.h: Add WebPopupTypePage.
2526         * src/WebPagePopupImpl.cpp:
2527         (WebKit::WebPagePopup::create): Temprary implementation which just returns 0.
2528
2529 2012-03-05  Charlie Reis  <creis@chromium.org>
2530
2531         [chromium] Pass WebNavigationPolicy to WebViewClient::createView
2532         https://bugs.webkit.org/show_bug.cgi?id=80057
2533
2534         Reviewed by Darin Fisher.
2535
2536         * public/WebViewClient.h:
2537         (WebViewClient):
2538         (WebKit::WebViewClient::createView):
2539         * src/ChromeClientImpl.cpp:
2540         (WebKit::ChromeClientImpl::ChromeClientImpl):
2541         (WebKit::ChromeClientImpl::createWindow):
2542         (WebKit::ChromeClientImpl::getNavigationPolicy):
2543         (WebKit):
2544         (WebKit::ChromeClientImpl::show):
2545         (WebKit::ChromeClientImpl::setNewWindowNavigationPolicy):
2546         * src/ChromeClientImpl.h:
2547         (ChromeClientImpl):
2548         * src/FrameLoaderClientImpl.cpp:
2549         (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
2550         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
2551
2552 2012-03-05  James Robinson  <jamesr@chromium.org>
2553
2554         [chromium] Initialize CCOverdrawCounts struct to zero
2555         https://bugs.webkit.org/show_bug.cgi?id=80204
2556
2557         Reviewed by Adrienne Walker.
2558
2559         Update test to use c'tor instead of {} struct initialization.
2560
2561         * tests/CCQuadCullerTest.cpp:
2562         (WebCore):
2563
2564 2012-03-05  Takashi Toyoshima  <toyoshim@chromium.org>
2565
2566         [Chromium] [WebSocket] use OVERRIDE in WebSocketImpl.h
2567         https://bugs.webkit.org/show_bug.cgi?id=80192
2568
2569         Reviewed by Kent Tamura.
2570
2571         * src/WebSocketImpl.h: use OVERRIDE macro.
2572         (WebSocketImpl):
2573
2574 2012-03-05  Adam Barth  <abarth@webkit.org>
2575
2576         Geolocation should use a ScriptExecutionContext as its context object
2577         https://bugs.webkit.org/show_bug.cgi?id=80248
2578
2579         Reviewed by Kentaro Hara.
2580
2581         Rather than indirecting through the Frame to get the SecurityOrigin, we
2582         should get the SecurityOrigin directly from ScriptExecutionContext.
2583
2584         * src/WebGeolocationPermissionRequest.cpp:
2585         (WebKit::WebGeolocationPermissionRequest::securityOrigin):
2586
2587 2012-03-02  Andrey Kosyakov  <caseq@chromium.org>
2588
2589         Add instrumentation for frame start/end on timeline.
2590
2591         Web Inspector: add timeline instrumentation for frame events
2592         https://bugs.webkit.org/show_bug.cgi?id=80127
2593
2594         Reviewed by Pavel Feldman.
2595
2596         - expose an instrumentation method from WebWidget to mark frame update start
2597
2598         * public/WebWidget.h:
2599         (WebWidget):
2600         (WebKit::WebWidget::instrumentBeginFrame):
2601         * src/WebViewImpl.cpp:
2602         (WebKit::WebViewImpl::instrumentBeginFrame):
2603         (WebKit):
2604         * src/WebViewImpl.h:
2605         (WebViewImpl):
2606
2607 2012-03-03  Benjamin Poulain  <benjamin@webkit.org>
2608
2609         Remove the redundant method KURL::protocolInHTTPFamily()
2610         https://bugs.webkit.org/show_bug.cgi?id=80216
2611
2612         Reviewed by Anders Carlsson.
2613
2614         * src/FrameLoaderClientImpl.cpp:
2615         (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
2616         * src/WebPageSerializer.cpp:
2617         (WebCore::retrieveResourcesForElement):
2618
2619 2012-03-03  Hans Wennborg  <hans@chromium.org>
2620
2621         Implement Speech JavaScript API
2622         https://bugs.webkit.org/show_bug.cgi?id=80019
2623
2624         Reviewed by Adam Barth.
2625
2626         Add ENABLE_SCRIPTED_SPEECH and runtime flag.
2627
2628         * features.gypi:
2629         * public/WebRuntimeFeatures.h:
2630         (WebRuntimeFeatures):
2631         * src/WebRuntimeFeatures.cpp:
2632         (WebKit::WebRuntimeFeatures::enableScriptedSpeech):
2633         (WebKit):
2634         (WebKit::WebRuntimeFeatures::isScriptedSpeechEnabled):
2635
2636 2012-03-03  Bill Budge  <bbudge@chromium.org>
2637
2638         Fixes AssociatedURLLoader support for Access-Control-Expose-Headers field in response.
2639         https://bugs.webkit.org/show_bug.cgi?id=80198
2640
2641         Reviewed by Adam Barth.
2642
2643         * src/AssociatedURLLoader.cpp:
2644         * tests/AssociatedURLLoaderTest.cpp:
2645
2646 2012-03-02  Dana Jansens  <danakj@chromium.org>
2647
2648         [Chromium] Allow plugins to set opaque() on their platform layer
2649         https://bugs.webkit.org/show_bug.cgi?id=80171
2650
2651         Reviewed by James Robinson.
2652
2653         * public/WebPluginContainer.h:
2654         (WebPluginContainer):
2655         * src/WebPluginContainerImpl.cpp:
2656         (WebKit::WebPluginContainerImpl::setOpaque):
2657         (WebKit):
2658         * src/WebPluginContainerImpl.h:
2659         (WebPluginContainerImpl):
2660
2661 2012-03-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2662
2663         Make parser code not depend on NamedNodeMap
2664         https://bugs.webkit.org/show_bug.cgi?id=79963
2665
2666         Reviewed by Adam Barth.
2667
2668         * src/WebNamedNodeMap.cpp:
2669         (WebKit::WebNamedNodeMap::attributeItem):
2670
2671 2012-03-01  Dana Jansens  <danakj@chromium.org>
2672
2673         [chromium] Make opaque paint tracker aware of SkCanvas layers
2674         https://bugs.webkit.org/show_bug.cgi?id=79145
2675
2676         Reviewed by Stephen White.
2677
2678         * tests/PlatformContextSkiaTest.cpp:
2679         (WebCore::TEST):
2680         (WebCore):
2681
2682 2012-03-01  Hironori Bono  <hbono@chromium.org>
2683
2684         Render overflow controls of an RTL element to its left-side.
2685         https://bugs.webkit.org/show_bug.cgi?id=54623
2686
2687         This change adds a new flag WTF_USE_RTL_SCROLLBAR and render the
2688         vertical scrollbars and resizers of RTL elements to their left side if
2689         this new flag is enabled.
2690
2691         Reviewed by Ryosuke Niwa.
2692
2693         * features.gypi: Set WTF_USE_RTL_SCROLLBAR to 1 on Chromium.
2694
2695 2012-03-01  James Robinson  <jamesr@chromium.org>
2696
2697         [chromium] Rename LayerChromium::name to debugName to be more consistent with other debug properties, make threadsafe
2698         https://bugs.webkit.org/show_bug.cgi?id=79723
2699
2700         Reviewed by Adrienne Walker.
2701
2702         * tests/LayerChromiumTest.cpp:
2703
2704 2012-03-01  Dale Curtis  <dalecurtis@chromium.org>
2705
2706         Remove deprecated FFmpeg build directories.
2707         https://bugs.webkit.org/show_bug.cgi?id=79282
2708
2709         We've switched the layout of the FFmpeg repo in Chrome and these paths
2710         are no longer needed or valid.
2711
2712         Reviewed by Dirk Pranke.
2713
2714         * DEPS:
2715
2716 2012-03-01  Dirk Pranke  <dpranke@chromium.org>
2717
2718         Roll chromium DEPS to 124511
2719
2720         Unreviewed, DEPS change.
2721
2722         * DEPS:
2723
2724 2012-02-29  Nat Duca  <nduca@chromium.org>
2725
2726         [chromium] Move context lost control code from CCSingleThreadProxy to CCLayerTreeHost
2727         https://bugs.webkit.org/show_bug.cgi?id=79964
2728
2729         Reviewed by James Robinson.
2730
2731         * src/WebLayerTreeView.cpp:
2732         (WebKit::WebLayerTreeView::loseCompositorContext):
2733         * src/WebLayerTreeViewImpl.cpp:
2734         (WebKit::WebLayerTreeViewImpl::createContext):
2735         (WebKit::WebLayerTreeViewImpl::didRecreateContext):
2736         * src/WebLayerTreeViewImpl.h:
2737         (WebLayerTreeViewImpl):
2738         * tests/CCLayerTreeHostTest.cpp:
2739         (WTF::MockLayerTreeHostClient::createContext):
2740         (WTF::MockLayerTreeHostClient::didRecreateContext):
2741         * tests/FakeCCLayerTreeHostClient.h:
2742         (WebCore::FakeCCLayerTreeHostClient::createContext):
2743         (WebCore::FakeCCLayerTreeHostClient::didRecreateContext):
2744
2745 2012-03-01  Kentaro Hara  <haraken@chromium.org>
2746
2747         REGRESSION(r109288): WebViewImpl::enableAutoResizeMode loops infinitely
2748         https://bugs.webkit.org/show_bug.cgi?id=77452
2749
2750         Reviewed by Hajime Morita.
2751
2752         WebViewImpl::enableAutoResizeMode loops infinitely.
2753         This patch fixes the following line:
2754
2755             enableAutoResizeMode(enable, minSize, maxSize);
2756
2757         to
2758             enableAutoResizeMode(minSize, maxSize);
2759
2760         to avoid the infinite loop. I guess this is the change originally intended.
2761
2762         Test: webkit_unit_tests.WebViewTest.AutoResizeMinimumSize
2763
2764         * src/WebViewImpl.cpp:
2765         (WebKit::WebViewImpl::enableAutoResizeMode):
2766
2767 2012-02-29  Kinuko Yasuda  <kinuko@chromium.org>
2768
2769         Use the new createSnapshotFileAndReadMetadata API for FileEntry.file()
2770         https://bugs.webkit.org/show_bug.cgi?id=79928
2771
2772         Reviewed by David Levin.
2773
2774         In the new flow we first create an internal Blob URL for the
2775         snapshot file and call the new createSnapshotFileAndReadMetadata()
2776         WebKit API with the Blob URL.
2777
2778         The implementor of createSnapshotFileAndReadMetadata() (i.e. chromium)
2779         registers the created snapshot file with the given internal Blob URL.
2780
2781         In the callback chain we call File::createWithName() to create a
2782         new File using the returned platform path, and then call
2783         unregisterBlobURL() to clean up the internal Blob URL.
2784
2785         * src/AsyncFileSystemChromium.cpp:
2786         (WebCore::AsyncFileSystemChromium::createSnapshotFileAndReadMetadata): Added.
2787         (WebCore::AsyncFileSystemChromium::createSnapshotFileCallback): Added.
2788         * src/AsyncFileSystemChromium.h:
2789         * src/WorkerAsyncFileSystemChromium.cpp:
2790         (WebCore::WorkerAsyncFileSystemChromium::createSnapshotFileAndReadMetadata): Added.
2791         * src/WorkerAsyncFileSystemChromium.h:
2792         * src/WorkerFileSystemCallbacksBridge.cpp:
2793         (WebKit::WorkerFileSystemCallbacksBridge::postCreateSnapshotFileToMainThread): Added.
2794         (WebKit::WorkerFileSystemCallbacksBridge::createSnapshotFileOnMainThread): Added.
2795         * src/WorkerFileSystemCallbacksBridge.h:
2796         (WorkerFileSystemCallbacksBridge):
2797
2798 2012-02-29  Kinuko Yasuda  <kinuko@chromium.org>
2799
2800         Unreviewed.  Rolled DEPS.
2801
2802         * DEPS:
2803
2804 2012-02-29  W. James MacLean  <wjmaclean@chromium.org>
2805
2806         [chromium] Estimate pixel count for frame rate control
2807         https://bugs.webkit.org/show_bug.cgi?id=74982
2808
2809         Reviewed by James Robinson.
2810
2811         Adds mechanism to compute and collect statistics on pixel overdraw for selected frames.
2812
2813         * tests/CCQuadCullerTest.cpp:
2814         (WebCore):
2815         (WebCore::TEST):
2816
2817 2012-02-29  James Simonsen  <simonjam@chromium.org>
2818
2819         [chromium] Fix navigation start time on cross-renderer navigation
2820         https://bugs.webkit.org/show_bug.cgi?id=75922
2821
2822         Reviewed by Darin Fisher.
2823
2824         * public/WebDataSource.h:
2825         * src/WebDataSource.cpp:
2826         (WebKit::WebDataSource::setNavigationStartTime): Added.
2827         * src/WebDataSource.h:
2828
2829 2012-02-29  Ian Vollick  <vollick@chromium.org>
2830
2831         [chromium] Add impl-thread support for animation-timing-function
2832         https://bugs.webkit.org/show_bug.cgi?id=79819
2833
2834         Reviewed by James Robinson.
2835
2836         * tests/CCKeyframedAnimationCurveTest.cpp:
2837         (WebCore::TEST):
2838         (WebCore):
2839
2840 2012-02-29  David Levin  <levin@chromium.org>
2841
2842         [chromium] Add the ability to turn off autoresize.
2843         https://bugs.webkit.org/show_bug.cgi?id=77452
2844
2845         Reviewed by Darin Fisher.
2846
2847         * public/WebView.h:
2848         (WebKit::WebViewImpl::enableAutoResizeMode): Cleaned up the api.
2849         (WebKit::WebViewImpl::disableAutoResizeMode): Added the ability to disable auto-resize.
2850         (WebKit::WebViewImpl::enableAutoResizeMode): Deprecated it.
2851         * src/WebViewImpl.cpp:
2852         (WebKit::WebViewImpl::enableAutoResizeMode): Adjust for new api.
2853         (WebKit::WebViewImpl::disableAutoResizeMode): Allow turning off autoresize.
2854         (WebKit::WebViewImpl::enableAutoResizeMode): Call the other two apis, but
2855         this api will be deleted shortly.
2856         (WebKit::WebViewImpl::configureAutoResizeMode): Common code.
2857         * src/WebViewImpl.h:
2858         (WebViewImpl): Adjust to new public api.
2859
2860 2012-02-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2861
2862         Unreviewed.  Rolled DEPS.
2863
2864         * DEPS:
2865
2866 2012-02-29  Dana Jansens  <danakj@chromium.org>
2867
2868         [chromium] Don't let invalidation for next frame prevent tile upload
2869         https://bugs.webkit.org/show_bug.cgi?id=79841
2870
2871         Reviewed by James Robinson.
2872
2873         * tests/TiledLayerChromiumTest.cpp:
2874         (WTF::TEST):
2875
2876 2012-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2877
2878         Unreviewed, rolling out r107917 and r109188.
2879         http://trac.webkit.org/changeset/107917
2880         http://trac.webkit.org/changeset/109188
2881         https://bugs.webkit.org/show_bug.cgi?id=79865
2882
2883         Fix the chromium build. (Requested by dcheng on #webkit).
2884
2885         * src/WebDragData.cpp:
2886         (WebKit::WebDragData::items):
2887
2888 2012-02-28  Ryosuke Niwa  <rniwa@webkit.org>
2889
2890         Chromium build fix attempt.
2891
2892         * src/WebDragData.cpp:
2893
2894 2012-02-28  Jonathan Backer  <backer@chromium.org>
2895
2896         [chromium] Reset damage tracker on visibility change.
2897         https://bugs.webkit.org/show_bug.cgi?id=79267
2898
2899         Reviewed by James Robinson.
2900
2901         * tests/CCLayerTreeHostImplTest.cpp:
2902         (WebKit::PartialSwapTrackerContext::getString):
2903         (WebKit):
2904         (WebKit::TEST_F):
2905
2906 2012-02-28  Tim Dresser  <tdresser@chromium.org>
2907
2908         Provide DefaultDeviceScaleFactor though WebSettings
2909         https://bugs.webkit.org/show_bug.cgi?id=79534
2910
2911         Reviewed by Darin Fisher.
2912
2913         * public/WebSettings.h:
2914         * src/WebSettingsImpl.cpp:
2915         (WebKit::WebSettingsImpl::setDefaultDeviceScaleFactor):
2916         (WebKit):
2917         * src/WebSettingsImpl.h:
2918         (WebSettingsImpl):
2919
2920 2012-02-28  Gary Kacmarcik  <garykac@chromium.org>
2921
2922         [chromium] Set nativeKeyCode to include Windows scan code
2923         https://bugs.webkit.org/show_bug.cgi?id=79289
2924
2925         Reviewed by Ryosuke Niwa.
2926
2927         Set the key event's nativeKeyCode on Windows Chromium so that it
2928         actually includes the native scancode and other context bits.
2929         Currently on Windows, the nativeKeyCode is set to be the same value as
2930         the windowsKeyCode, which is redundant.
2931
2932         The actual native key information is required so that components (like
2933         plugins) can reconstruct the original key event. The value stored in
2934         the windowsKeyCode is a Windows virtual key code which does not provide
2935         sufficient info to disambiguate the actual key being pressed (for
2936         example, it cannot distinguish between the left and right shift keys).
2937
2938         All platforms except Windows currently send native key event info, so
2939         this change will bring Windows in line with other platforms.
2940
2941         This change is part of our effort to send enhanced keycode information
2942         to Pepper plugins in Chromium.
2943
2944         * src/win/WebInputEventFactory.cpp:
2945         (WebKit::WebInputEventFactory::keyboardEvent):
2946
2947 2012-02-28  Adam Klein  <adamk@chromium.org>
2948
2949         Unreviewed, speculative test fix after r109016.
2950
2951         * tests/TransparencyWinTest.cpp:
2952         (WebCore::TEST): Update all ImageBuffer::create calls to include a scale of 1.
2953
2954 2012-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2955
2956         Unreviewed.  Rolled DEPS.
2957
2958         * DEPS:
2959
2960 2012-02-27  James Kozianski  <koz@chromium.org>
2961
2962         Add missing parameter to didCreateScriptContext() so it overrides base class again.
2963         https://bugs.webkit.org/show_bug.cgi?id=79742
2964
2965         Reviewed by Kent Tamura.
2966
2967         * tests/WebFrameTest.cpp:
2968
2969 2012-02-27  Kenichi Ishibashi  <bashi@chromium.org>
2970
2971         [Chromium] Unreviewed gardening, Disable TransparencyWin.OpaqueCompositeLayerPixel
2972
2973         * tests/TransparencyWinTest.cpp:
2974         (WebCore::TEST):
2975
2976 2012-02-27  Kinuko Yasuda  <kinuko@chromium.org>
2977
2978         [chromium] Add createSnapshotFile API to WebFileSystem to create File snapshots for filesystem files
2979         https://bugs.webkit.org/show_bug.cgi?id=79394
2980
2981         Reviewed by Darin Fisher.
2982
2983         * public/platform/WebFileSystem.h:
2984         (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata): Added.
2985
2986 2012-02-27  James Kozianski  <koz@chromium.org>
2987
2988         [chromium] Plumb extensionGroup into didCreateScriptContext().
2989         https://bugs.webkit.org/show_bug.cgi?id=79072
2990
2991         Reviewed by Darin Fisher.
2992
2993         * public/WebFrameClient.h:
2994         (WebKit::WebFrameClient::didCreateScriptContext):
2995         * src/FrameLoaderClientImpl.cpp:
2996         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
2997         * src/FrameLoaderClientImpl.h:
2998         (FrameLoaderClientImpl):
2999
3000 2012-02-27  Adrienne Walker  <enne@google.com>
3001
3002         [chromium] Unreviewed gardening, disable TransparencyWinTest unit tests
3003         https://bugs.webkit.org/show_bug.cgi?id=79718
3004
3005         * tests/TransparencyWinTest.cpp:
3006
3007 2012-02-26  Hajime Morrita  <morrita@chromium.org>
3008
3009         Move ChromeClient::showContextMenu() to ContextMenuClient
3010         https://bugs.webkit.org/show_bug.cgi?id=79427
3011
3012         Reviewed by Adam Barth.
3013
3014         * src/ChromeClientImpl.h:
3015         (ChromeClientImpl):
3016
3017 2012-02-26  James Robinson  <jamesr@chromium.org>
3018
3019         Take 2 build fix.
3020
3021         * tests/CCLayerTreeHostImplTest.cpp:
3022         (WebKit::TEST_F):
3023
3024 2012-02-26  James Robinson  <jamesr@chromium.org>
3025
3026         Compile fix for CCLayerTreeHostImpl test.
3027
3028         * tests/CCLayerTreeHostImplTest.cpp:
3029         (WebKit::TEST_F):
3030
3031 2012-02-26  James Robinson  <jamesr@chromium.org>
3032
3033         [chromium] Wire up shouldUpdateScrollPositionOnMainThread and nonFastScrollableRegion to compositor
3034         https://bugs.webkit.org/show_bug.cgi?id=79155
3035
3036         Reviewed by Adam Barth.
3037
3038         Add new tests for shouldScrollOnMainThread and nonFastScrollableRegion properties.
3039
3040         * tests/CCLayerTreeHostImplTest.cpp:
3041         (WebKit::TEST_F):
3042         (WebKit):
3043         * tests/LayerChromiumTest.cpp:
3044
3045 2012-02-25  Adrienne Walker  <enne@google.com>
3046
3047         [chromium] Unreviewed gardening, fix Linux Clang OwnPtr breakage
3048         https://bugs.webkit.org/show_bug.cgi?id=78404
3049
3050         r108886 doesn't compile on Linux Clang due to OwnPtr's public copy
3051         constructor (i.e. "has internal linkage but is not defined"). Fixed
3052         locally by changing copy initialization to direct initialization.
3053
3054         * tests/TiledLayerChromiumTest.cpp:
3055         (WTF::TEST):
3056
3057 2012-02-24  Tien-Ren Chen  <trchen@chromium.org>
3058
3059         [chromium] Replace RefPtr with OwnPtr for CCLayerImpl tree structure
3060         https://bugs.webkit.org/show_bug.cgi?id=78404
3061
3062         Reviewed by James Robinson.
3063
3064         * tests/CCDamageTrackerTest.cpp:
3065         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
3066         (WebKitTests::emulateDrawingOneFrame):
3067         (WebKitTests::createTestTreeWithOneSurface):
3068         (WebKitTests::createTestTreeWithTwoSurfaces):
3069         (WebKitTests::createAndSetUpTestTreeWithOneSurface):
3070         (WebKitTests::createAndSetUpTestTreeWithTwoSurfaces):
3071         (WebKitTests::TEST_F):
3072         * tests/CCLayerImplTest.cpp:
3073         (WebCore::TEST):
3074         * tests/CCLayerIteratorTest.cpp:
3075         * tests/CCLayerSorterTest.cpp:
3076         (WebCore::TEST):
3077         * tests/CCLayerTreeHostCommonTest.cpp:
3078         (WebCore::TEST):
3079         * tests/CCLayerTreeHostImplTest.cpp:
3080         (WebKit::CCLayerTreeHostImplTest::setupScrollAndContentsLayers):
3081         (WebKit::TEST_F):
3082         (WebKit::DidDrawCheckLayer::create):
3083         (WebKit::BlendStateCheckLayer::create):
3084         * tests/CCRenderSurfaceTest.cpp:
3085         (WebCore::TEST):
3086         * tests/CCSolidColorLayerImplTest.cpp:
3087         (CCLayerTestCommon::TEST):
3088         * tests/CCTiledLayerImplTest.cpp:
3089         (CCLayerTestCommon::createLayer):
3090         (CCLayerTestCommon::TEST):
3091         (CCLayerTestCommon::getQuads):
3092         * tests/Canvas2DLayerChromiumTest.cpp:
3093         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
3094         * tests/TiledLayerChromiumTest.cpp:
3095         (WTF::TEST):
3096         * tests/TreeSynchronizerTest.cpp:
3097         (WebKitTests::MockCCLayerImpl::create):
3098         (WebKitTests::MockLayerChromium::createCCLayerImpl):
3099         (WebKitTests::expectTreesAreIdentical):
3100         (WebKitTests::TEST):
3101
3102 2012-02-08  James Robinson  <jamesr@chromium.org>
3103
3104         [chromium] Make WebViewImpl depend on WebLayerTreeView instead of CCLayerTreeHost
3105         https://bugs.webkit.org/show_bug.cgi?id=75591
3106
3107         Reviewed by Kenneth Russell.
3108
3109         This converts WebViewImpl from depending on CCLayerTreeHost to WebLayerTreeView in order to provide better
3110         isolation and allow for future refactorings. The changes to WebViewImpl are mostly mechanical. The
3111         WebLayerTreeView and WebLayerTreeViewClient interfaces have both grown and changed slightly:
3112
3113         - Setup path for WebLayerTreeView changed to expose an initialize() function instead of a create() factory
3114         function. The new model is that a WebLayerTreeView when constructed is in a null state. Calling initialize()
3115         attempts to re-initialize the WLTV, which can either fail or succeed.  All other functions must be called on a
3116         successfully initialized view.
3117
3118         - WebLayerTreeView expanded to include functionality that CCLayerTreeHost exposes but WebLayerTreeView did not.
3119         Some of this is only valid for the single thread case and will be removed when we invert the scheduling control
3120         logic, these bits are commented.
3121
3122         - WebLayerTreeViewClient expanded with some flow-control related APIs.
3123
3124         Refactor only, no change in behavior.
3125
3126         * public/platform/WebLayerTreeView.h:
3127         (WebKit::WebLayerTreeView::Settings::Settings):
3128         (WebKit::WebLayerTreeView::isNull):
3129         * public/platform/WebLayerTreeViewClient.h:
3130         * src/ChromeClientImpl.cpp:
3131         (WebKit::ChromeClientImpl::scheduleCompositingLayerSync):
3132         * src/WebLayerTreeView.cpp:
3133         (WebKit::WebLayerTreeView::initialize):
3134         (WebKit::WebLayerTreeView::compositorIdentifier):
3135         (WebKit::WebLayerTreeView::setVisible):
3136         (WebKit::WebLayerTreeView::setNeedsAnimate):
3137         (WebKit::WebLayerTreeView::updateAnimations):
3138         (WebKit::WebLayerTreeView::setNeedsRedraw):
3139         (WebKit::WebLayerTreeView::setPageScaleFactorAndLimits):
3140         (WebKit::WebLayerTreeView::startPageScaleAnimation):
3141         (WebKit::WebLayerTreeView::finishAllRendering):
3142         (WebKit::WebLayerTreeView::context):
3143         (WebKit::WebLayerTreeView::loseCompositorContext):
3144         * src/WebLayerTreeViewImpl.cpp:
3145         (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
3146         (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
3147         (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
3148         * src/WebViewImpl.cpp:
3149         (WebKit::WebViewImpl::animate):
3150         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
3151         (WebKit::WebViewImpl::paint):
3152         (WebKit::WebViewImpl::composite):
3153         (WebKit::WebViewImpl::loseCompositorContext):
3154         (WebKit::WebViewImpl::computePageScaleFactorLimits):
3155         (WebKit::WebViewImpl::addPageOverlay):
3156         (WebKit::WebViewImpl::removePageOverlay):
3157         (WebKit::WebViewImpl::setRootGraphicsLayer):
3158         (WebKit::WebViewImpl::scheduleCompositingLayerSync):
3159         (WebKit::WebViewImpl::scrollRootLayerRect):
3160         (WebKit::WebViewImpl::invalidateRootLayerRect):
3161         (WebKit::WebViewImpl::scheduleAnimation):
3162         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3163         (WebKit::WebViewImpl::createContext3D):
3164         (WebKit::WebViewImpl::applyScrollAndScale):
3165         (WebKit::WebViewImpl::didRebindGraphicsContext):
3166         (WebKit::WebViewImpl::updateLayerTreeViewport):
3167         (WebKit::WebViewImpl::graphicsContext3D):
3168         (WebKit::WebViewImpl::setVisibilityState):
3169         * src/WebViewImpl.h:
3170         * tests/WebLayerTest.cpp:
3171
3172 2012-02-24  Ian Vollick  <vollick@chromium.org>
3173
3174         [chromium] Plumb animation started notifications from CCLayerTreeHost to GraphicsLayerChromium
3175         https://bugs.webkit.org/show_bug.cgi?id=77646
3176
3177         Reviewed by James Robinson.
3178
3179         * tests/CCLayerTreeHostTest.cpp:
3180         (TestHooks):
3181         (WTF::TestHooks::notifyAnimationStarted):
3182         (WTF::TestHooks::notifyAnimationFinished):
3183         (WTF::MockLayerTreeHost::create):
3184         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
3185         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
3186         (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted):
3187         (CCLayerTreeHostTestAddAnimation):
3188         (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationFinished):
3189
3190 2012-02-24  James Robinson  <jamesr@chromium.org>
3191
3192         [chromium] WebKit::setColorNames is a client API
3193         https://bugs.webkit.org/show_bug.cgi?id=79539
3194
3195         Reviewed by Darin Fisher.
3196
3197         * WebKit.gyp:
3198         * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
3199         (WebKit):
3200         * public/platform/WebColorName.h:
3201         * src/WebColor.cpp:
3202
3203 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
3204
3205         Unreviewed, rolling out r108860.
3206         http://trac.webkit.org/changeset/108860
3207         https://bugs.webkit.org/show_bug.cgi?id=79544
3208
3209         "Breaks Linux compile" (Requested by enne on #webkit).
3210
3211         * WebKit.gyp:
3212         * public/platform/WebColorName.h:
3213         * src/WebColor.cpp: Renamed from Source/WebKit/chromium/src/WebColorName.cpp.
3214         (WebKit):
3215         (WebKit::toCSSValueKeyword):
3216         (WebKit::setNamedColors):
3217
3218 2012-02-24  James Robinson  <jamesr@chromium.org>
3219
3220         [chromium] WebKit::setColorNames is a client API
3221         https://bugs.webkit.org/show_bug.cgi?id=79539
3222
3223         Reviewed by Darin Fisher.
3224
3225         * WebKit.gyp:
3226         * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
3227         (WebKit):
3228         * public/platform/WebColorName.h:
3229         * src/WebColor.cpp:
3230
3231 2012-02-22  James Robinson  <jamesr@chromium.org>
3232
3233         [chromium] Move WebGraphicsContext3D header into the Platform directory
3234         https://bugs.webkit.org/show_bug.cgi?id=79301
3235
3236         Reviewed by Adam Barth.
3237
3238         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
3239
3240         * public/platform/WebGraphicsContext3D.h:
3241         * public/platform/WebNonCopyable.h:
3242
3243 2012-02-24  Michal Mocny  <mmocny@google.com>
3244
3245         [chromium] Purge Skia's GPU texture cache using GL_CHROMIUM_gpu_memory_manager
3246         https://bugs.webkit.org/show_bug.cgi?id=78265
3247
3248         Reviewed by Stephen White.
3249
3250         * src/GraphicsContext3DChromium.cpp:
3251         (GrMemoryAllocationChangedCallback):
3252         (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
3253         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
3254         (WebCore):
3255         (WebCore::GraphicsContext3DPrivate::grContext):
3256
3257 2012-02-24  James Robinson  <jamesr@chromium.org>
3258
3259         [chromium] Remove deprecated and unused WebGraphicsContext3D::initialize call
3260         https://bugs.webkit.org/show_bug.cgi?id=79296
3261
3262         Reviewed by Kenneth Russell.
3263
3264         The old way to initialize a WebGraphicsContext3D from inside WebKit was to call initialize() on it with a
3265         WebView*. The new way to do this is via the WebViewClient interface. This deletes the old, unused path.
3266
3267         * public/platform/WebGraphicsContext3D.h:
3268         (WebKit):
3269         * tests/CCLayerTreeHostImplTest.cpp:
3270         * tests/FakeWebGraphicsContext3D.h:
3271
3272 2012-02-23  James Robinson  <jamesr@chromium.org>
3273
3274         [chromium] Move Web*Layer* headers into Platform
3275         https://bugs.webkit.org/show_bug.cgi?id=79425
3276
3277         Reviewed by Adam Barth.
3278
3279         Adds forwarding headers for Web*Layer* APIs and their dependencies.  The forwarding headers for the Web*Layer*
3280         APIs are temporary since Web*Layer* is not exposed in the client interface.  The other headers (such as
3281         WebColor) are exposed in both the client and platform APIs, so the forwarding headers are permanent, although we
3282         might move them back down to public/ at some point.
3283
3284         * public/platform/WebCanvas.h:
3285         * public/platform/WebColor.h:
3286         * public/platform/WebColorName.h:
3287         * public/platform/WebContentLayer.h:
3288         * public/platform/WebContentLayerClient.h:
3289         * public/platform/WebExternalTextureLayer.h:
3290         * public/platform/WebLayer.h:
3291         * public/platform/WebLayerTreeView.h:
3292         * public/platform/WebLayerTreeViewClient.h:
3293         * public/platform/WebPrivatePtr.h:
3294         * public/platform/WebSolidColorLayer.h:
3295
3296 2012-02-24  Peter Collingbourne  <peter@pcc.me.uk>
3297
3298         [chromium] Have WebFrameImpl::selectionAsMarkup create interchange markup.
3299         https://bugs.webkit.org/show_bug.cgi?id=77307
3300
3301         Reviewed by Tony Chang.
3302
3303         This function is currently used to build markup in order to
3304         print the selection, and will also be used to build markup for
3305         the clipboard.  Without this change, the markup will refer to
3306         (for example) nonexistent CSS classes and invalid relative
3307         paths and therefore will not be interpreted correctly.
3308
3309         Chromium bug: http://crbug.com/23329
3310
3311         * src/WebFrameImpl.cpp:
3312         (WebKit::WebFrameImpl::selectionAsMarkup):
3313
3314 2012-02-24  Pavel Feldman  <pfeldman@chromium.org>
3315
3316         Not reviewed: chromium image for inspector status bar button updated.
3317
3318         * src/js/Images/segmentSelectedEndChromium.png:
3319
3320 2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
3321
3322         SpellCheckRequest needs to know the context where the spellcheck happened.
3323         https://bugs.webkit.org/show_bug.cgi?id=79320
3324
3325         Reviewed by Hajime Morita.
3326
3327         * src/EditorClientImpl.cpp:
3328         (WebKit::EditorClientImpl::requestCheckingOfString):
3329         * src/EditorClientImpl.h:
3330         (EditorClientImpl):
3331         * src/WebFrameImpl.cpp:
3332         (WebKit::WebFrameImpl::requestTextChecking):
3333
3334 2012-02-23  Sheriff Bot  <webkit.review.bot@gmail.com>
3335
3336         Unreviewed.  Rolled DEPS.
3337
3338         * DEPS:
3339
3340 2012-02-23  Ian Vollick  <vollick@chromium.org>
3341
3342         [chromium] Implement keyframed animations for the cc thread.
3343         https://bugs.webkit.org/show_bug.cgi?id=77229
3344
3345         Reviewed by James Robinson.
3346
3347         * WebKit.gypi:
3348         * tests/CCAnimationTestCommon.cpp:
3349         (WebCore):
3350         (WebCore::addOpacityTransition):
3351         (WebKitTests::addOpacityTransitionToController):
3352         (WebKitTests::addOpacityTransitionToLayer):
3353         * tests/CCAnimationTestCommon.h:
3354         (WebCore):
3355         (WebKitTests):
3356         * tests/CCKeyframedAnimationCurveTest.cpp: Added.
3357         (WebCore):
3358         (WebCore::expectTranslateX):
3359         (WebCore::TEST):
3360         * tests/CCLayerAnimationControllerTest.cpp:
3361         (WebKitTests::expectTranslateX):
3362         (WebKitTests):
3363         (WebKitTests::TEST):
3364         * tests/CCLayerTreeHostTest.cpp:
3365         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
3366         (WTF::CCLayerTreeHostTest::doBeginTest):
3367
3368 2012-02-23  James Robinson  <jamesr@chromium.org>
3369
3370         [chromium] Clean up GraphicsContext3D initialization paths
3371         https://bugs.webkit.org/show_bug.cgi?id=79321
3372
3373         Reviewed by Kenneth Russell.
3374
3375         This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
3376         contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
3377         WebLayerTreeViewImpl.
3378
3379         Offscreen initialization path:
3380         1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
3381         2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
3382         3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
3383         GraphicsContext3D's m_private pointer.
3384
3385         Onscreen initialization path:
3386         1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
3387         or WebLayerTreeViewClient, respectively
3388         2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
3389         GraphicsContext3D's m_private pointer.
3390
3391         There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
3392         within WebCore.
3393
3394         * src/GraphicsContext3DChromium.cpp:
3395         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
3396         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
3397         (WebCore):
3398         (WebCore::GraphicsContext3DPrivate::platformTexture):
3399         (WebCore::GraphicsContext3D::create):
3400         * src/GraphicsContext3DPrivate.h:
3401         (GraphicsContext3DPrivate):
3402         * src/WebLayerTreeViewImpl.cpp:
3403         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
3404         * src/WebViewImpl.cpp:
3405         (std::getCompositorContextAttributes):
3406         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
3407         (WebKit):
3408         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
3409         (WebKit::WebViewImpl::graphicsContext3D):
3410         * src/WebViewImpl.h:
3411         (WebViewImpl):
3412         * tests/CCLayerTreeHostImplTest.cpp:
3413         (WebKit::CCLayerTreeHostImplTest::createContext):
3414         (CCLayerTreeHostImplTest):
3415         (WebKit::TEST_F):
3416         * tests/CCLayerTreeHostTest.cpp:
3417         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
3418         * tests/Canvas2DLayerChromiumTest.cpp:
3419         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
3420         * tests/CompositorFakeGraphicsContext3D.h:
3421         (WebCore::createCompositorMockGraphicsContext3D):
3422         * tests/FakeGraphicsContext3DTest.cpp:
3423         (TEST):
3424
3425 2012-02-23  Jonathan Backer  <backer@chromium.org>
3426
3427         [chromium] Plumb video damage to the damage tracker.
3428         https://bugs.webkit.org/show_bug.cgi?id=79373
3429
3430         Reviewed by James Robinson.
3431
3432         * src/WebMediaPlayerClientImpl.cpp:
3433         (WebKit::WebMediaPlayerClientImpl::repaint):
3434
3435 2012-02-21  James Robinson  <jamesr@chromium.org>
3436
3437         [chromium] Notify compositor of wheel event registration via ScrollingCoordinator
3438         https://bugs.webkit.org/show_bug.cgi?id=79133
3439
3440         Reviewed by Dimitri Glazkov.
3441
3442         Rips out old wheel event notification and adds unit tests for new LayerChromium property.
3443
3444         * src/NonCompositedContentHost.cpp:
3445         (WebKit::NonCompositedContentHost::setViewport):
3446         * src/WebCompositorInputHandlerImpl.cpp:
3447         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
3448         * src/WebViewImpl.cpp:
3449         (WebKit::WebViewImpl::numberOfWheelEventHandlersChanged):
3450         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3451         * src/WebViewImpl.h:
3452         * tests/CCLayerTreeHostImplTest.cpp:
3453         (WebKit::TEST_F):
3454         (WebKit):
3455         * tests/LayerChromiumTest.cpp:
3456         * tests/WebCompositorInputHandlerImplTest.cpp:
3457
3458 2012-02-23  Adrienne Walker  <enne@google.com>
3459
3460         Unreviewed, rolling out r108666.
3461         http://trac.webkit.org/changeset/108666
3462         https://bugs.webkit.org/show_bug.cgi?id=79321
3463
3464         Breaks webplugin tests: http://goo.gl/CoHIi
3465
3466         * src/GraphicsContext3DChromium.cpp:
3467         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
3468         (WebCore):
3469         (WebCore::GraphicsContext3DPrivate::create):
3470         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
3471         (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
3472         (WebCore::GraphicsContext3DPrivate::platformTexture):
3473         (WebCore::GraphicsContext3D::create):
3474         * src/GraphicsContext3DPrivate.h:
3475         (WebKit):
3476         (GraphicsContext3DPrivate):
3477         * src/WebLayerTreeViewImpl.cpp:
3478         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
3479         * src/WebViewImpl.cpp:
3480         (std::getCompositorContextAttributes):
3481         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
3482         (WebKit::WebViewImpl::graphicsContext3D):
3483         * tests/CCLayerTreeHostImplTest.cpp:
3484         (CCLayerTreeHostImplTest):
3485         (WebKit::TEST_F):
3486         * tests/CCLayerTreeHostTest.cpp:
3487         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
3488         * tests/Canvas2DLayerChromiumTest.cpp:
3489         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
3490         * tests/CompositorFakeGraphicsContext3D.h:
3491         (WebCore::createCompositorMockGraphicsContext3D):
3492         * tests/FakeGraphicsContext3DTest.cpp:
3493         (TEST):
3494
3495 2012-02-23  Daniel Sievers  <sievers@chromium.org>
3496
3497         [Chromium] Add video stream texture support
3498         https://bugs.webkit.org/show_bug.cgi?id=78398
3499
3500         This upstreams the abstraction used on Android for
3501         hardware video decoding with the compositor.
3502
3503         Most of the interfaces are kept generic and the core
3504         of this change is to allow texturing from an external
3505         texture while receiving notifications (on the compositor
3506         thread if we are running it) when there are new frames to
3507         be displayed.
3508
3509         Reviewed by James Robinson.
3510
3511         * WebKit.gyp:
3512         * public/WebMediaPlayer.h:
3513         (WebKit):
3514         (WebKit::WebMediaPlayer::setStreamTextureClient):
3515         (WebMediaPlayer):
3516         * public/WebStreamTextureClient.h: Copied from Source/WebKit/chromium/public/WebVideoFrame.h.
3517         (WebKit):
3518         (WebStreamTextureClient):
3519         (WebKit::WebStreamTextureClient::~WebStreamTextureClient):
3520         * public/WebVideoFrame.h:
3521         * src/WebMediaPlayerClientImpl.cpp:
3522         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
3523         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
3524         (WebKit::WebMediaPlayerClientImpl::didReceiveFrame):
3525         (WebKit):
3526         (WebKit::WebMediaPlayerClientImpl::didUpdateMatrix):
3527         * src/WebMediaPlayerClientImpl.h:
3528         (WebMediaPlayerClientImpl):
3529
3530 2012-02-22  James Robinson  <jamesr@chromium.org>
3531
3532         [chromium] Clean up GraphicsContext3D initialization paths
3533         https://bugs.webkit.org/show_bug.cgi?id=79321
3534
3535         Reviewed by Kenneth Russell.
3536
3537         This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
3538         contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
3539         WebLayerTreeViewImpl.
3540
3541         Offscreen initialization path:
3542         1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
3543         2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
3544         3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
3545         GraphicsContext3D's m_private pointer.
3546
3547         Onscreen initialization path:
3548         1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
3549         or WebLayerTreeViewClient, respectively
3550         2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
3551         GraphicsContext3D's m_private pointer.
3552
3553         There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
3554         within WebCore.
3555
3556         * src/GraphicsContext3DChromium.cpp:
3557         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
3558         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
3559         (WebCore):
3560         (WebCore::GraphicsContext3DPrivate::platformTexture):
3561         (WebCore::GraphicsContext3D::create):
3562         * src/GraphicsContext3DPrivate.h:
3563         (GraphicsContext3DPrivate):
3564         * src/WebLayerTreeViewImpl.cpp:
3565         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
3566         * src/WebViewImpl.cpp:
3567         (std::getCompositorContextAttributes):
3568         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
3569         (WebKit::WebViewImpl::graphicsContext3D):
3570         * tests/CCLayerTreeHostImplTest.cpp:
3571         (WebKit::CCLayerTreeHostImplTest::createContext):
3572         (CCLayerTreeHostImplTest):
3573         (WebKit::TEST_F):
3574         * tests/CCLayerTreeHostTest.cpp:
3575         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
3576         * tests/Canvas2DLayerChromiumTest.cpp:
3577         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
3578         * tests/CompositorFakeGraphicsContext3D.h:
3579         (WebCore::createCompositorMockGraphicsContext3D):
3580         * tests/FakeGraphicsContext3DTest.cpp:
3581         (TEST):
3582
3583 2012-02-23  Greg Billock  <gbillock@google.com>
3584
3585         Add UserGestureIndicator capability to Chromium API.
3586         https://bugs.webkit.org/show_bug.cgi?id=77690
3587
3588         Reviewed by Darin Fisher.
3589
3590         * WebKit.gyp:
3591         * public/WebScopedUserGesture.h: Added.
3592         * src/WebScopedUserGesture.cpp: Added.
3593
3594 2012-02-23  Peter Beverloo  <peter@chromium.org>
3595
3596         Unreviewed, rolling out r108627 and r108630.
3597         https://bugs.webkit.org/show_bug.cgi?id=79367
3598
3599         ffmpeg is creating issues and was just reverted upstream as well.
3600
3601         * DEPS:
3602
3603 2012-02-23  Peter Beverloo  <peter@chromium.org>
3604
3605         Unreviewed build fix. Remove the ffmpeg binary directory from the
3606         Chromium-Windows DEPS file, following the commit done in the
3607         Chromium repository:
3608         http://src.chromium.org/viewvc/chrome?view=rev&revision=123123
3609
3610         * DEPS:
3611
3612 2012-02-23  Peter Beverloo  <peter@chromium.org>
3613
3614         Unreviewed.  Rolled DEPS.
3615
3616         * DEPS:
3617
3618 2012-02-22  Hajime Morrita  <morrita@chromium.org>
3619
3620         NOTIFICATIONS should be implemented as PageSupplement
3621         https://bugs.webkit.org/show_bug.cgi?id=79052
3622
3623         Reviewed by Adam Barth.
3624
3625         * src/WebViewImpl.cpp:
3626         (WebKit::WebViewImpl::WebViewImpl):
3627
3628 2012-02-22  Dana Jansens  <danakj@chromium.org>
3629
3630         [chromium] Add unit test for surface occlusion
3631         https://bugs.webkit.org/show_bug.cgi?id=79302
3632
3633         Reviewed by James Robinson.
3634
3635         * tests/CCOcclusionTrackerTest.cpp:
3636         (WebCore::TEST):
3637         (WebCore):
3638
3639 2012-02-22  James Robinson  <jamesr@chromium.org>
3640
3641         Remove GraphicsContext3D::paintsIntoCanvasBuffer and unify WebGL and canvas 2d logic
3642         https://bugs.webkit.org/show_bug.cgi?id=79317
3643
3644         Reviewed by Kenneth Russell.
3645
3646         Remove paintsIntoCanvasBuffer() implementations.
3647
3648         * src/GraphicsContext3DChromium.cpp:
3649         (WebCore):
3650         * src/GraphicsContext3DPrivate.h:
3651
3652 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
3653
3654         Unreviewed, rolling out r108590.
3655         http://trac.webkit.org/changeset/108590
3656
3657         I mistakenly disabled tests even though the fix was already
3658         in.
3659
3660         * tests/CCOcclusionTrackerTest.cpp:
3661         (WebCore::TEST):
3662
3663 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
3664
3665         [Chromium] Unreviewed. Disable two tests from CCOcclusionTrackerTest
3666         which cause assertion failures.
3667
3668         * tests/CCOcclusionTrackerTest.cpp:
3669         (WebCore):
3670         (WebCore::TEST):
3671
3672 2012-02-22  Dana Jansens  <danakj@chromium.org>
3673
3674         [chromium] Fix CCOcclusionTracker unit test assertion
3675         https://bugs.webkit.org/show_bug.cgi?id=79275
3676
3677         Reviewed by James Robinson.
3678
3679         * tests/CCOcclusionTrackerTest.cpp:
3680         (WebCore::TEST):
3681
3682 2012-02-22  Ian Vollick  <vollick@chromium.org>
3683
3684         [chromium] Plumb from GraphicsLayer to the cc thread animation code
3685         https://bugs.webkit.org/show_bug.cgi?id=75874
3686
3687         Reviewed by James Robinson.
3688
3689         * WebKit.gypi:
3690         * public/WebSettings.h:
3691         * public/platform/WebLayerTreeView.h:
3692         (WebKit::WebLayerTreeView::Settings::Settings):
3693         (Settings):
3694         * src/WebLayerTreeView.cpp:
3695         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
3696         * src/WebSettingsImpl.cpp:
3697         (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
3698         (WebKit):
3699         * src/WebSettingsImpl.h:
3700         (WebSettingsImpl):
3701         * src/WebViewImpl.cpp:
3702         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3703         * tests/CCActiveAnimationTest.cpp:
3704         (WebCore::createActiveAnimation):
3705         * tests/CCAnimationTestCommon.cpp: Added.
3706         (WebKitTests):
3707         (WebKitTests::FakeFloatAnimationCurve::FakeFloatAnimationCurve):
3708         (WebKitTests::FakeFloatAnimationCurve::~FakeFloatAnimationCurve):
3709         (WebKitTests::FakeFloatAnimationCurve::clone):
3710         (WebKitTests::FakeTransformTransition::FakeTransformTransition):
3711         (WebKitTests::FakeTransformTransition::~FakeTransformTransition):
3712         (WebKitTests::FakeTransformTransition::getValue):
3713         (WebKitTests::FakeTransformTransition::clone):
3714         (WebKitTests::FakeFloatTransition::FakeFloatTransition):
3715         (WebKitTests::FakeFloatTransition::~FakeFloatTransition):
3716         (WebKitTests::FakeFloatTransition::getValue):
3717         (WebKitTests::FakeLayerAnimationControllerImplClient::FakeLayerAnimationControllerImplClient):
3718         (WebKitTests::FakeLayerAnimationControllerImplClient::~FakeLayerAnimationControllerImplClient):
3719         (WebKitTests::FakeFloatTransition::clone):
3720         (WebKitTests::addOpacityTransition):
3721         * tests/CCAnimationTestCommon.h: Added.
3722         (WebCore):
3723         (WebKitTests):
3724         (FakeFloatAnimationCurve):
3725         (WebKitTests::FakeFloatAnimationCurve::duration):
3726         (WebKitTests::FakeFloatAnimationCurve::getValue):
3727         (FakeTransformTransition):
3728         (WebKitTests::FakeTransformTransition::duration):
3729         (FakeFloatTransition):
3730         (WebKitTests::FakeFloatTransition::duration):
3731         (FakeLayerAnimationControllerImplClient):
3732         (WebKitTests::FakeLayerAnimationControllerImplClient::id):
3733         (WebKitTests::FakeLayerAnimationControllerImplClient::opacity):
3734         (WebKitTests::FakeLayerAnimationControllerImplClient::setOpacity):
3735         (WebKitTests::FakeLayerAnimationControllerImplClient::transform):
3736         (WebKitTests::FakeLayerAnimationControllerImplClient::setTransform):
3737         (WebKitTests::FakeLayerAnimationControllerImplClient::bounds):
3738         * tests/CCLayerAnimationControllerImplTest.cpp:
3739         (WebKitTests::createActiveAnimation):
3740         (WebKitTests::TEST):
3741         * tests/CCLayerAnimationControllerTest.cpp: Added.
3742         (WebKitTests):
3743         (WebKitTests::createActiveAnimation):
3744         (WebKitTests::TEST):
3745         * tests/CCLayerTreeHostImplTest.cpp:
3746         (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
3747         * tests/CCLayerTreeHostTest.cpp:
3748         (WTF::TestHooks::animateLayers):
3749         (MockLayerTreeHostImpl):
3750         (WTF::MockLayerTreeHostImpl::animateLayers):
3751         (WTF::MockLayerTreeHost::create):
3752         (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
3753         (WTF):
3754         (MockLayerAnimationController):
3755         (WTF::MockLayerAnimationController::create):
3756         (WTF::MockLayerAnimationController::addAnimation):
3757         (WTF::MockLayerTreeHostClient::scheduleComposite):
3758         (WTF::CCLayerTreeHostTest::postAddAnimationToMainThread):
3759         (CCLayerTreeHostTest):
3760         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
3761         (WTF::CCLayerTreeHostTest::doBeginTest):
3762         (CCLayerTreeHostTestAddAnimation):
3763         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
3764         (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
3765         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
3766         (WTF::CCLayerTreeHostTestAddAnimation::afterTest):
3767         (WTF::TEST_F):
3768         * tests/TreeSynchronizerTest.cpp:
3769         (FakeLayerAnimationController):
3770         (WebKitTests::FakeLayerAnimationController::create):
3771         (WebKitTests::FakeLayerAnimationController::synchronizedAnimations):
3772         (WebKitTests::FakeLayerAnimationController::FakeLayerAnimationController):
3773         (WebKitTests::FakeLayerAnimationController::synchronizeAnimations):
3774         (WebKitTests):
3775         (WebKitTests::TEST):
3776
3777 2012-02-21  Ryosuke Niwa  <rniwa@webkit.org>
3778
3779         Remove the remaining uses of CSSStyleDeclaration in Editor
3780         https://bugs.webkit.org/show_bug.cgi?id=78939
3781
3782         Reviewed by Enrica Casucci.
3783
3784         * src/EditorClientImpl.cpp:
3785         (WebKit::EditorClientImpl::shouldApplyStyle):
3786         * src/EditorClientImpl.h:
3787         (EditorClientImpl):
3788
3789 2012-02-22  Daniel Cheng  <dcheng@chromium.org>
3790
3791         [chromium] Cleanup unused WebDragData methods after r107846
3792         https://bugs.webkit.org/show_bug.cgi?id=78837
3793
3794         Reviewed by Tony Chang.
3795
3796         The deleted methods have been replaced by items() and setItems().
3797
3798         * public/platform/WebDragData.h:
3799         (WebDragData):
3800         * src/WebDragData.cpp:
3801         (WebKit::WebDragData::addItem): Add ensureMutable() call to verify preconditions for
3802                                         mutating the item store.
3803
3804 2012-02-22  Tim Dresser  <tdresser@chromium.org>
3805
3806         CCLayerTreeHostImpl calls didDraw more frequently than willDraw
3807         https://bugs.webkit.org/show_bug.cgi?id=79139
3808
3809         Reviewed by James Robinson.
3810
3811         * tests/CCLayerTreeHostImplTest.cpp:
3812         (WebKit::DidDrawCheckLayer::willDraw):
3813         (DidDrawCheckLayer):
3814         (WebKit::DidDrawCheckLayer::willDrawCalled):
3815         (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
3816         (WebKit::TEST_F):
3817         (WebKit):
3818
3819 2012-02-22  Dana Jansens  <danakj@chromium.org>
3820
3821         [Chromium] New CCOcclusionTracker class with tests
3822         https://bugs.webkit.org/show_bug.cgi?id=78549
3823
3824         Reviewed by James Robinson.
3825
3826         * WebKit.gypi:
3827         * tests/CCLayerTreeHostCommonTest.cpp:
3828         (WebCore):
3829         * tests/CCOcclusionTrackerTest.cpp: Added.
3830         (WebCore):
3831         (WebCore::setLayerPropertiesForTesting):
3832         (LayerChromiumWithForcedDrawsContent):
3833         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
3834         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
3835         (TestCCOcclusionTracker):
3836         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
3837         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
3838         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
3839         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
3840         (WebCore::TEST):
3841
3842 2012-02-22  Hao Zheng  <zhenghao@chromium.org>
3843
3844         [chromium] Build WebKit with MEDIA_STREAM disabled.
3845         https://bugs.webkit.org/show_bug.cgi?id=79214
3846
3847         Reviewed by Kent Tamura.
3848
3849         * src/UserMediaClientImpl.h:
3850
3851 2012-02-20  Roland Steiner  <rolandsteiner@chromium.org>
3852
3853         <style scoped>: Add runtime-flag
3854         https://bugs.webkit.org/show_bug.cgi?id=79074
3855
3856         Added a runtime-flag.
3857         Enable default STYLE_SCOPED compile-time flag for Chromium.
3858
3859         Reviewed by Dimitri Glazkov.
3860
3861         * features.gypi: enable STYLE_SCOPED
3862         * public/WebRuntimeFeatures.h:
3863         (WebRuntimeFeatures):
3864         * src/WebRuntimeFeatures.cpp:
3865         (WebKit::WebRuntimeFeatures::enableStyleScoped):
3866         (WebKit):
3867         (WebKit::WebRuntimeFeatures::isStyleScopedEnabled):
3868
3869 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
3870
3871         Unreviewed, rolling out r108453.
3872         http://trac.webkit.org/changeset/108453
3873         https://bugs.webkit.org/show_bug.cgi?id=78549
3874
3875         Broke Chromium's webkit_unit_tests.
3876
3877         * WebKit.gypi:
3878         * tests/CCLayerTreeHostCommonTest.cpp:
3879         (WebCore::TEST):
3880         (WebCore):
3881         * tests/CCOcclusionTrackerTest.cpp: Removed.
3882
3883 2012-02-22  Ryosuke Niwa  <rniwa@webkit.org>
3884
3885         Remove the remaining uses of CSSStyleDeclaration in Editor
3886         https://bugs.webkit.org/show_bug.cgi?id=78939
3887
3888         Reviewed by Enrica Casucci.
3889
3890         * src/EditorClientImpl.cpp:
3891         (WebKit::EditorClientImpl::shouldApplyStyle):
3892         * src/EditorClientImpl.h:
3893         (EditorClientImpl):
3894
3895 2012-02-22  Dana Jansens  <danakj@chromium.org>
3896
3897         [chromium] Cull quads outside of the scissoring damage rect
3898         https://bugs.webkit.org/show_bug.cgi?id=79181
3899
3900         Reviewed by James Robinson.
3901
3902         * tests/CCQuadCullerTest.cpp:
3903         (WebCore::TEST):
3904         (WebCore):
3905
3906 2012-02-21  Dana Jansens  <danakj@chromium.org>
3907
3908         [Chromium] New CCOcclusionTracker class with tests
3909         https://bugs.webkit.org/show_bug.cgi?id=78549
3910
3911         Reviewed by James Robinson.
3912
3913         * WebKit.gypi:
3914         * tests/CCLayerTreeHostCommonTest.cpp:
3915         (WebCore):
3916         * tests/CCOcclusionTrackerTest.cpp: Added.
3917         (WebCore):
3918         (WebCore::setLayerPropertiesForTesting):
3919         (LayerChromiumWithForcedDrawsContent):
3920         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
3921         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
3922         (TestCCOcclusionTracker):
3923         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
3924         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
3925         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
3926         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
3927         (WebCore::TEST):
3928
3929 2012-02-21  MORITA Hajime  <morrita@google.com>
3930
3931         INPUT_SPEECH should be implemented as a PageSupplement.
3932         https://bugs.webkit.org/show_bug.cgi?id=79051
3933
3934         Reviewed by Adam Barth.
3935
3936         * src/WebViewImpl.cpp:
3937         (WebKit::WebViewImpl::WebViewImpl):
3938
3939 2012-02-20  MORITA Hajime  <morrita@google.com>
3940
3941         MEDIA_STREAM should be implemented as a PageSupplement.
3942         https://bugs.webkit.org/show_bug.cgi?id=79050
3943
3944         Reviewed by Adam Barth.
3945
3946         * src/WebViewImpl.cpp:
3947         (WebKit::WebViewImpl::WebViewImpl):
3948
3949 2012-02-21  Dana Jansens  <danakj@chromium.org>
3950
3951         [chromium] Painting a layer clears opaque rect in untouched tiles
3952         https://bugs.webkit.org/show_bug.cgi?id=79157
3953
3954         Reviewed by James Robinson.
3955
3956         * tests/TiledLayerChromiumTest.cpp:
3957         (WTF::TEST):
3958
3959 2012-02-21  James Robinson  <jamesr@chromium.org>
3960
3961         Enable ScrollingCoordinator in chromium whenever compositing is enabled
3962         https://bugs.webkit.org/show_bug.cgi?id=79165
3963
3964         Reviewed by Adam Barth.
3965
3966         * src/NonCompositedContentHost.cpp:
3967         (WebKit::NonCompositedContentHost::setViewport):
3968             Whenever the ScrollingCoordinator is enabled the scroll layer's position is expected to be updated
3969             externally to RenderLayerCompositor, so set it here.
3970         * src/WebSettingsImpl.cpp:
3971         (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
3972
3973 2012-02-21  Daniel Cheng  <dcheng@chromium.org>
3974
3975         [chromium] Fix image drag out on Chromium
3976         https://bugs.webkit.org/show_bug.cgi?id=79158
3977
3978         Reviewed by Tony Chang.
3979
3980         We constructed the WebDragData::Item for dragging out an image but never added it to the
3981         item list. This is normally covered by the fast/events/drag-image-filename.html layout test,
3982         but the bug wasn't caught in the original patch since the implementations in Chrome and DRT
3983         had diverged.
3984
3985         * src/WebDragData.cpp:
3986         (WebKit::WebDragData::items):
3987
3988 2012-02-21  David Grogan  <dgrogan@chromium.org>
3989
3990         IndexedDB: webFrame isn't threadsafe, don't use it from a worker thread
3991         https://bugs.webkit.org/show_bug.cgi?id=78659
3992
3993         After crrev.com/121669, indexed db doesn't use the web frame for
3994         anything if called from a web worker.
3995
3996         No new tests - this check was defensive and possibly not ever
3997         triggered.
3998
3999         Reviewed by Tony Chang.
4000
4001         * src/IDBFactoryBackendProxy.cpp:
4002         (WebKit::IDBFactoryBackendProxy::openFromWorker):
4003
4004 2012-02-21  Yury Semikhatsky  <yurys@chromium.org>
4005
4006         [V8] Web Inspector: set breakpoint/pause doesn't work when worker is in a tight loop
4007         https://bugs.webkit.org/show_bug.cgi?id=79097
4008
4009         Worker script execution will be interrupted for dispatching inspector commands.
4010
4011         Reviewed by Pavel Feldman.
4012
4013         * src/WebSharedWorkerImpl.cpp:
4014         (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
4015
4016 2012-02-20  Peter Beverloo  <peter@chromium.org>
4017
4018         Unreviewed.  Rolled DEPS.
4019
4020         * DEPS:
4021
4022 2012-02-20  Kenichi Ishibashi  <bashi@chromium.org>
4023
4024         [WebSocket] Add deflater/inflater classes
4025         https://bugs.webkit.org/show_bug.cgi?id=78449
4026
4027         Add tests which ensure WebSocketDeflater/WebSocketInflater can
4028         compress/decompress data correctly.
4029
4030         Reviewed by Kent Tamura.
4031
4032         * WebKit.gypi: Added zlib dependency.
4033         * WebKitUnitTests.gyp: Ditto.
4034         * tests/WebSocketDeflaterTest.cpp: Added.
4035         (WebCore):
4036         (WebCore::TEST):
4037
4038 2012-02-17  Yury Semikhatsky  <yurys@chromium.org>
4039
4040         [Chromium] Web Inspector: terminated workers are not removed from dedicated worker list
4041         https://bugs.webkit.org/show_bug.cgi?id=78899
4042
4043         Pass original WorkerContextProxy object to the inspector instrumentation instead
4044         of Chromium-specific one for consistency with WorkerMessagingProxy implementation
4045         in WebCore.
4046
4047         Reviewed by Pavel Feldman.
4048
4049         * src/WebWorkerClientImpl.cpp:
4050         (WebKit::WebWorkerClientImpl::startWorkerContext):
4051
4052 2012-02-18  raman Tenneti  <rtenneti@chromium.org>
4053
4054         Track the NPN protocol version negotiated with the server
4055         https://bugs.webkit.org/show_bug.cgi?id=77349
4056
4057         Reviewed by Darin Fisher.
4058
4059         [chromium] Added ExtraData to WebURLResponse.
4060
4061         * WebKit.gypi:
4062         * public/platform/WebURLResponse.h:
4063         (ExtraData):
4064         (WebKit::WebURLResponse::ExtraData::~ExtraData):
4065         (WebURLResponse):
4066         * src/WebURLResponse.cpp:
4067         (WebKit::WebURLResponse::extraData):
4068         (WebKit):
4069         (WebKit::WebURLResponse::setExtraData):
4070         * tests/WebURLResponseTest.cpp: Added.
4071         (WebKit):
4072         (TestExtraData):
4073         (WebKit::TestExtraData::TestExtraData):
4074         (WebKit::TestExtraData::~TestExtraData):
4075         (WebKit::TEST):
4076
4077 2012-02-17  Joshua Bell  <jsbell@chromium.org>
4078
4079         IndexedDB: Support overloaded methods that take IDBKey or IDBKeyRange
4080         https://bugs.webkit.org/show_bug.cgi?id=78399
4081
4082         Implements the WebKit API for IDBObjectStore.delete(IDBKeyRange),
4083         to exercise the overload capability.
4084
4085         Reviewed by Tony Chang.
4086
4087         * src/IDBObjectStoreBackendProxy.cpp:
4088         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
4089         (WebKit):
4090         * src/IDBObjectStoreBackendProxy.h:
4091         (IDBObjectStoreBackendProxy):
4092         * src/WebIDBObjectStoreImpl.cpp:
4093         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
4094         (WebKit):
4095         * src/WebIDBObjectStoreImpl.h:
4096         (WebIDBObjectStoreImpl):
4097
4098 2012-02-17  Michal Mocny  <mmocny@google.com>
4099
4100         [chromium] GL_CHROMIUM_gpu_memory_manager extension
4101         https://bugs.webkit.org/show_bug.cgi?id=77155
4102
4103         Reviewed by James Robinson.
4104
4105         * public/platform/WebGraphicsContext3D.h:
4106         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
4107         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGr