| OLD | NEW |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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 "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "ContentLayerChromium.h" | 7 #include "cc/content_layer.h" |
| 8 | 8 |
| 9 #include "base/time.h" | |
| 10 #include "BitmapCanvasLayerTextureUpdater.h" | |
| 11 #include "BitmapSkPictureCanvasLayerTextureUpdater.h" | |
| 12 #include "CCLayerTreeHost.h" | 9 #include "CCLayerTreeHost.h" |
| 13 #include "CCSettings.h" | 10 #include "CCSettings.h" |
| 14 #include "ContentLayerChromiumClient.h" | 11 #include "base/time.h" |
| 15 #include "FrameBufferSkPictureCanvasLayerTextureUpdater.h" | 12 #include "cc/bitmap_canvas_layer_texture_updater.h" |
| 16 #include "LayerPainterChromium.h" | 13 #include "cc/bitmap_skpicture_canvas_layer_texture_updater.h" |
| 14 #include "cc/content_layer_client.h" |
| 15 #include "cc/frame_buffer_skpicture_canvas_layer_texture_updater.h" |
| 16 #include "cc/layer_painter.h" |
| 17 #include <public/Platform.h> | 17 #include <public/Platform.h> |
| 18 | 18 |
| 19 namespace cc { | 19 namespace cc { |
| 20 | 20 |
| 21 ContentLayerPainter::ContentLayerPainter(ContentLayerChromiumClient* client) | 21 ContentLayerPainter::ContentLayerPainter(ContentLayerChromiumClient* client) |
| 22 : m_client(client) | 22 : m_client(client) |
| 23 { | 23 { |
| 24 } | 24 } |
| 25 | 25 |
| 26 scoped_ptr<ContentLayerPainter> ContentLayerPainter::create(ContentLayerChromium
Client* client) | 26 scoped_ptr<ContentLayerPainter> ContentLayerPainter::create(ContentLayerChromium
Client* client) |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 } | 102 } |
| 103 | 103 |
| 104 void ContentLayerChromium::setContentsOpaque(bool opaque) | 104 void ContentLayerChromium::setContentsOpaque(bool opaque) |
| 105 { | 105 { |
| 106 LayerChromium::setContentsOpaque(opaque); | 106 LayerChromium::setContentsOpaque(opaque); |
| 107 if (m_textureUpdater) | 107 if (m_textureUpdater) |
| 108 m_textureUpdater->setOpaque(opaque); | 108 m_textureUpdater->setOpaque(opaque); |
| 109 } | 109 } |
| 110 | 110 |
| 111 } | 111 } |
| OLD | NEW |