[chromium] Use TextureLayerChromium for WebGL content instead of a dedicated layer...
[WebKit.git] / Source / Platform / ChangeLog
1 2012-04-18  James Robinson  <jamesr@chromium.org>
2
3         [chromium] Use TextureLayerChromium for WebGL content instead of a dedicated layer type
4         https://bugs.webkit.org/show_bug.cgi?id=84311
5
6         Reviewed by Adrienne Walker.
7
8         Remove some unused getters.
9
10         * chromium/public/WebExternalTextureLayer.h:
11         (WebExternalTextureLayer):
12
13 2012-04-20  Dana Jansens  <danakj@chromium.org>
14
15         [chromium] WebFilterOperations API does not compile or dynamically link
16         https://bugs.webkit.org/show_bug.cgi?id=84506
17
18         Reviewed by James Robinson.
19
20         Non-inline functions need WEBKIT_EXPORT in their declarations,
21         and the type used in the WebPrivateOwnPtr needs to be forward-
22         declared even when WEBKIT_IMPLEMENTATION is not defined.
23
24         * chromium/public/WebFilterOperations.h:
25         (WebKit::WebFilterOperations::WebFilterOperations):
26         (WebFilterOperations):
27
28 2012-04-20  James Robinson  <jamesr@chromium.org>
29
30         [chromium] Plumb a compositor surface ready notification through to the threaded compositor
31         https://bugs.webkit.org/show_bug.cgi?id=84305
32
33         Reviewed by Adrienne Walker.
34
35         Add a notification for when the compositor surface associated with a given view is ready to use.
36
37         * chromium/public/WebLayerTreeView.h:
38         (WebLayerTreeView):
39
40 2012-04-16  James Robinson  <jamesr@chromium.org>
41
42         [chromium] Convert WebPluginContainerImpl over to use WebExternalTextureLayer
43         https://bugs.webkit.org/show_bug.cgi?id=84120
44
45         Reviewed by Adrienne Walker.
46
47         This adds support for IO surface backed WebExternalTextureLayer, used by CoreAnimation plugins on OS X and moves
48         some functionality used by multiple WebLayer subclasses up to the base class.
49
50         * chromium/public/WebContentLayer.h:
51         (WebContentLayer):
52         * chromium/public/WebExternalTextureLayer.h:
53         (WebCore):
54         (WebExternalTextureLayer):
55         * chromium/public/WebLayer.h:
56         (WebKit):
57         (WebLayer):
58         (WebKit::WebLayer::unwrap):
59
60 2012-04-17  Dana Jansens  <danakj@chromium.org>
61
62         [chromium] Fix gyp for WebFilterOperation.h and WebFilterOperations.h
63         https://bugs.webkit.org/show_bug.cgi?id=84182
64
65         Reviewed by James Robinson.
66
67         * Platform.gypi:
68
69 2012-04-16  Kent Tamura  <tkent@chromium.org>
70
71         [Chromium] Fix Chromium-Mac build
72         https://bugs.webkit.org/show_bug.cgi?id=80054
73
74         * chromium/public/WebFilterOperations.h:
75         (WebKit): WebFilterOperation is a struct, not a class.
76
77 2012-04-16  Dana Jansens  <danakj@chromium.org>
78
79         [chromium] Expose compositor filters to Aura through WebLayer
80         https://bugs.webkit.org/show_bug.cgi?id=80054
81
82         Reviewed by James Robinson.
83
84         * chromium/public/WebFilterOperation.h: Added.
85         (WebKit):
86         (WebFilterOperation):
87         (WebKit::WebFilterOperation::WebFilterOperation):
88         (WebBasicColorMatrixFilterOperation):
89         (WebKit::WebBasicColorMatrixFilterOperation::WebBasicColorMatrixFilterOperation):
90         (WebBasicComponentTransferFilterOperation):
91         (WebKit::WebBasicComponentTransferFilterOperation::WebBasicComponentTransferFilterOperation):
92         (WebBlurFilterOperation):
93         (WebKit::WebBlurFilterOperation::WebBlurFilterOperation):
94         (WebDropShadowFilterOperation):
95         (WebKit::WebDropShadowFilterOperation::WebDropShadowFilterOperation):
96         * chromium/public/WebFilterOperations.h: Added.
97         (WebKit):
98         (WebFilterOperations):
99         * chromium/public/WebLayer.h:
100         (WebKit):
101         (WebLayer):
102
103 2012-04-13  James Robinson  <jamesr@chromium.org>
104
105         [chromium] Expose WebVideoLayer to Platform API and port WebMediaPlayerClientImpl to using it
106         https://bugs.webkit.org/show_bug.cgi?id=83963
107
108         Reviewed by Adrienne Walker.
109
110         Adds a compositor layer type for video, WebVideoLayer, and a WebVideoProvider interface.
111
112         * Platform.gypi:
113         * chromium/public/WebContentLayer.h:
114         (WebContentLayer):
115         * chromium/public/WebLayer.h:
116         (WebLayer):
117         (WebKit::WebLayer::unwrap):
118         * chromium/public/WebVideoFrameProvider.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameProvider.h.
119         (WebKit):
120         (WebVideoFrameProvider):
121         (WebKit::WebVideoFrameProvider::~WebVideoFrameProvider):
122         (Client):
123         * chromium/public/WebVideoLayer.h: Copied from Source/WebKit/chromium/src/WebContentLayer.cpp.
124         (WebCore):
125         (WebKit):
126         (WebVideoLayer):
127         (WebKit::WebVideoLayer::WebVideoLayer):
128         (WebKit::WebVideoLayer::~WebVideoLayer):
129
130 2012-04-11  James Robinson  <jamesr@chromium.org>
131
132         [chromium] Remove unused compositeToTexture / compositeOffscreen setting
133         https://bugs.webkit.org/show_bug.cgi?id=83733
134
135         Reviewed by Adrienne Walker.
136
137         Remove compositeOffscreen setting. This was an experiment that is no longer needed.
138
139         * chromium/public/WebLayerTreeView.h:
140         (WebKit::WebLayerTreeView::Settings::Settings):
141         (Settings):
142
143 2012-04-13  James Robinson  <jamesr@chromium.org>
144
145         [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API
146         https://bugs.webkit.org/show_bug.cgi?id=83851
147
148         Reviewed by Adam Barth.
149
150         Move WebVideoFrame API into Platform.
151
152         * Platform.gypi:
153         * chromium/public/WebVideoFrame.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.h.
154         (WebKit):
155         (WebVideoFrame):
156         (WebKit::WebVideoFrame::~WebVideoFrame):
157         (WebKit::WebVideoFrame::format):
158         (WebKit::WebVideoFrame::width):
159         (WebKit::WebVideoFrame::height):
160         (WebKit::WebVideoFrame::planes):
161         (WebKit::WebVideoFrame::stride):
162         (WebKit::WebVideoFrame::data):
163         (WebKit::WebVideoFrame::textureId):
164         (WebKit::WebVideoFrame::textureTarget):
165         * chromium/src/WebVideoFrame.cpp: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.cpp.
166         (WebKit):
167
168 2012-04-12  Sheriff Bot  <webkit.review.bot@gmail.com>
169
170         Unreviewed, rolling out r114075.
171         http://trac.webkit.org/changeset/114075
172         https://bugs.webkit.org/show_bug.cgi?id=83857
173
174         Breaks compile (Requested by jamesr on #webkit).
175
176         * Platform.gypi:
177
178 2012-04-12  James Robinson  <jamesr@chromium.org>
179
180         [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API
181         https://bugs.webkit.org/show_bug.cgi?id=83851
182
183         Reviewed by Adam Barth.
184
185         Move WebVideoFrame API into Platform.
186
187         * Platform.gypi:
188         * chromium/public/WebVideoFrame.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.h.
189         (WebKit):
190         (WebVideoFrame):
191         (WebKit::WebVideoFrame::~WebVideoFrame):
192         (WebKit::WebVideoFrame::format):
193         (WebKit::WebVideoFrame::width):
194         (WebKit::WebVideoFrame::height):
195         (WebKit::WebVideoFrame::planes):
196         (WebKit::WebVideoFrame::stride):
197         (WebKit::WebVideoFrame::data):
198         (WebKit::WebVideoFrame::textureId):
199         (WebKit::WebVideoFrame::textureTarget):
200         * chromium/src/WebVideoFrame.cpp: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.cpp.
201         (WebKit):
202
203 2012-04-11  David Dorwin  <ddorwin@chromium.org>
204
205         Add keySystem attribute to canPlayType() for Encrypted Media Extensions
206         https://bugs.webkit.org/show_bug.cgi?id=82973
207
208         Reviewed by Adam Barth.
209
210         The new attribute is behind the ENABLE(ENCRYPTED_MEDIA) feature define.
211         Implementation is based on v0.1 of the draft proposal at
212         http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#extensions.
213
214         * chromium/public/WebMimeRegistry.h:
215         (WebKit::WebMimeRegistry::supportsMediaMIMEType):
216
217 2012-04-09  Dana Jansens  <danakj@chromium.org>
218
219         [chromium] Viewport is not filled when out of texture memory on mac
220         https://bugs.webkit.org/show_bug.cgi?id=83351
221
222         Reviewed by Adrienne Walker.
223
224         * chromium/public/WebLayerTreeView.h:
225         (WebLayerTreeView):
226
227 2012-04-09  James Robinson  <jamesr@chromium.org>
228
229         [chromium] CCLayerTreeHost / WebLayerTreeView should be single ownership, not RefCounted
230         https://bugs.webkit.org/show_bug.cgi?id=83413
231
232         Reviewed by Adrienne Walker.
233
234         This makes WebLayerTreeView noncopyable to better match the underlying semantics. There is no code currently
235         that attempts to copy WebLayerTreeView instances.
236
237         * chromium/public/WebLayerTreeView.h:
238         (WebKit):
239         (WebLayerTreeView):
240
241 2012-04-04  Adam Barth  <abarth@webkit.org>
242
243         figure out how to export webcore symbols from webkit.dll properly
244         https://bugs.webkit.org/show_bug.cgi?id=83105
245
246         Reviewed by Dimitri Glazkov.
247
248         Unwind our ugly, ugly hack to make the Windows component build work.
249
250         * chromium/public/WebMediaStreamSourcesRequest.h:
251         (WebMediaStreamSourcesRequest):
252
253 2012-04-03  Adam Barth  <abarth@webkit.org>
254
255         Unreviewed. This patch adds an ugly, ugly hack to bandaid over the
256         Windows component build. See comments in the code for details.
257
258         * chromium/public/WebMediaStreamSourcesRequest.h:
259         (WebMediaStreamSourcesRequest):
260
261 2012-04-02  Zhenyao Mo  <zmo@google.com>
262
263         Implement WebGLShaderPrecisionFormat
264         https://bugs.webkit.org/show_bug.cgi?id=75925
265
266         Reviewed by Kenneth Russell.
267
268         * chromium/public/WebGraphicsContext3D.h: Add getShaderPrecisionFormat().
269         (WebGraphicsContext3D):
270
271 2012-04-03  Adam Barth  <abarth@webkit.org>
272
273         Attempt to fix the Windows component build by including these headers
274         rather than forward declaring these objects.
275
276         * chromium/public/WebMediaStreamSourcesRequest.h:
277         (WebKit):
278
279 2012-04-02  Adam Barth  <abarth@webkit.org>
280
281         [Chromium] Move a number of virtual functions from WebKitPlatformSupport.h into Platform.h
282         https://bugs.webkit.org/show_bug.cgi?id=82865
283
284         Reviewed by Kent Tamura.
285
286         Moving these functions into Platform.h allows them to be called from
287         Platform (aka WebCore/platform), as discussed in 
288         https://lists.webkit.org/pipermail/webkit-dev/2012-March/020166.html
289
290         * chromium/public/Platform.h:
291         (WebKit):
292         (Platform):
293         (WebKit::Platform::mimeRegistry):
294         (WebKit::Platform::audioHardwareSampleRate):
295         (WebKit::Platform::audioHardwareBufferSize):
296         (WebKit::Platform::createAudioDevice):
297         (WebKit::Platform::sampleGamepads):
298         (WebKit::Platform::visitedLinkHash):
299         (WebKit::Platform::isLinkVisited):
300         (WebKit::Platform::signedPublicKeyAndChallengeString):
301         (WebKit::Platform::memoryUsageMB):
302         (WebKit::Platform::actualMemoryUsageMB):
303         (WebKit::Platform::lowMemoryUsageMB):
304         (WebKit::Platform::highMemoryUsageMB):
305         (WebKit::Platform::highUsageDeltaMB):
306         (WebKit::Platform::prefetchHostName):
307         (WebKit::Platform::createSocketStreamHandle):
308         (WebKit::Platform::userAgent):
309         (WebKit::Platform::cacheMetadata):
310         (WebKit::Platform::createThread):
311         (WebKit::Platform::currentThread):
312         (WebKit::Platform::decrementStatsCounter):
313         (WebKit::Platform::incrementStatsCounter):
314         (WebKit::Platform::loadResource):
315         (WebKit::Platform::loadAudioResource):
316         (WebKit::Platform::sandboxEnabled):
317         (WebKit::Platform::suddenTerminationChanged):
318         (WebKit::Platform::defaultLocale):
319         (WebKit::Platform::currentTime):
320         (WebKit::Platform::monotonicallyIncreasingTime):
321         (WebKit::Platform::setSharedTimerFiredFunction):
322         (WebKit::Platform::setSharedTimerFireInterval):
323         (WebKit::Platform::stopSharedTimer):
324         (WebKit::Platform::callOnMainThread):
325         (WebKit::Platform::getTraceCategoryEnabledFlag):
326         (WebKit::Platform::addTraceEvent):
327         (WebKit::Platform::histogramCustomCounts):
328         (WebKit::Platform::histogramEnumeration):
329
330 2012-04-02  Adam Barth  <abarth@webkit.org>
331
332         [Chromium] Move another block of headers from WebKit/chromium/public/platform to Platform/chromium/public
333         https://bugs.webkit.org/show_bug.cgi?id=82862
334
335         Rubber-stamped by Eric Seidel.
336
337         * Platform.gypi:
338         * chromium/public/WebAudioBus.h: Copied from Source/WebKit/chromium/public/platform/WebAudioBus.h.
339         * chromium/public/WebAudioDevice.h: Copied from Source/WebKit/chromium/public/platform/WebAudioDevice.h.
340         * chromium/public/WebGamepad.h: Copied from Source/WebKit/chromium/public/platform/WebGamepad.h.
341         * chromium/public/WebGamepads.h: Copied from Source/WebKit/chromium/public/platform/WebGamepads.h.
342         * chromium/public/WebSocketStreamError.h: Copied from Source/WebKit/chromium/public/platform/WebSocketStreamError.h.
343         * chromium/public/WebSocketStreamHandle.h: Copied from Source/WebKit/chromium/public/platform/WebSocketStreamHandle.h.
344         * chromium/public/WebSocketStreamHandleClient.h: Copied from Source/WebKit/chromium/public/platform/WebSocketStreamHandleClient.h.
345
346 2012-04-01  Adam Barth  <abarth@webkit.org>
347
348         [Chromium] Move thread-related APIs from WebKit into Platform
349         https://bugs.webkit.org/show_bug.cgi?id=82858
350
351         Reviewed by Eric Seidel.
352
353         * Platform.gypi:
354         * chromium/public/WebThread.h: Copied from Source/WebKit/chromium/public/platform/WebThread.h.
355         * chromium/public/WebThreadSafeData.h: Copied from Source/WebKit/chromium/public/platform/WebThreadSafeData.h.
356
357 2012-03-29  Adam Barth  <abarth@webkit.org>
358
359         [Chromium] Delete WebKit/chromium/bridge
360         https://bugs.webkit.org/show_bug.cgi?id=82677
361
362         Reviewed by James Robinson.
363
364         This patch moves all the MediaStream-related platform APIs from
365         WebKit/chromium/public/platform into Platform/chromium/public. This is
366         part of a larger project to more clearly separate the platform and
367         client portions of the Chromium WebKit API.
368
369         * Platform.gypi:
370         * chromium/public/Platform.h:
371         (WebKit):
372         (Platform):
373         (WebKit::Platform::createPeerConnectionHandler):
374         (WebKit::Platform::createPeerConnection00Handler):
375         (WebKit::Platform::createMediaStreamCenter):
376         * chromium/public/WebICECandidateDescriptor.h: Copied from Source/WebKit/chromium/public/platform/WebICECandidateDescriptor.h.
377         * chromium/public/WebICEOptions.h: Copied from Source/WebKit/chromium/public/platform/WebICEOptions.h.
378         * chromium/public/WebMediaHints.h: Copied from Source/WebKit/chromium/public/platform/WebMediaHints.h.
379         * chromium/public/WebMediaStreamCenter.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamCenter.h.
380         * chromium/public/WebMediaStreamCenterClient.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamCenterClient.h.
381         * chromium/public/WebMediaStreamComponent.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamComponent.h.
382         * chromium/public/WebMediaStreamDescriptor.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamDescriptor.h.
383         * chromium/public/WebMediaStreamSource.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamSource.h.
384         * chromium/public/WebMediaStreamSourcesRequest.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamSourcesRequest.h.
385         * chromium/public/WebPeerConnection00Handler.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnection00Handler.h.
386         * chromium/public/WebPeerConnection00HandlerClient.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnection00HandlerClient.h.
387         * chromium/public/WebPeerConnectionHandler.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnectionHandler.h.
388         (WebPeerConnectionHandler):
389         * chromium/public/WebPeerConnectionHandlerClient.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnectionHandlerClient.h.
390         * chromium/public/WebSessionDescriptionDescriptor.h: Copied from Source/WebKit/chromium/public/platform/WebSessionDescriptionDescriptor.h.
391         * chromium/public/WebVector.h: Copied from Source/WebKit/chromium/public/platform/WebVector.h.
392
393 2012-03-30  David Barr  <davidbarr@chromium.org>
394
395         Split up top-level .gitignore and .gitattributes
396         https://bugs.webkit.org/show_bug.cgi?id=82687
397
398         Reviewed by Tor Arne Vestbø.
399
400         * Platform.gyp/.gitignore: Added.
401
402 2012-03-29  Adam Barth  <abarth@webkit.org>
403
404         [Chromium] Move createURLLoader() into Platform
405         https://bugs.webkit.org/show_bug.cgi?id=82587
406
407         Reviewed by James Robinson.
408
409         This patch introduces a base class for WebKitPlatformSupport that we
410         can use to incrementally more APIs from WebKit/chromium/public/platform
411         into Platform/chromium/public. Using this technique lets us avoid
412         making changes in the embedder during the transition.
413
414         This patch moves createURLLoader() because it's necessary for
415         ResourceHandle.  This is the third patch in this sequence:
416         https://github.com/abarth/webkit/compare/master...webcore-platform
417
418         * Platform.gypi:
419         * chromium/public/Platform.h: Added.
420         (WebKit):
421         (Platform):
422         (WebKit::Platform::createURLLoader):
423         (WebKit::Platform::~Platform):
424         * chromium/src/Platform.cpp: Added.
425         (WebKit):
426         (WebKit::Platform::initialize):
427         (WebKit::Platform::shutdown):
428         (WebKit::Platform::current):
429
430 2012-03-28  Adam Barth  <abarth@webkit.org>
431
432         [Chromium] Move APIs related to ResourceHandle into Platform
433         https://bugs.webkit.org/show_bug.cgi?id=82553
434
435         Reviewed by James Robinson.
436
437         This patch is the first patch in this series:
438         https://github.com/abarth/webkit/compare/master...webcore-platform
439
440         The goal of these patches is to move WebCore::ResourceHandle out of
441         Chromium's WebKit layer and into WebCore/platform, where it belongs.
442
443         This patch moves the Chromium-WebKit APIs used by ResourceHandle out of
444         the WebKit layer and into the Plaform layer. These are APIs that WebKit
445         uses to call "down" to manipulate the underlying platform (rather than
446         "up" to the client to make decisions). The long-term plan is to move
447         all of the headers in WebKit/chromium/public/platform into
448         Platform/chromium/public (although we'll likely need to clean up some
449         layering violations as we go).
450
451         * Platform.gypi:
452         * chromium/public/WebData.h: Added.
453         (WebKit):
454         (WebData):
455         (WebKit::WebData::~WebData):
456         (WebKit::WebData::WebData):
457         (WebKit::WebData::operator=):
458         (WebKit::WebData::isEmpty):
459         (WebKit::WebData::isNull):
460         * chromium/public/WebHTTPBody.h: Added.
461         (WebKit):
462         (WebHTTPBody):
463         (WebKit::WebHTTPBody::~WebHTTPBody):
464         (WebKit::WebHTTPBody::WebHTTPBody):
465         (WebKit::WebHTTPBody::operator=):
466         (WebKit::WebHTTPBody::isNull):
467         * chromium/public/WebHTTPHeaderVisitor.h: Added.
468         (WebKit):
469         (WebHTTPHeaderVisitor):
470         (WebKit::WebHTTPHeaderVisitor::~WebHTTPHeaderVisitor):
471         * chromium/public/WebHTTPLoadInfo.h: Added.
472         (WebCore):
473         (WebKit):
474         (WebHTTPLoadInfo):
475         (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo):
476         (WebKit::WebHTTPLoadInfo::~WebHTTPLoadInfo):
477         (WebKit::WebHTTPLoadInfo::operator =):
478         * chromium/public/WebPrivateOwnPtr.h: Added.
479         (WebKit):
480         (WebPrivateOwnPtr):
481         (WebKit::WebPrivateOwnPtr::WebPrivateOwnPtr):
482         (WebKit::WebPrivateOwnPtr::~WebPrivateOwnPtr):
483         (WebKit::WebPrivateOwnPtr::reset):
484         (WebKit::WebPrivateOwnPtr::get):
485         (WebKit::WebPrivateOwnPtr::operator->):
486         * chromium/public/WebURL.h: Added.
487         (WebKit):
488         (WebURL):
489         (WebKit::WebURL::~WebURL):
490         (WebKit::WebURL::WebURL):
491         (WebKit::WebURL::operator=):
492         (WebKit::WebURL::assign):
493         (WebKit::WebURL::spec):
494         (WebKit::WebURL::parsed):
495         (WebKit::WebURL::isValid):
496         (WebKit::WebURL::isEmpty):
497         (WebKit::WebURL::isNull):
498         (WebKit::WebURL::operator GURL):
499         (WebKit::operator<):
500         (WebKit::operator==):
501         (WebKit::operator!=):
502         * chromium/public/WebURLError.h: Added.
503         (WebKit):
504         (WebURLError):
505         (WebKit::WebURLError::WebURLError):
506         * chromium/public/WebURLLoadTiming.h: Added.
507         (WebKit):
508         (WebURLLoadTiming):
509         (WebKit::WebURLLoadTiming::~WebURLLoadTiming):
510         (WebKit::WebURLLoadTiming::WebURLLoadTiming):
511         (WebKit::WebURLLoadTiming::operator=):
512         (WebKit::WebURLLoadTiming::isNull):
513         * chromium/public/WebURLLoader.h: Added.
514         (WebKit):
515         (WebURLLoader):
516         (WebKit::WebURLLoader::~WebURLLoader):
517         * chromium/public/WebURLLoaderClient.h: Added.
518         (WebKit):
519         (WebURLLoaderClient):
520         (WebKit::WebURLLoaderClient::willSendRequest):
521         (WebKit::WebURLLoaderClient::didSendData):
522         (WebKit::WebURLLoaderClient::didReceiveResponse):
523         (WebKit::WebURLLoaderClient::didDownloadData):
524         (WebKit::WebURLLoaderClient::didReceiveData):
525         (WebKit::WebURLLoaderClient::didReceiveCachedMetadata):
526         (WebKit::WebURLLoaderClient::didFinishLoading):
527         (WebKit::WebURLLoaderClient::didFail):
528         (WebKit::WebURLLoaderClient::~WebURLLoaderClient):
529         * chromium/public/WebURLRequest.h: Added.
530         (WebKit):
531         (WebURLRequest):
532         (ExtraData):
533         (WebKit::WebURLRequest::ExtraData::~ExtraData):
534         (WebKit::WebURLRequest::~WebURLRequest):
535         (WebKit::WebURLRequest::WebURLRequest):
536         (WebKit::WebURLRequest::operator=):
537         * chromium/public/WebURLResponse.h: Added.
538         (WebKit):
539         (WebURLResponse):
540         (ExtraData):
541         (WebKit::WebURLResponse::ExtraData::~ExtraData):
542         (WebKit::WebURLResponse::~WebURLResponse):
543         (WebKit::WebURLResponse::WebURLResponse):
544         (WebKit::WebURLResponse::operator=):
545
546 2012-03-27  Nat Duca  <nduca@chromium.org>
547
548         [chromium] Route monotonic clock up from compositor
549         https://bugs.webkit.org/show_bug.cgi?id=82154
550
551         Reviewed by James Robinson.
552
553         * chromium/public/WebLayerTreeViewClient.h:
554         (WebLayerTreeViewClient):
555
556 2012-03-26  Nat Duca  <nduca@chromium.org>
557
558         [chromium] Add isInputThrottled/didBecomeReadyForAdditionalInput to WebWidget
559         https://bugs.webkit.org/show_bug.cgi?id=82265
560
561         Reviewed by James Robinson.
562
563         * chromium/public/WebLayerTreeView.h:
564         (WebLayerTreeView):
565         * chromium/public/WebLayerTreeViewClient.h:
566         (WebLayerTreeViewClient):
567         (WebKit::WebLayerTreeViewClient::didCommit):
568
569 2012-03-25  Nat Duca  <nduca@chromium.org>
570
571         [chromium] Route willBeginFrame from compositor to WebWidget
572         https://bugs.webkit.org/show_bug.cgi?id=82171
573
574         Reviewed by Darin Fisher.
575
576         * chromium/public/WebLayerTreeViewClient.h:
577         (WebLayerTreeViewClient):
578         (WebKit::WebLayerTreeViewClient::willBeginFrame):
579
580 2012-03-23  Tony Chang  <tony@chromium.org>
581
582         [chromium] rename newwtf target back to wtf
583         https://bugs.webkit.org/show_bug.cgi?id=82064
584
585         Reviewed by Adam Barth.
586
587         * Platform.gyp/Platform.gyp:
588
589 2012-03-22  Tony Chang  <tony@chromium.org>
590
591         Unreviewed, fix chromium build after wtf move.
592
593         Only use newwtf, remove references to wtf.
594
595         * Platform.gyp/Platform.gyp:
596
597 2012-03-21  Ryosuke Niwa  <rniwa@webkit.org>
598
599         Touch a file to make Chromium Windows bots happy.
600
601         * chromium/public/WebGraphicsContext3D.h:
602
603 2012-03-21  David Reveman  <reveman@chromium.org>
604
605         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
606         https://bugs.webkit.org/show_bug.cgi?id=80988
607
608         Reviewed by Adrienne Walker.
609
610         Add EXT_occlusion_query API to WebGraphicsContext3D.
611
612         * chromium/public/WebGraphicsContext3D.h:
613         (WebGraphicsContext3D):
614         (WebKit::WebGraphicsContext3D::createQueryEXT):
615         (WebKit::WebGraphicsContext3D::deleteQueryEXT):
616         (WebKit::WebGraphicsContext3D::isQueryEXT):
617         (WebKit::WebGraphicsContext3D::beginQueryEXT):
618         (WebKit::WebGraphicsContext3D::endQueryEXT):
619         (WebKit::WebGraphicsContext3D::getQueryivEXT):
620         (WebKit::WebGraphicsContext3D::getQueryObjectuivEXT):
621
622 2012-03-19  Michal Mocny  <mmocny@google.com>
623
624         [chromium] Adding support for GL_EXT_discard_framebuffer.
625         https://bugs.webkit.org/show_bug.cgi?id=81383
626
627         Reviewed by James Robinson.
628
629         * chromium/public/WebGraphicsContext3D.h:
630         (WebGraphicsContext3D):
631         (WebKit::WebGraphicsContext3D::discardFramebufferEXT):
632         (WebKit::WebGraphicsContext3D::ensureFramebufferCHROMIUM):
633
634 2012-03-19  Sheriff Bot  <webkit.review.bot@gmail.com>
635
636         Unreviewed, rolling out r111207.
637         http://trac.webkit.org/changeset/111207
638         https://bugs.webkit.org/show_bug.cgi?id=81561
639
640         Causing chromium unit test failure (Requested by reveman on
641         #webkit).
642
643         * chromium/public/WebGraphicsContext3D.h:
644
645 2012-03-19  Michal Mocny  <mmocny@google.com>
646
647         [chromium] Updating WebGraphicsContext3D MemoryAllocation callback to accept a struct with have backbuffer suggestion.
648         https://bugs.webkit.org/show_bug.cgi?id=81279
649
650         Reviewed by James Robinson.
651
652         Adding a suggestHaveBackbuffer hint to the WebGraphicsContext3D memory allocation callback.
653
654         * chromium/public/WebGraphicsContext3D.h:
655         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
656         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::onMemoryAllocationChanged):
657         * chromium/public/WebGraphicsMemoryAllocation.h: Added.
658         (WebKit):
659         (WebGraphicsMemoryAllocation):
660         (WebKit::WebGraphicsMemoryAllocation::WebGraphicsMemoryAllocation):
661
662 2012-03-19  David Reveman  <reveman@chromium.org>
663
664         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
665         https://bugs.webkit.org/show_bug.cgi?id=80988
666
667         Reviewed by Adrienne Walker.
668
669         Add EXT_occlusion_query API to WebGraphicsContext3D.
670
671         * chromium/public/WebGraphicsContext3D.h:
672         (WebGraphicsContext3D):
673
674 2012-03-08  James Robinson  <jamesr@chromium.org>
675
676         Use an explicit attribute to signal that a context prefers to use a discrete GPU
677         https://bugs.webkit.org/show_bug.cgi?id=80639
678
679         Reviewed by Stephen White.
680
681         Adds preferDiscreteGPU attribute to WebGraphicsContext3D::Attributes. Also remove the forUseOnAnotherThread
682         attribute, this has been dead code for a while now.
683
684         * chromium/public/WebGraphicsContext3D.h:
685         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
686         (Attributes):
687
688 2012-02-24  James Robinson  <jamesr@chromium.org>
689
690         [chromium] WebKit::setColorNames is a client API
691         https://bugs.webkit.org/show_bug.cgi?id=79539
692
693         Reviewed by Darin Fisher.
694
695         * Platform.gypi:
696         * chromium/public/WebColor.h:
697         (WebKit):
698
699 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
700
701         Unreviewed, rolling out r108860.
702         http://trac.webkit.org/changeset/108860
703         https://bugs.webkit.org/show_bug.cgi?id=79544
704
705         "Breaks Linux compile" (Requested by enne on #webkit).
706
707         * Platform.gypi:
708         * chromium/public/WebColor.h:
709         (WebKit):
710         * chromium/public/WebColorName.h: Renamed from Source/WebKit/chromium/public/WebColorName.h.
711         (WebKit):
712
713 2012-02-24  James Robinson  <jamesr@chromium.org>
714
715         [chromium] WebKit::setColorNames is a client API
716         https://bugs.webkit.org/show_bug.cgi?id=79539
717
718         Reviewed by Darin Fisher.
719
720         * Platform.gypi:
721         * chromium/public/WebColor.h:
722         (WebKit):
723
724 2012-02-22  James Robinson  <jamesr@chromium.org>
725
726         [chromium] Move WebGraphicsContext3D header into the Platform directory
727         https://bugs.webkit.org/show_bug.cgi?id=79301
728
729         Reviewed by Adam Barth.
730
731         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
732
733         * Platform.gypi:
734         * chromium/public/WebGraphicsContext3D.h: Copied from Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h.
735         (WebKit):
736         (WebGraphicsContext3D):
737         (ActiveInfo):
738         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
739         (Attributes):
740         (WebGraphicsContextLostCallback):
741         (WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback::~WebGraphicsContextLostCallback):
742         (WebGraphicsErrorMessageCallback):
743         (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
744         (WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
745         (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
746         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
747         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
748         (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
749         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
750         (WebKit::WebGraphicsContext3D::setParentContext):
751         (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
752         (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
753         (WebKit::WebGraphicsContext3D::setContextLostCallback):
754         (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
755         (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
756         (WebKit::WebGraphicsContext3D::getTranslatedShaderSourceANGLE):
757         (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
758         (WebKit::WebGraphicsContext3D::texStorage2DEXT):
759         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
760         * chromium/public/WebNonCopyable.h: Copied from Source/WebKit/chromium/public/platform/WebNonCopyable.h.
761         (WebKit):
762         (WebNonCopyable):
763         (WebKit::WebNonCopyable::WebNonCopyable):
764         (WebKit::WebNonCopyable::~WebNonCopyable):
765
766 2012-02-23  James Robinson  <jamesr@chromium.org>
767
768         [chromium] Move Web*Layer* headers into Platform
769         https://bugs.webkit.org/show_bug.cgi?id=79425
770
771         Reviewed by Adam Barth.
772
773         This moves the Web*Layer* headers and their dependencies from WebKit/chromium/public/platform/ into
774         Platform/chromium/public.
775
776         * Platform.gypi:
777         * chromium/public/WebCanvas.h: Copied from Source/WebKit/chromium/public/platform/WebCanvas.h.
778         (WebKit):
779         * chromium/public/WebColor.h: Copied from Source/WebKit/chromium/public/platform/WebColor.h.
780         (WebKit):
781         * chromium/public/WebColorName.h: Copied from Source/WebKit/chromium/public/platform/WebColorName.h.
782         (WebKit):
783         * chromium/public/WebContentLayer.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayer.h.
784         (WebKit):
785         (WebContentLayer):
786         (WebKit::WebContentLayer::WebContentLayer):
787         (WebKit::WebContentLayer::~WebContentLayer):
788         (WebKit::WebContentLayer::operator=):
789         * chromium/public/WebContentLayerClient.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayerClient.h.
790         (WebKit):
791         (WebContentLayerClient):
792         (WebKit::WebContentLayerClient::~WebContentLayerClient):
793         * chromium/public/WebExternalTextureLayer.h: Copied from Source/WebKit/chromium/public/platform/WebExternalTextureLayer.h.
794         (WebKit):
795         (WebExternalTextureLayer):
796         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
797         (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
798         (WebKit::WebExternalTextureLayer::operator=):
799         * chromium/public/WebLayer.h: Copied from Source/WebKit/chromium/public/platform/WebLayer.h.
800         (WebKit):
801         (WebLayer):
802         (WebKit::WebLayer::WebLayer):
803         (WebKit::WebLayer::~WebLayer):
804         (WebKit::WebLayer::operator=):
805         (WebKit::WebLayer::isNull):
806         (WebKit::WebLayer::to):
807         (WebKit::WebLayer::toConst):
808         (WebKit::WebLayer::unwrap):
809         (WebKit::WebLayer::constUnwrap):
810         (WebKit::operator==):
811         (WebKit::operator!=):
812         * chromium/public/WebLayerTreeView.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeView.h.
813         (WebCore):
814         (WebKit):
815         (WebLayerTreeView):
816         (WebKit::WebLayerTreeView::Settings::Settings):
817         (Settings):
818         (WebKit::WebLayerTreeView::WebLayerTreeView):
819         (WebKit::WebLayerTreeView::~WebLayerTreeView):
820         (WebKit::WebLayerTreeView::operator=):
821         (WebKit::operator==):
822         (WebKit::operator!=):
823         * chromium/public/WebLayerTreeViewClient.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeViewClient.h.
824         (WebKit):
825         (WebLayerTreeViewClient):
826         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
827         * chromium/public/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/platform/WebPrivatePtr.h.
828         (WebKit):
829         (WebPrivatePtr):
830         (WebKit::WebPrivatePtr::WebPrivatePtr):
831         (WebKit::WebPrivatePtr::~WebPrivatePtr):
832         (WebKit::WebPrivatePtr::isNull):
833         (WebKit::WebPrivatePtr::reset):
834         (WebKit::WebPrivatePtr::operator=):
835         (WebKit::WebPrivatePtr::get):
836         (WebKit::WebPrivatePtr::operator->):
837         (WebKit::WebPrivatePtr::assign):
838         * chromium/public/WebSolidColorLayer.h: Copied from Source/WebKit/chromium/public/platform/WebSolidColorLayer.h.
839         (WebKit):
840         (WebSolidColorLayer):
841
842 2012-02-08  James Robinson  <jamesr@chromium.org>
843
844         r107042 caused compile breakages on chromium try bots
845         https://bugs.webkit.org/show_bug.cgi?id=78125
846
847         Reviewed by Adam Barth.
848
849         Replace the copy script with a copies GYP action since the MSVS generator tracks dependencies on a per-file
850         basis.
851
852         * Platform.gyp/Platform.gyp:
853         * Platform.gyp/copy_webcore_headers.py: Removed.
854
855 2012-02-07  James Robinson  <jamesr@chromium.org>
856
857         [chromium] Move geometry headers in Platform API to Platform directory
858         https://bugs.webkit.org/show_bug.cgi?id=78067
859
860         Reviewed by Adam Barth.
861
862         This moves several geometry-related headers in the chromium WebKit platform API to Platform/chromium/public.
863         These require a bit of extra work since when WEBKIT_IMPLEMENTATION is set they #include headers from
864         WebCore/platform such as IntPoint so that the implementations of several functions can be inlined. Since we do
865         not want to add anything in WebCore to the include path of projects that depend on the Platform API this poses a
866         bit of an issue. I've added an extra build step to copy the specific headers used into the
867         SHARED_INTERMEDIATE_DIR to preserve this inlining.
868         
869         Eventually we'll move the cross-platform code, including these headers, into somewhere under Platform/, but doing
870         that requires non-trivial modifications to every build system in WebKit.
871
872         * Platform.gyp/Platform.gyp:
873         * Platform.gyp/copy_webcore_headers.py: Added.
874         (CopyHeaders):
875         (Main):
876         * chromium/public/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/platform/WebFloatPoint.h.
877         (WebKit):
878         (WebFloatPoint):
879         (WebKit::WebFloatPoint::WebFloatPoint):
880         (WebKit::WebFloatPoint::operator=):
881         (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
882         (WebKit::operator==):
883         (WebKit::operator!=):
884         * chromium/public/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/platform/WebFloatQuad.h.
885         (WebKit):
886         (WebFloatQuad):
887         (WebKit::WebFloatQuad::WebFloatQuad):
888         (WebKit::WebFloatQuad::operator=):
889         * chromium/public/WebFloatRect.h: Copied from Source/WebKit/chromium/public/platform/WebFloatRect.h.
890         (WebKit):
891         (WebFloatRect):
892         (WebKit::WebFloatRect::isEmpty):
893         (WebKit::WebFloatRect::WebFloatRect):
894         (WebKit::WebFloatRect::operator=):
895         (WebKit::WebFloatRect::operator WebCore::FloatRect):
896         (WebKit::operator==):
897         (WebKit::operator!=):
898         * chromium/public/WebPoint.h: Copied from Source/WebKit/chromium/public/platform/WebPoint.h.
899         (WebKit):
900         (WebPoint):
901         (WebKit::WebPoint::WebPoint):
902         (WebKit::WebPoint::operator=):
903         (WebKit::WebPoint::operator WebCore::IntPoint):
904         (WebKit::WebPoint::operator gfx::Point):
905         (WebKit::operator==):
906         (WebKit::operator!=):
907         * chromium/public/WebRect.h: Copied from Source/WebKit/chromium/public/platform/WebRect.h.
908         (WebKit):
909         (WebRect):
910         (WebKit::WebRect::isEmpty):
911         (WebKit::WebRect::WebRect):
912         (WebKit::WebRect::operator=):
913         (WebKit::WebRect::operator WebCore::IntRect):
914         (WebKit::WebRect::operator gfx::Rect):
915         (WebKit::operator==):
916         (WebKit::operator!=):
917         * chromium/public/WebSize.h: Copied from Source/WebKit/chromium/public/platform/WebSize.h.
918         (WebKit):
919         (WebSize):
920         (WebKit::WebSize::isEmpty):
921         (WebKit::WebSize::WebSize):
922         (WebKit::WebSize::operator=):
923         (WebKit::WebSize::operator WebCore::IntSize):
924         (WebKit::WebSize::operator gfx::Size):
925         (WebKit::operator==):
926         (WebKit::operator!=):
927
928 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
929
930         Enable use of precompiled headers in Chromium port on Windows.
931
932         Bug 76381 - Use precompiled headers in Chromium port on Windows
933         https://bugs.webkit.org/show_bug.cgi?id=76381
934
935         Reviewed by Tony Chang.
936
937         * Platform.gyp/Platform.gyp: Include WinPrecompile.gypi.
938
939 2012-01-04  James Robinson  <jamesr@chromium.org>
940
941         [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl
942
943         * Platform.gyp/Platform.gyp:
944
945 2012-01-04  James Robinson  <jamesr@chromium.org>
946
947         [chromium] Move WebMimeRegistry and dependencies to Source/Platform
948         https://bugs.webkit.org/show_bug.cgi?id=74583
949
950         Reviewed by Darin Fisher.
951
952         This creates a skeleton directory structure for the chromium WebKit platform API and moves WebMimeRegistry.h
953         along with its dependencies (WebString and WebCString) to their final location.
954
955         * Platform.gyp/Platform.gyp: Added.
956         * Platform.gypi: Added.
957         * chromium/platform/WebCString.h: Copied from Source/WebKit/chromium/public/platform/WebCString.h.
958         (WebKit::WebCString::~WebCString):
959         (WebKit::WebCString::WebCString):
960         (WebKit::WebCString::operator=):
961         (WebKit::WebCString::isEmpty):
962         (WebKit::WebCString::isNull):
963         (WebKit::WebCString::operator std::string):
964         (WebKit::WebCString::fromUTF16):
965         (WebKit::operator<):
966         * chromium/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/platform/WebCommon.h.
967         * chromium/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/platform/WebMimeRegistry.h.
968         (WebKit::WebMimeRegistry::~WebMimeRegistry):
969         * chromium/platform/WebString.h: Copied from Source/WebKit/chromium/public/platform/WebString.h.
970         (WebKit::WebString::~WebString):
971         (WebKit::WebString::WebString):
972         (WebKit::WebString::operator=):
973         (WebKit::WebString::isEmpty):
974         (WebKit::WebString::isNull):
975         (WebKit::WebString::operator string16):
976         (WebKit::WebString::operator NullableString16):
977         (WebKit::WebString::fromUTF8):
978         (WebKit::operator==):
979         (WebKit::operator!=):
980         * chromium/src/WebCString.cpp: Renamed from Source/WebKit/chromium/src/WebCString.cpp.
981         (WebKit::WebCString::compare):
982         (WebKit::WebCString::reset):
983         (WebKit::WebCString::assign):
984         (WebKit::WebCString::length):
985         (WebKit::WebCString::data):
986         (WebKit::WebCString::utf16):
987         (WebKit::WebCString::fromUTF16):
988         (WebKit::WebCString::WebCString):
989         (WebKit::WebCString::operator=):
990         (WebKit::WebCString::operator WTF::CString):
991         * chromium/src/WebString.cpp: Renamed from Source/WebKit/chromium/src/WebString.cpp.
992         (WebKit::WebString::reset):
993         (WebKit::WebString::assign):
994         (WebKit::WebString::length):
995         (WebKit::WebString::data):
996         (WebKit::WebString::utf8):
997         (WebKit::WebString::fromUTF8):
998         (WebKit::WebString::equals):
999         (WebKit::WebString::WebString):
1000         (WebKit::WebString::operator=):
1001         (WebKit::WebString::operator WTF::String):
1002         (WebKit::WebString::operator WTF::AtomicString):
1003
1004 2011-11-02  Adam Barth  <abarth@webkit.org>
1005
1006         Add stubs for WTF and Platform
1007         https://bugs.webkit.org/show_bug.cgi?id=71492
1008
1009         Reviewed by Eric Seidel.
1010
1011         This patch creates the Platform directory, which begins the process of
1012         moving Platform out of WebCore.