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

Unified Diff: ui/views/controls/textfield/textfield.h

Issue 2348143003: MacViews: Implement Force Touch/Mac dictionary lookup for Textfields. (Closed)
Patch Set: --- Created 4 years, 3 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/views/controls/textfield/textfield.h
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h
index 22ff37b869acab431c7710407f0566326106d93e..f1c6770b7d9889ee7ffc925ae7af2b904f40c346 100644
--- a/ui/views/controls/textfield/textfield.h
+++ b/ui/views/controls/textfield/textfield.h
@@ -207,6 +207,9 @@ class VIEWS_EXPORT Textfield : public View,
int GetBaseline() const override;
gfx::Size GetPreferredSize() const override;
const char* GetClassName() const override;
+ bool GetWordAtPoint(const gfx::Point& point,
tapted 2016/09/21 04:06:56 maybe GetStyledWordAtPoint
karandeepb 2016/09/22 08:17:39 Changed to GetDecoratedWordAtPoint.
+ gfx::NativeStyledString word,
+ gfx::Point* baseline_point) override;
gfx::NativeCursor GetCursor(const ui::MouseEvent& event) override;
bool OnMousePressed(const ui::MouseEvent& event) override;
bool OnMouseDragged(const ui::MouseEvent& event) override;

Powered by Google App Engine
This is Rietveld 408576698