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

Unified Diff: ui/views/view.h

Issue 2348143003: MacViews: Implement Force Touch/Mac dictionary lookup for Textfields. (Closed)
Patch Set: Views export, reduntant forward decl. 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
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 55cc02bb54da4eaa205df9f8adc17d5f84245279..57da2b0d35827b123d1ff39ccc57b2e9dd686456 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -73,6 +73,7 @@ class DragController;
class FocusManager;
class FocusTraversable;
class LayoutManager;
+class LookupWordClient;
class NativeViewAccessibility;
class ScrollView;
class Widget;
@@ -717,6 +718,9 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
ViewTargeter* targeter() const { return targeter_.get(); }
+ // Returns the LookupWordClient associated with this view.
+ virtual LookupWordClient* GetLookupWordClient();
+
// Overridden from ui::EventTarget:
bool CanAcceptEvent(const ui::Event& event) override;
ui::EventTarget* GetParentTarget() override;

Powered by Google App Engine
This is Rietveld 408576698