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

Unified Diff: chrome/test/webdriver/webdriver_key_converter.h

Issue 23526047: Delete old chromedriver code, and remove mongoose webserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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/webdriver/webdriver_error.cc ('k') | chrome/test/webdriver/webdriver_key_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/webdriver_key_converter.h
diff --git a/chrome/test/webdriver/webdriver_key_converter.h b/chrome/test/webdriver/webdriver_key_converter.h
deleted file mode 100644
index 1743fdb39df57be382b9ad6ac888a4c2e1164dd5..0000000000000000000000000000000000000000
--- a/chrome/test/webdriver/webdriver_key_converter.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_TEST_WEBDRIVER_WEBDRIVER_KEY_CONVERTER_H_
-#define CHROME_TEST_WEBDRIVER_WEBDRIVER_KEY_CONVERTER_H_
-
-#include <string>
-#include <vector>
-
-#include "base/strings/string16.h"
-#include "chrome/test/webdriver/webdriver_automation.h"
-#include "ui/base/keycodes/keyboard_codes.h"
-
-namespace webdriver {
-
-class Logger;
-
-// Convenience functions for creating |WebKeyEvent|s. Used by unittests.
-WebKeyEvent CreateKeyDownEvent(ui::KeyboardCode key_code, int modifiers);
-WebKeyEvent CreateKeyUpEvent(ui::KeyboardCode key_code, int modifiers);
-WebKeyEvent CreateCharEvent(const std::string& unmodified_text,
- const std::string& modified_text,
- int modifiers);
-
-// Converts keys into appropriate |WebKeyEvent|s. This will do a best effort
-// conversion. However, if the input is invalid it will return false and set
-// an error message. If |release_modifiers| is true, add an implicit NULL
-// character to the end of the input to depress all modifiers. |modifiers|
-// acts both an input and an output, however, only when the conversion
-// process is successful will |modifiers| be changed.
-bool ConvertKeysToWebKeyEvents(const string16& keys,
- const Logger& logger,
- bool release_modifiers,
- int* modifiers,
- std::vector<WebKeyEvent>* key_events,
- std::string* error_msg);
-
-} // namespace webdriver
-
-#endif // CHROME_TEST_WEBDRIVER_WEBDRIVER_KEY_CONVERTER_H_
« no previous file with comments | « chrome/test/webdriver/webdriver_error.cc ('k') | chrome/test/webdriver/webdriver_key_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698