Change the argument orders to match OpenGL's in GraphicsContext3D functions
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-03-05  Changhun Kang  <temoochin@company100.net>
2
3         Change the argument orders to match OpenGL's in GraphicsContext3D functions
4         https://bugs.webkit.org/show_bug.cgi?id=80120
5
6         Reviewed by Kenneth Russell.
7
8         No new tests because this patch just change the order of arguments.
9
10         * src/GraphicsContext3DChromium.cpp:
11         (WebCore::GraphicsContext3DPrivate::uniform1fv):
12         (WebCore::GraphicsContext3DPrivate::uniform1iv):
13         (WebCore::GraphicsContext3DPrivate::uniform2fv):
14         (WebCore::GraphicsContext3DPrivate::uniform2iv):
15         (WebCore::GraphicsContext3DPrivate::uniform3fv):
16         (WebCore::GraphicsContext3DPrivate::uniform3iv):
17         (WebCore::GraphicsContext3DPrivate::uniform4fv):
18         (WebCore::GraphicsContext3DPrivate::uniform4iv):
19         (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
20         (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
21         (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
22         (WebCore):
23         * src/GraphicsContext3DPrivate.h:
24         (GraphicsContext3DPrivate):
25
26 2012-03-05  Yoshifumi Inoue  <yosin@chromium.org>
27
28         [Chromium] WebOptionElement should inherit WebElement instead of WebFormControlElement
29         https://bugs.webkit.org/show_bug.cgi?id=80089
30
31         Change class hierarchy of WebOptionElement to match with specification.
32
33         Reviewed by Darin Fisher.
34
35         * public/WebOptionElement.h: Replace to WebElement from WebFormControlElement 
36         (WebKit::WebOptionElement::WebOptionElement):
37         (WebKit::WebOptionElement::operator=):
38         (WebKit::WebOptionElement::assign):
39         * src/WebOptionElement.cpp:
40         (WebKit::WebOptionElement::WebOptionElement):
41
42 2012-03-05  Joshua Bell  <jsbell@chromium.org>
43
44         IndexedDB: Handle LevelDB database corruption
45         https://bugs.webkit.org/show_bug.cgi?id=79413
46
47         Reviewed by Tony Chang.
48
49         * WebKit.gypi:
50         * tests/LevelDBTest.cpp: Added.
51         (WebCore):
52         (SimpleComparator):
53         (WebCore::SimpleComparator::compare):
54         (WebCore::SimpleComparator::name):
55         (WebCore::encodeString):
56         (WebCore::TEST):
57
58 2012-03-05  Min Qin  <qinmin@google.com>
59
60         Enable context menu on android
61
62         For android, long press is converted into a right mouse down event
63         So we will use that to invoke the context menu
64         https://bugs.webkit.org/show_bug.cgi?id=80332
65
66         Reviewed by Adam Barth.
67
68         * src/WebViewImpl.cpp:
69         (WebKit::WebViewImpl::mouseDown):
70
71 2012-03-05  Kent Tamura  <tkent@chromium.org>
72
73         [Chromium] Add new popup type: PagePopup
74         https://bugs.webkit.org/show_bug.cgi?id=80106
75
76         Reviewed by Darin Fisher.
77
78         This is a preparation of implementing ChromeClient::openPagePopup and
79         closePagePopup.
80
81         * WebKit.gyp: Add WebPagePopup.h and WebPagePopupImpl.cpp.
82         * public/WebPagePopup.h:
83         (WebPagePopup): Add WebPagePopup interface.
84         * public/WebPopupType.h: Add WebPopupTypePage.
85         * src/WebPagePopupImpl.cpp:
86         (WebKit::WebPagePopup::create): Temprary implementation which just returns 0.
87
88 2012-03-05  Charlie Reis  <creis@chromium.org>
89
90         [chromium] Pass WebNavigationPolicy to WebViewClient::createView
91         https://bugs.webkit.org/show_bug.cgi?id=80057
92
93         Reviewed by Darin Fisher.
94
95         * public/WebViewClient.h:
96         (WebViewClient):
97         (WebKit::WebViewClient::createView):
98         * src/ChromeClientImpl.cpp:
99         (WebKit::ChromeClientImpl::ChromeClientImpl):
100         (WebKit::ChromeClientImpl::createWindow):
101         (WebKit::ChromeClientImpl::getNavigationPolicy):
102         (WebKit):
103         (WebKit::ChromeClientImpl::show):
104         (WebKit::ChromeClientImpl::setNewWindowNavigationPolicy):
105         * src/ChromeClientImpl.h:
106         (ChromeClientImpl):
107         * src/FrameLoaderClientImpl.cpp:
108         (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
109         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNewWindowAction):
110
111 2012-03-05  James Robinson  <jamesr@chromium.org>
112
113         [chromium] Initialize CCOverdrawCounts struct to zero
114         https://bugs.webkit.org/show_bug.cgi?id=80204
115
116         Reviewed by Adrienne Walker.
117
118         Update test to use c'tor instead of {} struct initialization.
119
120         * tests/CCQuadCullerTest.cpp:
121         (WebCore):
122
123 2012-03-05  Takashi Toyoshima  <toyoshim@chromium.org>
124
125         [Chromium] [WebSocket] use OVERRIDE in WebSocketImpl.h
126         https://bugs.webkit.org/show_bug.cgi?id=80192
127
128         Reviewed by Kent Tamura.
129
130         * src/WebSocketImpl.h: use OVERRIDE macro.
131         (WebSocketImpl):
132
133 2012-03-05  Adam Barth  <abarth@webkit.org>
134
135         Geolocation should use a ScriptExecutionContext as its context object
136         https://bugs.webkit.org/show_bug.cgi?id=80248
137
138         Reviewed by Kentaro Hara.
139
140         Rather than indirecting through the Frame to get the SecurityOrigin, we
141         should get the SecurityOrigin directly from ScriptExecutionContext.
142
143         * src/WebGeolocationPermissionRequest.cpp:
144         (WebKit::WebGeolocationPermissionRequest::securityOrigin):
145
146 2012-03-02  Andrey Kosyakov  <caseq@chromium.org>
147
148         Add instrumentation for frame start/end on timeline.
149
150         Web Inspector: add timeline instrumentation for frame events
151         https://bugs.webkit.org/show_bug.cgi?id=80127
152
153         Reviewed by Pavel Feldman.
154
155         - expose an instrumentation method from WebWidget to mark frame update start
156
157         * public/WebWidget.h:
158         (WebWidget):
159         (WebKit::WebWidget::instrumentBeginFrame):
160         * src/WebViewImpl.cpp:
161         (WebKit::WebViewImpl::instrumentBeginFrame):
162         (WebKit):
163         * src/WebViewImpl.h:
164         (WebViewImpl):
165
166 2012-03-03  Benjamin Poulain  <benjamin@webkit.org>
167
168         Remove the redundant method KURL::protocolInHTTPFamily()
169         https://bugs.webkit.org/show_bug.cgi?id=80216
170
171         Reviewed by Anders Carlsson.
172
173         * src/FrameLoaderClientImpl.cpp:
174         (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
175         * src/WebPageSerializer.cpp:
176         (WebCore::retrieveResourcesForElement):
177
178 2012-03-03  Hans Wennborg  <hans@chromium.org>
179
180         Implement Speech JavaScript API
181         https://bugs.webkit.org/show_bug.cgi?id=80019
182
183         Reviewed by Adam Barth.
184
185         Add ENABLE_SCRIPTED_SPEECH and runtime flag.
186
187         * features.gypi:
188         * public/WebRuntimeFeatures.h:
189         (WebRuntimeFeatures):
190         * src/WebRuntimeFeatures.cpp:
191         (WebKit::WebRuntimeFeatures::enableScriptedSpeech):
192         (WebKit):
193         (WebKit::WebRuntimeFeatures::isScriptedSpeechEnabled):
194
195 2012-03-03  Bill Budge  <bbudge@chromium.org>
196
197         Fixes AssociatedURLLoader support for Access-Control-Expose-Headers field in response.
198         https://bugs.webkit.org/show_bug.cgi?id=80198
199
200         Reviewed by Adam Barth.
201
202         * src/AssociatedURLLoader.cpp:
203         * tests/AssociatedURLLoaderTest.cpp:
204
205 2012-03-02  Dana Jansens  <danakj@chromium.org>
206
207         [Chromium] Allow plugins to set opaque() on their platform layer
208         https://bugs.webkit.org/show_bug.cgi?id=80171
209
210         Reviewed by James Robinson.
211
212         * public/WebPluginContainer.h:
213         (WebPluginContainer):
214         * src/WebPluginContainerImpl.cpp:
215         (WebKit::WebPluginContainerImpl::setOpaque):
216         (WebKit):
217         * src/WebPluginContainerImpl.h:
218         (WebPluginContainerImpl):
219
220 2012-03-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
221
222         Make parser code not depend on NamedNodeMap
223         https://bugs.webkit.org/show_bug.cgi?id=79963
224
225         Reviewed by Adam Barth.
226
227         * src/WebNamedNodeMap.cpp:
228         (WebKit::WebNamedNodeMap::attributeItem):
229
230 2012-03-01  Dana Jansens  <danakj@chromium.org>
231
232         [chromium] Make opaque paint tracker aware of SkCanvas layers
233         https://bugs.webkit.org/show_bug.cgi?id=79145
234
235         Reviewed by Stephen White.
236
237         * tests/PlatformContextSkiaTest.cpp:
238         (WebCore::TEST):
239         (WebCore):
240
241 2012-03-01  Hironori Bono  <hbono@chromium.org>
242
243         Render overflow controls of an RTL element to its left-side.
244         https://bugs.webkit.org/show_bug.cgi?id=54623
245
246         This change adds a new flag WTF_USE_RTL_SCROLLBAR and render the
247         vertical scrollbars and resizers of RTL elements to their left side if
248         this new flag is enabled.
249
250         Reviewed by Ryosuke Niwa.
251
252         * features.gypi: Set WTF_USE_RTL_SCROLLBAR to 1 on Chromium.
253
254 2012-03-01  James Robinson  <jamesr@chromium.org>
255
256         [chromium] Rename LayerChromium::name to debugName to be more consistent with other debug properties, make threadsafe
257         https://bugs.webkit.org/show_bug.cgi?id=79723
258
259         Reviewed by Adrienne Walker.
260
261         * tests/LayerChromiumTest.cpp:
262
263 2012-03-01  Dale Curtis  <dalecurtis@chromium.org>
264
265         Remove deprecated FFmpeg build directories.
266         https://bugs.webkit.org/show_bug.cgi?id=79282
267
268         We've switched the layout of the FFmpeg repo in Chrome and these paths
269         are no longer needed or valid.
270
271         Reviewed by Dirk Pranke.
272
273         * DEPS:
274
275 2012-03-01  Dirk Pranke  <dpranke@chromium.org>
276
277         Roll chromium DEPS to 124511
278
279         Unreviewed, DEPS change.
280
281         * DEPS:
282
283 2012-02-29  Nat Duca  <nduca@chromium.org>
284
285         [chromium] Move context lost control code from CCSingleThreadProxy to CCLayerTreeHost
286         https://bugs.webkit.org/show_bug.cgi?id=79964
287
288         Reviewed by James Robinson.
289
290         * src/WebLayerTreeView.cpp:
291         (WebKit::WebLayerTreeView::loseCompositorContext):
292         * src/WebLayerTreeViewImpl.cpp:
293         (WebKit::WebLayerTreeViewImpl::createContext):
294         (WebKit::WebLayerTreeViewImpl::didRecreateContext):
295         * src/WebLayerTreeViewImpl.h:
296         (WebLayerTreeViewImpl):
297         * tests/CCLayerTreeHostTest.cpp:
298         (WTF::MockLayerTreeHostClient::createContext):
299         (WTF::MockLayerTreeHostClient::didRecreateContext):
300         * tests/FakeCCLayerTreeHostClient.h:
301         (WebCore::FakeCCLayerTreeHostClient::createContext):
302         (WebCore::FakeCCLayerTreeHostClient::didRecreateContext):
303
304 2012-03-01  Kentaro Hara  <haraken@chromium.org>
305
306         REGRESSION(r109288): WebViewImpl::enableAutoResizeMode loops infinitely
307         https://bugs.webkit.org/show_bug.cgi?id=77452
308
309         Reviewed by Hajime Morita.
310
311         WebViewImpl::enableAutoResizeMode loops infinitely.
312         This patch fixes the following line:
313
314             enableAutoResizeMode(enable, minSize, maxSize);
315
316         to
317             enableAutoResizeMode(minSize, maxSize);
318
319         to avoid the infinite loop. I guess this is the change originally intended.
320
321         Test: webkit_unit_tests.WebViewTest.AutoResizeMinimumSize
322
323         * src/WebViewImpl.cpp:
324         (WebKit::WebViewImpl::enableAutoResizeMode):
325
326 2012-02-29  Kinuko Yasuda  <kinuko@chromium.org>
327
328         Use the new createSnapshotFileAndReadMetadata API for FileEntry.file()
329         https://bugs.webkit.org/show_bug.cgi?id=79928
330
331         Reviewed by David Levin.
332
333         In the new flow we first create an internal Blob URL for the
334         snapshot file and call the new createSnapshotFileAndReadMetadata()
335         WebKit API with the Blob URL.
336
337         The implementor of createSnapshotFileAndReadMetadata() (i.e. chromium)
338         registers the created snapshot file with the given internal Blob URL.
339
340         In the callback chain we call File::createWithName() to create a
341         new File using the returned platform path, and then call
342         unregisterBlobURL() to clean up the internal Blob URL.
343
344         * src/AsyncFileSystemChromium.cpp:
345         (WebCore::AsyncFileSystemChromium::createSnapshotFileAndReadMetadata): Added.
346         (WebCore::AsyncFileSystemChromium::createSnapshotFileCallback): Added.
347         * src/AsyncFileSystemChromium.h:
348         * src/WorkerAsyncFileSystemChromium.cpp:
349         (WebCore::WorkerAsyncFileSystemChromium::createSnapshotFileAndReadMetadata): Added.
350         * src/WorkerAsyncFileSystemChromium.h:
351         * src/WorkerFileSystemCallbacksBridge.cpp:
352         (WebKit::WorkerFileSystemCallbacksBridge::postCreateSnapshotFileToMainThread): Added.
353         (WebKit::WorkerFileSystemCallbacksBridge::createSnapshotFileOnMainThread): Added.
354         * src/WorkerFileSystemCallbacksBridge.h:
355         (WorkerFileSystemCallbacksBridge):
356
357 2012-02-29  Kinuko Yasuda  <kinuko@chromium.org>
358
359         Unreviewed.  Rolled DEPS.
360
361         * DEPS:
362
363 2012-02-29  W. James MacLean  <wjmaclean@chromium.org>
364
365         [chromium] Estimate pixel count for frame rate control
366         https://bugs.webkit.org/show_bug.cgi?id=74982
367
368         Reviewed by James Robinson.
369
370         Adds mechanism to compute and collect statistics on pixel overdraw for selected frames.
371
372         * tests/CCQuadCullerTest.cpp:
373         (WebCore):
374         (WebCore::TEST):
375
376 2012-02-29  James Simonsen  <simonjam@chromium.org>
377
378         [chromium] Fix navigation start time on cross-renderer navigation
379         https://bugs.webkit.org/show_bug.cgi?id=75922
380
381         Reviewed by Darin Fisher.
382
383         * public/WebDataSource.h:
384         * src/WebDataSource.cpp:
385         (WebKit::WebDataSource::setNavigationStartTime): Added.
386         * src/WebDataSource.h:
387
388 2012-02-29  Ian Vollick  <vollick@chromium.org>
389
390         [chromium] Add impl-thread support for animation-timing-function
391         https://bugs.webkit.org/show_bug.cgi?id=79819
392
393         Reviewed by James Robinson.
394
395         * tests/CCKeyframedAnimationCurveTest.cpp:
396         (WebCore::TEST):
397         (WebCore):
398
399 2012-02-29  David Levin  <levin@chromium.org>
400
401         [chromium] Add the ability to turn off autoresize.
402         https://bugs.webkit.org/show_bug.cgi?id=77452
403
404         Reviewed by Darin Fisher.
405
406         * public/WebView.h:
407         (WebKit::WebViewImpl::enableAutoResizeMode): Cleaned up the api.
408         (WebKit::WebViewImpl::disableAutoResizeMode): Added the ability to disable auto-resize.
409         (WebKit::WebViewImpl::enableAutoResizeMode): Deprecated it.
410         * src/WebViewImpl.cpp:
411         (WebKit::WebViewImpl::enableAutoResizeMode): Adjust for new api.
412         (WebKit::WebViewImpl::disableAutoResizeMode): Allow turning off autoresize.
413         (WebKit::WebViewImpl::enableAutoResizeMode): Call the other two apis, but
414         this api will be deleted shortly.
415         (WebKit::WebViewImpl::configureAutoResizeMode): Common code.
416         * src/WebViewImpl.h:
417         (WebViewImpl): Adjust to new public api.
418
419 2012-02-29  Sheriff Bot  <webkit.review.bot@gmail.com>
420
421         Unreviewed.  Rolled DEPS.
422
423         * DEPS:
424
425 2012-02-29  Dana Jansens  <danakj@chromium.org>
426
427         [chromium] Don't let invalidation for next frame prevent tile upload
428         https://bugs.webkit.org/show_bug.cgi?id=79841
429
430         Reviewed by James Robinson.
431
432         * tests/TiledLayerChromiumTest.cpp:
433         (WTF::TEST):
434
435 2012-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
436
437         Unreviewed, rolling out r107917 and r109188.
438         http://trac.webkit.org/changeset/107917
439         http://trac.webkit.org/changeset/109188
440         https://bugs.webkit.org/show_bug.cgi?id=79865
441
442         Fix the chromium build. (Requested by dcheng on #webkit).
443
444         * src/WebDragData.cpp:
445         (WebKit::WebDragData::items):
446
447 2012-02-28  Ryosuke Niwa  <rniwa@webkit.org>
448
449         Chromium build fix attempt.
450
451         * src/WebDragData.cpp:
452
453 2012-02-28  Jonathan Backer  <backer@chromium.org>
454
455         [chromium] Reset damage tracker on visibility change.
456         https://bugs.webkit.org/show_bug.cgi?id=79267
457
458         Reviewed by James Robinson.
459
460         * tests/CCLayerTreeHostImplTest.cpp:
461         (WebKit::PartialSwapTrackerContext::getString):
462         (WebKit):
463         (WebKit::TEST_F):
464
465 2012-02-28  Tim Dresser  <tdresser@chromium.org>
466
467         Provide DefaultDeviceScaleFactor though WebSettings
468         https://bugs.webkit.org/show_bug.cgi?id=79534
469
470         Reviewed by Darin Fisher.
471
472         * public/WebSettings.h:
473         * src/WebSettingsImpl.cpp:
474         (WebKit::WebSettingsImpl::setDefaultDeviceScaleFactor):
475         (WebKit):
476         * src/WebSettingsImpl.h:
477         (WebSettingsImpl):
478
479 2012-02-28  Gary Kacmarcik  <garykac@chromium.org>
480
481         [chromium] Set nativeKeyCode to include Windows scan code
482         https://bugs.webkit.org/show_bug.cgi?id=79289
483
484         Reviewed by Ryosuke Niwa.
485
486         Set the key event's nativeKeyCode on Windows Chromium so that it
487         actually includes the native scancode and other context bits.
488         Currently on Windows, the nativeKeyCode is set to be the same value as
489         the windowsKeyCode, which is redundant.
490
491         The actual native key information is required so that components (like
492         plugins) can reconstruct the original key event. The value stored in
493         the windowsKeyCode is a Windows virtual key code which does not provide
494         sufficient info to disambiguate the actual key being pressed (for
495         example, it cannot distinguish between the left and right shift keys).
496
497         All platforms except Windows currently send native key event info, so
498         this change will bring Windows in line with other platforms.
499
500         This change is part of our effort to send enhanced keycode information
501         to Pepper plugins in Chromium.
502
503         * src/win/WebInputEventFactory.cpp:
504         (WebKit::WebInputEventFactory::keyboardEvent):
505
506 2012-02-28  Adam Klein  <adamk@chromium.org>
507
508         Unreviewed, speculative test fix after r109016.
509
510         * tests/TransparencyWinTest.cpp:
511         (WebCore::TEST): Update all ImageBuffer::create calls to include a scale of 1.
512
513 2012-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
514
515         Unreviewed.  Rolled DEPS.
516
517         * DEPS:
518
519 2012-02-27  James Kozianski  <koz@chromium.org>
520
521         Add missing parameter to didCreateScriptContext() so it overrides base class again.
522         https://bugs.webkit.org/show_bug.cgi?id=79742
523
524         Reviewed by Kent Tamura.
525
526         * tests/WebFrameTest.cpp:
527
528 2012-02-27  Kenichi Ishibashi  <bashi@chromium.org>
529
530         [Chromium] Unreviewed gardening, Disable TransparencyWin.OpaqueCompositeLayerPixel
531
532         * tests/TransparencyWinTest.cpp:
533         (WebCore::TEST):
534
535 2012-02-27  Kinuko Yasuda  <kinuko@chromium.org>
536
537         [chromium] Add createSnapshotFile API to WebFileSystem to create File snapshots for filesystem files
538         https://bugs.webkit.org/show_bug.cgi?id=79394
539
540         Reviewed by Darin Fisher.
541
542         * public/platform/WebFileSystem.h:
543         (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata): Added.
544
545 2012-02-27  James Kozianski  <koz@chromium.org>
546
547         [chromium] Plumb extensionGroup into didCreateScriptContext().
548         https://bugs.webkit.org/show_bug.cgi?id=79072
549
550         Reviewed by Darin Fisher.
551
552         * public/WebFrameClient.h:
553         (WebKit::WebFrameClient::didCreateScriptContext):
554         * src/FrameLoaderClientImpl.cpp:
555         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
556         * src/FrameLoaderClientImpl.h:
557         (FrameLoaderClientImpl):
558
559 2012-02-27  Adrienne Walker  <enne@google.com>
560
561         [chromium] Unreviewed gardening, disable TransparencyWinTest unit tests
562         https://bugs.webkit.org/show_bug.cgi?id=79718
563
564         * tests/TransparencyWinTest.cpp:
565
566 2012-02-26  Hajime Morrita  <morrita@chromium.org>
567
568         Move ChromeClient::showContextMenu() to ContextMenuClient
569         https://bugs.webkit.org/show_bug.cgi?id=79427
570
571         Reviewed by Adam Barth.
572
573         * src/ChromeClientImpl.h:
574         (ChromeClientImpl):
575
576 2012-02-26  James Robinson  <jamesr@chromium.org>
577
578         Take 2 build fix.
579
580         * tests/CCLayerTreeHostImplTest.cpp:
581         (WebKit::TEST_F):
582
583 2012-02-26  James Robinson  <jamesr@chromium.org>
584
585         Compile fix for CCLayerTreeHostImpl test.
586
587         * tests/CCLayerTreeHostImplTest.cpp:
588         (WebKit::TEST_F):
589
590 2012-02-26  James Robinson  <jamesr@chromium.org>
591
592         [chromium] Wire up shouldUpdateScrollPositionOnMainThread and nonFastScrollableRegion to compositor
593         https://bugs.webkit.org/show_bug.cgi?id=79155
594
595         Reviewed by Adam Barth.
596
597         Add new tests for shouldScrollOnMainThread and nonFastScrollableRegion properties.
598
599         * tests/CCLayerTreeHostImplTest.cpp:
600         (WebKit::TEST_F):
601         (WebKit):
602         * tests/LayerChromiumTest.cpp:
603
604 2012-02-25  Adrienne Walker  <enne@google.com>
605
606         [chromium] Unreviewed gardening, fix Linux Clang OwnPtr breakage
607         https://bugs.webkit.org/show_bug.cgi?id=78404
608
609         r108886 doesn't compile on Linux Clang due to OwnPtr's public copy
610         constructor (i.e. "has internal linkage but is not defined"). Fixed
611         locally by changing copy initialization to direct initialization.
612
613         * tests/TiledLayerChromiumTest.cpp:
614         (WTF::TEST):
615
616 2012-02-24  Tien-Ren Chen  <trchen@chromium.org>
617
618         [chromium] Replace RefPtr with OwnPtr for CCLayerImpl tree structure
619         https://bugs.webkit.org/show_bug.cgi?id=78404
620
621         Reviewed by James Robinson.
622
623         * tests/CCDamageTrackerTest.cpp:
624         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
625         (WebKitTests::emulateDrawingOneFrame):
626         (WebKitTests::createTestTreeWithOneSurface):
627         (WebKitTests::createTestTreeWithTwoSurfaces):
628         (WebKitTests::createAndSetUpTestTreeWithOneSurface):
629         (WebKitTests::createAndSetUpTestTreeWithTwoSurfaces):
630         (WebKitTests::TEST_F):
631         * tests/CCLayerImplTest.cpp:
632         (WebCore::TEST):
633         * tests/CCLayerIteratorTest.cpp:
634         * tests/CCLayerSorterTest.cpp:
635         (WebCore::TEST):
636         * tests/CCLayerTreeHostCommonTest.cpp:
637         (WebCore::TEST):
638         * tests/CCLayerTreeHostImplTest.cpp:
639         (WebKit::CCLayerTreeHostImplTest::setupScrollAndContentsLayers):
640         (WebKit::TEST_F):
641         (WebKit::DidDrawCheckLayer::create):
642         (WebKit::BlendStateCheckLayer::create):
643         * tests/CCRenderSurfaceTest.cpp:
644         (WebCore::TEST):
645         * tests/CCSolidColorLayerImplTest.cpp:
646         (CCLayerTestCommon::TEST):
647         * tests/CCTiledLayerImplTest.cpp:
648         (CCLayerTestCommon::createLayer):
649         (CCLayerTestCommon::TEST):
650         (CCLayerTestCommon::getQuads):
651         * tests/Canvas2DLayerChromiumTest.cpp:
652         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
653         * tests/TiledLayerChromiumTest.cpp:
654         (WTF::TEST):
655         * tests/TreeSynchronizerTest.cpp:
656         (WebKitTests::MockCCLayerImpl::create):
657         (WebKitTests::MockLayerChromium::createCCLayerImpl):
658         (WebKitTests::expectTreesAreIdentical):
659         (WebKitTests::TEST):
660
661 2012-02-08  James Robinson  <jamesr@chromium.org>
662
663         [chromium] Make WebViewImpl depend on WebLayerTreeView instead of CCLayerTreeHost
664         https://bugs.webkit.org/show_bug.cgi?id=75591
665
666         Reviewed by Kenneth Russell.
667
668         This converts WebViewImpl from depending on CCLayerTreeHost to WebLayerTreeView in order to provide better
669         isolation and allow for future refactorings. The changes to WebViewImpl are mostly mechanical. The
670         WebLayerTreeView and WebLayerTreeViewClient interfaces have both grown and changed slightly:
671
672         - Setup path for WebLayerTreeView changed to expose an initialize() function instead of a create() factory
673         function. The new model is that a WebLayerTreeView when constructed is in a null state. Calling initialize()
674         attempts to re-initialize the WLTV, which can either fail or succeed.  All other functions must be called on a
675         successfully initialized view.
676
677         - WebLayerTreeView expanded to include functionality that CCLayerTreeHost exposes but WebLayerTreeView did not.
678         Some of this is only valid for the single thread case and will be removed when we invert the scheduling control
679         logic, these bits are commented.
680
681         - WebLayerTreeViewClient expanded with some flow-control related APIs.
682
683         Refactor only, no change in behavior.
684
685         * public/platform/WebLayerTreeView.h:
686         (WebKit::WebLayerTreeView::Settings::Settings):
687         (WebKit::WebLayerTreeView::isNull):
688         * public/platform/WebLayerTreeViewClient.h:
689         * src/ChromeClientImpl.cpp:
690         (WebKit::ChromeClientImpl::scheduleCompositingLayerSync):
691         * src/WebLayerTreeView.cpp:
692         (WebKit::WebLayerTreeView::initialize):
693         (WebKit::WebLayerTreeView::compositorIdentifier):
694         (WebKit::WebLayerTreeView::setVisible):
695         (WebKit::WebLayerTreeView::setNeedsAnimate):
696         (WebKit::WebLayerTreeView::updateAnimations):
697         (WebKit::WebLayerTreeView::setNeedsRedraw):
698         (WebKit::WebLayerTreeView::setPageScaleFactorAndLimits):
699         (WebKit::WebLayerTreeView::startPageScaleAnimation):
700         (WebKit::WebLayerTreeView::finishAllRendering):
701         (WebKit::WebLayerTreeView::context):
702         (WebKit::WebLayerTreeView::loseCompositorContext):
703         * src/WebLayerTreeViewImpl.cpp:
704         (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
705         (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
706         (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
707         * src/WebViewImpl.cpp:
708         (WebKit::WebViewImpl::animate):
709         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
710         (WebKit::WebViewImpl::paint):
711         (WebKit::WebViewImpl::composite):
712         (WebKit::WebViewImpl::loseCompositorContext):
713         (WebKit::WebViewImpl::computePageScaleFactorLimits):
714         (WebKit::WebViewImpl::addPageOverlay):
715         (WebKit::WebViewImpl::removePageOverlay):
716         (WebKit::WebViewImpl::setRootGraphicsLayer):
717         (WebKit::WebViewImpl::scheduleCompositingLayerSync):
718         (WebKit::WebViewImpl::scrollRootLayerRect):
719         (WebKit::WebViewImpl::invalidateRootLayerRect):
720         (WebKit::WebViewImpl::scheduleAnimation):
721         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
722         (WebKit::WebViewImpl::createContext3D):
723         (WebKit::WebViewImpl::applyScrollAndScale):
724         (WebKit::WebViewImpl::didRebindGraphicsContext):
725         (WebKit::WebViewImpl::updateLayerTreeViewport):
726         (WebKit::WebViewImpl::graphicsContext3D):
727         (WebKit::WebViewImpl::setVisibilityState):
728         * src/WebViewImpl.h:
729         * tests/WebLayerTest.cpp:
730
731 2012-02-24  Ian Vollick  <vollick@chromium.org>
732
733         [chromium] Plumb animation started notifications from CCLayerTreeHost to GraphicsLayerChromium
734         https://bugs.webkit.org/show_bug.cgi?id=77646
735
736         Reviewed by James Robinson.
737
738         * tests/CCLayerTreeHostTest.cpp:
739         (TestHooks):
740         (WTF::TestHooks::notifyAnimationStarted):
741         (WTF::TestHooks::notifyAnimationFinished):
742         (WTF::MockLayerTreeHost::create):
743         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
744         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
745         (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationStarted):
746         (CCLayerTreeHostTestAddAnimation):
747         (WTF::CCLayerTreeHostTestAddAnimation::notifyAnimationFinished):
748
749 2012-02-24  James Robinson  <jamesr@chromium.org>
750
751         [chromium] WebKit::setColorNames is a client API
752         https://bugs.webkit.org/show_bug.cgi?id=79539
753
754         Reviewed by Darin Fisher.
755
756         * WebKit.gyp:
757         * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
758         (WebKit):
759         * public/platform/WebColorName.h:
760         * src/WebColor.cpp:
761
762 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
763
764         Unreviewed, rolling out r108860.
765         http://trac.webkit.org/changeset/108860
766         https://bugs.webkit.org/show_bug.cgi?id=79544
767
768         "Breaks Linux compile" (Requested by enne on #webkit).
769
770         * WebKit.gyp:
771         * public/platform/WebColorName.h:
772         * src/WebColor.cpp: Renamed from Source/WebKit/chromium/src/WebColorName.cpp.
773         (WebKit):
774         (WebKit::toCSSValueKeyword):
775         (WebKit::setNamedColors):
776
777 2012-02-24  James Robinson  <jamesr@chromium.org>
778
779         [chromium] WebKit::setColorNames is a client API
780         https://bugs.webkit.org/show_bug.cgi?id=79539
781
782         Reviewed by Darin Fisher.
783
784         * WebKit.gyp:
785         * public/WebColorName.h: Renamed from Source/Platform/chromium/public/WebColorName.h.
786         (WebKit):
787         * public/platform/WebColorName.h:
788         * src/WebColor.cpp:
789
790 2012-02-22  James Robinson  <jamesr@chromium.org>
791
792         [chromium] Move WebGraphicsContext3D header into the Platform directory
793         https://bugs.webkit.org/show_bug.cgi?id=79301
794
795         Reviewed by Adam Barth.
796
797         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
798
799         * public/platform/WebGraphicsContext3D.h:
800         * public/platform/WebNonCopyable.h:
801
802 2012-02-24  Michal Mocny  <mmocny@google.com>
803
804         [chromium] Purge Skia's GPU texture cache using GL_CHROMIUM_gpu_memory_manager
805         https://bugs.webkit.org/show_bug.cgi?id=78265
806
807         Reviewed by Stephen White.
808
809         * src/GraphicsContext3DChromium.cpp:
810         (GrMemoryAllocationChangedCallback):
811         (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
812         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
813         (WebCore):
814         (WebCore::GraphicsContext3DPrivate::grContext):
815
816 2012-02-24  James Robinson  <jamesr@chromium.org>
817
818         [chromium] Remove deprecated and unused WebGraphicsContext3D::initialize call
819         https://bugs.webkit.org/show_bug.cgi?id=79296
820
821         Reviewed by Kenneth Russell.
822
823         The old way to initialize a WebGraphicsContext3D from inside WebKit was to call initialize() on it with a
824         WebView*. The new way to do this is via the WebViewClient interface. This deletes the old, unused path.
825
826         * public/platform/WebGraphicsContext3D.h:
827         (WebKit):
828         * tests/CCLayerTreeHostImplTest.cpp:
829         * tests/FakeWebGraphicsContext3D.h:
830
831 2012-02-23  James Robinson  <jamesr@chromium.org>
832
833         [chromium] Move Web*Layer* headers into Platform
834         https://bugs.webkit.org/show_bug.cgi?id=79425
835
836         Reviewed by Adam Barth.
837
838         Adds forwarding headers for Web*Layer* APIs and their dependencies.  The forwarding headers for the Web*Layer*
839         APIs are temporary since Web*Layer* is not exposed in the client interface.  The other headers (such as
840         WebColor) are exposed in both the client and platform APIs, so the forwarding headers are permanent, although we
841         might move them back down to public/ at some point.
842
843         * public/platform/WebCanvas.h:
844         * public/platform/WebColor.h:
845         * public/platform/WebColorName.h:
846         * public/platform/WebContentLayer.h:
847         * public/platform/WebContentLayerClient.h:
848         * public/platform/WebExternalTextureLayer.h:
849         * public/platform/WebLayer.h:
850         * public/platform/WebLayerTreeView.h:
851         * public/platform/WebLayerTreeViewClient.h:
852         * public/platform/WebPrivatePtr.h:
853         * public/platform/WebSolidColorLayer.h:
854
855 2012-02-24  Peter Collingbourne  <peter@pcc.me.uk>
856
857         [chromium] Have WebFrameImpl::selectionAsMarkup create interchange markup.
858         https://bugs.webkit.org/show_bug.cgi?id=77307
859
860         Reviewed by Tony Chang.
861
862         This function is currently used to build markup in order to
863         print the selection, and will also be used to build markup for
864         the clipboard.  Without this change, the markup will refer to
865         (for example) nonexistent CSS classes and invalid relative
866         paths and therefore will not be interpreted correctly.
867
868         Chromium bug: http://crbug.com/23329
869
870         * src/WebFrameImpl.cpp:
871         (WebKit::WebFrameImpl::selectionAsMarkup):
872
873 2012-02-24  Pavel Feldman  <pfeldman@chromium.org>
874
875         Not reviewed: chromium image for inspector status bar button updated.
876
877         * src/js/Images/segmentSelectedEndChromium.png:
878
879 2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
880
881         SpellCheckRequest needs to know the context where the spellcheck happened.
882         https://bugs.webkit.org/show_bug.cgi?id=79320
883
884         Reviewed by Hajime Morita.
885
886         * src/EditorClientImpl.cpp:
887         (WebKit::EditorClientImpl::requestCheckingOfString):
888         * src/EditorClientImpl.h:
889         (EditorClientImpl):
890         * src/WebFrameImpl.cpp:
891         (WebKit::WebFrameImpl::requestTextChecking):
892
893 2012-02-23  Sheriff Bot  <webkit.review.bot@gmail.com>
894
895         Unreviewed.  Rolled DEPS.
896
897         * DEPS:
898
899 2012-02-23  Ian Vollick  <vollick@chromium.org>
900
901         [chromium] Implement keyframed animations for the cc thread.
902         https://bugs.webkit.org/show_bug.cgi?id=77229
903
904         Reviewed by James Robinson.
905
906         * WebKit.gypi:
907         * tests/CCAnimationTestCommon.cpp:
908         (WebCore):
909         (WebCore::addOpacityTransition):
910         (WebKitTests::addOpacityTransitionToController):
911         (WebKitTests::addOpacityTransitionToLayer):
912         * tests/CCAnimationTestCommon.h:
913         (WebCore):
914         (WebKitTests):
915         * tests/CCKeyframedAnimationCurveTest.cpp: Added.
916         (WebCore):
917         (WebCore::expectTranslateX):
918         (WebCore::TEST):
919         * tests/CCLayerAnimationControllerTest.cpp:
920         (WebKitTests::expectTranslateX):
921         (WebKitTests):
922         (WebKitTests::TEST):
923         * tests/CCLayerTreeHostTest.cpp:
924         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
925         (WTF::CCLayerTreeHostTest::doBeginTest):
926
927 2012-02-23  James Robinson  <jamesr@chromium.org>
928
929         [chromium] Clean up GraphicsContext3D initialization paths
930         https://bugs.webkit.org/show_bug.cgi?id=79321
931
932         Reviewed by Kenneth Russell.
933
934         This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
935         contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
936         WebLayerTreeViewImpl.
937
938         Offscreen initialization path:
939         1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
940         2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
941         3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
942         GraphicsContext3D's m_private pointer.
943
944         Onscreen initialization path:
945         1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
946         or WebLayerTreeViewClient, respectively
947         2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
948         GraphicsContext3D's m_private pointer.
949
950         There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
951         within WebCore.
952
953         * src/GraphicsContext3DChromium.cpp:
954         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
955         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
956         (WebCore):
957         (WebCore::GraphicsContext3DPrivate::platformTexture):
958         (WebCore::GraphicsContext3D::create):
959         * src/GraphicsContext3DPrivate.h:
960         (GraphicsContext3DPrivate):
961         * src/WebLayerTreeViewImpl.cpp:
962         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
963         * src/WebViewImpl.cpp:
964         (std::getCompositorContextAttributes):
965         (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
966         (WebKit):
967         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
968         (WebKit::WebViewImpl::graphicsContext3D):
969         * src/WebViewImpl.h:
970         (WebViewImpl):
971         * tests/CCLayerTreeHostImplTest.cpp:
972         (WebKit::CCLayerTreeHostImplTest::createContext):
973         (CCLayerTreeHostImplTest):
974         (WebKit::TEST_F):
975         * tests/CCLayerTreeHostTest.cpp:
976         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
977         * tests/Canvas2DLayerChromiumTest.cpp:
978         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
979         * tests/CompositorFakeGraphicsContext3D.h:
980         (WebCore::createCompositorMockGraphicsContext3D):
981         * tests/FakeGraphicsContext3DTest.cpp:
982         (TEST):
983
984 2012-02-23  Jonathan Backer  <backer@chromium.org>
985
986         [chromium] Plumb video damage to the damage tracker.
987         https://bugs.webkit.org/show_bug.cgi?id=79373
988
989         Reviewed by James Robinson.
990
991         * src/WebMediaPlayerClientImpl.cpp:
992         (WebKit::WebMediaPlayerClientImpl::repaint):
993
994 2012-02-21  James Robinson  <jamesr@chromium.org>
995
996         [chromium] Notify compositor of wheel event registration via ScrollingCoordinator
997         https://bugs.webkit.org/show_bug.cgi?id=79133
998
999         Reviewed by Dimitri Glazkov.
1000
1001         Rips out old wheel event notification and adds unit tests for new LayerChromium property.
1002
1003         * src/NonCompositedContentHost.cpp:
1004         (WebKit::NonCompositedContentHost::setViewport):
1005         * src/WebCompositorInputHandlerImpl.cpp:
1006         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
1007         * src/WebViewImpl.cpp:
1008         (WebKit::WebViewImpl::numberOfWheelEventHandlersChanged):
1009         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1010         * src/WebViewImpl.h:
1011         * tests/CCLayerTreeHostImplTest.cpp:
1012         (WebKit::TEST_F):
1013         (WebKit):
1014         * tests/LayerChromiumTest.cpp:
1015         * tests/WebCompositorInputHandlerImplTest.cpp:
1016
1017 2012-02-23  Adrienne Walker  <enne@google.com>
1018
1019         Unreviewed, rolling out r108666.
1020         http://trac.webkit.org/changeset/108666
1021         https://bugs.webkit.org/show_bug.cgi?id=79321
1022
1023         Breaks webplugin tests: http://goo.gl/CoHIi
1024
1025         * src/GraphicsContext3DChromium.cpp:
1026         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
1027         (WebCore):
1028         (WebCore::GraphicsContext3DPrivate::create):
1029         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
1030         (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
1031         (WebCore::GraphicsContext3DPrivate::platformTexture):
1032         (WebCore::GraphicsContext3D::create):
1033         * src/GraphicsContext3DPrivate.h:
1034         (WebKit):
1035         (GraphicsContext3DPrivate):
1036         * src/WebLayerTreeViewImpl.cpp:
1037         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
1038         * src/WebViewImpl.cpp:
1039         (std::getCompositorContextAttributes):
1040         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1041         (WebKit::WebViewImpl::graphicsContext3D):
1042         * tests/CCLayerTreeHostImplTest.cpp:
1043         (CCLayerTreeHostImplTest):
1044         (WebKit::TEST_F):
1045         * tests/CCLayerTreeHostTest.cpp:
1046         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
1047         * tests/Canvas2DLayerChromiumTest.cpp:
1048         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
1049         * tests/CompositorFakeGraphicsContext3D.h:
1050         (WebCore::createCompositorMockGraphicsContext3D):
1051         * tests/FakeGraphicsContext3DTest.cpp:
1052         (TEST):
1053
1054 2012-02-23  Daniel Sievers  <sievers@chromium.org>
1055
1056         [Chromium] Add video stream texture support
1057         https://bugs.webkit.org/show_bug.cgi?id=78398
1058
1059         This upstreams the abstraction used on Android for
1060         hardware video decoding with the compositor.
1061
1062         Most of the interfaces are kept generic and the core
1063         of this change is to allow texturing from an external
1064         texture while receiving notifications (on the compositor
1065         thread if we are running it) when there are new frames to
1066         be displayed.
1067
1068         Reviewed by James Robinson.
1069
1070         * WebKit.gyp:
1071         * public/WebMediaPlayer.h:
1072         (WebKit):
1073         (WebKit::WebMediaPlayer::setStreamTextureClient):
1074         (WebMediaPlayer):
1075         * public/WebStreamTextureClient.h: Copied from Source/WebKit/chromium/public/WebVideoFrame.h.
1076         (WebKit):
1077         (WebStreamTextureClient):
1078         (WebKit::WebStreamTextureClient::~WebStreamTextureClient):
1079         * public/WebVideoFrame.h:
1080         * src/WebMediaPlayerClientImpl.cpp:
1081         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
1082         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
1083         (WebKit::WebMediaPlayerClientImpl::didReceiveFrame):
1084         (WebKit):
1085         (WebKit::WebMediaPlayerClientImpl::didUpdateMatrix):
1086         * src/WebMediaPlayerClientImpl.h:
1087         (WebMediaPlayerClientImpl):
1088
1089 2012-02-22  James Robinson  <jamesr@chromium.org>
1090
1091         [chromium] Clean up GraphicsContext3D initialization paths
1092         https://bugs.webkit.org/show_bug.cgi?id=79321
1093
1094         Reviewed by Kenneth Russell.
1095
1096         This simplifies the GraphicsContext3D initialization paths down to two simple codepaths, one for offscreen
1097         contexts initialized from WebCore and one for onscreen (compositor) contexts initialized by WebViewImpl or
1098         WebLayerTreeViewImpl.
1099
1100         Offscreen initialization path:
1101         1) WebCore code calls WebCore::GraphicsContext3D::create(), implemented in GraphicsContext3DChromium.cpp
1102         2) GraphicsContext3D::create() instantiates a WebGraphicsContext3D via the static WebKitPlatformSupport interface
1103         3) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
1104         GraphicsContext3D's m_private pointer.
1105
1106         Onscreen initialization path:
1107         1) WebViewImpl or WebLayerTreeViewImpl request an onscreen WebGraphicsContext3D from either their WebViewClient
1108         or WebLayerTreeViewClient, respectively
1109         2) GraphicsContext3DPrivate::createGraphicsContextFromWebContext() wraps the WebGraphicsContext3D in a
1110         GraphicsContext3D's m_private pointer.
1111
1112         There are no other initialization paths. Specifically, we do not support instantiating onscreen contexts from
1113         within WebCore.
1114
1115         * src/GraphicsContext3DChromium.cpp:
1116         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
1117         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
1118         (WebCore):
1119         (WebCore::GraphicsContext3DPrivate::platformTexture):
1120         (WebCore::GraphicsContext3D::create):
1121         * src/GraphicsContext3DPrivate.h:
1122         (GraphicsContext3DPrivate):
1123         * src/WebLayerTreeViewImpl.cpp:
1124         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
1125         * src/WebViewImpl.cpp:
1126         (std::getCompositorContextAttributes):
1127         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1128         (WebKit::WebViewImpl::graphicsContext3D):
1129         * tests/CCLayerTreeHostImplTest.cpp:
1130         (WebKit::CCLayerTreeHostImplTest::createContext):
1131         (CCLayerTreeHostImplTest):
1132         (WebKit::TEST_F):
1133         * tests/CCLayerTreeHostTest.cpp:
1134         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
1135         * tests/Canvas2DLayerChromiumTest.cpp:
1136         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
1137         * tests/CompositorFakeGraphicsContext3D.h:
1138         (WebCore::createCompositorMockGraphicsContext3D):
1139         * tests/FakeGraphicsContext3DTest.cpp:
1140         (TEST):
1141
1142 2012-02-23  Greg Billock  <gbillock@google.com>
1143
1144         Add UserGestureIndicator capability to Chromium API.
1145         https://bugs.webkit.org/show_bug.cgi?id=77690
1146
1147         Reviewed by Darin Fisher.
1148
1149         * WebKit.gyp:
1150         * public/WebScopedUserGesture.h: Added.
1151         * src/WebScopedUserGesture.cpp: Added.
1152
1153 2012-02-23  Peter Beverloo  <peter@chromium.org>
1154
1155         Unreviewed, rolling out r108627 and r108630.
1156         https://bugs.webkit.org/show_bug.cgi?id=79367
1157
1158         ffmpeg is creating issues and was just reverted upstream as well.
1159
1160         * DEPS:
1161
1162 2012-02-23  Peter Beverloo  <peter@chromium.org>
1163
1164         Unreviewed build fix. Remove the ffmpeg binary directory from the
1165         Chromium-Windows DEPS file, following the commit done in the
1166         Chromium repository:
1167         http://src.chromium.org/viewvc/chrome?view=rev&revision=123123
1168
1169         * DEPS:
1170
1171 2012-02-23  Peter Beverloo  <peter@chromium.org>
1172
1173         Unreviewed.  Rolled DEPS.
1174
1175         * DEPS:
1176
1177 2012-02-22  Hajime Morrita  <morrita@chromium.org>
1178
1179         NOTIFICATIONS should be implemented as PageSupplement
1180         https://bugs.webkit.org/show_bug.cgi?id=79052
1181
1182         Reviewed by Adam Barth.
1183
1184         * src/WebViewImpl.cpp:
1185         (WebKit::WebViewImpl::WebViewImpl):
1186
1187 2012-02-22  Dana Jansens  <danakj@chromium.org>
1188
1189         [chromium] Add unit test for surface occlusion
1190         https://bugs.webkit.org/show_bug.cgi?id=79302
1191
1192         Reviewed by James Robinson.
1193
1194         * tests/CCOcclusionTrackerTest.cpp:
1195         (WebCore::TEST):
1196         (WebCore):
1197
1198 2012-02-22  James Robinson  <jamesr@chromium.org>
1199
1200         Remove GraphicsContext3D::paintsIntoCanvasBuffer and unify WebGL and canvas 2d logic
1201         https://bugs.webkit.org/show_bug.cgi?id=79317
1202
1203         Reviewed by Kenneth Russell.
1204
1205         Remove paintsIntoCanvasBuffer() implementations.
1206
1207         * src/GraphicsContext3DChromium.cpp:
1208         (WebCore):
1209         * src/GraphicsContext3DPrivate.h:
1210
1211 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
1212
1213         Unreviewed, rolling out r108590.
1214         http://trac.webkit.org/changeset/108590
1215
1216         I mistakenly disabled tests even though the fix was already
1217         in.
1218
1219         * tests/CCOcclusionTrackerTest.cpp:
1220         (WebCore::TEST):
1221
1222 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
1223
1224         [Chromium] Unreviewed. Disable two tests from CCOcclusionTrackerTest
1225         which cause assertion failures.
1226
1227         * tests/CCOcclusionTrackerTest.cpp:
1228         (WebCore):
1229         (WebCore::TEST):
1230
1231 2012-02-22  Dana Jansens  <danakj@chromium.org>
1232
1233         [chromium] Fix CCOcclusionTracker unit test assertion
1234         https://bugs.webkit.org/show_bug.cgi?id=79275
1235
1236         Reviewed by James Robinson.
1237
1238         * tests/CCOcclusionTrackerTest.cpp:
1239         (WebCore::TEST):
1240
1241 2012-02-22  Ian Vollick  <vollick@chromium.org>
1242
1243         [chromium] Plumb from GraphicsLayer to the cc thread animation code
1244         https://bugs.webkit.org/show_bug.cgi?id=75874
1245
1246         Reviewed by James Robinson.
1247
1248         * WebKit.gypi:
1249         * public/WebSettings.h:
1250         * public/platform/WebLayerTreeView.h:
1251         (WebKit::WebLayerTreeView::Settings::Settings):
1252         (Settings):
1253         * src/WebLayerTreeView.cpp:
1254         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1255         * src/WebSettingsImpl.cpp:
1256         (WebKit::WebSettingsImpl::setThreadedAnimationEnabled):
1257         (WebKit):
1258         * src/WebSettingsImpl.h:
1259         (WebSettingsImpl):
1260         * src/WebViewImpl.cpp:
1261         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1262         * tests/CCActiveAnimationTest.cpp:
1263         (WebCore::createActiveAnimation):
1264         * tests/CCAnimationTestCommon.cpp: Added.
1265         (WebKitTests):
1266         (WebKitTests::FakeFloatAnimationCurve::FakeFloatAnimationCurve):
1267         (WebKitTests::FakeFloatAnimationCurve::~FakeFloatAnimationCurve):
1268         (WebKitTests::FakeFloatAnimationCurve::clone):
1269         (WebKitTests::FakeTransformTransition::FakeTransformTransition):
1270         (WebKitTests::FakeTransformTransition::~FakeTransformTransition):
1271         (WebKitTests::FakeTransformTransition::getValue):
1272         (WebKitTests::FakeTransformTransition::clone):
1273         (WebKitTests::FakeFloatTransition::FakeFloatTransition):
1274         (WebKitTests::FakeFloatTransition::~FakeFloatTransition):
1275         (WebKitTests::FakeFloatTransition::getValue):
1276         (WebKitTests::FakeLayerAnimationControllerImplClient::FakeLayerAnimationControllerImplClient):
1277         (WebKitTests::FakeLayerAnimationControllerImplClient::~FakeLayerAnimationControllerImplClient):
1278         (WebKitTests::FakeFloatTransition::clone):
1279         (WebKitTests::addOpacityTransition):
1280         * tests/CCAnimationTestCommon.h: Added.
1281         (WebCore):
1282         (WebKitTests):
1283         (FakeFloatAnimationCurve):
1284         (WebKitTests::FakeFloatAnimationCurve::duration):
1285         (WebKitTests::FakeFloatAnimationCurve::getValue):
1286         (FakeTransformTransition):
1287         (WebKitTests::FakeTransformTransition::duration):
1288         (FakeFloatTransition):
1289         (WebKitTests::FakeFloatTransition::duration):
1290         (FakeLayerAnimationControllerImplClient):
1291         (WebKitTests::FakeLayerAnimationControllerImplClient::id):
1292         (WebKitTests::FakeLayerAnimationControllerImplClient::opacity):
1293         (WebKitTests::FakeLayerAnimationControllerImplClient::setOpacity):
1294         (WebKitTests::FakeLayerAnimationControllerImplClient::transform):
1295         (WebKitTests::FakeLayerAnimationControllerImplClient::setTransform):
1296         (WebKitTests::FakeLayerAnimationControllerImplClient::bounds):
1297         * tests/CCLayerAnimationControllerImplTest.cpp:
1298         (WebKitTests::createActiveAnimation):
1299         (WebKitTests::TEST):
1300         * tests/CCLayerAnimationControllerTest.cpp: Added.
1301         (WebKitTests):
1302         (WebKitTests::createActiveAnimation):
1303         (WebKitTests::TEST):
1304         * tests/CCLayerTreeHostImplTest.cpp:
1305         (WebKit::CCLayerTreeHostImplTest::postAnimationEventsToMainThreadOnImplThread):
1306         * tests/CCLayerTreeHostTest.cpp:
1307         (WTF::TestHooks::animateLayers):
1308         (MockLayerTreeHostImpl):
1309         (WTF::MockLayerTreeHostImpl::animateLayers):
1310         (WTF::MockLayerTreeHost::create):
1311         (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
1312         (WTF):
1313         (MockLayerAnimationController):
1314         (WTF::MockLayerAnimationController::create):
1315         (WTF::MockLayerAnimationController::addAnimation):
1316         (WTF::MockLayerTreeHostClient::scheduleComposite):
1317         (WTF::CCLayerTreeHostTest::postAddAnimationToMainThread):
1318         (CCLayerTreeHostTest):
1319         (WTF::CCLayerTreeHostTest::dispatchAddAnimation):
1320         (WTF::CCLayerTreeHostTest::doBeginTest):
1321         (CCLayerTreeHostTestAddAnimation):
1322         (WTF::CCLayerTreeHostTestAddAnimation::CCLayerTreeHostTestAddAnimation):
1323         (WTF::CCLayerTreeHostTestAddAnimation::beginTest):
1324         (WTF::CCLayerTreeHostTestAddAnimation::animateLayers):
1325         (WTF::CCLayerTreeHostTestAddAnimation::afterTest):
1326         (WTF::TEST_F):
1327         * tests/TreeSynchronizerTest.cpp:
1328         (FakeLayerAnimationController):
1329         (WebKitTests::FakeLayerAnimationController::create):
1330         (WebKitTests::FakeLayerAnimationController::synchronizedAnimations):
1331         (WebKitTests::FakeLayerAnimationController::FakeLayerAnimationController):
1332         (WebKitTests::FakeLayerAnimationController::synchronizeAnimations):
1333         (WebKitTests):
1334         (WebKitTests::TEST):
1335
1336 2012-02-21  Ryosuke Niwa  <rniwa@webkit.org>
1337
1338         Remove the remaining uses of CSSStyleDeclaration in Editor
1339         https://bugs.webkit.org/show_bug.cgi?id=78939
1340
1341         Reviewed by Enrica Casucci.
1342
1343         * src/EditorClientImpl.cpp:
1344         (WebKit::EditorClientImpl::shouldApplyStyle):
1345         * src/EditorClientImpl.h:
1346         (EditorClientImpl):
1347
1348 2012-02-22  Daniel Cheng  <dcheng@chromium.org>
1349
1350         [chromium] Cleanup unused WebDragData methods after r107846
1351         https://bugs.webkit.org/show_bug.cgi?id=78837
1352
1353         Reviewed by Tony Chang.
1354
1355         The deleted methods have been replaced by items() and setItems().
1356
1357         * public/platform/WebDragData.h:
1358         (WebDragData):
1359         * src/WebDragData.cpp:
1360         (WebKit::WebDragData::addItem): Add ensureMutable() call to verify preconditions for
1361                                         mutating the item store.
1362
1363 2012-02-22  Tim Dresser  <tdresser@chromium.org>
1364
1365         CCLayerTreeHostImpl calls didDraw more frequently than willDraw
1366         https://bugs.webkit.org/show_bug.cgi?id=79139
1367
1368         Reviewed by James Robinson.
1369
1370         * tests/CCLayerTreeHostImplTest.cpp:
1371         (WebKit::DidDrawCheckLayer::willDraw):
1372         (DidDrawCheckLayer):
1373         (WebKit::DidDrawCheckLayer::willDrawCalled):
1374         (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
1375         (WebKit::TEST_F):
1376         (WebKit):
1377
1378 2012-02-22  Dana Jansens  <danakj@chromium.org>
1379
1380         [Chromium] New CCOcclusionTracker class with tests
1381         https://bugs.webkit.org/show_bug.cgi?id=78549
1382
1383         Reviewed by James Robinson.
1384
1385         * WebKit.gypi:
1386         * tests/CCLayerTreeHostCommonTest.cpp:
1387         (WebCore):
1388         * tests/CCOcclusionTrackerTest.cpp: Added.
1389         (WebCore):
1390         (WebCore::setLayerPropertiesForTesting):
1391         (LayerChromiumWithForcedDrawsContent):
1392         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
1393         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
1394         (TestCCOcclusionTracker):
1395         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
1396         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
1397         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
1398         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
1399         (WebCore::TEST):
1400
1401 2012-02-22  Hao Zheng  <zhenghao@chromium.org>
1402
1403         [chromium] Build WebKit with MEDIA_STREAM disabled.
1404         https://bugs.webkit.org/show_bug.cgi?id=79214
1405
1406         Reviewed by Kent Tamura.
1407
1408         * src/UserMediaClientImpl.h:
1409
1410 2012-02-20  Roland Steiner  <rolandsteiner@chromium.org>
1411
1412         <style scoped>: Add runtime-flag
1413         https://bugs.webkit.org/show_bug.cgi?id=79074
1414
1415         Added a runtime-flag.
1416         Enable default STYLE_SCOPED compile-time flag for Chromium.
1417
1418         Reviewed by Dimitri Glazkov.
1419
1420         * features.gypi: enable STYLE_SCOPED
1421         * public/WebRuntimeFeatures.h:
1422         (WebRuntimeFeatures):
1423         * src/WebRuntimeFeatures.cpp:
1424         (WebKit::WebRuntimeFeatures::enableStyleScoped):
1425         (WebKit):
1426         (WebKit::WebRuntimeFeatures::isStyleScopedEnabled):
1427
1428 2012-02-22  Yuta Kitamura  <yutak@chromium.org>
1429
1430         Unreviewed, rolling out r108453.
1431         http://trac.webkit.org/changeset/108453
1432         https://bugs.webkit.org/show_bug.cgi?id=78549
1433
1434         Broke Chromium's webkit_unit_tests.
1435
1436         * WebKit.gypi:
1437         * tests/CCLayerTreeHostCommonTest.cpp:
1438         (WebCore::TEST):
1439         (WebCore):
1440         * tests/CCOcclusionTrackerTest.cpp: Removed.
1441
1442 2012-02-22  Ryosuke Niwa  <rniwa@webkit.org>
1443
1444         Remove the remaining uses of CSSStyleDeclaration in Editor
1445         https://bugs.webkit.org/show_bug.cgi?id=78939
1446
1447         Reviewed by Enrica Casucci.
1448
1449         * src/EditorClientImpl.cpp:
1450         (WebKit::EditorClientImpl::shouldApplyStyle):
1451         * src/EditorClientImpl.h:
1452         (EditorClientImpl):
1453
1454 2012-02-22  Dana Jansens  <danakj@chromium.org>
1455
1456         [chromium] Cull quads outside of the scissoring damage rect
1457         https://bugs.webkit.org/show_bug.cgi?id=79181
1458
1459         Reviewed by James Robinson.
1460
1461         * tests/CCQuadCullerTest.cpp:
1462         (WebCore::TEST):
1463         (WebCore):
1464
1465 2012-02-21  Dana Jansens  <danakj@chromium.org>
1466
1467         [Chromium] New CCOcclusionTracker class with tests
1468         https://bugs.webkit.org/show_bug.cgi?id=78549
1469
1470         Reviewed by James Robinson.
1471
1472         * WebKit.gypi:
1473         * tests/CCLayerTreeHostCommonTest.cpp:
1474         (WebCore):
1475         * tests/CCOcclusionTrackerTest.cpp: Added.
1476         (WebCore):
1477         (WebCore::setLayerPropertiesForTesting):
1478         (LayerChromiumWithForcedDrawsContent):
1479         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
1480         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
1481         (TestCCOcclusionTracker):
1482         (WebCore::TestCCOcclusionTracker::occlusionInScreenSpace):
1483         (WebCore::TestCCOcclusionTracker::occlusionInTargetSurface):
1484         (WebCore::TestCCOcclusionTracker::setOcclusionInScreenSpace):
1485         (WebCore::TestCCOcclusionTracker::setOcclusionInTargetSurface):
1486         (WebCore::TEST):
1487
1488 2012-02-21  MORITA Hajime  <morrita@google.com>
1489
1490         INPUT_SPEECH should be implemented as a PageSupplement.
1491         https://bugs.webkit.org/show_bug.cgi?id=79051
1492
1493         Reviewed by Adam Barth.
1494
1495         * src/WebViewImpl.cpp:
1496         (WebKit::WebViewImpl::WebViewImpl):
1497
1498 2012-02-20  MORITA Hajime  <morrita@google.com>
1499
1500         MEDIA_STREAM should be implemented as a PageSupplement.
1501         https://bugs.webkit.org/show_bug.cgi?id=79050
1502
1503         Reviewed by Adam Barth.
1504
1505         * src/WebViewImpl.cpp:
1506         (WebKit::WebViewImpl::WebViewImpl):
1507
1508 2012-02-21  Dana Jansens  <danakj@chromium.org>
1509
1510         [chromium] Painting a layer clears opaque rect in untouched tiles
1511         https://bugs.webkit.org/show_bug.cgi?id=79157
1512
1513         Reviewed by James Robinson.
1514
1515         * tests/TiledLayerChromiumTest.cpp:
1516         (WTF::TEST):
1517
1518 2012-02-21  James Robinson  <jamesr@chromium.org>
1519
1520         Enable ScrollingCoordinator in chromium whenever compositing is enabled
1521         https://bugs.webkit.org/show_bug.cgi?id=79165
1522
1523         Reviewed by Adam Barth.
1524
1525         * src/NonCompositedContentHost.cpp:
1526         (WebKit::NonCompositedContentHost::setViewport):
1527             Whenever the ScrollingCoordinator is enabled the scroll layer's position is expected to be updated
1528             externally to RenderLayerCompositor, so set it here.
1529         * src/WebSettingsImpl.cpp:
1530         (WebKit::WebSettingsImpl::setAcceleratedCompositingEnabled):
1531
1532 2012-02-21  Daniel Cheng  <dcheng@chromium.org>
1533
1534         [chromium] Fix image drag out on Chromium
1535         https://bugs.webkit.org/show_bug.cgi?id=79158
1536
1537         Reviewed by Tony Chang.
1538
1539         We constructed the WebDragData::Item for dragging out an image but never added it to the
1540         item list. This is normally covered by the fast/events/drag-image-filename.html layout test,
1541         but the bug wasn't caught in the original patch since the implementations in Chrome and DRT
1542         had diverged.
1543
1544         * src/WebDragData.cpp:
1545         (WebKit::WebDragData::items):
1546
1547 2012-02-21  David Grogan  <dgrogan@chromium.org>
1548
1549         IndexedDB: webFrame isn't threadsafe, don't use it from a worker thread
1550         https://bugs.webkit.org/show_bug.cgi?id=78659
1551
1552         After crrev.com/121669, indexed db doesn't use the web frame for
1553         anything if called from a web worker.
1554
1555         No new tests - this check was defensive and possibly not ever
1556         triggered.
1557
1558         Reviewed by Tony Chang.
1559
1560         * src/IDBFactoryBackendProxy.cpp:
1561         (WebKit::IDBFactoryBackendProxy::openFromWorker):
1562
1563 2012-02-21  Yury Semikhatsky  <yurys@chromium.org>
1564
1565         [V8] Web Inspector: set breakpoint/pause doesn't work when worker is in a tight loop
1566         https://bugs.webkit.org/show_bug.cgi?id=79097
1567
1568         Worker script execution will be interrupted for dispatching inspector commands.
1569
1570         Reviewed by Pavel Feldman.
1571
1572         * src/WebSharedWorkerImpl.cpp:
1573         (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
1574
1575 2012-02-20  Peter Beverloo  <peter@chromium.org>
1576
1577         Unreviewed.  Rolled DEPS.
1578
1579         * DEPS:
1580
1581 2012-02-20  Kenichi Ishibashi  <bashi@chromium.org>
1582
1583         [WebSocket] Add deflater/inflater classes
1584         https://bugs.webkit.org/show_bug.cgi?id=78449
1585
1586         Add tests which ensure WebSocketDeflater/WebSocketInflater can
1587         compress/decompress data correctly.
1588
1589         Reviewed by Kent Tamura.
1590
1591         * WebKit.gypi: Added zlib dependency.
1592         * WebKitUnitTests.gyp: Ditto.
1593         * tests/WebSocketDeflaterTest.cpp: Added.
1594         (WebCore):
1595         (WebCore::TEST):
1596
1597 2012-02-17  Yury Semikhatsky  <yurys@chromium.org>
1598
1599         [Chromium] Web Inspector: terminated workers are not removed from dedicated worker list
1600         https://bugs.webkit.org/show_bug.cgi?id=78899
1601
1602         Pass original WorkerContextProxy object to the inspector instrumentation instead
1603         of Chromium-specific one for consistency with WorkerMessagingProxy implementation
1604         in WebCore.
1605
1606         Reviewed by Pavel Feldman.
1607
1608         * src/WebWorkerClientImpl.cpp:
1609         (WebKit::WebWorkerClientImpl::startWorkerContext):
1610
1611 2012-02-18  raman Tenneti  <rtenneti@chromium.org>
1612
1613         Track the NPN protocol version negotiated with the server
1614         https://bugs.webkit.org/show_bug.cgi?id=77349
1615
1616         Reviewed by Darin Fisher.
1617
1618         [chromium] Added ExtraData to WebURLResponse.
1619
1620         * WebKit.gypi:
1621         * public/platform/WebURLResponse.h:
1622         (ExtraData):
1623         (WebKit::WebURLResponse::ExtraData::~ExtraData):
1624         (WebURLResponse):
1625         * src/WebURLResponse.cpp:
1626         (WebKit::WebURLResponse::extraData):
1627         (WebKit):
1628         (WebKit::WebURLResponse::setExtraData):
1629         * tests/WebURLResponseTest.cpp: Added.
1630         (WebKit):
1631         (TestExtraData):
1632         (WebKit::TestExtraData::TestExtraData):
1633         (WebKit::TestExtraData::~TestExtraData):
1634         (WebKit::TEST):
1635
1636 2012-02-17  Joshua Bell  <jsbell@chromium.org>
1637
1638         IndexedDB: Support overloaded methods that take IDBKey or IDBKeyRange
1639         https://bugs.webkit.org/show_bug.cgi?id=78399
1640
1641         Implements the WebKit API for IDBObjectStore.delete(IDBKeyRange),
1642         to exercise the overload capability.
1643
1644         Reviewed by Tony Chang.
1645
1646         * src/IDBObjectStoreBackendProxy.cpp:
1647         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
1648         (WebKit):
1649         * src/IDBObjectStoreBackendProxy.h:
1650         (IDBObjectStoreBackendProxy):
1651         * src/WebIDBObjectStoreImpl.cpp:
1652         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
1653         (WebKit):
1654         * src/WebIDBObjectStoreImpl.h:
1655         (WebIDBObjectStoreImpl):
1656
1657 2012-02-17  Michal Mocny  <mmocny@google.com>
1658
1659         [chromium] GL_CHROMIUM_gpu_memory_manager extension
1660         https://bugs.webkit.org/show_bug.cgi?id=77155
1661
1662         Reviewed by James Robinson.
1663
1664         * public/platform/WebGraphicsContext3D.h:
1665         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
1666         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
1667         (WebGraphicsContext3D):
1668         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
1669         * src/Extensions3DChromium.cpp:
1670         (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
1671         (WebCore):
1672         * src/GraphicsContext3DChromium.cpp:
1673         (WebCore::GraphicsContext3D::~GraphicsContext3D):
1674         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1675         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1676         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1677         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
1678         (WebCore):
1679         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
1680         * src/GraphicsContext3DPrivate.h:
1681         (WebCore):
1682         * tests/FakeWebGraphicsContext3D.h:
1683         (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
1684         (FakeWebGraphicsContext3D):
1685
1686 2012-02-17  Mihnea Ovidenie  <mihnea@adobe.com>
1687
1688         CSS regions enabled by default
1689         https://bugs.webkit.org/show_bug.cgi?id=78525
1690
1691         Reviewed by David Hyatt.
1692
1693         Add a runtime preference to enable/disable regions functionality at runtime(WebKitCSSRegionsEnabled).
1694         CSSRegions are still enabled by default.
1695         In DRT, use layoutTestController.overridePreference("WebKitCSSRegionsEnabled", "0") to disable the css regions functionality.
1696
1697         * public/WebSettings.h:
1698         * src/WebSettingsImpl.cpp:
1699         (WebKit::WebSettingsImpl::setExperimentalCSSRegionsEnabled):
1700         (WebKit):
1701         * src/WebSettingsImpl.h:
1702         (WebSettingsImpl):
1703
1704 2012-02-17  Scott Graham  <scottmg@chromium.org>
1705
1706         [Chromium] pack Gamepad shared memory structure
1707         https://bugs.webkit.org/show_bug.cgi?id=78022
1708
1709         Reviewed by Darin Fisher.
1710
1711         Add #pragma pack around definition of shared memory structures to
1712         avoid differences across compilers and platforms. Add COMPILE_ASSERT
1713         to verify expected size.
1714
1715         * public/platform/WebGamepad.h:
1716         (WebKit):
1717         * public/platform/WebGamepads.h:
1718         (WebKit):
1719
1720 2012-02-17  Tim Dresser  <tdresser@chromium.org>
1721
1722         [chromium] Refactor video drawing to be more data driven
1723         https://bugs.webkit.org/show_bug.cgi?id=76720
1724
1725         Reviewed by James Robinson.
1726
1727         CCLayerTreeHostImplTest.didDrawCalledOnAllLayers ensures that
1728         CCLayerImpl::didDraw() is called on all layers, including layers
1729         on different render surfaces.
1730
1731         * tests/CCLayerTreeHostImplTest.cpp:
1732         (DidDrawCheckLayer):
1733         (WebKit::DidDrawCheckLayer::create):
1734         (WebKit::DidDrawCheckLayer::didDraw):
1735         (WebKit::DidDrawCheckLayer::didDrawCalled):
1736         (WebKit::DidDrawCheckLayer::DidDrawCheckLayer):
1737         (WebKit):
1738         (WebKit::TEST_F):
1739
1740 2012-02-17  Ilya Tikhonovsky  <loislo@chromium.org>
1741
1742         Unreviewed, rolling out r108071.
1743         http://trac.webkit.org/changeset/108071
1744         https://bugs.webkit.org/show_bug.cgi?id=77155
1745
1746         chromium-mac compilation failed
1747
1748         * public/platform/WebGraphicsContext3D.h:
1749         (WebGraphicsContext3D):
1750         * src/Extensions3DChromium.cpp:
1751         * src/GraphicsContext3DChromium.cpp:
1752         (WebCore::GraphicsContext3D::~GraphicsContext3D):
1753         * src/GraphicsContext3DPrivate.h:
1754         (WebCore):
1755         * tests/FakeWebGraphicsContext3D.h:
1756
1757 2012-02-17  Michal Mocny  <mmocny@google.com>
1758
1759         [chromium] GL_CHROMIUM_gpu_memory_manager extension
1760         https://bugs.webkit.org/show_bug.cgi?id=77155
1761
1762         Reviewed by James Robinson.
1763
1764         * public/platform/WebGraphicsContext3D.h:
1765         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
1766         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
1767         (WebGraphicsContext3D):
1768         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
1769         * src/Extensions3DChromium.cpp:
1770         (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
1771         (WebCore):
1772         * src/GraphicsContext3DChromium.cpp:
1773         (WebCore::GraphicsContext3D::~GraphicsContext3D):
1774         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1775         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1776         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
1777         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
1778         (WebCore):
1779         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
1780         * src/GraphicsContext3DPrivate.h:
1781         (WebCore):
1782         * tests/FakeWebGraphicsContext3D.h:
1783         (WebKit::FakeWebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
1784         (FakeWebGraphicsContext3D):
1785
1786 2012-02-17  Ilya Tikhonovsky  <loislo@chromium.org>
1787
1788         Unreviewed. Chromium DEPS roll
1789
1790         * DEPS: from 122122 to 122498
1791
1792 2012-02-16  Alexandre Elias  <aelias@google.com>
1793
1794         [chromium] Bundle page scale factor and limits in CCLayerTreeHost
1795         https://bugs.webkit.org/show_bug.cgi?id=78762
1796
1797         Setting page scale factor and its limits in separate methods
1798         may cause clamping bugs if one of them makes it to the
1799         impl thread before the other.  Change the API to bundle them together,
1800         which matches the existing impl-side interface.
1801
1802         Reviewed by James Robinson.
1803
1804         * src/WebViewImpl.cpp:
1805         (WebKit::WebViewImpl::computePageScaleFactorLimits):
1806         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1807         (WebKit::WebViewImpl::updateLayerTreeViewport):
1808         * tests/CCLayerTreeHostTest.cpp:
1809         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
1810
1811 2012-02-16  Varun Jain  <varunjain@google.com>
1812
1813         [Chromium] Add method to WebViewImpl to extract zoom/scroll params for gesture events on touch devices
1814         https://bugs.webkit.org/show_bug.cgi?id=72909
1815
1816         Reviewed by James Robinson.
1817
1818         * src/WebViewImpl.cpp:
1819         (std):
1820         (WebKit):
1821         (WebKit::WebViewImpl::computeBlockBounds):
1822         (WebKit::WebViewImpl::widenRectWithinPageBounds):
1823         (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
1824         * src/WebViewImpl.h:
1825         (WebViewImpl):
1826         * tests/WebFrameTest.cpp:
1827         (WebKit):
1828         (WebKit::TEST_F):
1829         * tests/data/get_scale_for_auto_zoom_into_div_test.html: Added.
1830
1831 2012-02-16  Sami Kyostila  <skyostil@chromium.org>
1832
1833         [chromium] LayerChromium::setNeedsDisplay does not apply contents scale correctly
1834         https://bugs.webkit.org/show_bug.cgi?id=77464
1835
1836         Added a new unit test for TiledLayerChromium to verify its invalidation behavior when
1837         the contents scale changes. Also enhance and existing unit test for LayerChromium to
1838         verify the paint rectangle dimensions instead just checking that it is not empty.
1839
1840         Reviewed by James Robinson.
1841
1842         * tests/LayerChromiumTest.cpp:
1843         * tests/TiledLayerChromiumTest.cpp:
1844         (WTF::FakeTiledLayerChromium::setNeedsDisplayRect):
1845         (FakeTiledLayerChromium):
1846         (WTF::FakeTiledLayerChromium::lastNeedsDisplayRect):
1847         (WTF::TEST):
1848         (WTF):
1849
1850 2012-02-16  MORITA Hajime  <morrita@google.com>
1851
1852         https://bugs.webkit.org/show_bug.cgi?id=78065
1853         [Chromium] Should eliminate WebTextCheckingResult legacy APIs
1854
1855         Reviewed by Kent Tamura.
1856
1857         Removed unused legacy members.
1858
1859         * public/WebTextCheckingResult.h:
1860         (WebKit::WebTextCheckingResult::WebTextCheckingResult):
1861         (WebTextCheckingResult):
1862         * src/AssertMatchingEnums.cpp:
1863
1864 2012-02-16  Evan Martin  <evan@chromium.org>
1865
1866         [chromium] pull third_party/gold to fix linux build
1867         https://bugs.webkit.org/show_bug.cgi?id=78842
1868
1869         Reviewed by Tony Chang.
1870
1871         The Chrome build now depends on third_party/gold also being checked out.
1872
1873         * DEPS:
1874
1875 2012-02-15  Michael Nordman  <michaeln@google.com>
1876
1877         Fix bugs in the implementation of WebDatabase::closeDatabaseImmediately.
1878         https://bugs.webkit.org/show_bug.cgi?id=78841
1879
1880         WebDatabase now delegates this function entirely to DatabaseTracker.
1881         This is part of resolving http://crbug.com/98939
1882
1883         Reviewed by David Levin.
1884
1885         * src/WebDatabase.cpp:
1886         (WebKit::WebDatabase::closeDatabaseImmediately):
1887
1888 2012-02-16  Dana Jansens  <danakj@chromium.org>
1889
1890         [Chromium] Occlusion tracking with CSS filters
1891         https://bugs.webkit.org/show_bug.cgi?id=77498
1892
1893         Reviewed by James Robinson.
1894
1895         * tests/CCLayerTreeHostTest.cpp:
1896         (CCLayerTreeHostTestLayerOcclusionWithFilters):
1897         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::CCLayerTreeHostTestLayerOcclusionWithFilters):
1898         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::beginTest):
1899         (WTF::CCLayerTreeHostTestLayerOcclusionWithFilters::afterTest):
1900         (WTF):
1901
1902 2012-02-16  Joshua Bell  <jsbell@chromium.org>
1903
1904         IndexedDB: Chromium WebKit API support for IDBObjectStore.delete(IDBKeyRange)
1905         https://bugs.webkit.org/show_bug.cgi?id=78619
1906
1907         Add an overload to WebIDBObjectStore::deleteFunction(). First part of a two-sided patch.
1908
1909         Reviewed by Darin Fisher.
1910
1911         * public/WebIDBObjectStore.h:
1912         (WebKit::WebIDBObjectStore::deleteFunction):
1913
1914 2012-02-16  Dana Jansens  <danakj@chromium.org>
1915
1916         [chromium] Clipping/Transforms applied in wrong order in opaque paint tracking
1917         https://bugs.webkit.org/show_bug.cgi?id=78775
1918
1919         Reviewed by Stephen White.
1920
1921         * tests/PlatformContextSkiaTest.cpp:
1922         (WebCore::TEST):
1923
1924 2012-02-16  Daniel Cheng  <dcheng@chromium.org>
1925
1926         [chromium] Add WEBKIT_EXPORT to new WebDragData methods.
1927         https://bugs.webkit.org/show_bug.cgi?id=78843
1928
1929         Reviewed by Tony Chang.
1930
1931         * public/platform/WebDragData.h:
1932         (WebDragData):
1933
1934 2012-02-16  Viet-Trung Luu  <viettrungluu@chromium.org>
1935
1936         [chromium] Add method to WebPluginContainer to check if a rectangle is topmost
1937         https://bugs.webkit.org/show_bug.cgi?id=78166
1938
1939         Reviewed by Darin Fisher.
1940
1941         * public/WebPluginContainer.h:
1942         (WebPluginContainer):
1943         * src/WebPluginContainerImpl.cpp:
1944         * src/WebPluginContainerImpl.h:
1945         (WebPluginContainerImpl):
1946
1947 2012-02-16  Yosifumi Inoue  <yosin@chromium.org>
1948
1949         Build Fix: R107894 breaks Chromium Linux Build.
1950         https://bugs.webkit.org/show_bug.cgi?id=78790
1951
1952         WebDragDataPrivate::types, inherited from ChromiumDataObject, returns PassRef<DOMStringList> since r107894. However, WebDragData expected to get old return value type HashSet<String>.
1953
1954         Reviewed by Kent Tamura.
1955
1956         * src/WebDragData.cpp:
1957         (WebKit::WebDragData::items): Use RefPtr<DOMStringList> rather than HashSet<String> for value of m_private->types().
1958
1959 2012-02-15  Sami Kyostila  <skyostil@google.com>
1960
1961         Enable -webkit-overflow-scrolling CSS property
1962         https://bugs.webkit.org/show_bug.cgi?id=78664
1963
1964         Reviewed by Eric Seidel.
1965
1966         * features.gypi:
1967
1968 2012-02-15  Tommy Widenflycht  <tommyw@google.com>
1969
1970         MediaStream API: Removing SecurityContext from the embedder API
1971         https://bugs.webkit.org/show_bug.cgi?id=73816
1972
1973         Reviewed by Darin Fisher.
1974
1975         * bridge/PeerConnectionHandler.cpp:
1976         (WebCore::PeerConnectionHandler::create):
1977         (WebCore::PeerConnectionHandler::PeerConnectionHandler):
1978         * bridge/PeerConnectionHandlerInternal.cpp:
1979         (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
1980         * bridge/PeerConnectionHandlerInternal.h:
1981         (WebCore):
1982         (PeerConnectionHandlerInternal):
1983         * public/platform/WebPeerConnectionHandler.h:
1984         (WebPeerConnectionHandler):
1985         (WebKit::WebPeerConnectionHandler::initialize):
1986
1987 2012-02-15  Peter Beverloo  <peter@chromium.org>
1988
1989         [Chromium] Roll DEPS to r122122
1990         https://bugs.webkit.org/show_bug.cgi?id=78754
1991
1992         Unreviewed DEPS roll.
1993
1994         * DEPS:
1995
1996 2012-02-01  Daniel Cheng  <dcheng@chromium.org>
1997
1998         [chromium] Add setter/getter to expose drag data as a list of items
1999         https://bugs.webkit.org/show_bug.cgi?id=77125
2000
2001         This change supports the unification of the data store backing ChromiumDataObject and
2002         DataTransferItemListChromium. ChromiumDataObject will represent dragging and clipboard data
2003         as a list of data nodes to make it more straightforward to implement the HTML spec for
2004         DataTransferItemList. Thus, we extend the abstraction to the webkit glue layer to
2005         simplify the serialization/deserialization between platform-specific data and WebDragData.
2006         The other setter/getter methods are deprecated and will be removed once the dependencies in
2007         Chromium code are gone.
2008
2009         Reviewed by Darin Fisher.
2010
2011         * public/platform/WebDragData.h:
2012         (WebKit):
2013         (WebDragData):
2014         * src/WebDragData.cpp:
2015         (WebKit::WebDragData::items):
2016         (WebKit):
2017         (WebKit::WebDragData::setItems):
2018         (WebKit::WebDragData::addItem):
2019
2020 2012-02-15  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2021
2022         Notify ChromeClient when touch-event handlers are installed/removed.
2023         https://bugs.webkit.org/show_bug.cgi?id=77440
2024
2025         Reviewed by Darin Fisher and Ryosuke Niwa.
2026
2027         * public/WebViewClient.h:
2028         (WebKit::WebViewClient::numberOfTouchEventHandlersChanged):
2029         * src/ChromeClientImpl.cpp:
2030         (WebKit::ChromeClientImpl::numTouchEventHandlersChanged):
2031         (WebKit):
2032         * src/ChromeClientImpl.h:
2033         (ChromeClientImpl):
2034         * src/WebViewImpl.cpp:
2035         (WebKit::WebViewImpl::numberOfTouchEventHandlersChanged):
2036         (WebKit):
2037         * src/WebViewImpl.h:
2038         (WebViewImpl):
2039
2040 2012-02-15  Anders Carlsson  <andersca@apple.com>
2041
2042         Remove ScrollableArea::handleGestureEvent
2043         https://bugs.webkit.org/show_bug.cgi?id=78661
2044
2045         Reviewed by Adam Roben.
2046
2047         Update for WebCore changes.
2048
2049         * src/WebPluginContainerImpl.cpp:
2050         * src/WebPluginContainerImpl.h:
2051         (WebPluginContainerImpl):
2052         * src/WebViewImpl.cpp:
2053         (WebKit::WebViewImpl::gestureEvent):
2054
2055 2012-02-14  Takashi Toyoshima  <toyoshim@chromium.org>
2056
2057         Provide SocketStreamHandleInternal::toWebSocketStreamHandle(SocketStreamHandle*).
2058         https://bugs.webkit.org/show_bug.cgi?id=78581
2059
2060         Reviewed by Kent Tamura.
2061
2062         Now, there is no way to convert SocketStreamHandle to
2063         WebSocketStreamHandle. In subsequent changes, I'll use this function
2064         in FrameLoaderClientImpl.
2065
2066         * src/SocketStreamHandle.cpp: Remove SocketStreamHandleInternal class declaration.
2067         * src/SocketStreamHandleInternal.h: Move SocketStreamHandleInternal class declaration from SocketStreamHandle.cpp to expose, and add conversion function to WebSocketStreamHandle from SocketStreamHandle.
2068         (WebKit):
2069         (WebCore):
2070         (SocketStreamHandleInternal):
2071         (WebCore::SocketStreamHandleInternal::create):
2072         (WebCore::SocketStreamHandleInternal::toWebSocketStreamHandle):
2073         * WebKit.gyp: Add SocketStreamHandleInternal.h entry.
2074
2075 2012-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2076
2077         Unreviewed, rolling out r107766.
2078         http://trac.webkit.org/changeset/107766
2079         https://bugs.webkit.org/show_bug.cgi?id=78665
2080
2081         Breaks Chromium Win build (Requested by bashi1 on #webkit).
2082
2083         * WebKit.gypi:
2084         * tests/WebSocketDeflaterTest.cpp: Removed.
2085
2086 2012-02-14  Kenichi Ishibashi  <bashi@chromium.org>
2087
2088         [WebSocket] Add extension attribute support
2089         https://bugs.webkit.org/show_bug.cgi?id=78557
2090
2091         Add WebSocketExtensionDispatcher::acceptedExtensions() checks.
2092
2093         Reviewed by Kent Tamura.
2094
2095         * tests/WebSocketExtensionDispatcherTest.cpp:
2096         (WebCore::TEST_F):
2097
2098 2012-02-14  Kenichi Ishibashi  <bashi@chromium.org>
2099
2100         [WebSocket] Add deflater/inflater classes.
2101         https://bugs.webkit.org/show_bug.cgi?id=78449
2102
2103         Add tests which ensure WebSocketDeflater/WebSocketInflater can
2104         compress/decompress data correctly.
2105
2106         Reviewed by Kent Tamura.
2107
2108         * WebKit.gypi:
2109         * tests/WebSocketDeflaterTest.cpp: Added.
2110         (WebCore):
2111         (WebCore::TEST):
2112
2113 2012-02-14  Dana Jansens  <danakj@chromium.org>
2114
2115         [chromium] Compare filters on impl thread when setting them, and test setting in unit tests
2116         https://bugs.webkit.org/show_bug.cgi?id=78643
2117
2118         Reviewed by James Robinson.
2119
2120         * tests/CCLayerImplTest.cpp:
2121         (WebCore::TEST):
2122
2123 2012-02-14  Ramya Chandrasekaran  <cramya@google.com>
2124
2125         Last character display for passwords in Android.
2126         https://bugs.webkit.org/show_bug.cgi?id=78532
2127
2128         Reviewed by Adam Barth.
2129
2130         * public/WebSettings.h:
2131         * src/WebSettingsImpl.cpp:
2132         (WebKit::WebSettingsImpl::setPasswordEchoEnabled):
2133         (WebKit):
2134         (WebKit::WebSettingsImpl::setPasswordEchoDurationInSeconds):
2135         * src/WebSettingsImpl.h:
2136         (WebSettingsImpl):
2137
2138 2012-02-14  David Reveman  <reveman@chromium.org>
2139
2140         [Chromium] Expose perTilePainting setting through WebLayerTreeView::Settings interface.
2141         https://bugs.webkit.org/show_bug.cgi?id=76937
2142
2143         Reviewed by James Robinson.
2144
2145         Add perTilePainting to WebLayerTreeView::Settings.
2146
2147         * public/platform/WebLayerTreeView.h:
2148         (WebKit::WebLayerTreeView::Settings::Settings):
2149         (Settings):
2150         * src/WebLayerTreeView.cpp:
2151         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
2152
2153 2012-02-14  Vsevolod Vlasov  <vsevik@chromium.org>
2154
2155         Web Inspector: Make ScriptsNavigator default file selector.
2156         https://bugs.webkit.org/show_bug.cgi?id=78349
2157
2158         Reviewed by Pavel Feldman.
2159
2160         * src/js/Tests.js:
2161         (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
2162         (.TestSuite.prototype.uiSourceCodesToString_):
2163         (.TestSuite.prototype.nonAnonymousUISourceCodes_):
2164         (.TestSuite.prototype._scriptsAreParsed):
2165         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
2166         (.TestSuite.prototype._waitUntilScriptsAreParsed):
2167
2168 2012-02-14  Hayato Ito  <hayato@chromium.org>
2169
2170         Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
2171         https://bugs.webkit.org/show_bug.cgi?id=77514
2172
2173         Reviewed by Dimitri Glazkov.
2174
2175         NodeType.SHADOW_ROOT_NODE type is finally gone.
2176
2177         * src/WebPageSerializerImpl.cpp:
2178         (WebKit::WebPageSerializerImpl::buildContentForNode):
2179
2180 2012-02-14  David Reveman  <reveman@chromium.org>
2181
2182         [Chromium] Inconsistent initialization of CCSettings in WebLayerTreeView.
2183         https://bugs.webkit.org/show_bug.cgi?id=76927
2184
2185         Reviewed by James Robinson.
2186
2187         Remove unnecessary initialization and include maxPartialTextureUpdates
2188         in FIXME comment.
2189
2190         * src/WebLayerTreeView.cpp:
2191         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
2192
2193 2012-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2194
2195         Unreviewed, rolling out r107661.
2196         http://trac.webkit.org/changeset/107661
2197         https://bugs.webkit.org/show_bug.cgi?id=78591
2198
2199         crash on lion/qt bots (Requested by hayato on #webkit).
2200
2201         * src/WebPageSerializerImpl.cpp:
2202         (WebKit::WebPageSerializerImpl::buildContentForNode):
2203
2204 2012-02-14  Yuzhu Shen  <yzshen@chromium.com>
2205
2206         [chromium] Pepper plugins don't receive mouse movement information in
2207         non-mouse-lock mode.
2208         https://bugs.webkit.org/show_bug.cgi?id=78014
2209
2210         This change makes WebMouseEventBuilder pass along mouse movement
2211         information properly.
2212
2213         There isn't test for this change because:
2214         - the movement information added is only used by pepper, and there
2215           isn't any test for pepper at the WebKit side. (WebKit doesn't know
2216           about pepper.)
2217         - this change is trivial. It just copies two newly-added data fields
2218           from MouseEvent to WebMouseEventBuilder during conversion.
2219
2220         Reviewed by Tony Chang.
2221
2222         * src/WebInputEventConversion.cpp:
2223         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2224
2225 2012-02-11  Nikolas Zimmermann  <nzimmermann@rim.com>
2226
2227         Convert svg/animations to use SMIL methods for driving the timeline
2228         https://bugs.webkit.org/show_bug.cgi?id=78422
2229
2230         Reviewed by Dirk Schulze.
2231
2232         Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
2233         Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
2234
2235         * public/WebFrame.h:
2236         (WebFrame):
2237         * src/WebFrameImpl.cpp:
2238         * src/WebFrameImpl.h:
2239         (WebFrameImpl):
2240
2241 2012-02-13  Mihai Parparita  <mihaip@chromium.org>
2242
2243         [Chromium] Remove BoundObject
2244         https://bugs.webkit.org/show_bug.cgi?id=78531
2245
2246         Reviewed by Pavel Feldman.
2247
2248         Remove the BoundObject class, references to it were removed in r56999.
2249
2250         * WebKit.gyp:
2251         * src/BoundObject.cpp: Removed.
2252         * src/BoundObject.h: Removed.
2253         * src/WebDevToolsFrontendImpl.cpp:
2254
2255 2012-02-13  W. James MacLean  <wjmaclean@chromium.org>
2256
2257         [chromium] Remove obsolete zoom animation pathway.
2258         https://bugs.webkit.org/show_bug.cgi?id=78359
2259
2260         Reviewed by James Robinson.
2261
2262         This patch removes dead code from the previous incarnation of zoom animation for chromium.
2263
2264         * src/WebViewImpl.cpp:
2265
2266 2012-02-13  Hayato Ito  <hayato@chromium.org>
2267
2268         Make ShadowRoot.nodeType return DOCUMENT_FRAGMENT_NODE.
2269         https://bugs.webkit.org/show_bug.cgi?id=77514
2270
2271         Reviewed by Dimitri Glazkov.
2272
2273         NodeType.SHADOW_ROOT_NODE type is finally gone.
2274
2275         * src/WebPageSerializerImpl.cpp:
2276         (WebKit::WebPageSerializerImpl::buildContentForNode):
2277
2278 2012-02-13  Nico Weber  <thakis@chromium.org>
2279
2280         [chromium] Let WebKit::initialize call InitWebCoreSystemInterface on mac.
2281         https://bugs.webkit.org/show_bug.cgi?id=78246
2282
2283         This allows removing a bunch of code in chromium land (https://chromiumcodereview.appspot.com/9374020/),
2284         and helps with the component build on mac (InitWebCoreSystemInterface is not an
2285         exported function, and it shouldn't be).
2286
2287         Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm early-returns when it's
2288         called twice, so it's safe to land this change, and remove the calls in client
2289         code in a later CL.
2290
2291         Reviewed by Darin Fisher.
2292
2293         * src/WebKit.cpp:
2294         (WebKit::initializeWithoutV8):
2295
2296 2012-02-13  Yosifumi Inoue  <yosin@chromium.org>
2297
2298         [Forms] Use enum instead of bool for HTMLInputElement::setValue
2299         https://bugs.webkit.org/show_bug.cgi?id=75217
2300
2301         Reviewed by Kent Tamura.
2302
2303         * src/WebInputElement.cpp:
2304         (WebKit::WebInputElement::setValue): Use enum for HTMLInputElement::setValue
2305
2306 2012-02-12  Hajime Morrita  <morrita@chromium.org>
2307
2308         Page should have less intrusive way to associate API implementation objects.
2309         https://bugs.webkit.org/show_bug.cgi?id=78085
2310
2311         Reviewed by Adam Barth.
2312
2313         * src/WebViewImpl.cpp:
2314         (WebKit::WebViewImpl::WebViewImpl):
2315
2316 2012-02-10  David Grogan  <dgrogan@chromium.org>
2317
2318         Disable IndexedDB permissions check from shared workers
2319         https://bugs.webkit.org/show_bug.cgi?id=78316
2320
2321         We want to temporarily bypass this check because it causes a crash
2322         when called from a shared worker.  We'll have to fix it before
2323         including idb on shared workers in a release but don't want to stop
2324         developers from testing out idb on shared workers.
2325
2326         No new tests because it affects shared workers only, which aren't
2327         testable by DRT.
2328
2329         Reviewed by Tony Chang.
2330
2331         * src/IDBFactoryBackendProxy.cpp:
2332         (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread):
2333
2334 2012-02-10  Sheriff Bot  <webkit.review.bot@gmail.com>
2335
2336         Unreviewed.  Rolled DEPS.
2337
2338         * DEPS:
2339
2340 2012-02-09  Kenichi Ishibashi  <bashi@chromium.org>
2341
2342         Add WebSocket extension support
2343         https://bugs.webkit.org/show_bug.cgi?id=78079
2344
2345         Add some tests which check WebSocketExtensions::processHeaderValue()
2346         parses the given response correctly.
2347
2348         Reviewed by Kent Tamura.
2349
2350         * WebKit.gypi:
2351         * tests/WebSocketExtensionDispatcherTest.cpp: Added.
2352         (WebCore):
2353         (MockWebSocketExtensionProcessor):
2354         (WebCore::MockWebSocketExtensionProcessor::MockWebSocketExtensionProcessor):
2355         (WebSocketExtensionDispatcherTest):
2356         (WebCore::WebSocketExtensionDispatcherTest::WebSocketExtensionDispatcherTest):
2357         (WebCore::WebSocketExtensionDispatcherTest::SetUp):
2358         (WebCore::WebSocketExtensionDispatcherTest::TearDown):
2359         (WebCore::WebSocketExtensionDispatcherTest::addMockProcessor):
2360         (WebCore::WebSocketExtensionDispatcherTest::appendResult):
2361         (WebCore::MockWebSocketExtensionProcessor::processResponse):
2362         (WebCore::TEST_F):
2363
2364 2012-02-09  W. James MacLean  <wjmaclean@chromium.org>
2365
2366         [chromium] Add support for starting page/scale animations on CC impl thread from WebViewImpl
2367         https://bugs.webkit.org/show_bug.cgi?id=77872
2368
2369         Reviewed by James Robinson.
2370
2371         Provides a pathway to invoke CCLayerTreeHostImpl::startPageScaleAnimation() from
2372         WebViewImpl. This is intended to support scale and scroll animations, such as WebInputEvent::GestureDoubleTap.
2373
2374         * src/WebViewImpl.cpp:
2375         (WebKit):
2376         (WebKit::WebViewImpl::startPageScaleAnimation):
2377         * src/WebViewImpl.h:
2378         (WebViewImpl):
2379         * tests/CCLayerTreeHostTest.cpp:
2380         (WTF):
2381         (CCLayerTreeHostTestStartPageScaleAnimation):
2382         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::CCLayerTreeHostTestStartPageScaleAnimation):
2383         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::beginTest):
2384         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::requestStartPageScaleAnimation):
2385         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::drawLayersOnCCThread):
2386         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::applyScrollAndScale):
2387         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::commitCompleteOnCCThread):
2388         (WTF::CCLayerTreeHostTestStartPageScaleAnimation::afterTest):
2389         (WTF::TEST_F):
2390
2391 2012-02-09  John Bates  <jbates@google.com>
2392
2393         [Chromium] Add chromium-style tracing support
2394         https://bugs.webkit.org/show_bug.cgi?id=76885
2395
2396         Reviewed by Darin Fisher.
2397
2398         This code enables WebKit trace events to pass through more data to the
2399         chromium platform tracing API and generally to use the full tracing
2400         API provided by chromium.
2401
2402         * public/platform/WebKitPlatformSupport.h:
2403         (WebKit::WebKitPlatformSupport::getTraceCategoryEnabledFlag):
2404         (WebKit::WebKitPlatformSupport::addTraceEvent):
2405         * src/PlatformSupport.cpp:
2406         (WebCore::PlatformSupport::getTraceCategoryEnabledFlag):
2407         (WebCore::PlatformSupport::addTraceEvent):
2408
2409 2012-02-09  Jonathan Backer  <backer@chromium.org>
2410
2411         [chromium] Plumb setNeedsRedraw.
2412         https://bugs.webkit.org/show_bug.cgi?id=78248
2413
2414         Reviewed by James Robinson.
2415
2416         * public/platform/WebLayerTreeView.h:
2417         (WebLayerTreeView):
2418         * src/WebLayerTreeView.cpp:
2419         (WebKit::WebLayerTreeView::setNeedsRedraw):
2420         (WebKit):
2421
2422 2012-02-09  Jonathan Backer  <backer@chromium.org>
2423
2424         [chromium] Add setNeedsRedraw to WebWidget
2425         https://bugs.webkit.org/show_bug.cgi?id=77555
2426
2427         Reviewed by James Robinson.
2428
2429         * public/WebWidget.h:
2430         (WebWidget):
2431         (WebKit::WebWidget::setNeedsRedraw):
2432         * src/WebViewImpl.cpp:
2433         (WebKit::WebViewImpl::setNeedsRedraw):
2434         (WebKit):
2435         * src/WebViewImpl.h:
2436         (WebViewImpl):
2437
2438 2012-02-08  Raymond Liu  <raymond.liu@intel.com>
2439
2440         Fix a typo for r107125
2441         https://bugs.webkit.org/show_bug.cgi?id=77804
2442
2443         Reviewed by James Robinson.
2444
2445         * tests/WebCompositorInputHandlerImplTest.cpp:
2446
2447 2012-02-08  David Reveman  <reveman@chromium.org>
2448
2449         [Chromium] Avoid unnecessary full tile updates without breaking atomicity of commits.
2450         https://bugs.webkit.org/show_bug.cgi?id=76740
2451
2452         Reviewed by James Robinson.
2453
2454         Add CCLayerTreeHostTestAtomicCommitWithPartialUpdate and
2455         TiledLayerChromiumTest.partialUpdates tests that verifies
2456         atomicity of commits with partial updates.
2457
2458         * tests/CCLayerTreeHostTest.cpp:
2459         (WTF::CCLayerTreeHostTestAtomicCommit::CCLayerTreeHostTestAtomicCommit):
2460         (WTF::CCLayerTreeHostTestAtomicCommit::beginTest):
2461         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
2462         (WTF::CCLayerTreeHostTestAtomicCommit::layout):
2463         (CCLayerTreeHostTestAtomicCommit):
2464         (CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
2465         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::CCLayerTreeHostTestAtomicCommitWithPartialUpdate):
2466         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::beginTest):
2467         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
2468         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
2469         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::layout):
2470         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::afterTest):
2471         (WTF):
2472         (WTF::TEST_F):
2473         * tests/TiledLayerChromiumTest.cpp:
2474         (WTF::FakeLayerTextureUpdater::Texture::Texture):
2475         (WTF::FakeLayerTextureUpdater::Texture::updateRect):
2476         (Texture):
2477         (WTF::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
2478         (FakeLayerTextureUpdater):
2479         (WTF::FakeLayerTextureUpdater::updateCount):
2480         (WTF::FakeLayerTextureUpdater::clearUpdateCount):
2481         (WTF::FakeLayerTextureUpdater::updateRect):
2482         (WTF::FakeLayerTextureUpdater::createTexture):
2483         (FakeTiledLayerChromium):
2484         (WTF::TEST):
2485         (WTF):
2486
2487 2012-02-07  MORITA Hajime  <morrita@google.com>
2488
2489         Replacement text should be available from the marker.
2490         https://bugs.webkit.org/show_bug.cgi?id=77934
2491
2492         didFinishCheckingText() accidentally dropped the description text
2493         given from the backend. Fixed to copy it on the API-to-Core
2494         convertion. The test won't work without this fix.
2495
2496         Reviewed by Kent Tamura.
2497
2498         * src/WebTextCheckingCompletionImpl.cpp:
2499         (WebKit::toCoreResults):
2500
2501 2012-02-08  Dmitry Lomov  <dslomov@chromium.org>
2502
2503         [V8][Chromium] Race between worker accessing WebDatabase and frame closing down.
2504         https://bugs.webkit.org/show_bug.cgi?id=78150
2505         Handle case when the frame is shut down under us gracefully.
2506
2507         Reviewed by David Levin.
2508
2509         * src/DatabaseObserver.cpp:
2510         (WebCore::DatabaseObserver::canEstablishDatabase): Handle WebWorkerBase::view returning 0.
2511         * src/IDBFactoryBackendProxy.cpp:
2512         (WebKit::IDBFactoryBackendProxy::openFromWorker): Handle WebWorkerBase::view returning 0.
2513         * src/WebWorkerClientImpl.cpp:
2514         (WebKit::WebWorkerClientImpl::allowFileSystem):
2515         (WebKit::WebWorkerClientImpl::allowDatabase):
2516         (WebKit::WebWorkerClientImpl::view):
2517
2518 2012-02-08  Adam Klein  <adamk@chromium.org>
2519
2520         DOM mutations should not be delivered on worker threads
2521         https://bugs.webkit.org/show_bug.cgi?id=77898
2522
2523         Reviewed by Dmitry Titov.
2524
2525         * src/WebDevToolsFrontendImpl.cpp:
2526         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
2527
2528 2012-02-08  Scott Graham  <scottmg@chromium.org>
2529
2530         Roll Chromium DEPS
2531         https://bugs.webkit.org/show_bug.cgi?id=78152
2532
2533         Reviewed by Adam Barth.
2534
2535         * DEPS:
2536
2537 2012-02-08  Dana Jansens  <danakj@chromium.org>
2538
2539         [Chromium] Fix opaque tracking for box shadows and non-composited child elements
2540         https://bugs.webkit.org/show_bug.cgi?id=78073
2541
2542         Reviewed by Stephen White.
2543
2544         * tests/PlatformContextSkiaTest.cpp:
2545         (WebCore::TEST):
2546         (WebCore):
2547
2548 2012-02-08  Shawn Singh  <shawnsingh@chromium.org>
2549
2550         [chromium] Remove incorrect early exit in CCDamageTracker
2551         https://bugs.webkit.org/show_bug.cgi?id=76924
2552
2553         Reviewed by James Robinson.
2554
2555         * tests/CCDamageTrackerTest.cpp:
2556         (WebKitTests::emulateDrawingOneFrame):
2557         (WebKitTests::TEST_F):
2558         (WebKitTests):
2559
2560 2012-02-08  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2561
2562         Add support for pinch gesture processing in the MT compositor.
2563         https://bugs.webkit.org/show_bug.cgi?id=77804
2564
2565         Reviewed by James Robinson.
2566
2567         * public/WebInputEvent.h:
2568         * src/WebCompositorInputHandlerImpl.cpp:
2569         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
2570         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
2571         * src/WebCompositorInputHandlerImpl.h:
2572         (WebCompositorInputHandlerImpl):
2573         * src/WebInputEventConversion.cpp:
2574         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2575         * src/WebPopupMenuImpl.cpp:
2576         (WebKit::WebPopupMenuImpl::handleInputEvent):
2577         * src/WebViewImpl.cpp:
2578         (WebKit::WebViewImpl::handleInputEvent):
2579         * tests/WebCompositorInputHandlerImplTest.cpp:
2580
2581 2012-02-08  Nico Weber  <nicolasweber@gmx.de>
2582
2583         [chromium] Make dependency on Accelerate.framework explicit.
2584         https://bugs.webkit.org/show_bug.cgi?id=78131
2585
2586         It's used by platform/audio/mac/FFTFrameMac.cpp. The explicit
2587         dependency is needed to build a libwebkit.dylib.
2588
2589         Reviewed by Tony Chang.
2590
2591         * WebKit.gyp:
2592
2593 2012-02-08  Bernhard Bauer  <bauerb@google.com>
2594
2595         [Chromium] Don't add selection from password fields to context menu.
2596         https://bugs.webkit.org/show_bug.cgi?id=77733
2597
2598         Reviewed by Adam Barth.
2599
2600         * src/ContextMenuClientImpl.cpp:
2601         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2602
2603 2012-02-08  Nico Weber  <nicolasweber@gmx.de>
2604
2605         [chromium] Let -Wglobal-constructors hack in shared build metastasize to mac
2606         https://bugs.webkit.org/show_bug.cgi?id=78130
2607
2608         Reviewed by Tony Chang.
2609
2610         * WebKit.gyp:
2611
2612 2012-02-08  Alexei Svitkine  <asvitkine@chromium.org>
2613
2614         Chromium: Fix Mac rubber band overhang drawing on composited pages and re-enable tests.
2615         https://bugs.webkit.org/show_bug.cgi?id=78007
2616
2617         This got broken by: http://trac.webkit.org/changeset/105470
2618         And the tests were accidentally(?) disabled in: http://trac.webkit.org/changeset/95191
2619
2620         There is still three tests that fail from the set, but the cause for these is different,
2621         which I'm still investigating.
2622
2623         Reviewed by James Robinson.
2624
2625         * src/NonCompositedContentHost.cpp:
2626         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
2627
2628 2012-02-07  James Robinson  <jamesr@chromium.org>
2629
2630         [chromium] Move geometry headers in Platform API to Platform directory
2631         https://bugs.webkit.org/show_bug.cgi?id=78067
2632
2633         Reviewed by Adam Barth.
2634
2635         Add forwarding headers for several API types moved into Platform.
2636
2637         * public/platform/WebFloatPoint.h:
2638         * public/platform/WebFloatQuad.h:
2639         * public/platform/WebFloatRect.h:
2640         * public/platform/WebPoint.h:
2641         * public/platform/WebRect.h:
2642         * public/platform/WebSize.h:
2643
2644 2012-02-07  MORITA Hajime  <morrita@google.com>
2645
2646         [Chromium] WebTextCheckingResult should have new default constructor
2647         https://bugs.webkit.org/show_bug.cgi?id=78066
2648
2649         Reviewed by Ryosuke Niwa.
2650
2651         Added a new default constructor. ex-default constructor will be removed
2652         in an upcoming change.
2653
2654         * public/WebTextCheckingResult.h:
2655         (WebKit::WebTextCheckingResult::WebTextCheckingResult):
2656         (WebTextCheckingResult):
2657
2658 2012-02-07  Gregg Tavares  <gman@google.com>
2659
2660         Plumb through webGLErrorsToConsoleEnable in WebSettings
2661         https://bugs.webkit.org/show_bug.cgi?id=78061
2662
2663         Reviewed by Kenneth Russell.
2664
2665         * public/WebSettings.h:
2666         * src/WebSettingsImpl.cpp:
2667         (WebKit::WebSettingsImpl::setWebGLErrorsToConsoleEnabled):
2668         (WebKit):
2669         * src/WebSettingsImpl.h:
2670         (WebSettingsImpl):
2671
2672 2012-02-07  Robert Kroeger  <rjkroege@chromium.org>
2673
2674         [chromium] Remove no longer necessary Chromium gesture recognizer code.
2675         https://bugs.webkit.org/show_bug.cgi?id=77492
2676
2677         Reviewed by Adam Barth.
2678
2679         * WebKit.gypi:
2680         * features.gypi:
2681         * src/WebFrameImpl.cpp:
2682         (WebKit::WebFrameImpl::createFrameView):
2683         * src/WebPopupMenuImpl.cpp:
2684         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
2685         (WebKit::WebPopupMenuImpl::handleTouchEvent):
2686         * src/WebPopupMenuImpl.h:
2687         * src/WebViewImpl.cpp:
2688         (WebKit::WebViewImpl::WebViewImpl):
2689         (WebKit::WebViewImpl::touchEvent):
2690         * src/WebViewImpl.h:
2691         (WebCore):
2692         (WebViewImpl):
2693         * tests/InnerGestureRecognizerTest.cpp: Removed.
2694
2695 2012-02-07  David Reveman  <reveman@chromium.org>
2696
2697         [Chromium] REGRESSION(r101854): Causing large amounts of unnecessary repainting.
2698         https://bugs.webkit.org/show_bug.cgi?id=78020
2699
2700         Reviewed by James Robinson.
2701
2702         Update TextureManagerTest.requestTextureExceedingPreferredLimit test.
2703
2704         * tests/TextureManagerTest.cpp:
2705         (WTF::TextureManagerTest::requestTexture):
2706         (WTF::TEST_F):
2707
2708 2012-02-07  Dana Jansens  <danakj@chromium.org>
2709
2710         [chromium] Unit test for bug #77996
2711         https://bugs.webkit.org/show_bug.cgi?id=78019
2712
2713         Reviewed by James Robinson.
2714
2715         * tests/CCLayerTreeHostTest.cpp:
2716         (CCLayerTreeHostTestManySurfaces):
2717         (WTF::CCLayerTreeHostTestManySurfaces::CCLayerTreeHostTestManySurfaces):
2718         (WTF::CCLayerTreeHostTestManySurfaces::beginTest):
2719         (WTF::CCLayerTreeHostTestManySurfaces::afterTest):
2720         (WTF):
2721
2722 2012-02-07  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2723
2724         Process Scroll-gesture events from the compositor.
2725         https://bugs.webkit.org/show_bug.cgi?id=77477
2726
2727         Reviewed by James Robinson.
2728
2729         * src/WebCompositorInputHandlerImpl.cpp:
2730         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
2731         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
2732         * src/WebCompositorInputHandlerImpl.h:
2733         (WebCompositorInputHandlerImpl):
2734
2735 2012-02-07  Anders Carlsson  <andersca@apple.com>
2736
2737         ScrollableAreaSet should be moved from Page to FrameView
2738         https://bugs.webkit.org/show_bug.cgi?id=62762
2739
2740         Reviewed by Beth Dakin.
2741
2742         Update for changes to WebCore now that the scrollable area set is kept per frame view.
2743
2744         * src/ScrollbarGroup.cpp:
2745         (WebKit::ScrollbarGroup::ScrollbarGroup):
2746         (WebKit::ScrollbarGroup::~ScrollbarGroup):
2747         * src/ScrollbarGroup.h:
2748         (WebCore):
2749         (ScrollbarGroup):
2750         * src/WebPluginContainerImpl.cpp:
2751         (WebKit::WebPluginContainerImpl::scrollbarGroup):
2752
2753 2012-02-07  Hans Wennborg  <hans@chromium.org>
2754
2755         Chromium: remove WebSpeechInputResult::set
2756         https://bugs.webkit.org/show_bug.cgi?id=77977
2757
2758         Reviewed by Darin Fisher.
2759
2760         It was renamed to assign() in r106475.
2761
2762         * public/WebSpeechInputResult.h:
2763
2764 2012-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2765
2766         Unreviewed, rolling out r106935.
2767         http://trac.webkit.org/changeset/106935
2768         https://bugs.webkit.org/show_bug.cgi?id=77994
2769
2770         "Crashes runMultiThread webkit_unit_test" (Requested by tonyg-
2771         cr on #webkit).
2772
2773         * public/WebWidget.h:
2774         (WebWidget):
2775         * src/WebViewImpl.cpp:
2776         * src/WebViewImpl.h:
2777         (WebViewImpl):
2778
2779 2012-02-07  Jonathan Backer  <backer@chromium.org>
2780
2781         [chromium] Add setNeedsRedraw to WebWidget
2782         https://bugs.webkit.org/show_bug.cgi?id=77555
2783
2784         Reviewed by James Robinson.
2785
2786         * public/WebWidget.h:
2787         (WebWidget):
2788         (WebKit::WebWidget::setNeedsRedraw):
2789         * src/WebViewImpl.cpp:
2790         (WebKit::WebViewImpl::setNeedsRedraw):
2791         (WebKit):
2792         * src/WebViewImpl.h:
2793         (WebViewImpl):
2794
2795 2012-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2796
2797         Unreviewed.  Rolled DEPS.
2798
2799         * DEPS:
2800
2801 2012-02-06  James Robinson  <jamesr@chromium.org>
2802
2803         [chromium] canvas demo is slow due to unnecessary resource cleanups
2804         https://bugs.webkit.org/show_bug.cgi?id=77135
2805
2806         Reviewed by Kenneth Russell.
2807
2808         * tests/Canvas2DLayerChromiumTest.cpp:
2809         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
2810         * tests/TextureManagerTest.cpp:
2811         * tests/TiledLayerChromiumTest.cpp:
2812
2813 2012-02-06  Julien Chaffraix  <jchaffraix@webkit.org>
2814
2815         Unreviewed gardening.
2816
2817         * DEPS: Rolling the DEPS to get the apple_webkit update
2818         and fix the Chromium build.
2819
2820 2012-02-06  Emil A Eklund  <eae@chromium.org>
2821
2822         Convert PopupMenuClient::clientPadding over to new layout abstraction
2823         https://bugs.webkit.org/show_bug.cgi?id=77798
2824
2825         Reviewed by Eric Seidel.
2826
2827         Change PopupMenuClient and all classes inheriting from it to use the new
2828         layout types for padding.
2829
2830         * src/AutofillPopupMenuClient.cpp:
2831         (WebKit::AutofillPopupMenuClient::clientPaddingLeft):
2832         (WebKit::AutofillPopupMenuClient::clientPaddingRight):
2833         * src/AutofillPopupMenuClient.h:
2834         (AutofillPopupMenuClient):
2835         * tests/PopupMenuTest.cpp:
2836         (WebKit::TestPopupMenuClient::clientPaddingLeft):
2837         (WebKit::TestPopupMenuClient::clientPaddingRight):
2838
2839 2012-02-06  James Robinson  <jamesr@chromium.org>
2840
2841         [chromium] Drop tiles completely outside of layer bounds when resizing to a smaller size
2842         https://bugs.webkit.org/show_bug.cgi?id=77910
2843
2844         Reviewed by Kenneth Russell.
2845
2846         Adds test for resizing a layer to cover fewer tiles. Test hits ASSERT()s without any code changes.
2847
2848         * tests/TiledLayerChromiumTest.cpp:
2849         (::TEST):
2850
2851 2012-02-06  Ryosuke Niwa  <rniwa@webkit.org>
2852
2853         Revert r106859. It was completely bogus.
2854
2855         * src/WebViewImpl.cpp:
2856         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2857
2858 2012-02-06  Ryosuke Niwa  <rniwa@webkit.org>
2859
2860         Chromium build fix after r106836.
2861
2862         * src/WebViewImpl.cpp:
2863         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2864
2865 2012-02-06  Eric Uhrhane  <ericu@chromium.org>
2866
2867         [filesystem/Chromium] crackFileSystemURL needs to use innerURL
2868         https://bugs.webkit.org/show_bug.cgi?id=77881
2869
2870         Reviewed by Adam Barth.
2871
2872         * src/AsyncFileSystemChromium.cpp:
2873         (WebCore::AsyncFileSystem::crackFileSystemURL):
2874         Add the new code path, taken only if innerURL is present.
2875
2876 2012-02-03  James Robinson  <jamesr@chromium.org>
2877
2878         [chromium] Support detaching TextureManager from ManagedTexture
2879         https://bugs.webkit.org/show_bug.cgi?id=77655
2880
2881         Adds unit test for destroying a TextureManager while ManagedTextures are still alive referring to it.
2882
2883         Reviewed by Kenneth Russell.
2884
2885         * tests/TextureManagerTest.cpp:
2886
2887 2012-02-06  Matthew Delaney  <mdelaney@apple.com>
2888
2889         toDataURL() uses stale data after putImageData()
2890         https://bugs.webkit.org/show_bug.cgi?id=65767
2891
2892         Reviewed by Chris Marrin.
2893
2894         * src/WebViewImpl.cpp: Updated method name.
2895         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2896
2897 2012-02-06  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2898
2899         Provide more attribute methods in Element
2900         https://bugs.webkit.org/show_bug.cgi?id=77800
2901
2902         Reviewed by Ryosuke Niwa.
2903
2904         * src/WebPageSerializerImpl.cpp:
2905         (WebKit::WebPageSerializerImpl::openTagToString): access attributes via Element interface.
2906
2907 2012-02-04  Shawn Singh  <shawnsingh@chromium.org>
2908
2909         [chromium] Add support to force full damage in CCDamageTracker
2910         https://bugs.webkit.org/show_bug.cgi?id=76805
2911
2912         Reviewed by James Robinson.
2913
2914         * tests/CCDamageTrackerTest.cpp:
2915         (WebKitTests::TEST_F):
2916         (WebKitTests):
2917
2918 2012-02-03  James Robinson  <jamesr@chromium.org>
2919
2920         [chromium] Defer makeContextCurrent in compositor until first frame
2921         https://bugs.webkit.org/show_bug.cgi?id=77269
2922
2923         Reviewed by Kenneth Russell.
2924
2925         * tests/CCLayerTreeHostTest.cpp:
2926         (WTF::CCLayerTreeHostTestSetViewportSize::beginTest):
2927         * tests/TiledLayerChromiumTest.cpp:
2928         (WTF::TEST):
2929
2930 2012-02-03  Beth Dakin  <bdakin@apple.com>
2931
2932         https://bugs.webkit.org/show_bug.cgi?id=77691
2933         Fix PlatformScreen layering violation and PlatformScreenMac's incorrect use 
2934         of device scale
2935
2936         Reviewed by Andy Estes.
2937
2938         These two functions now take a Widget again rather than a FrameView.
2939         * src/PlatformSupport.cpp:
2940         (WebCore::PlatformSupport::screenRect):
2941         (WebCore::PlatformSupport::screenAvailableRect):
2942
2943 2012-02-03  John Knottenbelt  <jknotten@chromium.org>
2944
2945         [skia] Fix unit test PlatformContextSkiaTest.trackOpaqueOvalTest
2946         https://bugs.webkit.org/show_bug.cgi?id=77738
2947
2948         We need to clear the bitmap before the test runs, otherwise the
2949         contents of the bitmap will be uninitialised. This causes an
2950         unpredicatable result as the canvas draw operations blend the
2951         destination bitmap with the source colour.
2952
2953         Similarly, valgrind discovered that
2954         PlatformContextSkiaTest.trackOpaqueTest and
2955         PlatformContextSkiaTest.trackOpaqueLineTest suffers from the same
2956         problem.
2957
2958         Also, re-enable WebFrameTest.FindInPage which was falsely
2959         blamed for making this test fail.
2960
2961         Reviewed by Stephen White.
2962
2963         * tests/PlatformContextSkiaTest.cpp:
2964         (WebCore::TEST):
2965         * tests/WebFrameTest.cpp:
2966         (WebKit::TEST_F):
2967
2968 2012-02-03  Dana Jansens  <danakj@chromium.org>
2969
2970         [Chromium] Use the current clip when marking paints as opaque
2971         https://bugs.webkit.org/show_bug.cgi?id=77582
2972
2973         Reviewed by Stephen White.
2974
2975         * tests/PlatformContextSkiaTest.cpp:
2976         (WebCore::TEST):
2977         (WebCore):
2978
2979 2012-02-03  Yury Semikhatsky  <yurys@chromium.org>
2980
2981         Unreviewed. Update Chromium deps.
2982
2983         * DEPS:
2984
2985 2012-02-02  Tommy Widenflycht  <tommyw@google.com>
2986
2987         [chromium] MediaStream API: Adding the embedding code for MediaStreamCenter
2988         https://bugs.webkit.org/show_bug.cgi?id=73130
2989
2990         Reviewed by Darin Fisher.
2991
2992         * WebKit.gyp:
2993         * bridge/MediaStreamCenter.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
2994         (WebCore):
2995         (WebCore::MediaStreamCenter::MediaStreamCenter):
2996         (WebCore::MediaStreamCenter::~MediaStreamCenter):
2997         (WebCore::MediaStreamCenter::queryMediaStreamSources):
2998         (WebCore::MediaStreamCenter::didSetMediaStreamTrackEnabled):
2999         (WebCore::MediaStreamCenter::didStopLocalMediaStream):
3000         (WebCore::MediaStreamCenter::didConstructMediaStream):
3001         * bridge/MediaStreamCenterInternal.cpp: Added.
3002         (WebCore):
3003         (WebCore::MediaStreamCenterInternal::MediaStreamCenterInternal):
3004         (WebCore::MediaStreamCenterInternal::~MediaStreamCenterInternal):
3005         (WebCore::MediaStreamCenterInternal::queryMediaStreamSources):
3006         (WebCore::MediaStreamCenterInternal::didSetMediaStreamTrackEnabled):
3007         (WebCore::MediaStreamCenterInternal::didStopLocalMediaStream):
3008         (WebCore::MediaStreamCenterInternal::didConstructMediaStream):
3009         (WebCore::MediaStreamCenterInternal::stopLocalMediaStream):
3010         * bridge/MediaStreamCenterInternal.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3011         (WebKit):
3012         (WebCore):
3013         (MediaStreamCenterInternal):
3014         * public/platform/WebKitPlatformSupport.h:
3015         (WebKit):
3016         (WebKit::WebKitPlatformSupport::createMediaStreamCenter):
3017         * public/platform/WebMediaStreamCenter.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3018         (WebKit):
3019         (WebMediaStreamCenter):
3020         (WebKit::WebMediaStreamCenter::~WebMediaStreamCenter):
3021         * public/platform/WebMediaStreamCenterClient.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3022         (WebKit):
3023         (WebMediaStreamCenterClient):
3024         (WebKit::WebMediaStreamCenterClient::~WebMediaStreamCenterClient):
3025         * public/platform/WebMediaStreamComponent.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3026         (WebCore):
3027         (WebKit):
3028         (WebMediaStreamComponent):
3029         (WebKit::WebMediaStreamComponent::WebMediaStreamComponent):
3030         (WebKit::WebMediaStreamComponent::~WebMediaStreamComponent):
3031         (WebKit::WebMediaStreamComponent::isNull):
3032         * public/platform/WebMediaStreamDescriptor.h:
3033         (WebKit):
3034         (WebMediaStreamDescriptor):
3035         * public/platform/WebMediaStreamSourcesRequest.h: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3036         (WebCore):
3037         (WebKit):
3038         (WebMediaStreamSourcesRequest):
3039         (WebKit::WebMediaStreamSourcesRequest::WebMediaStreamSourcesRequest):
3040         (WebKit::WebMediaStreamSourcesRequest::~WebMediaStreamSourcesRequest):
3041         (WebKit::WebMediaStreamSourcesRequest::isNull):
3042         * src/UserMediaClientImpl.h:
3043         (UserMediaClientImpl):
3044         * src/WebMediaStreamComponent.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3045         (WebKit):
3046         (WebKit::WebMediaStreamComponent::WebMediaStreamComponent):
3047         (WebKit::WebMediaStreamComponent::operator=):
3048         (WebKit::WebMediaStreamComponent::reset):
3049         (WebKit::WebMediaStreamComponent::operator PassRefPtr<MediaStreamComponent>):
3050         (WebKit::WebMediaStreamComponent::operator MediaStreamComponent*):
3051         (WebKit::WebMediaStreamComponent::isEnabled):
3052         (WebKit::WebMediaStreamComponent::source):
3053         * src/WebMediaStreamDescriptor.cpp:
3054         (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
3055         (WebKit):
3056         (WebKit::WebMediaStreamDescriptor::audioSources):
3057         (WebKit::WebMediaStreamDescriptor::videoSources):
3058         * src/WebMediaStreamSourcesRequest.cpp: Copied from Source/WebKit/chromium/src/UserMediaClientImpl.h.
3059         (WebKit):
3060         (WebKit::WebMediaStreamSourcesRequest::WebMediaStreamSourcesRequest):
3061         (WebKit::WebMediaStreamSourcesRequest::reset):
3062         (WebKit::WebMediaStreamSourcesRequest::audio):
3063         (WebKit::WebMediaStreamSourcesRequest::video):
3064         (WebKit::WebMediaStreamSourcesRequest::didCompleteQuery):
3065
3066 2012-02-02  Sheriff Bot  <webkit.review.bot@gmail.com>
3067
3068         Unreviewed.  Rolled DEPS.
3069
3070         * DEPS:
3071
3072 2012-02-02  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
3073
3074         Update enum name for HitTestRequest::RequestType
3075         https://bugs.webkit.org/show_bug.cgi?id=77620
3076
3077         Reviewed by Kenneth Rohde Christiansen.
3078
3079         * src/WebFrameImpl.cpp:
3080         (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
3081
3082 2012-02-02  Kinuko Yasuda  <kinuko@chromium.org>
3083
3084         Cleanup: Move chrome-specific filesystem type handling code (for FileSystem API) under chromium directory (re-landing r105395)
3085         https://bugs.webkit.org/show_bug.cgi?id=76551
3086
3087         * src/AssertMatchingEnums.cpp: Removed the matching assertion for AsyncFileSystem::External (as now we directly use WebFileSystem::TypeExternal).
3088         * src/AsyncFileSystemChromium.cpp:
3089         (WebCore::AsyncFileSystem::crackFileSystemURL): Added.
3090         (WebCore::AsyncFileSystem::isValidType): Added.
3091         (WebCore::AsyncFileSystemChromium::toURL): Added.
3092         * src/AsyncFileSystemChromium.h:
3093         (AsyncFileSystemChromium):
3094         * src/WorkerAsyncFileSystemChromium.cpp: Made this subclass of AsyncFileSystemChromium (rather than that of AsyncFileSystem)
3095         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
3096         * src/WorkerAsyncFileSystemChromium.h:
3097         (WorkerAsyncFileSystemChromium):
3098
3099 2012-02-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3100
3101         Avoid creating NamedNodeMap unnecessarily
3102         https://bugs.webkit.org/show_bug.cgi?id=77574
3103
3104         Reviewed by Ryosuke Niwa.
3105
3106         * src/WebPageSerializerImpl.cpp:
3107         (WebKit::WebPageSerializerImpl::openTagToString): use updatedAttributes().
3108
3109 2012-02-01  Justin Novosad  <junov@chromium.org>
3110
3111         [Chromium] Enable deferred canvas rendering in the skia port
3112         https://bugs.webkit.org/show_bug.cgi?id=76732
3113
3114         Reviewed by Stephen White.
3115
3116         Adding a new setting for enabling deferred 2d canvas rendering
3117
3118         * public/WebSettings.h:
3119         * src/WebSettingsImpl.cpp:
3120         (WebKit::WebSettingsImpl::setDeferred2dCanvasEnabled):
3121         (WebKit):
3122         * src/WebSettingsImpl.h:
3123         (WebSettingsImpl):
3124
3125 2012-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
3126
3127         Unreviewed, rolling out r106382.
3128         http://trac.webkit.org/changeset/106382
3129         https://bugs.webkit.org/show_bug.cgi?id=77571
3130
3131         Causing chromium crashes in PNGImageDecoder (Requested by
3132         japhet on #webkit).
3133
3134         * public/platform/WebKitPlatformSupport.h:
3135         (WebKitPlatformSupport):
3136         (WebKit::WebKitPlatformSupport::isTraceEventEnabled):
3137         (WebKit::WebKitPlatformSupport::traceEventBegin):
3138         (WebKit::WebKitPlatformSupport::traceEventEnd):
3139         * src/PlatformSupport.cpp:
3140         (WebCore::PlatformSupport::isTraceEventEnabled):
3141         (WebCore):
3142         (WebCore::PlatformSupport::traceEventBegin):
3143         (WebCore::PlatformSupport::traceEventEnd):
3144
3145 2012-02-01  Dirk Pranke  <dpranke@chromium.org>
3146
3147         TestWebKitAPI isn't being built on chromium bots any more
3148         https://bugs.webkit.org/show_bug.cgi?id=77563
3149
3150         Reviewed by Dimitri Glazkov.
3151
3152         I accidentally dropped it in the refactoring in r105449.
3153
3154         * All.gyp:
3155
3156 2012-02-01  Hans Wennborg  <hans@chromium.org>
3157
3158         Rename WebSpeechInputResult::set() to assign()
3159         https://bugs.webkit.org/show_bug.cgi?id=77540
3160
3161         Reviewed by Darin Fisher.
3162
3163         It was suggested in a previous code review
3164         (https://bugs.webkit.org/show_bug.cgi?id=77083#c5)
3165         that this function should be called assign().
3166
3167         * public/WebSpeechInputResult.h:
3168         (WebSpeechInputResult):
3169         (WebKit::WebSpeechInputResult::set):
3170         * src/WebSpeechInputResult.cpp:
3171         (WebKit::WebSpeechInputResult::assign):
3172
3173 2012-02-01  Kent Tamura  <tkent@chromium.org>
3174
3175         [Chromium] Disable WebFrameTest.FindInPage
3176         https://bugs.webkit.org/show_bug.cgi?id=77186
3177
3178         Disable it because PlatformContextSkiaTest.trackOpaqueOvalTest has
3179         been failing since FindInPage test was committed.
3180
3181         * tests/WebFrameTest.cpp:
3182         (WebKit::TEST_F):
3183
3184 2012-01-31  Ami Fischman  <fischman@chromium.org>
3185
3186         [chromium] enable -Wexit-time-destructors for webkit unit tests
3187         https://bugs.webkit.org/show_bug.cgi?id=77300
3188         Fix the only extant violation (verified by building webkit_unit_tests in static build).
3189
3190         Reviewed by Tony Chang.
3191
3192         * WebKitUnitTests.gyp:
3193         * tests/FrameTestHelpers.cpp:
3194         (WebKit::FrameTestHelpers::defaultWebFrameClient):
3195         (WebKit::FrameTestHelpers::defaultWebViewClient):
3196
3197 2012-01-31  Nico Weber  <thakis@chromium.org>
3198
3199         [chromium] Expose windowResizerRectChanged() on WebWidget.
3200         https://bugs.webkit.org/show_bug.cgi?id=77453
3201
3202         Needed for http://crbug.com/111266
3203
3204         Reviewed by Darin Fisher.
3205
3206         * public/WebWidget.h:
3207         (WebWidget):
3208         (WebKit::WebWidget::didChangeWindowResizerRect):
3209         * src/WebViewImpl.cpp:
3210         (WebKit::WebViewImpl::didChangeWindowResizerRect):
3211         (WebKit):
3212         * src/WebViewImpl.h:
3213         (WebViewImpl):
3214
3215 2012-01-31  Nat Duca  <nduca@chromium.org>
3216
3217         [chromium] Import PaintAggregator
3218         https://bugs.webkit.org/show_bug.cgi?id=53715
3219
3220         Reviewed by Darin Fisher.
3221
3222         * WebKit.gyp:
3223         * WebKit.gypi:
3224         * src/painting/PaintAggregator.cpp: Added.
3225         (WebKit::calculateArea):
3226         (WebKit::subtractIntersection):
3227         (WebKit::sharesEdge):
3228         (WebKit::PaintAggregator::PendingUpdate::PendingUpdate):
3229         (WebKit::PaintAggregator::PendingUpdate::~PendingUpdate):
3230         (WebKit::PaintAggregator::PendingUpdate::calculateScrollDamage):
3231         (WebKit::PaintAggregator::PendingUpdate::calculatePaintBounds):
3232         (WebKit::PaintAggregator::hasPendingUpdate):
3233         (WebKit::PaintAggregator::clearPendingUpdate):
3234         (WebKit::PaintAggregator::popPendingUpdate):
3235         (WebKit::PaintAggregator::invalidateRect):
3236         (WebKit::PaintAggregator::scrollRect):
3237         (WebKit::PaintAggregator::scrollPaintRect):
3238         (WebKit::PaintAggregator::shouldInvalidateScrollRect):
3239         (WebKit::PaintAggregator::invalidateScrollRect):
3240         (WebKit::PaintAggregator::combinePaintRects):
3241         * src/painting/PaintAggregator.h: Added.
3242         * tests/PaintAggregatorTest.cpp: Added.
3243         (WebKit::TEST):
3244
3245 2012-01-31  Fady Samuel  <fsamuel@chromium.org>
3246
3247         [Chromium] ChromeClientImpl::dispatchViewportPropertiesDidChange is repeatedly called in Google News
3248         https://bugs.webkit.org/show_bug.cgi?id=77429
3249
3250         Reviewed by Darin Fisher.
3251
3252         m_webView->isPageScaleFactorSet() is tested in ChromeClientImpl::layoutUpdated, and it is never true, 
3253         because WebViewImpl::setPageScaleFactorPreservingScrollOffset is called repeatedly and exits early 
3254         and thus never calls WebViewImpl::setPageScaleFactor which sets the flag.
3255         
3256         The simplest solution is to simply get rid of the early return in 
3257         WebViewImpl::setPageScaleFactorPreservingScrollOffset.
3258
3259         * src/WebViewImpl.cpp:
3260         (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
3261
3262 2012-01-31  Fady Samuel  <fsamuel@chromium.org>
3263
3264         [Chromium] Expose setLayoutFallbackWidth as a WebSetting
3265         https://bugs.webkit.org/show_bug.cgi?id=77431
3266
3267         Reviewed by Darin Fisher.
3268
3269         The layout fallback width is the default fixed layout width
3270         set for desktop web pages that lack a viewport tag. This width
3271         can vary from platform to platform and can depend on other factors,
3272         and so it should be a setting exposed to Chromium.
3273
3274         * public/WebSettings.h:
3275         ():
3276         * src/WebSettingsImpl.cpp:
3277         (WebKit::WebSettingsImpl::setLayoutFallbackWidth):
3278         (WebKit):
3279         * src/WebSettingsImpl.h:
3280         (WebSettingsImpl):
3281
3282 2012-01-31  Dana Jansens  <danakj@chromium.org>
3283
3284         [chromium] Compute occlusion during paint loop
3285         https://bugs.webkit.org/show_bug.cgi?id=76858
3286
3287         Reviewed by James Robinson.
3288
3289         * tests/CCLayerTreeHostCommonTest.cpp:
3290         (WebCore::TEST):
3291         (WebCore):
3292         * tests/CCLayerTreeHostTest.cpp:
3293         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
3294         (WTF):
3295         (TestLayerChromium):
3296         (WTF::TestLayerChromium::create):
3297         (WTF::TestLayerChromium::paintContentsIfDirty):
3298         (WTF::TestLayerChromium::drawsContent):
3299         (WTF::TestLayerChromium::occludedScreenSpace):
3300         (WTF::TestLayerChromium::clearOccludedScreenSpace):
3301         (WTF::TestLayerChromium::TestLayerChromium):
3302         (WTF::setLayerPropertiesForTesting):
3303         (CCLayerTreeHostTestLayerOcclusion):
3304         (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion):
3305         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
3306         (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest):
3307         * tests/Canvas2DLayerChromiumTest.cpp:
3308         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
3309         * tests/TiledLayerChromiumTest.cpp:
3310         (WTF::FakeLayerTextureUpdater::setOpaquePaintRect):
3311         (FakeLayerTextureUpdater):
3312         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
3313         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
3314         (WTF::TEST):
3315         (WTF):
3316
3317 2012-01-31  John Bates  <jbates@google.com>
3318
3319         [Chromium] Add chromium-style tracing support
3320         https://bugs.webkit.org/show_bug.cgi?id=76885
3321
3322         Reviewed by Darin Fisher.
3323
3324         This code enables WebKit trace events to pass through more data to the
3325         chromium platform tracing API and generally to use the full tracing
3326         API provided by chromium.
3327
3328         * public/platform/WebKitPlatformSupport.h:
3329         (WebKit::WebKitPlatformSupport::getTraceCategoryEnabledFlag):
3330         (WebKit::WebKitPlatformSupport::addTraceEvent):
3331         * src/PlatformSupport.cpp:
3332         (WebCore::PlatformSupport::getTraceCategoryEnabledFlag):
3333         (WebCore::PlatformSupport::addTraceEvent):
3334
3335 2012-01-31  Antoine Labour  <piman@chromium.org>
3336
3337         Add back temporarily WebKitPlatformSupport::createGraphicsContext3D() to fix build
3338         https://bugs.webkit.org/show_bug.cgi?id=77467
3339
3340         Rubber-stamped by Nate Chapin <japhet@chromium.org>.
3341
3342         * public/platform/WebKitPlatformSupport.h:
3343         (WebKitPlatformSupport):
3344         (WebKit::WebKitPlatformSupport::createGraphicsContext3D):
3345
3346 2012-01-31  Antoine Labour  <piman@chromium.org>
3347
3348         Merge WebGraphicsContext3D creation and initialization, and move it to
3349         WebViewClient.
3350         https://bugs.webkit.org/show_bug.cgi?id=76593
3351
3352         Reviewed by Darin Fisher.
3353
3354         * public/WebViewClient.h:
3355         (WebKit::WebViewClient::createGraphicsContext3D):
3356         * public/platform/WebGraphicsContext3D.h:
3357         (WebKit::WebGraphicsContext3D::initialize):
3358         * public/platform/WebKitPlatformSupport.h:
3359         * src/GraphicsContext3DChromium.cpp:
3360
3361 2012-01-26  Hans Wennborg  <hans@chromium.org>
3362
3363         Speech Input: move MockSpeechInputClient into Chromium DumpRenderTree implementation
3364         https://bugs.webkit.org/show_bug.cgi?id=77083
3365
3366         Reviewed by Darin Fisher.
3367
3368         Remove the WebSpeechInputControllerMock interface and proxy
3369         implementation. The mock is moving to the DumpRenderTree
3370         implementation instead, which removes the need to expose this
3371         interface in the WebKit API.
3372
3373         Also add a proper copy constructor for WebSpeechInputResult.
3374         The default one doesn't do a proper copy.
3375
3376         * WebKit.gyp:
3377         * public/WebSpeechInputControllerMock.h: Removed.
3378         * public/WebSpeechInputResult.h:
3379         (WebKit::WebSpeechInputResult::WebSpeechInputResult):
3380         (WebSpeechInputResult):
3381         * src/WebSpeechInputControllerMockImpl.cpp: Removed.
3382         * src/WebSpeechInputControllerMockImpl.h: Removed.
3383         * src/WebSpeechInputResult.cpp:
3384         (WebKit::WebSpeechInputResult::set):
3385         (WebKit):
3386
3387 2012-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
3388
3389         Unreviewed.  Rolled DEPS.
3390
3391         * DEPS:
3392
3393 2012-01-30  Sheriff Bot  <webkit.review.bot@gmail.com>
3394
3395         Unreviewed, rolling out r106324.
3396         http://trac.webkit.org/changeset/106324
3397         https://bugs.webkit.org/show_bug.cgi?id=77406
3398
3399         Broke CCLayerTreeHostTestLayerOcclusion.runMultiThread and
3400         runSingleThread (Requested by yuzo1 on #webkit).
3401
3402         * tests/CCLayerTreeHostCommonTest.cpp:
3403         (WebCore):
3404         * tests/CCLayerTreeHostTest.cpp:
3405         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
3406         * tests/Canvas2DLayerChromiumTest.cpp:
3407         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
3408         * tests/TiledLayerChromiumTest.cpp:
3409         (FakeLayerTextureUpdater):
3410         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
3411         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
3412
3413 2012-01-30  Dana Jansens  <danakj@chromium.org>
3414
3415         [chromium] Compute occlusion during paint loop
3416         https://bugs.webkit.org/show_bug.cgi?id=76858
3417
3418         Reviewed by James Robinson.
3419
3420         * tests/CCLayerTreeHostCommonTest.cpp:
3421         (WebCore::TEST):
3422         (WebCore):
3423         * tests/CCLayerTreeHostTest.cpp:
3424         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
3425         (WTF):
3426         (TestLayerChromium):
3427         (WTF::TestLayerChromium::create):
3428         (WTF::TestLayerChromium::paintContentsIfDirty):
3429         (WTF::TestLayerChromium::drawsContent):
3430         (WTF::TestLayerChromium::occludedScreenSpace):
3431         (WTF::TestLayerChromium::clearOccludedScreenSpace):
3432         (WTF::TestLayerChromium::TestLayerChromium):
3433         (WTF::setLayerPropertiesForTesting):
3434         (CCLayerTreeHostTestLayerOcclusion):
3435         (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion):
3436         (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest):
3437         (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest):
3438         * tests/Canvas2DLayerChromiumTest.cpp:
3439         (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest):
3440         * tests/TiledLayerChromiumTest.cpp:
3441         (WTF::FakeLayerTextureUpdater::setOpaquePaintRect):
3442         (FakeLayerTextureUpdater):
3443         (WTF::FakeTiledLayerChromium::paintContentsIfDirty):
3444         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
3445         (WTF::TEST):
3446         (WTF):
3447
3448 2012-01-30  Gregg Tavares  <gman@google.com>
3449
3450         Add Plumming to get graphics error messages to JS Console
3451         https://bugs.webkit.org/show_bug.cgi?id=77238
3452
3453         Reviewed by Kenneth Russell.
3454
3455         * public/platform/WebGraphicsContext3D.h:
3456         (WebGraphicsErrorMessageCallback):
3457         (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
3458         (WebGraphicsContext3D):
3459         (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
3460         * src/GraphicsContext3DChromium.cpp:
3461         (WebCore::GraphicsContext3D::~GraphicsContext3D):
3462         (WebCore):
3463         (GraphicsErrorMessageCallbackAdapter):
3464         (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter):
3465         (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter):
3466         (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
3467         (WebCore::GraphicsErrorMessageCallbackAdapter::create):
3468         (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
3469         * src/GraphicsContext3DPrivate.h:
3470         (WebCore):
3471         ():
3472
3473 2012-01-30  Sheriff Bot  <webkit.review.bot@gmail.com>
3474
3475         Unreviewed, rolling out r106259.
3476         http://trac.webkit.org/changeset/106259
3477         https://bugs.webkit.org/show_bug.cgi?id=77395
3478
3479         Breaks shared builders as they also build webkittests with
3480         -Wexit-time-destructors. (Requested by leviw on #webkit).
3481
3482         * WebKitUnitTests.gyp:
3483
3484 2012-01-30  Dana Jansens  <danakj@chromium.org>
3485
3486         [chromium] Use region reported painted opaque for draw culling
3487         https://bugs.webkit.org/show_bug.cgi?id=76015
3488
3489         Reviewed by James Robinson.
3490
3491         * tests/CCLayerTreeHostImplTest.cpp:
3492         (WebKit::BlendStateCheckLayer::appendQuads):
3493         (WebKit::BlendStateCheckLayer::setOpaqueColor):
3494         (BlendStateCheckLayer):
3495         (WebKit::BlendStateCheckLayer::BlendStateCheckLayer):
3496         (WebKit::TEST_F):
3497         * tests/CCQuadCullerTest.cpp:
3498         (WebCore::MakeTileQuad):
3499         (WebCore::setQuads):
3500         (WebCore::TEST):
3501         (WebCore):
3502         * tests/CCTiledLayerImplTest.cpp:
3503         (CCLayerTestCommon::createLayer):
3504         (CCLayerTestCommon::TEST):
3505         (CCLayerTestCommon::getQuads):
3506         (CCLayerTestCommon::coverageVisibleRectOnTileBoundaries):
3507         (CCLayerTestCommon::coverageVisibleRectIntersectsTiles):
3508         (CCLayerTestCommon::coverageVisibleRectIntersectsBounds):
3509         (CCLayerTestCommon):
3510
3511 2012-01-30  Adrienne Walker  <enne@google.com>
3512
3513         [chromium] Always pre-reserve scrollbar and scroll corner textures
3514         https://bugs.webkit.org/show_bug.cgi?id=77251
3515
3516         Reviewed by James Robinson.
3517
3518         * src/NonCompositedContentHost.cpp:
3519         (WebKit::reserveScrollbarLayers):
3520         (WebKit):
3521         (WebKit::NonCompositedContentHost::setViewport):
3522
3523 2012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
3524
3525         Roll Chromium DEPS from 119623 to 119700.
3526
3527         * DEPS:
3528
3529 2012-01-30  Beth Dakin  <bdakin@apple.com>