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

Unified Diff: shell/native_application_support.cc

Issue 1578423002: Added PlatformHandle thunks. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Renamed platform_handle_apptests to platform_handle_private_apptests Created 4 years, 10 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: shell/native_application_support.cc
diff --git a/shell/native_application_support.cc b/shell/native_application_support.cc
index ce171dcbefe9a9e3961a645ac9ac9ebcba1a396f..11482fe6a8a78766e25016830b7f3a922d7654b5 100644
--- a/shell/native_application_support.cc
+++ b/shell/native_application_support.cc
@@ -24,6 +24,7 @@
#include "mojo/public/platform/native/mgl_onscreen_thunks.h"
#include "mojo/public/platform/native/mgl_signal_sync_point_thunks.h"
#include "mojo/public/platform/native/mgl_thunks.h"
+#include "mojo/public/platform/native/platform_handle_private_thunks.h"
#include "mojo/public/platform/native/system_impl_private_thunks.h"
#include "mojo/public/platform/native/system_thunks.h"
@@ -74,6 +75,10 @@ bool RunNativeApplication(
return false;
}
+ // TODO(freiling): enforce the private nature of this API, somehow?
+ SetThunks(&MojoMakePlatformHandlePrivateThunks,
+ "MojoSetPlatformHandlePrivateThunks", app_library);
+
// TODO(ncbray): enforce the private nature of this API, somehow?
SetThunks(&MojoMakeSystemImplControlThunksPrivate,
"MojoSetSystemImplControlThunksPrivate", app_library);

Powered by Google App Engine
This is Rietveld 408576698