Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: chrome/browser/automation/testing_automation_provider.h

Issue 10033001: Convert printing ui_tests to browser_tests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 IPC::Message* reply_message); 237 IPC::Message* reply_message);
238 238
239 // Brings the browser window to the front and activates it. 239 // Brings the browser window to the front and activates it.
240 void BringBrowserToFront(int browser_handle, bool* success); 240 void BringBrowserToFront(int browser_handle, bool* success);
241 241
242 // Checks to see if a command on the browser's CommandController is enabled. 242 // Checks to see if a command on the browser's CommandController is enabled.
243 void IsMenuCommandEnabled(int browser_handle, 243 void IsMenuCommandEnabled(int browser_handle,
244 int message_num, 244 int message_num,
245 bool* menu_item_enabled); 245 bool* menu_item_enabled);
246 246
247 // Prints the current tab immediately.
248 void PrintNow(int tab_handle, IPC::Message* reply_message);
249
250 // Save the current web page. 247 // Save the current web page.
251 void SavePage(int tab_handle, 248 void SavePage(int tab_handle,
252 const FilePath& file_name, 249 const FilePath& file_name,
253 const FilePath& dir_path, 250 const FilePath& dir_path,
254 int type, 251 int type,
255 bool* success); 252 bool* success);
256 253
257 // Responds to requests to open the FindInPage window. 254 // Responds to requests to open the FindInPage window.
258 void HandleOpenFindInPageRequest(const IPC::Message& message, 255 void HandleOpenFindInPageRequest(const IPC::Message& message,
259 int handle); 256 int handle);
(...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1598 ImportSettingsData import_settings_data_; 1595 ImportSettingsData import_settings_data_;
1599 1596
1600 // The automation event observer queue. It is lazily created when an observer 1597 // The automation event observer queue. It is lazily created when an observer
1601 // is added to avoid overhead when not needed. 1598 // is added to avoid overhead when not needed.
1602 scoped_ptr<AutomationEventQueue> automation_event_queue_; 1599 scoped_ptr<AutomationEventQueue> automation_event_queue_;
1603 1600
1604 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1601 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1605 }; 1602 };
1606 1603
1607 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1604 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698