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

Unified Diff: ui/base/ime/linux/linux_input_method_context_factory.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 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: ui/base/ime/linux/linux_input_method_context_factory.h
diff --git a/ui/base/ime/linux/linux_input_method_context_factory.h b/ui/base/ime/linux/linux_input_method_context_factory.h
deleted file mode 100644
index af2a3a0c61e863a49450e265cb9f2226bbac8fe9..0000000000000000000000000000000000000000
--- a/ui/base/ime/linux/linux_input_method_context_factory.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 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_LINUX_LINUX_INPUT_METHOD_CONTEXT_FACTORY_H_
-#define UI_BASE_IME_LINUX_LINUX_INPUT_METHOD_CONTEXT_FACTORY_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "ui/base/ui_base_export.h"
-
-namespace ui {
-
-class LinuxInputMethodContext;
-class LinuxInputMethodContextDelegate;
-
-// An interface that lets different Linux platforms override the
-// CreateInputMethodContext function declared here to return native input method
-// contexts.
-class UI_BASE_EXPORT LinuxInputMethodContextFactory {
- public:
- // Returns the current active factory or NULL.
- static const LinuxInputMethodContextFactory* instance();
-
- // Sets the dynamically loaded singleton that creates an input method context.
- // This pointer is not owned, and if this method is called a second time,
- // the first instance is not deleted.
- static void SetInstance(const LinuxInputMethodContextFactory* instance);
-
- virtual ~LinuxInputMethodContextFactory() {}
-
- // Returns a native input method context.
- virtual scoped_ptr<LinuxInputMethodContext> CreateInputMethodContext(
- LinuxInputMethodContextDelegate* delegate) const = 0;
-};
-
-} // namespace ui
-
-#endif // UI_BASE_IME_LINUX_LINUX_INPUT_METHOD_CONTEXT_FACTORY_H_
« no previous file with comments | « ui/base/ime/linux/linux_input_method_context.h ('k') | ui/base/ime/linux/linux_input_method_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698