| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 // Whether or not this frame is currently pasting. | 237 // Whether or not this frame is currently pasting. |
| 238 virtual bool IsPasting() const = 0; | 238 virtual bool IsPasting() const = 0; |
| 239 | 239 |
| 240 // Returns the current visibility of the frame. | 240 // Returns the current visibility of the frame. |
| 241 virtual blink::WebPageVisibilityState GetVisibilityState() const = 0; | 241 virtual blink::WebPageVisibilityState GetVisibilityState() const = 0; |
| 242 | 242 |
| 243 // If PlzNavigate is enabled, returns true in between teh time that Blink | 243 // If PlzNavigate is enabled, returns true in between teh time that Blink |
| 244 // requests navigation until the browser responds with the result. | 244 // requests navigation until the browser responds with the result. |
| 245 virtual bool IsBrowserSideNavigationPending() = 0; | 245 virtual bool IsBrowserSideNavigationPending() = 0; |
| 246 | 246 |
| 247 // Bitwise-ORed set of extra bindings that have been enabled. See |
| 248 // BindingsPolicy for details. |
| 249 virtual int GetEnabledBindings() const = 0; |
| 250 |
| 247 protected: | 251 protected: |
| 248 ~RenderFrame() override {} | 252 ~RenderFrame() override {} |
| 249 | 253 |
| 250 private: | 254 private: |
| 251 // This interface should only be implemented inside content. | 255 // This interface should only be implemented inside content. |
| 252 friend class RenderFrameImpl; | 256 friend class RenderFrameImpl; |
| 253 RenderFrame() {} | 257 RenderFrame() {} |
| 254 }; | 258 }; |
| 255 | 259 |
| 256 } // namespace content | 260 } // namespace content |
| 257 | 261 |
| 258 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ | 262 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ |
| OLD | NEW |