| OLD | NEW |
| 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_impl.h" | 5 #include "cc/layers/heads_up_display_layer_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
| (...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 | 702 |
| 703 canvas->restore(); | 703 canvas->restore(); |
| 704 } | 704 } |
| 705 } | 705 } |
| 706 } | 706 } |
| 707 | 707 |
| 708 const char* HeadsUpDisplayLayerImpl::LayerTypeAsString() const { | 708 const char* HeadsUpDisplayLayerImpl::LayerTypeAsString() const { |
| 709 return "cc::HeadsUpDisplayLayerImpl"; | 709 return "cc::HeadsUpDisplayLayerImpl"; |
| 710 } | 710 } |
| 711 | 711 |
| 712 void HeadsUpDisplayLayerImpl::AsValueInto(base::DictionaryValue* dict) const { |
| 713 LayerImpl::AsValueInto(dict); |
| 714 dict->SetString("layer_name", "Heads Up Display Layer"); |
| 715 } |
| 716 |
| 712 } // namespace cc | 717 } // namespace cc |
| OLD | NEW |