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

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

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.idl ('k') | chrome/test/wtflib/wtf_testsuite.cc » ('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 #ifndef CHROME_TEST_WTFLIB_WTF_TESTSUITE_H_
6 #define CHROME_TEST_WTFLIB_WTF_TESTSUITE_H_
7
8 #include <string>
9
10 #include "base/scoped_nsautorelease_pool.h"
11 #include "chrome/test/ui/ui_test.h"
12
13
14 class WTFTestSuite : public UITestBase {
15 public:
16 // Only public methods are accessible from swig.
17
18 // Constructor. Lookup pyauto.py for doc on these args.
19 WTFTestSuite(bool clear_profile, std::wstring homepage);
20
21 ~WTFTestSuite();
22
23 // Initialize the setup. Should be called before launching the browser.
24 // |browser_dir| is the path to dir containing chromium binaries.
25 void Initialize(const FilePath& browser_dir);
26
27 // SetUp,TearDown is redeclared as public to make it accessible from swig.
28 virtual void SetUp();
29 virtual void TearDown();
30
31 // Navigate to the given URL in the active tab. Blocks until page loaded.
32 void NavigateToURL(const std::string url_string);
33
34 // AutomationProxy methods
35 // Open a new browser window. Returns false on failure.
36 bool OpenNewBrowserWindow(bool show);
37
38 private:
39 base::ScopedNSAutoreleasePool pool_;
40
41 DISALLOW_COPY_AND_ASSIGN(WTFTestSuite);
42 };
43
44 #endif // CHROME_TEST_WTFLIB_WTF_TESTSUITE_H_
OLDNEW
« no previous file with comments | « chrome/test/wtflib/wtf.idl ('k') | chrome/test/wtflib/wtf_testsuite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698