| 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 24 matching lines...) Expand all Loading... |
| 35 #include "ipc/ipc_message.h" | 35 #include "ipc/ipc_message.h" |
| 36 #include "ipc/ipc_platform_file.h" | 36 #include "ipc/ipc_platform_file.h" |
| 37 #include "media/blink/webmediaplayer_delegate.h" | 37 #include "media/blink/webmediaplayer_delegate.h" |
| 38 #include "media/blink/webmediaplayer_params.h" | 38 #include "media/blink/webmediaplayer_params.h" |
| 39 #include "services/shell/public/interfaces/connector.mojom.h" | 39 #include "services/shell/public/interfaces/connector.mojom.h" |
| 40 #include "services/shell/public/interfaces/interface_provider.mojom.h" | 40 #include "services/shell/public/interfaces/interface_provider.mojom.h" |
| 41 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" | 41 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" |
| 42 #include "third_party/WebKit/public/platform/WebFocusType.h" | 42 #include "third_party/WebKit/public/platform/WebFocusType.h" |
| 43 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" | 43 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" |
| 44 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" | 44 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" |
| 45 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
| 45 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" | 46 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" |
| 46 #include "third_party/WebKit/public/web/WebAXObject.h" | 47 #include "third_party/WebKit/public/web/WebAXObject.h" |
| 47 #include "third_party/WebKit/public/web/WebDataSource.h" | 48 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 48 #include "third_party/WebKit/public/web/WebFrameClient.h" | 49 #include "third_party/WebKit/public/web/WebFrameClient.h" |
| 49 #include "third_party/WebKit/public/web/WebFrameLoadType.h" | 50 #include "third_party/WebKit/public/web/WebFrameLoadType.h" |
| 50 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" | 51 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
| 51 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" | 52 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" |
| 52 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 53 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
| 53 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" | 54 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" |
| 54 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" | 55 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 void DetachGuest(int element_instance_id) override; | 413 void DetachGuest(int element_instance_id) override; |
| 413 void SetSelectedText(const base::string16& selection_text, | 414 void SetSelectedText(const base::string16& selection_text, |
| 414 size_t offset, | 415 size_t offset, |
| 415 const gfx::Range& range) override; | 416 const gfx::Range& range) override; |
| 416 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, | 417 void EnsureMojoBuiltinsAreAvailable(v8::Isolate* isolate, |
| 417 v8::Local<v8::Context> context) override; | 418 v8::Local<v8::Context> context) override; |
| 418 void AddMessageToConsole(ConsoleMessageLevel level, | 419 void AddMessageToConsole(ConsoleMessageLevel level, |
| 419 const std::string& message) override; | 420 const std::string& message) override; |
| 420 bool IsUsingLoFi() const override; | 421 bool IsUsingLoFi() const override; |
| 421 bool IsPasting() const override; | 422 bool IsPasting() const override; |
| 423 blink::WebPageVisibilityState GetVisibilityState() const override; |
| 422 | 424 |
| 423 // blink::WebFrameClient implementation: | 425 // blink::WebFrameClient implementation: |
| 424 blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, | 426 blink::WebPlugin* createPlugin(blink::WebLocalFrame* frame, |
| 425 const blink::WebPluginParams& params) override; | 427 const blink::WebPluginParams& params) override; |
| 426 blink::WebMediaPlayer* createMediaPlayer( | 428 blink::WebMediaPlayer* createMediaPlayer( |
| 427 const blink::WebMediaPlayerSource& source, | 429 const blink::WebMediaPlayerSource& source, |
| 428 blink::WebMediaPlayerClient* client, | 430 blink::WebMediaPlayerClient* client, |
| 429 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, | 431 blink::WebMediaPlayerEncryptedMediaClient* encrypted_client, |
| 430 blink::WebContentDecryptionModule* initial_cdm, | 432 blink::WebContentDecryptionModule* initial_cdm, |
| 431 const blink::WebString& sink_id, | 433 const blink::WebString& sink_id, |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 const blink::WebURL& url, | 614 const blink::WebURL& url, |
| 613 const blink::WebString& title) override; | 615 const blink::WebString& title) override; |
| 614 void unregisterProtocolHandler(const blink::WebString& scheme, | 616 void unregisterProtocolHandler(const blink::WebString& scheme, |
| 615 const blink::WebURL& url) override; | 617 const blink::WebURL& url) override; |
| 616 blink::WebBluetooth* bluetooth() override; | 618 blink::WebBluetooth* bluetooth() override; |
| 617 void checkIfAudioSinkExistsAndIsAuthorized( | 619 void checkIfAudioSinkExistsAndIsAuthorized( |
| 618 const blink::WebString& sink_id, | 620 const blink::WebString& sink_id, |
| 619 const blink::WebSecurityOrigin& security_origin, | 621 const blink::WebSecurityOrigin& security_origin, |
| 620 blink::WebSetSinkIdCallbacks* web_callbacks) override; | 622 blink::WebSetSinkIdCallbacks* web_callbacks) override; |
| 621 blink::ServiceRegistry* serviceRegistry() override; | 623 blink::ServiceRegistry* serviceRegistry() override; |
| 624 blink::WebPageVisibilityState visibilityState() const override; |
| 622 | 625 |
| 623 // WebFrameSerializerClient implementation: | 626 // WebFrameSerializerClient implementation: |
| 624 void didSerializeDataForFrame( | 627 void didSerializeDataForFrame( |
| 625 const blink::WebCString& data, | 628 const blink::WebCString& data, |
| 626 blink::WebFrameSerializerClient::FrameSerializationStatus status) | 629 blink::WebFrameSerializerClient::FrameSerializationStatus status) |
| 627 override; | 630 override; |
| 628 | 631 |
| 629 // Binds this render frame's service registry. | 632 // Binds this render frame's service registry. |
| 630 void BindServiceRegistry(shell::mojom::InterfaceProviderRequest services, | 633 void BindServiceRegistry(shell::mojom::InterfaceProviderRequest services, |
| 631 shell::mojom::InterfaceProviderPtr exposed_services); | 634 shell::mojom::InterfaceProviderPtr exposed_services); |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1249 #endif | 1252 #endif |
| 1250 | 1253 |
| 1251 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1254 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1252 | 1255 |
| 1253 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1256 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1254 }; | 1257 }; |
| 1255 | 1258 |
| 1256 } // namespace content | 1259 } // namespace content |
| 1257 | 1260 |
| 1258 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1261 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |