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

Unified Diff: ash/sysui/keyboard_ui_mus.h

Issue 2339633002: mash: Port KeyboardUIMus to mojo:ash; remove sysui. (Closed)
Patch Set: Add mash NOTIMPLEMENTED() in AccessibilityManager::UpdateVirtualKeyboardFromPref() Created 4 years, 3 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/sysui/README.md ('k') | ash/sysui/keyboard_ui_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sysui/keyboard_ui_mus.h
diff --git a/ash/sysui/keyboard_ui_mus.h b/ash/sysui/keyboard_ui_mus.h
deleted file mode 100644
index 2ffee67798045845220a7309adfca99fd3a117c4..0000000000000000000000000000000000000000
--- a/ash/sysui/keyboard_ui_mus.h
+++ /dev/null
@@ -1,51 +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_SYSUI_KEYBOARD_UI_MUS_H_
-#define ASH_SYSUI_KEYBOARD_UI_MUS_H_
-
-#include <memory>
-
-#include "ash/common/keyboard/keyboard_ui.h"
-#include "base/macros.h"
-#include "mojo/public/cpp/bindings/binding.h"
-#include "ui/keyboard/keyboard.mojom.h"
-
-namespace shell {
-class Connector;
-}
-
-namespace ash {
-
-class KeyboardUIMus : public KeyboardUI,
- public keyboard::mojom::KeyboardObserver {
- public:
- explicit KeyboardUIMus(::shell::Connector* connector);
- ~KeyboardUIMus() override;
-
- static std::unique_ptr<KeyboardUI> Create(::shell::Connector* connector);
-
- // KeyboardUI:
- void Hide() override;
- void Show() override;
- bool IsEnabled() override;
-
- // keyboard::mojom::KeyboardObserver:
- void OnKeyboardStateChanged(bool is_enabled,
- bool is_visible,
- uint64_t display_id,
- const gfx::Rect& bounds) override;
-
- private:
- bool is_enabled_;
-
- keyboard::mojom::KeyboardPtr keyboard_;
- mojo::Binding<keyboard::mojom::KeyboardObserver> observer_binding_;
-
- DISALLOW_COPY_AND_ASSIGN(KeyboardUIMus);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSUI_KEYBOARD_UI_MUS_H_
« no previous file with comments | « ash/sysui/README.md ('k') | ash/sysui/keyboard_ui_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698