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

Unified Diff: ash/keyboard/keyboard_ui_observer.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 | « ash/keyboard/keyboard_ui.cc ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/keyboard/keyboard_ui_observer.h
diff --git a/ash/keyboard/keyboard_ui_observer.h b/ash/keyboard/keyboard_ui_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..3b8e1cd1d4bda6d6fc9731717552577e408d7cea
--- /dev/null
+++ b/ash/keyboard/keyboard_ui_observer.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 ASH_KEYBOARD_KEYBOARD_UI_OBSERVER_H_
+#define ASH_KEYBOARD_KEYBOARD_UI_OBSERVER_H_
+
+#include "ash/ash_export.h"
+#include "base/macros.h"
+#include "base/memory/scoped_ptr.h"
+
+namespace ash {
+
+class ASH_EXPORT KeyboardUIObserver {
+ public:
+ virtual void OnKeyboardEnabledStateChanged(bool new_value) = 0;
+
+ protected:
+ virtual ~KeyboardUIObserver() {}
+};
+
+} // namespace ash
+
+#endif // ASH_KEYBOARD_KEYBOARD_UI_OBSERVER_H_
« no previous file with comments | « ash/keyboard/keyboard_ui.cc ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698