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

Unified Diff: chrome/browser/extensions/extension_input_ime_api.cc

Issue 7497040: Exclude some CrOS code that causes link errors on Windows incr. link (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_input_ime_api.cc
diff --git a/chrome/browser/extensions/extension_input_ime_api.cc b/chrome/browser/extensions/extension_input_ime_api.cc
index dd493c8408529101c42a5d13a3a7ab4a3f8a6b83..662b5c2132ac47ea69a63698283cd6dcc2f8a641 100644
--- a/chrome/browser/extensions/extension_input_ime_api.cc
+++ b/chrome/browser/extensions/extension_input_ime_api.cc
@@ -209,6 +209,7 @@ ExtensionInputImeEventRouter::~ExtensionInputImeEventRouter() {
void ExtensionInputImeEventRouter::Init() {
}
+#if defined(OS_CHROMEOS)
bool ExtensionInputImeEventRouter::RegisterIme(
Profile* profile,
const std::string& extension_id,
@@ -259,6 +260,7 @@ bool ExtensionInputImeEventRouter::RegisterIme(
return true;
}
+#endif
chromeos::InputMethodEngine* ExtensionInputImeEventRouter::GetEngine(
const std::string& extension_id, const std::string& engine_id) {
@@ -503,6 +505,7 @@ bool SetCandidateWindowPropertiesFunction::RunImpl() {
return true;
}
+#if defined(OS_CHROMEOS)
bool SetCandidatesFunction::ReadCandidates(
ListValue* candidates,
std::vector<chromeos::InputMethodEngine::Candidate>* output) {
@@ -628,3 +631,4 @@ bool UpdateMenuItemsFunction::RunImpl() {
// TODO
return true;
}
+#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698