| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "ui/events/keycodes/platform_key_map_win.h" | 5 #include "ui/events/keycodes/platform_key_map_win.h" |
| 6 | 6 |
| 7 #include <algorithm> |
| 7 #include <utility> | 8 #include <utility> |
| 8 | 9 |
| 9 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| 10 #include "base/logging.h" | 11 #include "base/logging.h" |
| 11 #include "base/macros.h" | 12 #include "base/macros.h" |
| 12 #include "base/threading/thread_local_storage.h" | 13 #include "base/threading/thread_local_storage.h" |
| 13 | 14 |
| 14 #include "ui/events/event_constants.h" | 15 #include "ui/events/event_constants.h" |
| 15 #include "ui/events/event_utils.h" | 16 #include "ui/events/event_utils.h" |
| 16 #include "ui/events/keycodes/dom/keycode_converter.h" | 17 #include "ui/events/keycodes/dom/keycode_converter.h" |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 } | 390 } |
| 390 } else { | 391 } else { |
| 391 // TODO(chongz): Handle rv <= -2 and rv >= 2. | 392 // TODO(chongz): Handle rv <= -2 and rv >= 2. |
| 392 } | 393 } |
| 393 } | 394 } |
| 394 } | 395 } |
| 395 ::SetKeyboardState(keyboard_state_to_restore); | 396 ::SetKeyboardState(keyboard_state_to_restore); |
| 396 } | 397 } |
| 397 | 398 |
| 398 } // namespace ui | 399 } // namespace ui |
| OLD | NEW |