diff options
author | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-22 03:43:17 +0000 |
---|---|---|
committer | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-22 03:43:17 +0000 |
commit | 4c0e1bbba0cf5ad73525cc658bf864479dbf8d4c (patch) | |
tree | d688aaf8d708256814495e9cb221428b4a008224 /cc/thread_proxy.h | |
parent | c8d7155f2e7523afba19912e1801174411025067 (diff) | |
download | chromium_src-4c0e1bbba0cf5ad73525cc658bf864479dbf8d4c.zip chromium_src-4c0e1bbba0cf5ad73525cc658bf864479dbf8d4c.tar.gz chromium_src-4c0e1bbba0cf5ad73525cc658bf864479dbf8d4c.tar.bz2 |
cc: Have smoothness take priority during scroll and pinch zoom.
Set tree_priority member of global state that impacts tile priority to
SMOOTHNESS_TAKES_PRIORITY during scroll or pinch gesture. Restore it
500 ms after last scroll or pinch event was received.
BUG=166799
Review URL: https://chromiumcodereview.appspot.com/11911003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177975 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/thread_proxy.h')
-rw-r--r-- | cc/thread_proxy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h index e5e41ab..4d44cd0 100644 --- a/cc/thread_proxy.h +++ b/cc/thread_proxy.h @@ -204,6 +204,9 @@ private: bool m_deferCommits; scoped_ptr<BeginFrameAndCommitState> m_pendingDeferredCommit; + + base::TimeTicks m_smoothnessTakesPriorityExpirationTime; + bool m_renewTreePriorityOnImplThreadPending; }; } // namespace cc |