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: content/browser/gpu/gpu_process_host_ui_shim.h

Issue 2688193002: Mojo framework for AndroidOverlay. (Closed)
Patch Set: replaced frame id, pid with token Created 3 years, 9 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/browser/gpu/gpu_process_host_ui_shim.h
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.h b/content/browser/gpu/gpu_process_host_ui_shim.h
index 95f2f17426b3ae7f2944f022950a43783ccca547..1944d6aadd1544f957458eed48fcc7dd1b4297fa 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.h
+++ b/content/browser/gpu/gpu_process_host_ui_shim.h
@@ -31,6 +31,10 @@ namespace IPC {
class Message;
}
+namespace service_manager {
+class InterfaceRegistry;
+}
+
namespace content {
void RouteToGpuProcessHostUIShimTask(int host_id, const IPC::Message& msg);
@@ -57,6 +61,12 @@ class GpuProcessHostUIShim : public IPC::Listener,
// actually received on the IO thread.
bool OnMessageReceived(const IPC::Message& message) override;
+#if defined(OS_ANDROID)
+ // Register Mojo interfaces that must be bound on the UI thread.
+ static void RegisterUIThreadMojoInterfaces(
+ service_manager::InterfaceRegistry* registry);
+#endif
+
private:
explicit GpuProcessHostUIShim(int host_id);
~GpuProcessHostUIShim() override;

Powered by Google App Engine
This is Rietveld 408576698