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