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

Side by Side Diff: chrome/browser/automation/ui_controls.h

Issue 2986004: [Mac]Port browser_keyevents_browsertest.cc and browser_focus_uitest.cc to Mac. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Enable BrowserFocusTest and BrowserKeyEventsTests on Mac. Created 10 years, 5 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
« no previous file with comments | « base/keyboard_code_conversion_mac.mm ('k') | chrome/browser/automation/ui_controls_internal.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_
6 #define CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_ 6 #define CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <string> 10 #include <string>
11 11
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 bool SendMouseClick(MouseButton type); 82 bool SendMouseClick(MouseButton type);
83 83
84 // A combination of SendMouseMove to the middle of the view followed by 84 // A combination of SendMouseMove to the middle of the view followed by
85 // SendMouseEvents. 85 // SendMouseEvents.
86 void MoveMouseToCenterAndPress( 86 void MoveMouseToCenterAndPress(
87 #if defined(TOOLKIT_VIEWS) 87 #if defined(TOOLKIT_VIEWS)
88 views::View* view, 88 views::View* view,
89 #elif defined(TOOLKIT_GTK) 89 #elif defined(TOOLKIT_GTK)
90 GtkWidget* widget, 90 GtkWidget* widget,
91 #elif defined(OS_MACOSX) 91 #elif defined(OS_MACOSX)
92 NSWindow* window, 92 NSView* view,
93 #endif 93 #endif
94 MouseButton button, 94 MouseButton button,
95 int state, 95 int state,
96 Task* task); 96 Task* task);
97 97
98 } // ui_controls 98 } // ui_controls
99 99
100 #endif // CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_ 100 #endif // CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_
OLDNEW
« no previous file with comments | « base/keyboard_code_conversion_mac.mm ('k') | chrome/browser/automation/ui_controls_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698