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