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 |