| Index: ui/chromeos/ime/candidate_view.cc
|
| diff --git a/ui/chromeos/ime/candidate_view.cc b/ui/chromeos/ime/candidate_view.cc
|
| index 96b1de6c60ceae0a3e9ca15dd85c631c134c4ce0..db90b6fc89ea89a5aadaf997b8dd3d0e12a9fc34 100644
|
| --- a/ui/chromeos/ime/candidate_view.cc
|
| +++ b/ui/chromeos/ime/candidate_view.cc
|
| @@ -27,6 +27,7 @@ class VerticalCandidateLabel : public views::Label {
|
| private:
|
| ~VerticalCandidateLabel() override {}
|
|
|
| + // views::Label:
|
| // Returns the preferred size, but guarantees that the width has at
|
| // least kMinCandidateLabelWidth pixels.
|
| gfx::Size GetPreferredSize() const override {
|
| @@ -36,6 +37,8 @@ class VerticalCandidateLabel : public views::Label {
|
| return size;
|
| }
|
|
|
| + const char* GetClassName() const override { return "VerticalCandidateLabel"; }
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(VerticalCandidateLabel);
|
| };
|
|
|
| @@ -227,6 +230,10 @@ void CandidateView::StateChanged() {
|
| SetHighlighted(true);
|
| }
|
|
|
| +const char* CandidateView::GetClassName() const {
|
| + return "CandidateView";
|
| +}
|
| +
|
| bool CandidateView::OnMouseDragged(const ui::MouseEvent& event) {
|
| if (!HitTestPoint(event.location())) {
|
| // Moves the drag target to the sibling view.
|
|
|