| 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 19 matching lines...) Expand all Loading... |
| 30 void WebContentsViewDelegate::RestoreFocus() { | 30 void WebContentsViewDelegate::RestoreFocus() { |
| 31 } | 31 } |
| 32 | 32 |
| 33 bool WebContentsViewDelegate::Focus() { | 33 bool WebContentsViewDelegate::Focus() { |
| 34 return false; | 34 return false; |
| 35 } | 35 } |
| 36 | 36 |
| 37 void WebContentsViewDelegate::TakeFocus(bool reverse) { | 37 void WebContentsViewDelegate::TakeFocus(bool reverse) { |
| 38 } | 38 } |
| 39 | 39 |
| 40 void WebContentsViewDelegate::ShowDisambiguationPopup( | |
| 41 const gfx::Rect& target_rect, | |
| 42 const SkBitmap& zoomed_bitmap, | |
| 43 const gfx::NativeView content, | |
| 44 const base::Callback<void(ui::GestureEvent*)>& gesture_cb, | |
| 45 const base::Callback<void(ui::MouseEvent*)>& mouse_cb) { | |
| 46 } | |
| 47 | |
| 48 void WebContentsViewDelegate::HideDisambiguationPopup() { | |
| 49 } | |
| 50 | |
| 51 void WebContentsViewDelegate::SizeChanged(const gfx::Size& size) { | 40 void WebContentsViewDelegate::SizeChanged(const gfx::Size& size) { |
| 52 } | 41 } |
| 53 | 42 |
| 54 void* WebContentsViewDelegate::CreateRenderWidgetHostViewDelegate( | 43 void* WebContentsViewDelegate::CreateRenderWidgetHostViewDelegate( |
| 55 RenderWidgetHost* render_widget_host) { | 44 RenderWidgetHost* render_widget_host) { |
| 56 return nullptr; | 45 return nullptr; |
| 57 } | 46 } |
| 58 | 47 |
| 59 } // namespace content | 48 } // namespace content |
| OLD | NEW |