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

Side by Side Diff: chrome/test/wtflib/wtf_testsuite.cc

Issue 2043006: WTF NPAPI extension. Early draft. Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years, 7 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/test/wtflib/wtf_testsuite.h ('k') | tools/nixysa/COPYING » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/scoped_ptr.h"
6 #include "base/string_util.h"
7 #include "base/utf_string_conversions.h"
8 #include "chrome/test/automation/tab_proxy.h"
9 #include "googleurl/src/gurl.h"
10 #include "chrome/test/wtflib/wtf_testsuite.h"
11
12 WTFTestSuite::WTFTestSuite(bool clear_profile, std::wstring homepage)
13 : UITestBase() {
14 set_clear_profile(clear_profile);
15 set_homepage(homepage);
16 }
17
18 WTFTestSuite::~WTFTestSuite() {
19 }
20
21 void WTFTestSuite::Initialize(const FilePath& browser_dir) {
22 UITestBase::SetBrowserDirectory(browser_dir);
23 }
24
25 void WTFTestSuite::SetUp() {
26 UITestBase::SetUp();
27 }
28
29 void WTFTestSuite::TearDown() {
30 UITestBase::TearDown();
31 }
32
33 void WTFTestSuite::NavigateToURL(const std::string url_string) {
34 GURL url(url_string.c_str());
35 UITestBase::NavigateToURL(url);
36 }
37
38 bool WTFTestSuite::OpenNewBrowserWindow(bool show) {
39 return automation()->OpenNewBrowserWindow(Browser::TYPE_NORMAL, show);
40 }
OLDNEW
« no previous file with comments | « chrome/test/wtflib/wtf_testsuite.h ('k') | tools/nixysa/COPYING » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698