| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 void CancelAuth(int tab_handle, IPC::Message* reply_message); | 208 void CancelAuth(int tab_handle, IPC::Message* reply_message); |
| 209 void NeedsAuth(int tab_handle, bool* needs_auth); | 209 void NeedsAuth(int tab_handle, bool* needs_auth); |
| 210 void GetRedirectsFrom(int tab_handle, | 210 void GetRedirectsFrom(int tab_handle, |
| 211 const GURL& source_url, | 211 const GURL& source_url, |
| 212 IPC::Message* reply_message); | 212 IPC::Message* reply_message); |
| 213 void ExecuteJavascript(int handle, | 213 void ExecuteJavascript(int handle, |
| 214 const std::wstring& frame_xpath, | 214 const std::wstring& frame_xpath, |
| 215 const std::wstring& script, | 215 const std::wstring& script, |
| 216 IPC::Message* reply_message); | 216 IPC::Message* reply_message); |
| 217 void GetShelfVisibility(int handle, bool* visible); | 217 void GetShelfVisibility(int handle, bool* visible); |
| 218 void SetShelfVisibility(int handle, bool visible); |
| 218 void SetFilteredInet(const IPC::Message& message, bool enabled); | 219 void SetFilteredInet(const IPC::Message& message, bool enabled); |
| 219 void SetProxyConfig(const std::string& new_proxy_config); | 220 void SetProxyConfig(const std::string& new_proxy_config); |
| 220 | 221 |
| 221 #if defined(OS_WIN) | 222 #if defined(OS_WIN) |
| 222 // TODO(port): Replace POINT. | 223 // TODO(port): Replace POINT. |
| 223 void ScheduleMouseEvent(views::View* view, | 224 void ScheduleMouseEvent(views::View* view, |
| 224 views::Event::EventType type, | 225 views::Event::EventType type, |
| 225 POINT point, | 226 POINT point, |
| 226 int flags); | 227 int flags); |
| 227 #endif // defined(OS_WIN) | 228 #endif // defined(OS_WIN) |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 virtual void Observe(NotificationType type, | 534 virtual void Observe(NotificationType type, |
| 534 const NotificationSource& source, | 535 const NotificationSource& source, |
| 535 const NotificationDetails& details); | 536 const NotificationDetails& details); |
| 536 | 537 |
| 537 void OnRemoveProvider(); // Called via PostTask | 538 void OnRemoveProvider(); // Called via PostTask |
| 538 | 539 |
| 539 NotificationRegistrar registrar_; | 540 NotificationRegistrar registrar_; |
| 540 }; | 541 }; |
| 541 | 542 |
| 542 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 543 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |