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