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