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

Unified Diff: content/public/browser/android/compositor_client.h

Issue 22870016: Update the nine patch layer to use UI resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 7 years, 3 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 | « content/public/browser/android/compositor.h ('k') | ui/gfx/android/java_bitmap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/android/compositor_client.h
diff --git a/content/public/browser/android/compositor_client.h b/content/public/browser/android/compositor_client.h
index d70f0c07af31600194d3f25086e6c4e67151aef1..d835de199d7fa58adb8722e9956602b28b2c575c 100644
--- a/content/public/browser/android/compositor_client.h
+++ b/content/public/browser/android/compositor_client.h
@@ -23,6 +23,12 @@ class CONTENT_EXPORT CompositorClient {
// Tells the client that GL resources were lost and need to be reinitialized.
virtual void DidLoseResources() {}
+ // Tells the client that UI resources were lost and need to be reinitialized.
+ virtual void DidLoseUIResources() {}
+
+ // Mark the UI Resources as being invalid for use.
+ virtual void UIResourcesAreInvalid() {}
+
protected:
CompositorClient() {}
virtual ~CompositorClient() {}
« no previous file with comments | « content/public/browser/android/compositor.h ('k') | ui/gfx/android/java_bitmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698