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

Unified Diff: services/ui/ime/ime_server_impl.h

Issue 2626983003: IME for Mus: Send TextInputClient information to IMEDriver. (Closed)
Patch Set: Addressed feedback. Created 3 years, 11 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: services/ui/ime/ime_server_impl.h
diff --git a/services/ui/ime/ime_server_impl.h b/services/ui/ime/ime_server_impl.h
index 22156cb64723b2803f41bf18114790d33b7f1505..76cc5a87b29fa201421f5874f8c73a60e35ba1d4 100644
--- a/services/ui/ime/ime_server_impl.h
+++ b/services/ui/ime/ime_server_impl.h
@@ -28,8 +28,7 @@ class IMEServerImpl : public mojom::IMEServer {
private:
// mojom::IMEServer:
- void StartSession(mojom::TextInputClientPtr client,
- mojom::InputMethodRequest input_method) override;
+ void StartSession(mojom::StartSessionDetailsPtr details) override;
void OnGotCatalogEntries(std::vector<catalog::mojom::EntryPtr> entries);
@@ -39,9 +38,7 @@ class IMEServerImpl : public mojom::IMEServer {
mojom::IMEDriverPtr driver_;
int current_id_;
- using PendingRequest =
- std::pair<mojom::TextInputClientPtr, mojom::InputMethodRequest>;
- std::queue<PendingRequest> pending_requests_;
+ std::queue<mojom::StartSessionDetailsPtr> pending_requests_;
DISALLOW_COPY_AND_ASSIGN(IMEServerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698