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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 8440027: Change renderer_client interface for registering PPAPI Factories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update other renderer_clients Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 bool IsAdblockPlusWithWebRequestInstalled(); 98 bool IsAdblockPlusWithWebRequestInstalled();
99 bool IsOtherExtensionWithWebRequestInstalled(); 99 bool IsOtherExtensionWithWebRequestInstalled();
100 100
101 // For testing. 101 // For testing.
102 void SetExtensionDispatcher(ExtensionDispatcher* extension_dispatcher); 102 void SetExtensionDispatcher(ExtensionDispatcher* extension_dispatcher);
103 103
104 // Called in low-memory conditions to dump the memory used by the spellchecker 104 // Called in low-memory conditions to dump the memory used by the spellchecker
105 // and start over. 105 // and start over.
106 void OnPurgeMemory(); 106 void OnPurgeMemory();
107 107
108 virtual void RegisterPPAPIInterfaceFactories(
109 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE;
110
108 private: 111 private:
109 WebKit::WebPlugin* CreatePlugin( 112 WebKit::WebPlugin* CreatePlugin(
110 content::RenderView* render_view, 113 content::RenderView* render_view,
111 WebKit::WebFrame* frame, 114 WebKit::WebFrame* frame,
112 const WebKit::WebPluginParams& params); 115 const WebKit::WebPluginParams& params);
113 116
114 WebKit::WebPlugin* CreatePluginPlaceholder( 117 WebKit::WebPlugin* CreatePluginPlaceholder(
115 content::RenderView* render_view, 118 content::RenderView* render_view,
116 WebKit::WebFrame* frame, 119 WebKit::WebFrame* frame,
117 const webkit::WebPluginInfo& plugin, 120 const webkit::WebPluginInfo& plugin,
(...skipping 27 matching lines...) Expand all
145 // The SpellCheckProvider is a RenderViewObserver, and handles its own 148 // The SpellCheckProvider is a RenderViewObserver, and handles its own
146 // destruction. 149 // destruction.
147 SpellCheckProvider* spellcheck_provider_; 150 SpellCheckProvider* spellcheck_provider_;
148 scoped_ptr<VisitedLinkSlave> visited_link_slave_; 151 scoped_ptr<VisitedLinkSlave> visited_link_slave_;
149 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 152 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
150 }; 153 };
151 154
152 } // namespace chrome 155 } // namespace chrome
153 156
154 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 157 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698