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

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

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after
1327 void WaitForInfoBarCount(int tab_handle, 1327 void WaitForInfoBarCount(int tab_handle,
1328 size_t target_count, 1328 size_t target_count,
1329 IPC::Message* reply_message); 1329 IPC::Message* reply_message);
1330 1330
1331 void WaitForProcessLauncherThreadToGoIdle(IPC::Message* reply_message); 1331 void WaitForProcessLauncherThreadToGoIdle(IPC::Message* reply_message);
1332 1332
1333 void OnRemoveProvider(); // Called via PostTask 1333 void OnRemoveProvider(); // Called via PostTask
1334 1334
1335 // Execute Javascript in the context of a specific render view. 1335 // Execute Javascript in the context of a specific render view.
1336 void ExecuteJavascriptInRenderViewFrame( 1336 void ExecuteJavascriptInRenderViewFrame(
1337 const string16& frame_xpath, const string16& script, 1337 const base::string16& frame_xpath, const base::string16& script,
1338 IPC::Message* reply_message, content::RenderViewHost* render_view_host); 1338 IPC::Message* reply_message, content::RenderViewHost* render_view_host);
1339 1339
1340 // Selects the given |tab| if not selected already. 1340 // Selects the given |tab| if not selected already.
1341 void EnsureTabSelected(Browser* browser, content::WebContents* tab); 1341 void EnsureTabSelected(Browser* browser, content::WebContents* tab);
1342 1342
1343 #if defined(OS_CHROMEOS) 1343 #if defined(OS_CHROMEOS)
1344 power_manager::PowerSupplyProperties power_supply_properties_; 1344 power_manager::PowerSupplyProperties power_supply_properties_;
1345 #endif // defined(OS_CHROMEOS) 1345 #endif // defined(OS_CHROMEOS)
1346 1346
1347 std::map<std::string, JsonHandler> handler_map_; 1347 std::map<std::string, JsonHandler> handler_map_;
1348 std::map<std::string, BrowserJsonHandler> browser_handler_map_; 1348 std::map<std::string, BrowserJsonHandler> browser_handler_map_;
1349 1349
1350 content::NotificationRegistrar registrar_; 1350 content::NotificationRegistrar registrar_;
1351 1351
1352 // The automation event observer queue. It is lazily created when an observer 1352 // The automation event observer queue. It is lazily created when an observer
1353 // is added to avoid overhead when not needed. 1353 // is added to avoid overhead when not needed.
1354 scoped_ptr<AutomationEventQueue> automation_event_queue_; 1354 scoped_ptr<AutomationEventQueue> automation_event_queue_;
1355 1355
1356 // List of commands which just finish synchronously and don't require 1356 // List of commands which just finish synchronously and don't require
1357 // setting up an observer. 1357 // setting up an observer.
1358 static const int kSynchronousCommands[]; 1358 static const int kSynchronousCommands[];
1359 1359
1360 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1360 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1361 }; 1361 };
1362 1362
1363 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1363 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698