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