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

Unified Diff: content/public/renderer/render_frame.h

Issue 2862753002: Mark Render{Frame,View}::GetWebkitPreferences() return values as const. (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/webplugininfo.h ('k') | content/public/renderer/render_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_frame.h
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h
index 68992bd43234af805b06887c111fa2f15a2d35f2..82e2a6efd6019bbd204e96f3f5d9387c010bec36 100644
--- a/content/public/renderer/render_frame.h
+++ b/content/public/renderer/render_frame.h
@@ -115,7 +115,7 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
virtual blink::WebLocalFrame* GetWebFrame() = 0;
// Gets WebKit related preferences associated with this frame.
- virtual WebPreferences& GetWebkitPreferences() = 0;
+ virtual const WebPreferences& GetWebkitPreferences() = 0;
// Shows a context menu with the given information. The given client will
// be called with the result.
@@ -135,8 +135,8 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
// menu is closed.
virtual void CancelContextMenu(int request_id) = 0;
- // Create a new NPAPI/Pepper plugin depending on |info|. Returns NULL if no
- // plugin was found. |throttler| may be empty.
+ // Create a new Pepper plugin depending on |info|. Returns NULL if no plugin
+ // was found. |throttler| may be empty.
virtual blink::WebPlugin* CreatePlugin(
blink::WebFrame* frame,
const WebPluginInfo& info,
« no previous file with comments | « content/public/common/webplugininfo.h ('k') | content/public/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698