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

Unified Diff: ui/base/ime/chromeos/mock_component_extension_ime_manager.h

Issue 2824283003: Fix autoupdate_EndToEndTest on veyron_rialto (Closed)
Patch Set: addressed comments Created 3 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: ui/base/ime/chromeos/mock_component_extension_ime_manager.h
diff --git a/ui/base/ime/chromeos/mock_component_extension_ime_manager.h b/ui/base/ime/chromeos/mock_component_extension_ime_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..36242be60ef1dd2625e591f2b90bbba536e99df3
--- /dev/null
+++ b/ui/base/ime/chromeos/mock_component_extension_ime_manager.h
@@ -0,0 +1,26 @@
+// Copyright 2017 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 UI_BASE_IME_MOCK_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_
+#define UI_BASE_IME_MOCK_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_
+
+#include "ui/base/ime/chromeos/component_extension_ime_manager.h"
+
+namespace chromeos {
+
+class UI_BASE_IME_EXPORT MockComponentExtensionIMEManager
+ : public ComponentExtensionIMEManager {
+ public:
+ input_method::InputMethodDescriptors GetXkbIMEAsInputMethodDescriptor()
+ override;
+};
+
+input_method::InputMethodDescriptors
+MockComponentExtensionIMEManager::GetXkbIMEAsInputMethodDescriptor() {
xiyuan 2017/04/27 23:29:47 put this in a cc file or inline it as in previous
kumarniranjan 2017/04/28 16:48:10 Once I made ComponentExtensionIMEManager::GetXkbIM
+ return input_method::InputMethodDescriptors();
+}
+
+} // namespace chromeos
+
+#endif // UI_BASE_IME_MOCK_CHROMEOS_COMPONENT_EXTENSION_IME_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698