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

Unified Diff: ui/gfx/render_text.h

Issue 2660593002: Paint text cursor in LAYER_SOLID_COLOR (Closed)
Patch Set: address comments Created 3 years, 10 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 36bec3e9408db25fb71abd41b3b184d8eccc1714..4d72f789c9b345183ef0a60d1f4f6678872a159e 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_;

Powered by Google App Engine
This is Rietveld 408576698