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

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

Issue 149233: Adds a way to set the boundaries of the browser window through... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('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) 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 IPC::Message* reply_message); 173 IPC::Message* reply_message);
174 void WindowSimulateClick(const IPC::Message& message, 174 void WindowSimulateClick(const IPC::Message& message,
175 int handle, 175 int handle,
176 POINT click, 176 POINT click,
177 int flags); 177 int flags);
178 #endif // defined(OS_WIN) 178 #endif // defined(OS_WIN)
179 void WindowSimulateKeyPress(const IPC::Message& message, 179 void WindowSimulateKeyPress(const IPC::Message& message,
180 int handle, 180 int handle,
181 wchar_t key, 181 wchar_t key,
182 int flags); 182 int flags);
183 void SetWindowBounds(int handle, const gfx::Rect& bounds, bool* result);
183 void SetWindowVisible(int handle, bool visible, bool* result); 184 void SetWindowVisible(int handle, bool visible, bool* result);
184 void IsWindowActive(int handle, bool* success, bool* is_active); 185 void IsWindowActive(int handle, bool* success, bool* is_active);
185 void ActivateWindow(int handle); 186 void ActivateWindow(int handle);
186 187
187 void GetTabCount(int handle, int* tab_count); 188 void GetTabCount(int handle, int* tab_count);
188 void GetTab(int win_handle, int tab_index, int* tab_handle); 189 void GetTab(int win_handle, int tab_index, int* tab_handle);
189 #if defined(OS_WIN) 190 #if defined(OS_WIN)
190 // TODO(port): Replace HWND. 191 // TODO(port): Replace HWND.
191 void GetTabHWND(int handle, HWND* tab_hwnd); 192 void GetTabHWND(int handle, HWND* tab_hwnd);
192 #endif // defined(OS_WIN) 193 #endif // defined(OS_WIN)
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 virtual void Observe(NotificationType type, 530 virtual void Observe(NotificationType type,
530 const NotificationSource& source, 531 const NotificationSource& source,
531 const NotificationDetails& details); 532 const NotificationDetails& details);
532 533
533 void OnRemoveProvider(); // Called via PostTask 534 void OnRemoveProvider(); // Called via PostTask
534 535
535 NotificationRegistrar registrar_; 536 NotificationRegistrar registrar_;
536 }; 537 };
537 538
538 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ 539 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698