summaryrefslogtreecommitdiffstats
path: root/chrome/test/render_view_test.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 07:07:18 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 07:07:18 +0000
commit1b6cdc850d7eb2b4a19f5a51dca2ad57c9a9622f (patch)
tree2a26d85ad15485ccf6a7e48c1def21803e9710a2 /chrome/test/render_view_test.h
parent83c249924ea14cc9b9c6628c2e93a5d09c474c75 (diff)
downloadchromium_src-1b6cdc850d7eb2b4a19f5a51dca2ad57c9a9622f.zip
chromium_src-1b6cdc850d7eb2b4a19f5a51dca2ad57c9a9622f.tar.gz
chromium_src-1b6cdc850d7eb2b4a19f5a51dca2ad57c9a9622f.tar.bz2
Revert "Add JsonSchema-based validation for the tab APIs."
This reverts commit 4f47758f5238f2e5b05d9de18f390bfe2aeb6980. Revert "TBR: Fix unit tests, line endings." This reverts commit 257fa01e20c46c68dce1c5992b75c64686cb1a66. Review URL: http://codereview.chromium.org/67122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13652 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/render_view_test.h')
-rw-r--r--chrome/test/render_view_test.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/chrome/test/render_view_test.h b/chrome/test/render_view_test.h
deleted file mode 100644
index abda898..0000000
--- a/chrome/test/render_view_test.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// 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_RENDER_VIEW_TEST_H_
-#define CHROME_TEST_RENDER_VIEW_TEST_H_
-
-#include "base/scoped_ptr.h"
-#include "chrome/renderer/mock_render_process.h"
-#include "chrome/renderer/mock_render_thread.h"
-#include "chrome/renderer/render_view.h"
-#include "chrome/renderer/renderer_webkitclient_impl.h"
-#include "testing/gtest/include/gtest/gtest.h"
-#include "webkit/glue/webframe.h"
-
-class RenderViewTest : public testing::Test {
- public:
- RenderViewTest() {}
- ~RenderViewTest() {}
-
- protected:
- // Spins the message loop to process all messages that are currently pending.
- void ProcessPendingMessages();
-
- // Returns a pointer to the main frame.
- WebFrame* GetMainFrame();
-
- // Executes the given JavaScript in the context of the main frame. The input
- // is a NULL-terminated UTF-8 string.
- void ExecuteJavaScript(const char* js);
-
- // Loads the given HTML into the main frame as a data: URL.
- void LoadHTML(const char* html);
-
- // testing::Test
- virtual void SetUp();
-
- virtual void TearDown();
-
- MessageLoop msg_loop_;
- MockRenderThread render_thread_;
- scoped_ptr<MockProcess> mock_process_;
- scoped_refptr<RenderView> view_;
- RendererWebKitClientImpl webkitclient_;
-};
-
-#endif // CHROME_TEST_RENDER_VIEW_TEST_H_