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

Side by Side Diff: cc/output/filter_operations.h

Issue 2574713003: Add toString() for paint property node classes (Closed)
Patch Set: Update test Created 4 years 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
« no previous file with comments | « no previous file | cc/output/filter_operations.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // linearly interpolating at each position a |progress| fraction of the way 83 // linearly interpolating at each position a |progress| fraction of the way
84 // from the filter in |from| to the filter in this. If |from| and this are of 84 // from the filter in |from| to the filter in this. If |from| and this are of
85 // different lengths, they are treated as having the same length by padding 85 // different lengths, they are treated as having the same length by padding
86 // the shorter sequence with no-op filters of the same type as the filters in 86 // the shorter sequence with no-op filters of the same type as the filters in
87 // the corresponding positions in the longer sequence. If either sequence has 87 // the corresponding positions in the longer sequence. If either sequence has
88 // a reference filter or if there is a type mismatch at some position, returns 88 // a reference filter or if there is a type mismatch at some position, returns
89 // a copy of this. 89 // a copy of this.
90 FilterOperations Blend(const FilterOperations& from, double progress) const; 90 FilterOperations Blend(const FilterOperations& from, double progress) const;
91 91
92 void AsValueInto(base::trace_event::TracedValue* value) const; 92 void AsValueInto(base::trace_event::TracedValue* value) const;
93 std::string ToString() const;
93 94
94 private: 95 private:
95 std::vector<FilterOperation> operations_; 96 std::vector<FilterOperation> operations_;
96 }; 97 };
97 98
98 } // namespace cc 99 } // namespace cc
99 100
100 #endif // CC_OUTPUT_FILTER_OPERATIONS_H_ 101 #endif // CC_OUTPUT_FILTER_OPERATIONS_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output/filter_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698