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

Unified Diff: ui/views/view.cc

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
« ui/views/view.h ('K') | « ui/views/view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index 847f807f356b944d275b238348bdb7db88b62032..d4ecbebafcdc2ef45a6436caa119fea3e147b64b 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -921,6 +921,15 @@ View* View::GetTooltipHandlerForPoint(const gfx::Point& point) {
return this;
}
+const gfx::RenderText* View::GetRenderText() const {
+ return nullptr;
+}
+
+gfx::RenderText* View::GetRenderText() {
+ return const_cast<gfx::RenderText*>(
+ const_cast<const View*>(this)->GetRenderText());
+}
+
gfx::NativeCursor View::GetCursor(const ui::MouseEvent& event) {
#if defined(OS_WIN)
static ui::Cursor arrow;
« ui/views/view.h ('K') | « ui/views/view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698