| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/ui/views/aura/caps_lock_handler.h" | 5 #include "chrome/browser/ui/views/ash/caps_lock_handler.h" |
| 6 | 6 |
| 7 #include "content/public/browser/browser_thread.h" | 7 #include "content/public/browser/browser_thread.h" |
| 8 | 8 |
| 9 // TODO(yusukes): Support Ash on Windows. | 9 // TODO(yusukes): Support Ash on Windows. |
| 10 #if defined(OS_CHROMEOS) | 10 #if defined(OS_CHROMEOS) |
| 11 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
| 12 #include "chrome/browser/chromeos/input_method/xkeyboard.h" | 12 #include "chrome/browser/chromeos/input_method/xkeyboard.h" |
| 13 #include "chrome/browser/chromeos/system/runtime_environment.h" | 13 #include "chrome/browser/chromeos/system/runtime_environment.h" |
| 14 #include "chrome/browser/prefs/pref_service.h" | 14 #include "chrome/browser/prefs/pref_service.h" |
| 15 #include "chrome/common/pref_names.h" | 15 #include "chrome/common/pref_names.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 NOTIMPLEMENTED(); | 55 NOTIMPLEMENTED(); |
| 56 #endif | 56 #endif |
| 57 return false; | 57 return false; |
| 58 } | 58 } |
| 59 | 59 |
| 60 #if defined(OS_CHROMEOS) | 60 #if defined(OS_CHROMEOS) |
| 61 void CapsLockHandler::OnCapsLockChange(bool enabled) { | 61 void CapsLockHandler::OnCapsLockChange(bool enabled) { |
| 62 caps_lock_is_on_ = enabled; | 62 caps_lock_is_on_ = enabled; |
| 63 } | 63 } |
| 64 #endif | 64 #endif |
| OLD | NEW |