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/test/base/ui_test_utils.h" | 5 #include "chrome/test/base/ui_test_utils.h" |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <windows.h> | 8 #include <windows.h> |
9 #endif | 9 #endif |
10 | 10 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 #if defined(TOOLKIT_VIEWS) | 73 #if defined(TOOLKIT_VIEWS) |
74 #include "ui/views/focus/accelerator_handler.h" | 74 #include "ui/views/focus/accelerator_handler.h" |
75 #endif | 75 #endif |
76 | 76 |
77 #if defined(USE_AURA) | 77 #if defined(USE_AURA) |
78 #include "ash/shell.h" | 78 #include "ash/shell.h" |
79 #include "ui/aura/root_window.h" | 79 #include "ui/aura/root_window.h" |
80 #endif | 80 #endif |
81 | 81 |
82 using content::DomOperationNotificationDetails; | 82 using content::DomOperationNotificationDetails; |
| 83 using content::NativeWebKeyboardEvent; |
83 using content::NavigationController; | 84 using content::NavigationController; |
84 using content::NavigationEntry; | 85 using content::NavigationEntry; |
85 using content::OpenURLParams; | 86 using content::OpenURLParams; |
86 using content::RenderViewHost; | 87 using content::RenderViewHost; |
87 using content::RenderWidgetHost; | 88 using content::RenderWidgetHost; |
88 using content::Referrer; | 89 using content::Referrer; |
89 using content::WebContents; | 90 using content::WebContents; |
90 | 91 |
91 static const int kDefaultWsPort = 8880; | 92 static const int kDefaultWsPort = 8880; |
92 | 93 |
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1263 int state, | 1264 int state, |
1264 const base::Closure& followup) { | 1265 const base::Closure& followup) { |
1265 if (!followup.is_null()) | 1266 if (!followup.is_null()) |
1266 ui_controls::SendMouseEventsNotifyWhenDone(button, state, followup); | 1267 ui_controls::SendMouseEventsNotifyWhenDone(button, state, followup); |
1267 else | 1268 else |
1268 ui_controls::SendMouseEvents(button, state); | 1269 ui_controls::SendMouseEvents(button, state); |
1269 } | 1270 } |
1270 | 1271 |
1271 } // namespace internal | 1272 } // namespace internal |
1272 } // namespace ui_test_utils | 1273 } // namespace ui_test_utils |
OLD | NEW |