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