Move ash/system/session to ash/system/chromeos/session
[chromium-blink-merge.git] / ui / web_dialogs / web_dialog_delegate.cc
blobd3688e04cbe27d7a0a6304ae0c2812d62bd66e90
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"
7 namespace ui {
9 std::string WebDialogDelegate::GetDialogName() const {
10 return std::string();
13 void WebDialogDelegate::GetMinimumDialogSize(gfx::Size* size) const {
14 GetDialogSize(size);
17 bool WebDialogDelegate::CanCloseDialog() const {
18 return true;
21 void WebDialogDelegate::OnDialogCloseFromWebUI(
22 const std::string& json_retval) {
23 OnDialogClosed(json_retval);
26 bool WebDialogDelegate::HandleContextMenu(
27 const content::ContextMenuParams& params) {
28 return false;
31 bool WebDialogDelegate::HandleOpenURLFromTab(
32 content::WebContents* source,
33 const content::OpenURLParams& params,
34 content::WebContents** out_new_contents) {
35 return false;
38 bool WebDialogDelegate::HandleAddNewContents(
39 content::WebContents* source,
40 content::WebContents* new_contents,
41 WindowOpenDisposition disposition,
42 const gfx::Rect& initial_pos,
43 bool user_gesture) {
44 return false;
47 } // namespace ui