OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_OUTPUT_FILTER_OPERATIONS_H_ | 5 #ifndef CC_OUTPUT_FILTER_OPERATIONS_H_ |
6 #define CC_OUTPUT_FILTER_OPERATIONS_H_ | 6 #define CC_OUTPUT_FILTER_OPERATIONS_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "cc/output/filter_operation.h" | 12 #include "cc/output/filter_operation.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 namespace trace_event { | 15 namespace trace_event { |
16 class TracedValue; | 16 class TracedValue; |
17 } | 17 } |
18 class Value; | 18 class Value; |
19 } | 19 } |
20 | 20 |
21 namespace cc { | 21 namespace cc { |
22 | 22 |
23 // An ordered list of filter operations. | 23 // An ordered list of filter operations. |
24 class CC_EXPORT FilterOperations { | 24 class FilterOperations { |
25 public: | 25 public: |
26 FilterOperations(); | 26 FilterOperations(); |
27 | 27 |
28 FilterOperations(const FilterOperations& other); | 28 FilterOperations(const FilterOperations& other); |
29 | 29 |
30 ~FilterOperations(); | 30 ~FilterOperations(); |
31 | 31 |
32 FilterOperations& operator=(const FilterOperations& other); | 32 FilterOperations& operator=(const FilterOperations& other); |
33 | 33 |
34 bool operator==(const FilterOperations& other) const; | 34 bool operator==(const FilterOperations& other) const; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 void AsValueInto(base::trace_event::TracedValue* value) const; | 73 void AsValueInto(base::trace_event::TracedValue* value) const; |
74 | 74 |
75 private: | 75 private: |
76 std::vector<FilterOperation> operations_; | 76 std::vector<FilterOperation> operations_; |
77 }; | 77 }; |
78 | 78 |
79 } // namespace cc | 79 } // namespace cc |
80 | 80 |
81 #endif // CC_OUTPUT_FILTER_OPERATIONS_H_ | 81 #endif // CC_OUTPUT_FILTER_OPERATIONS_H_ |
OLD | NEW |