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

Unified Diff: ui/ozone/public/ozone_platform.h

Issue 2795503002: mash: Don't synthesize extra key press events in the window server (Closed)
Patch Set: Add OzonePlatform::Shutdown Created 3 years, 8 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: ui/ozone/public/ozone_platform.h
diff --git a/ui/ozone/public/ozone_platform.h b/ui/ozone/public/ozone_platform.h
index 97cab2cfebd51b060fd9870d7c7b618cebb65500..a8b6edc1df08459626de1353d50cb1beeec22293 100644
--- a/ui/ozone/public/ozone_platform.h
+++ b/ui/ozone/public/ozone_platform.h
@@ -93,6 +93,10 @@ class OZONE_EXPORT OzonePlatform {
// provided by |args| as with InitalizeForUI.
static void InitializeForGPU(const InitParams& args);
+ // Deletes the instance. Does nothing if OzonePlatform has not yet been
+ // initialized.
+ static void Shutdown();
+
static OzonePlatform* GetInstance();
// Factory getters to override in subclasses. The returned objects will be

Powered by Google App Engine
This is Rietveld 408576698