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

Unified Diff: ui/views/view.h

Issue 2348143003: MacViews: Implement Force Touch/Mac dictionary lookup for Textfields. (Closed)
Patch Set: Address nits. 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
« no previous file with comments | « ui/views/controls/textfield/textfield_model.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 55cc02bb54da4eaa205df9f8adc17d5f84245279..28171db1da329421e7c4c77e6081b08b9f339818 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -76,6 +76,7 @@ class LayoutManager;
class NativeViewAccessibility;
class ScrollView;
class Widget;
+class WordLookupClient;
namespace internal {
class PreEventDispatchHandler;
@@ -717,6 +718,9 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
ViewTargeter* targeter() const { return targeter_.get(); }
+ // Returns the WordLookupClient associated with this view.
+ virtual WordLookupClient* GetWordLookupClient();
+
// Overridden from ui::EventTarget:
bool CanAcceptEvent(const ui::Event& event) override;
ui::EventTarget* GetParentTarget() override;
« no previous file with comments | « ui/views/controls/textfield/textfield_model.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698