| 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/ash/event_rewriter.h" | 5 #include "chrome/browser/ui/ash/event_rewriter.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/prefs/pref_member.h" | 9 #include "base/prefs/pref_member.h" |
| 10 #include "base/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
| 11 #include "chrome/common/pref_names.h" | 11 #include "chrome/common/pref_names.h" |
| 12 #include "chrome/test/base/testing_pref_service_syncable.h" | 12 #include "chrome/test/base/testing_pref_service_syncable.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 #include "ui/base/events/event.h" | 14 #include "ui/base/events/event.h" |
| 15 | 15 |
| 16 #if defined(OS_CHROMEOS) | 16 #if defined(OS_CHROMEOS) |
| 17 #include <X11/keysym.h> | 17 #include <X11/keysym.h> |
| 18 #include <X11/XF86keysym.h> | 18 #include <X11/XF86keysym.h> |
| 19 #include <X11/Xlib.h> | 19 #include <X11/Xlib.h> |
| 20 | 20 |
| (...skipping 2269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2290 // flag in the event is True. | 2290 // flag in the event is True. |
| 2291 EXPECT_EQ(GetExpectedResultAsString(ui::VKEY_CONTROL, | 2291 EXPECT_EQ(GetExpectedResultAsString(ui::VKEY_CONTROL, |
| 2292 ui::EF_CONTROL_DOWN, | 2292 ui::EF_CONTROL_DOWN, |
| 2293 ui::ET_KEY_PRESSED, | 2293 ui::ET_KEY_PRESSED, |
| 2294 keycode_control_l_, | 2294 keycode_control_l_, |
| 2295 0U, | 2295 0U, |
| 2296 KeyPress), | 2296 KeyPress), |
| 2297 rewritten_event); | 2297 rewritten_event); |
| 2298 } | 2298 } |
| 2299 #endif // OS_CHROMEOS | 2299 #endif // OS_CHROMEOS |
| OLD | NEW |