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

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

Issue 727143002: Moves code from chromeos/ime to ui/base/ime/chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit. Created 6 years 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
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 CHROMEOS_IME_INPUT_METHOD_DESCRIPTOR_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_INPUT_METHOD_DESCRIPTOR_H_
6 #define CHROMEOS_IME_INPUT_METHOD_DESCRIPTOR_H_ 6 #define UI_BASE_IME_CHROMEOS_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 #include "ui/base/ui_base_export.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 namespace chromeos { 15 namespace chromeos {
16 namespace input_method { 16 namespace input_method {
17 17
18 // A structure which represents an input method. 18 // A structure which represents an input method.
19 class CHROMEOS_EXPORT InputMethodDescriptor { 19 class UI_BASE_EXPORT InputMethodDescriptor {
20 public: 20 public:
21 InputMethodDescriptor(); 21 InputMethodDescriptor();
22 InputMethodDescriptor(const std::string& id, 22 InputMethodDescriptor(const std::string& id,
23 const std::string& name, 23 const std::string& name,
24 const std::string& indicator, 24 const std::string& indicator,
25 const std::vector<std::string>& keyboard_layouts, 25 const std::vector<std::string>& keyboard_layouts,
26 const std::vector<std::string>& language_codes, 26 const std::vector<std::string>& language_codes,
27 bool is_login_keyboard, 27 bool is_login_keyboard,
28 const GURL& options_page_url, 28 const GURL& options_page_url,
29 const GURL& input_view_url); 29 const GURL& input_view_url);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // "chrome-extension://ceaajjmckiakobniehbjpdcidfpohlin/my_input_view.html". 82 // "chrome-extension://ceaajjmckiakobniehbjpdcidfpohlin/my_input_view.html".
83 // This field is valid only for input method extension. 83 // This field is valid only for input method extension.
84 GURL input_view_url_; 84 GURL input_view_url_;
85 }; 85 };
86 86
87 typedef std::vector<InputMethodDescriptor> InputMethodDescriptors; 87 typedef std::vector<InputMethodDescriptor> InputMethodDescriptors;
88 88
89 } // namespace input_method 89 } // namespace input_method
90 } // namespace chromeos 90 } // namespace chromeos
91 91
92 #endif // CHROMEOS_IME_INPUT_METHOD_DESCRIPTOR_H_ 92 #endif // UI_BASE_IME_CHROMEOS_INPUT_METHOD_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/input_method_delegate.h ('k') | ui/base/ime/chromeos/input_method_descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698