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