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.
5 #include "base/logging.h"
6 #include "base/strings/utf_string_conversions.h"
7 #include "chrome/test/chromedriver/chrome/ui_events.h"
8 #include "chrome/test/chromedriver/keycode_text_conversion.h"
10 // TODO(arunprasadr) Implement these functions properly for ozone platforms.
11 bool ConvertKeyCodeToText(
12 ui::KeyboardCode key_code
, int modifiers
, std::string
* text
,
13 std::string
* error_msg
) {
14 *text
= std::string();
15 *error_msg
= std::string("Not Implemented");
20 bool ConvertCharToKeyCode(
21 base::char16 key
, ui::KeyboardCode
* key_code
, int *necessary_modifiers
,
22 std::string
* error_msg
) {
23 *error_msg
= std::string("Not Implemented");
24 *necessary_modifiers
= 0;