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

Unified Diff: ui/gfx/render_text.h

Issue 795933009: [AiS] for desktop, two lines and font sytles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed braces Created 5 years, 9 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 6170c57c28a88251cfa2c7214fe709995789ffb8..92a9566b950b970dd75321056c3d790dfa0b855b 100644
--- a/ui/gfx/render_text.h
+++ b/ui/gfx/render_text.h
@@ -207,6 +207,7 @@ class GFX_EXPORT RenderText {
const base::string16& text() const { return text_; }
void SetText(const base::string16& text);
+ void AppendText(const base::string16& text);
HorizontalAlignment horizontal_alignment() const {
return horizontal_alignment_;
@@ -603,6 +604,8 @@ class GFX_EXPORT RenderText {
size_t TextIndexToGivenTextIndex(const base::string16& given_text,
size_t index);
+ void DoAppendText(const base::string16& text);
+
// A convenience function to check whether the glyph attached to the caret
// is within the given range.
static bool RangeContainsCaret(const Range& range,

Powered by Google App Engine
This is Rietveld 408576698