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

Unified Diff: android_webview/browser/scoped_app_gl_state_restore.h

Issue 25082006: [Android WebView] OnMemoryPressure to drop tile memory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: real working code Created 7 years, 2 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
Index: android_webview/browser/scoped_app_gl_state_restore.h
diff --git a/android_webview/browser/scoped_app_gl_state_restore.h b/android_webview/browser/scoped_app_gl_state_restore.h
index 93b5ad51be63ef2827d8cdf25e7e6c03cca5b7fa..850454a4c7ce7d3533b1651ce1bb948eecfdc730 100644
--- a/android_webview/browser/scoped_app_gl_state_restore.h
+++ b/android_webview/browser/scoped_app_gl_state_restore.h
@@ -18,7 +18,8 @@ class ScopedAppGLStateRestore {
public:
enum CallMode {
MODE_DRAW,
- MODE_DETACH_FROM_WINDOW
+ MODE_DETACH_FROM_WINDOW,
+ MODE_ON_TRIM
joth 2013/10/02 10:47:01 nit: include the trailing comma on last item as d
boliu 2013/10/02 14:09:55 both done
};
ScopedAppGLStateRestore(CallMode mode);

Powered by Google App Engine
This is Rietveld 408576698