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

Side by Side Diff: ui/chromeos/ime/candidate_window_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_WINDOW_VIEW_H_ 5 #ifndef UI_CHROMEOS_IME_CANDIDATE_WINDOW_VIEW_H_
6 #define ASH_IME_CANDIDATE_WINDOW_VIEW_H_ 6 #define UI_CHROMEOS_IME_CANDIDATE_WINDOW_VIEW_H_
7 7
8 #include "ash/ash_export.h"
9 #include "ui/base/ime/candidate_window.h" 8 #include "ui/base/ime/candidate_window.h"
9 #include "ui/chromeos/ui_chromeos_export.h"
10 #include "ui/views/bubble/bubble_delegate.h" 10 #include "ui/views/bubble/bubble_delegate.h"
11 #include "ui/views/controls/button/button.h" 11 #include "ui/views/controls/button/button.h"
12 12
13 namespace ash { 13 namespace ui {
14 namespace ime { 14 namespace ime {
15 15
16 class CandidateView; 16 class CandidateView;
17 class InformationTextArea; 17 class InformationTextArea;
18 18
19 // CandidateWindowView is the main container of the candidate window UI. 19 // CandidateWindowView is the main container of the candidate window UI.
20 class ASH_EXPORT CandidateWindowView : public views::BubbleDelegateView, 20 class UI_CHROMEOS_EXPORT CandidateWindowView : public views::BubbleDelegateView,
21 public views::ButtonListener { 21 public views::ButtonListener {
22 public: 22 public:
23 // The object can be monitored by the observer. 23 // The object can be monitored by the observer.
24 class Observer { 24 class Observer {
25 public: 25 public:
26 virtual ~Observer() {} 26 virtual ~Observer() {}
27 // The function is called when a candidate is committed. 27 // The function is called when a candidate is committed.
28 virtual void OnCandidateCommitted(int index) = 0; 28 virtual void OnCandidateCommitted(int index) = 0;
29 }; 29 };
30 30
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 bool should_show_upper_side_; 121 bool should_show_upper_side_;
122 122
123 // True if the candidate window was open. This is used to determine when to 123 // True if the candidate window was open. This is used to determine when to
124 // send OnCandidateWindowOpened and OnCandidateWindowClosed events. 124 // send OnCandidateWindowOpened and OnCandidateWindowClosed events.
125 bool was_candidate_window_open_; 125 bool was_candidate_window_open_;
126 126
127 DISALLOW_COPY_AND_ASSIGN(CandidateWindowView); 127 DISALLOW_COPY_AND_ASSIGN(CandidateWindowView);
128 }; 128 };
129 129
130 } // namespace ime 130 } // namespace ime
131 } // namespace ash 131 } // namespace ui
132 132
133 #endif // ASH_IME_CANDIDATE_WINDOW_VIEW_H_ 133 #endif // UI_CHROMEOS_IME_CANDIDATE_WINDOW_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698