3b39f6914956afb8d3a44653e8334386a7abad18
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-06-25  Alpha Lam  <hclam@chromium.org>
2
3         Unreviewed, rolling out r121129.
4         http://trac.webkit.org/changeset/121129
5         https://bugs.webkit.org/show_bug.cgi?id=89542
6
7         Chromium ASan failure: crbug.com/134402
8
9         * features.gypi:
10         * public/WebSettings.h:
11         * src/WebSettingsImpl.cpp:
12         * src/WebSettingsImpl.h:
13         (WebSettingsImpl):
14
15 2012-06-25  Alpha Lam  <hclam@chromium.org>
16
17         Roll Chromium DEPS to r144020
18         https://bugs.webkit.org/show_bug.cgi?id=89912
19
20         Build fixed now! Unreviewed.
21
22         Rolled DEPS to fix chromium build.
23         Patch by Scott Graham <scottmg@chromium.org>.
24
25         * DEPS:
26
27 2012-06-25  Alec Flett  <alecflett@chromium.org>
28
29         IndexedDB: Stub out new onSuccess() handler for chromium
30         https://bugs.webkit.org/show_bug.cgi?id=89895
31
32         This is the chromium side of a refactor which will
33         introduce an onSuccess() method which includes the raw
34         SerializedScriptValue to the frontend, so the primaryKey
35         injection can happen in the front end, rather than
36         the V8 helper process.
37
38         Reviewed by Darin Fisher.
39
40         * public/WebIDBCallbacks.h:
41         (WebKit):
42         (WebKit::WebIDBCallbacks::onSuccess):
43         * src/IDBCallbacksProxy.cpp:
44         (WebKit::IDBCallbacksProxy::onSuccess):
45         * src/IDBCallbacksProxy.h:
46         (IDBCallbacksProxy):
47         * src/WebIDBCallbacksImpl.cpp:
48         (WebKit::WebIDBCallbacksImpl::onSuccess):
49         (WebKit):
50         * src/WebIDBCallbacksImpl.h:
51         (WebIDBCallbacksImpl):
52
53 2012-06-25  Joshua Bell  <jsbell@chromium.org>
54
55         IndexedDB: Remove unused backend property accessors
56         https://bugs.webkit.org/show_bug.cgi?id=89893
57
58         Reviewed by Darin Fisher.
59
60         Following the "metadata" API addition in trac.webkit.org/changeset/121059
61         per-property accessors can be removed from the Chromium WebKit API.
62
63         * src/WebIDBDatabaseImpl.cpp: Removed name, version, objectStoreNames.
64         * src/WebIDBDatabaseImpl.h:
65         (WebIDBDatabaseImpl):
66         * src/WebIDBIndexImpl.cpp: Removed name, keyPath, unique, multiEntry.
67         * src/WebIDBIndexImpl.h:
68         (WebIDBIndexImpl):
69         * src/WebIDBObjectStoreImpl.cpp: Removed name, keyPath, autoIncrement, indexNames.
70         * src/WebIDBObjectStoreImpl.h:
71         (WebIDBObjectStoreImpl):
72
73 2012-06-25  Ian Vollick  <vollick@chromium.org>
74
75         [chromium] Layer chromium should need a redraw after getting its first non-empty bounds.
76         https://bugs.webkit.org/show_bug.cgi?id=89784
77
78         Reviewed by James Robinson.
79
80         Previously, we'd only set needs redraw if the old bounds were zero,
81         and the new bounds were non-zero, but we should actually have 
82         checked that the old bounds were non-empty.
83
84         * tests/LayerChromiumTest.cpp:
85
86 2012-06-25  Scott Graham  <scottmg@chromium.org>
87
88         Plumb Scrollbar button dimensions down to WebThemeEngine
89         https://bugs.webkit.org/show_bug.cgi?id=89264
90
91         Reviewed by James Robinson.
92
93         Rather than making the height of the scrollbar buttons the same as the
94         width of the scrollbar, delegate to the WebThemeEngine. This allows
95         matching the Aura theme rather than the standard Windows theme.
96
97         * src/PlatformSupport.cpp:
98         (WebCore::PlatformSupport::getThemePartSize):
99         (WebCore):
100
101 2012-06-25  Zeev Lieber  <zlieber@chromium.org>
102
103         [Chromium] RenderPass textures are evicted at the end of every frame
104         https://bugs.webkit.org/show_bug.cgi?id=89786
105
106         Reviewed by Adrienne Walker.
107
108         Added unit tests to verify large textures are staying in memory
109         and available for render pass optimization.
110
111         * tests/CCLayerTreeHostImplTest.cpp:
112
113 2012-06-25  Kinuko Yasuda  <kinuko@chromium.org>
114
115         Heap-use-after-free in WebKit::MainThreadFileSystemCallbacks
116         https://bugs.webkit.org/show_bug.cgi?id=87019
117
118         Reviewed by David Levin.
119
120         Should not access the CallbacksBridge's member field after it's freed.
121
122         * src/WorkerFileSystemCallbacksBridge.cpp:
123         (WebKit::WorkerFileSystemCallbacksBridge::cleanUpAfterCallback):
124
125 2012-06-24  Luke Macpherson  <macpherson@chromium.org>
126
127         Add runtime flag to enable/disable CSS variables (in addition to existing compile-time flag).
128         https://bugs.webkit.org/show_bug.cgi?id=89542
129
130         Reviewed by Dimitri Glazkov.
131
132         * features.gypi:
133         * public/WebSettings.h:
134         * src/WebSettingsImpl.cpp:
135         (WebKit::WebSettingsImpl::setExperimentalCSSVariablesEnabled):
136         (WebKit):
137         * src/WebSettingsImpl.h:
138         (WebSettingsImpl):
139
140 2012-06-23  Kwang Yul Seo  <skyul@company100.net>
141
142         [chromium] Return has value, in function returning void
143         https://bugs.webkit.org/show_bug.cgi?id=89822
144
145         Reviewed by Adam Barth.
146
147         A followup for r121091.
148
149         * src/WebHistoryItem.cpp:
150         (WebKit::WebHistoryItem::setPageScaleFactor):
151         * src/WebImageLayer.cpp:
152         (WebKit::WebImageLayer::setBitmap):
153         * src/WebLayer.cpp:
154         (WebKit::WebLayer::setMaskLayer):
155         * src/WebOptionElement.cpp:
156         (WebKit::WebOptionElement::setValue):
157         (WebKit::WebOptionElement::setDefaultSelected):
158
159 2012-06-23  Kwang Yul Seo  <skyul@company100.net>
160
161         [chromium] Return has value, in function returning void
162         https://bugs.webkit.org/show_bug.cgi?id=89805
163
164         Reviewed by Adam Barth.
165
166         Make WebFrameImpl::replaceSelection not return a value because it is a function returning void.
167
168         * src/WebFrameImpl.cpp:
169         (WebKit::WebFrameImpl::replaceSelection):
170
171 2012-06-22  Sheriff Bot  <webkit.review.bot@gmail.com>
172
173         Unreviewed.  Rolled DEPS.
174
175         * DEPS:
176
177 2012-06-22  David Grogan  <dgrogan@chromium.org>
178
179         IndexedDB: Avoid infinite loop if we try to encode -1 for leveldb
180         https://bugs.webkit.org/show_bug.cgi?id=89625
181
182         Reviewed by Tony Chang.
183
184         * tests/IDBLevelDBCodingTest.cpp:
185         (IDBLevelDBCoding::TEST):
186
187 2012-06-22  Michael Nordman  <michaeln@google.com>
188
189         [chromium] WebKit API plumbing for applicationCache.abort() 
190         https://bugs.webkit.org/show_bug.cgi?id=89792
191
192         Reviewed by Darin Fisher.
193
194         * public/WebApplicationCacheHost.h:
195         (WebKit::WebApplicationCacheHost::abort):
196         * src/ApplicationCacheHost.cpp:
197         (WebCore::ApplicationCacheHost::abort):
198
199 2012-06-22  James Robinson  <jamesr@chromium.org>
200
201         [chromium] LayerRendererChromium is not getting visibility messages in single threaded compositing mode.
202         https://bugs.webkit.org/show_bug.cgi?id=89045
203
204         Reviewed by Adrienne Walker.
205
206         Based on patch by Michal Mocny <mmocny@google.com>.
207
208         Update various test fixtures and tests to cover scheduling, visibility, and resource allocation changes.
209
210         * tests/CCLayerTreeHostImplTest.cpp:
211         * tests/CCLayerTreeHostTest.cpp:
212         (CCLayerTreeHostTestAbortFrameWhenInvisible):
213         (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::CCLayerTreeHostTestAbortFrameWhenInvisible):
214         (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::beginTest):
215         (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::afterTest):
216         (WTF):
217         (WTF::TEST_F):
218         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
219         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
220         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
221         * tests/CCSchedulerStateMachineTest.cpp:
222         (WebCore::TEST):
223         * tests/CCTiledLayerTestCommon.h:
224         * tests/FakeWebGraphicsContext3D.h:
225         (WebKit::FakeWebGraphicsContext3D::FakeWebGraphicsContext3D):
226         (FakeWebGraphicsContext3D):
227         (WebKit::FakeWebGraphicsContext3D::createTexture):
228         * tests/LayerRendererChromiumTest.cpp:
229         (TEST_F):
230         * tests/TiledLayerChromiumTest.cpp:
231
232
233 2012-06-22  Sadrul Habib Chowdhury  <sadrul@chromium.org>
234
235         [chromium] Notify the document if a plugin accepts touch input events
236         https://bugs.webkit.org/show_bug.cgi?id=89769
237
238         Reviewed by Adam Barth.
239
240         The browser sends touch events to webkit only if webkit has any touch-event handlers. So it is
241         necessary to notify the document when a plugin starts accepting touch-events so that it can in
242         turn tell the browser to send it touch events.
243
244         * public/WebPluginContainer.h:
245         (WebPluginContainer):
246         * src/WebPluginContainerImpl.cpp:
247         (WebKit::WebPluginContainerImpl::setIsAcceptingTouchEvents):
248         (WebKit):
249         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
250         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
251         * src/WebPluginContainerImpl.h:
252         (WebPluginContainerImpl):
253
254 2012-06-22  Kenneth Russell  <kbr@google.com>
255
256         Unreviewed, rolling out r121064.
257         http://trac.webkit.org/changeset/121064
258         https://bugs.webkit.org/show_bug.cgi?id=88268
259
260         Broke Chromium Mac build.
261
262         * public/WebView.h:
263         (WebKit):
264         (WebView):
265         * src/WebLayerTreeView.cpp:
266         * src/WebViewImpl.cpp:
267         * src/WebViewImpl.h:
268         (WebViewImpl):
269         * tests/CCLayerTreeHostTest.cpp:
270         (WTF::CCLayerTreeHostTestScrollSimple::layout):
271         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
272         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommitAndDrawFrame):
273         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommit):
274
275 2012-06-22  Dave Tu  <dtu@chromium.org>
276
277         [chromium] Expose rendering statistics to WebWidget.
278         https://bugs.webkit.org/show_bug.cgi?id=88268
279
280         Reviewed by James Robinson.
281
282         The WebKit side of a basic framework for exposing rendering statistics
283         to Chromium's --enable-benchmarking extension.
284
285         * src/WebLayerTreeView.cpp:
286         (WebKit::WebLayerTreeView::renderingStatistics):
287         (WebKit):
288
289 2012-06-22  Shawn Singh  <shawnsingh@chromium.org>
290
291         [chromium] Do not accumulate occlusion from 3d layers on the main thread
292         https://bugs.webkit.org/show_bug.cgi?id=89704
293
294         Reviewed by James Robinson.
295
296         * tests/CCOcclusionTrackerTest.cpp:
297         (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
298         (WebKitTests):
299         (CCOcclusionTrackerTestUnsorted3dLayers):
300         (WebKitTests::CCOcclusionTrackerTestUnsorted3dLayers::runMyTest):
301         (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
302
303 2012-06-22  Joshua Bell  <jsbell@chromium.org>
304
305         IndexedDB: Snapshot metadata in front end to avoid IPC round-trips
306         https://bugs.webkit.org/show_bug.cgi?id=88467
307
308         Reviewed by Tony Chang.
309
310         Add conversions to/from WebCore IDB metadata type and plumbing for routing the
311         IDBDatabaseBackendInterface::metadata() call through the public API..
312
313         * WebKit.gyp: New file added.
314         * public/WebIDBMetadata.h: Conversion functions.
315         (WebCore):
316         (WebIDBMetadata):
317         * src/IDBDatabaseBackendProxy.cpp: Plumbing.
318         (WebKit::IDBDatabaseBackendProxy::metadata):
319         (WebKit):
320         * src/IDBDatabaseBackendProxy.h: Plumbing.
321         (IDBDatabaseBackendProxy):
322         * src/WebIDBDatabaseImpl.cpp: Plumbing.
323         (WebKit::WebIDBDatabaseImpl::metadata):
324         (WebKit):
325         * src/WebIDBDatabaseImpl.h: Plumbing.
326         (WebKit):
327         (WebIDBDatabaseImpl):
328         * src/WebIDBMetadata.cpp: Added - conversion functions.
329         (WebKit):
330         (WebKit::WebIDBMetadata::WebIDBMetadata):
331         (WebKit::WebIDBMetadata::operator IDBDatabaseMetadata):
332
333 2012-06-22  Fady Samuel  <fsamuel@chromium.org>
334
335         [Chromium] Browser Plugin: Expose advanceFocus to WebKit API so that guests can advance focus of theirs embedders
336         https://bugs.webkit.org/show_bug.cgi?id=88827
337
338         Reviewed by Darin Fisher.
339
340         A browser plugin needs to be able to tells its embedder when the guest
341         is done tabbing through controls and wants its embedder to advance its
342         tab position.
343
344         * public/WebView.h:
345         (WebView):
346         (WebKit::WebView::advanceFocus):
347         * src/WebViewImpl.cpp:
348         (WebKit::WebViewImpl::advanceFocus):
349         (WebKit):
350         * src/WebViewImpl.h:
351         (WebViewImpl):
352
353 2012-06-22  Jeff Timanus  <twiz@chromium.org>
354
355         [Chromium] Change implementing a fast-path for copying GPU-accelerated Canvas2D instances to WebGL textures.
356         https://bugs.webkit.org/show_bug.cgi?id=86275
357
358         This change adds the necessary plumbing to the various rendering contexts to copy the backing store texture of
359         a Canvas2D instance to be copied to a WebGL texture.  The GL_CHROMIUM_copy_texture extension is necessary
360         because the backing-store for a GPU-accelerated skia Canvas2D is normally in BGRA format, which is not supported
361         by glCopyTexImage.
362
363         Reviewed by Kenneth Russell.
364
365         * DEPS: Rolled chromium to 143630 to fix chromium-linux ews failures.
366
367 2012-06-22  Kenneth Russell  <kbr@google.com>
368
369         Unreviewed, rolling out r121025.
370         http://trac.webkit.org/changeset/121025
371         https://bugs.webkit.org/show_bug.cgi?id=89580
372
373         Caused crash in
374         EventHandler.shouldTurnVerticalTicksIntoHorizontal webkit unit
375         test on 10.7
376
377         * WebKit.gypi:
378         * tests/EventHandlerTest.cpp: Removed.
379
380 2012-06-22  Peter Beverloo  <peter@chromium.org>
381
382         [Chromium] Disable c++0x compatibility warnings in JavaScriptCore.gyp when building for Android
383         https://bugs.webkit.org/show_bug.cgi?id=88853
384
385         Reviewed by Steve Block.
386
387         The Android exclusions were necessary to fix a gyp generation error, as
388         the gcc_version variable wasn't being defined for Android. Remove these
389         exceptions when Chromium is able to define the gcc_version variable.
390
391         * WebKit.gyp:
392         * WebKitUnitTests.gyp:
393
394 2012-06-22  Robert Kroeger  <rjkroege@chromium.org>
395
396         Suppress horizontal conversion of PlatformWheelEvents when hasPreciseScrollingDeltas is true
397         https://bugs.webkit.org/show_bug.cgi?id=89580
398
399         WebKit GTK and Chromium Linux force vertical wheel events to
400         scroll horizontally when over horizontal scroll bars.  This is
401         undesirable for touchpad scrolling with hasPreciseScrollingDeltas() == true.
402
403         Added unit tests to show that
404         EventHandler::shouldTurnVerticalTicksIntoHorizontal() is true
405         only for PlatformWheelEvents when !hasPreciseScrollingDeltas().
406
407         Reviewed by Adam Barth.
408
409         * WebKit.gypi:
410         * tests/EventHandlerTest.cpp: Added.
411         (MockScrollbar):
412         (MockScrollbar::MockScrollbar):
413         (MockScrollbar::~MockScrollbar):
414         (MockHitTestResult):
415         (MockHitTestResult::MockHitTestResult):
416         (MockHitTestResult::scrollbar):
417         (MockPlatformWheelEvent):
418         (MockPlatformWheelEvent::MockPlatformWheelEvent):
419         (EventHandlerTest):
420         (EventHandlerTest::EventHandlerTest):
421         (EventHandlerTest::externalShouldTurnVerticalTicksIntoHorizontal):
422         (TEST):
423
424 2012-06-22  Amy Ousterhout  <aousterh@chromium.org>
425
426         Renamed DeviceOrientation to DeviceOrientationData
427         https://bugs.webkit.org/show_bug.cgi?id=88663
428
429         Reviewed by Steve Block.
430
431         Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
432         This change makes DeviceOrientationData consistent with DeviceMotionData.
433         
434         * public/WebDeviceOrientation.h:
435         (WebDeviceOrientation):
436         * src/DeviceOrientationClientProxy.cpp:
437         (WebKit::DeviceOrientationClientProxy::lastOrientation):
438         * src/DeviceOrientationClientProxy.h:
439         (DeviceOrientationClientProxy):
440         * src/WebDeviceOrientation.cpp:
441         (WebKit::WebDeviceOrientation::WebDeviceOrientation):
442         (WebKit::WebDeviceOrientation::operator=):
443         (WebKit::WebDeviceOrientation::operator PassRefPtr<WebCore::DeviceOrientationData>):
444         * src/WebDeviceOrientationController.cpp:
445         (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):
446
447 2012-06-22  Joseph Pecoraro  <pecoraro@apple.com>
448
449         Web Inspector: InspectorState::updateCookie should not do JSON serialization if unsupported
450         https://bugs.webkit.org/show_bug.cgi?id=89743
451
452         The Chromium port does want InspectorState updates.
453
454         Reviewed by Yury Semikhatsky.
455
456         * src/InspectorClientImpl.h:
457         (WebKit::InspectorClientImpl::supportsInspectorStateUpdates):
458         * src/WebDevToolsAgentImpl.h:
459         (WebKit::WebDevToolsAgentImpl::supportsInspectorStateUpdates):
460
461 2012-06-21  Sheriff Bot  <webkit.review.bot@gmail.com>
462
463         Unreviewed, rolling out r120982.
464         http://trac.webkit.org/changeset/120982
465         https://bugs.webkit.org/show_bug.cgi?id=89740
466
467         [chromium] ASSERTION FAILED:
468         m_allocatedTextureIds.contains(textureId) (Requested by ukai
469         on #webkit).
470
471         * tests/CCLayerTreeHostImplTest.cpp:
472         * tests/CCLayerTreeHostTest.cpp:
473         (CCLayerTreeHostTestVisibilityAndAllocationControlDrawing):
474         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing):
475         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::beginTest):
476         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommitAndDrawFrame):
477         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::didCommit):
478         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::commitCompleteOnCCThread):
479         (WTF::CCLayerTreeHostTestVisibilityAndAllocationControlDrawing::afterTest):
480         (WTF):
481         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
482         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
483         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
484         * tests/CCSchedulerStateMachineTest.cpp:
485         (WebCore::TEST):
486         * tests/CCTiledLayerTestCommon.h:
487         (WebKitTests::FakeTextureAllocator::createTexture):
488         (WebKitTests::FakeTextureAllocator::deleteTexture):
489         * tests/FakeWebGraphicsContext3D.h:
490         (WebKit::FakeWebGraphicsContext3D::createTexture):
491         (FakeWebGraphicsContext3D):
492         * tests/LayerRendererChromiumTest.cpp:
493         (TEST_F):
494         * tests/TiledLayerChromiumTest.cpp:
495
496 2012-06-21  James Robinson  <jamesr@chromium.org>
497
498         [chromium] Initialize compositor's visibility state upon initialization
499         https://bugs.webkit.org/show_bug.cgi?id=89712
500
501         Reviewed by Adrienne Walker.
502
503         A given WebViewImpl's visibility state might change any number of times before compositing is enabled. If the
504         visibility state is not the default (visible) when the compositor is initialized, we need to let it know the
505         correct visibility state or it will start ticking uselessly in threaded mode.
506
507         Tested manually, there's no way to create a new WebViewImpl in a non-visible state in a WebKit test that I know
508         of.
509
510         * src/WebViewImpl.cpp:
511         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
512
513 2012-06-21  Sadrul Habib Chowdhury  <sadrul@chromium.org>
514
515         [chromium] Add touch-event support for WebPluginContainerImpl
516         https://bugs.webkit.org/show_bug.cgi?id=89089
517
518         Reviewed by Adam Barth.
519
520         * src/WebPluginContainerImpl.cpp:
521         (WebKit::WebPluginContainerImpl::handleEvent):
522         * src/WebPluginContainerImpl.h:
523         (WebCore):
524         (WebPluginContainerImpl):
525
526 2012-06-21  Oli Lan  <olilan@chromium.org>
527
528         Add methods to select between offsets in an editable field.
529         https://bugs.webkit.org/show_bug.cgi?id=89098
530
531         Reviewed by Ryosuke Niwa.
532
533         Reviewed by Ryosuke Niwa.
534
535         This adds a new method WebViewImpl::setEditableSelectionOffsets, which
536         can be used to select between two character positions in the node
537         currently beign edited.
538
539         The offsets are assumed to be relative to the rootEditableElement.
540         
541         This can be used for IME features that require the ability to manipulate
542         the selection, for example on Android where the method InputConnection#setSelection
543         is used.
544
545         This method calls a new method Editor::setSelectionOffsets.
546
547         The method works for inputs/textareas (i.e. text form controls) and
548         contenteditable nodes, and the new test in WebViewTest tests both these cases.
549
550         * public/WebView.h:
551         (WebView):
552         * src/WebViewImpl.cpp:
553         (WebKit::WebViewImpl::setEditableSelectionOffsets):
554         (WebKit):
555         * src/WebViewImpl.h:
556         (WebViewImpl):
557         * tests/WebViewTest.cpp:
558         (WebKit::TEST_F):
559         (WebKit):
560         * tests/data/content_editable_populated.html: Added.
561         * tests/data/input_field_populated.html: Added.
562
563 2012-06-19  James Robinson  <jamesr@chromium.org>
564
565         [chromium] LayerRendererChromium is not getting visibility messages in single threaded compositing mode.
566         https://bugs.webkit.org/show_bug.cgi?id=89045
567
568         Reviewed by Adrienne Walker.
569
570         Based on patch by Michal Mocny <mmocny@google.com>.
571
572         Update various test fixtures and tests to cover scheduling, visibility, and resource allocation changes.
573
574         * tests/CCLayerTreeHostImplTest.cpp:
575         * tests/CCLayerTreeHostTest.cpp:
576         (CCLayerTreeHostTestAbortFrameWhenInvisible):
577         (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::CCLayerTreeHostTestAbortFrameWhenInvisible):
578         (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::beginTest):
579         (WTF::CCLayerTreeHostTestAbortFrameWhenInvisible::afterTest):
580         (WTF):
581         (WTF::TEST_F):
582         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
583         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
584         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
585         * tests/CCSchedulerStateMachineTest.cpp:
586         (WebCore::TEST):
587         * tests/CCTiledLayerTestCommon.h:
588         * tests/FakeWebGraphicsContext3D.h:
589         (WebKit::FakeWebGraphicsContext3D::FakeWebGraphicsContext3D):
590         (FakeWebGraphicsContext3D):
591         (WebKit::FakeWebGraphicsContext3D::createTexture):
592         * tests/LayerRendererChromiumTest.cpp:
593         (TEST_F):
594         * tests/TiledLayerChromiumTest.cpp:
595
596
597 2012-06-21  Mike West  <mkwst@chromium.org>
598
599         [Chromium] Enable CSP_NEXT on the Chromium port.
600         https://bugs.webkit.org/show_bug.cgi?id=89683
601
602         Reviewed by Adam Barth.
603
604         Enable CSP 1.1 on the Chromium port. This has zero practical effect,
605         as no CSP 1.1 patches have landed yet. But it will. Oh it will.
606
607         * features.gypi: ENABLE_CSP_NEXT=1
608
609 2012-06-21  Alec Flett  <alecflett@chromium.org>
610
611         IndexedDB: Implement spec behavior for multiEntry indexes with invalid/duplicate subkeys
612         https://bugs.webkit.org/show_bug.cgi?id=86123
613
614         Reviewed by Darin Fisher.
615
616         Add matching isValid() to WebIDBKey to match the one in IDBKey.
617
618         * public/WebIDBKey.h:
619         * src/WebIDBKey.cpp:
620         (WebKit::WebIDBKey::isValid):
621         (WebKit):
622         * src/WebIDBKeyRange.cpp:
623         (WebKit::WebIDBKeyRange::assign):
624
625 2012-06-21  Ian Vollick  <vollick@chromium.org>
626
627         [chromium] Overlays when using the web inspector are blurry with device scale factor > 1
628         https://bugs.webkit.org/show_bug.cgi?id=89676
629
630         Reviewed by James Robinson.
631
632         Whenever we construct a GraphicsLayerChromium, make initialize the
633         device and page scale factors, if possible.
634
635         * tests/GraphicsLayerChromiumTest.cpp:
636         (WebKitTests::TEST_F):
637         (WebKitTests):
638
639 2012-06-21  Min Qin  <qinmin@chromium.org>
640
641         remove ENABLE_FULLSCREEN_MEDIA_CONTROL flag
642         https://bugs.webkit.org/show_bug.cgi?id=89614
643
644         Reviewed by Eric Carlson.
645
646         Since desktop chrome now has fullscreen button, we don't need this flag anymore
647
648         * features.gypi:
649
650 2012-06-20  Zeev Lieber  <zlieber@chromium.org>
651
652         [Chromium] Damage tracker is not used without partial swap, causing valid render passes to be removed
653         https://bugs.webkit.org/show_bug.cgi?id=89589
654
655         Reviewed by Adrienne Walker.
656
657         Added unit tests to check surface texture caching when partial
658         swap is not used.
659
660         * tests/CCLayerTreeHostImplTest.cpp:
661
662 2012-06-20  Sheriff Bot  <webkit.review.bot@gmail.com>
663
664         Unreviewed, rolling out r120889.
665         http://trac.webkit.org/changeset/120889
666         https://bugs.webkit.org/show_bug.cgi?id=89630
667
668         [Chromium] webkit_unit_tests didDrawNotCalledOnHiddenLayer
669         start failing (Requested by ukai on #webkit).
670
671         * tests/CCLayerTreeHostImplTest.cpp:
672
673 2012-06-20  Zeev Lieber  <zlieber@chromium.org>
674
675         [Chromium] Damage tracker is not used without partial swap, causing valid render passes to be removed
676         https://bugs.webkit.org/show_bug.cgi?id=89589
677
678         Reviewed by Adrienne Walker.
679
680         Added unit tests to check surface texture caching when partial
681         swap is not used.
682
683         * tests/CCLayerTreeHostImplTest.cpp:
684
685 2012-06-20  Joshua Bell  <jsbell@chromium.org>
686
687         IndexedDB: Remove redundant IDBObjectStore.delete() overloads
688         https://bugs.webkit.org/show_bug.cgi?id=89587
689
690         Reviewed by Darin Fisher.
691
692         * public/WebIDBObjectStore.h: Add note to remove overload when Chromium is updated.
693         (WebIDBObjectStore):
694         * src/IDBObjectStoreBackendProxy.cpp: Delete IDBKey overload.
695         * src/IDBObjectStoreBackendProxy.h: Delete IDBKey overload.
696         (IDBObjectStoreBackendProxy):
697         * src/WebIDBObjectStoreImpl.cpp: Delete IDBKey overload.
698         * src/WebIDBObjectStoreImpl.h: Delete IDBKey overload.
699         (WebIDBObjectStoreImpl):
700
701 2012-06-20  Garret Kelly  <gdk@chromium.org>
702
703         Moving cookieEnabled/setCookieEnabled from Page to Settings, and
704         exposing through WebSettings.
705         https://bugs.webkit.org/show_bug.cgi?id=89545
706
707         Reviewed by Adam Barth.
708
709         * public/WebSettings.h:
710         * src/WebSettingsImpl.cpp:
711         (WebKit::WebSettingsImpl::setCookieEnabled):
712         * src/WebSettingsImpl.h:
713         (WebSettingsImpl):
714
715 2012-06-20  Raymes Khoury  <raymes@chromium.org>
716
717         Perform hit-test from correct frame in isRectTopmost()
718         https://bugs.webkit.org/show_bug.cgi?id=89492
719
720         Reviewed by Levi Weintraub.
721
722         Hit-testing was being performed from the main frame, which gave the
723         incorrect result if the plugin was in a different frame.
724
725         * src/WebPluginContainerImpl.cpp:
726         (WebKit::WebPluginContainerImpl::isRectTopmost):
727
728 2012-06-20  Alexandre Elias  <aelias@google.com>
729
730         [chromium] Support mobile device rotation resizing
731         https://bugs.webkit.org/show_bug.cgi?id=86819
732
733         Reviewed by Adam Barth.
734
735         Resizes on a mobile device are caused either by rotation or
736         on-screen-keyboard bringup, and need different treatment to remain
737         naturally laid out, scaled and scrolled without disorienting the user.
738
739         * src/WebViewImpl.cpp:
740         (WebKit::WebViewImpl::resize):
741
742 2012-06-19  James Robinson  <jamesr@chromium.org>
743
744         [chromium] Separate LayerRenderer initialization from updateLayers
745         https://bugs.webkit.org/show_bug.cgi?id=89525
746
747         Reviewed by Adrienne Walker.
748
749         Update tests to call initializeLayerRendererIfNeeded() before calling updateLayers() to reflect what the proxies
750         do.
751
752         * tests/CCLayerTreeHostTest.cpp:
753         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
754         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
755         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
756         * tests/TiledLayerChromiumTest.cpp:
757
758 2012-06-20  Christopher Cameron  <ccameron@chromium.org>
759
760         [chromium] webkit-backface-visibility doesn't work with video
761         https://bugs.webkit.org/show_bug.cgi?id=88908
762
763         When determining a contents layer's backface culling, use the parent
764         layer's transform and backface-visibility properties. Track which
765         layers need this special treatment with useParentBackfaceVisibility
766         and setUseParentBackfaceVisibility functions in WebCore::LayerChromium,
767         WebKit::WebLayer, and WebCore::CCLayerImpl.
768
769         Reviewed by Adrienne Walker.
770
771         * src/WebLayer.cpp:
772             (WebKit::WebLayer::setUseParentBackfaceVisibility):
773                 Add an accessor to specify that a layer should use its parent's
774                 backface culling behavior.
775
776 2012-06-20  Ian Vollick  <vollick@chromium.org>
777
778         [chromium] Make sure that render surfaces are not pixel doubled with a device scale factor of 2
779         https://bugs.webkit.org/show_bug.cgi?id=86882
780
781         Reviewed by Adrienne Walker.
782
783         To ensure that render surfaces are not pixel doubled when device scale factor is
784         two, the render surface's owning layer's draw transform is scaled by the
785         contents scale (in the same way that the parent matrix is scaled by the device
786         scale factor). The transformedLayerRect's dimensions also need to be in pixel
787         space. The surface origin transform should not scale, but needs to offset the
788         correct number of pixels, and the replica transforms need to be modified to
789         account for the scaling.
790
791         * tests/CCLayerTreeHostCommonTest.cpp:
792
793 2012-06-20  Joshua Bell  <jsbell@chromium.org>
794
795         Unreviewed build fix.
796
797         * tests/IDBDatabaseBackendTest.cpp:
798         (WebCore::MockIDBCallbacks::~MockIDBCallbacks):
799         (WebCore::FakeIDBDatabaseCallbacks::~FakeIDBDatabaseCallbacks):
800
801 2012-06-20  Joshua Bell  <jsbell@chromium.org>
802
803         [Chromium] IndexedDB: Don't close database if pending connections are in flight
804         https://bugs.webkit.org/show_bug.cgi?id=89512
805
806         Reviewed by Tony Chang.
807
808         * tests/IDBDatabaseBackendTest.cpp:
809         (MockIDBCallbacks):
810         (WebCore::MockIDBCallbacks::create):
811         (WebCore::MockIDBCallbacks::MockIDBCallbacks):
812         (WebCore):
813         (FakeIDBDatabaseCallbacks):
814         (WebCore::FakeIDBDatabaseCallbacks::create):
815         (WebCore::FakeIDBDatabaseCallbacks::FakeIDBDatabaseCallbacks):
816         (WebCore::TEST):
817
818 2012-06-20  Zeev Lieber  <zlieber@chromium.org>
819
820         [Chromium] Remove redundant #includes in compositor
821         https://bugs.webkit.org/show_bug.cgi?id=89503
822
823         Reviewed by Adrienne Walker.
824
825         Minor adjustments to #include statements to remove
826         dependencies. No new tests.
827
828         * src/WebCompositorImpl.cpp:
829         * src/WebLayerTreeView.cpp:
830         * tests/CCLayerTestCommon.cpp:
831         * tests/CCLayerTreeHostImplTest.cpp:
832         * tests/CCLayerTreeHostTest.cpp:
833         * tests/CCOcclusionTrackerTest.cpp:
834         * tests/CCQuadCullerTest.cpp:
835         * tests/CCTiledLayerImplTest.cpp:
836         * tests/ImageLayerChromiumTest.cpp:
837         * tests/LayerRendererChromiumTest.cpp:
838         * tests/TiledLayerChromiumTest.cpp:
839
840 2012-06-20  Hans Wennborg  <hans@chromium.org>
841
842         Speech JavaScript API: add SpeechRecognition.maxAlternatives attribute
843         https://bugs.webkit.org/show_bug.cgi?id=89459
844
845         Reviewed by Eric Seidel.
846
847         Plumbing for the maxAlternatives attribute.
848
849         * public/WebSpeechRecognitionParams.h:
850         (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
851         (WebKit::WebSpeechRecognitionParams::maxAlternatives):
852         (WebSpeechRecognitionParams):
853         * src/SpeechRecognitionClientProxy.cpp:
854         (WebKit::SpeechRecognitionClientProxy::start):
855         * src/SpeechRecognitionClientProxy.h:
856         (SpeechRecognitionClientProxy):
857
858 2012-06-20  Hironori Bono  <hbono@chromium.org>
859
860         [chromium] Select the marker range when right-clicking on a marker.
861         https://bugs.webkit.org/show_bug.cgi?id=89331
862
863         Reviewed by Hajime Morita.
864
865         Chromium always selects only one word when right-clicking on a spelling marker.
866         This prevents selecting whole region specified by a marker if the marker
867         consists of two or more words. This change retrieves a range coverted by a
868         marker and select the range. This emulates the behavior of Mac Chromium and it
869         does not need any workarounds for Mac.
870
871         * src/ContextMenuClientImpl.cpp:
872         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
873
874 2012-06-19  Kenneth Russell  <kbr@google.com>
875
876         Unreviewed, rolling out r120772.
877         http://trac.webkit.org/changeset/120772
878         https://bugs.webkit.org/show_bug.cgi?id=89503
879
880         Broke build on Chromium Mac
881
882         * src/WebCompositorImpl.cpp:
883         * src/WebLayerTreeView.cpp:
884         * tests/CCLayerTestCommon.cpp:
885         * tests/CCLayerTreeHostImplTest.cpp:
886         * tests/CCLayerTreeHostTest.cpp:
887         * tests/CCOcclusionTrackerTest.cpp:
888         * tests/CCQuadCullerTest.cpp:
889         * tests/CCTiledLayerImplTest.cpp:
890         * tests/ImageLayerChromiumTest.cpp:
891         * tests/LayerRendererChromiumTest.cpp:
892         * tests/TiledLayerChromiumTest.cpp:
893
894 2012-06-19  Zeev Lieber  <zlieber@chromium.org>
895
896         [Chromium] Remove redundant #includes in compositor
897         https://bugs.webkit.org/show_bug.cgi?id=89503
898
899         Reviewed by Adrienne Walker.
900
901         Minor adjustments to #include statements to remove
902         dependencies. No new tests.
903
904         * src/WebCompositorImpl.cpp:
905         * src/WebLayerTreeView.cpp:
906         * tests/CCLayerTestCommon.cpp:
907         * tests/CCLayerTreeHostImplTest.cpp:
908         * tests/CCLayerTreeHostTest.cpp:
909         * tests/CCOcclusionTrackerTest.cpp:
910         * tests/CCQuadCullerTest.cpp:
911         * tests/CCTiledLayerImplTest.cpp:
912         * tests/ImageLayerChromiumTest.cpp:
913         * tests/LayerRendererChromiumTest.cpp:
914         * tests/TiledLayerChromiumTest.cpp:
915
916 2012-06-19  Joshua Bell  <jsbell@chromium.org>
917
918         IndexedDB: Add new type (and chromium webkit API) for metadata snapshot
919         https://bugs.webkit.org/show_bug.cgi?id=88678
920
921         Reviewed by Darin Fisher.
922
923         * WebKit.gyp:
924         * public/WebIDBDatabase.h:
925         (WebKit::WebIDBDatabase::metadata):
926         * public/WebIDBKeyPath.h:
927         (WebIDBKeyPath):
928         (WebKit::WebIDBKeyPath::WebIDBKeyPath):
929         (WebKit::WebIDBKeyPath::~WebIDBKeyPath):
930         (WebKit::WebIDBKeyPath::operator=): Used by Chromium backend.
931         * public/WebIDBMetadata.h: Added new type.
932         (WebKit):
933         (WebIDBMetadata):
934         (WebKit::WebIDBMetadata::WebIDBMetadata):
935         (ObjectStore):
936         (WebKit::WebIDBMetadata::ObjectStore::ObjectStore):
937         (Index):
938         (WebKit::WebIDBMetadata::Index::Index):
939         * src/WebIDBKeyPath.cpp: Conform to normal WebXXX patern.
940         (WebKit::WebIDBKeyPath::assign):
941         (WebKit):
942         (WebKit::WebIDBKeyPath::reset):
943
944 2012-06-19  Amy Ousterhout  <aousterh@chromium.org>
945
946         [Chromium] Style Fix in WebDeviceOrientationController
947         https://bugs.webkit.org/show_bug.cgi?id=89337
948
949         Reviewed by Steve Block.
950
951         Changing a local variable from a PassRefPtr to a RefPtr in order to be consistent with the style guide.
952
953         * src/WebDeviceOrientationController.cpp:
954         (WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):
955
956 2012-06-19  Peter Wang  <peter.wang@torchmobile.com.cn>
957
958         Remove the function ScriptDebugServer::supportsNativeBreakpoints()
959         https://bugs.webkit.org/show_bug.cgi?id=88759
960
961         Reviewed by Pavel Feldman.
962
963         * src/js/DevTools.js:
964
965 2012-06-19  Yury Semikhatsky  <yurys@chromium.org>
966
967         [Chromium] Web Inspector: remove unnecessary indirection from message loop instrumentation
968         https://bugs.webkit.org/show_bug.cgi?id=89443
969
970         Removed start/stopMainThreadMonitoring methods from WebDevToolsAgentClient
971         and WebDevToolsAgentImpl. The functionality is now implemented inside
972         InspectorClientImpl.
973
974         Reviewed by Vsevolod Vlasov.
975
976         * public/WebDevToolsAgentClient.h:
977         * src/InspectorClientImpl.cpp:
978         (WebKit::InspectorClientImpl::clearBrowserCookies):
979         (WebKit::InspectorClientImpl::startMainThreadMonitoring):
980         (WebKit::InspectorClientImpl::stopMainThreadMonitoring):
981         (WebKit::InspectorClientImpl::willProcessTask):
982         (WebKit):
983         (WebKit::InspectorClientImpl::didProcessTask):
984         * src/InspectorClientImpl.h:
985         (InspectorClientImpl):
986         * src/WebDevToolsAgentImpl.cpp:
987         * src/WebDevToolsAgentImpl.h:
988         (WebDevToolsAgentImpl):
989
990 2012-06-19  Mike West  <mkwst@chromium.org>
991
992         Introduce ENABLE_CSP_NEXT configuration flag.
993         https://bugs.webkit.org/show_bug.cgi?id=89300
994
995         Reviewed by Adam Barth.
996
997         The 1.0 draft of the Content Security Policy spec is just about to
998         move to Last Call. We'll hide work on the upcoming 1.1 spec behind
999         this ENABLE flag, disabled by default.
1000
1001         Spec: https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html
1002
1003         * features.gypi:
1004
1005 2012-06-19  Sheriff Bot  <webkit.review.bot@gmail.com>
1006
1007         Unreviewed, rolling out r120586.
1008         http://trac.webkit.org/changeset/120586
1009         https://bugs.webkit.org/show_bug.cgi?id=89444
1010
1011         doesn't fix mac issue (Requested by morrita on #webkit).
1012
1013         * src/ContextMenuClientImpl.cpp:
1014         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1015         * src/WebFrameImpl.cpp:
1016         (WebKit::WebFrameImpl::replaceMisspelledRange):
1017
1018 2012-06-19  Mike West  <mkwst@chromium.org>
1019
1020         Add a scheme registry for bypassing Content Security Policy.
1021         https://bugs.webkit.org/show_bug.cgi?id=89373
1022
1023         Reviewed by Adam Barth.
1024
1025         * public/WebSecurityPolicy.h:
1026         (WebSecurityPolicy):
1027         * src/WebSecurityPolicy.cpp:
1028         (WebKit::WebSecurityPolicy::registerURLSchemeAsBypassingContentSecurityPolicy):
1029         (WebKit):
1030
1031 2012-06-18  Adam Barth  <abarth@webkit.org>
1032
1033         [Chromium] GesturePinchBegin and friends are gesture events
1034         https://bugs.webkit.org/show_bug.cgi?id=89398
1035
1036         Reviewed by James Robinson.
1037
1038         * public/WebInputEvent.h:
1039         (WebKit::WebInputEvent::isGestureEventType):
1040
1041 2012-06-18  Amy Ousterhout  <aousterh@chromium.org>
1042
1043         [Chromium] DeviceOrientation Cleanup
1044         https://bugs.webkit.org/show_bug.cgi?id=89354
1045
1046         Reviewed by Kent Tamura.
1047
1048         * public/WebDeviceOrientation.h: added const-qualifiers to getters, simplified an overly-complicated parameter to two functions
1049         (WebKit::WebDeviceOrientation::isNull):
1050         (WebKit::WebDeviceOrientation::canProvideAlpha):
1051         (WebKit::WebDeviceOrientation::alpha):
1052         (WebKit::WebDeviceOrientation::canProvideBeta):
1053         (WebKit::WebDeviceOrientation::beta):
1054         (WebKit::WebDeviceOrientation::canProvideGamma):
1055         (WebKit::WebDeviceOrientation::gamma):
1056         (WebKit::WebDeviceOrientation::canProvideAbsolute):
1057         (WebKit::WebDeviceOrientation::absolute):
1058         (WebDeviceOrientation):
1059         * public/WebDeviceOrientationClient.h: added WEBKIT_ASSERT_NOT_REACHED to virtual functions
1060         (WebKit::WebDeviceOrientationClient::setController):
1061         (WebKit::WebDeviceOrientationClient::startUpdating):
1062         (WebKit::WebDeviceOrientationClient::stopUpdating):
1063         (WebKit::WebDeviceOrientationClient::lastOrientation):
1064         * public/WebDeviceOrientationClientMock.h: added OVERRIDE specifier for virtual functions
1065         (WebDeviceOrientationClientMock):
1066         * src/DeviceOrientationClientProxy.h: designated functions as 'virtual' and added OVERRIDE specifier
1067         (DeviceOrientationClientProxy):
1068         * src/WebDeviceOrientation.cpp: simplified overly-complicated parameter to two functions 
1069         (WebKit::WebDeviceOrientation::WebDeviceOrientation):
1070         (WebKit::WebDeviceOrientation::operator=):
1071
1072 2012-06-18  Ami Fischman  <fischman@chromium.org>
1073
1074         Unreviewed.  Rolled DEPS.
1075
1076         * DEPS:
1077
1078 2012-06-14  James Robinson  <jamesr@chromium.org>
1079
1080         [chromium] Use WebImageLayer in GraphicsLayerChromium for image layers
1081         https://bugs.webkit.org/show_bug.cgi?id=89150
1082
1083         Reviewed by Adrienne Walker.
1084
1085         Implementation of WebImageLayer. Note: This could (should?) live in WebCore/platform/chromium/support/, but it's
1086         here to be next to the other Web*Layer.cpp implementation files.
1087
1088         * WebKit.gyp:
1089         * src/WebImageLayer.cpp: Added.
1090         (WebKit):
1091         (WebKit::WebImageLayer::create):
1092         (WebKit::WebImageLayer::WebImageLayer):
1093         (WebKit::WebImageLayer::setBitmap):
1094
1095 2012-06-14  James Robinson  <jamesr@chromium.org>
1096
1097         [chromium] GraphicsLayerChromium should use WebContentLayer directly
1098         https://bugs.webkit.org/show_bug.cgi?id=89145
1099
1100         Reviewed by Adrienne Walker.
1101
1102         * src/WebContentLayerImpl.cpp:
1103         (WebKit::WebContentLayerImpl::paintContents):
1104         * tests/CCOcclusionTrackerTest.cpp:
1105         (WebKitTests::CCOcclusionTrackerTestMainThreadTypes::createLayer):
1106         * tests/OpaqueRectTrackingContentLayerDelegateTest.cpp:
1107         (WebCore):
1108         (WebCore::OpaqueRectTrackingContentLayerDelegateTest::OpaqueRectTrackingContentLayerDelegateTest):
1109         (WebCore::OpaqueRectTrackingContentLayerDelegateTest::canvasRect):
1110         (WebCore::TEST_F):
1111         * tests/WebLayerTest.cpp:
1112
1113 2012-06-18  Ilya Sherman  <isherman@chromium.org>
1114
1115         [Chromium] Ensure layout has happened before calling into hasNonEmptyBoundingBox()
1116         Also update existing code to use updateLayoutIgnorePendingStylesheets()
1117         https://bugs.webkit.org/show_bug.cgi?id=89258
1118
1119         Reviewed by James Robinson.
1120
1121         * src/WebNode.cpp:
1122         (WebKit::WebNode::isFocusable): Use updateLayoutIgnorePendingStylesheets()
1123         (WebKit::WebNode::hasNonEmptyBoundingBox): Force layout before checking the bounding box
1124
1125 2012-06-18  Ian Vollick  <vollick@chromium.org>
1126
1127         [chromium] Ensure that skipping frames during an accelerated animation doesn't cause starvation
1128         https://bugs.webkit.org/show_bug.cgi?id=87766
1129
1130         Reviewed by James Robinson.
1131
1132         * tests/CCLayerTreeHostTest.cpp:
1133         (WTF):
1134         (CCLayerTreeHostTestCheckerboardDoesNotStarveDraws):
1135         (WTF::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws):
1136         (WTF::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws::beginTest):
1137         (WTF::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws::afterTest):
1138         (WTF::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws::animateLayers):
1139         (WTF::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws::drawLayersOnCCThread):
1140         (WTF::CCLayerTreeHostTestCheckerboardDoesNotStarveDraws::prepareToDrawOnCCThread):
1141         (WTF::TEST_F):
1142         * tests/CCSchedulerStateMachineTest.cpp:
1143         (WebCore::TEST):
1144         (WebCore):
1145         * tests/CCThreadedTest.cpp:
1146         (WebKitTests::MockLayerTreeHostImpl::prepareToDraw):
1147         * tests/CCThreadedTest.h:
1148         (WebKitTests::TestHooks::prepareToDrawOnCCThread):
1149
1150 2012-06-18  Xianzhu Wang  <wangxianzhu@chromium.org>
1151
1152         [Chromium] Change back "linuxish" to "linux" and include WebFontRendering.cpp on Android
1153         https://bugs.webkit.org/show_bug.cgi?id=89228
1154
1155         Reviewed by Tony Chang.
1156
1157         * WebKit.gyp:
1158         * public/linux/WebFontRendering.h:
1159         (WebKit):
1160         (WebFontRendering):
1161         * public/linuxish/WebFontRendering.h: Removed.
1162         * src/linux/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/linuxish/WebFontRendering.cpp.
1163         (WebKit):
1164         (WebKit::WebFontRendering::setHinting):
1165         (WebKit::WebFontRendering::setAutoHint):
1166         (WebKit::WebFontRendering::setUseBitmaps):
1167         (WebKit::WebFontRendering::setAntiAlias):
1168         (WebKit::WebFontRendering::setSubpixelRendering):
1169         (WebKit::WebFontRendering::setSubpixelPositioning):
1170         (WebKit::WebFontRendering::setLCDOrder):
1171         (WebKit::WebFontRendering::setLCDOrientation):
1172
1173 2012-06-18  Hironori Bono  <hbono@chromium.org>
1174
1175         [chromium] Spellchecker should show suggestions only when right-clicking a misspelled word.
1176         https://bugs.webkit.org/show_bug.cgi?id=89331
1177
1178         Reviewed by Hajime Morita.
1179
1180         When a selection includes two or more misspelled words, it is not so easy to
1181         select one word from them and to show its suggestions. To avoid this problem,
1182         this change shows suggestions only when the selection is collapsed. For this
1183         case, we can use Range::setStart and setEnd to convert a DocumentMarker to a
1184         Range.
1185
1186         * src/ContextMenuClientImpl.cpp:
1187         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Added a check that the selection is collapsed.
1188         * src/WebFrameImpl.cpp:
1189         (WebKit::WebFrameImpl::replaceMisspelledRange): Added a check that the selection is collapsed. Also, use Range::setStart() and Range::setEnd() to get the marker range to emulate the behavior of DocumentMarker::markersInRange().
1190
1191 2012-06-14  Kinuko Yasuda  <kinuko@chromium.org>
1192
1193         [chromium] Cleanup: remove PlatformSupport::createAsyncFileSystem as it's no longer used
1194         https://bugs.webkit.org/show_bug.cgi?id=89083
1195
1196         Reviewed by Kentaro Hara.
1197
1198         * src/PlatformSupport.cpp:
1199
1200 2012-06-15  Kinuko Yasuda  <kinuko@chromium.org>
1201
1202         XHR_RESPONSE_BLOB is not enabled on some platforms
1203         https://bugs.webkit.org/show_bug.cgi?id=88859
1204
1205         Reviewed by Adam Barth.
1206
1207         Removing XHR_RESPONSE_BLOB since the current implementation has
1208         no platform-specific part.
1209
1210         * src/PlatformSupport.cpp:
1211         * src/WebRuntimeFeatures.cpp:
1212         (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
1213         (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
1214
1215 2012-06-17  MORITA Hajime  <morrita@google.com>
1216
1217         Unreviewed build fix.
1218
1219         * tests/CCLayerTreeHostImplTest.cpp:
1220
1221 2012-06-17  Zeev Lieber  <zlieber@chromium.org>
1222
1223         [Chromium] Compositor should avoid drawing quads when cached textures are available and contents unchanged
1224         https://bugs.webkit.org/show_bug.cgi?id=88482
1225
1226         Reviewed by Adrienne Walker.
1227
1228         Added tests to verify quad removal algorithm. Added infrastructure
1229         code to generate custom render passes out of a script encoded as C
1230         string.
1231
1232         * tests/CCDamageTrackerTest.cpp:
1233         (WebKitTests::TEST_F):
1234         * tests/CCLayerImplTest.cpp:
1235         (WebCore):
1236         (WebCore::TEST):
1237         * tests/CCLayerTreeHostImplTest.cpp:
1238
1239 2012-06-16  Robert Kroeger  <rjkroege@chromium.org>
1240
1241         [chromium] Make the deviceScaleFactor dynamically adjustable.
1242         https://bugs.webkit.org/show_bug.cgi?id=88916
1243
1244         Reviewed by James Robinson.
1245
1246         * src/WebLayerTreeView.cpp:
1247         (WebKit::WebLayerTreeView::Settings::operator CCSettings): Removed unused
1248         static deviceScaleFactor.
1249         (WebKit::WebLayerTreeView::setDeviceScaleFactor):
1250         (WebKit):
1251         (WebKit::WebLayerTreeView::deviceScaleFactor):
1252         * src/WebViewImpl.cpp:
1253         (WebKit::WebViewImpl::setDeviceScaleFactor): Push the dynamic deviceScaleFactor
1254         to the compositor as required.
1255         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1256         * tests/CCLayerTreeHostTest.cpp: Tests use dynamic setDeviceScaleFactor.
1257         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers):
1258         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::beginTest):
1259         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commitCompleteOnCCThread):
1260
1261 2012-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1262
1263         Unreviewed, rolling out r120536.
1264         http://trac.webkit.org/changeset/120536
1265         https://bugs.webkit.org/show_bug.cgi?id=89296
1266
1267         Does not compile on chromium-linux (Requested by abarth on
1268         #webkit).
1269
1270         * WebKit.gyp:
1271         * public/linux/WebFontRendering.h:
1272         * public/linuxish/WebFontRendering.h: Renamed from Source/WebKit/chromium/public/WebFontRendering.h.
1273         (WebKit):
1274         (WebFontRendering):
1275         * src/linuxish/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/WebFontRendering.cpp.
1276         (WebKit):
1277         (WebKit::WebFontRendering::setHinting):
1278         (WebKit::WebFontRendering::setAutoHint):
1279         (WebKit::WebFontRendering::setUseBitmaps):
1280         (WebKit::WebFontRendering::setAntiAlias):
1281         (WebKit::WebFontRendering::setSubpixelRendering):
1282         (WebKit::WebFontRendering::setSubpixelPositioning):
1283         (WebKit::WebFontRendering::setLCDOrder):
1284         (WebKit::WebFontRendering::setLCDOrientation):
1285
1286 2012-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1287
1288         Unreviewed, rolling out r120539.
1289         http://trac.webkit.org/changeset/120539
1290         https://bugs.webkit.org/show_bug.cgi?id=89295
1291
1292         Does not compile on chromium-mac (Requested by abarth on
1293         #webkit).
1294
1295         * tests/CCDamageTrackerTest.cpp:
1296         (WebKitTests::TEST_F):
1297         * tests/CCLayerImplTest.cpp:
1298         (WebCore):
1299         (WebCore::TEST):
1300         * tests/CCLayerTreeHostImplTest.cpp:
1301
1302 2012-06-16  Zeev Lieber  <zlieber@chromium.org>
1303
1304         [Chromium] Compositor should avoid drawing quads when cached textures are available and contents unchanged
1305         https://bugs.webkit.org/show_bug.cgi?id=88482
1306
1307         Reviewed by Adrienne Walker.
1308
1309         Added tests to verify quad removal algorithm. Added infrastructure
1310         code to generate custom render passes out of a script
1311         encoded as C string.
1312
1313         * tests/CCDamageTrackerTest.cpp:
1314         (WebKitTests::TEST_F):
1315         * tests/CCLayerImplTest.cpp:
1316         (WebCore):
1317         (WebCore::TEST):
1318         * tests/CCLayerTreeHostImplTest.cpp:
1319
1320 2012-06-16  Xianzhu Wang  <wangxianzhu@chromium.org>
1321
1322         [Chromium] Move chromium/public/linuxish/WebFontRendering.h out of linuxish directory
1323         https://bugs.webkit.org/show_bug.cgi?id=89228
1324
1325         Reverse dependency originally from WebCore::FontPlatformDataHarfBuzz to WebKit::WebFontRendering
1326         so that WebKit::WebFontRendering can be platform-independent.
1327
1328         This also avoids the ambiguous name 'linuxish'.
1329
1330         Reviewed by Tony Chang.
1331
1332         * WebKit.gyp:
1333         * public/WebFontRendering.h: Copied from Source/WebKit/chromium/public/linuxish/WebFontRendering.h. Added getters under WEBKIT_IMPLEMENTATION.
1334         (WebFontRendering):
1335         * public/linux/WebFontRendering.h:
1336         * public/linuxish: Removed.
1337         * public/linuxish/WebFontRendering.h: Removed.
1338         * src/WebFontRendering.cpp: Copied from Source/WebKit/chromium/src/linuxish/WebFontRendering.cpp. Changed setters to be independent of platform-dependent implementation and added getters.
1339         (WebKit):
1340         (WebKit::WebFontRendering::setHinting):
1341         (WebKit::WebFontRendering::hinting):
1342         (WebKit::WebFontRendering::setAutoHint):
1343         (WebKit::WebFontRendering::autoHint):
1344         (WebKit::WebFontRendering::setUseBitmaps):
1345         (WebKit::WebFontRendering::useBitmaps):
1346         (WebKit::WebFontRendering::setAntiAlias):
1347         (WebKit::WebFontRendering::antiAlias):
1348         (WebKit::WebFontRendering::setSubpixelRendering):
1349         (WebKit::WebFontRendering::subpixelRendering):
1350         (WebKit::WebFontRendering::setSubpixelPositioning):
1351         (WebKit::WebFontRendering::subpixelPositioning):
1352         * src/linuxish: Removed.
1353         * src/linuxish/WebFontRendering.cpp: Removed.
1354
1355 2012-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1356
1357         Unreviewed.  Rolled DEPS.
1358
1359         * DEPS:
1360
1361 2012-06-16  Dan Alcantara  <dfalcantara@chromium.org>
1362
1363         [chromium] WebFrameClient::userAgentOverride() should take in a WebFrame* as its first argument
1364         https://bugs.webkit.org/show_bug.cgi?id=89233
1365
1366         Reviewed by Darin Fisher.
1367
1368         Adds a WebFrame* to the WebFrameClient::userAgentOverride() function.
1369
1370         * public/WebFrameClient.h:
1371         (WebKit::WebFrameClient::userAgentOverride):
1372         * src/FrameLoaderClientImpl.cpp:
1373         (WebKit::FrameLoaderClientImpl::userAgent):
1374         * tests/FrameLoaderClientImplTest.cpp:
1375
1376 2012-06-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1377
1378         Unreviewed, rolling out r120511.
1379         http://trac.webkit.org/changeset/120511
1380         https://bugs.webkit.org/show_bug.cgi?id=89255
1381
1382         Breaks at least Android builder (Requested by wangxianzhu on
1383         #webkit).
1384
1385         * WebKit.gyp:
1386         * public/linux/WebFontRendering.h:
1387         * public/linuxish/WebFontRendering.h: Renamed from Source/WebKit/chromium/public/WebFontRendering.h.
1388         (WebKit):
1389         (WebFontRendering):
1390         * src/linuxish/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/WebFontRendering.cpp.
1391         (WebKit):
1392         (WebKit::WebFontRendering::setHinting):
1393         (WebKit::WebFontRendering::setAutoHint):
1394         (WebKit::WebFontRendering::setUseBitmaps):
1395         (WebKit::WebFontRendering::setAntiAlias):
1396         (WebKit::WebFontRendering::setSubpixelRendering):
1397         (WebKit::WebFontRendering::setSubpixelPositioning):
1398         (WebKit::WebFontRendering::setLCDOrder):
1399         (WebKit::WebFontRendering::setLCDOrientation):
1400
1401 2012-06-15  Xianzhu Wang  <wangxianzhu@chromium.org>
1402
1403         [Chromium] Move chromium/public/linuxish/WebFontRendering.h out of linuxish directory
1404         https://bugs.webkit.org/show_bug.cgi?id=89228
1405
1406         Reverse dependency originally from WebCore::FontPlatformDataHarfBuzz to WebKit::WebFontRendering
1407         so that WebKit::WebFontRendering can be platform-independent.
1408
1409         This also avoids the ambiguous name 'linuxish'.
1410
1411         Reviewed by Tony Chang.
1412
1413         * WebKit.gyp:
1414         * public/WebFontRendering.h: Copied from Source/WebKit/chromium/public/linuxish/WebFontRendering.h. Added getters under WEBKIT_IMPLEMENTATION.
1415         (WebFontRendering):
1416         * public/linux/WebFontRendering.h:
1417         * public/linuxish: Removed.
1418         * public/linuxish/WebFontRendering.h: Removed.
1419         * src/WebFontRendering.cpp: Copied from Source/WebKit/chromium/src/linuxish/WebFontRendering.cpp. Changed setters to be independent of platform-dependent implementation and added getters.
1420         (WebKit):
1421         (WebKit::WebFontRendering::setHinting):
1422         (WebKit::WebFontRendering::hinting):
1423         (WebKit::WebFontRendering::setAutoHint):
1424         (WebKit::WebFontRendering::autoHint):
1425         (WebKit::WebFontRendering::setUseBitmaps):
1426         (WebKit::WebFontRendering::useBitmaps):
1427         (WebKit::WebFontRendering::setAntiAlias):
1428         (WebKit::WebFontRendering::antiAlias):
1429         (WebKit::WebFontRendering::setSubpixelRendering):
1430         (WebKit::WebFontRendering::subpixelRendering):
1431         (WebKit::WebFontRendering::setSubpixelPositioning):
1432         (WebKit::WebFontRendering::subpixelPositioning):
1433         * src/linuxish: Removed.
1434         * src/linuxish/WebFontRendering.cpp: Removed.
1435
1436 2012-06-15  Tony Chang  <tony@chromium.org>
1437
1438         [chromium] Remove WebKit/chromium/public/gtk/WebFontInfo.h since it's no longer referenced.
1439         https://bugs.webkit.org/show_bug.cgi?id=89251
1440
1441         Reviewed by Adam Barth.
1442
1443         This was a forwarding header when we moved the file to public/linux.
1444
1445         * public/gtk/WebFontInfo.h: Removed.
1446
1447 2012-06-15  Bill Budge  <bbudge@chromium.org>
1448
1449         AssociatedURLLoader should allow trusted clients to read all headers, not just exposed ones.
1450         https://bugs.webkit.org/show_bug.cgi?id=89185
1451
1452         Reviewed by Adam Barth.
1453
1454         This change adds an option to turn off whitelist filtering of response headers for CORS loads,
1455         and modifies AssociatedURLLoader check for that before filtering.
1456
1457         * public/WebURLLoaderOptions.h:
1458         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
1459         (WebURLLoaderOptions):
1460         * src/AssociatedURLLoader.cpp:
1461         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
1462         * tests/AssociatedURLLoaderTest.cpp:
1463         (WebKit):
1464         (WebKit::TEST_F):
1465
1466 2012-06-15  Sami Kyostila  <skyostil@chromium.org>
1467
1468         [chromium] Allow scrolling non-root layers in the compositor thread
1469         https://bugs.webkit.org/show_bug.cgi?id=73350
1470
1471         Reviewed by James Robinson.
1472
1473         New unit tests to verify layer scrolling behavior and the associated
1474         utility functions.
1475
1476         * src/WebCompositorInputHandlerImpl.cpp:
1477         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
1478         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1479         * tests/CCLayerTreeHostCommonTest.cpp:
1480         * tests/CCLayerTreeHostImplTest.cpp:
1481         * tests/CCLayerTreeHostTest.cpp:
1482         (WTF::MockContentLayerDelegate::paintContents):
1483         (CCLayerTreeHostTestScrollChildLayer):
1484         (WTF::CCLayerTreeHostTestScrollChildLayer::CCLayerTreeHostTestScrollChildLayer):
1485         (WTF::CCLayerTreeHostTestScrollChildLayer::beginTest):
1486         (WTF::CCLayerTreeHostTestScrollChildLayer::applyScrollAndScale):
1487         (WTF::CCLayerTreeHostTestScrollChildLayer::beginCommitOnCCThread):
1488         (WTF::CCLayerTreeHostTestScrollChildLayer::drawLayersOnCCThread):
1489         (WTF::CCLayerTreeHostTestScrollChildLayer::afterTest):
1490         (WTF):
1491         (WTF::TEST_F):
1492         * tests/WebCompositorInputHandlerImplTest.cpp:
1493         (WebKit::TEST_F):
1494
1495 2012-06-15  Hironori Bono  <hbono@chromium.org>
1496
1497         Allow platforms to choose whether to remove markers on editing
1498         https://bugs.webkit.org/show_bug.cgi?id=88838
1499
1500         Reviewed by Hajime Morita.
1501
1502         This change implements EditorClientImpl::checkGrammarOfString so
1503         DumpRenderTree can run grammar tests.
1504
1505         * src/EditorClientImpl.cpp:
1506         (WebKit::EditorClientImpl::isGrammarCheckingEnabled): Return true also when unified text-checking is enabled.
1507         (WebKit::EditorClientImpl::shouldEraseMarkersAfterChangeSelection): ditto.
1508         (WebKit::EditorClientImpl::checkGrammarOfString): Implement this function with our unified text-checker.
1509
1510 2012-06-14  Kent Tamura  <tkent@chromium.org>
1511
1512         Support file extensions in HTMLInputElement::accept
1513         https://bugs.webkit.org/show_bug.cgi?id=88298
1514
1515         Reviewed by Hajime Morita.
1516
1517         * src/ChromeClientImpl.cpp:
1518         (WebKit::ChromeClientImpl::runOpenPanel):
1519         Use FileChooserSettings::acceptTypes() to get both of MIME types and file extensions.
1520
1521 2012-06-14  Kaustubh Atrawalkar  <kaustubh@motorola.com>
1522
1523         Remove support for counterValueForElementById from chromium port
1524         https://bugs.webkit.org/show_bug.cgi?id=88851
1525
1526         Reviewed by Adam Barth.
1527
1528         Moved the counterValueForElementById from LayoutTestCotroller to Internals so
1529         remove the old platform specific implementations as it exclusively tests WebCore functionality.
1530
1531         * public/WebFrame.h:
1532         (WebFrame):
1533         * src/WebFrameImpl.cpp:
1534         (WebKit):
1535         * src/WebFrameImpl.h:
1536         (WebFrameImpl):
1537
1538 2012-06-14  Xianzhu Wang  <wangxianzhu@chromium.org>
1539
1540         [Chromium-Android] Initialize font rendering in DumpRenderTree
1541         https://bugs.webkit.org/show_bug.cgi?id=89133
1542
1543         Reviewed by Adam Barth.
1544
1545         * src/linuxish/WebFontRendering.cpp:
1546         (WebKit::WebFontRendering::setSubpixelPositioning): Now calls WebFontInfo::setSubpixelPositioning to avoid API users from calling both and simplify platform differences at call sites.
1547
1548 2012-06-14  Tony Chang  <tony@chromium.org>
1549
1550         [chromium] Port IFrameRedirectTest.Test from test_shell_tests to webkit_unit_tests
1551         https://bugs.webkit.org/show_bug.cgi?id=89132
1552
1553         Reviewed by Adam Barth.
1554
1555         This test is currently in src/webkit/glue/iframe_redirect_unittest.cc
1556         and uses test_shell's layoutTestController. Moving this will make
1557         it easier to get rid of layoutTestController in test_shell.
1558
1559         * tests/WebFrameTest.cpp:
1560         (WebKit::TEST_F):
1561         (WebKit):
1562         * tests/data/iframe_redirect.html: Added.
1563
1564 2012-06-14  David Reveman  <reveman@chromium.org>
1565
1566         [Chromium] Sub-pixel text rendering is incorrectly used for WebView with transparent background.
1567         https://bugs.webkit.org/show_bug.cgi?id=89033
1568
1569         Reviewed by James Robinson.
1570
1571         Add canvas background argument to PageWidgetDelegate::paint and call
1572         PlatformCanvasSkia::setDrawingToImageBuffer to ensure that sub-pixel
1573         rendering is only used when WebView has opaque background.
1574
1575         * src/PageWidgetDelegate.cpp:
1576         (WebKit::PageWidgetDelegate::paint):
1577         * src/PageWidgetDelegate.h:
1578         * src/WebPagePopupImpl.cpp:
1579         (WebKit::WebPagePopupImpl::paint):
1580         * src/WebViewImpl.cpp:
1581         (WebKit::WebViewImpl::paint):
1582
1583 2012-06-14  Shawn Singh  <shawnsingh@chromium.org>
1584
1585         [chromium] CCLayerTreeHostCommonTest.verifyHitTestingForSingleLayer failing in debug
1586         https://bugs.webkit.org/show_bug.cgi?id=89065
1587
1588         Reviewed by James Robinson.
1589
1590         A debug assertion was being triggered in the hit-testing unit
1591         tests because I accidentally forgot to set the
1592         DebugScopedSetImplThread for the tests.
1593
1594         This patch also re-enables the disabled broken test.
1595
1596         * tests/CCLayerTreeHostCommonTest.cpp:
1597
1598 2012-06-14  Xianzhu Wang  <wangxianzhu@chromium.org>
1599
1600         [Chromium] Add setAutoHint() and setUseBitmaps() in WebFontRendering
1601         https://bugs.webkit.org/show_bug.cgi?id=89014
1602
1603         Reviewed by James Robinson.
1604
1605         * public/linuxish/WebFontRendering.h:
1606         (WebFontRendering):
1607         * src/linuxish/WebFontRendering.cpp:
1608         (WebKit):
1609         (WebKit::WebFontRendering::setAutoHint):
1610         (WebKit::WebFontRendering::setUseBitmaps):
1611         (WebKit::WebFontRendering::setAntiAlias):
1612
1613 2012-06-14  Daniel Erat  <derat@chromium.org>
1614
1615         [chromium/linux] Drop deprecated WebFontRenderStyle::useSubpixel
1616         https://bugs.webkit.org/show_bug.cgi?id=88263
1617
1618         Reviewed by Adam Barth.
1619
1620         This removes the useSubpixel member, which was replaced by
1621         useSubpixelRendering.  Chrome has been updated to set only the
1622         useSubpixelRendering field.
1623
1624         No test updates since the existing behavior shouldn't change.
1625
1626         * public/linux/WebFontInfo.h:
1627         (WebFontInfo):
1628         * public/linux/WebFontRenderStyle.h:
1629         * src/linux/WebFontInfo.cpp:
1630         (WebKit::WebFontInfo::renderStyleForStrike):
1631         * src/linux/WebFontRenderStyle.cpp:
1632         (WebKit::WebFontRenderStyle::toFontRenderStyle):
1633         (WebKit::WebFontRenderStyle::setDefaults):
1634
1635 2012-06-14  Shawn Singh  <shawnsingh@chromium.org>
1636
1637         [chromium] For hit testing in CCLayerTreeHostCommon, need to check that the transform is invertible before inverting it.
1638         https://bugs.webkit.org/show_bug.cgi?id=89049
1639
1640         Reviewed by Adrienne Walker.
1641
1642         * tests/CCLayerTreeHostCommonTest.cpp:
1643
1644 2012-06-14  Ian Vollick  <vollick@chromium.org>
1645
1646         [chromium] Certain settings in CCSettings could be global
1647         https://bugs.webkit.org/show_bug.cgi?id=88384
1648
1649         Reviewed by James Robinson.
1650
1651         * WebKit.gypi:
1652         * public/WebCompositor.h:
1653         (WebCompositor):
1654         * public/WebSettings.h:
1655         * src/WebCompositorImpl.cpp:
1656         (WebKit::WebCompositor::shutdown):
1657         (WebKit):
1658         (WebKit::WebCompositor::setPerTilePaintingEnabled):
1659         (WebKit::WebCompositor::setPartialSwapEnabled):
1660         (WebKit::WebCompositor::setAcceleratedAnimationEnabled):
1661         * src/WebLayerTreeView.cpp:
1662         (WebKit):
1663         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
1664         * src/WebSettingsImpl.cpp:
1665         * src/WebSettingsImpl.h:
1666         (WebSettingsImpl):
1667         * src/WebViewImpl.cpp:
1668         (WebKit::WebViewImpl::WebViewImpl):
1669         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1670         * tests/CCLayerTreeHostImplTest.cpp:
1671         * tests/CCLayerTreeHostTest.cpp:
1672         (WTF):
1673         (CCLayerTreeHostTestShortlived1):
1674         (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
1675         (WTF::CCLayerTreeHostTestShortlived1::beginTest):
1676         (WTF::CCLayerTreeHostTestShortlived1::afterTest):
1677         * tests/CCTestCommon.h: Added.
1678         (WebKitTests):
1679         (CCScopedSettings):
1680         (WebKitTests::CCScopedSettings::CCScopedSettings):
1681         (WebKitTests::CCScopedSettings::~CCScopedSettings):
1682         * tests/CCThreadedTest.cpp:
1683         (WebKitTests::MockLayerTreeHostImpl::create):
1684         (WebKitTests::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
1685         (WebKitTests::MockLayerTreeHost::create):
1686         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
1687         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
1688         (WebKitTests::CCThreadedTest::runTest):
1689         * tests/CCThreadedTest.h:
1690         (CCThreadedTest):
1691         (MockLayerTreeHostImpl):
1692         * tests/GraphicsLayerChromiumTest.cpp:
1693         (WebKitTests::MockLayerTreeHost::create):
1694         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
1695         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
1696         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
1697         * tests/LayerChromiumTest.cpp:
1698         * tests/LayerRendererChromiumTest.cpp:
1699         (LayerRendererChromiumTest):
1700         (TEST_F):
1701         (TEST):
1702         * tests/TextureLayerChromiumTest.cpp:
1703         * tests/TiledLayerChromiumTest.cpp:
1704         * tests/TreeSynchronizerTest.cpp:
1705         (WebKitTests::TEST):
1706
1707 2012-06-14  James Robinson  <jamesr@chromium.org>
1708
1709         [chromium] Move opaque rectangle tracking logic out of compositor core
1710         https://bugs.webkit.org/show_bug.cgi?id=89031
1711
1712         Reviewed by Adrienne Walker.
1713
1714         Moves the grayscale/subpixel AA text decision into NonCompositedContentHost and removes one layer of indirection
1715         betwen NCCH and WVI that existed only for historical reasons.
1716
1717         Ports the opaque rect tracking tests that were in LayerTextureUpdaterTest to
1718         OpaquerectTrackingContentLayerDelegateTest to reflect the move in responsibilities.
1719
1720         * WebKit.gypi:
1721         * src/NonCompositedContentHost.cpp:
1722         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
1723         (WebKit::NonCompositedContentHost::setOpaque):
1724         (WebKit::NonCompositedContentHost::paintContents):
1725         * src/NonCompositedContentHost.h:
1726         (WebCore):
1727         (WebKit):
1728         (WebKit::NonCompositedContentHost::create):
1729         (NonCompositedContentHost):
1730         * src/WebContentLayerImpl.cpp:
1731         (WebKit::WebContentLayerImpl::paintContents):
1732         * src/WebContentLayerImpl.h:
1733         (WebContentLayerImpl):
1734         * src/WebViewImpl.cpp:
1735         (WebKit::WebViewImpl::paintRootLayer):
1736         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1737         * src/WebViewImpl.h:
1738         (WebViewImpl):
1739         * tests/CCLayerTreeHostTest.cpp:
1740         (WTF::TestOpacityChangeLayerDelegate::paintContents):
1741         (WTF::MockContentLayerDelegate::paintContents):
1742         * tests/LayerChromiumTest.cpp:
1743         * tests/LayerTextureUpdaterTest.cpp: Removed.
1744         * tests/OpaqueRectTrackingContentLayerDelegateTest.cpp: Added.
1745         (WebCore):
1746         (PaintCallback):
1747         (TestLayerPainterChromium):
1748         (WebCore::TestLayerPainterChromium::TestLayerPainterChromium):
1749         (WebCore::PaintFillAlpha::operator()):
1750         (WebCore::PaintFillPartialOpaque::PaintFillPartialOpaque):
1751         (PaintFillPartialOpaque):
1752         (WebCore::PaintFillPartialOpaque::operator()):
1753         (OpaqueRectTrackingContentLayerDelegateTest):
1754         (WebCore::OpaqueRectTrackingContentLayerDelegateTest::OpaqueRectTrackingContentLayerDelegateTest):
1755         (WebCore::OpaqueRectTrackingContentLayerDelegateTest::skCanvas):
1756         (WebCore::OpaqueRectTrackingContentLayerDelegateTest::canvasRect):
1757         (WebCore::TEST_F):
1758
1759 2012-06-14  Justin Novosad  <junov@chromium.org>
1760
1761         [Chromium] webkitImageSmoothingEnabled canvas property does not work on redraw
1762         https://bugs.webkit.org/show_bug.cgi?id=89018
1763
1764         Reviewed by Stephen White.
1765
1766         Rolling chromium DEPS to 141884
1767
1768         * DEPS:
1769
1770 2012-06-14  Alexander Pavlov  <apavlov@chromium.org>
1771
1772         [Chromium] Unreviewed, build fix for Mac 10.5
1773
1774         * src/WebDevToolsAgentImpl.cpp:
1775         (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
1776
1777 2012-06-14  Eugene Klyuchnikov  <eustas.bug@gmail.com>
1778
1779         Web Inspector: Refactor message loop instrumentation.
1780         https://bugs.webkit.org/show_bug.cgi?id=88978
1781
1782         Reviewed by Pavel Feldman.
1783
1784         1) Remove "messageLoop" term
1785         2) Reuse WebThread::TaskObserver interface
1786         3) Move implementation (from embedder) to platform code.
1787
1788         * public/WebDevToolsAgent.h:
1789         (WebDevToolsAgent):
1790         * public/WebDevToolsAgentClient.h:
1791         (WebDevToolsAgentClient):
1792         (WebKit::WebDevToolsAgentClient::startMainThreadMonitoring): Renamed medthod.
1793         (WebKit::WebDevToolsAgentClient::stopMainThreadMonitoring): Ditto.
1794         * src/InspectorClientImpl.cpp:
1795         (WebKit::InspectorClientImpl::startMainThreadMonitoring): Ditto.
1796         (WebKit::InspectorClientImpl::stopMainThreadMonitoring): Ditto.
1797         * src/InspectorClientImpl.h:
1798         (InspectorClientImpl):
1799         * src/WebDevToolsAgentImpl.cpp:
1800         (WebKit::WebDevToolsAgentImpl::startMainThreadMonitoring): Use platform threading.
1801         (WebKit::WebDevToolsAgentImpl::stopMainThreadMonitoring): Ditto.
1802         (WebKit::WebDevToolsAgentImpl::willProcessTask): Renamed medthod.
1803         (WebKit::WebDevToolsAgentImpl::didProcessTask): Ditto.
1804         * src/WebDevToolsAgentImpl.h:
1805         (WebDevToolsAgentImpl):
1806         * src/WebKit.cpp:
1807
1808 2012-06-14  Alexander Pavlov  <apavlov@chromium.org>
1809
1810         Web Inspector: [Device Metrics] "Fit window" results in duplicate rescaling in WebDevToolsAgentImpl::autoZoomPageToFitWidth()
1811         https://bugs.webkit.org/show_bug.cgi?id=89092
1812
1813         Reviewed by Pavel Feldman.
1814
1815         Do not apply the sizeRatio after it has been applied in scaledEmulatedFrameSize().
1816
1817         * src/WebDevToolsAgentImpl.cpp:
1818         (WebKit::DeviceMetricsSupport::autoZoomPageToFitWidth):
1819         (WebKit::DeviceMetricsSupport::ensureOriginalZoomFactor):
1820
1821 2012-06-14  Yoshifumi Inoue  <yosin@chromium.org>
1822
1823         [Chromium][Forms] We should remove ENABLE_INPUT_TYPE_TIME=0 and so on to allows us to override them by ~/.gyp/include.gypi
1824         https://bugs.webkit.org/show_bug.cgi?id=89062
1825
1826         Reviewed by Kent Tamura.
1827
1828         This patch removes ENABLE_INPUT_TYPE_*=0 from default entry of feature_defines to
1829         allows us overriding by ~/.gyp/include.gypi
1830
1831         * features.gypi: Remove ENABLE_INPUT_TYPE_DATETIME=0, ENABLE_INPUT_TYPE_DATETIMELOCAL=0,
1832         and so on.
1833
1834 2012-06-14  Min Qin  <qinmin@google.com>
1835
1836         Remove the const keyword from MediaPlayerPrivate::enterFullscreen()
1837         https://bugs.webkit.org/show_bug.cgi?id=89044
1838
1839         Reviewed by Adam Barth.
1840
1841         enterFullscreen() should be treated similarly as exitFullscreen() as it could alter the player state.
1842         This reverts the change from r120213.
1843
1844         * src/WebMediaPlayerClientImpl.cpp:
1845         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
1846         * src/WebMediaPlayerClientImpl.h:
1847         (WebMediaPlayerClientImpl):
1848
1849 2012-06-14  Dan Alcantara  <dfalcantara@chromium.org>
1850
1851         [chromium] Rename WebFrameClient::userAgent() to better reflect what it does
1852         https://bugs.webkit.org/show_bug.cgi?id=89028
1853
1854         Reviewed by Adam Barth.
1855
1856         Renames WebFrameClient::userAgent() to userAgentOverride() and makes it return
1857         the user agent override string directly.
1858
1859         * public/WebFrameClient.h:
1860         (WebFrameClient):
1861         (WebKit::WebFrameClient::userAgentOverride):
1862         * src/FrameLoaderClientImpl.cpp:
1863         (WebKit::FrameLoaderClientImpl::userAgent):
1864         * tests/FrameLoaderClientImplTest.cpp:
1865
1866 2012-06-13  Jesse Greenwald  <jgreenwald@google.com>
1867
1868         [Chromium] Add WebDocument.images
1869         https://bugs.webkit.org/show_bug.cgi?id=88837
1870
1871         Reviewed by Adam Barth.
1872
1873         This method is needed on Android to support the existing
1874         WebView.documentHasImages Java API.
1875
1876         * public/WebDocument.h:
1877         (WebDocument):
1878         * src/WebDocument.cpp:
1879         (WebKit::WebDocument::images):
1880         (WebKit):
1881
1882 2012-06-13  Dominic Cooney  <dominicc@chromium.org>
1883
1884         Unreviewed: Disable verifyHitTestingForSingleLayer.
1885         https://bugs.webkit.org/show_bug.cgi?id=89065
1886
1887         It is failing on canary debug bots.
1888
1889         * tests/CCLayerTreeHostCommonTest.cpp:
1890
1891 2012-06-13  Sheriff Bot  <webkit.review.bot@gmail.com>
1892
1893         Unreviewed, rolling out r120268.
1894         http://trac.webkit.org/changeset/120268
1895         https://bugs.webkit.org/show_bug.cgi?id=89060
1896
1897         WebCompositor::setPerTilePaintingEnabled hits an assertion in
1898         DEBUG (Requested by dominicc|work on #webkit).
1899
1900         * WebKit.gypi:
1901         * public/WebCompositor.h:
1902         (WebCompositor):
1903         * public/WebSettings.h:
1904         * src/WebCompositorImpl.cpp:
1905         (WebKit::WebCompositor::shutdown):
1906         * src/WebLayerTreeView.cpp:
1907         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1908         * src/WebSettingsImpl.cpp:
1909         (WebKit::WebSettingsImpl::setPerTilePaintingEnabled):
1910         (WebKit):
1911         (WebKit::WebSettingsImpl::setPartialSwapEnabled):
1912         (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
1913         * src/WebSettingsImpl.h:
1914         (WebSettingsImpl):
1915         * src/WebViewImpl.cpp:
1916         (WebKit::WebViewImpl::WebViewImpl):
1917         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1918         * tests/CCLayerTreeHostImplTest.cpp:
1919         * tests/CCLayerTreeHostTest.cpp:
1920         * tests/CCTestCommon.h: Removed.
1921         * tests/CCThreadedTest.cpp:
1922         (WebKitTests::MockLayerTreeHostImpl::create):
1923         (WebKitTests::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
1924         (WebKitTests::MockLayerTreeHost::create):
1925         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
1926         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
1927         (WebKitTests::CCThreadedTest::runTest):
1928         * tests/CCThreadedTest.h:
1929         (CCThreadedTest):
1930         (MockLayerTreeHostImpl):
1931         * tests/GraphicsLayerChromiumTest.cpp:
1932         (WebKitTests::MockLayerTreeHost::create):
1933         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
1934         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
1935         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
1936         * tests/LayerChromiumTest.cpp:
1937         * tests/LayerRendererChromiumTest.cpp:
1938         (LayerRendererChromiumTest):
1939         (TEST_F):
1940         (TEST):
1941         * tests/TextureLayerChromiumTest.cpp:
1942         * tests/TiledLayerChromiumTest.cpp:
1943         * tests/TreeSynchronizerTest.cpp:
1944         (WebKitTests::TEST):
1945
1946 2012-06-13  Hironori Bono  <hbono@chromium.org>
1947
1948         [chromium] Add WebFrame::replaceMisspelledRange
1949         https://bugs.webkit.org/show_bug.cgi?id=88618
1950
1951         Reviewed by Kent Tamura.
1952
1953         This change adds WebFrame::replaceMisspelledRange, which replaces the range of a
1954         misspelled marker with text so Chromium can use it for replacing misspelled
1955         words with suggetions.
1956
1957         * public/WebFrame.h:
1958         (WebFrame):
1959         * src/WebFrameImpl.cpp:
1960         (WebKit::WebFrameImpl::replaceMisspelledRange):
1961         (WebKit):
1962         * src/WebFrameImpl.h:
1963         (WebFrameImpl):
1964
1965 2012-06-13  Xianzhu Wang  <wangxianzhu@chromium.org>
1966
1967         [Chromium] Let Android and Linux share WebFontRendering decl/impl.
1968         https://bugs.webkit.org/show_bug.cgi?id=88802
1969
1970         Reviewed by Adam Barth.
1971
1972         * WebKit.gyp:
1973         * public/linux/WebFontRendering.h: Temporarily forwards to the new file under linuxish.
1974         * public/linuxish: Added.
1975         * public/linuxish/WebFontRendering.h: Copied from chromium/public/linux/WebFontRendering.h.
1976         * src/linux/WebFontRendering.cpp: Removed.
1977         * src/linuxish: Added.
1978         * src/linuxish/WebFontRendering.cpp: Copied from chromium/src/linux/WebFontRendering.cpp.
1979
1980 2012-06-13  Ian Vollick  <vollick@chromium.org>
1981
1982         [chromium] Certain settings in CCSettings could be global
1983         https://bugs.webkit.org/show_bug.cgi?id=88384
1984
1985         Reviewed by James Robinson.
1986
1987         * WebKit.gypi:
1988         * public/WebCompositor.h:
1989         (WebCompositor):
1990         * public/WebSettings.h:
1991         * src/WebCompositorImpl.cpp:
1992         (WebKit::WebCompositor::shutdown):
1993         (WebKit):
1994         (WebKit::WebCompositor::setPerTilePaintingEnabled):
1995         (WebKit::WebCompositor::setPartialSwapEnabled):
1996         (WebKit::WebCompositor::setAcceleratedAnimationEnabled):
1997         * src/WebLayerTreeView.cpp:
1998         (WebKit):
1999         (WebKit::WebLayerTreeView::Settings::operator CCLayerTreeSettings):
2000         * src/WebSettingsImpl.cpp:
2001         * src/WebSettingsImpl.h:
2002         (WebSettingsImpl):
2003         * src/WebViewImpl.cpp:
2004         (WebKit::WebViewImpl::WebViewImpl):
2005         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2006         * tests/CCLayerTreeHostImplTest.cpp:
2007         * tests/CCLayerTreeHostTest.cpp:
2008         (WTF):
2009         (CCLayerTreeHostTestShortlived1):
2010         (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
2011         (WTF::CCLayerTreeHostTestShortlived1::beginTest):
2012         (WTF::CCLayerTreeHostTestShortlived1::afterTest):
2013         * tests/CCTestCommon.h: Added.
2014         (WebKitTests):
2015         (CCScopedSettings):
2016         (WebKitTests::CCScopedSettings::CCScopedSettings):
2017         (WebKitTests::CCScopedSettings::~CCScopedSettings):
2018         * tests/CCThreadedTest.cpp:
2019         (WebKitTests::MockLayerTreeHostImpl::create):
2020         (WebKitTests::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
2021         (WebKitTests::MockLayerTreeHost::create):
2022         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
2023         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
2024         (WebKitTests::CCThreadedTest::runTest):
2025         * tests/CCThreadedTest.h:
2026         (CCThreadedTest):
2027         (MockLayerTreeHostImpl):
2028         * tests/GraphicsLayerChromiumTest.cpp:
2029         (WebKitTests::MockLayerTreeHost::create):
2030         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
2031         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
2032         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
2033         * tests/LayerChromiumTest.cpp:
2034         * tests/LayerRendererChromiumTest.cpp:
2035         (LayerRendererChromiumTest):
2036         (TEST_F):
2037         (TEST):
2038         * tests/TextureLayerChromiumTest.cpp:
2039         * tests/TiledLayerChromiumTest.cpp:
2040         * tests/TreeSynchronizerTest.cpp:
2041         (WebKitTests::TEST):
2042
2043 2012-06-13  Dana Jansens  <danakj@chromium.org>
2044
2045         [chromium] Assert if iterating an invalid RenderSurfaceLayerList, where a layer in the list has no RenderSurface
2046         https://bugs.webkit.org/show_bug.cgi?id=89004
2047
2048         Reviewed by Adrienne Walker.
2049
2050         * tests/CCLayerIteratorTest.cpp:
2051
2052 2012-06-13  Shawn Singh  <shawnsingh@chromium.org>
2053
2054         [chromium] Implement hit-testing for impl-side input handling in accelerated compositor
2055         https://bugs.webkit.org/show_bug.cgi?id=88972
2056
2057         Reviewed by Adrienne Walker.
2058
2059         * tests/CCLayerTreeHostCommonTest.cpp:
2060
2061 2012-06-13  David Reveman  <reveman@chromium.org>
2062
2063         [Chromium] Crash when WebViewImpl::setIsTransparent is called before the WebLayerTreeView has been initialized.
2064         https://bugs.webkit.org/show_bug.cgi?id=89013
2065
2066         Reviewed by James Robinson.
2067
2068         Add !m_layerTreeView.isNull() check to WebViewImpl::setIsTransparent.
2069
2070         * src/WebViewImpl.cpp:
2071         (WebKit::WebViewImpl::setIsTransparent):
2072
2073 2012-06-13  Sheriff Bot  <webkit.review.bot@gmail.com>
2074
2075         Unreviewed, rolling out r120220.
2076         http://trac.webkit.org/changeset/120220
2077         https://bugs.webkit.org/show_bug.cgi?id=89021
2078
2079         The patch broke build Chromium Win Release (Requested by
2080         wangxianzhu on #webkit).
2081
2082         * WebKit.gyp:
2083         * public/linux/WebFontRendering.h:
2084         (WebKit):
2085         (WebFontRendering):
2086         * public/linuxish/WebFontRendering.h: Removed.
2087         * src/linux/WebFontRendering.cpp: Renamed from Source/WebKit/chromium/src/linuxish/WebFontRendering.cpp.
2088         (WebKit):
2089         (WebKit::WebFontRendering::setHinting):
2090         (WebKit::WebFontRendering::setAntiAlias):
2091         (WebKit::WebFontRendering::setSubpixelGlyphs):
2092         (WebKit::WebFontRendering::setSubpixelRendering):
2093         (WebKit::WebFontRendering::setSubpixelPositioning):
2094         (WebKit::WebFontRendering::setLCDOrder):
2095         (WebKit::WebFontRendering::setLCDOrientation):
2096
2097 2012-06-13  Xianzhu Wang  <wangxianzhu@chromium.org>
2098
2099         [Chromium] Let Android and Linux share WebFontRendering decl/impl.
2100         https://bugs.webkit.org/show_bug.cgi?id=88802
2101
2102         Reviewed by Adam Barth.
2103
2104         * WebKit.gyp:
2105         * public/linux/WebFontRendering.h: Temporarily forwards to the new file under linuxish.
2106         * public/linuxish: Added.
2107         * public/linuxish/WebFontRendering.h: Copied from chromium/public/linux/WebFontRendering.h.
2108         * src/linux/WebFontRendering.cpp: Removed.
2109         * src/linuxish: Added.
2110         * src/linuxish/WebFontRendering.cpp: Copied from chromium/src/linux/WebFontRendering.cpp.
2111
2112 2012-06-13  Martin Kosiba  <mkosiba@google.com>
2113
2114         [Chromium] WebFrameImpl::find doesn't work for searching from a selection.
2115         https://bugs.webkit.org/show_bug.cgi?id=88885
2116
2117         Reviewed by Adam Barth.
2118
2119         Remember the active match not just until the seatchText changes but for the entire find session.
2120
2121         * src/WebFrameImpl.cpp:
2122         (WebKit::WebFrameImpl::find):
2123         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
2124
2125 2012-06-13  Peter Beverloo  <peter@chromium.org>
2126
2127         [Chromium] Fix Clang build with USE(NATIVE_FULLSCREEN_VIDEO)=1
2128         https://bugs.webkit.org/show_bug.cgi?id=88987
2129
2130         Reviewed by Simon Hausmann.
2131
2132         The enterFullscreen method is declared as const by MediaPlayerPrivateInterface,
2133         so this one should be declared as such as well.
2134
2135         Patch by Evgeniy Stepanov <eugenis@google.com>
2136
2137         * src/WebMediaPlayerClientImpl.cpp:
2138         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
2139         * src/WebMediaPlayerClientImpl.h:
2140         (WebMediaPlayerClientImpl):
2141
2142 2012-06-13  MORITA Hajime  <morrita@google.com>
2143
2144         REGRESSION(r118098): <content> element does not render distributed children when cloned from another document
2145         https://bugs.webkit.org/show_bug.cgi?id=88148
2146
2147         Reviewed by Dimitri Glazkov.
2148
2149         - Added ContextFeaturesClientImpl which implements WebCore::ContextFeaturesClient.
2150         - Replaced PagePopupFrameLoaderClient with PagePopupFeaturesClient.
2151
2152         * WebKit.gyp:
2153         * public/WebPermissionClient.h:
2154         (WebKit):
2155         (WebKit::WebPermissionClient::allowWebComponents):
2156         * src/ContextFeaturesClientImpl.cpp: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.cpp.
2157         (WebKit):
2158         (WebKit::ContextFeaturesClientImpl::isEnabled):
2159         * src/ContextFeaturesClientImpl.h: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.h.
2160         (WebKit):
2161         (ContextFeaturesClientImpl):
2162         (WebKit::ContextFeaturesClientImpl::ContextFeaturesClientImpl):
2163         (WebKit::ContextFeaturesClientImpl::setPermissionClient):
2164         * src/FrameLoaderClientImpl.cpp:
2165         * src/FrameLoaderClientImpl.h:
2166         (FrameLoaderClientImpl):
2167         * src/WebPagePopupImpl.cpp:
2168         (PagePopupFeaturesClient):
2169         (WebKit::PagePopupFeaturesClient::isEnabled):
2170         (WebKit):
2171         (WebKit::WebPagePopupImpl::initPage):
2172         * src/WebViewImpl.cpp:
2173         (WebKit::WebViewImpl::setPermissionClient):
2174         (WebKit::WebViewImpl::WebViewImpl):
2175         * src/WebViewImpl.h:
2176         (WebKit):
2177
2178 2012-06-12  Ian Vollick  <vollick@chromium.org>
2179
2180         [chromium] Roll chromium rev in DEPS
2181         https://bugs.webkit.org/show_bug.cgi?id=88934
2182
2183         Reviewed by James Robinson.
2184
2185         Rolling to 141410
2186
2187         * DEPS:
2188
2189 2012-06-12  James Robinson  <jamesr@chromium.org>
2190
2191         [chromium] Port Canvas2DLayerBridge over to WebExternalTextureLayer
2192         https://bugs.webkit.org/show_bug.cgi?id=88597
2193
2194         Reviewed by Adrienne Walker.
2195
2196         Implementations for new WebExternalTextureLayer APIs, updates test.
2197
2198         * src/WebExternalTextureLayer.cpp:
2199         (WebKit::WebExternalTextureLayer::willModifyTexture):
2200         (WebKit):
2201         (WebKit::WebExternalTextureLayer::setRateLimitContext):
2202         * tests/Canvas2DLayerBridgeTest.cpp:
2203         (Canvas2DLayerBridgeTest::fullLifecycleTest):
2204
2205 2012-06-12  Adrienne Walker  <enne@google.com>
2206
2207         [chromium] Paint scrollbars on WebKit thread and composite those textures
2208         https://bugs.webkit.org/show_bug.cgi?id=88145
2209
2210         Reviewed by James Robinson.
2211
2212         Remove scrollbarLayerLostContext test that no longer makes sense. The
2213         compositor won't draw at all after a lost context if it has no
2214         contents.
2215
2216         * tests/CCLayerTreeHostImplTest.cpp:
2217
2218 2012-06-12  Joshua Bell  <jsbell@chromium.org>
2219
2220         IndexedDB: ObjectStore/Index shouldn't hold reference to backing store
2221         https://bugs.webkit.org/show_bug.cgi?id=83074
2222
2223         Reviewed by Tony Chang.
2224
2225         * WebKit.gypi:
2226         * tests/IDBDatabaseBackendTest.cpp: Added.
2227         (WebCore):
2228         (WebCore::TEST):
2229
2230 2012-06-12  Dana Jansens  <danakj@chromium.org>
2231
2232         [chromium] Set contentBounds() on impl layers in CCLayerTreeHostCommonTests
2233         https://bugs.webkit.org/show_bug.cgi?id=88903
2234
2235         Reviewed by Adrienne Walker.
2236
2237         Without setting the contentBounds() on impl layers, the visibleLayerRect
2238         will be wrong. This is not the case for main-thread layers, which most
2239         of the tests in this file use. But this is a potential serious confusion
2240         for future test implementors so I'd like to make it explicit now.
2241
2242         * tests/CCLayerTreeHostCommonTest.cpp:
2243
2244 2012-06-12  Dana Jansens  <danakj@chromium.org>
2245
2246         [chromium] Return empty visibleLayerRect for layers with empty content bounds
2247         https://bugs.webkit.org/show_bug.cgi?id=88901
2248
2249         Reviewed by Adrienne Walker.
2250
2251         * tests/CCLayerTreeHostImplTest.cpp:
2252
2253 2012-06-12  Mark Mentovai  <mark@chromium.org>
2254
2255         [chromium mac] Don't #include things in subframeworks of
2256         ApplicationServices.framework.
2257
2258         #including the umbrella <ApplicatonServices/ApplicationServices.h>
2259         exposed an ambiguous name, FontMetrics, that needs to be fully
2260         qualified as WebCore::FontMetrics.
2261
2262         https://bugs.webkit.org/show_bug.cgi?id=88569
2263
2264         Reviewed by Stephen White.
2265
2266         * src/WebFontImpl.cpp:
2267         (WebKit::WebFontImpl::estimateTextBounds):
2268
2269 2012-06-12  James Robinson  <jamesr@chromium.org>
2270
2271         [chromium] REGRESSION(119769): Canvas2DLayerBridge may go away before its TextureLayerChromium
2272         https://bugs.webkit.org/show_bug.cgi?id=88910
2273
2274         Reviewed by Adrienne Walker.
2275
2276         New unit test to verify that we can still update a TextureLayerChromium after the bridge owning it has gone
2277         away.
2278
2279         * tests/Canvas2DLayerBridgeTest.cpp:
2280
2281 2012-06-12  Adrienne Walker  <enne@google.com>
2282
2283         [chromium] Fix incorrect LayerChromium scroll position for RTL overflow pages
2284         https://bugs.webkit.org/show_bug.cgi?id=88887
2285
2286         Reviewed by James Robinson.
2287
2288         The scroll position on layers needs to take into account the scroll
2289         origin, since RTL pages start scrolled all the way to the right.
2290         Otherwise, when scrolling left the scroll position incorrectly will go
2291         negative, causing havok in scrollbar theme code that just assumes that
2292         it's always scrolled all the way to the left.
2293
2294         Also, now that the scroll origin is passed into NCCH, handle
2295         scrollOrigin.y() for layer adjusting. This is always zero in practice,
2296         but it seemed awkward to just drop it and that assumption could always
2297         change in the future.
2298
2299         * src/NonCompositedContentHost.cpp:
2300         (WebKit::NonCompositedContentHost::setViewport):
2301         (WebKit::NonCompositedContentHost::paintContents):
2302         * src/NonCompositedContentHost.h:
2303         (NonCompositedContentHost):
2304         * src/WebViewImpl.cpp:
2305         (WebKit::WebViewImpl::updateLayerTreeViewport):
2306
2307 2012-06-12  Shawn Singh  <shawnsingh@chromium.org>
2308
2309         [chromium] Make damage tracking more robust to early exits
2310         https://bugs.webkit.org/show_bug.cgi?id=84803
2311
2312         Reviewed by James Robinson.
2313
2314         * tests/CCDamageTrackerTest.cpp:
2315         (WebKitTests::clearDamageForAllSurfaces):
2316         (WebKitTests::TEST_F):
2317
2318 2012-06-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2319
2320         Unreviewed, rolling out r120051.
2321         http://trac.webkit.org/changeset/120051
2322         https://bugs.webkit.org/show_bug.cgi?id=88852
2323
2324         some tests are crashing (Requested by morrita on #webkit).
2325
2326         * WebKit.gyp:
2327         * public/WebPermissionClient.h:
2328         (WebKit::WebPermissionClient::allowWebComponents):
2329         * src/FrameLoaderClientImpl.cpp:
2330         (WebKit::FrameLoaderClientImpl::allowShadowDOM):
2331         (WebKit):
2332         (WebKit::FrameLoaderClientImpl::allowStyleScoped):
2333         * src/FrameLoaderClientImpl.h:
2334         (FrameLoaderClientImpl):
2335         * src/WebPagePopupImpl.cpp:
2336         (WebKit::WebPagePopupImpl::initPage):
2337         * src/WebViewImpl.cpp:
2338         (WebKit::WebViewImpl::setPermissionClient):
2339         (WebKit::WebViewImpl::WebViewImpl):
2340         * src/WebViewImpl.h:
2341         (WebKit):
2342
2343 2012-06-12  MORITA Hajime  <morrita@google.com>
2344
2345         REGRESSION(r118098): <content> element does not render distributed children when cloned from another document
2346         https://bugs.webkit.org/show_bug.cgi?id=88148
2347
2348         Reviewed by Dimitri Glazkov.
2349
2350         - Added ContextFeaturesClientImpl which implements WebCore::ContextFeaturesClient.
2351         - Replaced PagePopupFrameLoaderClient with PagePopupFeaturesClient.
2352
2353         * WebKit.gyp:
2354         * public/WebPermissionClient.h:
2355         (WebKit):
2356         (WebKit::WebPermissionClient::allowWebComponents):
2357         * src/ContextFeaturesClientImpl.cpp: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.cpp.
2358         (WebKit):
2359         (WebKit::ContextFeaturesClientImpl::isEnabled):
2360         * src/ContextFeaturesClientImpl.h: Renamed from Source/WebCore/bindings/generic/ContextEnabledFeatures.h.
2361         (WebKit):
2362         (ContextFeaturesClientImpl):
2363         (WebKit::ContextFeaturesClientImpl::ContextFeaturesClientImpl):
2364         (WebKit::ContextFeaturesClientImpl::setPermissionClient):
2365         * src/FrameLoaderClientImpl.cpp:
2366         * src/FrameLoaderClientImpl.h:
2367         (FrameLoaderClientImpl):
2368         * src/WebPagePopupImpl.cpp:
2369         (PagePopupFeaturesClient):
2370         (WebKit::PagePopupFeaturesClient::isEnabled):
2371         (WebKit):
2372         (WebKit::WebPagePopupImpl::initPage):
2373         * src/WebViewImpl.cpp:
2374         (WebKit::WebViewImpl::setPermissionClient):
2375         (WebKit::WebViewImpl::WebViewImpl):
2376         * src/WebViewImpl.h:
2377         (WebKit):
2378
2379 2012-06-11  Nico Weber  <thakis@chromium.org>
2380
2381         Remove unused member variables found by clang's -Wunused-private-field
2382         https://bugs.webkit.org/show_bug.cgi?id=88812
2383
2384         Reviewed by Anders Carlsson.
2385
2386         * src/AudioDestinationChromium.cpp:
2387         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
2388         * src/AudioDestinationChromium.h:
2389         (AudioDestinationChromium):
2390         * src/InspectorFrontendClientImpl.cpp:
2391         (WebKit::InspectorFrontendClientImpl::InspectorFrontendClientImpl):
2392         * src/InspectorFrontendClientImpl.h:
2393         (InspectorFrontendClientImpl):
2394         * src/WebFrameImpl.cpp:
2395         (ChromePluginPrintContext):
2396         * src/WebInputEvent.cpp:
2397         * src/WorkerAsyncFileSystemChromium.cpp:
2398         (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
2399         * src/WorkerAsyncFileWriterChromium.cpp:
2400         (WebCore::WorkerAsyncFileWriterChromium::WorkerAsyncFileWriterChromium):
2401         * src/WorkerAsyncFileWriterChromium.h:
2402         (WorkerAsyncFileWriterChromium):
2403         * tests/CCLayerTreeHostTest.cpp:
2404         (WTF::CCLayerTreeHostTestSetVisible::CCLayerTreeHostTestSetVisible):
2405         (CCLayerTreeHostTestSetVisible):
2406
2407 2012-06-11  Vincent Scheib  <scheib@chromium.org>
2408
2409         Consolidate Pointer Lock runtime enabled flags to just one.
2410         https://bugs.webkit.org/show_bug.cgi?id=88810
2411
2412         Reviewed by Dimitri Glazkov.
2413
2414         * src/WebRuntimeFeatures.cpp:
2415         (WebKit::WebRuntimeFeatures::enablePointerLock):
2416         (WebKit::WebRuntimeFeatures::isPointerLockEnabled):
2417
2418 2012-06-11  Alexis Menard  <alexis.menard@openbossa.org>
2419
2420         [CSS3 Backgrounds and Borders] Protect box-decoration-break behind a feature flag.
2421         https://bugs.webkit.org/show_bug.cgi?id=88804
2422
2423         Reviewed by Tony Chang.
2424
2425         Protect box-decoration-break behind a feature flag enabled by default.
2426
2427         * features.gypi:
2428
2429 2012-05-11  James Robinson  <jamesr@chromium.org>
2430
2431         [chromium] Port DrawingBufferChromium from TextureLayerChromium over to WebExternalTextureLayer
2432         https://bugs.webkit.org/show_bug.cgi?id=86273
2433
2434         Reviewed by Adrienne Walker.
2435
2436         * src/WebExternalTextureLayer.cpp:
2437         (WebTextureUpdaterImpl):
2438         (WebKit::WebTextureUpdaterImpl::WebTextureUpdaterImpl):
2439         (WebKit):
2440         (WebExternalTextureLayerImpl):
2441         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
2442         (WebKit::WebExternalTextureLayer::create):
2443         (WebKit::WebExternalTextureLayer::clearClient):
2444         (WebKit::WebExternalTextureLayer::setOpaque):
2445         (WebKit::WebExternalTextureLayer::setPremultipliedAlpha):
2446
2447 2012-06-11  Dana Jansens  <danakj@chromium.org>
2448
2449         [chromium] Separate CCVideoDrawQuad and from the layer tree and video provider by removing ManagedTexture and WebVideoFrame pointers from the quad
2450         https://bugs.webkit.org/show_bug.cgi?id=88363
2451
2452         Reviewed by Adrienne Walker.
2453
2454         * tests/CCLayerTreeHostImplTest.cpp:
2455         * tests/CCTiledLayerTestCommon.h:
2456         (WebKitTests::FakeTextureCopier::copyToTexture):
2457         * tests/Canvas2DLayerChromiumTest.cpp:
2458
2459 2012-06-11  Joshua Bell  <jsbell@chromium.org>
2460
2461         IndexedDB: Object stores are not successfully deleted
2462         https://bugs.webkit.org/show_bug.cgi?id=88788
2463
2464         Reviewed by Tony Chang.
2465
2466         * tests/IDBLevelDBCodingTest.cpp:
2467         (IDBLevelDBCoding::TEST):
2468
2469 2012-06-11  Shawn Singh  <shawnsingh@chromium.org>
2470
2471         [chromium] Implement position:fixed in compositor thread
2472         https://bugs.webkit.org/show_bug.cgi?id=70103
2473
2474         Reviewed by Adrienne Walker.
2475
2476         * tests/CCLayerTreeHostCommonTest.cpp:
2477
2478 2012-06-11  Sam Weinig  <sam@webkit.org>
2479
2480         Remove support for disconnected/excluded from search frames, they are not used by Safari anymore
2481         https://bugs.webkit.org/show_bug.cgi?id=88723
2482
2483         Reviewed by Dan Bernstein.
2484
2485         * src/WebFrameImpl.cpp:
2486         (WebKit::WebFrameImpl::scopeStringMatches):
2487
2488 2012-06-11  Varun Jain  <varunjain@chromium.org>
2489
2490         [chromium] WebInputEvent::isGestureEventType should return true for GestureTwoFingerTap
2491         https://bugs.webkit.org/show_bug.cgi?id=88789
2492
2493         Reviewed by Adam Barth.
2494
2495         * public/WebInputEvent.h:
2496         (WebKit::WebInputEvent::isGestureEventType):
2497
2498 2012-06-11  Mark Pilgrim  <pilgrim@chromium.org>
2499
2500         [Chromium] Call shared timer functions directly
2501         https://bugs.webkit.org/show_bug.cgi?id=88781
2502
2503         Reviewed by Adam Barth.
2504
2505         Part of a refactoring series. See tracking bug 82948.
2506
2507         * src/PlatformSupport.cpp:
2508         (WebCore):
2509
2510 2012-06-11  Amy Ousterhout  <aousterh@chromium.org>
2511
2512         [Chromium] Removing long WebDeviceOrientation constructor
2513         https://bugs.webkit.org/show_bug.cgi?id=88779
2514
2515         Reviewed by Adam Barth.
2516
2517         Removing the WebDeviceOrientation constructor with nine parameters.
2518         Chromium has been changed to use the default constructor and setter
2519         functions instead (see https://chromiumcodereview.appspot.com/10542025/).
2520
2521         * public/WebDeviceOrientation.h:
2522
2523 2012-06-11  David Dorwin  <ddorwin@chromium.org>
2524
2525         [chromium] Provide access to the WebPlugin created by the helper plugin widget
2526         https://bugs.webkit.org/show_bug.cgi?id=88028
2527
2528         Reviewed by Adam Barth.
2529
2530         A WebPlugin is created when the document created by createHelperPlugin() is laid out.
2531         Expose it so the embedder can interact with the plugin instance.
2532
2533         * public/WebHelperPlugin.h:
2534         (WebKit):
2535         (WebHelperPlugin):
2536         * public/WebMediaPlayerClient.h:
2537         (WebKit):
2538         * public/WebPlugin.h:
2539         (WebKit::WebPlugin::isPlaceholder):
2540         (WebPlugin):
2541         * src/WebHelperPluginImpl.cpp:
2542         (WebKit::WebHelperPluginImpl::WebHelperPluginImpl):
2543         (WebKit):
2544         (WebKit::WebHelperPluginImpl::getPlugin):
2545         (WebKit::WebHelperPluginImpl::initPage):
2546         (WebKit::WebHelperPluginImpl::close):
2547         * src/WebHelperPluginImpl.h:
2548         (WebKit):
2549         (WebHelperPluginImpl):
2550         * src/WebMediaPlayerClientImpl.cpp:
2551         (WebKit::WebMediaPlayerClientImpl::createHelperPlugin):
2552         * src/WebMediaPlayerClientImpl.h:
2553         (WebMediaPlayerClientImpl):
2554         * src/WebPagePopupImpl.cpp:
2555
2556 2012-06-05  Dana Jansens  <danakj@chromium.org>
2557
2558         [chromium] Free texture from CCIOSurfaceLayerImpl when it is destroyed
2559         https://bugs.webkit.org/show_bug.cgi?id=88371
2560
2561         Reviewed by James Robinson.
2562
2563         * tests/CCLayerTreeHostImplTest.cpp:
2564
2565 2012-06-11  Kent Tamura  <tkent@chromium.org>
2566
2567         [Chromium] Should call frameDetached() in WebPagePopupImpl::close()
2568         https://bugs.webkit.org/show_bug.cgi?id=88754
2569
2570         Reviewed by Adam Barth.
2571
2572         * src/WebPagePopupImpl.cpp:
2573         (WebKit::WebPagePopupImpl::close): Calls FrameLoader::frameDetached().
2574
2575 2012-06-11  Min Qin  <qinmin@google.com>
2576
2577         Adding a flag to show fullscreen media controls in chromium
2578         https://bugs.webkit.org/show_bug.cgi?id=88266
2579
2580         Reviewed by Adam Barth.
2581
2582         Adding a flag to the gyp file so that we can enable fullscreen media control
2583         
2584         * features.gypi:
2585
2586 2012-06-09  Eugene Klyuchnikov  <eustas.bug@gmail.com>
2587
2588         Web Inspector: Add message loop instrumentation to public API and timeline agent
2589         https://bugs.webkit.org/show_bug.cgi?id=88639
2590
2591         Reviewed by Vsevolod Vlasov.
2592
2593         Message loop instrumentation will show when the render thread is busy.
2594         That way developer can discover if a render thread business causes low fps, or not.
2595
2596         * public/WebDevToolsAgent.h:
2597         (WebDevToolsAgent):
2598         * public/WebDevToolsAgentClient.h:
2599         (WebDevToolsAgentClient):
2600         (WebKit::WebDevToolsAgentClient::startMessageLoopMonitoring):
2601         Request message loop notifications.
2602         (WebKit::WebDevToolsAgentClient::stopMessageLoopMonitoring):
2603         Cancel message loop notifications.
2604         * src/InspectorClientImpl.cpp:
2605         (WebKit::InspectorClientImpl::startMessageLoopMonitoring):
2606         Request message loop notifications.
2607         (WebKit):
2608         (WebKit::InspectorClientImpl::stopMessageLoopMonitoring):
2609         Cancel message loop notifications.
2610         * src/InspectorClientImpl.h:
2611         (InspectorClientImpl):
2612         * src/WebDevToolsAgentImpl.cpp:
2613         (WebKit::WebDevToolsAgentImpl::startMessageLoopMonitoring):
2614         Request message loop notifications.
2615         (WebKit):
2616         (WebKit::WebDevToolsAgentImpl::stopMessageLoopMonitoring):
2617         Cancel message loop notifications.
2618         (WebKit::WebDevToolsAgentImpl::instrumentWillProcessTask):
2619         Message loop notification.
2620         (WebKit::WebDevToolsAgentImpl::instrumentDidProcessTask):
2621         Ditto.
2622         * src/WebDevToolsAgentImpl.h:
2623         (WebDevToolsAgentImpl):
2624
2625 2012-06-08  David Reveman  <reveman@chromium.org>
2626
2627         [Chromium] Compositor doesn't support translucent root layers.
2628         https://bugs.webkit.org/show_bug.cgi?id=87821
2629
2630         Reviewed by James Robinson.
2631
2632         * src/NonCompositedContentHost.cpp:
2633         (WebKit::NonCompositedContentHost::setOpaque):
2634         (WebKit):
2635         * src/NonCompositedContentHost.h:
2636         (NonCompositedContentHost):
2637         * src/WebLayerTreeView.cpp:
2638         (WebKit::WebLayerTreeView::setHasTransparentBackground):
2639         (WebKit):
2640         * src/WebViewImpl.cpp:
2641         (WebKit::WebViewImpl::setIsTransparent):
2642         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2643         * tests/CCLayerTreeHostImplTest.cpp:
2644         * tests/LayerRendererChromiumTest.cpp:
2645         (ClearCountingContext):
2646         (ClearCountingContext::ClearCountingContext):
2647         (ClearCountingContext::clear):
2648         (ClearCountingContext::clearCount):
2649         (TEST):
2650
2651 2012-06-08  Ian Vollick  <vollick@chromium.org>
2652
2653         [chromium] Single thread proxy's animation timer should short circuit if the layer renderer has not been initialized
2654         https://bugs.webkit.org/show_bug.cgi?id=88668
2655
2656         Reviewed by James Robinson.
2657
2658         * WebKit.gypi:
2659         * tests/CCLayerTreeHostTest.cpp:
2660         (WTF::CCLayerTreeHostTestWriteLayersRedraw::beginTest):
2661         (WTF::CCLayerTreeHostTestWriteLayersAfterVisible::commitCompleteOnCCThread):
2662         (WTF):
2663         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::CCLayerTreeHostTestLayerAddedWithAnimation):
2664         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
2665         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::didAddAnimation):
2666         (CCLayerTreeHostTestLayerAddedWithAnimation):
2667         * tests/CCSingleThreadProxyTest.cpp: Added.
2668         (FakeWebGraphicsContext3DMakeCurrentFails):
2669         (FakeWebGraphicsContext3DMakeCurrentFails::makeContextCurrent):
2670         (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation):
2671         (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation):
2672         (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::beginTest):
2673         (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::animateLayers):
2674         (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::didRecreateContext):
2675         (CCSingleThreadProxyTestInitializeLayerRendererFailsAfterAddAnimation::afterTest):
2676         (TEST_F):
2677         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer):
2678         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer::CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer):
2679         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer::beginTest):
2680         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer::animateLayers):
2681         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer::didRecreateContext):
2682         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer::didAddAnimation):
2683         (CCSingleThreadProxyTestDidAddAnimationBeforeInitializingLayerRenderer::afterTest):
2684         * tests/CCThreadedTest.cpp: Added.
2685         (WebKitTests):
2686         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::create):
2687         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::createTexture):
2688         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::deleteTexture):
2689         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::bindTexture):
2690         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::numTextures):
2691         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::texture):
2692         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetTextures):
2693         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::numUsedTextures):
2694         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::usedTexture):
2695         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::resetUsedTextures):
2696         (WebKitTests::CompositorFakeWebGraphicsContext3DWithTextureTracking::CompositorFakeWebGraphicsContext3DWithTextureTracking):
2697         (WebKitTests::TestHooks::createContext):
2698         (WebKitTests::MockLayerTreeHostImpl::create):
2699         (WebKitTests::MockLayerTreeHostImpl::beginCommit):
2700         (WebKitTests::MockLayerTreeHostImpl::commitComplete):
2701         (WebKitTests::MockLayerTreeHostImpl::prepareToDraw):
2702         (WebKitTests::MockLayerTreeHostImpl::drawLayers):
2703         (WebKitTests::MockLayerTreeHostImpl::animateLayers):
2704         (WebKitTests::MockLayerTreeHostImpl::lowFrequencyAnimationInterval):
2705         (WebKitTests::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
2706         (MockLayerTreeHost):
2707         (WebKitTests::MockLayerTreeHost::create):
2708         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
2709         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
2710         (MockLayerTreeHostClient):
2711         (WebKitTests::MockLayerTreeHostClient::create):
2712         (WebKitTests::MockLayerTreeHostClient::MockLayerTreeHostClient):
2713         (TimeoutTask):
2714         (WebKitTests::TimeoutTask::TimeoutTask):
2715         (WebKitTests::TimeoutTask::clearTest):
2716         (WebKitTests::TimeoutTask::~TimeoutTask):
2717         (WebKitTests::TimeoutTask::run):
2718         (BeginTask):
2719         (WebKitTests::BeginTask::BeginTask):
2720         (WebKitTests::BeginTask::~BeginTask):
2721         (WebKitTests::BeginTask::run):
2722         (EndTestTask):
2723         (WebKitTests::EndTestTask::EndTestTask):
2724         (WebKitTests::EndTestTask::~EndTestTask):
2725         (WebKitTests::EndTestTask::clearTest):
2726         (WebKitTests::EndTestTask::run):
2727         (WebKitTests::CCThreadedTest::CCThreadedTest):
2728         (WebKitTests::CCThreadedTest::endTest):
2729         (WebKitTests::CCThreadedTest::endTestAfterDelay):
2730         (WebKitTests::CCThreadedTest::postSetNeedsAnimateToMainThread):
2731         (WebKitTests::CCThreadedTest::postAddAnimationToMainThread):
2732         (WebKitTests::CCThreadedTest::postAddInstantAnimationToMainThread):
2733         (WebKitTests::CCThreadedTest::postSetNeedsCommitToMainThread):
2734         (WebKitTests::CCThreadedTest::postAcquireLayerTextures):
2735         (WebKitTests::CCThreadedTest::postSetNeedsRedrawToMainThread):
2736         (WebKitTests::CCThreadedTest::postSetNeedsAnimateAndCommitToMainThread):
2737         (WebKitTests::CCThreadedTest::postSetVisibleToMainThread):
2738         (WebKitTests::CCThreadedTest::postDidAddAnimationToMainThread):
2739         (WebKitTests::CCThreadedTest::doBeginTest):
2740         (WebKitTests::CCThreadedTest::timeout):
2741         (WebKitTests::CCThreadedTest::scheduleComposite):
2742         (WebKitTests::CCThreadedTest::onEndTest):
2743         (WebKitTests::CCThreadedTest::dispatchSetNeedsAnimate):
2744         (WebKitTests::CCThreadedTest::dispatchAddInstantAnimation):
2745         (WebKitTests::CCThreadedTest::dispatchAddAnimation):
2746         (WebKitTests::CCThreadedTest::dispatchSetNeedsAnimateAndCommit):
2747         (WebKitTests::CCThreadedTest::dispatchSetNeedsCommit):
2748         (WebKitTests::CCThreadedTest::dispatchAcquireLayerTextures):
2749         (WebKitTests::CCThreadedTest::dispatchSetNeedsRedraw):
2750         (WebKitTests::CCThreadedTest::dispatchSetVisible):
2751         (WebKitTests::CCThreadedTest::dispatchSetInvisible):
2752         (WebKitTests::CCThreadedTest::dispatchComposite):
2753         (WebKitTests::CCThreadedTest::dispatchDidAddAnimation):
2754         (WebKitTests::CCThreadedTest::runTest):
2755         * tests/CCThreadedTest.h: Added.
2756         (WebCore):
2757         (WebKit):
2758         (WebKitTests):
2759         (TestHooks):
2760         (WebKitTests::TestHooks::beginCommitOnCCThread):
2761         (WebKitTests::TestHooks::commitCompleteOnCCThread):
2762         (WebKitTests::TestHooks::prepareToDrawOnCCThread):
2763         (WebKitTests::TestHooks::drawLayersOnCCThread):
2764         (WebKitTests::TestHooks::animateLayers):
2765         (WebKitTests::TestHooks::willAnimateLayers):
2766         (WebKitTests::TestHooks::applyScrollAndScale):
2767         (WebKitTests::TestHooks::updateAnimations):
2768         (WebKitTests::TestHooks::layout):
2769         (WebKitTests::TestHooks::didRecreateContext):
2770         (WebKitTests::TestHooks::didAddAnimation):
2771         (WebKitTests::TestHooks::didCommit):
2772         (WebKitTests::TestHooks::didCommitAndDrawFrame):
2773         (WebKitTests::TestHooks::scheduleComposite):
2774         (WebKitTests::TestHooks::notifyAnimationStarted):
2775         (WebKitTests::TestHooks::notifyAnimationFinished):
2776         (CCThreadedTest):
2777         (WebKitTests::CCThreadedTest::clearTimeout):
2778         (WebKitTests::CCThreadedTest::clearEndTestTask):
2779         (WebKitTests::CCThreadedTest::layerTreeHost):
2780         (CCThreadedTestThreadOnly):
2781         (WebKitTests::CCThreadedTestThreadOnly::runTestThreaded):
2782         (MockLayerTreeHostImpl):
2783         (CompositorFakeWebGraphicsContext3DWithTextureTracking):
2784
2785 2012-06-08  David Grogan  <dgrogan@chromium.org>
2786
2787         IndexedDB: rename some instances of open to registerFrontendCallbacks
2788         https://bugs.webkit.org/show_bug.cgi?id=88611
2789
2790         Reviewed by Tony Chang.
2791
2792         * src/IDBDatabaseBackendProxy.cpp:
2793         (WebKit::IDBDatabaseBackendProxy::registerFrontendCallbacks):
2794         * src/IDBDatabaseBackendProxy.h:
2795         (IDBDatabaseBackendProxy):
2796         * src/WebIDBDatabaseImpl.cpp:
2797         (WebKit::WebIDBDatabaseImpl::open):
2798         * src/WebIDBDatabaseImpl.h:
2799         (WebIDBDatabaseImpl):
2800
2801 2012-06-08  Dana Jansens  <danakj@chromium.org>
2802
2803         [chromium] Skip willDraw() and didDraw() on fully occluded layers
2804         https://bugs.webkit.org/show_bug.cgi?id=88435
2805
2806         Reviewed by Adrienne Walker.
2807
2808         * tests/CCLayerTreeHostImplTest.cpp:
2809
2810 2012-06-08  James Robinson  <jamesr@chromium.org>
2811
2812         [chromium] Clean up some unnecessary LayerChromium.h includes
2813         https://bugs.webkit.org/show_bug.cgi?id=88599
2814
2815         Reviewed by Adam Barth.
2816
2817         Removes unused include, update comment.
2818
2819         * src/WebMediaPlayerClientImpl.cpp:
2820         (WebKit::WebMediaPlayerClientImpl::platformLayer):
2821         (WebKit::WebMediaPlayerClientImpl::paint):
2822
2823 2012-06-08  Jochen Eisinger  <jochen@chromium.org>
2824
2825         Unreviewed.  Rolled DEPS.
2826
2827         * DEPS:
2828
2829 2012-06-08  Ian Vollick  <vollick@chromium.org>
2830
2831         [chromium] Accelerated animations should use WebTransformOperations
2832         https://bugs.webkit.org/show_bug.cgi?id=87686
2833
2834         Reviewed by James Robinson.
2835
2836         CCTransformKeyframe new owns a WebTransformOperations rather than a
2837         TransformOperations. LayerChromium's API has been changed so that
2838         LayerChromium::addAnimation should take only a CCActiveAnimation.
2839         GraphicsLayerChromium is new responsible for translating to
2840         WebTransformOperations and creating CCActiveAnimations. Tests that use
2841         the public API (that is, they call addAnimation with KeyframeValueList
2842         and Animation arguments) have been moved to GraphicsLayerChromiumTest.
2843
2844         * tests/CCAnimationTestCommon.cpp:
2845         (WebCore::addOpacityTransition):
2846         (WebCore::addAnimatedTransform):
2847         (WebKitTests::FakeTransformTransition::getValue):
2848         * tests/CCAnimationTestCommon.h:
2849         * tests/CCKeyframedAnimationCurveTest.cpp:
2850         * tests/CCLayerAnimationControllerTest.cpp:
2851         * tests/CCLayerTreeHostTest.cpp:
2852         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
2853         * tests/GraphicsLayerChromiumTest.cpp:
2854         (MockLayerTreeHostClient):
2855         (WebKitTests):
2856         (MockLayerTreeHost):
2857         (WebKitTests::MockLayerTreeHost::create):
2858         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
2859         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
2860         (GraphicsLayerChromiumTest):
2861         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
2862         (WebKitTests::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
2863         (WebKitTests::GraphicsLayerChromiumTest::expectTranslateX):
2864         (WebKitTests::TEST_F):
2865         * tests/LayerChromiumTest.cpp:
2866
2867 2012-06-08  Robert Kroeger  <rjkroege@chromium.org>
2868
2869         More than 8 fingers get ignored by touch
2870         https://bugs.webkit.org/show_bug.cgi?id=88359
2871
2872         Reviewed by James Robinson.
2873
2874         * public/WebInputEvent.h: Increase of TouchPoints per TouchEvent from 8 to 12.
2875
2876 2012-06-08  Sheriff Bot  <webkit.review.bot@gmail.com>
2877
2878         Unreviewed.  Rolled DEPS.
2879
2880         * DEPS:
2881
2882 2012-06-08  Taiju Tsuiki  <tzik@chromium.org>
2883
2884         Add FileSystem item to storage tree.
2885         https://bugs.webkit.org/show_bug.cgi?id=72691
2886
2887         Reviewed by Vsevolod Vlasov.
2888
2889         * src/js/DevTools.js:
2890
2891 2012-06-08  Peter Beverloo  <peter@chromium.org>
2892
2893         [Chromium] Re-enable SHARED_WORKERS for Android until a build fix has been resolved.
2894         https://bugs.webkit.org/show_bug.cgi?id=88637
2895
2896         Unreviewed build fix.
2897
2898         Linking content_shell on the Chromium side fails due to an unresolved
2899         call to WebSharedWorker::create(). Since this blocks WebKit rolls,
2900         temporarily re-enable the feature until this has been solved.
2901
2902         * features.gypi:
2903
2904 2012-06-07  Nico Weber  <thakis@chromium.org>
2905
2906         [chromium/mac] Improve deviceDPI, rect, and availableRect computation
2907         https://bugs.webkit.org/show_bug.cgi?id=88596
2908
2909         Reviewed by Adam Barth.
2910
2911         Set deviceDPI to 160 for normal displays and 320 for HiDPI displays.
2912         (Why 160? That's what chromium's render_view.cc assumes as default
2913         single-resolution resolution at the moment. The only other place
2914         where this number gets used is fixed layout mode, which is currently
2915         not enabled.)
2916
2917         Also fix rect and availableRect computations: They get returned in
2918         user space already.
2919
2920         Needed for http://crbug.com/31960.
2921
2922         * src/mac/WebScreenInfoFactory.mm:
2923         (WebKit::toUserSpace):
2924         (WebKit::deviceScaleFactor):
2925         (WebKit):
2926         (WebKit::WebScreenInfoFactory::screenInfo):
2927
2928 2012-06-07  Mark Pilgrim  <pilgrim@chromium.org>
2929
2930         [Chromium] Move didStartWorkerRunLoop to Platform.h
2931         https://bugs.webkit.org/show_bug.cgi?id=88562
2932
2933         Reviewed by Adam Barth.
2934
2935         Part of a refactoring series. See tracking bug 82948.
2936
2937         * src/PlatformSupport.cpp:
2938         (WebCore):
2939
2940 2012-06-05  James Robinson  <jamesr@chromium.org>
2941
2942         [chromium] Move deferral-related logic out of Canvas2DLayerChromium
2943         https://bugs.webkit.org/show_bug.cgi?id=86050
2944
2945         Reviewed by Stephen White.
2946
2947         * WebKit.gypi:
2948         * tests/Canvas2DLayerBridgeTest.cpp: Renamed from tests/Canvas2DLayerChromiumTest
2949         (Canvas2DLayerBridgeTest):
2950         (Canvas2DLayerBridgeTest::fullLifecycleTest):
2951
2952 2012-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2953
2954         Unreviewed, rolling out r119744.
2955         http://trac.webkit.org/changeset/119744
2956         https://bugs.webkit.org/show_bug.cgi?id=88584
2957
2958         Fails assertions in debug builds (Requested by jamesr_ on
2959         #webkit).
2960
2961         * tests/CCLayerTreeHostImplTest.cpp:
2962
2963 2012-06-07  Adam Barth  <abarth@webkit.org>
2964
2965         Settings::defaultDeviceScaleFactor is redundant with Page::deviceScaleFactor
2966         https://bugs.webkit.org/show_bug.cgi?id=88375
2967
2968         Reviewed by James Robinson.
2969
2970         * public/WebSettings.h:
2971         (WebKit::WebSettings::setDefaultDeviceScaleFactor):
2972         (WebSettings):
2973         * src/ChromeClientImpl.cpp:
2974         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
2975         * src/WebSettingsImpl.cpp:
2976         (WebKit):
2977         * src/WebSettingsImpl.h:
2978         (WebSettingsImpl):
2979         * src/WebViewImpl.cpp:
2980         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2981         * tests/WebFrameTest.cpp:
2982         (WebKit::TEST_F):
2983
2984 2012-06-07  Peter Beverloo  <peter@chromium.org>
2985
2986         [Chromium] features.gypi should have the correct definitions for Android
2987         https://bugs.webkit.org/show_bug.cgi?id=88533
2988
2989         Reviewed by Adam Barth.
2990
2991         Make all features which are enabled on Android but disabled on other platforms,
2992         or are disabled on Android while enabled on other platforms, conditional. This
2993         also means that the selection of code compiled for Android will slightly change.
2994
2995         This change also removes the enable_viewport variable as the value of this is
2996         no longer respected by WebKit - it's enabled by default for all of Chromium.
2997         Furthermore, ENABLE_OVERFLOW_SCROLLING is now listed in features.gypi again.
2998
2999         * features.gypi:
3000
3001 2012-06-07  Dana Jansens  <danakj@chromium.org>
3002
3003         [chromium] Free texture from CCIOSurfaceLayerImpl when it is destroyed
3004         https://bugs.webkit.org/show_bug.cgi?id=88371
3005
3006         Reviewed by James Robinson.
3007
3008         * tests/CCLayerTreeHostImplTest.cpp:
3009
3010 2012-06-07  Ami Fischman  <fischman@chromium.org>
3011
3012         Plumb CORS attribute information from HTMLMediaElement to media players so it can be used
3013         https://bugs.webkit.org/show_bug.cgi?id=88349
3014
3015         Reviewed by Adam Barth.
3016
3017         * public/WebMediaPlayer.h:
3018         (WebMediaPlayer):
3019         * src/AssertMatchingEnums.cpp:
3020         * src/WebMediaPlayerClientImpl.cpp:
3021         (WebKit::WebMediaPlayerClientImpl::loadInternal):
3022         (WebKit::WebMediaPlayerClientImpl::didPassCORSAccessCheck):
3023         (WebKit):
3024         * src/WebMediaPlayerClientImpl.h:
3025         (WebMediaPlayerClientImpl):
3026
3027 2012-06-07  Daniel Erat  <derat@chromium.org>
3028
3029         Add setting to enable subpixel-positioned text on Linux.
3030         https://bugs.webkit.org/show_bug.cgi?id=88263
3031
3032         Reviewed by Tony Chang.
3033
3034         Add subpixel positioning field to WebFontRenderStyle and rename
3035         subpixel rendering field.  Make similar changes in
3036         WebFontRendering.
3037
3038         Also add global WebFontInfo::setSubpixelPositioning() to turn
3039         subpixel positioning on or off (there's not currently a
3040         well-defined way to configure subpixel positioning via FontConfig).
3041
3042         * public/linux/WebFontInfo.h:
3043         (WebFontInfo):
3044         * public/linux/WebFontRenderStyle.h:
3045         * public/linux/WebFontRendering.h:
3046         (WebFontRendering):
3047         * src/linux/WebFontInfo.cpp:
3048         (WebKit):
3049         (WebKit::WebFontInfo::setSubpixelPositioning):
3050         (WebKit::WebFontInfo::renderStyleForStrike):
3051         * src/linux/WebFontRenderStyle.cpp:
3052         (WebKit::WebFontRenderStyle::toFontRenderStyle):
3053         (WebKit::WebFontRenderStyle::setDefaults):
3054         * src/linux/WebFontRendering.cpp:
3055         (WebKit::WebFontRendering::setSubpixelGlyphs):
3056         (WebKit):
3057         (WebKit::WebFontRendering::setSubpixelRendering):
3058         (WebKit::WebFontRendering::setSubpixelPositioning):
3059
3060 2012-06-06  Dana Jansens  <danakj@chromium.org>
3061
3062         [chromium] In each composited frame, didDraw() should only be called on layers for which willDraw() was called
3063         https://bugs.webkit.org/show_bug.cgi?id=88469
3064
3065         Reviewed by James Robinson.
3066
3067         * tests/CCLayerTreeHostImplTest.cpp:
3068
3069 2012-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
3070
3071         Unreviewed, rolling out r119694.
3072         http://trac.webkit.org/changeset/119694
3073         https://bugs.webkit.org/show_bug.cgi?id=88529
3074
3075         it broke PrerenderBrowserTest.PrerenderHTML5VideoNetwork
3076         (Requested by loislo on #webkit).
3077
3078         * public/WebMediaPlayer.h:
3079         (WebMediaPlayer):
3080         * src/AssertMatchingEnums.cpp:
3081         * src/WebMediaPlayerClientImpl.cpp:
3082         (WebKit::WebMediaPlayerClientImpl::loadInternal):
3083         * src/WebMediaPlayerClientImpl.h:
3084         (WebMediaPlayerClientImpl):
3085
3086 2012-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
3087
3088         Unreviewed, rolling out r119689.
3089         http://trac.webkit.org/changeset/119689
3090         https://bugs.webkit.org/show_bug.cgi?id=88516
3091
3092         it broke didDrawNotCalledOnScissoredLayer webkit_unit_test
3093         (Requested by loislo on #webkit).
3094
3095         * tests/CCLayerTreeHostImplTest.cpp:
3096
3097 2012-06-07  Ami Fischman  <fischman@chromium.org>
3098
3099         Plumb CORS attribute information from HTMLMediaElement to media players so it can be used
3100         https://bugs.webkit.org/show_bug.cgi?id=88349
3101
3102         Reviewed by Adam Barth.
3103
3104         * public/WebMediaPlayer.h:
3105         (WebMediaPlayer):
3106         * src/WebMediaPlayerClientImpl.cpp:
3107         (WebKit::WebMediaPlayerClientImpl::loadInternal):
3108
3109 2012-06-07  Yoshifumi Inoue  <yosin@chromium.org>
3110
3111         [Platform] Introduce conversion from/to Deciaml to/from double and helper functions
3112         https://bugs.webkit.org/show_bug.cgi?id=88480
3113
3114         Reviewed by Kent Tamura.
3115
3116         This patch added tests for Decimal::fromDouble, isInfinity, toDouble.
3117
3118         * tests/DecimalTest.cpp:
3119         (TEST_F):
3120
3121 2012-06-07  Ami Fischman  <fischman@chromium.org>
3122
3123         Unreviewed.  Rolled DEPS.
3124
3125         * DEPS:
3126
3127 2012-06-06  Dana Jansens  <danakj@chromium.org>
3128
3129         [chromium] In each composited frame, didDraw() should only be called on layers for which willDraw() was called
3130         https://bugs.webkit.org/show_bug.cgi?id=88469
3131
3132         Reviewed by James Robinson.
3133
3134         * tests/CCLayerTreeHostImplTest.cpp:
3135
3136 2012-06-06  Kent Tamura  <tkent@chromium.org>
3137
3138         Unreviewed, rolling out r60044.
3139         http://trac.webkit.org/changeset/60044
3140
3141         It made a regression, crbug.com/114922.
3142
3143         * src/ChromeClientImpl.cpp:
3144         (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll): Do not hide popups by scrolling.
3145         (WebKit::ChromeClientImpl::scroll): ditto.
3146
3147 2012-06-06  Noel Gordon  <noel.gordon@gmail.com>
3148
3149         Unreviewed. Rolled DEPS.
3150
3151         * DEPS: Roll to chromium 140955.
3152
3153 2012-06-06  Sheriff Bot  <webkit.review.bot@gmail.com>
3154
3155         Unreviewed, rolling out r119683.
3156         http://trac.webkit.org/changeset/119683
3157         https://bugs.webkit.org/show_bug.cgi?id=88505
3158
3159         it broke webkit-unit-test
3160         WebLayerTreeViewThreadedTest.InstrumentationCallbacks on mac
3161         (Requested by loislo on #webkit).
3162
3163         * tests/CCLayerTreeHostTest.cpp:
3164         (WTF::MockLayerTreeHost::create):
3165         * tests/Canvas2DLayerChromiumTest.cpp:
3166         (Canvas2DLayerChromiumTest::fullLifecycleTest):
3167
3168 2012-06-06  Robert Kroeger  <rjkroege@chromium.org>
3169
3170         [Chromium] Re-enable handling of smooth scrolling on Chromium Linux/Windows
3171         https://bugs.webkit.org/show_bug.cgi?id=87535 by adding support for precise
3172         scrolling deltas on all Chromium platforms.
3173
3174         Reviewed by James Robinson.
3175
3176         * src/WebInputEventConversion.cpp:
3177         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder): Create PlatformWheelEvents
3178         with m_hasPreciseScrollingDelta flag as required.
3179         * tests/ScrollAnimatorNoneTest.cpp: Added new unit test condiiton for precise scrolling.
3180         (TEST):
3181
3182 2012-06-06  Michal Mocny  <mmocny@google.com>
3183
3184         [chromium] Stop dropping texture limits when the layer tree host becomes invisible, and initialize with 0 allocation.
3185         https://bugs.webkit.org/show_bug.cgi?id=87747
3186
3187         Reviewed by Adrienne Walker.
3188
3189         * tests/CCLayerTreeHostTest.cpp:
3190         (WTF::MockLayerTreeHost::create):
3191         * tests/Canvas2DLayerChromiumTest.cpp:
3192         (Canvas2DLayerChromiumTest::fullLifecycleTest):
3193
3194 2012-06-06  Mark Pilgrim  <pilgrim@chromium.org>
3195
3196         [Chromium] Move createMessagePortChannel to Platform.h
3197         https://bugs.webkit.org/show_bug.cgi?id=85764
3198
3199         Reviewed by Adam Barth.
3200         
3201         Part of a refactoring series. See tracking bug 82948.
3202
3203         * WebKit.gyp:
3204         * public/WebFrame.h:
3205         (WebFrame):
3206         * public/WebMessagePortChannel.h:
3207         * public/WebMessagePortChannelClient.h:
3208         * public/WebSharedWorkerClient.h:
3209         (WebSharedWorkerClient):
3210         * public/platform/WebKitPlatformSupport.h:
3211         (WebKit):
3212         (WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
3213         * src/PlatformMessagePortChannel.cpp:
3214         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
3215         * src/PlatformMessagePortChannel.h:
3216         * src/SharedWorkerRepository.cpp:
3217         * src/WebSharedWorkerImpl.cpp:
3218
3219 2012-06-06  Amy Ousterhout  <aousterh@chromium.org>
3220
3221         [Chromium] DeviceOrientation cleanup
3222         https://bugs.webkit.org/show_bug.cgi?id=88406
3223
3224         Reviewed by Kent Tamura.
3225
3226         Made default constructor public and added a set function for each property.
3227         This will allow us to remove the 8-parameter constructor.
3228
3229         * public/WebDeviceOrientation.h:
3230         (WebKit::WebDeviceOrientation::WebDeviceOrientation):
3231         (WebKit::WebDeviceOrientation::setNull):
3232         (WebKit::WebDeviceOrientation::setAlpha):
3233         (WebKit::WebDeviceOrientation::setBeta):
3234         (WebKit::WebDeviceOrientation::setGamma):
3235         (WebKit::WebDeviceOrientation::setAbsolute):
3236         (WebDeviceOrientation):
3237
3238 2012-06-06  James Robinson  <jamesr@chromium.org>
3239
3240         [chromium] Move implementation of WebCore::GraphicsContext3D and related from WebKit/chromium/src to WebCore/platform/chromium/support
3241         https://bugs.webkit.org/show_bug.cgi?id=86257
3242
3243         Reviewed by Kenneth Russell.
3244
3245         * WebKit.gyp:
3246
3247 2012-06-06  James Robinson  <jamesr@chromium.org>
3248
3249         [chromium] Unreviewed build fix, add an apparently used include of OwnArrayPtr.h back to GraphicsContext3DPrivate.h
3250         https://bugs.webkit.org/show_bug.cgi?id=88468
3251
3252         * src/GraphicsContext3DPrivate.h:
3253
3254 2012-06-06  James Robinson  <jamesr@chromium.org>
3255
3256         [chromium] Clean up GraphicsContext3D implementation
3257         https://bugs.webkit.org/show_bug.cgi?id=88460
3258
3259         Reviewed by Kenneth Russell.
3260
3261         Chromium's implementation of the GraphicsContext3D implementation has been somewhat messy for historical
3262         reasons. The actual implementation of the majority of these functions is done by delegating to the Platform API
3263         WebGraphicsContext3D. A few bits of functionality - extension mapping, some compositor functionality, a readback
3264         utility - are implemented by code in WebKit. Previously, all GraphicsContext3D functions delegates to a clone of
3265         the interface in GraphicsContext3DPrivate which in turn delegated to WebGraphicsContext3D. This required
3266         duplicating the entire GraphicsContext3D interface and made updating the interface an epic pain in the rear.
3267
3268         This patch provides the implementations of GraphicsContext3D functions in GraphicsContext3DChromium.cpp. Most of
3269         these functions delegate directly to WebGraphicsContext3D. The ones that do not delegate to
3270         GraphicsContext3DPrivate, which now has a dedicated header and cpp file. GraphicsContext3DPrivate.cpp implements
3271         all GraphicsContext3DPrivate functions. I've also reordered the implementation files so that the function order
3272         matches the associated header file and normalized the names of callback adapters.
3273
3274         Refactor only, no change in functionality. Existing tests apply.
3275
3276         * WebKit.gyp:
3277         * src/Extensions3DChromium.cpp:
3278         (WebCore::Extensions3DChromium::ensureEnabled):
3279         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
3280         (WebCore::Extensions3DChromium::blitFramebuffer):
3281         (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
3282         (WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
3283         (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
3284         (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
3285         (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
3286         (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
3287         (WebCore::Extensions3DChromium::setVisibilityCHROMIUM):
3288         (WebCore::Extensions3DChromium::discardFramebufferEXT):
3289         (WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM):
3290         (WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE):
3291         (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
3292         (WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
3293         (WebCore::Extensions3DChromium::texStorage2DEXT):
3294         (WebCore::Extensions3DChromium::createQueryEXT):
3295         (WebCore::Extensions3DChromium::deleteQueryEXT):
3296         (WebCore::Extensions3DChromium::isQueryEXT):
3297         (WebCore::Extensions3DChromium::beginQueryEXT):
3298         (WebCore::Extensions3DChromium::endQueryEXT):
3299         (WebCore::Extensions3DChromium::getQueryivEXT):
3300         (WebCore::Extensions3DChromium::getQueryObjectuivEXT):
3301         * src/GraphicsContext3DChromium.cpp:
3302         (WebCore::GraphicsContext3D::GraphicsContext3D):
3303         (WebCore::GraphicsContext3D::~GraphicsContext3D):
3304         (WebCore::GraphicsContext3D::setContextLostCallback):
3305         (WebCore::GraphicsContext3D::setErrorMessageCallback):
3306         (WebCore::GraphicsContext3D::create):
3307         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
3308         (WebCore::GraphicsContext3D::platformTexture):
3309         (WebCore::GraphicsContext3D::grContext):
3310         (WebCore::GraphicsContext3D::platformLayer):
3311         (WebCore):
3312         (WebCore::GraphicsContext3D::isGLES2Compliant):
3313         (WebCore::GraphicsContext3D::isResourceSafe):
3314         (WebCore::GraphicsContext3D::bindAttribLocation):
3315         (WebCore::GraphicsContext3D::bufferData):
3316         (WebCore::GraphicsContext3D::getActiveAttrib):
3317         (WebCore::GraphicsContext3D::getActiveUniform):
3318         (WebCore::GraphicsContext3D::getAttribLocation):
3319         (WebCore::GraphicsContext3D::getContextAttributes):
3320         (WebCore::GraphicsContext3D::getProgramInfoLog):
3321         (WebCore::GraphicsContext3D::getShaderInfoLog):
3322         (WebCore::GraphicsContext3D::getShaderSource):
3323         (WebCore::GraphicsContext3D::getString):
3324         (WebCore::GraphicsContext3D::getUniformLocation):
3325         (WebCore::GraphicsContext3D::shaderSource):
3326         (WebCore::GraphicsContext3D::texImage2D):
3327         (WebCore::GraphicsContext3D::texSubImage2D):
3328         (WebCore::GraphicsContext3D::reshape):
3329         (WebCore::GraphicsContext3D::markContextChanged):
3330         (WebCore::GraphicsContext3D::layerComposited):
3331         (WebCore::GraphicsContext3D::markLayerComposited):
3332         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
3333         (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
3334         (WebCore::GraphicsContext3D::paintCompositedResultsToCanvas):
3335         (WebCore::GraphicsContext3D::getExtensions):
3336         (WebCore::GraphicsContext3D::getInternalFramebufferSize):
3337         * src/GraphicsContext3DPrivate.cpp: Added.
3338         (WebCore):
3339         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
3340         (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
3341         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
3342         (WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
3343         (GrMemoryAllocationChangedCallback):
3344         (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
3345         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
3346         (WebCore::GraphicsContext3DPrivate::grContext):
3347         (WebCore::GraphicsContext3DPrivate::markContextChanged):
3348         (WebCore::GraphicsContext3DPrivate::layerComposited):
3349         (WebCore::GraphicsContext3DPrivate::markLayerComposited):
3350         (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
3351         (GraphicsContextLostCallbackAdapter):
3352         (WebCore::GraphicsContextLostCallbackAdapter::GraphicsContextLostCallbackAdapter):
3353         (WebCore::GraphicsContextLostCallbackAdapter::~GraphicsContextLostCallbackAdapter):
3354         (WebCore::GraphicsContextLostCallbackAdapter::onContextLost):
3355         (WebCore::GraphicsContext3DPrivate::setContextLostCallback):
3356         (GraphicsErrorMessageCallbackAdapter):
3357         (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter):
3358         (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter):
3359         (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
3360         (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
3361         (WebCore::GraphicsContext3DPrivate::getExtensions):
3362         (WebCore::GraphicsContext3DPrivate::initializeExtensions):
3363         (WebCore::GraphicsContext3DPrivate::supportsExtension):
3364         (WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
3365         (WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
3366         (WebCore::GraphicsContext3DPrivate::isResourceSafe):
3367         (GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
3368         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
3369         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
3370         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
3371         (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
3372         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
3373         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
3374         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
3375         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
3376         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
3377         * src/GraphicsContext3DPrivate.h:
3378         (GraphicsContext3DPrivate):
3379         (WebCore::GraphicsContext3DPrivate::webContext):
3380         (WebCore::GraphicsContext3DPrivate::preserveDrawingBuffer):
3381
3382 2012-06-06  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3383
3384         [chromium] Avoid limiting page-scale-factor when device-scale-factor is applied in the compositor.
3385         https://bugs.webkit.org/show_bug.cgi?id=88417
3386
3387         Reviewed by James Robinson.
3388
3389         * src/WebViewImpl.cpp:
3390         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3391
3392 2012-06-06  Ami Fischman  <fischman@chromium.org>
3393
3394         Unreviewed.  Rolled DEPS.
3395
3396         * DEPS:
3397
3398 2012-06-06  Nico Weber  <thakis@chromium.org>
3399
3400         [chromium] Expose setPictographFontFamily through the chromium webkit api.
3401         https://bugs.webkit.org/show_bug.cgi?id=88393
3402
3403         Reviewed by Adam Barth.
3404
3405         This was added to WebCore in
3406         https://bugs.webkit.org/show_bug.cgi?id=65197
3407
3408         * public/WebSettings.h:
3409         * src/WebSettingsImpl.cpp:
3410         (WebKit::WebSettingsImpl::setPictographFontFamily):
3411         (WebKit):
3412         * src/WebSettingsImpl.h:
3413         (WebSettingsImpl):
3414
3415 2012-06-06  Ryosuke Niwa  <rniwa@webkit.org>
3416
3417         Unreviewed.  Rolled DEPS.
3418
3419         * DEPS:
3420
3421 2012-06-06  Kinuko Yasuda  <kinuko@chromium.org>
3422
3423         Roll Chromium DEPS from r140700 to r140711.
3424
3425         * DEPS:
3426
3427 2012-06-06  Ami Fischman  <fischman@chromium.org>
3428
3429         [chromium] Add a WebKit::WebMediaPlayer::CORSMode enum in preparation for 88349
3430         https://bugs.webkit.org/show_bug.cgi?id=88388
3431
3432         Reviewed by Darin Fisher.
3433
3434         * public/WebMediaPlayer.h:
3435
3436 2012-06-05  Ryosuke Niwa  <rniwa@webkit.org>
3437
3438         Roll Chromium DEPS from r140653 to r140700.
3439
3440         * DEPS:
3441
3442 2012-06-05  Kentaro Hara  <haraken@chromium.org>
3443
3444         Unreviewed, rolling out r119494.
3445         http://trac.webkit.org/changeset/119494
3446         https://bugs.webkit.org/show_bug.cgi?id=87911
3447
3448         We found similar APIs are already implemented
3449
3450         * public/WebWidget.h:
3451         * src/WebViewImpl.cpp:
3452         * src/WebViewImpl.h:
3453         (WebViewImpl):
3454         * tests/WebViewTest.cpp:
3455         * tests/data/textarea.html: Removed.
3456
3457 2012-06-05  Ryosuke Niwa  <rniwa@webkit.org>
3458
3459         Roll Chromium DEPS from r140528 to r140653.
3460
3461         * DEPS:
3462
3463 2012-06-05  Mark Pilgrim  <pilgrim@chromium.org>
3464
3465         [Chromium] Move createLocalStorageNamespace to Platform.h
3466         https://bugs.webkit.org/show_bug.cgi?id=85766
3467
3468         Reviewed by James Robinson.
3469         
3470         Part of a refactoring series. See tracking bug 82948.
3471
3472         * WebKit.gyp:
3473         * public/WebStorageArea.h:
3474         * public/WebStorageNamespace.h:
3475         * public/platform/WebKitPlatformSupport.h:
3476         (WebKit):
3477         (WebKitPlatformSupport):
3478
3479 2012-06-05  Greg Billock  <gbillock@google.com>
3480
3481         New constructor for WebIntent to be used for delivery
3482         https://bugs.webkit.org/show_bug.cgi?id=87143
3483
3484         Reviewed by Darin Fisher.
3485
3486         When delivering an intent to webkit, the caller needs to be able to
3487         provide the action, type, and data, and also extra data and ports.
3488
3489         * public/WebIntent.h:
3490         (WebIntent):
3491         * src/WebFrameImpl.cpp:
3492         (WebKit::WebFrameImpl::deliverIntent):
3493         * src/WebIntent.cpp:
3494         (WebKit::WebIntent::WebIntent):
3495         (WebKit):
3496         (WebKit::WebIntent::reset):
3497         (WebKit::WebIntent::messagePortChannelsRelease):
3498
3499 2012-06-05  Ryosuke Niwa  <rniwa@webkit.org>
3500
3501         Roll Chromium DEPS from r140492 to r140528.
3502
3503         * DEPS:
3504
3505 2012-06-05  Seigo Nonaka  <nona@chromium.org>
3506
3507         [chromium] There is no way to retrieve composition character rectangle in WebKit/chromium
3508         https://bugs.webkit.org/show_bug.cgi?id=87911
3509
3510         Reviewed by Ryosuke Niwa.
3511
3512         Add an API for retreieving each character bounds in composition text.
3513         This API is necessary for implementing IMR_QUERYCHARPOSITION message in Windows.
3514         The message is used by Japanese IME for showing their window at the correct position.
3515
3516         * public/WebWidget.h:
3517         (WebWidget):
3518         (WebKit::WebWidget::compositionCharacterBounds):
3519         * src/WebViewImpl.cpp:
3520         (WebKit::WebViewImpl::compositionCharacterBounds):
3521         (WebKit):
3522         * src/WebViewImpl.h:
3523         (WebViewImpl):
3524
3525 2012-06-05  Dongwoo Im  <dw.im@samsung.com>
3526
3527         Add 'isProtocolHandlerRegistered' and 'unregisterProtocolHandler'.
3528         https://bugs.webkit.org/show_bug.cgi?id=73176
3529
3530         Reviewed by Adam Barth.
3531
3532         Two more APIs are added in Custom Scheme Handler specification.
3533         http://dev.w3.org/html5/spec/Overview.html#custom-handlers
3534         One is 'isProtocolHandlerRegistered' to query whether the specific URL
3535         is registered or not.
3536         The other is 'unregisterProtocolHandler' to remove the registered URL.
3537
3538         * features.gypi: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
3539
3540 2012-06-05  Kent Tamura  <tkent@chromium.org>
3541
3542         Move some function definitions in EmptyClients.h to EmptyClients.cpp
3543         https://bugs.webkit.org/show_bug.cgi?id=88285
3544
3545         Reviewed by Ryosuke Niwa.
3546
3547         * src/WebHelperPluginImpl.cpp: Remove unnecessary #includes, and add necessary #includes.
3548         * src/WebPagePopupImpl.cpp: ditto.
3549
3550 2012-06-05  Noel Gordon  <noel.gordon@gmail.com>
3551
3552         Unreviewed.  Rolled DEPS.
3553
3554         * DEPS:
3555
3556 2012-06-05  Adam Barth  <abarth@webkit.org>
3557
3558         EventHandler shouldn't dispatch fake mousemove events when scrolling on devices that don't have a mouse
3559         https://bugs.webkit.org/show_bug.cgi?id=88270
3560
3561         Reviewed by James Robinson.
3562
3563         * public/WebSettings.h:
3564         * src/WebSettingsImpl.cpp:
3565         (WebKit::WebSettingsImpl::setDeviceSupportsMouse):
3566         (WebKit):
3567         * src/WebSettingsImpl.h:
3568         (WebSettingsImpl):
3569
3570 2012-06-04  Dana Jansens  <danakj@chromium.org>
3571
3572         [chromium] Remove redundant setNeedsCommit when prepareToDraw fails
3573         https://bugs.webkit.org/show_bug.cgi?id=88246
3574
3575         Reviewed by James Robinson.
3576
3577         * tests/CCLayerTreeHostImplTest.cpp:
3578
3579 2012-06-04  Dana Jansens  <danakj@chromium.org>
3580
3581         [chromium] Allow CCLayerImpl to find its layer tree host, and use this for CCVideoLayerImpl instead of always-null pointer.
3582         https://bugs.webkit.org/show_bug.cgi?id=88252
3583
3584         Reviewed by James Robinson.
3585
3586         * tests/ScrollbarLayerChromiumTest.cpp:
3587         (WebCore::TEST):
3588         * tests/TreeSynchronizerTest.cpp:
3589         (WebKitTests::expectTreesAreIdentical):
3590         (WebKitTests::TEST):
3591
3592 2012-06-04  Ryosuke Niwa  <rniwa@webkit.org>
3593
3594         yet another build fix attempt.
3595
3596         * src/WebHelperPluginImpl.cpp:
3597
3598 2012-06-04  Ryosuke Niwa  <rniwa@webkit.org>
3599
3600         Another Chromium Windows build fix attempt after r119411.
3601
3602         * src/WebHelperPluginImpl.cpp:
3603
3604 2012-06-04  Shawn Singh  <shawnsingh@chromium.org>
3605
3606         [chromium] CCDamageTrackerTest.verifyDamageForPerspectiveClippedLayer needs to be cleaner
3607         https://bugs.webkit.org/show_bug.cgi?id=85245
3608
3609         Reviewed by James Robinson.
3610
3611         Updated CCDamageTrackerTest.verifyDamageForPerspectiveClippedLayer
3612         so that the test is clearer and cleaner. The original test was
3613         covering what it needed, but in a confusing and not-so-practical
3614         way. This patch adds comments and performs a tighter test so that
3615         the intent is a bit more clear.
3616
3617         * tests/CCDamageTrackerTest.cpp:
3618         (WebKitTests::TEST_F):
3619
3620 2012-06-04  Ryosuke Niwa  <rniwa@webkit.org>
3621
3622         Fix attempt after r119411.
3623
3624         * src/WebHelperPluginImpl.cpp:
3625
3626 2012-06-04  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3627
3628         [chromium] Fix software rendering for larger device-scale-factor
3629         https://bugs.webkit.org/show_bug.cgi?id=88136
3630
3631         Reviewed by Darin Fisher.
3632
3633         The fix is to apply the device-scale factor on the GraphicsContext.
3634         (and add a WebWidgetClient::deviceScaleFactor method to facilitate that).
3635
3636         * public/WebWidgetClient.h:
3637         (WebWidgetClient):
3638         (WebKit::WebWidgetClient::deviceScaleFactor):
3639         * src/PageWidgetDelegate.cpp:
3640         (WebKit::PageWidgetDelegate::paint):
3641         * src/WebPopupMenuImpl.cpp:
3642         (WebKit::WebPopupMenuImpl::paint):
3643
3644 2012-06-04  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3645
3646         Combobox options and autofill options should not be scaled for device-scale factor.
3647         https://bugs.webkit.org/show_bug.cgi?id=87921
3648
3649         Reviewed by Darin Fisher.
3650
3651         * src/WebViewImpl.cpp:
3652         (WebKit::WebViewImpl::applyAutofillSuggestions):
3653
3654 2012-06-04  Dana Jansens  <danakj@chromium.org>
3655
3656         [chromium] Make LayerRendererChromium use RenderPasses instead of RenderSurfaces
3657         https://bugs.webkit.org/show_bug.cgi?id=88132
3658
3659         Reviewed by Adrienne Walker.
3660
3661         * tests/CCLayerTreeHostImplTest.cpp:
3662         * tests/LayerRendererChromiumTest.cpp:
3663         (FakeCCRendererClient::FakeCCRendererClient):
3664         (FakeCCRendererClient::rootRenderPass):
3665         (FakeCCRendererClient):
3666         (TEST_F):
3667
3668 2012-06-04  David Dorwin  <ddorwin@chromium.org>
3669
3670         Enable Chromium media player to instantiate a plugin
3671         https://bugs.webkit.org/show_bug.cgi?id=87399
3672
3673         Reviewed by Kent Tamura.
3674
3675         Adds WebHelperPlugin, an off-screen widget that contains an <object> tag.
3676
3677         * WebKit.gyp:
3678         * public/WebHelperPlugin.h: Copied from Source/WebKit/chromium/public/WebPopupType.h.
3679         (WebKit):
3680         (WebHelperPlugin):
3681         (WebKit::WebHelperPlugin::~WebHelperPlugin):
3682         * public/WebMediaPlayerClient.h:
3683         (WebKit):
3684         * public/WebPopupType.h:
3685         * public/WebView.h:
3686         * public/WebViewClient.h:
3687         (WebKit):
3688         (WebViewClient):
3689         (WebKit::WebViewClient::initializeHelperPluginWebFrame):
3690         * src/WebFrameImpl.cpp:
3691         (WebKit::WebFrameImpl::WebFrameImpl):
3692         (WebKit::WebFrameImpl::initializeAsMainFrame):
3693         * src/WebFrameImpl.h:
3694         (WebFrameImpl):
3695         * src/WebHelperPluginImpl.cpp: Added.
3696         (WebKit):
3697         (WebKit::addString):
3698         (WebKit::writeDocument):
3699         (HelperPluginChromeClient):
3700         (WebKit::HelperPluginChromeClient::HelperPluginChromeClient):
3701         (WebKit::WebHelperPluginImpl::WebHelperPluginImpl):
3702         (WebKit::WebHelperPluginImpl::~WebHelperPluginImpl):
3703         (WebKit::WebHelperPluginImpl::init):
3704         (WebKit::WebHelperPluginImpl::initializeFrame):
3705         (WebKit::WebHelperPluginImpl::initPage):
3706         (WebKit::WebHelperPluginImpl::setCompositorSurfaceReady):
3707         (WebKit::WebHelperPluginImpl::composite):
3708         (WebKit::WebHelperPluginImpl::layout):
3709         (WebKit::WebHelperPluginImpl::setFocus):
3710         (WebKit::WebHelperPluginImpl::close):
3711         (WebKit::WebHelperPluginImpl::closeHelperPlugin):
3712         (WebKit::WebHelperPlugin::create):
3713         * src/WebHelperPluginImpl.h: Copied from Source/WebKit/chromium/public/WebPopupType.h.
3714         (WebCore):
3715         (WebKit):
3716         (WebHelperPluginImpl):
3717         * src/WebMediaPlayerClientImpl.cpp:
3718         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
3719         (WebKit::WebMediaPlayerClientImpl::createHelperPlugin):
3720         (WebKit):
3721         (WebKit::WebMediaPlayerClientImpl::closeHelperPlugin):
3722         * src/WebMediaPlayerClientImpl.h:
3723         (WebKit):
3724         (WebMediaPlayerClientImpl):
3725         * src/WebViewImpl.cpp:
3726         (WebKit::WebViewImpl::initializeMainFrame):
3727         (WebKit::WebViewImpl::initializeHelperPluginFrame):
3728         (WebKit):
3729         (WebKit::WebViewImpl::createHelperPlugin):
3730         * src/WebViewImpl.h:
3731         (WebKit):
3732         (WebViewImpl):
3733
3734 2012-06-04  Raymes Khoury  <raymes@chromium.org>
3735
3736         Remove obsolete acceptMIMETypes member.
3737         https://bugs.webkit.org/show_bug.cgi?id=88241
3738
3739         Reviewed by Darin Fisher.
3740
3741         Obsoleted by https://bugs.webkit.org/show_bug.cgi?id=87271 and http://codereview.chromium.org/10414085/.
3742
3743         * public/WebFileChooserParams.h:
3744         (WebFileChooserParams):
3745         * src/ChromeClientImpl.cpp:
3746         (WebKit::ChromeClientImpl::runOpenPanel):
3747
3748 2012-06-04  Zeev Lieber  <zlieber@chromium.org>
3749
3750         [chromium] Cleanup scissor rect computation/use with damage
3751         https://bugs.webkit.org/show_bug.cgi?id=87167
3752
3753         Reviewed by Adrienne Walker.
3754
3755         Added unit tests to CCLayerTreeHostImpl using mock graphic context
3756         to verify end-to-end quad drawing.
3757
3758         Added more test cases to CCLayerTreeHostCommon to verify clip and
3759         scissor rect computations.
3760
3761         * tests/CCDamageTrackerTest.cpp:
3762         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
3763         * tests/CCLayerIteratorTest.cpp:
3764         * tests/CCLayerTreeHostCommonTest.cpp:
3765         * tests/CCLayerTreeHostImplTest.cpp:
3766         * tests/CCOcclusionTrackerTest.cpp:
3767         (WebKitTests::CCOcclusionTrackerTest::calcDrawEtc):
3768         * tests/CCRenderSurfaceTest.cpp:
3769
3770 2012-06-03  Ryosuke Niwa  <rniwa@webkit.org>
3771
3772         Roll Chromium DEPS from r140222 to r140260.
3773
3774         * DEPS:
3775
3776 2012-06-03  Ryosuke Niwa  <rniwa@webkit.org>
3777
3778         Roll Chromium DEPS from r140000 to r140222.
3779
3780         * DEPS:
3781
3782 2012-06-03  Varun Jain  <varunjain@google.com>
3783
3784         [chromium] Add new gesture type (two finger tap) that triggers context menu.
3785         https://bugs.webkit.org/show_bug.cgi?id=88173
3786
3787         Reviewed by Adam Barth.
3788
3789         * public/WebInputEvent.h:
3790         * src/PageWidgetDelegate.cpp:
3791         (WebKit::PageWidgetDelegate::handleInputEvent):
3792         * src/WebInputEventConversion.cpp:
3793         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
3794         * src/WebPopupMenuImpl.cpp:
3795         (WebKit::WebPopupMenuImpl::handleInputEvent):
3796         * src/WebViewImpl.cpp:
3797         (WebKit::WebViewImpl::handleGestureEvent):
3798
3799 2012-06-03  Robert Kroeger  <rjkroege@chromium.org>
3800
3801         [chromium] replace isScrollGestureEventType with isGestureEventType
3802         https://bugs.webkit.org/show_bug.cgi?id=88097
3803
3804         This change replaces the unused and incorrect isScrollGestureEventType
3805         method with a correct and useful isGestureEventType method.
3806
3807         Reviewed by Adam Barth.
3808
3809         * public/WebInputEvent.h:
3810         (WebInputEvent):
3811         (WebKit::WebInputEvent::isGestureEventType):
3812
3813 2012-06-01  Alexandre Elias  <aelias@google.com>
3814
3815         [chromium] Software compositor initialization and base classes
3816         https://bugs.webkit.org/show_bug.cgi?id=87920
3817
3818         Reviewed by James Robinson.
3819
3820         Add a new setting to force software compositing.  In this mode,
3821         no GraphicsContext3D should ever be created.
3822
3823         * public/WebSettings.h:
3824         * src/WebLayerTreeView.cpp:
3825         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
3826         (WebKit::WebLayerTreeView::context):
3827         * src/WebLayerTreeViewImpl.cpp:
3828         * src/WebSettingsImpl.cpp:
3829         (WebKit::WebSettingsImpl::WebSettingsImpl):
3830         (WebKit::WebSettingsImpl::setForceSoftwareCompositing):
3831         (WebKit):
3832         * src/WebSettingsImpl.h:
3833         (WebSettingsImpl):
3834         (WebKit::WebSettingsImpl::forceSoftwareCompositing):
3835         * src/WebViewImpl.cpp:
3836         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3837         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
3838         (WebKit::WebViewImpl::createContext3D):
3839         * tests/CCLayerTreeHostImplTest.cpp:
3840         (WebKitTests::CCLayerTreeHostImplTest::createContext):
3841         (WebKitTests::TEST_F):
3842         * tests/CCLayerTreeHostTest.cpp:
3843         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
3844         (WTF::CCLayerTreeHostTestAtomicCommit::drawLayersOnCCThread):
3845         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
3846         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
3847         * tests/CCTiledLayerTestCommon.cpp:
3848         (WebKitTests::FakeLayerTextureUpdater::Texture::updateRect):
3849         * tests/CCTiledLayerTestCommon.h:
3850         (Texture):
3851         (WebKitTests::FakeTextureCopier::copyTexture):
3852         (WebKitTests::FakeTextureUploader::uploadTexture):
3853         * tests/Canvas2DLayerChromiumTest.cpp:
3854         (Canvas2DLayerChromiumTest::fullLifecycleTest):
3855         * tests/FakeCCLayerTreeHostClient.h:
3856         * tests/LayerRendererChromiumTest.cpp:
3857         (FakeLayerRendererChromium::FakeLayerRendererChromium):
3858         (LayerRendererChromiumTest::LayerRendererChromiumTest):
3859         (LayerRendererChromiumTest):
3860         (TEST):
3861         * tests/TextureCopierTest.cpp:
3862         * tests/TiledLayerChromiumTest.cpp:
3863         (WTF::TEST):
3864
3865 2012-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
3866
3867         Unreviewed, rolling out r119283, r119287, and r119291.
3868         http://trac.webkit.org/changeset/119283
3869         http://trac.webkit.org/changeset/119287
3870         http://trac.webkit.org/changeset/119291
3871         https://bugs.webkit.org/show_bug.cgi?id=88159
3872
3873         Not only broke compilation in the initial commit but also
3874         broke LayerChromiumTest.basicCreateAndDestroy (Requested by
3875         rniwa on #webkit).
3876
3877         * tests/CCAnimationTestCommon.cpp:
3878         (WebCore::addOpacityTransition):
3879         (WebCore::addAnimatedTransform):
3880         (WebKitTests::FakeTransformTransition::getValue):
3881         * tests/CCAnimationTestCommon.h:
3882         * tests/CCKeyframedAnimationCurveTest.cpp:
3883         * tests/CCLayerAnimationControllerTest.cpp:
3884         * tests/CCLayerTreeHostTest.cpp:
3885         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
3886         * tests/GraphicsLayerChromiumTest.cpp:
3887         (WebKitTests::MockGraphicsLayerClient::notifyAnimationStarted):
3888         (WebKitTests::MockGraphicsLayerClient::notifySyncRequired):
3889         (WebKitTests::MockGraphicsLayerClient::paintContents):
3890         (WebKitTests::MockGraphicsLayerClient::showDebugBorders):
3891         (WebKitTests::MockGraphicsLayerClient::showRepaintCounter):
3892         (WebKitTests::TEST):
3893
3894 2012-06-01  Ryosuke Niwa  <rniwa@webkit.org>
3895
3896         Use fully qualified name for Fixed to avoid the collision with "typedef SInt32 Fixed" in MacTypes.h
3897
3898         * tests/GraphicsLayerChromiumTest.cpp:
3899         (WebKitTests::TEST_F):
3900
3901 2012-06-01  James Robinson  <jamesr@chromium.org>
3902
3903         [chromium] Unreviewed compile fix for r119283
3904
3905         For the record, Dana Jensens <danakj@chromium.org> wrote this slightly faster than I did.
3906
3907         * tests/CCAnimationTestCommon.h:
3908
3909 2012-06-01  Ian Vollick  <vollick@chromium.org>
3910
3911         [chromium] Accelerated animations should use WebTransformOperations
3912         https://bugs.webkit.org/show_bug.cgi?id=87686
3913
3914         Reviewed by James Robinson.
3915
3916         CCTransformKeyframe new owns a WebTransformOperations rather than a
3917         TransformOperations. LayerChromium's API has been changed so that
3918         LayerChromium::addAnimation should take only a CCActiveAnimation.
3919         GraphicsLayerChromium is new responsible for translating to
3920         WebTransformOperations and creating CCActiveAnimations. Tests that use
3921         the public API (that is, they call addAnimation with KeyframeValueList
3922         and Animation arguments) have been moved to GraphicsLayerChromiumTest.
3923
3924         * tests/CCAnimationTestCommon.cpp:
3925         (WebCore::addOpacityTransition):
3926         (WebCore::addAnimatedTransform):
3927         (WebKitTests::FakeTransformTransition::getValue):
3928         * tests/CCAnimationTestCommon.h:
3929         * tests/CCKeyframedAnimationCurveTest.cpp:
3930         (WebCore::TEST):
3931         * tests/CCLayerAnimationControllerTest.cpp:
3932         (WebKitTests::TEST):
3933         * tests/CCLayerTreeHostTest.cpp:
3934         (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
3935         * tests/GraphicsLayerChromiumTest.cpp:
3936         (MockLayerTreeHostClient):
3937         (WebKitTests):
3938         (MockLayerTreeHost):
3939         (WebKitTests::MockLayerTreeHost::create):
3940         (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
3941         (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
3942         (GraphicsLayerChromiumTest):
3943         (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
3944         (WebKitTests::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
3945         (WebKitTests::GraphicsLayerChromiumTest::expectTranslateX):
3946         (WebKitTests::TEST_F):
3947
3948 2012-06-01  Mark Pilgrim  <pilgrim@chromium.org>
3949
3950         [Chromium] Call clipboard methods directly
3951         https://bugs.webkit.org/show_bug.cgi?id=88038
3952
3953         Reviewed by Adam Barth.
3954
3955         Part of a refactoring series. See tracking bug 82948.
3956
3957         * src/AssertMatchingEnums.cpp:
3958         * src/PlatformSupport.cpp:
3959         (WebCore::getCookieJar):
3960
3961 2012-06-01  Peter Beverloo  <peter@chromium.org>
3962
3963         Unreviewed.  Rolled DEPS.
3964
3965         * DEPS:
3966
3967 2012-06-01  Yoshifumi Inoue  <yosin@chromium.org>
3968
3969         [Platform][Decimal] UInt128::operator/= calls makeUInt128 with wrong argument order
3970         https://bugs.webkit.org/show_bug.cgi?id=88044
3971
3972         Reviewed by Kent Tamura.
3973
3974         * tests/DecimalTest.cpp:
3975         (TEST_F): Add a new test for multiplication.
3976
3977 2012-05-31  Hajime Morrita  <morrita@chromium.org>
3978
3979         REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
3980         https://bugs.webkit.org/show_bug.cgi?id=86859
3981
3982         Removed a port specific fix which was introduced at r117572.
3983
3984         Reviewed by Ryosuke Niwa.
3985
3986         * src/EditorClientImpl.cpp:
3987         (WebKit::EditorClientImpl::frameWillDetachPage):
3988         (WebKit::EditorClientImpl::requestCheckingOfString):
3989         * src/EditorClientImpl.h:
3990         (WebCore):
3991         (EditorClientImpl):
3992         * src/WebTextCheckingCompletionImpl.cpp:
3993         (WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
3994         (WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
3995         * src/WebTextCheckingCompletionImpl.h:
3996         (WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
3997         (WebTextCheckingCompletionImpl):
3998
3999 2012-05-31  Sheriff Bot  <webkit.review.bot@gmail.com>
4000
4001         Unreviewed, rolling out r119146.
4002         http://trac.webkit.org/changeset/119146
4003         https://bugs.webkit.org/show_bug.cgi?id=88035
4004
4005         android breakage fixed in http://crrev.com/139945 (Requested
4006         by fischman on #webkit).
4007
4008         * public/WebMediaPlayer.h:
4009         (WebMediaPlayer):
4010         * src/WebMediaPlayerClientImpl.cpp:
4011         (WebKit::WebMediaPlayerClientImpl::didLoadingProgress):
4012         * src/WebMediaPlayerClientImpl.h:
4013         (WebMediaPlayerClientImpl):
4014
4015 2012-05-31  Shawn Singh  <shawnsingh@chromium.org>
4016
4017         [chromium] Migrate to WebTransformationMatrix
4018         https://bugs.webkit.org/show_bug.cgi?id=87788
4019
4020         Reviewed by James Robinson.
4021
4022         * src/WebLayer.cpp:
4023         (WebKit::WebLayer::setSublayerTransform):
4024         (WebKit::WebLayer::setTransform):
4025         * tests/CCAnimationTestCommon.cpp:
4026         (WebKitTests::FakeTransformTransition::getValue):
4027         * tests/CCAnimationTestCommon.h:
4028         * tests/CCDamageTrackerTest.cpp:
4029         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
4030         (WebKitTests::TEST_F):
4031         * tests/CCKeyframedAnimationCurveTest.cpp:
4032         * tests/CCLayerAnimationControllerTest.cpp:
4033         * tests/CCLayerImplTest.cpp:
4034         (WebCore::TEST):
4035         * tests/CCLayerIteratorTest.cpp:
4036         * tests/CCLayerSorterTest.cpp:
4037         * tests/CCLayerTreeHostCommonTest.cpp:
4038         * tests/CCLayerTreeHostTest.cpp:
4039         (WTF::CCLayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers::commitCompleteOnCCThread):
4040         (WTF::setLayerPropertiesForTesting):
4041         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
4042         (WTF::setTestLayerPropertiesForTesting):
4043         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
4044         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
4045         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
4046         * tests/CCLayerTreeTestCommon.h:
4047         (WebKitTests):
4048         * tests/CCMathUtilTest.cpp:
4049         * tests/CCOcclusionTrackerTest.cpp:
4050         (WebKitTests::CCOcclusionTrackerTest::createRoot):
4051         (WebKitTests::CCOcclusionTrackerTest::createLayer):
4052         (WebKitTests::CCOcclusionTrackerTest::createSurface):
4053         (WebKitTests::CCOcclusionTrackerTest::createDrawingLayer):
4054         (WebKitTests::CCOcclusionTrackerTest::createReplicaLayer):
4055         (WebKitTests::CCOcclusionTrackerTest::createDrawingSurface):
4056         (CCOcclusionTrackerTest):
4057         (WebKitTests::CCOcclusionTrackerTest::setBaseProperties):
4058         (WebKitTests::CCOcclusionTrackerTest::setProperties):
4059         (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
4060         (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
4061         (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
4062         (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
4063         (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
4064         (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
4065         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
4066         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
4067         (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
4068         (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
4069         (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
4070         (WebKitTests::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
4071         (WebKitTests::CCOcclusionTrackerTestLayerBehindCameraDoesNotOcclude::runMyTest):
4072         (WebKitTests::CCOcclusionTrackerTestLargePixelsOccludeInsideClipRect::runMyTest):
4073         (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
4074         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
4075         (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
4076         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
4077         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
4078         (WebKitTests::CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded::runMyTest):
4079         * tests/CCQuadCullerTest.cpp:
4080         * tests/CCRenderSurfaceTest.cpp:
4081         * tests/FloatQuadTest.cpp:
4082         * tests/LayerChromiumTest.cpp:
4083         * tests/LinkHighlightTest.cpp:
4084         * tests/TiledLayerChromiumTest.cpp:
4085         * tests/WebTransformationMatrixTest.cpp:
4086         (WebKit::TEST):</