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

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

Issue 164446: linux: More automation porting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: automation ipc messages hack fix Created 11 years, 4 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) 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 IPC::Message* reply_message); 170 IPC::Message* reply_message);
171 void WindowGetViewBounds(int handle, int view_id, bool screen_coordinates, 171 void WindowGetViewBounds(int handle, int view_id, bool screen_coordinates,
172 bool* success, gfx::Rect* bounds); 172 bool* success, gfx::Rect* bounds);
173 #if defined(OS_WIN) 173 #if defined(OS_WIN)
174 // TODO(port): Replace POINT. 174 // TODO(port): Replace POINT.
175 void WindowSimulateDrag(int handle, 175 void WindowSimulateDrag(int handle,
176 std::vector<POINT> drag_path, 176 std::vector<POINT> drag_path,
177 int flags, 177 int flags,
178 bool press_escape_en_route, 178 bool press_escape_en_route,
179 IPC::Message* reply_message); 179 IPC::Message* reply_message);
180 #endif // defined(OS_WIN)
180 void WindowSimulateClick(const IPC::Message& message, 181 void WindowSimulateClick(const IPC::Message& message,
181 int handle, 182 int handle,
182 POINT click, 183 const gfx::Point& click,
183 int flags); 184 int flags);
184 #endif // defined(OS_WIN)
185 void WindowSimulateKeyPress(const IPC::Message& message, 185 void WindowSimulateKeyPress(const IPC::Message& message,
186 int handle, 186 int handle,
187 wchar_t key, 187 wchar_t key,
188 int flags); 188 int flags);
189 void SetWindowBounds(int handle, const gfx::Rect& bounds, bool* result); 189 void SetWindowBounds(int handle, const gfx::Rect& bounds, bool* result);
190 void SetWindowVisible(int handle, bool visible, bool* result); 190 void SetWindowVisible(int handle, bool visible, bool* result);
191 void IsWindowActive(int handle, bool* success, bool* is_active); 191 void IsWindowActive(int handle, bool* success, bool* is_active);
192 void ActivateWindow(int handle); 192 void ActivateWindow(int handle);
193 193
194 void GetTabCount(int handle, int* tab_count); 194 void GetTabCount(int handle, int* tab_count);
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 virtual void Observe(NotificationType type, 547 virtual void Observe(NotificationType type,
548 const NotificationSource& source, 548 const NotificationSource& source,
549 const NotificationDetails& details); 549 const NotificationDetails& details);
550 550
551 void OnRemoveProvider(); // Called via PostTask 551 void OnRemoveProvider(); // Called via PostTask
552 552
553 NotificationRegistrar registrar_; 553 NotificationRegistrar registrar_;
554 }; 554 };
555 555
556 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 556 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | chrome/test/automation/automation_messages_internal.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698