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