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

Side by Side Diff: chrome/browser/webui/file_browse_browsertest.cc

Issue 6575054: WebUI: Move the core files of WebUI from chrome/browser/webui to content/webui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 10 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
« no previous file with comments | « chrome/browser/webui/downloads_ui.h ('k') | chrome/browser/webui/flags_ui.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/path_service.h" 5 #include "base/path_service.h"
6 #include "base/task.h" 6 #include "base/task.h"
7 #include "chrome/browser/tab_contents/navigation_controller.h" 7 #include "chrome/browser/tab_contents/navigation_controller.h"
8 #include "chrome/browser/tab_contents/tab_contents.h" 8 #include "chrome/browser/tab_contents/tab_contents.h"
9 #include "chrome/browser/ui/views/html_dialog_view.h" 9 #include "chrome/browser/ui/views/html_dialog_view.h"
10 #include "chrome/browser/webui/web_ui.h"
11 #include "chrome/common/chrome_paths.h" 10 #include "chrome/common/chrome_paths.h"
12 #include "chrome/common/notification_registrar.h" 11 #include "chrome/common/notification_registrar.h"
13 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
14 #include "chrome/test/in_process_browser_test.h" 13 #include "chrome/test/in_process_browser_test.h"
15 #include "chrome/test/ui_test_utils.h" 14 #include "chrome/test/ui_test_utils.h"
15 #include "content/browser/webui/web_ui.h"
16 #include "net/test/test_server.h" 16 #include "net/test/test_server.h"
17 17
18 namespace { 18 namespace {
19 19
20 typedef DOMElementProxy::By By; 20 typedef DOMElementProxy::By By;
21 21
22 class FileBrowseBrowserTest : public InProcessBrowserTest { 22 class FileBrowseBrowserTest : public InProcessBrowserTest {
23 public: 23 public:
24 FileBrowseBrowserTest() { 24 FileBrowseBrowserTest() {
25 EnableDOMAutomation(); 25 EnableDOMAutomation();
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 observer.WaitForFileBrowseLoad(); 121 observer.WaitForFileBrowseLoad();
122 WebUI* file_browser_ui = observer.file_browse_ui(); 122 WebUI* file_browser_ui = observer.file_browse_ui();
123 ASSERT_TRUE(file_browser_ui); 123 ASSERT_TRUE(file_browser_ui);
124 124
125 file_browser_ui->CallJavascriptFunction(L"dialogCancelClick"); 125 file_browser_ui->CallJavascriptFunction(L"dialogCancelClick");
126 126
127 observer.WaitForFileBrowseClose(); 127 observer.WaitForFileBrowseClose();
128 } 128 }
129 129
130 } // namespace 130 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/webui/downloads_ui.h ('k') | chrome/browser/webui/flags_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698