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

Side by Side Diff: chrome/test/webdriver/commands/webdriver_command.cc

Issue 4710001: Split out command IDs from chrome_dll_resource.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/test/webdriver/commands/webdriver_command.h" 5 #include "chrome/test/webdriver/commands/webdriver_command.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/singleton.h" 10 #include "base/singleton.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
14 #include "base/json/json_writer.h" 14 #include "base/json/json_writer.h"
15 #include "chrome/app/chrome_dll_resource.h" 15 #include "chrome/app/chrome_command_ids.h"
16 #include "chrome/common/chrome_constants.h" 16 #include "chrome/common/chrome_constants.h"
17 #include "chrome/common/chrome_switches.h" 17 #include "chrome/common/chrome_switches.h"
18 #include "chrome/test/automation/automation_proxy.h" 18 #include "chrome/test/automation/automation_proxy.h"
19 #include "chrome/test/automation/browser_proxy.h" 19 #include "chrome/test/automation/browser_proxy.h"
20 #include "chrome/test/automation/tab_proxy.h" 20 #include "chrome/test/automation/tab_proxy.h"
21 #include "chrome/test/automation/window_proxy.h" 21 #include "chrome/test/automation/window_proxy.h"
22 #include "chrome/test/webdriver/utility_functions.h" 22 #include "chrome/test/webdriver/utility_functions.h"
23 #include "views/event.h" 23 #include "views/event.h"
24 24
25 namespace webdriver { 25 namespace webdriver {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 response->set_value(Value::CreateStringValue( 69 response->set_value(Value::CreateStringValue(
70 "Lost session window handle; did you close the window?")); 70 "Lost session window handle; did you close the window?"));
71 response->set_status(kNoSuchWindow); 71 response->set_status(kNoSuchWindow);
72 return false; 72 return false;
73 } 73 }
74 return true; 74 return true;
75 } 75 }
76 76
77 } // namespace webdriver 77 } // namespace webdriver
78 78
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698