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

Unified Diff: chromeos/ime/input_method_whitelist.h

Issue 13042007: Extract input_method_whitelist.{h|cc} from c/b/chromeos. (2nd try) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: replicate input_methods.txt for migration 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/ime/input_method.gyp ('k') | chromeos/ime/input_method_whitelist.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/ime/input_method_whitelist.h
diff --git a/chrome/browser/chromeos/input_method/input_method_whitelist.h b/chromeos/ime/input_method_whitelist.h
similarity index 70%
rename from chrome/browser/chromeos/input_method/input_method_whitelist.h
rename to chromeos/ime/input_method_whitelist.h
index f6accdc226c7e3ab46a5795dfdd6bbf19850f70b..3a224936183d67c02c6e23417de1aa0381dcf468 100644
--- a/chrome/browser/chromeos/input_method/input_method_whitelist.h
+++ b/chromeos/ime/input_method_whitelist.h
@@ -1,9 +1,9 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_WHITELIST_H_
-#define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_WHITELIST_H_
+#ifndef CHROMEOS_IME_INPUT_METHOD_WHITELIST_H_
+#define CHROMEOS_IME_INPUT_METHOD_WHITELIST_H_
#include <set>
#include <string>
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
+#include "chromeos/chromeos_export.h"
namespace chromeos {
namespace input_method {
@@ -18,8 +19,9 @@ namespace input_method {
class InputMethodDescriptor;
typedef std::vector<InputMethodDescriptor> InputMethodDescriptors;
-//
-class InputMethodWhitelist {
+// A class which has white listed input method list. The list is generated by
+// gen_input_methods.py from input_methods.txt.
+class CHROMEOS_EXPORT InputMethodWhitelist {
public:
InputMethodWhitelist();
~InputMethodWhitelist();
@@ -41,4 +43,4 @@ class InputMethodWhitelist {
} // namespace input_method
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_WHITELIST_H_
+#endif // CHROMEOS_IME_INPUT_METHOD_WHITELIST_H_
« no previous file with comments | « chromeos/ime/input_method.gyp ('k') | chromeos/ime/input_method_whitelist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698