Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Side by Side Diff: chrome/test/base/ui_test_utils.cc

Issue 10383239: Move NativeWebKeyboardEvent to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/test/base/test_browser_window.cc ('k') | content/browser/renderer_host/gtk_im_context_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698