7ee676f840d374269c9d4e49ad2e7477687973f2
[WebKit-https.git] / Source / Platform / ChangeLog
1 2012-08-14  Gregg Tavares  <gman@google.com>
2
3         Plumb through EXT_debug_marker entry points
4         https://bugs.webkit.org/show_bug.cgi?id=93860
5
6         Reviewed by Kenneth Russell.
7
8         insertEventMarkerEXT, pushGroupMarkerEXT, popGroupMarkerEXT are
9         all entry points exposed by the OpenGL ES EXT_debug_marker
10         extension.
11
12         * chromium/public/WebGraphicsContext3D.h:
13         (WebGraphicsContext3D):
14         (WebKit::WebGraphicsContext3D::insertEventMarkerEXT):
15         (WebKit::WebGraphicsContext3D::pushGroupMarkerEXT):
16         (WebKit::WebGraphicsContext3D::popGroupMarkerEXT):
17
18 2012-08-13  James Robinson  <jamesr@chromium.org>
19
20         [chromium] Make WebAnimation a pure virtual interface to hide implementation and avoid unresolved symbols
21         https://bugs.webkit.org/show_bug.cgi?id=93907
22
23         Reviewed by Darin Fisher.
24
25         This makes WebAnimation a pure virtual interface with instances returned by a factory function. Currently the
26         factory is a static function on WebAnimation, but it will likely move to a platform support interface. This
27         provides better isolation of the implementation from the interface and in particular allows for implementing the
28         WebAnimation interface outside of WebKit.dll without having unresolved external symbols in WebKit.dll.
29
30         * chromium/public/WebAnimation.h:
31         (WebKit::WebAnimation::~WebAnimation):
32         (WebAnimation):
33         * chromium/public/WebLayer.h:
34         (WebLayer):
35
36 2012-08-10  James Robinson  <jamesr@chromium.org>
37
38         [chromium] Clean up dependencies for Canvas2DLayerBridgeTest and GraphicsLayerChromiumTest unit tests
39         https://bugs.webkit.org/show_bug.cgi?id=93757
40
41         Reviewed by Adrienne Walker.
42
43         Exposes a function to check for active animations on a layer.
44
45         * chromium/public/WebLayer.h:
46         (WebLayer):
47
48 2012-08-10  Kinuko Yasuda  <kinuko@chromium.org>
49
50         Support creating File object from FileSystem URL for files in FileSystem API
51         https://bugs.webkit.org/show_bug.cgi?id=93706
52
53         Reviewed by Darin Fisher.
54
55         * chromium/public/WebBlobData.h:
56         * chromium/public/WebHTTPBody.h:
57         (WebHTTPBody):
58
59 2012-08-09  James Robinson  <jamesr@chromium.org>
60
61         [chromium] Remove forwarding headers for compositor-related WebKit API and update includes
62         https://bugs.webkit.org/show_bug.cgi?id=93669
63
64         Reviewed by Adam Barth.
65
66         Removes a no-longer-necessary transitional define.
67
68         * chromium/public/WebCompositor.h:
69
70 2012-08-06  Nat Duca  <nduca@chromium.org>
71
72         [chromium] Expose CCGraphicsContext as WebCompositorOutputSurface
73         https://bugs.webkit.org/show_bug.cgi?id=92890
74
75         Reviewed by James Robinson.
76
77         The CCGraphicsContext was introduced as a wrapper around the 2D
78         and 3D output for the compositor. However, it is a CC only
79         concept. We want to be able to make 2D and ubercomp-mode IPCs on
80         behalf of the compositor. This patch allows this by pushing this
81         abstraction out to the Chrome-visible layer of the compositor,
82         changing the name to OutputSurface based on discussions on
83         wkb.ug/90736. A future patch will rename the CCGraphicsContext to
84         CCOutputSurface.
85
86         * Platform.gypi:
87         * chromium/public/WebCompositorOutputSurface.h: Added.
88         (WebKit):
89         (WebCompositorOutputSurface):
90         (WebKit::WebCompositorOutputSurface::~WebCompositorOutputSurface):
91         (WebKit::WebCompositorOutputSurface::Capabilities::Capabilities):
92         (Capabilities):
93         * chromium/public/WebCompositorOutputSurfaceClient.h: Added.
94         (WebKit):
95         (WebCompositorOutputSurfaceClient):
96         (WebKit::WebCompositorOutputSurfaceClient::~WebCompositorOutputSurfaceClient):
97         * chromium/public/WebLayerTreeView.h:
98         (WebKit::WebLayerTreeView::Settings::Settings):
99         (Settings):
100         * chromium/public/WebLayerTreeViewClient.h:
101         (WebKit):
102         (WebLayerTreeViewClient):
103         (WebKit::WebLayerTreeViewClient::createContext3D):
104         (WebKit::WebLayerTreeViewClient::createOutputSurface):
105
106 2012-08-09  Nat Duca  <nduca@chromium.org>
107
108         Unreviewed, rolling out r125212.
109         http://trac.webkit.org/changeset/125212
110         https://bugs.webkit.org/show_bug.cgi?id=92890
111
112         Compile failure on mac dbg builder
113
114         * Platform.gypi:
115         * chromium/public/WebCompositorOutputSurface.h: Removed.
116         * chromium/public/WebCompositorOutputSurfaceClient.h: Removed.
117         * chromium/public/WebLayerTreeView.h:
118         (WebKit::WebLayerTreeView::Settings::Settings):
119         (Settings):
120         * chromium/public/WebLayerTreeViewClient.h:
121         (WebKit):
122         (WebLayerTreeViewClient):
123
124 2012-08-06  Nat Duca  <nduca@chromium.org>
125
126         [chromium] Expose CCGraphicsContext as WebCompositorOutputSurface
127         https://bugs.webkit.org/show_bug.cgi?id=92890
128
129         Reviewed by James Robinson.
130
131         The CCGraphicsContext was introduced as a wrapper around the 2D
132         and 3D output for the compositor. However, it is a CC only
133         concept. We want to be able to make 2D and ubercomp-mode IPCs on
134         behalf of the compositor. This patch allows this by pushing this
135         abstraction out to the Chrome-visible layer of the compositor,
136         changing the name to OutputSurface based on discussions on
137         wkb.ug/90736. A future patch will rename the CCGraphicsContext to
138         CCOutputSurface.
139
140         * Platform.gypi:
141         * chromium/public/WebCompositorOutputSurface.h: Added.
142         (WebKit):
143         (WebCompositorOutputSurface):
144         (WebKit::WebCompositorOutputSurface::~WebCompositorOutputSurface):
145         (WebKit::WebCompositorOutputSurface::Capabilities::Capabilities):
146         (Capabilities):
147         * chromium/public/WebCompositorOutputSurfaceClient.h: Added.
148         (WebKit):
149         (WebCompositorOutputSurfaceClient):
150         (WebKit::WebCompositorOutputSurfaceClient::~WebCompositorOutputSurfaceClient):
151         * chromium/public/WebLayerTreeView.h:
152         (WebKit::WebLayerTreeView::Settings::Settings):
153         (Settings):
154         * chromium/public/WebLayerTreeViewClient.h:
155         (WebKit):
156         (WebLayerTreeViewClient):
157         (WebKit::WebLayerTreeViewClient::createContext3D):
158         (WebKit::WebLayerTreeViewClient::createOutputSurface):
159
160 2012-08-08  Adrienne Walker  <enne@google.com>
161
162         [chromium] Move scrollbar pointer into WebScrollbarThemePainter
163         https://bugs.webkit.org/show_bug.cgi?id=93541
164
165         Reviewed by James Robinson.
166
167         Update WebScrollbarThemePainter to encapsulate a pointer to the
168         scrollbar as well. Lion scrollbars and RenderScrollbars are both
169         incompatible with wrapping a scrollbar in a WebScrollbar.
170
171         ScrollbarTheme(Chromium)Mac attaches extra data to a scrollbar based
172         on the pointer value (via a static map keyed on the pointer) so
173         passing an object that returns all the same values for the
174         ScrollbarThemeClient interface but has a different pointer will fail
175         to paint.
176
177         RenderScrollbar does static casts on the ScrollbarThemeClient pointer
178         that it is passed, assuming that it is the same. Therefore, it also
179         cannot use a WebScrollbar.
180
181         To fix this, push the real scrollbar pointer into the painter.
182
183         * chromium/public/WebScrollbarThemePainter.h:
184         (WebCore):
185         (WebKit::WebScrollbarThemePainter::WebScrollbarThemePainter):
186         (WebScrollbarThemePainter):
187
188 2012-08-07  James Robinson  <jamesr@chromium.org>
189
190         [chromium] Only use public Platform API in NonCompositedContentHost
191         https://bugs.webkit.org/show_bug.cgi?id=93423
192
193         Reviewed by Adrienne Walker.
194
195         Adds setters to control text antialiasing and checkerboarding behavior for content layers.
196
197         * chromium/public/WebContentLayer.h:
198         (WebContentLayer):
199
200 2012-08-08  Nate Chapin  <japhet@chromium.org>
201
202         [chromium] Upstream android's FlingAnimator
203         https://bugs.webkit.org/show_bug.cgi?id=92900
204
205         Reviewed by James Robinson.
206
207         No new tests yet, will be added once this code is called.
208
209         * Platform.gypi:
210         * chromium/public/Platform.h:
211         (WebKit):
212         (WebKit::Platform::createFlingAnimator):
213         * chromium/public/WebFlingAnimator.h: Added.
214         (WebKit):
215         (WebFlingAnimator):
216         (WebKit::WebFlingAnimator::~WebFlingAnimator):
217
218 2012-08-07  James Robinson  <jamesr@chromium.org>
219
220         [chromium] Switch PlatformLayer typedef to Platform API type for PLATFORM(CHROMIUM)
221         https://bugs.webkit.org/show_bug.cgi?id=93335
222
223         Reviewed by Adrienne Walker.
224
225         Add APIs to control scrolling behavior on WebScrollableLayer.
226
227         * chromium/public/WebScrollableLayer.h:
228         (WebScrollableLayer):
229
230 2012-08-07  James Robinson  <jamesr@chromium.org>
231
232         [chromium] Use WebCompositor interface in Platform API instead of CCProxy to query threaded compositor status
233         https://bugs.webkit.org/show_bug.cgi?id=93398
234
235         Reviewed by Adam Barth.
236
237         Adds thread status query interfaces to WebCompositor for WebKit code that wants to know if we are in threaded
238         mode.
239
240         * chromium/public/WebCompositor.h:
241         (WebCompositor):
242
243 2012-08-07  James Robinson  <jamesr@chromium.org>
244
245         [chromium] Move WebCompositor interface into Platform API
246         https://bugs.webkit.org/show_bug.cgi?id=93391
247
248         Reviewed by Adam Barth.
249
250         WebCompositor is logically part of the Platform API, along with WebLayerTreeView and the WebLayer types.
251
252         * chromium/public/WebCompositor.h: Renamed from Source/WebKit/chromium/public/WebCompositorClient.h.
253         (WebKit):
254         (WebCompositor):
255         (WebKit::WebCompositor::~WebCompositor):
256
257 2012-08-06  James Robinson  <jamesr@chromium.org>
258
259         [chromium] Remove lingering unwrap<>() calls in GraphicsLayerChromium.cpp
260         https://bugs.webkit.org/show_bug.cgi?id=93319
261
262         Reviewed by Adrienne Walker.
263
264         Adds a few more entry points to WebLayer that are being used by GraphicsLayerChromium.
265
266         * chromium/public/WebLayer.h:
267         (WebLayer):
268
269 2012-08-06  Antoine Labour  <piman@chromium.org>
270
271         [chromium] add sync points and GL_CHROMIUM_texture_mailbox entrypoints to WebGraphicsContext3D
272         https://bugs.webkit.org/show_bug.cgi?id=93313
273
274         Reviewed by James Robinson.
275
276         Sync points already landed chromium-side, mailbos at https://chromiumcodereview.appspot.com/10829209/
277
278         * chromium/public/WebGraphicsContext3D.h:
279         (WebKit::WebGraphicsContext3D::insertSyncPoint):
280         (WebKit::WebGraphicsContext3D::waitSyncPoint):
281         (WebGraphicsContext3D):
282         (WebKit::WebGraphicsContext3D::genMailboxCHROMIUM):
283         (WebKit::WebGraphicsContext3D::produceTextureCHROMIUM):
284         (WebKit::WebGraphicsContext3D::consumeTextureCHROMIUM):
285
286 2012-08-06  Adrienne Walker  <enne@google.com>
287
288         [chromium] Convert WebScrollbarThemeGeometry from a concrete class to an interface
289         https://bugs.webkit.org/show_bug.cgi?id=93308
290
291         Reviewed by James Robinson.
292
293         Convert WebScrollbarThemeGeometry to be an interface. Update
294         WebScrollbarLayer to take a pointer to this interface.
295
296         * chromium/public/WebScrollbarLayer.h:
297         (WebScrollbarLayer):
298         * chromium/public/WebScrollbarThemeGeometry.h:
299         (WebScrollbarThemeGeometry):
300
301 2012-08-06  Adam Barth  <abarth@webkit.org>
302
303         [Chromium] WebTouchCandidatesInfo should be part of the Client API
304         https://bugs.webkit.org/show_bug.cgi?id=93088
305
306         Reviewed by Eric Seidel.
307
308         All the input related interfaces are part of the client (rather than
309         the platform) part of the API. This patch moves WebTouchCandidatesInfo
310         to the client part of the API.
311
312         * Platform.gypi:
313         * chromium/public/WebTouchCandidatesInfo.h: Removed.
314
315 2012-08-03  Nico Weber  <thakis@chromium.org>
316
317         [chromium] Add API to make it possible to request all variants of a WebImage
318         https://bugs.webkit.org/show_bug.cgi?id=92933
319
320         Reviewed by Adam Barth.
321
322         Part of http://crbug.com/138550
323
324         * chromium/public/WebImage.h:
325         (WebImage):
326
327 2012-08-03  Alexandre Elias  <aelias@google.com>
328
329         [chromium] Move ubercomp quads back into CC
330         https://bugs.webkit.org/show_bug.cgi?id=93062
331
332         Reviewed by James Robinson.
333
334         Because GTFO is almost done, we can move back the quad types
335         to CC and pickle them there.  This patch moves everything back
336         to where it was before and changes types like WebRect to IntRect.
337
338         As a bonus, I also added CCRenderPassDrawQuad and CCYUVVideoDrawQuad
339         (which had been left in the CC files) to CCDrawQuad::size(), so now
340         every quad type is ready for serialization.
341
342         * Platform.gypi:
343         * chromium/public/WebCompositorCheckerboardQuad.h: Removed.
344         * chromium/public/WebCompositorDebugBorderQuad.h: Removed.
345         * chromium/public/WebCompositorIOSurfaceQuad.h: Removed.
346         * chromium/public/WebCompositorQuad.h: Removed.
347         * chromium/public/WebCompositorSharedQuadState.h: Removed.
348         * chromium/public/WebCompositorSolidColorQuad.h: Removed.
349         * chromium/public/WebCompositorStreamVideoQuad.h: Removed.
350         * chromium/public/WebCompositorTextureQuad.h: Removed.
351         * chromium/public/WebCompositorTileQuad.h: Removed.
352
353 2012-08-02  Alexandre Elias  <aelias@google.com>
354
355         [chromium] deviceViewportSize cleanup
356         https://bugs.webkit.org/show_bug.cgi?id=92794
357
358         Reviewed by Adrienne Walker.
359
360         In the future, CSS layout size will become increasingly disassociated
361         from physical device size, and it will become impossible to infer one
362         from the other inside the compositor.  Therefore, this patch allows
363         deviceViewportSize to be explicitly passed in by the outside client.
364
365         I also renamed the existing viewportSize field to "layoutViewportSize"
366         for clarity, and converted its uses to deviceViewportSize since
367         that is more appropriate.
368
369         I had to add some default-value scaffolding to WebLayerTreeView in
370         order to avoid breaking ui/compositor.  We can delete it once that's
371         updated.
372
373         * chromium/public/WebLayerTreeView.h:
374         (WebLayerTreeView):
375
376 2012-08-01  James Robinson  <jamesr@chromium.org>
377
378         [chromium] Wrap shared context getters in WebKit API and avoid WebCore::GraphicsContext3D use in compositor internals
379         https://bugs.webkit.org/show_bug.cgi?id=92917
380
381         Reviewed by Adrienne Walker.
382
383         This adds Platform API for creating and accessing shared GraphicsContext3D and Ganesh contexts from the main or
384         compositor threads. These can be used for evaluating filters or doing accelerated painting. These contexts are
385         generally leaked until lost or process exit, the details are documented in WebSharedGraphicsContext3D.h
386
387         * Platform.gypi:
388         * chromium/public/WebSharedGraphicsContext3D.h: Added.
389         (WebKit):
390         (WebSharedGraphicsContext3D):
391
392 2012-08-02  Peter Beverloo  <peter@chromium.org>
393
394         [Chromium] Add a stub for WebView::getTouchHighlightQuads()
395         https://bugs.webkit.org/show_bug.cgi?id=92997
396
397         Reviewed by Adam Barth.
398
399         Chrome on Android will be using this method for the link preview
400         implementation, discussion about which is available in Bug 79150. Since
401         that system is fairly big, will require refactoring, and the unavailable
402         APIs are blocking API compatibility, add a stub for now.
403
404         Together with the WebView API, also add the "WebTouchCandidatesInfo"
405         structure which is being used by it.
406
407         * Platform.gypi: List WebTouchCandidatesInfo.h
408         * chromium/public/WebTouchCandidatesInfo.h: Added.
409         (WebKit):
410         (WebTouchCandidatesInfo):
411         (WebKit::WebTouchCandidatesInfo::WebTouchCandidatesInfo):
412
413 2012-08-02  Tommy Widenflycht  <tommyw@google.com>
414
415         MediaStream API: Add RTCPeerConnectionHandler infrastructure
416         https://bugs.webkit.org/show_bug.cgi?id=92866
417
418         Reviewed by Adam Barth.
419
420         Introducing RTCPeerConnectionHandler & RTCPeerConnectionHandlerClient,
421         together with the Chromium WebKit interface, following the pattern of
422         the previous PeerConnection00Handler but with the optimizations from MediaStreamCenter.
423
424         * Platform.gypi:
425         * chromium/public/Platform.h:
426         (WebKit):
427         (Platform):
428         (WebKit::Platform::createRTCPeerConnectionHandler):
429         * chromium/public/WebRTCPeerConnectionHandler.h: Added.
430         (WebKit):
431         (WebRTCPeerConnectionHandler):
432         (WebKit::WebRTCPeerConnectionHandler::~WebRTCPeerConnectionHandler):
433         * chromium/public/WebRTCPeerConnectionHandlerClient.h: Added.
434         (WebKit):
435         (WebRTCPeerConnectionHandlerClient):
436         (WebKit::WebRTCPeerConnectionHandlerClient::~WebRTCPeerConnectionHandlerClient):
437
438 2012-08-02  Sheriff Bot  <webkit.review.bot@gmail.com>
439
440         Unreviewed, rolling out r124439.
441         http://trac.webkit.org/changeset/124439
442         https://bugs.webkit.org/show_bug.cgi?id=92980
443
444         Broke Chromium Mac Release compile (Requested by apavlov on
445         #webkit).
446
447         * Platform.gypi:
448         * chromium/public/Platform.h:
449         (WebKit):
450         (Platform):
451         (WebKit::Platform::createPeerConnectionHandler):
452         * chromium/public/WebRTCPeerConnectionHandler.h: Removed.
453         * chromium/public/WebRTCPeerConnectionHandlerClient.h: Removed.
454
455 2012-08-02  Tommy Widenflycht  <tommyw@google.com>
456
457         MediaStream API: Add RTCPeerConnectionHandler infrastructure
458         https://bugs.webkit.org/show_bug.cgi?id=92866
459
460         Reviewed by Kentaro Hara.
461
462         Introducing RTCPeerConnectionHandler & RTCPeerConnectionHandlerClient,
463         together with the Chromium WebKit interface, following the pattern of
464         the previous PeerConnection00Handler but with the optimizations from MediaStreamCenter.
465
466         * Platform.gypi:
467         * chromium/public/Platform.h:
468         (WebKit):
469         (Platform):
470         (WebKit::Platform::createRTCPeerConnectionHandler):
471         * chromium/public/WebRTCPeerConnectionHandler.h: Added.
472         (WebKit):
473         (WebRTCPeerConnectionHandler):
474         (WebKit::WebRTCPeerConnectionHandler::~WebRTCPeerConnectionHandler):
475         * chromium/public/WebRTCPeerConnectionHandlerClient.h: Added.
476         (WebKit):
477         (WebRTCPeerConnectionHandlerClient):
478         (WebKit::WebRTCPeerConnectionHandlerClient::~WebRTCPeerConnectionHandlerClient):
479
480 2012-08-02  Hironori Bono  <hbono@chromium.org>
481
482         [Chromium] Implement hyphenation for Chromium
483         https://bugs.webkit.org/show_bug.cgi?id=48610
484
485         Reviewed by Eric Seidel.
486
487         This change adds a couple of methods canHyphenate and computeLastHyphenLocation
488         to Platform so Chromium can implement them. Also, this change uses these methods
489         to implement the hyphenation methods of WebCore. (This change does not change
490         any behaviors until Chromium implements these methods.)
491
492         * chromium/public/Platform.h:
493         (Platform):
494         (WebKit::Platform::canHyphenate): Added a stub method so Chromium can implement it.
495         (WebKit::Platform::computeLastHyphenLocation): ditto.
496
497 2012-08-02  Tommy Widenflycht  <tommyw@google.com>
498
499         MediaStream API: Move RTCConfiguration to its proper place
500         https://bugs.webkit.org/show_bug.cgi?id=92867
501
502         Reviewed by Adam Barth.
503
504         This patch moves RTCConfiguration to Source/WebCore/platform/mediastream,
505         and adds its WebKit interface for chromium.
506
507         * Platform.gypi:
508         * chromium/public/WebRTCConfiguration.h: Added.
509         (WebCore):
510         (WebKit):
511         (WebRTCICEServer):
512         (WebKit::WebRTCICEServer::WebRTCICEServer):
513         (WebKit::WebRTCICEServer::~WebRTCICEServer):
514         (WebKit::WebRTCICEServer::operator=):
515         (WebKit::WebRTCICEServer::isNull):
516         (WebRTCConfiguration):
517         (WebKit::WebRTCConfiguration::WebRTCConfiguration):
518         (WebKit::WebRTCConfiguration::~WebRTCConfiguration):
519         (WebKit::WebRTCConfiguration::operator=):
520         (WebKit::WebRTCConfiguration::isNull):
521
522 2012-08-01  James Robinson  <jamesr@chromium.org>
523
524         [chromium] Move compositor HUD font atlas initialization code out of compositor core
525         https://bugs.webkit.org/show_bug.cgi?id=92924
526
527         Reviewed by Adrienne Walker.
528
529         The chromium compositor does not have any text rendering capabilities. It generally does not need them, but it
530         is helpful for some debugging aids to be able to render at least ASCII text to the screen. This provides an API
531         on WebLayerTreeView by which an embedder can provide an ASCII glyph atlas to use for displaying debug
532         information.
533
534         * chromium/public/WebLayerTreeView.h:
535         (WebLayerTreeView):
536
537 2012-08-01  Jian Li  <jianli@chromium.org>
538
539         Unreviewed. Fix build break for chromium.
540
541         * Platform.gypi:
542
543 2012-08-01  Jian Li  <jianli@chromium.org>
544
545         [chromium] Make WebKit API support draggable region change update
546         https://bugs.webkit.org/show_bug.cgi?id=92813
547
548         Reviewed by Adam Barth.
549
550         Add WebDraggableRegion for chromium's usage.
551
552         * Platform.gypi:
553
554 2012-08-01  Antoine Labour  <piman@chromium.org>
555
556         [chromium] factor out the optimization pass in CCRenderSurfaceFilters::apply
557         https://bugs.webkit.org/show_bug.cgi?id=92453
558
559         Reviewed by James Robinson.
560
561         This separates the "optimization" pass in CCRenderSurfaceFilters::apply
562         to resolve a succession of color matrix filters into a single operation.
563         This allows testing of that code.
564         This introduces a new generic color matrix WebFilterOperation, which can
565         also be used on its own.
566
567         * Platform.gypi:
568         * chromium/public/WebFilterOperation.h:
569         (WebKit::WebFilterOperation::matrix):
570         (WebKit::WebFilterOperation::createColorMatrixFilter):
571         (WebFilterOperation):
572         (WebKit::WebFilterOperation::WebFilterOperation):
573         * chromium/src/WebFilterOperation.cpp: Copied from Source/WebCore/platform/graphics/chromium/cc/CCRenderSurfaceFilters.h.
574         (WebKit):
575         (WebKit::WebFilterOperation::equals):
576         (WebKit::WebFilterOperation::WebFilterOperation):
577         * chromium/src/WebFilterOperations.cpp:
578         (WebKit::WebFilterOperations::hasFilterThatAffectsOpacity):
579
580 2012-08-01  Tommy Widenflycht  <tommyw@google.com>
581
582         MediaStream API: Add ExtraData capability to MediaStreamSource
583         https://bugs.webkit.org/show_bug.cgi?id=92860
584
585         Reviewed by Adam Barth.
586
587         The Chromium port needs to store some related data in MediaStreamSource objects.
588
589         * chromium/public/WebMediaStreamSource.h:
590         (ExtraData):
591         (WebKit::WebMediaStreamSource::ExtraData::~ExtraData):
592         (WebMediaStreamSource):
593
594 2012-08-01  Alexei Filippov  <alexeif@chromium.org>
595
596         Web Inspector: count DOM storage cache memory for native snapshot
597         https://bugs.webkit.org/show_bug.cgi?id=91617
598
599         Reviewed by Yury Semikhatsky.
600
601         Add memory size used for DOM storage cache reporting interface.
602
603         * chromium/public/WebStorageArea.h:
604         (WebStorageArea):
605         (WebKit::WebStorageArea::memoryBytesUsedByCache):
606
607 2012-07-31  Chris Rogers  <crogers@google.com>
608
609         Allow AudioDestination to support local/live audio input
610         https://bugs.webkit.org/show_bug.cgi?id=90318
611
612         Reviewed by Kenneth Russell.
613
614         * chromium/public/WebAudioDevice.h:
615         (WebKit::WebAudioDevice::RenderCallback::render):
616         (RenderCallback):
617
618 2012-07-31  Ian Vollick  <vollick@chromium.org>
619
620         [chromium] Use WebAnimation and related classes in GraphicsLayerChromium and AnimTranslationUtil
621         https://bugs.webkit.org/show_bug.cgi?id=90468
622
623         Reviewed by James Robinson.
624
625         * Platform.gypi:
626         * chromium/public/WebAnimation.h:
627         (WebAnimation):
628         (WebKit::WebAnimation::WebAnimation):
629         * chromium/public/WebAnimationDelegate.h: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCLayerAnimationDelegate.h.
630         (WebKit):
631         (WebAnimationDelegate):
632         * chromium/public/WebLayer.h:
633         (WebKit):
634         (WebLayer):
635
636 2012-07-30  Keishi Hattori  <keishi@webkit.org>
637
638         Implement datalist UI for input type color for Chromium
639         https://bugs.webkit.org/show_bug.cgi?id=92075
640
641         Reviewed by Kent Tamura.
642
643         * chromium/public/WebLocalizedString.h: Added OtherColorLabel.
644
645 2012-07-30  Adrienne Walker  <enne@google.com>
646
647         [chromium] Wrap ScrollbarLayerChromium in WebScrollbarLayer
648         https://bugs.webkit.org/show_bug.cgi?id=91032
649
650         Reviewed by James Robinson.
651
652         Add WebScrollbarLayer class to the Platform API.
653
654         * Platform.gypi:
655         * chromium/public/WebScrollbarLayer.h: Added.
656         (WebCore):
657         (WebKit):
658         (WebScrollbarLayer):
659         (WebKit::WebScrollbarLayer::WebScrollbarLayer):
660         (WebKit::WebScrollbarLayer::~WebScrollbarLayer):
661         (WebKit::WebScrollbarLayer::operator=):
662
663 2012-06-29  James Robinson  <jamesr@chromium.org>
664
665         [chromium] Remove WebTransformationMatrix::mapPoint overrides
666         https://bugs.webkit.org/show_bug.cgi?id=90329
667
668         Reviewed by Adrienne Walker.
669
670         Remove clipping-unaware mapPoint functions from the WebTransformationMatrix interface.
671
672         * chromium/public/WebTransformationMatrix.h:
673         (WebTransformationMatrix):
674
675 2012-07-30  John Bates  <jbates@google.com>
676
677         Plumb vsync-enabled flag up to compositor thread and support disable-vsync
678         https://bugs.webkit.org/show_bug.cgi?id=92323
679
680         Reviewed by James Robinson.
681
682         * chromium/public/WebLayerTreeView.h:
683         (WebKit::WebLayerTreeView::Settings::Settings):
684         (Settings):
685
686 2012-07-30  Adrienne Walker  <enne@google.com>
687
688         [chromium] Remove dependency on ScrollbarTheme from the compositor
689         https://bugs.webkit.org/show_bug.cgi?id=90528
690
691         Reviewed by James Robinson.
692
693         Flesh out WebScrollbar functions enough to be able to implement
694         the parts of ScrollbarThemeClient that Chromium uses.
695
696         Wrap ScrollbarThemeComposite in the Platform API via two different
697         classes: WebScrollbarThemePainter is the non-threadsafe version that
698         is used to paint parts of a scrollbar into a context. This is intended
699         to only be used on the main thread. WebScrollbarThemeGeometry is the
700         threadsafe version, used to get the location and sizes of scrollbar
701         parts on both threads, so they can be painted on the main thread and
702         composited on the compositor thread.
703
704         Unfortunately, there is no way to enforce these thread safety issues,
705         as other ports use the ScrollbarTheme hierarchy differently than
706         Chromium does. On the bright side, other than painting, the
707         ScrollbarTheme code is largely functional and we can enforce this
708         internally for the Chromium port.
709
710         * Platform.gypi:
711         * chromium/public/WebScrollbar.h:
712         (WebCore):
713         (WebKit):
714         (WebScrollbar):
715         * chromium/public/WebScrollbarThemeGeometry.h: Added.
716         (WebCore):
717         (WebKit):
718         (WebScrollbarThemeGeometry):
719         (WebKit::WebScrollbarThemeGeometry::WebScrollbarThemeGeometry):
720         (WebKit::WebScrollbarThemeGeometry::~WebScrollbarThemeGeometry):
721         (WebKit::WebScrollbarThemeGeometry::operator=):
722         (WebKit::WebScrollbarThemeGeometry::isNull):
723         * chromium/public/WebScrollbarThemePainter.h: Added.
724         (WebCore):
725         (WebKit):
726         (WebScrollbarThemePainter):
727         (WebKit::WebScrollbarThemePainter::WebScrollbarThemePainter):
728         (WebKit::WebScrollbarThemePainter::~WebScrollbarThemePainter):
729         (WebKit::WebScrollbarThemePainter::operator=):
730         (WebKit::WebScrollbarThemePainter::isNull):
731
732 2012-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
733
734         Unreviewed, rolling out r124025.
735         http://trac.webkit.org/changeset/124025
736         https://bugs.webkit.org/show_bug.cgi?id=92658
737
738         Causes color-suggestion-picker-appearance layout test to time
739         out on all Chromium platforms (Requested by tomhudson_ on
740         #webkit).
741
742         * chromium/public/WebLocalizedString.h:
743
744 2012-07-30  Keishi Hattori  <keishi@webkit.org>
745
746         Implement datalist UI for input type color for Chromium
747         https://bugs.webkit.org/show_bug.cgi?id=92075
748
749         Reviewed by Kent Tamura.
750
751         * chromium/public/WebLocalizedString.h: Added OtherColorLabel.
752
753 2012-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
754
755         Unreviewed, rolling out r124004.
756         http://trac.webkit.org/changeset/124004
757         https://bugs.webkit.org/show_bug.cgi?id=92622
758
759         Broke Android build (Requested by keishi on #webkit).
760
761         * chromium/public/WebLocalizedString.h:
762
763 2012-07-30  Keishi Hattori  <keishi@webkit.org>
764
765         Implement datalist UI for input type color for Chromium
766         https://bugs.webkit.org/show_bug.cgi?id=92075
767
768         Reviewed by Kent Tamura.
769
770         * chromium/public/WebLocalizedString.h: Added OtherColorLabel.
771
772 2012-07-25  Min Qin  <qinmin@chromium.org>
773
774         Upstream declaration of WebGraphicsContext3D::createStreamTextureCHROMIUM() for android
775         https://bugs.webkit.org/show_bug.cgi?id=92308
776
777         Reviewed by Adam Barth.
778
779         For android, we need 2 calls to create and destroy the stream texture.
780         This change adds the interface for these 2 calls.
781         The actual implementation will be in webgraphicscontext3d_in_process_impl and webgraphicscontext3d_command_buffer_impl.
782
783         * chromium/public/WebGraphicsContext3D.h:
784         (WebGraphicsContext3D):
785         (WebKit::WebGraphicsContext3D::createStreamTextureCHROMIUM):
786         (WebKit::WebGraphicsContext3D::destroyStreamTextureCHROMIUM):
787
788 2012-07-25  Tommy Widenflycht  <tommyw@google.com>
789
790         MediaStream API: Update MediaStreamTrack to match the specification
791         https://bugs.webkit.org/show_bug.cgi?id=90180
792
793         Reviewed by Adam Barth.
794
795         * chromium/public/WebMediaStreamDescriptor.h:
796         (WebMediaStreamDescriptor):
797         * chromium/public/WebMediaStreamSource.h:
798         (WebMediaStreamSource):
799
800 2012-07-24  Dave Tu  <dtu@chromium.org>
801
802         [chromium] Add time spent painting to GPU benchmarking renderingStats() API.
803         https://bugs.webkit.org/show_bug.cgi?id=90019
804
805         Reviewed by Adrienne Walker.
806
807         * chromium/public/WebRenderingStats.h:
808         (WebRenderingStats):
809         (WebKit::WebRenderingStats::WebRenderingStats):
810
811 2012-07-24  Sheriff Bot  <webkit.review.bot@gmail.com>
812
813         Unreviewed, rolling out r123499.
814         http://trac.webkit.org/changeset/123499
815         https://bugs.webkit.org/show_bug.cgi?id=92161
816
817         Android fails to compile (Requested by zhenyao on #webkit).
818
819         * chromium/public/WebMediaStreamDescriptor.h:
820         (WebMediaStreamDescriptor):
821         * chromium/public/WebMediaStreamSource.h:
822         (WebMediaStreamSource):
823
824 2012-07-24  Leandro Gracia Gil  <leandrogracia@chromium.org>
825
826         [Chromium] Enable conversion between WebFloatRect and gfx::RectF.
827         https://bugs.webkit.org/show_bug.cgi?id=92117
828
829         Reviewed by Adam Barth.
830
831         Introduce WebFloatRect <--> gfx::RectF conversion as we already do with WebRect <--> gfx::Rect.
832
833         * chromium/public/WebFloatRect.h:
834         (WebKit::WebFloatRect::WebFloatRect):
835         (WebFloatRect):
836         (WebKit::WebFloatRect::operator=):
837         (WebKit::WebFloatRect::operator gfx::RectF):
838
839 2012-07-24  Tommy Widenflycht  <tommyw@google.com>
840
841         MediaStream API: Update MediaStreamTrack to match the specification
842         https://bugs.webkit.org/show_bug.cgi?id=90180
843
844         Reviewed by Adam Barth.
845
846         * chromium/public/WebMediaStreamDescriptor.h:
847         (WebMediaStreamDescriptor):
848         * chromium/public/WebMediaStreamSource.h:
849         (WebMediaStreamSource):
850
851 2012-07-23  Dave Tu  <dtu@chromium.org>
852
853         [chromium] Add droppedFrameCount to renderingStats.
854         https://bugs.webkit.org/show_bug.cgi?id=91694
855
856         Reviewed by Adrienne Walker.
857
858         * chromium/public/WebRenderingStats.h:
859         (WebRenderingStats):
860         (WebKit::WebRenderingStats::WebRenderingStats):
861
862 2012-07-23  Brian Anderson  <brianderson@chromium.org>
863
864         [chromium] Use shallow flushes that don't glFlush
865         https://bugs.webkit.org/show_bug.cgi?id=90325
866
867         Reviewed by Kenneth Russell.
868
869         Adds shallowFlushCHROMIUM to WebGraphicsContext3D.
870
871         * chromium/public/WebGraphicsContext3D.h:
872         (WebGraphicsContext3D):
873         (WebKit::WebGraphicsContext3D::shallowFlushCHROMIUM):
874
875 2012-07-23  Tommy Widenflycht  <tommyw@google.com>
876
877         [chromium] MediaStream API: Clean up the MockWebKitPlatformSupport object at shutdown
878         https://bugs.webkit.org/show_bug.cgi?id=91857
879
880         Reviewed by Adam Barth.
881
882         Made Platforms destructor virtual.
883
884         * chromium/public/Platform.h:
885         (WebKit::Platform::~Platform):
886
887 2012-07-18  Antoine Labour  <piman@chromium.org>
888
889         [chromium] Introduce CCResourceProvider, replacing TextureAllocator and hiding textures from clients to allow transport
890         https://bugs.webkit.org/show_bug.cgi?id=91044
891
892         Reviewed by Adrienne Walker.
893
894         This does several things:
895         - Add a CCResourceProvider class, that hides textures and the 3D context
896         from layers (except those that need it). Instead layers manage
897         "resources". In the future, resources are expected to be transportable
898         to a "parent" CCResourceProvider to allow flattening of nested
899         compositors.
900         - Replace texture ids by resource ids in DrawQuads (allowing them to be
901         serializable).
902         - Replace TextureAllocator uses by the CCResourceProvider class.
903         - Upload of data is done through the CCResourceProvider instead of
904         explicit GL calls.
905         - External textures are wrapped into a resource at draw time (see
906         caveat/FIXME in CCTextureLayerImpl).
907         - Rendering with the resources is done through an explicit
908         beginRenderFrom/endRenderFrom that exposes the texture only between that
909         pair.
910         - Merge all the LayerTextureSubImage instances (one per layer), into a
911         single instance on the CCResourceProvider.
912
913         Added CCResourceProviderTest, the refactoring is covered by existing tests.
914
915         * chromium/public/WebCompositorTextureQuad.h:
916         (WebCompositorTextureQuad):
917         (WebKit::WebCompositorTextureQuad::resourceId):
918         * chromium/public/WebCompositorTileQuad.h:
919         (WebCompositorTileQuad):
920         (WebKit::WebCompositorTileQuad::resourceId):
921
922 2012-07-18  Alexandre Elias  <aelias@google.com>
923
924         [chromium] Ubercomp: add id to SharedQuadState
925         https://bugs.webkit.org/show_bug.cgi?id=91670
926
927         Reviewed by Adrienne Walker.
928
929         This assigns an integer ID to SharedQuadState objects and a
930         corresponding ID to quads.  This ID is unique only within a
931         RenderPass and currently is just set to the index in the shared quad
932         state list.  This is redundant with the pointer and exists to
933         simplify serialization.
934
935         I found out that pointer rewriting within a pickler is blocked by
936         pointers to memory being const there, so the reassignment will have to
937         be performed in the application layer anyway.  In that case, it's
938         simplest to add some ID integers.
939
940         * chromium/public/WebCompositorQuad.h:
941         (WebKit::WebCompositorQuad::sharedQuadStateId):
942         (WebCompositorQuad):
943         * chromium/public/WebCompositorSharedQuadState.h:
944         (WebCompositorSharedQuadState):
945
946 2012-07-18  Ryosuke Niwa  <rniwa@webkit.org>
947
948         Another Chromium Windows build fix attempt after r123014.
949
950         * chromium/public/Platform.h:
951
952 2012-07-18  Mark Pilgrim  <pilgrim@chromium.org>
953
954         [Chromium] Call SQLiteFileSystem-related functions directly
955         https://bugs.webkit.org/show_bug.cgi?id=91631
956
957         Reviewed by Adam Barth.
958
959         Part of a refactoring series. See tracking bug 82948.
960         
961         * chromium/public/Platform.h:
962         (Platform):
963         (WebKit::Platform::databaseOpenFile):
964         (WebKit::Platform::databaseDeleteFile):
965         (WebKit::Platform::databaseGetFileAttributes):
966         (WebKit::Platform::databaseGetFileSize):
967         (WebKit::Platform::databaseGetSpaceAvailableForOrigin):
968
969 2012-07-18  Sailesh Agrawal  <sail@chromium.org>
970
971         Chromium Mac: Add TEXTURE_RECTANGLE_ARB support to CCVideoLayerImpl
972         https://bugs.webkit.org/show_bug.cgi?id=91169
973
974         Reviewed by Adrienne Walker.
975
976         Added a "orientation" field to WebCompositorIOSurfaceQuad. This is used at draw time to flip the texture if necessary.
977
978         * chromium/public/WebCompositorIOSurfaceQuad.h: Added orientation field to the constructor.
979         (WebKit::WebCompositorIOSurfaceQuad::orientation):
980         (WebCompositorIOSurfaceQuad): The new orientation field should be set to Flipped if the texture should be flipped when drawing.
981
982 2012-07-13  Tony Payne  <tpayne@chromium.org>
983
984         Remove Widget from screenColorProfile
985         https://bugs.webkit.org/show_bug.cgi?id=91300
986
987         Reviewed by Adam Barth.
988
989         * chromium/public/Platform.h:
990         (Platform): Updated comment to reflect that we no longer have a type param.
991
992 2012-07-11  Alexandre Elias  <aelias@google.com>
993
994         [chromium] Move compositor quads to Platform/chromium/public
995         https://bugs.webkit.org/show_bug.cgi?id=90582
996
997         Reviewed by Adrienne Walker.
998
999         This moves CCSharedQuadState, CCDrawQuad, and all but two CC*DrawQuad
1000         classes to the WebKit namespace, as a first step to pushing them
1001         across the process boundary for the ubercompositor.
1002
1003         - The intent is to serialize the class hierarchy using the same
1004         mechanism as WebInputEvent.  In order to do this, there are three
1005         requirements: pure POD data, a method returning size, and a packing
1006         pragma.
1007
1008         - Private data members are fine with this kind of serializer, and a
1009         default constructor is not needed.  Because of that, we can maintain
1010         the same encapsulation and convenient APIs (behind
1011         WEBKIT_IMPLEMENTATION) as the original classes.  To ease the
1012         transition, the original WebCore headers still exist and typedef to
1013         the new classes.
1014
1015         - However, SharedQuadState will be serialized using the normal
1016         IPC_STRUCT_TRAITS macro, so I made its members public.  A custom
1017         serializer (on quad lists) will maintain the pointers from quads to
1018         SharedQuadStates.
1019
1020         - I converted the Material casting mechanism to materialCast() methods
1021         living in the derived classes.  That way, the WebCompositorQuad header
1022         doesn't need to know about all its derived classes.
1023
1024         - Quad classes not yet transitioned can still be used in
1025         non-ubercompositor mode.  CCRenderPassDrawQuad and CCYUVVideoDrawQuad
1026         are currently non-POD and I left them in their original files.
1027
1028         This approach is the best I've found so far, since it preserves all
1029         WebCore-facing APIs and avoids unnecessary code duplication (new quad
1030         types or members can be added by modifying only one place).  There
1031         also should not be an unreasonable amount of custom serializer code
1032         required.
1033
1034         * Platform.gypi:
1035         * chromium/public/WebCompositorQuad.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCDrawQuad.h.
1036         (WebKit):
1037         (WebCompositorQuad):
1038         (WebKit::WebCompositorQuad::quadRect):
1039         (WebKit::WebCompositorQuad::quadTransform):
1040         (WebKit::WebCompositorQuad::layerTransform):
1041         (WebKit::WebCompositorQuad::layerRect):
1042         (WebKit::WebCompositorQuad::scissorRect):
1043         (WebKit::WebCompositorQuad::opacity):
1044         (WebKit::WebCompositorQuad::needsBlending):
1045         (WebKit::WebCompositorQuad::isLayerAxisAlignedIntRect):
1046         (WebKit::WebCompositorQuad::quadVisibleRect):
1047         (WebKit::WebCompositorQuad::isDebugQuad):
1048         (WebKit::WebCompositorQuad::material):
1049         (WebKit::WebCompositorQuad::sharedQuadState):
1050         (WebKit::WebCompositorQuad::setSharedQuadState):
1051         * chromium/public/WebCompositorSharedQuadState.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCSolidColorDrawQuad.h.
1052         (WebKit):
1053         (WebCompositorSharedQuadState):
1054         * chromium/public/WebCompositorSolidColorQuad.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCSolidColorDrawQuad.h.
1055         (WebKit):
1056         (WebCompositorSolidColorQuad):
1057         (WebKit::WebCompositorSolidColorQuad::color):
1058         * chromium/public/WebCompositorTextureQuad.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCTextureDrawQuad.h.
1059         (WebKit):
1060         (WebCompositorTextureQuad):
1061         (WebKit::WebCompositorTextureQuad::uvRect):
1062         (WebKit::WebCompositorTextureQuad::textureId):
1063         (WebKit::WebCompositorTextureQuad::premultipliedAlpha):
1064         (WebKit::WebCompositorTextureQuad::flipped):
1065
1066 2012-07-05  Ian Vollick  <vollick@chromium.org>
1067
1068         [chromium] Create a WebKit::Web* wrapper for the cc animation classes
1069         https://bugs.webkit.org/show_bug.cgi?id=90303
1070
1071         Reviewed by James Robinson.
1072
1073         * Platform.gypi:
1074         * chromium/public/WebAnimation.h: Added.
1075         (WebCore):
1076         (WebKit):
1077         (WebAnimation):
1078         (WebKit::WebAnimation::WebAnimation):
1079         (WebKit::WebAnimation::~WebAnimation):
1080         * chromium/public/WebAnimationCurve.h: Added.
1081         (WebCore):
1082         (WebKit):
1083         (WebAnimationCurve):
1084         (WebKit::WebAnimationCurve::~WebAnimationCurve):
1085         (WebKit::WebAnimationCurve::WebAnimationCurve):
1086         * chromium/public/WebFloatAnimationCurve.h: Added.
1087         (WebCore):
1088         (WebKit):
1089         (WebFloatAnimationCurve):
1090         (WebKit::WebFloatAnimationCurve::WebFloatAnimationCurve):
1091         (WebKit::WebFloatAnimationCurve::~WebFloatAnimationCurve):
1092         * chromium/public/WebFloatKeyframe.h: Added.
1093         (WebKit):
1094         (WebKit::WebFloatKeyframe::WebFloatKeyframe):
1095         (WebFloatKeyframe):
1096         * chromium/public/WebTransformAnimationCurve.h: Added.
1097         (WebCore):
1098         (WebKit):
1099         (WebTransformAnimationCurve):
1100         (WebKit::WebTransformAnimationCurve::WebTransformAnimationCurve):
1101         (WebKit::WebTransformAnimationCurve::~WebTransformAnimationCurve):
1102         * chromium/public/WebTransformKeyframe.h: Added.
1103         (WebKit):
1104         (WebKit::WebTransformKeyframe::WebTransformKeyframe):
1105         (WebTransformKeyframe):
1106
1107 2012-07-03  Alex Sakhartchouk  <alexst@chromium.org>
1108
1109         [chromium] Avoid calling getUniformLocation??() in the compositor startup
1110         https://bugs.webkit.org/show_bug.cgi?id=90217
1111
1112         Reviewed by Adrienne Walker.
1113
1114         Adding an entry point for bindUniformLocationCHROMIUM.
1115
1116         * chromium/public/WebGraphicsContext3D.h:
1117         (WebGraphicsContext3D):
1118         (WebKit::WebGraphicsContext3D::bindUniformLocationCHROMIUM):
1119
1120 2012-07-03  Tony Chang  <tony@chromium.org>
1121
1122         [chromium] Unreviewed, update .gitignore to handle VS2010 files.
1123
1124         * Platform.gyp/.gitignore:
1125
1126 2012-07-02  Tommy Widenflycht  <tommyw@google.com>
1127
1128         MediaStream API: Update MediaStreamTrackList to match the specification
1129         https://bugs.webkit.org/show_bug.cgi?id=90171
1130
1131         Reviewed by Adam Barth.
1132
1133         The latest update to the specification added add and remove methods with corresponding callbacks.
1134         The callbacks can be triggered both from JS and from the platform layer.
1135
1136         * chromium/public/WebMediaStreamCenterClient.h:
1137         (WebKit):
1138         (WebMediaStreamCenterClient):
1139
1140 2012-07-01  Keishi Hattori  <keishi@webkit.org>
1141
1142         Unreviewed, rolling out r121650.
1143         http://trac.webkit.org/changeset/121650
1144         https://bugs.webkit.org/show_bug.cgi?id=90303
1145
1146         runhooks is failing for chromium win bots and
1147         WebAnimationTest.DefaultSettings is crashing
1148
1149         * Platform.gypi:
1150         * chromium/public/WebAnimation.h: Removed.
1151         * chromium/public/WebAnimationCurve.h: Removed.
1152         * chromium/public/WebFloatAnimationCurve.h: Removed.
1153         * chromium/public/WebFloatKeyframe.h: Removed.
1154         * chromium/public/WebTransformAnimationCurve.h: Removed.
1155         * chromium/public/WebTransformKeyframe.h: Removed.
1156
1157 2012-07-01  Ian Vollick  <vollick@chromium.org>
1158
1159         [chromium] Create a WebKit::Web* wrapper for the cc animation classes
1160         https://bugs.webkit.org/show_bug.cgi?id=90303
1161
1162         Reviewed by James Robinson.
1163
1164         * Platform.gypi:
1165         * chromium/public/WebAnimation.h: Added.
1166         (WebCore):
1167         (WebKit):
1168         (WebAnimation):
1169         (WebKit::WebAnimation::WebAnimation):
1170         (WebKit::WebAnimation::~WebAnimation):
1171         * chromium/public/WebAnimationCurve.h: Added.
1172         (WebCore):
1173         (WebKit):
1174         (WebAnimationCurve):
1175         (WebKit::WebAnimationCurve::~WebAnimationCurve):
1176         (WebKit::WebAnimationCurve::WebAnimationCurve):
1177         * chromium/public/WebFloatAnimationCurve.h: Added.
1178         (WebCore):
1179         (WebKit):
1180         (WebFloatAnimationCurve):
1181         (WebKit::WebFloatAnimationCurve::WebFloatAnimationCurve):
1182         (WebKit::WebFloatAnimationCurve::~WebFloatAnimationCurve):
1183         * chromium/public/WebFloatKeyframe.h: Added.
1184         (WebKit):
1185         (WebKit::WebFloatKeyframe::WebFloatKeyframe):
1186         (WebFloatKeyframe):
1187         * chromium/public/WebTransformAnimationCurve.h: Added.
1188         (WebCore):
1189         (WebKit):
1190         (WebTransformAnimationCurve):
1191         (WebKit::WebTransformAnimationCurve::WebTransformAnimationCurve):
1192         (WebKit::WebTransformAnimationCurve::~WebTransformAnimationCurve):
1193         * chromium/public/WebTransformKeyframe.h: Added.
1194         (WebKit):
1195         (WebKit::WebTransformKeyframe::WebTransformKeyframe):
1196         (WebTransformKeyframe):
1197
1198 2012-06-30  Ian Vollick  <vollick@chromium.org>
1199
1200         [chromium] CanvasLayerTextureUpdater needs to convert opaque rects back to content space.
1201         https://bugs.webkit.org/show_bug.cgi?id=90092
1202
1203         The CanvasLayerTextureUpdater currently receives its opaque rects in
1204         layer space, but is expected to return them in content space and does
1205         not convert them. This patch adds this conversion. To avoid numerical
1206         errors, this patch also switches to using float rects to store opaque
1207         rects where appropriate.
1208
1209         Reviewed by Adrienne Walker.
1210
1211         * chromium/public/WebContentLayerClient.h:
1212         (WebKit):
1213         (WebContentLayerClient):
1214
1215 2012-06-29  Tony Payne  <tpayne@chromium.org>
1216
1217         Remove type from screenColorProfile API
1218         https://bugs.webkit.org/show_bug.cgi?id=90299
1219
1220         Reviewed by Adam Barth.
1221
1222         * chromium/public/Platform.h:
1223         (WebKit::Platform::screenColorProfile): Removed type from chromium
1224         public API's version of screenColorProfile().
1225
1226 2012-06-28  James Robinson  <jamesr@chromium.org>
1227
1228         [chromium] Remove mapRect and mapQuad from WebTransformationMatrix
1229         https://bugs.webkit.org/show_bug.cgi?id=90230
1230
1231         Reviewed by Adrienne Walker.
1232
1233         Removes clipping-unaware mapRect, mapQuad and projectPoint functions from the WebTransformationMatrix interface.
1234
1235         * chromium/public/WebTransformationMatrix.h:
1236         (WebTransformationMatrix):
1237
1238 2012-06-28  Adrienne Walker  <enne@google.com>
1239
1240         [chromium] Split WebScrollbar into WebPluginScrollbar and WebScrollbar
1241         https://bugs.webkit.org/show_bug.cgi?id=90117
1242
1243         Reviewed by James Robinson.
1244
1245         Move WebScrollbar from client API to Platform.
1246
1247         * Platform.gypi:
1248         * chromium/public/WebScrollbar.h: Copied from Source/WebKit/chromium/public/WebPluginScrollbarClient.h.
1249         (WebKit):
1250         (WebScrollbar):
1251         (WebKit::WebScrollbar::~WebScrollbar):
1252
1253 2012-06-26  James Robinson  <jamesr@chromium.org>
1254
1255         [chromium] Remove WebView::graphicsContext3D getter
1256         https://bugs.webkit.org/show_bug.cgi?id=89916
1257
1258         Reviewed by Adrienne Walker.
1259
1260         Remove unused getter.
1261
1262         * chromium/public/WebLayerTreeView.h:
1263         (WebLayerTreeView):
1264
1265 2012-06-26  Dave Tu  <dtu@chromium.org>
1266
1267         [chromium] Expose rendering statistics to WebWidget.
1268         https://bugs.webkit.org/show_bug.cgi?id=88268
1269
1270         Reviewed by James Robinson.
1271
1272         The WebKit side of a basic framework for exposing rendering statistics
1273         to Chromium's --enable-benchmarking extension.
1274
1275         * chromium/public/WebLayerTreeView.h:
1276         (WebRenderingStatistics):
1277         (WebKit):
1278         (WebLayerTreeView):
1279
1280 2012-06-25  James Robinson  <jamesr@chromium.org>
1281
1282         [chromium] Add WebLayer API for scrolling
1283         https://bugs.webkit.org/show_bug.cgi?id=89913
1284
1285         Reviewed by Adrienne Walker.
1286
1287         Adds WebScrollableLayer type to represent a layer that can be scrolled by the user. Currently WebContentLayers
1288         are scrollable and no other layer types are, although this might change in the future.
1289
1290         * chromium/public/WebContentLayer.h:
1291         (WebKit::WebContentLayer::WebContentLayer):
1292         * chromium/public/WebLayer.h:
1293         (WebLayer):
1294         * chromium/public/WebScrollableLayer.h:
1295         (WebKit):
1296         (WebScrollableLayer):
1297         (WebKit::WebScrollableLayer::WebScrollableLayer):
1298         (WebKit::WebScrollableLayer::~WebScrollableLayer):
1299         (WebKit::WebScrollableLayer::operator=):
1300
1301 2012-06-25  Sheriff Bot  <webkit.review.bot@gmail.com>
1302
1303         Unreviewed, rolling out r121176.
1304         http://trac.webkit.org/changeset/121176
1305         https://bugs.webkit.org/show_bug.cgi?id=89934
1306
1307         [chromium] browser_tests assert failed:
1308         FATAL:native_theme_win.cc(1541)] Check failed: false. Invalid
1309         part: 16 (Requested by ukai on #webkit).
1310
1311         * chromium/public/win/WebThemeEngine.h:
1312         (WebKit::WebThemeEngine::paintProgressBar):
1313
1314 2012-06-25  James Robinson  <jamesr@chromium.org>
1315
1316         [chromium] Use WebGraphicsContext3D in compositor implementation
1317         https://bugs.webkit.org/show_bug.cgi?id=89700
1318
1319         Reviewed by Adrienne Walker.
1320
1321         Puts all callback destructors in protected section and removes obsolete memory callback signature.
1322
1323         * chromium/public/WebGraphicsContext3D.h:
1324         (WebGraphicsContextLostCallback):
1325         (WebGraphicsErrorMessageCallback):
1326         (WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
1327         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
1328
1329 2012-06-25  Scott Graham  <scottmg@chromium.org>
1330
1331         Plumb Scrollbar button dimensions through WebThemeEngine
1332         https://bugs.webkit.org/show_bug.cgi?id=89264
1333
1334         Reviewed by James Robinson.
1335
1336         Rather than making the height of the scrollbar buttons the same as the
1337         width of the scrollbar, delegate to the WebThemeEngine. This allows
1338         matching the Aura theme rather than the standard Windows theme.
1339
1340         * chromium/public/win/WebThemeEngine.h:
1341         (WebKit):
1342         (WebThemeEngine):
1343
1344 2012-06-22  Kenneth Russell  <kbr@google.com>
1345
1346         Unreviewed, rolling out r121064.
1347         http://trac.webkit.org/changeset/121064
1348         https://bugs.webkit.org/show_bug.cgi?id=88268
1349
1350         Broke Chromium Mac build.
1351
1352         * Platform.gypi:
1353         * chromium/public/WebLayerTreeView.h:
1354         (WebKit):
1355         (WebLayerTreeView):
1356         * chromium/public/WebRenderingStats.h: Removed.
1357
1358 2012-06-22  Dave Tu  <dtu@chromium.org>
1359
1360         [chromium] Expose rendering statistics to WebWidget.
1361         https://bugs.webkit.org/show_bug.cgi?id=88268
1362
1363         Reviewed by James Robinson.
1364
1365         The WebKit side of a basic framework for exposing rendering statistics
1366         to Chromium's --enable-benchmarking extension.
1367
1368         * chromium/public/WebLayerTreeView.h:
1369         (WebRenderingStatistics):
1370         (WebKit):
1371         (WebLayerTreeView):
1372
1373 2012-06-22  Jeff Timanus  <twiz@chromium.org>
1374
1375         [Chromium] Change implementing a fast-path for copying GPU-accelerated Canvas2D instances to WebGL textures.
1376         https://bugs.webkit.org/show_bug.cgi?id=86275
1377
1378         This change adds the necessary plumbing to the various rendering contexts to copy the backing store texture of
1379         a Canvas2D instance to be copied to a WebGL texture.  The GL_CHROMIUM_copy_texture extension is necessary
1380         because the backing-store for a GPU-accelerated skia Canvas2D is normally in BGRA format, which is not supported
1381         by glCopyTexImage.
1382
1383         Reviewed by Kenneth Russell.
1384
1385         * chromium/public/WebGraphicsContext3D.h:
1386         (WebGraphicsContext3D):
1387         (WebKit::WebGraphicsContext3D::copyTextureCHROMIUM):
1388
1389 2012-06-20  Christopher Cameron  <ccameron@chromium.org>
1390
1391         [chromium] webkit-backface-visibility doesn't work with video
1392         https://bugs.webkit.org/show_bug.cgi?id=88908
1393
1394         When determining a contents layer's backface culling, use the parent
1395         layer's transform and backface-visibility properties. Track which
1396         layers need this special treatment with useParentBackfaceVisibility
1397         and setUseParentBackfaceVisibility functions in WebCore::LayerChromium,
1398         WebKit::WebLayer, and WebCore::CCLayerImpl.
1399
1400         Reviewed by Adrienne Walker.
1401
1402         * chromium/public/WebLayer.h:
1403             (WebLayer):
1404                 Add an accessor to specify that a layer should use its parent's
1405                 backface culling behavior.
1406
1407 2012-06-19  Tony Payne  <tpayne@chromium.org>
1408
1409         Add monitor profile support for Win
1410         https://bugs.webkit.org/show_bug.cgi?id=88565
1411
1412         Reviewed by Eric Seidel.
1413
1414         * chromium/public/Platform.h:
1415         (Platform):
1416         (WebKit::Platform::screenColorProfile):
1417
1418 2012-06-14  James Robinson  <jamesr@chromium.org>
1419
1420         [chromium] Use WebImageLayer in GraphicsLayerChromium for image layers
1421         https://bugs.webkit.org/show_bug.cgi?id=89150
1422
1423         Reviewed by Adrienne Walker.
1424
1425         Adds a WebImageLayer type to represent layers backed by (guess what) Images.
1426
1427         * Platform.gypi:
1428         * chromium/public/WebImageLayer.h: Added.
1429         (WebCore):
1430         (WebKit):
1431         (WebImageLayer):
1432         (WebKit::WebImageLayer::WebImageLayer):
1433         (WebKit::WebImageLayer::~WebImageLayer):
1434
1435 2012-06-14  James Robinson  <jamesr@chromium.org>
1436
1437         [chromium] GraphicsLayerChromium should use WebContentLayer directly
1438         https://bugs.webkit.org/show_bug.cgi?id=89145
1439
1440         Reviewed by Adrienne Walker.
1441
1442         Add an opaque rect parameter to WebContentLayerClient::paintContents() for a client to (optionally) provide
1443         information about opaque portions of the painted region for culling optimizations.
1444
1445         * chromium/public/WebContentLayerClient.h:
1446         (WebContentLayerClient):
1447
1448 2012-06-16  Robert Kroeger  <rjkroege@chromium.org>
1449
1450         [chromium] Make the deviceScaleFactor dynamically adjustable.
1451         https://bugs.webkit.org/show_bug.cgi?id=88916
1452
1453         Reviewed by James Robinson.
1454
1455         * chromium/public/WebLayerTreeView.h: Plumb setDeviceScaleFactor and
1456         deviceScaleFactor functions.
1457         (WebKit::WebLayerTreeView::Settings::Settings): Remove deviceScaleFactor from
1458         settings as it is now dynamic.
1459         (Settings):
1460         (WebLayerTreeView):
1461
1462 2012-06-14  Ian Vollick  <vollick@chromium.org>
1463
1464         [chromium] Certain settings in CCSettings could be global
1465         https://bugs.webkit.org/show_bug.cgi?id=88384
1466
1467         Reviewed by James Robinson.
1468
1469         * chromium/public/WebLayerTreeView.h:
1470         (WebCore):
1471         (WebKit::WebLayerTreeView::Settings::Settings):
1472         (Settings):
1473
1474 2012-06-14  Eugene Klyuchnikov  <eustas.bug@gmail.com>
1475
1476         Web Inspector: Refactor message loop instrumentation.
1477         https://bugs.webkit.org/show_bug.cgi?id=88978
1478
1479         Reviewed by Pavel Feldman.
1480
1481         1) Remove "messageLoop" term
1482         2) Reuse WebThread::TaskObserver interface
1483         3) Move implementation (from embedder) to platform code.
1484
1485         * chromium/public/WebThread.h:
1486         (TaskObserver): add "willProcessTask" method.
1487
1488 2012-06-13  Sheriff Bot  <webkit.review.bot@gmail.com>
1489
1490         Unreviewed, rolling out r120268.
1491         http://trac.webkit.org/changeset/120268
1492         https://bugs.webkit.org/show_bug.cgi?id=89060
1493
1494         WebCompositor::setPerTilePaintingEnabled hits an assertion in
1495         DEBUG (Requested by dominicc|work on #webkit).
1496
1497         * chromium/public/WebLayerTreeView.h:
1498         (WebCore):
1499         (WebKit::WebLayerTreeView::Settings::Settings):
1500         (Settings):
1501
1502 2012-06-13  Ian Vollick  <vollick@chromium.org>
1503
1504         [chromium] Certain settings in CCSettings could be global
1505         https://bugs.webkit.org/show_bug.cgi?id=88384
1506
1507         Reviewed by James Robinson.
1508
1509         * chromium/public/WebLayerTreeView.h:
1510         (WebCore):
1511         (WebKit::WebLayerTreeView::Settings::Settings):
1512         (Settings):
1513
1514 2012-06-12  James Robinson  <jamesr@chromium.org>
1515
1516         [chromium] Port Canvas2DLayerBridge over to WebExternalTextureLayer
1517         https://bugs.webkit.org/show_bug.cgi?id=88597
1518
1519         Reviewed by Adrienne Walker.
1520
1521         This adds two new APIs to WebExternalTextureLayer that are used by the accelerated 2d canvas path:
1522         - willModifyTexture() is called to indicate that a system outside the compositor's control is about to modify
1523         the texture backing the WebExternalTextureLayer. This indicates to the compositor that it needs to avoid
1524         producing more frames using this texture until it can do a full commit - either by double buffering or
1525         appropriate flow control.
1526
1527         - setRateLimitContext() is called to enable rate limiting for this texture. The rate limiting logic blocks if
1528         too many invalidate() or invalidateRect() calls are made on the texture outside of the context of a
1529         WebLayerTreeViewClient::updateAnimations() call to prevent a non-vsynced producer from getting too far ahead of
1530         the compositor.
1531
1532         * chromium/public/WebExternalTextureLayer.h:
1533         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
1534         (WebExternalTextureLayer):
1535
1536 2012-06-11  James Robinson  <jamesr@chromium.org>
1537
1538         [chromium] Port DrawingBufferChromium from TextureLayerChromium over to WebExternalTextureLayer
1539         https://bugs.webkit.org/show_bug.cgi?id=86273
1540
1541         Reviewed by Adrienne Walker.
1542
1543         * Platform.gypi:
1544         * chromium/public/WebExternalTextureLayer.h:
1545         (WebKit):
1546         (WebExternalTextureLayer):
1547         * chromium/public/WebExternalTextureLayerClient.h: Copied from Source/WebKit/chromium/src/WebExternalTextureLayer.cpp.
1548         (WebKit):
1549         (WebTextureUpdater):
1550         (WebKit::WebTextureUpdater::~WebTextureUpdater):
1551         (WebExternalTextureLayerClient):
1552         (WebKit::WebExternalTextureLayerClient::~WebExternalTextureLayerClient):
1553
1554 2012-06-11  Dana Jansens  <danakj@chromium.org>
1555
1556         [chromium] Separate CCVideoDrawQuad and from the layer tree and video provider by removing ManagedTexture and WebVideoFrame pointers from the quad
1557         https://bugs.webkit.org/show_bug.cgi?id=88363
1558
1559         Reviewed by Adrienne Walker.
1560
1561         * Platform.gypi:
1562         * chromium/public/WebVideoFrame.h:
1563         * chromium/src/WebVideoFrame.cpp: Removed.
1564
1565 2012-06-08  David Reveman  <reveman@chromium.org>
1566
1567         [Chromium] Compositor doesn't support translucent root layers.
1568         https://bugs.webkit.org/show_bug.cgi?id=87821
1569
1570         Reviewed by James Robinson.
1571
1572         * chromium/public/WebLayer.h:
1573         (WebLayer):
1574         * chromium/public/WebLayerTreeView.h:
1575         (WebLayerTreeView):
1576
1577 2012-06-06  Mark Pilgrim  <pilgrim@chromium.org>
1578
1579         [Chromium] Move createMessagePortChannel to Platform.h
1580         https://bugs.webkit.org/show_bug.cgi?id=85764
1581
1582         Reviewed by Adam Barth.
1583
1584         Part of a refactoring series. See tracking bug 82948.
1585
1586         * Platform.gypi:
1587         * chromium/public/Platform.h:
1588         (WebKit):
1589         (Platform):
1590         (WebKit::Platform::createMessagePortChannel):
1591         * chromium/public/WebMessagePortChannel.h: Added.
1592         (WebKit):
1593         (WebMessagePortChannel):
1594         (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
1595         * chromium/public/WebMessagePortChannelClient.h: Added.
1596         (WebKit):
1597         (WebMessagePortChannelClient):
1598         (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):
1599
1600 2012-06-05  Mark Pilgrim  <pilgrim@chromium.org>
1601
1602         [Chromium] Move createLocalStorageNamespace to Platform.h
1603         https://bugs.webkit.org/show_bug.cgi?id=85766
1604
1605         Reviewed by James Robinson.
1606
1607         Part of a refactoring series. See tracking bug 82948.
1608         
1609         * Platform.gypi:
1610         * chromium/public/Platform.h:
1611         (WebKit):
1612         (Platform):
1613         (WebKit::Platform::createLocalStorageNamespace):
1614         * chromium/public/WebStorageArea.h: Added.
1615         (WebKit):
1616         (WebStorageArea):
1617         (WebKit::WebStorageArea::~WebStorageArea):
1618         (WebKit::WebStorageArea::setItem):
1619         (WebKit::WebStorageArea::removeItem):
1620         (WebKit::WebStorageArea::clear):
1621         * chromium/public/WebStorageNamespace.h: Added.
1622         (WebKit):
1623         (WebStorageNamespace):
1624         (WebKit::WebStorageNamespace::~WebStorageNamespace):
1625         (WebKit::WebStorageNamespace::isSameNamespace):
1626
1627 2012-06-01  Alexandre Elias  <aelias@google.com>
1628
1629         [chromium] Software compositor initialization and base classes
1630         https://bugs.webkit.org/show_bug.cgi?id=87920
1631
1632         Reviewed by James Robinson.
1633
1634         Add a new setting to force software compositing.  In this mode,
1635         no GraphicsContext3D should ever be created.
1636
1637         * chromium/public/WebLayerTreeView.h:
1638         (WebKit::WebLayerTreeView::Settings::Settings):
1639         (Settings):
1640
1641 2012-06-01  Mark Pilgrim  <pilgrim@chromium.org>
1642
1643         [Chromium] Call clipboard methods directly
1644         https://bugs.webkit.org/show_bug.cgi?id=88038
1645
1646         Reviewed by Adam Barth.
1647
1648         Part of a refactoring series. See tracking bug 82948.
1649
1650         * chromium/public/WebClipboard.h:
1651         (WebKit::WebClipboard::sequenceNumber):
1652
1653 2012-05-31  Shawn Singh  <shawnsingh@chromium.org>
1654
1655         [chromium] Migrate to WebTransformationMatrix
1656         https://bugs.webkit.org/show_bug.cgi?id=87788
1657
1658         Reviewed by James Robinson.
1659
1660         * chromium/public/WebTransformationMatrix.h:
1661         (WebTransformationMatrix):
1662
1663 2012-05-31  Dana Jansens  <danakj@chromium.org>
1664
1665         [chromium] Add copy constructor to WebFilterOperations
1666         https://bugs.webkit.org/show_bug.cgi?id=87970
1667
1668         Reviewed by James Robinson.
1669
1670         * chromium/public/WebFilterOperations.h:
1671         (WebKit::WebFilterOperations::WebFilterOperations):
1672
1673 2012-05-31  Ian Vollick  <vollick@chromium.org>
1674
1675         [chromium] create WebTransformOperation interface for chromium platform
1676         https://bugs.webkit.org/show_bug.cgi?id=87510
1677
1678         Reviewed by James Robinson.
1679
1680         * Platform.gypi:
1681         * chromium/public/WebTransformOperations.h: Added.
1682         (WebKit):
1683         (WebTransformOperations):
1684         (WebKit::WebTransformOperations::~WebTransformOperations):
1685         (WebKit::WebTransformOperations::WebTransformOperations):
1686         (WebKit::WebTransformOperations::operator=):
1687
1688 2012-05-30  Yury Semikhatsky  <yurys@chromium.org>
1689
1690         Web Inspector: add MemoryUsageSupport::processMemorySizesInBytes
1691         https://bugs.webkit.org/show_bug.cgi?id=87830
1692
1693         Reviewed by James Robinson.
1694
1695         * chromium/public/Platform.h:
1696         (Platform):
1697         (WebKit::Platform::processMemorySizesInBytes): moved this method from
1698         Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h, also
1699         removed 'get' prefix.
1700
1701 2012-05-29  Mark Pilgrim  <pilgrim@chromium.org>
1702
1703         [Chromium] Move fileExists to Platform.h
1704         https://bugs.webkit.org/show_bug.cgi?id=87531
1705
1706         Reviewed by Adam Barth.
1707
1708         Call fileExists through fileUtilities(), not directly.
1709
1710         * chromium/public/Platform.h:
1711         (Platform):
1712
1713 2012-05-29  Mark Pilgrim  <pilgrim@chromium.org>
1714
1715         [Chromium] Move fileExists to Platform.h
1716         https://bugs.webkit.org/show_bug.cgi?id=87531
1717
1718         Reviewed by Adam Barth.
1719
1720         Part of a refactoring series. See tracking bug 82948.
1721
1722         * chromium/public/Platform.h:
1723         (WebKit::Platform::fileExists):
1724         (Platform):
1725
1726 2012-05-29  Shawn Singh  <shawnsingh@chromium.org>
1727
1728         [chromium] make WebTransformationMatrix object usable by non-webkit code
1729         https://bugs.webkit.org/show_bug.cgi?id=87315
1730
1731         Reviewed by James Robinson.
1732
1733         * chromium/public/WebTransformationMatrix.h:
1734         (WebKit::WebTransformationMatrix::~WebTransformationMatrix):
1735         (WebTransformationMatrix):
1736
1737 2012-05-25  Kinuko Yasuda  <kinuko@chromium.org>
1738
1739         [chromium] Deprecate FileUtilities::getFileSize and getFileModifiedTime in favor of getFileMetadata
1740         https://bugs.webkit.org/show_bug.cgi?id=87492
1741
1742         Reviewed by Adam Barth.
1743
1744         * chromium/public/WebFileUtilities.h:
1745
1746 2012-05-25  Mark Pilgrim  <pilgrim@chromium.org>
1747
1748         [Chomium] Move sandboxSupport to Platform.h
1749         https://bugs.webkit.org/show_bug.cgi?id=87518
1750
1751         Reviewed by Adam Barth.
1752
1753         Part of a refactoring series. See tracking bug 82948.
1754
1755         * Platform.gypi:
1756         * chromium/public/Platform.h:
1757         (WebKit):
1758         (Platform):
1759         (WebKit::Platform::sandboxSupport):
1760         * chromium/public/android/WebSandboxSupport.h: Added.
1761         (WebKit):
1762         (WebSandboxSupport):
1763         * chromium/public/linux/WebFontFamily.h: Added.
1764         (WebKit):
1765         (WebFontFamily):
1766         * chromium/public/linux/WebSandboxSupport.h: Added.
1767         (WebKit):
1768         (WebSandboxSupport):
1769         * chromium/public/mac/WebSandboxSupport.h: Added.
1770         (WebKit):
1771         (WebSandboxSupport):
1772         * chromium/public/win/WebSandboxSupport.h: Added.
1773         (WebKit):
1774         (WebSandboxSupport):
1775
1776 2012-05-17  Andrey Kosyakov  <caseq@chromium.org>
1777
1778         [chromium] add instrumentation for compositing
1779         https://bugs.webkit.org/show_bug.cgi?id=83928
1780
1781         Reviewed by James Robinson.
1782
1783         - added willCommit() and didBeginFrame() methods for instrumentation of compositing.
1784
1785         * chromium/public/WebLayerTreeViewClient.h:
1786         (WebLayerTreeViewClient):
1787
1788 2012-05-21  Kinuko Yasuda  <kinuko@chromium.org>
1789
1790         Cleanup: add a file system call which captures the file metadata at once.
1791         https://bugs.webkit.org/show_bug.cgi?id=86995
1792
1793         Reviewed by David Levin.
1794
1795         * Platform.gypi: Added an entry for WebFileInfo.h.
1796         * chromium/public/WebFileInfo.h: Renamed from Source/WebKit/chromium/public/WebFileInfo.h.
1797         (WebKit::WebFileInfo::WebFileInfo):
1798         * chromium/public/WebFileUtilities.h:
1799         (WebKit):
1800         (WebKit::WebFileUtilities::getFileInfo): Added.
1801
1802 2012-05-24  Antoine Labour  <piman@chromium.org>
1803
1804         [chromium] Add a setForceRenderSurface to WebLayer for test/bench purpose
1805         https://bugs.webkit.org/show_bug.cgi?id=87436
1806
1807         Reviewed by James Robinson.
1808
1809         * chromium/public/WebLayer.h:
1810         (WebLayer):
1811
1812 2012-05-24  Mark Pilgrim  <pilgrim@chromium.org>
1813
1814         [Chromium] Move queryLocalizedString to Platform.h
1815         https://bugs.webkit.org/show_bug.cgi?id=85762
1816
1817         Reviewed by Adam Barth.
1818
1819         Part of a refactoring series. See tracking bug 82948.
1820
1821         * Platform.gypi:
1822         * chromium/public/Platform.h:
1823         (WebKit):
1824         (Platform):
1825         (WebKit::Platform::queryLocalizedString):
1826         * chromium/public/WebLocalizedString.h: Added.
1827         (WebKit):
1828
1829 2012-05-23  Sheriff Bot  <webkit.review.bot@gmail.com>
1830
1831         Unreviewed, rolling out r118218.
1832         http://trac.webkit.org/changeset/118218
1833         https://bugs.webkit.org/show_bug.cgi?id=87299
1834
1835         breaks webkit win builder (Requested by pilgrim_google__ on
1836         #webkit).
1837
1838         * Platform.gypi:
1839         * chromium/public/Platform.h:
1840         (WebKit):
1841         (Platform):
1842         * chromium/public/WebLocalizedString.h: Removed.
1843
1844 2012-05-23  Mark Pilgrim  <pilgrim@chromium.org>
1845
1846         [Chromium] Move themeEngine to Platform.h
1847         https://bugs.webkit.org/show_bug.cgi?id=87268
1848
1849         Reviewed by Adam Barth.
1850
1851         Part of a refactoring series. See tracking bug 82948.
1852
1853         * Platform.gypi:
1854         * chromium/public/Platform.h:
1855         (WebKit):
1856         (Platform):
1857         (WebKit::Platform::themeEngine):
1858         * chromium/public/android: Added.
1859         * chromium/public/android/WebThemeEngine.h: Added.
1860         (WebKit):
1861         (WebThemeEngine):
1862         (ScrollbarTrackExtraParams):
1863         (ButtonExtraParams):
1864         (TextFieldExtraParams):
1865         (MenuListExtraParams):
1866         (SliderExtraParams):
1867         (InnerSpinButtonExtraParams):
1868         (ProgressBarExtraParams):
1869         (WebKit::WebThemeEngine::getSize):
1870         (WebKit::WebThemeEngine::paint):
1871         * chromium/public/linux: Added.
1872         * chromium/public/linux/WebThemeEngine.h: Added.
1873         (WebKit):
1874         (WebThemeEngine):
1875         (ScrollbarTrackExtraParams):
1876         (ButtonExtraParams):
1877         (TextFieldExtraParams):
1878         (MenuListExtraParams):
1879         (SliderExtraParams):
1880         (InnerSpinButtonExtraParams):
1881         (ProgressBarExtraParams):
1882         (WebKit::WebThemeEngine::getSize):
1883         (WebKit::WebThemeEngine::paint):
1884         * chromium/public/mac: Added.
1885         * chromium/public/mac/WebThemeEngine.h: Added.
1886         (WebKit):
1887         (WebThemeEngine):
1888         (ScrollbarInfo):
1889         (WebKit::WebThemeEngine::paintScrollbarThumb):
1890         * chromium/public/win: Added.
1891         * chromium/public/win/WebThemeEngine.h: Added.
1892         (WebKit):
1893         (WebThemeEngine):
1894         (WebKit::WebThemeEngine::paintSpinButton):
1895         (WebKit::WebThemeEngine::paintProgressBar):
1896
1897 2012-05-23  Mark Pilgrim  <pilgrim@chromium.org>
1898
1899         [Chromium] Move queryLocalizedString to Platform.h
1900         https://bugs.webkit.org/show_bug.cgi?id=85762
1901
1902         Reviewed by Adam Barth.
1903
1904         Part of a refactoring series. See tracking bug 82948.
1905
1906         * Platform.gypi:
1907         * chromium/public/Platform.h:
1908         (WebKit):
1909         (Platform):
1910         (WebKit::Platform::queryLocalizedString):
1911         * chromium/public/WebLocalizedString.h: Added.
1912         (WebKit):
1913
1914 2012-05-22  Mark Pilgrim  <pilgrim@chromium.org>
1915
1916         [Chromium] Call canAccelerate2dCanvas directly
1917         https://bugs.webkit.org/show_bug.cgi?id=86893
1918
1919         Reviewed by James Robinson.
1920
1921         Part of a refactoring series. See tracking bug 82948.
1922
1923         * chromium/public/Platform.h:
1924         (Platform):
1925         (WebKit::Platform::canAccelerate2dCanvas):
1926
1927 2012-05-22  Mark Pilgrim  <pilgrim@chromium.org>
1928
1929         [Chromium] Move cookieJar to Platform.h
1930         https://bugs.webkit.org/show_bug.cgi?id=86755
1931
1932         Reviewed by Adam Barth.
1933
1934         Part of a refactoring series. See tracking bug 82948.
1935
1936         * Platform.gypi:
1937         * chromium/public/Platform.h:
1938         (WebKit):
1939         (Platform):
1940         (WebKit::Platform::cookieJar):
1941         * chromium/public/WebCookie.h: Added.
1942         (WebKit):
1943         (WebKit::WebCookie::WebCookie):
1944         (WebCookie):
1945         * chromium/public/WebCookieJar.h: Added.
1946         (WebKit):
1947         (WebCookieJar):
1948         (WebKit::WebCookieJar::setCookie):
1949         (WebKit::WebCookieJar::cookies):
1950         (WebKit::WebCookieJar::cookieRequestHeaderFieldValue):
1951         (WebKit::WebCookieJar::rawCookies):
1952         (WebKit::WebCookieJar::deleteCookie):
1953         (WebKit::WebCookieJar::cookiesEnabled):
1954         (WebKit::WebCookieJar::~WebCookieJar):
1955
1956 2012-05-22  Gavin Peters  <gavinp@chromium.org>
1957
1958         [Chromium] Remove old staging enum value WebURLRequest::TargetType::TargetIsPrerender
1959         https://bugs.webkit.org/show_bug.cgi?id=85021
1960
1961         Reviewed by Adam Barth.
1962
1963         * chromium/public/WebURLRequest.h:
1964
1965 2012-05-21  James Robinson  <jamesr@chromium.org>
1966
1967         [chromium] Port chromium compositor to use WebFilterOperation(s)
1968         https://bugs.webkit.org/show_bug.cgi?id=87046
1969
1970         Reviewed by Adrienne Walker.
1971
1972         This changes WebFilterOperation / WebFilterOperations from being simple wrappers over WebCore types to being
1973         standalone. WebFilterOperation is a plain old data struct with some convenience constuctors and type
1974         assertions. Each WebFilterOperation contains a type tag and the parameters needed for each filter.
1975         WebFilterOperations represents an ordered list of WebFilterOperation instances and can be copied around as
1976         needed. It also exposes a few convenience functions about how the filters will modify pixels.
1977
1978         * Platform.gypi:
1979         * chromium/public/WebFilterOperation.h:
1980         (WebFilterOperation):
1981         (WebKit::WebFilterOperation::type):
1982         (WebKit::WebFilterOperation::amount):
1983         (WebKit::WebFilterOperation::dropShadowOffset):
1984         (WebKit::WebFilterOperation::dropShadowColor):
1985         (WebKit::WebFilterOperation::createGrayscaleFilter):
1986         (WebKit::WebFilterOperation::createSepiaFilter):
1987         (WebKit::WebFilterOperation::createSaturateFilter):
1988         (WebKit::WebFilterOperation::createHueRotateFilter):
1989         (WebKit::WebFilterOperation::createInvertFilter):
1990         (WebKit::WebFilterOperation::createBrightnessFilter):
1991         (WebKit::WebFilterOperation::createContrastFilter):
1992         (WebKit::WebFilterOperation::createOpacityFilter):
1993         (WebKit::WebFilterOperation::createBlurFilter):
1994         (WebKit::WebFilterOperation::createDropShadowFilter):
1995         (WebKit::WebFilterOperation::equals):
1996         (WebKit::WebFilterOperation::WebFilterOperation):
1997         (WebKit::operator==):
1998         (WebKit::operator!=):
1999         * chromium/public/WebFilterOperations.h:
2000         (WebKit):
2001         (WebKit::WebFilterOperations::WebFilterOperations):
2002         (WebKit::WebFilterOperations::operator=):
2003         (WebFilterOperations):
2004         (WebKit::operator==):
2005         (WebKit::operator!=):
2006         * chromium/src/WebFilterOperations.cpp: Added.
2007         (WebKit):
2008         (WebFilterOperationsPrivate):
2009         (WebKit::WebFilterOperations::initialize):
2010         (WebKit::WebFilterOperations::destroy):
2011         (WebKit::WebFilterOperations::assign):
2012         (WebKit::WebFilterOperations::equals):
2013         (WebKit::WebFilterOperations::append):
2014         (WebKit::WebFilterOperations::clear):
2015         (WebKit::WebFilterOperations::isEmpty):
2016         (WebKit::spreadForStdDeviation):
2017         (WebKit::WebFilterOperations::getOutsets):
2018         (WebKit::WebFilterOperations::hasFilterThatMovesPixels):
2019         (WebKit::WebFilterOperations::hasFilterThatAffectsOpacity):
2020         (WebKit::WebFilterOperations::size):
2021         (WebKit::WebFilterOperations::at):
2022
2023 2012-05-17  Mark Pilgrim  <pilgrim@chromium.org>
2024
2025         [Chromium] Move Web Workers methods to Platform.h
2026         https://bugs.webkit.org/show_bug.cgi?id=86799
2027
2028         Reviewed by Adam Barth.
2029
2030         Part of a refactoring series. See tracking bug 82948.
2031
2032         * Platform.gypi:
2033         * chromium/public/Platform.h:
2034         (WebKit):
2035         (Platform):
2036         (WebKit::Platform::didStartWorkerRunLoop):
2037         (WebKit::Platform::didStopWorkerRunLoop):
2038         * chromium/public/WebWorkerRunLoop.h: Added.
2039         (WebCore):
2040         (WebKit):
2041         (WebWorkerRunLoop):
2042         (Task):
2043         (WebKit::WebWorkerRunLoop::Task::~Task):
2044         (WebKit::operator==):
2045         (WebKit::operator<):
2046
2047 2012-05-17  Dana Jansens  <danakj@chromium.org>
2048
2049         [chromium] Scale all compositor output by the defaultDeviceScaleFactor
2050         https://bugs.webkit.org/show_bug.cgi?id=86051
2051
2052         Reviewed by James Robinson.
2053
2054         * chromium/public/WebLayerTreeView.h:
2055         (WebKit::WebLayerTreeView::Settings::Settings):
2056         (Settings):
2057
2058 2012-05-17  Ami Fischman  <fischman@chromium.org>
2059
2060         [Chromium] Store HTTP version in WebURLResponse
2061         https://bugs.webkit.org/show_bug.cgi?id=86522
2062
2063         Reviewed by Adam Barth.
2064
2065         * chromium/public/WebURLResponse.h:
2066         (WebURLResponse):
2067
2068 2012-05-17  Vangelis Kokkevis  <vangelis@chromium.org>
2069
2070         [chromium] Expose layer tiling size options to WebSettings
2071         https://bugs.webkit.org/show_bug.cgi?id=86425
2072
2073         Adding entries for tile size and max untiled layer size.
2074         
2075         Reviewed by Adrienne Walker.
2076
2077         * chromium/public/WebLayerTreeView.h:
2078         (WebKit):
2079         (WebKit::WebLayerTreeView::Settings::Settings):
2080         (Settings):
2081
2082 2012-05-17  Mark Pilgrim  <pilgrim@chromium.org>
2083
2084         [Chromium] Move fileUtilities to Platform.h
2085         https://bugs.webkit.org/show_bug.cgi?id=86777
2086
2087         Reviewed by Adam Barth.
2088
2089         Part of a refactoring series. See tracking bug 82948.
2090
2091         * Platform.gypi:
2092         * chromium/public/Platform.h:
2093         (WebKit):
2094         (Platform):
2095         (WebKit::Platform::fileUtilities):
2096         * chromium/public/WebFileUtilities.h: Added.
2097         (WebKit):
2098         (WebFileUtilities):
2099         (WebKit::WebFileUtilities::revealFolderInOS):
2100         (WebKit::WebFileUtilities::fileExists):
2101         (WebKit::WebFileUtilities::deleteFile):
2102         (WebKit::WebFileUtilities::deleteEmptyDirectory):
2103         (WebKit::WebFileUtilities::getFileSize):
2104         (WebKit::WebFileUtilities::getFileModificationTime):
2105         (WebKit::WebFileUtilities::directoryName):
2106         (WebKit::WebFileUtilities::pathByAppendingComponent):
2107         (WebKit::WebFileUtilities::makeAllDirectories):
2108         (WebKit::WebFileUtilities::getAbsolutePath):
2109         (WebKit::WebFileUtilities::isDirectory):
2110         (WebKit::WebFileUtilities::filePathToURL):
2111         (WebKit::WebFileUtilities::openFile):
2112         (WebKit::WebFileUtilities::closeFile):
2113         (WebKit::WebFileUtilities::seekFile):
2114         (WebKit::WebFileUtilities::truncateFile):
2115         (WebKit::WebFileUtilities::readFromFile):
2116         (WebKit::WebFileUtilities::writeToFile):
2117         (WebKit::WebFileUtilities::~WebFileUtilities):
2118
2119 2012-05-11  James Robinson  <jamesr@chromium.org>
2120
2121         [chromium] Convert GraphicsLayerChromium to use WebLayer types
2122         https://bugs.webkit.org/show_bug.cgi?id=86269
2123
2124         Reviewed by Adrienne Walker.
2125
2126         Adds some new WebLayer / WebContentLayer APIs that WebCore::GraphicsLayerChromium needs.
2127
2128         * chromium/public/WebContentLayer.h:
2129         (WebCore):
2130         (WebKit):
2131         (WebContentLayer):
2132         * chromium/public/WebLayer.h:
2133         (WebKit):
2134         (WebKit::WebLayer::isNull):
2135         (WebLayer):
2136         * chromium/public/WebTransformationMatrix.h:
2137         (WebKit::WebTransformationMatrix::~WebTransformationMatrix):
2138             Fix a memory leak - WebPrivateOwnPtr<>s have to be explicitly cleared.
2139         (WebTransformationMatrix):
2140
2141 2012-05-16  Dana Jansens  <danakj@chromium.org>
2142
2143         [chromium] Clear the m_private pointer when destroying WebFilterOperations to avoid assert in WebPrivateOwnPtr
2144         https://bugs.webkit.org/show_bug.cgi?id=86654
2145
2146         Reviewed by James Robinson.
2147
2148         * chromium/public/WebFilterOperations.h:
2149         (WebKit::WebFilterOperations::~WebFilterOperations):
2150         (WebFilterOperations):
2151
2152 2012-05-16  Kenichi Ishibashi  <bashi@chromium.org>
2153
2154         [Chromium] WebTransformationMatrixTest.verifyDefaultConstructorCreatesIdentityMatrix is failing
2155         https://bugs.webkit.org/show_bug.cgi?id=86589
2156
2157         Reviewed by Kent Tamura.
2158
2159         * chromium/public/WebTransformationMatrix.h: Added destructor.
2160         (WebTransformationMatrix):
2161
2162 2012-05-15  Sheriff Bot  <webkit.review.bot@gmail.com>
2163
2164         Unreviewed, rolling out r117204.
2165         http://trac.webkit.org/changeset/117204
2166         https://bugs.webkit.org/show_bug.cgi?id=86559
2167
2168         causing win compilation failures (Requested by pilgrim_google_
2169         on #webkit).
2170
2171         * Platform.gypi:
2172         * chromium/public/Platform.h:
2173         (WebKit):
2174         (Platform):
2175         * chromium/public/WebMessagePortChannel.h: Removed.
2176         * chromium/public/WebMessagePortChannelClient.h: Removed.
2177
2178 2012-05-15  Mark Pilgrim  <pilgrim@chromium.org>
2179
2180         [Chromium] Move createMessagePortChannel to Platform.h
2181         https://bugs.webkit.org/show_bug.cgi?id=85764
2182
2183         Reviewed by Adam Barth.
2184
2185         Part of a refactoring series. See tracking bug 82948.
2186
2187         * Platform.gypi:
2188         * chromium/public/Platform.h:
2189         (WebKit):
2190         (Platform):
2191         (WebKit::Platform::createMessagePortChannel):
2192         * chromium/public/WebMessagePortChannel.h: Added.
2193         (WebKit):
2194         (WebMessagePortChannel):
2195         (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
2196         * chromium/public/WebMessagePortChannelClient.h: Added.
2197         (WebKit):
2198         (WebMessagePortChannelClient):
2199         (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):
2200
2201 2012-05-15  Mark Pilgrim  <pilgrim@chromium.org>
2202
2203         [Chromium] Move blobRegistry to Platform.h
2204         https://bugs.webkit.org/show_bug.cgi?id=85765
2205
2206         Reviewed by Adam Barth.
2207
2208         Part of a refactoring series. See tracking bug 82948.
2209
2210         * Platform.gypi:
2211         * chromium/public/Platform.h:
2212         (WebKit):
2213         (Platform):
2214         (WebKit::Platform::blobRegistry):
2215         * chromium/public/WebBlobData.h: Added.
2216         (WebKit):
2217         (WebBlobData):
2218         (WebKit::WebBlobData::~WebBlobData):
2219         (WebKit::WebBlobData::WebBlobData):
2220         (WebKit::WebBlobData::isNull):
2221         * chromium/public/WebBlobRegistry.h: Added.
2222         (WebKit):
2223         (WebBlobRegistry):
2224         (WebKit::WebBlobRegistry::~WebBlobRegistry):
2225
2226 2012-05-15  James Robinson  <jamesr@chromium.org>
2227
2228         [chromium] Remove WEBKIT_USING_(SKIA|CG) #defines
2229         https://bugs.webkit.org/show_bug.cgi?id=86536
2230
2231         Reviewed by Adam Barth.
2232
2233         The Chromium port always using Skia, so WEBKIT_USING_CG has been dead code for many moons.
2234
2235         * chromium/public/WebCommon.h:
2236
2237 2012-05-15  James Robinson  <jamesr@chromium.org>
2238
2239         [chromium] Move createOffscreenGraphicsContext3D() from WebKitPlatformSupport to Platform
2240         https://bugs.webkit.org/show_bug.cgi?id=86524
2241
2242         Reviewed by Adam Barth.
2243
2244         Moves createOffscreenGraphicsContext3D(), previously on WebKitPlatformSupport, to WebKit::Platform.
2245
2246         * chromium/public/Platform.h:
2247         (Platform):
2248         (WebKit::Platform::createOffscreenGraphicsContext3D):
2249
2250 2012-05-14  Gavin Peters  <gavinp@chromium.org>
2251
2252         Add Prerenderer, PrerenderHandle and a chromium interface for Prerendering.
2253         https://bugs.webkit.org/show_bug.cgi?id=85005
2254
2255         Reviewed by Adam Barth.
2256
2257         * Platform.gypi:
2258         * chromium/public/WebPrerender.h:
2259         (WebKit::WebPrerender::referrer):
2260         (WebCore):
2261         (WebPrerender):
2262         * chromium/public/WebPrerenderingSupport.h:
2263         (WebKit):
2264         (WebPrerenderingSupport):
2265         * chromium/public/WebURLRequest.h:
2266         * chromium/src/WebPrerenderingSupport.cpp: Added.
2267         (WebKit):
2268         (WebKit::WebPrerenderingSupport::initialize):
2269         (WebKit::WebPrerenderingSupport::shutdown):
2270         (WebKit::WebPrerenderingSupport::current):
2271
2272 2012-05-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2273
2274         Unreviewed, rolling out r116812.
2275         http://trac.webkit.org/changeset/116812
2276         https://bugs.webkit.org/show_bug.cgi?id=86313
2277
2278         Appears to be causing a top crash (Requested by abarth on
2279         #webkit).
2280
2281         * Platform.gypi:
2282         * chromium/public/Platform.h:
2283         (WebKit):
2284         * chromium/public/WebStorageArea.h: Removed.
2285         * chromium/public/WebStorageNamespace.h: Removed.
2286
2287 2012-05-11  Shawn Singh  <shawnsingh@chromium.org>
2288
2289         [chromium] Plumb --show-paint-rects to accelerated compositor
2290         https://bugs.webkit.org/show_bug.cgi?id=86255
2291
2292         Reviewed by James Robinson.
2293
2294         * chromium/public/WebLayerTreeView.h:
2295         (WebKit::WebLayerTreeView::Settings::Settings):
2296         (Settings):
2297
2298 2012-05-11  Mark Pilgrim  <pilgrim@chromium.org>
2299
2300         [Chromium] Move createLocalStorageNamespace to Platform.h
2301         https://bugs.webkit.org/show_bug.cgi?id=85766
2302
2303         Reviewed by Adam Barth.
2304
2305         Part of a refactoring series. See tracking bug 82948.
2306
2307         * Platform.gypi:
2308         * chromium/public/Platform.h:
2309         (WebKit):
2310         (Platform):
2311         (WebKit::Platform::createLocalStorageNamespace):
2312         * chromium/public/WebStorageArea.h: Added.
2313         (WebKit):
2314         (WebStorageArea):
2315         (WebKit::WebStorageArea::~WebStorageArea):
2316         (WebKit::WebStorageArea::setItem):
2317         (WebKit::WebStorageArea::removeItem):
2318         (WebKit::WebStorageArea::clear):
2319         * chromium/public/WebStorageNamespace.h: Added.
2320         (WebKit):
2321         (WebStorageNamespace):
2322         (WebKit::WebStorageNamespace::~WebStorageNamespace):
2323         (WebKit::WebStorageNamespace::isSameNamespace):
2324
2325 2012-05-11  Shawn Singh  <shawnsingh@chromium.org>
2326
2327         [chromium] Create WebTransformationMatrix interface for chromium platform
2328         https://bugs.webkit.org/show_bug.cgi?id=86049
2329
2330         Reviewed by James Robinson.
2331
2332         * Platform.gyp/Platform.gyp:
2333         * Platform.gypi:
2334         * chromium/public/WebTransformationMatrix.h: Added.
2335         (WebCore):
2336         (WebKit):
2337         (WebTransformationMatrix):
2338
2339 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
2340
2341         [Chromium] Remove WEBKIT_USING_SKIA ifdefs that are always true
2342         https://bugs.webkit.org/show_bug.cgi?id=86121
2343
2344         Reviewed by Adam Barth.
2345
2346         Chromium always uses Skia now, so this just removes the barriers
2347         around code that was previously #if'd.
2348
2349         * chromium/public/WebCanvas.h:
2350         (WebKit):
2351         * chromium/public/WebGraphicsContext3D.h:
2352         (WebGraphicsContext3D):
2353         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
2354         * chromium/public/WebImage.h:
2355         (WebImage):
2356
2357 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
2358
2359         [Chromium] Remove dead code behind unused WEBKIT_USING_CG
2360         https://bugs.webkit.org/show_bug.cgi?id=86018
2361
2362         Reviewed by Adam Barth.
2363
2364         We never use CoreGraphics as the backend for GraphicsContext in
2365         Chromium, so this is all dead code.
2366
2367         * chromium/public/WebCanvas.h:
2368         (WebKit):
2369         * chromium/public/WebImage.h:
2370         (WebImage):
2371
2372 2012-05-09  Mark Pilgrim  <pilgrim@chromium.org>
2373
2374         [Chromium] Move clipboard to Platform.h
2375         https://bugs.webkit.org/show_bug.cgi?id=85758
2376
2377         Reviewed by Adam Barth.
2378
2379         Part of a refactoring series. See tracking bug 82948.
2380
2381         * Platform.gypi:
2382         * chromium/public/Platform.h:
2383         (WebKit):
2384         (Platform):
2385         (WebKit::Platform::clipboard):
2386         * chromium/public/WebClipboard.h: Added.
2387         (WebKit):
2388         (WebClipboard):
2389         (WebKit::WebClipboard::sequenceNumber):
2390         (WebKit::WebClipboard::isFormatAvailable):
2391         (WebKit::WebClipboard::readAvailableTypes):
2392         (WebKit::WebClipboard::readPlainText):
2393         (WebKit::WebClipboard::readHTML):
2394         (WebKit::WebClipboard::readImage):
2395         (WebKit::WebClipboard::readCustomData):
2396         (WebKit::WebClipboard::writePlainText):
2397         (WebKit::WebClipboard::writeHTML):
2398         (WebKit::WebClipboard::writeURL):
2399         (WebKit::WebClipboard::writeImage):
2400         (WebKit::WebClipboard::writeDataObject):
2401         (WebKit::WebClipboard::~WebClipboard):
2402         * chromium/public/WebDragData.h: Added.
2403         (WebKit):
2404         (WebDragData):
2405         (WebKit::WebDragData::~WebDragData):
2406         (WebKit::WebDragData::WebDragData):
2407         (WebKit::WebDragData::operator=):
2408         (WebKit::WebDragData::isNull):
2409         * chromium/public/WebImage.h: Added.
2410         (WebKit):
2411         (WebImage):
2412         (WebKit::WebImage::~WebImage):
2413         (WebKit::WebImage::WebImage):
2414         (WebKit::WebImage::operator=):
2415         (WebKit::WebImage::getSkBitmap):
2416         (WebKit::WebImage::init):
2417         (WebKit::WebImage::getCGImageRef):
2418
2419 2012-05-09  Tommy Widenflycht  <tommyw@google.com>
2420
2421         MediaStream API: Adding the possibility of port specific information in MediaStreamDescriptor
2422         https://bugs.webkit.org/show_bug.cgi?id=85794
2423
2424         Reviewed by Adam Barth.
2425
2426         To facilitate for ports I have added an ExtraData field that can be used for whatever purpose is needed.
2427
2428         * chromium/public/WebMediaStreamDescriptor.h:
2429         (ExtraData):
2430         (WebKit::WebMediaStreamDescriptor::ExtraData::~ExtraData):
2431         (WebMediaStreamDescriptor):
2432
2433 2012-05-07  Mark Pilgrim  <pilgrim@chromium.org>
2434
2435         [Chromium] Move fileSystem to Platform.h
2436         https://bugs.webkit.org/show_bug.cgi?id=85760
2437
2438         Reviewed by Adam Barth.
2439
2440         Part of a refactoring series. See tracking bug 82948.
2441
2442         * Platform.gypi:
2443         * chromium/public/Platform.h:
2444         (WebKit):
2445         (Platform):
2446         (WebKit::Platform::fileSystem):
2447         * chromium/public/WebFileSystem.h: Added.
2448         (WebKit):
2449         (WebFileSystem):
2450         (WebKit::WebFileSystem::move):
2451         (WebKit::WebFileSystem::copy):
2452         (WebKit::WebFileSystem::remove):
2453         (WebKit::WebFileSystem::removeRecursively):
2454         (WebKit::WebFileSystem::readMetadata):
2455         (WebKit::WebFileSystem::createFile):
2456         (WebKit::WebFileSystem::createDirectory):
2457         (WebKit::WebFileSystem::fileExists):
2458         (WebKit::WebFileSystem::directoryExists):
2459         (WebKit::WebFileSystem::readDirectory):
2460         (WebKit::WebFileSystem::createFileWriter):
2461         (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata):
2462         (WebKit::WebFileSystem::~WebFileSystem):
2463
2464 2012-05-07  Tommy Widenflycht  <tommyw@google.com>
2465
2466         MediaStream API: Rename MediaStreamCenter::didConstructMediaStream
2467         https://bugs.webkit.org/show_bug.cgi?id=85796
2468
2469         Reviewed by Adam Barth.
2470
2471         Renamed WebMediaStreamCenter::didConstructMediaStream to didCreateMediaStream,
2472         and change so that it is only called for MediaStreams created from JS.
2473         Also send out the WebMediaStreamDescriptor non-const instead.
2474
2475         * chromium/public/WebMediaStreamCenter.h:
2476         (WebKit::WebMediaStreamCenter::didCreateMediaStream):
2477         (WebMediaStreamCenter):
2478         (WebKit::WebMediaStreamCenter::didConstructMediaStream):
2479
2480 2012-05-07  Tommy Widenflycht  <tommyw@google.com>
2481
2482         MediaStream API: Allow UserMediaRequest::succeed to take an MediaStreamDescriptor
2483         https://bugs.webkit.org/show_bug.cgi?id=85798
2484
2485         Reviewed by Adam Barth.
2486
2487         Adding another UserMediaRequest::succeed function that takes an MediaStreamDescriptor
2488         instead of the two MediaStreamSource arrays.
2489
2490         * chromium/public/WebMediaStreamCenter.h:
2491         (WebMediaStreamCenter):
2492         (WebKit::WebMediaStreamCenter::constructSDP):
2493
2494 2012-05-04  Tommy Widenflycht  <tommyw@google.com>
2495
2496         MediaStream API: Make PeerConnection00's API fully compliant with the draft
2497         https://bugs.webkit.org/show_bug.cgi?id=85491
2498
2499         Reviewed by Adam Barth.
2500
2501         * chromium/public/WebPeerConnection00HandlerClient.h:
2502
2503 2012-05-02  Dana Jansens  <danakj@chromium.org>
2504
2505         [chromium] Don't occlude pixels in a surface that are needed for a background filter blur
2506         https://bugs.webkit.org/show_bug.cgi?id=84317
2507
2508         Reviewed by Adrienne Walker.
2509
2510         * chromium/public/WebFilterOperation.h:
2511
2512 2012-05-01  Gavin Peters  <gavinp@chromium.org>
2513
2514         [Chromium] Fix WebPrerender::referrer() thunk.
2515         https://bugs.webkit.org/show_bug.cgi?id=85290
2516
2517         Reviewed by Dimitri Glazkov.
2518
2519         * chromium/public/WebPrerender.h:
2520         (WebKit::WebPrerender::referrer):
2521
2522 2012-04-30  Gavin Peters  <gavinp@chromium.org>
2523
2524         [Chromium] Add thunk headers for staging Prerendering API.
2525         https://bugs.webkit.org/show_bug.cgi?id=84880
2526
2527         Reviewed by Adam Barth.
2528
2529         These empty headers will be replaced by the actual API when Bug 85005 is commited.
2530
2531         * Platform.gypi:
2532         * chromium/public/WebPrerender.h: Added.
2533         (WebKit):
2534         (WebPrerender):
2535         (ExtraData):
2536         (WebKit::WebPrerender::ExtraData::~ExtraData):
2537         (WebKit::WebPrerender::url):
2538         (WebKit::WebPrerender::referrer):
2539         (WebKit::WebPrerender::referrerPolicy):
2540         (WebKit::WebPrerender::setExtraData):
2541         (WebKit::WebPrerender::extraData):
2542         (WebKit::WebPrerender::WebPrerender):
2543         (WebKit::WebPrerender::~WebPrerender):
2544         * chromium/public/WebPrerenderingSupport.h: Added.
2545         (WebKit):
2546         (WebPrerenderingSupport):
2547         (WebKit::WebPrerenderingSupport::initialize):
2548         (WebKit::WebPrerenderingSupport::shutdown):
2549         (WebKit::WebPrerenderingSupport::current):
2550         (WebKit::WebPrerenderingSupport::add):
2551         (WebKit::WebPrerenderingSupport::cancel):
2552         (WebKit::WebPrerenderingSupport::abandon):
2553         (WebKit::WebPrerenderingSupport::WebPrerenderingSupport):
2554         (WebKit::WebPrerenderingSupport::~WebPrerenderingSupport):
2555
2556 2012-04-26  James Robinson  <jamesr@chromium.org>
2557
2558         [chromium] Separate IOSurface layer type from texture layers
2559         https://bugs.webkit.org/show_bug.cgi?id=85030
2560
2561         Reviewed by Adrienne Walker.
2562
2563         Adds a new layer type for IOSurface backed layers, instead of sharing that functionality in
2564         WebExternalTextureLayer. IOSurface backed layers do not share any other properties with external texture layers.
2565
2566         * Platform.gypi:
2567         * chromium/public/WebExternalTextureLayer.h:
2568         (WebExternalTextureLayer):
2569         * chromium/public/WebIOSurfaceLayer.h:
2570         (WebCore):
2571         (WebKit):
2572         (WebIOSurfaceLayer):
2573         (WebKit::WebIOSurfaceLayer::WebIOSurfaceLayer):
2574         (WebKit::WebIOSurfaceLayer::~WebIOSurfaceLayer):
2575
2576 2012-04-25  Dana Jansens  <danakj@chromium.org>
2577
2578         [chromium] Remove guarded virtual methods from WebFilterOperation API
2579         https://bugs.webkit.org/show_bug.cgi?id=84926
2580
2581         Reviewed by James Robinson.
2582
2583         We remove the virtual methods from the WebFilterOperation class,
2584         and use an enum in the base class to distinguish which subclass
2585         the object is. Then WebFilterOperations can access the correct
2586         subclass to get the filter operation's data and construct a
2587         WebCore::FilterOperation to store internally.
2588
2589         * chromium/public/WebFilterOperation.h:
2590         (WebKit::WebFilterOperation::WebFilterOperation):
2591         (WebKit::WebBasicColorMatrixFilterOperation::WebBasicColorMatrixFilterOperation):
2592         (WebBasicColorMatrixFilterOperation):
2593         (WebKit::WebBasicComponentTransferFilterOperation::WebBasicComponentTransferFilterOperation):
2594         (WebBasicComponentTransferFilterOperation):
2595         (WebKit::WebBlurFilterOperation::WebBlurFilterOperation):
2596         (WebKit::WebDropShadowFilterOperation::WebDropShadowFilterOperation):
2597
2598 2012-04-25  Gavin Peters  <gavinp@chromium.org>
2599
2600         [Chromium] Fix some conditional compilation logic in Platform
2601         https://bugs.webkit.org/show_bug.cgi?id=83798
2602
2603         Reviewed by Darin Fisher.
2604
2605         * chromium/public/WebURLError.h:
2606         (WebURLError):
2607         * chromium/public/WebURLRequest.h:
2608         (WebURLRequest):
2609         * chromium/public/WebURLResponse.h:
2610         (WebURLResponse):
2611
2612 2012-04-25  Gavin Peters  <gavinp@chromium.org>
2613
2614         Move WebReferrerPolicy.h from WebKit to Platform
2615         https://bugs.webkit.org/show_bug.cgi?id=84539
2616
2617         Reviewed by Adam Barth.
2618
2619         * Platform.gypi:
2620         * chromium/public/WebReferrerPolicy.h: Copied from Source/WebKit/chromium/public/WebReferrerPolicy.h.
2621         (WebKit):
2622
2623 2012-04-24  Yuzhu Shen  <yzshen@chromium.org>
2624
2625         [chromium] Add a description field in WebURLError and show failure description in the inspector network tab.
2626         https://bugs.webkit.org/show_bug.cgi?id=84566
2627
2628         Reviewed by Pavel Feldman.
2629
2630         * chromium/public/WebURLError.h:
2631         (WebURLError):
2632
2633 2012-04-18  James Robinson  <jamesr@chromium.org>
2634
2635         [chromium] Use TextureLayerChromium for WebGL content instead of a dedicated layer type
2636         https://bugs.webkit.org/show_bug.cgi?id=84311
2637
2638         Reviewed by Adrienne Walker.
2639
2640         Remove some unused getters.
2641
2642         * chromium/public/WebExternalTextureLayer.h:
2643         (WebExternalTextureLayer):
2644
2645 2012-04-20  Dana Jansens  <danakj@chromium.org>
2646
2647         [chromium] WebFilterOperations API does not compile or dynamically link
2648         https://bugs.webkit.org/show_bug.cgi?id=84506
2649
2650         Reviewed by James Robinson.
2651
2652         Non-inline functions need WEBKIT_EXPORT in their declarations,
2653         and the type used in the WebPrivateOwnPtr needs to be forward-
2654         declared even when WEBKIT_IMPLEMENTATION is not defined.
2655
2656         * chromium/public/WebFilterOperations.h:
2657         (WebKit::WebFilterOperations::WebFilterOperations):
2658         (WebFilterOperations):
2659
2660 2012-04-20  James Robinson  <jamesr@chromium.org>
2661
2662         [chromium] Plumb a compositor surface ready notification through to the threaded compositor
2663         https://bugs.webkit.org/show_bug.cgi?id=84305
2664
2665         Reviewed by Adrienne Walker.
2666
2667         Add a notification for when the compositor surface associated with a given view is ready to use.
2668
2669         * chromium/public/WebLayerTreeView.h:
2670         (WebLayerTreeView):
2671
2672 2012-04-16  James Robinson  <jamesr@chromium.org>
2673
2674         [chromium] Convert WebPluginContainerImpl over to use WebExternalTextureLayer
2675         https://bugs.webkit.org/show_bug.cgi?id=84120
2676
2677         Reviewed by Adrienne Walker.
2678
2679         This adds support for IO surface backed WebExternalTextureLayer, used by CoreAnimation plugins on OS X and moves
2680         some functionality used by multiple WebLayer subclasses up to the base class.
2681
2682         * chromium/public/WebContentLayer.h:
2683         (WebContentLayer):
2684         * chromium/public/WebExternalTextureLayer.h:
2685         (WebCore):
2686         (WebExternalTextureLayer):
2687         * chromium/public/WebLayer.h:
2688         (WebKit):
2689         (WebLayer):
2690         (WebKit::WebLayer::unwrap):
2691
2692 2012-04-17  Dana Jansens  <danakj@chromium.org>
2693
2694         [chromium] Fix gyp for WebFilterOperation.h and WebFilterOperations.h
2695         https://bugs.webkit.org/show_bug.cgi?id=84182
2696
2697         Reviewed by James Robinson.
2698
2699         * Platform.gypi:
2700
2701 2012-04-16  Kent Tamura  <tkent@chromium.org>
2702
2703         [Chromium] Fix Chromium-Mac build
2704         https://bugs.webkit.org/show_bug.cgi?id=80054
2705
2706         * chromium/public/WebFilterOperations.h:
2707         (WebKit): WebFilterOperation is a struct, not a class.
2708
2709 2012-04-16  Dana Jansens  <danakj@chromium.org>
2710
2711         [chromium] Expose compositor filters to Aura through WebLayer
2712         https://bugs.webkit.org/show_bug.cgi?id=80054
2713
2714         Reviewed by James Robinson.
2715
2716         * chromium/public/WebFilterOperation.h: Added.
2717         (WebKit):
2718         (WebFilterOperation):
2719         (WebKit::WebFilterOperation::WebFilterOperation):
2720         (WebBasicColorMatrixFilterOperation):
2721         (WebKit::WebBasicColorMatrixFilterOperation::WebBasicColorMatrixFilterOperation):
2722         (WebBasicComponentTransferFilterOperation):
2723         (WebKit::WebBasicComponentTransferFilterOperation::WebBasicComponentTransferFilterOperation):
2724         (WebBlurFilterOperation):
2725         (WebKit::WebBlurFilterOperation::WebBlurFilterOperation):
2726         (WebDropShadowFilterOperation):
2727         (WebKit::WebDropShadowFilterOperation::WebDropShadowFilterOperation):
2728         * chromium/public/WebFilterOperations.h: Added.
2729         (WebKit):
2730         (WebFilterOperations):
2731         * chromium/public/WebLayer.h:
2732         (WebKit):
2733         (WebLayer):
2734
2735 2012-04-13  James Robinson  <jamesr@chromium.org>
2736
2737         [chromium] Expose WebVideoLayer to Platform API and port WebMediaPlayerClientImpl to using it
2738         https://bugs.webkit.org/show_bug.cgi?id=83963
2739
2740         Reviewed by Adrienne Walker.
2741
2742         Adds a compositor layer type for video, WebVideoLayer, and a WebVideoProvider interface.
2743
2744         * Platform.gypi:
2745         * chromium/public/WebContentLayer.h:
2746         (WebContentLayer):
2747         * chromium/public/WebLayer.h:
2748         (WebLayer):
2749         (WebKit::WebLayer::unwrap):
2750         * chromium/public/WebVideoFrameProvider.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameProvider.h.
2751         (WebKit):
2752         (WebVideoFrameProvider):
2753         (WebKit::WebVideoFrameProvider::~WebVideoFrameProvider):
2754         (Client):
2755         * chromium/public/WebVideoLayer.h: Copied from Source/WebKit/chromium/src/WebContentLayer.cpp.
2756         (WebCore):
2757         (WebKit):
2758         (WebVideoLayer):
2759         (WebKit::WebVideoLayer::WebVideoLayer):
2760         (WebKit::WebVideoLayer::~WebVideoLayer):
2761
2762 2012-04-11  James Robinson  <jamesr@chromium.org>
2763
2764         [chromium] Remove unused compositeToTexture / compositeOffscreen setting
2765         https://bugs.webkit.org/show_bug.cgi?id=83733
2766
2767         Reviewed by Adrienne Walker.
2768
2769         Remove compositeOffscreen setting. This was an experiment that is no longer needed.
2770
2771         * chromium/public/WebLayerTreeView.h:
2772         (WebKit::WebLayerTreeView::Settings::Settings):
2773         (Settings):
2774
2775 2012-04-13  James Robinson  <jamesr@chromium.org>
2776
2777         [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API
2778         https://bugs.webkit.org/show_bug.cgi?id=83851
2779
2780         Reviewed by Adam Barth.
2781
2782         Move WebVideoFrame API into Platform.
2783
2784         * Platform.gypi:
2785         * chromium/public/WebVideoFrame.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.h.
2786         (WebKit):
2787         (WebVideoFrame):
2788         (WebKit::WebVideoFrame::~WebVideoFrame):
2789         (WebKit::WebVideoFrame::format):
2790         (WebKit::WebVideoFrame::width):
2791         (WebKit::WebVideoFrame::height):
2792         (WebKit::WebVideoFrame::planes):
2793         (WebKit::WebVideoFrame::stride):
2794         (WebKit::WebVideoFrame::data):
2795         (WebKit::WebVideoFrame::textureId):
2796         (WebKit::WebVideoFrame::textureTarget):
2797         * chromium/src/WebVideoFrame.cpp: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.cpp.
2798         (WebKit):
2799
2800 2012-04-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2801
2802         Unreviewed, rolling out r114075.
2803         http://trac.webkit.org/changeset/114075
2804         https://bugs.webkit.org/show_bug.cgi?id=83857
2805
2806         Breaks compile (Requested by jamesr on #webkit).
2807
2808         * Platform.gypi:
2809
2810 2012-04-12  James Robinson  <jamesr@chromium.org>
2811
2812         [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API
2813         https://bugs.webkit.org/show_bug.cgi?id=83851
2814
2815         Reviewed by Adam Barth.
2816
2817         Move WebVideoFrame API into Platform.
2818
2819         * Platform.gypi:
2820         * chromium/public/WebVideoFrame.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.h.
2821         (WebKit):
2822         (WebVideoFrame):
2823         (WebKit::WebVideoFrame::~WebVideoFrame):
2824         (WebKit::WebVideoFrame::format):
2825         (WebKit::WebVideoFrame::width):
2826         (WebKit::WebVideoFrame::height):
2827         (WebKit::WebVideoFrame::planes):
2828         (WebKit::WebVideoFrame::stride):
2829         (WebKit::WebVideoFrame::data):
2830         (WebKit::WebVideoFrame::textureId):
2831         (WebKit::WebVideoFrame::textureTarget):
2832         * chromium/src/WebVideoFrame.cpp: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.cpp.
2833         (WebKit):
2834
2835 2012-04-11  David Dorwin  <ddorwin@chromium.org>
2836
2837         Add keySystem attribute to canPlayType() for Encrypted Media Extensions
2838         https://bugs.webkit.org/show_bug.cgi?id=82973
2839
2840         Reviewed by Adam Barth.
2841
2842         The new attribute is behind the ENABLE(ENCRYPTED_MEDIA) feature define.
2843         Implementation is based on v0.1 of the draft proposal at
2844         http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#extensions.
2845
2846         * chromium/public/WebMimeRegistry.h:
2847         (WebKit::WebMimeRegistry::supportsMediaMIMEType):
2848
2849 2012-04-09  Dana Jansens  <danakj@chromium.org>
2850
2851         [chromium] Viewport is not filled when out of texture memory on mac
2852         https://bugs.webkit.org/show_bug.cgi?id=83351
2853
2854         Reviewed by Adrienne Walker.
2855
2856         * chromium/public/WebLayerTreeView.h:
2857         (WebLayerTreeView):
2858
2859 2012-04-09  James Robinson  <jamesr@chromium.org>
2860
2861         [chromium] CCLayerTreeHost / WebLayerTreeView should be single ownership, not RefCounted
2862         https://bugs.webkit.org/show_bug.cgi?id=83413
2863
2864         Reviewed by Adrienne Walker.
2865
2866         This makes WebLayerTreeView noncopyable to better match the underlying semantics. There is no code currently
2867         that attempts to copy WebLayerTreeView instances.
2868
2869         * chromium/public/WebLayerTreeView.h:
2870         (WebKit):
2871         (WebLayerTreeView):
2872
2873 2012-04-04  Adam Barth  <abarth@webkit.org>
2874
2875         figure out how to export webcore symbols from webkit.dll properly
2876         https://bugs.webkit.org/show_bug.cgi?id=83105
2877
2878         Reviewed by Dimitri Glazkov.
2879
2880         Unwind our ugly, ugly hack to make the Windows component build work.
2881
2882         * chromium/public/WebMediaStreamSourcesRequest.h:
2883         (WebMediaStreamSourcesRequest):
2884
2885 2012-04-03  Adam Barth  <abarth@webkit.org>
2886
2887         Unreviewed. This patch adds an ugly, ugly hack to bandaid over the
2888         Windows component build. See comments in the code for details.
2889
2890         * chromium/public/WebMediaStreamSourcesRequest.h:
2891         (WebMediaStreamSourcesRequest):
2892
2893 2012-04-02  Zhenyao Mo  <zmo@google.com>
2894
2895         Implement WebGLShaderPrecisionFormat
2896         https://bugs.webkit.org/show_bug.cgi?id=75925
2897
2898         Reviewed by Kenneth Russell.
2899
2900         * chromium/public/WebGraphicsContext3D.h: Add getShaderPrecisionFormat().
2901         (WebGraphicsContext3D):
2902
2903 2012-04-03  Adam Barth  <abarth@webkit.org>
2904
2905         Attempt to fix the Windows component build by including these headers
2906         rather than forward declaring these objects.
2907
2908         * chromium/public/WebMediaStreamSourcesRequest.h:
2909         (WebKit):
2910
2911 2012-04-02  Adam Barth  <abarth@webkit.org>
2912
2913         [Chromium] Move a number of virtual functions from WebKitPlatformSupport.h into Platform.h
2914         https://bugs.webkit.org/show_bug.cgi?id=82865
2915
2916         Reviewed by Kent Tamura.
2917
2918         Moving these functions into Platform.h allows them to be called from
2919         Platform (aka WebCore/platform), as discussed in 
2920         https://lists.webkit.org/pipermail/webkit-dev/2012-March/020166.html
2921
2922         * chromium/public/Platform.h:
2923         (WebKit):
2924         (Platform):
2925         (WebKit::Platform::mimeRegistry):
2926         (WebKit::Platform::audioHardwareSampleRate):
2927         (WebKit::Platform::audioHardwareBufferSize):
2928         (WebKit::Platform::createAudioDevice):
2929         (WebKit::Platform::sampleGamepads):
2930         (WebKit::Platform::visitedLinkHash):
2931         (WebKit::Platform::isLinkVisited):
2932         (WebKit::Platform::signedPublicKeyAndChallengeString):
2933         (WebKit::Platform::memoryUsageMB):
2934         (WebKit::Platform::actualMemoryUsageMB):
2935         (WebKit::Platform::lowMemoryUsageMB):
2936         (WebKit::Platform::highMemoryUsageMB):
2937         (WebKit::Platform::highUsageDeltaMB):
2938         (WebKit::Platform::prefetchHostName):
2939         (WebKit::Platform::createSocketStreamHandle):
2940         (WebKit::Platform::userAgent):
2941         (WebKit::Platform::cacheMetadata):
2942         (WebKit::Platform::createThread):
2943         (WebKit::Platform::currentThread):
2944         (WebKit::Platform::decrementStatsCounter):
2945         (WebKit::Platform::incrementStatsCounter):
2946         (WebKit::Platform::loadResource):
2947         (WebKit::Platform::loadAudioResource):
2948         (WebKit::Platform::sandboxEnabled):
2949         (WebKit::Platform::suddenTerminationChanged):
2950         (WebKit::Platform::defaultLocale):
2951         (WebKit::Platform::currentTime):
2952         (WebKit::Platform::monotonicallyIncreasingTime):
2953         (WebKit::Platform::setSharedTimerFiredFunction):
2954         (WebKit::Platform::setSharedTimerFireInterval):
2955         (WebKit::Platform::stopSharedTimer):
2956         (WebKit::Platform::callOnMainThread):
2957         (WebKit::Platform::getTraceCategoryEnabledFlag):
2958         (WebKit::Platform::addTraceEvent):
2959         (WebKit::Platform::histogramCustomCounts):
2960         (WebKit::Platform::histogramEnumeration):
2961
2962 2012-04-02  Adam Barth  <abarth@webkit.org>
2963
2964         [Chromium] Move another block of headers from WebKit/chromium/public/platform to Platform/chromium/public
2965         https://bugs.webkit.org/show_bug.cgi?id=82862
2966
2967         Rubber-stamped by Eric Seidel.
2968
2969         * Platform.gypi:
2970         * chromium/public/WebAudioBus.h: Copied from Source/WebKit/chromium/public/platform/WebAudioBus.h.
2971         * chromium/public/WebAudioDevice.h: Copied from Source/WebKit/chromium/public/platform/WebAudioDevice.h.
2972         * chromium/public/WebGamepad.h: Copied from Source/WebKit/chromium/public/platform/WebGamepad.h.
2973         * chromium/public/WebGamepads.h: Copied from Source/WebKit/chromium/public/platform/WebGamepads.h.
2974         * chromium/public/WebSocketStreamError.h: Copied from Source/WebKit/chromium/public/platform/WebSocketStreamError.h.
2975         * chromium/public/WebSocketStreamHandle.h: Copied from Source/WebKit/chromium/public/platform/WebSocketStreamHandle.h.
2976         * chromium/public/WebSocketStreamHandleClient.h: Copied from Source/WebKit/chromium/public/platform/WebSocketStreamHandleClient.h.
2977
2978 2012-04-01  Adam Barth  <abarth@webkit.org>
2979
2980         [Chromium] Move thread-related APIs from WebKit into Platform
2981         https://bugs.webkit.org/show_bug.cgi?id=82858
2982
2983         Reviewed by Eric Seidel.
2984
2985         * Platform.gypi:
2986         * chromium/public/WebThread.h: Copied from Source/WebKit/chromium/public/platform/WebThread.h.
2987         * chromium/public/WebThreadSafeData.h: Copied from Source/WebKit/chromium/public/platform/WebThreadSafeData.h.
2988
2989 2012-03-29  Adam Barth  <abarth@webkit.org>
2990
2991         [Chromium] Delete WebKit/chromium/bridge
2992         https://bugs.webkit.org/show_bug.cgi?id=82677
2993
2994         Reviewed by James Robinson.
2995
2996         This patch moves all the MediaStream-related platform APIs from
2997         WebKit/chromium/public/platform into Platform/chromium/public. This is
2998         part of a larger project to more clearly separate the platform and
2999         client portions of the Chromium WebKit API.
3000
3001         * Platform.gypi:
3002         * chromium/public/Platform.h:
3003         (WebKit):
3004         (Platform):
3005         (WebKit::Platform::createPeerConnectionHandler):
3006         (WebKit::Platform::createPeerConnection00Handler):
3007         (WebKit::Platform::createMediaStreamCenter):
3008         * chromium/public/WebICECandidateDescriptor.h: Copied from Source/WebKit/chromium/public/platform/WebICECandidateDescriptor.h.
3009         * chromium/public/WebICEOptions.h: Copied from Source/WebKit/chromium/public/platform/WebICEOptions.h.
3010         * chromium/public/WebMediaHints.h: Copied from Source/WebKit/chromium/public/platform/WebMediaHints.h.
3011         * chromium/public/WebMediaStreamCenter.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamCenter.h.
3012         * chromium/public/WebMediaStreamCenterClient.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamCenterClient.h.
3013         * chromium/public/WebMediaStreamComponent.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamComponent.h.
3014         * chromium/public/WebMediaStreamDescriptor.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamDescriptor.h.
3015         * chromium/public/WebMediaStreamSource.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamSource.h.
3016         * chromium/public/WebMediaStreamSourcesRequest.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamSourcesRequest.h.
3017         * chromium/public/WebPeerConnection00Handler.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnection00Handler.h.
3018         * chromium/public/WebPeerConnection00HandlerClient.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnection00HandlerClient.h.
3019         * chromium/public/WebPeerConnectionHandler.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnectionHandler.h.
3020         (WebPeerConnectionHandler):
3021         * chromium/public/WebPeerConnectionHandlerClient.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnectionHandlerClient.h.
3022         * chromium/public/WebSessionDescriptionDescriptor.h: Copied from Source/WebKit/chromium/public/platform/WebSessionDescriptionDescriptor.h.
3023         * chromium/public/WebVector.h: Copied from Source/WebKit/chromium/public/platform/WebVector.h.
3024
3025 2012-03-30  David Barr  <davidbarr@chromium.org>
3026
3027         Split up top-level .gitignore and .gitattributes
3028         https://bugs.webkit.org/show_bug.cgi?id=82687
3029
3030         Reviewed by Tor Arne Vestbø.
3031
3032         * Platform.gyp/.gitignore: Added.
3033
3034 2012-03-29  Adam Barth  <abarth@webkit.org>
3035
3036         [Chromium] Move createURLLoader() into Platform
3037         https://bugs.webkit.org/show_bug.cgi?id=82587
3038
3039         Reviewed by James Robinson.
3040
3041         This patch introduces a base class for WebKitPlatformSupport that we
3042         can use to incrementally more APIs from WebKit/chromium/public/platform
3043         into Platform/chromium/public. Using this technique lets us avoid
3044         making changes in the embedder during the transition.
3045
3046         This patch moves createURLLoader() because it's necessary for
3047         ResourceHandle.  This is the third patch in this sequence:
3048         https://github.com/abarth/webkit/compare/master...webcore-platform
3049
3050         * Platform.gypi:
3051         * chromium/public/Platform.h: Added.
3052         (WebKit):
3053         (Platform):
3054         (WebKit::Platform::createURLLoader):
3055         (WebKit::Platform::~Platform):
3056         * chromium/src/Platform.cpp: Added.
3057         (WebKit):
3058         (WebKit::Platform::initialize):
3059         (WebKit::Platform::shutdown):
3060         (WebKit::Platform::current):
3061
3062 2012-03-28  Adam Barth  <abarth@webkit.org>
3063
3064         [Chromium] Move APIs related to ResourceHandle into Platform
3065         https://bugs.webkit.org/show_bug.cgi?id=82553
3066
3067         Reviewed by James Robinson.
3068
3069         This patch is the first patch in this series:
3070         https://github.com/abarth/webkit/compare/master...webcore-platform
3071
3072         The goal of these patches is to move WebCore::ResourceHandle out of
3073         Chromium's WebKit layer and into WebCore/platform, where it belongs.
3074
3075         This patch moves the Chromium-WebKit APIs used by ResourceHandle out of
3076         the WebKit layer and into the Plaform layer. These are APIs that WebKit
3077         uses to call "down" to manipulate the underlying platform (rather than
3078         "up" to the client to make decisions). The long-term plan is to move
3079         all of the headers in WebKit/chromium/public/platform into
3080         Platform/chromium/public (although we'll likely need to clean up some
3081         layering violations as we go).
3082
3083         * Platform.gypi:
3084         * chromium/public/WebData.h: Added.
3085         (WebKit):
3086         (WebData):
3087         (WebKit::WebData::~WebData):
3088         (WebKit::WebData::WebData):
3089         (WebKit::WebData::operator=):
3090         (WebKit::WebData::isEmpty):
3091         (WebKit::WebData::isNull):
3092         * chromium/public/WebHTTPBody.h: Added.
3093         (WebKit):
3094         (WebHTTPBody):
3095         (WebKit::WebHTTPBody::~WebHTTPBody):
3096         (WebKit::WebHTTPBody::WebHTTPBody):
3097         (WebKit::WebHTTPBody::operator=):
3098         (WebKit::WebHTTPBody::isNull):
3099         * chromium/public/WebHTTPHeaderVisitor.h: Added.
3100         (WebKit):
3101         (WebHTTPHeaderVisitor):
3102         (WebKit::WebHTTPHeaderVisitor::~WebHTTPHeaderVisitor):
3103         * chromium/public/WebHTTPLoadInfo.h: Added.
3104         (WebCore):
3105         (WebKit):
3106         (WebHTTPLoadInfo):
3107         (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo):
3108         (WebKit::WebHTTPLoadInfo::~WebHTTPLoadInfo):
3109         (WebKit::WebHTTPLoadInfo::operator =):
3110         * chromium/public/WebPrivateOwnPtr.h: Added.
3111         (WebKit):
3112         (WebPrivateOwnPtr):
3113         (WebKit::WebPrivateOwnPtr::WebPrivateOwnPtr):
3114         (WebKit::WebPrivateOwnPtr::~WebPrivateOwnPtr):
3115         (WebKit::WebPrivateOwnPtr::reset):
3116         (WebKit::WebPrivateOwnPtr::get):
3117         (WebKit::WebPrivateOwnPtr::operator->):
3118         * chromium/public/WebURL.h: Added.
3119         (WebKit):
3120         (WebURL):
3121         (WebKit::WebURL::~WebURL):
3122         (WebKit::WebURL::WebURL):
3123         (WebKit::WebURL::operator=):
3124         (WebKit::WebURL::assign):
3125         (WebKit::WebURL::spec):
3126         (WebKit::WebURL::parsed):
3127         (WebKit::WebURL::isValid):
3128         (WebKit::WebURL::isEmpty):
3129         (WebKit::WebURL::isNull):
3130         (WebKit::WebURL::operator GURL):
3131         (WebKit::operator<):
3132         (WebKit::operator==):
3133         (WebKit::operator!=):
3134         * chromium/public/WebURLError.h: Added.
3135         (WebKit):
3136         (WebURLError):
3137         (WebKit::WebURLError::WebURLError):
3138         * chromium/public/WebURLLoadTiming.h: Added.
3139         (WebKit):
3140         (WebURLLoadTiming):
3141         (WebKit::WebURLLoadTiming::~WebURLLoadTiming):
3142         (WebKit::WebURLLoadTiming::WebURLLoadTiming):
3143         (WebKit::WebURLLoadTiming::operator=):
3144         (WebKit::WebURLLoadTiming::isNull):
3145         * chromium/public/WebURLLoader.h: Added.
3146         (WebKit):
3147         (WebURLLoader):
3148         (WebKit::WebURLLoader::~WebURLLoader):
3149         * chromium/public/WebURLLoaderClient.h: Added.
3150         (WebKit):
3151         (WebURLLoaderClient):
3152         (WebKit::WebURLLoaderClient::willSendRequest):
3153         (WebKit::WebURLLoaderClient::didSendData):
3154         (WebKit::WebURLLoaderClient::didReceiveResponse):
3155         (WebKit::WebURLLoaderClient::didDownloadData):
3156         (WebKit::WebURLLoaderClient::didReceiveData):
3157         (WebKit::WebURLLoaderClient::didReceiveCachedMetadata):
3158         (WebKit::WebURLLoaderClient::didFinishLoading):
3159         (WebKit::WebURLLoaderClient::didFail):
3160         (WebKit::WebURLLoaderClient::~WebURLLoaderClient):
3161         * chromium/public/WebURLRequest.h: Added.
3162         (WebKit):
3163         (WebURLRequest):
3164         (ExtraData):
3165         (WebKit::WebURLRequest::ExtraData::~ExtraData):
3166         (WebKit::WebURLRequest::~WebURLRequest):
3167         (WebKit::WebURLRequest::WebURLRequest):
3168         (WebKit::WebURLRequest::operator=):
3169         * chromium/public/WebURLResponse.h: Added.
3170         (WebKit):
3171         (WebURLResponse):
3172         (ExtraData):
3173         (WebKit::WebURLResponse::ExtraData::~ExtraData):
3174         (WebKit::WebURLResponse::~WebURLResponse):
3175         (WebKit::WebURLResponse::WebURLResponse):
3176         (WebKit::WebURLResponse::operator=):
3177
3178 2012-03-27  Nat Duca  <nduca@chromium.org>
3179
3180         [chromium] Route monotonic clock up from compositor
3181         https://bugs.webkit.org/show_bug.cgi?id=82154
3182
3183         Reviewed by James Robinson.
3184
3185         * chromium/public/WebLayerTreeViewClient.h:
3186         (WebLayerTreeViewClient):
3187
3188 2012-03-26  Nat Duca  <nduca@chromium.org>
3189
3190         [chromium] Add isInputThrottled/didBecomeReadyForAdditionalInput to WebWidget
3191         https://bugs.webkit.org/show_bug.cgi?id=82265
3192
3193         Reviewed by James Robinson.
3194
3195         * chromium/public/WebLayerTreeView.h:
3196         (WebLayerTreeView):
3197         * chromium/public/WebLayerTreeViewClient.h:
3198         (WebLayerTreeViewClient):
3199         (WebKit::WebLayerTreeViewClient::didCommit):
3200
3201 2012-03-25  Nat Duca  <nduca@chromium.org>
3202
3203         [chromium] Route willBeginFrame from compositor to WebWidget
3204         https://bugs.webkit.org/show_bug.cgi?id=82171
3205
3206         Reviewed by Darin Fisher.
3207
3208         * chromium/public/WebLayerTreeViewClient.h:
3209         (WebLayerTreeViewClient):
3210         (WebKit::WebLayerTreeViewClient::willBeginFrame):
3211
3212 2012-03-23  Tony Chang  <tony@chromium.org>
3213
3214         [chromium] rename newwtf target back to wtf
3215         https://bugs.webkit.org/show_bug.cgi?id=82064
3216
3217         Reviewed by Adam Barth.
3218
3219         * Platform.gyp/Platform.gyp:
3220
3221 2012-03-22  Tony Chang  <tony@chromium.org>
3222
3223         Unreviewed, fix chromium build after wtf move.
3224
3225         Only use newwtf, remove references to wtf.
3226
3227         * Platform.gyp/Platform.gyp:
3228
3229 2012-03-21  Ryosuke Niwa  <rniwa@webkit.org>
3230
3231         Touch a file to make Chromium Windows bots happy.
3232
3233         * chromium/public/WebGraphicsContext3D.h:
3234
3235 2012-03-21  David Reveman  <reveman@chromium.org>
3236
3237         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
3238         https://bugs.webkit.org/show_bug.cgi?id=80988
3239
3240         Reviewed by Adrienne Walker.
3241
3242         Add EXT_occlusion_query API to WebGraphicsContext3D.
3243
3244         * chromium/public/WebGraphicsContext3D.h:
3245         (WebGraphicsContext3D):
3246         (WebKit::WebGraphicsContext3D::createQueryEXT):
3247         (WebKit::WebGraphicsContext3D::deleteQueryEXT):
3248         (WebKit::WebGraphicsContext3D::isQueryEXT):
3249         (WebKit::WebGraphicsContext3D::beginQueryEXT):
3250         (WebKit::WebGraphicsContext3D::endQueryEXT):
3251         (WebKit::WebGraphicsContext3D::getQueryivEXT):
3252         (WebKit::WebGraphicsContext3D::getQueryObjectuivEXT):
3253
3254 2012-03-19  Michal Mocny  <mmocny@google.com>
3255
3256         [chromium] Adding support for GL_EXT_discard_framebuffer.
3257         https://bugs.webkit.org/show_bug.cgi?id=81383
3258
3259         Reviewed by James Robinson.
3260
3261         * chromium/public/WebGraphicsContext3D.h:
3262         (WebGraphicsContext3D):
3263         (WebKit::WebGraphicsContext3D::discardFramebufferEXT):
3264         (WebKit::WebGraphicsContext3D::ensureFramebufferCHROMIUM):
3265
3266 2012-03-19  Sheriff Bot  <webkit.review.bot@gmail.com>
3267
3268         Unreviewed, rolling out r111207.
3269         http://trac.webkit.org/changeset/111207
3270         https://bugs.webkit.org/show_bug.cgi?id=81561
3271
3272         Causing chromium unit test failure (Requested by reveman on
3273         #webkit).
3274
3275         * chromium/public/WebGraphicsContext3D.h:
3276
3277 2012-03-19  Michal Mocny  <mmocny@google.com>
3278
3279         [chromium] Updating WebGraphicsContext3D MemoryAllocation callback to accept a struct with have backbuffer suggestion.
3280         https://bugs.webkit.org/show_bug.cgi?id=81279
3281
3282         Reviewed by James Robinson.
3283
3284         Adding a suggestHaveBackbuffer hint to the WebGraphicsContext3D memory allocation callback.
3285
3286         * chromium/public/WebGraphicsContext3D.h:
3287         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
3288         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::onMemoryAllocationChanged):
3289         * chromium/public/WebGraphicsMemoryAllocation.h: Added.
3290         (WebKit):
3291         (WebGraphicsMemoryAllocation):
3292         (WebKit::WebGraphicsMemoryAllocation::WebGraphicsMemoryAllocation):
3293
3294 2012-03-19  David Reveman  <reveman@chromium.org>
3295
3296         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
3297         https://bugs.webkit.org/show_bug.cgi?id=80988
3298
3299         Reviewed by Adrienne Walker.
3300
3301         Add EXT_occlusion_query API to WebGraphicsContext3D.
3302
3303         * chromium/public/WebGraphicsContext3D.h:
3304         (WebGraphicsContext3D):
3305
3306 2012-03-08  James Robinson  <jamesr@chromium.org>
3307
3308         Use an explicit attribute to signal that a context prefers to use a discrete GPU
3309         https://bugs.webkit.org/show_bug.cgi?id=80639
3310
3311         Reviewed by Stephen White.
3312
3313         Adds preferDiscreteGPU attribute to WebGraphicsContext3D::Attributes. Also remove the forUseOnAnotherThread
3314         attribute, this has been dead code for a while now.
3315
3316         * chromium/public/WebGraphicsContext3D.h:
3317         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
3318         (Attributes):
3319
3320 2012-02-24  James Robinson  <jamesr@chromium.org>
3321
3322         [chromium] WebKit::setColorNames is a client API
3323         https://bugs.webkit.org/show_bug.cgi?id=79539
3324
3325         Reviewed by Darin Fisher.
3326
3327         * Platform.gypi:
3328         * chromium/public/WebColor.h:
3329         (WebKit):
3330
3331 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
3332
3333         Unreviewed, rolling out r108860.
3334         http://trac.webkit.org/changeset/108860
3335         https://bugs.webkit.org/show_bug.cgi?id=79544
3336
3337         "Breaks Linux compile" (Requested by enne on #webkit).
3338
3339         * Platform.gypi:
3340         * chromium/public/WebColor.h:
3341         (WebKit):
3342         * chromium/public/WebColorName.h: Renamed from Source/WebKit/chromium/public/WebColorName.h.
3343         (WebKit):
3344
3345 2012-02-24  James Robinson  <jamesr@chromium.org>
3346
3347         [chromium] WebKit::setColorNames is a client API
3348         https://bugs.webkit.org/show_bug.cgi?id=79539
3349
3350         Reviewed by Darin Fisher.
3351
3352         * Platform.gypi:
3353         * chromium/public/WebColor.h:
3354         (WebKit):
3355
3356 2012-02-22  James Robinson  <jamesr@chromium.org>
3357
3358         [chromium] Move WebGraphicsContext3D header into the Platform directory
3359         https://bugs.webkit.org/show_bug.cgi?id=79301
3360
3361         Reviewed by Adam Barth.
3362
3363         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
3364
3365         * Platform.gypi:
3366         * chromium/public/WebGraphicsContext3D.h: Copied from Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h.
3367         (WebKit):
3368         (WebGraphicsContext3D):
3369         (ActiveInfo):
3370         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
3371         (Attributes):
3372         (WebGraphicsContextLostCallback):
3373         (WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback::~WebGraphicsContextLostCallback):
3374         (WebGraphicsErrorMessageCallback):
3375         (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
3376         (WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
3377         (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
3378         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
3379         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
3380         (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
3381         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
3382         (WebKit::WebGraphicsContext3D::setParentContext):
3383         (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
3384         (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
3385         (WebKit::WebGraphicsContext3D::setContextLostCallback):
3386         (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
3387         (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
3388         (WebKit::WebGraphicsContext3D::getTranslatedShaderSourceANGLE):
3389         (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
3390         (WebKit::WebGraphicsContext3D::texStorage2DEXT):
3391         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
3392         * chromium/public/WebNonCopyable.h: Copied from Source/WebKit/chromium/public/platform/WebNonCopyable.h.
3393         (WebKit):
3394         (WebNonCopyable):
3395         (WebKit::WebNonCopyable::WebNonCopyable):
3396         (WebKit::WebNonCopyable::~WebNonCopyable):
3397
3398 2012-02-23  James Robinson  <jamesr@chromium.org>
3399
3400         [chromium] Move Web*Layer* headers into Platform
3401         https://bugs.webkit.org/show_bug.cgi?id=79425
3402
3403         Reviewed by Adam Barth.
3404
3405         This moves the Web*Layer* headers and their dependencies from WebKit/chromium/public/platform/ into
3406         Platform/chromium/public.
3407
3408         * Platform.gypi:
3409         * chromium/public/WebCanvas.h: Copied from Source/WebKit/chromium/public/platform/WebCanvas.h.
3410         (WebKit):
3411         * chromium/public/WebColor.h: Copied from Source/WebKit/chromium/public/platform/WebColor.h.
3412         (WebKit):
3413         * chromium/public/WebColorName.h: Copied from Source/WebKit/chromium/public/platform/WebColorName.h.
3414         (WebKit):
3415         * chromium/public/WebContentLayer.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayer.h.
3416         (WebKit):
3417         (WebContentLayer):
3418         (WebKit::WebContentLayer::WebContentLayer):
3419         (WebKit::WebContentLayer::~WebContentLayer):
3420         (WebKit::WebContentLayer::operator=):
3421         * chromium/public/WebContentLayerClient.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayerClient.h.
3422         (WebKit):
3423         (WebContentLayerClient):
3424         (WebKit::WebContentLayerClient::~WebContentLayerClient):
3425         * chromium/public/WebExternalTextureLayer.h: Copied from Source/WebKit/chromium/public/platform/WebExternalTextureLayer.h.
3426         (WebKit):
3427         (WebExternalTextureLayer):
3428         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
3429         (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
3430         (WebKit::WebExternalTextureLayer::operator=):
3431         * chromium/public/WebLayer.h: Copied from Source/WebKit/chromium/public/platform/WebLayer.h.
3432         (WebKit):
3433         (WebLayer):
3434         (WebKit::WebLayer::WebLayer):
3435         (WebKit::WebLayer::~WebLayer):
3436         (WebKit::WebLayer::operator=):
3437         (WebKit::WebLayer::isNull):
3438         (WebKit::WebLayer::to):
3439         (WebKit::WebLayer::toConst):
3440         (WebKit::WebLayer::unwrap):
3441         (WebKit::WebLayer::constUnwrap):
3442         (WebKit::operator==):
3443         (WebKit::operator!=):
3444         * chromium/public/WebLayerTreeView.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeView.h.
3445         (WebCore):
3446         (WebKit):
3447         (WebLayerTreeView):
3448         (WebKit::WebLayerTreeView::Settings::Settings):
3449         (Settings):
3450         (WebKit::WebLayerTreeView::WebLayerTreeView):
3451         (WebKit::WebLayerTreeView::~WebLayerTreeView):
3452         (WebKit::WebLayerTreeView::operator=):
3453         (WebKit::operator==):
3454         (WebKit::operator!=):
3455         * chromium/public/WebLayerTreeViewClient.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeViewClient.h.
3456         (WebKit):
3457         (WebLayerTreeViewClient):
3458         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
3459         * chromium/public/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/platform/WebPrivatePtr.h.
3460         (WebKit):
3461         (WebPrivatePtr):
3462         (WebKit::WebPrivatePtr::WebPrivatePtr):
3463         (WebKit::WebPrivatePtr::~WebPrivatePtr):
3464         (WebKit::WebPrivatePtr::isNull):
3465         (WebKit::WebPrivatePtr::reset):
3466         (WebKit::WebPrivatePtr::operator=):
3467         (WebKit::WebPrivatePtr::get):
3468         (WebKit::WebPrivatePtr::operator->):
3469         (WebKit::WebPrivatePtr::assign):
3470         * chromium/public/WebSolidColorLayer.h: Copied from Source/WebKit/chromium/public/platform/WebSolidColorLayer.h.
3471         (WebKit):
3472         (WebSolidColorLayer):
3473
3474 2012-02-08  James Robinson  <jamesr@chromium.org>
3475
3476         r107042 caused compile breakages on chromium try bots
3477         https://bugs.webkit.org/show_bug.cgi?id=78125
3478
3479         Reviewed by Adam Barth.
3480
3481         Replace the copy script with a copies GYP action since the MSVS generator tracks dependencies on a per-file
3482         basis.
3483
3484         * Platform.gyp/Platform.gyp:
3485         * Platform.gyp/copy_webcore_headers.py: Removed.
3486
3487 2012-02-07  James Robinson  <jamesr@chromium.org>
3488
3489         [chromium] Move geometry headers in Platform API to Platform directory
3490         https://bugs.webkit.org/show_bug.cgi?id=78067
3491
3492         Reviewed by Adam Barth.
3493
3494         This moves several geometry-related headers in the chromium WebKit platform API to Platform/chromium/public.
3495         These require a bit of extra work since when WEBKIT_IMPLEMENTATION is set they #include headers from
3496         WebCore/platform such as IntPoint so that the implementations of several functions can be inlined. Since we do
3497         not want to add anything in WebCore to the include path of projects that depend on the Platform API this poses a
3498         bit of an issue. I've added an extra build step to copy the specific headers used into the
3499         SHARED_INTERMEDIATE_DIR to preserve this inlining.
3500         
3501         Eventually we'll move the cross-platform code, including these headers, into somewhere under Platform/, but doing
3502         that requires non-trivial modifications to every build system in WebKit.
3503
3504         * Platform.gyp/Platform.gyp:
3505         * Platform.gyp/copy_webcore_headers.py: Added.
3506         (CopyHeaders):
3507         (Main):
3508         * chromium/public/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/platform/WebFloatPoint.h.
3509         (WebKit):
3510         (WebFloatPoint):
3511         (WebKit::WebFloatPoint::WebFloatPoint):
3512         (WebKit::WebFloatPoint::operator=):
3513         (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
3514         (WebKit::operator==):
3515         (WebKit::operator!=):
3516         * chromium/public/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/platform/WebFloatQuad.h.
3517         (WebKit):
3518         (WebFloatQuad):
3519         (WebKit::WebFloatQuad::WebFloatQuad):
3520         (WebKit::WebFloatQuad::operator=):
3521         * chromium/public/WebFloatRect.h: Copied from Source/WebKit/chromium/public/platform/WebFloatRect.h.
3522         (WebKit):
3523         (WebFloatRect):
3524         (WebKit::WebFloatRect::isEmpty):
3525         (WebKit::WebFloatRect::WebFloatRect):
3526         (WebKit::WebFloatRect::operator=):
3527         (WebKit::WebFloatRect::operator WebCore::FloatRect):
3528         (WebKit::operator==):
3529         (WebKit::operator!=):
3530         * chromium/public/WebPoint.h: Copied from Source/WebKit/chromium/public/platform/WebPoint.h.
3531         (WebKit):
3532         (WebPoint):
3533         (WebKit::WebPoint::WebPoint):
3534         (WebKit::WebPoint::operator=):
3535         (WebKit::WebPoint::operator WebCore::IntPoint):
3536         (WebKit::WebPoint::operator gfx::Point):
3537         (WebKit::operator==):
3538         (WebKit::operator!=):
3539         * chromium/public/WebRect.h: Copied from Source/WebKit/chromium/public/platform/WebRect.h.
3540         (WebKit):
3541         (WebRect):
3542         (WebKit::WebRect::isEmpty):
3543         (WebKit::WebRect::WebRect):
3544         (WebKit::WebRect::operator=):
3545         (WebKit::WebRect::operator WebCore::IntRect):
3546         (WebKit::WebRect::operator gfx::Rect):
3547         (WebKit::operator==):
3548         (WebKit::operator!=):
3549         * chromium/public/WebSize.h: Copied from Source/WebKit/chromium/public/platform/WebSize.h.
3550         (WebKit):
3551         (WebSize):
3552         (WebKit::WebSize::isEmpty):
3553         (WebKit::WebSize::WebSize):
3554         (WebKit::WebSize::operator=):
3555         (WebKit::WebSize::operator WebCore::IntSize):
3556         (WebKit::WebSize::operator gfx::Size):
3557         (WebKit::operator==):
3558         (WebKit::operator!=):
3559
3560 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
3561
3562         Enable use of precompiled headers in Chromium port on Windows.
3563
3564         Bug 76381 - Use precompiled headers in Chromium port on Windows
3565         https://bugs.webkit.org/show_bug.cgi?id=76381
3566
3567         Reviewed by Tony Chang.
3568
3569         * Platform.gyp/Platform.gyp: Include WinPrecompile.gypi.
3570
3571 2012-01-04  James Robinson  <jamesr@chromium.org>
3572
3573         [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl
3574
3575         * Platform.gyp/Platform.gyp:
3576
3577 2012-01-04  James Robinson  <jamesr@chromium.org>
3578
3579         [chromium] Move WebMimeRegistry and dependencies to Source/Platform
3580         https://bugs.webkit.org/show_bug.cgi?id=74583
3581
3582         Reviewed by Darin Fisher.
3583
3584         This creates a skeleton directory structure for the chromium WebKit platform API and moves WebMimeRegistry.h
3585         along with its dependencies (WebString and WebCString) to their final location.
3586
3587         * Platform.gyp/Platform.gyp: Added.
3588         * Platform.gypi: Added.
3589         * chromium/platform/WebCString.h: Copied from Source/WebKit/chromium/public/platform/WebCString.h.
3590         (WebKit::WebCString::~WebCString):
3591         (WebKit::WebCString::WebCString):
3592         (WebKit::WebCString::operator=):
3593         (WebKit::WebCString::isEmpty):
3594         (WebKit::WebCString::isNull):
3595         (WebKit::WebCString::operator std::string):
3596         (WebKit::WebCString::fromUTF16):
3597         (WebKit::operator<):
3598         * chromium/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/platform/WebCommon.h.
3599         * chromium/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/platform/WebMimeRegistry.h.
3600         (WebKit::WebMimeRegistry::~WebMimeRegistry):
3601         * chromium/platform/WebString.h: Copied from Source/WebKit/chromium/public/platform/WebString.h.
3602         (WebKit::WebString::~WebString):
3603         (WebKit::WebString::WebString):
3604         (WebKit::WebString::operator=):
3605         (WebKit::WebString::isEmpty):
3606         (WebKit::WebString::isNull):
3607         (WebKit::WebString::operator string16):
3608         (WebKit::WebString::operator NullableString16):
3609         (WebKit::WebString::fromUTF8):
3610         (WebKit::operator==):
3611         (WebKit::operator!=):
3612         * chromium/src/WebCString.cpp: Renamed from Source/WebKit/chromium/src/WebCString.cpp.
3613         (WebKit::WebCString::compare):
3614         (WebKit::WebCString::reset):
3615         (WebKit::WebCString::assign):
3616         (WebKit::WebCString::length):
3617         (WebKit::WebCString::data):
3618         (WebKit::WebCString::utf16):
3619         (WebKit::WebCString::fromUTF16):
3620         (WebKit::WebCString::WebCString):
3621         (WebKit::WebCString::operator=):
3622         (WebKit::WebCString::operator WTF::CString):
3623         * chromium/src/WebString.cpp: Renamed from Source/WebKit/chromium/src/WebString.cpp.
3624         (WebKit::WebString::reset):
3625         (WebKit::WebString::assign):
3626         (WebKit::WebString::length):
3627         (WebKit::WebString::data):
3628         (WebKit::WebString::utf8):
3629         (WebKit::WebString::fromUTF8):
3630         (WebKit::WebString::equals):
3631         (WebKit::WebString::WebString):
3632         (WebKit::WebString::operator=):
3633         (WebKit::WebString::operator WTF::String):
3634         (WebKit::WebString::operator WTF::AtomicString):
3635
3636 2011-11-02  Adam Barth  <abarth@webkit.org>
3637
3638         Add stubs for WTF and Platform
3639         https://bugs.webkit.org/show_bug.cgi?id=71492
3640
3641         Reviewed by Eric Seidel.
3642
3643         This patch creates the Platform directory, which begins the process of
3644         moving Platform out of WebCore.