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

Side by Side Diff: ui/base/ime/input_method_win.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/input_method_tsf.h ('k') | ui/base/ime/linux/linux_input_method_context.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_INPUT_METHOD_WIN_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_WIN_H_
6 #define UI_BASE_IME_INPUT_METHOD_WIN_H_ 6 #define UI_BASE_IME_INPUT_METHOD_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "ui/base/ime/input_method_base.h" 14 #include "ui/base/ime/input_method_base.h"
15 #include "ui/base/ime/win/imm32_manager.h" 15 #include "ui/base/ime/win/imm32_manager.h"
16 16
17 namespace ui { 17 namespace ui {
18 18
19 // A common InputMethod implementation shared between IMM32 and TSF. 19 // A common InputMethod implementation shared between IMM32 and TSF.
20 class UI_EXPORT InputMethodWin : public InputMethodBase { 20 class UI_BASE_EXPORT InputMethodWin : public InputMethodBase {
21 public: 21 public:
22 InputMethodWin(internal::InputMethodDelegate* delegate, 22 InputMethodWin(internal::InputMethodDelegate* delegate,
23 HWND toplevel_window_handle); 23 HWND toplevel_window_handle);
24 24
25 // Overridden from InputMethod: 25 // Overridden from InputMethod:
26 virtual void Init(bool focused) OVERRIDE; 26 virtual void Init(bool focused) OVERRIDE;
27 virtual bool DispatchKeyEvent(const ui::KeyEvent& event) OVERRIDE; 27 virtual bool DispatchKeyEvent(const ui::KeyEvent& event) OVERRIDE;
28 virtual void OnInputLocaleChanged() OVERRIDE; 28 virtual void OnInputLocaleChanged() OVERRIDE;
29 virtual std::string GetInputLocale() OVERRIDE; 29 virtual std::string GetInputLocale() OVERRIDE;
30 virtual bool IsActive() OVERRIDE; 30 virtual bool IsActive() OVERRIDE;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // workaround against crbug.com/319100 93 // workaround against crbug.com/319100
94 // TODO(yukawa, IME): Figure out long-term solution. 94 // TODO(yukawa, IME): Figure out long-term solution.
95 bool accept_carriage_return_; 95 bool accept_carriage_return_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(InputMethodWin); 97 DISALLOW_COPY_AND_ASSIGN(InputMethodWin);
98 }; 98 };
99 99
100 } // namespace ui 100 } // namespace ui
101 101
102 #endif // UI_BASE_IME_INPUT_METHOD_WIN_H_ 102 #endif // UI_BASE_IME_INPUT_METHOD_WIN_H_
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_tsf.h ('k') | ui/base/ime/linux/linux_input_method_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698