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

Unified Diff: chrome/browser/chromeos/input_method/candidate_window_view.h

Issue 132453002: Moves CandidateWindow model to ui/base/ime (2nd) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: chrome/browser/chromeos/input_method/candidate_window_view.h
diff --git a/chrome/browser/chromeos/input_method/candidate_window_view.h b/chrome/browser/chromeos/input_method/candidate_window_view.h
index f5848f1f18f476ff413ebed2523e20cc367f27d4..98fcc84d717583e4f85a67cd64acd8c4b3d17054 100644
--- a/chrome/browser/chromeos/input_method/candidate_window_view.h
+++ b/chrome/browser/chromeos/input_method/candidate_window_view.h
@@ -5,7 +5,7 @@
#ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_VIEW_H_
#define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_WINDOW_VIEW_H_
-#include "chromeos/ime/candidate_window.h"
+#include "ui/base/ime/candidate_window.h"
#include "ui/views/bubble/bubble_delegate.h"
#include "ui/views/controls/button/button.h"
@@ -64,7 +64,7 @@ class CandidateWindowView : public views::BubbleDelegateView,
// Updates candidates of the candidate window from |candidate_window|.
// Candidates are arranged per |orientation|.
- void UpdateCandidates(const CandidateWindow& candidate_window);
+ void UpdateCandidates(const ui::CandidateWindow& candidate_window);
void SetCursorBounds(const gfx::Rect& cursor_bounds,
const gfx::Rect& composition_head);
@@ -80,10 +80,11 @@ class CandidateWindowView : public views::BubbleDelegateView,
void UpdateVisibility();
// Initializes the candidate views if needed.
- void MaybeInitializeCandidateViews(const CandidateWindow& candidate_window);
+ void MaybeInitializeCandidateViews(
+ const ui::CandidateWindow& candidate_window);
// The candidate window data model.
- CandidateWindow candidate_window_;
+ ui::CandidateWindow candidate_window_;
// The index in the current page of the candidate currently being selected.
int selected_candidate_index_in_page_;

Powered by Google App Engine
This is Rietveld 408576698