| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/webui/test_html_dialog_ui_delegate.h" | 5 #include "chrome/browser/ui/webui/test_html_dialog_ui_delegate.h" |
| 6 | 6 |
| 7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
| 8 | 8 |
| 9 using content::WebContents; | 9 using content::WebContents; |
| 10 using content::WebUIMessageHandler; |
| 10 | 11 |
| 11 namespace test { | 12 namespace test { |
| 12 | 13 |
| 13 TestHtmlDialogUIDelegate::TestHtmlDialogUIDelegate(const GURL& url) | 14 TestHtmlDialogUIDelegate::TestHtmlDialogUIDelegate(const GURL& url) |
| 14 : url_(url), | 15 : url_(url), |
| 15 size_(400, 400) { | 16 size_(400, 400) { |
| 16 } | 17 } |
| 17 | 18 |
| 18 TestHtmlDialogUIDelegate::~TestHtmlDialogUIDelegate() { | 19 TestHtmlDialogUIDelegate::~TestHtmlDialogUIDelegate() { |
| 19 } | 20 } |
| (...skipping 29 matching lines...) Expand all Loading... |
| 49 bool* out_close_dialog) { | 50 bool* out_close_dialog) { |
| 50 if (out_close_dialog) | 51 if (out_close_dialog) |
| 51 *out_close_dialog = true; | 52 *out_close_dialog = true; |
| 52 } | 53 } |
| 53 | 54 |
| 54 bool TestHtmlDialogUIDelegate::ShouldShowDialogTitle() const { | 55 bool TestHtmlDialogUIDelegate::ShouldShowDialogTitle() const { |
| 55 return true; | 56 return true; |
| 56 } | 57 } |
| 57 | 58 |
| 58 } // namespace test | 59 } // namespace test |
| OLD | NEW |