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

Unified Diff: ash/ime/input_method_menu_item.h

Issue 165783002: Reland of: Split out InputMethodMenuManager from InputMethodManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comment; spelling Created 6 years, 10 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 | « ash/ash.gyp ('k') | ash/ime/input_method_menu_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ime/input_method_menu_item.h
diff --git a/chromeos/ime/input_method_property.h b/ash/ime/input_method_menu_item.h
similarity index 58%
rename from chromeos/ime/input_method_property.h
rename to ash/ime/input_method_menu_item.h
index 25355d1087fe59e2f35f58961fd8eb4b6b69273d..1407d0a7d85c9d73faebe063bece82fc7bb6d887 100644
--- a/chromeos/ime/input_method_property.h
+++ b/ash/ime/input_method_menu_item.h
@@ -1,29 +1,29 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2014 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 CHROMEOS_IME_INPUT_METHOD_PROPERTY_H_
-#define CHROMEOS_IME_INPUT_METHOD_PROPERTY_H_
+#ifndef ASH_IME_INPUT_METHOD_MENU_ITEM_H_
+#define ASH_IME_INPUT_METHOD_MENU_ITEM_H_
#include <string>
#include <vector>
-#include "chromeos/chromeos_export.h"
+#include "ash/ash_export.h"
-namespace chromeos {
-namespace input_method {
+namespace ash {
+namespace ime {
// A structure which represents a property for an input method engine.
-struct CHROMEOS_EXPORT InputMethodProperty {
- InputMethodProperty(const std::string& in_key,
+struct ASH_EXPORT InputMethodMenuItem {
+ InputMethodMenuItem(const std::string& in_key,
const std::string& in_label,
bool in_is_selection_item,
bool in_is_selection_item_checked);
- InputMethodProperty();
- ~InputMethodProperty();
+ InputMethodMenuItem();
+ ~InputMethodMenuItem();
- bool operator==(const InputMethodProperty& other) const;
- bool operator!=(const InputMethodProperty& other) const;
+ bool operator==(const InputMethodMenuItem& other) const;
+ bool operator!=(const InputMethodMenuItem& other) const;
// Debug print function.
std::string ToString() const;
@@ -36,9 +36,9 @@ struct CHROMEOS_EXPORT InputMethodProperty {
bool is_selection_item_checked; // true if |is_selection_item| is true and
// the selection_item is selected.
};
-typedef std::vector<InputMethodProperty> InputMethodPropertyList;
+typedef std::vector<InputMethodMenuItem> InputMethodMenuItemList;
-} // namespace input_method
-} // namespace chromeos
+} // namespace ime
+} // namespace ash
-#endif // CHROMEOS_IME_INPUT_METHOD_PROPERTY_H_
+#endif // ASH_IME_INPUT_METHOD_MENU_ITEM_H_
« no previous file with comments | « ash/ash.gyp ('k') | ash/ime/input_method_menu_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698