• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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()11 WebContentsViewDelegate::~WebContentsViewDelegate() {
12 }
13 
GetDragDestDelegate()14 WebDragDestDelegate* WebContentsViewDelegate::GetDragDestDelegate() {
15   return NULL;
16 }
17 
ShowContextMenu(RenderFrameHost * render_frame_host,const ContextMenuParams & params)18 void WebContentsViewDelegate::ShowContextMenu(
19     RenderFrameHost* render_frame_host,
20     const ContextMenuParams& params) {
21 }
22 
StoreFocus()23 void WebContentsViewDelegate::StoreFocus() {
24 }
25 
RestoreFocus()26 void WebContentsViewDelegate::RestoreFocus() {
27 }
28 
Focus()29 bool WebContentsViewDelegate::Focus() {
30   return false;
31 }
32 
TakeFocus(bool reverse)33 void WebContentsViewDelegate::TakeFocus(bool reverse) {
34 }
35 
SizeChanged(const gfx::Size & size)36 void WebContentsViewDelegate::SizeChanged(const gfx::Size& size) {
37 }
38 
CreateRenderWidgetHostViewDelegate(RenderWidgetHost * render_widget_host)39 void* WebContentsViewDelegate::CreateRenderWidgetHostViewDelegate(
40     RenderWidgetHost* render_widget_host) {
41   return NULL;
42 }
43 
44 }  // namespace content
45