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

Side by Side Diff: chromeos/ime/input_method_descriptor.h

Issue 12453011: Move InputMethodManager to chromeos/ime (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 9 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 | « chromeos/ime/input_method_delegate.h ('k') | chromeos/ime/input_method_descriptor.cc » ('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 CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_DESCRIPTOR_H_ 5 #ifndef CHROMEOS_IME_INPUT_METHOD_DESCRIPTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_DESCRIPTOR_H_ 6 #define CHROMEOS_IME_INPUT_METHOD_DESCRIPTOR_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "chromeos/chromeos_export.h"
12 13
13 namespace chromeos { 14 namespace chromeos {
14 namespace input_method { 15 namespace input_method {
15 16
16 class InputMethodWhitelist; 17 class InputMethodWhitelist;
17 18
18 // A structure which represents an input method. 19 // A structure which represents an input method.
19 class InputMethodDescriptor { 20 class CHROMEOS_EXPORT InputMethodDescriptor {
20 public: 21 public:
21 InputMethodDescriptor(); 22 InputMethodDescriptor();
22 InputMethodDescriptor(const std::string& id, 23 InputMethodDescriptor(const std::string& id,
23 const std::string& name, 24 const std::string& name,
24 const std::string& keyboard_layout, 25 const std::string& keyboard_layout,
25 const std::string& language_code, 26 const std::string& language_code,
26 bool third_party); 27 bool third_party);
27 ~InputMethodDescriptor(); 28 ~InputMethodDescriptor();
28 29
29 bool operator==(const InputMethodDescriptor& other) const; 30 bool operator==(const InputMethodDescriptor& other) const;
(...skipping 27 matching lines...) Expand all
57 std::string language_code_; 58 std::string language_code_;
58 // Indicates if this is a third party ime 59 // Indicates if this is a third party ime
59 bool third_party_; 60 bool third_party_;
60 }; 61 };
61 62
62 typedef std::vector<InputMethodDescriptor> InputMethodDescriptors; 63 typedef std::vector<InputMethodDescriptor> InputMethodDescriptors;
63 64
64 } // namespace input_method 65 } // namespace input_method
65 } // namespace chromeos 66 } // namespace chromeos
66 67
67 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_DESCRIPTOR_H_ 68 #endif // CHROMEOS_IME_INPUT_METHOD_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « chromeos/ime/input_method_delegate.h ('k') | chromeos/ime/input_method_descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698