| 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 | 249 |
| 250 // See browsing_data_remover.h for explanation of bitmap fields. | 250 // See browsing_data_remover.h for explanation of bitmap fields. |
| 251 void RemoveBrowsingData(int remove_mask); | 251 void RemoveBrowsingData(int remove_mask); |
| 252 | 252 |
| 253 // Notify the JavaScript engine in the render to change its parameters | 253 // Notify the JavaScript engine in the render to change its parameters |
| 254 // while performing stress testing. See | 254 // while performing stress testing. See |
| 255 // |ViewHostMsg_JavaScriptStressTestControl_Commands| in render_messages.h | 255 // |ViewHostMsg_JavaScriptStressTestControl_Commands| in render_messages.h |
| 256 // for information on the arguments. | 256 // for information on the arguments. |
| 257 void JavaScriptStressTestControl(int handle, int cmd, int param); | 257 void JavaScriptStressTestControl(int handle, int cmd, int param); |
| 258 | 258 |
| 259 void BeginTracing(const std::string& categories, bool* success); | 259 void BeginTracing(const std::string& tag_patterns, bool* success); |
| 260 void EndTracing(IPC::Message* reply_message); | 260 void EndTracing(IPC::Message* reply_message); |
| 261 void GetTracingOutput(std::string* chunk, bool* success); | 261 void GetTracingOutput(std::string* chunk, bool* success); |
| 262 | 262 |
| 263 // Asynchronous request for printing the current tab. | 263 // Asynchronous request for printing the current tab. |
| 264 void PrintAsync(int tab_handle); | 264 void PrintAsync(int tab_handle); |
| 265 | 265 |
| 266 // Uses the specified encoding to override the encoding of the page in the | 266 // Uses the specified encoding to override the encoding of the page in the |
| 267 // specified tab. | 267 // specified tab. |
| 268 void OverrideEncoding(int tab_handle, | 268 void OverrideEncoding(int tab_handle, |
| 269 const std::string& encoding_name, | 269 const std::string& encoding_name, |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 std::string channel_id_; | 361 std::string channel_id_; |
| 362 | 362 |
| 363 // Trace data that has been collected but not flushed to the automation | 363 // Trace data that has been collected but not flushed to the automation |
| 364 // client. | 364 // client. |
| 365 TracingData tracing_data_; | 365 TracingData tracing_data_; |
| 366 | 366 |
| 367 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); | 367 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); |
| 368 }; | 368 }; |
| 369 | 369 |
| 370 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 370 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |