1 2013-02-11 Sheriff Bot <webkit.review.bot@gmail.com>
3 Unreviewed, rolling out r142568.
4 http://trac.webkit.org/changeset/142568
5 https://bugs.webkit.org/show_bug.cgi?id=109541
7 Broke the build, won't compile. (Requested by alancutter on
10 * chromium/public/WebCompositorSupport.h:
11 (WebCompositorSupport):
12 (WebKit::WebCompositorSupport::createLayerTreeView):
13 * chromium/public/WebUnitTestSupport.h:
15 2013-02-11 James Robinson <jamesr@chromium.org>
17 [chromium] Add WebUnitTestSupport::createLayerTreeViewForTesting for webkit_unit_tests
18 https://bugs.webkit.org/show_bug.cgi?id=109403
20 Reviewed by Adam Barth.
22 webkit_unit_tests that need compositing support need only a simple WebLayerTreeView implementation, not the full
25 * chromium/public/WebCompositorSupport.h:
26 (WebCompositorSupport):
27 (WebKit::WebCompositorSupport::createLayerTreeView):
28 * chromium/public/WebUnitTestSupport.h:
31 (WebKit::WebUnitTestSupport::createLayerTreeViewForTesting):
33 2013-02-10 Florin Malita <fmalita@chromium.org>
35 [Chromium] FilterTypeSaturatingBrightness enum
36 https://bugs.webkit.org/show_bug.cgi?id=109380
38 Introduce a new WebFilterOperation::FilterType enum (FilterTypeSaturatingBrightness)
39 to support existing interntal clients which rely on the current saturating brightness
40 behavior (in preparation of switching to the new brightness implementation).
42 Reviewed by James Robinson.
44 * chromium/public/WebFilterOperation.h:
45 (WebKit::WebFilterOperation::amount):
46 (WebKit::WebFilterOperation::createSaturatingBrightnessFilter):
47 (WebKit::WebFilterOperation::setAmount):
49 2013-02-09 James Robinson <jamesr@chromium.org>
51 [chromium] Enable more of webkit_unit_tests in component builds
52 https://bugs.webkit.org/show_bug.cgi?id=109369
54 Reviewed by Darin Fisher.
56 Add a set of testing APIs to a WebUnitTestSupport interface available off of Platform for unit tests to access
59 * chromium/public/Platform.h:
62 (WebKit::Platform::unitTestSupport):
63 * chromium/public/WebUnitTestSupport.h: Added.
66 (WebKit::WebUnitTestSupport::registerMockedURL):
67 (WebKit::WebUnitTestSupport::registerMockedErrorURL):
68 (WebKit::WebUnitTestSupport::unregisterMockedURL):
69 (WebKit::WebUnitTestSupport::unregisterAllMockedURLs):
70 (WebKit::WebUnitTestSupport::serveAsynchronousMockedRequests):
71 (WebKit::WebUnitTestSupport::webKitRootDir):
73 2013-02-08 Tommy Widenflycht <tommyw@google.com>
75 MediaStream API: Removing the deprecated WebMediaStreamDescriptor and WebMediaStreamComponent shims
76 https://bugs.webkit.org/show_bug.cgi?id=109296
78 Reviewed by Adam Barth.
81 * chromium/public/WebMediaStreamComponent.h: Removed.
82 * chromium/public/WebMediaStreamDescriptor.h: Removed.
84 2013-02-07 Eberhard Graether <egraether@google.com>
86 Web Inspector: Add settings checkbox for composited layer borders
87 https://bugs.webkit.org/show_bug.cgi?id=109096
89 Reviewed by Pavel Feldman.
91 This change adds a checkbox to show composited layer borders to the WebInspector's
92 rendering settings and plumbs the setting to Chromium's WebLayerTreeView. The setting
93 is visible if InspectorClient::canShowDebugBorders() returns true.
95 * chromium/public/WebLayerTreeView.h:
97 (WebKit::WebLayerTreeView::setShowDebugBorders):
99 2013-02-06 Tommy Widenflycht <tommyw@google.com>
101 MediaStream API: Implement DTMF support in RTCPeerConnection
102 https://bugs.webkit.org/show_bug.cgi?id=106782
104 Reviewed by Adam Barth.
106 The WebRTC specification have added support for DTMF:
107 http://dev.w3.org/2011/webrtc/editor/webrtc.html#peer-to-peer-dtmf
109 Implementation wise this is implemented using the same pattern as RTCDataChannel;
110 where a RTCDTMFSenderHandler is created by the UA through a new method on
111 RTCPeerConnectionHandler.
114 * chromium/public/WebMediaStreamTrack.h:
115 (WebMediaStreamTrack):
116 * chromium/public/WebRTCDTMFSenderHandler.h: Copied from Source/Platform/chromium/public/WebMediaStreamTrack.h.
118 (WebRTCDTMFSenderHandler):
119 (WebKit::WebRTCDTMFSenderHandler::~WebRTCDTMFSenderHandler):
120 * chromium/public/WebRTCDTMFSenderHandlerClient.h: Copied from Source/Platform/chromium/public/WebMediaStreamTrack.h.
122 (WebRTCDTMFSenderHandlerClient):
123 (WebKit::WebRTCDTMFSenderHandlerClient::~WebRTCDTMFSenderHandlerClient):
124 * chromium/public/WebRTCPeerConnectionHandler.h:
126 (WebKit::WebRTCPeerConnectionHandler::createDTMFSender):
128 2013-02-05 Dana Jansens <danakj@chromium.org>
130 [chromium] Provide compositor offscreen context through the WebLayerTreeViewClient interface
131 https://bugs.webkit.org/show_bug.cgi?id=107776
133 Make "createGrGLInterface" the preferred virtual method for
134 WebGraphicsContext3D implementations to override. For now it
135 just calls the old method in its default implementation.
137 Reviewed by James Robinson.
139 * chromium/public/WebGraphicsContext3D.h:
140 (WebGraphicsContext3D):
141 (WebKit::WebGraphicsContext3D::createGrGLInterface):
143 2013-02-05 James Robinson <jamesr@chromium.org>
145 [chromium] Remove optionalness of second parameter to WebLayerTreeView::setViewportSize
146 https://bugs.webkit.org/show_bug.cgi?id=108972
148 Reviewed by Adam Barth.
150 This was added to ease the transition of adding this parameter, but it's now always set.
152 * chromium/public/WebLayerTreeView.h:
155 2013-02-02 Michael Nordman <michaeln@google.com>
157 [chromium] FileSystem mods: Changes to snapshot file creation to reduce dependencies on blobs.
158 This patch just alters the WebKitAPI in advance of coding to the new API in chromium and webkit
159 sources, defining two new virtual methods (unimplemented and uncalled). The existing API remains
161 https://bugs.webkit.org/show_bug.cgi?id=108736
163 Reviewed by Darin Fisher.
165 * chromium/public/WebFileSystem.h:
167 (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata):
169 2013-02-01 James Simonsen <simonjam@chromium.org>
171 Add didChangePriority() to ResourceHandle
172 https://bugs.webkit.org/show_bug.cgi?id=107995
174 Reviewed by Darin Fisher.
176 * chromium/public/WebURLLoader.h:
179 (WebKit::WebURLLoader::didChangePriority): Added.
181 2013-02-01 Kevin Ellis <kevers@chromium.org>
183 [chromium] Fat scrollbars on Windows in high-DPI mode.
184 https://bugs.webkit.org/show_bug.cgi?id=108637
186 Updates mechanism for retrieving scrollbar metrics on the
187 Windows port of Chromium. Previously, GetSystemMetrics calls
188 were used, which fetches prescaled sizes in pixel rather than
189 logical units, resulting in a double scaling when a device
190 scale factor is set. With the patch, the size is retrieved
191 from the theme engine in DIP.
193 Reviewed by Adam Barth.
195 * chromium/public/win/WebThemeEngine.h:
198 2013-01-31 Tommy Widenflycht <tommyw@google.com>
200 [chromium] MediaStream API: Rename WebMediaStreamDescriptor and WebMediaStreamComponent to WebMediaStream and WebMediaStreamTrack
201 https://bugs.webkit.org/show_bug.cgi?id=108458
203 Only renames, no other code changes.
205 Reviewed by Adam Barth.
208 * chromium/public/WebMediaStream.h: Copied from Source/Platform/chromium/public/WebMediaStreamDescriptor.h.
213 (WebKit::WebMediaStream::ExtraData::~ExtraData):
214 (WebKit::WebMediaStream::WebMediaStream):
215 (WebKit::WebMediaStream::~WebMediaStream):
216 (WebKit::WebMediaStream::operator=):
217 (WebKit::WebMediaStream::isNull):
218 * chromium/public/WebMediaStreamCenter.h:
220 (WebMediaStreamCenter):
221 (WebKit::WebMediaStreamCenter::didAddMediaStreamTrack):
222 (WebKit::WebMediaStreamCenter::didRemoveMediaStreamTrack):
223 * chromium/public/WebMediaStreamCenterClient.h:
225 (WebMediaStreamCenterClient):
226 * chromium/public/WebMediaStreamComponent.h:
227 * chromium/public/WebMediaStreamDescriptor.h:
228 * chromium/public/WebMediaStreamTrack.h: Added.
231 (WebMediaStreamTrack):
232 (WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
233 (WebKit::WebMediaStreamTrack::~WebMediaStreamTrack):
234 (WebKit::WebMediaStreamTrack::operator=):
235 (WebKit::WebMediaStreamTrack::isNull):
236 * chromium/public/WebRTCPeerConnectionHandler.h:
238 (WebRTCPeerConnectionHandler):
239 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
241 (WebRTCPeerConnectionHandlerClient):
242 * chromium/public/WebRTCStatsRequest.h:
244 (WebRTCStatsRequest):
246 2013-01-30 Yusuf Ozuysal <yusufo@google.com>
248 Start sending scrollType as NonBubblingGesture for flings
249 https://bugs.webkit.org/show_bug.cgi?id=108372
251 Reviewed by James Robinson.
253 Using the newly defined scrollType layerTreeHostImpl will stop bubbling flings to
254 parent layers. It will only bubble if the child layer is at the end of its scroll
257 * chromium/public/WebInputHandlerClient.h:
259 2013-01-30 Dana Jansens <danakj@chromium.org>
261 [chromium] Add recordRenderingStats to WebSettings
262 https://bugs.webkit.org/show_bug.cgi?id=108358
264 Reviewed by James Robinson.
266 * chromium/public/WebLayerTreeView.h:
267 (WebKit::WebLayerTreeView::Settings::Settings):
270 2013-01-29 Tommy Widenflycht <tommyw@google.com>
272 MediaStream API: A MediaStreamComponent should be able to return the MediaStreamDescriptor it belongs to
273 https://bugs.webkit.org/show_bug.cgi?id=108173
275 Reviewed by Adam Barth.
277 * chromium/public/WebMediaStreamComponent.h:
279 (WebMediaStreamComponent):
281 2013-01-28 Alexandre Elias <aelias@chromium.org>
283 Make page scale shrink FrameView in applyPageScaleInCompositor mode
284 https://bugs.webkit.org/show_bug.cgi?id=107424
286 Reviewed by Levi Weintraub.
288 If applyPageScaleFactorInCompositor is enabled (Chromium-only setting),
289 instead of the entire document expanding as the user pinch zooms, the
290 viewport shrinks instead. This patch applies the pageScaleFactor to
291 visibleContentRect to get this behavior, and simplifies Chromium's
292 resize logic to stop hiding the true viewport size from WebCore.
294 I verified that the scaling makes sense for all the callers of
295 visibleContentRect. The exceptions are clip-layer size,
296 layout size in non-fixed-layout mode, and text autosizing, which need
297 the original unscaled size. Therefore I added a new method
298 unscaledVisibleContentSize() to ScrollView/FrameView.
300 This patch also modifies Page::setPageScaleFactor to perform no
301 invalidates or layout when applyPageScaleFactorInCompositor is true,
302 and also writes pageScaleFactor into HistoryItems instead of using
305 Since all behavior changes are tied to applyPageScaleFactorInCompositor,
306 this patch should be a no-op for non-Chromium ports.
308 * chromium/public/WebLayerTreeView.h:
310 (WebKit::WebLayerTreeView::adjustEventPointForPinchZoom):
312 2013-01-26 James Simonsen <simonjam@chromium.org>
314 [chromium] Export ResourceRequest's priority through WebURLRequest
315 https://bugs.webkit.org/show_bug.cgi?id=107985
317 Reviewed by Adam Barth.
319 * chromium/public/WebURLRequest.h:
322 2013-01-25 Eberhard Graether <egraether@google.com>
324 Web Inspector: add checkbox for continuous painting to the inspector's settings
325 https://bugs.webkit.org/show_bug.cgi?id=107352
327 Reviewed by Pavel Feldman.
329 This change adds a checkbox to activate continuous painting to the WebInspector's
330 rendering settings and plumbs the setting to Chromium's WebLayerTreeView. The
331 setting is visible if InspectorClient::canContinuouslyPaint() returns true.
333 * chromium/public/WebLayerTreeView.h:
335 (WebKit::WebLayerTreeView::setContinuousPaintingEnabled):
337 2013-01-22 Nat Duca <nduca@chromium.org>
339 [chromium] Add WebDiscardableMemory to platform
340 https://bugs.webkit.org/show_bug.cgi?id=107183
342 Reviewed by James Robinson.
344 WebDiscardable provides a wrapper around memory that can be
345 relcaimed by the underlying kernel when it is under heavy memory
346 pressure. This will be used in a followup patch in the Chromium
347 image decoding store for decoded/resized images.
350 * chromium/public/Platform.h:
353 (WebKit::Platform::allocateDiscardableMemory):
354 * chromium/public/WebDiscardableMemory.h: Added.
356 (WebDiscardableMemory):
357 (WebKit::WebDiscardableMemory::~WebDiscardableMemory):
359 2013-01-21 Justin Schuh <jschuh@chromium.org>
361 [CHROMIUM] Suppress c4267 build warnings for Win64 targets
362 https://bugs.webkit.org/show_bug.cgi?id=107499
364 Reviewed by Abhishek Arya.
366 * Platform.gyp/Platform.gyp:
368 2013-01-21 Tommy Widenflycht <tommyw@google.com>
370 MediaStream API: Update the RTCPeerConnection states to match the latest specification
371 https://bugs.webkit.org/show_bug.cgi?id=107120
373 Reviewed by Adam Barth.
375 Updating the chromium WebKit API for the new states.
377 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
378 (WebKit::WebRTCPeerConnectionHandlerClient::~WebRTCPeerConnectionHandlerClient):
379 (WebRTCPeerConnectionHandlerClient):
380 (WebKit::WebRTCPeerConnectionHandlerClient::didChangeSignalingState):
381 (WebKit::WebRTCPeerConnectionHandlerClient::didChangeICEGatheringState):
382 (WebKit::WebRTCPeerConnectionHandlerClient::didChangeICEConnectionState):
383 (WebKit::WebRTCPeerConnectionHandlerClient::didAddRemoteDataChannel):
384 (WebKit::WebRTCPeerConnectionHandlerClient::didChangeReadyState):
385 (WebKit::WebRTCPeerConnectionHandlerClient::didChangeICEState):
387 2013-01-18 Ali Juma <ajuma@chromium.org>
389 [chromium] Convert WebTransformOperations into pure virtual
390 https://bugs.webkit.org/show_bug.cgi?id=105553
392 Reviewed by James Robinson.
394 * chromium/public/WebCompositorSupport.h:
396 (WebKit::WebCompositorSupport::createTransformOperations):
397 (WebCompositorSupport):
398 * chromium/public/WebTransformKeyframe.h:
399 (WebTransformKeyframe):
400 * chromium/public/WebTransformOperations.h:
401 (WebKit::WebTransformOperations::~WebTransformOperations):
402 (WebTransformOperations):
404 2013-01-18 Sheriff Bot <webkit.review.bot@gmail.com>
406 Unreviewed, rolling out r140158.
407 http://trac.webkit.org/changeset/140158
408 https://bugs.webkit.org/show_bug.cgi?id=107297
410 Broke android build (Requested by danakj on #webkit).
412 * chromium/public/WebVideoFrame.h:
414 (WebKit::WebVideoFrame::format):
415 (WebKit::WebVideoFrame::width):
416 (WebKit::WebVideoFrame::height):
417 (WebKit::WebVideoFrame::planes):
418 (WebKit::WebVideoFrame::stride):
419 (WebKit::WebVideoFrame::data):
420 (WebKit::WebVideoFrame::textureId):
421 (WebKit::WebVideoFrame::textureTarget):
422 (WebKit::WebVideoFrame::visibleRect):
423 (WebKit::WebVideoFrame::textureSize):
425 2013-01-18 Dana Jansens <danakj@chromium.org>
427 [chromium] Remove the contents of WebVideoFrame class
428 https://bugs.webkit.org/show_bug.cgi?id=106037
430 Reviewed by James Robinson.
432 This class becomes an empty base class now, used only for the API
435 * chromium/public/WebVideoFrame.h:
438 2013-01-10 Tommy Widenflycht <tommyw@google.com>
440 MediaStream API: Adding the new id attribute to MediaStream and MediaStreamTrack
441 https://bugs.webkit.org/show_bug.cgi?id=106564
443 Reviewed by Adam Barth.
445 Specification: http://dev.w3.org/2011/webrtc/editor/getusermedia.html
446 MediaStream looses its label attribute and instead gets an id attribute.
447 MediaStreamTrack gets an id attribute.
449 * chromium/public/WebMediaStreamComponent.h:
450 (WebMediaStreamComponent):
451 * chromium/public/WebMediaStreamDescriptor.h:
452 (WebMediaStreamDescriptor):
454 2013-01-09 Chris Rogers <crogers@google.com>
456 Allow live/local audio input to be enabled only when needed
457 https://bugs.webkit.org/show_bug.cgi?id=106490
459 Reviewed by Kenneth Russell.
461 * chromium/public/Platform.h:
463 (WebKit::Platform::createAudioDevice):
465 2013-01-08 Chris Rogers <crogers@google.com>
467 Remove unused/deprecated render() method in chromium WebKit API
468 https://bugs.webkit.org/show_bug.cgi?id=106399
470 Reviewed by Kent Tamura.
472 * chromium/public/WebAudioDevice.h:
474 2013-01-08 James Robinson <jamesr@chromium.org>
476 [chromium] Remove transitional #defines from WebKit API headers
477 https://bugs.webkit.org/show_bug.cgi?id=106381
479 Reviewed by Adam Barth.
481 * chromium/public/WebGraphicsContext3D.h:
483 2013-01-05 Chris Rogers <crogers@google.com>
485 Implement MediaStreamSource::setAudioFormat()
486 https://bugs.webkit.org/show_bug.cgi?id=106053
488 Reviewed by Kenneth Russell.
490 * chromium/public/WebAudioDestinationConsumer.h:
491 (WebAudioDestinationConsumer):
493 2013-01-04 James Robinson <jamesr@chromium.org>
495 [chromium] Remove static create functions from types WebCompositorSupport can construct
496 https://bugs.webkit.org/show_bug.cgi?id=99877
498 Reviewed by Adrienne Walker.
500 * chromium/public/WebAnimation.h:
501 * chromium/public/WebContentLayer.h:
502 * chromium/public/WebExternalTextureLayer.h:
503 * chromium/public/WebFloatAnimationCurve.h:
504 * chromium/public/WebIOSurfaceLayer.h:
505 * chromium/public/WebImageLayer.h:
506 * chromium/public/WebLayer.h:
507 * chromium/public/WebLayerTreeView.h:
508 * chromium/public/WebScrollbarLayer.h:
509 * chromium/public/WebSolidColorLayer.h:
510 * chromium/public/WebTransformAnimationCurve.h:
511 * chromium/public/WebVideoLayer.h:
513 2013-01-04 James Robinson <jamesr@chromium.org>
515 [chromium] WebTransformationMatrix shouldn't alias memory for TransformationMatrix
516 https://bugs.webkit.org/show_bug.cgi?id=106025
518 Reviewed by Adrienne Walker.
520 * chromium/public/WebTransformationMatrix.h:
522 (WebKit::WebTransformationMatrix::~WebTransformationMatrix):
523 (WebTransformationMatrix):
525 2013-01-04 James Robinson <jamesr@chromium.org>
527 [chromium] Remove unneeded WebDelegatedRendererLayer and WebCompositorTransferableResourceList headers
528 https://bugs.webkit.org/show_bug.cgi?id=105263
530 Reviewed by Darin Fisher.
532 These aren't needed any more since the delegation will be set up on the chromium side.
535 * chromium/public/WebCompositorSupport.h:
537 * chromium/public/WebCompositorTransferableResourceList.h: Removed.
538 * chromium/public/WebDelegatedRendererLayer.h: Removed.
540 2013-01-04 Dana Jansens <danakj@chromium.org>
542 [chromium] Remove lost-compositor-context layout tests
543 https://bugs.webkit.org/show_bug.cgi?id=106089
545 Reviewed by James Robinson.
547 Mark the loseCompositorContext() test function for removal.
549 * chromium/public/WebLayerTreeView.h:
552 2013-01-03 Sami Kyostila <skyostil@chromium.org>
554 [chromium] Rename low latency rendering mode setting to vsync notification
555 https://bugs.webkit.org/show_bug.cgi?id=106020
557 Reviewed by James Robinson.
559 Rename low latency rendering mode setting to vsync notification because
560 the old name was ambiguous and bad. This setting is meant to control
561 whether the renderer uses a vsync signal provided by the browser to
564 2013-01-03 Tommy Widenflycht <tommyw@google.com>
566 MediaStream API: Add a missing state to RTCPeerConnection
567 https://bugs.webkit.org/show_bug.cgi?id=106017
569 Reviewed by Adam Barth.
571 Adding the missing ReadyStateHaveRemoteOffer which will show up in the spec soon.
573 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
575 2013-01-02 James Robinson <jamesr@chromium.org>
577 [chromium] Remove unused transitional #defines from Platform API
578 https://bugs.webkit.org/show_bug.cgi?id=105971
580 Reviewed by Adrienne Walker.
582 These are leftovers from multi-sided patches that landed months ago.
584 * chromium/public/WebContentLayerClient.h:
585 (WebContentLayerClient):
586 * chromium/public/WebLayer.h:
587 * chromium/public/WebLayerTreeView.h:
588 * chromium/public/WebThread.h:
590 2013-01-02 David Tseng <dtseng@google.com>
592 AX: Chromium needs platform localized strings for media controls.
593 https://bugs.webkit.org/show_bug.cgi?id=105940
595 Reviewed by Tony Chang.
597 * chromium/public/WebLocalizedString.h:
599 2012-12-24 Alexei Filippov <alph@chromium.org>
601 Web Inspector: add async API for passing renderer process memory stats
602 https://bugs.webkit.org/show_bug.cgi?id=105278
604 Reviewed by Yury Semikhatsky.
606 On some platforms (e.g. Linux) it may take some time to collect
607 total process memory information as it involves an IPC out of a
608 sandboxed renderer process. So add an async way to collect the statistics.
610 * chromium/public/Platform.h:
612 (ProcessMemorySizesCallback):
613 (WebKit::Platform::ProcessMemorySizesCallback::~ProcessMemorySizesCallback):
614 (WebKit::Platform::requestProcessMemorySizes):
616 2012-12-18 Dana Jansens <danakj@chromium.org>
618 [chromium] Make WebLayerTreeView::loseCompositorContext non-pure virtual
619 https://bugs.webkit.org/show_bug.cgi?id=105328
621 Reviewed by James Robinson.
623 This allows us to decouple the chromium and webkit sides and remove this
624 function entirely on each side.
626 * chromium/public/WebLayerTreeView.h:
627 (WebKit::WebLayerTreeView::loseCompositorContext):
629 2012-12-18 James Robinson <jamesr@chromium.org>
631 [chromium] Fix include style in WebTransformOperations.h
632 https://bugs.webkit.org/show_bug.cgi?id=105259
634 Reviewed by Adrienne Walker.
636 Changes include of WebTransformationMatrix.h from '#include <public/..h>' to '#include "....h". The latter
637 always works, since #include "foo.h" always finds foo.h in the same directory, and doesn't require all
638 downstream users of this header to have Source/Platform/chromium/ on the include path.
640 * chromium/public/WebTransformOperations.h:
642 2012-12-17 Dana Jansens <danakj@chromium.org>
644 [chromium] Add the GL_CHROMIUM_lose_context to WebGraphicsContext3D
645 https://bugs.webkit.org/show_bug.cgi?id=105238
647 Reviewed by James Robinson.
649 * chromium/public/WebGraphicsContext3D.h:
650 (WebGraphicsContext3D):
651 (WebKit::WebGraphicsContext3D::loseContext):
653 2012-12-12 Andrey Kosyakov <caseq@chromium.org>
655 [Chromium] Remove support for TRACE_EVENT_IF_LONGER_THANx macros
656 https://bugs.webkit.org/show_bug.cgi?id=104784
658 Reviewed by Pavel Feldman.
660 - remove threshold and id of related begin event from arguments of addTraceEvent()
661 - do not return the index of added event from addTraceEvent()
663 * chromium/public/Platform.h:
665 (WebKit::Platform::addTraceEvent):
667 2012-12-14 Yusuf Ozuysal <yusufo@google.com>
669 Send a message from WebViewImpl to the compositor to inform about end of flings
670 https://bugs.webkit.org/show_bug.cgi?id=104947
672 Reviewed by James Robinson.
674 Whenever we have a fling animation finished on cancelled on main thread this sends
675 a message that will be relayed to the compositor input handler. Then the input handler
676 keeps track of main thread fling with a boolean and doesn't send flingCancels
679 * chromium/public/WebInputHandler.h:
681 * chromium/public/WebLayerTreeView.h:
683 (WebKit::WebLayerTreeView::mainThreadHasStoppedFlinging):
685 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
687 Unreviewed, rolling out r137765.
688 http://trac.webkit.org/changeset/137765
689 https://bugs.webkit.org/show_bug.cgi?id=105067
691 Breaks webkit_unit_tests and transferred flings (Requested by
694 * chromium/public/WebInputHandler.h:
696 * chromium/public/WebLayerTreeView.h:
699 2012-12-14 Yusuf Ozuysal <yusufo@google.com>
701 Send a message from WebViewImpl to the compositor to inform about end of flings
702 https://bugs.webkit.org/show_bug.cgi?id=104947
704 Reviewed by James Robinson.
706 Whenever we have a fling animation finished on cancelled on main thread this sends
707 a message that will be relayed to the compositor input handler. Then the input handler
708 keeps track of main thread fling with a boolean and doesn't send flingCancels
711 * chromium/public/WebInputHandler.h:
713 * chromium/public/WebLayerTreeView.h:
715 (WebKit::WebLayerTreeView::mainThreadHasStoppedFlinging):
717 2012-12-12 Gavin Peters <gavinp@chromium.org>
719 [chromium] Add destructor to WebPrerender
720 https://bugs.webkit.org/show_bug.cgi?id=104820
722 Reviewed by James Robinson.
724 When making WebPrerender default constructible and assignable, the destructor should have been moved out of WEBKIT_IMPLEMENTATION.
726 * chromium/public/WebPrerender.h:
727 (WebKit::WebPrerender::~WebPrerender):
730 2012-12-12 Alexei Filippov <alph@chromium.org>
732 Web Inspector: add memory used by memory allocator itself to NMI
733 https://bugs.webkit.org/show_bug.cgi?id=93372
735 Make native memory instrumentation report memory retained
736 for the memory allocator internal purposes.
738 Reviewed by Yury Semikhatsky.
740 * chromium/public/Platform.h:
742 (WebKit::Platform::memoryAllocatorWasteInBytes):
744 2012-12-12 Tommy Widenflycht <tommyw@google.com>
746 MediaStream API: Change the data channel descriptor pattern to a handler pattern
747 https://bugs.webkit.org/show_bug.cgi?id=104543
749 Reviewed by Kent Tamura.
751 In short the code is refactured to use the Handler/Client pattern (see RTCPeerConnectionHandler)
752 instead of the Descriptor pattern.
753 This will fix lifetime/memory/code structure issues in the chromium port.
756 * chromium/public/WebRTCDataChannel.h: Removed.
757 * chromium/public/WebRTCDataChannelHandler.h: Added.
759 (WebRTCDataChannelHandler):
760 (WebKit::WebRTCDataChannelHandler::~WebRTCDataChannelHandler):
761 * chromium/public/WebRTCDataChannelHandlerClient.h: Added.
763 (WebRTCDataChannelHandlerClient):
764 (WebKit::WebRTCDataChannelHandlerClient::~WebRTCDataChannelHandlerClient):
765 * chromium/public/WebRTCPeerConnectionHandler.h:
767 (WebKit::WebRTCPeerConnectionHandler::createDataChannel):
768 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
770 (WebKit::WebRTCPeerConnectionHandlerClient::didAddRemoteDataChannel):
772 2012-12-11 James Robinson <jamesr@chromium.org>
774 [chromium] Remove deprecated WebGraphicsContext3D entry points
775 https://bugs.webkit.org/show_bug.cgi?id=104603
777 Reviewed by Darin Fisher.
779 * chromium/public/WebGraphicsContext3D.h:
780 (WebGraphicsContext3D):
782 2012-12-10 Dana Jansens <danakj@chromium.org>
784 [chromium] Remove WebCompositorFrame(Ack) as these classes are not needed now that they are passed through cc::OutputSurface.
785 https://bugs.webkit.org/show_bug.cgi?id=104635
787 Reviewed by James Robinson.
789 These have been supplanted by cc::CompositorFrame(Ack) which do not
790 need to inherit from them.
792 * chromium/public/WebCompositorFrame.h: Removed.
793 * chromium/public/WebCompositorFrameAck.h: Removed.
795 2012-12-10 Dana Jansens <danakj@chromium.org>
797 [chromium] Remove WebCompositorOutputSurface implementations from DRT
798 https://bugs.webkit.org/show_bug.cgi?id=104046
800 Reviewed by Darin Fisher.
802 Remove now-unused definitions for these classes. The cc::OutputSurface
803 and its related classes have replaced these, with the
804 WebCompositorOutputSurface class as an empty base class.
807 * chromium/public/WebCompositorOutputSurface.h:
809 * chromium/public/WebCompositorOutputSurfaceClient.h: Removed.
810 * chromium/public/WebCompositorSoftwareOutputDevice.h: Removed.
812 2012-12-10 Mark Pilgrim <pilgrim@chromium.org>
814 [Chromium] Move getPluginsList out of PlatformSupport
815 https://bugs.webkit.org/show_bug.cgi?id=96507
817 Reviewed by Darin Fisher.
819 Part of a refactoring series. See tracking bug 82948.
822 * chromium/public/Platform.h:
825 (WebKit::Platform::getPluginList):
826 * chromium/public/WebPluginListBuilder.h: Added.
828 (WebPluginListBuilder):
830 2012-12-08 Gavin Peters <gavinp@chromium.org>
832 Add status events on <link rel=prerender> elements.
833 https://bugs.webkit.org/show_bug.cgi?id=96474
835 Reviewed by Adam Barth.
837 The new PrerenderStatusEvent is sent to link elements when
838 prerenders are started by the embedder, and also sent when they
839 are stopped. Pages using this feature can now serialize launching
840 prerenders, and track timing performance.
842 * chromium/public/WebPrerender.h:
843 (WebKit::WebPrerender::WebPrerender):
844 (WebKit::WebPrerender::operator=):
847 2012-12-07 Scott Violet <sky@chromium.org>
849 [chromium] Remove linux theme related files and switch to default
850 https://bugs.webkit.org/show_bug.cgi?id=103897
852 Reviewed by Dimitri Glazkov.
854 * Platform.gypi: Remove WebThemeEngine.h
855 * chromium/public/linux/WebThemeEngine.h: Removed.
857 2012-12-06 Sami Kyostila <skyostil@chromium.org>
859 [chromium] Introduce setting for low latency rendering
860 https://bugs.webkit.org/show_bug.cgi?id=104011
862 Reviewed by James Robinson.
864 This low latency rendering setting will be used to enable alternate
865 render signaling and scheduling to reduce latency.
867 * chromium/public/WebLayerTreeView.h:
868 (WebKit::WebLayerTreeView::Settings::Settings):
871 2012-12-06 James Robinson <jamesr@chromium.org>
873 [chromium] Rename non-standard discard/ensureFramebufferCHROMIUM extensions so we can use real GL_EXT_discard_framebuffer
874 https://bugs.webkit.org/show_bug.cgi?id=104316
876 Reviewed by Kenneth Russell.
878 GL_EXT_discard_framebuffer is a GL extension that enables optimizations for GPUs that aggressively defer
879 operations. We've 'borrowed' the extension namespace to enable backbuffer management, but this makes it
880 impossible to use the actual extension. This adds new entry points for backbuffer management. After callers
881 (which aren't in the WebKit repo) are updated, we can remove the overlapping entry points.
883 * chromium/public/WebGraphicsContext3D.h:
884 (WebGraphicsContext3D):
885 (WebKit::WebGraphicsContext3D::discardFramebufferCHROMIUM):
886 (WebKit::WebGraphicsContext3D::discardBackbufferCHROMIUM):
887 (WebKit::WebGraphicsContext3D::ensureBackbufferCHROMIUM):
889 2012-12-06 Kenneth Russell <kbr@google.com>
891 Associate URLs with GraphicsContext3D instances created for WebGL
892 https://bugs.webkit.org/show_bug.cgi?id=103793
894 Reviewed by Adam Barth.
896 * chromium/public/WebGraphicsContext3D.h:
898 Add top document's URL to context creation attributes.
900 2012-12-06 David Reveman <reveman@chromium.org>
902 [Chromium] Add GL_CHROMIUM_async_pixel_transfers extension support.
903 https://bugs.webkit.org/show_bug.cgi?id=103995
905 Reviewed by Kenneth Russell.
907 Add asyncTexImage2DCHROMIUM and asyncTexSubImage2DCHROMIUM to
908 WebGraphicsContext3D.h.
910 * chromium/public/WebGraphicsContext3D.h:
911 (WebGraphicsContext3D):
912 (WebKit::WebGraphicsContext3D::asyncTexImage2DCHROMIUM):
913 (WebKit::WebGraphicsContext3D::asyncTexSubImage2DCHROMIUM):
915 2012-12-06 Sheriff Bot <webkit.review.bot@gmail.com>
917 Unreviewed, rolling out r136784 and r136802.
918 http://trac.webkit.org/changeset/136784
919 http://trac.webkit.org/changeset/136802
920 https://bugs.webkit.org/show_bug.cgi?id=104231
922 breaks chromium canary (Requested by morrita on #webkit).
925 * chromium/public/linux/WebThemeEngine.h: Added.
928 (ScrollbarTrackExtraParams):
930 (TextFieldExtraParams):
931 (MenuListExtraParams):
933 (InnerSpinButtonExtraParams):
934 (ProgressBarExtraParams):
935 (WebKit::WebThemeEngine::getSize):
936 (WebKit::WebThemeEngine::paint):
938 2012-12-05 Scott Violet <sky@chromium.org>
940 [chromium] Remove linux theme related files and switch to default
941 https://bugs.webkit.org/show_bug.cgi?id=103897
943 Reviewed by Tony Chang.
945 * Platform.gypi: Remove WebThemeEngine.h
946 * chromium/public/linux/WebThemeEngine.h: Removed.
948 2012-12-05 Dana Jansens <danakj@chromium.org>
950 [chromium] Make WebCompositorOutputSurface an empty class when USE_CC_OUTPUT_SURFACE is defined.
951 https://bugs.webkit.org/show_bug.cgi?id=103967
953 Reviewed by James Robinson.
955 When the USE_CC_OUTPUT_SURFACE flag is set:
956 - Make the WebCompositorOutputSurface class empty.
957 - Don't define the OutputSurfaceClient.
958 - Don't define the SoftwareOutputDevice.
960 WebCompositorSupport has methods to create a WebCompositorOutputSurface. They
961 will return NULL until the chromium side lands, and then they will be used
962 in place of the existing WebViewHost methods.
964 * chromium/public/WebCompositorOutputSurface.h:
966 * chromium/public/WebCompositorOutputSurfaceClient.h:
968 * chromium/public/WebCompositorSoftwareOutputDevice.h:
970 * chromium/public/WebCompositorSupport.h:
972 (WebCompositorSupport):
973 (WebKit::WebCompositorSupport::createOutputSurfaceFor3D):
974 (WebKit::WebCompositorSupport::createOutputSurfaceForSoftware):
976 2012-12-05 Eberhard Graether <egraether@google.com>
978 [chromium] Remove WebLayerTreeView API to set font atlas
979 https://bugs.webkit.org/show_bug.cgi?id=102960
981 Reviewed by James Robinson.
983 Removes old font atlas creation from WebViewImpl.
985 * chromium/public/WebLayerTreeView.h:
987 2012-12-05 Stephen White <senorblanco@chromium.org>
989 Unreviewed, rolling out r136609.
990 http://trac.webkit.org/changeset/136609
991 https://bugs.webkit.org/show_bug.cgi?id=103793
993 Breaking Chrome/Mac Debug builds.
995 * Platform.gyp/Platform.gyp:
996 * chromium/public/WebGraphicsContext3D.h:
999 2012-12-04 Kenneth Russell <kbr@google.com>
1001 Associate URLs with GraphicsContext3D instances created for WebGL
1002 https://bugs.webkit.org/show_bug.cgi?id=103793
1004 Reviewed by Adam Barth.
1006 * Platform.gyp/Platform.gyp:
1007 Allow WebURL.h to be included directly or indirectly from Platform.h.
1008 * chromium/public/WebGraphicsContext3D.h:
1010 Add top document's URL to context creation attributes.
1012 2012-12-04 Glenn Hartmann <hartmanng@chromium.org>
1014 Gut WebRenderingStats since we no longer use its member variables.
1015 https://bugs.webkit.org/show_bug.cgi?id=103460
1017 Reviewed by Darin Fisher.
1019 This was used as an intermediate location to move stats from
1020 chromium's RenderStats. The chromium code has been updated to
1021 remove this dependency (see https://codereview.chromium.org/11364221/).
1023 * chromium/public/WebRenderingStats.h:
1024 (WebKit::WebRenderingStats::WebRenderingStats):
1026 2012-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
1028 Unreviewed, rolling out r136460.
1029 http://trac.webkit.org/changeset/136460
1030 https://bugs.webkit.org/show_bug.cgi?id=103958
1032 This patch caused compile error when building DumpRenderTree
1033 (Requested by tasak on #webkit).
1036 * chromium/public/linux/WebThemeEngine.h: Added.
1039 (ScrollbarTrackExtraParams):
1040 (ButtonExtraParams):
1041 (TextFieldExtraParams):
1042 (MenuListExtraParams):
1043 (SliderExtraParams):
1044 (InnerSpinButtonExtraParams):
1045 (ProgressBarExtraParams):
1046 (WebKit::WebThemeEngine::getSize):
1047 (WebKit::WebThemeEngine::paint):
1049 2012-12-03 Scott Violet <sky@chromium.org>
1051 [chromium] Remove linux theme related files and switch to default
1052 https://bugs.webkit.org/show_bug.cgi?id=103897
1054 Reviewed by Darin Fisher.
1056 * Platform.gypi: remove WebThemeEngine.h
1057 * chromium/public/linux/WebThemeEngine.h: Removed.
1059 2012-12-03 Sami Kyostila <skyostil@chromium.org>
1061 [chromium] Tell WebInputHandlerClient when end of input is reached for current vsync period
1062 https://bugs.webkit.org/show_bug.cgi?id=103648
1064 Reviewed by James Robinson.
1066 Let the WebInputHandlerClient know when we've received the final input event
1067 for the current vsync period.
1069 Test: WebCompositorInputHandlerImplTest.lastInputEventForVSync
1071 * chromium/public/WebInputHandlerClient.h:
1072 (WebKit::WebInputHandlerClient::didReceiveLastInputEventForVSync):
1073 (WebInputHandlerClient):
1075 2012-11-28 Tommy Widenflycht <tommyw@google.com>
1077 Add basic implementation for MediaStreamAudioDestinationNode
1078 https://bugs.webkit.org/show_bug.cgi?id=101815
1080 Reviewed by Chris Rogers.
1082 Adds the consumer interface and related functionality to WebMediaStreamSource.
1084 * chromium/public/WebAudioDestinationConsumer.h: Added.
1086 (WebAudioDestinationConsumer):
1087 (WebKit::WebAudioDestinationConsumer::~WebAudioDestinationConsumer):
1088 * chromium/public/WebMediaStreamSource.h:
1090 (WebMediaStreamSource):
1092 2012-11-27 Eberhard Graether <egraether@google.com>
1094 [chromium] Add WebLayerTreeViewClient API to request font atlas
1095 https://bugs.webkit.org/show_bug.cgi?id=102958
1097 Reviewed by James Robinson.
1099 This change makes the font atlas creation accessible to the WebLayerTreeView.
1101 * chromium/public/WebLayerTreeViewClient.h:
1103 (WebLayerTreeViewClient):
1104 (WebKit::WebLayerTreeViewClient::createFontAtlas):
1106 2012-11-27 Eberhard Graether <egraether@google.com>
1108 Plumbing showPaintRects out of InspectorPageAgent to use a different drawing implementation if available.
1109 https://bugs.webkit.org/show_bug.cgi?id=102452
1111 Reviewed by Pavel Feldman.
1113 This change makes the showPaintRects setting in the Web Inspector's settings notify InspectorClient
1114 when changed. And the default paint rects drawing is not used if an alternative is available.
1115 This allows Chromium to draw the paint rects in the compositor's HUDLayer.
1117 * chromium/public/WebLayerTreeView.h:
1119 (WebKit::WebLayerTreeView::setShowPaintRects):
1121 2012-11-27 Keishi Hattori <keishi@webkit.org>
1123 Add WebLocalizedString for validation type badinput
1124 https://bugs.webkit.org/show_bug.cgi?id=103381
1126 Reviewed by Kent Tamura.
1128 Adding WebLocalizedString enums for validation type badinput text.
1130 * chromium/public/WebLocalizedString.h:
1132 2012-11-26 James Robinson <jamesr@chromium.org>
1134 [chromium] Remove deprecated and unused WebGraphicsContext3D compositor binding calls
1135 https://bugs.webkit.org/show_bug.cgi?id=103322
1137 Reviewed by Adam Barth.
1139 These have been uncalled for a while.
1141 * chromium/public/WebLayerTreeViewClient.h:
1142 (WebLayerTreeViewClient):
1144 2012-11-23 Sami Kyostila <skyostil@chromium.org>
1146 [chromium] Remove WebScreenInfo.{horizontal,vertical}DPI
1147 https://bugs.webkit.org/show_bug.cgi?id=101772
1149 Reviewed by Adam Barth.
1151 Now that nothing is using WebScreenInfo.{horizontal,vertical}DPI we can simply
1154 * chromium/public/WebScreenInfo.h:
1155 (WebKit::WebScreenInfo::WebScreenInfo):
1157 2012-11-22 David Reveman <reveman@chromium.org>
1159 [Chromium] Add GL_CHROMIUM_pixel_transfer_buffer_object extension support.
1160 https://bugs.webkit.org/show_bug.cgi?id=102528
1162 Reviewed by James Robinson.
1164 Add mapBufferCHROMIUM and unmapBufferCHROMIUM prototypes to WebGraphicsContext3D.h.
1166 * chromium/public/WebGraphicsContext3D.h:
1167 (WebGraphicsContext3D):
1168 (WebKit::WebGraphicsContext3D::mapBufferCHROMIUM):
1169 (WebKit::WebGraphicsContext3D::unmapBufferCHROMIUM):
1171 2012-11-21 Harald Alvestrand <hta@google.com>
1173 WebMediaStreamComponent: Add assignment and copy operators
1174 https://bugs.webkit.org/show_bug.cgi?id=102915
1176 Reviewed by Adam Barth.
1178 * chromium/public/WebMediaStreamComponent.h:
1179 (WebKit::WebMediaStreamComponent::WebMediaStreamComponent):
1180 (WebKit::WebMediaStreamComponent::operator=):
1181 (WebMediaStreamComponent):
1183 2012-11-19 Dana Jansens <danakj@chromium.org>
1185 [chromium] Remove the WebCompositorSupport virtual methods from the base class
1186 https://bugs.webkit.org/show_bug.cgi?id=102153
1188 Reviewed by James Robinson.
1190 These methods have now been removed from WebCompositorSupportImpl in
1191 chromium and should be removed from the base class. Everything is
1192 going through WebLayerTreeSettings now.
1194 * chromium/public/WebCompositorSupport.h:
1196 2012-11-19 Sheriff Bot <webkit.review.bot@gmail.com>
1198 Unreviewed, rolling out r135180.
1199 http://trac.webkit.org/changeset/135180
1200 https://bugs.webkit.org/show_bug.cgi?id=102700
1202 breaks ui/compositor build (Requested by danakj on #webkit).
1204 * chromium/public/WebCompositorSupport.h:
1205 (WebCompositorSupport):
1206 (WebKit::WebCompositorSupport::setPerTilePaintingEnabled):
1207 (WebKit::WebCompositorSupport::setPartialSwapEnabled):
1208 (WebKit::WebCompositorSupport::setAcceleratedAnimationEnabled):
1209 (WebKit::WebCompositorSupport::setPageScalePinchZoomEnabled):
1211 2012-11-19 Dana Jansens <danakj@chromium.org>
1213 [chromium] Remove the WebCompositorSupport virtual methods from the base class
1214 https://bugs.webkit.org/show_bug.cgi?id=102153
1216 Reviewed by James Robinson.
1218 These methods have now been removed from WebCompositorSupportImpl in
1219 chromium and should be removed from the base class. Everything is
1220 going through WebLayerTreeSettings now.
1222 * chromium/public/WebCompositorSupport.h:
1224 2012-11-16 Dana Jansens <danakj@chromium.org>
1226 [chromium] Add conversion between WebTransformation and gfx::Transform
1227 https://bugs.webkit.org/show_bug.cgi?id=102575
1229 Reviewed by James Robinson.
1231 * chromium/public/WebTransformationMatrix.h:
1232 (WebTransformationMatrix):
1233 (WebKit::WebTransformationMatrix::WebTransformationMatrix):
1234 (WebKit::WebTransformationMatrix::operator=):
1235 (WebKit::WebTransformationMatrix::operator gfx::Transform):
1237 2012-11-16 Tommy Widenflycht <tommyw@google.com>
1239 MediaStream API: Update RTCPeerConnection states to match the latest editors draft
1240 https://bugs.webkit.org/show_bug.cgi?id=102382
1242 Reviewed by Adam Barth.
1244 Adding a callback for the new RTCPeerConnection::iceGatheringState.
1246 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
1247 (WebKit::WebRTCPeerConnectionHandlerClient::didChangeICEGatheringState):
1249 2012-11-16 Tommy Widenflycht <tommyw@google.com>
1251 [chromium] MediaStream API: Add missing WebRTCPeerConnectionHandlerClient::didAddRemoteDataChannel
1252 https://bugs.webkit.org/show_bug.cgi?id=102386
1254 Reviewed by Adam Barth.
1256 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
1257 (WebRTCPeerConnectionHandlerClient):
1259 2012-11-16 Scott Violet <sky@chromium.org>
1261 [chromium] Copy linux theme related files to default
1262 https://bugs.webkit.org/show_bug.cgi?id=102403
1264 Reviewed by Tony Chang
1266 Transitional patch that copies linux WebThemeEngine to default directory.
1268 No new tests, refactoring only.
1271 * chromium/public/default: Added.
1272 * chromium/public/default/WebThemeEngine.h: Copied from Source/Platform/chromium/public/linux/WebThemeEngine.h.
1274 2012-11-15 Scott Violet <sky@chromium.org>
1276 [chromium] Create default directory so that cq can apply patch
1277 https://bugs.webkit.org/show_bug.cgi?id=102421
1279 Reviewed by Tony Chang.
1281 Done in hopes of patch that copies files to this directory working.
1283 * chromium/public/default: Added.
1285 2012-11-15 Dana Jansens <danakj@chromium.org>
1287 [chromium] Remove unused debug border setters from the WebLayer API
1288 https://bugs.webkit.org/show_bug.cgi?id=102274
1290 Reviewed by James Robinson.
1292 * chromium/public/WebLayer.h:
1295 2012-11-15 Sheriff Bot <webkit.review.bot@gmail.com>
1297 Unreviewed, rolling out r134800 and r134805.
1298 http://trac.webkit.org/changeset/134800
1299 http://trac.webkit.org/changeset/134805
1300 https://bugs.webkit.org/show_bug.cgi?id=102417
1302 This patch broke chromium port (Requested by jianli on
1305 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
1306 (WebRTCPeerConnectionHandlerClient):
1308 2012-11-15 Tommy Widenflycht <tommyw@google.com>
1310 [chromium] MediaStream API: Add missing WebRTCPeerConnectionHandlerClient::didAddRemoteDataChannel
1311 https://bugs.webkit.org/show_bug.cgi?id=102386
1313 Reviewed by Adam Barth.
1315 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
1316 (WebRTCPeerConnectionHandlerClient):
1318 2012-11-15 Tommy Widenflycht <tommyw@google.com>
1320 MediaStream API: Update RTCPeerConnection states to match the latest editors draft
1321 https://bugs.webkit.org/show_bug.cgi?id=102382
1323 Reviewed by Adam Barth.
1325 Adding a callback for the new RTCPeerConnection::iceGatheringState.
1327 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
1328 (WebKit::WebRTCPeerConnectionHandlerClient::didChangeICEGatheringState):
1330 2012-11-14 Dana Jansens <danakj@chromium.org>
1332 [chromium] Clamp negative sizes to zero when converting to gfx:: types
1333 https://bugs.webkit.org/show_bug.cgi?id=102159
1335 Reviewed by James Robinson.
1337 Here we clamp Rect, RectF and Size types to not have negative widths or
1338 heights. WebSizes that you want to keep their negative values, because
1339 they are vectors, should be converted to Vector2d instead.
1341 * chromium/public/WebFloatRect.h:
1342 (WebKit::WebFloatRect::operator gfx::RectF):
1343 * chromium/public/WebRect.h:
1344 (WebKit::WebRect::operator gfx::Rect):
1345 * chromium/public/WebSize.h:
1346 (WebKit::WebSize::operator gfx::Size):
1348 2012-11-14 Dana Jansens <danakj@chromium.org>
1350 [chromium] Match the LayerTreeSetting default for acceleratedAnimationEnabled in the WebLayerTreeSetting
1351 https://bugs.webkit.org/show_bug.cgi?id=102285
1353 Reviewed by James Robinson.
1355 Accelerated animations default to on.
1357 * chromium/public/WebLayerTreeView.h:
1358 (WebKit::WebLayerTreeView::Settings::Settings):
1360 2012-11-13 Dana Jansens <danakj@chromium.org>
1362 [chromium] Pass showDebugBorders directly to WebLayerTreeSettings, don't use the GraphicsLayer border width setting.
1363 https://bugs.webkit.org/show_bug.cgi?id=102130
1365 Reviewed by James Robinson.
1367 * chromium/public/WebLayerTreeView.h:
1368 (WebKit::WebLayerTreeView::Settings::Settings):
1371 2012-11-13 Eberhard Graether <egraether@google.com>
1373 checkbox to toggle FPS counter in the inspector's settings
1374 https://bugs.webkit.org/show_bug.cgi?id=99660
1376 Reviewed by Pavel Feldman.
1378 Added a checkbox to the inspector's settings to toggle a FPS counter. The checkbox appears when InspectorClient::canShowFPSCounter() returns true.
1380 * chromium/public/WebLayerTreeView.h:
1382 (WebKit::WebLayerTreeView::setShowFPSCounter):
1384 2012-11-13 Dana Jansens <danakj@chromium.org>
1386 [chromium] Plumb WebCompositorSupport settings through WebLayerTreeSettings as well, in preparation for removing the settings from WebCompositorSupport
1387 https://bugs.webkit.org/show_bug.cgi?id=102146
1389 Reviewed by James Robinson.
1391 Add accelerated animation and per-tile painting to the
1392 WebLayerTreeView structure.
1394 * chromium/public/WebCompositorSupport.h:
1395 (WebCompositorSupport):
1396 * chromium/public/WebLayerTreeView.h:
1397 (WebKit::WebLayerTreeView::Settings::Settings):
1400 2012-11-13 Dimitri Glazkov <dglazkov@chromium.org>
1402 Unreviewed, rolling out r134446.
1403 http://trac.webkit.org/changeset/134446
1404 https://bugs.webkit.org/show_bug.cgi?id=101968
1406 Need to try a different strategy for landing a two-sided patch
1409 * chromium/public/WebCompositorSupport.h:
1410 (WebCompositorSupport):
1411 * chromium/public/WebLayerTreeView.h:
1412 (WebKit::WebLayerTreeView::Settings::Settings):
1415 2012-11-12 Dana Jansens <danakj@chromium.org>
1417 [chromium] Remove the WebCompositorSupport methods for changing settings, plumb everything through WebLayerTreeSettings
1418 https://bugs.webkit.org/show_bug.cgi?id=101968
1420 Reviewed by James Robinson.
1422 Move the outlier settings from WebCompositorSupport to WebLayerTreeView.
1424 PerTilePainting and AcceleratedAnimations are simply moved over. The
1425 PartialSwap and PageScalePinchZoomInCompositor settings, however, are
1426 not used by DRT, so we remove them.
1428 This change will temporarily break the --per-tile-painting and
1429 --accelerated-animations command line flags for chromium DRT until
1430 a chromium side patch hooks up the WebLayerTreeSettings again, but
1431 we have no bots running with these flags.
1433 PinchZoom will be unaffected by this, as DRT never turned it on, and by
1434 passing the WebLayerTreeSetting, chromium will not use it from here yet,
1437 PartialSwap will be also unaffected, as there was no place in WebKit
1438 that would enable it currently.
1440 * chromium/public/WebCompositorSupport.h:
1441 (WebCompositorSupport):
1442 * chromium/public/WebLayerTreeView.h:
1443 (WebKit::WebLayerTreeView::Settings::Settings):
1446 2012-11-13 Dimitri Glazkov <dglazkov@chromium.org>
1448 Unreviewed, rolling out r134391.
1449 http://trac.webkit.org/changeset/134391
1450 https://bugs.webkit.org/show_bug.cgi?id=99660
1452 Speculative rollout, trying to fix browser_tests failure.
1454 * chromium/public/WebLayerTreeView.h:
1457 2012-11-13 Eberhard Graether <egraether@google.com>
1459 checkbox to toggle FPS counter in the inspector's settings
1460 https://bugs.webkit.org/show_bug.cgi?id=99660
1462 Reviewed by Pavel Feldman.
1464 Added a checkbox to the inspector's settings to toggle a FPS counter. The checkbox appears when InspectorClient::canShowFPSCounter() returns true.
1466 * chromium/public/WebLayerTreeView.h:
1468 (WebKit::WebLayerTreeView::setShowFPSCounter):
1470 2012-11-12 Alexandre Elias <aelias@chromium.org>
1472 [chromium] Delete WebCompositor.h
1473 https://bugs.webkit.org/show_bug.cgi?id=101137
1475 Reviewed by James Robinson.
1477 The implementation of this class is getting deleted and all
1478 WebKit-side users are already going via WebCompositorSupport instead.
1481 * chromium/public/WebCompositor.h: Removed.
1483 2012-11-12 Tommy Widenflycht <tommyw@google.com>
1485 MediaStream API: Schedule the RTCDataChannel events to be triggered at idle state
1486 https://bugs.webkit.org/show_bug.cgi?id=101751
1488 Reviewed by Adam Barth.
1490 Making some WebRTCDataChannel methods const.
1492 * chromium/public/WebRTCDataChannel.h:
1493 (WebRTCDataChannel):
1495 2012-11-09 Tommy Widenflycht <tommyw@google.com>
1497 MediaStream API: Deleting all files relating to the deprecated PeerConnection00
1498 https://bugs.webkit.org/show_bug.cgi?id=101730
1500 Reviewed by Adam Barth.
1502 Since RTCPeerConenction has superseeded PeerConnection00 this patch removes all
1503 files relating to the old API.
1506 * chromium/public/Platform.h:
1509 * chromium/public/WebICECandidateDescriptor.h: Removed.
1510 * chromium/public/WebICEOptions.h: Removed.
1511 * chromium/public/WebMediaHints.h: Removed.
1512 * chromium/public/WebMediaStreamCenter.h:
1514 (WebMediaStreamCenter):
1515 * chromium/public/WebPeerConnection00Handler.h: Removed.
1516 * chromium/public/WebPeerConnection00HandlerClient.h: Removed.
1517 * chromium/public/WebPeerConnectionHandler.h: Removed.
1518 * chromium/public/WebPeerConnectionHandlerClient.h: Removed.
1519 * chromium/public/WebSessionDescriptionDescriptor.h: Removed.
1521 2012-11-08 Sami Kyostila <skyostil@chromium.org>
1523 Introduce WebScreenInfo.deviceScaleFactor
1524 https://bugs.webkit.org/show_bug.cgi?id=101613
1526 Reviewed by Adam Barth.
1528 Introduce the WebScreenInfo.deviceScaleFactor property, which specifies the
1529 ratio between physical and logical pixels. This is the first step in replacing
1530 horizontalDPI/verticalDPI in favor of the deviceScaleFactor.
1532 For now, this value is only initialized on Mac, because the other ports that
1533 use it initialize the value in Chromium, whereas Windows and X11 default to a
1534 factor of 1. The value on Mac is truncated to an integer to match the
1535 expectation in Chromium's RenderWidget.
1537 * chromium/public/WebScreenInfo.h:
1539 (WebKit::WebScreenInfo::WebScreenInfo):
1541 2012-11-08 Keishi Hattori <keishi@webkit.org>
1543 Add properties for week/month picker in DateTimeChooserImpl::writeDocument
1544 https://bugs.webkit.org/show_bug.cgi?id=101552
1546 Reviewed by Kent Tamura.
1548 * chromium/public/WebLocalizedString.h: Add WeekNumberLabel.
1550 2012-11-08 Robert Kroeger <rjkroege@chromium.org>
1552 [chromium] correct coding oversight for clang
1553 https://bugs.webkit.org/show_bug.cgi?id=101513
1555 Reviewed by Kent Tamura.
1557 https://bugs.webkit.org/show_bug.cgi?id=100675 contains an
1558 incorrect declaration that precludes compiling embedder code
1559 with clang: patch changes class to struct appropriately.
1561 * chromium/public/WebGestureCurveTarget.h:
1564 2012-11-07 Yusuf Ozuysal <yusufo@google.com>
1566 Add API for touchEventHandlerRegion to WebLayer
1567 https://bugs.webkit.org/show_bug.cgi?id=101406
1569 Reviewed by James Robinson.
1571 These will be used to keep track of JavaScript touch event handlers from the compositor thread.
1573 * chromium/public/WebLayer.h:
1574 (WebKit::WebLayer::setTouchEventHandlerRegion):
1575 (WebKit::WebLayer::touchEventHandlerRegion):
1578 2012-10-23 Stephen White <senorblanco@chromium.org>
1580 [skia] Implement reference (url) filters on composited layers.
1581 https://bugs.webkit.org/show_bug.cgi?id=100142
1583 Reviewed by James Robinson.
1585 * chromium/public/WebLayer.h:
1586 Expose Layer::setFilter() to the WebKit API.
1588 2012-11-05 James Robinson <jamesr@chromium.org>
1590 [chromium] Use const SkBitmap& parameter for WebLayerTreeView::setFontAtlas
1591 https://bugs.webkit.org/show_bug.cgi?id=101016
1593 Reviewed by Adrienne Walker.
1595 Passing SkBitmap by value requires including SkBitmap.h, which is tricky for some clients to do since it
1596 requires having the rest of skia's headers on the include path and setting up the correct config to set
1597 preprocessor defines. Also shuffles the parameter order around to make rolling easier since you can't override
1598 just by const ref-ness.
1600 * chromium/public/WebLayerTreeView.h:
1601 (WebKit::WebLayerTreeView::setFontAtlas):
1603 2012-11-05 Alok Priyadarshi <alokp@chromium.org>
1605 [chromium] Pass canPaintLCDText to WebContentLayerClient::paintContents
1606 https://bugs.webkit.org/show_bug.cgi?id=99083
1608 Reviewed by Stephen White.
1610 Use LCD text setting passed to WebContentLayerClient::paintContents instead of turning it off for all composited layers.
1612 * chromium/public/WebContentLayerClient.h:
1613 (WebContentLayerClient):
1614 (WebKit::WebContentLayerClient::paintContents):
1616 2012-11-01 Robert Kroeger <rjkroege@chromium.org>
1618 [chromium] Provide WebKit API interface for platform gesture curves
1619 https://bugs.webkit.org/show_bug.cgi?id=100675
1621 Reviewed by James Robinson.
1623 Define interfaces to permit the Chromium embedder to provide its own
1624 implementation of a gesture animation curve and add an entry point
1625 to Platform.h that permits WebKit to obtain an instance of an embedder-
1626 provided gesture curve.
1628 No tests needed in this CL: only interfaces are being added.
1631 * chromium/public/Platform.h:
1634 (WebKit::Platform::createFlingAnimationCurve):
1635 * chromium/public/WebGestureCurve.h: Added.
1638 (WebKit::WebGestureCurve::~WebGestureCurve):
1639 * chromium/public/WebGestureCurveTarget.h: Added.
1641 (WebGestureCurveTarget):
1642 (WebKit::WebGestureCurveTarget::~WebGestureCurveTarget):
1643 * chromium/src/WebActiveGestureAnimation.cpp: Added.
1645 (WebKit::WebActiveGestureAnimation::createAtAnimationStart):
1646 (WebKit::WebActiveGestureAnimation::createWithTimeOffset):
1647 (WebKit::WebActiveGestureAnimation::~WebActiveGestureAnimation):
1648 (WebKit::WebActiveGestureAnimation::WebActiveGestureAnimation):
1649 (WebKit::WebActiveGestureAnimation::animate):
1650 * chromium/src/WebActiveGestureAnimation.h: Added.
1652 (WebActiveGestureAnimation):
1654 2012-11-01 Dana Jansens <danakj@chromium.org>
1656 [chromium] Allow implicit conversion between gfx::Vector2d and WebSize
1657 https://bugs.webkit.org/show_bug.cgi?id=100553
1659 Reviewed by James Robinson.
1661 The gfx::Vector2d class is used in chromium for defining distances. The
1662 IntSize class is used equivalently inside WebCore. This lets us convert
1663 between vectors and sizes along the API boundary.
1665 * chromium/public/WebSize.h:
1666 (WebKit::WebSize::WebSize):
1668 (WebKit::WebSize::operator=):
1669 (WebKit::WebSize::operator gfx::Vector2d):
1671 2012-11-01 W. James MacLean <wjmaclean@chromium.org>
1673 [chromium] Make WebLayerTreeView::adjustEventPointForPinchZoom pure virtual.
1674 https://bugs.webkit.org/show_bug.cgi?id=100875
1676 Reviewed by James Robinson.
1678 This CL removes the default implementation for adjustEventPointForPinchZoom(), which
1679 was necessary for landing the original patch in https://bugs.webkit.org/show_bug.cgi?id=100542.
1681 * chromium/public/WebLayerTreeView.h:
1684 2012-10-31 Stephen White <senorblanco@chromium.org>
1686 Unreviewed, rolling out r133122.
1687 http://trac.webkit.org/changeset/133122
1688 https://bugs.webkit.org/show_bug.cgi?id=99083
1690 Broke Chromium Win, Android, ChromeOS builds
1692 * chromium/public/WebContentLayerClient.h:
1693 (WebContentLayerClient):
1695 2012-10-31 Alok Priyadarshi <alokp@chromium.org>
1697 [chromium] Pass canPaintLCDText to WebContentLayerClient::paintContents
1698 https://bugs.webkit.org/show_bug.cgi?id=99083
1700 Reviewed by James Robinson.
1702 Use LCD text setting passed to WebContentLayerClient::paintContents instead of turning it off for all composited layers.
1704 * chromium/public/WebContentLayerClient.h:
1705 (WebContentLayerClient):
1706 (WebKit::WebContentLayerClient::paintContents):
1708 2012-10-30 W. James MacLean <wjmaclean@chromium.org>
1710 [chromium] Transform mouse/gesture event coordinates to account for pinch-zoom in compositor.
1711 https://bugs.webkit.org/show_bug.cgi?id=100542
1713 Reviewed by James Robinson.
1715 Pinch-zoom in the compositor applies a transformation that WebCore does not know about.
1716 We need to adjust mouse and gesture event coordinates to account for this in order that
1717 hit testing work properly for these types while zoomed.
1719 * chromium/public/WebLayerTreeView.h:
1721 (WebKit::WebLayerTreeView::adjustPointForZoom): Adjusts point coordinated to account for zoom in compositor.
1723 2012-10-30 James Robinson <jamesr@chromium.org>
1725 [chromium] Forward declare WebGraphicsContext3D in WebLayerTreeViewClient.h
1726 https://bugs.webkit.org/show_bug.cgi?id=100717
1728 Reviewed by Adrienne Walker.
1730 Currently it isn't possible to include WebLayerTreeViewClient by itself.
1732 * chromium/public/WebLayerTreeViewClient.h:
1735 2012-10-26 Christopher Cameron <ccameron@chromium.org>
1737 [chromium] Add additional memory management fields to WebGraphicsContext3D
1738 https://bugs.webkit.org/show_bug.cgi?id=99703
1740 Reviewed by James Robinson.
1742 Add new fields to WebGraphicsMemoryAllocation to allow for specifying
1743 limits for when visible and not, and to allow for specifying priority
1744 cutoffs (e.g, to allow specifying that backgrounded tabs should
1745 retain only their visible textures).
1747 Add sendManagedMemoryStatsCHROMIUM to WebGraphicsContext3D, and
1748 add WebGraphicsManagedMemoryStats structure, to allow the GPU memory
1749 manager to make more informed choices.
1751 * chromium/public/WebGraphicsContext3D.h:
1752 (WebKit::WebGraphicsContext3D::sendManagedMemoryStatsCHROMIUM):
1753 * chromium/public/WebGraphicsMemoryAllocation.h:
1754 (WebGraphicsMemoryAllocation):
1755 (WebKit::WebGraphicsMemoryAllocation::WebGraphicsMemoryAllocation):
1757 (WebGraphicsManagedMemoryStats):
1758 (WebKit::WebGraphicsManagedMemoryStats::WebGraphicsManagedMemoryStats):
1760 2012-10-26 Dana Jansens <danakj@chromium.org>
1762 [chromium] Add implicit conversions between WebFloatPoint and gfx::PointF
1763 https://bugs.webkit.org/show_bug.cgi?id=100435
1765 Reviewed by James Robinson.
1767 This is similar to other Web geometry types, but the WebFloatPoint is
1770 * chromium/public/WebFloatPoint.h:
1772 (WebKit::WebFloatPoint::WebFloatPoint):
1773 (WebKit::WebFloatPoint::operator=):
1774 (WebKit::WebFloatPoint::operator gfx::PointF):
1776 2012-10-25 Jonathan Backer <backer@chromium.org>
1778 CHROMIUM: Add a method to WebLayerTreeView API
1779 https://bugs.webkit.org/show_bug.cgi?id=100291
1781 Reviewed by James Robinson.
1783 Used to support browser compositor commit locks (crbug.com/136366).
1785 * chromium/public/WebLayerTreeView.h:
1787 (WebKit::WebLayerTreeView::setDeferCommits):
1789 2012-10-24 John Sheu <sheu@google.com>
1791 [chromium] Add textureWidth() and textureHeight() to WebVideoFrame
1792 https://bugs.webkit.org/show_bug.cgi?id=100042
1794 Reviewed by James Robinson.
1796 It might be the case that the visible portion of a video frame isn't the
1797 entire texture size, e.g. for cropping. We'll need accessors in
1798 WebVideoFrame to be able to query both the underlying texture dimensions
1799 and the subrect which is supposed to be visible.
1801 This is presently a no-op change. Once Chromium changes are in, I will
1802 remove the superseded parts of the WebVideoFrame interface.
1804 * chromium/public/WebVideoFrame.h:
1805 (WebKit::WebVideoFrame::visibleRect);
1806 (WebKit::WebVideoFrame::textureSize);
1808 2012-10-24 Mark Pilgrim <pilgrim@chromium.org>
1810 [Chromium] Remove screen-related functions from PlatformSupport
1811 https://bugs.webkit.org/show_bug.cgi?id=97474
1813 Reviewed by Adam Barth.
1815 Screen-related functions like screenHorizontalDPI that
1816 used to be on PlatformSupport are now accessed through a new
1817 PlatformPageClient attached to Widget in WebCore-land, which is
1818 implemented by ChromeClientImpl in WebKit-land, which proxies
1819 calls to WebWidgetClient, which is actually implemented in
1823 * chromium/public/WebScreenInfo.h: Added.
1826 (WebKit::WebScreenInfo::WebScreenInfo):
1828 2012-10-23 David Reveman <reveman@chromium.org>
1830 [Chromium] Add CHROMIUM_texture_from_image extension support.
1831 https://bugs.webkit.org/show_bug.cgi?id=99894
1833 Reviewed by James Robinson.
1835 Add bindTexImage2DCHROMIUM and releaseTexImage2DCHROMIUM prototypes to
1836 WebGraphicsContext3D.h.
1838 * chromium/public/WebGraphicsContext3D.h:
1839 (WebGraphicsContext3D):
1840 (WebKit::WebGraphicsContext3D::bindTexImage2DCHROMIUM):
1841 (WebKit::WebGraphicsContext3D::releaseTexImage2DCHROMIUM):
1843 2012-10-23 Dana Jansens <danakj@chromium.org>
1845 [chromium] Expose setAutomaticallyComputeRasterScale on the WebLayer API
1846 https://bugs.webkit.org/show_bug.cgi?id=100013
1848 Reviewed by James Robinson.
1850 This allows web content to opt-in to having their contentsScale
1851 determined from their CSS transforms, without having this behaviour
1852 unconditionally enabled globally.
1854 Supports http://crbug.com/149943
1856 * chromium/public/WebLayer.h:
1859 2012-10-22 Keishi Hattori <keishi@webkit.org>
1861 Remove monthFormatInLDML
1862 https://bugs.webkit.org/show_bug.cgi?id=99971
1864 Reviewed by Kent Tamura.
1866 * chromium/public/WebLocalizedString.h:
1868 2012-10-22 Keishi Hattori <keishi@webkit.org>
1870 [Chromium] Rename WeekFormatInLDML to WeekFormatTemplate
1871 https://bugs.webkit.org/show_bug.cgi?id=99972
1873 Reviewed by Kent Tamura.
1875 Renaming because Chromium won't be returning a week format in LDML.
1877 * chromium/public/WebLocalizedString.h:
1879 2012-10-19 Sheriff Bot <webkit.review.bot@gmail.com>
1881 Unreviewed, rolling out r131944.
1882 http://trac.webkit.org/changeset/131944
1883 https://bugs.webkit.org/show_bug.cgi?id=99891
1885 On second thoughts, not such a great idea (Requested by jamesr
1888 * chromium/public/WebCompositorSupport.h:
1889 (WebCompositorSupport):
1891 2012-10-19 Alexandre Elias <aelias@chromium.org>
1893 [chromium] API to pass impl thread via WebLayerTreeView
1894 https://bugs.webkit.org/show_bug.cgi?id=99863
1896 Reviewed by James Robinson.
1898 This adds an API to pass the compositor impl thread via WebView and
1899 WebLayerTreeView. This is currently a no-op change, but in the future
1900 this codepath will supercede WebCompositor. The goal is to avoid statics
1901 in compositor initialization.
1903 * chromium/public/WebCompositorSupport.h:
1904 (WebKit::WebCompositorSupport::createLayerTreeView):
1905 (WebCompositorSupport):
1906 * chromium/public/WebLayerTreeView.h:
1910 2012-10-18 Tommy Widenflycht <tommyw@google.com>
1912 MediaStream API: Do some cleanup in the chromium WebKit API
1913 https://bugs.webkit.org/show_bug.cgi?id=99713
1915 Reviewed by Adam Barth.
1917 Removing the deprecated version of WebMediaStreamDescriptor::initialize and making
1918 the two constructSDP functions in WebMediaStreamCenter optional to override.
1919 This is part of the preparation to remove PeerConnection00.
1921 * chromium/public/WebMediaStreamCenter.h:
1922 (WebKit::WebMediaStreamCenter::constructSDP):
1923 * chromium/public/WebMediaStreamDescriptor.h:
1924 (WebMediaStreamDescriptor):
1926 2012-10-17 Adrienne Walker <enne@chromium.org>
1928 [chromium] Make WebContentLayer include what it uses
1929 https://bugs.webkit.org/show_bug.cgi?id=99664
1931 Reviewed by James Robinson.
1933 * chromium/public/WebContentLayer.h:
1935 2012-10-17 Harald Alvestrand <hta@google.com>
1937 Implement the Selector argument to RTCPeerConnection.getStats
1938 https://bugs.webkit.org/show_bug.cgi?id=99460
1940 Reviewed by Adam Barth.
1942 * chromium/public/WebRTCStatsRequest.h:
1944 (WebRTCStatsRequest):
1946 2012-10-16 Tommy Widenflycht <tommyw@google.com>
1948 MediaStream API: Add the chromium API for RTCDataChannel
1949 https://bugs.webkit.org/show_bug.cgi?id=99435
1951 Reviewed by Adam Barth.
1953 Adding WebRTCDataChannel.
1956 * chromium/public/WebRTCDataChannel.h: Added.
1959 (WebRTCDataChannel):
1961 (WebKit::WebRTCDataChannel::ExtraData::~ExtraData):
1962 (WebKit::WebRTCDataChannel::WebRTCDataChannel):
1963 (WebKit::WebRTCDataChannel::~WebRTCDataChannel):
1964 (WebKit::WebRTCDataChannel::operator=):
1965 (WebKit::WebRTCDataChannel::isNull):
1966 * chromium/public/WebRTCPeerConnectionHandler.h:
1968 (WebRTCPeerConnectionHandler):
1969 (WebKit::WebRTCPeerConnectionHandler::openDataChannel):
1970 (WebKit::WebRTCPeerConnectionHandler::sendStringData):
1971 (WebKit::WebRTCPeerConnectionHandler::sendRawData):
1972 (WebKit::WebRTCPeerConnectionHandler::closeDataChannel):
1974 2012-10-13 Chris Rogers <crogers@google.com>
1976 WebAudioBus needs support for resizing bus to a smaller size
1977 https://bugs.webkit.org/show_bug.cgi?id=99215
1979 Reviewed by Dimitri Glazkov.
1981 Upgrade AudioBus and WebAudioBus to support resizing to a smaller size, once it has been created.
1982 This is useful, for example, when decoding VBR formats and the actual length can't be exactly determined
1983 until the entire file is decoded.
1985 * chromium/public/WebAudioBus.h:
1988 2012-10-10 Scott Violet <sky@google.com>
1990 Expose background color in WebLayer https://bugs.webkit.org/show_bug.cgi?id=98707
1992 Reviewed by James Robinson.
1994 * chromium/public/WebLayer.h:
1995 (WebLayer): Adds backgroundColor.
1997 2012-10-10 Antoine Labour <piman@chromium.org>
1999 [chromium] Add entrypoints to set frame contents and recycle resources in WebDelegatedRendererLayer
2000 https://bugs.webkit.org/show_bug.cgi?id=98833
2002 Reviewed by James Robinson.
2004 This is needed for https://codereview.chromium.org/10915298
2006 * chromium/public/WebDelegatedRendererLayer.h:
2009 (WebDelegatedRendererLayer):
2011 2012-10-10 Antoine Labour <piman@chromium.org>
2013 [chromium] Add empty WebCompositorFrame/WebCompositorFrameAck
2014 https://bugs.webkit.org/show_bug.cgi?id=98841
2016 Reviewed by James Robinson.
2018 These were used in the WebKit API but never defined.
2020 * chromium/public/WebCompositorFrame.h: Added.
2022 * chromium/public/WebCompositorFrameAck.h: Added.
2025 2012-10-10 John Bauman <jbauman@chromium.org>
2027 [chromium] Add attribute for disabling automatic flushes
2028 https://bugs.webkit.org/show_bug.cgi?id=98834
2030 Reviewed by Kenneth Russell.
2032 This attribute allows the compositor context to specify that it wants
2033 to handle flushing itself.
2035 * chromium/public/WebGraphicsContext3D.h:
2036 (WebKit::WebGraphicsContext3D::Attributes::Attributes):
2039 2012-10-09 Harald Alvestrand <hta@google.com>
2041 Change PeerConnection getStats function to single value local / remote
2042 elements in RTCStatsReport.
2043 https://bugs.webkit.org/show_bug.cgi?id=98753
2045 Reviewed by Adam Barth.
2047 * chromium/public/WebRTCStatsResponse.h:
2048 (WebRTCStatsResponse):
2050 2012-10-04 Harald Alvestrand <hta@google.com>
2052 Change RTCPeerConnection GetStats to use Date timestamp format
2053 https://bugs.webkit.org/show_bug.cgi?id=98263
2055 Reviewed by Yury Semikhatsky.
2057 * chromium/public/WebRTCStatsResponse.h:
2058 (WebRTCStatsResponse):
2060 2012-10-04 Sheriff Bot <webkit.review.bot@gmail.com>
2062 Unreviewed, rolling out r130377.
2063 http://trac.webkit.org/changeset/130377
2064 https://bugs.webkit.org/show_bug.cgi?id=98392
2066 Chromium Win compilation is broken (Requested by yurys on
2069 * chromium/public/WebRTCStatsResponse.h:
2070 (WebRTCStatsResponse):
2072 2012-10-04 Harald Alvestrand <hta@google.com>
2074 Change RTCPeerConnection GetStats to use Date timestamp format
2075 https://bugs.webkit.org/show_bug.cgi?id=98263
2077 Reviewed by Adam Barth.
2079 * chromium/public/WebRTCStatsResponse.h:
2080 (WebRTCStatsResponse):
2082 2012-10-03 Glenn Hartmann <hartmanng@chromium.org>
2084 Adding total pixels painted and rasterized stats.
2085 https://bugs.webkit.org/show_bug.cgi?id=98269
2087 Reviewed by James Robinson.
2089 * chromium/public/WebRenderingStats.h:
2090 (WebRenderingStats):
2091 (WebKit::WebRenderingStats::WebRenderingStats):
2092 (WebKit::WebRenderingStats::enumerateFields):
2094 2012-10-03 Jeff Timanus <twiz@chromium.org>
2096 [chromium] Expose settings value to conditionally enable pinch-zoom scaling in the Chromium compositor. The
2097 flag defaults to disabled, so this change should be a no-op for scaling/scrolling behaviour.
2098 https://bugs.webkit.org/show_bug.cgi?id=93292
2100 Reviewed by James Robinson.
2102 * chromium/public/WebCompositor.h:
2104 * chromium/public/WebCompositorSupport.h:
2105 (WebKit::WebCompositorSupport::setPageScalePinchZoomEnabled):
2107 2012-10-03 Harald Alvestrand <hta@google.com>
2109 Add data passing to the GetStats interface of RTCPeerConnection
2110 https://bugs.webkit.org/show_bug.cgi?id=98003
2112 Reviewed by Adam Barth.
2115 * chromium/public/WebRTCStatsRequest.h:
2117 (WebRTCStatsRequest):
2118 * chromium/public/WebRTCStatsResponse.h: Added.
2121 (WebRTCStatsResponse):
2122 (WebKit::WebRTCStatsResponse::WebRTCStatsResponse):
2123 (WebKit::WebRTCStatsResponse::~WebRTCStatsResponse):
2124 (WebKit::WebRTCStatsResponse::operator=):
2126 2012-10-02 Terry Anderson <tdanderson@chromium.org>
2128 [chromium] Add field to WebRenderingStats to track if we have impl-thread scrolled
2129 https://bugs.webkit.org/show_bug.cgi?id=97919
2131 Reviewed by James Robinson.
2133 Add two new members |numImplThreadScrolls| and |numMainThreadScrolls| to track
2134 the total number of times we have impl-thread scrolled and main-thread scrolled,
2137 * chromium/public/WebRenderingStats.h:
2138 (WebRenderingStats):
2139 (WebKit::WebRenderingStats::WebRenderingStats):
2140 (WebKit::WebRenderingStats::enumerateFields):
2142 2012-09-28 Harald Tveit Alvestrand <harald@alvestrand.no>
2144 Implement the GetStats interface on PeerConnection
2145 https://bugs.webkit.org/show_bug.cgi?id=95193
2147 Reviewed by Adam Barth.
2149 * chromium/public/WebRTCPeerConnectionHandler.h:
2151 (WebRTCPeerConnectionHandler):
2152 (WebKit::WebRTCPeerConnectionHandler::getStats):
2153 * chromium/public/WebRTCStatsRequest.h: added.
2156 (WebRTCStatsRequest):
2157 (WebKit::WebRTCStatsRequest::WebRTCStatsRequest):
2158 (WebKit::WebRTCStatsRequest::~WebRTCStatsRequest):
2159 (WebKit::WebRTCStatsRequest::operator=):
2161 2012-09-28 Kentaro Hara <haraken@chromium.org>
2163 Unreviewed, rolling out r129825.
2164 http://trac.webkit.org/changeset/129825
2165 https://bugs.webkit.org/show_bug.cgi?id=97474
2167 DOMWindow.resizeTo() is broken. Asked by Mark Pilgrim.
2170 * chromium/public/WebScreenInfo.h: Removed.
2172 2012-09-28 Yoshifumi Inoue <yosin@chromium.org>
2174 [Forms] Add localized strings for multiple fields date/time input UI
2175 https://bugs.webkit.org/show_bug.cgi?id=97878
2177 Reviewed by Kent Tamura.
2179 This patch introduces following localized string identifier for
2180 month, time and week pickers:
2181 - OtherMonthLabel - appeared at the last entry in suggestion list.
2182 - OtherTimeLabel - ditto
2183 - OtherWeekLabel - ditto
2184 - ThisMonthButtonLabel - used in month picker
2185 - ThisWeekButtonLabel - used in week picker
2187 * chromium/public/WebLocalizedString.h: Added OtherMonthLabel, OtherTimeLabel, OtherWeekLabel, ThiMonthkButtonLabel, and ThisWeekButtonLabel.
2189 2012-09-27 Mark Pilgrim <pilgrim@chromium.org>
2191 [Chromium] Remove screen-related functions from PlatformSupport
2192 https://bugs.webkit.org/show_bug.cgi?id=97474
2194 Reviewed by Adam Barth.
2196 Screen-related functions like screenHorizontalDPI that
2197 used to be on PlatformSupport are now accessed through a new
2198 PlatformPageClient attached to Widget in WebCore-land, which is
2199 implemented by ChromeClientImpl in WebKit-land, which proxies
2200 calls to WebWidgetClient, which is actually implemented in
2204 * chromium/public/WebScreenInfo.h: Added.
2207 (WebKit::WebScreenInfo::WebScreenInfo):
2209 2012-09-27 Tommy Widenflycht <tommyw@google.com>
2211 MediaStream API: Enhance MediaConstraints to make it easier to get the constraint data
2212 https://bugs.webkit.org/show_bug.cgi?id=97559
2214 Reviewed by Adam Barth.
2216 Refactored to mimic the new MediaConstraints api.
2218 * chromium/public/WebMediaConstraints.h:
2220 (WebKit::WebMediaConstraint::WebMediaConstraint):
2221 (WebMediaConstraint):
2223 (WebMediaConstraints):
2225 2012-09-27 Tommy Widenflycht <tommyw@google.com>
2227 MediaStream API: Update getUserMedia to match the latest specification
2228 https://bugs.webkit.org/show_bug.cgi?id=97540
2230 Reviewed by Adam Barth.
2232 * chromium/public/WebMediaConstraints.h:
2233 (WebMediaConstraints):
2235 2012-09-26 Yoshifumi Inoue <yosin@chromium.org>
2237 [Forms] Adding localization texts for multiple fields date/time input UI
2238 https://bugs.webkit.org/show_bug.cgi?id=97633
2240 Reviewed by Kent Tamura.
2242 This patch adds localized string enum fields for getting localized
2243 strings used in multiple fields date/time input UI.
2245 * chromium/public/WebLocalizedString.h: Added PlaceholderForDayOfMonthField,
2246 PlaceholderForMonthField, PlaceholderForYearField, MonthFormatInLDML,
2247 and WeekFormatInLDML.
2249 2012-09-26 Sheriff Bot <webkit.review.bot@gmail.com>
2251 Unreviewed, rolling out r129654.
2252 http://trac.webkit.org/changeset/129654
2253 https://bugs.webkit.org/show_bug.cgi?id=97702
2255 breaks chromium windows build (Requested by schenney on
2258 * chromium/public/WebRTCPeerConnectionHandler.h:
2260 (WebRTCPeerConnectionHandler):
2261 * chromium/public/WebRTCStatsRequest.h: Removed.
2263 2012-09-26 Harald Tveit Alvestrand <harald@alvestrand.no>
2265 Implement the GetStats interface on PeerConnection
2266 https://bugs.webkit.org/show_bug.cgi?id=95193
2268 Reviewed by Adam Barth.
2270 * chromium/public/WebRTCPeerConnectionHandler.h:
2272 (WebRTCPeerConnectionHandler):
2273 (WebKit::WebRTCPeerConnectionHandler::getStats):
2274 * chromium/public/WebRTCStatsRequest.h: added.
2277 (WebRTCStatsRequest):
2278 (WebKit::WebRTCStatsRequest::WebRTCStatsRequest):
2279 (WebKit::WebRTCStatsRequest::~WebRTCStatsRequest):
2280 (WebKit::WebRTCStatsRequest::operator=):
2282 2012-09-25 Sheriff Bot <webkit.review.bot@gmail.com>
2284 Unreviewed, rolling out r129517.
2285 http://trac.webkit.org/changeset/129517
2286 https://bugs.webkit.org/show_bug.cgi?id=97582
2288 Link errors in chromium (Requested by alecf on #webkit).
2290 * chromium/public/WebMediaConstraints.h:
2291 (WebMediaConstraints):
2293 2012-09-25 Tommy Widenflycht <tommyw@google.com>
2295 MediaStream API: Update getUserMedia to match the latest specification
2296 https://bugs.webkit.org/show_bug.cgi?id=97540
2298 Reviewed by Adam Barth.
2300 * chromium/public/WebMediaConstraints.h:
2301 (WebMediaConstraints):
2303 2012-09-24 Dana Jansens <danakj@chromium.org>
2305 [chromium] Add setters to WebFilterOperation for IPC pickling
2306 https://bugs.webkit.org/show_bug.cgi?id=97147
2308 Reviewed by James Robinson.
2310 These methods allow us to restore a WebFilterOperation from a blob
2311 of opaque data. The pickling code needs to be able to create an
2312 empty object and then fill in the pieces, so these setters allow it
2315 Test: WebFilterOperationsTest.saveAndRestore
2317 * chromium/public/WebFilterOperation.h:
2318 (WebKit::WebFilterOperation::amount):
2319 (WebKit::WebFilterOperation::dropShadowOffset):
2320 (WebKit::WebFilterOperation::matrix):
2321 (WebKit::WebFilterOperation::zoomRect):
2322 (WebFilterOperation):
2323 (WebKit::WebFilterOperation::createEmptyFilter):
2324 (WebKit::WebFilterOperation::setType):
2325 (WebKit::WebFilterOperation::setAmount):
2326 (WebKit::WebFilterOperation::setDropShadowOffset):
2327 (WebKit::WebFilterOperation::setDropShadowColor):
2328 (WebKit::WebFilterOperation::setMatrix):
2329 (WebKit::WebFilterOperation::setZoomRect):
2330 * chromium/src/WebFilterOperation.cpp:
2332 2012-09-24 Yury Semikhatsky <yurys@chromium.org>
2334 Unreviewed, rolling out r122243.
2335 http://trac.webkit.org/changeset/129243
2336 https://bugs.webkit.org/show_bug.cgi?id=97441
2338 WebFilterOperationsTest.saveAndRestore added in the change is failing.
2340 * chromium/public/WebFilterOperation.h:
2341 (WebKit::WebFilterOperation::amount):
2342 (WebKit::WebFilterOperation::dropShadowOffset):
2343 (WebKit::WebFilterOperation::matrix):
2344 (WebKit::WebFilterOperation::zoomRect):
2345 (WebFilterOperation):
2347 2012-09-21 Alexandre Elias <aelias@chromium.org>
2349 [chromium] Forward-declare WebSize as a struct
2350 https://bugs.webkit.org/show_bug.cgi?id=97381
2352 Reviewed by James Robinson.
2354 The mismatched "class" forward-declaration for WebSize in this file
2355 will cause a Clang error when it's included in Chromium.
2357 * chromium/public/WebCompositorSoftwareOutputDevice.h:
2360 2012-09-21 Brandon Jones <bajones@google.com>
2362 Add support for OES_vertex_array_object in chromium
2363 https://bugs.webkit.org/show_bug.cgi?id=96578
2365 Reviewed by Kenneth Russell.
2367 Added code to allow calls to the OES_vertex_array_object extension to interface
2368 properly with the chromium WebGL implementation.
2370 * chromium/public/WebGraphicsContext3D.h:
2371 (WebGraphicsContext3D):
2372 (WebKit::WebGraphicsContext3D::createVertexArrayOES):
2373 (WebKit::WebGraphicsContext3D::deleteVertexArrayOES):
2374 (WebKit::WebGraphicsContext3D::isVertexArrayOES):
2375 (WebKit::WebGraphicsContext3D::bindVertexArrayOES):
2377 2012-09-21 Dana Jansens <danakj@chromium.org>
2379 [chromium] Add setters to WebFilterOperation for IPC pickling
2380 https://bugs.webkit.org/show_bug.cgi?id=97147
2382 Reviewed by James Robinson.
2384 These methods allow us to restore a WebFilterOperation from a blob
2385 of opaque data. The pickling code needs to be able to create an
2386 empty object and then fill in the pieces, so these setters allow it
2389 Test: WebFilterOperationsTest.saveAndRestore
2391 * chromium/public/WebFilterOperation.h:
2392 (WebKit::WebFilterOperation::amount):
2393 (WebKit::WebFilterOperation::dropShadowOffset):
2394 (WebKit::WebFilterOperation::matrix):
2395 (WebKit::WebFilterOperation::zoomRect):
2396 (WebFilterOperation):
2397 (WebKit::WebFilterOperation::createEmptyFilter):
2398 (WebKit::WebFilterOperation::setType):
2399 (WebKit::WebFilterOperation::setAmount):
2400 (WebKit::WebFilterOperation::setDropShadowOffset):
2401 (WebKit::WebFilterOperation::setDropShadowColor):
2402 (WebKit::WebFilterOperation::setMatrix):
2403 (WebKit::WebFilterOperation::setZoomRect):
2404 * chromium/src/WebFilterOperation.cpp:
2406 2012-09-20 Keishi Hattori <keishi@webkit.org>
2408 [Chromium ] Add new localized string, OtherDateLabel, to be used in input type=date datalist UI
2409 https://bugs.webkit.org/show_bug.cgi?id=97200
2411 Reviewed by Kent Tamura.
2413 Adding new localized string to be used in the SuggestionPicker for input type=date.
2415 * chromium/public/WebLocalizedString.h:
2417 2012-09-18 Sailesh Agrawal <sail@chromium.org>
2419 Chromium: Scrollbar with tickmarks doesn't respond to clicks
2420 https://bugs.webkit.org/show_bug.cgi?id=96049
2422 Reviewed by Beth Dakin.
2424 Added isAlphaLocked and setIsAlphaLocked.
2426 * chromium/public/WebScrollbar.h:
2429 2012-09-17 Brian Anderson <brianderson@chromium.org>
2431 [chromium] Add rendering commit statistics
2432 https://bugs.webkit.org/show_bug.cgi?id=96938
2434 Reviewed by James Robinson.
2436 Adds total commit time and total commit count to WebRenderingStats.
2437 Allows us to caculate average commit time in performance tests.
2439 * chromium/public/WebRenderingStats.h:
2440 (WebRenderingStats):
2441 (WebKit::WebRenderingStats::WebRenderingStats):
2442 (WebKit::WebRenderingStats::enumerateFields):
2444 2012-09-17 Antoine Labour <piman@chromium.org>
2446 [chromium] Add onSendFrameToParentCompositorAck to WebCompositorOutputSurfaceClient
2447 https://bugs.webkit.org/show_bug.cgi?id=96850
2449 Reviewed by James Robinson.
2451 Hook for the WebCompositorOutputSurface::sendFrameToParent ack.
2452 Also changes WebCompositorFrame from a class to a struct.
2454 * chromium/public/WebCompositorOutputSurface.h:
2456 * chromium/public/WebCompositorOutputSurfaceClient.h:
2458 (WebCompositorOutputSurfaceClient):
2460 2012-09-17 Alexandre Elias <aelias@chromium.org>
2462 [chromium] WebCompositorOutputSurface software API
2463 https://bugs.webkit.org/show_bug.cgi?id=96851
2465 Reviewed by James Robinson.
2467 This adds a software-based output option to
2468 WebCompositorOutputSurface, for use with the new software compositor.
2469 If returns a "tear-off" which provides a WebImage object that can be
2473 * chromium/public/WebCompositorOutputSurface.h:
2475 (WebCompositorOutputSurface):
2476 (WebKit::WebCompositorOutputSurface::surfaceSoftware):
2477 * chromium/public/WebCompositorOutputSurfaceSoftware.h: Added.
2479 (WebCompositorOutputSurfaceSoftware):
2480 (WebKit::WebCompositorOutputSurfaceSoftware::~WebCompositorOutputSurfaceSoftware):
2482 2012-09-14 Dana Jansens <danakj@chromium.org>
2484 [chromium] Add the ubercomp WebDelegatedRendererLayer
2485 https://bugs.webkit.org/show_bug.cgi?id=94145
2487 Reviewed by Adrienne Walker.
2489 Expose a WebDelegatedRendererLayer to allow the browser compositor to
2490 embed such a layer in its tree. This layer will be connected to IPC
2491 machinery in the compositor that is yet TBD which will give a set of
2492 RenderPasses with DrawQuads to the impl copy of the layer.
2495 * chromium/public/WebCompositorSupport.h:
2497 (WebKit::WebCompositorSupport::createDelegatedRendererLayer):
2498 (WebCompositorSupport):
2499 * chromium/public/WebDelegatedRendererLayer.h: Added.
2501 (WebDelegatedRendererLayer):
2502 (WebKit::WebDelegatedRendererLayer::~WebDelegatedRendererLayer):
2504 2012-09-11 Zach Kuznia <zork@chromium.org>
2506 Fix FilterTypeZoom to properly call canvas->restore()
2507 https://bugs.webkit.org/show_bug.cgi?id=96082
2509 Reviewed by Adrienne Walker.
2511 Fix zoom filter to properly indicate that it affects pixels.
2513 * chromium/src/WebFilterOperations.cpp:
2514 (WebKit::WebFilterOperations::hasFilterThatMovesPixels):
2515 (WebKit::WebFilterOperations::hasFilterThatAffectsOpacity):
2517 2012-09-11 Tommy Widenflycht <tommyw@google.com>
2519 MediaStream API: add RTCPeerConnection::onnegotiationneeded
2520 https://bugs.webkit.org/show_bug.cgi?id=96097
2522 Reviewed by Adam Barth.
2524 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
2525 (WebRTCPeerConnectionHandlerClient):
2527 2012-09-10 Adrienne Walker <enne@google.com>
2529 [chromium] Fix deadlock between WebMediaPlayerClientImpl dtor and PutCurrentFrame
2530 https://bugs.webkit.org/show_bug.cgi?id=96010
2532 Reviewed by James Robinson.
2534 Add some additional clarifying comments.
2536 * chromium/public/WebVideoFrameProvider.h:
2538 (WebVideoFrameProvider):
2540 2012-09-10 Tommy Widenflycht <tommyw@google.com>
2542 [chromium] MediaStream API: Remove the Descriptor postfix
2543 https://bugs.webkit.org/show_bug.cgi?id=96268
2545 Reviewed by Adam Barth.
2547 After consideration I realized that there is no need whatsoever in using the Descriptor prefix
2548 in the WekKit embedder API. Removed from WebRTCSessionDescription and WebRTCICECandidate to start with.
2552 (WebRTCICECandidate):
2553 (WebKit::WebRTCICECandidate::WebRTCICECandidate):
2554 (WebKit::WebRTCICECandidate::~WebRTCICECandidate):
2555 (WebKit::WebRTCICECandidate::operator=):
2556 (WebKit::WebRTCICECandidate::isNull):
2557 * chromium/public/WebRTCPeerConnectionHandler.h:
2559 (WebRTCPeerConnectionHandler):
2560 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
2562 (WebRTCPeerConnectionHandlerClient):
2563 * chromium/public/WebRTCSessionDescription.h: Renamed from Source/Platform/chromium/public/WebRTCSessionDescriptionDescriptor.h.
2566 (WebRTCSessionDescription):
2567 (WebKit::WebRTCSessionDescription::WebRTCSessionDescription):
2568 (WebKit::WebRTCSessionDescription::~WebRTCSessionDescription):
2569 (WebKit::WebRTCSessionDescription::operator=):
2570 (WebKit::WebRTCSessionDescription::isNull):
2571 * chromium/public/WebRTCSessionDescriptionRequest.h:
2573 (WebRTCSessionDescriptionRequest):
2575 2012-09-09 James Robinson <jamesr@chromium.org>
2577 [chromium] Export WebFilterOperation(FilterType, SkScalar[20]) constructor
2578 https://bugs.webkit.org/show_bug.cgi?id=96215
2580 Reviewed by Adrienne Walker.
2582 Unlike the other WebFilterOperation constructors this one is defined out-of-line and so must be exported to be
2583 usable outside of WebKit.dll
2585 * chromium/public/WebFilterOperation.h:
2586 (WebFilterOperation):
2588 2012-09-07 James Robinson <jamesr@chromium.org>
2590 [chromium] Remove unused WebScrollbarThemePainter::isNull
2591 https://bugs.webkit.org/show_bug.cgi?id=96169
2593 Reviewed by Adrienne Walker.
2595 This doesn't appear to be used anywhere and triggers MSVS C4800 in any chromium file that #includes this header.
2597 * chromium/public/WebScrollbarThemePainter.h:
2599 2012-09-07 James Robinson <jamesr@chromium.org>
2601 [chromium] Implement WebCompositorInputHandlerImpl on top of exposed API instead of CC internals
2602 https://bugs.webkit.org/show_bug.cgi?id=96151
2604 Reviewed by Adrienne Walker.
2606 This adds public input handling interfaces for the compositor.
2608 * chromium/public/WebInputHandler.h:
2611 (WebKit::WebInputHandler::~WebInputHandler):
2612 * chromium/public/WebInputHandlerClient.h:
2614 (WebInputHandlerClient):
2615 (WebKit::WebInputHandlerClient::~WebInputHandlerClient):
2616 * chromium/public/WebLayerTreeView.h:
2618 * chromium/public/WebLayerTreeViewClient.h:
2620 (WebKit::WebLayerTreeViewClient::createInputHandler):
2621 (WebLayerTreeViewClient):
2623 2012-09-07 Tommy Widenflycht <tommyw@google.com>
2625 MediaStream API: add RTCPeerConnection::createAnswer
2626 https://bugs.webkit.org/show_bug.cgi?id=96092
2628 Reviewed by Adam Barth.
2630 * chromium/public/WebRTCPeerConnectionHandler.h:
2631 (WebRTCPeerConnectionHandler):
2633 2012-09-07 Ian Vollick <vollick@chromium.org>
2635 [chromium] We should accelerate all transformations, except when we must blend matrices that cannot be decomposed.
2636 https://bugs.webkit.org/show_bug.cgi?id=95855
2638 Reviewed by James Robinson.
2640 WebTransformOperations are now able to report if they can successfully blend.
2641 WebTransformationMatrix::blend now returns a bool if blending would fail.
2643 * chromium/public/WebTransformOperations.h:
2644 (WebTransformOperations):
2645 * chromium/public/WebTransformationMatrix.h:
2646 (WebTransformationMatrix):
2648 2012-09-07 Nat Duca <nduca@chromium.org>
2649 [chromium] Allow enumeration of WebRenderingStats structure
2650 https://bugs.webkit.org/show_bug.cgi?id=94565
2652 Reviewed by James Robinson.
2654 * chromium/public/WebRenderingStats.h:
2655 (WebRenderingStats):
2657 (WebKit::WebRenderingStats::Enumerator::~Enumerator):
2658 (WebKit::WebRenderingStats::enumerateFields):
2660 2012-09-07 Yoshifumi Inoue <yosin@chromium.org>
2662 We should have a localized string of empty for date time field
2663 https://bugs.webkit.org/show_bug.cgi?id=96081
2665 Reviewed by Kent Tamura.
2667 This patch adds a localized string enum field for empty field value
2668 description text for accessibility support in multiple fields date
2669 time related input types for Chromium ports.
2671 * chromium/public/WebLocalizedString.h: Added AXDateTimeFieldEmptyValueText
2674 2012-09-06 Hironori Bono <hbono@chromium.org>
2676 A build fix for Chromium Windows
2677 https://bugs.webkit.org/show_bug.cgi?id=96062
2679 Reviewed by James Robinson.
2681 This change fixes a build break on Chromium Windows (debug) caused by r127796
2682 <http://trac.webkit.org/changeset/127796>. It removes a redundant WEBKIT_EXPORT.
2684 * chromium/public/WebTransformationMatrix.h:
2685 (WebTransformationMatrix):
2687 2012-09-06 Yoshifumi Inoue <yosin@chromium.org>
2689 We should have localized strings of date time fields for accessibility
2690 https://bugs.webkit.org/show_bug.cgi?id=96050
2692 Reviewed by Kent Tamura.
2694 This patch adds localized string enum fields for accessibility support
2695 in multiple fields date time related input types for Chromium ports.
2697 * chromium/public/WebLocalizedString.h: Adds AXAMPMFieldText, AXDayOfMonthField,
2698 AXHourFieldText, AXMillisecondFieldText, AXMinuteFieldText, AXMonthField,
2699 AXSecondFieldText, AXWeekOfYearFieldText, and AXYearFieldText.
2701 2012-09-06 James Robinson <jamesr@chromium.org>
2703 [chromium] Export public functions on WebTransformationMatrix so they can be used outside of WebKit.dll
2704 https://bugs.webkit.org/show_bug.cgi?id=96025
2706 Reviewed by Adrienne Walker.
2708 * chromium/public/WebTransformationMatrix.h:
2709 (WebTransformationMatrix):
2711 2012-09-06 James Robinson <jamesr@chromium.org>
2713 [chromium] Use WebCompositorSupport functions instead of WebCompositor statics
2714 https://bugs.webkit.org/show_bug.cgi?id=96007
2716 Reviewed by Adrienne Walker.
2718 Updates comment to reference WebCompositorSupport instead of WebCompositor.
2720 * chromium/public/WebLayerTreeView.h:
2723 2012-09-06 Jeff Timanus <twiz@chromium.org>
2725 [Chromium] Remove contentsScale and related logic from GraphicsLayerChromium.
2726 https://bugs.webkit.org/show_bug.cgi?id=95094
2728 Reviewed by Adrienne Walker.
2730 In the short term, the page-scale logic is to be unified in the CCLayerTreeHost class. This is a first pass to
2731 try to remove the page-scale logic from GraphicsLayerChromium. This change should be a no-op in terms of
2732 contentsScale behaviour.
2734 * chromium/public/WebContentLayer.h:
2736 Export setBoundsContainPageScale() family of routines.
2738 2012-09-06 Tommy Widenflycht <tommyw@google.com>
2740 MediaStream API: Add the local and remote description functionality to RTCPeerConnection
2741 https://bugs.webkit.org/show_bug.cgi?id=95839
2743 Reviewed by Adam Barth.
2746 * chromium/public/WebRTCPeerConnectionHandler.h:
2748 (WebRTCPeerConnectionHandler):
2749 * chromium/public/WebRTCVoidRequest.h: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h.
2752 (WebRTCVoidRequest):
2754 (WebKit::WebRTCVoidRequest::ExtraData::~ExtraData):
2755 (WebKit::WebRTCVoidRequest::WebRTCVoidRequest):
2756 (WebKit::WebRTCVoidRequest::~WebRTCVoidRequest):
2757 (WebKit::WebRTCVoidRequest::operator=):
2758 (WebKit::WebRTCVoidRequest::isNull):
2760 2012-09-05 Kenichi Ishibashi <bashi@chromium.org>
2762 Unreviewed, rolling out r127612, r127660, and r127664.
2763 http://trac.webkit.org/changeset/127612
2764 http://trac.webkit.org/changeset/127660
2765 http://trac.webkit.org/changeset/127664
2766 https://bugs.webkit.org/show_bug.cgi?id=95920
2769 * chromium/public/WebRTCPeerConnectionHandler.h:
2771 (WebRTCPeerConnectionHandler):
2772 * chromium/public/WebRTCVoidRequest.h: Removed.
2774 2012-09-05 James Robinson <jamesr@chromium.org>
2776 [chromium] Move static WebCompositor functions to WebCompositorSupport
2777 https://bugs.webkit.org/show_bug.cgi?id=95785
2779 Reviewed by Darin Fisher.
2781 The statics on WebCompositor need to be moved to WebCompositorSupport so the embedder can inject an
2782 implementation for these via PlatformSupport. This adds the interface for the statics to WebCompositorSupport.
2783 After an implementation of these lands on the chromium side, I'll switch all callers over to use these and
2784 remove the WebCompositor interface from the API.
2786 * chromium/public/WebCompositorSupport.h:
2787 (WebCompositorSupport):
2788 (WebKit::WebCompositorSupport::initialize):
2789 (WebKit::WebCompositorSupport::threadingEnabled):
2790 (WebKit::WebCompositorSupport::shutdown):
2791 (WebKit::WebCompositorSupport::setPerTilePaintingEnabled):
2792 (WebKit::WebCompositorSupport::setPartialSwapEnabled):
2793 (WebKit::WebCompositorSupport::setAcceleratedAnimationEnabled):
2795 2012-09-05 Mark Pilgrim <pilgrim@chromium.org>
2797 [Chromium] Remove getRenderStyleForStrike from PlatformSupport
2798 https://bugs.webkit.org/show_bug.cgi?id=95363
2800 Reviewed by Adam Barth.
2802 Part of a refactoring series. See tracking bug 82948.
2805 * chromium/public/linux/WebFontInfo.h: Added.
2808 * chromium/public/linux/WebFontRenderStyle.h: Added.
2811 2012-09-05 Tommy Widenflycht <tommyw@google.com>
2813 MediaStream API: Add the local and remote description functionality to RTCPeerConnection
2814 https://bugs.webkit.org/show_bug.cgi?id=95839
2816 Reviewed by Adam Barth.
2819 * chromium/public/WebRTCPeerConnectionHandler.h:
2821 (WebRTCPeerConnectionHandler):
2822 * chromium/public/WebRTCVoidRequest.h: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h.
2825 (WebRTCVoidRequest):
2827 (WebKit::WebRTCVoidRequest::ExtraData::~ExtraData):
2828 (WebKit::WebRTCVoidRequest::WebRTCVoidRequest):
2829 (WebKit::WebRTCVoidRequest::~WebRTCVoidRequest):
2830 (WebKit::WebRTCVoidRequest::operator=):
2831 (WebKit::WebRTCVoidRequest::isNull):
2833 2012-09-05 Sami Kyostila <skyostil@chromium.org>
2835 [chromium] Wire up scrollable sublayers in ScrollingCoordinatorChromium
2836 https://bugs.webkit.org/show_bug.cgi?id=95679
2838 Reviewed by James Robinson.
2840 Introduce WebLayerScrollClient for getting notified about scroll events targeting a WebLayer.
2843 * chromium/public/WebLayer.h:
2846 * chromium/public/WebLayerScrollClient.h:
2848 2012-09-04 Kenichi Ishibashi <bashi@chromium.org>
2850 [Chromium] Attempt to fix build failure on Win
2852 Remove chromium/public/WebOfferAnswerRequest.h from Platform.gypi,
2853 which was added in r127501, but doesn't exist. Unreviewed.
2857 2012-09-04 Tommy Widenflycht <tommyw@google.com>
2859 MediaStream API: Add the async createOffer functionality to RTCPeerConnection
2860 https://bugs.webkit.org/show_bug.cgi?id=95734
2862 Reviewed by Adam Barth.
2865 * chromium/public/WebRTCPeerConnectionHandler.h:
2867 (WebRTCPeerConnectionHandler):
2868 * chromium/public/WebRTCSessionDescriptionDescriptor.h: Added.
2871 (WebRTCSessionDescriptionDescriptor):
2872 (WebKit::WebRTCSessionDescriptionDescriptor::WebRTCSessionDescriptionDescriptor):
2873 (WebKit::WebRTCSessionDescriptionDescriptor::~WebRTCSessionDescriptionDescriptor):
2874 (WebKit::WebRTCSessionDescriptionDescriptor::operator=):
2875 (WebKit::WebRTCSessionDescriptionDescriptor::isNull):
2876 * chromium/public/WebRTCSessionDescriptionRequest.h: Added.
2879 (WebRTCSessionDescriptionRequest):
2881 (WebKit::WebRTCSessionDescriptionRequest::ExtraData::~ExtraData):
2882 (WebKit::WebRTCSessionDescriptionRequest::WebRTCSessionDescriptionRequest):
2883 (WebKit::WebRTCSessionDescriptionRequest::~WebRTCSessionDescriptionRequest):
2884 (WebKit::WebRTCSessionDescriptionRequest::operator=):
2885 (WebKit::WebRTCSessionDescriptionRequest::isNull):
2887 2012-09-04 Tommy Widenflycht <tommyw@google.com>
2889 MediaStream API: Change the MediaStreamTrackList track added/removed signaling
2890 https://bugs.webkit.org/show_bug.cgi?id=95721
2892 Reviewed by Adam Barth.
2894 Adding the signaling to the WebKit interface.
2896 * chromium/public/WebMediaStreamCenter.h:
2897 (WebKit::WebMediaStreamCenter::didAddMediaStreamTrack):
2898 (WebKit::WebMediaStreamCenter::didRemoveMediaStreamTrack):
2900 2012-09-03 Tommy Widenflycht <tommyw@google.com>
2902 MediaStream API: Add Ice-related functionality to RTCPeerConnection
2903 https://bugs.webkit.org/show_bug.cgi?id=95565
2905 Reviewed by Adam Barth.
2908 * chromium/public/WebRTCICECandidateDescriptor.h: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandlerClient.h.
2911 (WebRTCICECandidateDescriptor):
2912 (WebKit::WebRTCICECandidateDescriptor::WebRTCICECandidateDescriptor):
2913 (WebKit::WebRTCICECandidateDescriptor::~WebRTCICECandidateDescriptor):
2914 (WebKit::WebRTCICECandidateDescriptor::operator=):
2915 (WebKit::WebRTCICECandidateDescriptor::isNull):
2916 * chromium/public/WebRTCPeerConnectionHandler.h:
2918 (WebRTCPeerConnectionHandler):
2919 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
2921 (WebRTCPeerConnectionHandlerClient):
2923 2012-09-01 Tommy Widenflycht <tommyw@google.com>
2925 MediaStream API: Add MediaStream management to RTCPeerConnection
2926 https://bugs.webkit.org/show_bug.cgi?id=95543
2928 Reviewed by Adam Barth.
2930 * chromium/public/WebMediaStreamCenter.h:
2931 (WebMediaStreamCenter):
2932 * chromium/public/WebRTCPeerConnectionHandler.h:
2934 (WebRTCPeerConnectionHandler):
2935 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
2937 (WebRTCPeerConnectionHandlerClient):
2939 2012-08-30 James Robinson <jamesr@chromium.org>
2941 [chromium] Revert WebCompositorSupport to raw ptrs, make dtor protected
2942 https://bugs.webkit.org/show_bug.cgi?id=95520
2944 Reviewed by Darin Fisher.
2946 WebPassOwnPtr<T> isn't quite usable from the chromium side - it needs some more work and isn't worth blocking
2947 WebCompositorSupport for. Also, the d'tor for WebCompositorSupport needs to be protected, not private, so it can
2951 * chromium/public/WebCompositorSupport.h:
2953 (WebKit::WebCompositorSupport::createLayerTreeView):
2954 (WebKit::WebCompositorSupport::createLayer):
2955 (WebKit::WebCompositorSupport::createContentLayer):
2956 (WebKit::WebCompositorSupport::createExternalTextureLayer):
2957 (WebKit::WebCompositorSupport::createIOSurfaceLayer):
2958 (WebKit::WebCompositorSupport::createImageLayer):
2959 (WebKit::WebCompositorSupport::createSolidColorLayer):
2960 (WebKit::WebCompositorSupport::createVideoLayer):
2961 (WebKit::WebCompositorSupport::createScrollbarLayer):
2962 (WebKit::WebCompositorSupport::createAnimation):
2963 (WebKit::WebCompositorSupport::createFloatAnimationCurve):
2964 (WebKit::WebCompositorSupport::createTransformAnimationCurve):
2965 (WebCompositorSupport):
2966 * chromium/public/WebPassOwnPtr.h: Removed.
2968 2012-08-30 James Robinson <jamesr@chromium.org>
2970 Chromium win build fix - fix typo in gypi
2974 2012-08-27 James Robinson <jamesr@chromium.org>
2976 [chromium] Add CompositorSupport interface for constructing compositor classes
2977 https://bugs.webkit.org/show_bug.cgi?id=95040
2979 Reviewed by Darin Fisher.
2981 Adds a WebCompositorSupport interface as a tear-off of PlatformSupport so the embedder can handle provide
2982 implementations of compositor interfaces.
2984 Adds a new WebPassOwnPtr<> type for use when the caller of an API must take ownership of the provided parameter.
2987 * chromium/public/Platform.h:
2989 (WebKit::Platform::compositorSupport):
2991 * chromium/public/WebCompositorSupport.h: Added.
2993 (WebCompositorSupport):
2994 (WebKit::WebCompositorSupport::~WebCompositorSupport):
2996 2012-08-30 Tommy Widenflycht <tommyw@google.com>
2998 MediaStream API: Introduce MediaConstraints
2999 https://bugs.webkit.org/show_bug.cgi?id=95198
3001 Reviewed by Adam Barth.
3003 Adds WebMediaConstraints.
3006 * chromium/public/WebMediaConstraints.h: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h.
3009 (WebMediaConstraints):
3010 (WebKit::WebMediaConstraints::WebMediaConstraints):
3011 (WebKit::WebMediaConstraints::~WebMediaConstraints):
3012 (WebKit::WebMediaConstraints::operator=):
3013 * chromium/public/WebRTCPeerConnectionHandler.h:
3015 (WebRTCPeerConnectionHandler):
3017 2012-08-27 Ian Vollick <vollick@chromium.org>
3019 [chromium] Should accelerate rotations of >= 180 degrees
3020 https://bugs.webkit.org/show_bug.cgi?id=94860
3022 Reviewed by James Robinson.
3024 When generalizing the keyframe interpolation, it became useful to append an identity transform operation,
3025 and to ask a WebTransformOperations object if it isIdentity().
3027 * chromium/public/WebTransformOperations.h:
3028 (WebTransformOperations):
3030 2012-08-24 James Robinson <jamesr@chromium.org>
3032 [chromium] Clean up dependencies of WebScrollbar and WebScrollbarLayer
3033 https://bugs.webkit.org/show_bug.cgi?id=94996
3035 Reviewed by Adrienne Walker.
3037 This moves the WebScrollbarLayer::create factory out of #if WEBKIT_IMPLEMENTATION and expresses it in API terms
3038 only so anyone who can get a handle on a WebScrollbar can construct the layer. Also removes the ::create() from
3039 WebScrollbar, anyone who currently has access to a WebCore::Scrollbar also has access to WebScrollbarImpl.
3041 * chromium/public/WebScrollbar.h:
3043 * chromium/public/WebScrollbarLayer.h:
3044 (WebScrollbarLayer):
3046 2012-08-23 James Robinson <jamesr@chromium.org>
3048 [chromium] Convert WebLayerTreeView interface into pure virtual
3049 https://bugs.webkit.org/show_bug.cgi?id=94866
3051 Reviewed by Adrienne Walker.
3053 This makes the WebLayerTreeView interface pure virtual to provide better insulation from the implementation.
3055 * chromium/public/WebLayerTreeView.h:
3059 (WebKit::WebLayerTreeView::~WebLayerTreeView):
3061 2012-08-24 James Robinson <jamesr@chromium.org>
3063 [chromium] Clean up WebAnimation animationId/groupId generation
3064 https://bugs.webkit.org/show_bug.cgi?id=94973
3066 Reviewed by Adrienne Walker.
3068 This removes the unused groupId from the public interface and makes the implicit animation id generation a bit
3071 * chromium/public/WebAnimation.h:
3074 2012-08-24 Tommy Widenflycht <tommyw@google.com>
3076 MediaStream API: Add readyState functionality to RTCPeerConnection
3077 https://bugs.webkit.org/show_bug.cgi?id=94813
3079 Reviewed by Adam Barth.
3081 * chromium/public/WebRTCPeerConnectionHandler.h:
3082 (WebRTCPeerConnectionHandler):
3083 * chromium/public/WebRTCPeerConnectionHandlerClient.h:
3084 (WebRTCPeerConnectionHandlerClient):
3086 2012-08-23 James Robinson <jamesr@chromium.org>
3088 [chromium] Convert WebAnimationCurve subtypes into pure virtual
3089 https://bugs.webkit.org/show_bug.cgi?id=94068
3091 Reviewed by Adrienne Walker.
3093 This makes the Web*AnimationCurve interfaces pure virtual to provide better insulation from the implementation
3094 details of the classes.
3096 * chromium/public/WebAnimation.h:
3097 (WebKit::WebAnimation::WebAnimation):
3099 * chromium/public/WebAnimationCurve.h:
3100 * chromium/public/WebFloatAnimationCurve.h:
3101 (WebFloatAnimationCurve):
3102 (WebKit::WebFloatAnimationCurve::~WebFloatAnimationCurve):
3103 * chromium/public/WebTransformAnimationCurve.h:
3104 (WebTransformAnimationCurve):
3105 (WebKit::WebTransformAnimationCurve::~WebTransformAnimationCurve):
3107 2012-08-22 James Robinson <jamesr@chromium.org>
3109 [chromium] Remove WebLayer::setChildren API
3110 https://bugs.webkit.org/show_bug.cgi?id=94749
3112 Reviewed by Adrienne Walker.
3114 This is redundant with removeAllChildren() / addChild() and less efficient.
3116 * chromium/public/WebLayer.h:
3119 2012-08-22 James Robinson <jamesr@chromium.org>
3121 [chromium] Change WebLayer from a concrete type to a pure virtual interface
3122 https://bugs.webkit.org/show_bug.cgi?id=94174
3124 Reviewed by Adrienne Walker.
3126 This changes WebLayer from a value type to a pure virtual interface and changes Web*Layers from subtypes to
3127 standalone types that have a WebLayer. This better isolates the implementation from the interface and, since
3128 it's not possible to re-wrap an existing layer, makes cleanup explicit instead of requiring the caller to
3129 invoke special cleanup methods before shutdown.
3131 * chromium/public/WebContentLayer.h:
3133 * chromium/public/WebExternalTextureLayer.h:
3134 (WebExternalTextureLayer):
3135 * chromium/public/WebIOSurfaceLayer.h:
3136 (WebIOSurfaceLayer):
3137 * chromium/public/WebImageLayer.h:
3139 * chromium/public/WebLayer.h:
3142 (WebKit::WebLayer::~WebLayer):
3143 * chromium/public/WebScrollableLayer.h: Removed.
3144 * chromium/public/WebScrollbarLayer.h:
3145 (WebScrollbarLayer):
3146 * chromium/public/WebSolidColorLayer.h:
3148 (WebSolidColorLayer):
3149 (WebKit::WebSolidColorLayer::~WebSolidColorLayer):
3150 * chromium/public/WebVideoLayer.h:
3153 2012-08-21 Benjamin Poulain <bpoulain@apple.com>
3155 Store CString data in the CStringBuffer to avoid the double indirection
3156 https://bugs.webkit.org/show_bug.cgi?id=94562
3158 Reviewed by Darin Adler.
3160 * chromium/src/WebCString.cpp:
3161 (WebKit::WebCString::length): Update the length() computation following the changes
3164 2012-08-21 James Robinson <jamesr@chromium.org>
3166 Unreviewed, rolling out r126170.
3167 http://trac.webkit.org/changeset/126170
3168 https://bugs.webkit.org/show_bug.cgi?id=94614
3172 * chromium/public/WebContentLayer.h:
3176 (WebKit::WebContentLayer::WebContentLayer):
3177 (WebKit::WebContentLayer::operator=):
3178 * chromium/public/WebExternalTextureLayer.h:
3180 (WebExternalTextureLayer):
3181 (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
3182 (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
3183 * chromium/public/WebIOSurfaceLayer.h:
3185 (WebIOSurfaceLayer):
3186 (WebKit::WebIOSurfaceLayer::WebIOSurfaceLayer):
3187 * chromium/public/WebImageLayer.h:
3190 (WebKit::WebImageLayer::WebImageLayer):
3191 * chromium/public/WebLayer.h:
3194 (WebKit::WebLayer::WebLayer):
3195 (WebKit::WebLayer::~WebLayer):
3196 (WebKit::WebLayer::operator=):
3197 (WebKit::WebLayer::isNull):
3198 (WebKit::WebLayer::to):
3199 (WebKit::WebLayer::toConst):
3200 (WebKit::WebLayer::unwrap):
3201 (WebKit::WebLayer::constUnwrap):
3202 (WebKit::operator==):
3203 (WebKit::operator!=):
3204 * chromium/public/WebScrollableLayer.h: Copied from Source/Platform/chromium/public/WebScrollbarLayer.h.
3206 (WebScrollableLayer):
3207 (WebKit::WebScrollableLayer::WebScrollableLayer):
3208 (WebKit::WebScrollableLayer::~WebScrollableLayer):
3209 (WebKit::WebScrollableLayer::operator=):
3210 * chromium/public/WebScrollbarLayer.h:
3212 (WebKit::WebScrollbarLayer::WebScrollbarLayer):
3213 (WebKit::WebScrollbarLayer::operator=):
3214 (WebScrollbarLayer):
3215 * chromium/public/WebSolidColorLayer.h:
3217 (WebSolidColorLayer):
3218 * chromium/public/WebVideoLayer.h:
3221 (WebKit::WebVideoLayer::WebVideoLayer):
3223 2012-08-21 James Robinson <jamesr@chromium.org>
3225 Unreviewed, rolling out r126169.
3226 http://trac.webkit.org/changeset/126169
3227 https://bugs.webkit.org/show_bug.cgi?id=94614
3229 Crashes already fixed downstream
3231 * chromium/public/WebContentLayer.h:
3233 * chromium/public/WebExternalTextureLayer.h:
3234 (WebExternalTextureLayer):
3235 * chromium/public/WebIOSurfaceLayer.h:
3236 (WebIOSurfaceLayer):
3237 * chromium/public/WebImageLayer.h:
3239 * chromium/public/WebLayer.h:
3242 (WebKit::WebLayer::~WebLayer):
3243 * chromium/public/WebScrollableLayer.h: Removed.
3244 * chromium/public/WebScrollbarLayer.h:
3245 (WebScrollbarLayer):
3246 * chromium/public/WebSolidColorLayer.h:
3248 (WebSolidColorLayer):
3249 (WebKit::WebSolidColorLayer::~WebSolidColorLayer):
3250 * chromium/public/WebVideoLayer.h:
3253 2012-08-21 Sheriff Bot <webkit.review.bot@gmail.com>
3255 Unreviewed, rolling out r126076, r126099, and r126106.
3256 http://trac.webkit.org/changeset/126076
3257 http://trac.webkit.org/changeset/126099
3258 http://trac.webkit.org/changeset/126106
3259 https://bugs.webkit.org/show_bug.cgi?id=94614
3261 Caused crashes during compositor shutdown in Aura builds of
3262 Chromium (Requested by kbr_google on #webkit).
3264 * chromium/public/WebContentLayer.h:
3268 (WebKit::WebContentLayer::WebContentLayer):
3269 (WebKit::WebContentLayer::operator=):
3270 * chromium/public/WebExternalTextureLayer.h:
3272 (WebExternalTextureLayer):
3273 (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
3274 (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
3275 * chromium/public/WebIOSurfaceLayer.h:
3277 (WebIOSurfaceLayer):
3278 (WebKit::WebIOSurfaceLayer::WebIOSurfaceLayer):
3279 * chromium/public/WebImageLayer.h:
3282 (WebKit::WebImageLayer::WebImageLayer):
3283 * chromium/public/WebLayer.h:
3286 (WebKit::WebLayer::WebLayer):
3287 (WebKit::WebLayer::~WebLayer):
3288 (WebKit::WebLayer::operator=):
3289 (WebKit::WebLayer::isNull):
3290 (WebKit::WebLayer::to):
3291 (WebKit::WebLayer::toConst):
3292 (WebKit::WebLayer::unwrap):
3293 (WebKit::WebLayer::constUnwrap):
3294 (WebKit::operator==):
3295 (WebKit::operator!=):
3296 * chromium/public/WebScrollableLayer.h: Copied from Source/Platform/chromium/public/WebScrollbarLayer.h.
3298 (WebScrollableLayer):
3299 (WebKit::WebScrollableLayer::WebScrollableLayer):
3300 (WebKit::WebScrollableLayer::~WebScrollableLayer):
3301 (WebKit::WebScrollableLayer::operator=):
3302 * chromium/public/WebScrollbarLayer.h:
3304 (WebKit::WebScrollbarLayer::WebScrollbarLayer):
3305 (WebKit::WebScrollbarLayer::operator=):
3306 (WebScrollbarLayer):
3307 * chromium/public/WebSolidColorLayer.h:
3309 (WebSolidColorLayer):
3310 * chromium/public/WebVideoLayer.h:
3313 (WebKit::WebVideoLayer::WebVideoLayer):
3315 2012-08-20 James Robinson <jamesr@chromium.org>
3317 [chromium] REGRESSION(126076) Should not touch old GraphicsLayerChromium::m_contentsLayer when setting up a new contents layer
3318 https://bugs.webkit.org/show_bug.cgi?id=94544
3320 Reviewed by Adrienne Walker.
3322 Exposes an id so users of the WebLayer API can make identity checks for layers that they do not have ownership
3325 * chromium/public/WebLayer.h:
3328 2012-08-16 James Robinson <jamesr@chromium.org>
3330 [chromium] Change WebLayer from a concrete type to a pure virtual interface
3331 https://bugs.webkit.org/show_bug.cgi?id=94174
3333 Reviewed by Adrienne Walker.
3335 This changes WebLayer from a value type to a pure virtual interface and changes Web*Layers from subtypes to
3336 standalone types that have a WebLayer. This better isolates the implementation from the interface and, since
3337 it's not possible to re-wrap an existing layer, makes cleanup explicit instead of requiring the caller to invoke
3338 special cleanup methods before shutdown.
3340 * chromium/public/WebContentLayer.h:
3342 * chromium/public/WebExternalTextureLayer.h:
3343 (WebExternalTextureLayer):
3344 * chromium/public/WebIOSurfaceLayer.h:
3345 (WebIOSurfaceLayer):
3346 * chromium/public/WebImageLayer.h:
3348 * chromium/public/WebLayer.h:
3351 (WebKit::WebLayer::~WebLayer):
3352 * chromium/public/WebScrollableLayer.h:
3353 (WebScrollableLayer):
3354 * chromium/public/WebScrollbarLayer.h:
3355 (WebScrollbarLayer):
3356 * chromium/public/WebSolidColorLayer.h:
3358 (WebSolidColorLayer):
3359 (WebKit::WebSolidColorLayer::~WebSolidColorLayer):
3360 * chromium/public/WebVideoLayer.h:
3363 2012-08-17 Zach Kuznia <zork@chromium.org>
3365 Add support for Skia Magnifier filter to Chromium layers
3366 https://bugs.webkit.org/show_bug.cgi?id=93939
3368 Reviewed by James Robinson.
3370 This is used by Chrome OS for the screen magnifier
3372 * chromium/public/WebFilterOperation.h:
3373 (WebKit::WebFilterOperation::zoomRect):
3374 (WebFilterOperation):
3375 (WebKit::WebFilterOperation::createZoomFilter):
3376 (WebKit::WebFilterOperation::WebFilterOperation):
3378 2012-08-16 James Robinson <jamesr@chromium.org>
3380 [chromium] Remove unnecessary tree hierarchy inspection APIs from WebLayer
3381 https://bugs.webkit.org/show_bug.cgi?id=94229
3383 Reviewed by Adrienne Walker.
3385 As it turns out, these APIs are needed. Without them, there is no way to re-wrap an existing layer so we can
3386 know that when all WebLayer wrappers of a given layer go away that layer will never be exposed to the public API
3387 again and run appropriate cleanup code.
3389 * chromium/public/WebLayer.h:
3392 2012-08-16 James Robinson <jamesr@chromium.org>
3394 [chromium] Remove alwaysReserveTextures code - it doesn't do anything
3395 https://bugs.webkit.org/show_bug.cgi?id=94183
3397 Reviewed by Dimitri Glazkov.
3399 Remove deprecated setAlwaysReserveTextures() call from WebLayer.
3401 * chromium/public/WebLayer.h:
3404 2012-08-14 Gregg Tavares <gman@google.com>
3406 Plumb through EXT_debug_marker entry points
3407 https://bugs.webkit.org/show_bug.cgi?id=93860
3409 Reviewed by Kenneth Russell.
3411 insertEventMarkerEXT, pushGroupMarkerEXT, popGroupMarkerEXT are
3412 all entry points exposed by the OpenGL ES EXT_debug_marker
3415 * chromium/public/WebGraphicsContext3D.h:
3416 (WebGraphicsContext3D):
3417 (WebKit::WebGraphicsContext3D::insertEventMarkerEXT):
3418 (WebKit::WebGraphicsContext3D::pushGroupMarkerEXT):
3419 (WebKit::WebGraphicsContext3D::popGroupMarkerEXT):
3421 2012-08-13 James Robinson <jamesr@chromium.org>
3423 [chromium] Make WebAnimation a pure virtual interface to hide implementation and avoid unresolved symbols
3424 https://bugs.webkit.org/show_bug.cgi?id=93907
3426 Reviewed by Darin Fisher.
3428 This makes WebAnimation a pure virtual interface with instances returned by a factory function. Currently the
3429 factory is a static function on WebAnimation, but it will likely move to a platform support interface. This
3430 provides better isolation of the implementation from the interface and in particular allows for implementing the
3431 WebAnimation interface outside of WebKit.dll without having unresolved external symbols in WebKit.dll.
3433 * chromium/public/WebAnimation.h:
3434 (WebKit::WebAnimation::~WebAnimation):
3436 * chromium/public/WebLayer.h:
3439 2012-08-10 James Robinson <jamesr@chromium.org>
3441 [chromium] Clean up dependencies for Canvas2DLayerBridgeTest and GraphicsLayerChromiumTest unit tests
3442 https://bugs.webkit.org/show_bug.cgi?id=93757
3444 Reviewed by Adrienne Walker.
3446 Exposes a function to check for active animations on a layer.
3448 * chromium/public/WebLayer.h:
3451 2012-08-10 Kinuko Yasuda <kinuko@chromium.org>
3453 Support creating File object from FileSystem URL for files in FileSystem API
3454 https://bugs.webkit.org/show_bug.cgi?id=93706
3456 Reviewed by Darin Fisher.
3458 * chromium/public/WebBlobData.h:
3459 * chromium/public/WebHTTPBody.h:
3462 2012-08-09 James Robinson <jamesr@chromium.org>
3464 [chromium] Remove forwarding headers for compositor-related WebKit API and update includes
3465 https://bugs.webkit.org/show_bug.cgi?id=93669
3467 Reviewed by Adam Barth.
3469 Removes a no-longer-necessary transitional define.
3471 * chromium/public/WebCompositor.h:
3473 2012-08-06 Nat Duca <nduca@chromium.org>
3475 [chromium] Expose CCGraphicsContext as WebCompositorOutputSurface
3476 https://bugs.webkit.org/show_bug.cgi?id=92890
3478 Reviewed by James Robinson.
3480 The CCGraphicsContext was introduced as a wrapper around the 2D
3481 and 3D output for the compositor. However, it is a CC only
3482 concept. We want to be able to make 2D and ubercomp-mode IPCs on
3483 behalf of the compositor. This patch allows this by pushing this
3484 abstraction out to the Chrome-visible layer of the compositor,
3485 changing the name to OutputSurface based on discussions on
3486 wkb.ug/90736. A future patch will rename the CCGraphicsContext to
3490 * chromium/public/WebCompositorOutputSurface.h: Added.
3492 (WebCompositorOutputSurface):
3493 (WebKit::WebCompositorOutputSurface::~WebCompositorOutputSurface):
3494 (WebKit::WebCompositorOutputSurface::Capabilities::Capabilities):
3496 * chromium/public/WebCompositorOutputSurfaceClient.h: Added.
3498 (WebCompositorOutputSurfaceClient):
3499 (WebKit::WebCompositorOutputSurfaceClient::~WebCompositorOutputSurfaceClient):
3500 * chromium/public/WebLayerTreeView.h:
3501 (WebKit::WebLayerTreeView::Settings::Settings):
3503 * chromium/public/WebLayerTreeViewClient.h:
3505 (WebLayerTreeViewClient):
3506 (WebKit::WebLayerTreeViewClient::createContext3D):
3507 (WebKit::WebLayerTreeViewClient::createOutputSurface):
3509 2012-08-09 Nat Duca <nduca@chromium.org>
3511 Unreviewed, rolling out r125212.
3512 http://trac.webkit.org/changeset/125212
3513 https://bugs.webkit.org/show_bug.cgi?id=92890
3515 Compile failure on mac dbg builder
3518 * chromium/public/WebCompositorOutputSurface.h: Removed.
3519 * chromium/public/WebCompositorOutputSurfaceClient.h: Removed.
3520 * chromium/public/WebLayerTreeView.h:
3521 (WebKit::WebLayerTreeView::Settings::Settings):
3523 * chromium/public/WebLayerTreeViewClient.h:
3525 (WebLayerTreeViewClient):
3527 2012-08-06 Nat Duca <nduca@chromium.org>
3529 [chromium] Expose CCGraphicsContext as WebCompositorOutputSurface
3530 https://bugs.webkit.org/show_bug.cgi?id=92890
3532 Reviewed by James Robinson.
3534 The CCGraphicsContext was introduced as a wrapper around the 2D
3535 and 3D output for the compositor. However, it is a CC only
3536 concept. We want to be able to make 2D and ubercomp-mode IPCs on
3537 behalf of the compositor. This patch allows this by pushing this
3538 abstraction out to the Chrome-visible layer of the compositor,
3539 changing the name to OutputSurface based on discussions on
3540 wkb.ug/90736. A future patch will rename the CCGraphicsContext to
3544 * chromium/public/WebCompositorOutputSurface.h: Added.
3546 (WebCompositorOutputSurface):
3547 (WebKit::WebCompositorOutputSurface::~WebCompositorOutputSurface):
3548 (WebKit::WebCompositorOutputSurface::Capabilities::Capabilities):
3550 * chromium/public/WebCompositorOutputSurfaceClient.h: Added.
3552 (WebCompositorOutputSurfaceClient):
3553 (WebKit::WebCompositorOutputSurfaceClient::~WebCompositorOutputSurfaceClient):
3554 * chromium/public/WebLayerTreeView.h:
3555 (WebKit::WebLayerTreeView::Settings::Settings):
3557 * chromium/public/WebLayerTreeViewClient.h:
3559 (WebLayerTreeViewClient):
3560 (WebKit::WebLayerTreeViewClient::createContext3D):
3561 (WebKit::WebLayerTreeViewClient::createOutputSurface):
3563 2012-08-08 Adrienne Walker <enne@google.com>
3565 [chromium] Move scrollbar pointer into WebScrollbarThemePainter
3566 https://bugs.webkit.org/show_bug.cgi?id=93541
3568 Reviewed by James Robinson.
3570 Update WebScrollbarThemePainter to encapsulate a pointer to the
3571 scrollbar as well. Lion scrollbars and RenderScrollbars are both
3572 incompatible with wrapping a scrollbar in a WebScrollbar.
3574 ScrollbarTheme(Chromium)Mac attaches extra data to a scrollbar based
3575 on the pointer value (via a static map keyed on the pointer) so
3576 passing an object that returns all the same values for the
3577 ScrollbarThemeClient interface but has a different pointer will fail
3580 RenderScrollbar does static casts on the ScrollbarThemeClient pointer
3581 that it is passed, assuming that it is the same. Therefore, it also
3582 cannot use a WebScrollbar.
3584 To fix this, push the real scrollbar pointer into the painter.
3586 * chromium/public/WebScrollbarThemePainter.h:
3588 (WebKit::WebScrollbarThemePainter::WebScrollbarThemePainter):
3589 (WebScrollbarThemePainter):
3591 2012-08-07 James Robinson <jamesr@chromium.org>
3593 [chromium] Only use public Platform API in NonCompositedContentHost
3594 https://bugs.webkit.org/show_bug.cgi?id=93423
3596 Reviewed by Adrienne Walker.
3598 Adds setters to control text antialiasing and checkerboarding behavior for content layers.
3600 * chromium/public/WebContentLayer.h: