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

Unified Diff: blimp/common/create_blimp_message.cc

Issue 1779673003: Added network components for blimp text input feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge origin/master Created 4 years, 9 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
« no previous file with comments | « blimp/common/create_blimp_message.h ('k') | blimp/common/proto/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/common/create_blimp_message.cc
diff --git a/blimp/common/create_blimp_message.cc b/blimp/common/create_blimp_message.cc
index 09e6dea0cb7fa70a0fe3aa0c2f7efebbce913f02..ddb28dc9592fefed54815e8e330584a3a965957b 100644
--- a/blimp/common/create_blimp_message.cc
+++ b/blimp/common/create_blimp_message.cc
@@ -53,6 +53,16 @@ scoped_ptr<BlimpMessage> CreateBlimpMessage(
return output;
}
+scoped_ptr<BlimpMessage> CreateBlimpMessage(ImeMessage** ime_message,
+ int target_tab_id) {
+ DCHECK(ime_message);
+ scoped_ptr<BlimpMessage> output(new BlimpMessage);
+ output->set_type(BlimpMessage::IME);
+ output->set_target_tab_id(target_tab_id);
+ *ime_message = output->mutable_ime();
+ return output;
+}
+
scoped_ptr<BlimpMessage> CreateBlimpMessage(
RenderWidgetMessage** render_widget_message,
int target_tab_id) {
« no previous file with comments | « blimp/common/create_blimp_message.h ('k') | blimp/common/proto/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698