OLD | NEW |
| (Empty) |
1 // Copyright (c) 2013 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 #include "chrome/test/chromedriver/ui_events.h" | |
6 | |
7 MouseEvent::MouseEvent(MouseEventType type, | |
8 MouseButton button, | |
9 int x, | |
10 int y, | |
11 int click_count) | |
12 : type(type), button(button), x(x), y(y), click_count(click_count) {} | |
13 | |
14 MouseEvent::~MouseEvent() {} | |
15 | |
16 KeyEvent::KeyEvent(KeyEventType type, | |
17 int modifiers, | |
18 const std::string& modified_text, | |
19 const std::string& unmodified_text, | |
20 ui::KeyboardCode key_code) | |
21 : type(type), modifiers(modifiers), modified_text(modified_text), | |
22 unmodified_text(unmodified_text), key_code(key_code) {} | |
23 | |
24 KeyEvent::~KeyEvent() {} | |
OLD | NEW |