devtools_event_util.h 547 B

1234567891011121314151617
  1. // Copyright 2021 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. #ifndef COMPONENTS_UI_DEVTOOLS_VIEWS_DEVTOOLS_EVENT_UTIL_H_
  5. #define COMPONENTS_UI_DEVTOOLS_VIEWS_DEVTOOLS_EVENT_UTIL_H_
  6. #include "components/ui_devtools/dom.h"
  7. #include "ui/events/event_utils.h"
  8. namespace ui_devtools {
  9. ui::KeyEvent ConvertToUIKeyEvent(protocol::DOM::KeyEvent* event);
  10. } // namespace ui_devtools
  11. #endif // COMPONENTS_UI_DEVTOOLS_VIEWS_DEVTOOLS_EVENT_UTIL_H_