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

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

Issue 6765011: Move the dispatching of extension messages out of RenderThread. This also moves a bunch of exten... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages.h ('k') | 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 "content/renderer/content_renderer_client.h" 9 #include "content/renderer/content_renderer_client.h"
10 10
(...skipping 10 matching lines...) Expand all
21 virtual SkBitmap* GetSadPluginBitmap(); 21 virtual SkBitmap* GetSadPluginBitmap();
22 virtual std::string GetDefaultEncoding(); 22 virtual std::string GetDefaultEncoding();
23 virtual WebKit::WebPlugin* CreatePlugin( 23 virtual WebKit::WebPlugin* CreatePlugin(
24 RenderView* render_view, 24 RenderView* render_view,
25 WebKit::WebFrame* frame, 25 WebKit::WebFrame* frame,
26 const WebKit::WebPluginParams& params); 26 const WebKit::WebPluginParams& params);
27 virtual std::string GetNavigationErrorHtml( 27 virtual std::string GetNavigationErrorHtml(
28 const WebKit::WebURLRequest& failed_request, 28 const WebKit::WebURLRequest& failed_request,
29 const WebKit::WebURLError& error); 29 const WebKit::WebURLError& error);
30 virtual std::string DetermineTextLanguage(const string16& text); 30 virtual std::string DetermineTextLanguage(const string16& text);
31 virtual bool RunIdleHandlerWhenWidgetsHidden();
32 virtual bool AllowPopup(const GURL& creator);
31 33
32 private: 34 private:
33 WebKit::WebPlugin* CreatePluginPlaceholder( 35 WebKit::WebPlugin* CreatePluginPlaceholder(
34 RenderView* render_view, 36 RenderView* render_view,
35 WebKit::WebFrame* frame, 37 WebKit::WebFrame* frame,
36 const WebKit::WebPluginParams& params, 38 const WebKit::WebPluginParams& params,
37 const webkit::npapi::PluginGroup& group, 39 const webkit::npapi::PluginGroup& group,
38 int resource_id, 40 int resource_id,
39 int message_id, 41 int message_id,
40 bool is_blocked_for_prerendering); 42 bool is_blocked_for_prerendering);
41 }; 43 };
42 44
43 } // namespace chrome 45 } // namespace chrome
44 46
45 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 47 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698