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

Unified Diff: chromeos/ime/input_method_descriptor.cc

Issue 13459008: Support options page handling into ComponentExtensionManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit: remove unused variable. Created 7 years, 8 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: chromeos/ime/input_method_descriptor.cc
diff --git a/chromeos/ime/input_method_descriptor.cc b/chromeos/ime/input_method_descriptor.cc
index 4ded5989d60476d578a25a4afc65bc763a2b205c..e4c6c71113e308ebe7cf6bea4e6ab1f56213ad60 100644
--- a/chromeos/ime/input_method_descriptor.cc
+++ b/chromeos/ime/input_method_descriptor.cc
@@ -20,11 +20,13 @@ InputMethodDescriptor::InputMethodDescriptor(const std::string& id,
const std::string& name,
const std::string& keyboard_layout,
const std::string& language_code,
+ const std::string& options_page,
bool third_party)
: id_(id),
name_(name),
keyboard_layout_(keyboard_layout),
language_code_(language_code),
+ options_page_(options_page),
third_party_(third_party) {
}
@@ -51,6 +53,7 @@ InputMethodDescriptor::GetFallbackInputMethodDescriptor() {
"",
kFallbackLayout,
"en-US",
+ "", // options page, not available.
false);
}
@@ -60,6 +63,7 @@ std::string InputMethodDescriptor::ToString() const {
<< ", name=" << name()
<< ", keyboard_layout=" << keyboard_layout()
<< ", language_code=" << language_code()
+ << ", options_page=" << options_page()
<< ", third_party=" << third_party();
return stream.str();
}

Powered by Google App Engine
This is Rietveld 408576698