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

Unified Diff: ui/views/controls/textfield/native_textfield_views.h

Issue 11535014: Replace StyleRange with BreakList; update RenderText, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 7 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 | « ui/views/controls/link.cc ('k') | ui/views/controls/textfield/native_textfield_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/native_textfield_views.h
diff --git a/ui/views/controls/textfield/native_textfield_views.h b/ui/views/controls/textfield/native_textfield_views.h
index df878a9fdd4196c8002712c136412a8e1e6e8016..80259d8f64cdc118ccda03ebf029f83d6f382e6d 100644
--- a/ui/views/controls/textfield/native_textfield_views.h
+++ b/ui/views/controls/textfield/native_textfield_views.h
@@ -130,8 +130,12 @@ class VIEWS_EXPORT NativeTextfieldViews : public TouchSelectionClientView,
virtual void HandleFocus() OVERRIDE;
virtual void HandleBlur() OVERRIDE;
virtual ui::TextInputClient* GetTextInputClient() OVERRIDE;
- virtual void ApplyStyleRange(const gfx::StyleRange& style) OVERRIDE;
- virtual void ApplyDefaultStyle() OVERRIDE;
+ virtual void SetColor(SkColor value) OVERRIDE;
+ virtual void ApplyColor(SkColor value, const ui::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;
virtual void ClearEditHistory() OVERRIDE;
virtual int GetFontHeight() OVERRIDE;
virtual int GetTextfieldBaseline() const OVERRIDE;
« no previous file with comments | « ui/views/controls/link.cc ('k') | ui/views/controls/textfield/native_textfield_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698