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

Side by Side 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, 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/browser/web_contents_view_delegate.h" 5 #include "content/public/browser/web_contents_view_delegate.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 15 matching lines...) Expand all
26 void WebContentsViewDelegate::RestoreFocus() { 26 void WebContentsViewDelegate::RestoreFocus() {
27 } 27 }
28 28
29 bool WebContentsViewDelegate::Focus() { 29 bool WebContentsViewDelegate::Focus() {
30 return false; 30 return false;
31 } 31 }
32 32
33 void WebContentsViewDelegate::TakeFocus(bool reverse) { 33 void WebContentsViewDelegate::TakeFocus(bool reverse) {
34 } 34 }
35 35
36 void WebContentsViewDelegate::ShowDisambiguationPopup(
37 const gfx::Rect& target_rect,
38 const SkBitmap& zoomed_bitmap,
39 const gfx::NativeView content,
40 const base::Callback<void(ui::GestureEvent*)>& gesture_cb,
41 const base::Callback<void(ui::MouseEvent*)>& mouse_cb) {
42 }
43
44 void WebContentsViewDelegate::HideDisambiguationPopup() {
45 }
46
36 void WebContentsViewDelegate::SizeChanged(const gfx::Size& size) { 47 void WebContentsViewDelegate::SizeChanged(const gfx::Size& size) {
37 } 48 }
38 49
39 void* WebContentsViewDelegate::CreateRenderWidgetHostViewDelegate( 50 void* WebContentsViewDelegate::CreateRenderWidgetHostViewDelegate(
40 RenderWidgetHost* render_widget_host) { 51 RenderWidgetHost* render_widget_host) {
41 return NULL; 52 return NULL;
42 } 53 }
43 54
44 } // namespace content 55 } // namespace content
OLDNEW
« 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