| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_IN_PROCESS_IN_PROCESS_VIEW_RENDERER_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_IN_PROCESS_IN_PROCESS_VIEW_RENDERER_H_ |
| 6 #define ANDROID_WEBVIEW_BROWSER_IN_PROCESS_IN_PROCESS_VIEW_RENDERER_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_IN_PROCESS_IN_PROCESS_VIEW_RENDERER_H_ |
| 7 | 7 |
| 8 #include "android_webview/browser/browser_view_renderer_impl.h" | 8 #include "android_webview/browser/browser_view_renderer.h" |
| 9 | 9 |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "content/public/browser/android/synchronous_compositor_client.h" | 11 #include "content/public/browser/android/synchronous_compositor_client.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 class SynchronousCompositor; | 14 class SynchronousCompositor; |
| 15 class WebContents; | 15 class WebContents; |
| 16 } | 16 } |
| 17 | 17 |
| 18 typedef void* EGLContext; |
| 19 class SkCanvas; |
| 20 |
| 18 namespace android_webview { | 21 namespace android_webview { |
| 19 | 22 |
| 20 // Provides RenderViewHost wrapper functionality for sending WebView-specific | 23 // Provides RenderViewHost wrapper functionality for sending WebView-specific |
| 21 // IPC messages to the renderer and from there to WebKit. | 24 // IPC messages to the renderer and from there to WebKit. |
| 22 class InProcessViewRenderer : public BrowserViewRenderer, | 25 class InProcessViewRenderer : public BrowserViewRenderer, |
| 23 public content::SynchronousCompositorClient { | 26 public content::SynchronousCompositorClient { |
| 24 public: | 27 public: |
| 25 InProcessViewRenderer(BrowserViewRenderer::Client* client, | 28 InProcessViewRenderer(BrowserViewRenderer::Client* client, |
| 26 JavaHelper* java_helper); | 29 JavaHelper* java_helper); |
| 27 virtual ~InProcessViewRenderer(); | 30 virtual ~InProcessViewRenderer(); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 gfx::Vector2dF scroll_offset_; | 99 gfx::Vector2dF scroll_offset_; |
| 97 | 100 |
| 98 base::WeakPtrFactory<InProcessViewRenderer> weak_factory_; | 101 base::WeakPtrFactory<InProcessViewRenderer> weak_factory_; |
| 99 | 102 |
| 100 DISALLOW_COPY_AND_ASSIGN(InProcessViewRenderer); | 103 DISALLOW_COPY_AND_ASSIGN(InProcessViewRenderer); |
| 101 }; | 104 }; |
| 102 | 105 |
| 103 } // namespace android_webview | 106 } // namespace android_webview |
| 104 | 107 |
| 105 #endif // ANDROID_WEBVIEW_BROWSER_IN_PROCESS_IN_PROCESS_VIEW_RENDERER_H_ | 108 #endif // ANDROID_WEBVIEW_BROWSER_IN_PROCESS_IN_PROCESS_VIEW_RENDERER_H_ |
| OLD | NEW |