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

Unified Diff: ui/gfx/render_text.h

Issue 2688883002: Revert [MacViews] Implemented text context menu (Closed)
Patch Set: 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
« no previous file with comments | « ui/gfx/decorated_text_mac.mm ('k') | ui/gfx/render_text.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text.h
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
index 5feb6a257655f48fe97173e91d45baea359c5084..36bec3e9408db25fb71abd41b3b184d8eccc1714 100644
--- a/ui/gfx/render_text.h
+++ b/ui/gfx/render_text.h
@@ -527,19 +527,11 @@ class GFX_EXPORT RenderText {
// Retrieves the word displayed at the given |point| along with its styling
// information. |point| is in the view's coordinates. If no word is displayed
// at the point, returns a nearby word. |baseline_point| should correspond to
- // the baseline point of the leftmost glyph of the word in the view's
+ // the baseline point of the leftmost glyph of the |word| in the view's
// coordinates. Returns false, if no word can be retrieved.
- bool GetDecoratedWordAndBaselineAtPoint(const Point& point,
- DecoratedText* decorated_word,
- Point* baseline_point);
-
- // Retrieves the text at |range| along with its styling information.
- // |baseline_point| should correspond to the baseline point of
- // the leftmost glyph of the word in the view's coordinates. Returns
- // false, if no word can be retrieved.
- bool GetDecoratedTextAndBaselineForRange(const Range& range,
- DecoratedText* decorated_text,
- Point* baseline_point);
+ bool GetDecoratedWordAtPoint(const Point& point,
+ DecoratedText* decorated_word,
+ Point* baseline_point);
// Retrieves the text in the given |range|.
base::string16 GetTextFromRange(const Range& range) const;
« no previous file with comments | « ui/gfx/decorated_text_mac.mm ('k') | ui/gfx/render_text.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698