summaryrefslogtreecommitdiffstats
path: root/cc/trees/proxy.h
diff options
context:
space:
mode:
authorajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-03 03:03:11 +0000
committerajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-03 03:03:11 +0000
commit5d8bec73db031fb0cd49a413d412b2aad9a6be63 (patch)
tree71cad131c3ea47d0b7f44a37880620cd00f436d9 /cc/trees/proxy.h
parent7c5015180b89b698222a796084ce2bf07473217e (diff)
downloadchromium_src-5d8bec73db031fb0cd49a413d412b2aad9a6be63.zip
chromium_src-5d8bec73db031fb0cd49a413d412b2aad9a6be63.tar.gz
chromium_src-5d8bec73db031fb0cd49a413d412b2aad9a6be63.tar.bz2
cc: Disallow scroll offset animations when impl-scrolling isn't supported
SingleThreadProxy doesn't support directly changing scroll offsets on the impl layer tree (since it doesn't send scroll deltas from the impl side back to the main-thread side). This means that scroll offset animations should be disallowed by cc when using SingleThreadProxy. BUG=243871 Review URL: https://codereview.chromium.org/368883003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281140 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/trees/proxy.h')
-rw-r--r--cc/trees/proxy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/trees/proxy.h b/cc/trees/proxy.h
index 4066513..838e44f 100644
--- a/cc/trees/proxy.h
+++ b/cc/trees/proxy.h
@@ -89,6 +89,8 @@ class CC_EXPORT Proxy {
// Maximum number of sub-region texture updates supported for each commit.
virtual size_t MaxPartialTextureUpdates() const = 0;
+ virtual bool SupportsImplScrolling() const = 0;
+
virtual scoped_ptr<base::Value> AsValue() const = 0;
virtual void SetDebugState(const LayerTreeDebugState& debug_state) = 0;