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

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

Issue 2215133002: Change signature of OnConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 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
« no previous file with comments | « ui/ozone/platform/drm/ozone_platform_gbm.cc ('k') | ui/ozone/public/ozone_platform.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/ozone_platform.h
diff --git a/ui/ozone/public/ozone_platform.h b/ui/ozone/public/ozone_platform.h
index 5757660809d25f9864b46a9fef17a7188e54bed1..d904618b2998204efd993da047be0d0c36b41592 100644
--- a/ui/ozone/public/ozone_platform.h
+++ b/ui/ozone/public/ozone_platform.h
@@ -16,7 +16,7 @@ class Rect;
namespace shell {
class Connector;
-class Connection;
+class InterfaceRegistry;
}
namespace ui {
@@ -104,12 +104,13 @@ class OZONE_EXPORT OzonePlatform {
// Ozone platform implementations may also choose to expose mojo interfaces to
// internal functionality. Embedders wishing to take advantage of ozone mojo
- // implementations must invoke AddInterfaces with a valid shell::Connection*
- // pointer to export all Mojo interfaces defined within Ozone.
+ // implementations must invoke AddInterfaces with a valid
+ // shell::InterfaceRegistry* pointer to export all Mojo interfaces defined
+ // within Ozone.
//
// A default do-nothing implementation is provided to permit platform
// implementations to opt out of implementing any Mojo interfaces.
- virtual void AddInterfaces(shell::Connection* connection);
+ virtual void AddInterfaces(shell::InterfaceRegistry* registry);
private:
virtual void InitializeUI() = 0;
« no previous file with comments | « ui/ozone/platform/drm/ozone_platform_gbm.cc ('k') | ui/ozone/public/ozone_platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698