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

Unified Diff: android_webview/native/aw_contents.h

Issue 266353003: aw: Ubercomp mega patch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: r272176 Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_contents.h
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
index a74d9285881d8368edf55814d73eaac1387c554c..679ebc8be1cdec1d78d65746b4aa95c8ee7923e7 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -37,7 +37,7 @@ class AwContentsContainer;
class AwContentsClientBridge;
class AwPdfExporter;
class AwWebContentsDelegate;
-class HardwareRenderer;
+class HardwareRendererInterface;
class PermissionRequestHandler;
// Native side of java-class of same name.
@@ -216,8 +216,6 @@ class AwContents : public FindHelper::Listener,
void InitAutofillIfNecessary(bool enabled);
void InitializeHardwareDrawIfNeeded();
- void InitializeHardwareDrawOnRenderThread();
- void ReleaseHardwareDrawOnRenderThread();
JavaObjectWeakGlobalRef java_ref_;
scoped_ptr<content::WebContents> web_contents_;
@@ -229,7 +227,7 @@ class AwContents : public FindHelper::Listener,
scoped_ptr<AwContents> pending_contents_;
SharedRendererState shared_renderer_state_;
BrowserViewRenderer browser_view_renderer_;
- scoped_ptr<HardwareRenderer> hardware_renderer_;
+ scoped_ptr<HardwareRendererInterface> hardware_renderer_;
scoped_ptr<AwPdfExporter> pdf_exporter_;
scoped_ptr<PermissionRequestHandler> permission_request_handler_;
@@ -240,6 +238,7 @@ class AwContents : public FindHelper::Listener,
// The first element in the list is always the currently pending request.
std::list<OriginCallback> pending_geolocation_prompts_;
+ base::Lock render_thread_lock_;
GLViewRendererManager::Key renderer_manager_key_;
DISALLOW_COPY_AND_ASSIGN(AwContents);
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698