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

Unified Diff: ui/base/ime/candidate_window.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
« no previous file with comments | « chromeos/ime/candidate_window_unittest.cc ('k') | ui/base/ime/candidate_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/candidate_window.h
diff --git a/chromeos/ime/candidate_window.h b/ui/base/ime/candidate_window.h
similarity index 89%
rename from chromeos/ime/candidate_window.h
rename to ui/base/ime/candidate_window.h
index d0f5f895feeb74aed3e5755ba0e1418f7d43e4ae..d7523e176bcd7283605bbd9802f0cd843b0458ae 100644
--- a/chromeos/ime/candidate_window.h
+++ b/ui/base/ime/candidate_window.h
@@ -1,28 +1,27 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROMEOS_IME_CANDIDATE_WINDOW_H_
-#define CHROMEOS_IME_CANDIDATE_WINDOW_H_
+#ifndef UI_BASE_IME_CANDIDATE_WINDOW_H_
+#define UI_BASE_IME_CANDIDATE_WINDOW_H_
#include <string>
#include <vector>
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
-#include "chromeos/chromeos_export.h"
+#include "ui/base/ui_base_export.h"
-namespace chromeos {
-namespace input_method {
+namespace ui {
// CandidateWindow represents the structure of candidates generated from IME.
-class CHROMEOS_EXPORT CandidateWindow {
+class UI_BASE_EXPORT CandidateWindow {
public:
enum Orientation {
HORIZONTAL = 0,
VERTICAL = 1,
};
- struct CandidateWindowProperty {
+ struct UI_BASE_EXPORT CandidateWindowProperty {
CandidateWindowProperty();
virtual ~CandidateWindowProperty();
int page_size;
@@ -38,7 +37,7 @@ class CHROMEOS_EXPORT CandidateWindow {
};
// Represents a candidate entry.
- struct Entry {
+ struct UI_BASE_EXPORT Entry {
Entry();
virtual ~Entry();
std::string value;
@@ -121,7 +120,6 @@ class CHROMEOS_EXPORT CandidateWindow {
DISALLOW_COPY_AND_ASSIGN(CandidateWindow);
};
-} // namespace input_method
-} // namespace chromeos
+} // namespace ui
-#endif // CHROMEOS_IME_CANDIDATE_WINDOW_H_
+#endif // UI_BASE_IME_CANDIDATE_WINDOW_H_
« no previous file with comments | « chromeos/ime/candidate_window_unittest.cc ('k') | ui/base/ime/candidate_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698