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

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 8602002: Move some webkit_glue embedder functions into WebKitPlatformSupport virtual methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright year 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
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 #include "content/renderer/renderer_webkitplatformsupport_impl.h" 5 #include "content/renderer/renderer_webkitplatformsupport_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 blob_registry_.reset(new WebBlobRegistryImpl(ChildThread::current())); 617 blob_registry_.reset(new WebBlobRegistryImpl(ChildThread::current()));
618 } 618 }
619 return blob_registry_.get(); 619 return blob_registry_.get();
620 } 620 }
621 621
622 WebKit::WebString RendererWebKitPlatformSupportImpl::userAgent( 622 WebKit::WebString RendererWebKitPlatformSupportImpl::userAgent(
623 const WebKit::WebURL& url) { 623 const WebKit::WebURL& url) {
624 return WebKitPlatformSupportImpl::userAgent(url); 624 return WebKitPlatformSupportImpl::userAgent(url);
625 } 625 }
626 626
627 void RendererWebKitPlatformSupportImpl::GetPlugins(
628 bool refresh, std::vector<webkit::WebPluginInfo>* plugins) {
629 if (!RenderThreadImpl::current()->plugin_refresh_allowed())
630 refresh = false;
631 RenderThreadImpl::current()->Send(
632 new ViewHostMsg_GetPlugins(refresh, plugins));
633 }
OLDNEW
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.h ('k') | content/utility/utility_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698