OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // This implements a browser-side endpoint for UI automation activity. | 5 // This implements a browser-side endpoint for UI automation activity. |
6 // The client-side endpoint is implemented by AutomationProxy. | 6 // The client-side endpoint is implemented by AutomationProxy. |
7 // The entire lifetime of this object should be contained within that of | 7 // The entire lifetime of this object should be contained within that of |
8 // the BrowserProcess, and in particular the NotificationService that's | 8 // the BrowserProcess, and in particular the NotificationService that's |
9 // hung off of it. | 9 // hung off of it. |
10 | 10 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 bool* success, gfx::Rect* bounds); | 166 bool* success, gfx::Rect* bounds); |
167 void WindowSimulateDrag(int handle, | 167 void WindowSimulateDrag(int handle, |
168 std::vector<gfx::Point> drag_path, | 168 std::vector<gfx::Point> drag_path, |
169 int flags, | 169 int flags, |
170 bool press_escape_en_route, | 170 bool press_escape_en_route, |
171 IPC::Message* reply_message); | 171 IPC::Message* reply_message); |
172 void WindowSimulateClick(const IPC::Message& message, | 172 void WindowSimulateClick(const IPC::Message& message, |
173 int handle, | 173 int handle, |
174 const gfx::Point& click, | 174 const gfx::Point& click, |
175 int flags); | 175 int flags); |
| 176 void WindowSimulateMouseMove(const IPC::Message& message, |
| 177 int handle, |
| 178 const gfx::Point& location); |
176 void WindowSimulateKeyPress(const IPC::Message& message, | 179 void WindowSimulateKeyPress(const IPC::Message& message, |
177 int handle, | 180 int handle, |
178 int key, | 181 int key, |
179 int flags); | 182 int flags); |
180 void GetWindowBounds(int handle, gfx::Rect* bounds, bool* result); | 183 void GetWindowBounds(int handle, gfx::Rect* bounds, bool* result); |
181 void SetWindowBounds(int handle, const gfx::Rect& bounds, bool* result); | 184 void SetWindowBounds(int handle, const gfx::Rect& bounds, bool* result); |
182 void SetWindowVisible(int handle, bool visible, bool* result); | 185 void SetWindowVisible(int handle, bool visible, bool* result); |
183 void IsWindowActive(int handle, bool* success, bool* is_active); | 186 void IsWindowActive(int handle, bool* success, bool* is_active); |
184 void ActivateWindow(int handle); | 187 void ActivateWindow(int handle); |
185 void IsWindowMaximized(int handle, bool* is_maximized, bool* success); | 188 void IsWindowMaximized(int handle, bool* is_maximized, bool* success); |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 virtual void Observe(NotificationType type, | 583 virtual void Observe(NotificationType type, |
581 const NotificationSource& source, | 584 const NotificationSource& source, |
582 const NotificationDetails& details); | 585 const NotificationDetails& details); |
583 | 586 |
584 void OnRemoveProvider(); // Called via PostTask | 587 void OnRemoveProvider(); // Called via PostTask |
585 | 588 |
586 NotificationRegistrar registrar_; | 589 NotificationRegistrar registrar_; |
587 }; | 590 }; |
588 | 591 |
589 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 592 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
OLD | NEW |