| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h" | 5 #include "ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h" |
| 6 | 6 |
| 7 #include "ash/shelf/shelf.h" | 7 #include "ash/shelf/shelf.h" |
| 8 #include "ash/shelf/shelf_constants.h" | 8 #include "ash/shelf/shelf_constants.h" |
| 9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/system/status_area_widget.h" | 10 #include "ash/system/status_area_widget.h" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 return true; | 96 return true; |
| 97 } | 97 } |
| 98 | 98 |
| 99 void VirtualKeyboardTray::ButtonPressed(views::Button* sender, | 99 void VirtualKeyboardTray::ButtonPressed(views::Button* sender, |
| 100 const ui::Event& event) { | 100 const ui::Event& event) { |
| 101 DCHECK_EQ(button_, sender); | 101 DCHECK_EQ(button_, sender); |
| 102 PerformAction(event); | 102 PerformAction(event); |
| 103 } | 103 } |
| 104 | 104 |
| 105 void VirtualKeyboardTray::OnAccessibilityModeChanged( | 105 void VirtualKeyboardTray::OnAccessibilityModeChanged( |
| 106 AccessibilityNotificationVisibility notify) { | 106 ui::AccessibilityNotificationVisibility notify) { |
| 107 SetVisible(Shell::GetInstance()->accessibility_delegate()-> | 107 SetVisible(Shell::GetInstance()->accessibility_delegate()-> |
| 108 IsVirtualKeyboardEnabled()); | 108 IsVirtualKeyboardEnabled()); |
| 109 } | 109 } |
| 110 | 110 |
| 111 } // namespace ash | 111 } // namespace ash |
| OLD | NEW |