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

Side by Side Diff: chrome/test/base/test_html_dialog_observer.cc

Issue 9150021: Rename WebUI to WebUIImpl. (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/test/base/test_html_dialog_observer.h" 5 #include "chrome/test/base/test_html_dialog_observer.h"
6 6
7 #include "chrome/common/chrome_notification_types.h" 7 #include "chrome/common/chrome_notification_types.h"
8 #include "content/test/js_injection_ready_observer.h" 8 #include "content/test/js_injection_ready_observer.h"
9 #include "chrome/test/base/ui_test_utils.h" 9 #include "chrome/test/base/ui_test_utils.h"
10 #include "content/public/browser/notification_service.h" 10 #include "content/public/browser/notification_service.h"
11 #include "content/browser/webui/web_ui.h" 11 #include "content/browser/webui/web_ui_impl.h"
12 #include "content/public/browser/navigation_controller.h" 12 #include "content/public/browser/navigation_controller.h"
13 #include "content/public/browser/notification_details.h" 13 #include "content/public/browser/notification_details.h"
14 #include "content/public/browser/notification_source.h" 14 #include "content/public/browser/notification_source.h"
15 #include "content/public/browser/notification_types.h" 15 #include "content/public/browser/notification_types.h"
16 #include "content/public/browser/web_contents.h" 16 #include "content/public/browser/web_contents.h"
17 17
18 using content::NavigationController; 18 using content::NavigationController;
19 19
20 TestHtmlDialogObserver::TestHtmlDialogObserver( 20 TestHtmlDialogObserver::TestHtmlDialogObserver(
21 JsInjectionReadyObserver* js_injection_ready_observer) 21 JsInjectionReadyObserver* js_injection_ready_observer)
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 71
72 content::WebUI* TestHtmlDialogObserver::GetWebUI() { 72 content::WebUI* TestHtmlDialogObserver::GetWebUI() {
73 if (!done_) { 73 if (!done_) {
74 EXPECT_FALSE(running_); 74 EXPECT_FALSE(running_);
75 running_ = true; 75 running_ = true;
76 ui_test_utils::RunMessageLoop(); 76 ui_test_utils::RunMessageLoop();
77 } 77 }
78 return web_ui_; 78 return web_ui_;
79 } 79 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/test_chrome_web_ui_factory_browsertest.cc ('k') | chrome/test/data/webui/async_gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698