| 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 #include "cc/layers/delegated_renderer_layer.h" | 5 #include "cc/layers/delegated_renderer_layer.h" |
| 6 | 6 |
| 7 #include "cc/layers/delegated_renderer_layer_impl.h" | 7 #include "cc/layers/delegated_renderer_layer_impl.h" |
| 8 #include "cc/output/delegated_frame_data.h" | 8 #include "cc/output/delegated_frame_data.h" |
| 9 #include "cc/quads/render_pass_draw_quad.h" | 9 #include "cc/quads/render_pass_draw_quad.h" |
| 10 #include "cc/trees/blocking_task_runner.h" | |
| 11 #include "cc/trees/layer_tree_host.h" | 10 #include "cc/trees/layer_tree_host.h" |
| 12 | 11 |
| 13 namespace cc { | 12 namespace cc { |
| 14 | 13 |
| 15 scoped_refptr<DelegatedRendererLayer> DelegatedRendererLayer::Create( | 14 scoped_refptr<DelegatedRendererLayer> DelegatedRendererLayer::Create( |
| 16 const scoped_refptr<DelegatedFrameProvider>& frame_provider) { | 15 const scoped_refptr<DelegatedFrameProvider>& frame_provider) { |
| 17 return scoped_refptr<DelegatedRendererLayer>( | 16 return scoped_refptr<DelegatedRendererLayer>( |
| 18 new DelegatedRendererLayer(frame_provider)); | 17 new DelegatedRendererLayer(frame_provider)); |
| 19 } | 18 } |
| 20 | 19 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 94 |
| 96 SetNeedsPushProperties(); | 95 SetNeedsPushProperties(); |
| 97 return true; | 96 return true; |
| 98 } | 97 } |
| 99 | 98 |
| 100 bool DelegatedRendererLayer::HasDelegatedContent() const { | 99 bool DelegatedRendererLayer::HasDelegatedContent() const { |
| 101 return true; | 100 return true; |
| 102 } | 101 } |
| 103 | 102 |
| 104 } // namespace cc | 103 } // namespace cc |
| OLD | NEW |