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

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

Issue 2348143003: MacViews: Implement Force Touch/Mac dictionary lookup for Textfields. (Closed)
Patch Set: Address review. 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 8b39ecba133bc4d1be1b6e66660fda71a3504252..20b01ad11798f41962cfefb89651f7f63e0bf198 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