summaryrefslogtreecommitdiffstats
path: root/content/renderer/content_renderer_client.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-16 02:08:42 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-16 02:08:42 +0000
commit38b592904f582daacd833b767b3cce3d1c211068 (patch)
treea91ae9b6694153f8f017778e56f67797fc2a136d /content/renderer/content_renderer_client.h
parent4766a6019405334b45222b48560aeda994a0e8e8 (diff)
downloadchromium_src-38b592904f582daacd833b767b3cce3d1c211068.zip
chromium_src-38b592904f582daacd833b767b3cce3d1c211068.tar.gz
chromium_src-38b592904f582daacd833b767b3cce3d1c211068.tar.bz2
Clear RenderThread of any Chrome specific code, and move a bunch of stuff out of RenderView.
Took out CookieMessageFilter since it's not used anymore. Removed RenderProcessTest and RendererMainTest since they really weren't testing much. Review URL: http://codereview.chromium.org/6873014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81851 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/content_renderer_client.h')
-rw-r--r--content/renderer/content_renderer_client.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/content/renderer/content_renderer_client.h b/content/renderer/content_renderer_client.h
index 675fa3b..7bba2e8 100644
--- a/content/renderer/content_renderer_client.h
+++ b/content/renderer/content_renderer_client.h
@@ -11,6 +11,7 @@
#include "base/string16.h"
#include "content/common/content_client.h"
+class FilePath;
class GURL;
class RenderView;
class SkBitmap;
@@ -74,6 +75,13 @@ class ContentRendererClient {
const GURL& url,
GURL* new_url);
+ // Returns the file path where the media library files are.
+ virtual FilePath GetMediaLibraryPath();
+
+ // Whether to pump events when sending sync cookie messages. Needed if the
+ // embedder can potentiall put up a modal dialog on the UI thread as a result.
+ virtual bool ShouldPumpEventsDuringCookieMessage();
+
// See the corresponding functions in WebKit::WebFrameClient.
virtual void DidCreateScriptContext(WebKit::WebFrame* frame);
virtual void DidDestroyScriptContext(WebKit::WebFrame* frame);