| OLD | NEW | 
|    1 // Copyright 2012 The Chromium Authors. All rights reserved. |    1 // Copyright 2012 The Chromium Authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_ |    5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 
|    6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ |    6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 
|    7  |    7  | 
|    8 #include <set> |    8 #include <set> | 
|    9 #include <string> |    9 #include <string> | 
|   10 #include <vector> |   10 #include <vector> | 
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  102   virtual ~PictureLayerImpl(); |  102   virtual ~PictureLayerImpl(); | 
|  103  |  103  | 
|  104   // LayerImpl overrides. |  104   // LayerImpl overrides. | 
|  105   virtual const char* LayerTypeAsString() const OVERRIDE; |  105   virtual const char* LayerTypeAsString() const OVERRIDE; | 
|  106   virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) |  106   virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) | 
|  107       OVERRIDE; |  107       OVERRIDE; | 
|  108   virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; |  108   virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; | 
|  109   virtual void AppendQuads(RenderPass* render_pass, |  109   virtual void AppendQuads(RenderPass* render_pass, | 
|  110                            const OcclusionTracker<LayerImpl>& occlusion_tracker, |  110                            const OcclusionTracker<LayerImpl>& occlusion_tracker, | 
|  111                            AppendQuadsData* append_quads_data) OVERRIDE; |  111                            AppendQuadsData* append_quads_data) OVERRIDE; | 
|  112   virtual void UpdateTiles( |  112   virtual void UpdateTiles(const Occlusion& occlusion_in_content_space, | 
|  113       const Occlusion& occlusion_in_content_space) OVERRIDE; |  113                            bool resourceless_software_draw) OVERRIDE; | 
|  114   virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE; |  114   virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE; | 
|  115   virtual void DidBecomeActive() OVERRIDE; |  115   virtual void DidBecomeActive() OVERRIDE; | 
|  116   virtual void DidBeginTracing() OVERRIDE; |  116   virtual void DidBeginTracing() OVERRIDE; | 
|  117   virtual void ReleaseResources() OVERRIDE; |  117   virtual void ReleaseResources() OVERRIDE; | 
|  118   virtual skia::RefPtr<SkPicture> GetPicture() OVERRIDE; |  118   virtual skia::RefPtr<SkPicture> GetPicture() OVERRIDE; | 
|  119  |  119  | 
|  120   // PictureLayerTilingClient overrides. |  120   // PictureLayerTilingClient overrides. | 
|  121   virtual scoped_refptr<Tile> CreateTile( |  121   virtual scoped_refptr<Tile> CreateTile( | 
|  122     PictureLayerTiling* tiling, |  122     PictureLayerTiling* tiling, | 
|  123     const gfx::Rect& content_rect) OVERRIDE; |  123     const gfx::Rect& content_rect) OVERRIDE; | 
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  228   gfx::Rect viewport_rect_for_tile_priority_; |  228   gfx::Rect viewport_rect_for_tile_priority_; | 
|  229   gfx::Transform screen_space_transform_for_tile_priority_; |  229   gfx::Transform screen_space_transform_for_tile_priority_; | 
|  230  |  230  | 
|  231   friend class PictureLayer; |  231   friend class PictureLayer; | 
|  232   DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); |  232   DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); | 
|  233 }; |  233 }; | 
|  234  |  234  | 
|  235 }  // namespace cc |  235 }  // namespace cc | 
|  236  |  236  | 
|  237 #endif  // CC_LAYERS_PICTURE_LAYER_IMPL_H_ |  237 #endif  // CC_LAYERS_PICTURE_LAYER_IMPL_H_ | 
| OLD | NEW |