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

Unified Diff: chrome/browser/android/vr_shell/textures/render_text_wrapper.cc

Issue 2969623004: RenderText: Allow strike-through line thickness to be customized. (Closed)
Patch Set: Address final nits. Created 3 years, 5 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: chrome/browser/android/vr_shell/textures/render_text_wrapper.cc
diff --git a/chrome/browser/android/vr_shell/textures/render_text_wrapper.cc b/chrome/browser/android/vr_shell/textures/render_text_wrapper.cc
index 487c67b2b0fb7abf68ae1443f23c957e6a2f455d..4576bed4d02d562ecc788577473be448fcaa9e75 100644
--- a/chrome/browser/android/vr_shell/textures/render_text_wrapper.cc
+++ b/chrome/browser/android/vr_shell/textures/render_text_wrapper.cc
@@ -29,4 +29,8 @@ void RenderTextWrapper::ApplyStyle(gfx::TextStyle style,
render_text_->ApplyStyle(style, value, range);
}
+void RenderTextWrapper::SetStrikeThicknessFactor(SkScalar factor) {
+ render_text_->set_strike_thickness_factor(factor);
+}
+
} // namespace vr_shell

Powered by Google App Engine
This is Rietveld 408576698