Commit 8ac4769c authored by Shimi Zhang's avatar Shimi Zhang Committed by Commit Bot

content: Remove InputEventShim

There is no actual usage of this abstract class anymore.

Bug: 533069
Change-Id: I31ce5c99727a1ce11918b22a2252b3113c2c8878
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2371683Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Commit-Queue: Shimi Zhang <ctzsm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801161}
parent 0a6b2628
...@@ -1518,7 +1518,6 @@ source_set("browser") { ...@@ -1518,7 +1518,6 @@ source_set("browser") {
"renderer_host/input/web_input_event_builders_android.h", "renderer_host/input/web_input_event_builders_android.h",
"renderer_host/input/web_input_event_builders_mac.h", "renderer_host/input/web_input_event_builders_mac.h",
"renderer_host/input/web_input_event_builders_mac.mm", "renderer_host/input/web_input_event_builders_mac.mm",
"renderer_host/input_event_shim.h",
"renderer_host/legacy_render_widget_host_win.cc", "renderer_host/legacy_render_widget_host_win.cc",
"renderer_host/legacy_render_widget_host_win.h", "renderer_host/legacy_render_widget_host_win.h",
"renderer_host/media/aec_dump_manager_impl.cc", "renderer_host/media/aec_dump_manager_impl.cc",
......
// Copyright 2018 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_RENDERER_HOST_INPUT_EVENT_SHIM_H_
#define CONTENT_BROWSER_RENDERER_HOST_INPUT_EVENT_SHIM_H_
#include "ui/base/ime/mojom/text_input_state.mojom.h"
namespace content {
// This exists to allow BrowserPluginGuest a safe way to intercept
// various input event messages normally handled by RenderWidgetHost.
//
// TODO(https://crbug.com/533069): Remove this class and all APIs using it
// when BrowserPlugin is fully deleted.
class InputEventShim {
public:
virtual ~InputEventShim() {}
virtual void DidSetHasTouchEventHandlers(bool accept) = 0;
virtual void DidTextInputStateChange(
const ui::mojom::TextInputState& params) = 0;
virtual void DidLockMouse(bool user_gesture, bool privileged) = 0;
virtual void DidUnlockMouse() = 0;
};
} // namespace content
#endif /* CONTENT_BROWSER_RENDERER_HOST_INPUT_EVENT_SHIM_H_ */
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include "base/callback.h" #include "base/callback.h"
#include "build/build_config.h" #include "build/build_config.h"
#include "components/viz/common/vertical_scroll_direction.h" #include "components/viz/common/vertical_scroll_direction.h"
#include "content/browser/renderer_host/input_event_shim.h"
#include "content/common/content_export.h" #include "content/common/content_export.h"
#include "content/common/drag_event_source_info.h" #include "content/common/drag_event_source_info.h"
#include "content/public/common/drop_data.h" #include "content/public/common/drop_data.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment