3a7206c5bb308b4542a618fae5afdace50b83769
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-11-23  Greg Billock  <gbillock@google.com>
2
3         Add simple implementation for web intents chromium API data classes.
4         https://bugs.webkit.org/show_bug.cgi?id=73036
5
6         Reviewed by Darin Fisher.
7
8         * WebKit.gyp:
9         * public/WebIntent.h:
10         * public/WebIntentServiceInfo.h:
11         * src/WebIntent.cpp: Copied from Source/WebKit/chromium/public/WebIntent.h.
12         (WebKit::WebIntent::WebIntent):
13         (WebKit::WebIntent::action):
14         (WebKit::WebIntent::setAction):
15         (WebKit::WebIntent::type):
16         (WebKit::WebIntent::setType):
17         (WebKit::WebIntent::data):
18         (WebKit::WebIntent::setData):
19         (WebKit::WebIntent::identifier):
20         (WebKit::WebIntent::setIdentifier):
21         * src/WebIntentServiceInfo.cpp: Copied from Source/WebKit/chromium/public/WebIntentServiceInfo.h.
22         (WebKit::WebIntentServiceInfo::WebIntentServiceInfo):
23         (WebKit::WebIntentServiceInfo::url):
24         (WebKit::WebIntentServiceInfo::setURL):
25         (WebKit::WebIntentServiceInfo::title):
26         (WebKit::WebIntentServiceInfo::setTitle):
27         (WebKit::WebIntentServiceInfo::action):
28         (WebKit::WebIntentServiceInfo::setAction):
29         (WebKit::WebIntentServiceInfo::type):
30         (WebKit::WebIntentServiceInfo::setType):
31         (WebKit::WebIntentServiceInfo::disposition):
32         (WebKit::WebIntentServiceInfo::setDisposition):
33
34 2011-11-23  Adam Barth  <abarth@webkit.org>
35
36         [Chromium] Move WebKitPlatformSupport.h and dependencies to new public/platform directory
37         https://bugs.webkit.org/show_bug.cgi?id=73066
38
39         Reviewed by Darin Fisher.
40
41         This patch creates a new subdirectory in the Chromium WebKit API to
42         house "platform" header files.  As with the other Platform directories
43         in WebKit, the platform directory cannot depend on headers outside of
44         platform, but headers outside of platform can depend on platform.
45
46         This patch moves WebKitPlatformSupport and its dependencies into this
47         new directory and creates forwarding headers to easy migration for
48         embedders of this API.  Over time, we will migrate more headers into
49         this folder, as appropriate.
50
51         * public/WebAccessibilityObject.h:
52         * public/WebAccessibilityRole.h:
53         * public/WebAnimationController.h:
54         * public/WebApplicationCacheHost.h:
55         * public/WebApplicationCacheHostClient.h:
56         * public/WebArrayBufferView.h:
57         * public/WebAttribute.h:
58         * public/WebAudioBus.h: Replaced.
59         * public/WebAudioDevice.h: Replaced.
60         * public/WebAudioSourceProvider.h:
61         * public/WebBindings.h:
62         * public/WebBlob.h:
63         * public/WebBlobData.h:
64         * public/WebBlobRegistry.h:
65         * public/WebCString.h: Replaced.
66         * public/WebCache.h:
67         * public/WebCanvas.h:
68         * public/WebClipboard.h:
69         * public/WebColor.h:
70         * public/WebCommon.h: Replaced.
71         * public/WebCommonWorkerClient.h:
72         * public/WebCompositor.h:
73         * public/WebConsoleMessage.h:
74         * public/WebContentLayer.h:
75         * public/WebContextMenuData.h:
76         * public/WebCookie.h:
77         * public/WebCrossOriginPreflightResultCache.h:
78         * public/WebDOMEvent.h:
79         * public/WebDOMEventListener.h:
80         * public/WebDOMStringList.h:
81         * public/WebData.h: Replaced.
82         * public/WebDataSource.h:
83         * public/WebDatabase.h:
84         * public/WebDevToolsAgent.h:
85         * public/WebDevToolsAgentClient.h:
86         * public/WebDevToolsFrontend.h:
87         * public/WebDeviceOrientationClientMock.h:
88         * public/WebDeviceOrientationController.h:
89         * public/WebDocument.h:
90         * public/WebDragData.h:
91         * public/WebExternalPopupMenuClient.h:
92         * public/WebExternalTextureLayer.h:
93         * public/WebFileChooserParams.h:
94         * public/WebFileInfo.h:
95         * public/WebFileSystem.h:
96         * public/WebFileSystemCallbacks.h:
97         * public/WebFileSystemEntry.h:
98         * public/WebFileUtilities.h:
99         * public/WebFileWriter.h:
100         * public/WebFileWriterClient.h:
101         * public/WebFindOptions.h:
102         * public/WebFloatPoint.h:
103         * public/WebFloatQuad.h:
104         * public/WebFloatRect.h:
105         * public/WebFont.h:
106         * public/WebFontCache.h:
107         * public/WebFontDescription.h:
108         * public/WebFormControlElement.h:
109         * public/WebFormElement.h:
110         * public/WebFrame.h:
111         * public/WebFrameClient.h:
112         * public/WebGamepad.h: Replaced.
113         * public/WebGamepads.h: Replaced.
114         * public/WebGeolocationClientMock.h:
115         * public/WebGeolocationController.h:
116         * public/WebGeolocationError.h:
117         * public/WebGeolocationPermissionRequest.h:
118         * public/WebGeolocationPermissionRequestManager.h:
119         * public/WebGeolocationPosition.h:
120         * public/WebGlyphCache.h:
121         * public/WebGraphicsContext3D.h:
122         * public/WebHTTPBody.h:
123         * public/WebHTTPLoadInfo.h:
124         * public/WebHistoryItem.h:
125         * public/WebIDBCallbacks.h:
126         * public/WebIDBCursor.h:
127         * public/WebIDBDatabase.h:
128         * public/WebIDBDatabaseCallbacks.h:
129         * public/WebIDBDatabaseError.h:
130         * public/WebIDBFactory.h:
131         * public/WebIDBIndex.h:
132         * public/WebIDBKey.h:
133         * public/WebIDBKeyPath.h:
134         * public/WebIDBKeyRange.h:
135         * public/WebIDBObjectStore.h:
136         * public/WebIDBTransaction.h:
137         * public/WebIDBTransactionCallbacks.h:
138         * public/WebIconURL.h:
139         * public/WebImage.h:
140         * public/WebInputEvent.h:
141         * public/WebKit.h:
142         * public/WebKitPlatformSupport.h: Replaced.
143         * public/WebLayer.h:
144         * public/WebLayerTreeView.h:
145         * public/WebLocalizedString.h: Replaced.
146         * public/WebMediaPlayer.h:
147         * public/WebMediaStreamDescriptor.h:
148         * public/WebMediaStreamRegistry.h:
149         * public/WebMediaStreamSource.h:
150         * public/WebMenuItemInfo.h:
151         * public/WebMessagePortChannel.h:
152         * public/WebMimeRegistry.h:
153         * public/WebNamedNodeMap.h:
154         * public/WebNetworkStateNotifier.h:
155         * public/WebNode.h:
156         * public/WebNodeCollection.h:
157         * public/WebNodeList.h:
158         * public/WebNotification.h:
159         * public/WebNotificationPresenter.h:
160         * public/WebOptionElement.h:
161         * public/WebPageSerializer.h:
162         * public/WebPasswordFormData.h:
163         * public/WebPeerConnectionHandler.h:
164         * public/WebPerformance.h:
165         * public/WebPlugin.h:
166         * public/WebPluginParams.h:
167         * public/WebPoint.h:
168         * public/WebPopupMenu.h:
169         * public/WebPopupMenuInfo.h:
170         * public/WebPrivateOwnPtr.h: Replaced.
171         * public/WebPrivatePtr.h: Replaced.
172         * public/WebRange.h:
173         * public/WebRect.h:
174         * public/WebRegularExpression.h:
175         * public/WebRuntimeFeatures.h:
176         * public/WebScriptController.h:
177         * public/WebScriptSource.h:
178         * public/WebScrollbar.h:
179         * public/WebSearchableFormData.h:
180         * public/WebSecurityOrigin.h:
181         * public/WebSecurityPolicy.h:
182         * public/WebSelectElement.h:
183         * public/WebSerializedScriptValue.h: Replaced.
184         * public/WebSettings.h:
185         * public/WebSharedWorker.h:
186         * public/WebSharedWorkerRepository.h:
187         * public/WebSize.h:
188         * public/WebSocket.h:
189         * public/WebSocketClient.h:
190         * public/WebSocketStreamError.h:
191         * public/WebSocketStreamHandle.h:
192         * public/WebSocketStreamHandleClient.h:
193         * public/WebSpeechInputController.h:
194         * public/WebSpeechInputResult.h:
195         * public/WebSpellCheckClient.h:
196         * public/WebStorageArea.h:
197         * public/WebStorageEventDispatcher.h:
198         * public/WebStorageNamespace.h:
199         * public/WebString.h: Replaced.
200         * public/WebTestingSupport.h:
201         * public/WebTextCheckingCompletion.h:
202         * public/WebTextCheckingResult.h:
203         * public/WebTextRun.h:
204         * public/WebThread.h:
205         * public/WebThreadSafeData.h:
206         * public/WebTouchPoint.h:
207         * public/WebURL.h: Replaced.
208         * public/WebURLError.h:
209         * public/WebURLLoadTiming.h:
210         * public/WebURLLoader.h:
211         * public/WebURLRequest.h:
212         * public/WebURLResponse.h:
213         * public/WebUserMediaRequest.h:
214         * public/WebVector.h: Replaced.
215         * public/WebView.h:
216         * public/WebViewClient.h:
217         * public/WebWidget.h:
218         * public/WebWidgetClient.h:
219         * public/WebWindowFeatures.h:
220         * public/android/WebInputEventFactory.h:
221         * public/gtk/WebInputEventFactory.h:
222         * public/linux/WebFontFamily.h:
223         * public/linux/WebFontInfo.h:
224         * public/linux/WebFontRenderStyle.h:
225         * public/linux/WebFontRendering.h:
226         * public/linux/WebRenderTheme.h:
227         * public/linux/WebSandboxSupport.h:
228         * public/mac/WebInputEventFactory.h:
229         * public/mac/WebScreenInfoFactory.h:
230         * public/platform: Added.
231         * public/platform/WebAudioBus.h: Copied from Source/WebKit/chromium/public/WebAudioBus.h.
232         * public/platform/WebAudioDevice.h: Copied from Source/WebKit/chromium/public/WebAudioDevice.h.
233         * public/platform/WebCString.h: Copied from Source/WebKit/chromium/public/WebCString.h.
234         * public/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/WebCommon.h.
235         * public/platform/WebData.h: Copied from Source/WebKit/chromium/public/WebData.h.
236         * public/platform/WebGamepad.h: Copied from Source/WebKit/chromium/public/WebGamepad.h.
237         * public/platform/WebGamepads.h: Copied from Source/WebKit/chromium/public/WebGamepads.h.
238         * public/platform/WebKitPlatformSupport.h: Copied from Source/WebKit/chromium/public/WebKitPlatformSupport.h.
239         * public/platform/WebLocalizedString.h: Copied from Source/WebKit/chromium/public/WebLocalizedString.h.
240         * public/platform/WebPrivateOwnPtr.h: Copied from Source/WebKit/chromium/public/WebPrivateOwnPtr.h.
241         * public/platform/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/WebPrivatePtr.h.
242         * public/platform/WebSerializedScriptValue.h: Copied from Source/WebKit/chromium/public/WebSerializedScriptValue.h.
243         * public/platform/WebString.h: Copied from Source/WebKit/chromium/public/WebString.h.
244         * public/platform/WebURL.h: Copied from Source/WebKit/chromium/public/WebURL.h.
245         * public/platform/WebVector.h: Copied from Source/WebKit/chromium/public/WebVector.h.
246         * public/win/WebInputEventFactory.h:
247         * public/win/WebScreenInfoFactory.h:
248         * public/x11/WebScreenInfoFactory.h:
249
250 2011-11-23  Adam Barth  <abarth@webkit.org>
251
252         [Chromium] Remove unused WebSecurityOrigin::isEmpty from WebKit API
253         https://bugs.webkit.org/show_bug.cgi?id=73065
254
255         Reviewed by Eric Seidel.
256
257         This API no longer has any callers.
258
259         * public/WebSecurityOrigin.h:
260         * src/WebSecurityOrigin.cpp:
261         (WebKit::WebSecurityOrigin::isUnique):
262
263 2011-11-23  Dmitry Lomov  <dslomov@google.com>
264
265         https://bugs.webkit.org/show_bug.cgi?id=73054
266         [V8][Chromium] Add list of transferred ArrayBuffers to SerializedScriptValue::create.
267
268         Reviewed by David Levin.
269
270         * src/WebSerializedScriptValue.cpp:
271         (WebKit::WebSerializedScriptValue::serialize):
272
273 2011-11-23  Ami Fischman  <fischman@chromium.org>
274
275         Teach VideoLayerChromium how to render native texture (to support HW video decode).
276         https://bugs.webkit.org/show_bug.cgi?id=73043
277
278         Reviewed by Kenneth Russell.
279
280         * public/WebVideoFrame.h:
281         * src/VideoFrameChromiumImpl.cpp:
282         (WebKit::VideoFrameChromiumImpl::textureId):
283         * src/VideoFrameChromiumImpl.h:
284
285 2011-11-23  Vincent Scheib  <scheib@chromium.org>
286
287         Pointer Lock: Plumb movement coordinates from PlatformMouseEvent to MouseEvents.
288         https://bugs.webkit.org/show_bug.cgi?id=73031
289
290         Reviewed by Dimitri Glazkov.
291
292         * src/WebInputEventConversion.cpp:
293         (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
294
295 2011-11-23  Tommy Widenflycht  <tommyw@google.com>
296
297         [chromium] MediaStream API: Missing WEBKIT_EXPORT in WebMediaStreamRegistry
298         https://bugs.webkit.org/show_bug.cgi?id=73010
299
300         Reviewed by Darin Fisher.
301
302         * public/WebMediaStreamRegistry.h:
303
304 2011-11-23  Scott Graham  <scottmg@chromium.org>
305
306         Adding gamepad support
307         https://bugs.webkit.org/show_bug.cgi?id=69451
308
309         Add implementation of sampleGamepads in Chromium platform. Retrieves
310         gamepad data from Chromium port and converts to DOM format, i.e.
311         GamepadList.
312
313         Reviewed by Darin Fisher.
314
315         * src/PlatformSupport.cpp:
316         (WebCore::PlatformSupport::sampleGamepads):
317
318 2011-11-23  Dmitry Lomov  <dslomov@google.com>
319
320         Get rid of WebCore dependencies from TypedArray implementation types
321         https://bugs.webkit.org/show_bug.cgi?id=72783
322         Reviewed by David Levin.
323
324         * src/WebArrayBufferView.cpp: WebCore replaced with WTF
325
326 2011-11-23  Tommy Widenflycht  <tommyw@google.com>
327
328         [chromium] MediaStream API: Adding embedding code for GetUserMedia
329         https://bugs.webkit.org/show_bug.cgi?id=71678
330
331         This patch includes a fix for https://bugs.webkit.org/show_bug.cgi?id=72925.
332
333         Reviewed by Darin Fisher.
334
335         * WebKit.gyp:
336         * public/WebUserMediaClient.h: Added.
337         (WebKit::WebUserMediaClient::~WebUserMediaClient):
338         * public/WebUserMediaRequest.h: Added.
339         (WebKit::WebUserMediaRequest::WebUserMediaRequest):
340         (WebKit::WebUserMediaRequest::~WebUserMediaRequest):
341         (WebKit::WebUserMediaRequest::operator=):
342         (WebKit::WebUserMediaRequest::isNull):
343         (WebKit::operator==):
344         * public/WebViewClient.h:
345         (WebKit::WebViewClient::userMediaClient):
346         * src/UserMediaClientImpl.cpp: Added.
347         (WebKit::UserMediaClientImpl::UserMediaClientImpl):
348         (WebKit::UserMediaClientImpl::pageDestroyed):
349         (WebKit::UserMediaClientImpl::requestUserMedia):
350         (WebKit::UserMediaClientImpl::cancelUserMediaRequest):
351         * src/UserMediaClientImpl.h: Added.
352         * src/WebUserMediaRequest.cpp: Added.
353         (WebKit::WebUserMediaRequest::WebUserMediaRequest):
354         (WebKit::WebUserMediaRequest::reset):
355         (WebKit::WebUserMediaRequest::audio):
356         (WebKit::WebUserMediaRequest::video):
357         (WebKit::WebUserMediaRequest::cameraPreferenceUser):
358         (WebKit::WebUserMediaRequest::cameraPreferenceEnvironment):
359         (WebKit::WebUserMediaRequest::securityOrigin):
360         (WebKit::WebUserMediaRequest::requestSucceeded):
361         (WebKit::WebUserMediaRequest::requestFailed):
362         (WebKit::WebUserMediaRequest::equals):
363         (WebKit::WebUserMediaRequest::assign):
364         (WebKit::WebUserMediaRequest::operator UserMediaRequest*):
365         * src/WebViewImpl.cpp:
366         (WebKit::WebViewImpl::WebViewImpl):
367         * src/WebViewImpl.h:
368
369 2011-11-23  Antoine Labour  <piman@chromium.org>
370
371         [chromium] Expose showFPSCounter and showPlatformLayerTree in WebLayerTreeView::Settings
372         https://bugs.webkit.org/show_bug.cgi?id=72973
373
374         Reviewed by Darin Fisher.
375
376         * public/WebLayerTreeView.h:
377         (WebKit::WebLayerTreeView::Settings::Settings):
378         * src/WebLayerTreeView.cpp:
379         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
380
381 2011-11-22  Dirk Pranke  <dpranke@chromium.org>
382
383         Roll DEPS to r111325 to fix an issue with the linux build
384
385         https://bugs.webkit.org/show_bug.cgi?id=73004
386
387         Unreviewed, build fix.
388
389         There appears to be a bug in the Makefile generator for gyp
390         that is causing make to not rebuild DRT on Linux.
391
392         * DEPS:
393
394 2011-11-22  Kenneth Russell  <kbr@google.com>
395
396         [chromium] Support Core Animation plugins in compositor
397         https://bugs.webkit.org/show_bug.cgi?id=72921
398
399         Reviewed by Stephen White.
400
401         Added IOSurface support to WebPluginContainer. This code path is
402         used only on Mac OS X, but is defined in the header on all
403         platforms for simplicity.
404
405         * public/WebGraphicsContext3D.h:
406         (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
407         * public/WebPluginContainer.h:
408         * src/Extensions3DChromium.cpp:
409         (WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
410         * src/GraphicsContext3DChromium.cpp:
411         * src/GraphicsContext3DPrivate.h:
412         * src/WebPluginContainerImpl.cpp:
413         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
414         (WebKit::WebPluginContainerImpl::platformLayer):
415         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
416         * src/WebPluginContainerImpl.h:
417
418 2011-11-22  Daniel Cheng  <dcheng@chromium.org>
419
420         [chromium] Fix plumbing for differentiating between clipboard/selection pastes.
421         https://bugs.webkit.org/show_bug.cgi?id=72056
422
423         Reviewed by tony@chromium.org.
424
425         Add a buffer parameter when retrieving the clipboard sequence number.
426
427         * public/WebClipboard.h:
428         (WebKit::WebClipboard::sequenceNumber):
429         * src/PlatformSupport.cpp:
430         (WebCore::PlatformSupport::clipboardSequenceNumber):
431
432 2011-11-22  Greg Billock  <gbillock@google.com>
433
434         Empty API for web intents
435         https://bugs.webkit.org/show_bug.cgi?id=69870
436
437         Reviewed by Darin Fisher.
438
439         * WebKit.gyp:
440         * public/WebIntent.h: Added.
441         * public/WebIntentServiceInfo.h: Added.
442         * public/WebFrame.h:
443         * public/WebFrameClient.h:
444
445 2011-11-22  Scott Graham  <scottmg@chromium.org>
446
447         Roll Chromium DEPS
448         https://bugs.webkit.org/show_bug.cgi?id=72972
449
450         Add dbus in Chromium as pulled dep and update to HEAD.
451
452         Reviewed by Dirk Pranke.
453
454         * DEPS:
455
456 2011-11-22  Dirk Pranke  <dpranke@chromium.org>
457
458         Roll Chromium DEPS to r110960 and set the disable_nacl flag.
459         https://bugs.webkit.org/show_bug.cgi?id=72911
460
461         Unreviewed, build fix.
462
463         ppapi starts to depend on the NaCl gyp files as of r109739, so
464         we need to pass disable_nacl when running gyp to avoid pulling
465         in too much of NaCl.
466
467         * DEPS:
468         * gyp_webkit:
469
470 2011-11-22  Pavel Feldman  <pfeldman@google.com>
471
472         Web Inspector: [chromium] fix internactive ui test for scripts panel.
473         https://bugs.webkit.org/show_bug.cgi?id=72935
474
475         Reviewed by Yury Semikhatsky.
476
477         * src/js/Tests.js:
478         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
479
480 2011-11-22  Pavel Feldman  <pfeldman@google.com>
481
482         Web Inspector: remove Inspector::bringToFront from the protocol.
483         https://bugs.webkit.org/show_bug.cgi?id=72937
484
485         Reviewed by Yury Semikhatsky.
486
487         * src/InspectorClientImpl.cpp:
488         (WebKit::InspectorClientImpl::bringFrontendToFront):
489         * src/InspectorClientImpl.h:
490         * src/WebDevToolsAgentImpl.cpp:
491         (WebKit::WebDevToolsAgentImpl::bringFrontendToFront):
492         * src/WebDevToolsAgentImpl.h:
493
494 2011-11-17  Nat Duca  <nduca@chromium.org>
495
496         [chromium] Route willDraw/setNeedsRedraw to CCInputHandler and fix double-drawing issues that result
497         https://bugs.webkit.org/show_bug.cgi?id=72688
498
499         Reviewed by James Robinson.
500
501         * src/WebCompositorImpl.cpp:
502         (WebCore::CCInputHandler::create):
503         (WebKit::WebCompositorImpl::WebCompositorImpl):
504         (WebKit::WebCompositorImpl::handleInputEvent):
505         (WebKit::WebCompositorImpl::willDraw):
506         * src/WebCompositorImpl.h:
507         (WebKit::WebCompositorImpl::create):
508         * tests/CCFrameRateControllerTest.cpp:
509         (WebKitTests::FakeCCFrameRateControllerClient::beginFrame):
510         * tests/CCSchedulerStateMachineTest.cpp:
511         (WebCore::TEST):
512         * tests/CCSchedulerTest.cpp:
513         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::SchedulerClientThatSetNeedsDrawInsideDraw):
514         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::setScheduler):
515         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::numDraws):
516         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::hasMoreResourceUpdates):
517         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionBeginFrame):
518         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionDrawAndSwap):
519         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionUpdateMoreResources):
520         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionCommit):
521         (WebKitTests::TEST):
522
523 2011-11-21  Sheriff Bot  <webkit.review.bot@gmail.com>
524
525         Unreviewed, rolling out r100970.
526         http://trac.webkit.org/changeset/100970
527         https://bugs.webkit.org/show_bug.cgi?id=72925
528
529         Caused AssociatedURLLoaderTest.Success to fail (Requested by
530         koz on #webkit).
531
532         * WebKit.gyp:
533         * public/WebUserMediaClient.h: Removed.
534         * public/WebUserMediaRequest.h: Removed.
535         * public/WebViewClient.h:
536         * src/UserMediaClientImpl.cpp: Removed.
537         * src/UserMediaClientImpl.h: Removed.
538         * src/WebUserMediaRequest.cpp: Removed.
539         * src/WebViewImpl.cpp:
540         (WebKit::WebViewImpl::WebViewImpl):
541         * src/WebViewImpl.h:
542
543 2011-11-21  Tommy Widenflycht  <tommyw@google.com>
544
545         [chromium] MediaStream API: Adding embedding code for GetUserMedia
546         https://bugs.webkit.org/show_bug.cgi?id=71678
547
548         Reviewed by Darin Fisher.
549
550         * WebKit.gyp:
551         * public/WebUserMediaClient.h: Added.
552         (WebKit::WebUserMediaClient::~WebUserMediaClient):
553         * public/WebUserMediaRequest.h: Added.
554         (WebKit::WebUserMediaRequest::WebUserMediaRequest):
555         (WebKit::WebUserMediaRequest::~WebUserMediaRequest):
556         (WebKit::WebUserMediaRequest::operator=):
557         (WebKit::WebUserMediaRequest::isNull):
558         (WebKit::operator==):
559         * public/WebViewClient.h:
560         (WebKit::WebViewClient::userMediaClient):
561         * src/UserMediaClientImpl.cpp: Added.
562         (WebKit::UserMediaClientImpl::UserMediaClientImpl):
563         (WebKit::UserMediaClientImpl::pageDestroyed):
564         (WebKit::UserMediaClientImpl::requestUserMedia):
565         (WebKit::UserMediaClientImpl::cancelUserMediaRequest):
566         * src/UserMediaClientImpl.h: Added.
567         * src/WebUserMediaRequest.cpp: Added.
568         (WebKit::WebUserMediaRequest::WebUserMediaRequest):
569         (WebKit::WebUserMediaRequest::reset):
570         (WebKit::WebUserMediaRequest::audio):
571         (WebKit::WebUserMediaRequest::video):
572         (WebKit::WebUserMediaRequest::cameraPreferenceUser):
573         (WebKit::WebUserMediaRequest::cameraPreferenceEnvironment):
574         (WebKit::WebUserMediaRequest::securityOrigin):
575         (WebKit::WebUserMediaRequest::requestSucceeded):
576         (WebKit::WebUserMediaRequest::requestFailed):
577         (WebKit::WebUserMediaRequest::equals):
578         (WebKit::WebUserMediaRequest::assign):
579         (WebKit::WebUserMediaRequest::operator PassRefPtr<UserMediaRequest>):
580         * src/WebViewImpl.cpp:
581         (WebKit::WebViewImpl::WebViewImpl):
582         * src/WebViewImpl.h:
583
584 2011-11-21  James Robinson  <jamesr@chromium.org>
585
586         [chromium] Fix tiler initialization in TiledLayerChromiumTest
587         https://bugs.webkit.org/show_bug.cgi?id=72915
588
589         Reviewed by Kenneth Russell.
590
591         Setting the tile size or tiling option after the tiler is created invalidates it, and by default the newly
592         created tiler will have border texels so the test doesn't pass. Switch things around in the test so the tiler
593         is created only after all the options are set, which is closer to what the real code does.
594
595         * tests/TiledLayerChromiumTest.cpp:
596         (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
597
598 2011-11-21  James Robinson  <jamesr@chromium.org>
599
600         Fix chromium compile bustage - base interface added a parameter so my fake wasn't actually implementing it.
601
602         * tests/TiledLayerChromiumTest.cpp:
603         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
604
605 2011-11-21  James Robinson  <jamesr@chromium.org>
606
607         [chromium] Avoid pushing dirty tiles to the impl layer
608         https://bugs.webkit.org/show_bug.cgi?id=72765
609
610         Reviewed by Kenneth Russell.
611
612         Add unit test for TiledLayerChromium's tile pushing behavior. Requires a fair amount of fake classes. If these
613         fakes are useful in other tests, they should be moved to a shared location.
614
615         * WebKit.gypi:
616         * tests/TiledLayerChromiumTest.cpp: Added.
617         (::FakeTextureAllocator::createTexture):
618         (::FakeTextureAllocator::deleteTexture):
619         (::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
620         (::FakeLayerTextureUpdater::~FakeLayerTextureUpdater):
621         (::FakeLayerTextureUpdater::orientation):
622         (::FakeLayerTextureUpdater::sampledTexelFormat):
623         (::FakeLayerTextureUpdater::prepareToUpdate):
624         (::FakeLayerTextureUpdater::updateTextureRect):
625         (::FakeCCTiledLayerImpl::FakeCCTiledLayerImpl):
626         (::FakeCCTiledLayerImpl::~FakeCCTiledLayerImpl):
627         (::FakeCCTiledLayerImpl::hasTileAt):
628         (::FakeTiledLayerChromium::FakeTiledLayerChromium):
629         (::FakeTiledLayerChromium::~FakeTiledLayerChromium):
630         (::FakeTiledLayerChromium::invalidateRect):
631         (::FakeTiledLayerChromium::prepareToUpdate):
632         (::FakeTiledLayerChromium::textureManager):
633         (::FakeTiledLayerChromium::createTextureUpdater):
634         (::FakeTiledLayerChromium::textureUpdater):
635         (::TEST):
636
637 2011-11-21  Dominic Mazzoni  <dmazzoni@google.com>
638
639         [Chromium] WebAccessibilityNotification should use AssertMatchingEnums.
640         https://bugs.webkit.org/show_bug.cgi?id=72895
641
642         Reviewed by Chris Fleizach.
643
644         * public/WebAccessibilityNotification.h:
645         * src/AssertMatchingEnums.cpp:
646         * src/ChromeClientImpl.cpp:
647         (WebKit::toWebAccessibilityNotification):
648
649 2011-11-21  Shinya Kawanaka  <shinyak@google.com>
650
651         Implement a setter for UnifiedTextCheckerEnabled.
652         https://bugs.webkit.org/show_bug.cgi?id=72872
653
654         Reviewed by Darin Fisher.
655
656         * public/WebSettings.h:
657         * src/WebSettingsImpl.cpp:
658         (WebKit::WebSettingsImpl::setUnifiedTextCheckerEnabled): Added.
659         * src/WebSettingsImpl.h:
660
661 2011-11-21  Jochen Eisinger  <jochen@chromium.org>
662
663         Implement Meta referrer
664         https://bugs.webkit.org/show_bug.cgi?id=72674
665
666         Reviewed by Adam Barth.
667
668         * WebKit.gyp:
669         * public/WebFrame.h:
670         * public/WebReferrerPolicy.h: Added.
671         * public/WebSecurityPolicy.h:
672         * src/AssertMatchingEnums.cpp:
673         * src/WebFrameImpl.cpp:
674         (WebKit::WebFrameImpl::referrerPolicy):
675         (WebKit::WebFrameImpl::setReferrerForRequest):
676         * src/WebFrameImpl.h:
677         * src/WebSecurityPolicy.cpp:
678         (WebKit::WebSecurityPolicy::generateReferrerHeader):
679
680 2011-11-21  Dominic Mazzoni  <dmazzoni@google.com>
681
682         Accessibility: Multiselect list boxes need to report the active option in addition to which items are selected.
683         https://bugs.webkit.org/show_bug.cgi?id=72479
684
685         Reviewed by Chris Fleizach.
686
687         Test: accessibility/multiselect-list-reports-active-option.html
688
689         * public/WebAccessibilityObject.h:
690         * src/WebAccessibilityObject.cpp:
691         (WebKit::WebAccessibilityObject::isSelectedOptionActive):
692
693 2011-11-20  Kenichi Ishibashi  <bashi@chromium.org>
694
695         [Chromium] Remove old getFontFamilyForCharacters() and familyForChars() APIs.
696         https://bugs.webkit.org/show_bug.cgi?id=72844
697
698         Removes old APIs for getting font family for given characters.
699
700         Reviewed by Darin Fisher.
701
702         * public/linux/WebFontInfo.h: Removed old familyForChars().
703         * public/linux/WebSandboxSupport.h: Removed old getFontFamilyForCharacters() and changed new getFontFamilyForCharacters() to be a pure virtual function.
704         * src/linux/WebFontInfo.cpp: Removes old familyForChars().
705
706 2011-10-17  Antonio Gomes  <agomes@rim.com>
707
708         Pass a Frame* parameter in EditorClient::respondToChangedSelection
709         https://bugs.webkit.org/show_bug.cgi?id=70248
710
711         Reviewed by Ryosuke Niwa.
712
713         * src/EditorClientImpl.cpp: Make use of the newly added Frame* parameter.
714         (WebKit::EditorClientImpl::respondToChangedSelection):
715         * src/EditorClientImpl.h: Change the method signature, as per base class change.
716
717 2011-11-20  Adam Barth  <abarth@webkit.org>
718
719         Add WebNode::hasEventListeners for Android
720         https://bugs.webkit.org/show_bug.cgi?id=72817
721
722         Reviewed by Darin Fisher.
723
724         Expose this EventTarget interface in the Chromium WebKit API for use by
725         Android.
726
727         * public/WebNode.h:
728         * src/WebNode.cpp:
729         (WebKit::WebNode::hasEventListeners):
730
731 2011-11-20  Adam Barth  <abarth@webkit.org>
732
733         [Chromium] Add GestureFlingStart and GestureFlingCancel to WebGestureEvent for Android
734         https://bugs.webkit.org/show_bug.cgi?id=72819
735
736         Reviewed by Darin Fisher.
737
738         These gesture types are used with FlingAnimator for scrolling.
739
740         * public/WebInputEvent.h:
741         (WebKit::WebInputEvent::isScrollGestureEventType):
742         (WebKit::WebGestureEvent::WebGestureEvent):
743         * src/WebPopupMenuImpl.cpp:
744         (WebKit::WebPopupMenuImpl::handleInputEvent):
745         * src/WebViewImpl.cpp:
746         (WebKit::WebViewImpl::handleInputEvent):
747
748 2011-11-20  Adam Barth  <abarth@webkit.org>
749
750         [Chromium] Add WebInputEventFactory for Android
751         https://bugs.webkit.org/show_bug.cgi?id=67890
752
753         Reviewed by Darin Fisher.
754
755         Like every Chromium OS, Android needs a WebInputFactory.
756
757         * WebKit.gyp:
758         * public/android/WebInputEventFactory.h: Added.
759         * src/android/WebInputEventFactory.cpp: Added.
760
761 2011-11-19  Nat Duca  <nduca@chromium.org>
762
763         Unreviewed, rolling out r100854.
764         http://trac.webkit.org/changeset/100854
765
766         Rollout DEPS roll. Made chromium bots cry.
767
768         * DEPS:
769
770 2011-11-19  Nat Duca  <nduca@chromium.org>
771
772         Unreviewed.  Rolled DEPS 109696->110838
773
774         * DEPS:
775
776 2011-11-19  Adam Barth  <abarth@webkit.org>
777
778         Integrate Source/WTF with the Chromium build system
779         https://bugs.webkit.org/show_bug.cgi?id=72790
780
781         Reviewed by Eric Seidel.
782
783         Add a dependency on the new WTF.
784
785         * WebKit.gyp:
786
787 2011-11-18  Takashi Toyoshima  <toyoshim@chromium.org>
788
789         [Chromium] [WebSocket] export WebSocketChannel interface for plugins
790         https://bugs.webkit.org/show_bug.cgi?id=72016
791
792         Add WebSocket and WebSocketClient to WebKit API.
793
794         Currently, only WebSocketStreamHandle class is exported to WebKit API.
795         WebSocketStreamHandle implements bi-directional communication ports.
796         If plugins handles the WebSocket protocol, WebSocketChannel and
797         WebSocketChannelClient must be exported as WebSocket because they are
798         the classes which implement the WebSocket protocol stack.
799
800         Normally, we use WebWebSocketChannel and WebWebSocketChannelClient as
801         their class names. But here we use just WebSocket and WebSocketClient
802         because of avoiding WebWeb prefix and class name confliction on
803         header include.
804
805         Reviewed by Darin Fisher.
806
807         * WebKit.gyp:
808         * public/WebSocket.h: Added.
809         (WebKit::WebSocket::~WebSocket):
810         * public/WebSocketClient.h: Added.
811         (WebKit::WebSocketClient::~WebSocketClient):
812         * src/WebRuntimeFeatures.cpp: Insert websockets directory to include path in order to avoid filename confliction.
813         (WebKit::WebRuntimeFeatures::enableSockets): Use WebCore namespace explicitly.
814         * src/WebSocket.cpp: Added.
815         (WebKit::WebSocket::create):
816         * src/WebSocketImpl.cpp: Added.
817         (WebKit::WebSocketImpl::WebSocketImpl):
818         (WebKit::WebSocketImpl::~WebSocketImpl):
819         (WebKit::WebSocketImpl::connect):
820         (WebKit::WebSocketImpl::subprotocol):
821         (WebKit::WebSocketImpl::sendText):
822         (WebKit::WebSocketImpl::sendBinary):
823         (WebKit::WebSocketImpl::bufferedAmount):
824         (WebKit::WebSocketImpl::close):
825         (WebKit::WebSocketImpl::fail):
826         (WebKit::WebSocketImpl::disconnect):
827         (WebKit::WebSocketImpl::didConnect):
828         (WebKit::WebSocketImpl::didReceiveMessage):
829         (WebKit::WebSocketImpl::didReceiveBinaryData):
830         (WebKit::WebSocketImpl::didReceiveMessageError):
831         (WebKit::WebSocketImpl::didStartClosingHandshake):
832         (WebKit::WebSocketImpl::didClose):
833         * src/WebSocketImpl.h: Added.
834         (WebKit::WebSocketImpl::isNull):
835
836 2011-11-18  Alpha Lam  <hclam@chromium.org>
837
838         [chromium] composited layers are blurry with a zoom-in page scale factor
839         https://bugs.webkit.org/show_bug.cgi?id=71225
840
841         Reviewed by James Robinson.
842
843         Implements GraphicsLayerClient to return values for pageScaleFactor and deviceScaleFactor. They are used to determine contents scale factor compositer layers.
844
845         * src/PageOverlay.cpp:
846         (WebKit::OverlayGraphicsLayerClientImpl::deviceScaleFactor):
847         (WebKit::OverlayGraphicsLayerClientImpl::pageScaleFactor):
848
849 2011-11-18  Scott Graham  <scottmg@chromium.org>
850
851         IDL changes for gamepad support
852         https://bugs.webkit.org/show_bug.cgi?id=71753
853
854         Reviewed by Adam Barth.
855
856         Update to use vendor-prefixed enable.
857
858         * src/WebRuntimeFeatures.cpp:
859         (WebKit::WebRuntimeFeatures::enableGamepad):
860         (WebKit::WebRuntimeFeatures::isGamepadEnabled):
861
862 2011-11-18  Daniel Cheng  <dcheng@chromium.org>
863
864         [chromium] Use correct backing store for ChromiumDataObject in pasteboard writes.
865         https://bugs.webkit.org/show_bug.cgi?id=72767
866
867         Reviewed by Tony Chang.
868
869         * src/WebDragData.cpp:
870         (WebKit::WebDragData::initialize):
871         (WebKit::WebDragData::assign):
872
873 2011-10-24  Darin Fisher  <darin@chromium.org>
874
875         [chromium] Improve fullscreen API
876         https://bugs.webkit.org/show_bug.cgi?id=70477
877
878         Reviewed by Adam Barth.
879
880         Move fullscreen entry points from WebView to WebWidget since they are
881         just about widget geometry.
882
883         Delay webkitfullscreenchange event until we know that we have entered
884         fullscreen mode.  This is accomplished by expanding the WebKit APIs to
885         differentiate will{Enter,Exit} from did{Enter,Exit} state changes.
886
887         WebViewImpl is forced to keep a reference to the requested fullscreen
888         element while we are requesting to enter fullscreen mode.  Once in
889         fullscreen mode, we switch to keeping only a reference to the Frame
890         containing the fullscreen element, which we drop upon exiting
891         fullscreen mode.
892
893         * public/WebView.h:
894         * public/WebViewClient.h:
895         * public/WebWidget.h:
896         (WebKit::WebWidget::willEnterFullScreen):
897         (WebKit::WebWidget::didEnterFullScreen):
898         (WebKit::WebWidget::willExitFullScreen):
899         (WebKit::WebWidget::didExitFullScreen):
900         * public/WebWidgetClient.h:
901         (WebKit::WebWidgetClient::enterFullScreen):
902         (WebKit::WebWidgetClient::exitFullScreen):
903         * src/ChromeClientImpl.cpp:
904         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
905         (WebKit::ChromeClientImpl::enterFullscreenForNode):
906         (WebKit::ChromeClientImpl::exitFullscreenForNode):
907         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
908         (WebKit::ChromeClientImpl::enterFullScreenForElement):
909         (WebKit::ChromeClientImpl::exitFullScreenForElement):
910         * src/WebViewImpl.cpp:
911         (WebKit::WebViewImpl::willEnterFullScreen):
912         (WebKit::WebViewImpl::didEnterFullScreen):
913         (WebKit::WebViewImpl::willExitFullScreen):
914         (WebKit::WebViewImpl::didExitFullScreen):
915         (WebKit::WebViewImpl::enterFullScreenForElement):
916         (WebKit::WebViewImpl::exitFullScreenForElement):
917         * src/WebViewImpl.h:
918
919 2011-11-17  Pavel Feldman  <pfeldman@google.com>
920
921         Web Inspector: dispatch messages from the front-end to the backend asynchronously.
922         https://bugs.webkit.org/show_bug.cgi?id=72621
923
924         Reviewed by Yury Semikhatsky.
925
926         * src/InspectorFrontendClientImpl.cpp:
927         (WebKit::InspectorFrontendClientImpl::performDisconnectFromBackend):
928         * src/InspectorFrontendClientImpl.h:
929
930 2011-11-18  Iain Merrick  <husky@google.com>
931
932         [chromium] Pass screen refresh rate into compositor.
933         https://bugs.webkit.org/show_bug.cgi?id=71040
934
935         Reviewed by Tony Gentilcore.
936
937         * public/WebScreenInfo.h:
938         (WebKit::WebScreenInfo::WebScreenInfo):
939         * src/PlatformSupport.cpp:
940         (WebCore::PlatformSupport::screenRefreshRate):
941         * src/WebViewImpl.cpp:
942         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
943         * tests/CCLayerTreeHostTest.cpp:
944         (WTF::CCLayerTreeHostTest::runTest):
945
946 2011-11-17  Vincent Scheib  <scheib@chromium.org>
947
948         Pointer Lock: Page Settings unecessary
949         https://bugs.webkit.org/show_bug.cgi?id=72662
950
951         Reviewed by Darin Fisher.
952
953         * public/WebSettings.h:
954         * src/WebSettingsImpl.cpp:
955         * src/WebSettingsImpl.h:
956
957 2011-11-17  Alexandre Elias  <aelias@google.com>
958
959         [chromium] Don't clamp minimumPageScaleFactor when doc width is zero
960         https://bugs.webkit.org/show_bug.cgi?id=72679
961
962         Reviewed by James Robinson.
963
964         For a brief period during initialization, the document width can be
965         zero.  In that situation, don't try to limit minimumPageScaleFactor
966         to the document size.
967
968         * src/WebViewImpl.cpp:
969         (WebKit::WebViewImpl::setPageScaleFactorLimits):
970
971 2011-11-06  Nat Duca  <nduca@chromium.org>
972
973         [chromium] Fix handling of setNeedsCommit and setNeedsAnimate in threaded mode
974         https://bugs.webkit.org/show_bug.cgi?id=71638
975
976         Reviewed by James Robinson.
977
978         * tests/CCLayerTreeHostTest.cpp:
979         (TestHooks::animateAndLayout):
980         (MockLayerTreeHostClient::animateAndLayout):
981         (CCLayerTreeHostTest::postSetNeedsAnimateToMainThread):
982         (CCLayerTreeHostTest::dispatchSetNeedsAnimate):
983         (CCLayerTreeHostTestSetNeedsAnimate::CCLayerTreeHostTestSetNeedsAnimate):
984         (CCLayerTreeHostTestSetNeedsAnimate::beginTest):
985         (CCLayerTreeHostTestSetNeedsAnimate::animateAndLayout):
986         (CCLayerTreeHostTestSetNeedsAnimate::drawLayersOnCCThread):
987         (CCLayerTreeHostTestSetNeedsAnimate::afterTest):
988
989 2011-11-17  Elliot Glaysher  <erg@chromium.org>
990
991         [chromium] Don't include internal GTK headers so we build with GTK_DISABLE_SINGLE_INCLUDES
992
993         https://bugs.webkit.org/show_bug.cgi?id=72653
994
995         Reviewed by James Robinson.
996
997         * src/gtk/WebInputEventFactory.cpp:
998         (WebKit::gdkStateToWebEventModifiers): Remove a
999         GTK_CHECK_VERSION that will always be true, as the oldest
1000         libgtk we support is 2.18.
1001
1002
1003 2011-11-17  David Reveman  <reveman@chromium.org>
1004
1005         [Chromium] Calls to paintContentsIfDirty() and updateCompositorResources() should be balanced.
1006         https://bugs.webkit.org/show_bug.cgi?id=72630
1007
1008         Reviewed by James Robinson.
1009
1010         Add test that check if calls to paintContentsIfDirty() and
1011         updateCompositorResources() are balanced when layer opacity
1012         changes during paintContent().
1013
1014         * tests/CCLayerTreeHostTest.cpp:
1015         (WTF::CCLayerTreeHostTest::layerTreeHost):
1016         (WTF::TestOpacityChangeLayerDelegate::TestOpacityChangeLayerDelegate):
1017         (WTF::TestOpacityChangeLayerDelegate::paintContents):
1018         (WTF::TestOpacityChangeLayerDelegate::drawsContent):
1019         (WTF::TestOpacityChangeLayerDelegate::preserves3D):
1020         (WTF::TestOpacityChangeLayerDelegate::notifySyncRequired):
1021         (WTF::ContentLayerChromiumWithUpdateTracking::create):
1022         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsCount):
1023         (WTF::ContentLayerChromiumWithUpdateTracking::resetPaintContentsCount):
1024         (WTF::ContentLayerChromiumWithUpdateTracking::updateCount):
1025         (WTF::ContentLayerChromiumWithUpdateTracking::resetUpdateCount):
1026         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
1027         (WTF::ContentLayerChromiumWithUpdateTracking::updateCompositorResources):
1028         (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
1029         (WTF::CCLayerTreeHostTestOpacityChange::CCLayerTreeHostTestOpacityChange):
1030         (WTF::CCLayerTreeHostTestOpacityChange::beginTest):
1031         (WTF::CCLayerTreeHostTestOpacityChange::commitCompleteOnCCThread):
1032         (WTF::CCLayerTreeHostTestOpacityChange::afterTest):
1033         (WTF::TEST_F):
1034
1035 2011-11-17  Peter Kasting  <pkasting@google.com>
1036
1037         Unreviewed, rolling out r100676.
1038         http://trac.webkit.org/changeset/100676
1039         https://bugs.webkit.org/show_bug.cgi?id=72393
1040
1041         Looks like r100572 was not the source of the crashes.
1042
1043         * src/js/DevTools.js:
1044
1045 2011-11-17  Peter Kasting  <pkasting@google.com>
1046
1047         Unreviewed, rolling out r100572.
1048         https://bugs.webkit.org/show_bug.cgi?id=72393
1049         https://bugs.webkit.org/show_bug.cgi?id=72651
1050
1051         May have caused seg faults on Chromium Linux dbg bot.
1052
1053         * src/js/DevTools.js:
1054
1055 2011-11-17  Adrienne Walker  <enne@google.com>
1056
1057         [chromium] Implicitly skip render surfaces that won't be drawn
1058         https://bugs.webkit.org/show_bug.cgi?id=71038
1059
1060         Update a test that depends on a layer not getting removed.
1061
1062         Reviewed by James Robinson.
1063
1064         * tests/CCLayerTreeHostCommonTest.cpp:
1065         (WebCore::TEST):
1066
1067 2011-11-17  Vsevolod Vlasov  <vsevik@chromium.org>
1068
1069         Web Inspector: Remove onlineDetectionEnabled from Preferences
1070         https://bugs.webkit.org/show_bug.cgi?id=72617
1071
1072         Reviewed by Pavel Feldman.
1073
1074         * src/js/DevTools.js:
1075
1076 2011-11-17  Kenichi Ishibashi  <bashi@chromium.org>
1077
1078         [chromium] don't call fontconfig twice in complex text path
1079         https://bugs.webkit.org/show_bug.cgi?id=38701
1080
1081         Reviewed by Tony Chang.
1082
1083         Add new API for getFamilyForChars() so that keeping correct font mapping of the given characters.
1084
1085         * public/linux/WebFontFamily.h: Added.
1086         * public/linux/WebFontInfo.h: Add a new API.
1087         * public/linux/WebSandboxSupport.h:
1088         (WebKit::WebSandboxSupport::getFontFamilyForCharacters): Ditto.
1089         * src/PlatformSupport.cpp:
1090         (WebCore::PlatformSupport::getFontFamilyForCharacters): Ditto.
1091         * src/linux/WebFontInfo.cpp:
1092         (WebKit::WebFontInfo::familyForChars): Modified to get weight and italic properties of the font. Old API uses new API internally.
1093
1094 2011-11-17  Adam Barth  <abarth@webkit.org>
1095
1096         [Chromium] Introduce WebSecurityOrigin::isUnique in preparation for removing WebSecurityOrigin::isEmpty
1097         https://bugs.webkit.org/show_bug.cgi?id=72580
1098
1099         Reviewed by Darin Fisher.
1100
1101         We've removed the concept of empty security origins from WebKit because
1102         it doesn't exist in the specs.  Now it's time to remove it from the API.
1103
1104         * public/WebSecurityOrigin.h:
1105         (WebKit::WebSecurityOrigin::isUnique):
1106
1107 2011-11-15  Pavel Feldman  <pfeldman@google.com>
1108
1109         Web Inspector: introduce Debugger domain capabilities concept.
1110         https://bugs.webkit.org/show_bug.cgi?id=72393
1111
1112         Many of the Preferences that we have in Settings.js and override in DevTools.js
1113         are really not preferences, but capabilities. Protocol clients should have a way
1114         of figuring out whether some capability is present before using it.
1115
1116         Reviewed by Yury Semikhatsky.
1117
1118         * src/js/DevTools.js:
1119
1120 2011-11-11  Adrienne Walker  <enne@google.com>
1121
1122         [chromium] Expose mock scrollbars to window.internals
1123         https://bugs.webkit.org/show_bug.cgi?id=72195
1124
1125         Reviewed by James Robinson.
1126
1127         * public/WebSettings.h:
1128         * src/WebSettingsImpl.cpp:
1129         (WebKit::WebSettingsImpl::setMockScrollbarsEnabled):
1130         * src/WebSettingsImpl.h:
1131
1132 2011-11-16  Shawn Singh  <shawnsingh@chromium.org>
1133
1134         [chromium] Track property changes for render surfaces.
1135         https://bugs.webkit.org/show_bug.cgi?id=72521
1136
1137         Reviewed by James Robinson.
1138
1139         * WebKit.gypi:
1140         * tests/CCLayerImplTest.cpp:
1141         (WebCore::TEST):
1142         * tests/CCRenderSurfaceTest.cpp: Added.
1143         (WebCore::TEST):
1144
1145 2011-11-16  Alexandre Elias  <aelias@google.com>
1146
1147         [chromium] Improvements for page scale delta during commit
1148         https://bugs.webkit.org/show_bug.cgi?id=72471
1149
1150         Reviewed by James Robinson.
1151
1152         Page scale now follows the same commit flow as scroll position:
1153         the delta is folded into m_pageScale at BFAC time, and a "sent" value
1154         is preserved for temporary use until the commit finishes.
1155
1156         I also merged setPageScaleFactor and setPageScaleFactorLimits into one
1157         function on the impl side.  The reason is that setPageFactor must
1158         be applied after the limits are updated, but on the other hand setting
1159         the limits first may cause an unnecessary clamp of the scale delta.
1160         Merging the methods avoids this bind.
1161
1162         No new tests. (planning to add later: https://bugs.webkit.org/show_bug.cgi?id=71529)
1163
1164         * src/WebViewImpl.cpp:
1165         (WebKit::WebViewImpl::applyScrollAndScale):
1166
1167 2011-11-16  Dave Michael  <dmichael@chromium.org>
1168
1169         Fix up chromium API for creating events, initializing message events
1170         https://bugs.webkit.org/show_bug.cgi?id=71478
1171
1172         - Fix a mistake when checking the exception code during event creation.
1173         - Change WebFrame parameter to pointer so that NULL may be passed.
1174
1175         This is required for the following chromium CL: http://codereview.chromium.org/8437093/
1176
1177         Tested in Chromium by:
1178          ui_test --gtest_filter=*PPAPITest.PostMessage*
1179
1180         Reviewed by Darin Fisher.
1181
1182         * public/WebDOMMessageEvent.h:
1183         * src/WebDOMMessageEvent.cpp:
1184         (WebKit::WebDOMMessageEvent::initMessageEvent):
1185         * src/WebDocument.cpp:
1186         (WebKit::WebDocument::createEvent):
1187
1188 2011-11-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1189
1190         Unreviewed, rolling out r100438.
1191         http://trac.webkit.org/changeset/100438
1192         https://bugs.webkit.org/show_bug.cgi?id=72536
1193
1194         Broke unit tests (Requested by jamesr_ on #webkit).
1195
1196         * public/WebScreenInfo.h:
1197         (WebKit::WebScreenInfo::WebScreenInfo):
1198         * src/PlatformSupport.cpp:
1199         * src/WebViewImpl.cpp:
1200         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1201
1202 2011-11-16  Alexandre Elias  <aelias@google.com>
1203
1204         [chromium] Add minimum/maximumPageScaleFactor API and clamp fixes
1205         https://bugs.webkit.org/show_bug.cgi?id=72463
1206
1207         Reviewed by Darin Fisher.
1208
1209         We need a way to read back the computed min/max page scale factor in
1210         order to support the software path, and for some application logic
1211         such as zooming in/out when tapping form fields.
1212
1213         I also added a few clamp calls that are needed in some corner cases.
1214
1215         * public/WebView.h:
1216         * src/WebViewImpl.cpp:
1217         (WebKit::WebViewImpl::setPageScaleFactor):
1218         (WebKit::WebViewImpl::setPageScaleFactorLimits):
1219         (WebKit::WebViewImpl::minimumPageScaleFactor):
1220         (WebKit::WebViewImpl::maximumPageScaleFactor):
1221         * src/WebViewImpl.h:
1222
1223 2011-11-16  Vsevolod Vlasov  <vsevik@chromium.org>
1224
1225         Web Inspector: Application cache status should be updated after swapCache().
1226         https://bugs.webkit.org/show_bug.cgi?id=72123
1227
1228         Reviewed by Pavel Feldman.
1229
1230         * src/ApplicationCacheHost.cpp:
1231         (WebCore::ApplicationCacheHost::swapCache):
1232
1233 2011-11-16  Iain Merrick  <husky@google.com>
1234
1235         [chromium] Pass screen refresh rate into compositor.
1236         https://bugs.webkit.org/show_bug.cgi?id=71040
1237
1238         Reviewed by Tony Gentilcore.
1239
1240         * public/WebScreenInfo.h:
1241         (WebKit::WebScreenInfo::WebScreenInfo):
1242         * src/PlatformSupport.cpp:
1243         (WebCore::PlatformSupport::screenRefreshRate):
1244         * src/WebViewImpl.cpp:
1245         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1246
1247 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1248
1249         Unreviewed, rolling out r100340.
1250         http://trac.webkit.org/changeset/100340
1251         https://bugs.webkit.org/show_bug.cgi?id=72448
1252
1253         Caused assertion failure in Win dbg canary. (Requested by
1254         pkasting on #webkit).
1255
1256         * tests/CCLayerTreeHostImplTest.cpp:
1257
1258 2011-11-15  Nat Duca  <nduca@chromium.org>
1259
1260         [chromium] Fuse MainThread and CCThread
1261         https://bugs.webkit.org/show_bug.cgi?id=72426
1262
1263         Reviewed by James Robinson.
1264
1265         * WebKit.gyp:
1266         * WebKit.gypi:
1267         * src/CCMainThreadImpl.cpp: Removed.
1268         * src/CCThreadImpl.cpp:
1269         (WebKit::CCThreadImpl::CCThreadImpl):
1270         * src/WebCompositorImpl.cpp:
1271         (WebKit::WebCompositor::setThread):
1272         * src/WebKit.cpp:
1273         (WebKit::initializeWithoutV8):
1274         (WebKit::shutdown):
1275         * tests/CCLayerTreeHostTest.cpp:
1276         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1277         (WTF::CCLayerTreeHostTest::endTest):
1278         * tests/CCThreadTest.cpp: Removed.
1279
1280 2011-11-15  Jochen Eisinger  <jochen@chromium.org>
1281
1282         Rename ReferrerPolicy to clarify its meaning
1283         https://bugs.webkit.org/show_bug.cgi?id=72420
1284
1285         Reviewed by Nate Chapin.
1286
1287         * src/WebPluginContainerImpl.cpp:
1288         (WebKit::WebPluginContainerImpl::loadFrameRequest):
1289
1290 2011-11-15  Anders Carlsson  <andersca@apple.com>
1291
1292         HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
1293         https://bugs.webkit.org/show_bug.cgi?id=72397
1294
1295         Reviewed by Dan Bernstein.
1296
1297         * src/ChromeClientImpl.cpp:
1298         (WebKit::ChromeClientImpl::screenToRootView):
1299         (WebKit::ChromeClientImpl::rootViewToScreen):
1300         * src/ChromeClientImpl.h:
1301         * src/WebPopupMenuImpl.cpp:
1302         (WebKit::WebPopupMenuImpl::screenToRootView):
1303         (WebKit::WebPopupMenuImpl::rootViewToScreen):
1304         * src/WebPopupMenuImpl.h:
1305         * src/WebViewImpl.cpp:
1306         (WebKit::WebViewImpl::refreshAutofillPopup):
1307
1308 2011-11-15  Scott Graham  <scottmg@chromium.org>
1309
1310         [Chromium] gamepad changes to the public interface of Chromium port
1311         https://bugs.webkit.org/show_bug.cgi?id=71518
1312
1313         Reviewed by Darin Fisher.
1314
1315         Adds stubs for Chromium port, and defines shared memory structure to
1316         be used between browser and WebKit.
1317
1318         Includes just the parts that touch the public interface so they can be
1319         reviewed separately. See also:
1320         https://bugs.webkit.org/show_bug.cgi?id=69451 and
1321         http://codereview.chromium.org/8345027
1322
1323         * WebKit.gyp:
1324         * public/WebGamepad.h: Added.
1325         (WebKit::WebGamepad::WebGamepad):
1326         * public/WebGamepads.h: Added.
1327         (WebKit::WebGamepads::WebGamepads):
1328         * public/WebKitPlatformSupport.h:
1329         (WebKit::WebKitPlatformSupport::sampleGamepads):
1330         * public/WebRuntimeFeatures.h:
1331         * src/WebRuntimeFeatures.cpp:
1332         (WebKit::WebRuntimeFeatures::enableGamepad):
1333         (WebKit::WebRuntimeFeatures::isGamepadEnabled):
1334
1335 2011-11-14  Anders Carlsson  <andersca@apple.com>
1336
1337         HostWindow invalidation functions should use root view coordinates
1338         https://bugs.webkit.org/show_bug.cgi?id=72338
1339
1340         Reviewed by Dan Bernstein.
1341
1342         * src/ChromeClientImpl.cpp:
1343         (WebKit::ChromeClientImpl::invalidateRootView):
1344         (WebKit::ChromeClientImpl::invalidateContentsAndRootView):
1345         (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll):
1346         * src/ChromeClientImpl.h:
1347         * src/WebPopupMenuImpl.cpp:
1348         (WebKit::WebPopupMenuImpl::invalidateRootView):
1349         (WebKit::WebPopupMenuImpl::invalidateContentsAndRootView):
1350         (WebKit::WebPopupMenuImpl::invalidateContentsForSlowScroll):
1351         * src/WebPopupMenuImpl.h:
1352
1353 2011-11-15  Pavel Feldman  <pfeldman@google.com>
1354
1355         Web Inspector: move generic code from DevTools.js into the WebCore.
1356         https://bugs.webkit.org/show_bug.cgi?id=72377
1357
1358         re-landing r100269.
1359
1360         Reviewed by Yury Semikhatsky.
1361
1362         * src/js/DevTools.js:
1363         (WebInspector.setInspectedTabId):
1364
1365 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1366
1367         Unreviewed, rolling out r100269.
1368         http://trac.webkit.org/changeset/100269
1369         https://bugs.webkit.org/show_bug.cgi?id=72383
1370
1371         "Broke dozens of tests due to exception in loadingFinished"
1372         (Requested by tonyg-cr on #webkit).
1373
1374         * src/js/DevTools.js:
1375         ():
1376         (devtools.domContentLoaded):
1377         (WebInspector.UIString):
1378         (WebInspector.setToolbarColors):
1379         (WebInspector.resetToolbarColors):
1380         (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
1381
1382 2011-11-15  Pavel Feldman  <pfeldman@google.com>
1383
1384         Web Inspector: move generic code from DevTools.js into the WebCore.
1385         https://bugs.webkit.org/show_bug.cgi?id=72377
1386
1387         This includes support for themed toolbar, remote debugging routines,
1388         removes a couple of obsolete overrides from the DevTools.js
1389
1390         Reviewed by Yury Semikhatsky.
1391
1392         * src/js/DevTools.js:
1393         (WebInspector.setInspectedTabId):
1394
1395 2011-11-15  Alpha Lam  <hclam@chromium.org>
1396
1397         [chromium] scroll deltas are cleared during commit to the main thread
1398         https://bugs.webkit.org/show_bug.cgi?id=71916
1399
1400         Reviewed by James Robinson.
1401
1402         Modify test to verify sentScrollDeltas() values of CCLayerImpl during commit.
1403
1404         * tests/CCLayerTreeHostImplTest.cpp:
1405         (WebKit::TEST_F):
1406
1407 2011-11-14  Julien Chaffraix  <jchaffraix@webkit.org>
1408
1409         [chromium] Fix the build after moving some arrays to WTF
1410         https://bugs.webkit.org/show_bug.cgi?id=72345
1411
1412         Reviewed by Dirk Pranke.
1413
1414         * public/WebArrayBufferView.h: s/WebCore/WTF/g.
1415
1416 2011-11-14  Ian Vollick  <vollick@chromium.org>
1417
1418         Expose compositeAndReadback in WebLayerTreeView
1419         https://bugs.webkit.org/show_bug.cgi?id=72188
1420
1421         Reviewed by Darin Fisher.
1422
1423         * public/WebLayerTreeView.h:
1424         * src/WebLayerTreeView.cpp:
1425         (WebKit::WebLayerTreeView::compositeAndReadback):
1426
1427 2011-11-14  Raymond Toy  <rtoy@google.com>
1428
1429         Add buffering to handle mismatch between hardware buffer size and webaudio render size
1430         https://bugs.webkit.org/show_bug.cgi?id=71949
1431
1432         Reviewed by Kenneth Russell.
1433
1434         * src/AudioDestinationChromium.cpp:
1435         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
1436         Create the FIFO for buffering.
1437         (WebCore::AudioDestinationChromium::render):  Get rid of
1438         m_renderCountPerCallback and let the FIFO consume function produce
1439         the appropriate nubmer of calls to the webaudio producer.  Also
1440         remove the rounding of the callback size so we use whatever the
1441         hardware returns.  Removed maximumCallbackBufferSize and use
1442         fifoSize to set the FIFO size.
1443         (WebCore::AudioDestinationChromium::FIFO::FIFO):
1444         (WebCore::AudioDestinationChromium::FIFO::consume):
1445         (WebCore::AudioDestinationChromium::FIFO::findWrapLengths):
1446         (WebCore::AudioDestinationChromium::FIFO::fillBuffer):
1447         Implementation of new FIFO class.
1448         * src/AudioDestinationChromium.h:
1449         (WebCore::AudioDestinationChromium::FIFO::updateIndex):
1450         Define new FIFO class.
1451
1452 2011-11-14  Adrienne Walker  <enne@google.com>
1453
1454         [chromium] Pipe compositor commit/swap up to WebWidgetClient
1455         https://bugs.webkit.org/show_bug.cgi?id=72041
1456
1457         Reviewed by Darin Fisher.
1458
1459         * public/WebWidgetClient.h:
1460         (WebKit::WebWidgetClient::didCommitAndDrawCompositorFrame):
1461         (WebKit::WebWidgetClient::didCompleteSwapBuffers):
1462         * src/WebLayerTreeViewImpl.cpp:
1463         (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
1464         (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
1465         * src/WebLayerTreeViewImpl.h:
1466         * src/WebViewImpl.cpp:
1467         (WebKit::WebViewImpl::didCommitAndDrawFrame):
1468         (WebKit::WebViewImpl::didCompleteSwapBuffers):
1469         * src/WebViewImpl.h:
1470         * tests/CCLayerTreeHostTest.cpp:
1471         (WTF::MockLayerTreeHostClient::didCommitAndDrawFrame):
1472         (WTF::MockLayerTreeHostClient::didCompleteSwapBuffers):
1473
1474 2011-11-14  Tony Chang  <tony@chromium.org>
1475
1476         Remove the CSS3_FLEXBOX compile time flag and enable on all ports
1477         https://bugs.webkit.org/show_bug.cgi?id=72196
1478
1479         Reviewed by Ojan Vafai.
1480
1481         * features.gypi:
1482
1483 2011-11-14  Fady Samuel  <fsamuel@chromium.org>
1484
1485         [Chromium] setPageScaleFactor and associated methods should take scaling limits into account
1486         https://bugs.webkit.org/show_bug.cgi?id=72176
1487
1488         Reviewed by Darin Fisher.
1489  
1490         A couple of changes:
1491  
1492         1. setPageScaleFactorLimits now affects the behavior of other scaling methods
1493            including setPageScaleFactor.
1494         2. setPageScaleFactorPreservingScrollOffset introduced that scales the scroll offset 
1495            along with the page, preserving the scroll position within the page bounds.
1496  
1497
1498         * public/WebView.h:
1499         * src/WebViewImpl.cpp:
1500         (WebKit::WebViewImpl::WebViewImpl):
1501         (WebKit::WebViewImpl::computePageScaleFactorWithinLimits):
1502         (WebKit::WebViewImpl::clampOffsetAtScale):
1503         (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
1504         (WebKit::WebViewImpl::setPageScaleFactor):
1505         (WebKit::WebViewImpl::setPageScaleFactorLimits):
1506         (WebKit::WebViewImpl::applyScrollAndScale):
1507         * src/WebViewImpl.h:
1508
1509 2011-11-14  Vincent Scheib  <scheib@chromium.org>
1510
1511         Mouse Lock: Renaming to 'Pointer Lock': Runtime Enable Flags
1512         https://bugs.webkit.org/show_bug.cgi?id=72303
1513
1514         Reviewed by Darin Fisher.
1515
1516         * public/WebRuntimeFeatures.h:
1517         * public/WebSettings.h:
1518         * src/WebRuntimeFeatures.cpp:
1519         (WebKit::WebRuntimeFeatures::enablePointerLock):
1520         (WebKit::WebRuntimeFeatures::isPointerLockEnabled):
1521         * src/WebSettingsImpl.cpp:
1522         (WebKit::WebSettingsImpl::setPointerLockEnabled):
1523         * src/WebSettingsImpl.h:
1524
1525 2011-11-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1526
1527         Unreviewed, rolling out r100176.
1528         http://trac.webkit.org/changeset/100176
1529         https://bugs.webkit.org/show_bug.cgi?id=72309
1530
1531         it broke the Mac builds (missing symbols) in a non-obvious way
1532         (Requested by jchaffraix on #webkit).
1533
1534         * public/WebGraphicsContext3D.h:
1535         * src/GraphicsContext3DChromium.cpp:
1536         * src/GraphicsContext3DPrivate.h:
1537         * tests/MockWebGraphicsContext3D.h:
1538
1539 2011-11-14  Adam Barth  <abarth@webkit.org>
1540
1541         Remove the concept of an empty SecurityOrigin
1542         https://bugs.webkit.org/show_bug.cgi?id=72287
1543
1544         Reviewed by Eric Seidel.
1545
1546         I'll rename the API in a subsequent patch.
1547
1548         * src/WebSecurityOrigin.cpp:
1549         (WebKit::WebSecurityOrigin::isEmpty):
1550
1551 2011-11-14  Vincent Scheib  <scheib@chromium.org>
1552
1553         Mouse Lock: Renaming to 'Pointer Lock': ENABLE Flags
1554         https://bugs.webkit.org/show_bug.cgi?id=72286
1555
1556         Reviewed by Adam Barth.
1557
1558         * features.gypi:
1559         * src/WebRuntimeFeatures.cpp:
1560         (WebKit::WebRuntimeFeatures::enableMouseLockAPI):
1561         (WebKit::WebRuntimeFeatures::isMouseLockAPIEnabled):
1562         * src/WebSettingsImpl.cpp:
1563         (WebKit::WebSettingsImpl::setMouseLockEnabled):
1564
1565 2011-11-14  Gregg Tavares  <gman@google.com>
1566
1567         Implement WEBGL_EXPERIMENTAL_compressed_textures WebGL extension
1568         https://bugs.webkit.org/show_bug.cgi?id=72086
1569
1570         Reviewed by Kenneth Russell.
1571
1572         * public/WebGraphicsContext3D.h:
1573         * src/GraphicsContext3DChromium.cpp:
1574         * src/GraphicsContext3DPrivate.h:
1575         * tests/MockWebGraphicsContext3D.h:
1576         (WebKit::MockWebGraphicsContext3D::compressedTexImage2D):
1577         (WebKit::MockWebGraphicsContext3D::compressedTexSubImage2D):
1578
1579 2011-11-14  Tommy Widenflycht  <tommyw@google.com>
1580
1581         [chromium] MediaStream API: Adding a sources() method to WebMediaStreamDescriptor
1582         https://bugs.webkit.org/show_bug.cgi?id=72116
1583
1584         Reviewed by Darin Fisher.
1585
1586         * public/WebMediaStreamDescriptor.h:
1587         * public/WebMediaStreamSource.h:
1588         * src/WebMediaStreamDescriptor.cpp:
1589         (WebKit::WebMediaStreamDescriptor::sources):
1590         * src/WebMediaStreamSource.cpp:
1591         (WebKit::WebMediaStreamSource::operator=):
1592
1593 2011-11-14  Tommy Widenflycht  <tommyw@google.com>
1594
1595         [chromium] MediaStream API: Allow for null WebPeerConnectionHandler
1596         https://bugs.webkit.org/show_bug.cgi?id=72114
1597
1598         Fixing crash if WebKitPlatformSupport returns a null WebPeerConnectionHandler
1599         to PeerConnectionHandlerInternal.
1600
1601         Reviewed by Adam Barth.
1602
1603         * bridge/PeerConnectionHandlerInternal.cpp:
1604         (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
1605         (WebCore::PeerConnectionHandlerInternal::produceInitialOffer):
1606         (WebCore::PeerConnectionHandlerInternal::handleInitialOffer):
1607         (WebCore::PeerConnectionHandlerInternal::processSDP):
1608         (WebCore::PeerConnectionHandlerInternal::processPendingStreams):
1609         (WebCore::PeerConnectionHandlerInternal::sendDataStreamMessage):
1610         (WebCore::PeerConnectionHandlerInternal::stop):
1611         (WebCore::PeerConnectionHandlerInternal::didCompleteICEProcessing):
1612         (WebCore::PeerConnectionHandlerInternal::didGenerateSDP):
1613         (WebCore::PeerConnectionHandlerInternal::didReceiveDataStreamMessage):
1614         (WebCore::PeerConnectionHandlerInternal::didAddRemoteStream):
1615         (WebCore::PeerConnectionHandlerInternal::didRemoveRemoteStream):
1616         * public/WebKitPlatformSupport.h:
1617
1618 2011-11-14  Jonathan Backer  <backer@chromium.org>
1619
1620         [chromium] Plumb through partial swap
1621         https://bugs.webkit.org/show_bug.cgi?id=72028
1622
1623         Reviewed by Kenneth Russell.
1624
1625         * public/WebGraphicsContext3D.h:
1626         * src/Extensions3DChromium.cpp:
1627         (WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
1628         * src/GraphicsContext3DChromium.cpp:
1629         * src/GraphicsContext3DPrivate.h:
1630         * tests/MockWebGraphicsContext3D.h:
1631         (WebKit::MockWebGraphicsContext3D::postSubBufferCHROMIUM):
1632
1633 2011-11-14  Iain Merrick  <husky@google.com>
1634
1635         [chromium] Fix incorrect usage of ASSERT in CCLayerTreeHostTest
1636         https://bugs.webkit.org/show_bug.cgi?id=72026
1637
1638         ASSERT is stripped out in release builds so it shouldn't be used
1639         in unit tests, except when calling debug-only functions like
1640         isMainThread().
1641
1642         Replacing with ASSERT_TRUE (or EXPECT_TRUE in constructors, where
1643         we can't return a value).
1644
1645         Reviewed by Tony Gentilcore.
1646
1647         * tests/CCLayerTreeHostTest.cpp:
1648         (WTF::MockLayerTreeHost::MockLayerTreeHost):
1649         (WTF::CCLayerTreeHostTest::onEndTest):
1650         (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommit):
1651         (WTF::CCLayerTreeHostTest::dispatchSetNeedsRedraw):
1652         (WTF::CCLayerTreeHostTest::runTest):
1653         (WTF::CCLayerTreeHostTest::doBeginTest):
1654
1655 2011-11-14  Alexander Pavlov  <apavlov@chromium.org>
1656
1657         [chromium] r99963 causes inspector/debugger/script-formatter.html to fail text diff
1658         https://bugs.webkit.org/show_bug.cgi?id=72204
1659
1660         The concatenate_script_formatter_worker_js action (along with concatenate_heap_snapshot_worker_js)
1661         did not depend on their 'input_file' files and, hence, did not get invoked on their input_file changes.
1662
1663         Reviewed by Yury Semikhatsky.
1664
1665         * WebKit.gyp:
1666
1667 2011-11-13  Nat Duca  <nduca@chromium.org>
1668
1669         [chromium] LayerRendererChromium::initialize should fail when GaphicsContext3D::makeCurrent fails
1670         https://bugs.webkit.org/show_bug.cgi?id=72102
1671
1672         Reviewed by James Robinson.
1673
1674         * src/WebViewImpl.cpp:
1675         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1676
1677 2011-11-13  Kent Tamura  <tkent@chromium.org>
1678
1679         [Chromium] Remove WebFileChooserParams::acceptTypes
1680         https://bugs.webkit.org/show_bug.cgi?id=71998
1681
1682         Reviewed by Darin Fisher.
1683
1684         * public/WebFileChooserParams.h: Remove acceptTypes.
1685         * src/ChromeClientImpl.cpp:
1686         (WebKit::ChromeClientImpl::runOpenPanel): Remove acceptTypes generatio code.
1687
1688 2011-11-11  Nico Weber  <thakis@chromium.org>
1689
1690         [chromium] Remove 2 static initializers and 3 exit time destructors. Turn on -Wexit-time-destructors.
1691         https://bugs.webkit.org/show_bug.cgi?id=72146
1692
1693         Reviewed by Nate Chapin.
1694
1695         * WebKit.gyp:
1696         * src/DebuggerAgentManager.cpp:
1697         (WebKit::DebuggerAgentManager::debugHostDispatchHandler):
1698         (WebKit::DebuggerAgentManager::onWebViewClosed):
1699         * src/DebuggerAgentManager.h:
1700         * src/WebAccessibilityObject.cpp:
1701         (WebKit::WebAccessibilityObject::keyboardShortcut):
1702         * src/WebViewImpl.cpp:
1703         (WebKit::pageGroupLoadDeferrerStack):
1704         (WebKit::WebView::willEnterModalLoop):
1705         (WebKit::WebView::didExitModalLoop):
1706
1707 2011-11-11  Nat Duca  <nduca@chromium.org>
1708
1709         Since GraphicsContext3D::makeContextCurrent can fail, return bool.
1710
1711         https://bugs.webkit.org/show_bug.cgi?id=72101
1712
1713         Reviewed by Kenneth Russell.
1714
1715         * src/GraphicsContext3DChromium.cpp:
1716
1717 2011-11-11  Ojan Vafai  <ojan@chromium.org>
1718
1719         Unreviewed. Rolled DEPS.
1720         https://bugs.webkit.org/show_bug.cgi?id=72174
1721
1722         * DEPS:
1723
1724 2011-11-11  James Robinson  <jamesr@chromium.org>
1725
1726         Rollout http://trac.webkit.org/changeset/99844
1727         Solution is more complicated than the problem it was intended to solve.
1728
1729         * tests/CCLayerTreeHostImplTest.cpp:
1730         (WebKit::TEST_F):
1731
1732 2011-11-11  Iain Merrick  <husky@google.com>
1733
1734         [chromium] CCThreadProxy::finishAllRendering hangs if !visible
1735         https://bugs.webkit.org/show_bug.cgi?id=71920
1736
1737         Reviewed by James Robinson.
1738
1739         * tests/CCSchedulerStateMachineTest.cpp:
1740         (WebCore::TEST):
1741
1742 2011-11-11  Antoine Labour  <piman@chromium.org>
1743
1744         [chromium] Add translation/scaling to WebExternalTextureLayer
1745         https://bugs.webkit.org/show_bug.cgi?id=72087
1746
1747         Reviewed by James Robinson.
1748
1749         * public/WebExternalTextureLayer.h:
1750         * src/WebExternalTextureLayer.cpp:
1751         (WebKit::WebExternalTextureLayer::setUVRect):
1752         (WebKit::WebExternalTextureLayer::uvRect):
1753
1754 2011-11-11  Adam Klein  <adamk@chromium.org>
1755
1756         Remove no-op StorageNamespace::unlock method
1757         https://bugs.webkit.org/show_bug.cgi?id=72181
1758
1759         Reviewed by Darin Adler.
1760
1761         * src/StorageNamespaceProxy.cpp:
1762         * src/StorageNamespaceProxy.h:
1763
1764 2011-11-11  Stephen Chenney  <schenney@chromium.org>
1765
1766         [Chromium] DRT does not have LayoutTestController.pageSizeAndMarginsInPixels
1767         https://bugs.webkit.org/show_bug.cgi?id=49257
1768
1769         Add the WebFrame::getPageProperty method for Chromium.
1770
1771         Reviewed by Darin Fisher.
1772
1773         * public/WebFrame.h:
1774         * src/WebFrameImpl.cpp:
1775         (WebKit::WebFrameImpl::getPageProperty):
1776         * src/WebFrameImpl.h:
1777
1778 2011-11-11  Jeff Timanus  <twiz@chromium.org>
1779
1780         [chromium] Patch that implementing the changes required to allow WebGL
1781         to share its backing store directly with the compositor.
1782         WebGL rendering contexts create and render to FBOs managed by a
1783         DrawingBuffer instance. All PlatformLayer lifetime management is
1784         performed by the DrawingBuffer.
1785         Changes are only relevant to Chromium ports. Functionality is
1786         unchanged for other ports.
1787         https://bugs.webkit.org/show_bug.cgi?id=53201
1788
1789         Reviewed by Stephen White.
1790
1791         * src/GraphicsContext3DChromium.cpp: GraphicsContext3DPrivate no longer caches
1792         the WebGLLayerChromium instance.  Instead, it is accessed via DrawingBuffer instances
1793         passed as arguments to the necessary routines.
1794         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
1795         (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
1796         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
1797         (WebCore::GraphicsContext3D::~GraphicsContext3D):
1798         (WebCore::GraphicsContext3D::platformLayer):
1799         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
1800         (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
1801         * src/GraphicsContext3DPrivate.h:
1802
1803 2011-11-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1804
1805         Unreviewed, rolling out r100010.
1806         http://trac.webkit.org/changeset/100010
1807         https://bugs.webkit.org/show_bug.cgi?id=72172
1808
1809         "Broke gclient syncing on the chromium bots." (Requested by
1810         ojan on #webkit).
1811
1812         * DEPS:
1813
1814 2011-11-11  Ojan Vafai  <ojan@chromium.org>
1815
1816         Unreviewed.  Rolled DEPS.
1817
1818         * DEPS:
1819
1820 2011-11-11  James Robinson  <jamesr@chromium.org>
1821
1822         [chromium] Fix CCLayerTreeHost leak in webkit_unit_tests
1823         https://bugs.webkit.org/show_bug.cgi?id=72081
1824
1825         Reviewed by Kenneth Russell.
1826
1827         LayerChromium and CCLayerTreeHosts hold RefPtr<>s to each other, so if
1828         you do not clear out the layerTreeHost pointer on the LayerChromium
1829         the layer tree is leaked. The real code does this in WebViewImpl but
1830         this test was not.
1831
1832         * tests/CCLayerTreeHostTest.cpp:
1833         (WTF::CCLayerTreeHostTest::runTest):
1834         (WTF::CCLayerTreeHostTest::doBeginTest):
1835
1836 2011-11-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1837
1838         Unreviewed, rolling out r99826.
1839         http://trac.webkit.org/changeset/99826
1840         https://bugs.webkit.org/show_bug.cgi?id=72109
1841
1842         "Likely causing test flakiness" (Requested by tonyg-cr on
1843         #webkit).
1844
1845         * tests/FrameTestHelpers.cpp:
1846         (WebKit::FrameTestHelpers::registerMockedURLLoad):
1847         (WebKit::FrameTestHelpers::createWebViewAndLoad):
1848         * tests/FrameTestHelpers.h:
1849         * tests/WebFrameTest.cpp:
1850         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
1851         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
1852         (WebKit::TEST_F):
1853         * tests/WebViewTest.cpp:
1854         (WebKit::TEST_F):
1855         * tests/data/page_with_image.mht: Removed.
1856
1857 2011-11-10  Daniel Cheng  <dcheng@chromium.org>
1858
1859         [chromium] Add plumbing for JS to write to clipboard in copy/cut events.
1860         https://bugs.webkit.org/show_bug.cgi?id=71414
1861
1862         Reviewed by Darin Fisher.
1863
1864         * public/WebClipboard.h:
1865         (WebKit::WebClipboard::writeDataObject):
1866         * src/PlatformSupport.cpp:
1867         (WebCore::PlatformSupport::clipboardWriteDataObject):
1868
1869 2011-11-10  Vsevolod Vlasov  <vsevik@chromium.org>
1870
1871         Unreviewed.  Rolled DEPS.
1872
1873         * DEPS:
1874
1875 2011-11-10  Iain Merrick  <husky@google.com>
1876
1877         [Chromium] Fix CCLayerTreeHostImplTest::scrollRootCallsCommitAndRedraw
1878         https://bugs.webkit.org/show_bug.cgi?id=72027
1879
1880         We weren't calling setScrollable(true) when setting up the test, so
1881         scroll events were being ignored. Test failed in debug builds, but passed
1882         in release because we were using ASSERT instead of ASSERT_TRUE.
1883
1884         Reviewed by Tony Gentilcore.
1885
1886         * tests/CCLayerTreeHostImplTest.cpp:
1887         (WebKit::TEST_F):
1888
1889 2011-11-10  Alpha Lam  <hclam@chromium.org>
1890
1891         [chromium] Scroll deltas are cleared during commit to the main thread
1892         https://bugs.webkit.org/show_bug.cgi?id=71916
1893
1894         Reviewed by James Robinson.
1895
1896         * tests/CCLayerTreeHostImplTest.cpp:
1897         (WebKit::TEST_F):
1898         CCLayerTreeHostImplTest.scrollDeltaRepeatedScrolls
1899         This test is modified to verify that CCLayerTreeHostImpl::processScrollDeltas()
1900         maintain the current scroll deltas and scroll positions.
1901         It also verifies that scroll deltas are subtracted correctly by calling
1902         CCLayerTreeHostCommon::applyScrollAndScale().
1903         * tests/CCLayerTreeHostTest.cpp:
1904         (WTF::CCLayerTreeHostTest::doBeginTest):
1905         call setLayerTreeHost() on the root layer.
1906
1907 2011-11-10  Jay Civelli  <jcivelli@chromium.org>
1908
1909         Fix progress load reporting for MHTML documents.
1910
1911         MHTML documents containing references to resources they don't include
1912         never finish loading.
1913         https://bugs.webkit.org/show_bug.cgi?id=71859
1914
1915         Reviewed by Adam Barth.
1916
1917         * tests/FrameTestHelpers.cpp:
1918         (WebKit::FrameTestHelpers::registerMockedURLLoadAsHTML):
1919         (WebKit::FrameTestHelpers::registerMockedURLLoad):
1920         (WebKit::FrameTestHelpers::createWebViewAndLoad):
1921         * tests/FrameTestHelpers.h:
1922         * tests/WebFrameTest.cpp:
1923         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
1924         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
1925         (WebKit::TEST_F):
1926         * tests/WebViewTest.cpp:
1927         (WebKit::TEST_F):
1928         * tests/data/page_with_image.mht: Added.
1929
1930 2011-11-09  Tommy Widenflycht  <tommyw@google.com>
1931
1932         [chromium] MediaStream API: Add WebMediaStreamRegistry
1933         https://bugs.webkit.org/show_bug.cgi?id=71458
1934
1935         Reviewed by Darin Fisher.
1936
1937         * WebKit.gyp:
1938         * public/WebMediaStreamRegistry.h: Added.
1939         * src/WebMediaStreamRegistry.cpp: Added.
1940         (WebKit::WebMediaStreamRegistry::lookupMediaStreamDescriptor):
1941
1942 2011-11-09  Alexandre Elias  <aelias@google.com>
1943
1944         [chromium] Add draw-time scale delta to compositor thread
1945         https://bugs.webkit.org/show_bug.cgi?id=71595
1946
1947         Reviewed by James Robinson.
1948
1949         There are two magnify values:
1950         1. The WebKit-side pageScale value corresponding to the resolution of
1951            the painted content.
1952         2. The Impl-side-only scaleDelta value representing the additional
1953            degree of current magnification, applied as a draw transform.  WebKit
1954            is never explicitly aware of this value and the only way to change it
1955            currently is via pinch events (and in the future, double-tap/etc
1956            events).  At the end of a pinch zoom, we multiply pageScale *
1957            scaleDelta and tell WebKit to use it as the new pageScale.
1958
1959         Scroll offsets and max-extents are maintained in pageScale space.
1960         When the scale changes, we need to take care to convert them to the
1961         new scale and avoid getting them clamped to the extents at the wrong
1962         scale.
1963
1964         I removed maxScrollPosition on the non-impl side because it makes no
1965         sense to precompute it in the presence of an impl-side zoom.  Replaced
1966         with a simple 'bool m_scrollable'.
1967
1968         zoomAnimatorTransform is not used because it currently isn't in the
1969         branch, and mostly doesn't behave the way we want anyway (it does most
1970         things in WebKit thread).  We will need to unify these later.
1971
1972         Also introduce deviceOrPageScaleFactorChanged() call which invalidates
1973         layers.
1974
1975         * public/WebLayerTreeViewClient.h:
1976         * public/WebView.h:
1977         * src/WebCompositorImpl.cpp:
1978         * src/WebLayerTreeViewImpl.cpp:
1979         (WebKit::WebLayerTreeViewImpl::applyScrollAndScale):
1980         * src/WebLayerTreeViewImpl.h:
1981         * src/WebViewImpl.cpp:
1982         (WebKit::WebViewImpl::enableFixedLayoutMode):
1983         (WebKit::WebViewImpl::setPageScaleFactorLimits):
1984         (WebKit::WebViewImpl::applyScrollAndScale):
1985         (WebKit::WebViewImpl::updateLayerTreeViewport):
1986         * src/WebViewImpl.h:
1987         * tests/CCLayerTreeHostImplTest.cpp:
1988         (WebKit::CCLayerTreeHostImplTest::expectContains):
1989         (WebKit::TEST_F):
1990         * tests/CCLayerTreeHostTest.cpp:
1991         (WTF::TestHooks::applyScrollAndScale):
1992         (WTF::MockLayerTreeHostClient::applyScrollAndScale):
1993         (WTF::CCLayerTreeHostTestScrollSimple::beginTest):
1994         (WTF::CCLayerTreeHostTestScrollSimple::drawLayersOnCCThread):
1995         (WTF::CCLayerTreeHostTestScrollSimple::applyScrollAndScale):
1996         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginTest):
1997         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
1998         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::applyScrollAndScale):
1999
2000 2011-11-09  Dominic Mazzoni  <dmazzoni@google.com>
2001
2002         Fix crash by handling case when AccessibilityObject::lineForPosition
2003         returns -1.
2004         https://bugs.webkit.org/show_bug.cgi?id=71561
2005
2006         Adds layout test: platform/chromium/accessibility/insertion-point-line-number-on-password-crashes.html
2007
2008         Reviewed by Dimitri Glazkov.
2009
2010         * src/WebAccessibilityObject.cpp:
2011         (WebKit::WebAccessibilityObject::lineBreaks):
2012
2013 2011-11-09  Jay Civelli  <jcivelli@chromium.org>
2014
2015         Fix MHTML generation to use the QuotedPrintable encoding for text resources.
2016         This was regressed when we added binary encoding support.
2017         https://bugs.webkit.org/show_bug.cgi?id=71857
2018
2019         Reviewed by Adam Barth.
2020
2021         * tests/WebPageNewSerializerTest.cpp:
2022         (WebKit::LineReader::LineReader):
2023         (WebKit::LineReader::getNextLine):
2024         (WebKit::WebPageNewSerializeTest::setUpCSSTestPage):
2025         (WebKit::TEST_F):
2026
2027 2011-11-09  Henrik Grunell  <grunell@chromium.org>
2028
2029         Adding missing implementation of WebMediaStreamDescriptor::label().
2030
2031         [Chromium] Missing WebMediaStreamDescriptor::label() implementation
2032         https://bugs.webkit.org/show_bug.cgi?id=71657
2033
2034         Reviewed by Adam Barth.
2035
2036         * src/WebMediaStreamDescriptor.cpp:
2037         (WebKit::WebMediaStreamDescriptor::label):
2038
2039 2011-11-09  Alexei Svitkine  <asvitkine@chromium.org>
2040
2041         Chromium: Add plumbing to enable dragging dev tools via the empty space on the toolbar.
2042         https://bugs.webkit.org/show_bug.cgi?id=71842
2043
2044         These are the only WebKit-side changes needed. The rest will be done on the Chromium side.
2045
2046         Chromium bug: http://crbug.com/44350
2047
2048         Reviewed by Pavel Feldman.
2049
2050         * public/WebDevToolsFrontendClient.h:
2051         (WebKit::WebDevToolsFrontendClient::moveWindowBy):
2052         * src/InspectorFrontendClientImpl.cpp:
2053         (WebKit::InspectorFrontendClientImpl::moveWindowBy):
2054
2055 2011-11-08  Jay Civelli  <jcivelli@chromium.org>
2056
2057         Fixes and reenables the WebPageSerializer tests.
2058         https://bugs.webkit.org/show_bug.cgi?id=71874
2059
2060         Reviewed by Adam Barth.
2061
2062         * WebKit.gypi:
2063         * tests/WebPageNewSerializerTest.cpp:
2064         (WebKit::TestWebFrameClient::~TestWebFrameClient):
2065         (WebKit::WebPageNewSerializeTest::SetUp):
2066         (WebKit::WebPageNewSerializeTest::resourceVectorContains):
2067         (WebKit::TEST_F):
2068         * tests/WebPageSerializerTest.cpp:
2069         (WebKit::WebPageSerializerTest::WebPageSerializerTest):
2070         (WebKit::WebPageSerializerTest::webVectorContains):
2071         (WebKit::TEST_F):
2072
2073 2011-11-07  Adam Barth  <abarth@webkit.org>
2074
2075         Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
2076         https://bugs.webkit.org/show_bug.cgi?id=71755
2077
2078         Reviewed by Eric Seidel.
2079
2080         * src/WebFrameImpl.cpp:
2081         (WebKit::WebFrameImpl::setReferrerForRequest):
2082         * src/WebSecurityPolicy.cpp:
2083         (WebKit::WebSecurityPolicy::addOriginAccessWhitelistEntry):
2084         (WebKit::WebSecurityPolicy::removeOriginAccessWhitelistEntry):
2085         (WebKit::WebSecurityPolicy::resetOriginAccessWhitelists):
2086         (WebKit::WebSecurityPolicy::shouldHideReferrer):
2087         * src/WebViewImpl.cpp:
2088         (WebKit::WebViewImpl::initializeMainFrame):
2089
2090 2011-11-08  Nat Duca  <nduca@chromium.org>
2091
2092         [chromium] When GC3DPrivate::initializExtensions fails, dont keep retrying
2093         https://bugs.webkit.org/show_bug.cgi?id=71637
2094
2095         Reviewed by Kenneth Russell.
2096
2097         * src/GraphicsContext3DChromium.cpp:
2098         (WebCore::GraphicsContext3DPrivate::initializeExtensions):
2099
2100 2011-11-08  Adam Klein  <adamk@chromium.org>
2101
2102         Use a typedef for ExceptionCode in all header files instead of including ExceptionCode.h
2103         https://bugs.webkit.org/show_bug.cgi?id=71845
2104
2105         Reviewed by Adam Barth.
2106
2107         * src/SharedWorkerRepository.cpp:
2108
2109 2011-11-08  Fady Samuel  <fsamuel@chromium.org>
2110
2111         Delete WebViewimpl::scalePage
2112         https://bugs.webkit.org/show_bug.cgi?id=71711
2113
2114         Reviewed by Darin Fisher.
2115
2116         Once this patch lands: http://codereview.chromium.org/8477033
2117
2118         WebViewImpl::scalePage will no longer be used in Chromium and
2119         can safely be deleted.
2120
2121         * public/WebView.h:
2122         * src/WebViewImpl.cpp:
2123         * src/WebViewImpl.h:
2124
2125 2011-11-08  Joshua Bell  <jsbell@chromium.org>
2126
2127         IndexedDB: implement compound (array) key support
2128         https://bugs.webkit.org/show_bug.cgi?id=62284
2129
2130         Reviewed by Tony Chang.
2131
2132         Extend WebKit API to support Array values as IDBKeys.
2133
2134         * public/WebIDBKey.h:
2135         * src/AssertMatchingEnums.cpp:
2136         * src/WebIDBKey.cpp:
2137         (WebKit::WebIDBKey::createArray):
2138         (WebKit::convertFromWebIDBKeyArray):
2139         (WebKit::convertToWebIDBKeyArray):
2140         (WebKit::WebIDBKey::assignArray):
2141         (WebKit::WebIDBKey::array):
2142         * tests/IDBBindingUtilitiesTest.cpp:
2143         (WebCore::TEST):
2144         * tests/IDBLevelDBCodingTest.cpp:
2145         (IDBLevelDBCoding::createArrayIDBKey):
2146         (IDBLevelDBCoding::TEST):
2147         (IDBLevelDBCoding::compareStrings):
2148
2149 2011-11-08  Yury Semikhatsky  <yurys@chromium.org>
2150
2151         Web Inspector: display notification in the front-end when inspected worker terminates
2152         https://bugs.webkit.org/show_bug.cgi?id=71770
2153
2154         Exposed an API for the browser to notify inspector front-end when inspeced instance
2155         terminates. It is used now for tracking shared workers termination.
2156
2157         Reviewed by Pavel Feldman.
2158
2159         * public/WebDevToolsAgent.h:
2160         * src/WebDevToolsAgentImpl.cpp:
2161         (WebKit::WebDevToolsAgent::createFrontendDisconnectedEvent):
2162
2163 2011-11-08  Yury Semikhatsky  <yurys@chromium.org>
2164
2165         [Chromium] Web Inspector: add sanity test for automatic reattach to a page which is reloaded after crash
2166         https://bugs.webkit.org/show_bug.cgi?id=71786
2167
2168         Added a test function that checks if console evaluation works after crashed tab reloading.
2169
2170         Reviewed by Pavel Feldman.
2171
2172         * src/js/Tests.js:
2173         (.TestSuite.prototype.testReattachAfterCrash):
2174
2175 2011-11-07  Emil A Eklund  <eae@chromium.org>
2176
2177         Revert platform and scrolling to ints
2178         https://bugs.webkit.org/show_bug.cgi?id=71585
2179
2180         Reviewed by Eric Seidel.
2181
2182         Replace all uses of LayoutUnit and related types with ints in platform
2183         and scrolling code.
2184
2185         * tests/ScrollAnimatorNoneTest.cpp:
2186         (MockScrollableArea::visibleHeight):
2187         (MockScrollableArea::visibleWidth):
2188
2189 2011-11-07  Adam Barth  <abarth@webkit.org>
2190
2191         Move DomainRelaxationForbidden scheme registry to SchemeRegistry
2192         https://bugs.webkit.org/show_bug.cgi?id=71750
2193
2194         Reviewed by Eric Seidel.
2195
2196         * src/WebViewImpl.cpp:
2197         (WebKit::WebViewImpl::setDomainRelaxationForbidden):
2198
2199 2011-11-07  Beth Dakin  <bdakin@apple.com>
2200
2201         https://bugs.webkit.org/show_bug.cgi?id=71490
2202         Support uiStateTransitionProgress for scrollbars
2203         -and corresponding-
2204         <rdar://problem/9849612>
2205
2206         Reviewed by Sam Weinig.
2207
2208         Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter.
2209         * src/WebScrollbarImpl.cpp:
2210         (WebKit::WebScrollbarImpl::onMouseUp):
2211
2212 2011-11-07  Fady Samuel  <fsamuel@chromium.org>
2213
2214         [Chromium] Rename WebView::scalePage to WebView::setPageScaleFactor to match WebCore
2215         https://bugs.webkit.org/show_bug.cgi?id=71485
2216
2217         Reviewed by Darin Fisher.
2218
2219         Created new method setPageScaleFactor to replace scalePage to match
2220         renamed method in WebCore. This change will happen in three stages:
2221
2222         1. A new method is created called setPageScaleFactor with the same
2223            functionality as scalePage.
2224         2. All call sites of scalePage are changed to setPageScaleFactor in the Chromium
2225            repository.
2226         3. scalePage is deleted from WebView/WebViewImpl
2227
2228         * public/WebView.h:
2229         * src/WebViewImpl.cpp:
2230         (WebKit::WebViewImpl::pageScaleFactor):
2231         (WebKit::WebViewImpl::scalePage):
2232         (WebKit::WebViewImpl::setPageScaleFactor):
2233         * src/WebViewImpl.h:
2234
2235 2011-11-07  Jessie Berlin  <jberlin@apple.com>
2236
2237         Need a way to allow a scheme access to Local Storage and Databases while Private Browsing is
2238         enabled.
2239         https://bugs.webkit.org/show_bug.cgi?id=71631
2240
2241         Reviewed by Jon Honeycutt.
2242
2243         * src/StorageAreaProxy.h:
2244         (WebCore::StorageAreaProxy::disabledByPrivateBrowsingInFrame):
2245         Chromium uses a different method to track its icognito mode, so always return false.
2246
2247 2011-11-07  Yury Semikhatsky  <yurys@chromium.org>
2248
2249         [Chromium] Web Inspector: use native worker inspector instead of fake workers
2250         https://bugs.webkit.org/show_bug.cgi?id=71670
2251
2252         chrome://workers link is replaced with instructions on discovering shared workers
2253         in Task Manager.
2254
2255         Reviewed by Pavel Feldman.
2256
2257         * src/js/DevTools.js:
2258         ():
2259
2260 2011-11-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2261
2262         Unreviewed.  Rolled DEPS.
2263
2264         * DEPS:
2265
2266 2011-11-05  Daniel Cheng  <dcheng@chromium.org>
2267
2268         [chromium] Use the security origin instead of the URL when checking notification permissions
2269         https://bugs.webkit.org/show_bug.cgi?id=71590
2270
2271         Reviewed by Adam Barth.
2272
2273         * public/WebNotificationPresenter.h:
2274         * src/NotificationPresenterImpl.cpp:
2275         (WebKit::NotificationPresenterImpl::checkPermission):
2276
2277 2011-11-04  Shawn Singh  <shawnsingh@chromium.org>
2278
2279         [chromium] Re-named the original scissorRect to clipRect
2280         https://bugs.webkit.org/show_bug.cgi?id=71580
2281
2282         Reviewed by James Robinson.
2283
2284         * tests/CCLayerImplTest.cpp:
2285         (WebCore::TEST):
2286         * tests/CCLayerTreeHostCommonTest.cpp:
2287         (WebCore::TEST):
2288         * tests/LayerChromiumTest.cpp:
2289
2290 2011-11-04  Robert Sesek  <rsesek@chromium.org>
2291
2292         [chromium] Use Chromium's copy of libWebKitSystemInterfaceLeopard.a
2293         https://bugs.webkit.org/show_bug.cgi?id=71563
2294
2295         Reviewed by Adam Barth.
2296
2297         Roll Chromium DEPS r108107:108476 to pull in
2298         libWebKitSystemInterfaceLeopard.a.
2299
2300         * DEPS:
2301
2302 2011-11-03  Adrienne Walker  <enne@google.com>
2303
2304         [chromium] Implement checkerboarding for missing layer tiles
2305         https://bugs.webkit.org/show_bug.cgi?id=69585
2306
2307         Reviewed by James Robinson.
2308
2309         To pipe the background color of the document to the non-composited
2310         host, set it during paint. This may be more frequent than necessary,
2311         but it'll catch all style changes.
2312
2313         * src/WebViewImpl.cpp:
2314         (WebKit::WebViewImpl::nonCompositedContentHost):
2315         (WebKit::WebViewImplContentPainter::paint):
2316         * src/WebViewImpl.h:
2317         * tests/CCLayerImplTest.cpp:
2318         (WebCore::TEST):
2319
2320 2011-11-04  Fady Samuel  <fsamuel@chromium.org>
2321
2322         [Chromium] Expose deviceScaleFactor to WebKit API
2323         https://bugs.webkit.org/show_bug.cgi?id=70614
2324
2325         Reviewed by Darin Fisher.
2326
2327         This exposes the device scale factor to the Chromium-WebKit API.
2328         This scale factor is the ratio between the current device's DPI
2329         and the target device's DPI. 
2330
2331         For details on how this can be accessed from CSS and javascript, please
2332         see here:
2333
2334         http://developer.android.com/guide/webapps/targeting.html#DensityCSS
2335
2336         * public/WebView.h:
2337         * src/WebViewImpl.cpp:
2338         (WebKit::WebViewImpl::deviceScaleFactor):
2339         (WebKit::WebViewImpl::setDeviceScaleFactor):
2340         * src/WebViewImpl.h:
2341
2342 2011-11-03  Adrienne Walker  <enne@google.com>
2343
2344         [chromium] Fix incorrect visibility/scissor rect for threaded compositing
2345         https://bugs.webkit.org/show_bug.cgi?id=70962
2346
2347         Reviewed by James Robinson.
2348
2349         * src/WebLayerTreeViewImpl.cpp:
2350         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
2351         * src/WebViewImpl.cpp:
2352         (WebKit::WebViewImpl::setRootGraphicsLayer):
2353         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2354         * tests/CCLayerTreeHostTest.cpp:
2355         (WTF::MockLayerTreeHost::MockLayerTreeHost):
2356
2357 2011-11-02  Xiaomei Ji  <xji@chromium.org>
2358
2359         Enable ctrl-arrow move cursor by word in visual order in cr-win by command line flag.
2360         https://bugs.webkit.org/show_bug.cgi?id=71163
2361
2362         Reviewed by Ryosuke Niwa.
2363
2364         To minimize the risk to LTR users, we enable this feature first to chromium win
2365         by command line flag. This and corresponding changset in chromium
2366         (http://codereview.chromium.org/8400078/)
2367         should be removed after this feature is enabled without command line flag. 
2368
2369         The work flow is:
2370         1. (chromium) adds command line flag --enable-visual-word-movement,
2371            pass it to WebCore::Settings through WebPreferences.
2372         2. in FrameSelection::modifyMovingLeft|Right, when 'visualWordMovementEnabled' is true in page's Settings,
2373            trigger visual word movement instead of logical one.
2374  
2375         * public/WebSettings.h:
2376         * src/WebSettingsImpl.cpp:
2377         (WebKit::WebSettingsImpl::setVisualWordMovementEnabled):
2378         * src/WebSettingsImpl.h:
2379
2380 2011-11-03  Darin Adler  <darin@apple.com>
2381
2382         Change remaining callers of releaseRef to call leakRef
2383         https://bugs.webkit.org/show_bug.cgi?id=71422
2384
2385         * public/WebPrivatePtr.h:
2386         (WebKit::WebPrivatePtr::WebPrivatePtr):
2387         (WebKit::WebPrivatePtr::operator=):
2388         * src/WebDOMEvent.cpp:
2389         (WebKit::WebDOMEvent::WebDOMEvent):
2390         * src/WebData.cpp:
2391         (WebKit::WebData::assign):
2392         (WebKit::WebData::WebData):
2393         (WebKit::WebData::operator=):
2394         * src/WebDragData.cpp:
2395         (WebKit::WebDragData::initialize):
2396         (WebKit::WebDragData::WebDragData):
2397         (WebKit::WebDragData::operator=):
2398         * src/WebHTTPBody.cpp:
2399         (WebKit::WebHTTPBody::initialize):
2400         (WebKit::WebHTTPBody::WebHTTPBody):
2401         (WebKit::WebHTTPBody::operator=):
2402         (WebKit::WebHTTPBody::ensureMutable):
2403         * src/WebNodeCollection.cpp:
2404         (WebKit::WebNodeCollection::WebNodeCollection):
2405         * src/WebNodeList.cpp:
2406         (WebKit::WebNodeList::WebNodeList):
2407         * src/WebNotification.cpp:
2408         (WebKit::WebNotification::WebNotification):
2409         (WebKit::WebNotification::operator=):
2410         * src/WebRange.cpp:
2411         (WebKit::WebRange::WebRange):
2412         (WebKit::WebRange::operator=):
2413         * src/WebSecurityOrigin.cpp:
2414         (WebKit::WebSecurityOrigin::WebSecurityOrigin):
2415         (WebKit::WebSecurityOrigin::operator=):
2416         * src/WebThreadSafeData.cpp:
2417         (WebKit::WebThreadSafeData::WebThreadSafeData):
2418         Use leakRef.
2419
2420 2011-11-02  Darin Adler  <darin@apple.com>
2421
2422         Change remaining callers of releaseRef to call leakRef
2423         https://bugs.webkit.org/show_bug.cgi?id=71422
2424
2425         * public/WebPrivatePtr.h:
2426         (WebKit::WebPrivatePtr::WebPrivatePtr):
2427         (WebKit::WebPrivatePtr::operator=):
2428         * src/WebDOMEvent.cpp:
2429         (WebKit::WebDOMEvent::WebDOMEvent):
2430         * src/WebData.cpp:
2431         (WebKit::WebData::assign):
2432         (WebKit::WebData::WebData):
2433         (WebKit::WebData::operator=):
2434         * src/WebDragData.cpp:
2435         (WebKit::WebDragData::initialize):
2436         (WebKit::WebDragData::WebDragData):
2437         (WebKit::WebDragData::operator=):
2438         * src/WebHTTPBody.cpp:
2439         (WebKit::WebHTTPBody::initialize):
2440         (WebKit::WebHTTPBody::WebHTTPBody):
2441         (WebKit::WebHTTPBody::operator=):
2442         (WebKit::WebHTTPBody::ensureMutable):
2443         * src/WebNodeCollection.cpp:
2444         (WebKit::WebNodeCollection::WebNodeCollection):
2445         * src/WebNodeList.cpp:
2446         (WebKit::WebNodeList::WebNodeList):
2447         * src/WebNotification.cpp:
2448         (WebKit::WebNotification::WebNotification):
2449         (WebKit::WebNotification::operator=):
2450         * src/WebRange.cpp:
2451         (WebKit::WebRange::WebRange):
2452         (WebKit::WebRange::operator=):
2453         * src/WebSecurityOrigin.cpp:
2454         (WebKit::WebSecurityOrigin::WebSecurityOrigin):
2455         (WebKit::WebSecurityOrigin::operator=):
2456         * src/WebThreadSafeData.cpp:
2457         (WebKit::WebThreadSafeData::WebThreadSafeData):
2458         Use leakRef.
2459
2460 2011-11-03  Daniel Cheng  <dcheng@chromium.org>
2461
2462         [chromium] Remove unused clipboard methods
2463         https://bugs.webkit.org/show_bug.cgi?id=71512
2464
2465         Reviewed by Tony Chang.
2466
2467         * public/WebClipboard.h:
2468         (WebKit::WebClipboard::getSequenceNumber):
2469         (WebKit::WebClipboard::readAvailableTypes):
2470         (WebKit::WebClipboard::writeImage):
2471         * src/PlatformSupport.cpp:
2472         (WebCore::PlatformSupport::clipboardGetSequenceNumber):
2473         (WebCore::PlatformSupport::clipboardReadAvailableTypes):
2474
2475 2011-11-03  Fady Samuel  <fsamuel@chromium.org>
2476
2477         [Chromium] Refactor WebFrameImpl::createFrameView() to use Frame:createView
2478         https://bugs.webkit.org/show_bug.cgi?id=70507
2479
2480         Reviewed by Darin Fisher.
2481
2482         No change in functionality except for fixed layout mode. Fixed layout mode has
2483         not been fully upstreamed yet, so no new tests yet:
2484         https://bugs.webkit.org/show_bug.cgi?id=70562 will address this.
2485
2486         This patch also fixes https://bugs.webkit.org/show_bug.cgi?id=70555
2487         It was decided that fixed layout mode might need to be disabled for some content,
2488         and so this change enables the embedder to decide whether to enable fixed layout on
2489         navigation.
2490
2491         * src/WebFrameImpl.cpp:
2492         (WebKit::WebFrameImpl::createFrameView):
2493
2494 2011-10-28  Hans Wennborg  <hans@chromium.org>
2495
2496         IndexedDB: Recycle cursor objects when calling continue()
2497         https://bugs.webkit.org/show_bug.cgi?id=71115
2498
2499         Reviewed by Darin Fisher.
2500
2501         Add the new onSuccessWithContinuation() callback to IDB wrappers.
2502
2503         * public/WebIDBCallbacks.h:
2504         (WebKit::WebIDBCallbacks::onSuccessWithContinuation):
2505         * src/IDBCallbacksProxy.cpp:
2506         (WebKit::IDBCallbacksProxy::onSuccessWithContinuation):
2507         * src/IDBCallbacksProxy.h:
2508         * src/WebIDBCallbacksImpl.cpp:
2509         (WebKit::WebIDBCallbacksImpl::onSuccessWithContinuation):
2510         * src/WebIDBCallbacksImpl.h:
2511
2512 2011-11-02  Pavel Feldman  <pfeldman@google.com>
2513
2514         Web Inspector [chromium]: fix debug front-end zip generation.
2515         https://bugs.webkit.org/show_bug.cgi?id=71376
2516
2517         Reviewed by Yury Semikhatsky.
2518
2519         * WebKit.gyp:
2520         * scripts/generate_devtools_zip.py:
2521
2522 2011-11-02  Jon Lee  <jonlee@apple.com>
2523
2524         Expand DragController to provide more information about the dragging session
2525         https://bugs.webkit.org/show_bug.cgi?id=71324
2526         <rdar://problem/10379175>
2527
2528         Reviewed by Darin Adler.
2529
2530         * src/WebViewImpl.cpp:
2531         (WebKit::WebViewImpl::dragTargetDragEnterOrOver): The drag operation is contained
2532         within the new DragSession struct. Minor refactor.
2533
2534 2011-10-31  Nat Duca  <nduca@chromium.org>
2535
2536         [chromium] Slow down commit and draw rate based on visibility and draw completion
2537         https://bugs.webkit.org/show_bug.cgi?id=71267
2538
2539         Reviewed by James Robinson.
2540
2541         * tests/CCSchedulerStateMachineTest.cpp:
2542         (WebCore::TEST):
2543         * tests/CCSchedulerTest.cpp:
2544         (WebKitTests::FakeCCSchedulerClient::reset):
2545         (WebKitTests::FakeCCSchedulerClient::setVisible):
2546         (WebKitTests::FakeCCSchedulerClient::visible):
2547         (WebKitTests::TEST):
2548
2549 2011-11-02  Tom Sepez  <tsepez@chromium.org>
2550
2551         XSSAuditor is silent
2552         https://bugs.webkit.org/show_bug.cgi?id=70973
2553
2554         Reviewed by Adam Barth.
2555
2556         * public/WebFrameClient.h:
2557         (WebKit::WebFrameClient::didDetectXSS):
2558         * src/FrameLoaderClientImpl.cpp:
2559         (WebKit::FrameLoaderClientImpl::didDetectXSS):
2560         * src/FrameLoaderClientImpl.h:
2561
2562 2011-11-02  Jon Lee  <jonlee@apple.com>
2563
2564         <input=file multiple> default text uses singular instead of plural
2565         https://bugs.webkit.org/show_bug.cgi?id=71319
2566         <rdar://problem/10379021>
2567
2568         Reviewed by Darin Adler.
2569
2570         * src/LocalizedStrings.cpp:
2571         (WebCore::fileButtonNoFilesSelectedLabel):
2572
2573 2011-11-02  Andrey Kosyakov  <caseq@chromium.org>
2574
2575         Unreviewed fix for build failure on chromium shared linux caused by r99020.
2576
2577         * WebKit.gyp:
2578
2579 2011-11-01  Darin Adler  <darin@apple.com>
2580
2581         Change HTMLSelectElement::setSelectedIndex to use enums instead of bools
2582         https://bugs.webkit.org/show_bug.cgi?id=70184
2583
2584         Reviewed by Kent Tamura.
2585
2586         * tests/PopupMenuTest.cpp:
2587         (WebKit::TestPopupMenuClient::valueChanged): Replaced setSelectedIndexByUser
2588         call with a call to the renamed optionSelectedByUser, also removed one argument.
2589
2590 2011-11-01  Nat Duca  <nduca@chromium.org>
2591
2592         [chromium] Move resource-releasing logic into CCProxy and cleanup setNeedsCommit
2593         https://bugs.webkit.org/show_bug.cgi?id=71269
2594
2595         Reviewed by James Robinson.
2596
2597         * src/WebLayerTreeView.cpp:
2598         (WebKit::WebLayerTreeView::composite):
2599         * src/WebViewImpl.cpp:
2600         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
2601         * tests/CCLayerTreeHostTest.cpp:
2602         (CCLayerTreeHostTest::postSetNeedsCommitToMainThread):
2603         (CCLayerTreeHostTest::dispatchSetNeedsCommit):
2604         (CCLayerTreeHostTestShortlived2::beginTest):
2605         (CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
2606         (CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
2607         (CCLayerTreeHostTestSetNeedsCommit1::beginTest):
2608         (CCLayerTreeHostTestSetNeedsCommit2::beginTest):
2609         (CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
2610         (CCLayerTreeHostTestSetNeedsRedraw::beginTest):
2611         (CCLayerTreeHostTestScrollSimple::beginTest):
2612         (CCLayerTreeHostTestScrollSimple::drawLayersOnCCThread):
2613         (CCLayerTreeHostTestScrollMultipleRedraw::beginTest):
2614         (CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
2615
2616 2011-11-01  Julien Chaffraix  <jchaffraix@webkit.org>
2617
2618         Pack RenderTableCell bits
2619         https://bugs.webkit.org/show_bug.cgi?id=71135
2620
2621         Reviewed by Darin Adler.
2622
2623         * WebKit.gypi:
2624         * tests/RenderTableCellTest.cpp: Added.
2625         Added some tests for the column/row index limit
2626         that was implemented in RenderTableCell.
2627
2628 2011-11-01  Nate Chapin  <japhet@chromium.org>
2629
2630         Add 2 new TargetTypes (to match ResourceRequest::TargetType)
2631         and ensure we don't pass chromium a TargetType it doesn't
2632         yet understand.
2633         https://bugs.webkit.org/show_bug.cgi?id=70972
2634
2635         Reviewed by Darin Fisher.
2636
2637         * public/WebURLRequest.h:
2638         * src/WebURLRequest.cpp:
2639
2640 2011-11-01  Tommy Widenflycht  <tommyw@google.com>
2641
2642         [chromium] Media Stream API: Adding supporting classes to WebPeerConnectionHandler
2643         https://bugs.webkit.org/show_bug.cgi?id=71008
2644
2645         Expanding WebMediaStreamDescriptor and adding WebMediaStreamSource
2646
2647         Reviewed by Darin Fisher.
2648
2649         * WebKit.gyp:
2650         * public/WebMediaStreamDescriptor.h:
2651         * public/WebMediaStreamSource.h: Copied from Source/WebKit/chromium/public/WebMediaStreamDescriptor.h.
2652         (WebKit::WebMediaStreamSource::WebMediaStreamSource):
2653         (WebKit::WebMediaStreamSource::~WebMediaStreamSource):
2654         (WebKit::WebMediaStreamSource::isNull):
2655         * src/AssertMatchingEnums.cpp:
2656         * src/WebMediaStreamDescriptor.cpp:
2657         (WebKit::WebMediaStreamDescriptor::operator=):
2658         (WebKit::WebMediaStreamDescriptor::initialize):
2659         * src/WebMediaStreamSource.cpp: Copied from Source/WebKit/chromium/src/WebMediaStreamDescriptor.cpp.
2660         (WebKit::WebMediaStreamSource::WebMediaStreamSource):
2661         (WebKit::WebMediaStreamSource::reset):
2662         (WebKit::WebMediaStreamSource::operator PassRefPtr<MediaStreamSource>):
2663         (WebKit::WebMediaStreamSource::operator MediaStreamSource*):
2664         (WebKit::WebMediaStreamSource::initialize):
2665         (WebKit::WebMediaStreamSource::id):
2666         (WebKit::WebMediaStreamSource::type):
2667         (WebKit::WebMediaStreamSource::name):
2668
2669 2011-11-01  Nat Duca  <nduca@chromium.org>
2670
2671         CCSchedulerTests fail on Chromium Windows (dbg) after r98915
2672         https://bugs.webkit.org/show_bug.cgi?id=71294
2673
2674         Reviewed by James Robinson.
2675
2676         * tests/CCSchedulerTest.cpp:
2677         (WebKitTests::TEST):
2678
2679 2011-11-01  Alok Priyadarshi  <alokp@chromium.org>
2680
2681         Roll chromium DEPS.
2682
2683         Unreviewed.
2684
2685         * DEPS:
2686
2687 2011-11-01  Pavel Feldman  <pfeldman@google.com>
2688
2689         Not reviewed: fix chromium interactive tests.
2690
2691         * src/js/Tests.js:
2692         (.TestSuite.prototype.showPanel):
2693
2694 2011-10-31  Tommy Widenflycht  <tommyw@google.com>
2695
2696         [Chromium] Media Stream API: add the Chromium WebKit interfaces
2697         https://bugs.webkit.org/show_bug.cgi?id=58550
2698
2699         Adds the bridging code + the minimum amount of Web* supporting code.
2700
2701         Reviewed by Darin Fisher.
2702
2703         * WebKit.gyp:
2704         * bridge/PeerConnectionHandler.cpp: Renamed from Source/WebCore/platform/mediastream/PeerHandler.cpp.
2705         (WebCore::PeerConnectionHandler::create):
2706         (WebCore::PeerConnectionHandler::PeerConnectionHandler):
2707         (WebCore::PeerConnectionHandler::~PeerConnectionHandler):
2708         (WebCore::PeerConnectionHandler::produceInitialOffer):
2709         (WebCore::PeerConnectionHandler::handleInitialOffer):
2710         (WebCore::PeerConnectionHandler::processSDP):
2711         (WebCore::PeerConnectionHandler::processPendingStreams):
2712         (WebCore::PeerConnectionHandler::sendDataStreamMessage):
2713         (WebCore::PeerConnectionHandler::stop):
2714         * bridge/PeerConnectionHandlerInternal.cpp: Added.
2715         (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
2716         (WebCore::PeerConnectionHandlerInternal::~PeerConnectionHandlerInternal):
2717         (WebCore::PeerConnectionHandlerInternal::produceInitialOffer):
2718         (WebCore::PeerConnectionHandlerInternal::handleInitialOffer):
2719         (WebCore::PeerConnectionHandlerInternal::processSDP):
2720         (WebCore::PeerConnectionHandlerInternal::processPendingStreams):
2721         (WebCore::PeerConnectionHandlerInternal::sendDataStreamMessage):
2722         (WebCore::PeerConnectionHandlerInternal::stop):
2723         (WebCore::PeerConnectionHandlerInternal::didCompleteICEProcessing):
2724         (WebCore::PeerConnectionHandlerInternal::didGenerateSDP):
2725         (WebCore::PeerConnectionHandlerInternal::didReceiveDataStreamMessage):
2726         (WebCore::PeerConnectionHandlerInternal::didAddRemoteStream):
2727         (WebCore::PeerConnectionHandlerInternal::didRemoveRemoteStream):
2728         * bridge/PeerConnectionHandlerInternal.h: Added.
2729         * public/WebKitPlatformSupport.h:
2730         (WebKit::WebKitPlatformSupport::createPeerConnectionHandler):
2731         * public/WebMediaStreamDescriptor.h: Added.
2732         (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
2733         (WebKit::WebMediaStreamDescriptor::~WebMediaStreamDescriptor):
2734         (WebKit::WebMediaStreamDescriptor::isNull):
2735         * public/WebPeerConnectionHandler.h: Added.
2736         (WebKit::WebPeerConnectionHandler::~WebPeerConnectionHandler):
2737         * public/WebPeerConnectionHandlerClient.h: Added.
2738         (WebKit::WebPeerConnectionHandlerClient::~WebPeerConnectionHandlerClient):
2739         * src/WebMediaStreamDescriptor.cpp: Added.
2740         (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
2741         (WebKit::WebMediaStreamDescriptor::reset):
2742         (WebKit::WebMediaStreamDescriptor::operator=):
2743         (WebKit::WebMediaStreamDescriptor::operator WTF::PassRefPtr<WebCore::MediaStreamDescriptor>):
2744         (WebKit::WebMediaStreamDescriptor::operator WebCore::MediaStreamDescriptor*):
2745
2746         Tests for the Media Stream API will be provided by the bug 56587, pending enough landed code.
2747
2748 2011-10-31  Yuzhu Shen  <yzshen@google.com>
2749
2750         [chromium] Calling methods of WebFontImpl causes assertions
2751         https://bugs.webkit.org/show_bug.cgi?id=71232
2752
2753         Added FontCachePurgePreventer in several methods.
2754
2755         Reviewed by James Robinson.
2756
2757         * src/WebFontImpl.cpp:
2758         (WebKit::WebFontImpl::calculateWidth):
2759         (WebKit::WebFontImpl::offsetForPosition):
2760         (WebKit::WebFontImpl::selectionRectForText):
2761         (WebKit::WebFontImpl::estimateTextBounds):
2762
2763 2011-10-28  Nat Duca  <nduca@chromium.org>
2764
2765         [chromium] Connect CCThreadProxy to FrameRateController and SchedulerStateMachine via CCScheduler
2766         https://bugs.webkit.org/show_bug.cgi?id=71100
2767
2768         Reviewed by James Robinson.
2769
2770         * tests/CCSchedulerStateMachineTest.cpp:
2771         (WebCore::StateMachine::setUpdateMoreResourcesPending):
2772         (WebCore::StateMachine::updateMoreResourcesPending):
2773         (WebCore::TEST):
2774         * tests/CCSchedulerTest.cpp:
2775
2776 2011-10-31  Joshua Bell  <jsbell@chromium.org>
2777
2778         IndexedDB: Remove null key support (part 2)
2779         https://bugs.webkit.org/show_bug.cgi?id=71132
2780
2781         Reviewed by Darin Fisher.
2782
2783         * public/WebIDBKey.h:
2784         * src/AssertMatchingEnums.cpp:
2785         * src/WebIDBKey.cpp:
2786
2787 2011-10-31  Pavel Feldman  <pfeldman@google.com>
2788
2789         Web Inspector: move localization support into UIUtil.js, reduce externs.
2790         https://bugs.webkit.org/show_bug.cgi?id=71220
2791
2792         Reviewed by Yury Semikhatsky.
2793
2794         * src/js/DevTools.js:
2795
2796 2011-10-31  Adam Barth  <abarth@webkit.org>
2797
2798         [Chromium] The Chromium port calls OwnPtr::get and RefPtr::get way more often than needed
2799         https://bugs.webkit.org/show_bug.cgi?id=71205
2800
2801         Reviewed by Ryosuke Niwa.
2802
2803         WebKit style is to use the implicit Boolean conversions rather than
2804         calling get() on these pointer types.  This patch cleans up most (all?)
2805         of these style issues in the Chromium port in the hopes that they'll be
2806         copy/pasted less in the future.
2807
2808         * src/ApplicationCacheHostInternal.h:
2809         (WebCore::ApplicationCacheHostInternal::toWebApplicationCacheHost):
2810         * src/AudioDestinationChromium.cpp:
2811         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
2812         (WebCore::AudioDestinationChromium::start):
2813         (WebCore::AudioDestinationChromium::stop):
2814         * src/FrameLoaderClientImpl.cpp:
2815         (WebKit::FrameLoaderClientImpl::setMainDocumentError):
2816         (WebKit::FrameLoaderClientImpl::committedLoad):
2817         (WebKit::FrameLoaderClientImpl::finishedLoading):
2818         (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
2819         * src/PlatformMessagePortChannel.cpp:
2820         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
2821         * src/ResourceHandle.cpp:
2822         (WebCore::ResourceHandleInternal::start):
2823         (WebCore::ResourceHandle::loadResourceSynchronously):
2824         * src/SocketStreamHandle.cpp:
2825         (WebCore::SocketStreamHandleInternal::connect):
2826         (WebCore::SocketStreamHandleInternal::send):
2827         (WebCore::SocketStreamHandleInternal::didOpenStream):
2828         (WebCore::SocketStreamHandleInternal::didSendData):
2829         (WebCore::SocketStreamHandleInternal::didReceiveData):
2830         (WebCore::SocketStreamHandleInternal::didClose):
2831         (WebCore::SocketStreamHandleInternal::didFail):
2832         (WebCore::SocketStreamHandle::platformSend):
2833         (WebCore::SocketStreamHandle::platformClose):
2834         * src/WebAccessibilityObject.cpp:
2835         (WebKit::WebAccessibilityObject::hitTest):
2836         * src/WebFrameImpl.cpp:
2837         (WebKit::WebFrameImpl::findChildByExpression):
2838         (WebKit::WebFrameImpl::loadHistoryItem):
2839         (WebKit::WebFrameImpl::characterIndexForPoint):
2840         (WebKit::WebFrameImpl::selectionAsText):
2841         (WebKit::WebFrameImpl::selectionAsMarkup):
2842         (WebKit::WebFrameImpl::getPrintPageShrink):
2843         (WebKit::WebFrameImpl::printPage):
2844         (WebKit::WebFrameImpl::printEnd):
2845         (WebKit::WebFrameImpl::scopeStringMatches):
2846         * src/WebIDBKey.cpp:
2847         (WebKit::WebIDBKey::type):
2848         * src/WebIDBKeyRange.cpp:
2849         (WebKit::WebIDBKeyRange::lower):
2850         (WebKit::WebIDBKeyRange::upper):
2851         (WebKit::WebIDBKeyRange::lowerOpen):
2852         (WebKit::WebIDBKeyRange::upperOpen):
2853         * src/WebImageCG.cpp:
2854         (WebKit::WebImage::WebImage):
2855         (WebKit::WebImage::operator=):
2856         * src/WebMediaPlayerClientImpl.cpp:
2857         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
2858         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
2859         (WebKit::WebMediaPlayerClientImpl::repaint):
2860         (WebKit::WebMediaPlayerClientImpl::loadInternal):
2861         (WebKit::WebMediaPlayerClientImpl::cancelLoad):
2862         (WebKit::WebMediaPlayerClientImpl::play):
2863         (WebKit::WebMediaPlayerClientImpl::pause):
2864         (WebKit::WebMediaPlayerClientImpl::sourceAppend):
2865         (WebKit::WebMediaPlayerClientImpl::sourceEndOfStream):
2866         (WebKit::WebMediaPlayerClientImpl::naturalSize):
2867         (WebKit::WebMediaPlayerClientImpl::hasVideo):
2868         (WebKit::WebMediaPlayerClientImpl::hasAudio):
2869         (WebKit::WebMediaPlayerClientImpl::setVisible):
2870         (WebKit::WebMediaPlayerClientImpl::duration):
2871         (WebKit::WebMediaPlayerClientImpl::currentTime):
2872         (WebKit::WebMediaPlayerClientImpl::seek):
2873         (WebKit::WebMediaPlayerClientImpl::seeking):
2874         (WebKit::WebMediaPlayerClientImpl::setEndTime):
2875         (WebKit::WebMediaPlayerClientImpl::setRate):
2876         (WebKit::WebMediaPlayerClientImpl::paused):
2877         (WebKit::WebMediaPlayerClientImpl::supportsFullscreen):
2878         (WebKit::WebMediaPlayerClientImpl::supportsSave):
2879         (WebKit::WebMediaPlayerClientImpl::setVolume):
2880         (WebKit::WebMediaPlayerClientImpl::networkState):
2881         (WebKit::WebMediaPlayerClientImpl::readyState):
2882         (WebKit::WebMediaPlayerClientImpl::maxTimeSeekable):
2883         (WebKit::WebMediaPlayerClientImpl::buffered):
2884         (WebKit::WebMediaPlayerClientImpl::dataRate):
2885         (WebKit::WebMediaPlayerClientImpl::totalBytesKnown):
2886         (WebKit::WebMediaPlayerClientImpl::totalBytes):
2887         (WebKit::WebMediaPlayerClientImpl::bytesLoaded):
2888         (WebKit::WebMediaPlayerClientImpl::setSize):
2889         (WebKit::WebMediaPlayerClientImpl::paintCurrentFrameInContext):
2890         (WebKit::WebMediaPlayerClientImpl::setPreload):
2891         (WebKit::WebMediaPlayerClientImpl::hasSingleSecurityOrigin):
2892         (WebKit::WebMediaPlayerClientImpl::movieLoadType):
2893         (WebKit::WebMediaPlayerClientImpl::mediaTimeForTimeValue):
2894         (WebKit::WebMediaPlayerClientImpl::decodedFrameCount):
2895         (WebKit::WebMediaPlayerClientImpl::droppedFrameCount):
2896         (WebKit::WebMediaPlayerClientImpl::audioDecodedByteCount):
2897         (WebKit::WebMediaPlayerClientImpl::videoDecodedByteCount):
2898         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
2899         (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
2900         (WebKit::WebMediaPlayerClientImpl::startDelayedLoad):
2901         * src/WebURLRequest.cpp:
2902         (WebKit::WebURLRequest::extraData):
2903         * src/WebViewImpl.cpp:
2904         (WebKit::WebViewImpl::theme):
2905         (WebKit::WebViewImpl::mainFrameImpl):
2906         (WebKit::WebViewImpl::tabKeyCyclesThroughElements):
2907         (WebKit::WebViewImpl::hideSelectPopup):
2908         (WebKit::WebViewImpl::popupClosed):
2909         (WebKit::WebViewImpl::focusedWebCoreFrame):
2910         (WebKit::WebViewImpl::close):
2911         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2912         (WebKit::WebViewImpl::handleInputEvent):
2913         (WebKit::WebViewImpl::setFocus):
2914         (WebKit::WebViewImpl::compositionRange):
2915         (WebKit::WebViewImpl::caretOrSelectionRange):
2916         (WebKit::WebViewImpl::settings):
2917         (WebKit::WebViewImpl::pageEncoding):
2918         (WebKit::WebViewImpl::setPageEncoding):
2919         (WebKit::WebViewImpl::setInitialFocus):
2920         (WebKit::WebViewImpl::clearFocusedNode):
2921         (WebKit::WebViewImpl::copyImageAt):
2922         (WebKit::WebViewImpl::dragTargetDragEnter):
2923         (WebKit::WebViewImpl::dragTargetDragLeave):
2924         (WebKit::WebViewImpl::dragTargetDrop):
2925         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
2926         (WebKit::WebViewImpl::inspectElementAt):
2927         (WebKit::WebViewImpl::applyAutofillSuggestions):
2928         * src/WebWorkerBase.cpp:
2929         (WebKit::WebWorkerBase::postMessageTask):
2930         * src/WorkerAsyncFileSystemChromium.cpp:
2931         (WebCore::WorkerAsyncFileSystemChromium::waitForOperationToComplete):
2932         (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
2933
2934 2011-10-31  Vangelis Kokkevis  <vangelis@chromium.org>
2935
2936         Add missing declaration in WebSettings.h
2937         https://bugs.webkit.org/show_bug.cgi?id=71165
2938
2939         Reviewed by Darin Fisher.
2940
2941         * public/WebSettings.h:
2942
2943 2011-10-29  Jochen Eisinger  <jochen@chromium.org>
2944
2945         Implement IDBFactory.deleteDatabase
2946         https://bugs.webkit.org/show_bug.cgi?id=62622
2947
2948         Reviewed by Tony Chang.
2949
2950         * src/IDBFactoryBackendProxy.cpp:
2951         (WebKit::IDBFactoryBackendProxy::deleteDatabase):
2952         * src/IDBFactoryBackendProxy.h:
2953         * src/WebIDBFactoryImpl.cpp:
2954         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
2955         (WebKit::WebIDBFactoryImpl::open):
2956         (WebKit::WebIDBFactoryImpl::deleteDatabase):
2957         * src/WebIDBFactoryImpl.h:
2958
2959 2011-10-28  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2960  
2961         Add support for sending scroll-update events from EventSender.
2962         https://bugs.webkit.org/show_bug.cgi?id=66272
2963
2964         Reviewed by Adam Barth.
2965
2966         * public/WebInputEvent.h:
2967         (WebKit::WebGestureEvent::WebGestureEvent):
2968         * src/WebInputEventConversion.cpp:
2969         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2970         * src/WebPopupMenuImpl.cpp:
2971         (WebKit::WebPopupMenuImpl::handleInputEvent):
2972         * src/WebViewImpl.cpp:
2973         (WebKit::WebViewImpl::handleInputEvent):
2974
2975 2011-10-28  James Robinson  <jamesr@chromium.org>
2976
2977         [chromium] Track wheel event handler registration and pass to input filter
2978         https://bugs.webkit.org/show_bug.cgi?id=71078
2979
2980         Reviewed by Kenneth Russell.
2981
2982         Pushes mouse wheel event handler notifications to CCLayerTreeHost when compositing.
2983
2984         * src/ChromeClientImpl.cpp:
2985         (WebKit::ChromeClientImpl::numWheelEventHandlersChanged):
2986         * src/WebCompositorImpl.cpp:
2987         (WebKit::WebCompositorImpl::handleInputEvent):
2988         * src/WebViewImpl.cpp:
2989         (WebKit::WebViewImpl::numberOfWheelEventHandlersChanged):
2990         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2991         * src/WebViewImpl.h:
2992
2993 2011-10-28  Jochen Eisinger  <jochen@chromium.org>
2994
2995         Rename a number of methods mentioning JavaScript to just Script instead
2996         https://bugs.webkit.org/show_bug.cgi?id=71105
2997
2998         Reviewed by Adam Barth.
2999
3000         * src/FrameLoaderClientImpl.cpp:
3001         (WebKit::FrameLoaderClientImpl::allowScript):
3002         * src/FrameLoaderClientImpl.h:
3003         * src/WebFrameImpl.cpp:
3004         (WebKit::WebFrameImpl::collectGarbage):
3005         * src/WebSettingsImpl.cpp:
3006         (WebKit::WebSettingsImpl::setJavaScriptEnabled):
3007
3008 2011-10-28  Adam Barth  <abarth@webkit.org>
3009
3010         Remove getExceptionCodeDescription()
3011         https://bugs.webkit.org/show_bug.cgi?id=71103
3012
3013         Reviewed by Eric Seidel.
3014
3015         Migrate to new API.
3016
3017         * src/StorageInfoChromium.cpp:
3018         * src/WebStorageQuotaCallbacksImpl.cpp:
3019         (WebKit::WebStorageQuotaCallbacksImpl::didFail):
3020
3021 2011-10-28  Hans Wennborg  <hans@chromium.org>
3022
3023         IndexedDB: Clean-up unused functions in WebIDBFactory
3024         https://bugs.webkit.org/show_bug.cgi?id=71011
3025
3026         Reviewed by Tony Chang.
3027
3028         This is a clean-up after r97453. Since Chromium was updated,
3029         these functions are no longer used.
3030
3031         * public/WebIDBFactory.h:
3032         (WebKit::WebIDBFactory::getDatabaseNames):
3033         (WebKit::WebIDBFactory::open):
3034
3035 2011-10-28  Sheriff Bot  <webkit.review.bot@gmail.com>
3036
3037         Unreviewed.  Rolled DEPS.
3038
3039         * DEPS:
3040
3041 2011-10-28  Jochen Eisinger  <jochen@chromium.org>
3042
3043         Add allowScriptFromSource callback to FrameLoaderClient
3044         https://bugs.webkit.org/show_bug.cgi?id=71013
3045
3046         Reviewed by Darin Fisher.
3047
3048         * public/WebPermissionClient.h:
3049         (WebKit::WebPermissionClient::allowScriptFromSource):
3050         * src/FrameLoaderClientImpl.cpp:
3051         (WebKit::FrameLoaderClientImpl::allowScriptFromSource):
3052         * src/FrameLoaderClientImpl.h:
3053
3054 2011-10-26  Nat Duca  <nduca@chromium.org>
3055
3056         [chromium] Implement frame rate control portions of CCScheduler
3057         https://bugs.webkit.org/show_bug.cgi?id=70713
3058
3059         Reviewed by James Robinson.
3060
3061         * WebKit.gypi:
3062         * tests/CCDelayBasedTimeSourceTest.cpp: Added.
3063         (WebKitTests::TEST):
3064         * tests/CCFrameRateControllerTest.cpp: Added.
3065         (WebKitTests::FakeCCFrameRateControllerClient::FakeCCFrameRateControllerClient):
3066         (WebKitTests::FakeCCFrameRateControllerClient::reset):
3067         (WebKitTests::FakeCCFrameRateControllerClient::frameBegun):
3068         (WebKitTests::FakeCCFrameRateControllerClient::beginFrame):
3069         (WebKitTests::TEST):
3070         * tests/CCLayerTreeHostTest.cpp:
3071         * tests/CCSchedulerTestCommon.h: Added.
3072         (WebKitTests::FakeCCTimeSourceClient::FakeCCTimeSourceClient):
3073         (WebKitTests::FakeCCTimeSourceClient::reset):
3074         (WebKitTests::FakeCCTimeSourceClient::tickCalled):
3075         (WebKitTests::FakeCCTimeSourceClient::onTimerTick):
3076         (WebKitTests::FakeCCThread::FakeCCThread):
3077         (WebKitTests::FakeCCThread::reset):
3078         (WebKitTests::FakeCCThread::hasPendingTask):
3079         (WebKitTests::FakeCCThread::runPendingTask):
3080         (WebKitTests::FakeCCThread::pendingDelay):
3081         (WebKitTests::FakeCCThread::postTask):
3082         (WebKitTests::FakeCCThread::postDelayedTask):
3083         (WebKitTests::FakeCCThread::threadID):
3084         (WebKitTests::FakeCCDelayBasedTimeSource::FakeCCDelayBasedTimeSource):
3085         (WebKitTests::FakeCCDelayBasedTimeSource::setMonotonicallyIncreasingTime):
3086         (WebKitTests::FakeCCDelayBasedTimeSource::monotonicallyIncreasingTime):
3087
3088 2011-10-27  Vangelis Kokkevis  <vangelis@chromium.org>
3089
3090         Expose Settings::setAcceleratedCompositingForFixedPositionEnabled to WebSettingsImpl.
3091         https://bugs.webkit.org/show_bug.cgi?id=71077
3092
3093         Reviewed by James Robinson.
3094
3095         * src/WebSettingsImpl.cpp:
3096         (WebKit::WebSettingsImpl::setAcceleratedCompositingForFixedPositionEnabled):
3097         * src/WebSettingsImpl.h:
3098
3099 2011-10-27  Peng Huang  <penghuang@chromium.org>
3100
3101         [chromium] Remove some APIs which are not used anymore.
3102         https://bugs.webkit.org/show_bug.cgi?id=71068
3103
3104         Reviewed by Darin Fisher.
3105
3106         * public/WebWidget.h:
3107         * src/WebPopupMenuImpl.cpp:
3108         * src/WebPopupMenuImpl.h:
3109         * src/WebViewImpl.cpp:
3110         * src/WebViewImpl.h:
3111
3112 2011-10-27  Shawn Singh  <shawnsingh@chromium.org>
3113
3114         [chromium] Track when CCLayerImpl properties have changed.
3115         https://bugs.webkit.org/show_bug.cgi?id=70442
3116
3117         Reviewed by James Robinson.
3118
3119         * WebKit.gypi:
3120         * tests/CCLayerImplTest.cpp: Added.
3121         (WebCore::TEST):
3122
3123 2011-10-27  Vsevolod Vlasov  <vsevik@chromium.org>
3124
3125         Web Inspector: HTTP headers merged incorrect in Chrome
3126         https://bugs.webkit.org/show_bug.cgi?id=69674
3127
3128         Reviewed by Pavel Feldman.
3129
3130         * src/WebHTTPLoadInfo.cpp:
3131         (WebKit::addHeader):
3132
3133 2011-10-27  Stephen Chenney  <schenney@chromium.org>
3134
3135         [Chromium] Need setPrinting
3136         https://bugs.webkit.org/show_bug.cgi?id=46152
3137
3138         Reviewed by Hajime Morita.
3139
3140         * public/WebFrame.h: Added pure virtual prototype for printPagesWithBoundaries. Added enum
3141         and changed parameters for renderTreeAsText.
3142         * src/WebFrameImpl.cpp:
3143         (WebKit::ChromePrintContext::spoolAllPagesWithBoundaries): Added this method, based on
3144         the static in PrintContext. This uses Chromium specific page spooling and transforms.
3145         (WebKit::WebFrameImpl::renderTreeAsText): Updated to allow text dump in printed format.
3146         (WebKit::WebFrameImpl::printPagesWithBoundaries): Added method for testing printing page
3147         breaks.
3148         * src/WebFrameImpl.h: Added prototype.
3149
3150 2011-10-27  Antoine Labour  <piman@chromium.org>
3151
3152         Fix teardown in Web*LayerImpl, and add tests for Web*Layer
3153         https://bugs.webkit.org/show_bug.cgi?id=70431
3154
3155         Reviewed by James Robinson.
3156
3157         * src/WebContentLayerImpl.cpp:
3158         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
3159         * src/WebExternalTextureLayerImpl.cpp:
3160         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
3161         * src/WebLayerImpl.cpp:
3162         (WebKit::WebLayerImpl::~WebLayerImpl):
3163
3164 2011-10-24  Nat Duca  <nduca@chromium.org>
3165
3166         [chromium] Encapsulate state machine parts of scheduling in CCSchedulerStateMachine
3167         https://bugs.webkit.org/show_bug.cgi?id=70714
3168
3169         Reviewed by James Robinson.
3170
3171         * WebKit.gypi:
3172         * tests/CCSchedulerStateMachineTest.cpp: Added.
3173         (WebCore::StateMachine::setCommitState):
3174         (WebCore::StateMachine::commitState):
3175         (WebCore::StateMachine::setNeedsCommit):
3176         (WebCore::StateMachine::needsCommit):
3177         (WebCore::StateMachine::setNeedsRedraw):
3178         (WebCore::StateMachine::needsRedraw):
3179         (WebCore::StateMachine::setUpdatedThisFrame):
3180         (WebCore::StateMachine::updatedThisFrame):
3181         (WebCore::TEST):
3182
3183 2011-10-27  Nat Duca  <nduca@chromium.org>
3184
3185         Unreviewed, rolling out r98612.
3186         http://trac.webkit.org/changeset/98612
3187         https://bugs.webkit.org/show_bug.cgi?id=70714
3188
3189         Broke build
3190
3191         * WebKit.gypi:
3192         * tests/CCSchedulerStateMachineTest.cpp: Removed.
3193
3194 2011-10-24  Nat Duca  <nduca@chromium.org>
3195
3196         [chromium] Encapsulate state machine parts of scheduling in CCSchedulerStateMachine
3197         https://bugs.webkit.org/show_bug.cgi?id=70714
3198
3199         Reviewed by James Robinson.
3200
3201         * WebKit.gypi:
3202         * tests/CCSchedulerStateMachineTest.cpp: Added.
3203         (WebCore::StateMachine::setCommitState):
3204         (WebCore::StateMachine::commitState):
3205         (WebCore::StateMachine::setNeedsCommit):
3206         (WebCore::StateMachine::needsCommit):
3207         (WebCore::StateMachine::setNeedsRedraw):
3208         (WebCore::StateMachine::needsRedraw):
3209         (WebCore::StateMachine::setUpdatedThisFrame):
3210         (WebCore::StateMachine::updatedThisFrame):
3211         (WebCore::TEST):
3212
3213 2011-10-27  Dave Michael  <dmichael@chromium.org>
3214
3215         Chromium ui_tests WorkerTest.WorkerMessagePort[GC] were broken by https://bugs.webkit.org/attachment.cgi?id=112342
3216         https://bugs.webkit.org/show_bug.cgi?id=70953
3217
3218         Reviewed by David Levin.
3219
3220         * src/PlatformMessagePortChannel.cpp:
3221         (WebCore::PlatformMessagePortChannel::hasPendingActivity):
3222
3223 2011-10-27  Aaron Colwell  <acolwell@chromium.org>
3224
3225         Enable MEDIA_SOURCE feature for Chromium
3226         https://bugs.webkit.org/show_bug.cgi?id=70745
3227
3228         Reviewed by David Levin.
3229
3230         * features.gypi:
3231
3232 2011-10-26  Chris Rogers  <crogers@google.com>
3233
3234         Add chromium bridging for AudioSourceProviderClient and setFormat() method so we can know audio stream format
3235         https://bugs.webkit.org/show_bug.cgi?id=70650
3236
3237         Reviewed by Darin Fisher.
3238
3239         * WebKit.gyp:
3240         * public/WebAudioSourceProvider.h:
3241         (WebKit::WebAudioSourceProvider::setClient):
3242         * public/WebAudioSourceProviderClient.h: Copied from Source/WebKit/chromium/public/WebAudioSourceProvider.h.
3243         (WebKit::WebAudioSourceProviderClient::~WebAudioSourceProviderClient):
3244         * public/WebMediaPlayer.h:
3245         * src/WebMediaPlayerClientImpl.cpp:
3246         (WebKit::WebMediaPlayerClientImpl::loadInternal):
3247         (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
3248         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::wrap):
3249         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::setClient):
3250         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::provideInput):
3251         (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::setFormat):
3252         * src/WebMediaPlayerClientImpl.h:
3253         (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::AudioClientImpl):
3254         (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::~AudioClientImpl):
3255         (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::wrap):
3256
3257 2011-10-25  Stephen White  <senorblanco@chromium.org>
3258
3259         [chromium] Canvas2D should rate-limit drawing to prevent swamping the GPU process.
3260         https://bugs.webkit.org/show_bug.cgi?id=70367
3261
3262         * src/GraphicsContext3DChromium.cpp:
3263         (WebCore::GraphicsContext3DPrivate::markContextChanged):
3264         Remove the call to setTextureChanged (it will be handled internally
3265         by the compositor in setContextNeedsDisplay() instead).  This decouples
3266         GraphicsContext3D from WebGLLayerChromium a bit.
3267
3268 2011-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3269
3270         Unreviewed, rolling out r98393.
3271         http://trac.webkit.org/changeset/98393
3272         https://bugs.webkit.org/show_bug.cgi?id=70892
3273
3274         "Compilation is broken on Chromium Webkit Mac Builder (dbg) "
3275         (Requested by yurys on #webkit).
3276
3277         * WebKit.gypi:
3278         * src/WebContentLayerImpl.cpp:
3279         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
3280         (WebKit::WebContentLayerImpl::setDrawsContent):
3281         * src/WebExternalTextureLayerImpl.cpp:
3282         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
3283         * src/WebLayerImpl.cpp:
3284         (WebKit::WebLayerImpl::~WebLayerImpl):
3285         * tests/LayerChromiumTest.cpp:
3286         * tests/WebLayerTest.cpp: Removed.
3287
3288 2011-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3289
3290         Unreviewed, rolling out r98429.
3291         http://trac.webkit.org/changeset/98429
3292         https://bugs.webkit.org/show_bug.cgi?id=70881
3293
3294         "webkit_gpu_tests fail in Chromium" (Requested by yurys on
3295         #webkit).
3296
3297         * public/WebLayerTreeView.h:
3298         * src/WebCompositorImpl.cpp:
3299         (WebKit::WebCompositor::setThread):
3300         * src/WebLayerTreeView.cpp:
3301         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
3302         (WebKit::WebLayerTreeView::composite):
3303         * src/WebLayerTreeViewImpl.cpp:
3304         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
3305         * src/WebViewImpl.cpp:
3306         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3307         * tests/CCLayerTreeHostTest.cpp:
3308         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
3309         (WTF::CCLayerTreeHostTest::runTest):
3310
3311 2011-10-26  Polina Sokolova  <polina@chromium.org>
3312
3313         Remove temporary hack needed to ease Chromium/WebKit commit.
3314         https://bugs.webkit.org/show_bug.cgi?id=70791
3315
3316         Reviewed by Darin Fisher.
3317
3318         * public/WebDocument.h:
3319
3320 2011-10-25  Nat Duca  <nduca@chromium.org>
3321
3322         [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
3323         https://bugs.webkit.org/show_bug.cgi?id=70838
3324
3325         Reviewed by James Robinson.
3326
3327         * public/WebLayerTreeView.h:
3328         * src/WebCompositorImpl.cpp:
3329         * src/WebLayerTreeView.cpp:
3330         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
3331         (WebKit::WebLayerTreeView::composite):
3332         * src/WebLayerTreeViewImpl.cpp:
3333         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
3334         * src/WebViewImpl.cpp:
3335         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3336
3337 2011-10-25  Antoine Labour  <piman@chromium.org>
3338
3339         Fix teardown in Web*LayerImpl, and add tests for Web*Layer
3340         https://bugs.webkit.org/show_bug.cgi?id=70431
3341
3342         Reviewed by James Robinson.
3343
3344         * src/WebContentLayerImpl.cpp:
3345         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
3346         * src/WebExternalTextureLayerImpl.cpp:
3347         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
3348         * src/WebLayerImpl.cpp:
3349         (WebKit::WebLayerImpl::~WebLayerImpl):
3350
3351 2011-10-25  Adam Barth  <abarth@webkit.org>
3352
3353         EventTarget.h shouldn't need to know about every feature and ifdef
3354         https://bugs.webkit.org/show_bug.cgi?id=70659
3355
3356         Reviewed by Darin Adler.
3357
3358         This cast isn't needed because dispatchEvent is a virtual function.
3359
3360         * src/WebSharedWorkerImpl.cpp:
3361         (WebKit::WebSharedWorkerImpl::connectTask):
3362
3363 2011-10-25  Michal Mocny  <mmocny@google.com>
3364
3365         [chromium] WebGraphicsContext3D setVisibilityCHROMIUM extension changed to pure virtual.
3366         https://bugs.webkit.org/show_bug.cgi?id=70818
3367
3368         Reviewed by Kenneth Russell.
3369
3370         * public/WebGraphicsContext3D.h:
3371
3372 2011-10-25  Dave Michael  <dmichael@chromium.org>
3373
3374         Make it possible to create and dispatch a message event through chromium API
3375
3376         Removed messageChannels parameter, since it's hard to get right and I don't need it. Changed message_data->messageData. Reordered includes.
3377
3378         https://bugs.webkit.org/show_bug.cgi?id=69962
3379
3380         Reviewed by David Levin.
3381
3382         * WebKit.gyp:
3383         * public/WebDOMEvent.h:
3384         * public/WebDOMMessageEvent.h: Added.
3385         * public/WebDocument.h:
3386         * public/WebNode.h:
3387         * src/PlatformMessagePortChannel.cpp:
3388         (WebCore::PlatformMessagePortChannel::hasPendingActivity):
3389         * src/WebDOMEvent.cpp:
3390         (WebKit::WebDOMEvent::operator WTF::PassRefPtr<WebCore::Event>):
3391         * src/WebDOMMessageEvent.cpp: Added.
3392         (WebKit::WebDOMMessageEvent::initMessageEvent):
3393         * src/WebDocument.cpp:
3394         (WebKit::WebDocument::createEvent):
3395         * src/WebNode.cpp:
3396         (WebKit::WebNode::dispatchEvent):
3397
3398 2011-10-25  Gene Girard  <girard@chromium.org>
3399
3400         Re-enable touch tests (from 66577)
3401         https://bugs.webkit.org/show_bug.cgi?id=70351
3402
3403         Reviewed by Adam Barth.
3404
3405         * tests/InnerGestureRecognizerTest.cpp:
3406         (TEST_F):
3407
3408 2011-10-25  Nat Duca  <nduca@chromium.org>
3409
3410         Unreviewed. Rolled DEPS.
3411
3412         * DEPS:
3413
3414 2011-10-25  Yury Semikhatsky  <yurys@chromium.org>
3415
3416         Web Inspector: redesign workers sidebar pane
3417         https://bugs.webkit.org/show_bug.cgi?id=70815
3418
3419         Reviewed by Pavel Feldman.
3420
3421         * src/js/DevTools.js: Expose link to shared workers inspection page to WebCore.
3422         ():
3423
3424 2011-10-25  Nico Weber  <thakis@chromium.org>
3425
3426         [chromium] Try to fix mac build after r98294
3427         https://bugs.webkit.org/show_bug.cgi?id=70753
3428
3429         Remove test for ScrollAnimatorNone on mac.
3430
3431         Unreviewed, build fix.
3432
3433         * WebKit.gypi:
3434
3435 2011-10-24  Geoffrey Garen  <ggaren@apple.com>
3436
3437         Removed SharedUChar and tightened language around its previous uses
3438         https://bugs.webkit.org/show_bug.cgi?id=70698
3439
3440         Reviewed by David Levin.
3441
3442         - Renamed "threadSafeCopy" and "crossThreadCopy" to "isolatedCopy" because
3443         the former names gave the dangerous misimpression that the resulting object
3444         was thread-safe, which is not true.
3445
3446
3447         * src/WorkerFileSystemCallbacksBridge.cpp:
3448
3449 2011-10-24  Sheriff Bot  <webkit.review.bot@gmail.com>
3450
3451         Unreviewed, rolling out r98294 and r98306.
3452         http://trac.webkit.org/changeset/98294
3453         http://trac.webkit.org/changeset/98306
3454         https://bugs.webkit.org/show_bug.cgi?id=70790
3455
3456         the first patch broke chromium-mac and the second gclient
3457         (Requested by jchaffraix on #webkit).
3458
3459         * WebKit.gypi:
3460
3461 2011-10-24  Nico Weber  <thakis@chromium.org>
3462
3463         [chromium] Try to fix mac build after r98294
3464         https://bugs.webkit.org/show_bug.cgi?id=70785
3465
3466         Remove test for ScrollAnimatorNone on mac.
3467
3468         Unreviewed, build fix.
3469
3470         * WebKit.gypi:
3471
3472 2011-10-24  Sheriff Bot  <webkit.review.bot@gmail.com>
3473
3474         Unreviewed, rolling out r98266.
3475         http://trac.webkit.org/changeset/98266
3476         https://bugs.webkit.org/show_bug.cgi?id=70767
3477
3478         Broke the chromium build. (Requested by dave_levin on
3479         #webkit).
3480
3481         * features.gypi:
3482
3483 2011-10-21  Nat Duca  <nduca@chromium.org>
3484
3485         [chromium] Add isTraceEventEnabled to PlatformSupport.
3486         https://bugs.webkit.org/show_bug.cgi?id=70618
3487
3488         Reviewed by Darin Fisher.
3489
3490         * public/WebKitPlatformSupport.h:
3491         (WebKit::WebKitPlatformSupport::isTraceEventEnabled):
3492         * src/PlatformSupport.cpp:
3493         (WebCore::PlatformSupport::isTraceEventEnabled):
3494
3495 2011-10-24  Joshua Bell  <jsbell@chromium.org>
3496
3497         IndexedDB: Throw DATA_ERR on invalid keys, remove null key support
3498         https://bugs.webkit.org/show_bug.cgi?id=70065
3499
3500         Reviewed by Tony Chang.
3501
3502         Part 1 of a two-sided commit. Renames IDBKey::NullType to
3503         IDBKey::InvalidType. JS binding yields this type rather
3504         than throwing immediately so the correct exception type can
3505         be raised. Checks for invalid keys added to front-end classes.
3506
3507         * src/AssertMatchingEnums.cpp:
3508         * src/WebIDBKey.cpp:
3509         (WebKit::WebIDBKey::assignNull):
3510
3511 2011-10-24  Nat Duca  <nduca@chromium.org>
3512
3513         [chromium] Expose WebThread::postDelayedTask to CCThread
3514         https://bugs.webkit.org/show_bug.cgi?id=70712
3515
3516         Reviewed by James Robinson.
3517
3518         * src/CCThreadImpl.cpp:
3519         (WebKit::CCThreadImpl::postDelayedTask):
3520         * src/CCThreadImpl.h:
3521
3522 2011-10-24  Nat Duca  <nduca@chromium.org>
3523
3524         [chromium] Manage webkit_unit_tests TestSuite lifetime explicitly in DLL build
3525         https://bugs.webkit.org/show_bug.cgi?id=70688
3526
3527         Reviewed by Tony Chang.
3528
3529         * tests/RunAllTests.cpp:
3530         (main):
3531         * tests/WebUnitTests.cpp:
3532         (WebKit::InitTestSuite):
3533         (WebKit::RunAllUnitTests):
3534         (WebKit::DeleteTestSuite):
3535         * tests/WebUnitTests.h:
3536
3537 2011-10-24  Aaron Colwell  <acolwell@chromium.org>
3538
3539         Enable MEDIA_SOURCE feature for Chromium
3540         https://bugs.webkit.org/show_bug.cgi?id=70745
3541
3542         Reviewed by David Levin.
3543
3544         * features.gypi:
3545
3546 2011-10-24  Yury Semikhatsky  <yurys@chromium.org>
3547
3548         Web Inspector: allow debugging dedicated worker initialization
3549         https://bugs.webkit.org/show_bug.cgi?id=70723
3550
3551         Pass worker thread start mode to the worker thread.
3552
3553         Reviewed by Pavel Feldman.
3554
3555         * src/WebWorkerClientImpl.cpp:
3556         (WebKit::WebWorkerClientImpl::startWorkerContext):
3557         * src/WebWorkerClientImpl.h:
3558
3559 2011-10-24  Sheriff Bot  <webkit.review.bot@gmail.com>
3560
3561         Unreviewed.  Rolled DEPS.
3562
3563         * DEPS:
3564
3565 2011-10-21  Nat Duca  <nduca@chromium.org>
3566
3567         [chromium] Make setVisibility extension- and thread-correct
3568         https://bugs.webkit.org/show_bug.cgi?id=70635
3569
3570         Reviewed by Kenneth Russell.
3571
3572         * public/WebGraphicsContext3D.h:
3573         (WebKit::WebGraphicsContext3D::setVisibilityCHROMIUM):
3574         * src/Extensions3DChromium.cpp:
3575         (WebCore::Extensions3DChromium::setVisibilityCHROMIUM):
3576         * src/GraphicsContext3DChromium.cpp:
3577         * src/GraphicsContext3DPrivate.h:
3578         * src/WebViewImpl.cpp:
3579         (WebKit::WebViewImpl::setVisibilityState):
3580
3581 2011-10-21  Adam Barth  <abarth@webkit.org>
3582
3583         Introduce Event::hasInterface to make uses of interfaceName more readable
3584         https://bugs.webkit.org/show_bug.cgi?id=70652
3585
3586         Reviewed by Eric Seidel.
3587
3588         Update call sites to the new interface.
3589
3590         * src/WebDOMEvent.cpp:
3591         (WebKit::WebDOMEvent::isMutationEvent):
3592         (WebKit::WebDOMEvent::isTextEvent):
3593         (WebKit::WebDOMEvent::isCompositionEvent):
3594         (WebKit::WebDOMEvent::isMessageEvent):
3595         (WebKit::WebDOMEvent::isWheelEvent):
3596         (WebKit::WebDOMEvent::isOverflowEvent):
3597         (WebKit::WebDOMEvent::isPageTransitionEvent):
3598         (WebKit::WebDOMEvent::isPopStateEvent):
3599         (WebKit::WebDOMEvent::isProgressEvent):
3600         (WebKit::WebDOMEvent::isXMLHttpRequestProgressEvent):
3601         (WebKit::WebDOMEvent::isWebKitAnimationEvent):
3602         (WebKit::WebDOMEvent::isWebKitTransitionEvent):
3603         (WebKit::WebDOMEvent::isBeforeLoadEvent):
3604         * src/WebPluginContainerImpl.cpp:
3605         (WebKit::WebPluginContainerImpl::handleEvent):
3606
3607 2011-10-21  Adam Barth  <abarth@webkit.org>
3608
3609         Event.h has too many virtual isMumbleEvent() functions
3610         https://bugs.webkit.org/show_bug.cgi?id=70636
3611
3612         Reviewed by Dimitri Glazkov.
3613
3614         Update these callsites to the new API.
3615
3616         * src/WebDOMEvent.cpp:
3617         (WebKit::WebDOMEvent::isKeyboardEvent):
3618         (WebKit::WebDOMEvent::isMutationEvent):
3619         (WebKit::WebDOMEvent::isTextEvent):
3620         (WebKit::WebDOMEvent::isCompositionEvent):
3621         (WebKit::WebDOMEvent::isClipboardEvent):
3622         (WebKit::WebDOMEvent::isMessageEvent):
3623         (WebKit::WebDOMEvent::isWheelEvent):
3624         (WebKit::WebDOMEvent::isBeforeTextInsertedEvent):
3625         (WebKit::WebDOMEvent::isOverflowEvent):
3626         (WebKit::WebDOMEvent::isPageTransitionEvent):
3627         (WebKit::WebDOMEvent::isProgressEvent):
3628         (WebKit::WebDOMEvent::isBeforeLoadEvent):
3629
3630 2011-10-20  Zhenyao Mo  <zmo@google.com>
3631
3632         Implement mechanism to enable privileged webgl extensions
3633         https://bugs.webkit.org/show_bug.cgi?id=70538
3634
3635         Reviewed by Darin Fisher.
3636
3637         * public/WebSettings.h: Add the flag.
3638         * src/WebSettingsImpl.cpp: Ditto.
3639         (WebKit::WebSettingsImpl::setPrivilegedWebGLExtensionsEnabled):
3640         * src/WebSettingsImpl.h: Ditto.
3641
3642 2011-10-21  Yury Semikhatsky  <yurys@chromium.org>
3643
3644         [Chromium] Web Inspector: remove debugger support for out-of-process dedicated workers
3645         https://bugs.webkit.org/show_bug.cgi?id=70602
3646
3647         Now that Chromium uses in-process dedicated workers, remove support for out-of-process
3648         dedicated workers debugger.
3649
3650         Reviewed by Pavel Feldman.
3651
3652         * public/WebWorker.h:
3653         * src/WebWorkerClientImpl.cpp:
3654         (WebKit::WebWorkerClientImpl::connectToInspector):
3655         (WebKit::WebWorkerClientImpl::disconnectFromInspector):
3656         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
3657         * src/WebWorkerClientImpl.h:
3658         * src/WebWorkerImpl.cpp:
3659         * src/WebWorkerImpl.h:
3660
3661 2011-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
3662
3663         Unreviewed.  Rolled DEPS.
3664
3665         * DEPS:
3666
3667 2011-10-20  Fady Samuel  <fsamuel@chromium.org>
3668
3669         [Chromium] Fixed Layout API needs to check that a FrameView has been created to avoid segfaults
3670         https://bugs.webkit.org/show_bug.cgi?id=70519
3671
3672         Reviewed by Adam Barth.
3673
3674         Simple patch. Upcoming patches for https://bugs.webkit.org/show_bug.cgi?id=70559 will make
3675         use of these methods in certain situations where the main frame doesn't yet have a FrameView.
3676
3677         * src/WebViewImpl.cpp:
3678         (WebKit::WebViewImpl::isFixedLayoutModeEnabled):
3679         (WebKit::WebViewImpl::enableFixedLayoutMode):
3680         (WebKit::WebViewImpl::fixedLayoutSize):
3681         (WebKit::WebViewImpl::setFixedLayoutSize):
3682
3683 2011-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
3684
3685         Unreviewed.  Rolled DEPS.
3686
3687         * DEPS:
3688
3689 2011-10-20  Darin Adler  <darin@apple.com>
3690
3691         Remove OptionElement (first half)
3692         https://bugs.webkit.org/show_bug.cgi?id=70276
3693
3694         Reviewed by Kent Tamura.
3695
3696         Update hand-written binding for option element so it does not depend on otherwise-unneeded functions.
3697
3698         * src/WebOptionElement.cpp:
3699         (WebKit::WebOptionElement::defaultSelected): Call hasAttribute.
3700         (WebKit::WebOptionElement::setDefaultSelected): Call setAttribute.
3701
3702         * src/WebSearchableFormData.cpp:
3703         (HTMLNames::IsSelectInDefaultState): Call hasAttribute.
3704
3705 2011-10-20  Nico Weber  <thakis@chromium.org>
3706
3707         [chromium/mac] Add support for building with make
3708         https://bugs.webkit.org/show_bug.cgi?id=70455
3709
3710         Reviewed by Adam Barth.
3711
3712         Depends on http://codereview.chromium.org/8352029/
3713         `GYP_GENERATORS=make Tools/Scripts/update-webkit --chromium` will
3714         create a toplevel Makefile.chromium.
3715
3716         If that file exists and is newer than Source/WebKit/chromium/WebKit.xcodeproj,
3717         `Tools/Scripts/build-webkit --chromium` will build with make instead of
3718         xcodebuild.
3719
3720         * gyp_webkit:
3721 2011-10-20  Nat Duca  <nduca@chromium.org>
3722
3723         [chromium] Route onSwapBuffersComplete from LayerRenderer to CCScheduler.
3724
3725         Reviewed by James Robinson.
3726
3727         * src/GraphicsContext3DChromium.cpp:
3728         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
3729         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
3730         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
3731         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::create):
3732         (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
3733         * src/GraphicsContext3DPrivate.h:
3734         * tests/CCLayerTreeHostImplTest.cpp:
3735         (WebCore::CCLayerTreeHostImplTest::onSwapBuffersCompleteOnImplThread):
3736         * tests/CCSchedulerTest.cpp:
3737         (WebCore::CCSchedulerTest::CCSchedulerTest):
3738         (WebCore::TEST_F):
3739
3740 2011-10-20  Michal Mocny  <mmocny@google.com>
3741
3742         [chromium] Add a setVisibility method to WebGraphicsContext3D.
3743         https://bugs.webkit.org/show_bug.cgi?id=68905
3744
3745         Reviewed by Kenneth Russell.
3746
3747         Added hooks for notifying WebGraphicsContext3D of surface visibility changes.
3748         Useful for releasing various graphics resource.
3749
3750         * DEPS:
3751         * public/WebGraphicsContext3D.h:
3752         * src/WebViewImpl.cpp:
3753         (WebKit::WebViewImpl::setVisibilityState):
3754         * tests/MockWebGraphicsContext3D.h:
3755         (WebKit::MockWebGraphicsContext3D::setVisibility):
3756
3757 2011-10-20  Antoine Labour  <piman@chromium.org>
3758
3759         Export missing symbols from Web*Layer
3760         https://bugs.webkit.org/show_bug.cgi?id=70440
3761
3762         Reviewed by Darin Fisher.
3763
3764         * public/WebContentLayer.h:
3765         * public/WebExternalTextureLayer.h:
3766         * public/WebLayer.h:
3767         * public/WebLayerTreeView.h:
3768
3769 2011-10-17  Nat Duca  <nduca@chromium.org>
3770
3771         [chromium] Allow CCLayerTreeHostImpl to call back to proxy via CCLayerTreeHostImplClient
3772         https://bugs.webkit.org/show_bug.cgi?id=70291
3773
3774         Reviewed by James Robinson.
3775
3776         * tests/CCLayerTreeHostImplTest.cpp:
3777         (WebCore::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
3778         (WebCore::CCLayerTreeHostImplTest::setNeedsRedrawOnImplThread):
3779         (WebCore::CCLayerTreeHostImplTest::setNeedsCommitOnImplThread):
3780         (WebCore::TEST_F):
3781         * tests/CCLayerTreeHostTest.cpp:
3782         (WTF::MockLayerTreeHostImpl::create):
3783         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
3784         (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
3785
3786 2011-10-20  Vincent Scheib  <scheib@chromium.org>
3787
3788         MouseLock compile and run time flags.
3789         https://bugs.webkit.org/show_bug.cgi?id=70530
3790
3791         Reviewed by Darin Fisher.
3792
3793         * features.gypi:
3794         * public/WebRuntimeFeatures.h:
3795         * public/WebSettings.h:
3796         * src/WebRuntimeFeatures.cpp:
3797         (WebKit::WebRuntimeFeatures::enableMouseLockAPI):
3798         (WebKit::WebRuntimeFeatures::isMouseLockAPIEnabled):
3799         * src/WebSettingsImpl.cpp:
3800         (WebKit::WebSettingsImpl::setMouseLockEnabled):
3801         * src/WebSettingsImpl.h:
3802
3803 2011-10-20  Hao Zheng  <zhenghao@chromium.org>
3804
3805         [Chromium] Reduce dependencies of ImageDiff to compile it for Android.
3806         https://bugs.webkit.org/show_bug.cgi?id=69997
3807
3808         Reviewed by Tony Chang.
3809
3810         This change is required to make ImageDiff for Android, and can benefit
3811         other platforms, too. On Android, most targets are built as
3812         toolsets:target. while ImageDiff needs to be built as toolsets:host.
3813         Currently, building the standalone target of ImageDiff depends on about
3814         85 other targets (try  make ImageDiff'), which is inefficient. After the
3815         change, ImageDiff only depends on webkit_support_gfx, which in turn
3816         depends on libpng and zlib.
3817
3818         * WebKit.gyp:
3819
3820 2011-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
3821
3822         Unreviewed, rolling out r97917.
3823         http://trac.webkit.org/changeset/97917
3824         https://bugs.webkit.org/show_bug.cgi?id=70475
3825
3826         number of crashes on Snow Leopard/Lion tests bots
3827         http://build.webkit.org/results/Lion%20Intel%20Release%20(Tests)/r97917%20(2020)/http/tests/inspector
3828         /extensions-network-redirect-crash-log.txt (Requested by
3829         loislo on #webkit).
3830
3831         * src/WebOptionElement.cpp:
3832         (WebKit::WebOptionElement::defaultSelected):
3833         (WebKit::WebOptionElement::setDefaultSelected):
3834         * src/WebSearchableFormData.cpp:
3835         (HTMLNames::IsSelectInDefaultState):
3836
3837 2011-10-19  Nat Duca  <nduca@chromium.org>
3838
3839         [chromium] Route requestAnimationFrame through CCProxy in threaded mode
3840         https://bugs.webkit.org/show_bug.cgi?id=70160
3841
3842         Reviewed by James Robinson.
3843
3844         * src/ChromeClientImpl.cpp:
3845         (WebKit::ChromeClientImpl::scheduleAnimation):
3846         * src/WebViewImpl.cpp:
3847         (WebKit::WebViewImpl::scheduleAnimation):
3848         * src/WebViewImpl.h:
3849
3850 2011-10-19  Nico Weber  <thakis@chromium.org>
3851
3852         [chromium/mac] Use clang as compiler!
3853         https://bugs.webkit.org/show_bug.cgi?id=70425
3854
3855         Reviewed by Adam Barth.
3856
3857         It looks like http://trac.webkit.org/changeset/97415 was all that's
3858         needed to get this to work.
3859
3860         * gyp_webkit:
3861         Don't force clang off, which means it's now on by default on mac.
3862
3863 2011-10-19  Darin Adler  <darin@apple.com>
3864
3865         Remove OptionElement (first half)
3866         https://bugs.webkit.org/show_bug.cgi?id=70276
3867
3868         Reviewed by Kent Tamura.
3869
3870         Update hand-written binding for option element so it does not depend on otherwise-unneeded functions.
3871
3872         * src/WebOptionElement.cpp:
3873         (WebKit::WebOptionElement::defaultSelected): Call hasAttribute.
3874         (WebKit::WebOptionElement::setDefaultSelected): Call setAttribute.
3875
3876         * src/WebSearchableFormData.cpp:
3877         (HTMLNames::IsSelectInDefaultState): Call hasAttribute.
3878
3879 2011-10-19  Kent Tamura  <tkent@chromium.org>
3880
3881         [Chromium]: Move from FileChooserSettings deprecatedAcceptType to acceptMIMETypes
3882         https://bugs.webkit.org/show_bug.cgi?id=70003
3883
3884         Reviewed by Darin Fisher.
3885
3886         * public/WebFileChooserParams.h:
3887         Add acceptMIMETypes, and make acceptTypes deprecated.
3888         * src/ChromeClientImpl.cpp:
3889         (WebKit::ChromeClientImpl::runOpenPanel):
3890         - Set WebFileChooserParams::acceptMIMETypes
3891         - Set a joined string to WebFileChooserParams::acceptTypes until we remove acceptTypes.
3892
3893 2011-10-19  Adam Bergkvist  <adam.bergkvist@ericsson.com>
3894
3895         Update MediaStream to use WebCore platform interfaces
3896         https://bugs.webkit.org/show_bug.cgi?id=68464
3897
3898         Reviewed by Adam Barth.
3899
3900         Removed WebMediaStreamTrack* since they will no longer be needed.
3901
3902         * WebKit.gyp:
3903         * public/WebMediaStreamTrack.h: Removed.
3904         * public/WebMediaStreamTrackList.h: Removed.
3905         * src/WebMediaStreamTrack.cpp: Removed.
3906         * src/WebMediaStreamTrackList.cpp: Removed.
3907
3908 2011-10-19  Zhenyao Mo  <zmo@google.com>
3909
3910         Implement WEBGL_debug_shaders and WEBGL_debug_renderer_info extensions
3911         https://bugs.webkit.org/show_bug.cgi?id=70077
3912
3913         Reviewed by Kenneth Russell.
3914
3915         * public/WebGraphicsContext3D.h: Added support for getTranslatedShaderSourceANGLE.
3916         (WebKit::WebGraphicsContext3D::getTranslatedShaderSourceANGLE):
3917         * src/Extensions3DChromium.cpp: Ditto.
3918         (WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE):
3919         * src/GraphicsContext3DChromium.cpp: Ditto.
3920         * src/GraphicsContext3DPrivate.h: Ditto.
3921
3922 2011-10-19  Dirk Pranke  <dpranke@chromium.org>
3923
3924         Unreviewed, rolling out r97850.
3925         http://trac.webkit.org/changeset/97850
3926         https://bugs.webkit.org/show_bug.cgi?id=70334
3927
3928         tests are crashing on xp debug
3929
3930         * DEPS:
3931
3932 2011-10-19  Andrey Kosyakov  <caseq@chromium.org>
3933
3934         Web Inspector: make extension tests pass on chromium
3935         https://bugs.webkit.org/show_bug.cgi?id=70334
3936
3937         Reviewed by Pavel Feldman.
3938
3939         * DEPS: roll chromium 105970:106056
3940
3941 2011-10-18  Yuzo Fujishima  <yuzo@google.com>
3942
3943         [chromium] Attempt to fix Linux Clang compilation error.
3944
3945         Unreviewed.
3946
3947         * tests/CCLayerTreeHostTest.cpp:
3948         (WTF::CCLayerTreeHostTestThreadOnly::runTestThreaded):
3949         (WTF::TEST_F):
3950
3951 2011-10-18  James Robinson  <jamesr@chromium.org>
3952
3953         [chromium] Remove USE(THREADED_COMPOSITING) from the tree, this is controlled by a runtime setting
3954         https://bugs.webkit.org/show_bug.cgi?id=70356
3955
3956         Reviewed by Kenneth Russell.
3957
3958         * features.gypi:
3959         * src/WebLayerTreeViewImpl.cpp:
3960         (WebKit::WebLayerTreeViewImpl::scheduleComposite):
3961         * src/WebLayerTreeViewImpl.h:
3962         * src/WebViewImpl.h:
3963
3964 2011-10-18  Antoine Labour  <piman@chromium.org>
3965
3966         Enable out-of-thread compositing in WebKit compositor API
3967         https://bugs.webkit.org/show_bug.cgi?id=69850
3968
3969         Reviewed by James Robinson.
3970
3971         * src/WebLayerTreeView.cpp:
3972         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
3973         (WebKit::WebLayerTreeView::composite):
3974
3975 2011-10-18  James Robinson  <jamesr@chromium.org>
3976
3977         [chromium] Fix shutdown race when posting main thread task to CCThreadProxy and enable tests
3978         https://bugs.webkit.org/show_bug.cgi?id=70161
3979
3980         Reviewed by David Levin.
3981
3982         Enables the CCLayerTreeHostTest* tests by default. Most tests are run twice in a single thread and multiple
3983         thread configuration. Some tests run only in the multiple thread configuration if they depend on the compositor
3984         thread scheduling draws by itself.
3985
3986         * tests/CCLayerTreeHostTest.cpp:
3987         (::CCLayerTreeHostTest::timeout):
3988         (::CCLayerTreeHostTest::clearTimeout):
3989         (::CCLayerTreeHostTest::CCLayerTreeHostTest):
3990         (::CCLayerTreeHostTest::onEndTest):
3991         (::CCLayerTreeHostTest::TimeoutTask::TimeoutTask):
3992         (::CCLayerTreeHostTest::TimeoutTask::clearTest):
3993         (::CCLayerTreeHostTest::TimeoutTask::~TimeoutTask):
3994         (::CCLayerTreeHostTest::TimeoutTask::Run):
3995         (::CCLayerTreeHostTest::runTest):
3996         (::CCLayerTreeHostTest::doBeginTest):
3997         (::CCLayerTreeHostTestThreadOnly::runTest):
3998         (::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
3999
4000 2011-10-18  Adam Barth  <abarth@webkit.org>
4001
4002         Always enable ENABLE(XPATH)
4003         https://bugs.webkit.org/show_bug.cgi?id=70217
4004
4005         Reviewed by Eric Seidel.
4006
4007         * features.gypi:
4008
4009 2011-10-18  Chris Fleizach  <cfleizach@apple.com>
4010
4011         AX: buttons of number type <input> controls are not fully accessible
4012         https://bugs.webkit.org/show_bug.cgi?id=70241
4013
4014         Reviewed by Darin Adler.
4015
4016         * public/WebAccessibilityRole.h:
4017         * src/AssertMatchingEnums.cpp:
4018
4019 2011-10-17  Sheriff Bot  <webkit.review.bot@gmail.com>
4020
4021         Unreviewed, rolling out r97677.
4022         http://trac.webkit.org/changeset/97677
4023         https://bugs.webkit.org/show_bug.cgi?id=70308
4024
4025         A dependent revision was rolled out. (Requested by tkent on
4026         #webkit).
4027
4028         * public/WebAccessibilityRole.h:
4029         * src/AssertMatchingEnums.cpp:
4030
4031 2011-10-17  Jochen Eisinger  <jochen@chromium.org>
4032
4033         Make NavigationAction wrap a ResourceRequest instead of a KURL.
4034         https://bugs.webkit.org/show_bug.cgi?id=68803
4035
4036         Use the request in the NavigationAction, if the FrameLoadRequest
4037         doesn't already contain a request.
4038
4039         Reviewed by Nate Chapin.
4040
4041         * src/ChromeClientImpl.cpp:
4042         (WebKit::ChromeClientImpl::createWindow):
4043
4044 2011-10-17  James Robinson  <jamesr@chromium.org>
4045
4046         [chromium] Fix a new[]/delete mismatch in InnerGestureRecognizerTest that makes valgrind sad
4047         https://bugs.webkit.org/show_bug.cgi?id=70273
4048
4049         Reviewed by Mihai Parparita.
4050
4051         * tests/InnerGestureRecognizerTest.cpp:
4052         (TouchSequence::~TouchSequence):
4053
4054 2011-10-17  Sheriff Bot  <webkit.review.bot@gmail.com>
4055
4056         Unreviewed.  Rolled DEPS.
4057
4058         * DEPS:
4059
4060 2011-10-17  Peter Beverloo  <peter@chromium.org>
4061
4062         [Chromium] Add a missing semi-colon in ExternalPopupMenu.cpp
4063         https://bugs.webkit.org/show_bug.cgi?id=70232
4064
4065         Reviewed by Andreas Kling.
4066
4067         * src/ExternalPopupMenu.cpp:
4068         (WebKit::ExternalPopupMenu::didAcceptIndices):
4069
4070 2011-10-17  James Robinson  <jamesr@chromium.org>
4071
4072         Unreviewed, rolling out r97690.
4073         http://trac.webkit.org/changeset/97690
4074         https://bugs.webkit.org/show_bug.cgi?id=70161
4075
4076         Hits assertion in CCLayerTreeHostTests
4077
4078         * tests/CCLayerTreeHostTest.cpp:
4079         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
4080         (WTF::CCLayerTreeHostTest::onEndTest):
4081         (WTF::CCLayerTreeHostTest::runTest):
4082         (WTF::CCLayerTreeHostTest::testTimeout):
4083         (WTF::CCLayerTreeHostTest::doBeginTest):
4084         (WTF::CCLayerTreeHostTest::endTest):
4085         (WTF::CCLayerTreeHostTestThreadOnly::runTest):
4086         (WTF::TEST_F):
4087         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
4088         * tests/CCThreadTest.cpp:
4089         (WebKit::PingPongTestUsingTasks::ping):
4090
4091 2011-10-17  James Robinson  <jamesr@chromium.org>
4092
4093         [chromium] Fix shutdown race when posting main thread task to CCThreadProxy and enable tests
4094         https://bugs.webkit.org/show_bug.cgi?id=70161
4095
4096         Reviewed by David Levin.
4097
4098         Enables the CCLayerTreeHostTest* tests by default. Most tests are run twice in a single thread and multiple
4099         thread configuration. Some tests run only in the multiple thread configuration if they depend on the compositor
4100         thread scheduling draws by itself.
4101
4102         * tests/CCLayerTreeHostTest.cpp:
4103         (::CCLayerTreeHostTest::timeout):
4104         (::CCLayerTreeHostTest::clearTimeout):
4105         (::CCLayerTreeHostTest::CCLayerTreeHostTest):
4106         (::CCLayerTreeHostTest::onEndTest):
4107         (::CCLayerTreeHostTest::TimeoutTask::TimeoutTask):
4108         (::CCLayerTreeHostTest::TimeoutTask::clearTest):
4109         (::CCLayerTreeHostTest::TimeoutTask::~TimeoutTask):
4110         (::CCLayerTreeHostTest::TimeoutTask::Run):
4111         (::CCLayerTreeHostTest::runTest):
4112         (::CCLayerTreeHostTest::doBeginTest):
4113         (::CCLayerTreeHostTestThreadOnly::runTest):
4114         (::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
4115
4116 2011-10-17  Alok Priyadarshi  <alokp@chromium.org>
4117
4118         Add layout tests for WebPlugin compositor path
4119         https://bugs.webkit.org/show_bug.cgi?id=69027
4120
4121         Reviewed by James Robinson.
4122
4123         * src/WebPluginContainerImpl.cpp:
4124         (WebKit::WebPluginContainerImpl::printEnd):
4125
4126 2011-10-17  Chris Fleizach  <cfleizach@apple.com>
4127
4128         AX: buttons of number type <input> controls are not fully accessible
4129        &