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

Unified Diff: chrome/test/wtflib/wtf.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/wtflib/test.html ('k') | chrome/test/wtflib/wtf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/wtflib/wtf.h
===================================================================
--- chrome/test/wtflib/wtf.h (revision 0)
+++ chrome/test/wtflib/wtf.h (revision 0)
@@ -0,0 +1,39 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_TEST_WTFLIB_WTF_H_
+#define CHROME_TEST_WTFLIB_WTF_H_
+
+#include <string>
+#include "base/basictypes.h"
+#include "base/scoped_ptr.h"
+
+
+namespace base {
+class ShadowingAtExitManager;
+} // namespace base
+class WTFTestSuite;
+
+
+class WTF {
+ public:
+ WTF();
+ ~WTF();
+
+ void Initialize(const std::string& browser_dir);
+
+ // Navigate to the given URL in the active tab. Blocks until page loaded.
+ void NavigateToURL(const std::string url_string);
+ // Open a new browser window. Returns false on failure.
+ bool OpenNewBrowserWindow(bool show);
+
+ private:
+ base::ShadowingAtExitManager* at_exit_manager_;
+ WTFTestSuite* wtf_testsuite_;
+
+ // Allow operator= and copy constructor for glue dependencies.
+};
+
+
+#endif // CHROME_TEST_WTFLIB_WTF_H_
Property changes on: chrome/test/wtflib/wtf.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/test/wtflib/test.html ('k') | chrome/test/wtflib/wtf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698