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

Unified Diff: chrome/browser/ui/ash/keyboard_ui_service.h

Issue 1684823004: Refactors keyboard related code so mash can use a keyboard (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to trunk 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
« no previous file with comments | « chrome/browser/ui/ash/chrome_keyboard_ui.h ('k') | chrome/browser/ui/ash/keyboard_ui_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/keyboard_ui_service.h
diff --git a/chrome/browser/ui/ash/keyboard_ui_service.h b/chrome/browser/ui/ash/keyboard_ui_service.h
new file mode 100644
index 0000000000000000000000000000000000000000..96f4b3e58714ae790af4183ba200ba5267628b98
--- /dev/null
+++ b/chrome/browser/ui/ash/keyboard_ui_service.h
@@ -0,0 +1,24 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_ASH_KEYBOARD_UI_SERVICE_H_
+#define CHROME_BROWSER_UI_ASH_KEYBOARD_UI_SERVICE_H_
+
+#include "ui/keyboard/keyboard.mojom.h"
+
+class KeyboardUIService : public keyboard::mojom::Keyboard {
+ public:
+ KeyboardUIService();
+ ~KeyboardUIService() override;
+
+ // keyboard::mojom::Keyboard:
+ void Show() override;
+ void Hide() override;
+ void AddObserver(keyboard::mojom::KeyboardObserverPtr observer) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(KeyboardUIService);
+};
+
+#endif // CHROME_BROWSER_UI_ASH_KEYBOARD_UI_SERVICE_H_
« no previous file with comments | « chrome/browser/ui/ash/chrome_keyboard_ui.h ('k') | chrome/browser/ui/ash/keyboard_ui_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698