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

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

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: Created 4 years, 2 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
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_PROXY_H_ 5 #ifndef CC_TREES_PROXY_H_
6 #define CC_TREES_PROXY_H_ 6 #define CC_TREES_PROXY_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/threading/platform_thread.h" 13 #include "base/threading/platform_thread.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "cc/base/cc_export.h" 16 #include "cc/base/cc_export.h"
17 #include "cc/input/top_controls_state.h" 17 #include "cc/input/browser_controls_state.h"
18 #include "cc/scheduler/begin_frame_source.h" 18 #include "cc/scheduler/begin_frame_source.h"
19 #include "cc/trees/task_runner_provider.h" 19 #include "cc/trees/task_runner_provider.h"
20 20
21 namespace gfx { 21 namespace gfx {
22 class Rect; 22 class Rect;
23 class Vector2d; 23 class Vector2d;
24 } 24 }
25 25
26 namespace cc { 26 namespace cc {
27 class BeginFrameSource; 27 class BeginFrameSource;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 // Must be called before using the proxy. 67 // Must be called before using the proxy.
68 virtual void Start() = 0; 68 virtual void Start() = 0;
69 // Must be called before deleting the proxy. 69 // Must be called before deleting the proxy.
70 virtual void Stop() = 0; 70 virtual void Stop() = 0;
71 71
72 virtual void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) = 0; 72 virtual void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) = 0;
73 73
74 virtual bool SupportsImplScrolling() const = 0; 74 virtual bool SupportsImplScrolling() const = 0;
75 75
76 virtual void UpdateTopControlsState(TopControlsState constraints, 76 virtual void UpdateTopControlsState(BrowserControlsState constraints,
vmpstr 2016/10/21 17:54:58 ditto
mdjones 2016/10/24 21:20:24 Done.
77 TopControlsState current, 77 BrowserControlsState current,
78 bool animate) = 0; 78 bool animate) = 0;
79 79
80 // Testing hooks 80 // Testing hooks
81 virtual bool MainFrameWillHappenForTesting() = 0; 81 virtual bool MainFrameWillHappenForTesting() = 0;
82 }; 82 };
83 83
84 } // namespace cc 84 } // namespace cc
85 85
86 #endif // CC_TREES_PROXY_H_ 86 #endif // CC_TREES_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698