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 <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <algorithm> | 10 #include <algorithm> |
8 #include <vector> | 11 #include <vector> |
9 | 12 |
10 #include "base/numerics/safe_conversions.h" | 13 #include "base/numerics/safe_conversions.h" |
11 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
12 #include "base/trace_event/trace_event.h" | 15 #include "base/trace_event/trace_event.h" |
13 #include "base/trace_event/trace_event_argument.h" | 16 #include "base/trace_event/trace_event_argument.h" |
14 #include "cc/debug/debug_colors.h" | 17 #include "cc/debug/debug_colors.h" |
15 #include "cc/debug/frame_rate_counter.h" | 18 #include "cc/debug/frame_rate_counter.h" |
16 #include "cc/output/begin_frame_args.h" | 19 #include "cc/output/begin_frame_args.h" |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 return "cc::HeadsUpDisplayLayerImpl"; | 794 return "cc::HeadsUpDisplayLayerImpl"; |
792 } | 795 } |
793 | 796 |
794 void HeadsUpDisplayLayerImpl::AsValueInto( | 797 void HeadsUpDisplayLayerImpl::AsValueInto( |
795 base::trace_event::TracedValue* dict) const { | 798 base::trace_event::TracedValue* dict) const { |
796 LayerImpl::AsValueInto(dict); | 799 LayerImpl::AsValueInto(dict); |
797 dict->SetString("layer_name", "Heads Up Display Layer"); | 800 dict->SetString("layer_name", "Heads Up Display Layer"); |
798 } | 801 } |
799 | 802 |
800 } // namespace cc | 803 } // namespace cc |
OLD | NEW |