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/parent_compositor_draw_constraints.h" | 8 #include "android_webview/browser/parent_compositor_draw_constraints.h" |
9 #include "android_webview/browser/shared_renderer_state.h" | 9 #include "android_webview/browser/shared_renderer_state.h" |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/cancelable_callback.h" | 11 #include "base/cancelable_callback.h" |
12 #include "base/debug/trace_event.h" | 12 #include "base/debug/trace_event.h" |
13 #include "content/public/browser/android/synchronous_compositor.h" | 13 #include "content/public/browser/android/synchronous_compositor.h" |
14 #include "content/public/browser/android/synchronous_compositor_client.h" | 14 #include "content/public/browser/android/synchronous_compositor_client.h" |
15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/rect.h" |
16 #include "ui/gfx/geometry/vector2d_f.h" | 16 #include "ui/gfx/vector2d_f.h" |
17 | 17 |
18 class SkCanvas; | 18 class SkCanvas; |
19 class SkPicture; | 19 class SkPicture; |
20 | 20 |
21 namespace android_webview { | 21 namespace android_webview { |
22 | 22 |
23 class BrowserViewRendererClient; | 23 class BrowserViewRendererClient; |
24 | 24 |
25 // Interface for all the WebView-specific content rendering operations. | 25 // Interface for all the WebView-specific content rendering operations. |
26 // Provides software and hardware rendering and the Capture Picture API. | 26 // Provides software and hardware rendering and the Capture Picture API. |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 // visible skew (especially noticeable when scrolling up and down in the same | 192 // visible skew (especially noticeable when scrolling up and down in the same |
193 // spot over a period of time). | 193 // spot over a period of time). |
194 gfx::Vector2dF overscroll_rounding_error_; | 194 gfx::Vector2dF overscroll_rounding_error_; |
195 | 195 |
196 DISALLOW_COPY_AND_ASSIGN(BrowserViewRenderer); | 196 DISALLOW_COPY_AND_ASSIGN(BrowserViewRenderer); |
197 }; | 197 }; |
198 | 198 |
199 } // namespace android_webview | 199 } // namespace android_webview |
200 | 200 |
201 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ | 201 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_H_ |
OLD | NEW |