1 // Copyright (c) 2012 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 "ui/web_dialogs/web_dialog_delegate.h"
9 std::string
WebDialogDelegate::GetDialogName() const {
13 void WebDialogDelegate::GetMinimumDialogSize(gfx::Size
* size
) const {
17 bool WebDialogDelegate::HandleContextMenu(
18 const content::ContextMenuParams
& params
) {
22 bool WebDialogDelegate::HandleOpenURLFromTab(
23 content::WebContents
* source
,
24 const content::OpenURLParams
& params
,
25 content::WebContents
** out_new_contents
) {
29 bool WebDialogDelegate::HandleAddNewContents(
30 content::WebContents
* source
,
31 content::WebContents
* new_contents
,
32 WindowOpenDisposition disposition
,
33 const gfx::Rect
& initial_pos
,