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