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