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

Unified Diff: android_webview/browser/browser_view_renderer.h

Issue 348613004: aw: Fix hardware teardown race (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 6 years, 6 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 | « no previous file | android_webview/browser/browser_view_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/browser_view_renderer.h
diff --git a/android_webview/browser/browser_view_renderer.h b/android_webview/browser/browser_view_renderer.h
index e8a1ebe0eb870c3d91e52d53b72c357d0b33cc58..f557203be682ac499f641fd482b560347ec4e7e2 100644
--- a/android_webview/browser/browser_view_renderer.h
+++ b/android_webview/browser/browser_view_renderer.h
@@ -104,9 +104,10 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient,
void ScrollTo(gfx::Vector2d new_value);
// Android views hierarchy gluing.
- bool IsAttachedToWindow() const;
bool IsVisible() const;
gfx::Rect GetScreenRect() const;
+ bool attached_to_window() const { return attached_to_window_; }
+ bool hardware_enabled() const { return hardware_enabled_; }
// Set the memory policy in shared renderer state and request the tiles from
// GlobalTileManager. The actually amount of memory allowed by
« no previous file with comments | « no previous file | android_webview/browser/browser_view_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698