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

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

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/trace_event/trace_event.h"
10 #include "cc/layers/heads_up_display_layer_impl.h" 10 #include "cc/layers/heads_up_display_layer_impl.h"
11 #include "cc/trees/layer_tree_host.h" 11 #include "cc/trees/layer_tree_host.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 scoped_refptr<HeadsUpDisplayLayer> HeadsUpDisplayLayer::Create() { 15 scoped_refptr<HeadsUpDisplayLayer> HeadsUpDisplayLayer::Create() {
16 return make_scoped_refptr(new HeadsUpDisplayLayer()); 16 return make_scoped_refptr(new HeadsUpDisplayLayer());
17 } 17 }
18 18
19 HeadsUpDisplayLayer::HeadsUpDisplayLayer() { 19 HeadsUpDisplayLayer::HeadsUpDisplayLayer() {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 bool HeadsUpDisplayLayer::HasDrawableContent() const { 53 bool HeadsUpDisplayLayer::HasDrawableContent() const {
54 return true; 54 return true;
55 } 55 }
56 56
57 scoped_ptr<LayerImpl> HeadsUpDisplayLayer::CreateLayerImpl( 57 scoped_ptr<LayerImpl> HeadsUpDisplayLayer::CreateLayerImpl(
58 LayerTreeImpl* tree_impl) { 58 LayerTreeImpl* tree_impl) {
59 return HeadsUpDisplayLayerImpl::Create(tree_impl, layer_id_); 59 return HeadsUpDisplayLayerImpl::Create(tree_impl, layer_id_);
60 } 60 }
61 61
62 } // namespace cc 62 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/delegated_renderer_layer_impl_unittest.cc ('k') | cc/layers/heads_up_display_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698