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