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

Unified Diff: ui/views/controls/textfield/native_textfield_win.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
Index: ui/views/controls/textfield/native_textfield_win.h
diff --git a/ui/views/controls/textfield/native_textfield_win.h b/ui/views/controls/textfield/native_textfield_win.h
index 6e119b11a60af0e28626d8fac7a599b6156552a7..a8f645e56a85399c56dca596477ad9966e02d1a0 100644
--- a/ui/views/controls/textfield/native_textfield_win.h
+++ b/ui/views/controls/textfield/native_textfield_win.h
@@ -79,8 +79,8 @@ class NativeTextfieldWin
virtual View* GetView() OVERRIDE;
virtual gfx::NativeView GetTestingHandle() const OVERRIDE;
virtual bool IsIMEComposing() const OVERRIDE;
- virtual ui::Range GetSelectedRange() const OVERRIDE;
- virtual void SelectRange(const ui::Range& range) OVERRIDE;
+ virtual gfx::Range GetSelectedRange() const OVERRIDE;
+ virtual void SelectRange(const gfx::Range& range) OVERRIDE;
virtual gfx::SelectionModel GetSelectionModel() const OVERRIDE;
virtual void SelectSelectionModel(const gfx::SelectionModel& sel) OVERRIDE;
virtual size_t GetCursorPosition() const OVERRIDE;
@@ -92,11 +92,11 @@ class NativeTextfieldWin
virtual void HandleBlur() OVERRIDE;
virtual ui::TextInputClient* GetTextInputClient() OVERRIDE;
virtual void SetColor(SkColor value) OVERRIDE;
- virtual void ApplyColor(SkColor value, const ui::Range& range) OVERRIDE;
+ virtual void ApplyColor(SkColor value, const gfx::Range& range) OVERRIDE;
virtual void SetStyle(gfx::TextStyle style, bool value) OVERRIDE;
virtual void ApplyStyle(gfx::TextStyle style,
bool value,
- const ui::Range& range) OVERRIDE;
+ const gfx::Range& range) OVERRIDE;
virtual void ClearEditHistory() OVERRIDE;
virtual int GetFontHeight() OVERRIDE;
virtual int GetTextfieldBaseline() const OVERRIDE;
@@ -113,7 +113,7 @@ class NativeTextfieldWin
virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
// ui::TSFEventRouterObserver:
- virtual void OnTextUpdated(const ui::Range& composition_range) OVERRIDE;
+ virtual void OnTextUpdated(const gfx::Range& composition_range) OVERRIDE;
virtual void OnTSFStartComposition() OVERRIDE;
virtual void OnTSFEndComposition() OVERRIDE;
« no previous file with comments | « ui/views/controls/textfield/native_textfield_views_unittest.cc ('k') | ui/views/controls/textfield/native_textfield_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698