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

Unified Diff: trunk/src/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc

Issue 130833002: Revert 243777 "Moves CandidateWindow model to ui/base/ime." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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
Index: trunk/src/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc (revision 243783)
+++ trunk/src/chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc (working copy)
@@ -19,6 +19,7 @@
#include "ui/gfx/screen.h"
#include "ui/views/widget/widget.h"
+
namespace chromeos {
namespace input_method {
@@ -100,7 +101,7 @@
// static
void CandidateWindowControllerImpl::ConvertLookupTableToInfolistEntry(
- const ui::CandidateWindow& candidate_window,
+ const CandidateWindow& candidate_window,
std::vector<InfolistEntry>* infolist_entries,
bool* has_highlighted) {
DCHECK(infolist_entries);
@@ -112,7 +113,7 @@
candidate_window.cursor_position() % candidate_window.page_size();
for (size_t i = 0; i < candidate_window.candidates().size(); ++i) {
- const ui::CandidateWindow::Entry& ibus_entry =
+ const CandidateWindow::Entry& ibus_entry =
candidate_window.candidates()[i];
if (ibus_entry.description_title.empty() &&
ibus_entry.description_body.empty())
@@ -128,7 +129,7 @@
}
void CandidateWindowControllerImpl::UpdateLookupTable(
- const ui::CandidateWindow& candidate_window,
+ const CandidateWindow& candidate_window,
bool visible) {
// If it's not visible, hide the lookup table and return.
if (!visible) {

Powered by Google App Engine
This is Rietveld 408576698