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

Unified Diff: ui/gfx/render_text.h

Issue 2660593002: Paint text cursor in LAYER_SOLID_COLOR (Closed)
Patch Set: fix typo Created 3 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: ui/gfx/render_text.h
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
index 567a647f93fb34299d8cc3ffbde06c9c1e36be17..5f47ecdc116947d0a872f50c64da538fc3d9b280 100644
--- a/ui/gfx/render_text.h
+++ b/ui/gfx/render_text.h
@@ -250,9 +250,6 @@ class GFX_EXPORT RenderText {
bool cursor_enabled() const { return cursor_enabled_; }
void SetCursorEnabled(bool cursor_enabled);
- bool cursor_visible() const { return cursor_visible_; }
- void set_cursor_visible(bool visible) { cursor_visible_ = visible; }
-
SkColor cursor_color() const { return cursor_color_; }
void set_cursor_color(SkColor color) { cursor_color_ = color; }
@@ -765,9 +762,6 @@ class GFX_EXPORT RenderText {
// for the cursor when positioning text.
bool cursor_enabled_;
- // The cursor visibility.
- bool cursor_visible_;
-
// The color used for the cursor.
SkColor cursor_color_;
sadrul 2017/02/02 17:15:31 Remove this too?
yiyix 2017/02/06 21:36:17 This is used in DrawCursor. I will remove this var

Powered by Google App Engine
This is Rietveld 408576698