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

Unified Diff: content/browser/devtools/protocol/native_input_event_builder.h

Issue 2932223002: Revert of ChromeDriver: Handle key events properly on Mac (Closed)
Patch Set: Created 3 years, 6 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
Index: content/browser/devtools/protocol/native_input_event_builder.h
diff --git a/content/browser/devtools/protocol/native_input_event_builder.h b/content/browser/devtools/protocol/native_input_event_builder.h
deleted file mode 100644
index e766e03756d9c61b67296d63a79816b14970ab86..0000000000000000000000000000000000000000
--- a/content/browser/devtools/protocol/native_input_event_builder.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2017 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 CONTENT_BROWSER_DEVTOOLS_PROTOCOL_NATIVE_INPUT_EVENT_BUILDER_H_
-#define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_NATIVE_INPUT_EVENT_BUILDER_H_
-
-#include "content/public/browser/native_web_keyboard_event.h"
-
-namespace content {
-namespace protocol {
-
-class NativeInputEventBuilder {
- public:
-#if defined(OS_MACOSX)
- // This returned object has a retain count of 1.
- static gfx::NativeEvent CreateEvent(const NativeWebKeyboardEvent& event);
-#else
- // We only need this for Macs because they require an OS event to process
- // some keyboard events in browser (see: crbug.com/667387).
- static gfx::NativeEvent CreateEvent(const NativeWebKeyboardEvent& event) {
- return nullptr;
- }
-#endif
-};
-
-} // namespace protocol
-} // namespace content
-
-#endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_NATIVE_INPUT_EVENT_BUILDER_H_

Powered by Google App Engine
This is Rietveld 408576698