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

Unified Diff: ash/common/keyboard/keyboard_ui.h

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: 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
« no previous file with comments | « ash/common/key_event_watcher.cc ('k') | ash/common/keyboard/keyboard_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/keyboard/keyboard_ui.h
diff --git a/ash/common/keyboard/keyboard_ui.h b/ash/common/keyboard/keyboard_ui.h
deleted file mode 100644
index b9d7dcfcaa492128474bb7543fc387547155554f..0000000000000000000000000000000000000000
--- a/ash/common/keyboard/keyboard_ui.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// 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_COMMON_KEYBOARD_KEYBOARD_UI_H_
-#define ASH_COMMON_KEYBOARD_KEYBOARD_UI_H_
-
-#include <memory>
-
-#include "ash/ash_export.h"
-#include "base/macros.h"
-#include "base/observer_list.h"
-
-namespace ash {
-
-class KeyboardUIObserver;
-
-// KeyboardUI wraps the appropriate keyboard ui depending upon whether ash is
-// running in mus or non-mus.
-class ASH_EXPORT KeyboardUI {
- public:
- virtual ~KeyboardUI();
-
- static std::unique_ptr<KeyboardUI> Create();
-
- virtual void Show() = 0;
- virtual void ShowInDisplay(const int64_t display_id) = 0;
- virtual void Hide() = 0;
-
- // Returns true if the keyboard is enabled.
- virtual bool IsEnabled() = 0;
-
- void AddObserver(KeyboardUIObserver* observer);
- void RemoveObserver(KeyboardUIObserver* observer);
-
- // Applist also queries this for bounds. If app list remains in ash then
- // we need to plumb bounds through here too.
-
- protected:
- KeyboardUI();
-
- base::ObserverList<KeyboardUIObserver>* observers() { return &observers_; }
-
- private:
- base::ObserverList<KeyboardUIObserver> observers_;
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_KEYBOARD_KEYBOARD_UI_H_
« no previous file with comments | « ash/common/key_event_watcher.cc ('k') | ash/common/keyboard/keyboard_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698