| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // TODO(phajdan.jr): Remove |reply_message_|, it is error-prone. | 193 // TODO(phajdan.jr): Remove |reply_message_|, it is error-prone. |
| 194 IPC::Message* reply_message_; | 194 IPC::Message* reply_message_; |
| 195 | 195 |
| 196 // Consumer for asynchronous history queries. | 196 // Consumer for asynchronous history queries. |
| 197 CancelableRequestConsumer consumer_; | 197 CancelableRequestConsumer consumer_; |
| 198 | 198 |
| 199 // Sends a find request for a given query. | 199 // Sends a find request for a given query. |
| 200 void SendFindRequest( | 200 void SendFindRequest( |
| 201 content::WebContents* web_contents, | 201 content::WebContents* web_contents, |
| 202 bool with_json, | 202 bool with_json, |
| 203 const string16& search_string, | 203 const base::string16& search_string, |
| 204 bool forward, | 204 bool forward, |
| 205 bool match_case, | 205 bool match_case, |
| 206 bool find_next, | 206 bool find_next, |
| 207 IPC::Message* reply_message); | 207 IPC::Message* reply_message); |
| 208 | 208 |
| 209 scoped_refptr<AutomationResourceMessageFilter> | 209 scoped_refptr<AutomationResourceMessageFilter> |
| 210 automation_resource_message_filter_; | 210 automation_resource_message_filter_; |
| 211 | 211 |
| 212 // True iff we should open a new automation IPC channel if it closes. | 212 // True iff we should open a new automation IPC channel if it closes. |
| 213 bool reinitialize_on_channel_error_; | 213 bool reinitialize_on_channel_error_; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 // True iff ChromeOS webui login ui is ready. | 336 // True iff ChromeOS webui login ui is ready. |
| 337 bool login_webui_ready_; | 337 bool login_webui_ready_; |
| 338 | 338 |
| 339 // ID of automation channel. | 339 // ID of automation channel. |
| 340 std::string channel_id_; | 340 std::string channel_id_; |
| 341 | 341 |
| 342 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); | 342 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); |
| 343 }; | 343 }; |
| 344 | 344 |
| 345 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 345 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |