| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef CC_DEBUG_TRACED_DISPLAY_ITEM_LIST_H_ | 5 #ifndef CC_DEBUG_TRACED_DISPLAY_ITEM_LIST_H_ |
| 6 #define CC_DEBUG_TRACED_DISPLAY_ITEM_LIST_H_ | 6 #define CC_DEBUG_TRACED_DISPLAY_ITEM_LIST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/trace_event/trace_event.h" | 13 #include "base/trace_event/trace_event.h" |
| 13 #include "cc/debug/traced_value.h" | 14 #include "cc/debug/traced_value.h" |
| 14 | 15 |
| 15 namespace cc { | 16 namespace cc { |
| 16 | 17 |
| 17 class DisplayItemList; | 18 class DisplayItemList; |
| 18 | 19 |
| 19 class TracedDisplayItemList | 20 class TracedDisplayItemList |
| 20 : public base::trace_event::ConvertableToTraceFormat { | 21 : public base::trace_event::ConvertableToTraceFormat { |
| 21 public: | 22 public: |
| (...skipping 12 matching lines...) Expand all Loading... |
| 34 | 35 |
| 35 scoped_refptr<const DisplayItemList> display_item_list_; | 36 scoped_refptr<const DisplayItemList> display_item_list_; |
| 36 bool include_items_; | 37 bool include_items_; |
| 37 | 38 |
| 38 DISALLOW_COPY_AND_ASSIGN(TracedDisplayItemList); | 39 DISALLOW_COPY_AND_ASSIGN(TracedDisplayItemList); |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 } // namespace cc | 42 } // namespace cc |
| 42 | 43 |
| 43 #endif // CC_DEBUG_TRACED_DISPLAY_ITEM_LIST_H_ | 44 #endif // CC_DEBUG_TRACED_DISPLAY_ITEM_LIST_H_ |
| OLD | NEW |