chromium/chrome/test/chromedriver/chrome/ui_events.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/test/chromedriver/chrome/ui_events.h"

#include "base/check.h"
#include "ui/events/event_constants.h"
#include "ui/events/keycodes/dom/keycode_converter.h"
#include "ui/events/keycodes/keyboard_code_conversion.h"

MouseEvent::MouseEvent(MouseEventType type,
                       MouseButton button,
                       int x,
                       int y,
                       int modifiers,
                       int buttons,
                       int click_count)
    :{}

MouseEvent::MouseEvent(const MouseEvent& other) = default;

MouseEvent::~MouseEvent() {}

TouchEvent::TouchEvent() :{}

TouchEvent::TouchEvent(TouchEventType type, int x, int y)
    :{}

TouchEvent::TouchEvent(const TouchEvent& other) = default;

TouchEvent::~TouchEvent() {}

KeyEvent::KeyEvent()
    :{}

KeyEvent::KeyEvent(const KeyEvent& that)
    :{}

KeyEvent::~KeyEvent() {}

KeyEventBuilder::KeyEventBuilder() {}

KeyEventBuilder::~KeyEventBuilder() {}

KeyEventBuilder* KeyEventBuilder::SetType(KeyEventType type) {}

KeyEventBuilder* KeyEventBuilder::AddModifiers(int modifiers) {}

KeyEventBuilder* KeyEventBuilder::SetModifiers(int modifiers) {}

KeyEventBuilder* KeyEventBuilder::SetText(const std::string& unmodified_text,
                                          const std::string& modified_text) {}

KeyEventBuilder* KeyEventBuilder::SetKeyCode(ui::KeyboardCode key_code) {}

KeyEventBuilder* KeyEventBuilder::SetLocation(int location) {}

KeyEventBuilder* KeyEventBuilder::SetDefaultKey(const std::string& key) {}

KeyEventBuilder* KeyEventBuilder::SetCode(const std::string& code) {}

KeyEventBuilder* KeyEventBuilder::SetIsFromAction() {}

KeyEvent KeyEventBuilder::Build() {}

void KeyEventBuilder::Generate(std::vector<KeyEvent>* key_events) {}

void KeyEventBuilder::UpdateKeyString() {}