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

Unified Diff: ui/platform_window/platform_window_delegate.h

Issue 1406333003: aura: Support SurfaceDestroyed() on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wth2
Patch Set: comment Created 5 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
« no previous file with comments | « ui/platform_window/android/platform_window_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/platform_window/platform_window_delegate.h
diff --git a/ui/platform_window/platform_window_delegate.h b/ui/platform_window/platform_window_delegate.h
index 67c63a7e5e41f94f9c69ddbe32ff7bd415e7755a..f7cdb1abf3ddbc992fff7255ab2ea33f851cb3be 100644
--- a/ui/platform_window/platform_window_delegate.h
+++ b/ui/platform_window/platform_window_delegate.h
@@ -46,6 +46,10 @@ class PlatformWindowDelegate {
virtual void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget,
float device_pixel_ratio) = 0;
+ // Notifies the delegate that the widget cannot be used anymore until
+ // a new widget is made available through OnAcceleratedWidgetAvailable().
+ virtual void OnAcceleratedWidgetDestroyed() = 0;
+
virtual void OnActivationChanged(bool active) = 0;
};
« no previous file with comments | « ui/platform_window/android/platform_window_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698