Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Side by Side Diff: android_webview/browser/browser_view_renderer_impl.h

Issue 14888002: Android WebView Merged-Thread Hardware Draw (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_IMPL_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_IMPL_H_
6 #define ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_IMPL_H_ 6 #define ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_IMPL_H_
7 7
8 #include "android_webview/browser/browser_view_renderer.h" 8 #include "android_webview/browser/browser_view_renderer.h"
9 #include "android_webview/browser/renderer_host/view_renderer_host.h" 9 #include "android_webview/browser/renderer_host/view_renderer_host.h"
10 #include "content/public/browser/android/compositor.h" 10 #include "content/public/browser/android/compositor.h"
(...skipping 19 matching lines...) Expand all
30 class Vector2dF; 30 class Vector2dF;
31 } 31 }
32 32
33 namespace android_webview { 33 namespace android_webview {
34 34
35 class BrowserViewRendererImpl 35 class BrowserViewRendererImpl
36 : public BrowserViewRenderer, 36 : public BrowserViewRenderer,
37 public ViewRendererHost::Client, 37 public ViewRendererHost::Client,
38 public content::Compositor::Client { 38 public content::Compositor::Client {
39 public: 39 public:
40 static BrowserViewRendererImpl* Create(BrowserViewRenderer::Client* client, 40 static BrowserViewRenderer* Create(BrowserViewRenderer::Client* client,
41 JavaHelper* java_helper); 41 JavaHelper* java_helper);
42 static BrowserViewRendererImpl* FromWebContents( 42 static BrowserViewRendererImpl* FromWebContents(
43 content::WebContents* contents); 43 content::WebContents* contents);
44 static BrowserViewRendererImpl* FromId(int render_process_id,
45 int render_view_id);
46 static void SetAwDrawSWFunctionTable(AwDrawSWFunctionTable* table); 44 static void SetAwDrawSWFunctionTable(AwDrawSWFunctionTable* table);
47 45
48 virtual ~BrowserViewRendererImpl(); 46 virtual ~BrowserViewRendererImpl();
49 47
50 virtual void BindSynchronousCompositor( 48 virtual void BindSynchronousCompositor(
51 content::SynchronousCompositor* compositor); 49 content::SynchronousCompositor* compositor);
52 50
53 // BrowserViewRenderer implementation. 51 // BrowserViewRenderer implementation.
54 virtual void SetContents( 52 virtual void SetContents(
55 content::ContentViewCore* content_view_core) OVERRIDE; 53 content::ContentViewCore* content_view_core) OVERRIDE;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 content::ContentViewCore::UpdateFrameInfoCallback update_frame_info_callback_; 142 content::ContentViewCore::UpdateFrameInfoCallback update_frame_info_callback_;
145 143
146 bool prevent_client_invalidate_; 144 bool prevent_client_invalidate_;
147 145
148 DISALLOW_COPY_AND_ASSIGN(BrowserViewRendererImpl); 146 DISALLOW_COPY_AND_ASSIGN(BrowserViewRendererImpl);
149 }; 147 };
150 148
151 } // namespace android_webview 149 } // namespace android_webview
152 150
153 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_IMPL_H_ 151 #endif // ANDROID_WEBVIEW_BROWSER_BROWSER_VIEW_RENDERER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698