| 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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 size_t offset, | 434 size_t offset, |
| 435 const gfx::Range& range) override; | 435 const gfx::Range& range) override; |
| 436 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, | 436 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, |
| 437 v8::Local<v8::Context> context) override; | 437 v8::Local<v8::Context> context) override; |
| 438 void AddMessageToConsole(ConsoleMessageLevel level, | 438 void AddMessageToConsole(ConsoleMessageLevel level, |
| 439 const std::string& message) override; | 439 const std::string& message) override; |
| 440 bool IsUsingLoFi() const override; | 440 bool IsUsingLoFi() const override; |
| 441 bool IsPasting() const override; | 441 bool IsPasting() const override; |
| 442 blink::WebPageVisibilityState GetVisibilityState() const override; | 442 blink::WebPageVisibilityState GetVisibilityState() const override; |
| 443 bool IsBrowserSideNavigationPending() override; | 443 bool IsBrowserSideNavigationPending() override; |
| 444 int GetEnabledBindings() const override; |
| 444 | 445 |
| 445 // mojom::Frame implementation: | 446 // mojom::Frame implementation: |
| 446 void GetInterfaceProvider( | 447 void GetInterfaceProvider( |
| 447 service_manager::mojom::InterfaceProviderRequest request) override; | 448 service_manager::mojom::InterfaceProviderRequest request) override; |
| 449 void AllowBindings(int32_t enabled_bindings_flags) override; |
| 448 | 450 |
| 449 // mojom::HostZoom implementation: | 451 // mojom::HostZoom implementation: |
| 450 void SetHostZoomLevel(const GURL& url, double zoom_level) override; | 452 void SetHostZoomLevel(const GURL& url, double zoom_level) override; |
| 451 | 453 |
| 452 // blink::WebFrameClient implementation: | 454 // blink::WebFrameClient implementation: |
| 453 blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, | 455 blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, |
| 454 const blink::WebPluginParams& params) override; | 456 const blink::WebPluginParams& params) override; |
| 455 blink::WebMediaPlayer* createMediaPlayer( | 457 blink::WebMediaPlayer* createMediaPlayer( |
| 456 const blink::WebMediaPlayerSource& source, | 458 const blink::WebMediaPlayerSource& source, |
| 457 blink::WebMediaPlayerClient* client, | 459 blink::WebMediaPlayerClient* client, |
| (...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1337 AssociatedInterfaceRegistryImpl associated_interfaces_; | 1339 AssociatedInterfaceRegistryImpl associated_interfaces_; |
| 1338 std::unique_ptr<AssociatedInterfaceProviderImpl> | 1340 std::unique_ptr<AssociatedInterfaceProviderImpl> |
| 1339 remote_associated_interfaces_; | 1341 remote_associated_interfaces_; |
| 1340 | 1342 |
| 1341 // TODO(dcheng): Remove these members. | 1343 // TODO(dcheng): Remove these members. |
| 1342 bool committed_first_load_ = false; | 1344 bool committed_first_load_ = false; |
| 1343 bool name_changed_before_first_commit_ = false; | 1345 bool name_changed_before_first_commit_ = false; |
| 1344 | 1346 |
| 1345 bool browser_side_navigation_pending_ = false; | 1347 bool browser_side_navigation_pending_ = false; |
| 1346 | 1348 |
| 1349 // A bitwise OR of bindings types that have been enabled for this RenderFrame. |
| 1350 // See BindingsPolicy for details. |
| 1351 int enabled_bindings_ = 0; |
| 1352 |
| 1347 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1353 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1348 | 1354 |
| 1349 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1355 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1350 }; | 1356 }; |
| 1351 | 1357 |
| 1352 } // namespace content | 1358 } // namespace content |
| 1353 | 1359 |
| 1354 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1360 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |