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

Unified Diff: ui/base/ime/win/tsf_event_router.h

Issue 24012002: Move Range code to gfx. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: d Created 7 years, 3 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 | « ui/base/ime/win/imm32_manager.cc ('k') | ui/base/ime/win/tsf_event_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/win/tsf_event_router.h
diff --git a/ui/base/ime/win/tsf_event_router.h b/ui/base/ime/win/tsf_event_router.h
index be2311c9fced3023f53f9b36b5468a7f776049c5..04a2a1e9eb009a521fce371fd4852663a4002219 100644
--- a/ui/base/ime/win/tsf_event_router.h
+++ b/ui/base/ime/win/tsf_event_router.h
@@ -15,8 +15,8 @@
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "ui/base/ime/text_input_type.h"
-#include "ui/base/range/range.h"
#include "ui/base/ui_export.h"
+#include "ui/gfx/range/range.h"
struct ITfDocumentMgr;
@@ -33,8 +33,8 @@ class TSFEventRouterObserver {
virtual void OnTSFStartComposition() {}
// Called when the text contents are updated. If there is no composition,
- // ui::Range::InvalidRange is passed to |composition_range|.
- virtual void OnTextUpdated(const ui::Range& composition_range) {}
+ // gfx::Range::InvalidRange is passed to |composition_range|.
+ virtual void OnTextUpdated(const gfx::Range& composition_range) {}
// Called when a composition is terminated.
virtual void OnTSFEndComposition() {}
@@ -60,7 +60,7 @@ class UI_EXPORT TSFEventRouter {
// Callbacks from the TSFEventRouterDelegate:
void OnCandidateWindowCountChanged(size_t window_count);
void OnTSFStartComposition();
- void OnTextUpdated(const ui::Range& composition_range);
+ void OnTextUpdated(const gfx::Range& composition_range);
void OnTSFEndComposition();
// Sets |thread_manager| to be monitored. |thread_manager| can be NULL.
« no previous file with comments | « ui/base/ime/win/imm32_manager.cc ('k') | ui/base/ime/win/tsf_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698