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

Side by Side Diff: cc/trees/thread_proxy.h

Issue 429743003: Rename Animate as Begin(Main)Frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 42 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
43 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner); 43 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner);
44 44
45 virtual ~ThreadProxy(); 45 virtual ~ThreadProxy();
46 46
47 struct BeginMainFrameAndCommitState { 47 struct BeginMainFrameAndCommitState {
48 BeginMainFrameAndCommitState(); 48 BeginMainFrameAndCommitState();
49 ~BeginMainFrameAndCommitState(); 49 ~BeginMainFrameAndCommitState();
50 50
51 unsigned int begin_frame_id; 51 unsigned int begin_frame_id;
52 base::TimeTicks monotonic_frame_begin_time; 52 BeginFrameArgs begin_frame_args;
53 scoped_ptr<ScrollAndScaleSet> scroll_info; 53 scoped_ptr<ScrollAndScaleSet> scroll_info;
54 size_t memory_allocation_limit_bytes; 54 size_t memory_allocation_limit_bytes;
55 int memory_allocation_priority_cutoff; 55 int memory_allocation_priority_cutoff;
56 bool evicted_ui_resources; 56 bool evicted_ui_resources;
57 }; 57 };
58 58
59 struct MainThreadOnly { 59 struct MainThreadOnly {
60 MainThreadOnly(ThreadProxy* proxy, int layer_tree_host_id); 60 MainThreadOnly(ThreadProxy* proxy, int layer_tree_host_id);
61 ~MainThreadOnly(); 61 ~MainThreadOnly();
62 62
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 297
298 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 298 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
299 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 299 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
300 300
301 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 301 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
302 }; 302 };
303 303
304 } // namespace cc 304 } // namespace cc
305 305
306 #endif // CC_TREES_THREAD_PROXY_H_ 306 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698