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

Side by Side Diff: ui/base/ime/linux/linux_input_method_context_factory.h

Issue 93863005: ui: Rename ui_export.h to ui_base_export.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UI_BASE_IMPLEMENTATION Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/ime/linux/linux_input_method_context.h ('k') | ui/base/ime/mock_input_method.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_IME_LINUX_LINUX_INPUT_METHOD_CONTEXT_FACTORY_H_ 5 #ifndef UI_BASE_IME_LINUX_LINUX_INPUT_METHOD_CONTEXT_FACTORY_H_
6 #define UI_BASE_IME_LINUX_LINUX_INPUT_METHOD_CONTEXT_FACTORY_H_ 6 #define UI_BASE_IME_LINUX_LINUX_INPUT_METHOD_CONTEXT_FACTORY_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/base/ui_export.h" 9 #include "ui/base/ui_base_export.h"
10 10
11 namespace ui { 11 namespace ui {
12 12
13 class LinuxInputMethodContext; 13 class LinuxInputMethodContext;
14 class LinuxInputMethodContextDelegate; 14 class LinuxInputMethodContextDelegate;
15 15
16 // An interface that lets different Linux platforms override the 16 // An interface that lets different Linux platforms override the
17 // CreateInputMethodContext function declared here to return native input method 17 // CreateInputMethodContext function declared here to return native input method
18 // contexts. 18 // contexts.
19 class UI_EXPORT LinuxInputMethodContextFactory { 19 class UI_BASE_EXPORT LinuxInputMethodContextFactory {
20 public: 20 public:
21 // Returns the current active factory or NULL. 21 // Returns the current active factory or NULL.
22 static const LinuxInputMethodContextFactory* instance(); 22 static const LinuxInputMethodContextFactory* instance();
23 23
24 // Sets the dynamically loaded singleton that creates an input method context. 24 // Sets the dynamically loaded singleton that creates an input method context.
25 // This pointer is not owned, and if this method is called a second time, 25 // This pointer is not owned, and if this method is called a second time,
26 // the first instance is not deleted. 26 // the first instance is not deleted.
27 static void SetInstance(const LinuxInputMethodContextFactory* instance); 27 static void SetInstance(const LinuxInputMethodContextFactory* instance);
28 28
29 virtual ~LinuxInputMethodContextFactory() {} 29 virtual ~LinuxInputMethodContextFactory() {}
30 30
31 // Returns a native input method context. 31 // Returns a native input method context.
32 virtual scoped_ptr<LinuxInputMethodContext> CreateInputMethodContext( 32 virtual scoped_ptr<LinuxInputMethodContext> CreateInputMethodContext(
33 LinuxInputMethodContextDelegate* delegate) const = 0; 33 LinuxInputMethodContextDelegate* delegate) const = 0;
34 }; 34 };
35 35
36 } // namespace ui 36 } // namespace ui
37 37
38 #endif // UI_BASE_IME_LINUX_LINUX_INPUT_METHOD_CONTEXT_FACTORY_H_ 38 #endif // UI_BASE_IME_LINUX_LINUX_INPUT_METHOD_CONTEXT_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/base/ime/linux/linux_input_method_context.h ('k') | ui/base/ime/mock_input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698