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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 104833006: Switch ContentSettingsObserver to be a RenderFrameObserver instead of a RenderViewObserver (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 virtual bool ShouldReportDetailedMessageForSource( 269 virtual bool ShouldReportDetailedMessageForSource(
270 const base::string16& source) const; 270 const base::string16& source) const;
271 271
272 // Returns true if we should apply the cross-site document blocking policy to 272 // Returns true if we should apply the cross-site document blocking policy to
273 // this renderer process. Currently, we apply the policy only to a renderer 273 // this renderer process. Currently, we apply the policy only to a renderer
274 // process running on a normal page from the web. 274 // process running on a normal page from the web.
275 virtual bool ShouldEnableSiteIsolationPolicy() const; 275 virtual bool ShouldEnableSiteIsolationPolicy() const;
276 276
277 // Creates a permission client proxy for in-renderer worker. 277 // Creates a permission client proxy for in-renderer worker.
278 virtual blink::WebWorkerPermissionClientProxy* 278 virtual blink::WebWorkerPermissionClientProxy*
279 CreateWorkerPermissionClientProxy(RenderView* render_view, 279 CreateWorkerPermissionClientProxy(RenderFrame* render_frame,
280 blink::WebFrame* frame); 280 blink::WebFrame* frame);
281 }; 281 };
282 282
283 } // namespace content 283 } // namespace content
284 284
285 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 285 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698