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

Side by Side Diff: ui/chromeos/ime/input_method_menu_item.cc

Issue 680383008: Move ash/ime to ui/chromeos/ime (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash48_global_command
Patch Set: Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "ash/ime/input_method_menu_item.h" 5 #include "ui/chromeos/ime/input_method_menu_item.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 10
11 namespace ash { 11 namespace ui {
12 namespace ime { 12 namespace ime {
13 13
14 InputMethodMenuItem::InputMethodMenuItem(const std::string& in_key, 14 InputMethodMenuItem::InputMethodMenuItem(const std::string& in_key,
15 const std::string& in_label, 15 const std::string& in_label,
16 bool in_is_selection_item, 16 bool in_is_selection_item,
17 bool in_is_selection_item_checked) 17 bool in_is_selection_item_checked)
18 : key(in_key), 18 : key(in_key),
19 label(in_label), 19 label(in_label),
20 is_selection_item(in_is_selection_item), 20 is_selection_item(in_is_selection_item),
21 is_selection_item_checked(in_is_selection_item_checked) { 21 is_selection_item_checked(in_is_selection_item_checked) {
(...skipping 22 matching lines...) Expand all
44 std::string InputMethodMenuItem::ToString() const { 44 std::string InputMethodMenuItem::ToString() const {
45 std::stringstream stream; 45 std::stringstream stream;
46 stream << "key=" << key 46 stream << "key=" << key
47 << ", label=" << label 47 << ", label=" << label
48 << ", is_selection_item=" << is_selection_item 48 << ", is_selection_item=" << is_selection_item
49 << ", is_selection_item_checked=" << is_selection_item_checked; 49 << ", is_selection_item_checked=" << is_selection_item_checked;
50 return stream.str(); 50 return stream.str();
51 } 51 }
52 52
53 } // namespace ime 53 } // namespace ime
54 } // namespace ash 54 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698