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

Side by Side Diff: ui/chromeos/ime/candidate_view.h

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 #ifndef ASH_IME_CANDIDATE_VIEW_H_ 5 #ifndef ASH_IME_CANDIDATE_VIEW_H_
6 #define ASH_IME_CANDIDATE_VIEW_H_ 6 #define ASH_IME_CANDIDATE_VIEW_H_
7 7
8 #include "ash/ash_export.h"
9 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
10 #include "ui/base/ime/candidate_window.h" 9 #include "ui/base/ime/candidate_window.h"
10 #include "ui/chromeos/ui_chromeos_export.h"
11 #include "ui/views/controls/button/custom_button.h" 11 #include "ui/views/controls/button/custom_button.h"
12 #include "ui/views/controls/label.h" 12 #include "ui/views/controls/label.h"
13 #include "ui/views/view.h" 13 #include "ui/views/view.h"
14 14
15 namespace ash { 15 namespace ui {
16 namespace ime { 16 namespace ime {
17 17
18 // CandidateView renderes a row of a candidate. 18 // CandidateView renderes a row of a candidate.
19 class ASH_EXPORT CandidateView : public views::CustomButton { 19 class UI_CHROMEOS_EXPORT CandidateView : public views::CustomButton {
20 public: 20 public:
21 CandidateView(views::ButtonListener* listener, 21 CandidateView(views::ButtonListener* listener,
22 ui::CandidateWindow::Orientation orientation); 22 ui::CandidateWindow::Orientation orientation);
23 ~CandidateView() override {} 23 ~CandidateView() override {}
24 24
25 void GetPreferredWidths(int* shortcut_width, 25 void GetPreferredWidths(int* shortcut_width,
26 int* candidate_width); 26 int* candidate_width);
27 27
28 void SetWidths(int shortcut_width, 28 void SetWidths(int shortcut_width,
29 int candidate_width); 29 int candidate_width);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 views::View* infolist_icon_; 63 views::View* infolist_icon_;
64 64
65 int shortcut_width_; 65 int shortcut_width_;
66 int candidate_width_; 66 int candidate_width_;
67 bool highlighted_; 67 bool highlighted_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(CandidateView); 69 DISALLOW_COPY_AND_ASSIGN(CandidateView);
70 }; 70 };
71 71
72 } // namespace ime 72 } // namespace ime
73 } // namespace ash 73 } // namespace ui
74 74
75 #endif // ASH_IME_CANDIDATE_VIEW_H_ 75 #endif // UI_CHROMEOS_IME_CANDIDATE_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698