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

Unified Diff: cc/base/filter_operations.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 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/base/filter_operation.cc ('k') | cc/base/filter_operations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/filter_operations.h
diff --git a/cc/output/filter_operations.h b/cc/base/filter_operations.h
similarity index 91%
rename from cc/output/filter_operations.h
rename to cc/base/filter_operations.h
index b5eb78026755ea3994de2372e99b60f4173796df..a7be88d122b00ae3bff00efcd4e5d76dfbf75918 100644
--- a/cc/output/filter_operations.h
+++ b/cc/base/filter_operations.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CC_OUTPUT_FILTER_OPERATIONS_H_
-#define CC_OUTPUT_FILTER_OPERATIONS_H_
+#ifndef CC_BASE_FILTER_OPERATIONS_H_
+#define CC_BASE_FILTER_OPERATIONS_H_
#include <stddef.h>
@@ -11,7 +11,7 @@
#include <vector>
#include "base/logging.h"
-#include "cc/output/filter_operation.h"
+#include "cc/base/filter_operation.h"
namespace base {
namespace trace_event {
@@ -26,7 +26,7 @@ class Rect;
namespace cc {
// An ordered list of filter operations.
-class CC_EXPORT FilterOperations {
+class CC_BASE_EXPORT FilterOperations {
public:
FilterOperations();
@@ -66,9 +66,7 @@ class CC_EXPORT FilterOperations {
bool HasFilterThatAffectsOpacity() const;
bool HasReferenceFilter() const;
- size_t size() const {
- return operations_.size();
- }
+ size_t size() const { return operations_.size(); }
const std::vector<FilterOperation>& operations() const { return operations_; }
@@ -98,4 +96,4 @@ class CC_EXPORT FilterOperations {
} // namespace cc
-#endif // CC_OUTPUT_FILTER_OPERATIONS_H_
+#endif // CC_BASE_FILTER_OPERATIONS_H_
« no previous file with comments | « cc/base/filter_operation.cc ('k') | cc/base/filter_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698