ApplicationImpl cleanup, part 1:
[chromium-blink-merge.git] / content / public / browser / web_contents_view_delegate.cc
blob5a2020433dd7888bbe6df230d909457e9a7cb8da
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
3 // found in the LICENSE file.
5 #include "content/public/browser/web_contents_view_delegate.h"
7 #include <stddef.h>
9 namespace content {
11 WebContentsViewDelegate::~WebContentsViewDelegate() {
14 gfx::NativeWindow WebContentsViewDelegate::GetNativeWindow() {
15 return nullptr;
18 WebDragDestDelegate* WebContentsViewDelegate::GetDragDestDelegate() {
19 return nullptr;
22 void WebContentsViewDelegate::ShowContextMenu(
23 RenderFrameHost* render_frame_host,
24 const ContextMenuParams& params) {
27 void WebContentsViewDelegate::StoreFocus() {
30 void WebContentsViewDelegate::RestoreFocus() {
33 bool WebContentsViewDelegate::Focus() {
34 return false;
37 void WebContentsViewDelegate::TakeFocus(bool reverse) {
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) {
48 void WebContentsViewDelegate::HideDisambiguationPopup() {
51 void WebContentsViewDelegate::SizeChanged(const gfx::Size& size) {
54 void* WebContentsViewDelegate::CreateRenderWidgetHostViewDelegate(
55 RenderWidgetHost* render_widget_host) {
56 return nullptr;
59 } // namespace content