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"
11 WebContentsViewDelegate::~WebContentsViewDelegate() {
14 gfx::NativeWindow
WebContentsViewDelegate::GetNativeWindow() {
18 WebDragDestDelegate
* WebContentsViewDelegate::GetDragDestDelegate() {
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() {
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
) {
59 } // namespace content