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

Unified Diff: ui/ozone/platform/wayland/fake_server.h

Issue 2639053002: [ozone/wayland] Implement basic keyboard handling support (Closed)
Patch Set: addressed kpschoedel's review Created 3 years, 11 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/wayland/DEPS ('k') | ui/ozone/platform/wayland/fake_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/wayland/fake_server.h
diff --git a/ui/ozone/platform/wayland/fake_server.h b/ui/ozone/platform/wayland/fake_server.h
index 8aa5e181ed851813e7455f3038b5edf385491fcd..3e4f6019b9ca42244e566f79dd045704c02303f4 100644
--- a/ui/ozone/platform/wayland/fake_server.h
+++ b/ui/ozone/platform/wayland/fake_server.h
@@ -84,6 +84,15 @@ class MockPointer : public ServerObject {
DISALLOW_COPY_AND_ASSIGN(MockPointer);
};
+class MockKeyboard : public ServerObject {
+ public:
+ MockKeyboard(wl_resource* resource);
+ ~MockKeyboard() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(MockKeyboard);
+};
+
struct GlobalDeleter {
void operator()(wl_global* global);
};
@@ -160,6 +169,7 @@ class MockSeat : public Global {
~MockSeat() override;
std::unique_ptr<MockPointer> pointer;
+ std::unique_ptr<MockKeyboard> keyboard;
private:
DISALLOW_COPY_AND_ASSIGN(MockSeat);
« no previous file with comments | « ui/ozone/platform/wayland/DEPS ('k') | ui/ozone/platform/wayland/fake_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698