summaryrefslogtreecommitdiffstats
path: root/cc/trees/damage_tracker.h
diff options
context:
space:
mode:
authorajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-25 18:49:29 +0000
committerajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-25 18:49:29 +0000
commitae6b1a7f60846352cc37858778d30886970f1582 (patch)
tree63f3db7cd40160fc2f978ccb1c86f36f589a8a13 /cc/trees/damage_tracker.h
parent5e2c4d7c13baad8a246dd1f200636235f07b38d7 (diff)
downloadchromium_src-ae6b1a7f60846352cc37858778d30886970f1582.zip
chromium_src-ae6b1a7f60846352cc37858778d30886970f1582.tar.gz
chromium_src-ae6b1a7f60846352cc37858778d30886970f1582.tar.bz2
Move implementation of WebFilterOperations into cc
This moves the implementation of WebFilterOperations into cc, and (behind an #ifdef) defines a WebFilterOperationsImpl class that implements the WebFilterOperations interface by wrapping a cc::FilterOperations. With this change, cc and ui/compositor no longer need to include WebFilterOperations.h. BUG=181613 Review URL: https://chromiumcodereview.appspot.com/16968002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208531 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/trees/damage_tracker.h')
-rw-r--r--cc/trees/damage_tracker.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/cc/trees/damage_tracker.h b/cc/trees/damage_tracker.h
index 716e573..ce72fcc 100644
--- a/cc/trees/damage_tracker.h
+++ b/cc/trees/damage_tracker.h
@@ -18,12 +18,9 @@ namespace gfx {
class Rect;
}
-namespace WebKit {
-class WebFilterOperations;
-}
-
namespace cc {
+class FilterOperations;
class LayerImpl;
class RenderSurfaceImpl;
@@ -43,7 +40,7 @@ class CC_EXPORT DamageTracker {
bool target_surface_property_changed_only_from_descendant,
gfx::Rect target_surface_content_rect,
LayerImpl* target_surface_mask_layer,
- const WebKit::WebFilterOperations& filters,
+ const FilterOperations& filters,
SkImageFilter* filter);
gfx::RectF current_damage_rect() { return current_damage_rect_; }