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

Unified Diff: blimp/client/app/linux/blimp_client_session_linux.cc

Issue 2292343002: Hooking up Blimp IME with BlimpContents (Closed)
Patch Set: Fixed linux client Created 4 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
Index: blimp/client/app/linux/blimp_client_session_linux.cc
diff --git a/blimp/client/app/linux/blimp_client_session_linux.cc b/blimp/client/app/linux/blimp_client_session_linux.cc
index 42952e260aac705218f0b985bfbf5c7b314aeed8..704c1b883c86da56b2474e66eb42be353d479fa3 100644
--- a/blimp/client/app/linux/blimp_client_session_linux.cc
+++ b/blimp/client/app/linux/blimp_client_session_linux.cc
@@ -73,7 +73,8 @@ class FakeImeFeatureDelegate : public ImeFeature::Delegate {
// ImeFeature::Delegate implementation.
void OnShowImeRequested(ui::TextInputType input_type,
- const std::string& text) override;
+ const std::string& text,
+ const ImeFeature::ShowImeCallback& callback) override;
void OnHideImeRequested() override;
private:
@@ -84,8 +85,10 @@ FakeImeFeatureDelegate::FakeImeFeatureDelegate() {}
FakeImeFeatureDelegate::~FakeImeFeatureDelegate() {}
-void FakeImeFeatureDelegate::OnShowImeRequested(ui::TextInputType input_type,
- const std::string& text) {
+void FakeImeFeatureDelegate::OnShowImeRequested(
+ ui::TextInputType input_type,
+ const std::string& text,
+ const ImeFeature::ShowImeCallback& callback) {
DVLOG(1) << "Show IME requested (input_type=" << input_type << ")";
}

Powered by Google App Engine
This is Rietveld 408576698