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