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

Unified Diff: services/keyboard/linux/keyboard_service_impl.h

Issue 1682113003: Mojo C++ bindings: Generate InterfaceHandle<> instead of InterfacePtr<>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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: services/keyboard/linux/keyboard_service_impl.h
diff --git a/services/keyboard/linux/keyboard_service_impl.h b/services/keyboard/linux/keyboard_service_impl.h
index bb4037c14b4fe570ac1769041be3652e9d708ac8..aaf22e07d2d4566bb49c212018ee3b047e82e6b7 100644
--- a/services/keyboard/linux/keyboard_service_impl.h
+++ b/services/keyboard/linux/keyboard_service_impl.h
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "mojo/public/cpp/application/interface_factory.h"
+#include "mojo/public/cpp/bindings/interface_handle.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "mojo/public/interfaces/application/shell.mojom.h"
#include "mojo/services/keyboard/interfaces/keyboard.mojom.h"
@@ -23,7 +24,7 @@ class LinuxKeyboardServiceImpl : public keyboard::KeyboardService,
~LinuxKeyboardServiceImpl() override;
// |KeyboardService| overrides:
- void Show(keyboard::KeyboardClientPtr client,
+ void Show(mojo::InterfaceHandle<keyboard::KeyboardClient> client,
keyboard::KeyboardType type) override;
void ShowByRequest() override;
void Hide() override;

Powered by Google App Engine
This is Rietveld 408576698