| 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 "content/browser/renderer_host/web_input_event_aura.h" | 5 #include "content/browser/renderer_host/web_input_event_aura.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
| 9 #include "ui/base/event.h" | 9 #include "ui/base/events/event.h" |
| 10 | 10 |
| 11 #if defined(USE_X11) | 11 #if defined(USE_X11) |
| 12 #include <X11/keysym.h> | 12 #include <X11/keysym.h> |
| 13 #include <X11/Xlib.h> | 13 #include <X11/Xlib.h> |
| 14 #include "ui/base/x/x11_util.h" | 14 #include "ui/base/x/x11_util.h" |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 | 18 |
| 19 // Checks that MakeWebKeyboardEvent makes a DOM3 spec compliant key event. | 19 // Checks that MakeWebKeyboardEvent makes a DOM3 spec compliant key event. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 } | 76 } |
| 77 #elif defined(OS_WIN) | 77 #elif defined(OS_WIN) |
| 78 // TODO(yusukes): Add tests for win_aura once keyboardEvent() in | 78 // TODO(yusukes): Add tests for win_aura once keyboardEvent() in |
| 79 // WebKit/Source/WebKit/chromium/src/win/WebInputEventFactory.cpp is modified | 79 // WebKit/Source/WebKit/chromium/src/win/WebInputEventFactory.cpp is modified |
| 80 // to return VKEY_[LR]XXX instead of VKEY_XXX. | 80 // to return VKEY_[LR]XXX instead of VKEY_XXX. |
| 81 // https://bugs.webkit.org/show_bug.cgi?id=86694 | 81 // https://bugs.webkit.org/show_bug.cgi?id=86694 |
| 82 #endif | 82 #endif |
| 83 } | 83 } |
| 84 | 84 |
| 85 } // namespace content | 85 } // namespace content |
| OLD | NEW |