0ca5cfbb8e9ccd4608c90b2a6d5fac892d4ffa31
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-12-06  Adam Barth  <abarth@webkit.org>
2
3         Remove forwarding header now that downstream has been fixed to refer to
4         the actual location of this header.
5
6         * public/WebRect.h: Removed.
7
8 2011-12-06  Dimitri Glazkov  <dglazkov@chromium.org>
9
10         Unreviewed, rolling out r102091.
11         http://trac.webkit.org/changeset/102091
12         https://bugs.webkit.org/show_bug.cgi?id=73711
13
14         Caused Clang Linux compile failure.
15
16         * tests/LayerChromiumTest.cpp:
17
18 2011-12-06  Sheriff Bot  <webkit.review.bot@gmail.com>
19
20         Unreviewed, rolling out r102102.
21         http://trac.webkit.org/changeset/102102
22         https://bugs.webkit.org/show_bug.cgi?id=73925
23
24         Causes segmentation fault on chromium unit_tests,
25         content_unittests, sync_unit_tests (Requested by vsevik on
26         #webkit).
27
28         * features.gypi:
29
30 2011-12-06  Vsevolod Vlasov  <vsevik@chromium.org>
31
32         Unreviewed chromium expectations update.
33
34         * tests/KURLTest.cpp:
35         (ComponentCase::TEST):
36
37 2011-12-06  Eric Penner  <epenner@google.com>
38
39         [chromium] Set texture limits as multiples of viewport size instead of hardcoded values
40         https://bugs.webkit.org/show_bug.cgi?id=72202
41
42         Reviewed by James Robinson.
43
44         * tests/TiledLayerChromiumTest.cpp:
45         (WTF::TEST):
46
47 2011-12-06  Sheriff Bot  <webkit.review.bot@gmail.com>
48
49         Unreviewed, rolling out r102043.
50         http://trac.webkit.org/changeset/102043
51         https://bugs.webkit.org/show_bug.cgi?id=73898
52
53         Breaks chromium mac-cg compilation. (Requested by vsevik on
54         #webkit).
55
56         * WebKit.gypi:
57         * tests/ImageLayerChromiumTest.cpp: Removed.
58
59 2011-12-05  Rafael Weinstein  <rafaelw@chromium.org>
60
61         [MutationObservers] Enable in Chromium trunk
62         https://bugs.webkit.org/show_bug.cgi?id=73851
63
64         Reviewed by Ojan Vafai.
65
66         * features.gypi:
67
68 2011-12-05  James Robinson  <jamesr@chromium.org>
69
70         chromium build fix
71
72         * src/WebLayerTreeView.cpp:
73
74 2011-12-05  James Robinson  <jamesr@chromium.org>
75
76         Rollout http://trac.webkit.org/changeset/102019, dependent has not
77         landed in chromium
78
79         * WebKit.gyp:
80         * public/WebContentLayer.h: Added.
81         * public/WebExternalTextureLayer.h: Added.
82         * public/WebLayer.h: Added.
83         * public/WebLayerClient.h: Added.
84         * public/WebLayerTreeView.h: Added.
85         * public/WebLayerTreeViewClient.h: Added.
86         * src/WebLayerTreeView.cpp:
87         * src/WebLayerTreeViewImpl.cpp:
88
89 2011-12-05  Dana Jansens  <danakj@chromium.org>
90
91         Set opaque flag for WebGLLayerChromium
92         https://bugs.webkit.org/show_bug.cgi?id=73876
93
94         Reviewed by James Robinson.
95
96         * WebKit.gypi:
97         * tests/WebGLLayerChromiumTest.cpp: Added.
98         (WebKit::CompositorMockWebGraphicsContext3D::create):
99         (WebKit::CompositorMockWebGraphicsContext3D::makeContextCurrent):
100         (WebKit::CompositorMockWebGraphicsContext3D::createProgram):
101         (WebKit::CompositorMockWebGraphicsContext3D::createShader):
102         (WebKit::CompositorMockWebGraphicsContext3D::getShaderiv):
103         (WebKit::CompositorMockWebGraphicsContext3D::getProgramiv):
104         (WebKit::CompositorMockWebGraphicsContext3D::getContextAttributes):
105         (WebKit::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
106         (WebKit::createGraphicsContext):
107         (WebKit::TEST):
108
109 2011-12-05  Adrienne Walker  <enne@google.com>
110
111         [chromium] setNeedsCommit on non-composited host layers should trigger commit
112         https://bugs.webkit.org/show_bug.cgi?id=73711
113
114         Reviewed by James Robinson.
115
116         Add some tests to make sure that modifying the noncomposited content
117         host triggers commits.
118
119         Properties that trigger setNeedsCommit should only do so when the
120         property changes. Additionally, make more property changes properly
121         trigger commits.
122
123         * tests/LayerChromiumTest.cpp:
124
125 2011-12-05  Stephen White  <senorblanco@chromium.org>
126
127         Allow the ImageBuffers used by SVG filters to be accelerated
128         https://bugs.webkit.org/show_bug.cgi?id=73842
129
130         Reviewed by Kenneth Russell.
131
132         * public/WebSettings.h:
133         * src/WebSettingsImpl.cpp:
134         (WebKit::WebSettingsImpl::setAcceleratedFiltersEnabled):
135         * src/WebSettingsImpl.h:
136
137 2011-12-05  Adam Barth  <abarth@webkit.org>
138
139         [Chromium] Chromium fails to compile due to missing WebContentLayerClient.h
140         https://bugs.webkit.org/show_bug.cgi?id=73881
141
142         This patch adds a forwarding header to fix the downstream Windows build:
143         http://build.chromium.org/p/chromium.webkit/builders/Win%20Builder/builds/12955/steps/compile/logs/stdio
144
145         * public/WebContentLayerClient.h: Added.
146
147 2011-12-05  Adam Barth  <abarth@webkit.org>
148
149         Add a shim to fix the downstream Chromium compile.  The real fix should
150         be made downstream via http://codereview.chromium.org/8801036/, but the
151         Chromium tree is closed at the moment.
152
153         * public/WebRect.h: Added.
154
155 2011-12-01  Vangelis Kokkevis  <vangelis@chromium.org>
156
157         Use ANGLE's texture_usage and texture_storage extensions when allocating compositor textures.
158         https://bugs.webkit.org/show_bug.cgi?id=73621
159
160         Add the necessary entry points and enums to GraphicsContext3D.
161
162         Reviewed by Kenneth Russell.
163
164         * public/platform/WebGraphicsContext3D.h:
165         * src/Extensions3DChromium.cpp:
166         (WebCore::Extensions3DChromium::texStorage2DEXT):
167         * src/GraphicsContext3DChromium.cpp:
168         * src/GraphicsContext3DPrivate.h:
169         * tests/MockWebGraphicsContext3D.h:
170         (WebKit::MockWebGraphicsContext3D::texStorage2DEXT):
171
172 2011-12-05  Adam Barth  <abarth@webkit.org>
173
174         Another attempted build fix.
175
176         * src/linux/WebFontInfo.cpp:
177
178 2011-12-05  Adam Barth  <abarth@webkit.org>
179
180         Fix Linux build.
181
182         * public/linux/WebFontInfo.h:
183
184 2011-12-05  Adam Barth  <abarth@webkit.org>
185
186         [Chromium] Remove no-longer-used forwarding headers in the WebKit API
187         https://bugs.webkit.org/show_bug.cgi?id=73845
188
189         Reviewed by Darin Fisher.
190
191         Delete unused forwarding headers and update includes to the new header
192         locations.
193
194         * WebKit.gyp:
195         * bridge/PeerConnectionHandlerInternal.cpp:
196         * bridge/PeerConnectionHandlerInternal.h:
197         * public/WebArrayBuffer.h:
198         * public/WebArrayBufferView.h: Removed.
199         * public/WebAudioBus.h: Removed.
200         * public/WebAudioDevice.h: Removed.
201         * public/WebBlobData.h: Removed.
202         * public/WebBlobRegistry.h: Removed.
203         * public/WebCString.h: Removed.
204         * public/WebCanvas.h: Removed.
205         * public/WebClipboard.h: Removed.
206         * public/WebColor.h: Removed.
207         * public/WebColorName.h: Removed.
208         * public/WebCommon.h: Removed.
209         * public/WebCompositorInputHandler.h:
210         * public/WebCookie.h: Removed.
211         * public/WebCookieJar.h: Removed.
212         * public/WebData.h: Removed.
213         * public/WebDragData.h: Removed.
214         * public/WebFileSystem.h: Removed.
215         * public/WebFloatPoint.h: Removed.
216         * public/WebFloatQuad.h: Removed.
217         * public/WebFloatRect.h: Removed.
218         * public/WebGamepad.h: Removed.
219         * public/WebGamepads.h: Removed.
220         * public/WebGraphicsContext3D.h: Removed.
221         * public/WebHTTPBody.h: Removed.
222         * public/WebHTTPHeaderVisitor.h: Removed.
223         * public/WebHTTPLoadInfo.h: Removed.
224         * public/WebIDBCallbacks.h:
225         * public/WebImage.h: Removed.
226         * public/WebIntent.h:
227         * public/WebIntentServiceInfo.h:
228         * public/WebKitPlatformSupport.h: Removed.
229         * public/WebLocalizedString.h: Removed.
230         * public/WebMediaStreamDescriptor.h: Removed.
231         * public/WebMimeRegistry.h: Removed.
232         * public/WebNonCopyable.h: Removed.
233         * public/WebPageOverlay.h:
234         * public/WebPeerConnectionHandler.h: Removed.
235         * public/WebPeerConnectionHandlerClient.h: Removed.
236         * public/WebPoint.h: Removed.
237         * public/WebPrivateOwnPtr.h: Removed.
238         * public/WebPrivatePtr.h: Removed.
239         * public/WebRect.h: Removed.
240         * public/WebSerializedScriptValue.h: Removed.
241         * public/WebSize.h: Removed.
242         * public/WebSocketStreamError.h: Removed.
243         * public/WebSocketStreamHandle.h: Removed.
244         * public/WebSocketStreamHandleClient.h: Removed.
245         * public/WebString.h: Removed.
246         * public/WebThread.h: Removed.
247         * public/WebThreadSafeData.h: Removed.
248         * public/WebURL.h: Removed.
249         * public/WebURLError.h: Removed.
250         * public/WebURLLoadTiming.h: Removed.
251         * public/WebURLLoader.h: Removed.
252         * public/WebURLLoaderClient.h: Removed.
253         * public/WebURLRequest.h: Removed.
254         * public/WebURLResponse.h: Removed.
255         * public/WebVector.h: Removed.
256         * public/WebWorkerRunLoop.h:
257         * public/android/WebThemeEngine.h: Removed.
258         * public/linux/WebFontFamily.h: Removed.
259         * public/linux/WebThemeEngine.h: Removed.
260         * public/mac/WebThemeEngine.h: Removed.
261         * public/win/WebThemeEngine.h: Removed.
262         * src/ApplicationCacheHost.cpp:
263         * src/ApplicationCacheHostInternal.h:
264         * src/AssertMatchingEnums.cpp:
265         * src/AssociatedURLLoader.cpp:
266         * src/AssociatedURLLoader.h:
267         * src/AsyncFileSystemChromium.cpp:
268         * src/AsyncFileWriterChromium.cpp:
269         * src/AudioDestinationChromium.cpp:
270         * src/AudioDestinationChromium.h:
271         * src/AutofillPopupMenuClient.cpp:
272         * src/BlobRegistryProxy.cpp:
273         * src/CCThreadImpl.cpp:
274         * src/ChromeClientImpl.cpp:
275         * src/ChromiumCurrentTime.cpp:
276         * src/ChromiumOSRandomSource.cpp:
277         * src/ChromiumThreading.cpp:
278         * src/CompositionUnderlineBuilder.h:
279         * src/CompositionUnderlineVectorBuilder.h:
280         * src/ContextMenuClientImpl.cpp:
281         * src/DragClientImpl.cpp:
282         * src/DragScrollTimer.h:
283         * src/ExternalPopupMenu.cpp:
284         * src/FrameLoaderClientImpl.cpp:
285         * src/GraphicsContext3DChromium.cpp:
286         * src/IDBCallbacksProxy.cpp:
287         * src/IDBCursorBackendProxy.cpp:
288         * src/IDBFactoryBackendProxy.cpp:
289         * src/IDBObjectStoreBackendProxy.cpp:
290         * src/InspectorClientImpl.cpp:
291         * src/InspectorFrontendClientImpl.cpp:
292         * src/LocalFileSystemChromium.cpp:
293         * src/LocalizedStrings.cpp:
294         * src/NotificationPresenterImpl.cpp:
295         * src/PlatformMessagePortChannel.cpp:
296         * src/PlatformSupport.cpp:
297         * src/ResourceHandle.cpp:
298         * src/ResourceHandleInternal.h:
299         * src/ScrollbarGroup.cpp:
300         * src/SharedWorkerRepository.cpp:
301         * src/SocketStreamHandle.cpp:
302         * src/SpeechInputClientImpl.cpp:
303         * src/StorageAreaProxy.cpp:
304         * src/StorageEventDispatcherChromium.cpp:
305         * src/StorageNamespaceProxy.cpp:
306         * src/WebAccessibilityObject.cpp:
307         * src/WebAnimationControllerImpl.cpp:
308         * src/WebArrayBufferView.cpp:
309         * src/WebAttribute.cpp:
310         * src/WebAudioBus.cpp:
311         * src/WebBindings.cpp:
312         * src/WebBlobData.cpp:
313         * src/WebCString.cpp:
314         * src/WebColor.cpp:
315         * src/WebCommon.cpp:
316         * src/WebCompositorImpl.cpp:
317         * src/WebCompositorInputHandlerImpl.cpp:
318         * src/WebContentLayerImpl.cpp:
319         * src/WebDOMEventListenerPrivate.h:
320         * src/WebDOMMessageEvent.cpp:
321         * src/WebDOMStringList.cpp:
322         * src/WebData.cpp:
323         * src/WebDataSourceImpl.cpp:
324         * src/WebDatabase.cpp:
325         * src/WebDevToolsAgentImpl.cpp:
326         * src/WebDocument.cpp:
327         * src/WebDocumentType.cpp:
328         * src/WebDragData.cpp:
329         * src/WebEntities.cpp:
330         * src/WebExternalTextureLayerImpl.cpp:
331         * src/WebFileChooserCompletionImpl.h:
332         * src/WebFileSystemCallbacksImpl.cpp:
333         * src/WebFileSystemCallbacksImpl.h:
334         * src/WebFloatQuad.cpp:
335         * src/WebFontImpl.cpp:
336         * src/WebFormElement.cpp:
337         * src/WebFrameImpl.cpp:
338         * src/WebGeolocationError.cpp:
339         * src/WebGeolocationPermissionRequest.cpp:
340         * src/WebGraphicsContext3D.cpp:
341         * src/WebHTTPBody.cpp:
342         * src/WebHTTPLoadInfo.cpp:
343         * src/WebHistoryItem.cpp:
344         * src/WebIDBCallbacksImpl.cpp:
345         * src/WebIDBCursorImpl.h:
346         * src/WebIDBDatabaseCallbacksImpl.cpp:
347         * src/WebIDBDatabaseCallbacksImpl.h:
348         * src/WebIDBDatabaseError.cpp:
349         * src/WebIDBDatabaseImpl.h:
350         * src/WebIDBIndexImpl.h:
351         * src/WebIDBKey.cpp:
352         * src/WebIDBKeyPath.cpp:
353         * src/WebIDBObjectStoreImpl.cpp:
354         * src/WebIDBObjectStoreImpl.h:
355         * src/WebIDBTransactionImpl.h:
356         * src/WebIconLoadingCompletionImpl.h:
357         * src/WebImageCG.cpp:
358         * src/WebImageDecoder.cpp:
359         * src/WebImageSkia.cpp:
360         * src/WebInputElement.cpp:
361         * src/WebKit.cpp:
362         * src/WebLabelElement.cpp:
363         * src/WebLayer.cpp:
364         * src/WebLayerTreeView.cpp:
365         * src/WebLayerTreeViewImpl.cpp:
366         * src/WebMediaPlayerClientImpl.cpp:
367         * src/WebMediaStreamDescriptor.cpp:
368         * src/WebMediaStreamRegistry.cpp:
369         * src/WebMediaStreamSource.cpp:
370         * src/WebNode.cpp:
371         * src/WebNotification.cpp:
372         * src/WebOptionElement.cpp:
373         * src/WebPageSerializer.cpp:
374         * src/WebPageSerializerImpl.cpp:
375         * src/WebPageSerializerImpl.h:
376         * src/WebPluginContainerImpl.cpp:
377         * src/WebPluginListBuilderImpl.cpp:
378         * src/WebPluginLoadObserver.h:
379         * src/WebPopupMenuImpl.cpp:
380         * src/WebPopupMenuImpl.h:
381         * src/WebRange.cpp:
382         * src/WebRegularExpression.cpp:
383         * src/WebScriptController.cpp:
384         * src/WebScrollbarImpl.cpp:
385         * src/WebSecurityOrigin.cpp:
386         * src/WebSecurityPolicy.cpp:
387         * src/WebSelectElement.cpp:
388         * src/WebSerializedScriptValue.cpp:
389         * src/WebSettingsImpl.cpp:
390         * src/WebSharedWorkerImpl.cpp:
391         * src/WebSocketImpl.cpp:
392         * src/WebSocketImpl.h:
393         * src/WebSpeechInputControllerMockImpl.cpp:
394         * src/WebSpeechInputControllerMockImpl.h:
395         * src/WebStorageAreaImpl.cpp:
396         * src/WebStorageEventDispatcherImpl.cpp:
397         * src/WebStorageNamespaceImpl.cpp:
398         * src/WebString.cpp:
399         * src/WebTextCheckingCompletionImpl.cpp:
400         * src/WebThreadSafeData.cpp:
401         * src/WebURL.cpp:
402         * src/WebURLError.cpp:
403         * src/WebURLLoadTiming.cpp:
404         * src/WebURLRequest.cpp:
405         * src/WebURLResponse.cpp:
406         * src/WebURLResponsePrivate.h:
407         * src/WebUserMediaRequest.cpp:
408         * src/WebViewImpl.cpp:
409         * src/WebViewImpl.h:
410         * src/WebWorkerClientImpl.cpp:
411         * src/WebWorkerClientImpl.h:
412         * src/WebWorkerImpl.cpp:
413         * src/WorkerAsyncFileSystemChromium.cpp:
414         * src/WorkerAsyncFileWriterChromium.cpp:
415         * src/WorkerFileSystemCallbacksBridge.cpp:
416         * src/WorkerFileSystemCallbacksBridge.h:
417         * src/WorkerFileWriterCallbacksBridge.cpp:
418         * src/WrappedResourceRequest.h:
419         * src/WrappedResourceResponse.h:
420         * src/mac/WebSubstringUtil.mm:
421         * tests/AssociatedURLLoaderTest.cpp:
422         * tests/CCLayerTreeHostTest.cpp:
423         * tests/FrameTestHelpers.cpp:
424         * tests/MockWebGraphicsContext3D.h:
425         * tests/PopupMenuTest.cpp:
426         * tests/RunAllTests.cpp:
427         * tests/WebLayerTest.cpp:
428         * tests/WebPageNewSerializerTest.cpp:
429         * tests/WebPageSerializerTest.cpp:
430         * tests/WebURLRequestTest.cpp:
431         * tests/WebUnitTests.h:
432         * tests/WebViewTest.cpp:
433
434 2011-12-05  Dana Jansens  <danakj@chromium.org>
435
436         [chromium] Set opaque flag for ImageLayerChromium
437         https://bugs.webkit.org/show_bug.cgi?id=72964
438
439         Reviewed by James Robinson.
440
441         * WebKit.gypi:
442         * tests/ImageLayerChromiumTest.cpp: Added.
443         (WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
444         (WebCore::MockGraphicsLayerClient::notifySyncRequired):
445         (WebCore::MockGraphicsLayerClient::paintContents):
446         (WebCore::MockGraphicsLayerClient::showDebugBorders):
447         (WebCore::MockGraphicsLayerClient::showRepaintCounter):
448         (WebCore::TestImage::create):
449         (WebCore::TestImage::TestImage):
450         (WebCore::TestImage::~TestImage):
451         (WebCore::TestImage::isBitmapImage):
452         (WebCore::TestImage::currentFrameHasAlpha):
453         (WebCore::TestImage::size):
454         (WebCore::TestImage::nativeImageForCurrentFrame):
455         (WebCore::TestImage::destroyDecodedData):
456         (WebCore::TestImage::decodedSize):
457         (WebCore::TestImage::draw):
458         (WebCore::TEST):
459
460 2011-12-02  James Robinson  <jamesr@chromium.org>
461
462         [chromium] Remove forwarding headers for WebLayer APIs
463         https://bugs.webkit.org/show_bug.cgi?id=73729
464
465         Reviewed by Adam Barth.
466
467         These are no longer necessary.
468
469         * WebKit.gyp:
470         * public/WebContentLayer.h: Removed.
471         * public/WebContentLayerClient.h: Removed.
472         * public/WebExternalTextureLayer.h: Removed.
473         * public/WebLayer.h: Removed.
474         * public/WebLayerClient.h: Removed.
475         * public/WebLayerTreeView.h: Removed.
476         * public/WebLayerTreeViewClient.h: Removed.
477         * src/WebLayerTreeView.cpp:
478         * src/WebLayerTreeViewImpl.cpp:
479         * tests/WebLayerTest.cpp:
480
481 2011-12-05  Vsevolod Vlasov  <vsevik@chromium.org>
482
483         Unreviewed, fixed chromium DEPS syntax.
484
485         * DEPS:
486
487 2011-12-05  Vsevolod Vlasov  <vsevik@chromium.org>
488
489         Unreviewed.  Rolled DEPS.
490
491         * DEPS:
492
493 2011-12-05  Eric Carlson  <eric.carlson@apple.com>
494
495         WebKit/chromium part of: Add WebKit preferences for text track settings
496         https://bugs.webkit.org/show_bug.cgi?id=73721
497
498         Reviewed by John Sullivan.
499
500         * src/WebSettingsImpl.cpp:
501         (WebKit::WebSettingsImpl::shouldDisplaySubtitles): Added.
502         (WebKit::WebSettingsImpl::shouldDisplayCaptions): Ditto.
503         (WebKit::WebSettingsImpl::shouldDisplayTextDescriptions): Ditto.
504         * src/WebSettingsImpl.h:
505
506 2011-12-04  Sheriff Bot  <webkit.review.bot@gmail.com>
507
508         Unreviewed.  Rolled DEPS.
509
510         * DEPS:
511
512 2011-12-02  Sheriff Bot  <webkit.review.bot@gmail.com>
513
514         Unreviewed, rolling out r101906.
515         http://trac.webkit.org/changeset/101906
516         https://bugs.webkit.org/show_bug.cgi?id=73736
517
518         Failing chromium webkit_unit_tests (Requested by scheib on
519         #webkit).
520
521         * WebKit.gypi:
522         * tests/DispatchEventTest.cpp: Removed.
523         * tests/data/event_target.html: Removed.
524
525 2011-12-02  Dave Michael  <dmichael@chromium.org>
526
527         Add a unit test for creating, listening for, and dispatching events
528         via the chromium API.
529         https://bugs.webkit.org/show_bug.cgi?id=72988
530
531         Reviewed by Darin Fisher.
532
533         * WebKit.gypi:
534         * tests/DispatchEventTest.cpp: Added.
535         (WebKit::MockListener::MockListener):
536         (WebKit::MockListener::~MockListener):
537         (WebKit::MockListener::events):
538         (WebKit::DispatchEventTest::DispatchEventTest):
539         (WebKit::DispatchEventTest::TearDown):
540         (WebKit::TEST_F):
541
542 2011-12-02  Nate Chapin  <japhet@chromium.org>
543
544         Don't call FocusController:setActive() in 
545         WebViewImpl::setFocus(), since being active and
546         being focused are different concepts and chromium
547         now properly sends setActive IPCs on all platforms.
548         https://bugs.webkit.org/show_bug.cgi?id=73687
549
550         Reviewed by Eric Seidel.
551
552         * src/WebViewImpl.cpp:
553         (WebKit::WebViewImpl::setFocus):
554         * tests/WebViewTest.cpp: Test how different combinations of
555             setIsActive() and setFocus() affect whether the document
556             has focus.
557
558 2011-12-02  Dave Michael  <dmichael@chromium.org>
559
560         Add WebArrayBuffer to chromium API
561         https://bugs.webkit.org/show_bug.cgi?id=73593
562
563         Reviewed by Darin Fisher.
564
565         * WebKit.gyp:
566         * public/WebArrayBuffer.h: Added.
567         (WebKit::WebArrayBuffer::~WebArrayBuffer):
568         (WebKit::WebArrayBuffer::WebArrayBuffer):
569         (WebKit::WebArrayBuffer::operator=):
570         (WebKit::WebArrayBuffer::isNull):
571         * public/WebBindings.h:
572         * src/WebArrayBuffer.cpp: Added.
573         (WebKit::WebArrayBuffer::create):
574         (WebKit::WebArrayBuffer::reset):
575         (WebKit::WebArrayBuffer::assign):
576         (WebKit::WebArrayBuffer::data):
577         (WebKit::WebArrayBuffer::byteLength):
578         (WebKit::WebArrayBuffer::toV8Value):
579         (WebKit::WebArrayBuffer::WebArrayBuffer):
580         (WebKit::WebArrayBuffer::operator=):
581         (WebKit::WebArrayBuffer::operator WTF::PassRefPtr<WTF::ArrayBuffer>):
582         * src/WebBindings.cpp:
583         (WebKit::getArrayBufferImpl):
584         (WebKit::WebBindings::getArrayBuffer):
585
586 2011-12-02  David Grogan  <dgrogan@chromium.org>
587
588         Grant workers experimental access to IndexedDB.
589         https://bugs.webkit.org/show_bug.cgi?id=73609
590
591         Reviewed by Nate Chapin.
592
593         * src/IDBFactoryBackendProxy.cpp:
594         (WebKit::IDBFactoryBackendProxy::allowIDBFromWorkerThread): Return
595         true while behind a runtime flag, and while we figure out how to check
596         permission in a thread-safe manner.
597         (WebKit::IDBFactoryBackendProxy::openFromWorker): Using the webFrame
598         from the worker seems to satisfy the weak condition in chromium that
599         neither it nor it's associated RenderView is NULL.
600         * src/IDBFactoryBackendProxy.h:
601
602 2011-12-01  James Robinson  <jamesr@chromium.org>
603
604         [chromium] Move WebLayer APIs to platform directory
605         https://bugs.webkit.org/show_bug.cgi?id=73610
606
607         Reviewed by Darin Fisher.
608
609         * public/WebContentLayer.h:
610         * public/WebContentLayerClient.h:
611         * public/WebExternalTextureLayer.h:
612         * public/WebLayer.h:
613         * public/WebLayerClient.h:
614         * public/WebLayerTreeView.h:
615         * public/WebLayerTreeViewClient.h:
616         * public/platform/WebContentLayer.h: Copied from Source/WebKit/chromium/public/WebContentLayer.h.
617         (WebKit::WebContentLayer::WebContentLayer):
618         (WebKit::WebContentLayer::~WebContentLayer):
619         (WebKit::WebContentLayer::operator=):
620         * public/platform/WebContentLayerClient.h: Copied from Source/WebKit/chromium/public/WebContentLayerClient.h.
621         (WebKit::WebContentLayerClient::~WebContentLayerClient):
622         * public/platform/WebExternalTextureLayer.h: Copied from Source/WebKit/chromium/public/WebExternalTextureLayer.h.
623         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
624         (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
625         (WebKit::WebExternalTextureLayer::operator=):
626         * public/platform/WebLayer.h: Copied from Source/WebKit/chromium/public/WebLayer.h.
627         (WebKit::WebLayer::WebLayer):
628         (WebKit::WebLayer::~WebLayer):
629         (WebKit::WebLayer::operator=):
630         (WebKit::WebLayer::isNull):
631         (WebKit::WebLayer::to):
632         (WebKit::WebLayer::toConst):
633         (WebKit::WebLayer::unwrap):
634         (WebKit::WebLayer::constUnwrap):
635         (WebKit::operator==):
636         (WebKit::operator!=):
637         * public/platform/WebLayerClient.h: Copied from Source/WebKit/chromium/public/WebLayerClient.h.
638         (WebKit::WebLayerClient::~WebLayerClient):
639         * public/platform/WebLayerTreeView.h: Copied from Source/WebKit/chromium/public/WebLayerTreeView.h.
640         (WebKit::WebLayerTreeView::Settings::Settings):
641         (WebKit::WebLayerTreeView::WebLayerTreeView):
642         (WebKit::WebLayerTreeView::~WebLayerTreeView):
643         (WebKit::WebLayerTreeView::operator=):
644         (WebKit::operator==):
645         (WebKit::operator!=):
646         * public/platform/WebLayerTreeViewClient.h: Copied from Source/WebKit/chromium/public/WebLayerTreeViewClient.h.
647         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
648         * public/platform/WebPrivatePtr.h:
649         * src/WebContentLayer.cpp:
650         * src/WebContentLayerImpl.cpp:
651         * src/WebExternalTextureLayer.cpp:
652         * src/WebExternalTextureLayerImpl.cpp:
653         * src/WebLayer.cpp:
654         * src/WebLayerImpl.cpp:
655         * src/WebLayerTreeView.cpp:
656         * src/WebLayerTreeViewImpl.h:
657
658 2011-12-02  Karl Koscher  <supersat@chromium.org>
659
660         [chromium] add setOpener method to WebFrame
661         https://bugs.webkit.org/show_bug.cgi?id=73379
662
663         Reviewed by Darin Fisher.
664
665         * public/WebFrame.h:
666         (WebKit::WebFrame::clearOpener): now an inline call to setOpener(0)
667         * src/WebFrameImpl.cpp:
668         (WebKit::WebFrameImpl::setOpener): sets window.opener
669         * src/WebFrameImpl.h:
670
671 2011-12-02  Kent Tamura  <tkent@chromium.org>
672
673         Unreviewed, rolling out r101337.
674         http://trac.webkit.org/changeset/101337
675         https://bugs.webkit.org/show_bug.cgi?id=73189
676
677         It's a wrong way to fix the problem
678
679         * src/WebViewImpl.cpp:
680         (WebKit::WebViewImpl::popupOpened):
681
682 2011-12-02  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
683
684         Added helper method to identify whether the page has custom page size style.
685         https://bugs.webkit.org/show_bug.cgi?id=73585
686
687         Reviewed by Darin Fisher.
688
689         * public/WebFrame.h:
690         * src/WebFrameImpl.cpp:
691         (WebKit::WebFrameImpl::hasCustomPageSizeStyle):
692         * src/WebFrameImpl.h:
693
694 2011-12-02  Tony Chang  <tony@chromium.org>
695
696         [Chromium] GYP fix for Windows 2010 build
697         https://bugs.webkit.org/show_bug.cgi?id=73483
698
699         Reviewed by Adam Barth.
700
701         Patch by Carlos Pizano.
702
703         * WebKit.gyp: Exclude the android directory and remove a file match that doesn't match anything.
704
705 2011-12-01  Alok Priyadarshi  <alokp@chromium.org>
706
707         [chromium] CCLayerQuad does not return FloatQuad in correct order
708         https://bugs.webkit.org/show_bug.cgi?id=73247
709
710         Reviewed by James Robinson.
711
712         * WebKit.gypi:
713         * tests/CCLayerQuadTest.cpp: Added.
714         (WebCore::TEST):
715
716 2011-11-30  Adam Klein  <adamk@chromium.org>
717
718         [chromium] WebKitMutationObserver::deliverAllMutations should be exposed through the Chromium API
719         https://bugs.webkit.org/show_bug.cgi?id=71242
720
721         Reviewed by Darin Fisher.
722
723         Relanding, depends on http://codereview.chromium.org/8748015/
724         to fix a sandboxing issue on Chromium/Linux.
725
726         Add addTaskObserver and removeTaskObserver to WebThread,
727         along with a new WebThread::TaskObserver interface.
728
729         For mutation observers, add a TaskObserver to the main thread
730         to deliver mutations after each task runs.
731
732         The Chromium implementation of the new WebThread methods is in
733         http://codereview.chromium.org/8586038/.
734
735         * public/platform/WebThread.h:
736         (WebKit::WebThread::TaskObserver::~TaskObserver):
737         * src/WebKit.cpp:
738         (WebKit::initialize):
739         (WebKit::shutdown):
740
741 2011-12-02  Sheriff Bot  <webkit.review.bot@gmail.com>
742
743         Unreviewed, rolling out r101833.
744         http://trac.webkit.org/changeset/101833
745         https://bugs.webkit.org/show_bug.cgi?id=73678
746
747         test_expectations file invalid: run Tools/Scripts/new-run-
748         webkit-tests --lint-test-files (Requested by scheib on
749         #webkit).
750
751         * WebKit.gypi:
752         * tests/CCLayerQuadTest.cpp: Removed.
753
754 2011-12-02  Alok Priyadarshi  <alokp@chromium.org>
755
756         [chromium] CCLayerQuad does not return FloatQuad in correct orientation
757         https://bugs.webkit.org/show_bug.cgi?id=73247
758
759         Reviewed by James Robinson.
760
761         * WebKit.gypi:
762         * tests/CCLayerQuadTest.cpp: Added.
763         (WebCore::TEST):
764
765 2011-12-02  Daniel Cheng  <dcheng@chromium.org>
766
767         [chromium] Add plumbing for supporting custom MIME types in DataTransfer.
768         https://bugs.webkit.org/show_bug.cgi?id=73594
769
770         Reviewed by David Levin.
771
772         * public/platform/WebClipboard.h:
773         (WebKit::WebClipboard::readCustomData):
774         * public/platform/WebDragData.h:
775         * src/PlatformSupport.cpp:
776         (WebCore::PlatformSupport::clipboardReadCustomData):
777         * src/WebDragData.cpp:
778         (WebKit::WebDragData::customData):
779         (WebKit::WebDragData::setCustomData):
780
781 2011-12-02  Joshua Bell  <jsbell@chromium.org>
782
783         IndexedDB: Rename "multientry" to "multiEntry" per spec change
784         https://bugs.webkit.org/show_bug.cgi?id=73578
785
786         Reviewed by Darin Fisher.
787
788         * public/WebIDBIndex.h:
789         (WebKit::WebIDBIndex::multiEntry):
790         * public/WebIDBObjectStore.h:
791         (WebKit::WebIDBObjectStore::createIndex):
792         * src/IDBIndexBackendProxy.cpp:
793         (WebKit::IDBIndexBackendProxy::multiEntry):
794         * src/IDBIndexBackendProxy.h:
795         * src/IDBObjectStoreBackendProxy.cpp:
796         (WebKit::IDBObjectStoreBackendProxy::createIndex):
797         * src/IDBObjectStoreBackendProxy.h:
798         * src/WebIDBIndexImpl.cpp:
799         (WebKit::WebIDBIndexImpl::multiEntry):
800         * src/WebIDBIndexImpl.h:
801         * src/WebIDBObjectStoreImpl.cpp:
802         (WebKit::WebIDBObjectStoreImpl::createIndex):
803         * src/WebIDBObjectStoreImpl.h:
804
805 2011-12-02  Sami Kyostila  <skyostil@chromium.org>
806
807         [chromium] Make CCInputHandler scrolling stateful
808         https://bugs.webkit.org/show_bug.cgi?id=73345
809
810         This change makes the scrolling part of CCInputHandler stateful by
811         replacing scrollRootLayer() with scrollBegin(), scrollBy() and
812         scrollEnd(). This is done in preparation for scrollable sublayers.
813         Specifically, scrollBegin() will allow CCLayerTreeHostImpl to perform
814         input event hit testing to find the layer to be scrolled.
815
816         Reviewed by Steve Block.
817
818         * src/WebCompositorImpl.cpp:
819         (WebKit::WebCompositorImpl::handleInputEvent):
820         * tests/CCLayerTreeHostImplTest.cpp:
821         (WebKit::TEST_F):
822
823 2011-12-02  Pavel Feldman  <pfeldman@google.com>
824
825         Web Inspector [chromium]: provisional fix for interactive ui tests
826         https://bugs.webkit.org/show_bug.cgi?id=73633
827
828         Reviewed by Yury Semikhatsky.
829
830         * src/js/Tests.js:
831         (.):
832         (.TestSuite.prototype._executeCodeWhenScriptsAreParsed):
833
834 2011-12-01  David Levin  <levin@chromium.org>
835
836         [chromium] Add WebKit API's to support the autosize algorithm in renderer process.
837         https://bugs.webkit.org/show_bug.cgi?id=73058
838
839         Reviewed by Darin Fisher.
840
841         * public/WebView.h: Expose the auto-resize method.
842         * public/WebWidgetClient.h:
843         (WebKit::WebWidgetClient::didAutoResize):
844         * src/WebFrameImpl.cpp:
845         (WebKit::WebFrameImpl::createFrameView): Set the auto-resize
846         state on the new view.
847         * src/WebViewImpl.cpp:
848         (WebKit::WebViewImpl::WebViewImpl):
849         (WebKit::WebViewImpl::resize): Extracted sendResizeEventAndRepaint, so
850         that it can be used by layoutUpdated.
851         (WebKit::WebViewImpl::queueBothResizeEventAndPaint): Ditto.
852         (WebKit::WebViewImpl::hasHorizontalScrollbar): Added for testing purposes.
853         (WebKit::WebViewImpl::hasVerticalScrollbar): Ditto.
854         (WebKit::WebViewImpl::enableAutoResizeMode): Set-up auto-resize.
855         (WebKit::WebViewImpl::layoutUpdated): Handle the auto-resize case by
856         sending events and invalidation.
857         * src/WebViewImpl.h: Expose the aut-reosize information.
858         (WebKit::WebViewImpl::shouldAutoResize):
859         (WebKit::WebViewImpl::minAutoSize):
860         (WebKit::WebViewImpl::maxAutoSize):
861         * tests/FrameTestHelpers.cpp:
862         (WebKit::FrameTestHelpers::createWebViewAndLoad): Added the ability to
863         specify the WebViewClient.
864         * tests/FrameTestHelpers.h: Ditto.
865         * tests/WebViewTest.cpp: Added a simple test for auto-resize.
866         (WebKit::TestData::setWebView):
867         (WebKit::TestData::setSize): Capture the new size.
868         (WebKit::TestData::hasHorizontalScrollbar):
869         (WebKit::TestData::hasVerticalScrollbar):
870         (WebKit::TestData::width):
871         (WebKit::TestData::height):
872         (WebKit::AutoResizeWebViewClient::didAutoResize): Handle the resize event.
873         (WebKit::AutoResizeWebViewClient::testData):
874         (WebKit::TEST_F): The actual test.
875         * tests/data/specify_size.html: Added.
876
877 2011-12-02  Xiyuan Xia  <xiyuan@chromium.org>
878
879         [Chromium] Support adding/removing page overlay to WebView
880         https://bugs.webkit.org/show_bug.cgi?id=73235
881
882         Reviewed by James Robinson.
883
884         * WebKit.gyp:
885         * public/WebPageOverlay.h: Added.
886         (WebKit::WebPageOverlay::~WebPageOverlay):
887         * public/WebView.h:
888         * src/PageOverlay.cpp:
889         (WebKit::PageOverlay::create):
890         (WebKit::PageOverlay::PageOverlay):
891         (WebKit::OverlayGraphicsLayerClientImpl::create):
892         (WebKit::OverlayGraphicsLayerClientImpl::paintContents):
893         (WebKit::OverlayGraphicsLayerClientImpl::OverlayGraphicsLayerClientImpl):
894         (WebKit::PageOverlay::update):
895         (WebKit::PageOverlay::paintWebFrame):
896         (WebKit::PageOverlay::invalidateWebFrame):
897         * src/PageOverlay.h:
898         (WebKit::PageOverlay::overlay):
899         (WebKit::PageOverlay::setOverlay):
900         (WebKit::PageOverlay::zOrder):
901         (WebKit::PageOverlay::setZOrder):
902         * src/PageOverlayList.cpp: Added.
903         (WebKit::PageOverlayList::create):
904         (WebKit::PageOverlayList::PageOverlayList):
905         (WebKit::PageOverlayList::~PageOverlayList):
906         (WebKit::PageOverlayList::add):
907         (WebKit::PageOverlayList::remove):
908         (WebKit::PageOverlayList::update):
909         (WebKit::PageOverlayList::paintWebFrame):
910         (WebKit::PageOverlayList::find):
911         * src/PageOverlayList.h: Added.
912         (WebKit::PageOverlayList::empty):
913         * src/WebDevToolsAgentImpl.cpp:
914         (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
915         (WebKit::WebDevToolsAgentImpl::highlight):
916         (WebKit::WebDevToolsAgentImpl::hideHighlight):
917         * src/WebDevToolsAgentImpl.h:
918         * src/WebFrameImpl.cpp:
919         (WebKit::WebFrameImpl::paintWithContext):
920         * src/WebViewImpl.cpp:
921         (WebKit::WebViewImpl::composite):
922         (WebKit::WebViewImpl::addPageOverlay):
923         (WebKit::WebViewImpl::removePageOverlay):
924         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
925         (WebKit::WebViewImpl::didRecreateGraphicsContext):
926         * src/WebViewImpl.h:
927         (WebKit::WebViewImpl::pageOverlays):
928
929 2011-12-01  Jochen Eisinger  <jochen@chromium.org>
930
931         [chromium] add referrer policy to WebContextMenuData
932         https://bugs.webkit.org/show_bug.cgi?id=73567
933
934         Reviewed by Darin Fisher.
935
936         * public/WebContextMenuData.h:
937         * src/ContextMenuClientImpl.cpp:
938         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
939
940 2011-12-01  Kelly Norton  <knorton@google.com>
941
942         More void functions eager to return values in RenderObject & WebFrameImpl
943         https://bugs.webkit.org/show_bug.cgi?id=73571
944
945         Reviewed by Adam Barth.
946
947         * src/WebFrameImpl.cpp:
948         (WebKit::ChromePrintContext::computePageRects):
949
950 2011-12-01  Daniel Sievers  <sievers@chromium.org>
951
952         [Chromium] Early returns in calculateDrawTransformsAndVisibilityInternal() are not respected by parent.
953         https://bugs.webkit.org/show_bug.cgi?id=73270
954
955         Non-drawing child trees should not be added to the parent render surface's layer list
956         and should neither extend the parent layer's drawable content rect.
957
958         This also fixes assertions from the content texture residency logic, which doesn't like it
959         if we try to use a render surface through a parent, while that surface itself was never 'used'
960         in the same frame.
961
962         Reviewed by James Robinson.
963
964         * tests/CCLayerTreeHostCommonTest.cpp:
965         (WebCore::TEST):
966
967 2011-12-01  David Reveman  <reveman@chromium.org>
968
969         [Chromium] Use contentBounds instead of bounds for invalidation.
970         https://bugs.webkit.org/show_bug.cgi?id=73525
971
972         Reviewed by James Robinson.
973
974         Use setNeedsDisplay() instead of setNeedsDisplayRect() when possible.
975
976         * src/WebMediaPlayerClientImpl.cpp:
977         (WebKit::WebMediaPlayerClientImpl::repaint):
978
979 2011-12-01  Elliot Poger  <epoger@google.com>
980
981         webkit->chromium DEPS roll 111575->112463
982         https://bugs.webkit.org/show_bug.cgi?id=73231
983
984         Reviewed by Yury Semikhatsky.
985
986         * DEPS:
987
988 2011-12-01  Pavel Feldman  <pfeldman@google.com>
989
990         Web Inspector: further align front-end configurations: get rid of saveAsAvailable preference, inline drag glass pane.
991         https://bugs.webkit.org/show_bug.cgi?id=73555
992
993         Reviewed by Yury Semikhatsky.
994
995         * src/InspectorFrontendClientImpl.cpp:
996         (WebKit::InspectorFrontendClientImpl::canSaveAs):
997         * src/InspectorFrontendClientImpl.h:
998         * src/js/DevTools.js:
999
1000 2011-12-01  Pavel Feldman  <pfeldman@google.com>
1001
1002         Web Inspector: query backend for capabilities explicitly.
1003         https://bugs.webkit.org/show_bug.cgi?id=73442
1004
1005         Reviewed by Yury Semikhatsky.
1006
1007         * src/InspectorClientImpl.cpp:
1008         (WebKit::InspectorClientImpl::canClearBrowserCache):
1009         (WebKit::InspectorClientImpl::canClearBrowserCookies):
1010         * src/InspectorClientImpl.h:
1011         * src/js/DevTools.js:
1012
1013 2011-11-29  Hans Wennborg  <hans@chromium.org>
1014
1015         IndexedDB: Cursor pre-fetching
1016         https://bugs.webkit.org/show_bug.cgi?id=73025
1017
1018         Reviewed by Darin Fisher.
1019
1020         Add plumbing for new pre-fetching related functions.
1021
1022         * public/WebIDBCallbacks.h:
1023         (WebKit::WebIDBCallbacks::onSuccessWithPrefetch):
1024         * public/WebIDBCursor.h:
1025         (WebKit::WebIDBCursor::deleteFunction):
1026         (WebKit::WebIDBCursor::prefetchContinue):
1027         (WebKit::WebIDBCursor::prefetchReset):
1028         (WebKit::WebIDBCursor::postSuccessHandlerCallback):
1029         * public/WebIDBTransaction.h:
1030         (WebKit::WebIDBTransaction::addPendingEvents):
1031         * src/IDBCallbacksProxy.cpp:
1032         (WebKit::IDBCallbacksProxy::onSuccessWithPrefetch):
1033         * src/IDBCallbacksProxy.h:
1034         * src/IDBCursorBackendProxy.cpp:
1035         (WebKit::IDBCursorBackendProxy::postSuccessHandlerCallback):
1036         * src/IDBCursorBackendProxy.h:
1037         (WebKit::IDBCursorBackendProxy::prefetchContinue):
1038         (WebKit::IDBCursorBackendProxy::prefetchReset):
1039         * src/IDBTransactionBackendProxy.h:
1040         (WebKit::IDBTransactionBackendProxy::addPendingEvents):
1041         * src/WebIDBCursorImpl.cpp:
1042         (WebKit::WebIDBCursorImpl::prefetchContinue):
1043         (WebKit::WebIDBCursorImpl::prefetchReset):
1044         * src/WebIDBCursorImpl.h:
1045
1046 2011-12-01  Hans Wennborg  <hans@chromium.org>
1047
1048         IndexedDB: Fix WebIDBObjectStore::createIndex() after r101602
1049         https://bugs.webkit.org/show_bug.cgi?id=73543
1050
1051         Reviewed by Tony Gentilcore.
1052
1053         r101602 introduces a new signature for createIndex(). Until Chromium
1054         has been updated to override that function, the default implementation
1055         must call the old version.
1056
1057         * public/WebIDBObjectStore.h:
1058         (WebKit::WebIDBObjectStore::createIndex):
1059
1060 2011-11-30  David Reveman  <reveman@chromium.org>
1061
1062         [Chromium] Improve tile invalidation.
1063         https://bugs.webkit.org/show_bug.cgi?id=71872
1064
1065         Reviewed by James Robinson.
1066
1067         Remove public API function WebContentLayer::invalidRect(). Add new
1068         test case to
1069         LayerChromiumTest.checkSetNeedsDisplayCausesCorrectBehavior that
1070         verifies that calling setNeedsDisplay() on a LayerChromium with
1071         empty bounds is handled correctly.
1072
1073         * public/WebContentLayer.h:
1074         * src/WebContentLayer.cpp:
1075         (WebKit::WebContentLayer::invalidateRect):
1076         * src/WebMediaPlayerClientImpl.cpp:
1077         (WebKit::WebMediaPlayerClientImpl::repaint):
1078         * tests/LayerChromiumTest.cpp:
1079
1080 2011-11-30  Takashi Toyoshima  <toyoshim@chromium.org>
1081
1082         Add didUpdateBufferedAmount callback to WebSocketClient API
1083         https://bugs.webkit.org/show_bug.cgi?id=73306
1084
1085         Reviewed by Darin Fisher.
1086
1087         * public/WebSocketClient.h: Add didUpdateBufferedAmount and default implementations for all callbacks.
1088         (WebKit::WebSocketClient::didConnect):
1089         (WebKit::WebSocketClient::didReceiveMessage):
1090         (WebKit::WebSocketClient::didReceiveBinaryData):
1091         (WebKit::WebSocketClient::didReceiveMessageError):
1092         (WebKit::WebSocketClient::didUpdateBufferedAmount):
1093         (WebKit::WebSocketClient::didStartClosingHandshake):
1094         (WebKit::WebSocketClient::didClose):
1095         * src/WebSocketImpl.cpp:
1096         (WebKit::WebSocketImpl::didUpdateBufferedAmount):
1097         * src/WebSocketImpl.h:
1098
1099 2011-11-30  Scott Violet  <sky@google.com>
1100
1101         [chromium] Expose WebLayerTreeView::setRootLayer as a call through
1102         to same method on CCLayerTreeHost.
1103         https://bugs.webkit.org/show_bug.cgi?id=73506
1104
1105         Reviewed by James Robinson.
1106
1107         * public/WebLayerTreeView.h: Adds setRootLayer.
1108         * src/WebLayerTreeView.cpp: Ditto.
1109         (WebKit::WebLayerTreeView::setRootLayer):
1110
1111 2011-11-30  Alexey Proskuryakov  <ap@apple.com>
1112
1113         Remove an unneeded argument from FrameLoaderClient::download
1114         https://bugs.webkit.org/show_bug.cgi?id=73486
1115
1116         Reviewed by Andreas Kling.
1117
1118         * src/FrameLoaderClientImpl.cpp:
1119         (WebKit::FrameLoaderClientImpl::download):
1120         * src/FrameLoaderClientImpl.h:
1121         Updated for the change.
1122
1123 2011-11-30  Joshua Bell  <jsbell@chromium.org>
1124
1125         IndexedDB: Implement IDBIndex multientry feature
1126         https://bugs.webkit.org/show_bug.cgi?id=73232
1127
1128         Reviewed by Tony Chang.
1129
1130         Adds the multientry IDBIndex flag to the WebKit API. A version of the
1131         createIndex() method without this flag is retained until all callers
1132         are updated.
1133
1134         * public/WebIDBIndex.h:
1135         (WebKit::WebIDBIndex::multientry):
1136         * public/WebIDBObjectStore.h:
1137         (WebKit::WebIDBObjectStore::createIndex):
1138         * src/IDBIndexBackendProxy.cpp:
1139         (WebKit::IDBIndexBackendProxy::multientry):
1140         * src/IDBIndexBackendProxy.h:
1141         * src/IDBObjectStoreBackendProxy.cpp:
1142         (WebKit::IDBObjectStoreBackendProxy::createIndex):
1143         * src/IDBObjectStoreBackendProxy.h:
1144         * src/WebIDBIndexImpl.cpp:
1145         (WebKit::WebIDBIndexImpl::multientry):
1146         * src/WebIDBIndexImpl.h:
1147         * src/WebIDBObjectStoreImpl.cpp:
1148         (WebKit::WebIDBObjectStoreImpl::createIndex):
1149         * src/WebIDBObjectStoreImpl.h:
1150         (WebKit::WebIDBObjectStoreImpl::createIndex):
1151
1152 2011-11-30  David Reveman  <reveman@chromium.org>
1153
1154         [Chromium] Add support for painting into an SkPicture and then rasterizing into tile-sized chunks.
1155         https://bugs.webkit.org/show_bug.cgi?id=71388
1156
1157         Reviewed by James Robinson.
1158
1159         Track changes to texture updater.
1160
1161         * tests/TiledLayerChromiumTest.cpp:
1162         (WTF::FakeLayerTextureUpdater::Texture::Texture):
1163         (WTF::FakeLayerTextureUpdater::Texture::~Texture):
1164         (WTF::FakeLayerTextureUpdater::Texture::updateRect):
1165         (WTF::FakeLayerTextureUpdater::createTexture):
1166
1167 2011-11-30  Gregg Tavares  <gman@google.com>
1168
1169         Implement draft WEBGL_compressed_textures WebGL extension
1170         https://bugs.webkit.org/show_bug.cgi?id=72086
1171
1172         Reviewed by Kenneth Russell.
1173
1174         * public/WebGraphicsContext3D.h:
1175         * src/GraphicsContext3DChromium.cpp:
1176         * src/GraphicsContext3DPrivate.h:
1177         * tests/MockWebGraphicsContext3D.h:
1178         (WebKit::MockWebGraphicsContext3D::compressedTexImage2D):
1179         (WebKit::MockWebGraphicsContext3D::compressedTexSubImage2D):
1180
1181 2011-11-18  Nat Duca  <nduca@chromium.org>
1182
1183         [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
1184         https://bugs.webkit.org/show_bug.cgi?id=70838
1185
1186         Reviewed by James Robinson.
1187
1188         * public/WebCompositor.h:
1189         * public/WebLayerTreeView.h:
1190         (WebKit::WebLayerTreeView::Settings::Settings):
1191         * public/WebSettings.h:
1192         * src/WebCompositorImpl.cpp:
1193         (WebKit::WebCompositor::initialize):
1194         (WebKit::WebCompositor::shutdown):
1195         (WebKit::WebCompositor::fromIdentifier):
1196         * src/WebKit.cpp:
1197         (WebKit::initializeWithoutV8):
1198         * src/WebLayerTreeView.cpp:
1199         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1200         (WebKit::WebLayerTreeView::composite):
1201         * src/WebLayerTreeViewImpl.cpp:
1202         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
1203         * src/WebSettingsImpl.cpp:
1204         (WebKit::WebSettingsImpl::WebSettingsImpl):
1205         * src/WebSettingsImpl.h:
1206         * src/WebViewImpl.cpp:
1207         (WebKit::WebViewImpl::animate):
1208         (WebKit::WebViewImpl::composite):
1209         (WebKit::WebViewImpl::scheduleAnimation):
1210         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1211         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1212         (WebKit::WebViewImpl::scheduleComposite):
1213         (WebKit::WebViewImpl::graphicsContext3D):
1214         * tests/CCLayerTreeHostTest.cpp:
1215         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1216         (WTF::CCLayerTreeHostTest::runTest):
1217
1218 2011-11-30  David Levin  <levin@chromium.org>
1219
1220         [chromium] Move didUpdateLayout from WebFrameClient to WebViewClient.
1221         https://bugs.webkit.org/show_bug.cgi?id=73415
1222
1223         Reviewed by Darin Fisher.
1224
1225         * public/WebFrameClient.h: Move didUpdateLayout to WebViewClient.
1226         * public/WebViewClient.h:
1227         (WebKit::WebViewClient::didUpdateLayout): Ditto.
1228         * src/ChromeClientImpl.cpp: Call WebViewImpl now.
1229         (WebKit::ChromeClientImpl::layoutUpdated):
1230         * src/WebViewImpl.cpp:
1231         (WebKit::WebViewImpl::layoutUpdated):
1232         * src/WebViewImpl.h: Added layoutUpdated.
1233
1234 2011-11-30  Pavel Feldman  <pfeldman@google.com>
1235
1236         Web Inspector: get rid of deferred backend->front-end commands processing.
1237         https://bugs.webkit.org/show_bug.cgi?id=73439
1238
1239         Reviewed by Yury Semikhatsky.
1240
1241         * src/WebDevToolsFrontendImpl.cpp:
1242         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
1243         (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
1244         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
1245         * src/WebDevToolsFrontendImpl.h:
1246
1247 2011-11-30  Michael Nordman  <michaeln@google.com>
1248
1249         [chromium] WebSQLDatabase could use some better error reporting.
1250         Instruments the database classes to report errors a the DatabaseObserver.
1251         https://bugs.webkit.org/show_bug.cgi?id=73258
1252
1253         Reviewed by David Levin.
1254
1255         * public/WebDatabase.h:
1256         * public/WebDatabaseObserver.h:
1257         (WebKit::WebDatabaseObserver::reportOpenDatabaseResult):
1258         (WebKit::WebDatabaseObserver::reportChangeVersionResult):
1259         (WebKit::WebDatabaseObserver::reportStartTransactionResult):
1260         (WebKit::WebDatabaseObserver::reportCommitTransactionResult):
1261         (WebKit::WebDatabaseObserver::reportExecuteStatementResult):
1262         (WebKit::WebDatabaseObserver::reportVacuumDatabaseResult):
1263         * src/DatabaseObserver.cpp:
1264         (WebCore::DatabaseObserver::reportOpenDatabaseResult):
1265         (WebCore::DatabaseObserver::reportChangeVersionResult):
1266         (WebCore::DatabaseObserver::reportStartTransactionResult):
1267         (WebCore::DatabaseObserver::reportCommitTransactionResult):
1268         (WebCore::DatabaseObserver::reportExecuteStatementResult):
1269         (WebCore::DatabaseObserver::reportVacuumDatabaseResult):
1270         * src/WebDatabase.cpp:
1271         (WebKit::WebDatabase::isSyncDatabase):
1272
1273 2011-11-30  Sheriff Bot  <webkit.review.bot@gmail.com>
1274
1275         Unreviewed, rolling out r101440 and r101442.
1276         http://trac.webkit.org/changeset/101440
1277         http://trac.webkit.org/changeset/101442
1278         https://bugs.webkit.org/show_bug.cgi?id=73429
1279
1280         multiple crashes on layout tests (Requested by hayato on
1281         #webkit).
1282
1283         * WebKit.gyp:
1284         * WebKit.gypi:
1285         * public/WebCompositor.h:
1286         * public/WebCompositorClient.h:
1287         * public/WebCompositorInputHandler.h: Removed.
1288         * public/WebCompositorInputHandlerClient.h: Removed.
1289         * public/WebLayerTreeView.h:
1290         (WebKit::WebLayerTreeView::Settings::Settings):
1291         * public/WebSettings.h:
1292         * src/WebCompositorImpl.cpp:
1293         (WebCore::CCInputHandler::create):
1294         (WebKit::WebCompositor::setThread):
1295         (WebKit::WebCompositor::fromIdentifier):
1296         (WebKit::WebCompositorImpl::fromIdentifier):
1297         (WebKit::WebCompositorImpl::WebCompositorImpl):
1298         (WebKit::WebCompositorImpl::~WebCompositorImpl):
1299         (WebKit::WebCompositorImpl::setClient):
1300         (WebKit::WebCompositorImpl::handleInputEvent):
1301         (WebKit::WebCompositorImpl::identifier):
1302         (WebKit::WebCompositorImpl::willDraw):
1303         * src/WebCompositorImpl.h:
1304         (WebKit::WebCompositorImpl::create):
1305         * src/WebCompositorInputHandlerImpl.cpp: Removed.
1306         * src/WebCompositorInputHandlerImpl.h: Removed.
1307         * src/WebKit.cpp:
1308         (WebKit::initializeWithoutV8):
1309         (WebKit::shutdown):
1310         * src/WebLayerTreeView.cpp:
1311         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1312         (WebKit::WebLayerTreeView::composite):
1313         * src/WebLayerTreeViewImpl.cpp:
1314         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
1315         * src/WebSettingsImpl.cpp:
1316         (WebKit::WebSettingsImpl::WebSettingsImpl):
1317         (WebKit::WebSettingsImpl::setUseThreadedCompositor):
1318         * src/WebSettingsImpl.h:
1319         (WebKit::WebSettingsImpl::useThreadedCompositor):
1320         * src/WebViewImpl.cpp:
1321         (WebKit::WebViewImpl::animate):
1322         (WebKit::WebViewImpl::composite):
1323         (WebKit::WebViewImpl::scheduleAnimation):
1324         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1325         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1326         (WebKit::WebViewImpl::scheduleComposite):
1327         (WebKit::WebViewImpl::graphicsContext3D):
1328         * tests/CCLayerTreeHostTest.cpp:
1329         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1330         (WTF::CCLayerTreeHostTest::onEndTest):
1331         (WTF::CCLayerTreeHostTest::runTest):
1332         (WTF::CCLayerTreeHostTest::doBeginTest):
1333         (WTF::CCLayerTreeHostTestShortlived1::beginTest):
1334         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
1335         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
1336         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
1337         (WTF::CCLayerTreeHostTestOpacityChange::afterTest):
1338         * tests/WebCompositorImplTest.cpp: Renamed from Source/WebKit/chromium/tests/WebCompositorInputHandlerImplTest.cpp.
1339
1340 2011-11-30  Daniel Sievers  <sievers@chromium.org>
1341
1342         [Chromium] Avoid ASSERT_NOT_REACHED() from creating FBO with content texture of size 0
1343         https://bugs.webkit.org/show_bug.cgi?id=73266
1344
1345         Reviewed by James Robinson.
1346
1347         * tests/CCLayerTreeHostCommonTest.cpp:
1348         (WebCore::TEST):
1349
1350 2011-11-30  Pavel Feldman  <pfeldman@google.com>
1351
1352         Web Inspector: do not report worker-related events unless inspector agent is enabled.
1353         https://bugs.webkit.org/show_bug.cgi?id=73411
1354
1355         Reviewed by Yury Semikhatsky.
1356
1357         * src/WebDevToolsAgentImpl.cpp:
1358         (WebKit::WebDevToolsAgent::disconnectEventAsText):
1359
1360 2011-11-30  Fady Samuel  <fsamuel@chromium.org>
1361
1362         [Chromium] Fix broken DRT build for Aura Linux
1363         https://bugs.webkit.org/show_bug.cgi?id=72667
1364
1365         Reviewed by Tony Chang.
1366
1367         * WebKit.gyp:
1368
1369 2011-11-29  Nat Duca  <nduca@chromium.org>
1370
1371         Unreviewed. Fix clang build by using raw pointers instead of static OwnPtrs
1372         for WebCompositor managment.
1373
1374         * src/WebCompositorImpl.cpp:
1375         (WebKit::WebCompositorImpl::initialize):
1376         (WebKit::WebCompositorImpl::shutdown):
1377         * src/WebCompositorImpl.h:
1378
1379 2011-11-18  Nat Duca  <nduca@chromium.org>
1380
1381         [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
1382         https://bugs.webkit.org/show_bug.cgi?id=70838
1383
1384         Reviewed by James Robinson.
1385
1386         * public/WebCompositor.h:
1387         * public/WebLayerTreeView.h:
1388         (WebKit::WebLayerTreeView::Settings::Settings):
1389         * public/WebSettings.h:
1390         * src/WebCompositorImpl.cpp:
1391         (WebKit::WebCompositor::initialize):
1392         (WebKit::WebCompositor::shutdown):
1393         (WebKit::WebCompositor::fromIdentifier):
1394         * src/WebKit.cpp:
1395         (WebKit::initializeWithoutV8):
1396         * src/WebLayerTreeView.cpp:
1397         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1398         (WebKit::WebLayerTreeView::composite):
1399         * src/WebLayerTreeViewImpl.cpp:
1400         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
1401         * src/WebSettingsImpl.cpp:
1402         (WebKit::WebSettingsImpl::WebSettingsImpl):
1403         * src/WebSettingsImpl.h:
1404         * src/WebViewImpl.cpp:
1405         (WebKit::WebViewImpl::animate):
1406         (WebKit::WebViewImpl::composite):
1407         (WebKit::WebViewImpl::scheduleAnimation):
1408         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1409         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1410         (WebKit::WebViewImpl::scheduleComposite):
1411         (WebKit::WebViewImpl::graphicsContext3D):
1412         * tests/CCLayerTreeHostTest.cpp:
1413         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1414         (WTF::CCLayerTreeHostTest::runTest):
1415
1416 2011-11-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1417
1418         Unreviewed, rolling out r101418.
1419         http://trac.webkit.org/changeset/101418
1420         https://bugs.webkit.org/show_bug.cgi?id=73372
1421
1422         Chromium renderer crashes with ENABLE(MUTATION_OBSERVERS)
1423         (Requested by aklein on #webkit).
1424
1425         * public/platform/WebThread.h:
1426         * src/WebKit.cpp:
1427         (WebKit::initialize):
1428         (WebKit::shutdown):
1429
1430 2011-11-29  Dirk Pranke  <dpranke@chromium.org>
1431
1432         add webkit_user_agent to DRT and webkit_unit_tests
1433         https://bugs.webkit.org/show_bug.cgi?id=73362
1434
1435         Reviewed by Tony Chang.
1436
1437         In preparation for building webkit_glue as a separate component,
1438         we need to explicitly declare DRT's and webkit_unit_tests'
1439         dependencies on webkit_user_agent.
1440
1441         * WebKit.gyp:
1442
1443 2011-11-28  Adam Klein  <adamk@chromium.org>
1444
1445         [chromium] WebKitMutationObserver::deliverAllMutations should be exposed through the Chromium API
1446         https://bugs.webkit.org/show_bug.cgi?id=71242
1447
1448         Reviewed by Darin Fisher.
1449
1450         Add addTaskObserver and removeTaskObserver to WebThread,
1451         along with a new WebThread::TaskObserver interface.
1452
1453         For mutation observers, add a TaskObserver to the main thread
1454         to deliver mutations after each task runs.
1455
1456         The Chromium side of this patch is http://codereview.chromium.org/8586038/
1457
1458         * public/platform/WebThread.h:
1459         (WebKit::WebThread::TaskObserver::~TaskObserver):
1460         * src/WebKit.cpp:
1461         (WebKit::initialize):
1462         (WebKit::shutdown):
1463
1464 2011-11-29  Pavel Feldman  <pfeldman@google.com>
1465
1466         Web Inspector: split Preferences into Preferences and Capabilities.
1467         https://bugs.webkit.org/show_bug.cgi?id=73321
1468
1469         Reviewed by Yury Semikhatsky.
1470
1471         * src/js/DevTools.js:
1472
1473 2011-11-29  Jing Zhao  <jingzhao@chromium.org>
1474
1475         Assertion fails when opening two popup menus
1476         https://bugs.webkit.org/show_bug.cgi?id=73189
1477
1478         Reviewed by Kent Tamura.
1479
1480         By using element.dispatchEvent(), a user written script can open two
1481         popup menus, which causes the assertion in WebViewImpl::popupOpened()
1482         fail.
1483
1484         Check if there is an opened popup menu before opening a popup menu.
1485
1486         * src/WebViewImpl.cpp:
1487         (WebKit::WebViewImpl::popupOpened):
1488
1489 2011-11-28  David Grogan  <dgrogan@chromium.org>
1490
1491         WebWorkerRunLoop wrapper around WorkerRunLoop
1492         https://bugs.webkit.org/show_bug.cgi?id=71757
1493
1494         This allows the embedder to post tasks to webcore-created worker
1495         threads.  WebWorkerRunLoop is a thin wrapper that just holds a
1496         WorkerRunLoop*.  As such, it is not heap allocated and can be copied.
1497
1498         Reviewed by Darin Fisher.
1499
1500         * WebKit.gyp: Added WebWorkerRunLoop.{cpp,h}
1501
1502         * public/WebWorkerRunLoop.h: Added. Interface the embedder will use to
1503         post Tasks to worker threads created in WebCore.
1504         (WebKit::WebWorkerRunLoop::Task::~Task):
1505         (WebKit::operator==): These are the operators necessary to allow
1506         WebWorkerRunLoop to be used as a key in a std::map using the value of
1507         the underlying WebCore::WorkerRunLoop* for the meaningful comparisons.
1508         (WebKit::operator<):
1509
1510         * public/platform/WebKitPlatformSupport.h: Stubs for the embedder to
1511         implement.
1512         (WebKit::WebKitPlatformSupport::didStartWorkerRunLoop):
1513         (WebKit::WebKitPlatformSupport::didStopWorkerRunLoop):
1514
1515         * src/PlatformSupport.cpp: Wrap incoming WorkerRunLoop objects in
1516         WebWorkerRunLoopImpl objects, forward them to WebKitPlatformSupport.
1517         (WebCore::PlatformSupport::didStartWorkerRunLoop):
1518         (WebCore::PlatformSupport::didStopWorkerRunLoop):
1519
1520         * src/WebWorkerRunLoop.cpp: Added.
1521         (WebKit::WebWorkerRunLoop::WebWorkerRunLoop): Store incoming
1522         WorkerRunLoop pointer.
1523         (WebKit::WebWorkerRunLoop::postTask): Wrap incoming Task in
1524         ScriptExecutionContext::Task, post to stored WorkerRunLoop.
1525         (WebKit::WebWorkerRunLoop::equals): Support for the operators mentioned
1526         above.
1527         (WebKit::WebWorkerRunLoop::lessThan): Ditto.
1528
1529 2011-11-29  Roland Steiner  <rolandsteiner@chromium.org>
1530
1531         <style scoped>: add ENABLE(STYLE_SCOPED) flag to WebKit
1532         https://bugs.webkit.org/show_bug.cgi?id=72848
1533
1534         Reviewed by Dimitri Glazkov.
1535
1536         * features.gypi:
1537
1538 2011-11-28  Shawn Singh  <shawnsingh@chromium.org>
1539
1540         [chromium] Create CCDamageTracker class to determine regions of change for a surface.
1541         https://bugs.webkit.org/show_bug.cgi?id=72520
1542
1543         Reviewed by James Robinson.
1544
1545         * WebKit.gypi:
1546         * tests/CCDamageTrackerTest.cpp: Added.
1547         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
1548         (WebKitTests::emulateDrawingOneFrame):
1549         (WebKitTests::createTestTreeWithOneSurface):
1550         (WebKitTests::createTestTreeWithTwoSurfaces):
1551         (WebKitTests::createAndSetUpTestTreeWithOneSurface):
1552         (WebKitTests::createAndSetUpTestTreeWithTwoSurfaces):
1553         (WebKitTests::TEST_F):
1554         * tests/CCLayerImplTest.cpp:
1555         (WebCore::TEST):
1556         * tests/CCLayerTreeHostCommonTest.cpp:
1557         (WebCore::TEST):
1558         * tests/CCLayerTreeTestCommon.h: Added.
1559         * tests/CCRenderSurfaceTest.cpp:
1560         (WebCore::TEST):
1561         * tests/LayerChromiumTest.cpp:
1562
1563 2011-11-28  Jon Lee  <jonlee@apple.com>
1564
1565         Possible fix for test failures in r101307.
1566
1567         * src/WebViewImpl.cpp:
1568         (WebKit::WebViewImpl::WebViewImpl):
1569
1570 2011-11-28  Jon Lee  <jonlee@apple.com>
1571
1572         Create skeleton framework for notifications support in WK2
1573         https://bugs.webkit.org/show_bug.cgi?id=73253
1574         <rdar://problem/10356943>
1575
1576         Reviewed by Sam Weinig.
1577
1578         Remove notificationPresenter() from the chrome client, since it is now managed by
1579         the notification controller.
1580
1581         * src/ChromeClientImpl.cpp:
1582         * src/ChromeClientImpl.h:
1583         * src/WebNotification.cpp:
1584         (WebKit::WebNotification::title): Refactoring with NotificationContents conversion to struct.
1585         (WebKit::WebNotification::body): Ditto.
1586         * src/WebViewImpl.cpp:
1587         (WebKit::WebViewImpl::WebViewImpl): Set notification client in web view's page clients.
1588
1589 2011-11-28  Beth Dakin  <bdakin@apple.com>
1590
1591         Speculative Chromium build fix.
1592
1593         * src/ScrollbarGroup.cpp:
1594         (WebKit::ScrollbarGroup::scrollbarStyleChanged):
1595         * src/ScrollbarGroup.h:
1596
1597 2011-11-28  Dana Jansens  <danakj@chromium.org>
1598
1599         FloatQuad::isRectilinear() returns false for 180degree rotations
1600         https://bugs.webkit.org/show_bug.cgi?id=73040
1601
1602         Reviewed by James Robinson.
1603
1604         * WebKit.gypi:
1605         * tests/FloatQuadTest.cpp: Added.
1606         (WebCore::TEST):
1607
1608 2011-11-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1609
1610         Unreviewed, rolling out r101273.
1611         http://trac.webkit.org/changeset/101273
1612         https://bugs.webkit.org/show_bug.cgi?id=73244
1613
1614         multiple test failures and timeouts (Requested by tony^work on
1615         #webkit).
1616
1617         * WebKit.gyp:
1618
1619 2011-11-28  Fady Samuel  <fsamuel@chromium.org>
1620
1621         [Chromium] Fix broken DRT build for Aura Linux
1622         https://bugs.webkit.org/show_bug.cgi?id=72667
1623
1624         Reviewed by Tony Chang.
1625
1626         * WebKit.gyp:
1627
1628 2011-11-28  Adam Barth  <abarth@webkit.org>
1629
1630         [Chromium] Move "final" batch of headers into public/platform
1631         https://bugs.webkit.org/show_bug.cgi?id=73198
1632
1633         Reviewed by Darin Fisher.
1634
1635         This patch moves another group of headers into the platform directory.
1636         I found these headers by reading through the list of headers and
1637         coorelating them with WebCore concepts.  This patch doesn't move all
1638         the APIs that coorespond to WebCore platform concepts because some,
1639         such as WebFontCache, are not used to support the WebCore platform but
1640         rather to provide the embedder access to the WebCore concept.  This
1641         patch should be the last bulk move of headers.
1642
1643         There are two main groups of headers that make up the bulk of this
1644         patch:
1645
1646         1) URLLoader-related headers.
1647         2) Geometry-related headers.
1648
1649         * public/WebArrayBufferView.h: Replaced.
1650         * public/WebBlobData.h: Replaced.
1651         * public/WebCookie.h: Replaced.
1652         * public/WebExternalTextureLayer.h: Update include.
1653         * public/WebFloatPoint.h: Replaced.
1654         * public/WebFloatQuad.h: Replaced.
1655         * public/WebFloatRect.h: Replaced.
1656         * public/WebFrameClient.h: Update include.
1657         * public/WebHTTPBody.h: Replaced.
1658         * public/WebHTTPHeaderVisitor.h: Replaced.
1659         * public/WebHTTPLoadInfo.h: Replaced.
1660         * public/WebThreadSafeData.h: Replaced.
1661         * public/WebURLError.h: Replaced.
1662         * public/WebURLLoadTiming.h: Replaced.
1663         * public/WebURLLoaderClient.h: Replaced.
1664         * public/WebURLRequest.h: Replaced.
1665         * public/WebURLResponse.h: Replaced.
1666         * public/platform/WebArrayBufferView.h: Copied from Source/WebKit/chromium/public/WebArrayBufferView.h.
1667         * public/platform/WebBlobData.h: Copied from Source/WebKit/chromium/public/WebBlobData.h.
1668         * public/platform/WebCookie.h: Copied from Source/WebKit/chromium/public/WebCookie.h.
1669         * public/platform/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/WebFloatPoint.h.
1670         * public/platform/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/WebFloatQuad.h.
1671         * public/platform/WebFloatRect.h: Copied from Source/WebKit/chromium/public/WebFloatRect.h.
1672         * public/platform/WebHTTPBody.h: Copied from Source/WebKit/chromium/public/WebHTTPBody.h.
1673         * public/platform/WebHTTPHeaderVisitor.h: Copied from Source/WebKit/chromium/public/WebHTTPHeaderVisitor.h.
1674         * public/platform/WebHTTPLoadInfo.h: Copied from Source/WebKit/chromium/public/WebHTTPLoadInfo.h.
1675         * public/platform/WebThreadSafeData.h: Copied from Source/WebKit/chromium/public/WebThreadSafeData.h.
1676         * public/platform/WebURLError.h: Copied from Source/WebKit/chromium/public/WebURLError.h.
1677         * public/platform/WebURLLoadTiming.h: Copied from Source/WebKit/chromium/public/WebURLLoadTiming.h.
1678         * public/platform/WebURLLoader.h: Remove FIXME.
1679         * public/platform/WebURLLoaderClient.h: Copied from Source/WebKit/chromium/public/WebURLLoaderClient.h.
1680         * public/platform/WebURLRequest.h: Copied from Source/WebKit/chromium/public/WebURLRequest.h.
1681         * public/platform/WebURLResponse.h: Copied from Source/WebKit/chromium/public/WebURLResponse.h.
1682
1683 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
1684
1685         [Chromium] Web Inspector: delete WebDevToolsAgent::frontendLoaded
1686         https://bugs.webkit.org/show_bug.cgi?id=73131
1687
1688         Now that the method is not used in Chromium we can delete it.
1689
1690         Reviewed by Pavel Feldman.
1691
1692         * public/WebDevToolsAgent.h:
1693         * src/WebDevToolsAgentImpl.cpp:
1694         * src/WebDevToolsAgentImpl.h:
1695
1696 2011-11-28  Adam Barth  <abarth@webkit.org>
1697
1698         Update some sloppy includes.
1699
1700         * public/platform/linux/WebSandboxSupport.h:
1701         * public/platform/win/WebThemeEngine.h:
1702
1703 2011-11-28  Adam Barth  <abarth@webkit.org>
1704
1705         More forwarding headers.  Turns out I forgot to svn add them.  :(
1706
1707         * public/android/WebSandboxSupport.h: Added.
1708         * public/linux/WebFontFamily.h: Added.
1709         * public/linux/WebSandboxSupport.h: Added.
1710         * public/mac/WebSandboxSupport.h: Added.
1711         * public/win/WebSandboxSupport.h: Added.
1712
1713 2011-11-28  Adam Barth  <abarth@webkit.org>
1714
1715         Add missing forwaring headers.
1716
1717         * public/android/WebThemeEngine.h: Added.
1718         * public/linux/WebThemeEngine.h: Added.
1719         * public/mac/WebThemeEngine.h: Added.
1720         * public/win/WebThemeEngine.h: Added.
1721
1722 2011-11-27  Yury Semikhatsky  <yurys@chromium.org>
1723
1724         Unreviewed. Revert r101226.
1725
1726         * DEPS:
1727
1728 2011-11-27  Yury Semikhatsky  <yurys@chromium.org>
1729
1730         Unreviewed. Update Chromium revision.
1731
1732         * DEPS:
1733
1734 2011-11-24  Adam Barth  <abarth@webkit.org>
1735
1736         [Chromium] Move the next traunch of headers into public/platform
1737         https://bugs.webkit.org/show_bug.cgi?id=73073
1738
1739         Reviewed by Darin Fisher.
1740
1741         These headers are all the forward-declared classes in
1742         WebKitPlatformSupport (and their dependencies) that wrap concepts in
1743         WebCore/platform.
1744
1745         There are a number of forward-declared classes in WebKitPlatformSupport
1746         that coorespond to WebCore concepts outside of WebCore/platform.  I've
1747         marked these with FIXME comments.  We'll need to study them in more
1748         detail to see whether they should move into WebCore/platform or whether
1749         we need to move them out of WebKitPlaformSupport.h.  (One possible
1750         resolution might be to introducing a WebKitClientSupport.h to hold
1751         statics for client concepts).
1752
1753         * public/WebBlobRegistry.h: Replaced.
1754         * public/WebCanvas.h: Replaced.
1755         * public/WebClipboard.h: Replaced.
1756         * public/WebColor.h: Replaced.
1757         * public/WebColorName.h: Replaced.
1758         * public/WebCommonWorkerClient.h:
1759         * public/WebCompositionUnderline.h:
1760         * public/WebContentLayerClient.h:
1761         * public/WebContextMenuData.h:
1762         * public/WebCookieJar.h: Replaced.
1763         * public/WebCursorInfo.h:
1764         * public/WebDragData.h: Replaced.
1765         * public/WebFileSystem.h: Replaced.
1766         * public/WebFloatQuad.h:
1767         * public/WebFont.h:
1768         * public/WebFrame.h:
1769         * public/WebFrameClient.h:
1770         * public/WebGeolocationController.h:
1771         * public/WebGeolocationPermissionRequestManager.h:
1772         * public/WebGraphicsContext3D.h: Replaced.
1773         * public/WebHTTPBody.h:
1774         * public/WebImage.h: Replaced.
1775         * public/WebImageDecoder.h:
1776         * public/WebLayer.h:
1777         * public/WebMediaPlayer.h:
1778         * public/WebMediaStreamDescriptor.h: Replaced.
1779         * public/WebMediaStreamSource.h:
1780         * public/WebMimeRegistry.h: Replaced.
1781         * public/WebNonCopyable.h: Replaced.
1782         * public/WebPeerConnectionHandler.h: Replaced.
1783         * public/WebPeerConnectionHandlerClient.h: Replaced.
1784         * public/WebPlugin.h:
1785         * public/WebPoint.h: Replaced.
1786         * public/WebRect.h: Replaced.
1787         * public/WebRegularExpression.h:
1788         * public/WebScreenInfo.h:
1789         * public/WebScrollbar.h:
1790         * public/WebSize.h: Replaced.
1791         * public/WebSocketStreamError.h: Replaced.
1792         * public/WebSocketStreamHandle.h: Replaced.
1793         * public/WebSocketStreamHandleClient.h: Replaced.
1794         * public/WebThread.h: Replaced.
1795         * public/WebTouchPoint.h:
1796         * public/WebURLLoader.h: Replaced.
1797         * public/WebWidget.h:
1798         * public/WebWidgetClient.h:
1799         * public/android/WebSandboxSupport.h: Removed.
1800         * public/android/WebThemeEngine.h: Removed.
1801         * public/linux/WebFontFamily.h: Removed.
1802         * public/linux/WebSandboxSupport.h: Removed.
1803         * public/linux/WebThemeEngine.h: Removed.
1804         * public/mac/WebSandboxSupport.h: Removed.
1805         * public/mac/WebThemeEngine.h: Removed.
1806         * public/platform/WebBlobRegistry.h: Copied from Source/WebKit/chromium/public/WebBlobRegistry.h.
1807         * public/platform/WebCanvas.h: Copied from Source/WebKit/chromium/public/WebCanvas.h.
1808         * public/platform/WebClipboard.h: Copied from Source/WebKit/chromium/public/WebClipboard.h.
1809         * public/platform/WebColor.h: Copied from Source/WebKit/chromium/public/WebColor.h.
1810         * public/platform/WebColorName.h: Copied from Source/WebKit/chromium/public/WebColorName.h.
1811         * public/platform/WebCookieJar.h: Copied from Source/WebKit/chromium/public/WebCookieJar.h.
1812         * public/platform/WebDragData.h: Copied from Source/WebKit/chromium/public/WebDragData.h.
1813         * public/platform/WebFileSystem.h: Copied from Source/WebKit/chromium/public/WebFileSystem.h.
1814         * public/platform/WebGraphicsContext3D.h: Copied from Source/WebKit/chromium/public/WebGraphicsContext3D.h.
1815         * public/platform/WebImage.h: Copied from Source/WebKit/chromium/public/WebImage.h.
1816         * public/platform/WebKitPlatformSupport.h:
1817         * public/platform/WebMediaStreamDescriptor.h: Copied from Source/WebKit/chromium/public/WebMediaStreamDescriptor.h.
1818         * public/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/WebMimeRegistry.h.
1819         * public/platform/WebNonCopyable.h: Copied from Source/WebKit/chromium/public/WebNonCopyable.h.
1820         * public/platform/WebPeerConnectionHandler.h: Copied from Source/WebKit/chromium/public/WebPeerConnectionHandler.h.
1821         * public/platform/WebPeerConnectionHandlerClient.h: Copied from Source/WebKit/chromium/public/WebPeerConnectionHandlerClient.h.
1822         * public/platform/WebPoint.h: Copied from Source/WebKit/chromium/public/WebPoint.h.
1823         * public/platform/WebRect.h: Copied from Source/WebKit/chromium/public/WebRect.h.
1824         * public/platform/WebSize.h: Copied from Source/WebKit/chromium/public/WebSize.h.
1825         * public/platform/WebSocketStreamError.h: Copied from Source/WebKit/chromium/public/WebSocketStreamError.h.
1826         * public/platform/WebSocketStreamHandle.h: Copied from Source/WebKit/chromium/public/WebSocketStreamHandle.h.
1827         * public/platform/WebSocketStreamHandleClient.h: Copied from Source/WebKit/chromium/public/WebSocketStreamHandleClient.h.
1828         * public/platform/WebThread.h: Copied from Source/WebKit/chromium/public/WebThread.h.
1829         * public/platform/WebURLLoader.h: Copied from Source/WebKit/chromium/public/WebURLLoader.h.
1830         * public/platform/android: Added.
1831         * public/platform/android/WebSandboxSupport.h: Copied from Source/WebKit/chromium/public/android/WebSandboxSupport.h.
1832         * public/platform/android/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/android/WebThemeEngine.h.
1833         * public/platform/linux: Added.
1834         * public/platform/linux/WebFontFamily.h: Copied from Source/WebKit/chromium/public/linux/WebFontFamily.h.
1835         * public/platform/linux/WebSandboxSupport.h: Copied from Source/WebKit/chromium/public/linux/WebSandboxSupport.h.
1836         * public/platform/linux/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/linux/WebThemeEngine.h.
1837         (WebKit::WebThemeEngine::paint):
1838         * public/platform/mac: Added.
1839         * public/platform/mac/WebSandboxSupport.h: Copied from Source/WebKit/chromium/public/mac/WebSandboxSupport.h.
1840         * public/platform/mac/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/mac/WebThemeEngine.h.
1841         (WebKit::WebThemeEngine::paintScrollbarThumb):
1842         * public/platform/win: Added.
1843         * public/platform/win/WebSandboxSupport.h: Copied from Source/WebKit/chromium/public/win/WebSandboxSupport.h.
1844         * public/platform/win/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/win/WebThemeEngine.h.
1845         * public/win/WebSandboxSupport.h: Removed.
1846         * public/win/WebThemeEngine.h: Removed.
1847
1848 2011-11-27  Tommy Widenflycht  <tommyw@google.com>
1849
1850         [chromium] MediaStream API: Updating the licences to the correct one.
1851         https://bugs.webkit.org/show_bug.cgi?id=73129
1852
1853         Replacing the incorrect ones I have submitted with the correct ones.
1854
1855         Reviewed by Darin Fisher.
1856
1857         * bridge/PeerConnectionHandler.cpp:
1858         * bridge/PeerConnectionHandlerInternal.cpp:
1859         * bridge/PeerConnectionHandlerInternal.h:
1860         * public/WebMediaStreamDescriptor.h:
1861         * public/WebMediaStreamRegistry.h:
1862         * public/WebMediaStreamSource.h:
1863         * public/WebPeerConnectionHandler.h:
1864         * public/WebPeerConnectionHandlerClient.h:
1865         * src/WebMediaStreamDescriptor.cpp:
1866         * src/WebMediaStreamRegistry.cpp:
1867         * src/WebMediaStreamSource.cpp:
1868
1869 2011-11-26  Pavel Feldman  <pfeldman@google.com>
1870
1871         Web Inspector: remove disconnectFromBackend from the protocol.
1872         https://bugs.webkit.org/show_bug.cgi?id=73127
1873
1874         We should instead use InspectorClient::closeInspectorFrontend that would
1875         be closing the front-end window.
1876
1877         Reviewed by Yury Semikhatsky.
1878
1879         * src/InspectorClientImpl.cpp:
1880         (WebKit::InspectorClientImpl::closeInspectorFrontend):
1881         * src/InspectorClientImpl.h:
1882         * src/InspectorFrontendClientImpl.cpp:
1883         * src/InspectorFrontendClientImpl.h:
1884         * src/WebDevToolsAgentImpl.cpp:
1885         (WebKit::WebDevToolsAgentImpl::closeInspectorFrontend):
1886         (WebKit::WebDevToolsAgent::disconnectEventAsText):
1887         * src/WebDevToolsAgentImpl.h:
1888
1889 2011-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
1890
1891         Unreviewed, rolling out r101193.
1892         http://trac.webkit.org/changeset/101193
1893         https://bugs.webkit.org/show_bug.cgi?id=73158
1894
1895         Breaks Windows and Qt minimal. (Requested by pfeldman on
1896         #webkit).
1897
1898         * src/InspectorClientImpl.cpp:
1899         * src/InspectorClientImpl.h:
1900         * src/InspectorFrontendClientImpl.cpp:
1901         (WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
1902         * src/InspectorFrontendClientImpl.h:
1903         * src/WebDevToolsAgentImpl.cpp:
1904         (WebKit::WebDevToolsAgent::disconnectEventAsText):
1905         * src/WebDevToolsAgentImpl.h:
1906
1907 2011-11-26  Pavel Feldman  <pfeldman@google.com>
1908
1909         Web Inspector: remove disconnectFromBackend from the protocol.
1910         https://bugs.webkit.org/show_bug.cgi?id=73127
1911
1912         We should instead use InspectorClient::closeInspectorFrontend that would
1913         be closing the front-end window.
1914
1915         Reviewed by Yury Semikhatsky.
1916
1917         * src/InspectorClientImpl.cpp:
1918         (WebKit::InspectorClientImpl::closeInspectorFrontend):
1919         * src/InspectorClientImpl.h:
1920         * src/InspectorFrontendClientImpl.cpp:
1921         * src/InspectorFrontendClientImpl.h:
1922         * src/WebDevToolsAgentImpl.cpp:
1923         (WebKit::WebDevToolsAgentImpl::closeInspectorFrontend):
1924         (WebKit::WebDevToolsAgent::disconnectEventAsText):
1925         * src/WebDevToolsAgentImpl.h:
1926
1927 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
1928
1929         [Chromium] Web Inspector: assertion failure in InspectorController::restoreInspectorStateFromCookie
1930         https://bugs.webkit.org/show_bug.cgi?id=73136
1931
1932         Don't call connectFrontend twice on reattach.
1933
1934         Reviewed by Pavel Feldman.
1935
1936         * src/WebDevToolsAgentImpl.cpp:
1937         (WebKit::WebDevToolsAgentImpl::reattach):
1938
1939 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
1940
1941         Unreviewed. Chromium build fix.
1942
1943         * public/WebDevToolsFrontendClient.h:
1944         (WebKit::WebDevToolsFrontendClient::sendFrontendLoaded): dowsntream implementation
1945         with OVERRIDE modifier fails to compile without this stub.
1946
1947 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
1948
1949         [Chromium] Web Inspector: get rid of WebDevToolsFrontendClient::sendFrontendLoaded method
1950         https://bugs.webkit.org/show_bug.cgi?id=73126
1951
1952         No need to have a separate client call for this. The front-end can store messages
1953         which arrive before front-end loaded and dispatch them later. This happens in layout
1954         tests only by the way as all other messages should be initiated by the front-end code.
1955
1956         Reviewed by Pavel Feldman.
1957
1958         * public/WebDevToolsFrontendClient.h:
1959         * src/WebDevToolsAgentImpl.cpp:
1960         (WebKit::WebDevToolsAgentImpl::attach):
1961         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
1962         * src/WebDevToolsFrontendImpl.cpp:
1963         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
1964         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
1965         (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
1966         (WebKit::WebDevToolsFrontendImpl::doDispatchOnInspectorFrontend):
1967         * src/WebDevToolsFrontendImpl.h:
1968
1969 2011-11-24  Yury Semikhatsky  <yurys@chromium.org>
1970
1971         [Chromium] Web Inspector: remove legacy debugger support
1972         https://bugs.webkit.org/show_bug.cgi?id=73081
1973
1974         Removed classed providing access to V8 debugging protocol. Clients should
1975         use Web Inspector protocol instead.
1976
1977         Reviewed by Pavel Feldman.
1978
1979         * WebKit.gyp:
1980         * public/WebDevToolsAgent.h:
1981         * public/WebDevToolsAgentClient.h:
1982         * src/DebuggerAgentImpl.cpp: Removed.
1983         * src/DebuggerAgentImpl.h: Removed.
1984         * src/DebuggerAgentManager.cpp: Removed.
1985         * src/DebuggerAgentManager.h: Removed.
1986         * src/WebDevToolsAgentImpl.cpp:
1987         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
1988         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
1989         (WebKit::WebDevToolsAgentImpl::attach):
1990         (WebKit::WebDevToolsAgentImpl::detach):
1991         (WebKit::WebDevToolsAgentImpl::didNavigate):
1992         (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
1993         * src/WebDevToolsAgentImpl.h:
1994
1995 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
1996
1997         Unreviewed. Update Chromium deps revision to 111575
1998
1999         * DEPS:
2000
2001 2011-11-24  Fady Samuel  <fsamuel@chromium.org>
2002
2003         [Chromium] Removed obsolete touchui flag
2004         https://bugs.webkit.org/show_bug.cgi?id=73067
2005
2006         Reviewed by Tony Chang.
2007
2008         * features.gypi:
2009
2010 2011-11-24  Joshua Bell  <jsbell@chromium.org>
2011
2012         IndexedDB: Indexes should be secondarily sorted on primary key
2013         https://bugs.webkit.org/show_bug.cgi?id=72567
2014
2015         Reviewed by Tony Chang.
2016
2017         Updates the IndexDataKey unit tests to include primary keys. The
2018         deprecated sequenceNumber element of IndexDataKey is still tested,
2019         although no longer used by callers.
2020
2021         * tests/IDBLevelDBCodingTest.cpp:
2022         (IDBLevelDBCoding::TEST):
2023
2024 2011-11-23  Greg Billock  <gbillock@google.com>
2025
2026         Add simple implementation for web intents chromium API data classes.
2027         https://bugs.webkit.org/show_bug.cgi?id=73036
2028
2029         Reviewed by Darin Fisher.
2030
2031         * WebKit.gyp:
2032         * public/WebIntent.h:
2033         * public/WebIntentServiceInfo.h:
2034         * src/WebIntent.cpp: Copied from Source/WebKit/chromium/public/WebIntent.h.
2035         (WebKit::WebIntent::WebIntent):
2036         (WebKit::WebIntent::action):
2037         (WebKit::WebIntent::setAction):
2038         (WebKit::WebIntent::type):
2039         (WebKit::WebIntent::setType):
2040         (WebKit::WebIntent::data):
2041         (WebKit::WebIntent::setData):
2042         (WebKit::WebIntent::identifier):
2043         (WebKit::WebIntent::setIdentifier):
2044         * src/WebIntentServiceInfo.cpp: Copied from Source/WebKit/chromium/public/WebIntentServiceInfo.h.
2045         (WebKit::WebIntentServiceInfo::WebIntentServiceInfo):
2046         (WebKit::WebIntentServiceInfo::url):
2047         (WebKit::WebIntentServiceInfo::setURL):
2048         (WebKit::WebIntentServiceInfo::title):
2049         (WebKit::WebIntentServiceInfo::setTitle):
2050         (WebKit::WebIntentServiceInfo::action):
2051         (WebKit::WebIntentServiceInfo::setAction):
2052         (WebKit::WebIntentServiceInfo::type):
2053         (WebKit::WebIntentServiceInfo::setType):
2054         (WebKit::WebIntentServiceInfo::disposition):
2055         (WebKit::WebIntentServiceInfo::setDisposition):
2056
2057 2011-11-23  Adam Barth  <abarth@webkit.org>
2058
2059         [Chromium] Move WebKitPlatformSupport.h and dependencies to new public/platform directory
2060         https://bugs.webkit.org/show_bug.cgi?id=73066
2061
2062         Reviewed by Darin Fisher.
2063
2064         This patch creates a new subdirectory in the Chromium WebKit API to
2065         house "platform" header files.  As with the other Platform directories
2066         in WebKit, the platform directory cannot depend on headers outside of
2067         platform, but headers outside of platform can depend on platform.
2068
2069         This patch moves WebKitPlatformSupport and its dependencies into this
2070         new directory and creates forwarding headers to easy migration for
2071         embedders of this API.  Over time, we will migrate more headers into
2072         this folder, as appropriate.
2073
2074         * public/WebAccessibilityObject.h:
2075         * public/WebAccessibilityRole.h:
2076         * public/WebAnimationController.h:
2077         * public/WebApplicationCacheHost.h:
2078         * public/WebApplicationCacheHostClient.h:
2079         * public/WebArrayBufferView.h:
2080         * public/WebAttribute.h:
2081         * public/WebAudioBus.h: Replaced.
2082         * public/WebAudioDevice.h: Replaced.
2083         * public/WebAudioSourceProvider.h:
2084         * public/WebBindings.h:
2085         * public/WebBlob.h:
2086         * public/WebBlobData.h:
2087         * public/WebBlobRegistry.h:
2088         * public/WebCString.h: Replaced.
2089         * public/WebCache.h:
2090         * public/WebCanvas.h:
2091         * public/WebClipboard.h:
2092         * public/WebColor.h:
2093         * public/WebCommon.h: Replaced.
2094         * public/WebCommonWorkerClient.h:
2095         * public/WebCompositor.h:
2096         * public/WebConsoleMessage.h:
2097         * public/WebContentLayer.h:
2098         * public/WebContextMenuData.h:
2099         * public/WebCookie.h:
2100         * public/WebCrossOriginPreflightResultCache.h:
2101         * public/WebDOMEvent.h:
2102         * public/WebDOMEventListener.h:
2103         * public/WebDOMStringList.h:
2104         * public/WebData.h: Replaced.
2105         * public/WebDataSource.h:
2106         * public/WebDatabase.h:
2107         * public/WebDevToolsAgent.h:
2108         * public/WebDevToolsAgentClient.h:
2109         * public/WebDevToolsFrontend.h:
2110         * public/WebDeviceOrientationClientMock.h:
2111         * public/WebDeviceOrientationController.h:
2112         * public/WebDocument.h:
2113         * public/WebDragData.h:
2114         * public/WebExternalPopupMenuClient.h:
2115         * public/WebExternalTextureLayer.h:
2116         * public/WebFileChooserParams.h:
2117         * public/WebFileInfo.h:
2118         * public/WebFileSystem.h:
2119         * public/WebFileSystemCallbacks.h:
2120         * public/WebFileSystemEntry.h:
2121         * public/WebFileUtilities.h:
2122         * public/WebFileWriter.h:
2123         * public/WebFileWriterClient.h:
2124         * public/WebFindOptions.h:
2125         * public/WebFloatPoint.h:
2126         * public/WebFloatQuad.h:
2127         * public/WebFloatRect.h:
2128         * public/WebFont.h:
2129         * public/WebFontCache.h:
2130         * public/WebFontDescription.h:
2131         * public/WebFormControlElement.h:
2132         * public/WebFormElement.h:
2133         * public/WebFrame.h:
2134         * public/WebFrameClient.h:
2135         * public/WebGamepad.h: Replaced.
2136         * public/WebGamepads.h: Replaced.
2137         * public/WebGeolocationClientMock.h:
2138         * public/WebGeolocationController.h:
2139         * public/WebGeolocationError.h:
2140         * public/WebGeolocationPermissionRequest.h:
2141         * public/WebGeolocationPermissionRequestManager.h:
2142         * public/WebGeolocationPosition.h:
2143         * public/WebGlyphCache.h:
2144         * public/WebGraphicsContext3D.h:
2145         * public/WebHTTPBody.h:
2146         * public/WebHTTPLoadInfo.h:
2147         * public/WebHistoryItem.h:
2148         * public/WebIDBCallbacks.h:
2149         * public/WebIDBCursor.h:
2150         * public/WebIDBDatabase.h:
2151         * public/WebIDBDatabaseCallbacks.h:
2152         * public/WebIDBDatabaseError.h:
2153         * public/WebIDBFactory.h:
2154         * public/WebIDBIndex.h:
2155         * public/WebIDBKey.h:
2156         * public/WebIDBKeyPath.h:
2157         * public/WebIDBKeyRange.h:
2158         * public/WebIDBObjectStore.h:
2159         * public/WebIDBTransaction.h:
2160         * public/WebIDBTransactionCallbacks.h:
2161         * public/WebIconURL.h:
2162         * public/WebImage.h:
2163         * public/WebInputEvent.h:
2164         * public/WebKit.h:
2165         * public/WebKitPlatformSupport.h: Replaced.
2166         * public/WebLayer.h:
2167         * public/WebLayerTreeView.h:
2168         * public/WebLocalizedString.h: Replaced.
2169         * public/WebMediaPlayer.h:
2170         * public/WebMediaStreamDescriptor.h:
2171         * public/WebMediaStreamRegistry.h:
2172         * public/WebMediaStreamSource.h:
2173         * public/WebMenuItemInfo.h:
2174         * public/WebMessagePortChannel.h:
2175         * public/WebMimeRegistry.h:
2176         * public/WebNamedNodeMap.h:
2177         * public/WebNetworkStateNotifier.h:
2178         * public/WebNode.h:
2179         * public/WebNodeCollection.h:
2180         * public/WebNodeList.h:
2181         * public/WebNotification.h:
2182         * public/WebNotificationPresenter.h:
2183         * public/WebOptionElement.h:
2184         * public/WebPageSerializer.h:
2185         * public/WebPasswordFormData.h:
2186         * public/WebPeerConnectionHandler.h:
2187         * public/WebPerformance.h:
2188         * public/WebPlugin.h:
2189         * public/WebPluginParams.h:
2190         * public/WebPoint.h:
2191         * public/WebPopupMenu.h:
2192         * public/WebPopupMenuInfo.h:
2193         * public/WebPrivateOwnPtr.h: Replaced.
2194         * public/WebPrivatePtr.h: Replaced.
2195         * public/WebRange.h:
2196         * public/WebRect.h:
2197         * public/WebRegularExpression.h:
2198         * public/WebRuntimeFeatures.h:
2199         * public/WebScriptController.h:
2200         * public/WebScriptSource.h:
2201         * public/WebScrollbar.h:
2202         * public/WebSearchableFormData.h:
2203         * public/WebSecurityOrigin.h:
2204         * public/WebSecurityPolicy.h:
2205         * public/WebSelectElement.h:
2206         * public/WebSerializedScriptValue.h: Replaced.
2207         * public/WebSettings.h:
2208         * public/WebSharedWorker.h:
2209         * public/WebSharedWorkerRepository.h:
2210         * public/WebSize.h:
2211         * public/WebSocket.h:
2212         * public/WebSocketClient.h:
2213         * public/WebSocketStreamError.h:
2214         * public/WebSocketStreamHandle.h:
2215         * public/WebSocketStreamHandleClient.h:
2216         * public/WebSpeechInputController.h:
2217         * public/WebSpeechInputResult.h:
2218         * public/WebSpellCheckClient.h:
2219         * public/WebStorageArea.h:
2220         * public/WebStorageEventDispatcher.h:
2221         * public/WebStorageNamespace.h:
2222         * public/WebString.h: Replaced.
2223         * public/WebTestingSupport.h:
2224         * public/WebTextCheckingCompletion.h:
2225         * public/WebTextCheckingResult.h:
2226         * public/WebTextRun.h:
2227         * public/WebThread.h:
2228         * public/WebThreadSafeData.h:
2229         * public/WebTouchPoint.h:
2230         * public/WebURL.h: Replaced.
2231         * public/WebURLError.h:
2232         * public/WebURLLoadTiming.h:
2233         * public/WebURLLoader.h:
2234         * public/WebURLRequest.h:
2235         * public/WebURLResponse.h:
2236         * public/WebUserMediaRequest.h:
2237         * public/WebVector.h: Replaced.
2238         * public/WebView.h:
2239         * public/WebViewClient.h:
2240         * public/WebWidget.h:
2241         * public/WebWidgetClient.h:
2242         * public/WebWindowFeatures.h:
2243         * public/android/WebInputEventFactory.h:
2244         * public/gtk/WebInputEventFactory.h:
2245         * public/linux/WebFontFamily.h:
2246         * public/linux/WebFontInfo.h:
2247         * public/linux/WebFontRenderStyle.h:
2248         * public/linux/WebFontRendering.h:
2249         * public/linux/WebRenderTheme.h:
2250         * public/linux/WebSandboxSupport.h:
2251         * public/mac/WebInputEventFactory.h:
2252         * public/mac/WebScreenInfoFactory.h:
2253         * public/platform: Added.
2254         * public/platform/WebAudioBus.h: Copied from Source/WebKit/chromium/public/WebAudioBus.h.
2255         * public/platform/WebAudioDevice.h: Copied from Source/WebKit/chromium/public/WebAudioDevice.h.
2256         * public/platform/WebCString.h: Copied from Source/WebKit/chromium/public/WebCString.h.
2257         * public/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/WebCommon.h.
2258         * public/platform/WebData.h: Copied from Source/WebKit/chromium/public/WebData.h.
2259         * public/platform/WebGamepad.h: Copied from Source/WebKit/chromium/public/WebGamepad.h.
2260         * public/platform/WebGamepads.h: Copied from Source/WebKit/chromium/public/WebGamepads.h.
2261         * public/platform/WebKitPlatformSupport.h: Copied from Source/WebKit/chromium/public/WebKitPlatformSupport.h.
2262         * public/platform/WebLocalizedString.h: Copied from Source/WebKit/chromium/public/WebLocalizedString.h.
2263         * public/platform/WebPrivateOwnPtr.h: Copied from Source/WebKit/chromium/public/WebPrivateOwnPtr.h.
2264         * public/platform/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/WebPrivatePtr.h.
2265         * public/platform/WebSerializedScriptValue.h: Copied from Source/WebKit/chromium/public/WebSerializedScriptValue.h.
2266         * public/platform/WebString.h: Copied from Source/WebKit/chromium/public/WebString.h.
2267         * public/platform/WebURL.h: Copied from Source/WebKit/chromium/public/WebURL.h.
2268         * public/platform/WebVector.h: Copied from Source/WebKit/chromium/public/WebVector.h.
2269         * public/win/WebInputEventFactory.h:
2270         * public/win/WebScreenInfoFactory.h:
2271         * public/x11/WebScreenInfoFactory.h:
2272
2273 2011-11-23  Adam Barth  <abarth@webkit.org>
2274
2275         [Chromium] Remove unused WebSecurityOrigin::isEmpty from WebKit API
2276         https://bugs.webkit.org/show_bug.cgi?id=73065
2277
2278         Reviewed by Eric Seidel.
2279
2280         This API no longer has any callers.
2281
2282         * public/WebSecurityOrigin.h:
2283         * src/WebSecurityOrigin.cpp:
2284         (WebKit::WebSecurityOrigin::isUnique):
2285
2286 2011-11-23  Dmitry Lomov  <dslomov@google.com>
2287
2288         https://bugs.webkit.org/show_bug.cgi?id=73054
2289         [V8][Chromium] Add list of transferred ArrayBuffers to SerializedScriptValue::create.
2290
2291         Reviewed by David Levin.
2292
2293         * src/WebSerializedScriptValue.cpp:
2294         (WebKit::WebSerializedScriptValue::serialize):
2295
2296 2011-11-23  Ami Fischman  <fischman@chromium.org>
2297
2298         Teach VideoLayerChromium how to render native texture (to support HW video decode).
2299         https://bugs.webkit.org/show_bug.cgi?id=73043
2300
2301         Reviewed by Kenneth Russell.
2302
2303         * public/WebVideoFrame.h:
2304         * src/VideoFrameChromiumImpl.cpp:
2305         (WebKit::VideoFrameChromiumImpl::textureId):
2306         * src/VideoFrameChromiumImpl.h:
2307
2308 2011-11-23  Vincent Scheib  <scheib@chromium.org>
2309
2310         Pointer Lock: Plumb movement coordinates from PlatformMouseEvent to MouseEvents.
2311         https://bugs.webkit.org/show_bug.cgi?id=73031
2312
2313         Reviewed by Dimitri Glazkov.
2314
2315         * src/WebInputEventConversion.cpp:
2316         (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
2317
2318 2011-11-23  Tommy Widenflycht  <tommyw@google.com>
2319
2320         [chromium] MediaStream API: Missing WEBKIT_EXPORT in WebMediaStreamRegistry
2321         https://bugs.webkit.org/show_bug.cgi?id=73010
2322
2323         Reviewed by Darin Fisher.
2324
2325         * public/WebMediaStreamRegistry.h:
2326
2327 2011-11-23  Scott Graham  <scottmg@chromium.org>
2328
2329         Adding gamepad support
2330         https://bugs.webkit.org/show_bug.cgi?id=69451
2331
2332         Add implementation of sampleGamepads in Chromium platform. Retrieves
2333         gamepad data from Chromium port and converts to DOM format, i.e.
2334         GamepadList.
2335
2336         Reviewed by Darin Fisher.
2337
2338         * src/PlatformSupport.cpp:
2339         (WebCore::PlatformSupport::sampleGamepads):
2340
2341 2011-11-23  Dmitry Lomov  <dslomov@google.com>
2342
2343         Get rid of WebCore dependencies from TypedArray implementation types
2344         https://bugs.webkit.org/show_bug.cgi?id=72783
2345         Reviewed by David Levin.
2346
2347         * src/WebArrayBufferView.cpp: WebCore replaced with WTF
2348
2349 2011-11-23  Tommy Widenflycht  <tommyw@google.com>
2350
2351         [chromium] MediaStream API: Adding embedding code for GetUserMedia
2352         https://bugs.webkit.org/show_bug.cgi?id=71678
2353
2354         This patch includes a fix for https://bugs.webkit.org/show_bug.cgi?id=72925.
2355
2356         Reviewed by Darin Fisher.
2357
2358         * WebKit.gyp:
2359         * public/WebUserMediaClient.h: Added.
2360         (WebKit::WebUserMediaClient::~WebUserMediaClient):
2361         * public/WebUserMediaRequest.h: Added.
2362         (WebKit::WebUserMediaRequest::WebUserMediaRequest):
2363         (WebKit::WebUserMediaRequest::~WebUserMediaRequest):
2364         (WebKit::WebUserMediaRequest::operator=):
2365         (WebKit::WebUserMediaRequest::isNull):
2366         (WebKit::operator==):
2367         * public/WebViewClient.h:
2368         (WebKit::WebViewClient::userMediaClient):
2369         * src/UserMediaClientImpl.cpp: Added.
2370         (WebKit::UserMediaClientImpl::UserMediaClientImpl):
2371         (WebKit::UserMediaClientImpl::pageDestroyed):
2372         (WebKit::UserMediaClientImpl::requestUserMedia):
2373         (WebKit::UserMediaClientImpl::cancelUserMediaRequest):
2374         * src/UserMediaClientImpl.h: Added.
2375         * src/WebUserMediaRequest.cpp: Added.
2376         (WebKit::WebUserMediaRequest::WebUserMediaRequest):
2377         (WebKit::WebUserMediaRequest::reset):
2378         (WebKit::WebUserMediaRequest::audio):
2379         (WebKit::WebUserMediaRequest::video):
2380         (WebKit::WebUserMediaRequest::cameraPreferenceUser):
2381         (WebKit::WebUserMediaRequest::cameraPreferenceEnvironment):
2382         (WebKit::WebUserMediaRequest::securityOrigin):
2383         (WebKit::WebUserMediaRequest::requestSucceeded):
2384         (WebKit::WebUserMediaRequest::requestFailed):
2385         (WebKit::WebUserMediaRequest::equals):
2386         (WebKit::WebUserMediaRequest::assign):
2387         (WebKit::WebUserMediaRequest::operator UserMediaRequest*):
2388         * src/WebViewImpl.cpp:
2389         (WebKit::WebViewImpl::WebViewImpl):
2390         * src/WebViewImpl.h:
2391
2392 2011-11-23  Antoine Labour  <piman@chromium.org>
2393
2394         [chromium] Expose showFPSCounter and showPlatformLayerTree in WebLayerTreeView::Settings
2395         https://bugs.webkit.org/show_bug.cgi?id=72973
2396
2397         Reviewed by Darin Fisher.
2398
2399         * public/WebLayerTreeView.h:
2400         (WebKit::WebLayerTreeView::Settings::Settings):
2401         * src/WebLayerTreeView.cpp:
2402         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
2403
2404 2011-11-22  Dirk Pranke  <dpranke@chromium.org>
2405
2406         Roll DEPS to r111325 to fix an issue with the linux build
2407
2408         https://bugs.webkit.org/show_bug.cgi?id=73004
2409
2410         Unreviewed, build fix.
2411
2412         There appears to be a bug in the Makefile generator for gyp
2413         that is causing make to not rebuild DRT on Linux.
2414
2415         * DEPS:
2416
2417 2011-11-22  Kenneth Russell  <kbr@google.com>
2418
2419         [chromium] Support Core Animation plugins in compositor
2420         https://bugs.webkit.org/show_bug.cgi?id=72921
2421
2422         Reviewed by Stephen White.
2423
2424         Added IOSurface support to WebPluginContainer. This code path is
2425         used only on Mac OS X, but is defined in the header on all
2426         platforms for simplicity.
2427
2428         * public/WebGraphicsContext3D.h:
2429         (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
2430         * public/WebPluginContainer.h:
2431         * src/Extensions3DChromium.cpp:
2432         (WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
2433         * src/GraphicsContext3DChromium.cpp:
2434         * src/GraphicsContext3DPrivate.h:
2435         * src/WebPluginContainerImpl.cpp:
2436         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
2437         (WebKit::WebPluginContainerImpl::platformLayer):
2438         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
2439         * src/WebPluginContainerImpl.h:
2440
2441 2011-11-22  Daniel Cheng  <dcheng@chromium.org>
2442
2443         [chromium] Fix plumbing for differentiating between clipboard/selection pastes.
2444         https://bugs.webkit.org/show_bug.cgi?id=72056
2445
2446         Reviewed by tony@chromium.org.
2447
2448         Add a buffer parameter when retrieving the clipboard sequence number.
2449
2450         * public/WebClipboard.h:
2451         (WebKit::WebClipboard::sequenceNumber):
2452         * src/PlatformSupport.cpp:
2453         (WebCore::PlatformSupport::clipboardSequenceNumber):
2454
2455 2011-11-22  Greg Billock  <gbillock@google.com>
2456
2457         Empty API for web intents
2458         https://bugs.webkit.org/show_bug.cgi?id=69870
2459
2460         Reviewed by Darin Fisher.
2461
2462         * WebKit.gyp:
2463         * public/WebIntent.h: Added.
2464         * public/WebIntentServiceInfo.h: Added.
2465         * public/WebFrame.h:
2466         * public/WebFrameClient.h:
2467
2468 2011-11-22  Scott Graham  <scottmg@chromium.org>
2469
2470         Roll Chromium DEPS
2471         https://bugs.webkit.org/show_bug.cgi?id=72972
2472
2473         Add dbus in Chromium as pulled dep and update to HEAD.
2474
2475         Reviewed by Dirk Pranke.
2476
2477         * DEPS:
2478
2479 2011-11-22  Dirk Pranke  <dpranke@chromium.org>
2480
2481         Roll Chromium DEPS to r110960 and set the disable_nacl flag.
2482         https://bugs.webkit.org/show_bug.cgi?id=72911
2483
2484         Unreviewed, build fix.
2485
2486         ppapi starts to depend on the NaCl gyp files as of r109739, so
2487         we need to pass disable_nacl when running gyp to avoid pulling
2488         in too much of NaCl.
2489
2490         * DEPS:
2491         * gyp_webkit:
2492
2493 2011-11-22  Pavel Feldman  <pfeldman@google.com>
2494
2495         Web Inspector: [chromium] fix internactive ui test for scripts panel.
2496         https://bugs.webkit.org/show_bug.cgi?id=72935
2497
2498         Reviewed by Yury Semikhatsky.
2499
2500         * src/js/Tests.js:
2501         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
2502
2503 2011-11-22  Pavel Feldman  <pfeldman@google.com>
2504
2505         Web Inspector: remove Inspector::bringToFront from the protocol.
2506         https://bugs.webkit.org/show_bug.cgi?id=72937
2507
2508         Reviewed by Yury Semikhatsky.
2509
2510         * src/InspectorClientImpl.cpp:
2511         (WebKit::InspectorClientImpl::bringFrontendToFront):
2512         * src/InspectorClientImpl.h:
2513         * src/WebDevToolsAgentImpl.cpp:
2514         (WebKit::WebDevToolsAgentImpl::bringFrontendToFront):
2515         * src/WebDevToolsAgentImpl.h:
2516
2517 2011-11-17  Nat Duca  <nduca@chromium.org>
2518
2519         [chromium] Route willDraw/setNeedsRedraw to CCInputHandler and fix double-drawing issues that result
2520         https://bugs.webkit.org/show_bug.cgi?id=72688
2521
2522         Reviewed by James Robinson.
2523
2524         * src/WebCompositorImpl.cpp:
2525         (WebCore::CCInputHandler::create):
2526         (WebKit::WebCompositorImpl::WebCompositorImpl):
2527         (WebKit::WebCompositorImpl::handleInputEvent):
2528         (WebKit::WebCompositorImpl::willDraw):
2529         * src/WebCompositorImpl.h:
2530         (WebKit::WebCompositorImpl::create):
2531         * tests/CCFrameRateControllerTest.cpp:
2532         (WebKitTests::FakeCCFrameRateControllerClient::beginFrame):
2533         * tests/CCSchedulerStateMachineTest.cpp:
2534         (WebCore::TEST):
2535         * tests/CCSchedulerTest.cpp:
2536         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::SchedulerClientThatSetNeedsDrawInsideDraw):
2537         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::setScheduler):
2538         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::numDraws):
2539         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::hasMoreResourceUpdates):
2540         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionBeginFrame):
2541         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionDrawAndSwap):
2542         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionUpdateMoreResources):
2543         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionCommit):
2544         (WebKitTests::TEST):
2545
2546 2011-11-21  Sheriff Bot  <webkit.review.bot@gmail.com>
2547
2548         Unreviewed, rolling out r100970.
2549         http://trac.webkit.org/changeset/100970
2550         https://bugs.webkit.org/show_bug.cgi?id=72925
2551
2552         Caused AssociatedURLLoaderTest.Success to fail (Requested by
2553         koz on #webkit).
2554
2555         * WebKit.gyp:
2556         * public/WebUserMediaClient.h: Removed.
2557         * public/WebUserMediaRequest.h: Removed.
2558         * public/WebViewClient.h:
2559         * src/UserMediaClientImpl.cpp: Removed.
2560         * src/UserMediaClientImpl.h: Removed.
2561         * src/WebUserMediaRequest.cpp: Removed.
2562         * src/WebViewImpl.cpp:
2563         (WebKit::WebViewImpl::WebViewImpl):
2564         * src/WebViewImpl.h:
2565
2566 2011-11-21  Tommy Widenflycht  <tommyw@google.com>
2567
2568         [chromium] MediaStream API: Adding embedding code for GetUserMedia
2569         https://bugs.webkit.org/show_bug.cgi?id=71678
2570
2571         Reviewed by Darin Fisher.
2572
2573         * WebKit.gyp:
2574         * public/WebUserMediaClient.h: Added.
2575         (WebKit::WebUserMediaClient::~WebUserMediaClient):
2576         * public/WebUserMediaRequest.h: Added.
2577         (WebKit::WebUserMediaRequest::WebUserMediaRequest):
2578         (WebKit::WebUserMediaRequest::~WebUserMediaRequest):
2579         (WebKit::WebUserMediaRequest::operator=):
2580         (WebKit::WebUserMediaRequest::isNull):
2581         (WebKit::operator==):
2582         * public/WebViewClient.h:
2583         (WebKit::WebViewClient::userMediaClient):
2584         * src/UserMediaClientImpl.cpp: Added.
2585         (WebKit::UserMediaClientImpl::UserMediaClientImpl):
2586         (WebKit::UserMediaClientImpl::pageDestroyed):
2587         (WebKit::UserMediaClientImpl::requestUserMedia):
2588         (WebKit::UserMediaClientImpl::cancelUserMediaRequest):
2589         * src/UserMediaClientImpl.h: Added.
2590         * src/WebUserMediaRequest.cpp: Added.
2591         (WebKit::WebUserMediaRequest::WebUserMediaRequest):
2592         (WebKit::WebUserMediaRequest::reset):
2593         (WebKit::WebUserMediaRequest::audio):
2594         (WebKit::WebUserMediaRequest::video):
2595         (WebKit::WebUserMediaRequest::cameraPreferenceUser):
2596         (WebKit::WebUserMediaRequest::cameraPreferenceEnvironment):
2597         (WebKit::WebUserMediaRequest::securityOrigin):
2598         (WebKit::WebUserMediaRequest::requestSucceeded):
2599         (WebKit::WebUserMediaRequest::requestFailed):
2600         (WebKit::WebUserMediaRequest::equals):
2601         (WebKit::WebUserMediaRequest::assign):
2602         (WebKit::WebUserMediaRequest::operator PassRefPtr<UserMediaRequest>):
2603         * src/WebViewImpl.cpp:
2604         (WebKit::WebViewImpl::WebViewImpl):
2605         * src/WebViewImpl.h:
2606
2607 2011-11-21  James Robinson  <jamesr@chromium.org>
2608
2609         [chromium] Fix tiler initialization in TiledLayerChromiumTest
2610         https://bugs.webkit.org/show_bug.cgi?id=72915
2611
2612         Reviewed by Kenneth Russell.
2613
2614         Setting the tile size or tiling option after the tiler is created invalidates it, and by default the newly
2615         created tiler will have border texels so the test doesn't pass. Switch things around in the test so the tiler
2616         is created only after all the options are set, which is closer to what the real code does.
2617
2618         * tests/TiledLayerChromiumTest.cpp:
2619         (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
2620
2621 2011-11-21  James Robinson  <jamesr@chromium.org>
2622
2623         Fix chromium compile bustage - base interface added a parameter so my fake wasn't actually implementing it.
2624
2625         * tests/TiledLayerChromiumTest.cpp:
2626         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
2627
2628 2011-11-21  James Robinson  <jamesr@chromium.org>
2629
2630         [chromium] Avoid pushing dirty tiles to the impl layer
2631         https://bugs.webkit.org/show_bug.cgi?id=72765
2632
2633         Reviewed by Kenneth Russell.
2634
2635         Add unit test for TiledLayerChromium's tile pushing behavior. Requires a fair amount of fake classes. If these
2636         fakes are useful in other tests, they should be moved to a shared location.
2637
2638         * WebKit.gypi:
2639         * tests/TiledLayerChromiumTest.cpp: Added.
2640         (::FakeTextureAllocator::createTexture):
2641         (::FakeTextureAllocator::deleteTexture):
2642         (::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
2643         (::FakeLayerTextureUpdater::~FakeLayerTextureUpdater):
2644         (::FakeLayerTextureUpdater::orientation):
2645         (::FakeLayerTextureUpdater::sampledTexelFormat):
2646         (::FakeLayerTextureUpdater::prepareToUpdate):
2647         (::FakeLayerTextureUpdater::updateTextureRect):
2648         (::FakeCCTiledLayerImpl::FakeCCTiledLayerImpl):
2649         (::FakeCCTiledLayerImpl::~FakeCCTiledLayerImpl):
2650         (::FakeCCTiledLayerImpl::hasTileAt):
2651         (::FakeTiledLayerChromium::FakeTiledLayerChromium):
2652         (::FakeTiledLayerChromium::~FakeTiledLayerChromium):
2653         (::FakeTiledLayerChromium::invalidateRect):
2654         (::FakeTiledLayerChromium::prepareToUpdate):
2655         (::FakeTiledLayerChromium::textureManager):
2656         (::FakeTiledLayerChromium::createTextureUpdater):
2657         (::FakeTiledLayerChromium::textureUpdater):
2658         (::TEST):
2659
2660 2011-11-21  Dominic Mazzoni  <dmazzoni@google.com>
2661
2662         [Chromium] WebAccessibilityNotification should use AssertMatchingEnums.
2663         https://bugs.webkit.org/show_bug.cgi?id=72895
2664
2665         Reviewed by Chris Fleizach.
2666
2667         * public/WebAccessibilityNotification.h:
2668         * src/AssertMatchingEnums.cpp:
2669         * src/ChromeClientImpl.cpp:
2670         (WebKit::toWebAccessibilityNotification):
2671
2672 2011-11-21  Shinya Kawanaka  <shinyak@google.com>
2673
2674         Implement a setter for UnifiedTextCheckerEnabled.
2675         https://bugs.webkit.org/show_bug.cgi?id=72872
2676
2677         Reviewed by Darin Fisher.
2678
2679         * public/WebSettings.h:
2680         * src/WebSettingsImpl.cpp:
2681         (WebKit::WebSettingsImpl::setUnifiedTextCheckerEnabled): Added.
2682         * src/WebSettingsImpl.h:
2683
2684 2011-11-21  Jochen Eisinger  <jochen@chromium.org>
2685
2686         Implement Meta referrer
2687         https://bugs.webkit.org/show_bug.cgi?id=72674
2688
2689         Reviewed by Adam Barth.
2690
2691         * WebKit.gyp:
2692         * public/WebFrame.h:
2693         * public/WebReferrerPolicy.h: Added.
2694         * public/WebSecurityPolicy.h:
2695         * src/AssertMatchingEnums.cpp:
2696         * src/WebFrameImpl.cpp:
2697         (WebKit::WebFrameImpl::referrerPolicy):
2698         (WebKit::WebFrameImpl::setReferrerForRequest):
2699         * src/WebFrameImpl.h:
2700         * src/WebSecurityPolicy.cpp:
2701         (WebKit::WebSecurityPolicy::generateReferrerHeader):
2702
2703 2011-11-21  Dominic Mazzoni  <dmazzoni@google.com>
2704
2705         Accessibility: Multiselect list boxes need to report the active option in addition to which items are selected.
2706         https://bugs.webkit.org/show_bug.cgi?id=72479
2707
2708         Reviewed by Chris Fleizach.
2709
2710         Test: accessibility/multiselect-list-reports-active-option.html
2711
2712         * public/WebAccessibilityObject.h:
2713         * src/WebAccessibilityObject.cpp:
2714         (WebKit::WebAccessibilityObject::isSelectedOptionActive):
2715
2716 2011-11-20  Kenichi Ishibashi  <bashi@chromium.org>
2717
2718         [Chromium] Remove old getFontFamilyForCharacters() and familyForChars() APIs.
2719         https://bugs.webkit.org/show_bug.cgi?id=72844
2720
2721         Removes old APIs for getting font family for given characters.
2722
2723         Reviewed by Darin Fisher.
2724
2725         * public/linux/WebFontInfo.h: Removed old familyForChars().
2726         * public/linux/WebSandboxSupport.h: Removed old getFontFamilyForCharacters() and changed new getFontFamilyForCharacters() to be a pure virtual function.
2727         * src/linux/WebFontInfo.cpp: Removes old familyForChars().
2728
2729 2011-10-17  Antonio Gomes  <agomes@rim.com>
2730
2731         Pass a Frame* parameter in EditorClient::respondToChangedSelection
2732         https://bugs.webkit.org/show_bug.cgi?id=70248
2733
2734         Reviewed by Ryosuke Niwa.
2735
2736         * src/EditorClientImpl.cpp: Make use of the newly added Frame* parameter.
2737         (WebKit::EditorClientImpl::respondToChangedSelection):
2738         * src/EditorClientImpl.h: Change the method signature, as per base class change.
2739
2740 2011-11-20  Adam Barth  <abarth@webkit.org>
2741
2742         Add WebNode::hasEventListeners for Android
2743         https://bugs.webkit.org/show_bug.cgi?id=72817
2744
2745         Reviewed by Darin Fisher.
2746
2747         Expose this EventTarget interface in the Chromium WebKit API for use by
2748         Android.
2749
2750         * public/WebNode.h:
2751         * src/WebNode.cpp:
2752         (WebKit::WebNode::hasEventListeners):
2753
2754 2011-11-20  Adam Barth  <abarth@webkit.org>
2755
2756         [Chromium] Add GestureFlingStart and GestureFlingCancel to WebGestureEvent for Android
2757         https://bugs.webkit.org/show_bug.cgi?id=72819
2758
2759         Reviewed by Darin Fisher.
2760
2761         These gesture types are used with FlingAnimator for scrolling.
2762
2763         * public/WebInputEvent.h:
2764         (WebKit::WebInputEvent::isScrollGestureEventType):
2765         (WebKit::WebGestureEvent::WebGestureEvent):
2766         * src/WebPopupMenuImpl.cpp:
2767         (WebKit::WebPopupMenuImpl::handleInputEvent):
2768         * src/WebViewImpl.cpp:
2769         (WebKit::WebViewImpl::handleInputEvent):
2770
2771 2011-11-20  Adam Barth  <abarth@webkit.org>
2772
2773         [Chromium] Add WebInputEventFactory for Android
2774         https://bugs.webkit.org/show_bug.cgi?id=67890
2775
2776         Reviewed by Darin Fisher.
2777
2778         Like every Chromium OS, Android needs a WebInputFactory.
2779
2780         * WebKit.gyp:
2781         * public/android/WebInputEventFactory.h: Added.
2782         * src/android/WebInputEventFactory.cpp: Added.
2783
2784 2011-11-19  Nat Duca  <nduca@chromium.org>
2785
2786         Unreviewed, rolling out r100854.
2787         http://trac.webkit.org/changeset/100854
2788
2789         Rollout DEPS roll. Made chromium bots cry.
2790
2791         * DEPS:
2792
2793 2011-11-19  Nat Duca  <nduca@chromium.org>
2794
2795         Unreviewed.  Rolled DEPS 109696->110838
2796
2797         * DEPS:
2798
2799 2011-11-19  Adam Barth  <abarth@webkit.org>
2800
2801         Integrate Source/WTF with the Chromium build system
2802         https://bugs.webkit.org/show_bug.cgi?id=72790
2803
2804         Reviewed by Eric Seidel.
2805
2806         Add a dependency on the new WTF.
2807
2808         * WebKit.gyp:
2809
2810 2011-11-18  Takashi Toyoshima  <toyoshim@chromium.org>
2811
2812         [Chromium] [WebSocket] export WebSocketChannel interface for plugins
2813         https://bugs.webkit.org/show_bug.cgi?id=72016
2814
2815         Add WebSocket and WebSocketClient to WebKit API.
2816
2817         Currently, only WebSocketStreamHandle class is exported to WebKit API.
2818         WebSocketStreamHandle implements bi-directional communication ports.
2819         If plugins handles the WebSocket protocol, WebSocketChannel and
2820         WebSocketChannelClient must be exported as WebSocket because they are
2821         the classes which implement the WebSocket protocol stack.
2822
2823         Normally, we use WebWebSocketChannel and WebWebSocketChannelClient as
2824         their class names. But here we use just WebSocket and WebSocketClient
2825         because of avoiding WebWeb prefix and class name confliction on
2826         header include.
2827
2828         Reviewed by Darin Fisher.
2829
2830         * WebKit.gyp:
2831         * public/WebSocket.h: Added.
2832         (WebKit::WebSocket::~WebSocket):
2833         * public/WebSocketClient.h: Added.
2834         (WebKit::WebSocketClient::~WebSocketClient):
2835         * src/WebRuntimeFeatures.cpp: Insert websockets directory to include path in order to avoid filename confliction.
2836         (WebKit::WebRuntimeFeatures::enableSockets): Use WebCore namespace explicitly.
2837         * src/WebSocket.cpp: Added.
2838         (WebKit::WebSocket::create):
2839         * src/WebSocketImpl.cpp: Added.
2840         (WebKit::WebSocketImpl::WebSocketImpl):
2841         (WebKit::WebSocketImpl::~WebSocketImpl):
2842         (WebKit::WebSocketImpl::connect):
2843         (WebKit::WebSocketImpl::subprotocol):
2844         (WebKit::WebSocketImpl::sendText):
2845         (WebKit::WebSocketImpl::sendBinary):
2846         (WebKit::WebSocketImpl::bufferedAmount):
2847         (WebKit::WebSocketImpl::close):
2848         (WebKit::WebSocketImpl::fail):
2849         (WebKit::WebSocketImpl::disconnect):
2850         (WebKit::WebSocketImpl::didConnect):
2851         (WebKit::WebSocketImpl::didReceiveMessage):
2852         (WebKit::WebSocketImpl::didReceiveBinaryData):
2853         (WebKit::WebSocketImpl::didReceiveMessageError):
2854         (WebKit::WebSocketImpl::didStartClosingHandshake):
2855         (WebKit::WebSocketImpl::didClose):
2856         * src/WebSocketImpl.h: Added.
2857         (WebKit::WebSocketImpl::isNull):
2858
2859 2011-11-18  Alpha Lam  <hclam@chromium.org>
2860
2861         [chromium] composited layers are blurry with a zoom-in page scale factor
2862         https://bugs.webkit.org/show_bug.cgi?id=71225
2863
2864         Reviewed by James Robinson.
2865
2866         Implements GraphicsLayerClient to return values for pageScaleFactor and deviceScaleFactor. They are used to determine contents scale factor compositer layers.
2867
2868         * src/PageOverlay.cpp:
2869         (WebKit::OverlayGraphicsLayerClientImpl::deviceScaleFactor):
2870         (WebKit::OverlayGraphicsLayerClientImpl::pageScaleFactor):
2871
2872 2011-11-18  Scott Graham  <scottmg@chromium.org>
2873
2874         IDL changes for gamepad support
2875         https://bugs.webkit.org/show_bug.cgi?id=71753
2876
2877         Reviewed by Adam Barth.
2878
2879         Update to use vendor-prefixed enable.
2880
2881         * src/WebRuntimeFeatures.cpp:
2882         (WebKit::WebRuntimeFeatures::enableGamepad):
2883         (WebKit::WebRuntimeFeatures::isGamepadEnabled):
2884
2885 2011-11-18  Daniel Cheng  <dcheng@chromium.org>
2886
2887         [chromium] Use correct backing store for ChromiumDataObject in pasteboard writes.
2888         https://bugs.webkit.org/show_bug.cgi?id=72767
2889
2890         Reviewed by Tony Chang.
2891
2892         * src/WebDragData.cpp:
2893         (WebKit::WebDragData::initialize):
2894         (WebKit::WebDragData::assign):
2895
2896 2011-10-24  Darin Fisher  <darin@chromium.org>
2897
2898         [chromium] Improve fullscreen API
2899         https://bugs.webkit.org/show_bug.cgi?id=70477
2900
2901         Reviewed by Adam Barth.
2902
2903         Move fullscreen entry points from WebView to WebWidget since they are
2904         just about widget geometry.
2905
2906         Delay webkitfullscreenchange event until we know that we have entered
2907         fullscreen mode.  This is accomplished by expanding the WebKit APIs to
2908         differentiate will{Enter,Exit} from did{Enter,Exit} state changes.
2909
2910         WebViewImpl is forced to keep a reference to the requested fullscreen
2911         element while we are requesting to enter fullscreen mode.  Once in
2912         fullscreen mode, we switch to keeping only a reference to the Frame
2913         containing the fullscreen element, which we drop upon exiting
2914         fullscreen mode.
2915
2916         * public/WebView.h:
2917         * public/WebViewClient.h:
2918         * public/WebWidget.h:
2919         (WebKit::WebWidget::willEnterFullScreen):
2920         (WebKit::WebWidget::didEnterFullScreen):
2921         (WebKit::WebWidget::willExitFullScreen):
2922         (WebKit::WebWidget::didExitFullScreen):
2923         * public/WebWidgetClient.h:
2924         (WebKit::WebWidgetClient::enterFullScreen):
2925         (WebKit::WebWidgetClient::exitFullScreen):
2926         * src/ChromeClientImpl.cpp:
2927         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
2928         (WebKit::ChromeClientImpl::enterFullscreenForNode):
2929         (WebKit::ChromeClientImpl::exitFullscreenForNode):
2930         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
2931         (WebKit::ChromeClientImpl::enterFullScreenForElement):
2932         (WebKit::ChromeClientImpl::exitFullScreenForElement):
2933         * src/WebViewImpl.cpp:
2934         (WebKit::WebViewImpl::willEnterFullScreen):
2935         (WebKit::WebViewImpl::didEnterFullScreen):
2936         (WebKit::WebViewImpl::willExitFullScreen):
2937         (WebKit::WebViewImpl::didExitFullScreen):
2938         (WebKit::WebViewImpl::enterFullScreenForElement):
2939         (WebKit::WebViewImpl::exitFullScreenForElement):
2940         * src/WebViewImpl.h:
2941
2942 2011-11-17  Pavel Feldman  <pfeldman@google.com>
2943
2944         Web Inspector: dispatch messages from the front-end to the backend asynchronously.
2945         https://bugs.webkit.org/show_bug.cgi?id=72621
2946
2947         Reviewed by Yury Semikhatsky.
2948
2949         * src/InspectorFrontendClientImpl.cpp:
2950         (WebKit::InspectorFrontendClientImpl::performDisconnectFromBackend):
2951         * src/InspectorFrontendClientImpl.h:
2952
2953 2011-11-18  Iain Merrick  <husky@google.com>
2954
2955         [chromium] Pass screen refresh rate into compositor.
2956         https://bugs.webkit.org/show_bug.cgi?id=71040
2957
2958         Reviewed by Tony Gentilcore.
2959
2960         * public/WebScreenInfo.h:
2961         (WebKit::WebScreenInfo::WebScreenInfo):
2962         * src/PlatformSupport.cpp:
2963         (WebCore::PlatformSupport::screenRefreshRate):
2964         * src/WebViewImpl.cpp:
2965         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2966         * tests/CCLayerTreeHostTest.cpp:
2967         (WTF::CCLayerTreeHostTest::runTest):
2968
2969 2011-11-17  Vincent Scheib  <scheib@chromium.org>
2970
2971         Pointer Lock: Page Settings unecessary
2972         https://bugs.webkit.org/show_bug.cgi?id=72662
2973
2974         Reviewed by Darin Fisher.
2975
2976         * public/WebSettings.h:
2977         * src/WebSettingsImpl.cpp:
2978         * src/WebSettingsImpl.h:
2979
2980 2011-11-17  Alexandre Elias  <aelias@google.com>
2981
2982         [chromium] Don't clamp minimumPageScaleFactor when doc width is zero
2983         https://bugs.webkit.org/show_bug.cgi?id=72679
2984
2985         Reviewed by James Robinson.
2986
2987         For a brief period during initialization, the document width can be
2988         zero.  In that situation, don't try to limit minimumPageScaleFactor
2989         to the document size.
2990
2991         * src/WebViewImpl.cpp:
2992         (WebKit::WebViewImpl::setPageScaleFactorLimits):
2993
2994 2011-11-06  Nat Duca  <nduca@chromium.org>
2995
2996         [chromium] Fix handling of setNeedsCommit and setNeedsAnimate in threaded mode
2997         https://bugs.webkit.org/show_bug.cgi?id=71638
2998
2999         Reviewed by James Robinson.
3000
3001         * tests/CCLayerTreeHostTest.cpp:
3002         (TestHooks::animateAndLayout):
3003         (MockLayerTreeHostClient::animateAndLayout):
3004         (CCLayerTreeHostTest::postSetNeedsAnimateToMainThread):
3005         (CCLayerTreeHostTest::dispatchSetNeedsAnimate):
3006         (CCLayerTreeHostTestSetNeedsAnimate::CCLayerTreeHostTestSetNeedsAnimate):
3007         (CCLayerTreeHostTestSetNeedsAnimate::beginTest):
3008         (CCLayerTreeHostTestSetNeedsAnimate::animateAndLayout):
3009         (CCLayerTreeHostTestSetNeedsAnimate::drawLayersOnCCThread):
3010         (CCLayerTreeHostTestSetNeedsAnimate::afterTest):
3011
3012 2011-11-17  Elliot Glaysher  <erg@chromium.org>
3013
3014         [chromium] Don't include internal GTK headers so we build with GTK_DISABLE_SINGLE_INCLUDES
3015
3016         https://bugs.webkit.org/show_bug.cgi?id=72653
3017
3018         Reviewed by James Robinson.
3019
3020         * src/gtk/WebInputEventFactory.cpp:
3021         (WebKit::gdkStateToWebEventModifiers): Remove a
3022         GTK_CHECK_VERSION that will always be true, as the oldest
3023         libgtk we support is 2.18.
3024
3025
3026 2011-11-17  David Reveman  <reveman@chromium.org>
3027
3028         [Chromium] Calls to paintContentsIfDirty() and updateCompositorResources() should be balanced.
3029         https://bugs.webkit.org/show_bug.cgi?id=72630
3030
3031         Reviewed by James Robinson.
3032
3033         Add test that check if calls to paintContentsIfDirty() and
3034         updateCompositorResources() are balanced when layer opacity
3035         changes during paintContent().
3036
3037         * tests/CCLayerTreeHostTest.cpp:
3038         (WTF::CCLayerTreeHostTest::layerTreeHost):
3039         (WTF::TestOpacityChangeLayerDelegate::TestOpacityChangeLayerDelegate):
3040         (WTF::TestOpacityChangeLayerDelegate::paintContents):
3041         (WTF::TestOpacityChangeLayerDelegate::drawsContent):
3042         (WTF::TestOpacityChangeLayerDelegate::preserves3D):
3043         (WTF::TestOpacityChangeLayerDelegate::notifySyncRequired):
3044         (WTF::ContentLayerChromiumWithUpdateTracking::create):
3045         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsCount):
3046         (WTF::ContentLayerChromiumWithUpdateTracking::resetPaintContentsCount):
3047         (WTF::ContentLayerChromiumWithUpdateTracking::updateCount):
3048         (WTF::ContentLayerChromiumWithUpdateTracking::resetUpdateCount):
3049         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
3050         (WTF::ContentLayerChromiumWithUpdateTracking::updateCompositorResources):
3051         (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
3052         (WTF::CCLayerTreeHostTestOpacityChange::CCLayerTreeHostTestOpacityChange):
3053         (WTF::CCLayerTreeHostTestOpacityChange::beginTest):
3054         (WTF::CCLayerTreeHostTestOpacityChange::commitCompleteOnCCThread):
3055         (WTF::CCLayerTreeHostTestOpacityChange::afterTest):
3056         (WTF::TEST_F):
3057
3058 2011-11-17  Peter Kasting  <pkasting@google.com>
3059
3060         Unreviewed, rolling out r100676.
3061         http://trac.webkit.org/changeset/100676
3062         https://bugs.webkit.org/show_bug.cgi?id=72393
3063
3064         Looks like r100572 was not the source of the crashes.
3065
3066         * src/js/DevTools.js:
3067
3068 2011-11-17  Peter Kasting  <pkasting@google.com>
3069
3070         Unreviewed, rolling out r100572.
3071         https://bugs.webkit.org/show_bug.cgi?id=72393
3072         https://bugs.webkit.org/show_bug.cgi?id=72651
3073
3074         May have caused seg faults on Chromium Linux dbg bot.
3075
3076         * src/js/DevTools.js:
3077
3078 2011-11-17  Adrienne Walker  <enne@google.com>
3079
3080         [chromium] Implicitly skip render surfaces that won't be drawn
3081         https://bugs.webkit.org/show_bug.cgi?id=71038
3082
3083         Update a test that depends on a layer not getting removed.
3084
3085         Reviewed by James Robinson.
3086
3087         * tests/CCLayerTreeHostCommonTest.cpp:
3088         (WebCore::TEST):
3089
3090 2011-11-17  Vsevolod Vlasov  <vsevik@chromium.org>
3091
3092         Web Inspector: Remove onlineDetectionEnabled from Preferences
3093         https://bugs.webkit.org/show_bug.cgi?id=72617
3094
3095         Reviewed by Pavel Feldman.
3096
3097         * src/js/DevTools.js:
3098
3099 2011-11-17  Kenichi Ishibashi  <bashi@chromium.org>
3100
3101         [chromium] don't call fontconfig twice in complex text path
3102         https://bugs.webkit.org/show_bug.cgi?id=38701
3103
3104         Reviewed by Tony Chang.
3105
3106         Add new API for getFamilyForChars() so that keeping correct font mapping of the given characters.
3107
3108         * public/linux/WebFontFamily.h: Added.
3109         * public/linux/WebFontInfo.h: Add a new API.
3110         * public/linux/WebSandboxSupport.h:
3111         (WebKit::WebSandboxSupport::getFontFamilyForCharacters): Ditto.
3112         * src/PlatformSupport.cpp:
3113         (WebCore::PlatformSupport::getFontFamilyForCharacters): Ditto.
3114         * src/linux/WebFontInfo.cpp:
3115         (WebKit::WebFontInfo::familyForChars): Modified to get weight and italic properties of the font. Old API uses new API internally.
3116
3117 2011-11-17  Adam Barth  <abarth@webkit.org>
3118
3119         [Chromium] Introduce WebSecurityOrigin::isUnique in preparation for removing WebSecurityOrigin::isEmpty
3120         https://bugs.webkit.org/show_bug.cgi?id=72580
3121
3122         Reviewed by Darin Fisher.
3123
3124         We've removed the concept of empty security origins from WebKit because
3125         it doesn't exist in the specs.  Now it's time to remove it from the API.
3126
3127         * public/WebSecurityOrigin.h:
3128         (WebKit::WebSecurityOrigin::isUnique):
3129
3130 2011-11-15  Pavel Feldman  <pfeldman@google.com>
3131
3132         Web Inspector: introduce Debugger domain capabilities concept.
3133         https://bugs.webkit.org/show_bug.cgi?id=72393
3134
3135         Many of the Preferences that we have in Settings.js and override in DevTools.js
3136         are really not preferences, but capabilities. Protocol clients should have a way
3137         of figuring out whether some capability is present before using it.
3138
3139         Reviewed by Yury Semikhatsky.
3140
3141         * src/js/DevTools.js:
3142
3143 2011-11-11  Adrienne Walker  <enne@google.com>
3144
3145         [chromium] Expose mock scrollbars to window.internals
3146         https://bugs.webkit.org/show_bug.cgi?id=72195
3147
3148         Reviewed by James Robinson.
3149
3150         * public/WebSettings.h:
3151         * src/WebSettingsImpl.cpp:
3152         (WebKit::WebSettingsImpl::setMockScrollbarsEnabled):
3153         * src/WebSettingsImpl.h:
3154
3155 2011-11-16  Shawn Singh  <shawnsingh@chromium.org>
3156
3157         [chromium] Track property changes for render surfaces.
3158         https://bugs.webkit.org/show_bug.cgi?id=72521
3159
3160         Reviewed by James Robinson.
3161
3162         * WebKit.gypi:
3163         * tests/CCLayerImplTest.cpp:
3164         (WebCore::TEST):
3165         * tests/CCRenderSurfaceTest.cpp: Added.
3166         (WebCore::TEST):
3167
3168 2011-11-16  Alexandre Elias  <aelias@google.com>
3169
3170         [chromium] Improvements for page scale delta during commit
3171         https://bugs.webkit.org/show_bug.cgi?id=72471
3172
3173         Reviewed by James Robinson.
3174
3175         Page scale now follows the same commit flow as scroll position:
3176         the delta is folded into m_pageScale at BFAC time, and a "sent" value
3177         is preserved for temporary use until the commit finishes.
3178
3179         I also merged setPageScaleFactor and setPageScaleFactorLimits into one
3180         function on the impl side.  The reason is that setPageFactor must
3181         be applied after the limits are updated, but on the other hand setting
3182         the limits first may cause an unnecessary clamp of the scale delta.
3183         Merging the methods avoids this bind.
3184
3185         No new tests. (planning to add later: https://bugs.webkit.org/show_bug.cgi?id=71529)
3186
3187         * src/WebViewImpl.cpp:
3188         (WebKit::WebViewImpl::applyScrollAndScale):
3189
3190 2011-11-16  Dave Michael  <dmichael@chromium.org>
3191
3192         Fix up chromium API for creating events, initializing message events
3193         https://bugs.webkit.org/show_bug.cgi?id=71478
3194
3195         - Fix a mistake when checking the exception code during event creation.
3196         - Change WebFrame parameter to pointer so that NULL may be passed.
3197
3198         This is required for the following chromium CL: http://codereview.chromium.org/8437093/
3199
3200         Tested in Chromium by:
3201          ui_test --gtest_filter=*PPAPITest.PostMessage*
3202
3203         Reviewed by Darin Fisher.
3204
3205         * public/WebDOMMessageEvent.h:
3206         * src/WebDOMMessageEvent.cpp:
3207         (WebKit::WebDOMMessageEvent::initMessageEvent):
3208         * src/WebDocument.cpp:
3209         (WebKit::WebDocument::createEvent):
3210
3211 2011-11-16  Sheriff Bot  <webkit.review.bot@gmail.com>
3212
3213         Unreviewed, rolling out r100438.
3214         http://trac.webkit.org/changeset/100438
3215         https://bugs.webkit.org/show_bug.cgi?id=72536
3216
3217         Broke unit tests (Requested by jamesr_ on #webkit).
3218
3219         * public/WebScreenInfo.h:
3220         (WebKit::WebScreenInfo::WebScreenInfo):
3221         * src/PlatformSupport.cpp:
3222         * src/WebViewImpl.cpp:
3223         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3224
3225 2011-11-16  Alexandre Elias  <aelias@google.com>
3226
3227         [chromium] Add minimum/maximumPageScaleFactor API and clamp fixes
3228         https://bugs.webkit.org/show_bug.cgi?id=72463
3229
3230         Reviewed by Darin Fisher.
3231
3232         We need a way to read back the computed min/max page scale factor in
3233         order to support the software path, and for some application logic
3234         such as zooming in/out when tapping form fields.
3235
3236         I also added a few clamp calls that are needed in some corner cases.
3237
3238         * public/WebView.h:
3239         * src/WebViewImpl.cpp:
3240         (WebKit::WebViewImpl::setPageScaleFactor):
3241         (WebKit::WebViewImpl::setPageScaleFactorLimits):
3242         (WebKit::WebViewImpl::minimumPageScaleFactor):
3243         (WebKit::WebViewImpl::maximumPageScaleFactor):
3244         * src/WebViewImpl.h:
3245
3246 2011-11-16  Vsevolod Vlasov  <vsevik@chromium.org>
3247
3248         Web Inspector: Application cache status should be updated after swapCache().
3249         https://bugs.webkit.org/show_bug.cgi?id=72123
3250
3251         Reviewed by Pavel Feldman.
3252
3253         * src/ApplicationCacheHost.cpp:
3254         (WebCore::ApplicationCacheHost::swapCache):
3255
3256 2011-11-16  Iain Merrick  <husky@google.com>
3257
3258         [chromium] Pass screen refresh rate into compositor.
3259         https://bugs.webkit.org/show_bug.cgi?id=71040
3260
3261         Reviewed by Tony Gentilcore.
3262
3263         * public/WebScreenInfo.h:
3264         (WebKit::WebScreenInfo::WebScreenInfo):
3265         * src/PlatformSupport.cpp:
3266         (WebCore::PlatformSupport::screenRefreshRate):
3267         * src/WebViewImpl.cpp:
3268         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3269
3270 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3271
3272         Unreviewed, rolling out r100340.
3273         http://trac.webkit.org/changeset/100340
3274         https://bugs.webkit.org/show_bug.cgi?id=72448
3275
3276         Caused assertion failure in Win dbg canary. (Requested by
3277         pkasting on #webkit).
3278
3279         * tests/CCLayerTreeHostImplTest.cpp:
3280
3281 2011-11-15  Nat Duca  <nduca@chromium.org>
3282
3283         [chromium] Fuse MainThread and CCThread
3284         https://bugs.webkit.org/show_bug.cgi?id=72426
3285
3286         Reviewed by James Robinson.
3287
3288         * WebKit.gyp:
3289         * WebKit.gypi:
3290         * src/CCMainThreadImpl.cpp: Removed.
3291         * src/CCThreadImpl.cpp:
3292         (WebKit::CCThreadImpl::CCThreadImpl):
3293         * src/WebCompositorImpl.cpp:
3294         (WebKit::WebCompositor::setThread):
3295         * src/WebKit.cpp:
3296         (WebKit::initializeWithoutV8):
3297         (WebKit::shutdown):
3298         * tests/CCLayerTreeHostTest.cpp:
3299         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
3300         (WTF::CCLayerTreeHostTest::endTest):
3301         * tests/CCThreadTest.cpp: Removed.
3302
3303 2011-11-15  Jochen Eisinger  <jochen@chromium.org>
3304
3305         Rename ReferrerPolicy to clarify its meaning
3306         https://bugs.webkit.org/show_bug.cgi?id=72420
3307
3308         Reviewed by Nate Chapin.
3309
3310         * src/WebPluginContainerImpl.cpp:
3311         (WebKit::WebPluginContainerImpl::loadFrameRequest):
3312
3313 2011-11-15  Anders Carlsson  <andersca@apple.com>
3314
3315         HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
3316         https://bugs.webkit.org/show_bug.cgi?id=72397
3317
3318         Reviewed by Dan Bernstein.
3319
3320         * src/ChromeClientImpl.cpp:
3321         (WebKit::ChromeClientImpl::screenToRootView):
3322         (WebKit::ChromeClientImpl::rootViewToScreen):
3323         * src/ChromeClientImpl.h:
3324         * src/WebPopupMenuImpl.cpp:
3325         (WebKit::WebPopupMenuImpl::screenToRootView):
3326         (WebKit::WebPopupMenuImpl::rootViewToScreen):
3327         * src/WebPopupMenuImpl.h:
3328         * src/WebViewImpl.cpp:
3329         (WebKit::WebViewImpl::refreshAutofillPopup):
3330
3331 2011-11-15  Scott Graham  <scottmg@chromium.org>
3332
3333         [Chromium] gamepad changes to the public interface of Chromium port
3334         https://bugs.webkit.org/show_bug.cgi?id=71518
3335
3336         Reviewed by Darin Fisher.
3337
3338         Adds stubs for Chromium port, and defines shared memory structure to
3339         be used between browser and WebKit.
3340
3341         Includes just the parts that touch the public interface so they can be
3342         reviewed separately. See also:
3343         https://bugs.webkit.org/show_bug.cgi?id=69451 and
3344         http://codereview.chromium.org/8345027
3345
3346         * WebKit.gyp:
3347         * public/WebGamepad.h: Added.
3348         (WebKit::WebGamepad::WebGamepad):
3349         * public/WebGamepads.h: Added.
3350         (WebKit::WebGamepads::WebGamepads):
3351         * public/WebKitPlatformSupport.h:
3352         (WebKit::WebKitPlatformSupport::sampleGamepads):
3353         * public/WebRuntimeFeatures.h:
3354         * src/WebRuntimeFeatures.cpp:
3355         (WebKit::WebRuntimeFeatures::enableGamepad):
3356         (WebKit::WebRuntimeFeatures::isGamepadEnabled):
3357
3358 2011-11-14  Anders Carlsson  <andersca@apple.com>
3359
3360         HostWindow invalidation functions should use root view coordinates
3361         https://bugs.webkit.org/show_bug.cgi?id=72338
3362
3363         Reviewed by Dan Bernstein.
3364
3365         * src/ChromeClientImpl.cpp:
3366         (WebKit::ChromeClientImpl::invalidateRootView):
3367         (WebKit::ChromeClientImpl::invalidateContentsAndRootView):
3368         (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll):
3369         * src/ChromeClientImpl.h:
3370         * src/WebPopupMenuImpl.cpp:
3371         (WebKit::WebPopupMenuImpl::invalidateRootView):
3372         (WebKit::WebPopupMenuImpl::invalidateContentsAndRootView):
3373         (WebKit::WebPopupMenuImpl::invalidateContentsForSlowScroll):
3374         * src/WebPopupMenuImpl.h:
3375
3376 2011-11-15  Pavel Feldman  <pfeldman@google.com>
3377
3378         Web Inspector: move generic code from DevTools.js into the WebCore.
3379         https://bugs.webkit.org/show_bug.cgi?id=72377
3380
3381         re-landing r100269.
3382
3383         Reviewed by Yury Semikhatsky.
3384
3385         * src/js/DevTools.js:
3386         (WebInspector.setInspectedTabId):
3387
3388 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3389
3390         Unreviewed, rolling out r100269.
3391         http://trac.webkit.org/changeset/100269
3392         https://bugs.webkit.org/show_bug.cgi?id=72383
3393
3394         "Broke dozens of tests due to exception in loadingFinished"
3395         (Requested by tonyg-cr on #webkit).
3396
3397         * src/js/DevTools.js:
3398         ():
3399         (devtools.domContentLoaded):
3400         (WebInspector.UIString):
3401         (WebInspector.setToolbarColors):
3402         (WebInspector.resetToolbarColors):
3403         (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
3404
3405 2011-11-15  Pavel Feldman  <pfeldman@google.com>
3406
3407         Web Inspector: move generic code from DevTools.js into the WebCore.
3408         https://bugs.webkit.org/show_bug.cgi?id=72377
3409
3410         This includes support for themed toolbar, remote debugging routines,
3411         removes a couple of obsolete overrides from the DevTools.js
3412
3413         Reviewed by Yury Semikhatsky.
3414
3415         * src/js/DevTools.js:
3416         (WebInspector.setInspectedTabId):
3417
3418 2011-11-15  Alpha Lam  <hclam@chromium.org>
3419
3420         [chromium] scroll deltas are cleared during commit to the main thread
3421         https://bugs.webkit.org/show_bug.cgi?id=71916
3422
3423         Reviewed by James Robinson.
3424
3425         Modify test to verify sentScrollDeltas() values of CCLayerImpl during commit.
3426
3427         * tests/CCLayerTreeHostImplTest.cpp:
3428         (WebKit::TEST_F):
3429
3430 2011-11-14  Julien Chaffraix  <jchaffraix@webkit.org>
3431
3432         [chromium] Fix the build after moving some arrays to WTF
3433         https://bugs.webkit.org/show_bug.cgi?id=72345
3434
3435         Reviewed by Dirk Pranke.
3436
3437         * public/WebArrayBufferView.h: s/WebCore/WTF/g.
3438
3439 2011-11-14  Ian Vollick  <vollick@chromium.org>
3440
3441         Expose compositeAndReadback in WebLayerTreeView
3442         https://bugs.webkit.org/show_bug.cgi?id=72188
3443
3444         Reviewed by Darin Fisher.
3445
3446         * public/WebLayerTreeView.h:
3447         * src/WebLayerTreeView.cpp:
3448         (WebKit::WebLayerTreeView::compositeAndReadback):
3449
3450 2011-11-14  Raymond Toy  <rtoy@google.com>
3451
3452         Add buffering to handle mismatch between hardware buffer size and webaudio render size
3453         https://bugs.webkit.org/show_bug.cgi?id=71949
3454
3455         Reviewed by Kenneth Russell.
3456
3457         * src/AudioDestinationChromium.cpp:
3458         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
3459         Create the FIFO for buffering.
3460         (WebCore::AudioDestinationChromium::render):  Get rid of
3461         m_renderCountPerCallback and let the FIFO consume function produce
3462         the appropriate nubmer of calls to the webaudio producer.  Also
3463         remove the rounding of the callback size so we use whatever the
3464         hardware returns.  Removed maximumCallbackBufferSize and use
3465         fifoSize to set the FIFO size.
3466         (WebCore::AudioDestinationChromium::FIFO::FIFO):
3467         (WebCore::AudioDestinationChromium::FIFO::consume):
3468         (WebCore::AudioDestinationChromium::FIFO::findWrapLengths):
3469         (WebCore::AudioDestinationChromium::FIFO::fillBuffer):
3470         Implementation of new FIFO class.
3471         * src/AudioDestinationChromium.h:
3472         (WebCore::AudioDestinationChromium::FIFO::updateIndex):
3473         Define new FIFO class.
3474
3475 2011-11-14  Adrienne Walker  <enne@google.com>
3476
3477         [chromium] Pipe compositor commit/swap up to WebWidgetClient
3478         https://bugs.webkit.org/show_bug.cgi?id=72041
3479
3480         Reviewed by Darin Fisher.
3481
3482         * public/WebWidgetClient.h:
3483         (WebKit::WebWidgetClient::didCommitAndDrawCompositorFrame):
3484         (WebKit::WebWidgetClient::didCompleteSwapBuffers):
3485         * src/WebLayerTreeViewImpl.cpp:
3486         (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
3487         (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
3488         * src/WebLayerTreeViewImpl.h:
3489         * src/WebViewImpl.cpp:
3490         (WebKit::WebViewImpl::didCommitAndDrawFrame):
3491         (WebKit::WebViewImpl::didCompleteSwapBuffers):
3492         * src/WebViewImpl.h:
3493         * tests/CCLayerTreeHostTest.cpp:
3494         (WTF::MockLayerTreeHostClient::didCommitAndDrawFrame):
3495         (WTF::MockLayerTreeHostClient::didCompleteSwapBuffers):
3496
3497 2011-11-14  Tony Chang  <tony@chromium.org>
3498
3499         Remove the CSS3_FLEXBOX compile time flag and enable on all ports
3500         https://bugs.webkit.org/show_bug.cgi?id=72196
3501
3502         Reviewed by Ojan Vafai.
3503
3504         * features.gypi:
3505
3506 2011-11-14  Fady Samuel  <fsamuel@chromium.org>
3507
3508         [Chromium] setPageScaleFactor and associated methods should take scaling limits into account
3509         https://bugs.webkit.org/show_bug.cgi?id=72176
3510
3511         Reviewed by Darin Fisher.
3512  
3513         A couple of changes:
3514  
3515         1. setPageScaleFactorLimits now affects the behavior of other scaling methods
3516            including setPageScaleFactor.
3517         2. setPageScaleFactorPreservingScrollOffset introduced that scales the scroll offset 
3518            along with the page, preserving the scroll position within the page bounds.
3519  
3520
3521         * public/WebView.h:
3522         * src/WebViewImpl.cpp:
3523         (WebKit::WebViewImpl::WebViewImpl):
3524         (WebKit::WebViewImpl::computePageScaleFactorWithinLimits):
3525         (WebKit::WebViewImpl::clampOffsetAtScale):
3526         (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
3527         (WebKit::WebViewImpl::setPageScaleFactor):
3528         (WebKit::WebViewImpl::setPageScaleFactorLimits):
3529         (WebKit::WebViewImpl::applyScrollAndScale):
3530         * src/WebViewImpl.h:
3531
3532 2011-11-14  Vincent Scheib  <scheib@chromium.org>
3533
3534         Mouse Lock: Renaming to 'Pointer Lock': Runtime Enable Flags
3535         https://bugs.webkit.org/show_bug.cgi?id=72303
3536
3537         Reviewed by Darin Fisher.
3538
3539         * public/WebRuntimeFeatures.h:
3540         * public/WebSettings.h:
3541         * src/WebRuntimeFeatures.cpp:
3542         (WebKit::WebRuntimeFeatures::enablePointerLock):
3543         (WebKit::WebRuntimeFeatures::isPointerLockEnabled):
3544         * src/WebSettingsImpl.cpp:
3545         (WebKit::WebSettingsImpl::setPointerLockEnabled):
3546         * src/WebSettingsImpl.h:
3547
3548 2011-11-14  Sheriff Bot  <webkit.review.bot@gmail.com>
3549
3550         Unreviewed, rolling out r100176.
3551         http://trac.webkit.org/changeset/100176
3552         https://bugs.webkit.org/show_bug.cgi?id=72309
3553
3554         it broke the Mac builds (missing symbols) in a non-obvious way
3555         (Requested by jchaffraix on #webkit).
3556
3557         * public/WebGraphicsContext3D.h:
3558         * src/GraphicsContext3DChromium.cpp:
3559         * src/GraphicsContext3DPrivate.h:
3560         * tests/MockWebGraphicsContext3D.h:
3561
3562 2011-11-14  Adam Barth  <abarth@webkit.org>
3563
3564         Remove the concept of an empty SecurityOrigin
3565         https://bugs.webkit.org/show_bug.cgi?id=72287
3566
3567         Reviewed by Eric Seidel.
3568
3569         I'll rename the API in a subsequent patch.
3570
3571         * src/WebSecurityOrigin.cpp:
3572         (WebKit::WebSecurityOrigin::isEmpty):
3573
3574 2011-11-14  Vincent Scheib  <scheib@chromium.org>
3575
3576         Mouse Lock: Renaming to 'Pointer Lock': ENABLE Flags
3577         https://bugs.webkit.org/show_bug.cgi?id=72286
3578
3579         Reviewed by Adam Barth.
3580
3581         * features.gypi:
3582         * src/WebRuntimeFeatures.cpp:
3583         (WebKit::WebRuntimeFeatures::enableMouseLockAPI):
3584         (WebKit::WebRuntimeFeatures::isMouseLockAPIEnabled):
3585         * src/WebSettingsImpl.cpp:
3586         (WebKit::WebSettingsImpl::setMouseLockEnabled):
3587
3588 2011-11-14  Gregg Tavares  <gman@google.com>
3589
3590         Implement WEBGL_EXPERIMENTAL_compressed_textures WebGL extension
3591         https://bugs.webkit.org/show_bug.cgi?id=72086
3592
3593         Reviewed by Kenneth Russell.
3594
3595         * public/WebGraphicsContext3D.h:
3596         * src/GraphicsContext3DChromium.cpp:
3597         * src/GraphicsContext3DPrivate.h:
3598         * tests/MockWebGraphicsContext3D.h:
3599         (WebKit::MockWebGraphicsContext3D::compressedTexImage2D):
3600         (WebKit::MockWebGraphicsContext3D::compressedTexSubImage2D):
3601
3602 2011-11-14  Tommy Widenflycht  <tommyw@google.com>
3603
3604         [chromium] MediaStream API: Adding a sources() method to WebMediaStreamDescriptor
3605         https://bugs.webkit.org/show_bug.cgi?id=72116
3606
3607         Reviewed by Darin Fisher.
3608
3609         * public/WebMediaStreamDescriptor.h:
3610         * public/WebMediaStreamSource.h:
3611         * src/WebMediaStreamDescriptor.cpp:
3612         (WebKit::WebMediaStreamDescriptor::sources):
3613         * src/WebMediaStreamSource.cpp:
3614         (WebKit::WebMediaStreamSource::operator=):
3615
3616 2011-11-14  Tommy Widenflycht  <tommyw@google.com>
3617
3618         [chromium] MediaStream API: Allow for null WebPeerConnectionHandler
3619         https://bugs.webkit.org/show_bug.cgi?id=72114
3620
3621         Fixing crash if WebKitPlatformSupport returns a null WebPeerConnectionHandler
3622         to PeerConnectionHandlerInternal.
3623
3624         Reviewed by Adam Barth.
3625
3626         * bridge/PeerConnectionHandlerInternal.cpp:
3627         (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
3628         (WebCore::PeerConnectionHandlerInternal::produceInitialOffer):
3629         (WebCore::PeerConnectionHandlerInternal::handleInitialOffer):
3630         (WebCore::PeerConnectionHandlerInternal::processSDP):
3631         (WebCore::PeerConnectionHandlerInternal::processPendingStreams):
3632         (WebCore::PeerConnectionHandlerInternal::sendDataStreamMessage):
3633         (WebCore::PeerConnectionHandlerInternal::stop):
3634         (WebCore::PeerConnectionHandlerInternal::didCompleteICEProcessing):
3635         (WebCore::PeerConnectionHandlerInternal::didGenerateSDP):
3636         (WebCore::PeerConnectionHandlerInternal::didReceiveDataStreamMessage):
3637         (WebCore::PeerConnectionHandlerInternal::didAddRemoteStream):
3638         (WebCore::PeerConnectionHandlerInternal::didRemoveRemoteStream):
3639         * public/WebKitPlatformSupport.h:
3640
3641 2011-11-14  Jonathan Backer  <backer@chromium.org>
3642
3643         [chromium] Plumb through partial swap
3644         https://bugs.webkit.org/show_bug.cgi?id=72028
3645
3646         Reviewed by Kenneth Russell.
3647
3648         * public/WebGraphicsContext3D.h:
3649         * src/Extensions3DChromium.cpp:
3650         (WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
3651         * src/GraphicsContext3DChromium.cpp:
3652         * src/GraphicsContext3DPrivate.h:
3653         * tests/MockWebGraphicsContext3D.h:
3654         (WebKit::MockWebGraphicsContext3D::postSubBufferCHROMIUM):
3655
3656 2011-11-14  Iain Merrick  <husky@google.com>
3657
3658         [chromium] Fix incorrect usage of ASSERT in CCLayerTreeHostTest
3659         https://bugs.webkit.org/show_bug.cgi?id=72026
3660
3661         ASSERT is stripped out in release builds so it shouldn't be used
3662         in unit tests, except when calling debug-only functions like
3663         isMainThread().
3664
3665         Replacing with ASSERT_TRUE (or EXPECT_TRUE in constructors, where
3666         we can't return a value).
3667
3668         Reviewed by Tony Gentilcore.
3669
3670         * tests/CCLayerTreeHostTest.cpp:
3671         (WTF::MockLayerTreeHost::MockLayerTreeHost):
3672         (WTF::CCLayerTreeHostTest::onEndTest):
3673         (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommit):
3674         (WTF::CCLayerTreeHostTest::dispatchSetNeedsRedraw):
3675         (WTF::CCLayerTreeHostTest::runTest):
3676         (WTF::CCLayerTreeHostTest::doBeginTest):
3677
3678 2011-11-14  Alexander Pavlov  <apavlov@chromium.org>
3679
3680         [chromium] r99963 causes inspector/debugger/script-formatter.html to fail text diff
3681         https://bugs.webkit.org/show_bug.cgi?id=72204
3682
3683         The concatenate_script_formatter_worker_js action (along with concatenate_heap_snapshot_worker_js)
3684         did not depend on their 'input_file' files and, hence, did not get invoked on their input_file changes.
3685
3686         Reviewed by Yury Semikhatsky.
3687
3688         * WebKit.gyp:
3689
3690 2011-11-13  Nat Duca  <nduca@chromium.org>
3691
3692         [chromium] LayerRendererChromium::initialize should fail when GaphicsContext3D::makeCurrent fails
3693         https://bugs.webkit.org/show_bug.cgi?id=72102
3694
3695         Reviewed by James Robinson.
3696
3697         * src/WebViewImpl.cpp:
3698         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3699
3700 2011-11-13  Kent Tamura  <tkent@chromium.org>
3701
3702         [Chromium] Remove WebFileChooserParams::acceptTypes
3703         https://bugs.webkit.org/show_bug.cgi?id=71998
3704
3705         Reviewed by Darin Fisher.
3706
3707         * public/WebFileChooserParams.h: Remove acceptTypes.
3708         * src/ChromeClientImpl.cpp:
3709         (WebKit::ChromeClientImpl::runOpenPanel): Remove acceptTypes generatio code.
3710
3711 2011-11-11  Nico Weber  <thakis@chromium.org>
3712
3713         [chromium] Remove 2 static initializers and 3 exit time destructors. Turn on -Wexit-time-destructors.
3714         https://bugs.webkit.org/show_bug.cgi?id=72146
3715
3716         Reviewed by Nate Chapin.
3717
3718         * WebKit.gyp:
3719         * src/DebuggerAgentManager.cpp:
3720         (WebKit::DebuggerAgentManager::debugHostDispatchHandler):
3721         (WebKit::DebuggerAgentManager::onWebViewClosed):
3722         * src/DebuggerAgentManager.h:
3723         * src/WebAccessibilityObject.cpp:
3724         (WebKit::WebAccessibilityObject::keyboardShortcut):
3725         * src/WebViewImpl.cpp:
3726         (WebKit::pageGroupLoadDeferrerStack):
3727         (WebKit::WebView::willEnterModalLoop):
3728         (WebKit::WebView::didExitModalLoop):
3729
3730 2011-11-11  Nat Duca  <nduca@chromium.org>
3731
3732         Since GraphicsContext3D::makeContextCurrent can fail, return bool.
3733
3734         https://bugs.webkit.org/show_bug.cgi?id=72101
3735
3736         Reviewed by Kenneth Russell.
3737
3738         * src/GraphicsContext3DChromium.cpp:
3739
3740 2011-11-11  Ojan Vafai  <ojan@chromium.org>
3741
3742         Unreviewed. Rolled DEPS.
3743         https://bugs.webkit.org/show_bug.cgi?id=72174
3744
3745         * DEPS:
3746
3747 2011-11-11  James Robinson  <jamesr@chromium.org>
3748
3749         Rollout http://trac.webkit.org/changeset/99844
3750         Solution is more complicated than the problem it was intended to solve.
3751
3752         * tests/CCLayerTreeHostImplTest.cpp:
3753         (WebKit::TEST_F):
3754
3755 2011-11-11  Iain Merrick  <husky@google.com>
3756
3757         [chromium] CCThreadProxy::finishAllRendering hangs if !visible
3758         https://bugs.webkit.org/show_bug.cgi?id=71920
3759
3760         Reviewed by James Robinson.
3761
3762         * tests/CCSchedulerStateMachineTest.cpp:
3763         (WebCore::TEST):
3764
3765 2011-11-11  Antoine Labour  <piman@chromium.org>
3766
3767         [chromium] Add translation/scaling to WebExternalTextureLayer
3768         https://bugs.webkit.org/show_bug.cgi?id=72087
3769
3770         Reviewed by James Robinson.
3771
3772         * public/WebExternalTextureLayer.h:
3773         * src/WebExternalTextureLayer.cpp:
3774         (WebKit::WebExternalTextureLayer::setUVRect):
3775         (WebKit::WebExternalTextureLayer::uvRect):
3776
3777 2011-11-11  Adam Klein  <adamk@chromium.org>
3778
3779         Remove no-op StorageNamespace::unlock method
3780         https://bugs.webkit.org/show_bug.cgi?id=72181
3781
3782         Reviewed by Darin Adler.
3783
3784         * src/StorageNamespaceProxy.cpp:
3785         * src/StorageNamespaceProxy.h:
3786
3787 2011-11-11  Stephen Chenney  <schenney@chromium.org>
3788
3789         [Chromium] DRT does not have LayoutTestController.pageSizeAndMarginsInPixels
3790         https://bugs.webkit.org/show_bug.cgi?id=49257
3791
3792         Add the WebFrame::getPageProperty method for Chromium.
3793
3794         Reviewed by Darin Fisher.
3795
3796         * public/WebFrame.h:
3797         * src/WebFrameImpl.cpp:
3798         (WebKit::WebFrameImpl::getPageProperty):
3799         * src/WebFrameImpl.h:
3800
3801 2011-11-11  Jeff Timanus  <twiz@chromium.org>
3802
3803         [chromium] Patch that implementing the changes required to allow WebGL
3804         to share its backing store directly with the compositor.
3805         WebGL rendering contexts create and render to FBOs managed by a
3806         DrawingBuffer instance. All PlatformLayer lifetime management is
3807         performed by the DrawingBuffer.
3808         Changes are only relevant to Chromium ports. Functionality is
3809         unchanged for other ports.
3810         https://bugs.webkit.org/show_bug.cgi?id=53201
3811
3812         Reviewed by Stephen White.
3813
3814         * src/GraphicsContext3DChromium.cpp: GraphicsContext3DPrivate no longer caches
3815         the WebGLLayerChromium instance.  Instead, it is accessed via DrawingBuffer instances
3816         passed as arguments to the necessary routines.
3817         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
3818         (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
3819         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
3820         (WebCore::GraphicsContext3D::~GraphicsContext3D):
3821         (WebCore::GraphicsContext3D::platformLayer):
3822         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
3823         (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
3824         * src/GraphicsContext3DPrivate.h:
3825
3826 2011-11-11  Sheriff Bot  <webkit.review.bot@gmail.com>
3827
3828         Unreviewed, rolling out r100010.
3829         http://trac.webkit.org/changeset/100010
3830         https://bugs.webkit.org/show_bug.cgi?id=72172
3831
3832         "Broke gclient syncing on the chromium bots." (Requested by
3833         ojan on #webkit).
3834
3835         * DEPS:
3836
3837 2011-11-11  Ojan Vafai  <ojan@chromium.org>
3838
3839         Unreviewed.  Rolled DEPS.
3840
3841         * DEPS:
3842
3843 2011-11-11  James Robinson  <jamesr@chromium.org>
3844
3845         [chromium] Fix CCLayerTreeHost leak in webkit_unit_tests
3846         https://bugs.webkit.org/show_bug.cgi?id=72081
3847
3848         Reviewed by Kenneth Russell.
3849
3850         LayerChromium and CCLayerTreeHosts hold RefPtr<>s to each other, so if
3851         you do not clear out the layerTreeHost pointer on the LayerChromium
3852         the layer tree is leaked. The real code does this in WebViewImpl but
3853         this test was not.
3854
3855         * tests/CCLayerTreeHostTest.cpp:
3856         (WTF::CCLayerTreeHostTest::runTest):
3857         (WTF::CCLayerTreeHostTest::doBeginTest):
3858
3859 2011-11-11  Sheriff Bot  <webkit.review.bot@gmail.com>
3860
3861         Unreviewed, rolling out r99826.
3862         http://trac.webkit.org/changeset/99826
3863         https://bugs.webkit.org/show_bug.cgi?id=72109
3864
3865         "Likely causing test flakiness" (Requested by tonyg-cr on
3866         #webkit).
3867
3868         * tests/FrameTestHelpers.cpp:
3869         (WebKit::FrameTestHelpers::registerMockedURLLoad):
3870         (WebKit::FrameTestHelpers::createWebViewAndLoad):
3871         * tests/FrameTestHelpers.h:
3872         * tests/WebFrameTest.cpp:
3873         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
3874         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
3875         (WebKit::TEST_F):
3876         * tests/WebViewTest.cpp:
3877         (WebKit::TEST_F):
3878         * tests/data/page_with_image.mht: Removed.
3879
3880 2011-11-10  Daniel Cheng  <dcheng@chromium.org>
3881
3882         [chromium] Add plumbing for JS to write to clipboard in copy/cut events.
3883         https://bugs.webkit.org/show_bug.cgi?id=71414
3884
3885         Reviewed by Darin Fisher.
3886
3887         * public/WebClipboard.h:
3888         (WebKit::WebClipboard::writeDataObject):
3889         * src/PlatformSupport.cpp:
3890         (WebCore::PlatformSupport::clipboardWriteDataObject):
3891
3892 2011-11-10  Vsevolod Vlasov  <vsevik@chromium.org>
3893
3894         Unreviewed.  Rolled DEPS.
3895
3896         * DEPS:
3897
3898 2011-11-10  Iain Merrick  <husky@google.com>
3899
3900         [Chromium] Fix CCLayerTreeHostImplTest::scrollRootCallsCommitAndRedraw
3901         https://bugs.webkit.org/show_bug.cgi?id=72027
3902
3903         We weren't calling setScrollable(true) when setting up the test, so
3904         scroll events were being ignored. Test failed in debug builds, but passed
3905         in release because we were using ASSERT instead of ASSERT_TRUE.
3906
3907         Reviewed by Tony Gentilcore.
3908
3909         * tests/CCLayerTreeHostImplTest.cpp:
3910         (WebKit::TEST_F):
3911
3912 2011-11-10  Alpha Lam  <hclam@chromium.org>
3913
3914         [chromium] Scroll deltas are cleared during commit to the main thread
3915         https://bugs.webkit.org/show_bug.cgi?id=71916
3916
3917         Reviewed by James Robinson.
3918
3919         * tests/CCLayerTreeHostImplTest.cpp:
3920         (WebKit::TEST_F):
3921         CCLayerTreeHostImplTest.scrollDeltaRepeatedScrolls
3922         This test is modified to verify that CCLayerTreeHostImpl::processScrollDeltas()
3923         maintain the current scroll deltas and scroll positions.
3924         It also verifies that scroll deltas are subtracted correctly by calling
3925         CCLayerTreeHostCommon::applyScrollAndScale().
3926         * tests/CCLayerTreeHostTest.cpp:
3927         (WTF::CCLayerTreeHostTest::doBeginTest):
3928         call setLayerTreeHost() on the root layer.
3929
3930 2011-11-10  Jay Civelli  <jcivelli@chromium.org>
3931
3932         Fix progress load reporting for MHTML documents.
3933
3934         MHTML documents containing references to resources they don't include
3935         never finish loading.
3936         https://bugs.webkit.org/show_bug.cgi?id=71859
3937
3938         Reviewed by Adam Barth.
3939
3940         * tests/FrameTestHelpers.cpp:
3941         (WebKit::FrameTestHelpers::registerMockedURLLoadAsHTML):
3942         (WebKit::FrameTestHelpers::registerMockedURLLoad):
3943         (WebKit::FrameTestHelpers::createWebViewAndLoad):
3944         * tests/FrameTestHelpers.h:
3945         * tests/WebFrameTest.cpp:
3946         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
3947         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
3948         (WebKit::TEST_F):
3949         * tests/WebViewTest.cpp:
3950         (WebKit::TEST_F):
3951         * tests/data/page_with_image.mht: Added.
3952
3953 2011-11-09  Tommy Widenflycht  <tommyw@google.com>
3954
3955         [chromium] MediaStream API: Add WebMediaStreamRegistry
3956         https://bugs.webkit.org/show_bug.cgi?id=71458
3957
3958         Reviewed by Darin Fisher.
3959
3960         * WebKit.gyp:
3961         * public/WebMediaStreamRegistry.h: Added.
3962         * src/WebMediaStreamRegistry.cpp: Added.
3963         (WebKit::WebMediaStreamRegistry::lookupMediaStreamDescriptor):
3964
3965 2011-11-09  Alexandre Elias  <aelias@google.com>
3966
3967         [chromium] Add draw-time scale delta to compositor thread
3968         https://bugs.webkit.org/show_bug.cgi?id=71595
3969
3970         Reviewed by James Robinson.
3971
3972         There are two magnify values:
3973         1. The WebKit-side pageScale value corresponding to the resolution of
3974            the painted content.
3975         2. The Impl-side-only scaleDelta value representing the additional
3976            degree of current magnification, applied as a draw transform.  WebKit
3977            is never explicitly aware of this value and the only way to change it
3978            currently is via pinch events (and in the future, double-tap/etc
3979            events).  At the end of a pinch zoom, we multiply pageScale *
3980            scaleDelta and tell WebKit to use it as the new pageScale.
3981
3982         Scroll offsets and max-extents are maintained in pageScale space.
3983         When the scale changes, we need to take care to convert them to the
3984         new scale and avoid getting them clamped to the extents at the wrong
3985         scale.
3986
3987         I removed maxScrollPosition on the non-impl side because it makes no
3988         sense to precompute it in the presence of an impl-side zoom.  Replaced
3989         with a simple 'bool m_scrollable'.
3990
3991         zoomAnimatorTransform is not used because it currently isn't in the
3992         branch, and mostly doesn't behave the way we want anyway (it does most
3993         things in WebKit thread).  We will need to unify these later.
3994
3995         Also introduce deviceOrPageScaleFactorChanged() call which invalidates
3996         layers.
3997
3998         * public/WebLayerTreeViewClient.h:
3999         * public/WebView.h:
4000         * src/WebCompositorImpl.cpp:
4001         * src/WebLayerTreeViewImpl.cpp:
4002         (WebKit::WebLayerTreeViewImpl::applyScrollAndScale):
4003         * src/WebLayerTreeViewImpl.h:
4004         * src/WebViewImpl.cpp:
4005         (WebKit::WebViewImpl::enableFixedLayoutMode):
4006         (WebKit::WebViewImpl::setPageScaleFactorLimits):
4007         (WebKit::WebViewImpl::applyScrollAndScale):
4008         (WebKit::WebViewImpl::updateLayerTreeViewport):
4009         * src/WebViewImpl.h:
4010         * tests/CCLayerTreeHostImplTest.cpp:
4011         (WebKit::CCLayerTreeHostImplTest::expectContains):
4012         (WebKit::TEST_F):
4013         * tests/CCLayerTreeHostTest.cpp:
4014         (WTF::TestHooks::applyScrollAndScale):
4015         (WTF::MockLayerTreeHostClient::applyScrollAndScale):
4016         (WTF::CCLayerTreeHostTestScrollSimple::beginTest):
4017         (WTF::CCLayerTreeHostTestScrollSimple::drawLayersOnCCThread):
4018         (WTF::CCLayerTreeHostTestScrollSimple::applyScrollAndScale):
4019         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginTest):
4020         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
4021         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::applyScrollAndScale):
4022
4023 2011-11-09  Dominic Mazzoni  <dmazzoni@google.com>
4024
4025         Fix crash by handling case when AccessibilityObject::lineForPosition
4026         returns -1.
4027         https://bugs.webkit.org/show_bug.cgi?id=71561
4028
4029         Adds layout test: platform/chromium/accessibility/insertion-point-line-number-on-password-crashes.html
4030
4031         Reviewed by Dimitri Glazkov.
4032
4033         * src/WebAccessibilityObject.cpp:
4034         (WebKit::WebAccessibilityObject::lineBreaks):
4035
4036 2011-11-09  Jay Civelli  <jcivelli@chromium.org>
4037
4038         Fix MHTML generation to use the QuotedPrintable encoding for text resources.
4039         This was regressed when we added binary encoding support.
4040         https://bugs.webkit.org/show_bug.cgi?id=71857
4041
4042         Reviewed by Adam Barth.
4043
4044         * tests/WebPageNewSerializerTest.cpp:
4045         (WebKit::LineReader::LineReader):
4046         (WebKit::LineReader::getNextLine):
4047         (WebKit::WebPageNewSerializeTest::setUpCSSTestPage):
4048         (WebKit::TEST_F):
4049
4050 2011-11-09  Henrik Grunell  <grunell@chromium.org>
4051
4052         Adding missing implementation of WebMediaStreamDescriptor::label().
4053
4054         [Chromium] Missing WebMediaStreamDescriptor::label() implementation
4055         https://bugs.webkit.org/show_bug.cgi?id=71657
4056
4057         Reviewed by Adam Barth.
4058
4059         * src/WebMediaStreamDescriptor.cpp:
4060         (WebKit::WebMediaStreamDescriptor::label):
4061
4062 2011-11-09  Alexei Svitkine  <asvitkine@chromium.org>
4063
4064         Chromium: Add plumbing to enable dragging dev tools via the empty space on the toolbar.
4065         https://bugs.webkit.org/show_bug.cgi?id=71842
4066
4067         These are the only WebKit-side changes needed. The rest will be done on the Chromium side.
4068
4069         Chromium bug: http://crbug.com/44350
4070
4071         Reviewed by Pavel Feldman.
4072
4073         * public/WebDevToolsFrontendClient.h:
4074         (WebKit::WebDevToolsFrontendClient::moveWindowBy):
4075         * src/InspectorFrontendClientImpl.cpp:
4076         (WebKit::InspectorFrontendClientImpl::moveWindowBy):
4077
4078 2011-11-08  Jay Civelli  <jcivelli@chromium.org>
4079
4080         Fixes and reenables the WebPageSerializer tests.
4081         https://bugs.webkit.org/show_bug.cgi?id=71874
4082
4083         Reviewed by Adam Barth.
4084
4085         * WebKit.gypi: