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

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

Issue 376033002: Adding MimeHandlerView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pending-zork-patch2
Patch Set: Address comment from kenrb@ Created 6 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_
7 7
8 #include "content/renderer/browser_plugin/browser_plugin.h" 8 #include "content/renderer/browser_plugin/browser_plugin.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 class MockBrowserPlugin : public BrowserPlugin { 12 class MockBrowserPlugin : public BrowserPlugin {
13 public: 13 public:
14 MockBrowserPlugin(RenderViewImpl* render_view, 14 MockBrowserPlugin(RenderViewImpl* render_view,
15 blink::WebFrame* frame, 15 blink::WebFrame* frame,
16 bool auto_navigate); 16 scoped_ptr<BrowserPluginDelegate> delegate);
17 17
18 virtual ~MockBrowserPlugin(); 18 virtual ~MockBrowserPlugin();
19 19
20 // Allow poking at a few private members. 20 // Allow poking at a few private members.
21 using BrowserPlugin::OnAttachACK; 21 using BrowserPlugin::OnAttachACK;
22 using BrowserPlugin::guest_crashed_; 22 using BrowserPlugin::guest_crashed_;
23 }; 23 };
24 24
25 } // namespace content 25 } // namespace content
26 26
27 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_ 27 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_MOCK_BROWSER_PLUGIN_H_
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_manager_impl.cc ('k') | content/renderer/browser_plugin/mock_browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698