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

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

Issue 2884243003: Add a mojo channel for frame messages. (Closed)
Patch Set: Fix presubmit warning I ignored 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 1d1de6edf081f4350b267c83475789c280c5a538..7e7ca69fbe0f3d7926f2b711d92d143643392b34 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;
@@ -229,6 +230,8 @@ class CONTENT_EXPORT RenderFrameHostImpl
GURL* blocked_url,
SourceLocation* source_location) const override;
+ mojom::FrameInputHandler* GetFrameInputHandler() override;
+
// Creates a RenderFrame in the renderer process.
bool CreateRenderFrame(int proxy_routing_id,
int opener_routing_id,
@@ -446,21 +449,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,
@@ -1245,6 +1233,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_;
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698