OLD | NEW |
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 Loading... |
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 |
OLD | NEW |