OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 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 CONTENT_RENDERER_BROWSER_PLUGIN_TESTS_BROWSER_PLUGIN_BROWSERETEST_H_ | |
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_TESTS_BROWSER_PLUGIN_BROWSERETEST_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/memory/scoped_ptr.h" | |
11 #include "content/public/renderer/content_renderer_client.h" | |
12 #include "content/public/test/render_view_test.h" | |
13 #include "content/renderer/browser_plugin/tests/mock_browser_plugin_manager.h" | |
14 #include "content/renderer/render_view_impl.h" | |
15 #include "testing/gtest/include/gtest/gtest.h" | |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h" | |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | |
18 | |
19 class RenderThreadImpl; | |
20 | |
21 namespace content { | |
22 namespace browser_plugin { | |
23 | |
24 class BrowserPluginTest : public RenderViewTest { | |
25 public: | |
26 BrowserPluginTest(); | |
27 virtual void SetUp() OVERRIDE; | |
28 virtual void TearDown() OVERRIDE; | |
29 MockBrowserPluginManager* browser_plugin_manager() const { | |
30 return browser_plugin_manager_.get(); | |
31 } | |
32 std::string ExecuteScriptAndReturnString(const std::string& script | |
33 ); | |
Charlie Reis
2012/08/01 23:20:51
No newline here.
Fady Samuel
2012/08/02 18:32:47
Oops. Fixed, thanks!
| |
34 private: | |
35 scoped_ptr<MockBrowserPluginManager> browser_plugin_manager_; | |
36 ContentRendererClient content_renderer_client_; | |
37 }; | |
38 } // namespace browser_plugin | |
39 } // namesapce content | |
40 | |
41 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_TESTS_BROWSER_PLUGIN_BROWSERETEST_H_ | |
42 | |
OLD | NEW |