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

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

Issue 2348143003: MacViews: Implement Force Touch/Mac dictionary lookup for Textfields. (Closed)
Patch Set: Fix compile. 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 c6dd5c11eaa2def01c015a62a224062858bb2549..b839a0c757098cd44ea6700ebc5a1afb9211726c 100644
--- a/ui/views/controls/textfield/textfield.h
+++ b/ui/views/controls/textfield/textfield.h
@@ -209,6 +209,7 @@ class VIEWS_EXPORT Textfield : public View,
int GetBaseline() const override;
gfx::Size GetPreferredSize() const override;
const char* GetClassName() const override;
+ gfx::RenderText* GetRenderText() const override;
gfx::NativeCursor GetCursor(const ui::MouseEvent& event) override;
bool OnMousePressed(const ui::MouseEvent& event) override;
bool OnMouseDragged(const ui::MouseEvent& event) override;
@@ -308,9 +309,6 @@ class VIEWS_EXPORT Textfield : public View,
// Inserts or appends a character in response to an IME operation.
virtual void DoInsertChar(base::char16 ch);
- // Returns the TextfieldModel's text/cursor/selection rendering model.
- gfx::RenderText* GetRenderText() const;
-
gfx::Point last_click_location() const { return last_click_location_; }
// Get the text from the selection clipboard.

Powered by Google App Engine
This is Rietveld 408576698