| Index: ui/web_dialogs/web_dialog_delegate.cc
|
| diff --git a/ui/web_dialogs/web_dialog_delegate.cc b/ui/web_dialogs/web_dialog_delegate.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7e920cc5cdd52df869d881a840eb880d4b53daed
|
| --- /dev/null
|
| +++ b/ui/web_dialogs/web_dialog_delegate.cc
|
| @@ -0,0 +1,38 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/web_dialogs/web_dialog_delegate.h"
|
| +
|
| +namespace ui {
|
| +
|
| +std::string WebDialogDelegate::GetDialogName() const {
|
| + return std::string();
|
| +}
|
| +
|
| +void WebDialogDelegate::GetMinimumDialogSize(gfx::Size* size) const {
|
| + GetDialogSize(size);
|
| +}
|
| +
|
| +bool WebDialogDelegate::HandleContextMenu(
|
| + const content::ContextMenuParams& params) {
|
| + return false;
|
| +}
|
| +
|
| +bool WebDialogDelegate::HandleOpenURLFromTab(
|
| + content::WebContents* source,
|
| + const content::OpenURLParams& params,
|
| + content::WebContents** out_new_contents) {
|
| + return false;
|
| +}
|
| +
|
| +bool WebDialogDelegate::HandleAddNewContents(
|
| + content::WebContents* source,
|
| + content::WebContents* new_contents,
|
| + WindowOpenDisposition disposition,
|
| + const gfx::Rect& initial_pos,
|
| + bool user_gesture) {
|
| + return false;
|
| +}
|
| +
|
| +} // namespace ui
|
|
|