| OLD | NEW |
| 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 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 virtual void Start( | 71 virtual void Start( |
| 72 std::unique_ptr<BeginFrameSource> external_begin_frame_source) = 0; | 72 std::unique_ptr<BeginFrameSource> external_begin_frame_source) = 0; |
| 73 virtual void Stop() = 0; // Must be called before deleting the proxy. | 73 virtual void Stop() = 0; // Must be called before deleting the proxy. |
| 74 | 74 |
| 75 virtual bool SupportsImplScrolling() const = 0; | 75 virtual bool SupportsImplScrolling() const = 0; |
| 76 | 76 |
| 77 virtual void UpdateTopControlsState(TopControlsState constraints, | 77 virtual void UpdateTopControlsState(TopControlsState constraints, |
| 78 TopControlsState current, | 78 TopControlsState current, |
| 79 bool animate) = 0; | 79 bool animate) = 0; |
| 80 | 80 |
| 81 virtual void SetOutputIsSecure(bool output_is_secure) = 0; | |
| 82 | |
| 83 // Testing hooks | 81 // Testing hooks |
| 84 virtual bool MainFrameWillHappenForTesting() = 0; | 82 virtual bool MainFrameWillHappenForTesting() = 0; |
| 85 }; | 83 }; |
| 86 | 84 |
| 87 } // namespace cc | 85 } // namespace cc |
| 88 | 86 |
| 89 #endif // CC_TREES_PROXY_H_ | 87 #endif // CC_TREES_PROXY_H_ |
| OLD | NEW |