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

Side by Side Diff: ash/keyboard/keyboard_ui.cc

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 unified diff | Download patch
« no previous file with comments | « ash/keyboard/keyboard_ui.h ('k') | ash/keyboard/keyboard_ui_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/common/keyboard/keyboard_ui.h" 5 #include "ash/keyboard/keyboard_ui.h"
6 6
7 #include "ash/common/accessibility_delegate.h" 7 #include "ash/accessibility_delegate.h"
8 #include "ash/common/keyboard/keyboard_ui_observer.h" 8 #include "ash/keyboard/keyboard_ui_observer.h"
9 #include "ash/common/wm_shell.h"
10 #include "ash/system/accessibility_observer.h" 9 #include "ash/system/accessibility_observer.h"
11 #include "ash/system/tray/system_tray_notifier.h" 10 #include "ash/system/tray/system_tray_notifier.h"
12 #include "ash/system/tray_accessibility.h" 11 #include "ash/system/tray_accessibility.h"
12 #include "ash/wm_shell.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "ui/keyboard/keyboard_controller.h" 14 #include "ui/keyboard/keyboard_controller.h"
15 15
16 namespace ash { 16 namespace ash {
17 17
18 class KeyboardUIImpl : public KeyboardUI, public AccessibilityObserver { 18 class KeyboardUIImpl : public KeyboardUI, public AccessibilityObserver {
19 public: 19 public:
20 KeyboardUIImpl() : enabled_(false) { 20 KeyboardUIImpl() : enabled_(false) {
21 WmShell::Get()->system_tray_notifier()->AddAccessibilityObserver(this); 21 WmShell::Get()->system_tray_notifier()->AddAccessibilityObserver(this);
22 } 22 }
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 observers_.AddObserver(observer); 71 observers_.AddObserver(observer);
72 } 72 }
73 73
74 void KeyboardUI::RemoveObserver(KeyboardUIObserver* observer) { 74 void KeyboardUI::RemoveObserver(KeyboardUIObserver* observer) {
75 observers_.RemoveObserver(observer); 75 observers_.RemoveObserver(observer);
76 } 76 }
77 77
78 KeyboardUI::KeyboardUI() {} 78 KeyboardUI::KeyboardUI() {}
79 79
80 } // namespace ash 80 } // namespace ash
OLDNEW
« no previous file with comments | « ash/keyboard/keyboard_ui.h ('k') | ash/keyboard/keyboard_ui_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698