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

Unified Diff: content/public/browser/web_contents_view_delegate.cc

Issue 610893003: Remove #ifdefs around ShowLinkDisambiguationPopup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix my awful spelling Created 6 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: content/public/browser/web_contents_view_delegate.cc
diff --git a/content/public/browser/web_contents_view_delegate.cc b/content/public/browser/web_contents_view_delegate.cc
index 6483fafe393cd96ba787eae73fc2421aaa3fd480..e582621be3f839f75b0d65a09f85c668d172f43a 100644
--- a/content/public/browser/web_contents_view_delegate.cc
+++ b/content/public/browser/web_contents_view_delegate.cc
@@ -33,6 +33,17 @@ bool WebContentsViewDelegate::Focus() {
void WebContentsViewDelegate::TakeFocus(bool reverse) {
}
+void WebContentsViewDelegate::ShowDisambiguationPopup(
+ const gfx::Rect& target_rect,
+ const SkBitmap& zoomed_bitmap,
+ const gfx::NativeView content,
+ const base::Callback<void(ui::GestureEvent*)>& gesture_cb,
+ const base::Callback<void(ui::MouseEvent*)>& mouse_cb) {
+}
+
+void WebContentsViewDelegate::HideDisambiguationPopup() {
+}
+
void WebContentsViewDelegate::SizeChanged(const gfx::Size& size) {
}
« no previous file with comments | « content/public/browser/web_contents_view_delegate.h ('k') | content/shell/browser/shell_web_contents_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698