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

Side by Side Diff: cc/layers/heads_up_display_layer.cc

Issue 16903005: Add layer name into frame viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove SetDebugName() Created 7 years, 4 months 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 "cc/layers/heads_up_display_layer.h" 5 #include "cc/layers/heads_up_display_layer.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "cc/layers/heads_up_display_layer_impl.h" 10 #include "cc/layers/heads_up_display_layer_impl.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 } 48 }
49 49
50 bool HeadsUpDisplayLayer::DrawsContent() const { return true; } 50 bool HeadsUpDisplayLayer::DrawsContent() const { return true; }
51 51
52 scoped_ptr<LayerImpl> HeadsUpDisplayLayer::CreateLayerImpl( 52 scoped_ptr<LayerImpl> HeadsUpDisplayLayer::CreateLayerImpl(
53 LayerTreeImpl* tree_impl) { 53 LayerTreeImpl* tree_impl) {
54 return HeadsUpDisplayLayerImpl::Create(tree_impl, layer_id_). 54 return HeadsUpDisplayLayerImpl::Create(tree_impl, layer_id_).
55 PassAs<LayerImpl>(); 55 PassAs<LayerImpl>();
56 } 56 }
57 57
58 std::string HeadsUpDisplayLayer::DebugName() {
59 return std::string("Heads Up Display Layer");
60 }
61
58 } // namespace cc 62 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/heads_up_display_layer.h ('k') | cc/layers/layer.h » ('j') | cc/layers/layer_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698