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

Unified Diff: chrome/browser/ui/views/ime_driver_mus.h

Issue 2557493002: IME for Mus: Use ui::InputMethodChromeOS to provide logic for ime driver. (Closed)
Patch Set: More cleanup. Created 4 years 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: chrome/browser/ui/views/ime_driver_mus.h
diff --git a/chrome/browser/ui/views/ime_driver_mus.h b/chrome/browser/ui/views/ime_driver_mus.h
deleted file mode 100644
index bc70b3727da13b93d152baaed644d2304a74cff5..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/ime_driver_mus.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_IME_DRIVER_MUS_H_
-#define CHROME_BROWSER_UI_VIEWS_IME_DRIVER_MUS_H_
-
-#include <stdint.h>
-
-#include <map>
-#include <memory>
-
-#include "mojo/public/cpp/bindings/binding.h"
-#include "services/ui/public/interfaces/ime/ime.mojom.h"
-
-class IMEDriver : public ui::mojom::IMEDriver {
- public:
- ~IMEDriver() override;
-
- // Instantiate the IME driver and register it to the UI service.
- static void Register();
-
- private:
- IMEDriver();
-
- // ui::mojom::IMEDriver:
- void StartSession(
- int32_t session_id,
- ui::mojom::TextInputClientPtr client,
- ui::mojom::InputMethodRequest input_method_request) override;
- void CancelSession(int32_t session_id) override;
-
- std::map<int32_t, std::unique_ptr<mojo::Binding<ui::mojom::InputMethod>>>
- input_method_bindings_;
-
- DISALLOW_COPY_AND_ASSIGN(IMEDriver);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_IME_DRIVER_MUS_H_

Powered by Google App Engine
This is Rietveld 408576698