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

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

Issue 376033002: Adding MimeHandlerView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pending-zork-patch2
Patch Set: With the new attach approach 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_BROWSER_PLUGIN_MANAGER_IMPL_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "content/renderer/browser_plugin/browser_plugin_manager.h" 10 #include "content/renderer/browser_plugin/browser_plugin_manager.h"
11 #include "ui/gfx/size.h" 11 #include "ui/gfx/size.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 class Point; 14 class Point;
15 } 15 }
16 16
17 namespace content { 17 namespace content {
18 18
19 class BrowserPluginManagerImpl : public BrowserPluginManager { 19 class BrowserPluginManagerImpl : public BrowserPluginManager {
20 public: 20 public:
21 explicit BrowserPluginManagerImpl(RenderViewImpl* render_view); 21 explicit BrowserPluginManagerImpl(RenderViewImpl* render_view);
22 22
23 // BrowserPluginManager implementation. 23 // BrowserPluginManager implementation.
24 virtual BrowserPlugin* CreateBrowserPlugin( 24 virtual BrowserPlugin* CreateBrowserPlugin(
25 RenderViewImpl* render_view, 25 RenderViewImpl* render_view,
26 blink::WebFrame* frame, 26 blink::WebFrame* frame,
27 bool auto_navigate) OVERRIDE; 27 bool auto_navigate,
28 const std::string& mime_type) OVERRIDE;
28 29
29 // IPC::Sender implementation. 30 // IPC::Sender implementation.
30 virtual bool Send(IPC::Message* msg) OVERRIDE; 31 virtual bool Send(IPC::Message* msg) OVERRIDE;
31 32
32 // RenderViewObserver override. Call on render thread. 33 // RenderViewObserver override. Call on render thread.
33 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 34 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
34 virtual void DidCommitCompositorFrame() OVERRIDE; 35 virtual void DidCommitCompositorFrame() OVERRIDE;
35 36
36 private: 37 private:
37 virtual ~BrowserPluginManagerImpl(); 38 virtual ~BrowserPluginManagerImpl();
38 39
39 DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl); 40 DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl);
40 }; 41 };
41 42
42 } // namespace content 43 } // namespace content
43 44
44 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_ 45 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698