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

Side by Side Diff: cc/video_layer_impl.cc

Issue 11366135: Extra logging for NinePatch layers in layerTreeAsText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ninepatch
Patch Set: drop the m_, it's cleaner 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
« cc/nine_patch_layer_impl.cc ('K') | « cc/video_layer_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "config.h" 5 #include "config.h"
6 6
7 #include "cc/video_layer_impl.h" 7 #include "cc/video_layer_impl.h"
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "cc/io_surface_draw_quad.h" 10 #include "cc/io_surface_draw_quad.h"
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 void VideoLayerImpl::didLoseContext() 411 void VideoLayerImpl::didLoseContext()
412 { 412 {
413 freePlaneData(layerTreeHostImpl()->resourceProvider()); 413 freePlaneData(layerTreeHostImpl()->resourceProvider());
414 } 414 }
415 415
416 void VideoLayerImpl::setNeedsRedraw() 416 void VideoLayerImpl::setNeedsRedraw()
417 { 417 {
418 layerTreeHostImpl()->setNeedsRedraw(); 418 layerTreeHostImpl()->setNeedsRedraw();
419 } 419 }
420 420
421 void VideoLayerImpl::dumpLayerProperties(std::string* str, int indent) const
422 {
423 str->append(indentString(indent));
424 str->append("video layer\n");
425 LayerImpl::dumpLayerProperties(str, indent);
426 }
427
428 const char* VideoLayerImpl::layerTypeAsString() const 421 const char* VideoLayerImpl::layerTypeAsString() const
429 { 422 {
430 return "VideoLayer"; 423 return "VideoLayer";
431 } 424 }
432 425
433 } 426 }
OLDNEW
« cc/nine_patch_layer_impl.cc ('K') | « cc/video_layer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698