07e4052f0c12d6863b5407f04e081c00aae85f37
[WebKit-https.git] / Source / Platform / ChangeLog
1 2012-07-02  Tommy Widenflycht  <tommyw@google.com>
2
3         MediaStream API: Update MediaStreamTrackList to match the specification
4         https://bugs.webkit.org/show_bug.cgi?id=90171
5
6         Reviewed by Adam Barth.
7
8         The latest update to the specification added add and remove methods with corresponding callbacks.
9         The callbacks can be triggered both from JS and from the platform layer.
10
11         * chromium/public/WebMediaStreamCenterClient.h:
12         (WebKit):
13         (WebMediaStreamCenterClient):
14
15 2012-07-01  Keishi Hattori  <keishi@webkit.org>
16
17         Unreviewed, rolling out r121650.
18         http://trac.webkit.org/changeset/121650
19         https://bugs.webkit.org/show_bug.cgi?id=90303
20
21         runhooks is failing for chromium win bots and
22         WebAnimationTest.DefaultSettings is crashing
23
24         * Platform.gypi:
25         * chromium/public/WebAnimation.h: Removed.
26         * chromium/public/WebAnimationCurve.h: Removed.
27         * chromium/public/WebFloatAnimationCurve.h: Removed.
28         * chromium/public/WebFloatKeyframe.h: Removed.
29         * chromium/public/WebTransformAnimationCurve.h: Removed.
30         * chromium/public/WebTransformKeyframe.h: Removed.
31
32 2012-07-01  Ian Vollick  <vollick@chromium.org>
33
34         [chromium] Create a WebKit::Web* wrapper for the cc animation classes
35         https://bugs.webkit.org/show_bug.cgi?id=90303
36
37         Reviewed by James Robinson.
38
39         * Platform.gypi:
40         * chromium/public/WebAnimation.h: Added.
41         (WebCore):
42         (WebKit):
43         (WebAnimation):
44         (WebKit::WebAnimation::WebAnimation):
45         (WebKit::WebAnimation::~WebAnimation):
46         * chromium/public/WebAnimationCurve.h: Added.
47         (WebCore):
48         (WebKit):
49         (WebAnimationCurve):
50         (WebKit::WebAnimationCurve::~WebAnimationCurve):
51         (WebKit::WebAnimationCurve::WebAnimationCurve):
52         * chromium/public/WebFloatAnimationCurve.h: Added.
53         (WebCore):
54         (WebKit):
55         (WebFloatAnimationCurve):
56         (WebKit::WebFloatAnimationCurve::WebFloatAnimationCurve):
57         (WebKit::WebFloatAnimationCurve::~WebFloatAnimationCurve):
58         * chromium/public/WebFloatKeyframe.h: Added.
59         (WebKit):
60         (WebKit::WebFloatKeyframe::WebFloatKeyframe):
61         (WebFloatKeyframe):
62         * chromium/public/WebTransformAnimationCurve.h: Added.
63         (WebCore):
64         (WebKit):
65         (WebTransformAnimationCurve):
66         (WebKit::WebTransformAnimationCurve::WebTransformAnimationCurve):
67         (WebKit::WebTransformAnimationCurve::~WebTransformAnimationCurve):
68         * chromium/public/WebTransformKeyframe.h: Added.
69         (WebKit):
70         (WebKit::WebTransformKeyframe::WebTransformKeyframe):
71         (WebTransformKeyframe):
72
73 2012-06-30  Ian Vollick  <vollick@chromium.org>
74
75         [chromium] CanvasLayerTextureUpdater needs to convert opaque rects back to content space.
76         https://bugs.webkit.org/show_bug.cgi?id=90092
77
78         The CanvasLayerTextureUpdater currently receives its opaque rects in
79         layer space, but is expected to return them in content space and does
80         not convert them. This patch adds this conversion. To avoid numerical
81         errors, this patch also switches to using float rects to store opaque
82         rects where appropriate.
83
84         Reviewed by Adrienne Walker.
85
86         * chromium/public/WebContentLayerClient.h:
87         (WebKit):
88         (WebContentLayerClient):
89
90 2012-06-29  Tony Payne  <tpayne@chromium.org>
91
92         Remove type from screenColorProfile API
93         https://bugs.webkit.org/show_bug.cgi?id=90299
94
95         Reviewed by Adam Barth.
96
97         * chromium/public/Platform.h:
98         (WebKit::Platform::screenColorProfile): Removed type from chromium
99         public API's version of screenColorProfile().
100
101 2012-06-28  James Robinson  <jamesr@chromium.org>
102
103         [chromium] Remove mapRect and mapQuad from WebTransformationMatrix
104         https://bugs.webkit.org/show_bug.cgi?id=90230
105
106         Reviewed by Adrienne Walker.
107
108         Removes clipping-unaware mapRect, mapQuad and projectPoint functions from the WebTransformationMatrix interface.
109
110         * chromium/public/WebTransformationMatrix.h:
111         (WebTransformationMatrix):
112
113 2012-06-28  Adrienne Walker  <enne@google.com>
114
115         [chromium] Split WebScrollbar into WebPluginScrollbar and WebScrollbar
116         https://bugs.webkit.org/show_bug.cgi?id=90117
117
118         Reviewed by James Robinson.
119
120         Move WebScrollbar from client API to Platform.
121
122         * Platform.gypi:
123         * chromium/public/WebScrollbar.h: Copied from Source/WebKit/chromium/public/WebPluginScrollbarClient.h.
124         (WebKit):
125         (WebScrollbar):
126         (WebKit::WebScrollbar::~WebScrollbar):
127
128 2012-06-26  James Robinson  <jamesr@chromium.org>
129
130         [chromium] Remove WebView::graphicsContext3D getter
131         https://bugs.webkit.org/show_bug.cgi?id=89916
132
133         Reviewed by Adrienne Walker.
134
135         Remove unused getter.
136
137         * chromium/public/WebLayerTreeView.h:
138         (WebLayerTreeView):
139
140 2012-06-26  Dave Tu  <dtu@chromium.org>
141
142         [chromium] Expose rendering statistics to WebWidget.
143         https://bugs.webkit.org/show_bug.cgi?id=88268
144
145         Reviewed by James Robinson.
146
147         The WebKit side of a basic framework for exposing rendering statistics
148         to Chromium's --enable-benchmarking extension.
149
150         * chromium/public/WebLayerTreeView.h:
151         (WebRenderingStatistics):
152         (WebKit):
153         (WebLayerTreeView):
154
155 2012-06-25  James Robinson  <jamesr@chromium.org>
156
157         [chromium] Add WebLayer API for scrolling
158         https://bugs.webkit.org/show_bug.cgi?id=89913
159
160         Reviewed by Adrienne Walker.
161
162         Adds WebScrollableLayer type to represent a layer that can be scrolled by the user. Currently WebContentLayers
163         are scrollable and no other layer types are, although this might change in the future.
164
165         * chromium/public/WebContentLayer.h:
166         (WebKit::WebContentLayer::WebContentLayer):
167         * chromium/public/WebLayer.h:
168         (WebLayer):
169         * chromium/public/WebScrollableLayer.h:
170         (WebKit):
171         (WebScrollableLayer):
172         (WebKit::WebScrollableLayer::WebScrollableLayer):
173         (WebKit::WebScrollableLayer::~WebScrollableLayer):
174         (WebKit::WebScrollableLayer::operator=):
175
176 2012-06-25  Sheriff Bot  <webkit.review.bot@gmail.com>
177
178         Unreviewed, rolling out r121176.
179         http://trac.webkit.org/changeset/121176
180         https://bugs.webkit.org/show_bug.cgi?id=89934
181
182         [chromium] browser_tests assert failed:
183         FATAL:native_theme_win.cc(1541)] Check failed: false. Invalid
184         part: 16 (Requested by ukai on #webkit).
185
186         * chromium/public/win/WebThemeEngine.h:
187         (WebKit::WebThemeEngine::paintProgressBar):
188
189 2012-06-25  James Robinson  <jamesr@chromium.org>
190
191         [chromium] Use WebGraphicsContext3D in compositor implementation
192         https://bugs.webkit.org/show_bug.cgi?id=89700
193
194         Reviewed by Adrienne Walker.
195
196         Puts all callback destructors in protected section and removes obsolete memory callback signature.
197
198         * chromium/public/WebGraphicsContext3D.h:
199         (WebGraphicsContextLostCallback):
200         (WebGraphicsErrorMessageCallback):
201         (WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
202         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
203
204 2012-06-25  Scott Graham  <scottmg@chromium.org>
205
206         Plumb Scrollbar button dimensions through WebThemeEngine
207         https://bugs.webkit.org/show_bug.cgi?id=89264
208
209         Reviewed by James Robinson.
210
211         Rather than making the height of the scrollbar buttons the same as the
212         width of the scrollbar, delegate to the WebThemeEngine. This allows
213         matching the Aura theme rather than the standard Windows theme.
214
215         * chromium/public/win/WebThemeEngine.h:
216         (WebKit):
217         (WebThemeEngine):
218
219 2012-06-22  Kenneth Russell  <kbr@google.com>
220
221         Unreviewed, rolling out r121064.
222         http://trac.webkit.org/changeset/121064
223         https://bugs.webkit.org/show_bug.cgi?id=88268
224
225         Broke Chromium Mac build.
226
227         * Platform.gypi:
228         * chromium/public/WebLayerTreeView.h:
229         (WebKit):
230         (WebLayerTreeView):
231         * chromium/public/WebRenderingStats.h: Removed.
232
233 2012-06-22  Dave Tu  <dtu@chromium.org>
234
235         [chromium] Expose rendering statistics to WebWidget.
236         https://bugs.webkit.org/show_bug.cgi?id=88268
237
238         Reviewed by James Robinson.
239
240         The WebKit side of a basic framework for exposing rendering statistics
241         to Chromium's --enable-benchmarking extension.
242
243         * chromium/public/WebLayerTreeView.h:
244         (WebRenderingStatistics):
245         (WebKit):
246         (WebLayerTreeView):
247
248 2012-06-22  Jeff Timanus  <twiz@chromium.org>
249
250         [Chromium] Change implementing a fast-path for copying GPU-accelerated Canvas2D instances to WebGL textures.
251         https://bugs.webkit.org/show_bug.cgi?id=86275
252
253         This change adds the necessary plumbing to the various rendering contexts to copy the backing store texture of
254         a Canvas2D instance to be copied to a WebGL texture.  The GL_CHROMIUM_copy_texture extension is necessary
255         because the backing-store for a GPU-accelerated skia Canvas2D is normally in BGRA format, which is not supported
256         by glCopyTexImage.
257
258         Reviewed by Kenneth Russell.
259
260         * chromium/public/WebGraphicsContext3D.h:
261         (WebGraphicsContext3D):
262         (WebKit::WebGraphicsContext3D::copyTextureCHROMIUM):
263
264 2012-06-20  Christopher Cameron  <ccameron@chromium.org>
265
266         [chromium] webkit-backface-visibility doesn't work with video
267         https://bugs.webkit.org/show_bug.cgi?id=88908
268
269         When determining a contents layer's backface culling, use the parent
270         layer's transform and backface-visibility properties. Track which
271         layers need this special treatment with useParentBackfaceVisibility
272         and setUseParentBackfaceVisibility functions in WebCore::LayerChromium,
273         WebKit::WebLayer, and WebCore::CCLayerImpl.
274
275         Reviewed by Adrienne Walker.
276
277         * chromium/public/WebLayer.h:
278             (WebLayer):
279                 Add an accessor to specify that a layer should use its parent's
280                 backface culling behavior.
281
282 2012-06-19  Tony Payne  <tpayne@chromium.org>
283
284         Add monitor profile support for Win
285         https://bugs.webkit.org/show_bug.cgi?id=88565
286
287         Reviewed by Eric Seidel.
288
289         * chromium/public/Platform.h:
290         (Platform):
291         (WebKit::Platform::screenColorProfile):
292
293 2012-06-14  James Robinson  <jamesr@chromium.org>
294
295         [chromium] Use WebImageLayer in GraphicsLayerChromium for image layers
296         https://bugs.webkit.org/show_bug.cgi?id=89150
297
298         Reviewed by Adrienne Walker.
299
300         Adds a WebImageLayer type to represent layers backed by (guess what) Images.
301
302         * Platform.gypi:
303         * chromium/public/WebImageLayer.h: Added.
304         (WebCore):
305         (WebKit):
306         (WebImageLayer):
307         (WebKit::WebImageLayer::WebImageLayer):
308         (WebKit::WebImageLayer::~WebImageLayer):
309
310 2012-06-14  James Robinson  <jamesr@chromium.org>
311
312         [chromium] GraphicsLayerChromium should use WebContentLayer directly
313         https://bugs.webkit.org/show_bug.cgi?id=89145
314
315         Reviewed by Adrienne Walker.
316
317         Add an opaque rect parameter to WebContentLayerClient::paintContents() for a client to (optionally) provide
318         information about opaque portions of the painted region for culling optimizations.
319
320         * chromium/public/WebContentLayerClient.h:
321         (WebContentLayerClient):
322
323 2012-06-16  Robert Kroeger  <rjkroege@chromium.org>
324
325         [chromium] Make the deviceScaleFactor dynamically adjustable.
326         https://bugs.webkit.org/show_bug.cgi?id=88916
327
328         Reviewed by James Robinson.
329
330         * chromium/public/WebLayerTreeView.h: Plumb setDeviceScaleFactor and
331         deviceScaleFactor functions.
332         (WebKit::WebLayerTreeView::Settings::Settings): Remove deviceScaleFactor from
333         settings as it is now dynamic.
334         (Settings):
335         (WebLayerTreeView):
336
337 2012-06-14  Ian Vollick  <vollick@chromium.org>
338
339         [chromium] Certain settings in CCSettings could be global
340         https://bugs.webkit.org/show_bug.cgi?id=88384
341
342         Reviewed by James Robinson.
343
344         * chromium/public/WebLayerTreeView.h:
345         (WebCore):
346         (WebKit::WebLayerTreeView::Settings::Settings):
347         (Settings):
348
349 2012-06-14  Eugene Klyuchnikov  <eustas.bug@gmail.com>
350
351         Web Inspector: Refactor message loop instrumentation.
352         https://bugs.webkit.org/show_bug.cgi?id=88978
353
354         Reviewed by Pavel Feldman.
355
356         1) Remove "messageLoop" term
357         2) Reuse WebThread::TaskObserver interface
358         3) Move implementation (from embedder) to platform code.
359
360         * chromium/public/WebThread.h:
361         (TaskObserver): add "willProcessTask" method.
362
363 2012-06-13  Sheriff Bot  <webkit.review.bot@gmail.com>
364
365         Unreviewed, rolling out r120268.
366         http://trac.webkit.org/changeset/120268
367         https://bugs.webkit.org/show_bug.cgi?id=89060
368
369         WebCompositor::setPerTilePaintingEnabled hits an assertion in
370         DEBUG (Requested by dominicc|work on #webkit).
371
372         * chromium/public/WebLayerTreeView.h:
373         (WebCore):
374         (WebKit::WebLayerTreeView::Settings::Settings):
375         (Settings):
376
377 2012-06-13  Ian Vollick  <vollick@chromium.org>
378
379         [chromium] Certain settings in CCSettings could be global
380         https://bugs.webkit.org/show_bug.cgi?id=88384
381
382         Reviewed by James Robinson.
383
384         * chromium/public/WebLayerTreeView.h:
385         (WebCore):
386         (WebKit::WebLayerTreeView::Settings::Settings):
387         (Settings):
388
389 2012-06-12  James Robinson  <jamesr@chromium.org>
390
391         [chromium] Port Canvas2DLayerBridge over to WebExternalTextureLayer
392         https://bugs.webkit.org/show_bug.cgi?id=88597
393
394         Reviewed by Adrienne Walker.
395
396         This adds two new APIs to WebExternalTextureLayer that are used by the accelerated 2d canvas path:
397         - willModifyTexture() is called to indicate that a system outside the compositor's control is about to modify
398         the texture backing the WebExternalTextureLayer. This indicates to the compositor that it needs to avoid
399         producing more frames using this texture until it can do a full commit - either by double buffering or
400         appropriate flow control.
401
402         - setRateLimitContext() is called to enable rate limiting for this texture. The rate limiting logic blocks if
403         too many invalidate() or invalidateRect() calls are made on the texture outside of the context of a
404         WebLayerTreeViewClient::updateAnimations() call to prevent a non-vsynced producer from getting too far ahead of
405         the compositor.
406
407         * chromium/public/WebExternalTextureLayer.h:
408         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
409         (WebExternalTextureLayer):
410
411 2012-06-11  James Robinson  <jamesr@chromium.org>
412
413         [chromium] Port DrawingBufferChromium from TextureLayerChromium over to WebExternalTextureLayer
414         https://bugs.webkit.org/show_bug.cgi?id=86273
415
416         Reviewed by Adrienne Walker.
417
418         * Platform.gypi:
419         * chromium/public/WebExternalTextureLayer.h:
420         (WebKit):
421         (WebExternalTextureLayer):
422         * chromium/public/WebExternalTextureLayerClient.h: Copied from Source/WebKit/chromium/src/WebExternalTextureLayer.cpp.
423         (WebKit):
424         (WebTextureUpdater):
425         (WebKit::WebTextureUpdater::~WebTextureUpdater):
426         (WebExternalTextureLayerClient):
427         (WebKit::WebExternalTextureLayerClient::~WebExternalTextureLayerClient):
428
429 2012-06-11  Dana Jansens  <danakj@chromium.org>
430
431         [chromium] Separate CCVideoDrawQuad and from the layer tree and video provider by removing ManagedTexture and WebVideoFrame pointers from the quad
432         https://bugs.webkit.org/show_bug.cgi?id=88363
433
434         Reviewed by Adrienne Walker.
435
436         * Platform.gypi:
437         * chromium/public/WebVideoFrame.h:
438         * chromium/src/WebVideoFrame.cpp: Removed.
439
440 2012-06-08  David Reveman  <reveman@chromium.org>
441
442         [Chromium] Compositor doesn't support translucent root layers.
443         https://bugs.webkit.org/show_bug.cgi?id=87821
444
445         Reviewed by James Robinson.
446
447         * chromium/public/WebLayer.h:
448         (WebLayer):
449         * chromium/public/WebLayerTreeView.h:
450         (WebLayerTreeView):
451
452 2012-06-06  Mark Pilgrim  <pilgrim@chromium.org>
453
454         [Chromium] Move createMessagePortChannel to Platform.h
455         https://bugs.webkit.org/show_bug.cgi?id=85764
456
457         Reviewed by Adam Barth.
458
459         Part of a refactoring series. See tracking bug 82948.
460
461         * Platform.gypi:
462         * chromium/public/Platform.h:
463         (WebKit):
464         (Platform):
465         (WebKit::Platform::createMessagePortChannel):
466         * chromium/public/WebMessagePortChannel.h: Added.
467         (WebKit):
468         (WebMessagePortChannel):
469         (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
470         * chromium/public/WebMessagePortChannelClient.h: Added.
471         (WebKit):
472         (WebMessagePortChannelClient):
473         (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):
474
475 2012-06-05  Mark Pilgrim  <pilgrim@chromium.org>
476
477         [Chromium] Move createLocalStorageNamespace to Platform.h
478         https://bugs.webkit.org/show_bug.cgi?id=85766
479
480         Reviewed by James Robinson.
481
482         Part of a refactoring series. See tracking bug 82948.
483         
484         * Platform.gypi:
485         * chromium/public/Platform.h:
486         (WebKit):
487         (Platform):
488         (WebKit::Platform::createLocalStorageNamespace):
489         * chromium/public/WebStorageArea.h: Added.
490         (WebKit):
491         (WebStorageArea):
492         (WebKit::WebStorageArea::~WebStorageArea):
493         (WebKit::WebStorageArea::setItem):
494         (WebKit::WebStorageArea::removeItem):
495         (WebKit::WebStorageArea::clear):
496         * chromium/public/WebStorageNamespace.h: Added.
497         (WebKit):
498         (WebStorageNamespace):
499         (WebKit::WebStorageNamespace::~WebStorageNamespace):
500         (WebKit::WebStorageNamespace::isSameNamespace):
501
502 2012-06-01  Alexandre Elias  <aelias@google.com>
503
504         [chromium] Software compositor initialization and base classes
505         https://bugs.webkit.org/show_bug.cgi?id=87920
506
507         Reviewed by James Robinson.
508
509         Add a new setting to force software compositing.  In this mode,
510         no GraphicsContext3D should ever be created.
511
512         * chromium/public/WebLayerTreeView.h:
513         (WebKit::WebLayerTreeView::Settings::Settings):
514         (Settings):
515
516 2012-06-01  Mark Pilgrim  <pilgrim@chromium.org>
517
518         [Chromium] Call clipboard methods directly
519         https://bugs.webkit.org/show_bug.cgi?id=88038
520
521         Reviewed by Adam Barth.
522
523         Part of a refactoring series. See tracking bug 82948.
524
525         * chromium/public/WebClipboard.h:
526         (WebKit::WebClipboard::sequenceNumber):
527
528 2012-05-31  Shawn Singh  <shawnsingh@chromium.org>
529
530         [chromium] Migrate to WebTransformationMatrix
531         https://bugs.webkit.org/show_bug.cgi?id=87788
532
533         Reviewed by James Robinson.
534
535         * chromium/public/WebTransformationMatrix.h:
536         (WebTransformationMatrix):
537
538 2012-05-31  Dana Jansens  <danakj@chromium.org>
539
540         [chromium] Add copy constructor to WebFilterOperations
541         https://bugs.webkit.org/show_bug.cgi?id=87970
542
543         Reviewed by James Robinson.
544
545         * chromium/public/WebFilterOperations.h:
546         (WebKit::WebFilterOperations::WebFilterOperations):
547
548 2012-05-31  Ian Vollick  <vollick@chromium.org>
549
550         [chromium] create WebTransformOperation interface for chromium platform
551         https://bugs.webkit.org/show_bug.cgi?id=87510
552
553         Reviewed by James Robinson.
554
555         * Platform.gypi:
556         * chromium/public/WebTransformOperations.h: Added.
557         (WebKit):
558         (WebTransformOperations):
559         (WebKit::WebTransformOperations::~WebTransformOperations):
560         (WebKit::WebTransformOperations::WebTransformOperations):
561         (WebKit::WebTransformOperations::operator=):
562
563 2012-05-30  Yury Semikhatsky  <yurys@chromium.org>
564
565         Web Inspector: add MemoryUsageSupport::processMemorySizesInBytes
566         https://bugs.webkit.org/show_bug.cgi?id=87830
567
568         Reviewed by James Robinson.
569
570         * chromium/public/Platform.h:
571         (Platform):
572         (WebKit::Platform::processMemorySizesInBytes): moved this method from
573         Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h, also
574         removed 'get' prefix.
575
576 2012-05-29  Mark Pilgrim  <pilgrim@chromium.org>
577
578         [Chromium] Move fileExists to Platform.h
579         https://bugs.webkit.org/show_bug.cgi?id=87531
580
581         Reviewed by Adam Barth.
582
583         Call fileExists through fileUtilities(), not directly.
584
585         * chromium/public/Platform.h:
586         (Platform):
587
588 2012-05-29  Mark Pilgrim  <pilgrim@chromium.org>
589
590         [Chromium] Move fileExists to Platform.h
591         https://bugs.webkit.org/show_bug.cgi?id=87531
592
593         Reviewed by Adam Barth.
594
595         Part of a refactoring series. See tracking bug 82948.
596
597         * chromium/public/Platform.h:
598         (WebKit::Platform::fileExists):
599         (Platform):
600
601 2012-05-29  Shawn Singh  <shawnsingh@chromium.org>
602
603         [chromium] make WebTransformationMatrix object usable by non-webkit code
604         https://bugs.webkit.org/show_bug.cgi?id=87315
605
606         Reviewed by James Robinson.
607
608         * chromium/public/WebTransformationMatrix.h:
609         (WebKit::WebTransformationMatrix::~WebTransformationMatrix):
610         (WebTransformationMatrix):
611
612 2012-05-25  Kinuko Yasuda  <kinuko@chromium.org>
613
614         [chromium] Deprecate FileUtilities::getFileSize and getFileModifiedTime in favor of getFileMetadata
615         https://bugs.webkit.org/show_bug.cgi?id=87492
616
617         Reviewed by Adam Barth.
618
619         * chromium/public/WebFileUtilities.h:
620
621 2012-05-25  Mark Pilgrim  <pilgrim@chromium.org>
622
623         [Chomium] Move sandboxSupport to Platform.h
624         https://bugs.webkit.org/show_bug.cgi?id=87518
625
626         Reviewed by Adam Barth.
627
628         Part of a refactoring series. See tracking bug 82948.
629
630         * Platform.gypi:
631         * chromium/public/Platform.h:
632         (WebKit):
633         (Platform):
634         (WebKit::Platform::sandboxSupport):
635         * chromium/public/android/WebSandboxSupport.h: Added.
636         (WebKit):
637         (WebSandboxSupport):
638         * chromium/public/linux/WebFontFamily.h: Added.
639         (WebKit):
640         (WebFontFamily):
641         * chromium/public/linux/WebSandboxSupport.h: Added.
642         (WebKit):
643         (WebSandboxSupport):
644         * chromium/public/mac/WebSandboxSupport.h: Added.
645         (WebKit):
646         (WebSandboxSupport):
647         * chromium/public/win/WebSandboxSupport.h: Added.
648         (WebKit):
649         (WebSandboxSupport):
650
651 2012-05-17  Andrey Kosyakov  <caseq@chromium.org>
652
653         [chromium] add instrumentation for compositing
654         https://bugs.webkit.org/show_bug.cgi?id=83928
655
656         Reviewed by James Robinson.
657
658         - added willCommit() and didBeginFrame() methods for instrumentation of compositing.
659
660         * chromium/public/WebLayerTreeViewClient.h:
661         (WebLayerTreeViewClient):
662
663 2012-05-21  Kinuko Yasuda  <kinuko@chromium.org>
664
665         Cleanup: add a file system call which captures the file metadata at once.
666         https://bugs.webkit.org/show_bug.cgi?id=86995
667
668         Reviewed by David Levin.
669
670         * Platform.gypi: Added an entry for WebFileInfo.h.
671         * chromium/public/WebFileInfo.h: Renamed from Source/WebKit/chromium/public/WebFileInfo.h.
672         (WebKit::WebFileInfo::WebFileInfo):
673         * chromium/public/WebFileUtilities.h:
674         (WebKit):
675         (WebKit::WebFileUtilities::getFileInfo): Added.
676
677 2012-05-24  Antoine Labour  <piman@chromium.org>
678
679         [chromium] Add a setForceRenderSurface to WebLayer for test/bench purpose
680         https://bugs.webkit.org/show_bug.cgi?id=87436
681
682         Reviewed by James Robinson.
683
684         * chromium/public/WebLayer.h:
685         (WebLayer):
686
687 2012-05-24  Mark Pilgrim  <pilgrim@chromium.org>
688
689         [Chromium] Move queryLocalizedString to Platform.h
690         https://bugs.webkit.org/show_bug.cgi?id=85762
691
692         Reviewed by Adam Barth.
693
694         Part of a refactoring series. See tracking bug 82948.
695
696         * Platform.gypi:
697         * chromium/public/Platform.h:
698         (WebKit):
699         (Platform):
700         (WebKit::Platform::queryLocalizedString):
701         * chromium/public/WebLocalizedString.h: Added.
702         (WebKit):
703
704 2012-05-23  Sheriff Bot  <webkit.review.bot@gmail.com>
705
706         Unreviewed, rolling out r118218.
707         http://trac.webkit.org/changeset/118218
708         https://bugs.webkit.org/show_bug.cgi?id=87299
709
710         breaks webkit win builder (Requested by pilgrim_google__ on
711         #webkit).
712
713         * Platform.gypi:
714         * chromium/public/Platform.h:
715         (WebKit):
716         (Platform):
717         * chromium/public/WebLocalizedString.h: Removed.
718
719 2012-05-23  Mark Pilgrim  <pilgrim@chromium.org>
720
721         [Chromium] Move themeEngine to Platform.h
722         https://bugs.webkit.org/show_bug.cgi?id=87268
723
724         Reviewed by Adam Barth.
725
726         Part of a refactoring series. See tracking bug 82948.
727
728         * Platform.gypi:
729         * chromium/public/Platform.h:
730         (WebKit):
731         (Platform):
732         (WebKit::Platform::themeEngine):
733         * chromium/public/android: Added.
734         * chromium/public/android/WebThemeEngine.h: Added.
735         (WebKit):
736         (WebThemeEngine):
737         (ScrollbarTrackExtraParams):
738         (ButtonExtraParams):
739         (TextFieldExtraParams):
740         (MenuListExtraParams):
741         (SliderExtraParams):
742         (InnerSpinButtonExtraParams):
743         (ProgressBarExtraParams):
744         (WebKit::WebThemeEngine::getSize):
745         (WebKit::WebThemeEngine::paint):
746         * chromium/public/linux: Added.
747         * chromium/public/linux/WebThemeEngine.h: Added.
748         (WebKit):
749         (WebThemeEngine):
750         (ScrollbarTrackExtraParams):
751         (ButtonExtraParams):
752         (TextFieldExtraParams):
753         (MenuListExtraParams):
754         (SliderExtraParams):
755         (InnerSpinButtonExtraParams):
756         (ProgressBarExtraParams):
757         (WebKit::WebThemeEngine::getSize):
758         (WebKit::WebThemeEngine::paint):
759         * chromium/public/mac: Added.
760         * chromium/public/mac/WebThemeEngine.h: Added.
761         (WebKit):
762         (WebThemeEngine):
763         (ScrollbarInfo):
764         (WebKit::WebThemeEngine::paintScrollbarThumb):
765         * chromium/public/win: Added.
766         * chromium/public/win/WebThemeEngine.h: Added.
767         (WebKit):
768         (WebThemeEngine):
769         (WebKit::WebThemeEngine::paintSpinButton):
770         (WebKit::WebThemeEngine::paintProgressBar):
771
772 2012-05-23  Mark Pilgrim  <pilgrim@chromium.org>
773
774         [Chromium] Move queryLocalizedString to Platform.h
775         https://bugs.webkit.org/show_bug.cgi?id=85762
776
777         Reviewed by Adam Barth.
778
779         Part of a refactoring series. See tracking bug 82948.
780
781         * Platform.gypi:
782         * chromium/public/Platform.h:
783         (WebKit):
784         (Platform):
785         (WebKit::Platform::queryLocalizedString):
786         * chromium/public/WebLocalizedString.h: Added.
787         (WebKit):
788
789 2012-05-22  Mark Pilgrim  <pilgrim@chromium.org>
790
791         [Chromium] Call canAccelerate2dCanvas directly
792         https://bugs.webkit.org/show_bug.cgi?id=86893
793
794         Reviewed by James Robinson.
795
796         Part of a refactoring series. See tracking bug 82948.
797
798         * chromium/public/Platform.h:
799         (Platform):
800         (WebKit::Platform::canAccelerate2dCanvas):
801
802 2012-05-22  Mark Pilgrim  <pilgrim@chromium.org>
803
804         [Chromium] Move cookieJar to Platform.h
805         https://bugs.webkit.org/show_bug.cgi?id=86755
806
807         Reviewed by Adam Barth.
808
809         Part of a refactoring series. See tracking bug 82948.
810
811         * Platform.gypi:
812         * chromium/public/Platform.h:
813         (WebKit):
814         (Platform):
815         (WebKit::Platform::cookieJar):
816         * chromium/public/WebCookie.h: Added.
817         (WebKit):
818         (WebKit::WebCookie::WebCookie):
819         (WebCookie):
820         * chromium/public/WebCookieJar.h: Added.
821         (WebKit):
822         (WebCookieJar):
823         (WebKit::WebCookieJar::setCookie):
824         (WebKit::WebCookieJar::cookies):
825         (WebKit::WebCookieJar::cookieRequestHeaderFieldValue):
826         (WebKit::WebCookieJar::rawCookies):
827         (WebKit::WebCookieJar::deleteCookie):
828         (WebKit::WebCookieJar::cookiesEnabled):
829         (WebKit::WebCookieJar::~WebCookieJar):
830
831 2012-05-22  Gavin Peters  <gavinp@chromium.org>
832
833         [Chromium] Remove old staging enum value WebURLRequest::TargetType::TargetIsPrerender
834         https://bugs.webkit.org/show_bug.cgi?id=85021
835
836         Reviewed by Adam Barth.
837
838         * chromium/public/WebURLRequest.h:
839
840 2012-05-21  James Robinson  <jamesr@chromium.org>
841
842         [chromium] Port chromium compositor to use WebFilterOperation(s)
843         https://bugs.webkit.org/show_bug.cgi?id=87046
844
845         Reviewed by Adrienne Walker.
846
847         This changes WebFilterOperation / WebFilterOperations from being simple wrappers over WebCore types to being
848         standalone. WebFilterOperation is a plain old data struct with some convenience constuctors and type
849         assertions. Each WebFilterOperation contains a type tag and the parameters needed for each filter.
850         WebFilterOperations represents an ordered list of WebFilterOperation instances and can be copied around as
851         needed. It also exposes a few convenience functions about how the filters will modify pixels.
852
853         * Platform.gypi:
854         * chromium/public/WebFilterOperation.h:
855         (WebFilterOperation):
856         (WebKit::WebFilterOperation::type):
857         (WebKit::WebFilterOperation::amount):
858         (WebKit::WebFilterOperation::dropShadowOffset):
859         (WebKit::WebFilterOperation::dropShadowColor):
860         (WebKit::WebFilterOperation::createGrayscaleFilter):
861         (WebKit::WebFilterOperation::createSepiaFilter):
862         (WebKit::WebFilterOperation::createSaturateFilter):
863         (WebKit::WebFilterOperation::createHueRotateFilter):
864         (WebKit::WebFilterOperation::createInvertFilter):
865         (WebKit::WebFilterOperation::createBrightnessFilter):
866         (WebKit::WebFilterOperation::createContrastFilter):
867         (WebKit::WebFilterOperation::createOpacityFilter):
868         (WebKit::WebFilterOperation::createBlurFilter):
869         (WebKit::WebFilterOperation::createDropShadowFilter):
870         (WebKit::WebFilterOperation::equals):
871         (WebKit::WebFilterOperation::WebFilterOperation):
872         (WebKit::operator==):
873         (WebKit::operator!=):
874         * chromium/public/WebFilterOperations.h:
875         (WebKit):
876         (WebKit::WebFilterOperations::WebFilterOperations):
877         (WebKit::WebFilterOperations::operator=):
878         (WebFilterOperations):
879         (WebKit::operator==):
880         (WebKit::operator!=):
881         * chromium/src/WebFilterOperations.cpp: Added.
882         (WebKit):
883         (WebFilterOperationsPrivate):
884         (WebKit::WebFilterOperations::initialize):
885         (WebKit::WebFilterOperations::destroy):
886         (WebKit::WebFilterOperations::assign):
887         (WebKit::WebFilterOperations::equals):
888         (WebKit::WebFilterOperations::append):
889         (WebKit::WebFilterOperations::clear):
890         (WebKit::WebFilterOperations::isEmpty):
891         (WebKit::spreadForStdDeviation):
892         (WebKit::WebFilterOperations::getOutsets):
893         (WebKit::WebFilterOperations::hasFilterThatMovesPixels):
894         (WebKit::WebFilterOperations::hasFilterThatAffectsOpacity):
895         (WebKit::WebFilterOperations::size):
896         (WebKit::WebFilterOperations::at):
897
898 2012-05-17  Mark Pilgrim  <pilgrim@chromium.org>
899
900         [Chromium] Move Web Workers methods to Platform.h
901         https://bugs.webkit.org/show_bug.cgi?id=86799
902
903         Reviewed by Adam Barth.
904
905         Part of a refactoring series. See tracking bug 82948.
906
907         * Platform.gypi:
908         * chromium/public/Platform.h:
909         (WebKit):
910         (Platform):
911         (WebKit::Platform::didStartWorkerRunLoop):
912         (WebKit::Platform::didStopWorkerRunLoop):
913         * chromium/public/WebWorkerRunLoop.h: Added.
914         (WebCore):
915         (WebKit):
916         (WebWorkerRunLoop):
917         (Task):
918         (WebKit::WebWorkerRunLoop::Task::~Task):
919         (WebKit::operator==):
920         (WebKit::operator<):
921
922 2012-05-17  Dana Jansens  <danakj@chromium.org>
923
924         [chromium] Scale all compositor output by the defaultDeviceScaleFactor
925         https://bugs.webkit.org/show_bug.cgi?id=86051
926
927         Reviewed by James Robinson.
928
929         * chromium/public/WebLayerTreeView.h:
930         (WebKit::WebLayerTreeView::Settings::Settings):
931         (Settings):
932
933 2012-05-17  Ami Fischman  <fischman@chromium.org>
934
935         [Chromium] Store HTTP version in WebURLResponse
936         https://bugs.webkit.org/show_bug.cgi?id=86522
937
938         Reviewed by Adam Barth.
939
940         * chromium/public/WebURLResponse.h:
941         (WebURLResponse):
942
943 2012-05-17  Vangelis Kokkevis  <vangelis@chromium.org>
944
945         [chromium] Expose layer tiling size options to WebSettings
946         https://bugs.webkit.org/show_bug.cgi?id=86425
947
948         Adding entries for tile size and max untiled layer size.
949         
950         Reviewed by Adrienne Walker.
951
952         * chromium/public/WebLayerTreeView.h:
953         (WebKit):
954         (WebKit::WebLayerTreeView::Settings::Settings):
955         (Settings):
956
957 2012-05-17  Mark Pilgrim  <pilgrim@chromium.org>
958
959         [Chromium] Move fileUtilities to Platform.h
960         https://bugs.webkit.org/show_bug.cgi?id=86777
961
962         Reviewed by Adam Barth.
963
964         Part of a refactoring series. See tracking bug 82948.
965
966         * Platform.gypi:
967         * chromium/public/Platform.h:
968         (WebKit):
969         (Platform):
970         (WebKit::Platform::fileUtilities):
971         * chromium/public/WebFileUtilities.h: Added.
972         (WebKit):
973         (WebFileUtilities):
974         (WebKit::WebFileUtilities::revealFolderInOS):
975         (WebKit::WebFileUtilities::fileExists):
976         (WebKit::WebFileUtilities::deleteFile):
977         (WebKit::WebFileUtilities::deleteEmptyDirectory):
978         (WebKit::WebFileUtilities::getFileSize):
979         (WebKit::WebFileUtilities::getFileModificationTime):
980         (WebKit::WebFileUtilities::directoryName):
981         (WebKit::WebFileUtilities::pathByAppendingComponent):
982         (WebKit::WebFileUtilities::makeAllDirectories):
983         (WebKit::WebFileUtilities::getAbsolutePath):
984         (WebKit::WebFileUtilities::isDirectory):
985         (WebKit::WebFileUtilities::filePathToURL):
986         (WebKit::WebFileUtilities::openFile):
987         (WebKit::WebFileUtilities::closeFile):
988         (WebKit::WebFileUtilities::seekFile):
989         (WebKit::WebFileUtilities::truncateFile):
990         (WebKit::WebFileUtilities::readFromFile):
991         (WebKit::WebFileUtilities::writeToFile):
992         (WebKit::WebFileUtilities::~WebFileUtilities):
993
994 2012-05-11  James Robinson  <jamesr@chromium.org>
995
996         [chromium] Convert GraphicsLayerChromium to use WebLayer types
997         https://bugs.webkit.org/show_bug.cgi?id=86269
998
999         Reviewed by Adrienne Walker.
1000
1001         Adds some new WebLayer / WebContentLayer APIs that WebCore::GraphicsLayerChromium needs.
1002
1003         * chromium/public/WebContentLayer.h:
1004         (WebCore):
1005         (WebKit):
1006         (WebContentLayer):
1007         * chromium/public/WebLayer.h:
1008         (WebKit):
1009         (WebKit::WebLayer::isNull):
1010         (WebLayer):
1011         * chromium/public/WebTransformationMatrix.h:
1012         (WebKit::WebTransformationMatrix::~WebTransformationMatrix):
1013             Fix a memory leak - WebPrivateOwnPtr<>s have to be explicitly cleared.
1014         (WebTransformationMatrix):
1015
1016 2012-05-16  Dana Jansens  <danakj@chromium.org>
1017
1018         [chromium] Clear the m_private pointer when destroying WebFilterOperations to avoid assert in WebPrivateOwnPtr
1019         https://bugs.webkit.org/show_bug.cgi?id=86654
1020
1021         Reviewed by James Robinson.
1022
1023         * chromium/public/WebFilterOperations.h:
1024         (WebKit::WebFilterOperations::~WebFilterOperations):
1025         (WebFilterOperations):
1026
1027 2012-05-16  Kenichi Ishibashi  <bashi@chromium.org>
1028
1029         [Chromium] WebTransformationMatrixTest.verifyDefaultConstructorCreatesIdentityMatrix is failing
1030         https://bugs.webkit.org/show_bug.cgi?id=86589
1031
1032         Reviewed by Kent Tamura.
1033
1034         * chromium/public/WebTransformationMatrix.h: Added destructor.
1035         (WebTransformationMatrix):
1036
1037 2012-05-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1038
1039         Unreviewed, rolling out r117204.
1040         http://trac.webkit.org/changeset/117204
1041         https://bugs.webkit.org/show_bug.cgi?id=86559
1042
1043         causing win compilation failures (Requested by pilgrim_google_
1044         on #webkit).
1045
1046         * Platform.gypi:
1047         * chromium/public/Platform.h:
1048         (WebKit):
1049         (Platform):
1050         * chromium/public/WebMessagePortChannel.h: Removed.
1051         * chromium/public/WebMessagePortChannelClient.h: Removed.
1052
1053 2012-05-15  Mark Pilgrim  <pilgrim@chromium.org>
1054
1055         [Chromium] Move createMessagePortChannel to Platform.h
1056         https://bugs.webkit.org/show_bug.cgi?id=85764
1057
1058         Reviewed by Adam Barth.
1059
1060         Part of a refactoring series. See tracking bug 82948.
1061
1062         * Platform.gypi:
1063         * chromium/public/Platform.h:
1064         (WebKit):
1065         (Platform):
1066         (WebKit::Platform::createMessagePortChannel):
1067         * chromium/public/WebMessagePortChannel.h: Added.
1068         (WebKit):
1069         (WebMessagePortChannel):
1070         (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
1071         * chromium/public/WebMessagePortChannelClient.h: Added.
1072         (WebKit):
1073         (WebMessagePortChannelClient):
1074         (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):
1075
1076 2012-05-15  Mark Pilgrim  <pilgrim@chromium.org>
1077
1078         [Chromium] Move blobRegistry to Platform.h
1079         https://bugs.webkit.org/show_bug.cgi?id=85765
1080
1081         Reviewed by Adam Barth.
1082
1083         Part of a refactoring series. See tracking bug 82948.
1084
1085         * Platform.gypi:
1086         * chromium/public/Platform.h:
1087         (WebKit):
1088         (Platform):
1089         (WebKit::Platform::blobRegistry):
1090         * chromium/public/WebBlobData.h: Added.
1091         (WebKit):
1092         (WebBlobData):
1093         (WebKit::WebBlobData::~WebBlobData):
1094         (WebKit::WebBlobData::WebBlobData):
1095         (WebKit::WebBlobData::isNull):
1096         * chromium/public/WebBlobRegistry.h: Added.
1097         (WebKit):
1098         (WebBlobRegistry):
1099         (WebKit::WebBlobRegistry::~WebBlobRegistry):
1100
1101 2012-05-15  James Robinson  <jamesr@chromium.org>
1102
1103         [chromium] Remove WEBKIT_USING_(SKIA|CG) #defines
1104         https://bugs.webkit.org/show_bug.cgi?id=86536
1105
1106         Reviewed by Adam Barth.
1107
1108         The Chromium port always using Skia, so WEBKIT_USING_CG has been dead code for many moons.
1109
1110         * chromium/public/WebCommon.h:
1111
1112 2012-05-15  James Robinson  <jamesr@chromium.org>
1113
1114         [chromium] Move createOffscreenGraphicsContext3D() from WebKitPlatformSupport to Platform
1115         https://bugs.webkit.org/show_bug.cgi?id=86524
1116
1117         Reviewed by Adam Barth.
1118
1119         Moves createOffscreenGraphicsContext3D(), previously on WebKitPlatformSupport, to WebKit::Platform.
1120
1121         * chromium/public/Platform.h:
1122         (Platform):
1123         (WebKit::Platform::createOffscreenGraphicsContext3D):
1124
1125 2012-05-14  Gavin Peters  <gavinp@chromium.org>
1126
1127         Add Prerenderer, PrerenderHandle and a chromium interface for Prerendering.
1128         https://bugs.webkit.org/show_bug.cgi?id=85005
1129
1130         Reviewed by Adam Barth.
1131
1132         * Platform.gypi:
1133         * chromium/public/WebPrerender.h:
1134         (WebKit::WebPrerender::referrer):
1135         (WebCore):
1136         (WebPrerender):
1137         * chromium/public/WebPrerenderingSupport.h:
1138         (WebKit):
1139         (WebPrerenderingSupport):
1140         * chromium/public/WebURLRequest.h:
1141         * chromium/src/WebPrerenderingSupport.cpp: Added.
1142         (WebKit):
1143         (WebKit::WebPrerenderingSupport::initialize):
1144         (WebKit::WebPrerenderingSupport::shutdown):
1145         (WebKit::WebPrerenderingSupport::current):
1146
1147 2012-05-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1148
1149         Unreviewed, rolling out r116812.
1150         http://trac.webkit.org/changeset/116812
1151         https://bugs.webkit.org/show_bug.cgi?id=86313
1152
1153         Appears to be causing a top crash (Requested by abarth on
1154         #webkit).
1155
1156         * Platform.gypi:
1157         * chromium/public/Platform.h:
1158         (WebKit):
1159         * chromium/public/WebStorageArea.h: Removed.
1160         * chromium/public/WebStorageNamespace.h: Removed.
1161
1162 2012-05-11  Shawn Singh  <shawnsingh@chromium.org>
1163
1164         [chromium] Plumb --show-paint-rects to accelerated compositor
1165         https://bugs.webkit.org/show_bug.cgi?id=86255
1166
1167         Reviewed by James Robinson.
1168
1169         * chromium/public/WebLayerTreeView.h:
1170         (WebKit::WebLayerTreeView::Settings::Settings):
1171         (Settings):
1172
1173 2012-05-11  Mark Pilgrim  <pilgrim@chromium.org>
1174
1175         [Chromium] Move createLocalStorageNamespace to Platform.h
1176         https://bugs.webkit.org/show_bug.cgi?id=85766
1177
1178         Reviewed by Adam Barth.
1179
1180         Part of a refactoring series. See tracking bug 82948.
1181
1182         * Platform.gypi:
1183         * chromium/public/Platform.h:
1184         (WebKit):
1185         (Platform):
1186         (WebKit::Platform::createLocalStorageNamespace):
1187         * chromium/public/WebStorageArea.h: Added.
1188         (WebKit):
1189         (WebStorageArea):
1190         (WebKit::WebStorageArea::~WebStorageArea):
1191         (WebKit::WebStorageArea::setItem):
1192         (WebKit::WebStorageArea::removeItem):
1193         (WebKit::WebStorageArea::clear):
1194         * chromium/public/WebStorageNamespace.h: Added.
1195         (WebKit):
1196         (WebStorageNamespace):
1197         (WebKit::WebStorageNamespace::~WebStorageNamespace):
1198         (WebKit::WebStorageNamespace::isSameNamespace):
1199
1200 2012-05-11  Shawn Singh  <shawnsingh@chromium.org>
1201
1202         [chromium] Create WebTransformationMatrix interface for chromium platform
1203         https://bugs.webkit.org/show_bug.cgi?id=86049
1204
1205         Reviewed by James Robinson.
1206
1207         * Platform.gyp/Platform.gyp:
1208         * Platform.gypi:
1209         * chromium/public/WebTransformationMatrix.h: Added.
1210         (WebCore):
1211         (WebKit):
1212         (WebTransformationMatrix):
1213
1214 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
1215
1216         [Chromium] Remove WEBKIT_USING_SKIA ifdefs that are always true
1217         https://bugs.webkit.org/show_bug.cgi?id=86121
1218
1219         Reviewed by Adam Barth.
1220
1221         Chromium always uses Skia now, so this just removes the barriers
1222         around code that was previously #if'd.
1223
1224         * chromium/public/WebCanvas.h:
1225         (WebKit):
1226         * chromium/public/WebGraphicsContext3D.h:
1227         (WebGraphicsContext3D):
1228         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
1229         * chromium/public/WebImage.h:
1230         (WebImage):
1231
1232 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
1233
1234         [Chromium] Remove dead code behind unused WEBKIT_USING_CG
1235         https://bugs.webkit.org/show_bug.cgi?id=86018
1236
1237         Reviewed by Adam Barth.
1238
1239         We never use CoreGraphics as the backend for GraphicsContext in
1240         Chromium, so this is all dead code.
1241
1242         * chromium/public/WebCanvas.h:
1243         (WebKit):
1244         * chromium/public/WebImage.h:
1245         (WebImage):
1246
1247 2012-05-09  Mark Pilgrim  <pilgrim@chromium.org>
1248
1249         [Chromium] Move clipboard to Platform.h
1250         https://bugs.webkit.org/show_bug.cgi?id=85758
1251
1252         Reviewed by Adam Barth.
1253
1254         Part of a refactoring series. See tracking bug 82948.
1255
1256         * Platform.gypi:
1257         * chromium/public/Platform.h:
1258         (WebKit):
1259         (Platform):
1260         (WebKit::Platform::clipboard):
1261         * chromium/public/WebClipboard.h: Added.
1262         (WebKit):
1263         (WebClipboard):
1264         (WebKit::WebClipboard::sequenceNumber):
1265         (WebKit::WebClipboard::isFormatAvailable):
1266         (WebKit::WebClipboard::readAvailableTypes):
1267         (WebKit::WebClipboard::readPlainText):
1268         (WebKit::WebClipboard::readHTML):
1269         (WebKit::WebClipboard::readImage):
1270         (WebKit::WebClipboard::readCustomData):
1271         (WebKit::WebClipboard::writePlainText):
1272         (WebKit::WebClipboard::writeHTML):
1273         (WebKit::WebClipboard::writeURL):
1274         (WebKit::WebClipboard::writeImage):
1275         (WebKit::WebClipboard::writeDataObject):
1276         (WebKit::WebClipboard::~WebClipboard):
1277         * chromium/public/WebDragData.h: Added.
1278         (WebKit):
1279         (WebDragData):
1280         (WebKit::WebDragData::~WebDragData):
1281         (WebKit::WebDragData::WebDragData):
1282         (WebKit::WebDragData::operator=):
1283         (WebKit::WebDragData::isNull):
1284         * chromium/public/WebImage.h: Added.
1285         (WebKit):
1286         (WebImage):
1287         (WebKit::WebImage::~WebImage):
1288         (WebKit::WebImage::WebImage):
1289         (WebKit::WebImage::operator=):
1290         (WebKit::WebImage::getSkBitmap):
1291         (WebKit::WebImage::init):
1292         (WebKit::WebImage::getCGImageRef):
1293
1294 2012-05-09  Tommy Widenflycht  <tommyw@google.com>
1295
1296         MediaStream API: Adding the possibility of port specific information in MediaStreamDescriptor
1297         https://bugs.webkit.org/show_bug.cgi?id=85794
1298
1299         Reviewed by Adam Barth.
1300
1301         To facilitate for ports I have added an ExtraData field that can be used for whatever purpose is needed.
1302
1303         * chromium/public/WebMediaStreamDescriptor.h:
1304         (ExtraData):
1305         (WebKit::WebMediaStreamDescriptor::ExtraData::~ExtraData):
1306         (WebMediaStreamDescriptor):
1307
1308 2012-05-07  Mark Pilgrim  <pilgrim@chromium.org>
1309
1310         [Chromium] Move fileSystem to Platform.h
1311         https://bugs.webkit.org/show_bug.cgi?id=85760
1312
1313         Reviewed by Adam Barth.
1314
1315         Part of a refactoring series. See tracking bug 82948.
1316
1317         * Platform.gypi:
1318         * chromium/public/Platform.h:
1319         (WebKit):
1320         (Platform):
1321         (WebKit::Platform::fileSystem):
1322         * chromium/public/WebFileSystem.h: Added.
1323         (WebKit):
1324         (WebFileSystem):
1325         (WebKit::WebFileSystem::move):
1326         (WebKit::WebFileSystem::copy):
1327         (WebKit::WebFileSystem::remove):
1328         (WebKit::WebFileSystem::removeRecursively):
1329         (WebKit::WebFileSystem::readMetadata):
1330         (WebKit::WebFileSystem::createFile):
1331         (WebKit::WebFileSystem::createDirectory):
1332         (WebKit::WebFileSystem::fileExists):
1333         (WebKit::WebFileSystem::directoryExists):
1334         (WebKit::WebFileSystem::readDirectory):
1335         (WebKit::WebFileSystem::createFileWriter):
1336         (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata):
1337         (WebKit::WebFileSystem::~WebFileSystem):
1338
1339 2012-05-07  Tommy Widenflycht  <tommyw@google.com>
1340
1341         MediaStream API: Rename MediaStreamCenter::didConstructMediaStream
1342         https://bugs.webkit.org/show_bug.cgi?id=85796
1343
1344         Reviewed by Adam Barth.
1345
1346         Renamed WebMediaStreamCenter::didConstructMediaStream to didCreateMediaStream,
1347         and change so that it is only called for MediaStreams created from JS.
1348         Also send out the WebMediaStreamDescriptor non-const instead.
1349
1350         * chromium/public/WebMediaStreamCenter.h:
1351         (WebKit::WebMediaStreamCenter::didCreateMediaStream):
1352         (WebMediaStreamCenter):
1353         (WebKit::WebMediaStreamCenter::didConstructMediaStream):
1354
1355 2012-05-07  Tommy Widenflycht  <tommyw@google.com>
1356
1357         MediaStream API: Allow UserMediaRequest::succeed to take an MediaStreamDescriptor
1358         https://bugs.webkit.org/show_bug.cgi?id=85798
1359
1360         Reviewed by Adam Barth.
1361
1362         Adding another UserMediaRequest::succeed function that takes an MediaStreamDescriptor
1363         instead of the two MediaStreamSource arrays.
1364
1365         * chromium/public/WebMediaStreamCenter.h:
1366         (WebMediaStreamCenter):
1367         (WebKit::WebMediaStreamCenter::constructSDP):
1368
1369 2012-05-04  Tommy Widenflycht  <tommyw@google.com>
1370
1371         MediaStream API: Make PeerConnection00's API fully compliant with the draft
1372         https://bugs.webkit.org/show_bug.cgi?id=85491
1373
1374         Reviewed by Adam Barth.
1375
1376         * chromium/public/WebPeerConnection00HandlerClient.h:
1377
1378 2012-05-02  Dana Jansens  <danakj@chromium.org>
1379
1380         [chromium] Don't occlude pixels in a surface that are needed for a background filter blur
1381         https://bugs.webkit.org/show_bug.cgi?id=84317
1382
1383         Reviewed by Adrienne Walker.
1384
1385         * chromium/public/WebFilterOperation.h:
1386
1387 2012-05-01  Gavin Peters  <gavinp@chromium.org>
1388
1389         [Chromium] Fix WebPrerender::referrer() thunk.
1390         https://bugs.webkit.org/show_bug.cgi?id=85290
1391
1392         Reviewed by Dimitri Glazkov.
1393
1394         * chromium/public/WebPrerender.h:
1395         (WebKit::WebPrerender::referrer):
1396
1397 2012-04-30  Gavin Peters  <gavinp@chromium.org>
1398
1399         [Chromium] Add thunk headers for staging Prerendering API.
1400         https://bugs.webkit.org/show_bug.cgi?id=84880
1401
1402         Reviewed by Adam Barth.
1403
1404         These empty headers will be replaced by the actual API when Bug 85005 is commited.
1405
1406         * Platform.gypi:
1407         * chromium/public/WebPrerender.h: Added.
1408         (WebKit):
1409         (WebPrerender):
1410         (ExtraData):
1411         (WebKit::WebPrerender::ExtraData::~ExtraData):
1412         (WebKit::WebPrerender::url):
1413         (WebKit::WebPrerender::referrer):
1414         (WebKit::WebPrerender::referrerPolicy):
1415         (WebKit::WebPrerender::setExtraData):
1416         (WebKit::WebPrerender::extraData):
1417         (WebKit::WebPrerender::WebPrerender):
1418         (WebKit::WebPrerender::~WebPrerender):
1419         * chromium/public/WebPrerenderingSupport.h: Added.
1420         (WebKit):
1421         (WebPrerenderingSupport):
1422         (WebKit::WebPrerenderingSupport::initialize):
1423         (WebKit::WebPrerenderingSupport::shutdown):
1424         (WebKit::WebPrerenderingSupport::current):
1425         (WebKit::WebPrerenderingSupport::add):
1426         (WebKit::WebPrerenderingSupport::cancel):
1427         (WebKit::WebPrerenderingSupport::abandon):
1428         (WebKit::WebPrerenderingSupport::WebPrerenderingSupport):
1429         (WebKit::WebPrerenderingSupport::~WebPrerenderingSupport):
1430
1431 2012-04-26  James Robinson  <jamesr@chromium.org>
1432
1433         [chromium] Separate IOSurface layer type from texture layers
1434         https://bugs.webkit.org/show_bug.cgi?id=85030
1435
1436         Reviewed by Adrienne Walker.
1437
1438         Adds a new layer type for IOSurface backed layers, instead of sharing that functionality in
1439         WebExternalTextureLayer. IOSurface backed layers do not share any other properties with external texture layers.
1440
1441         * Platform.gypi:
1442         * chromium/public/WebExternalTextureLayer.h:
1443         (WebExternalTextureLayer):
1444         * chromium/public/WebIOSurfaceLayer.h:
1445         (WebCore):
1446         (WebKit):
1447         (WebIOSurfaceLayer):
1448         (WebKit::WebIOSurfaceLayer::WebIOSurfaceLayer):
1449         (WebKit::WebIOSurfaceLayer::~WebIOSurfaceLayer):
1450
1451 2012-04-25  Dana Jansens  <danakj@chromium.org>
1452
1453         [chromium] Remove guarded virtual methods from WebFilterOperation API
1454         https://bugs.webkit.org/show_bug.cgi?id=84926
1455
1456         Reviewed by James Robinson.
1457
1458         We remove the virtual methods from the WebFilterOperation class,
1459         and use an enum in the base class to distinguish which subclass
1460         the object is. Then WebFilterOperations can access the correct
1461         subclass to get the filter operation's data and construct a
1462         WebCore::FilterOperation to store internally.
1463
1464         * chromium/public/WebFilterOperation.h:
1465         (WebKit::WebFilterOperation::WebFilterOperation):
1466         (WebKit::WebBasicColorMatrixFilterOperation::WebBasicColorMatrixFilterOperation):
1467         (WebBasicColorMatrixFilterOperation):
1468         (WebKit::WebBasicComponentTransferFilterOperation::WebBasicComponentTransferFilterOperation):
1469         (WebBasicComponentTransferFilterOperation):
1470         (WebKit::WebBlurFilterOperation::WebBlurFilterOperation):
1471         (WebKit::WebDropShadowFilterOperation::WebDropShadowFilterOperation):
1472
1473 2012-04-25  Gavin Peters  <gavinp@chromium.org>
1474
1475         [Chromium] Fix some conditional compilation logic in Platform
1476         https://bugs.webkit.org/show_bug.cgi?id=83798
1477
1478         Reviewed by Darin Fisher.
1479
1480         * chromium/public/WebURLError.h:
1481         (WebURLError):
1482         * chromium/public/WebURLRequest.h:
1483         (WebURLRequest):
1484         * chromium/public/WebURLResponse.h:
1485         (WebURLResponse):
1486
1487 2012-04-25  Gavin Peters  <gavinp@chromium.org>
1488
1489         Move WebReferrerPolicy.h from WebKit to Platform
1490         https://bugs.webkit.org/show_bug.cgi?id=84539
1491
1492         Reviewed by Adam Barth.
1493
1494         * Platform.gypi:
1495         * chromium/public/WebReferrerPolicy.h: Copied from Source/WebKit/chromium/public/WebReferrerPolicy.h.
1496         (WebKit):
1497
1498 2012-04-24  Yuzhu Shen  <yzshen@chromium.org>
1499
1500         [chromium] Add a description field in WebURLError and show failure description in the inspector network tab.
1501         https://bugs.webkit.org/show_bug.cgi?id=84566
1502
1503         Reviewed by Pavel Feldman.
1504
1505         * chromium/public/WebURLError.h:
1506         (WebURLError):
1507
1508 2012-04-18  James Robinson  <jamesr@chromium.org>
1509
1510         [chromium] Use TextureLayerChromium for WebGL content instead of a dedicated layer type
1511         https://bugs.webkit.org/show_bug.cgi?id=84311
1512
1513         Reviewed by Adrienne Walker.
1514
1515         Remove some unused getters.
1516
1517         * chromium/public/WebExternalTextureLayer.h:
1518         (WebExternalTextureLayer):
1519
1520 2012-04-20  Dana Jansens  <danakj@chromium.org>
1521
1522         [chromium] WebFilterOperations API does not compile or dynamically link
1523         https://bugs.webkit.org/show_bug.cgi?id=84506
1524
1525         Reviewed by James Robinson.
1526
1527         Non-inline functions need WEBKIT_EXPORT in their declarations,
1528         and the type used in the WebPrivateOwnPtr needs to be forward-
1529         declared even when WEBKIT_IMPLEMENTATION is not defined.
1530
1531         * chromium/public/WebFilterOperations.h:
1532         (WebKit::WebFilterOperations::WebFilterOperations):
1533         (WebFilterOperations):
1534
1535 2012-04-20  James Robinson  <jamesr@chromium.org>
1536
1537         [chromium] Plumb a compositor surface ready notification through to the threaded compositor
1538         https://bugs.webkit.org/show_bug.cgi?id=84305
1539
1540         Reviewed by Adrienne Walker.
1541
1542         Add a notification for when the compositor surface associated with a given view is ready to use.
1543
1544         * chromium/public/WebLayerTreeView.h:
1545         (WebLayerTreeView):
1546
1547 2012-04-16  James Robinson  <jamesr@chromium.org>
1548
1549         [chromium] Convert WebPluginContainerImpl over to use WebExternalTextureLayer
1550         https://bugs.webkit.org/show_bug.cgi?id=84120
1551
1552         Reviewed by Adrienne Walker.
1553
1554         This adds support for IO surface backed WebExternalTextureLayer, used by CoreAnimation plugins on OS X and moves
1555         some functionality used by multiple WebLayer subclasses up to the base class.
1556
1557         * chromium/public/WebContentLayer.h:
1558         (WebContentLayer):
1559         * chromium/public/WebExternalTextureLayer.h:
1560         (WebCore):
1561         (WebExternalTextureLayer):
1562         * chromium/public/WebLayer.h:
1563         (WebKit):
1564         (WebLayer):
1565         (WebKit::WebLayer::unwrap):
1566
1567 2012-04-17  Dana Jansens  <danakj@chromium.org>
1568
1569         [chromium] Fix gyp for WebFilterOperation.h and WebFilterOperations.h
1570         https://bugs.webkit.org/show_bug.cgi?id=84182
1571
1572         Reviewed by James Robinson.
1573
1574         * Platform.gypi:
1575
1576 2012-04-16  Kent Tamura  <tkent@chromium.org>
1577
1578         [Chromium] Fix Chromium-Mac build
1579         https://bugs.webkit.org/show_bug.cgi?id=80054
1580
1581         * chromium/public/WebFilterOperations.h:
1582         (WebKit): WebFilterOperation is a struct, not a class.
1583
1584 2012-04-16  Dana Jansens  <danakj@chromium.org>
1585
1586         [chromium] Expose compositor filters to Aura through WebLayer
1587         https://bugs.webkit.org/show_bug.cgi?id=80054
1588
1589         Reviewed by James Robinson.
1590
1591         * chromium/public/WebFilterOperation.h: Added.
1592         (WebKit):
1593         (WebFilterOperation):
1594         (WebKit::WebFilterOperation::WebFilterOperation):
1595         (WebBasicColorMatrixFilterOperation):
1596         (WebKit::WebBasicColorMatrixFilterOperation::WebBasicColorMatrixFilterOperation):
1597         (WebBasicComponentTransferFilterOperation):
1598         (WebKit::WebBasicComponentTransferFilterOperation::WebBasicComponentTransferFilterOperation):
1599         (WebBlurFilterOperation):
1600         (WebKit::WebBlurFilterOperation::WebBlurFilterOperation):
1601         (WebDropShadowFilterOperation):
1602         (WebKit::WebDropShadowFilterOperation::WebDropShadowFilterOperation):
1603         * chromium/public/WebFilterOperations.h: Added.
1604         (WebKit):
1605         (WebFilterOperations):
1606         * chromium/public/WebLayer.h:
1607         (WebKit):
1608         (WebLayer):
1609
1610 2012-04-13  James Robinson  <jamesr@chromium.org>
1611
1612         [chromium] Expose WebVideoLayer to Platform API and port WebMediaPlayerClientImpl to using it
1613         https://bugs.webkit.org/show_bug.cgi?id=83963
1614
1615         Reviewed by Adrienne Walker.
1616
1617         Adds a compositor layer type for video, WebVideoLayer, and a WebVideoProvider interface.
1618
1619         * Platform.gypi:
1620         * chromium/public/WebContentLayer.h:
1621         (WebContentLayer):
1622         * chromium/public/WebLayer.h:
1623         (WebLayer):
1624         (WebKit::WebLayer::unwrap):
1625         * chromium/public/WebVideoFrameProvider.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameProvider.h.
1626         (WebKit):
1627         (WebVideoFrameProvider):
1628         (WebKit::WebVideoFrameProvider::~WebVideoFrameProvider):
1629         (Client):
1630         * chromium/public/WebVideoLayer.h: Copied from Source/WebKit/chromium/src/WebContentLayer.cpp.
1631         (WebCore):
1632         (WebKit):
1633         (WebVideoLayer):
1634         (WebKit::WebVideoLayer::WebVideoLayer):
1635         (WebKit::WebVideoLayer::~WebVideoLayer):
1636
1637 2012-04-11  James Robinson  <jamesr@chromium.org>
1638
1639         [chromium] Remove unused compositeToTexture / compositeOffscreen setting
1640         https://bugs.webkit.org/show_bug.cgi?id=83733
1641
1642         Reviewed by Adrienne Walker.
1643
1644         Remove compositeOffscreen setting. This was an experiment that is no longer needed.
1645
1646         * chromium/public/WebLayerTreeView.h:
1647         (WebKit::WebLayerTreeView::Settings::Settings):
1648         (Settings):
1649
1650 2012-04-13  James Robinson  <jamesr@chromium.org>
1651
1652         [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API
1653         https://bugs.webkit.org/show_bug.cgi?id=83851
1654
1655         Reviewed by Adam Barth.
1656
1657         Move WebVideoFrame API into Platform.
1658
1659         * Platform.gypi:
1660         * chromium/public/WebVideoFrame.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.h.
1661         (WebKit):
1662         (WebVideoFrame):
1663         (WebKit::WebVideoFrame::~WebVideoFrame):
1664         (WebKit::WebVideoFrame::format):
1665         (WebKit::WebVideoFrame::width):
1666         (WebKit::WebVideoFrame::height):
1667         (WebKit::WebVideoFrame::planes):
1668         (WebKit::WebVideoFrame::stride):
1669         (WebKit::WebVideoFrame::data):
1670         (WebKit::WebVideoFrame::textureId):
1671         (WebKit::WebVideoFrame::textureTarget):
1672         * chromium/src/WebVideoFrame.cpp: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.cpp.
1673         (WebKit):
1674
1675 2012-04-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1676
1677         Unreviewed, rolling out r114075.
1678         http://trac.webkit.org/changeset/114075
1679         https://bugs.webkit.org/show_bug.cgi?id=83857
1680
1681         Breaks compile (Requested by jamesr on #webkit).
1682
1683         * Platform.gypi:
1684
1685 2012-04-12  James Robinson  <jamesr@chromium.org>
1686
1687         [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API
1688         https://bugs.webkit.org/show_bug.cgi?id=83851
1689
1690         Reviewed by Adam Barth.
1691
1692         Move WebVideoFrame API into Platform.
1693
1694         * Platform.gypi:
1695         * chromium/public/WebVideoFrame.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.h.
1696         (WebKit):
1697         (WebVideoFrame):
1698         (WebKit::WebVideoFrame::~WebVideoFrame):
1699         (WebKit::WebVideoFrame::format):
1700         (WebKit::WebVideoFrame::width):
1701         (WebKit::WebVideoFrame::height):
1702         (WebKit::WebVideoFrame::planes):
1703         (WebKit::WebVideoFrame::stride):
1704         (WebKit::WebVideoFrame::data):
1705         (WebKit::WebVideoFrame::textureId):
1706         (WebKit::WebVideoFrame::textureTarget):
1707         * chromium/src/WebVideoFrame.cpp: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.cpp.
1708         (WebKit):
1709
1710 2012-04-11  David Dorwin  <ddorwin@chromium.org>
1711
1712         Add keySystem attribute to canPlayType() for Encrypted Media Extensions
1713         https://bugs.webkit.org/show_bug.cgi?id=82973
1714
1715         Reviewed by Adam Barth.
1716
1717         The new attribute is behind the ENABLE(ENCRYPTED_MEDIA) feature define.
1718         Implementation is based on v0.1 of the draft proposal at
1719         http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#extensions.
1720
1721         * chromium/public/WebMimeRegistry.h:
1722         (WebKit::WebMimeRegistry::supportsMediaMIMEType):
1723
1724 2012-04-09  Dana Jansens  <danakj@chromium.org>
1725
1726         [chromium] Viewport is not filled when out of texture memory on mac
1727         https://bugs.webkit.org/show_bug.cgi?id=83351
1728
1729         Reviewed by Adrienne Walker.
1730
1731         * chromium/public/WebLayerTreeView.h:
1732         (WebLayerTreeView):
1733
1734 2012-04-09  James Robinson  <jamesr@chromium.org>
1735
1736         [chromium] CCLayerTreeHost / WebLayerTreeView should be single ownership, not RefCounted
1737         https://bugs.webkit.org/show_bug.cgi?id=83413
1738
1739         Reviewed by Adrienne Walker.
1740
1741         This makes WebLayerTreeView noncopyable to better match the underlying semantics. There is no code currently
1742         that attempts to copy WebLayerTreeView instances.
1743
1744         * chromium/public/WebLayerTreeView.h:
1745         (WebKit):
1746         (WebLayerTreeView):
1747
1748 2012-04-04  Adam Barth  <abarth@webkit.org>
1749
1750         figure out how to export webcore symbols from webkit.dll properly
1751         https://bugs.webkit.org/show_bug.cgi?id=83105
1752
1753         Reviewed by Dimitri Glazkov.
1754
1755         Unwind our ugly, ugly hack to make the Windows component build work.
1756
1757         * chromium/public/WebMediaStreamSourcesRequest.h:
1758         (WebMediaStreamSourcesRequest):
1759
1760 2012-04-03  Adam Barth  <abarth@webkit.org>
1761
1762         Unreviewed. This patch adds an ugly, ugly hack to bandaid over the
1763         Windows component build. See comments in the code for details.
1764
1765         * chromium/public/WebMediaStreamSourcesRequest.h:
1766         (WebMediaStreamSourcesRequest):
1767
1768 2012-04-02  Zhenyao Mo  <zmo@google.com>
1769
1770         Implement WebGLShaderPrecisionFormat
1771         https://bugs.webkit.org/show_bug.cgi?id=75925
1772
1773         Reviewed by Kenneth Russell.
1774
1775         * chromium/public/WebGraphicsContext3D.h: Add getShaderPrecisionFormat().
1776         (WebGraphicsContext3D):
1777
1778 2012-04-03  Adam Barth  <abarth@webkit.org>
1779
1780         Attempt to fix the Windows component build by including these headers
1781         rather than forward declaring these objects.
1782
1783         * chromium/public/WebMediaStreamSourcesRequest.h:
1784         (WebKit):
1785
1786 2012-04-02  Adam Barth  <abarth@webkit.org>
1787
1788         [Chromium] Move a number of virtual functions from WebKitPlatformSupport.h into Platform.h
1789         https://bugs.webkit.org/show_bug.cgi?id=82865
1790
1791         Reviewed by Kent Tamura.
1792
1793         Moving these functions into Platform.h allows them to be called from
1794         Platform (aka WebCore/platform), as discussed in 
1795         https://lists.webkit.org/pipermail/webkit-dev/2012-March/020166.html
1796
1797         * chromium/public/Platform.h:
1798         (WebKit):
1799         (Platform):
1800         (WebKit::Platform::mimeRegistry):
1801         (WebKit::Platform::audioHardwareSampleRate):
1802         (WebKit::Platform::audioHardwareBufferSize):
1803         (WebKit::Platform::createAudioDevice):
1804         (WebKit::Platform::sampleGamepads):
1805         (WebKit::Platform::visitedLinkHash):
1806         (WebKit::Platform::isLinkVisited):
1807         (WebKit::Platform::signedPublicKeyAndChallengeString):
1808         (WebKit::Platform::memoryUsageMB):
1809         (WebKit::Platform::actualMemoryUsageMB):
1810         (WebKit::Platform::lowMemoryUsageMB):
1811         (WebKit::Platform::highMemoryUsageMB):
1812         (WebKit::Platform::highUsageDeltaMB):
1813         (WebKit::Platform::prefetchHostName):
1814         (WebKit::Platform::createSocketStreamHandle):
1815         (WebKit::Platform::userAgent):
1816         (WebKit::Platform::cacheMetadata):
1817         (WebKit::Platform::createThread):
1818         (WebKit::Platform::currentThread):
1819         (WebKit::Platform::decrementStatsCounter):
1820         (WebKit::Platform::incrementStatsCounter):
1821         (WebKit::Platform::loadResource):
1822         (WebKit::Platform::loadAudioResource):
1823         (WebKit::Platform::sandboxEnabled):
1824         (WebKit::Platform::suddenTerminationChanged):
1825         (WebKit::Platform::defaultLocale):
1826         (WebKit::Platform::currentTime):
1827         (WebKit::Platform::monotonicallyIncreasingTime):
1828         (WebKit::Platform::setSharedTimerFiredFunction):
1829         (WebKit::Platform::setSharedTimerFireInterval):
1830         (WebKit::Platform::stopSharedTimer):
1831         (WebKit::Platform::callOnMainThread):
1832         (WebKit::Platform::getTraceCategoryEnabledFlag):
1833         (WebKit::Platform::addTraceEvent):
1834         (WebKit::Platform::histogramCustomCounts):
1835         (WebKit::Platform::histogramEnumeration):
1836
1837 2012-04-02  Adam Barth  <abarth@webkit.org>
1838
1839         [Chromium] Move another block of headers from WebKit/chromium/public/platform to Platform/chromium/public
1840         https://bugs.webkit.org/show_bug.cgi?id=82862
1841
1842         Rubber-stamped by Eric Seidel.
1843
1844         * Platform.gypi:
1845         * chromium/public/WebAudioBus.h: Copied from Source/WebKit/chromium/public/platform/WebAudioBus.h.
1846         * chromium/public/WebAudioDevice.h: Copied from Source/WebKit/chromium/public/platform/WebAudioDevice.h.
1847         * chromium/public/WebGamepad.h: Copied from Source/WebKit/chromium/public/platform/WebGamepad.h.
1848         * chromium/public/WebGamepads.h: Copied from Source/WebKit/chromium/public/platform/WebGamepads.h.
1849         * chromium/public/WebSocketStreamError.h: Copied from Source/WebKit/chromium/public/platform/WebSocketStreamError.h.
1850         * chromium/public/WebSocketStreamHandle.h: Copied from Source/WebKit/chromium/public/platform/WebSocketStreamHandle.h.
1851         * chromium/public/WebSocketStreamHandleClient.h: Copied from Source/WebKit/chromium/public/platform/WebSocketStreamHandleClient.h.
1852
1853 2012-04-01  Adam Barth  <abarth@webkit.org>
1854
1855         [Chromium] Move thread-related APIs from WebKit into Platform
1856         https://bugs.webkit.org/show_bug.cgi?id=82858
1857
1858         Reviewed by Eric Seidel.
1859
1860         * Platform.gypi:
1861         * chromium/public/WebThread.h: Copied from Source/WebKit/chromium/public/platform/WebThread.h.
1862         * chromium/public/WebThreadSafeData.h: Copied from Source/WebKit/chromium/public/platform/WebThreadSafeData.h.
1863
1864 2012-03-29  Adam Barth  <abarth@webkit.org>
1865
1866         [Chromium] Delete WebKit/chromium/bridge
1867         https://bugs.webkit.org/show_bug.cgi?id=82677
1868
1869         Reviewed by James Robinson.
1870
1871         This patch moves all the MediaStream-related platform APIs from
1872         WebKit/chromium/public/platform into Platform/chromium/public. This is
1873         part of a larger project to more clearly separate the platform and
1874         client portions of the Chromium WebKit API.
1875
1876         * Platform.gypi:
1877         * chromium/public/Platform.h:
1878         (WebKit):
1879         (Platform):
1880         (WebKit::Platform::createPeerConnectionHandler):
1881         (WebKit::Platform::createPeerConnection00Handler):
1882         (WebKit::Platform::createMediaStreamCenter):
1883         * chromium/public/WebICECandidateDescriptor.h: Copied from Source/WebKit/chromium/public/platform/WebICECandidateDescriptor.h.
1884         * chromium/public/WebICEOptions.h: Copied from Source/WebKit/chromium/public/platform/WebICEOptions.h.
1885         * chromium/public/WebMediaHints.h: Copied from Source/WebKit/chromium/public/platform/WebMediaHints.h.
1886         * chromium/public/WebMediaStreamCenter.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamCenter.h.
1887         * chromium/public/WebMediaStreamCenterClient.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamCenterClient.h.
1888         * chromium/public/WebMediaStreamComponent.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamComponent.h.
1889         * chromium/public/WebMediaStreamDescriptor.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamDescriptor.h.
1890         * chromium/public/WebMediaStreamSource.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamSource.h.
1891         * chromium/public/WebMediaStreamSourcesRequest.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamSourcesRequest.h.
1892         * chromium/public/WebPeerConnection00Handler.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnection00Handler.h.
1893         * chromium/public/WebPeerConnection00HandlerClient.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnection00HandlerClient.h.
1894         * chromium/public/WebPeerConnectionHandler.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnectionHandler.h.
1895         (WebPeerConnectionHandler):
1896         * chromium/public/WebPeerConnectionHandlerClient.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnectionHandlerClient.h.
1897         * chromium/public/WebSessionDescriptionDescriptor.h: Copied from Source/WebKit/chromium/public/platform/WebSessionDescriptionDescriptor.h.
1898         * chromium/public/WebVector.h: Copied from Source/WebKit/chromium/public/platform/WebVector.h.
1899
1900 2012-03-30  David Barr  <davidbarr@chromium.org>
1901
1902         Split up top-level .gitignore and .gitattributes
1903         https://bugs.webkit.org/show_bug.cgi?id=82687
1904
1905         Reviewed by Tor Arne Vestbø.
1906
1907         * Platform.gyp/.gitignore: Added.
1908
1909 2012-03-29  Adam Barth  <abarth@webkit.org>
1910
1911         [Chromium] Move createURLLoader() into Platform
1912         https://bugs.webkit.org/show_bug.cgi?id=82587
1913
1914         Reviewed by James Robinson.
1915
1916         This patch introduces a base class for WebKitPlatformSupport that we
1917         can use to incrementally more APIs from WebKit/chromium/public/platform
1918         into Platform/chromium/public. Using this technique lets us avoid
1919         making changes in the embedder during the transition.
1920
1921         This patch moves createURLLoader() because it's necessary for
1922         ResourceHandle.  This is the third patch in this sequence:
1923         https://github.com/abarth/webkit/compare/master...webcore-platform
1924
1925         * Platform.gypi:
1926         * chromium/public/Platform.h: Added.
1927         (WebKit):
1928         (Platform):
1929         (WebKit::Platform::createURLLoader):
1930         (WebKit::Platform::~Platform):
1931         * chromium/src/Platform.cpp: Added.
1932         (WebKit):
1933         (WebKit::Platform::initialize):
1934         (WebKit::Platform::shutdown):
1935         (WebKit::Platform::current):
1936
1937 2012-03-28  Adam Barth  <abarth@webkit.org>
1938
1939         [Chromium] Move APIs related to ResourceHandle into Platform
1940         https://bugs.webkit.org/show_bug.cgi?id=82553
1941
1942         Reviewed by James Robinson.
1943
1944         This patch is the first patch in this series:
1945         https://github.com/abarth/webkit/compare/master...webcore-platform
1946
1947         The goal of these patches is to move WebCore::ResourceHandle out of
1948         Chromium's WebKit layer and into WebCore/platform, where it belongs.
1949
1950         This patch moves the Chromium-WebKit APIs used by ResourceHandle out of
1951         the WebKit layer and into the Plaform layer. These are APIs that WebKit
1952         uses to call "down" to manipulate the underlying platform (rather than
1953         "up" to the client to make decisions). The long-term plan is to move
1954         all of the headers in WebKit/chromium/public/platform into
1955         Platform/chromium/public (although we'll likely need to clean up some
1956         layering violations as we go).
1957
1958         * Platform.gypi:
1959         * chromium/public/WebData.h: Added.
1960         (WebKit):
1961         (WebData):
1962         (WebKit::WebData::~WebData):
1963         (WebKit::WebData::WebData):
1964         (WebKit::WebData::operator=):
1965         (WebKit::WebData::isEmpty):
1966         (WebKit::WebData::isNull):
1967         * chromium/public/WebHTTPBody.h: Added.
1968         (WebKit):
1969         (WebHTTPBody):
1970         (WebKit::WebHTTPBody::~WebHTTPBody):
1971         (WebKit::WebHTTPBody::WebHTTPBody):
1972         (WebKit::WebHTTPBody::operator=):
1973         (WebKit::WebHTTPBody::isNull):
1974         * chromium/public/WebHTTPHeaderVisitor.h: Added.
1975         (WebKit):
1976         (WebHTTPHeaderVisitor):
1977         (WebKit::WebHTTPHeaderVisitor::~WebHTTPHeaderVisitor):
1978         * chromium/public/WebHTTPLoadInfo.h: Added.
1979         (WebCore):
1980         (WebKit):
1981         (WebHTTPLoadInfo):
1982         (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo):
1983         (WebKit::WebHTTPLoadInfo::~WebHTTPLoadInfo):
1984         (WebKit::WebHTTPLoadInfo::operator =):
1985         * chromium/public/WebPrivateOwnPtr.h: Added.
1986         (WebKit):
1987         (WebPrivateOwnPtr):
1988         (WebKit::WebPrivateOwnPtr::WebPrivateOwnPtr):
1989         (WebKit::WebPrivateOwnPtr::~WebPrivateOwnPtr):
1990         (WebKit::WebPrivateOwnPtr::reset):
1991         (WebKit::WebPrivateOwnPtr::get):
1992         (WebKit::WebPrivateOwnPtr::operator->):
1993         * chromium/public/WebURL.h: Added.
1994         (WebKit):
1995         (WebURL):
1996         (WebKit::WebURL::~WebURL):
1997         (WebKit::WebURL::WebURL):
1998         (WebKit::WebURL::operator=):
1999         (WebKit::WebURL::assign):
2000         (WebKit::WebURL::spec):
2001         (WebKit::WebURL::parsed):
2002         (WebKit::WebURL::isValid):
2003         (WebKit::WebURL::isEmpty):
2004         (WebKit::WebURL::isNull):
2005         (WebKit::WebURL::operator GURL):
2006         (WebKit::operator<):
2007         (WebKit::operator==):
2008         (WebKit::operator!=):
2009         * chromium/public/WebURLError.h: Added.
2010         (WebKit):
2011         (WebURLError):
2012         (WebKit::WebURLError::WebURLError):
2013         * chromium/public/WebURLLoadTiming.h: Added.
2014         (WebKit):
2015         (WebURLLoadTiming):
2016         (WebKit::WebURLLoadTiming::~WebURLLoadTiming):
2017         (WebKit::WebURLLoadTiming::WebURLLoadTiming):
2018         (WebKit::WebURLLoadTiming::operator=):
2019         (WebKit::WebURLLoadTiming::isNull):
2020         * chromium/public/WebURLLoader.h: Added.
2021         (WebKit):
2022         (WebURLLoader):
2023         (WebKit::WebURLLoader::~WebURLLoader):
2024         * chromium/public/WebURLLoaderClient.h: Added.
2025         (WebKit):
2026         (WebURLLoaderClient):
2027         (WebKit::WebURLLoaderClient::willSendRequest):
2028         (WebKit::WebURLLoaderClient::didSendData):
2029         (WebKit::WebURLLoaderClient::didReceiveResponse):
2030         (WebKit::WebURLLoaderClient::didDownloadData):
2031         (WebKit::WebURLLoaderClient::didReceiveData):
2032         (WebKit::WebURLLoaderClient::didReceiveCachedMetadata):
2033         (WebKit::WebURLLoaderClient::didFinishLoading):
2034         (WebKit::WebURLLoaderClient::didFail):
2035         (WebKit::WebURLLoaderClient::~WebURLLoaderClient):
2036         * chromium/public/WebURLRequest.h: Added.
2037         (WebKit):
2038         (WebURLRequest):
2039         (ExtraData):
2040         (WebKit::WebURLRequest::ExtraData::~ExtraData):
2041         (WebKit::WebURLRequest::~WebURLRequest):
2042         (WebKit::WebURLRequest::WebURLRequest):
2043         (WebKit::WebURLRequest::operator=):
2044         * chromium/public/WebURLResponse.h: Added.
2045         (WebKit):
2046         (WebURLResponse):
2047         (ExtraData):
2048         (WebKit::WebURLResponse::ExtraData::~ExtraData):
2049         (WebKit::WebURLResponse::~WebURLResponse):
2050         (WebKit::WebURLResponse::WebURLResponse):
2051         (WebKit::WebURLResponse::operator=):
2052
2053 2012-03-27  Nat Duca  <nduca@chromium.org>
2054
2055         [chromium] Route monotonic clock up from compositor
2056         https://bugs.webkit.org/show_bug.cgi?id=82154
2057
2058         Reviewed by James Robinson.
2059
2060         * chromium/public/WebLayerTreeViewClient.h:
2061         (WebLayerTreeViewClient):
2062
2063 2012-03-26  Nat Duca  <nduca@chromium.org>
2064
2065         [chromium] Add isInputThrottled/didBecomeReadyForAdditionalInput to WebWidget
2066         https://bugs.webkit.org/show_bug.cgi?id=82265
2067
2068         Reviewed by James Robinson.
2069
2070         * chromium/public/WebLayerTreeView.h:
2071         (WebLayerTreeView):
2072         * chromium/public/WebLayerTreeViewClient.h:
2073         (WebLayerTreeViewClient):
2074         (WebKit::WebLayerTreeViewClient::didCommit):
2075
2076 2012-03-25  Nat Duca  <nduca@chromium.org>
2077
2078         [chromium] Route willBeginFrame from compositor to WebWidget
2079         https://bugs.webkit.org/show_bug.cgi?id=82171
2080
2081         Reviewed by Darin Fisher.
2082
2083         * chromium/public/WebLayerTreeViewClient.h:
2084         (WebLayerTreeViewClient):
2085         (WebKit::WebLayerTreeViewClient::willBeginFrame):
2086
2087 2012-03-23  Tony Chang  <tony@chromium.org>
2088
2089         [chromium] rename newwtf target back to wtf
2090         https://bugs.webkit.org/show_bug.cgi?id=82064
2091
2092         Reviewed by Adam Barth.
2093
2094         * Platform.gyp/Platform.gyp:
2095
2096 2012-03-22  Tony Chang  <tony@chromium.org>
2097
2098         Unreviewed, fix chromium build after wtf move.
2099
2100         Only use newwtf, remove references to wtf.
2101
2102         * Platform.gyp/Platform.gyp:
2103
2104 2012-03-21  Ryosuke Niwa  <rniwa@webkit.org>
2105
2106         Touch a file to make Chromium Windows bots happy.
2107
2108         * chromium/public/WebGraphicsContext3D.h:
2109
2110 2012-03-21  David Reveman  <reveman@chromium.org>
2111
2112         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
2113         https://bugs.webkit.org/show_bug.cgi?id=80988
2114
2115         Reviewed by Adrienne Walker.
2116
2117         Add EXT_occlusion_query API to WebGraphicsContext3D.
2118
2119         * chromium/public/WebGraphicsContext3D.h:
2120         (WebGraphicsContext3D):
2121         (WebKit::WebGraphicsContext3D::createQueryEXT):
2122         (WebKit::WebGraphicsContext3D::deleteQueryEXT):
2123         (WebKit::WebGraphicsContext3D::isQueryEXT):
2124         (WebKit::WebGraphicsContext3D::beginQueryEXT):
2125         (WebKit::WebGraphicsContext3D::endQueryEXT):
2126         (WebKit::WebGraphicsContext3D::getQueryivEXT):
2127         (WebKit::WebGraphicsContext3D::getQueryObjectuivEXT):
2128
2129 2012-03-19  Michal Mocny  <mmocny@google.com>
2130
2131         [chromium] Adding support for GL_EXT_discard_framebuffer.
2132         https://bugs.webkit.org/show_bug.cgi?id=81383
2133
2134         Reviewed by James Robinson.
2135
2136         * chromium/public/WebGraphicsContext3D.h:
2137         (WebGraphicsContext3D):
2138         (WebKit::WebGraphicsContext3D::discardFramebufferEXT):
2139         (WebKit::WebGraphicsContext3D::ensureFramebufferCHROMIUM):
2140
2141 2012-03-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2142
2143         Unreviewed, rolling out r111207.
2144         http://trac.webkit.org/changeset/111207
2145         https://bugs.webkit.org/show_bug.cgi?id=81561
2146
2147         Causing chromium unit test failure (Requested by reveman on
2148         #webkit).
2149
2150         * chromium/public/WebGraphicsContext3D.h:
2151
2152 2012-03-19  Michal Mocny  <mmocny@google.com>
2153
2154         [chromium] Updating WebGraphicsContext3D MemoryAllocation callback to accept a struct with have backbuffer suggestion.
2155         https://bugs.webkit.org/show_bug.cgi?id=81279
2156
2157         Reviewed by James Robinson.
2158
2159         Adding a suggestHaveBackbuffer hint to the WebGraphicsContext3D memory allocation callback.
2160
2161         * chromium/public/WebGraphicsContext3D.h:
2162         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2163         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::onMemoryAllocationChanged):
2164         * chromium/public/WebGraphicsMemoryAllocation.h: Added.
2165         (WebKit):
2166         (WebGraphicsMemoryAllocation):
2167         (WebKit::WebGraphicsMemoryAllocation::WebGraphicsMemoryAllocation):
2168
2169 2012-03-19  David Reveman  <reveman@chromium.org>
2170
2171         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
2172         https://bugs.webkit.org/show_bug.cgi?id=80988
2173
2174         Reviewed by Adrienne Walker.
2175
2176         Add EXT_occlusion_query API to WebGraphicsContext3D.
2177
2178         * chromium/public/WebGraphicsContext3D.h:
2179         (WebGraphicsContext3D):
2180
2181 2012-03-08  James Robinson  <jamesr@chromium.org>
2182
2183         Use an explicit attribute to signal that a context prefers to use a discrete GPU
2184         https://bugs.webkit.org/show_bug.cgi?id=80639
2185
2186         Reviewed by Stephen White.
2187
2188         Adds preferDiscreteGPU attribute to WebGraphicsContext3D::Attributes. Also remove the forUseOnAnotherThread
2189         attribute, this has been dead code for a while now.
2190
2191         * chromium/public/WebGraphicsContext3D.h:
2192         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
2193         (Attributes):
2194
2195 2012-02-24  James Robinson  <jamesr@chromium.org>
2196
2197         [chromium] WebKit::setColorNames is a client API
2198         https://bugs.webkit.org/show_bug.cgi?id=79539
2199
2200         Reviewed by Darin Fisher.
2201
2202         * Platform.gypi:
2203         * chromium/public/WebColor.h:
2204         (WebKit):
2205
2206 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
2207
2208         Unreviewed, rolling out r108860.
2209         http://trac.webkit.org/changeset/108860
2210         https://bugs.webkit.org/show_bug.cgi?id=79544
2211
2212         "Breaks Linux compile" (Requested by enne on #webkit).
2213
2214         * Platform.gypi:
2215         * chromium/public/WebColor.h:
2216         (WebKit):
2217         * chromium/public/WebColorName.h: Renamed from Source/WebKit/chromium/public/WebColorName.h.
2218         (WebKit):
2219
2220 2012-02-24  James Robinson  <jamesr@chromium.org>
2221
2222         [chromium] WebKit::setColorNames is a client API
2223         https://bugs.webkit.org/show_bug.cgi?id=79539
2224
2225         Reviewed by Darin Fisher.
2226
2227         * Platform.gypi:
2228         * chromium/public/WebColor.h:
2229         (WebKit):
2230
2231 2012-02-22  James Robinson  <jamesr@chromium.org>
2232
2233         [chromium] Move WebGraphicsContext3D header into the Platform directory
2234         https://bugs.webkit.org/show_bug.cgi?id=79301
2235
2236         Reviewed by Adam Barth.
2237
2238         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
2239
2240         * Platform.gypi:
2241         * chromium/public/WebGraphicsContext3D.h: Copied from Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h.
2242         (WebKit):
2243         (WebGraphicsContext3D):
2244         (ActiveInfo):
2245         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
2246         (Attributes):
2247         (WebGraphicsContextLostCallback):
2248         (WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback::~WebGraphicsContextLostCallback):
2249         (WebGraphicsErrorMessageCallback):
2250         (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
2251         (WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
2252         (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
2253         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2254         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2255         (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
2256         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
2257         (WebKit::WebGraphicsContext3D::setParentContext):
2258         (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
2259         (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
2260         (WebKit::WebGraphicsContext3D::setContextLostCallback):
2261         (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
2262         (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
2263         (WebKit::WebGraphicsContext3D::getTranslatedShaderSourceANGLE):
2264         (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
2265         (WebKit::WebGraphicsContext3D::texStorage2DEXT):
2266         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
2267         * chromium/public/WebNonCopyable.h: Copied from Source/WebKit/chromium/public/platform/WebNonCopyable.h.
2268         (WebKit):
2269         (WebNonCopyable):
2270         (WebKit::WebNonCopyable::WebNonCopyable):
2271         (WebKit::WebNonCopyable::~WebNonCopyable):
2272
2273 2012-02-23  James Robinson  <jamesr@chromium.org>
2274
2275         [chromium] Move Web*Layer* headers into Platform
2276         https://bugs.webkit.org/show_bug.cgi?id=79425
2277
2278         Reviewed by Adam Barth.
2279
2280         This moves the Web*Layer* headers and their dependencies from WebKit/chromium/public/platform/ into
2281         Platform/chromium/public.
2282
2283         * Platform.gypi:
2284         * chromium/public/WebCanvas.h: Copied from Source/WebKit/chromium/public/platform/WebCanvas.h.
2285         (WebKit):
2286         * chromium/public/WebColor.h: Copied from Source/WebKit/chromium/public/platform/WebColor.h.
2287         (WebKit):
2288         * chromium/public/WebColorName.h: Copied from Source/WebKit/chromium/public/platform/WebColorName.h.
2289         (WebKit):
2290         * chromium/public/WebContentLayer.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayer.h.
2291         (WebKit):
2292         (WebContentLayer):
2293         (WebKit::WebContentLayer::WebContentLayer):
2294         (WebKit::WebContentLayer::~WebContentLayer):
2295         (WebKit::WebContentLayer::operator=):
2296         * chromium/public/WebContentLayerClient.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayerClient.h.
2297         (WebKit):
2298         (WebContentLayerClient):
2299         (WebKit::WebContentLayerClient::~WebContentLayerClient):
2300         * chromium/public/WebExternalTextureLayer.h: Copied from Source/WebKit/chromium/public/platform/WebExternalTextureLayer.h.
2301         (WebKit):
2302         (WebExternalTextureLayer):
2303         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
2304         (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
2305         (WebKit::WebExternalTextureLayer::operator=):
2306         * chromium/public/WebLayer.h: Copied from Source/WebKit/chromium/public/platform/WebLayer.h.
2307         (WebKit):
2308         (WebLayer):
2309         (WebKit::WebLayer::WebLayer):
2310         (WebKit::WebLayer::~WebLayer):
2311         (WebKit::WebLayer::operator=):
2312         (WebKit::WebLayer::isNull):
2313         (WebKit::WebLayer::to):
2314         (WebKit::WebLayer::toConst):
2315         (WebKit::WebLayer::unwrap):
2316         (WebKit::WebLayer::constUnwrap):
2317         (WebKit::operator==):
2318         (WebKit::operator!=):
2319         * chromium/public/WebLayerTreeView.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeView.h.
2320         (WebCore):
2321         (WebKit):
2322         (WebLayerTreeView):
2323         (WebKit::WebLayerTreeView::Settings::Settings):
2324         (Settings):
2325         (WebKit::WebLayerTreeView::WebLayerTreeView):
2326         (WebKit::WebLayerTreeView::~WebLayerTreeView):
2327         (WebKit::WebLayerTreeView::operator=):
2328         (WebKit::operator==):
2329         (WebKit::operator!=):
2330         * chromium/public/WebLayerTreeViewClient.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeViewClient.h.
2331         (WebKit):
2332         (WebLayerTreeViewClient):
2333         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
2334         * chromium/public/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/platform/WebPrivatePtr.h.
2335         (WebKit):
2336         (WebPrivatePtr):
2337         (WebKit::WebPrivatePtr::WebPrivatePtr):
2338         (WebKit::WebPrivatePtr::~WebPrivatePtr):
2339         (WebKit::WebPrivatePtr::isNull):
2340         (WebKit::WebPrivatePtr::reset):
2341         (WebKit::WebPrivatePtr::operator=):
2342         (WebKit::WebPrivatePtr::get):
2343         (WebKit::WebPrivatePtr::operator->):
2344         (WebKit::WebPrivatePtr::assign):
2345         * chromium/public/WebSolidColorLayer.h: Copied from Source/WebKit/chromium/public/platform/WebSolidColorLayer.h.
2346         (WebKit):
2347         (WebSolidColorLayer):
2348
2349 2012-02-08  James Robinson  <jamesr@chromium.org>
2350
2351         r107042 caused compile breakages on chromium try bots
2352         https://bugs.webkit.org/show_bug.cgi?id=78125
2353
2354         Reviewed by Adam Barth.
2355
2356         Replace the copy script with a copies GYP action since the MSVS generator tracks dependencies on a per-file
2357         basis.
2358
2359         * Platform.gyp/Platform.gyp:
2360         * Platform.gyp/copy_webcore_headers.py: Removed.
2361
2362 2012-02-07  James Robinson  <jamesr@chromium.org>
2363
2364         [chromium] Move geometry headers in Platform API to Platform directory
2365         https://bugs.webkit.org/show_bug.cgi?id=78067
2366
2367         Reviewed by Adam Barth.
2368
2369         This moves several geometry-related headers in the chromium WebKit platform API to Platform/chromium/public.
2370         These require a bit of extra work since when WEBKIT_IMPLEMENTATION is set they #include headers from
2371         WebCore/platform such as IntPoint so that the implementations of several functions can be inlined. Since we do
2372         not want to add anything in WebCore to the include path of projects that depend on the Platform API this poses a
2373         bit of an issue. I've added an extra build step to copy the specific headers used into the
2374         SHARED_INTERMEDIATE_DIR to preserve this inlining.
2375         
2376         Eventually we'll move the cross-platform code, including these headers, into somewhere under Platform/, but doing
2377         that requires non-trivial modifications to every build system in WebKit.
2378
2379         * Platform.gyp/Platform.gyp:
2380         * Platform.gyp/copy_webcore_headers.py: Added.
2381         (CopyHeaders):
2382         (Main):
2383         * chromium/public/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/platform/WebFloatPoint.h.
2384         (WebKit):
2385         (WebFloatPoint):
2386         (WebKit::WebFloatPoint::WebFloatPoint):
2387         (WebKit::WebFloatPoint::operator=):
2388         (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
2389         (WebKit::operator==):
2390         (WebKit::operator!=):
2391         * chromium/public/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/platform/WebFloatQuad.h.
2392         (WebKit):
2393         (WebFloatQuad):
2394         (WebKit::WebFloatQuad::WebFloatQuad):
2395         (WebKit::WebFloatQuad::operator=):
2396         * chromium/public/WebFloatRect.h: Copied from Source/WebKit/chromium/public/platform/WebFloatRect.h.
2397         (WebKit):
2398         (WebFloatRect):
2399         (WebKit::WebFloatRect::isEmpty):
2400         (WebKit::WebFloatRect::WebFloatRect):
2401         (WebKit::WebFloatRect::operator=):
2402         (WebKit::WebFloatRect::operator WebCore::FloatRect):
2403         (WebKit::operator==):
2404         (WebKit::operator!=):
2405         * chromium/public/WebPoint.h: Copied from Source/WebKit/chromium/public/platform/WebPoint.h.
2406         (WebKit):
2407         (WebPoint):
2408         (WebKit::WebPoint::WebPoint):
2409         (WebKit::WebPoint::operator=):
2410         (WebKit::WebPoint::operator WebCore::IntPoint):
2411         (WebKit::WebPoint::operator gfx::Point):
2412         (WebKit::operator==):
2413         (WebKit::operator!=):
2414         * chromium/public/WebRect.h: Copied from Source/WebKit/chromium/public/platform/WebRect.h.
2415         (WebKit):
2416         (WebRect):
2417         (WebKit::WebRect::isEmpty):
2418         (WebKit::WebRect::WebRect):
2419         (WebKit::WebRect::operator=):
2420         (WebKit::WebRect::operator WebCore::IntRect):
2421         (WebKit::WebRect::operator gfx::Rect):
2422         (WebKit::operator==):
2423         (WebKit::operator!=):
2424         * chromium/public/WebSize.h: Copied from Source/WebKit/chromium/public/platform/WebSize.h.
2425         (WebKit):
2426         (WebSize):
2427         (WebKit::WebSize::isEmpty):
2428         (WebKit::WebSize::WebSize):
2429         (WebKit::WebSize::operator=):
2430         (WebKit::WebSize::operator WebCore::IntSize):
2431         (WebKit::WebSize::operator gfx::Size):
2432         (WebKit::operator==):
2433         (WebKit::operator!=):
2434
2435 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
2436
2437         Enable use of precompiled headers in Chromium port on Windows.
2438
2439         Bug 76381 - Use precompiled headers in Chromium port on Windows
2440         https://bugs.webkit.org/show_bug.cgi?id=76381
2441
2442         Reviewed by Tony Chang.
2443
2444         * Platform.gyp/Platform.gyp: Include WinPrecompile.gypi.
2445
2446 2012-01-04  James Robinson  <jamesr@chromium.org>
2447
2448         [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl
2449
2450         * Platform.gyp/Platform.gyp:
2451
2452 2012-01-04  James Robinson  <jamesr@chromium.org>
2453
2454         [chromium] Move WebMimeRegistry and dependencies to Source/Platform
2455         https://bugs.webkit.org/show_bug.cgi?id=74583
2456
2457         Reviewed by Darin Fisher.
2458
2459         This creates a skeleton directory structure for the chromium WebKit platform API and moves WebMimeRegistry.h
2460         along with its dependencies (WebString and WebCString) to their final location.
2461
2462         * Platform.gyp/Platform.gyp: Added.
2463         * Platform.gypi: Added.
2464         * chromium/platform/WebCString.h: Copied from Source/WebKit/chromium/public/platform/WebCString.h.
2465         (WebKit::WebCString::~WebCString):
2466         (WebKit::WebCString::WebCString):
2467         (WebKit::WebCString::operator=):
2468         (WebKit::WebCString::isEmpty):
2469         (WebKit::WebCString::isNull):
2470         (WebKit::WebCString::operator std::string):
2471         (WebKit::WebCString::fromUTF16):
2472         (WebKit::operator<):
2473         * chromium/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/platform/WebCommon.h.
2474         * chromium/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/platform/WebMimeRegistry.h.
2475         (WebKit::WebMimeRegistry::~WebMimeRegistry):
2476         * chromium/platform/WebString.h: Copied from Source/WebKit/chromium/public/platform/WebString.h.
2477         (WebKit::WebString::~WebString):
2478         (WebKit::WebString::WebString):
2479         (WebKit::WebString::operator=):
2480         (WebKit::WebString::isEmpty):
2481         (WebKit::WebString::isNull):
2482         (WebKit::WebString::operator string16):
2483         (WebKit::WebString::operator NullableString16):
2484         (WebKit::WebString::fromUTF8):
2485         (WebKit::operator==):
2486         (WebKit::operator!=):
2487         * chromium/src/WebCString.cpp: Renamed from Source/WebKit/chromium/src/WebCString.cpp.
2488         (WebKit::WebCString::compare):
2489         (WebKit::WebCString::reset):
2490         (WebKit::WebCString::assign):
2491         (WebKit::WebCString::length):
2492         (WebKit::WebCString::data):
2493         (WebKit::WebCString::utf16):
2494         (WebKit::WebCString::fromUTF16):
2495         (WebKit::WebCString::WebCString):
2496         (WebKit::WebCString::operator=):
2497         (WebKit::WebCString::operator WTF::CString):
2498         * chromium/src/WebString.cpp: Renamed from Source/WebKit/chromium/src/WebString.cpp.
2499         (WebKit::WebString::reset):
2500         (WebKit::WebString::assign):
2501         (WebKit::WebString::length):
2502         (WebKit::WebString::data):
2503         (WebKit::WebString::utf8):
2504         (WebKit::WebString::fromUTF8):
2505         (WebKit::WebString::equals):
2506         (WebKit::WebString::WebString):
2507         (WebKit::WebString::operator=):
2508         (WebKit::WebString::operator WTF::String):
2509         (WebKit::WebString::operator WTF::AtomicString):
2510
2511 2011-11-02  Adam Barth  <abarth@webkit.org>
2512
2513         Add stubs for WTF and Platform
2514         https://bugs.webkit.org/show_bug.cgi?id=71492
2515
2516         Reviewed by Eric Seidel.
2517
2518         This patch creates the Platform directory, which begins the process of
2519         moving Platform out of WebCore.