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