c50f2c28bed4eca6108c29115547cfa6e9589fdb
[WebKit-https.git] / Source / Platform / ChangeLog
1 2012-02-22  James Robinson  <jamesr@chromium.org>
2
3         [chromium] Move WebGraphicsContext3D header into the Platform directory
4         https://bugs.webkit.org/show_bug.cgi?id=79301
5
6         Reviewed by Adam Barth.
7
8         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
9
10         * Platform.gypi:
11         * chromium/public/WebGraphicsContext3D.h: Copied from Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h.
12         (WebKit):
13         (WebGraphicsContext3D):
14         (ActiveInfo):
15         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
16         (Attributes):
17         (WebGraphicsContextLostCallback):
18         (WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback::~WebGraphicsContextLostCallback):
19         (WebGraphicsErrorMessageCallback):
20         (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
21         (WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
22         (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
23         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
24         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
25         (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
26         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
27         (WebKit::WebGraphicsContext3D::setParentContext):
28         (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
29         (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
30         (WebKit::WebGraphicsContext3D::setContextLostCallback):
31         (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
32         (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
33         (WebKit::WebGraphicsContext3D::getTranslatedShaderSourceANGLE):
34         (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
35         (WebKit::WebGraphicsContext3D::texStorage2DEXT):
36         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
37         * chromium/public/WebNonCopyable.h: Copied from Source/WebKit/chromium/public/platform/WebNonCopyable.h.
38         (WebKit):
39         (WebNonCopyable):
40         (WebKit::WebNonCopyable::WebNonCopyable):
41         (WebKit::WebNonCopyable::~WebNonCopyable):
42
43 2012-02-23  James Robinson  <jamesr@chromium.org>
44
45         [chromium] Move Web*Layer* headers into Platform
46         https://bugs.webkit.org/show_bug.cgi?id=79425
47
48         Reviewed by Adam Barth.
49
50         This moves the Web*Layer* headers and their dependencies from WebKit/chromium/public/platform/ into
51         Platform/chromium/public.
52
53         * Platform.gypi:
54         * chromium/public/WebCanvas.h: Copied from Source/WebKit/chromium/public/platform/WebCanvas.h.
55         (WebKit):
56         * chromium/public/WebColor.h: Copied from Source/WebKit/chromium/public/platform/WebColor.h.
57         (WebKit):
58         * chromium/public/WebColorName.h: Copied from Source/WebKit/chromium/public/platform/WebColorName.h.
59         (WebKit):
60         * chromium/public/WebContentLayer.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayer.h.
61         (WebKit):
62         (WebContentLayer):
63         (WebKit::WebContentLayer::WebContentLayer):
64         (WebKit::WebContentLayer::~WebContentLayer):
65         (WebKit::WebContentLayer::operator=):
66         * chromium/public/WebContentLayerClient.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayerClient.h.
67         (WebKit):
68         (WebContentLayerClient):
69         (WebKit::WebContentLayerClient::~WebContentLayerClient):
70         * chromium/public/WebExternalTextureLayer.h: Copied from Source/WebKit/chromium/public/platform/WebExternalTextureLayer.h.
71         (WebKit):
72         (WebExternalTextureLayer):
73         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
74         (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
75         (WebKit::WebExternalTextureLayer::operator=):
76         * chromium/public/WebLayer.h: Copied from Source/WebKit/chromium/public/platform/WebLayer.h.
77         (WebKit):
78         (WebLayer):
79         (WebKit::WebLayer::WebLayer):
80         (WebKit::WebLayer::~WebLayer):
81         (WebKit::WebLayer::operator=):
82         (WebKit::WebLayer::isNull):
83         (WebKit::WebLayer::to):
84         (WebKit::WebLayer::toConst):
85         (WebKit::WebLayer::unwrap):
86         (WebKit::WebLayer::constUnwrap):
87         (WebKit::operator==):
88         (WebKit::operator!=):
89         * chromium/public/WebLayerTreeView.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeView.h.
90         (WebCore):
91         (WebKit):
92         (WebLayerTreeView):
93         (WebKit::WebLayerTreeView::Settings::Settings):
94         (Settings):
95         (WebKit::WebLayerTreeView::WebLayerTreeView):
96         (WebKit::WebLayerTreeView::~WebLayerTreeView):
97         (WebKit::WebLayerTreeView::operator=):
98         (WebKit::operator==):
99         (WebKit::operator!=):
100         * chromium/public/WebLayerTreeViewClient.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeViewClient.h.
101         (WebKit):
102         (WebLayerTreeViewClient):
103         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
104         * chromium/public/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/platform/WebPrivatePtr.h.
105         (WebKit):
106         (WebPrivatePtr):
107         (WebKit::WebPrivatePtr::WebPrivatePtr):
108         (WebKit::WebPrivatePtr::~WebPrivatePtr):
109         (WebKit::WebPrivatePtr::isNull):
110         (WebKit::WebPrivatePtr::reset):
111         (WebKit::WebPrivatePtr::operator=):
112         (WebKit::WebPrivatePtr::get):
113         (WebKit::WebPrivatePtr::operator->):
114         (WebKit::WebPrivatePtr::assign):
115         * chromium/public/WebSolidColorLayer.h: Copied from Source/WebKit/chromium/public/platform/WebSolidColorLayer.h.
116         (WebKit):
117         (WebSolidColorLayer):
118
119 2012-02-08  James Robinson  <jamesr@chromium.org>
120
121         r107042 caused compile breakages on chromium try bots
122         https://bugs.webkit.org/show_bug.cgi?id=78125
123
124         Reviewed by Adam Barth.
125
126         Replace the copy script with a copies GYP action since the MSVS generator tracks dependencies on a per-file
127         basis.
128
129         * Platform.gyp/Platform.gyp:
130         * Platform.gyp/copy_webcore_headers.py: Removed.
131
132 2012-02-07  James Robinson  <jamesr@chromium.org>
133
134         [chromium] Move geometry headers in Platform API to Platform directory
135         https://bugs.webkit.org/show_bug.cgi?id=78067
136
137         Reviewed by Adam Barth.
138
139         This moves several geometry-related headers in the chromium WebKit platform API to Platform/chromium/public.
140         These require a bit of extra work since when WEBKIT_IMPLEMENTATION is set they #include headers from
141         WebCore/platform such as IntPoint so that the implementations of several functions can be inlined. Since we do
142         not want to add anything in WebCore to the include path of projects that depend on the Platform API this poses a
143         bit of an issue. I've added an extra build step to copy the specific headers used into the
144         SHARED_INTERMEDIATE_DIR to preserve this inlining.
145         
146         Eventually we'll move the cross-platform code, including these headers, into somewhere under Platform/, but doing
147         that requires non-trivial modifications to every build system in WebKit.
148
149         * Platform.gyp/Platform.gyp:
150         * Platform.gyp/copy_webcore_headers.py: Added.
151         (CopyHeaders):
152         (Main):
153         * chromium/public/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/platform/WebFloatPoint.h.
154         (WebKit):
155         (WebFloatPoint):
156         (WebKit::WebFloatPoint::WebFloatPoint):
157         (WebKit::WebFloatPoint::operator=):
158         (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
159         (WebKit::operator==):
160         (WebKit::operator!=):
161         * chromium/public/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/platform/WebFloatQuad.h.
162         (WebKit):
163         (WebFloatQuad):
164         (WebKit::WebFloatQuad::WebFloatQuad):
165         (WebKit::WebFloatQuad::operator=):
166         * chromium/public/WebFloatRect.h: Copied from Source/WebKit/chromium/public/platform/WebFloatRect.h.
167         (WebKit):
168         (WebFloatRect):
169         (WebKit::WebFloatRect::isEmpty):
170         (WebKit::WebFloatRect::WebFloatRect):
171         (WebKit::WebFloatRect::operator=):
172         (WebKit::WebFloatRect::operator WebCore::FloatRect):
173         (WebKit::operator==):
174         (WebKit::operator!=):
175         * chromium/public/WebPoint.h: Copied from Source/WebKit/chromium/public/platform/WebPoint.h.
176         (WebKit):
177         (WebPoint):
178         (WebKit::WebPoint::WebPoint):
179         (WebKit::WebPoint::operator=):
180         (WebKit::WebPoint::operator WebCore::IntPoint):
181         (WebKit::WebPoint::operator gfx::Point):
182         (WebKit::operator==):
183         (WebKit::operator!=):
184         * chromium/public/WebRect.h: Copied from Source/WebKit/chromium/public/platform/WebRect.h.
185         (WebKit):
186         (WebRect):
187         (WebKit::WebRect::isEmpty):
188         (WebKit::WebRect::WebRect):
189         (WebKit::WebRect::operator=):
190         (WebKit::WebRect::operator WebCore::IntRect):
191         (WebKit::WebRect::operator gfx::Rect):
192         (WebKit::operator==):
193         (WebKit::operator!=):
194         * chromium/public/WebSize.h: Copied from Source/WebKit/chromium/public/platform/WebSize.h.
195         (WebKit):
196         (WebSize):
197         (WebKit::WebSize::isEmpty):
198         (WebKit::WebSize::WebSize):
199         (WebKit::WebSize::operator=):
200         (WebKit::WebSize::operator WebCore::IntSize):
201         (WebKit::WebSize::operator gfx::Size):
202         (WebKit::operator==):
203         (WebKit::operator!=):
204
205 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
206
207         Enable use of precompiled headers in Chromium port on Windows.
208
209         Bug 76381 - Use precompiled headers in Chromium port on Windows
210         https://bugs.webkit.org/show_bug.cgi?id=76381
211
212         Reviewed by Tony Chang.
213
214         * Platform.gyp/Platform.gyp: Include WinPrecompile.gypi.
215
216 2012-01-04  James Robinson  <jamesr@chromium.org>
217
218         [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl
219
220         * Platform.gyp/Platform.gyp:
221
222 2012-01-04  James Robinson  <jamesr@chromium.org>
223
224         [chromium] Move WebMimeRegistry and dependencies to Source/Platform
225         https://bugs.webkit.org/show_bug.cgi?id=74583
226
227         Reviewed by Darin Fisher.
228
229         This creates a skeleton directory structure for the chromium WebKit platform API and moves WebMimeRegistry.h
230         along with its dependencies (WebString and WebCString) to their final location.
231
232         * Platform.gyp/Platform.gyp: Added.
233         * Platform.gypi: Added.
234         * chromium/platform/WebCString.h: Copied from Source/WebKit/chromium/public/platform/WebCString.h.
235         (WebKit::WebCString::~WebCString):
236         (WebKit::WebCString::WebCString):
237         (WebKit::WebCString::operator=):
238         (WebKit::WebCString::isEmpty):
239         (WebKit::WebCString::isNull):
240         (WebKit::WebCString::operator std::string):
241         (WebKit::WebCString::fromUTF16):
242         (WebKit::operator<):
243         * chromium/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/platform/WebCommon.h.
244         * chromium/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/platform/WebMimeRegistry.h.
245         (WebKit::WebMimeRegistry::~WebMimeRegistry):
246         * chromium/platform/WebString.h: Copied from Source/WebKit/chromium/public/platform/WebString.h.
247         (WebKit::WebString::~WebString):
248         (WebKit::WebString::WebString):
249         (WebKit::WebString::operator=):
250         (WebKit::WebString::isEmpty):
251         (WebKit::WebString::isNull):
252         (WebKit::WebString::operator string16):
253         (WebKit::WebString::operator NullableString16):
254         (WebKit::WebString::fromUTF8):
255         (WebKit::operator==):
256         (WebKit::operator!=):
257         * chromium/src/WebCString.cpp: Renamed from Source/WebKit/chromium/src/WebCString.cpp.
258         (WebKit::WebCString::compare):
259         (WebKit::WebCString::reset):
260         (WebKit::WebCString::assign):
261         (WebKit::WebCString::length):
262         (WebKit::WebCString::data):
263         (WebKit::WebCString::utf16):
264         (WebKit::WebCString::fromUTF16):
265         (WebKit::WebCString::WebCString):
266         (WebKit::WebCString::operator=):
267         (WebKit::WebCString::operator WTF::CString):
268         * chromium/src/WebString.cpp: Renamed from Source/WebKit/chromium/src/WebString.cpp.
269         (WebKit::WebString::reset):
270         (WebKit::WebString::assign):
271         (WebKit::WebString::length):
272         (WebKit::WebString::data):
273         (WebKit::WebString::utf8):
274         (WebKit::WebString::fromUTF8):
275         (WebKit::WebString::equals):
276         (WebKit::WebString::WebString):
277         (WebKit::WebString::operator=):
278         (WebKit::WebString::operator WTF::String):
279         (WebKit::WebString::operator WTF::AtomicString):
280
281 2011-11-02  Adam Barth  <abarth@webkit.org>
282
283         Add stubs for WTF and Platform
284         https://bugs.webkit.org/show_bug.cgi?id=71492
285
286         Reviewed by Eric Seidel.
287
288         This patch creates the Platform directory, which begins the process of
289         moving Platform out of WebCore.