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

Side by Side Diff: views/ime/input_method_base.h

Issue 7550038: Rename VIEWS_API to VIEWS_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | « views/ime/input_method.h ('k') | views/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) 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 VIEWS_IME_INPUT_METHOD_BASE_H_ 5 #ifndef VIEWS_IME_INPUT_METHOD_BASE_H_
6 #define VIEWS_IME_INPUT_METHOD_BASE_H_ 6 #define VIEWS_IME_INPUT_METHOD_BASE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "views/focus/focus_manager.h" 11 #include "views/focus/focus_manager.h"
12 #include "views/ime/input_method.h" 12 #include "views/ime/input_method.h"
13 #include "views/ime/input_method_delegate.h" 13 #include "views/ime/input_method_delegate.h"
14 #include "views/ime/text_input_client.h" 14 #include "views/ime/text_input_client.h"
15 15
16 namespace views { 16 namespace views {
17 17
18 class View; 18 class View;
19 19
20 // A helper class providing functionalities shared among InputMethod 20 // A helper class providing functionalities shared among InputMethod
21 // implementations. 21 // implementations.
22 class VIEWS_API InputMethodBase : public InputMethod, 22 class VIEWS_EXPORT InputMethodBase : public InputMethod,
23 public FocusChangeListener { 23 public FocusChangeListener {
24 public: 24 public:
25 InputMethodBase(); 25 InputMethodBase();
26 virtual ~InputMethodBase(); 26 virtual ~InputMethodBase();
27 27
28 // Overriden from InputMethod. 28 // Overriden from InputMethod.
29 virtual void set_delegate(internal::InputMethodDelegate* delegate) OVERRIDE; 29 virtual void set_delegate(internal::InputMethodDelegate* delegate) OVERRIDE;
30 30
31 // If a derived class overrides this method, it should call parent's 31 // If a derived class overrides this method, it should call parent's
32 // implementation first. 32 // implementation first.
33 virtual void Init(Widget* widget) OVERRIDE; 33 virtual void Init(Widget* widget) OVERRIDE;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 // Indicates if the top-level widget is focused or not. 102 // Indicates if the top-level widget is focused or not.
103 bool widget_focused_; 103 bool widget_focused_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(InputMethodBase); 105 DISALLOW_COPY_AND_ASSIGN(InputMethodBase);
106 }; 106 };
107 107
108 } // namespace views 108 } // namespace views
109 109
110 #endif // VIEWS_IME_INPUT_METHOD_BASE_H_ 110 #endif // VIEWS_IME_INPUT_METHOD_BASE_H_
OLDNEW
« no previous file with comments | « views/ime/input_method.h ('k') | views/ime/input_method_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698