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

Unified Diff: chrome/test/chromedriver/command_executor_impl.cc

Issue 11746025: [chromedriver]Implement command: title. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolved merge conflict. Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/chromedriver/chromedriver.py ('k') | chrome/test/chromedriver/commands.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/command_executor_impl.cc
diff --git a/chrome/test/chromedriver/command_executor_impl.cc b/chrome/test/chromedriver/command_executor_impl.cc
index eb1014f37c2b6543e98db75da0a36ad2413deac3..0b7ab2cb6d77f6dad12b48e09b455712682568b8 100644
--- a/chrome/test/chromedriver/command_executor_impl.cc
+++ b/chrome/test/chromedriver/command_executor_impl.cc
@@ -47,6 +47,8 @@ void CommandExecutorImpl::Init() {
base::Bind(&ExecuteExecuteScript)));
command_map_.Set("switchToFrame", base::Bind(execute_session_command,
base::Bind(&ExecuteSwitchToFrame)));
+ command_map_.Set("getTitle", base::Bind(execute_session_command,
+ base::Bind(&ExecuteGetTitle)));
Command quit_command = base::Bind(execute_session_command,
base::Bind(&ExecuteQuit, &session_map_));
command_map_.Set("quit", quit_command);
« no previous file with comments | « chrome/test/chromedriver/chromedriver.py ('k') | chrome/test/chromedriver/commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698