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

Unified Diff: cc/output/filter_operations.h

Issue 2047573005: Implement cc::FilterOperations StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Plumb cc::FilterOperations to mus Created 4 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/ipc/typemaps.gni ('k') | cc/output/filter_operations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/filter_operations.h
diff --git a/cc/output/filter_operations.h b/cc/output/filter_operations.h
index 589b2f5f5bb107206fd809b7be1815f4b7b7c127..542da1f2b0db97a1f56acc18c22b7ac4a7621fec 100644
--- a/cc/output/filter_operations.h
+++ b/cc/output/filter_operations.h
@@ -33,10 +33,14 @@ class CC_EXPORT FilterOperations {
FilterOperations(const FilterOperations& other);
+ explicit FilterOperations(std::vector<FilterOperation>&& operations);
+
~FilterOperations();
FilterOperations& operator=(const FilterOperations& other);
+ FilterOperations& operator=(FilterOperations&& other);
+
bool operator==(const FilterOperations& other) const;
bool operator!=(const FilterOperations& other) const {
@@ -63,6 +67,8 @@ class CC_EXPORT FilterOperations {
return operations_.size();
}
+ const std::vector<FilterOperation>& operations() const { return operations_; }
+
const FilterOperation& at(size_t index) const {
DCHECK_LT(index, size());
return operations_[index];
« no previous file with comments | « cc/ipc/typemaps.gni ('k') | cc/output/filter_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698