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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 // Responds to requests to open the FindInPage window. | 201 // Responds to requests to open the FindInPage window. |
202 void HandleOpenFindInPageRequest(const IPC::Message& message, | 202 void HandleOpenFindInPageRequest(const IPC::Message& message, |
203 int handle); | 203 int handle); |
204 | 204 |
205 // Get the visibility state of the Find window. | 205 // Get the visibility state of the Find window. |
206 void GetFindWindowVisibility(const IPC::Message& message, int handle); | 206 void GetFindWindowVisibility(const IPC::Message& message, int handle); |
207 | 207 |
208 // Responds to requests to find the location of the Find window. | 208 // Responds to requests to find the location of the Find window. |
209 void HandleFindWindowLocationRequest(const IPC::Message& message, int handle); | 209 void HandleFindWindowLocationRequest(const IPC::Message& message, int handle); |
210 | 210 |
| 211 // Get the visibility state of the Bookmark bar. |
| 212 void GetBookmarkBarVisitility(const IPC::Message& message, int handle); |
| 213 |
211 // Responds to InspectElement request | 214 // Responds to InspectElement request |
212 void HandleInspectElementRequest(const IPC::Message& message, | 215 void HandleInspectElementRequest(const IPC::Message& message, |
213 int handle, | 216 int handle, |
214 int x, | 217 int x, |
215 int y); | 218 int y); |
216 | 219 |
217 void GetDownloadDirectory(const IPC::Message& message, int handle); | 220 void GetDownloadDirectory(const IPC::Message& message, int handle); |
218 | 221 |
219 // Retrieves a Browser from a Window and vice-versa. | 222 // Retrieves a Browser from a Window and vice-versa. |
220 void GetWindowForBrowser(const IPC::Message& message, int window_handle); | 223 void GetWindowForBrowser(const IPC::Message& message, int window_handle); |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 | 378 |
376 private: | 379 private: |
377 virtual void Observe(NotificationType type, | 380 virtual void Observe(NotificationType type, |
378 const NotificationSource& source, | 381 const NotificationSource& source, |
379 const NotificationDetails& details); | 382 const NotificationDetails& details); |
380 | 383 |
381 void OnRemoveProvider(); // Called via PostTask | 384 void OnRemoveProvider(); // Called via PostTask |
382 }; | 385 }; |
383 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 386 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
384 | 387 |
OLD | NEW |