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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2884243003: Add a mojo channel for frame messages. (Closed)
Patch Set: Fix dcheng's initial comments Created 3 years, 7 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/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 27e48d3e547525637908f05b178e5f1dc26676e6..15fc9deaeaf049f27923a2a06e8d32e701db076c 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -85,6 +85,7 @@ class Range;
namespace content {
class AssociatedInterfaceProviderImpl;
class AssociatedInterfaceRegistryImpl;
+class LegacyIPCFrameInputHandler;
class FeaturePolicy;
class FrameTree;
class FrameTreeNode;
@@ -223,6 +224,8 @@ class CONTENT_EXPORT RenderFrameHostImpl
const CSPViolationParams& violation_params) override;
bool SchemeShouldBypassCSP(const base::StringPiece& scheme) override;
+ mojom::FrameInputHandler* GetFrameInputHandler() override;
+
// Creates a RenderFrame in the renderer process.
bool CreateRenderFrame(int proxy_routing_id,
int opener_routing_id,
@@ -440,21 +443,6 @@ class CONTENT_EXPORT RenderFrameHostImpl
void AdvanceFocus(blink::WebFocusType type,
RenderFrameProxyHost* source_proxy);
- // Deletes the current selection plus the specified number of characters
- // before and after the selection or caret.
- void ExtendSelectionAndDelete(size_t before, size_t after);
-
- // Deletes text before and after the current cursor position, excluding the
- // selection. The lengths are supplied in Java chars (UTF-16 Code Unit), not
- // in code points or in glyphs.
- void DeleteSurroundingText(size_t before, size_t after);
-
- // Deletes text before and after the current cursor position, excluding the
- // selection. The lengths are supplied in code points, not in Java chars
- // (UTF-16 Code Unit) or in glyphs. Do nothing if there are one or more
- // invalid surrogate pairs in the requested range.
- void DeleteSurroundingTextInCodePoints(int before, int after);
-
// Notifies the RenderFrame that the JavaScript message that was shown was
// closed by the user.
void JavaScriptDialogClosed(IPC::Message* reply_msg,
@@ -1225,6 +1213,9 @@ class CONTENT_EXPORT RenderFrameHostImpl
// crbug.com/715541
std::string untrusted_devtools_frame_id_;
+ mojom::FrameInputHandlerPtr frame_input_handler_;
+ std::unique_ptr<LegacyIPCFrameInputHandler> legacy_frame_input_handler_;
+
// NOTE: This must be the last member.
base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698