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

Side by Side Diff: ui/base/ime/input_method_base.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/dummy_input_method_delegate.h ('k') | ui/base/ime/input_method_delegate.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BASE_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_BASE_H_
6 #define UI_BASE_IME_INPUT_METHOD_BASE_H_ 6 #define UI_BASE_IME_INPUT_METHOD_BASE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/observer_list.h" 11 #include "base/observer_list.h"
12 #include "ui/base/ime/input_method.h" 12 #include "ui/base/ime/input_method.h"
13 #include "ui/base/ui_export.h" 13 #include "ui/base/ui_base_export.h"
14 14
15 namespace gfx { 15 namespace gfx {
16 class Rect; 16 class Rect;
17 } // namespace gfx 17 } // namespace gfx
18 18
19 namespace ui { 19 namespace ui {
20 20
21 class InputMethodObserver; 21 class InputMethodObserver;
22 class KeyEvent; 22 class KeyEvent;
23 class TextInputClient; 23 class TextInputClient;
24 24
25 // A helper class providing functionalities shared among ui::InputMethod 25 // A helper class providing functionalities shared among ui::InputMethod
26 // implementations. 26 // implementations.
27 class UI_EXPORT InputMethodBase 27 class UI_BASE_EXPORT InputMethodBase
28 : NON_EXPORTED_BASE(public InputMethod), 28 : NON_EXPORTED_BASE(public InputMethod),
29 public base::SupportsWeakPtr<InputMethodBase> { 29 public base::SupportsWeakPtr<InputMethodBase> {
30 public: 30 public:
31 InputMethodBase(); 31 InputMethodBase();
32 virtual ~InputMethodBase(); 32 virtual ~InputMethodBase();
33 33
34 // Overriden from InputMethod. 34 // Overriden from InputMethod.
35 virtual void SetDelegate(internal::InputMethodDelegate* delegate) OVERRIDE; 35 virtual void SetDelegate(internal::InputMethodDelegate* delegate) OVERRIDE;
36 virtual void Init(bool focused) OVERRIDE; 36 virtual void Init(bool focused) OVERRIDE;
37 // If a derived class overrides OnFocus()/OnBlur(), it should call parent's 37 // If a derived class overrides OnFocus()/OnBlur(), it should call parent's
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 ObserverList<InputMethodObserver> observer_list_; 107 ObserverList<InputMethodObserver> observer_list_;
108 108
109 bool system_toplevel_window_focused_; 109 bool system_toplevel_window_focused_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(InputMethodBase); 111 DISALLOW_COPY_AND_ASSIGN(InputMethodBase);
112 }; 112 };
113 113
114 } // namespace ui 114 } // namespace ui
115 115
116 #endif // UI_BASE_IME_INPUT_METHOD_BASE_H_ 116 #endif // UI_BASE_IME_INPUT_METHOD_BASE_H_
OLDNEW
« no previous file with comments | « ui/base/ime/dummy_input_method_delegate.h ('k') | ui/base/ime/input_method_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698