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

Side by Side Diff: content/browser/webui/web_ui_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 | « content/browser/webui/web_ui_browsertest.h ('k') | content/browser/webui/web_ui_factory.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 "chrome/browser/webui/web_ui_browsertest.h" 5 #include "content/browser/webui/web_ui_browsertest.h"
6 6
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "chrome/browser/tab_contents/tab_contents.h" 8 #include "chrome/browser/tab_contents/tab_contents.h"
9 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
10 #include "chrome/common/chrome_paths.h" 10 #include "chrome/common/chrome_paths.h"
11 #include "chrome/common/url_constants.h" 11 #include "chrome/common/url_constants.h"
12 #include "chrome/test/ui_test_utils.h" 12 #include "chrome/test/ui_test_utils.h"
13 #include "ui/base/resource/resource_bundle.h" 13 #include "ui/base/resource/resource_bundle.h"
14 14
15 static const FilePath::CharType* kWebUILibraryJS = 15 static const FilePath::CharType* kWebUILibraryJS =
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 GetMockMessageHandler()->Attach(web_ui_instance); 68 GetMockMessageHandler()->Attach(web_ui_instance);
69 } 69 }
70 70
71 IN_PROC_BROWSER_TEST_F(WebUIBrowserTest, TestSamplePass) { 71 IN_PROC_BROWSER_TEST_F(WebUIBrowserTest, TestSamplePass) {
72 // Navigate to UI. 72 // Navigate to UI.
73 // TODO(dtseng): make accessor for subclasses to return? 73 // TODO(dtseng): make accessor for subclasses to return?
74 ui_test_utils::NavigateToURL(browser(), GURL(chrome::kChromeUIDownloadsURL)); 74 ui_test_utils::NavigateToURL(browser(), GURL(chrome::kChromeUIDownloadsURL));
75 75
76 ASSERT_TRUE(RunWebUITest(FILE_PATH_LITERAL("sample_downloads.js"))); 76 ASSERT_TRUE(RunWebUITest(FILE_PATH_LITERAL("sample_downloads.js")));
77 } 77 }
OLDNEW
« no previous file with comments | « content/browser/webui/web_ui_browsertest.h ('k') | content/browser/webui/web_ui_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698