OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ |
6 #define ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ |
7 | 7 |
8 #include "android_webview/browser/global_tile_manager.h" | 8 #include "android_webview/browser/global_tile_manager.h" |
9 #include "android_webview/browser/global_tile_manager_client.h" | 9 #include "android_webview/browser/global_tile_manager_client.h" |
10 #include "android_webview/browser/shared_renderer_state.h" | 10 #include "android_webview/browser/shared_renderer_state.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 virtual void SetTotalRootLayerScrollOffset(gfx::Vector2dF new_value_css) | 124 virtual void SetTotalRootLayerScrollOffset(gfx::Vector2dF new_value_css) |
125 OVERRIDE; | 125 OVERRIDE; |
126 virtual void DidUpdateContent() OVERRIDE; | 126 virtual void DidUpdateContent() OVERRIDE; |
127 virtual gfx::Vector2dF GetTotalRootLayerScrollOffset() OVERRIDE; | 127 virtual gfx::Vector2dF GetTotalRootLayerScrollOffset() OVERRIDE; |
128 virtual bool IsExternalFlingActive() const OVERRIDE; | 128 virtual bool IsExternalFlingActive() const OVERRIDE; |
129 virtual void SetRootLayerPageScaleFactorAndLimits(float page_scale_factor, | 129 virtual void SetRootLayerPageScaleFactorAndLimits(float page_scale_factor, |
130 float min_page_scale_factor, | 130 float min_page_scale_factor, |
131 float max_page_scale_factor) | 131 float max_page_scale_factor) |
132 OVERRIDE; | 132 OVERRIDE; |
133 virtual void SetRootLayerScrollableSize(gfx::SizeF scrollable_size) OVERRIDE; | 133 virtual void SetRootLayerScrollableSize(gfx::SizeF scrollable_size) OVERRIDE; |
| 134 virtual void SetNeedsAnimate( |
| 135 const AnimationCallback& animate_target) OVERRIDE; |
134 virtual void DidOverscroll(gfx::Vector2dF accumulated_overscroll, | 136 virtual void DidOverscroll(gfx::Vector2dF accumulated_overscroll, |
135 gfx::Vector2dF latest_overscroll_delta, | 137 gfx::Vector2dF latest_overscroll_delta, |
136 gfx::Vector2dF current_fling_velocity) OVERRIDE; | 138 gfx::Vector2dF current_fling_velocity) OVERRIDE; |
137 | 139 |
138 // GlobalTileManagerClient overrides | 140 // GlobalTileManagerClient overrides |
139 virtual size_t GetNumTiles() const OVERRIDE; | 141 virtual size_t GetNumTiles() const OVERRIDE; |
140 virtual void SetNumTiles(size_t num_tiles, | 142 virtual void SetNumTiles(size_t num_tiles, |
141 bool effective_immediately) OVERRIDE; | 143 bool effective_immediately) OVERRIDE; |
142 | 144 |
143 private: | 145 private: |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 // used on data that must be modified immediately instead of being posted | 232 // used on data that must be modified immediately instead of being posted |
231 // back to UI. | 233 // back to UI. |
232 base::Lock render_thread_lock_; | 234 base::Lock render_thread_lock_; |
233 | 235 |
234 DISALLOW_COPY_AND_ASSIGN(BrowserViewRenderer); | 236 DISALLOW_COPY_AND_ASSIGN(BrowserViewRenderer); |
235 }; | 237 }; |
236 | 238 |
237 } // namespace android_webview | 239 } // namespace android_webview |
238 | 240 |
239 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ | 241 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ |
OLD | NEW |