| 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 m_layer->setBackgroundFilters(filters); | 271 m_layer->setBackgroundFilters(filters); |
| 272 } | 272 } |
| 273 | 273 |
| 274 void WebLayerImpl::setFilter(SkImageFilter* filter) | 274 void WebLayerImpl::setFilter(SkImageFilter* filter) |
| 275 { | 275 { |
| 276 m_layer->setFilter(filter); | 276 m_layer->setFilter(filter); |
| 277 } | 277 } |
| 278 | 278 |
| 279 void WebLayerImpl::setDebugBorderColor(const WebColor& color) | 279 void WebLayerImpl::setDebugBorderColor(const WebColor& color) |
| 280 { | 280 { |
| 281 m_layer->setDebugBorderColor(color); | 281 NOTREACHED(); |
| 282 } | 282 } |
| 283 | 283 |
| 284 void WebLayerImpl::setDebugBorderWidth(float width) | 284 void WebLayerImpl::setDebugBorderWidth(float width) |
| 285 { | 285 { |
| 286 m_layer->setDebugBorderWidth(width); | 286 NOTREACHED(); |
| 287 } | 287 } |
| 288 | 288 |
| 289 void WebLayerImpl::setDebugName(WebString name) | 289 void WebLayerImpl::setDebugName(WebString name) |
| 290 { | 290 { |
| 291 m_layer->setDebugName(UTF16ToASCII(string16(name.data(), name.length()))); | 291 m_layer->setDebugName(UTF16ToASCII(string16(name.data(), name.length()))); |
| 292 } | 292 } |
| 293 | 293 |
| 294 void WebLayerImpl::setAnimationDelegate(WebAnimationDelegate* delegate) | 294 void WebLayerImpl::setAnimationDelegate(WebAnimationDelegate* delegate) |
| 295 { | 295 { |
| 296 m_layer->setLayerAnimationDelegate(delegate); | 296 m_layer->setLayerAnimationDelegate(delegate); |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 { | 463 { |
| 464 m_layer->setLayerScrollClient(scrollClient); | 464 m_layer->setLayerScrollClient(scrollClient); |
| 465 } | 465 } |
| 466 | 466 |
| 467 Layer* WebLayerImpl::layer() const | 467 Layer* WebLayerImpl::layer() const |
| 468 { | 468 { |
| 469 return m_layer.get(); | 469 return m_layer.get(); |
| 470 } | 470 } |
| 471 | 471 |
| 472 } // namespace WebKit | 472 } // namespace WebKit |
| OLD | NEW |