| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 bool attached_to_window_; | 191 bool attached_to_window_; |
| 192 bool hardware_enabled_; | 192 bool hardware_enabled_; |
| 193 float dip_scale_; | 193 float dip_scale_; |
| 194 float page_scale_factor_; | 194 float page_scale_factor_; |
| 195 bool on_new_picture_enable_; | 195 bool on_new_picture_enable_; |
| 196 bool clear_view_; | 196 bool clear_view_; |
| 197 | 197 |
| 198 gfx::Vector2d last_on_draw_scroll_offset_; | 198 gfx::Vector2d last_on_draw_scroll_offset_; |
| 199 gfx::Rect last_on_draw_global_visible_rect_; | 199 gfx::Rect last_on_draw_global_visible_rect_; |
| 200 | 200 |
| 201 // The clip and transform from the parent compositor. These are only used for |
| 202 // tiling priority. |
| 203 gfx::Rect parent_clip_; |
| 204 gfx::Transform parent_transform_; |
| 205 |
| 201 // When true, we should continuously invalidate and keep drawing, for example | 206 // When true, we should continuously invalidate and keep drawing, for example |
| 202 // to drive animation. This value is set by the compositor and should always | 207 // to drive animation. This value is set by the compositor and should always |
| 203 // reflect the expectation of the compositor and not be reused for other | 208 // reflect the expectation of the compositor and not be reused for other |
| 204 // states. | 209 // states. |
| 205 bool compositor_needs_continuous_invalidate_; | 210 bool compositor_needs_continuous_invalidate_; |
| 206 | 211 |
| 207 // Used to block additional invalidates while one is already pending. | 212 // Used to block additional invalidates while one is already pending. |
| 208 bool block_invalidates_; | 213 bool block_invalidates_; |
| 209 | 214 |
| 210 base::CancelableClosure post_fallback_tick_; | 215 base::CancelableClosure post_fallback_tick_; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 231 // policy on the shared_renderer_state_ atomically. | 236 // policy on the shared_renderer_state_ atomically. |
| 232 size_t num_tiles_; | 237 size_t num_tiles_; |
| 233 size_t num_bytes_; | 238 size_t num_bytes_; |
| 234 | 239 |
| 235 DISALLOW_COPY_AND_ASSIGN(BrowserViewRenderer); | 240 DISALLOW_COPY_AND_ASSIGN(BrowserViewRenderer); |
| 236 }; | 241 }; |
| 237 | 242 |
| 238 } // namespace android_webview | 243 } // namespace android_webview |
| 239 | 244 |
| 240 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ | 245 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ |
| OLD | NEW |