| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |