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

Side by Side Diff: chrome/test/chromedriver/command_listener.h

Issue 331943003: [ChromeDriver] Added CommandListener interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CommandListener now abstract; Session struct simplified Created 6 years, 6 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/chromedriver/commands.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_TEST_CHROMEDRIVER_COMMAND_LISTENER_H_
johnmoore 2014/06/20 18:47:53 I've realized that anything in chromedriver/chrome
stgao 2014/06/20 22:36:49 We'd better still separate chromedriver/chrome/ en
6 #define CHROME_TEST_CHROMEDRIVER_COMMAND_LISTENER_H_
7
8 #include <string>
9
10 class Status;
11
12 class CommandListener {
13 public:
14 virtual ~CommandListener() {}
15
16 // Called just before a WebDriver command is run, but only
17 // for commands that operate on an existing session. Will be called for
18 // WindowCommands, ElementCommands, SessionCommands, and AlertCommands.
19 virtual Status BeforeCommand(const std::string& command_name) = 0;
20 };
21
22 #endif // CHROME_TEST_CHROMEDRIVER_COMMAND_LISTENER_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/chromedriver/commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698