| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 #include "web_layer_impl.h" | 6 #include "web_layer_impl.h" |
| 7 | 7 |
| 8 #include "SkMatrix44.h" | 8 #include "SkMatrix44.h" |
| 9 #ifdef LOG | 9 #ifdef LOG |
| 10 #undef LOG | 10 #undef LOG |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 void WebLayerImpl::setTransform(const WebTransformationMatrix& matrix) | 225 void WebLayerImpl::setTransform(const WebTransformationMatrix& matrix) |
| 226 { | 226 { |
| 227 m_layer->setTransform(matrix); | 227 m_layer->setTransform(matrix); |
| 228 } | 228 } |
| 229 | 229 |
| 230 SkMatrix44 WebLayerImpl::transform() const | 230 SkMatrix44 WebLayerImpl::transform() const |
| 231 { | 231 { |
| 232 return skMatrix44FromTransformationMatrix(m_layer->transform()); | 232 return skMatrix44FromTransformationMatrix(m_layer->transform()); |
| 233 } | 233 } |
| 234 | 234 |
| 235 void WebLayerImpl::setAutomaticallyComputeRasterScale(bool) |
| 236 { |
| 237 } |
| 238 |
| 235 void WebLayerImpl::setDrawsContent(bool drawsContent) | 239 void WebLayerImpl::setDrawsContent(bool drawsContent) |
| 236 { | 240 { |
| 237 m_layer->setIsDrawable(drawsContent); | 241 m_layer->setIsDrawable(drawsContent); |
| 238 } | 242 } |
| 239 | 243 |
| 240 bool WebLayerImpl::drawsContent() const | 244 bool WebLayerImpl::drawsContent() const |
| 241 { | 245 { |
| 242 return m_layer->drawsContent(); | 246 return m_layer->drawsContent(); |
| 243 } | 247 } |
| 244 | 248 |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 { | 436 { |
| 433 m_layer->setLayerScrollClient(scrollClient); | 437 m_layer->setLayerScrollClient(scrollClient); |
| 434 } | 438 } |
| 435 | 439 |
| 436 LayerChromium* WebLayerImpl::layer() const | 440 LayerChromium* WebLayerImpl::layer() const |
| 437 { | 441 { |
| 438 return m_layer.get(); | 442 return m_layer.get(); |
| 439 } | 443 } |
| 440 | 444 |
| 441 } // namespace WebKit | 445 } // namespace WebKit |
| OLD | NEW |