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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 10823086: Make plugins work in a RenderViewTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed TODOs Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_webkitplatformsupport_impl.h
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h
index ada47210b620efc046a830e19d5ce714cac322d5..644660440c9a1a595789774e7672421cdf5b885f 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.h
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h
@@ -30,6 +30,9 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
RendererWebKitPlatformSupportImpl();
virtual ~RendererWebKitPlatformSupportImpl();
+ void set_plugin_refresh_allowed(bool plugin_refresh_allowed) {
+ plugin_refresh_allowed_ = plugin_refresh_allowed;
+ }
// WebKitPlatformSupport methods:
virtual WebKit::WebClipboard* clipboard() OVERRIDE;
virtual WebKit::WebMimeRegistry* mimeRegistry() OVERRIDE;
@@ -123,6 +126,9 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
// we tell the browser to enable fast termination.
int sudden_termination_disables_;
+ // If true, then a GetPlugins call is allowed to rescan the disk.
+ bool plugin_refresh_allowed_;
+
// Implementation of the WebSharedWorkerRepository APIs (provides an interface
// to WorkerService on the browser thread.
scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_;
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698