Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Side by Side Diff: webkit/compositor_bindings/web_layer_impl.cc

Issue 11365239: cc: Add support for debugging layer borders directly in the compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_layer_impl.h ('k') | webkit/compositor_bindings/web_layer_tree_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698