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