| 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 // RenderFrame implementation: | 431 // RenderFrame implementation: |
| 432 RenderView* GetRenderView() override; | 432 RenderView* GetRenderView() override; |
| 433 RenderAccessibility* GetRenderAccessibility() override; | 433 RenderAccessibility* GetRenderAccessibility() override; |
| 434 int GetRoutingID() override; | 434 int GetRoutingID() override; |
| 435 blink::WebLocalFrame* GetWebFrame() override; | 435 blink::WebLocalFrame* GetWebFrame() override; |
| 436 WebPreferences& GetWebkitPreferences() override; | 436 WebPreferences& GetWebkitPreferences() override; |
| 437 int ShowContextMenu(ContextMenuClient* client, | 437 int ShowContextMenu(ContextMenuClient* client, |
| 438 const ContextMenuParams& params) override; | 438 const ContextMenuParams& params) override; |
| 439 void CancelContextMenu(int request_id) override; | 439 void CancelContextMenu(int request_id) override; |
| 440 blink::WebPlugin* CreatePlugin( | 440 blink::WebPlugin* CreatePlugin( |
| 441 blink::WebFrame* frame, | |
| 442 const WebPluginInfo& info, | 441 const WebPluginInfo& info, |
| 443 const blink::WebPluginParams& params, | 442 const blink::WebPluginParams& params, |
| 444 std::unique_ptr<PluginInstanceThrottler> throttler) override; | 443 std::unique_ptr<PluginInstanceThrottler> throttler) override; |
| 445 void LoadURLExternally(const blink::WebURLRequest& request, | 444 void LoadURLExternally(const blink::WebURLRequest& request, |
| 446 blink::WebNavigationPolicy policy) override; | 445 blink::WebNavigationPolicy policy) override; |
| 447 void ExecuteJavaScript(const base::string16& javascript) override; | 446 void ExecuteJavaScript(const base::string16& javascript) override; |
| 448 bool IsMainFrame() override; | 447 bool IsMainFrame() override; |
| 449 bool IsHidden() override; | 448 bool IsHidden() override; |
| 450 service_manager::BinderRegistry* GetInterfaceRegistry() override; | 449 service_manager::BinderRegistry* GetInterfaceRegistry() override; |
| 451 service_manager::InterfaceProvider* GetRemoteInterfaces() override; | 450 service_manager::InterfaceProvider* GetRemoteInterfaces() override; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 void GetInterfaceProvider( | 490 void GetInterfaceProvider( |
| 492 service_manager::mojom::InterfaceProviderRequest request) override; | 491 service_manager::mojom::InterfaceProviderRequest request) override; |
| 493 | 492 |
| 494 // mojom::FrameBindingsControl implementation: | 493 // mojom::FrameBindingsControl implementation: |
| 495 void AllowBindings(int32_t enabled_bindings_flags) override; | 494 void AllowBindings(int32_t enabled_bindings_flags) override; |
| 496 | 495 |
| 497 // mojom::HostZoom implementation: | 496 // mojom::HostZoom implementation: |
| 498 void SetHostZoomLevel(const GURL& url, double zoom_level) override; | 497 void SetHostZoomLevel(const GURL& url, double zoom_level) override; |
| 499 | 498 |
| 500 // blink::WebFrameClient implementation: | 499 // blink::WebFrameClient implementation: |
| 501 blink::WebPlugin* CreatePlugin(blink::WebLocalFrame* frame, | 500 blink::WebPlugin* CreatePlugin(const blink::WebPluginParams& params) override; |
| 502 const blink::WebPluginParams& params) override; | |
| 503 blink::WebMediaPlayer* CreateMediaPlayer( | 501 blink::WebMediaPlayer* CreateMediaPlayer( |
| 504 const blink::WebMediaPlayerSource& source, | 502 const blink::WebMediaPlayerSource& source, |
| 505 blink::WebMediaPlayerClient* client, | 503 blink::WebMediaPlayerClient* client, |
| 506 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | 504 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
| 507 blink::WebContentDecryptionModule* initial_cdm, | 505 blink::WebContentDecryptionModule* initial_cdm, |
| 508 const blink::WebString& sink_id) override; | 506 const blink::WebString& sink_id) override; |
| 509 std::unique_ptr<blink::WebApplicationCacheHost> CreateApplicationCacheHost( | 507 std::unique_ptr<blink::WebApplicationCacheHost> CreateApplicationCacheHost( |
| 510 blink::WebApplicationCacheHostClient* client) override; | 508 blink::WebApplicationCacheHostClient* client) override; |
| 511 blink::WebWorkerContentSettingsClientProxy* | 509 blink::WebWorkerContentSettingsClientProxy* |
| 512 CreateWorkerContentSettingsClientProxy() override; | 510 CreateWorkerContentSettingsClientProxy() override; |
| (...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1478 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; | 1476 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; |
| 1479 | 1477 |
| 1480 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1478 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1481 | 1479 |
| 1482 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1480 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1483 }; | 1481 }; |
| 1484 | 1482 |
| 1485 } // namespace content | 1483 } // namespace content |
| 1486 | 1484 |
| 1487 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1485 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |