1 2012-07-25 Min Qin <qinmin@chromium.org>
3 Upstream declaration of WebGraphicsContext3D::createStreamTextureCHROMIUM() for android
4 https://bugs.webkit.org/show_bug.cgi?id=92308
6 Reviewed by Adam Barth.
8 For android, we need 2 calls to create and destroy the stream texture.
9 This change adds the interface for these 2 calls.
10 The actual implementation will be in webgraphicscontext3d_in_process_impl and webgraphicscontext3d_command_buffer_impl.
12 * chromium/public/WebGraphicsContext3D.h:
13 (WebGraphicsContext3D):
14 (WebKit::WebGraphicsContext3D::createStreamTextureCHROMIUM):
15 (WebKit::WebGraphicsContext3D::destroyStreamTextureCHROMIUM):
17 2012-07-25 Tommy Widenflycht <tommyw@google.com>
19 MediaStream API: Update MediaStreamTrack to match the specification
20 https://bugs.webkit.org/show_bug.cgi?id=90180
22 Reviewed by Adam Barth.
24 * chromium/public/WebMediaStreamDescriptor.h:
25 (WebMediaStreamDescriptor):
26 * chromium/public/WebMediaStreamSource.h:
27 (WebMediaStreamSource):
29 2012-07-24 Dave Tu <dtu@chromium.org>
31 [chromium] Add time spent painting to GPU benchmarking renderingStats() API.
32 https://bugs.webkit.org/show_bug.cgi?id=90019
34 Reviewed by Adrienne Walker.
36 * chromium/public/WebRenderingStats.h:
38 (WebKit::WebRenderingStats::WebRenderingStats):
40 2012-07-24 Sheriff Bot <webkit.review.bot@gmail.com>
42 Unreviewed, rolling out r123499.
43 http://trac.webkit.org/changeset/123499
44 https://bugs.webkit.org/show_bug.cgi?id=92161
46 Android fails to compile (Requested by zhenyao on #webkit).
48 * chromium/public/WebMediaStreamDescriptor.h:
49 (WebMediaStreamDescriptor):
50 * chromium/public/WebMediaStreamSource.h:
51 (WebMediaStreamSource):
53 2012-07-24 Leandro Gracia Gil <leandrogracia@chromium.org>
55 [Chromium] Enable conversion between WebFloatRect and gfx::RectF.
56 https://bugs.webkit.org/show_bug.cgi?id=92117
58 Reviewed by Adam Barth.
60 Introduce WebFloatRect <--> gfx::RectF conversion as we already do with WebRect <--> gfx::Rect.
62 * chromium/public/WebFloatRect.h:
63 (WebKit::WebFloatRect::WebFloatRect):
65 (WebKit::WebFloatRect::operator=):
66 (WebKit::WebFloatRect::operator gfx::RectF):
68 2012-07-24 Tommy Widenflycht <tommyw@google.com>
70 MediaStream API: Update MediaStreamTrack to match the specification
71 https://bugs.webkit.org/show_bug.cgi?id=90180
73 Reviewed by Adam Barth.
75 * chromium/public/WebMediaStreamDescriptor.h:
76 (WebMediaStreamDescriptor):
77 * chromium/public/WebMediaStreamSource.h:
78 (WebMediaStreamSource):
80 2012-07-23 Dave Tu <dtu@chromium.org>
82 [chromium] Add droppedFrameCount to renderingStats.
83 https://bugs.webkit.org/show_bug.cgi?id=91694
85 Reviewed by Adrienne Walker.
87 * chromium/public/WebRenderingStats.h:
89 (WebKit::WebRenderingStats::WebRenderingStats):
91 2012-07-23 Brian Anderson <brianderson@chromium.org>
93 [chromium] Use shallow flushes that don't glFlush
94 https://bugs.webkit.org/show_bug.cgi?id=90325
96 Reviewed by Kenneth Russell.
98 Adds shallowFlushCHROMIUM to WebGraphicsContext3D.
100 * chromium/public/WebGraphicsContext3D.h:
101 (WebGraphicsContext3D):
102 (WebKit::WebGraphicsContext3D::shallowFlushCHROMIUM):
104 2012-07-23 Tommy Widenflycht <tommyw@google.com>
106 [chromium] MediaStream API: Clean up the MockWebKitPlatformSupport object at shutdown
107 https://bugs.webkit.org/show_bug.cgi?id=91857
109 Reviewed by Adam Barth.
111 Made Platforms destructor virtual.
113 * chromium/public/Platform.h:
114 (WebKit::Platform::~Platform):
116 2012-07-18 Antoine Labour <piman@chromium.org>
118 [chromium] Introduce CCResourceProvider, replacing TextureAllocator and hiding textures from clients to allow transport
119 https://bugs.webkit.org/show_bug.cgi?id=91044
121 Reviewed by Adrienne Walker.
123 This does several things:
124 - Add a CCResourceProvider class, that hides textures and the 3D context
125 from layers (except those that need it). Instead layers manage
126 "resources". In the future, resources are expected to be transportable
127 to a "parent" CCResourceProvider to allow flattening of nested
129 - Replace texture ids by resource ids in DrawQuads (allowing them to be
131 - Replace TextureAllocator uses by the CCResourceProvider class.
132 - Upload of data is done through the CCResourceProvider instead of
134 - External textures are wrapped into a resource at draw time (see
135 caveat/FIXME in CCTextureLayerImpl).
136 - Rendering with the resources is done through an explicit
137 beginRenderFrom/endRenderFrom that exposes the texture only between that
139 - Merge all the LayerTextureSubImage instances (one per layer), into a
140 single instance on the CCResourceProvider.
142 Added CCResourceProviderTest, the refactoring is covered by existing tests.
144 * chromium/public/WebCompositorTextureQuad.h:
145 (WebCompositorTextureQuad):
146 (WebKit::WebCompositorTextureQuad::resourceId):
147 * chromium/public/WebCompositorTileQuad.h:
148 (WebCompositorTileQuad):
149 (WebKit::WebCompositorTileQuad::resourceId):
151 2012-07-18 Alexandre Elias <aelias@google.com>
153 [chromium] Ubercomp: add id to SharedQuadState
154 https://bugs.webkit.org/show_bug.cgi?id=91670
156 Reviewed by Adrienne Walker.
158 This assigns an integer ID to SharedQuadState objects and a
159 corresponding ID to quads. This ID is unique only within a
160 RenderPass and currently is just set to the index in the shared quad
161 state list. This is redundant with the pointer and exists to
162 simplify serialization.
164 I found out that pointer rewriting within a pickler is blocked by
165 pointers to memory being const there, so the reassignment will have to
166 be performed in the application layer anyway. In that case, it's
167 simplest to add some ID integers.
169 * chromium/public/WebCompositorQuad.h:
170 (WebKit::WebCompositorQuad::sharedQuadStateId):
172 * chromium/public/WebCompositorSharedQuadState.h:
173 (WebCompositorSharedQuadState):
175 2012-07-18 Ryosuke Niwa <rniwa@webkit.org>
177 Another Chromium Windows build fix attempt after r123014.
179 * chromium/public/Platform.h:
181 2012-07-18 Mark Pilgrim <pilgrim@chromium.org>
183 [Chromium] Call SQLiteFileSystem-related functions directly
184 https://bugs.webkit.org/show_bug.cgi?id=91631
186 Reviewed by Adam Barth.
188 Part of a refactoring series. See tracking bug 82948.
190 * chromium/public/Platform.h:
192 (WebKit::Platform::databaseOpenFile):
193 (WebKit::Platform::databaseDeleteFile):
194 (WebKit::Platform::databaseGetFileAttributes):
195 (WebKit::Platform::databaseGetFileSize):
196 (WebKit::Platform::databaseGetSpaceAvailableForOrigin):
198 2012-07-18 Sailesh Agrawal <sail@chromium.org>
200 Chromium Mac: Add TEXTURE_RECTANGLE_ARB support to CCVideoLayerImpl
201 https://bugs.webkit.org/show_bug.cgi?id=91169
203 Reviewed by Adrienne Walker.
205 Added a "orientation" field to WebCompositorIOSurfaceQuad. This is used at draw time to flip the texture if necessary.
207 * chromium/public/WebCompositorIOSurfaceQuad.h: Added orientation field to the constructor.
208 (WebKit::WebCompositorIOSurfaceQuad::orientation):
209 (WebCompositorIOSurfaceQuad): The new orientation field should be set to Flipped if the texture should be flipped when drawing.
211 2012-07-13 Tony Payne <tpayne@chromium.org>
213 Remove Widget from screenColorProfile
214 https://bugs.webkit.org/show_bug.cgi?id=91300
216 Reviewed by Adam Barth.
218 * chromium/public/Platform.h:
219 (Platform): Updated comment to reflect that we no longer have a type param.
221 2012-07-11 Alexandre Elias <aelias@google.com>
223 [chromium] Move compositor quads to Platform/chromium/public
224 https://bugs.webkit.org/show_bug.cgi?id=90582
226 Reviewed by Adrienne Walker.
228 This moves CCSharedQuadState, CCDrawQuad, and all but two CC*DrawQuad
229 classes to the WebKit namespace, as a first step to pushing them
230 across the process boundary for the ubercompositor.
232 - The intent is to serialize the class hierarchy using the same
233 mechanism as WebInputEvent. In order to do this, there are three
234 requirements: pure POD data, a method returning size, and a packing
237 - Private data members are fine with this kind of serializer, and a
238 default constructor is not needed. Because of that, we can maintain
239 the same encapsulation and convenient APIs (behind
240 WEBKIT_IMPLEMENTATION) as the original classes. To ease the
241 transition, the original WebCore headers still exist and typedef to
244 - However, SharedQuadState will be serialized using the normal
245 IPC_STRUCT_TRAITS macro, so I made its members public. A custom
246 serializer (on quad lists) will maintain the pointers from quads to
249 - I converted the Material casting mechanism to materialCast() methods
250 living in the derived classes. That way, the WebCompositorQuad header
251 doesn't need to know about all its derived classes.
253 - Quad classes not yet transitioned can still be used in
254 non-ubercompositor mode. CCRenderPassDrawQuad and CCYUVVideoDrawQuad
255 are currently non-POD and I left them in their original files.
257 This approach is the best I've found so far, since it preserves all
258 WebCore-facing APIs and avoids unnecessary code duplication (new quad
259 types or members can be added by modifying only one place). There
260 also should not be an unreasonable amount of custom serializer code
264 * chromium/public/WebCompositorQuad.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCDrawQuad.h.
267 (WebKit::WebCompositorQuad::quadRect):
268 (WebKit::WebCompositorQuad::quadTransform):
269 (WebKit::WebCompositorQuad::layerTransform):
270 (WebKit::WebCompositorQuad::layerRect):
271 (WebKit::WebCompositorQuad::scissorRect):
272 (WebKit::WebCompositorQuad::opacity):
273 (WebKit::WebCompositorQuad::needsBlending):
274 (WebKit::WebCompositorQuad::isLayerAxisAlignedIntRect):
275 (WebKit::WebCompositorQuad::quadVisibleRect):
276 (WebKit::WebCompositorQuad::isDebugQuad):
277 (WebKit::WebCompositorQuad::material):
278 (WebKit::WebCompositorQuad::sharedQuadState):
279 (WebKit::WebCompositorQuad::setSharedQuadState):
280 * chromium/public/WebCompositorSharedQuadState.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCSolidColorDrawQuad.h.
282 (WebCompositorSharedQuadState):
283 * chromium/public/WebCompositorSolidColorQuad.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCSolidColorDrawQuad.h.
285 (WebCompositorSolidColorQuad):
286 (WebKit::WebCompositorSolidColorQuad::color):
287 * chromium/public/WebCompositorTextureQuad.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCTextureDrawQuad.h.
289 (WebCompositorTextureQuad):
290 (WebKit::WebCompositorTextureQuad::uvRect):
291 (WebKit::WebCompositorTextureQuad::textureId):
292 (WebKit::WebCompositorTextureQuad::premultipliedAlpha):
293 (WebKit::WebCompositorTextureQuad::flipped):
295 2012-07-05 Ian Vollick <vollick@chromium.org>
297 [chromium] Create a WebKit::Web* wrapper for the cc animation classes
298 https://bugs.webkit.org/show_bug.cgi?id=90303
300 Reviewed by James Robinson.
303 * chromium/public/WebAnimation.h: Added.
307 (WebKit::WebAnimation::WebAnimation):
308 (WebKit::WebAnimation::~WebAnimation):
309 * chromium/public/WebAnimationCurve.h: Added.
313 (WebKit::WebAnimationCurve::~WebAnimationCurve):
314 (WebKit::WebAnimationCurve::WebAnimationCurve):
315 * chromium/public/WebFloatAnimationCurve.h: Added.
318 (WebFloatAnimationCurve):
319 (WebKit::WebFloatAnimationCurve::WebFloatAnimationCurve):
320 (WebKit::WebFloatAnimationCurve::~WebFloatAnimationCurve):
321 * chromium/public/WebFloatKeyframe.h: Added.
323 (WebKit::WebFloatKeyframe::WebFloatKeyframe):
325 * chromium/public/WebTransformAnimationCurve.h: Added.
328 (WebTransformAnimationCurve):
329 (WebKit::WebTransformAnimationCurve::WebTransformAnimationCurve):
330 (WebKit::WebTransformAnimationCurve::~WebTransformAnimationCurve):
331 * chromium/public/WebTransformKeyframe.h: Added.
333 (WebKit::WebTransformKeyframe::WebTransformKeyframe):
334 (WebTransformKeyframe):
336 2012-07-03 Alex Sakhartchouk <alexst@chromium.org>
338 [chromium] Avoid calling getUniformLocation??() in the compositor startup
339 https://bugs.webkit.org/show_bug.cgi?id=90217
341 Reviewed by Adrienne Walker.
343 Adding an entry point for bindUniformLocationCHROMIUM.
345 * chromium/public/WebGraphicsContext3D.h:
346 (WebGraphicsContext3D):
347 (WebKit::WebGraphicsContext3D::bindUniformLocationCHROMIUM):
349 2012-07-03 Tony Chang <tony@chromium.org>
351 [chromium] Unreviewed, update .gitignore to handle VS2010 files.
353 * Platform.gyp/.gitignore:
355 2012-07-02 Tommy Widenflycht <tommyw@google.com>
357 MediaStream API: Update MediaStreamTrackList to match the specification
358 https://bugs.webkit.org/show_bug.cgi?id=90171
360 Reviewed by Adam Barth.
362 The latest update to the specification added add and remove methods with corresponding callbacks.
363 The callbacks can be triggered both from JS and from the platform layer.
365 * chromium/public/WebMediaStreamCenterClient.h:
367 (WebMediaStreamCenterClient):
369 2012-07-01 Keishi Hattori <keishi@webkit.org>
371 Unreviewed, rolling out r121650.
372 http://trac.webkit.org/changeset/121650
373 https://bugs.webkit.org/show_bug.cgi?id=90303
375 runhooks is failing for chromium win bots and
376 WebAnimationTest.DefaultSettings is crashing
379 * chromium/public/WebAnimation.h: Removed.
380 * chromium/public/WebAnimationCurve.h: Removed.
381 * chromium/public/WebFloatAnimationCurve.h: Removed.
382 * chromium/public/WebFloatKeyframe.h: Removed.
383 * chromium/public/WebTransformAnimationCurve.h: Removed.
384 * chromium/public/WebTransformKeyframe.h: Removed.
386 2012-07-01 Ian Vollick <vollick@chromium.org>
388 [chromium] Create a WebKit::Web* wrapper for the cc animation classes
389 https://bugs.webkit.org/show_bug.cgi?id=90303
391 Reviewed by James Robinson.
394 * chromium/public/WebAnimation.h: Added.
398 (WebKit::WebAnimation::WebAnimation):
399 (WebKit::WebAnimation::~WebAnimation):
400 * chromium/public/WebAnimationCurve.h: Added.
404 (WebKit::WebAnimationCurve::~WebAnimationCurve):
405 (WebKit::WebAnimationCurve::WebAnimationCurve):
406 * chromium/public/WebFloatAnimationCurve.h: Added.
409 (WebFloatAnimationCurve):
410 (WebKit::WebFloatAnimationCurve::WebFloatAnimationCurve):
411 (WebKit::WebFloatAnimationCurve::~WebFloatAnimationCurve):
412 * chromium/public/WebFloatKeyframe.h: Added.
414 (WebKit::WebFloatKeyframe::WebFloatKeyframe):
416 * chromium/public/WebTransformAnimationCurve.h: Added.
419 (WebTransformAnimationCurve):
420 (WebKit::WebTransformAnimationCurve::WebTransformAnimationCurve):
421 (WebKit::WebTransformAnimationCurve::~WebTransformAnimationCurve):
422 * chromium/public/WebTransformKeyframe.h: Added.
424 (WebKit::WebTransformKeyframe::WebTransformKeyframe):
425 (WebTransformKeyframe):
427 2012-06-30 Ian Vollick <vollick@chromium.org>
429 [chromium] CanvasLayerTextureUpdater needs to convert opaque rects back to content space.
430 https://bugs.webkit.org/show_bug.cgi?id=90092
432 The CanvasLayerTextureUpdater currently receives its opaque rects in
433 layer space, but is expected to return them in content space and does
434 not convert them. This patch adds this conversion. To avoid numerical
435 errors, this patch also switches to using float rects to store opaque
436 rects where appropriate.
438 Reviewed by Adrienne Walker.
440 * chromium/public/WebContentLayerClient.h:
442 (WebContentLayerClient):
444 2012-06-29 Tony Payne <tpayne@chromium.org>
446 Remove type from screenColorProfile API
447 https://bugs.webkit.org/show_bug.cgi?id=90299
449 Reviewed by Adam Barth.
451 * chromium/public/Platform.h:
452 (WebKit::Platform::screenColorProfile): Removed type from chromium
453 public API's version of screenColorProfile().
455 2012-06-28 James Robinson <jamesr@chromium.org>
457 [chromium] Remove mapRect and mapQuad from WebTransformationMatrix
458 https://bugs.webkit.org/show_bug.cgi?id=90230
460 Reviewed by Adrienne Walker.
462 Removes clipping-unaware mapRect, mapQuad and projectPoint functions from the WebTransformationMatrix interface.
464 * chromium/public/WebTransformationMatrix.h:
465 (WebTransformationMatrix):
467 2012-06-28 Adrienne Walker <enne@google.com>
469 [chromium] Split WebScrollbar into WebPluginScrollbar and WebScrollbar
470 https://bugs.webkit.org/show_bug.cgi?id=90117
472 Reviewed by James Robinson.
474 Move WebScrollbar from client API to Platform.
477 * chromium/public/WebScrollbar.h: Copied from Source/WebKit/chromium/public/WebPluginScrollbarClient.h.
480 (WebKit::WebScrollbar::~WebScrollbar):
482 2012-06-26 James Robinson <jamesr@chromium.org>
484 [chromium] Remove WebView::graphicsContext3D getter
485 https://bugs.webkit.org/show_bug.cgi?id=89916
487 Reviewed by Adrienne Walker.
489 Remove unused getter.
491 * chromium/public/WebLayerTreeView.h:
494 2012-06-26 Dave Tu <dtu@chromium.org>
496 [chromium] Expose rendering statistics to WebWidget.
497 https://bugs.webkit.org/show_bug.cgi?id=88268
499 Reviewed by James Robinson.
501 The WebKit side of a basic framework for exposing rendering statistics
502 to Chromium's --enable-benchmarking extension.
504 * chromium/public/WebLayerTreeView.h:
505 (WebRenderingStatistics):
509 2012-06-25 James Robinson <jamesr@chromium.org>
511 [chromium] Add WebLayer API for scrolling
512 https://bugs.webkit.org/show_bug.cgi?id=89913
514 Reviewed by Adrienne Walker.
516 Adds WebScrollableLayer type to represent a layer that can be scrolled by the user. Currently WebContentLayers
517 are scrollable and no other layer types are, although this might change in the future.
519 * chromium/public/WebContentLayer.h:
520 (WebKit::WebContentLayer::WebContentLayer):
521 * chromium/public/WebLayer.h:
523 * chromium/public/WebScrollableLayer.h:
525 (WebScrollableLayer):
526 (WebKit::WebScrollableLayer::WebScrollableLayer):
527 (WebKit::WebScrollableLayer::~WebScrollableLayer):
528 (WebKit::WebScrollableLayer::operator=):
530 2012-06-25 Sheriff Bot <webkit.review.bot@gmail.com>
532 Unreviewed, rolling out r121176.
533 http://trac.webkit.org/changeset/121176
534 https://bugs.webkit.org/show_bug.cgi?id=89934
536 [chromium] browser_tests assert failed:
537 FATAL:native_theme_win.cc(1541)] Check failed: false. Invalid
538 part: 16 (Requested by ukai on #webkit).
540 * chromium/public/win/WebThemeEngine.h:
541 (WebKit::WebThemeEngine::paintProgressBar):
543 2012-06-25 James Robinson <jamesr@chromium.org>
545 [chromium] Use WebGraphicsContext3D in compositor implementation
546 https://bugs.webkit.org/show_bug.cgi?id=89700
548 Reviewed by Adrienne Walker.
550 Puts all callback destructors in protected section and removes obsolete memory callback signature.
552 * chromium/public/WebGraphicsContext3D.h:
553 (WebGraphicsContextLostCallback):
554 (WebGraphicsErrorMessageCallback):
555 (WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
556 (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
558 2012-06-25 Scott Graham <scottmg@chromium.org>
560 Plumb Scrollbar button dimensions through WebThemeEngine
561 https://bugs.webkit.org/show_bug.cgi?id=89264
563 Reviewed by James Robinson.
565 Rather than making the height of the scrollbar buttons the same as the
566 width of the scrollbar, delegate to the WebThemeEngine. This allows
567 matching the Aura theme rather than the standard Windows theme.
569 * chromium/public/win/WebThemeEngine.h:
573 2012-06-22 Kenneth Russell <kbr@google.com>
575 Unreviewed, rolling out r121064.
576 http://trac.webkit.org/changeset/121064
577 https://bugs.webkit.org/show_bug.cgi?id=88268
579 Broke Chromium Mac build.
582 * chromium/public/WebLayerTreeView.h:
585 * chromium/public/WebRenderingStats.h: Removed.
587 2012-06-22 Dave Tu <dtu@chromium.org>
589 [chromium] Expose rendering statistics to WebWidget.
590 https://bugs.webkit.org/show_bug.cgi?id=88268
592 Reviewed by James Robinson.
594 The WebKit side of a basic framework for exposing rendering statistics
595 to Chromium's --enable-benchmarking extension.
597 * chromium/public/WebLayerTreeView.h:
598 (WebRenderingStatistics):
602 2012-06-22 Jeff Timanus <twiz@chromium.org>
604 [Chromium] Change implementing a fast-path for copying GPU-accelerated Canvas2D instances to WebGL textures.
605 https://bugs.webkit.org/show_bug.cgi?id=86275
607 This change adds the necessary plumbing to the various rendering contexts to copy the backing store texture of
608 a Canvas2D instance to be copied to a WebGL texture. The GL_CHROMIUM_copy_texture extension is necessary
609 because the backing-store for a GPU-accelerated skia Canvas2D is normally in BGRA format, which is not supported
612 Reviewed by Kenneth Russell.
614 * chromium/public/WebGraphicsContext3D.h:
615 (WebGraphicsContext3D):
616 (WebKit::WebGraphicsContext3D::copyTextureCHROMIUM):
618 2012-06-20 Christopher Cameron <ccameron@chromium.org>
620 [chromium] webkit-backface-visibility doesn't work with video
621 https://bugs.webkit.org/show_bug.cgi?id=88908
623 When determining a contents layer's backface culling, use the parent
624 layer's transform and backface-visibility properties. Track which
625 layers need this special treatment with useParentBackfaceVisibility
626 and setUseParentBackfaceVisibility functions in WebCore::LayerChromium,
627 WebKit::WebLayer, and WebCore::CCLayerImpl.
629 Reviewed by Adrienne Walker.
631 * chromium/public/WebLayer.h:
633 Add an accessor to specify that a layer should use its parent's
634 backface culling behavior.
636 2012-06-19 Tony Payne <tpayne@chromium.org>
638 Add monitor profile support for Win
639 https://bugs.webkit.org/show_bug.cgi?id=88565
641 Reviewed by Eric Seidel.
643 * chromium/public/Platform.h:
645 (WebKit::Platform::screenColorProfile):
647 2012-06-14 James Robinson <jamesr@chromium.org>
649 [chromium] Use WebImageLayer in GraphicsLayerChromium for image layers
650 https://bugs.webkit.org/show_bug.cgi?id=89150
652 Reviewed by Adrienne Walker.
654 Adds a WebImageLayer type to represent layers backed by (guess what) Images.
657 * chromium/public/WebImageLayer.h: Added.
661 (WebKit::WebImageLayer::WebImageLayer):
662 (WebKit::WebImageLayer::~WebImageLayer):
664 2012-06-14 James Robinson <jamesr@chromium.org>
666 [chromium] GraphicsLayerChromium should use WebContentLayer directly
667 https://bugs.webkit.org/show_bug.cgi?id=89145
669 Reviewed by Adrienne Walker.
671 Add an opaque rect parameter to WebContentLayerClient::paintContents() for a client to (optionally) provide
672 information about opaque portions of the painted region for culling optimizations.
674 * chromium/public/WebContentLayerClient.h:
675 (WebContentLayerClient):
677 2012-06-16 Robert Kroeger <rjkroege@chromium.org>
679 [chromium] Make the deviceScaleFactor dynamically adjustable.
680 https://bugs.webkit.org/show_bug.cgi?id=88916
682 Reviewed by James Robinson.
684 * chromium/public/WebLayerTreeView.h: Plumb setDeviceScaleFactor and
685 deviceScaleFactor functions.
686 (WebKit::WebLayerTreeView::Settings::Settings): Remove deviceScaleFactor from
687 settings as it is now dynamic.
691 2012-06-14 Ian Vollick <vollick@chromium.org>
693 [chromium] Certain settings in CCSettings could be global
694 https://bugs.webkit.org/show_bug.cgi?id=88384
696 Reviewed by James Robinson.
698 * chromium/public/WebLayerTreeView.h:
700 (WebKit::WebLayerTreeView::Settings::Settings):
703 2012-06-14 Eugene Klyuchnikov <eustas.bug@gmail.com>
705 Web Inspector: Refactor message loop instrumentation.
706 https://bugs.webkit.org/show_bug.cgi?id=88978
708 Reviewed by Pavel Feldman.
710 1) Remove "messageLoop" term
711 2) Reuse WebThread::TaskObserver interface
712 3) Move implementation (from embedder) to platform code.
714 * chromium/public/WebThread.h:
715 (TaskObserver): add "willProcessTask" method.
717 2012-06-13 Sheriff Bot <webkit.review.bot@gmail.com>
719 Unreviewed, rolling out r120268.
720 http://trac.webkit.org/changeset/120268
721 https://bugs.webkit.org/show_bug.cgi?id=89060
723 WebCompositor::setPerTilePaintingEnabled hits an assertion in
724 DEBUG (Requested by dominicc|work on #webkit).
726 * chromium/public/WebLayerTreeView.h:
728 (WebKit::WebLayerTreeView::Settings::Settings):
731 2012-06-13 Ian Vollick <vollick@chromium.org>
733 [chromium] Certain settings in CCSettings could be global
734 https://bugs.webkit.org/show_bug.cgi?id=88384
736 Reviewed by James Robinson.
738 * chromium/public/WebLayerTreeView.h:
740 (WebKit::WebLayerTreeView::Settings::Settings):
743 2012-06-12 James Robinson <jamesr@chromium.org>
745 [chromium] Port Canvas2DLayerBridge over to WebExternalTextureLayer
746 https://bugs.webkit.org/show_bug.cgi?id=88597
748 Reviewed by Adrienne Walker.
750 This adds two new APIs to WebExternalTextureLayer that are used by the accelerated 2d canvas path:
751 - willModifyTexture() is called to indicate that a system outside the compositor's control is about to modify
752 the texture backing the WebExternalTextureLayer. This indicates to the compositor that it needs to avoid
753 producing more frames using this texture until it can do a full commit - either by double buffering or
754 appropriate flow control.
756 - setRateLimitContext() is called to enable rate limiting for this texture. The rate limiting logic blocks if
757 too many invalidate() or invalidateRect() calls are made on the texture outside of the context of a
758 WebLayerTreeViewClient::updateAnimations() call to prevent a non-vsynced producer from getting too far ahead of
761 * chromium/public/WebExternalTextureLayer.h:
762 (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
763 (WebExternalTextureLayer):
765 2012-06-11 James Robinson <jamesr@chromium.org>
767 [chromium] Port DrawingBufferChromium from TextureLayerChromium over to WebExternalTextureLayer
768 https://bugs.webkit.org/show_bug.cgi?id=86273
770 Reviewed by Adrienne Walker.
773 * chromium/public/WebExternalTextureLayer.h:
775 (WebExternalTextureLayer):
776 * chromium/public/WebExternalTextureLayerClient.h: Copied from Source/WebKit/chromium/src/WebExternalTextureLayer.cpp.
779 (WebKit::WebTextureUpdater::~WebTextureUpdater):
780 (WebExternalTextureLayerClient):
781 (WebKit::WebExternalTextureLayerClient::~WebExternalTextureLayerClient):
783 2012-06-11 Dana Jansens <danakj@chromium.org>
785 [chromium] Separate CCVideoDrawQuad and from the layer tree and video provider by removing ManagedTexture and WebVideoFrame pointers from the quad
786 https://bugs.webkit.org/show_bug.cgi?id=88363
788 Reviewed by Adrienne Walker.
791 * chromium/public/WebVideoFrame.h:
792 * chromium/src/WebVideoFrame.cpp: Removed.
794 2012-06-08 David Reveman <reveman@chromium.org>
796 [Chromium] Compositor doesn't support translucent root layers.
797 https://bugs.webkit.org/show_bug.cgi?id=87821
799 Reviewed by James Robinson.
801 * chromium/public/WebLayer.h:
803 * chromium/public/WebLayerTreeView.h:
806 2012-06-06 Mark Pilgrim <pilgrim@chromium.org>
808 [Chromium] Move createMessagePortChannel to Platform.h
809 https://bugs.webkit.org/show_bug.cgi?id=85764
811 Reviewed by Adam Barth.
813 Part of a refactoring series. See tracking bug 82948.
816 * chromium/public/Platform.h:
819 (WebKit::Platform::createMessagePortChannel):
820 * chromium/public/WebMessagePortChannel.h: Added.
822 (WebMessagePortChannel):
823 (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
824 * chromium/public/WebMessagePortChannelClient.h: Added.
826 (WebMessagePortChannelClient):
827 (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):
829 2012-06-05 Mark Pilgrim <pilgrim@chromium.org>
831 [Chromium] Move createLocalStorageNamespace to Platform.h
832 https://bugs.webkit.org/show_bug.cgi?id=85766
834 Reviewed by James Robinson.
836 Part of a refactoring series. See tracking bug 82948.
839 * chromium/public/Platform.h:
842 (WebKit::Platform::createLocalStorageNamespace):
843 * chromium/public/WebStorageArea.h: Added.
846 (WebKit::WebStorageArea::~WebStorageArea):
847 (WebKit::WebStorageArea::setItem):
848 (WebKit::WebStorageArea::removeItem):
849 (WebKit::WebStorageArea::clear):
850 * chromium/public/WebStorageNamespace.h: Added.
852 (WebStorageNamespace):
853 (WebKit::WebStorageNamespace::~WebStorageNamespace):
854 (WebKit::WebStorageNamespace::isSameNamespace):
856 2012-06-01 Alexandre Elias <aelias@google.com>
858 [chromium] Software compositor initialization and base classes
859 https://bugs.webkit.org/show_bug.cgi?id=87920
861 Reviewed by James Robinson.
863 Add a new setting to force software compositing. In this mode,
864 no GraphicsContext3D should ever be created.
866 * chromium/public/WebLayerTreeView.h:
867 (WebKit::WebLayerTreeView::Settings::Settings):
870 2012-06-01 Mark Pilgrim <pilgrim@chromium.org>
872 [Chromium] Call clipboard methods directly
873 https://bugs.webkit.org/show_bug.cgi?id=88038
875 Reviewed by Adam Barth.
877 Part of a refactoring series. See tracking bug 82948.
879 * chromium/public/WebClipboard.h:
880 (WebKit::WebClipboard::sequenceNumber):
882 2012-05-31 Shawn Singh <shawnsingh@chromium.org>
884 [chromium] Migrate to WebTransformationMatrix
885 https://bugs.webkit.org/show_bug.cgi?id=87788
887 Reviewed by James Robinson.
889 * chromium/public/WebTransformationMatrix.h:
890 (WebTransformationMatrix):
892 2012-05-31 Dana Jansens <danakj@chromium.org>
894 [chromium] Add copy constructor to WebFilterOperations
895 https://bugs.webkit.org/show_bug.cgi?id=87970
897 Reviewed by James Robinson.
899 * chromium/public/WebFilterOperations.h:
900 (WebKit::WebFilterOperations::WebFilterOperations):
902 2012-05-31 Ian Vollick <vollick@chromium.org>
904 [chromium] create WebTransformOperation interface for chromium platform
905 https://bugs.webkit.org/show_bug.cgi?id=87510
907 Reviewed by James Robinson.
910 * chromium/public/WebTransformOperations.h: Added.
912 (WebTransformOperations):
913 (WebKit::WebTransformOperations::~WebTransformOperations):
914 (WebKit::WebTransformOperations::WebTransformOperations):
915 (WebKit::WebTransformOperations::operator=):
917 2012-05-30 Yury Semikhatsky <yurys@chromium.org>
919 Web Inspector: add MemoryUsageSupport::processMemorySizesInBytes
920 https://bugs.webkit.org/show_bug.cgi?id=87830
922 Reviewed by James Robinson.
924 * chromium/public/Platform.h:
926 (WebKit::Platform::processMemorySizesInBytes): moved this method from
927 Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h, also
928 removed 'get' prefix.
930 2012-05-29 Mark Pilgrim <pilgrim@chromium.org>
932 [Chromium] Move fileExists to Platform.h
933 https://bugs.webkit.org/show_bug.cgi?id=87531
935 Reviewed by Adam Barth.
937 Call fileExists through fileUtilities(), not directly.
939 * chromium/public/Platform.h:
942 2012-05-29 Mark Pilgrim <pilgrim@chromium.org>
944 [Chromium] Move fileExists to Platform.h
945 https://bugs.webkit.org/show_bug.cgi?id=87531
947 Reviewed by Adam Barth.
949 Part of a refactoring series. See tracking bug 82948.
951 * chromium/public/Platform.h:
952 (WebKit::Platform::fileExists):
955 2012-05-29 Shawn Singh <shawnsingh@chromium.org>
957 [chromium] make WebTransformationMatrix object usable by non-webkit code
958 https://bugs.webkit.org/show_bug.cgi?id=87315
960 Reviewed by James Robinson.
962 * chromium/public/WebTransformationMatrix.h:
963 (WebKit::WebTransformationMatrix::~WebTransformationMatrix):
964 (WebTransformationMatrix):
966 2012-05-25 Kinuko Yasuda <kinuko@chromium.org>
968 [chromium] Deprecate FileUtilities::getFileSize and getFileModifiedTime in favor of getFileMetadata
969 https://bugs.webkit.org/show_bug.cgi?id=87492
971 Reviewed by Adam Barth.
973 * chromium/public/WebFileUtilities.h:
975 2012-05-25 Mark Pilgrim <pilgrim@chromium.org>
977 [Chomium] Move sandboxSupport to Platform.h
978 https://bugs.webkit.org/show_bug.cgi?id=87518
980 Reviewed by Adam Barth.
982 Part of a refactoring series. See tracking bug 82948.
985 * chromium/public/Platform.h:
988 (WebKit::Platform::sandboxSupport):
989 * chromium/public/android/WebSandboxSupport.h: Added.
992 * chromium/public/linux/WebFontFamily.h: Added.
995 * chromium/public/linux/WebSandboxSupport.h: Added.
998 * chromium/public/mac/WebSandboxSupport.h: Added.
1000 (WebSandboxSupport):
1001 * chromium/public/win/WebSandboxSupport.h: Added.
1003 (WebSandboxSupport):
1005 2012-05-17 Andrey Kosyakov <caseq@chromium.org>
1007 [chromium] add instrumentation for compositing
1008 https://bugs.webkit.org/show_bug.cgi?id=83928
1010 Reviewed by James Robinson.
1012 - added willCommit() and didBeginFrame() methods for instrumentation of compositing.
1014 * chromium/public/WebLayerTreeViewClient.h:
1015 (WebLayerTreeViewClient):
1017 2012-05-21 Kinuko Yasuda <kinuko@chromium.org>
1019 Cleanup: add a file system call which captures the file metadata at once.
1020 https://bugs.webkit.org/show_bug.cgi?id=86995
1022 Reviewed by David Levin.
1024 * Platform.gypi: Added an entry for WebFileInfo.h.
1025 * chromium/public/WebFileInfo.h: Renamed from Source/WebKit/chromium/public/WebFileInfo.h.
1026 (WebKit::WebFileInfo::WebFileInfo):
1027 * chromium/public/WebFileUtilities.h:
1029 (WebKit::WebFileUtilities::getFileInfo): Added.
1031 2012-05-24 Antoine Labour <piman@chromium.org>
1033 [chromium] Add a setForceRenderSurface to WebLayer for test/bench purpose
1034 https://bugs.webkit.org/show_bug.cgi?id=87436
1036 Reviewed by James Robinson.
1038 * chromium/public/WebLayer.h:
1041 2012-05-24 Mark Pilgrim <pilgrim@chromium.org>
1043 [Chromium] Move queryLocalizedString to Platform.h
1044 https://bugs.webkit.org/show_bug.cgi?id=85762
1046 Reviewed by Adam Barth.
1048 Part of a refactoring series. See tracking bug 82948.
1051 * chromium/public/Platform.h:
1054 (WebKit::Platform::queryLocalizedString):
1055 * chromium/public/WebLocalizedString.h: Added.
1058 2012-05-23 Sheriff Bot <webkit.review.bot@gmail.com>
1060 Unreviewed, rolling out r118218.
1061 http://trac.webkit.org/changeset/118218
1062 https://bugs.webkit.org/show_bug.cgi?id=87299
1064 breaks webkit win builder (Requested by pilgrim_google__ on
1068 * chromium/public/Platform.h:
1071 * chromium/public/WebLocalizedString.h: Removed.
1073 2012-05-23 Mark Pilgrim <pilgrim@chromium.org>
1075 [Chromium] Move themeEngine to Platform.h
1076 https://bugs.webkit.org/show_bug.cgi?id=87268
1078 Reviewed by Adam Barth.
1080 Part of a refactoring series. See tracking bug 82948.
1083 * chromium/public/Platform.h:
1086 (WebKit::Platform::themeEngine):
1087 * chromium/public/android: Added.
1088 * chromium/public/android/WebThemeEngine.h: Added.
1091 (ScrollbarTrackExtraParams):
1092 (ButtonExtraParams):
1093 (TextFieldExtraParams):
1094 (MenuListExtraParams):
1095 (SliderExtraParams):
1096 (InnerSpinButtonExtraParams):
1097 (ProgressBarExtraParams):
1098 (WebKit::WebThemeEngine::getSize):
1099 (WebKit::WebThemeEngine::paint):
1100 * chromium/public/linux: Added.
1101 * chromium/public/linux/WebThemeEngine.h: Added.
1104 (ScrollbarTrackExtraParams):
1105 (ButtonExtraParams):
1106 (TextFieldExtraParams):
1107 (MenuListExtraParams):
1108 (SliderExtraParams):
1109 (InnerSpinButtonExtraParams):
1110 (ProgressBarExtraParams):
1111 (WebKit::WebThemeEngine::getSize):
1112 (WebKit::WebThemeEngine::paint):
1113 * chromium/public/mac: Added.
1114 * chromium/public/mac/WebThemeEngine.h: Added.
1118 (WebKit::WebThemeEngine::paintScrollbarThumb):
1119 * chromium/public/win: Added.
1120 * chromium/public/win/WebThemeEngine.h: Added.
1123 (WebKit::WebThemeEngine::paintSpinButton):
1124 (WebKit::WebThemeEngine::paintProgressBar):
1126 2012-05-23 Mark Pilgrim <pilgrim@chromium.org>
1128 [Chromium] Move queryLocalizedString to Platform.h
1129 https://bugs.webkit.org/show_bug.cgi?id=85762
1131 Reviewed by Adam Barth.
1133 Part of a refactoring series. See tracking bug 82948.
1136 * chromium/public/Platform.h:
1139 (WebKit::Platform::queryLocalizedString):
1140 * chromium/public/WebLocalizedString.h: Added.
1143 2012-05-22 Mark Pilgrim <pilgrim@chromium.org>
1145 [Chromium] Call canAccelerate2dCanvas directly
1146 https://bugs.webkit.org/show_bug.cgi?id=86893
1148 Reviewed by James Robinson.
1150 Part of a refactoring series. See tracking bug 82948.
1152 * chromium/public/Platform.h:
1154 (WebKit::Platform::canAccelerate2dCanvas):
1156 2012-05-22 Mark Pilgrim <pilgrim@chromium.org>
1158 [Chromium] Move cookieJar to Platform.h
1159 https://bugs.webkit.org/show_bug.cgi?id=86755
1161 Reviewed by Adam Barth.
1163 Part of a refactoring series. See tracking bug 82948.
1166 * chromium/public/Platform.h:
1169 (WebKit::Platform::cookieJar):
1170 * chromium/public/WebCookie.h: Added.
1172 (WebKit::WebCookie::WebCookie):
1174 * chromium/public/WebCookieJar.h: Added.
1177 (WebKit::WebCookieJar::setCookie):
1178 (WebKit::WebCookieJar::cookies):
1179 (WebKit::WebCookieJar::cookieRequestHeaderFieldValue):
1180 (WebKit::WebCookieJar::rawCookies):
1181 (WebKit::WebCookieJar::deleteCookie):
1182 (WebKit::WebCookieJar::cookiesEnabled):
1183 (WebKit::WebCookieJar::~WebCookieJar):
1185 2012-05-22 Gavin Peters <gavinp@chromium.org>
1187 [Chromium] Remove old staging enum value WebURLRequest::TargetType::TargetIsPrerender
1188 https://bugs.webkit.org/show_bug.cgi?id=85021
1190 Reviewed by Adam Barth.
1192 * chromium/public/WebURLRequest.h:
1194 2012-05-21 James Robinson <jamesr@chromium.org>
1196 [chromium] Port chromium compositor to use WebFilterOperation(s)
1197 https://bugs.webkit.org/show_bug.cgi?id=87046
1199 Reviewed by Adrienne Walker.
1201 This changes WebFilterOperation / WebFilterOperations from being simple wrappers over WebCore types to being
1202 standalone. WebFilterOperation is a plain old data struct with some convenience constuctors and type
1203 assertions. Each WebFilterOperation contains a type tag and the parameters needed for each filter.
1204 WebFilterOperations represents an ordered list of WebFilterOperation instances and can be copied around as
1205 needed. It also exposes a few convenience functions about how the filters will modify pixels.
1208 * chromium/public/WebFilterOperation.h:
1209 (WebFilterOperation):
1210 (WebKit::WebFilterOperation::type):
1211 (WebKit::WebFilterOperation::amount):
1212 (WebKit::WebFilterOperation::dropShadowOffset):
1213 (WebKit::WebFilterOperation::dropShadowColor):
1214 (WebKit::WebFilterOperation::createGrayscaleFilter):
1215 (WebKit::WebFilterOperation::createSepiaFilter):
1216 (WebKit::WebFilterOperation::createSaturateFilter):
1217 (WebKit::WebFilterOperation::createHueRotateFilter):
1218 (WebKit::WebFilterOperation::createInvertFilter):
1219 (WebKit::WebFilterOperation::createBrightnessFilter):
1220 (WebKit::WebFilterOperation::createContrastFilter):
1221 (WebKit::WebFilterOperation::createOpacityFilter):
1222 (WebKit::WebFilterOperation::createBlurFilter):
1223 (WebKit::WebFilterOperation::createDropShadowFilter):
1224 (WebKit::WebFilterOperation::equals):
1225 (WebKit::WebFilterOperation::WebFilterOperation):
1226 (WebKit::operator==):
1227 (WebKit::operator!=):
1228 * chromium/public/WebFilterOperations.h:
1230 (WebKit::WebFilterOperations::WebFilterOperations):
1231 (WebKit::WebFilterOperations::operator=):
1232 (WebFilterOperations):
1233 (WebKit::operator==):
1234 (WebKit::operator!=):
1235 * chromium/src/WebFilterOperations.cpp: Added.
1237 (WebFilterOperationsPrivate):
1238 (WebKit::WebFilterOperations::initialize):
1239 (WebKit::WebFilterOperations::destroy):
1240 (WebKit::WebFilterOperations::assign):
1241 (WebKit::WebFilterOperations::equals):
1242 (WebKit::WebFilterOperations::append):
1243 (WebKit::WebFilterOperations::clear):
1244 (WebKit::WebFilterOperations::isEmpty):
1245 (WebKit::spreadForStdDeviation):
1246 (WebKit::WebFilterOperations::getOutsets):
1247 (WebKit::WebFilterOperations::hasFilterThatMovesPixels):
1248 (WebKit::WebFilterOperations::hasFilterThatAffectsOpacity):
1249 (WebKit::WebFilterOperations::size):
1250 (WebKit::WebFilterOperations::at):
1252 2012-05-17 Mark Pilgrim <pilgrim@chromium.org>
1254 [Chromium] Move Web Workers methods to Platform.h
1255 https://bugs.webkit.org/show_bug.cgi?id=86799
1257 Reviewed by Adam Barth.
1259 Part of a refactoring series. See tracking bug 82948.
1262 * chromium/public/Platform.h:
1265 (WebKit::Platform::didStartWorkerRunLoop):
1266 (WebKit::Platform::didStopWorkerRunLoop):
1267 * chromium/public/WebWorkerRunLoop.h: Added.
1272 (WebKit::WebWorkerRunLoop::Task::~Task):
1273 (WebKit::operator==):
1274 (WebKit::operator<):
1276 2012-05-17 Dana Jansens <danakj@chromium.org>
1278 [chromium] Scale all compositor output by the defaultDeviceScaleFactor
1279 https://bugs.webkit.org/show_bug.cgi?id=86051
1281 Reviewed by James Robinson.
1283 * chromium/public/WebLayerTreeView.h:
1284 (WebKit::WebLayerTreeView::Settings::Settings):
1287 2012-05-17 Ami Fischman <fischman@chromium.org>
1289 [Chromium] Store HTTP version in WebURLResponse
1290 https://bugs.webkit.org/show_bug.cgi?id=86522
1292 Reviewed by Adam Barth.
1294 * chromium/public/WebURLResponse.h:
1297 2012-05-17 Vangelis Kokkevis <vangelis@chromium.org>
1299 [chromium] Expose layer tiling size options to WebSettings
1300 https://bugs.webkit.org/show_bug.cgi?id=86425
1302 Adding entries for tile size and max untiled layer size.
1304 Reviewed by Adrienne Walker.
1306 * chromium/public/WebLayerTreeView.h:
1308 (WebKit::WebLayerTreeView::Settings::Settings):
1311 2012-05-17 Mark Pilgrim <pilgrim@chromium.org>
1313 [Chromium] Move fileUtilities to Platform.h
1314 https://bugs.webkit.org/show_bug.cgi?id=86777
1316 Reviewed by Adam Barth.
1318 Part of a refactoring series. See tracking bug 82948.
1321 * chromium/public/Platform.h:
1324 (WebKit::Platform::fileUtilities):
1325 * chromium/public/WebFileUtilities.h: Added.
1328 (WebKit::WebFileUtilities::revealFolderInOS):
1329 (WebKit::WebFileUtilities::fileExists):
1330 (WebKit::WebFileUtilities::deleteFile):
1331 (WebKit::WebFileUtilities::deleteEmptyDirectory):
1332 (WebKit::WebFileUtilities::getFileSize):
1333 (WebKit::WebFileUtilities::getFileModificationTime):
1334 (WebKit::WebFileUtilities::directoryName):
1335 (WebKit::WebFileUtilities::pathByAppendingComponent):
1336 (WebKit::WebFileUtilities::makeAllDirectories):
1337 (WebKit::WebFileUtilities::getAbsolutePath):
1338 (WebKit::WebFileUtilities::isDirectory):
1339 (WebKit::WebFileUtilities::filePathToURL):
1340 (WebKit::WebFileUtilities::openFile):
1341 (WebKit::WebFileUtilities::closeFile):
1342 (WebKit::WebFileUtilities::seekFile):
1343 (WebKit::WebFileUtilities::truncateFile):
1344 (WebKit::WebFileUtilities::readFromFile):
1345 (WebKit::WebFileUtilities::writeToFile):
1346 (WebKit::WebFileUtilities::~WebFileUtilities):
1348 2012-05-11 James Robinson <jamesr@chromium.org>
1350 [chromium] Convert GraphicsLayerChromium to use WebLayer types
1351 https://bugs.webkit.org/show_bug.cgi?id=86269
1353 Reviewed by Adrienne Walker.
1355 Adds some new WebLayer / WebContentLayer APIs that WebCore::GraphicsLayerChromium needs.
1357 * chromium/public/WebContentLayer.h:
1361 * chromium/public/WebLayer.h:
1363 (WebKit::WebLayer::isNull):
1365 * chromium/public/WebTransformationMatrix.h:
1366 (WebKit::WebTransformationMatrix::~WebTransformationMatrix):
1367 Fix a memory leak - WebPrivateOwnPtr<>s have to be explicitly cleared.
1368 (WebTransformationMatrix):
1370 2012-05-16 Dana Jansens <danakj@chromium.org>
1372 [chromium] Clear the m_private pointer when destroying WebFilterOperations to avoid assert in WebPrivateOwnPtr
1373 https://bugs.webkit.org/show_bug.cgi?id=86654
1375 Reviewed by James Robinson.
1377 * chromium/public/WebFilterOperations.h:
1378 (WebKit::WebFilterOperations::~WebFilterOperations):
1379 (WebFilterOperations):
1381 2012-05-16 Kenichi Ishibashi <bashi@chromium.org>
1383 [Chromium] WebTransformationMatrixTest.verifyDefaultConstructorCreatesIdentityMatrix is failing
1384 https://bugs.webkit.org/show_bug.cgi?id=86589
1386 Reviewed by Kent Tamura.
1388 * chromium/public/WebTransformationMatrix.h: Added destructor.
1389 (WebTransformationMatrix):
1391 2012-05-15 Sheriff Bot <webkit.review.bot@gmail.com>
1393 Unreviewed, rolling out r117204.
1394 http://trac.webkit.org/changeset/117204
1395 https://bugs.webkit.org/show_bug.cgi?id=86559
1397 causing win compilation failures (Requested by pilgrim_google_
1401 * chromium/public/Platform.h:
1404 * chromium/public/WebMessagePortChannel.h: Removed.
1405 * chromium/public/WebMessagePortChannelClient.h: Removed.
1407 2012-05-15 Mark Pilgrim <pilgrim@chromium.org>
1409 [Chromium] Move createMessagePortChannel to Platform.h
1410 https://bugs.webkit.org/show_bug.cgi?id=85764
1412 Reviewed by Adam Barth.
1414 Part of a refactoring series. See tracking bug 82948.
1417 * chromium/public/Platform.h:
1420 (WebKit::Platform::createMessagePortChannel):
1421 * chromium/public/WebMessagePortChannel.h: Added.
1423 (WebMessagePortChannel):
1424 (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
1425 * chromium/public/WebMessagePortChannelClient.h: Added.
1427 (WebMessagePortChannelClient):
1428 (WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):
1430 2012-05-15 Mark Pilgrim <pilgrim@chromium.org>
1432 [Chromium] Move blobRegistry to Platform.h
1433 https://bugs.webkit.org/show_bug.cgi?id=85765
1435 Reviewed by Adam Barth.
1437 Part of a refactoring series. See tracking bug 82948.
1440 * chromium/public/Platform.h:
1443 (WebKit::Platform::blobRegistry):
1444 * chromium/public/WebBlobData.h: Added.
1447 (WebKit::WebBlobData::~WebBlobData):
1448 (WebKit::WebBlobData::WebBlobData):
1449 (WebKit::WebBlobData::isNull):
1450 * chromium/public/WebBlobRegistry.h: Added.
1453 (WebKit::WebBlobRegistry::~WebBlobRegistry):
1455 2012-05-15 James Robinson <jamesr@chromium.org>
1457 [chromium] Remove WEBKIT_USING_(SKIA|CG) #defines
1458 https://bugs.webkit.org/show_bug.cgi?id=86536
1460 Reviewed by Adam Barth.
1462 The Chromium port always using Skia, so WEBKIT_USING_CG has been dead code for many moons.
1464 * chromium/public/WebCommon.h:
1466 2012-05-15 James Robinson <jamesr@chromium.org>
1468 [chromium] Move createOffscreenGraphicsContext3D() from WebKitPlatformSupport to Platform
1469 https://bugs.webkit.org/show_bug.cgi?id=86524
1471 Reviewed by Adam Barth.
1473 Moves createOffscreenGraphicsContext3D(), previously on WebKitPlatformSupport, to WebKit::Platform.
1475 * chromium/public/Platform.h:
1477 (WebKit::Platform::createOffscreenGraphicsContext3D):
1479 2012-05-14 Gavin Peters <gavinp@chromium.org>
1481 Add Prerenderer, PrerenderHandle and a chromium interface for Prerendering.
1482 https://bugs.webkit.org/show_bug.cgi?id=85005
1484 Reviewed by Adam Barth.
1487 * chromium/public/WebPrerender.h:
1488 (WebKit::WebPrerender::referrer):
1491 * chromium/public/WebPrerenderingSupport.h:
1493 (WebPrerenderingSupport):
1494 * chromium/public/WebURLRequest.h:
1495 * chromium/src/WebPrerenderingSupport.cpp: Added.
1497 (WebKit::WebPrerenderingSupport::initialize):
1498 (WebKit::WebPrerenderingSupport::shutdown):
1499 (WebKit::WebPrerenderingSupport::current):
1501 2012-05-12 Sheriff Bot <webkit.review.bot@gmail.com>
1503 Unreviewed, rolling out r116812.
1504 http://trac.webkit.org/changeset/116812
1505 https://bugs.webkit.org/show_bug.cgi?id=86313
1507 Appears to be causing a top crash (Requested by abarth on
1511 * chromium/public/Platform.h:
1513 * chromium/public/WebStorageArea.h: Removed.
1514 * chromium/public/WebStorageNamespace.h: Removed.
1516 2012-05-11 Shawn Singh <shawnsingh@chromium.org>
1518 [chromium] Plumb --show-paint-rects to accelerated compositor
1519 https://bugs.webkit.org/show_bug.cgi?id=86255
1521 Reviewed by James Robinson.
1523 * chromium/public/WebLayerTreeView.h:
1524 (WebKit::WebLayerTreeView::Settings::Settings):
1527 2012-05-11 Mark Pilgrim <pilgrim@chromium.org>
1529 [Chromium] Move createLocalStorageNamespace to Platform.h
1530 https://bugs.webkit.org/show_bug.cgi?id=85766
1532 Reviewed by Adam Barth.
1534 Part of a refactoring series. See tracking bug 82948.
1537 * chromium/public/Platform.h:
1540 (WebKit::Platform::createLocalStorageNamespace):
1541 * chromium/public/WebStorageArea.h: Added.
1544 (WebKit::WebStorageArea::~WebStorageArea):
1545 (WebKit::WebStorageArea::setItem):
1546 (WebKit::WebStorageArea::removeItem):
1547 (WebKit::WebStorageArea::clear):
1548 * chromium/public/WebStorageNamespace.h: Added.
1550 (WebStorageNamespace):
1551 (WebKit::WebStorageNamespace::~WebStorageNamespace):
1552 (WebKit::WebStorageNamespace::isSameNamespace):
1554 2012-05-11 Shawn Singh <shawnsingh@chromium.org>
1556 [chromium] Create WebTransformationMatrix interface for chromium platform
1557 https://bugs.webkit.org/show_bug.cgi?id=86049
1559 Reviewed by James Robinson.
1561 * Platform.gyp/Platform.gyp:
1563 * chromium/public/WebTransformationMatrix.h: Added.
1566 (WebTransformationMatrix):
1568 2012-05-10 Mark Pilgrim <pilgrim@chromium.org>
1570 [Chromium] Remove WEBKIT_USING_SKIA ifdefs that are always true
1571 https://bugs.webkit.org/show_bug.cgi?id=86121
1573 Reviewed by Adam Barth.
1575 Chromium always uses Skia now, so this just removes the barriers
1576 around code that was previously #if'd.
1578 * chromium/public/WebCanvas.h:
1580 * chromium/public/WebGraphicsContext3D.h:
1581 (WebGraphicsContext3D):
1582 (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
1583 * chromium/public/WebImage.h:
1586 2012-05-10 Mark Pilgrim <pilgrim@chromium.org>
1588 [Chromium] Remove dead code behind unused WEBKIT_USING_CG
1589 https://bugs.webkit.org/show_bug.cgi?id=86018
1591 Reviewed by Adam Barth.
1593 We never use CoreGraphics as the backend for GraphicsContext in
1594 Chromium, so this is all dead code.
1596 * chromium/public/WebCanvas.h:
1598 * chromium/public/WebImage.h:
1601 2012-05-09 Mark Pilgrim <pilgrim@chromium.org>
1603 [Chromium] Move clipboard to Platform.h
1604 https://bugs.webkit.org/show_bug.cgi?id=85758
1606 Reviewed by Adam Barth.
1608 Part of a refactoring series. See tracking bug 82948.
1611 * chromium/public/Platform.h:
1614 (WebKit::Platform::clipboard):
1615 * chromium/public/WebClipboard.h: Added.
1618 (WebKit::WebClipboard::sequenceNumber):
1619 (WebKit::WebClipboard::isFormatAvailable):
1620 (WebKit::WebClipboard::readAvailableTypes):
1621 (WebKit::WebClipboard::readPlainText):
1622 (WebKit::WebClipboard::readHTML):
1623 (WebKit::WebClipboard::readImage):
1624 (WebKit::WebClipboard::readCustomData):
1625 (WebKit::WebClipboard::writePlainText):
1626 (WebKit::WebClipboard::writeHTML):
1627 (WebKit::WebClipboard::writeURL):
1628 (WebKit::WebClipboard::writeImage):
1629 (WebKit::WebClipboard::writeDataObject):
1630 (WebKit::WebClipboard::~WebClipboard):
1631 * chromium/public/WebDragData.h: Added.
1634 (WebKit::WebDragData::~WebDragData):
1635 (WebKit::WebDragData::WebDragData):
1636 (WebKit::WebDragData::operator=):
1637 (WebKit::WebDragData::isNull):
1638 * chromium/public/WebImage.h: Added.
1641 (WebKit::WebImage::~WebImage):
1642 (WebKit::WebImage::WebImage):
1643 (WebKit::WebImage::operator=):
1644 (WebKit::WebImage::getSkBitmap):
1645 (WebKit::WebImage::init):
1646 (WebKit::WebImage::getCGImageRef):
1648 2012-05-09 Tommy Widenflycht <tommyw@google.com>
1650 MediaStream API: Adding the possibility of port specific information in MediaStreamDescriptor
1651 https://bugs.webkit.org/show_bug.cgi?id=85794
1653 Reviewed by Adam Barth.
1655 To facilitate for ports I have added an ExtraData field that can be used for whatever purpose is needed.
1657 * chromium/public/WebMediaStreamDescriptor.h:
1659 (WebKit::WebMediaStreamDescriptor::ExtraData::~ExtraData):
1660 (WebMediaStreamDescriptor):
1662 2012-05-07 Mark Pilgrim <pilgrim@chromium.org>
1664 [Chromium] Move fileSystem to Platform.h
1665 https://bugs.webkit.org/show_bug.cgi?id=85760
1667 Reviewed by Adam Barth.
1669 Part of a refactoring series. See tracking bug 82948.
1672 * chromium/public/Platform.h:
1675 (WebKit::Platform::fileSystem):
1676 * chromium/public/WebFileSystem.h: Added.
1679 (WebKit::WebFileSystem::move):
1680 (WebKit::WebFileSystem::copy):
1681 (WebKit::WebFileSystem::remove):
1682 (WebKit::WebFileSystem::removeRecursively):
1683 (WebKit::WebFileSystem::readMetadata):
1684 (WebKit::WebFileSystem::createFile):
1685 (WebKit::WebFileSystem::createDirectory):
1686 (WebKit::WebFileSystem::fileExists):
1687 (WebKit::WebFileSystem::directoryExists):
1688 (WebKit::WebFileSystem::readDirectory):
1689 (WebKit::WebFileSystem::createFileWriter):
1690 (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata):
1691 (WebKit::WebFileSystem::~WebFileSystem):
1693 2012-05-07 Tommy Widenflycht <tommyw@google.com>
1695 MediaStream API: Rename MediaStreamCenter::didConstructMediaStream
1696 https://bugs.webkit.org/show_bug.cgi?id=85796
1698 Reviewed by Adam Barth.
1700 Renamed WebMediaStreamCenter::didConstructMediaStream to didCreateMediaStream,
1701 and change so that it is only called for MediaStreams created from JS.
1702 Also send out the WebMediaStreamDescriptor non-const instead.
1704 * chromium/public/WebMediaStreamCenter.h:
1705 (WebKit::WebMediaStreamCenter::didCreateMediaStream):
1706 (WebMediaStreamCenter):
1707 (WebKit::WebMediaStreamCenter::didConstructMediaStream):
1709 2012-05-07 Tommy Widenflycht <tommyw@google.com>
1711 MediaStream API: Allow UserMediaRequest::succeed to take an MediaStreamDescriptor
1712 https://bugs.webkit.org/show_bug.cgi?id=85798
1714 Reviewed by Adam Barth.
1716 Adding another UserMediaRequest::succeed function that takes an MediaStreamDescriptor
1717 instead of the two MediaStreamSource arrays.
1719 * chromium/public/WebMediaStreamCenter.h:
1720 (WebMediaStreamCenter):
1721 (WebKit::WebMediaStreamCenter::constructSDP):
1723 2012-05-04 Tommy Widenflycht <tommyw@google.com>
1725 MediaStream API: Make PeerConnection00's API fully compliant with the draft
1726 https://bugs.webkit.org/show_bug.cgi?id=85491
1728 Reviewed by Adam Barth.
1730 * chromium/public/WebPeerConnection00HandlerClient.h:
1732 2012-05-02 Dana Jansens <danakj@chromium.org>
1734 [chromium] Don't occlude pixels in a surface that are needed for a background filter blur
1735 https://bugs.webkit.org/show_bug.cgi?id=84317
1737 Reviewed by Adrienne Walker.
1739 * chromium/public/WebFilterOperation.h:
1741 2012-05-01 Gavin Peters <gavinp@chromium.org>
1743 [Chromium] Fix WebPrerender::referrer() thunk.
1744 https://bugs.webkit.org/show_bug.cgi?id=85290
1746 Reviewed by Dimitri Glazkov.
1748 * chromium/public/WebPrerender.h:
1749 (WebKit::WebPrerender::referrer):
1751 2012-04-30 Gavin Peters <gavinp@chromium.org>
1753 [Chromium] Add thunk headers for staging Prerendering API.
1754 https://bugs.webkit.org/show_bug.cgi?id=84880
1756 Reviewed by Adam Barth.
1758 These empty headers will be replaced by the actual API when Bug 85005 is commited.
1761 * chromium/public/WebPrerender.h: Added.
1765 (WebKit::WebPrerender::ExtraData::~ExtraData):
1766 (WebKit::WebPrerender::url):
1767 (WebKit::WebPrerender::referrer):
1768 (WebKit::WebPrerender::referrerPolicy):
1769 (WebKit::WebPrerender::setExtraData):
1770 (WebKit::WebPrerender::extraData):
1771 (WebKit::WebPrerender::WebPrerender):
1772 (WebKit::WebPrerender::~WebPrerender):
1773 * chromium/public/WebPrerenderingSupport.h: Added.
1775 (WebPrerenderingSupport):
1776 (WebKit::WebPrerenderingSupport::initialize):
1777 (WebKit::WebPrerenderingSupport::shutdown):
1778 (WebKit::WebPrerenderingSupport::current):
1779 (WebKit::WebPrerenderingSupport::add):
1780 (WebKit::WebPrerenderingSupport::cancel):
1781 (WebKit::WebPrerenderingSupport::abandon):
1782 (WebKit::WebPrerenderingSupport::WebPrerenderingSupport):
1783 (WebKit::WebPrerenderingSupport::~WebPrerenderingSupport):
1785 2012-04-26 James Robinson <jamesr@chromium.org>
1787 [chromium] Separate IOSurface layer type from texture layers
1788 https://bugs.webkit.org/show_bug.cgi?id=85030
1790 Reviewed by Adrienne Walker.
1792 Adds a new layer type for IOSurface backed layers, instead of sharing that functionality in
1793 WebExternalTextureLayer. IOSurface backed layers do not share any other properties with external texture layers.
1796 * chromium/public/WebExternalTextureLayer.h:
1797 (WebExternalTextureLayer):
1798 * chromium/public/WebIOSurfaceLayer.h:
1801 (WebIOSurfaceLayer):
1802 (WebKit::WebIOSurfaceLayer::WebIOSurfaceLayer):
1803 (WebKit::WebIOSurfaceLayer::~WebIOSurfaceLayer):
1805 2012-04-25 Dana Jansens <danakj@chromium.org>
1807 [chromium] Remove guarded virtual methods from WebFilterOperation API
1808 https://bugs.webkit.org/show_bug.cgi?id=84926
1810 Reviewed by James Robinson.
1812 We remove the virtual methods from the WebFilterOperation class,
1813 and use an enum in the base class to distinguish which subclass
1814 the object is. Then WebFilterOperations can access the correct
1815 subclass to get the filter operation's data and construct a
1816 WebCore::FilterOperation to store internally.
1818 * chromium/public/WebFilterOperation.h:
1819 (WebKit::WebFilterOperation::WebFilterOperation):
1820 (WebKit::WebBasicColorMatrixFilterOperation::WebBasicColorMatrixFilterOperation):
1821 (WebBasicColorMatrixFilterOperation):
1822 (WebKit::WebBasicComponentTransferFilterOperation::WebBasicComponentTransferFilterOperation):
1823 (WebBasicComponentTransferFilterOperation):
1824 (WebKit::WebBlurFilterOperation::WebBlurFilterOperation):
1825 (WebKit::WebDropShadowFilterOperation::WebDropShadowFilterOperation):
1827 2012-04-25 Gavin Peters <gavinp@chromium.org>
1829 [Chromium] Fix some conditional compilation logic in Platform
1830 https://bugs.webkit.org/show_bug.cgi?id=83798
1832 Reviewed by Darin Fisher.
1834 * chromium/public/WebURLError.h:
1836 * chromium/public/WebURLRequest.h:
1838 * chromium/public/WebURLResponse.h:
1841 2012-04-25 Gavin Peters <gavinp@chromium.org>
1843 Move WebReferrerPolicy.h from WebKit to Platform
1844 https://bugs.webkit.org/show_bug.cgi?id=84539
1846 Reviewed by Adam Barth.
1849 * chromium/public/WebReferrerPolicy.h: Copied from Source/WebKit/chromium/public/WebReferrerPolicy.h.
1852 2012-04-24 Yuzhu Shen <yzshen@chromium.org>
1854 [chromium] Add a description field in WebURLError and show failure description in the inspector network tab.
1855 https://bugs.webkit.org/show_bug.cgi?id=84566
1857 Reviewed by Pavel Feldman.
1859 * chromium/public/WebURLError.h:
1862 2012-04-18 James Robinson <jamesr@chromium.org>
1864 [chromium] Use TextureLayerChromium for WebGL content instead of a dedicated layer type
1865 https://bugs.webkit.org/show_bug.cgi?id=84311
1867 Reviewed by Adrienne Walker.
1869 Remove some unused getters.
1871 * chromium/public/WebExternalTextureLayer.h:
1872 (WebExternalTextureLayer):
1874 2012-04-20 Dana Jansens <danakj@chromium.org>
1876 [chromium] WebFilterOperations API does not compile or dynamically link
1877 https://bugs.webkit.org/show_bug.cgi?id=84506
1879 Reviewed by James Robinson.
1881 Non-inline functions need WEBKIT_EXPORT in their declarations,
1882 and the type used in the WebPrivateOwnPtr needs to be forward-
1883 declared even when WEBKIT_IMPLEMENTATION is not defined.
1885 * chromium/public/WebFilterOperations.h:
1886 (WebKit::WebFilterOperations::WebFilterOperations):
1887 (WebFilterOperations):
1889 2012-04-20 James Robinson <jamesr@chromium.org>
1891 [chromium] Plumb a compositor surface ready notification through to the threaded compositor
1892 https://bugs.webkit.org/show_bug.cgi?id=84305
1894 Reviewed by Adrienne Walker.
1896 Add a notification for when the compositor surface associated with a given view is ready to use.
1898 * chromium/public/WebLayerTreeView.h:
1901 2012-04-16 James Robinson <jamesr@chromium.org>
1903 [chromium] Convert WebPluginContainerImpl over to use WebExternalTextureLayer
1904 https://bugs.webkit.org/show_bug.cgi?id=84120
1906 Reviewed by Adrienne Walker.
1908 This adds support for IO surface backed WebExternalTextureLayer, used by CoreAnimation plugins on OS X and moves
1909 some functionality used by multiple WebLayer subclasses up to the base class.
1911 * chromium/public/WebContentLayer.h:
1913 * chromium/public/WebExternalTextureLayer.h:
1915 (WebExternalTextureLayer):
1916 * chromium/public/WebLayer.h:
1919 (WebKit::WebLayer::unwrap):
1921 2012-04-17 Dana Jansens <danakj@chromium.org>
1923 [chromium] Fix gyp for WebFilterOperation.h and WebFilterOperations.h
1924 https://bugs.webkit.org/show_bug.cgi?id=84182
1926 Reviewed by James Robinson.
1930 2012-04-16 Kent Tamura <tkent@chromium.org>
1932 [Chromium] Fix Chromium-Mac build
1933 https://bugs.webkit.org/show_bug.cgi?id=80054
1935 * chromium/public/WebFilterOperations.h:
1936 (WebKit): WebFilterOperation is a struct, not a class.
1938 2012-04-16 Dana Jansens <danakj@chromium.org>
1940 [chromium] Expose compositor filters to Aura through WebLayer
1941 https://bugs.webkit.org/show_bug.cgi?id=80054
1943 Reviewed by James Robinson.
1945 * chromium/public/WebFilterOperation.h: Added.
1947 (WebFilterOperation):
1948 (WebKit::WebFilterOperation::WebFilterOperation):
1949 (WebBasicColorMatrixFilterOperation):
1950 (WebKit::WebBasicColorMatrixFilterOperation::WebBasicColorMatrixFilterOperation):
1951 (WebBasicComponentTransferFilterOperation):
1952 (WebKit::WebBasicComponentTransferFilterOperation::WebBasicComponentTransferFilterOperation):
1953 (WebBlurFilterOperation):
1954 (WebKit::WebBlurFilterOperation::WebBlurFilterOperation):
1955 (WebDropShadowFilterOperation):
1956 (WebKit::WebDropShadowFilterOperation::WebDropShadowFilterOperation):
1957 * chromium/public/WebFilterOperations.h: Added.
1959 (WebFilterOperations):
1960 * chromium/public/WebLayer.h:
1964 2012-04-13 James Robinson <jamesr@chromium.org>
1966 [chromium] Expose WebVideoLayer to Platform API and port WebMediaPlayerClientImpl to using it
1967 https://bugs.webkit.org/show_bug.cgi?id=83963
1969 Reviewed by Adrienne Walker.
1971 Adds a compositor layer type for video, WebVideoLayer, and a WebVideoProvider interface.
1974 * chromium/public/WebContentLayer.h:
1976 * chromium/public/WebLayer.h:
1978 (WebKit::WebLayer::unwrap):
1979 * chromium/public/WebVideoFrameProvider.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameProvider.h.
1981 (WebVideoFrameProvider):
1982 (WebKit::WebVideoFrameProvider::~WebVideoFrameProvider):
1984 * chromium/public/WebVideoLayer.h: Copied from Source/WebKit/chromium/src/WebContentLayer.cpp.
1988 (WebKit::WebVideoLayer::WebVideoLayer):
1989 (WebKit::WebVideoLayer::~WebVideoLayer):
1991 2012-04-11 James Robinson <jamesr@chromium.org>
1993 [chromium] Remove unused compositeToTexture / compositeOffscreen setting
1994 https://bugs.webkit.org/show_bug.cgi?id=83733
1996 Reviewed by Adrienne Walker.
1998 Remove compositeOffscreen setting. This was an experiment that is no longer needed.
2000 * chromium/public/WebLayerTreeView.h:
2001 (WebKit::WebLayerTreeView::Settings::Settings):
2004 2012-04-13 James Robinson <jamesr@chromium.org>
2006 [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API
2007 https://bugs.webkit.org/show_bug.cgi?id=83851
2009 Reviewed by Adam Barth.
2011 Move WebVideoFrame API into Platform.
2014 * chromium/public/WebVideoFrame.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.h.
2017 (WebKit::WebVideoFrame::~WebVideoFrame):
2018 (WebKit::WebVideoFrame::format):
2019 (WebKit::WebVideoFrame::width):
2020 (WebKit::WebVideoFrame::height):
2021 (WebKit::WebVideoFrame::planes):
2022 (WebKit::WebVideoFrame::stride):
2023 (WebKit::WebVideoFrame::data):
2024 (WebKit::WebVideoFrame::textureId):
2025 (WebKit::WebVideoFrame::textureTarget):
2026 * chromium/src/WebVideoFrame.cpp: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.cpp.
2029 2012-04-12 Sheriff Bot <webkit.review.bot@gmail.com>
2031 Unreviewed, rolling out r114075.
2032 http://trac.webkit.org/changeset/114075
2033 https://bugs.webkit.org/show_bug.cgi?id=83857
2035 Breaks compile (Requested by jamesr on #webkit).
2039 2012-04-12 James Robinson <jamesr@chromium.org>
2041 [chromium] Move WebVideoFrame into Platform and remove WebCore::VideoFrameChromium wrapper API
2042 https://bugs.webkit.org/show_bug.cgi?id=83851
2044 Reviewed by Adam Barth.
2046 Move WebVideoFrame API into Platform.
2049 * chromium/public/WebVideoFrame.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.h.
2052 (WebKit::WebVideoFrame::~WebVideoFrame):
2053 (WebKit::WebVideoFrame::format):
2054 (WebKit::WebVideoFrame::width):
2055 (WebKit::WebVideoFrame::height):
2056 (WebKit::WebVideoFrame::planes):
2057 (WebKit::WebVideoFrame::stride):
2058 (WebKit::WebVideoFrame::data):
2059 (WebKit::WebVideoFrame::textureId):
2060 (WebKit::WebVideoFrame::textureTarget):
2061 * chromium/src/WebVideoFrame.cpp: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameChromium.cpp.
2064 2012-04-11 David Dorwin <ddorwin@chromium.org>
2066 Add keySystem attribute to canPlayType() for Encrypted Media Extensions
2067 https://bugs.webkit.org/show_bug.cgi?id=82973
2069 Reviewed by Adam Barth.
2071 The new attribute is behind the ENABLE(ENCRYPTED_MEDIA) feature define.
2072 Implementation is based on v0.1 of the draft proposal at
2073 http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#extensions.
2075 * chromium/public/WebMimeRegistry.h:
2076 (WebKit::WebMimeRegistry::supportsMediaMIMEType):
2078 2012-04-09 Dana Jansens <danakj@chromium.org>
2080 [chromium] Viewport is not filled when out of texture memory on mac
2081 https://bugs.webkit.org/show_bug.cgi?id=83351
2083 Reviewed by Adrienne Walker.
2085 * chromium/public/WebLayerTreeView.h:
2088 2012-04-09 James Robinson <jamesr@chromium.org>
2090 [chromium] CCLayerTreeHost / WebLayerTreeView should be single ownership, not RefCounted
2091 https://bugs.webkit.org/show_bug.cgi?id=83413
2093 Reviewed by Adrienne Walker.
2095 This makes WebLayerTreeView noncopyable to better match the underlying semantics. There is no code currently
2096 that attempts to copy WebLayerTreeView instances.
2098 * chromium/public/WebLayerTreeView.h:
2102 2012-04-04 Adam Barth <abarth@webkit.org>
2104 figure out how to export webcore symbols from webkit.dll properly
2105 https://bugs.webkit.org/show_bug.cgi?id=83105
2107 Reviewed by Dimitri Glazkov.
2109 Unwind our ugly, ugly hack to make the Windows component build work.
2111 * chromium/public/WebMediaStreamSourcesRequest.h:
2112 (WebMediaStreamSourcesRequest):
2114 2012-04-03 Adam Barth <abarth@webkit.org>
2116 Unreviewed. This patch adds an ugly, ugly hack to bandaid over the
2117 Windows component build. See comments in the code for details.
2119 * chromium/public/WebMediaStreamSourcesRequest.h:
2120 (WebMediaStreamSourcesRequest):
2122 2012-04-02 Zhenyao Mo <zmo@google.com>
2124 Implement WebGLShaderPrecisionFormat
2125 https://bugs.webkit.org/show_bug.cgi?id=75925
2127 Reviewed by Kenneth Russell.
2129 * chromium/public/WebGraphicsContext3D.h: Add getShaderPrecisionFormat().
2130 (WebGraphicsContext3D):
2132 2012-04-03 Adam Barth <abarth@webkit.org>
2134 Attempt to fix the Windows component build by including these headers
2135 rather than forward declaring these objects.
2137 * chromium/public/WebMediaStreamSourcesRequest.h:
2140 2012-04-02 Adam Barth <abarth@webkit.org>
2142 [Chromium] Move a number of virtual functions from WebKitPlatformSupport.h into Platform.h
2143 https://bugs.webkit.org/show_bug.cgi?id=82865
2145 Reviewed by Kent Tamura.
2147 Moving these functions into Platform.h allows them to be called from
2148 Platform (aka WebCore/platform), as discussed in
2149 https://lists.webkit.org/pipermail/webkit-dev/2012-March/020166.html
2151 * chromium/public/Platform.h:
2154 (WebKit::Platform::mimeRegistry):
2155 (WebKit::Platform::audioHardwareSampleRate):
2156 (WebKit::Platform::audioHardwareBufferSize):
2157 (WebKit::Platform::createAudioDevice):
2158 (WebKit::Platform::sampleGamepads):
2159 (WebKit::Platform::visitedLinkHash):
2160 (WebKit::Platform::isLinkVisited):
2161 (WebKit::Platform::signedPublicKeyAndChallengeString):
2162 (WebKit::Platform::memoryUsageMB):
2163 (WebKit::Platform::actualMemoryUsageMB):
2164 (WebKit::Platform::lowMemoryUsageMB):
2165 (WebKit::Platform::highMemoryUsageMB):
2166 (WebKit::Platform::highUsageDeltaMB):
2167 (WebKit::Platform::prefetchHostName):
2168 (WebKit::Platform::createSocketStreamHandle):
2169 (WebKit::Platform::userAgent):
2170 (WebKit::Platform::cacheMetadata):
2171 (WebKit::Platform::createThread):
2172 (WebKit::Platform::currentThread):
2173 (WebKit::Platform::decrementStatsCounter):
2174 (WebKit::Platform::incrementStatsCounter):
2175 (WebKit::Platform::loadResource):
2176 (WebKit::Platform::loadAudioResource):
2177 (WebKit::Platform::sandboxEnabled):
2178 (WebKit::Platform::suddenTerminationChanged):
2179 (WebKit::Platform::defaultLocale):
2180 (WebKit::Platform::currentTime):
2181 (WebKit::Platform::monotonicallyIncreasingTime):
2182 (WebKit::Platform::setSharedTimerFiredFunction):
2183 (WebKit::Platform::setSharedTimerFireInterval):
2184 (WebKit::Platform::stopSharedTimer):
2185 (WebKit::Platform::callOnMainThread):
2186 (WebKit::Platform::getTraceCategoryEnabledFlag):
2187 (WebKit::Platform::addTraceEvent):
2188 (WebKit::Platform::histogramCustomCounts):
2189 (WebKit::Platform::histogramEnumeration):
2191 2012-04-02 Adam Barth <abarth@webkit.org>
2193 [Chromium] Move another block of headers from WebKit/chromium/public/platform to Platform/chromium/public
2194 https://bugs.webkit.org/show_bug.cgi?id=82862
2196 Rubber-stamped by Eric Seidel.
2199 * chromium/public/WebAudioBus.h: Copied from Source/WebKit/chromium/public/platform/WebAudioBus.h.
2200 * chromium/public/WebAudioDevice.h: Copied from Source/WebKit/chromium/public/platform/WebAudioDevice.h.
2201 * chromium/public/WebGamepad.h: Copied from Source/WebKit/chromium/public/platform/WebGamepad.h.
2202 * chromium/public/WebGamepads.h: Copied from Source/WebKit/chromium/public/platform/WebGamepads.h.
2203 * chromium/public/WebSocketStreamError.h: Copied from Source/WebKit/chromium/public/platform/WebSocketStreamError.h.
2204 * chromium/public/WebSocketStreamHandle.h: Copied from Source/WebKit/chromium/public/platform/WebSocketStreamHandle.h.
2205 * chromium/public/WebSocketStreamHandleClient.h: Copied from Source/WebKit/chromium/public/platform/WebSocketStreamHandleClient.h.
2207 2012-04-01 Adam Barth <abarth@webkit.org>
2209 [Chromium] Move thread-related APIs from WebKit into Platform
2210 https://bugs.webkit.org/show_bug.cgi?id=82858
2212 Reviewed by Eric Seidel.
2215 * chromium/public/WebThread.h: Copied from Source/WebKit/chromium/public/platform/WebThread.h.
2216 * chromium/public/WebThreadSafeData.h: Copied from Source/WebKit/chromium/public/platform/WebThreadSafeData.h.
2218 2012-03-29 Adam Barth <abarth@webkit.org>
2220 [Chromium] Delete WebKit/chromium/bridge
2221 https://bugs.webkit.org/show_bug.cgi?id=82677
2223 Reviewed by James Robinson.
2225 This patch moves all the MediaStream-related platform APIs from
2226 WebKit/chromium/public/platform into Platform/chromium/public. This is
2227 part of a larger project to more clearly separate the platform and
2228 client portions of the Chromium WebKit API.
2231 * chromium/public/Platform.h:
2234 (WebKit::Platform::createPeerConnectionHandler):
2235 (WebKit::Platform::createPeerConnection00Handler):
2236 (WebKit::Platform::createMediaStreamCenter):
2237 * chromium/public/WebICECandidateDescriptor.h: Copied from Source/WebKit/chromium/public/platform/WebICECandidateDescriptor.h.
2238 * chromium/public/WebICEOptions.h: Copied from Source/WebKit/chromium/public/platform/WebICEOptions.h.
2239 * chromium/public/WebMediaHints.h: Copied from Source/WebKit/chromium/public/platform/WebMediaHints.h.
2240 * chromium/public/WebMediaStreamCenter.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamCenter.h.
2241 * chromium/public/WebMediaStreamCenterClient.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamCenterClient.h.
2242 * chromium/public/WebMediaStreamComponent.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamComponent.h.
2243 * chromium/public/WebMediaStreamDescriptor.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamDescriptor.h.
2244 * chromium/public/WebMediaStreamSource.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamSource.h.
2245 * chromium/public/WebMediaStreamSourcesRequest.h: Copied from Source/WebKit/chromium/public/platform/WebMediaStreamSourcesRequest.h.
2246 * chromium/public/WebPeerConnection00Handler.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnection00Handler.h.
2247 * chromium/public/WebPeerConnection00HandlerClient.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnection00HandlerClient.h.
2248 * chromium/public/WebPeerConnectionHandler.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnectionHandler.h.
2249 (WebPeerConnectionHandler):
2250 * chromium/public/WebPeerConnectionHandlerClient.h: Copied from Source/WebKit/chromium/public/platform/WebPeerConnectionHandlerClient.h.
2251 * chromium/public/WebSessionDescriptionDescriptor.h: Copied from Source/WebKit/chromium/public/platform/WebSessionDescriptionDescriptor.h.
2252 * chromium/public/WebVector.h: Copied from Source/WebKit/chromium/public/platform/WebVector.h.
2254 2012-03-30 David Barr <davidbarr@chromium.org>
2256 Split up top-level .gitignore and .gitattributes
2257 https://bugs.webkit.org/show_bug.cgi?id=82687
2259 Reviewed by Tor Arne Vestbø.
2261 * Platform.gyp/.gitignore: Added.
2263 2012-03-29 Adam Barth <abarth@webkit.org>
2265 [Chromium] Move createURLLoader() into Platform
2266 https://bugs.webkit.org/show_bug.cgi?id=82587
2268 Reviewed by James Robinson.
2270 This patch introduces a base class for WebKitPlatformSupport that we
2271 can use to incrementally more APIs from WebKit/chromium/public/platform
2272 into Platform/chromium/public. Using this technique lets us avoid
2273 making changes in the embedder during the transition.
2275 This patch moves createURLLoader() because it's necessary for
2276 ResourceHandle. This is the third patch in this sequence:
2277 https://github.com/abarth/webkit/compare/master...webcore-platform
2280 * chromium/public/Platform.h: Added.
2283 (WebKit::Platform::createURLLoader):
2284 (WebKit::Platform::~Platform):
2285 * chromium/src/Platform.cpp: Added.
2287 (WebKit::Platform::initialize):
2288 (WebKit::Platform::shutdown):
2289 (WebKit::Platform::current):
2291 2012-03-28 Adam Barth <abarth@webkit.org>
2293 [Chromium] Move APIs related to ResourceHandle into Platform
2294 https://bugs.webkit.org/show_bug.cgi?id=82553
2296 Reviewed by James Robinson.
2298 This patch is the first patch in this series:
2299 https://github.com/abarth/webkit/compare/master...webcore-platform
2301 The goal of these patches is to move WebCore::ResourceHandle out of
2302 Chromium's WebKit layer and into WebCore/platform, where it belongs.
2304 This patch moves the Chromium-WebKit APIs used by ResourceHandle out of
2305 the WebKit layer and into the Plaform layer. These are APIs that WebKit
2306 uses to call "down" to manipulate the underlying platform (rather than
2307 "up" to the client to make decisions). The long-term plan is to move
2308 all of the headers in WebKit/chromium/public/platform into
2309 Platform/chromium/public (although we'll likely need to clean up some
2310 layering violations as we go).
2313 * chromium/public/WebData.h: Added.
2316 (WebKit::WebData::~WebData):
2317 (WebKit::WebData::WebData):
2318 (WebKit::WebData::operator=):
2319 (WebKit::WebData::isEmpty):
2320 (WebKit::WebData::isNull):
2321 * chromium/public/WebHTTPBody.h: Added.
2324 (WebKit::WebHTTPBody::~WebHTTPBody):
2325 (WebKit::WebHTTPBody::WebHTTPBody):
2326 (WebKit::WebHTTPBody::operator=):
2327 (WebKit::WebHTTPBody::isNull):
2328 * chromium/public/WebHTTPHeaderVisitor.h: Added.
2330 (WebHTTPHeaderVisitor):
2331 (WebKit::WebHTTPHeaderVisitor::~WebHTTPHeaderVisitor):
2332 * chromium/public/WebHTTPLoadInfo.h: Added.
2336 (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo):
2337 (WebKit::WebHTTPLoadInfo::~WebHTTPLoadInfo):
2338 (WebKit::WebHTTPLoadInfo::operator =):
2339 * chromium/public/WebPrivateOwnPtr.h: Added.
2342 (WebKit::WebPrivateOwnPtr::WebPrivateOwnPtr):
2343 (WebKit::WebPrivateOwnPtr::~WebPrivateOwnPtr):
2344 (WebKit::WebPrivateOwnPtr::reset):
2345 (WebKit::WebPrivateOwnPtr::get):
2346 (WebKit::WebPrivateOwnPtr::operator->):
2347 * chromium/public/WebURL.h: Added.
2350 (WebKit::WebURL::~WebURL):
2351 (WebKit::WebURL::WebURL):
2352 (WebKit::WebURL::operator=):
2353 (WebKit::WebURL::assign):
2354 (WebKit::WebURL::spec):
2355 (WebKit::WebURL::parsed):
2356 (WebKit::WebURL::isValid):
2357 (WebKit::WebURL::isEmpty):
2358 (WebKit::WebURL::isNull):
2359 (WebKit::WebURL::operator GURL):
2360 (WebKit::operator<):
2361 (WebKit::operator==):
2362 (WebKit::operator!=):
2363 * chromium/public/WebURLError.h: Added.
2366 (WebKit::WebURLError::WebURLError):
2367 * chromium/public/WebURLLoadTiming.h: Added.
2370 (WebKit::WebURLLoadTiming::~WebURLLoadTiming):
2371 (WebKit::WebURLLoadTiming::WebURLLoadTiming):
2372 (WebKit::WebURLLoadTiming::operator=):
2373 (WebKit::WebURLLoadTiming::isNull):
2374 * chromium/public/WebURLLoader.h: Added.
2377 (WebKit::WebURLLoader::~WebURLLoader):
2378 * chromium/public/WebURLLoaderClient.h: Added.
2380 (WebURLLoaderClient):
2381 (WebKit::WebURLLoaderClient::willSendRequest):
2382 (WebKit::WebURLLoaderClient::didSendData):
2383 (WebKit::WebURLLoaderClient::didReceiveResponse):
2384 (WebKit::WebURLLoaderClient::didDownloadData):
2385 (WebKit::WebURLLoaderClient::didReceiveData):
2386 (WebKit::WebURLLoaderClient::didReceiveCachedMetadata):
2387 (WebKit::WebURLLoaderClient::didFinishLoading):
2388 (WebKit::WebURLLoaderClient::didFail):
2389 (WebKit::WebURLLoaderClient::~WebURLLoaderClient):
2390 * chromium/public/WebURLRequest.h: Added.
2394 (WebKit::WebURLRequest::ExtraData::~ExtraData):
2395 (WebKit::WebURLRequest::~WebURLRequest):
2396 (WebKit::WebURLRequest::WebURLRequest):
2397 (WebKit::WebURLRequest::operator=):
2398 * chromium/public/WebURLResponse.h: Added.
2402 (WebKit::WebURLResponse::ExtraData::~ExtraData):
2403 (WebKit::WebURLResponse::~WebURLResponse):
2404 (WebKit::WebURLResponse::WebURLResponse):
2405 (WebKit::WebURLResponse::operator=):
2407 2012-03-27 Nat Duca <nduca@chromium.org>
2409 [chromium] Route monotonic clock up from compositor
2410 https://bugs.webkit.org/show_bug.cgi?id=82154
2412 Reviewed by James Robinson.
2414 * chromium/public/WebLayerTreeViewClient.h:
2415 (WebLayerTreeViewClient):
2417 2012-03-26 Nat Duca <nduca@chromium.org>
2419 [chromium] Add isInputThrottled/didBecomeReadyForAdditionalInput to WebWidget
2420 https://bugs.webkit.org/show_bug.cgi?id=82265
2422 Reviewed by James Robinson.
2424 * chromium/public/WebLayerTreeView.h:
2426 * chromium/public/WebLayerTreeViewClient.h:
2427 (WebLayerTreeViewClient):
2428 (WebKit::WebLayerTreeViewClient::didCommit):
2430 2012-03-25 Nat Duca <nduca@chromium.org>
2432 [chromium] Route willBeginFrame from compositor to WebWidget
2433 https://bugs.webkit.org/show_bug.cgi?id=82171
2435 Reviewed by Darin Fisher.
2437 * chromium/public/WebLayerTreeViewClient.h:
2438 (WebLayerTreeViewClient):
2439 (WebKit::WebLayerTreeViewClient::willBeginFrame):
2441 2012-03-23 Tony Chang <tony@chromium.org>
2443 [chromium] rename newwtf target back to wtf
2444 https://bugs.webkit.org/show_bug.cgi?id=82064
2446 Reviewed by Adam Barth.
2448 * Platform.gyp/Platform.gyp:
2450 2012-03-22 Tony Chang <tony@chromium.org>
2452 Unreviewed, fix chromium build after wtf move.
2454 Only use newwtf, remove references to wtf.
2456 * Platform.gyp/Platform.gyp:
2458 2012-03-21 Ryosuke Niwa <rniwa@webkit.org>
2460 Touch a file to make Chromium Windows bots happy.
2462 * chromium/public/WebGraphicsContext3D.h:
2464 2012-03-21 David Reveman <reveman@chromium.org>
2466 [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
2467 https://bugs.webkit.org/show_bug.cgi?id=80988
2469 Reviewed by Adrienne Walker.
2471 Add EXT_occlusion_query API to WebGraphicsContext3D.
2473 * chromium/public/WebGraphicsContext3D.h:
2474 (WebGraphicsContext3D):
2475 (WebKit::WebGraphicsContext3D::createQueryEXT):
2476 (WebKit::WebGraphicsContext3D::deleteQueryEXT):
2477 (WebKit::WebGraphicsContext3D::isQueryEXT):
2478 (WebKit::WebGraphicsContext3D::beginQueryEXT):
2479 (WebKit::WebGraphicsContext3D::endQueryEXT):
2480 (WebKit::WebGraphicsContext3D::getQueryivEXT):
2481 (WebKit::WebGraphicsContext3D::getQueryObjectuivEXT):
2483 2012-03-19 Michal Mocny <mmocny@google.com>
2485 [chromium] Adding support for GL_EXT_discard_framebuffer.
2486 https://bugs.webkit.org/show_bug.cgi?id=81383
2488 Reviewed by James Robinson.
2490 * chromium/public/WebGraphicsContext3D.h:
2491 (WebGraphicsContext3D):
2492 (WebKit::WebGraphicsContext3D::discardFramebufferEXT):
2493 (WebKit::WebGraphicsContext3D::ensureFramebufferCHROMIUM):
2495 2012-03-19 Sheriff Bot <webkit.review.bot@gmail.com>
2497 Unreviewed, rolling out r111207.
2498 http://trac.webkit.org/changeset/111207
2499 https://bugs.webkit.org/show_bug.cgi?id=81561
2501 Causing chromium unit test failure (Requested by reveman on
2504 * chromium/public/WebGraphicsContext3D.h:
2506 2012-03-19 Michal Mocny <mmocny@google.com>
2508 [chromium] Updating WebGraphicsContext3D MemoryAllocation callback to accept a struct with have backbuffer suggestion.
2509 https://bugs.webkit.org/show_bug.cgi?id=81279
2511 Reviewed by James Robinson.
2513 Adding a suggestHaveBackbuffer hint to the WebGraphicsContext3D memory allocation callback.
2515 * chromium/public/WebGraphicsContext3D.h:
2516 (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2517 (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::onMemoryAllocationChanged):
2518 * chromium/public/WebGraphicsMemoryAllocation.h: Added.
2520 (WebGraphicsMemoryAllocation):
2521 (WebKit::WebGraphicsMemoryAllocation::WebGraphicsMemoryAllocation):
2523 2012-03-19 David Reveman <reveman@chromium.org>
2525 [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
2526 https://bugs.webkit.org/show_bug.cgi?id=80988
2528 Reviewed by Adrienne Walker.
2530 Add EXT_occlusion_query API to WebGraphicsContext3D.
2532 * chromium/public/WebGraphicsContext3D.h:
2533 (WebGraphicsContext3D):
2535 2012-03-08 James Robinson <jamesr@chromium.org>
2537 Use an explicit attribute to signal that a context prefers to use a discrete GPU
2538 https://bugs.webkit.org/show_bug.cgi?id=80639
2540 Reviewed by Stephen White.
2542 Adds preferDiscreteGPU attribute to WebGraphicsContext3D::Attributes. Also remove the forUseOnAnotherThread
2543 attribute, this has been dead code for a while now.
2545 * chromium/public/WebGraphicsContext3D.h:
2546 (WebKit::WebGraphicsContext3D::Attributes::Attributes):
2549 2012-02-24 James Robinson <jamesr@chromium.org>
2551 [chromium] WebKit::setColorNames is a client API
2552 https://bugs.webkit.org/show_bug.cgi?id=79539
2554 Reviewed by Darin Fisher.
2557 * chromium/public/WebColor.h:
2560 2012-02-24 Sheriff Bot <webkit.review.bot@gmail.com>
2562 Unreviewed, rolling out r108860.
2563 http://trac.webkit.org/changeset/108860
2564 https://bugs.webkit.org/show_bug.cgi?id=79544
2566 "Breaks Linux compile" (Requested by enne on #webkit).
2569 * chromium/public/WebColor.h:
2571 * chromium/public/WebColorName.h: Renamed from Source/WebKit/chromium/public/WebColorName.h.
2574 2012-02-24 James Robinson <jamesr@chromium.org>
2576 [chromium] WebKit::setColorNames is a client API
2577 https://bugs.webkit.org/show_bug.cgi?id=79539
2579 Reviewed by Darin Fisher.
2582 * chromium/public/WebColor.h:
2585 2012-02-22 James Robinson <jamesr@chromium.org>
2587 [chromium] Move WebGraphicsContext3D header into the Platform directory
2588 https://bugs.webkit.org/show_bug.cgi?id=79301
2590 Reviewed by Adam Barth.
2592 Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
2595 * chromium/public/WebGraphicsContext3D.h: Copied from Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h.
2597 (WebGraphicsContext3D):
2599 (WebKit::WebGraphicsContext3D::Attributes::Attributes):
2601 (WebGraphicsContextLostCallback):
2602 (WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback::~WebGraphicsContextLostCallback):
2603 (WebGraphicsErrorMessageCallback):
2604 (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
2605 (WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
2606 (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
2607 (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2608 (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
2609 (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
2610 (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
2611 (WebKit::WebGraphicsContext3D::setParentContext):
2612 (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
2613 (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
2614 (WebKit::WebGraphicsContext3D::setContextLostCallback):
2615 (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
2616 (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
2617 (WebKit::WebGraphicsContext3D::getTranslatedShaderSourceANGLE):
2618 (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
2619 (WebKit::WebGraphicsContext3D::texStorage2DEXT):
2620 (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
2621 * chromium/public/WebNonCopyable.h: Copied from Source/WebKit/chromium/public/platform/WebNonCopyable.h.
2624 (WebKit::WebNonCopyable::WebNonCopyable):
2625 (WebKit::WebNonCopyable::~WebNonCopyable):
2627 2012-02-23 James Robinson <jamesr@chromium.org>
2629 [chromium] Move Web*Layer* headers into Platform
2630 https://bugs.webkit.org/show_bug.cgi?id=79425
2632 Reviewed by Adam Barth.
2634 This moves the Web*Layer* headers and their dependencies from WebKit/chromium/public/platform/ into
2635 Platform/chromium/public.
2638 * chromium/public/WebCanvas.h: Copied from Source/WebKit/chromium/public/platform/WebCanvas.h.
2640 * chromium/public/WebColor.h: Copied from Source/WebKit/chromium/public/platform/WebColor.h.
2642 * chromium/public/WebColorName.h: Copied from Source/WebKit/chromium/public/platform/WebColorName.h.
2644 * chromium/public/WebContentLayer.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayer.h.
2647 (WebKit::WebContentLayer::WebContentLayer):
2648 (WebKit::WebContentLayer::~WebContentLayer):
2649 (WebKit::WebContentLayer::operator=):
2650 * chromium/public/WebContentLayerClient.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayerClient.h.
2652 (WebContentLayerClient):
2653 (WebKit::WebContentLayerClient::~WebContentLayerClient):
2654 * chromium/public/WebExternalTextureLayer.h: Copied from Source/WebKit/chromium/public/platform/WebExternalTextureLayer.h.
2656 (WebExternalTextureLayer):
2657 (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
2658 (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
2659 (WebKit::WebExternalTextureLayer::operator=):
2660 * chromium/public/WebLayer.h: Copied from Source/WebKit/chromium/public/platform/WebLayer.h.
2663 (WebKit::WebLayer::WebLayer):
2664 (WebKit::WebLayer::~WebLayer):
2665 (WebKit::WebLayer::operator=):
2666 (WebKit::WebLayer::isNull):
2667 (WebKit::WebLayer::to):
2668 (WebKit::WebLayer::toConst):
2669 (WebKit::WebLayer::unwrap):
2670 (WebKit::WebLayer::constUnwrap):
2671 (WebKit::operator==):
2672 (WebKit::operator!=):
2673 * chromium/public/WebLayerTreeView.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeView.h.
2677 (WebKit::WebLayerTreeView::Settings::Settings):
2679 (WebKit::WebLayerTreeView::WebLayerTreeView):
2680 (WebKit::WebLayerTreeView::~WebLayerTreeView):
2681 (WebKit::WebLayerTreeView::operator=):
2682 (WebKit::operator==):
2683 (WebKit::operator!=):
2684 * chromium/public/WebLayerTreeViewClient.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeViewClient.h.
2686 (WebLayerTreeViewClient):
2687 (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
2688 * chromium/public/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/platform/WebPrivatePtr.h.
2691 (WebKit::WebPrivatePtr::WebPrivatePtr):
2692 (WebKit::WebPrivatePtr::~WebPrivatePtr):
2693 (WebKit::WebPrivatePtr::isNull):
2694 (WebKit::WebPrivatePtr::reset):
2695 (WebKit::WebPrivatePtr::operator=):
2696 (WebKit::WebPrivatePtr::get):
2697 (WebKit::WebPrivatePtr::operator->):
2698 (WebKit::WebPrivatePtr::assign):
2699 * chromium/public/WebSolidColorLayer.h: Copied from Source/WebKit/chromium/public/platform/WebSolidColorLayer.h.
2701 (WebSolidColorLayer):
2703 2012-02-08 James Robinson <jamesr@chromium.org>
2705 r107042 caused compile breakages on chromium try bots
2706 https://bugs.webkit.org/show_bug.cgi?id=78125
2708 Reviewed by Adam Barth.
2710 Replace the copy script with a copies GYP action since the MSVS generator tracks dependencies on a per-file
2713 * Platform.gyp/Platform.gyp:
2714 * Platform.gyp/copy_webcore_headers.py: Removed.
2716 2012-02-07 James Robinson <jamesr@chromium.org>
2718 [chromium] Move geometry headers in Platform API to Platform directory
2719 https://bugs.webkit.org/show_bug.cgi?id=78067
2721 Reviewed by Adam Barth.
2723 This moves several geometry-related headers in the chromium WebKit platform API to Platform/chromium/public.
2724 These require a bit of extra work since when WEBKIT_IMPLEMENTATION is set they #include headers from
2725 WebCore/platform such as IntPoint so that the implementations of several functions can be inlined. Since we do
2726 not want to add anything in WebCore to the include path of projects that depend on the Platform API this poses a
2727 bit of an issue. I've added an extra build step to copy the specific headers used into the
2728 SHARED_INTERMEDIATE_DIR to preserve this inlining.
2730 Eventually we'll move the cross-platform code, including these headers, into somewhere under Platform/, but doing
2731 that requires non-trivial modifications to every build system in WebKit.
2733 * Platform.gyp/Platform.gyp:
2734 * Platform.gyp/copy_webcore_headers.py: Added.
2737 * chromium/public/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/platform/WebFloatPoint.h.
2740 (WebKit::WebFloatPoint::WebFloatPoint):
2741 (WebKit::WebFloatPoint::operator=):
2742 (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
2743 (WebKit::operator==):
2744 (WebKit::operator!=):
2745 * chromium/public/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/platform/WebFloatQuad.h.
2748 (WebKit::WebFloatQuad::WebFloatQuad):
2749 (WebKit::WebFloatQuad::operator=):
2750 * chromium/public/WebFloatRect.h: Copied from Source/WebKit/chromium/public/platform/WebFloatRect.h.
2753 (WebKit::WebFloatRect::isEmpty):
2754 (WebKit::WebFloatRect::WebFloatRect):
2755 (WebKit::WebFloatRect::operator=):
2756 (WebKit::WebFloatRect::operator WebCore::FloatRect):
2757 (WebKit::operator==):
2758 (WebKit::operator!=):
2759 * chromium/public/WebPoint.h: Copied from Source/WebKit/chromium/public/platform/WebPoint.h.
2762 (WebKit::WebPoint::WebPoint):
2763 (WebKit::WebPoint::operator=):
2764 (WebKit::WebPoint::operator WebCore::IntPoint):
2765 (WebKit::WebPoint::operator gfx::Point):
2766 (WebKit::operator==):
2767 (WebKit::operator!=):
2768 * chromium/public/WebRect.h: Copied from Source/WebKit/chromium/public/platform/WebRect.h.
2771 (WebKit::WebRect::isEmpty):
2772 (WebKit::WebRect::WebRect):
2773 (WebKit::WebRect::operator=):
2774 (WebKit::WebRect::operator WebCore::IntRect):
2775 (WebKit::WebRect::operator gfx::Rect):
2776 (WebKit::operator==):
2777 (WebKit::operator!=):
2778 * chromium/public/WebSize.h: Copied from Source/WebKit/chromium/public/platform/WebSize.h.
2781 (WebKit::WebSize::isEmpty):
2782 (WebKit::WebSize::WebSize):
2783 (WebKit::WebSize::operator=):
2784 (WebKit::WebSize::operator WebCore::IntSize):
2785 (WebKit::WebSize::operator gfx::Size):
2786 (WebKit::operator==):
2787 (WebKit::operator!=):
2789 2012-01-19 Joi Sigurdsson <joi@chromium.org>
2791 Enable use of precompiled headers in Chromium port on Windows.
2793 Bug 76381 - Use precompiled headers in Chromium port on Windows
2794 https://bugs.webkit.org/show_bug.cgi?id=76381
2796 Reviewed by Tony Chang.
2798 * Platform.gyp/Platform.gyp: Include WinPrecompile.gypi.
2800 2012-01-04 James Robinson <jamesr@chromium.org>
2802 [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl
2804 * Platform.gyp/Platform.gyp:
2806 2012-01-04 James Robinson <jamesr@chromium.org>
2808 [chromium] Move WebMimeRegistry and dependencies to Source/Platform
2809 https://bugs.webkit.org/show_bug.cgi?id=74583
2811 Reviewed by Darin Fisher.
2813 This creates a skeleton directory structure for the chromium WebKit platform API and moves WebMimeRegistry.h
2814 along with its dependencies (WebString and WebCString) to their final location.
2816 * Platform.gyp/Platform.gyp: Added.
2817 * Platform.gypi: Added.
2818 * chromium/platform/WebCString.h: Copied from Source/WebKit/chromium/public/platform/WebCString.h.
2819 (WebKit::WebCString::~WebCString):
2820 (WebKit::WebCString::WebCString):
2821 (WebKit::WebCString::operator=):
2822 (WebKit::WebCString::isEmpty):
2823 (WebKit::WebCString::isNull):
2824 (WebKit::WebCString::operator std::string):
2825 (WebKit::WebCString::fromUTF16):
2826 (WebKit::operator<):
2827 * chromium/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/platform/WebCommon.h.
2828 * chromium/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/platform/WebMimeRegistry.h.
2829 (WebKit::WebMimeRegistry::~WebMimeRegistry):
2830 * chromium/platform/WebString.h: Copied from Source/WebKit/chromium/public/platform/WebString.h.
2831 (WebKit::WebString::~WebString):
2832 (WebKit::WebString::WebString):
2833 (WebKit::WebString::operator=):
2834 (WebKit::WebString::isEmpty):
2835 (WebKit::WebString::isNull):
2836 (WebKit::WebString::operator string16):
2837 (WebKit::WebString::operator NullableString16):
2838 (WebKit::WebString::fromUTF8):
2839 (WebKit::operator==):
2840 (WebKit::operator!=):
2841 * chromium/src/WebCString.cpp: Renamed from Source/WebKit/chromium/src/WebCString.cpp.
2842 (WebKit::WebCString::compare):
2843 (WebKit::WebCString::reset):
2844 (WebKit::WebCString::assign):
2845 (WebKit::WebCString::length):
2846 (WebKit::WebCString::data):
2847 (WebKit::WebCString::utf16):
2848 (WebKit::WebCString::fromUTF16):
2849 (WebKit::WebCString::WebCString):
2850 (WebKit::WebCString::operator=):
2851 (WebKit::WebCString::operator WTF::CString):
2852 * chromium/src/WebString.cpp: Renamed from Source/WebKit/chromium/src/WebString.cpp.
2853 (WebKit::WebString::reset):
2854 (WebKit::WebString::assign):
2855 (WebKit::WebString::length):
2856 (WebKit::WebString::data):
2857 (WebKit::WebString::utf8):
2858 (WebKit::WebString::fromUTF8):
2859 (WebKit::WebString::equals):
2860 (WebKit::WebString::WebString):
2861 (WebKit::WebString::operator=):
2862 (WebKit::WebString::operator WTF::String):
2863 (WebKit::WebString::operator WTF::AtomicString):
2865 2011-11-02 Adam Barth <abarth@webkit.org>
2867 Add stubs for WTF and Platform
2868 https://bugs.webkit.org/show_bug.cgi?id=71492
2870 Reviewed by Eric Seidel.
2872 This patch creates the Platform directory, which begins the process of
2873 moving Platform out of WebCore.