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

Unified Diff: content/public/browser/render_widget_host.h

Issue 2323983003: DO NOT SUBMIT: Bundle IME-related messages into one for batch edit (Closed)
Patch Set: fixed nits and fixed blimp test Created 4 years, 3 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/public/browser/render_widget_host.h
diff --git a/content/public/browser/render_widget_host.h b/content/public/browser/render_widget_host.h
index 508c4fbf0d00b5a1777f9889e57939bb87af3195..75a74e6aa9b96b446801148ae1eb16f78b7c8283 100644
--- a/content/public/browser/render_widget_host.h
+++ b/content/public/browser/render_widget_host.h
@@ -261,6 +261,11 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Sender {
// Sends a compositor proto to the render widget.
virtual void HandleCompositorProto(const std::vector<uint8_t>& proto) = 0;
+
+ // If we are in the batch edit mode, bundle it and send them later at once.
+ // Otherwise, just send the message.
+ virtual void SendOrBatch(IPC::Message* message) = 0;
+
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698