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. 4 5 #include "content/public/browser/web_contents_view_delegate.h" 6 7 #include <stddef.h> 8 9 namespace content { 10 ~WebContentsViewDelegate()11WebContentsViewDelegate::~WebContentsViewDelegate() { 12 } 13 GetDragDestDelegate()14WebDragDestDelegate* WebContentsViewDelegate::GetDragDestDelegate() { 15 return NULL; 16 } 17 ShowContextMenu(RenderFrameHost * render_frame_host,const ContextMenuParams & params)18void WebContentsViewDelegate::ShowContextMenu( 19 RenderFrameHost* render_frame_host, 20 const ContextMenuParams& params) { 21 } 22 StoreFocus()23void WebContentsViewDelegate::StoreFocus() { 24 } 25 RestoreFocus()26void WebContentsViewDelegate::RestoreFocus() { 27 } 28 Focus()29bool WebContentsViewDelegate::Focus() { 30 return false; 31 } 32 TakeFocus(bool reverse)33void WebContentsViewDelegate::TakeFocus(bool reverse) { 34 } 35 SizeChanged(const gfx::Size & size)36void WebContentsViewDelegate::SizeChanged(const gfx::Size& size) { 37 } 38 CreateRenderWidgetHostViewDelegate(RenderWidgetHost * render_widget_host)39void* WebContentsViewDelegate::CreateRenderWidgetHostViewDelegate( 40 RenderWidgetHost* render_widget_host) { 41 return NULL; 42 } 43 44 } // namespace content 45