OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #import "app/keyboard_code_conversion_mac.h" | 5 #import "app/keyboard_code_conversion_mac.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #import <Carbon/Carbon.h> | 8 #import <Carbon/Carbon.h> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 *character = 28; | 284 *character = 28; |
285 else if (macKeycode == kVK_ANSI_RightBracket) | 285 else if (macKeycode == kVK_ANSI_RightBracket) |
286 *character = 29; | 286 *character = 29; |
287 } | 287 } |
288 | 288 |
289 // TODO(suzhe): Support characters for Option key bindings. | 289 // TODO(suzhe): Support characters for Option key bindings. |
290 return macKeycode; | 290 return macKeycode; |
291 } | 291 } |
292 | 292 |
293 } // namespace app | 293 } // namespace app |
OLD | NEW |