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

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: comments by aelias. added invalidation of ui resources to android-side Created 7 years, 4 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: 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..c36db324ff22f7f085668c929c5bb22fc359bf73 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() {}
+
+ // Invalidates the UI Resources in the client.
aelias_OOO_until_Jul13 2013/08/30 06:20:41 I don't understand what "Invalidate" means in this
powei 2013/09/03 23:36:05 Done. Renamed to UIResourcesAreInvalid
+ virtual void InvalidateUIResources() {}
+
protected:
CompositorClient() {}
virtual ~CompositorClient() {}

Powered by Google App Engine
This is Rietveld 408576698