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

Side by Side Diff: chrome/test/webdriver/webdriver_capabilities_parser.h

Issue 11818029: [chromedriver] Remove support for simulating OS-level key events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 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_TEST_WEBDRIVER_WEBDRIVER_CAPABILITIES_PARSER_H_ 5 #ifndef CHROME_TEST_WEBDRIVER_WEBDRIVER_CAPABILITIES_PARSER_H_
6 #define CHROME_TEST_WEBDRIVER_WEBDRIVER_CAPABILITIES_PARSER_H_ 6 #define CHROME_TEST_WEBDRIVER_WEBDRIVER_CAPABILITIES_PARSER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 bool load_async; 47 bool load_async;
48 48
49 // Local state preferences to apply after Chrome starts but during session 49 // Local state preferences to apply after Chrome starts but during session
50 // initialization. These preferences apply to all profiles in the user 50 // initialization. These preferences apply to all profiles in the user
51 // data directory that Chrome is running in. 51 // data directory that Chrome is running in.
52 scoped_ptr<base::DictionaryValue> local_state; 52 scoped_ptr<base::DictionaryValue> local_state;
53 53
54 // The minimum level to log for each log type. 54 // The minimum level to log for each log type.
55 LogLevel log_levels[LogType::kNum]; 55 LogLevel log_levels[LogType::kNum];
56 56
57 // Whether Chrome should simulate input events using OS APIs instead of
58 // WebKit APIs.
59 bool native_events;
60
61 // By default, ChromeDriver configures Chrome in such a way as convenient 57 // By default, ChromeDriver configures Chrome in such a way as convenient
62 // for website testing. E.g., it configures Chrome so that sites are allowed 58 // for website testing. E.g., it configures Chrome so that sites are allowed
63 // to use the geolocation API without requesting the user's consent. 59 // to use the geolocation API without requesting the user's consent.
64 // If this is set to true, ChromeDriver will not modify Chrome's default 60 // If this is set to true, ChromeDriver will not modify Chrome's default
65 // behavior. 61 // behavior.
66 bool no_website_testing_defaults; 62 bool no_website_testing_defaults;
67 63
68 // Set of switches which should be removed from default list when launching 64 // Set of switches which should be removed from default list when launching
69 // Chrome. 65 // Chrome.
70 std::set<std::string> exclude_switches; 66 std::set<std::string> exclude_switches;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 124
129 // A pointer to the capabilities to modify while parsing. 125 // A pointer to the capabilities to modify while parsing.
130 Capabilities* caps_; 126 Capabilities* caps_;
131 127
132 DISALLOW_COPY_AND_ASSIGN(CapabilitiesParser); 128 DISALLOW_COPY_AND_ASSIGN(CapabilitiesParser);
133 }; 129 };
134 130
135 } // namespace webdriver 131 } // namespace webdriver
136 132
137 #endif // CHROME_TEST_WEBDRIVER_WEBDRIVER_CAPABILITIES_PARSER_H_ 133 #endif // CHROME_TEST_WEBDRIVER_WEBDRIVER_CAPABILITIES_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/test/webdriver/webdriver_automation.cc ('k') | chrome/test/webdriver/webdriver_capabilities_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698