| 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 "web_layer_impl.h" | 5 #include "web_layer_impl.h" |
| 6 | 6 |
| 7 #include "SkMatrix44.h" | 7 #include "SkMatrix44.h" |
| 8 #ifdef LOG | 8 #ifdef LOG |
| 9 #undef LOG | 9 #undef LOG |
| 10 #endif | 10 #endif |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 bool WebLayerImpl::fixedToContainerLayer() const | 411 bool WebLayerImpl::fixedToContainerLayer() const |
| 412 { | 412 { |
| 413 return m_layer->fixedToContainerLayer(); | 413 return m_layer->fixedToContainerLayer(); |
| 414 } | 414 } |
| 415 | 415 |
| 416 void WebLayerImpl::setScrollClient(WebLayerScrollClient* scrollClient) | 416 void WebLayerImpl::setScrollClient(WebLayerScrollClient* scrollClient) |
| 417 { | 417 { |
| 418 m_layer->setLayerScrollClient(scrollClient); | 418 m_layer->setLayerScrollClient(scrollClient); |
| 419 } | 419 } |
| 420 | 420 |
| 421 void WebLayerImpl::setTags(unsigned tags) |
| 422 { |
| 423 m_layer->setTags(tags); |
| 424 } |
| 425 |
| 426 unsigned WebLayerImpl::getTags() const |
| 427 { |
| 428 return m_layer->getTags(); |
| 429 } |
| 430 |
| 431 void WebLayerImpl::addTag(WebLayer::Tag tag) |
| 432 { |
| 433 m_layer->addTag(static_cast<cc::Layer::Tag>(tag)); |
| 434 } |
| 435 |
| 436 bool WebLayerImpl::getTag(WebLayer::Tag tag) const |
| 437 { |
| 438 return m_layer->getTag(static_cast<cc::Layer::Tag>(tag)); |
| 439 } |
| 440 |
| 421 Layer* WebLayerImpl::layer() const | 441 Layer* WebLayerImpl::layer() const |
| 422 { | 442 { |
| 423 return m_layer.get(); | 443 return m_layer.get(); |
| 424 } | 444 } |
| 425 | 445 |
| 426 } // namespace WebKit | 446 } // namespace WebKit |
| OLD | NEW |