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

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

Issue 2566583002: Change allowed bindings to be per RenderFrame instead of per RenderView. (Closed)
Patch Set: rebase Created 3 years, 10 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
« no previous file with comments | « content/public/browser/render_view_host.h ('k') | content/public/renderer/render_view.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RENDER_FRAME_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // If PlzNavigate is enabled, returns true in between teh time that Blink 247 // If PlzNavigate is enabled, returns true in between teh time that Blink
248 // requests navigation until the browser responds with the result. 248 // requests navigation until the browser responds with the result.
249 virtual bool IsBrowserSideNavigationPending() = 0; 249 virtual bool IsBrowserSideNavigationPending() = 0;
250 250
251 // Renderer scheduler frame-specific task queues handles. 251 // Renderer scheduler frame-specific task queues handles.
252 // See third_party/WebKit/Source/platform/WebFrameScheduler.h for details. 252 // See third_party/WebKit/Source/platform/WebFrameScheduler.h for details.
253 virtual base::SingleThreadTaskRunner* GetTimerTaskRunner() = 0; 253 virtual base::SingleThreadTaskRunner* GetTimerTaskRunner() = 0;
254 virtual base::SingleThreadTaskRunner* GetLoadingTaskRunner() = 0; 254 virtual base::SingleThreadTaskRunner* GetLoadingTaskRunner() = 0;
255 virtual base::SingleThreadTaskRunner* GetUnthrottledTaskRunner() = 0; 255 virtual base::SingleThreadTaskRunner* GetUnthrottledTaskRunner() = 0;
256 256
257 // Bitwise-ORed set of extra bindings that have been enabled. See
258 // BindingsPolicy for details.
259 virtual int GetEnabledBindings() const = 0;
260
257 protected: 261 protected:
258 ~RenderFrame() override {} 262 ~RenderFrame() override {}
259 263
260 private: 264 private:
261 // This interface should only be implemented inside content. 265 // This interface should only be implemented inside content.
262 friend class RenderFrameImpl; 266 friend class RenderFrameImpl;
263 RenderFrame() {} 267 RenderFrame() {}
264 }; 268 };
265 269
266 } // namespace content 270 } // namespace content
267 271
268 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 272 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_view_host.h ('k') | content/public/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698