Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: chrome/browser/ui/webui/test_html_dialog_ui_delegate.cc

Issue 8986007: Move WebUIMessageHandler to its own file in the public directory and put it in the content namesp... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/test_html_dialog_ui_delegate.h ('k') | chrome/browser/ui/webui/tracing_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698