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 "cc/layers/content_layer.h" | 5 #include "cc/layers/content_layer.h" |
6 | 6 |
7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "cc/layers/content_layer_client.h" | 10 #include "cc/layers/content_layer_client.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 125 |
126 can_use_lcd_text_last_frame_ = can_use_lcd_text(); | 126 can_use_lcd_text_last_frame_ = can_use_lcd_text(); |
127 if (client_) | 127 if (client_) |
128 client_->DidChangeLayerCanUseLCDText(); | 128 client_->DidChangeLayerCanUseLCDText(); |
129 } | 129 } |
130 | 130 |
131 bool ContentLayer::SupportsLCDText() const { | 131 bool ContentLayer::SupportsLCDText() const { |
132 return true; | 132 return true; |
133 } | 133 } |
134 | 134 |
| 135 std::string ContentLayer::DebugName() { |
| 136 return client_->DebugName(); |
| 137 } |
| 138 |
135 } // namespace cc | 139 } // namespace cc |
OLD | NEW |