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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin_browsertest.h

Issue 10830072: Browser Plugin: New Implementation (Renderer Side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed according to comments by creis@. Moved postMessage stuff out for another cl Created 8 years, 4 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
OLDNEW
(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_BROWSER_PLUGIN_BROWSERETEST_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_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/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 private:
34 scoped_ptr<MockBrowserPluginManager> browser_plugin_manager_;
35 ContentRendererClient content_renderer_client_;
36 };
37 } // namespace browser_plugin
38 } // namesapce content
39
40 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_BROWSERETEST_H_
41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698