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

Unified Diff: ui/gfx/render_text_mac.h

Issue 2413223003: Views:: Make Labels support text selection. (Closed)
Patch Set: Created 4 years, 2 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_mac.h
diff --git a/ui/gfx/render_text_mac.h b/ui/gfx/render_text_mac.h
index f24b65e8676b074b4b2e42e4cdefebdd41ab692c..4f99cb362aa71b800c248b518343122e8ff8cd9a 100644
--- a/ui/gfx/render_text_mac.h
+++ b/ui/gfx/render_text_mac.h
@@ -36,6 +36,7 @@ class GFX_EXPORT RenderTextMac : public RenderText {
Size GetStringSize() override;
SizeF GetStringSizeF() override;
SelectionModel FindCursorPosition(const Point& point) override;
+ bool IsSelectionSupported() const override;
std::vector<FontSpan> GetFontSpansForTesting() override;
protected:

Powered by Google App Engine
This is Rietveld 408576698