| 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 30 matching lines...) Expand all Loading... |
| 41 #include "media/blink/webmediaplayer_params.h" | 41 #include "media/blink/webmediaplayer_params.h" |
| 42 #include "media/mojo/interfaces/remoting.mojom.h" | 42 #include "media/mojo/interfaces/remoting.mojom.h" |
| 43 #include "mojo/public/cpp/bindings/binding.h" | 43 #include "mojo/public/cpp/bindings/binding.h" |
| 44 #include "services/service_manager/public/interfaces/connector.mojom.h" | 44 #include "services/service_manager/public/interfaces/connector.mojom.h" |
| 45 #include "services/service_manager/public/interfaces/interface_provider.mojom.h" | 45 #include "services/service_manager/public/interfaces/interface_provider.mojom.h" |
| 46 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" | 46 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" |
| 47 #include "third_party/WebKit/public/platform/WebFocusType.h" | 47 #include "third_party/WebKit/public/platform/WebFocusType.h" |
| 48 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" | 48 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" |
| 49 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" | 49 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" |
| 50 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" | 50 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
| 51 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" | |
| 52 #include "third_party/WebKit/public/web/WebAXObject.h" | 51 #include "third_party/WebKit/public/web/WebAXObject.h" |
| 53 #include "third_party/WebKit/public/web/WebDataSource.h" | 52 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 54 #include "third_party/WebKit/public/web/WebFrameClient.h" | 53 #include "third_party/WebKit/public/web/WebFrameClient.h" |
| 55 #include "third_party/WebKit/public/web/WebFrameLoadType.h" | 54 #include "third_party/WebKit/public/web/WebFrameLoadType.h" |
| 56 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" | 55 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" |
| 57 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 56 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
| 58 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" | 57 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" |
| 59 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" | 58 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" |
| 60 #include "ui/gfx/range/range.h" | 59 #include "ui/gfx/range/range.h" |
| 61 #include "url/gurl.h" | 60 #include "url/gurl.h" |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 void handleAccessibilityFindInPageResult( | 627 void handleAccessibilityFindInPageResult( |
| 629 int identifier, | 628 int identifier, |
| 630 int match_index, | 629 int match_index, |
| 631 const blink::WebAXObject& start_object, | 630 const blink::WebAXObject& start_object, |
| 632 int start_offset, | 631 int start_offset, |
| 633 const blink::WebAXObject& end_object, | 632 const blink::WebAXObject& end_object, |
| 634 int end_offset) override; | 633 int end_offset) override; |
| 635 void didChangeManifest() override; | 634 void didChangeManifest() override; |
| 636 void enterFullscreen() override; | 635 void enterFullscreen() override; |
| 637 void exitFullscreen() override; | 636 void exitFullscreen() override; |
| 638 blink::WebAppBannerClient* appBannerClient() override; | |
| 639 void registerProtocolHandler(const blink::WebString& scheme, | 637 void registerProtocolHandler(const blink::WebString& scheme, |
| 640 const blink::WebURL& url, | 638 const blink::WebURL& url, |
| 641 const blink::WebString& title) override; | 639 const blink::WebString& title) override; |
| 642 void unregisterProtocolHandler(const blink::WebString& scheme, | 640 void unregisterProtocolHandler(const blink::WebString& scheme, |
| 643 const blink::WebURL& url) override; | 641 const blink::WebURL& url) override; |
| 644 blink::WebBluetooth* bluetooth() override; | 642 blink::WebBluetooth* bluetooth() override; |
| 645 void checkIfAudioSinkExistsAndIsAuthorized( | 643 void checkIfAudioSinkExistsAndIsAuthorized( |
| 646 const blink::WebString& sink_id, | 644 const blink::WebString& sink_id, |
| 647 const blink::WebSecurityOrigin& security_origin, | 645 const blink::WebSecurityOrigin& security_origin, |
| 648 blink::WebSetSinkIdCallbacks* web_callbacks) override; | 646 blink::WebSetSinkIdCallbacks* web_callbacks) override; |
| (...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1253 // process. | 1251 // process. |
| 1254 ManifestManager* manifest_manager_; | 1252 ManifestManager* manifest_manager_; |
| 1255 | 1253 |
| 1256 // The current accessibility mode. | 1254 // The current accessibility mode. |
| 1257 AccessibilityMode accessibility_mode_; | 1255 AccessibilityMode accessibility_mode_; |
| 1258 | 1256 |
| 1259 // Only valid if |accessibility_mode_| is anything other than | 1257 // Only valid if |accessibility_mode_| is anything other than |
| 1260 // AccessibilityModeOff. | 1258 // AccessibilityModeOff. |
| 1261 RenderAccessibilityImpl* render_accessibility_; | 1259 RenderAccessibilityImpl* render_accessibility_; |
| 1262 | 1260 |
| 1263 std::unique_ptr<blink::WebAppBannerClient> app_banner_client_; | |
| 1264 | |
| 1265 std::unique_ptr<blink::WebBluetooth> bluetooth_; | 1261 std::unique_ptr<blink::WebBluetooth> bluetooth_; |
| 1266 | 1262 |
| 1267 // Manages play, pause notifications for WebMediaPlayer implementations; its | 1263 // Manages play, pause notifications for WebMediaPlayer implementations; its |
| 1268 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. | 1264 // lifetime is tied to the RenderFrame via the RenderFrameObserver interface. |
| 1269 media::RendererWebMediaPlayerDelegate* media_player_delegate_; | 1265 media::RendererWebMediaPlayerDelegate* media_player_delegate_; |
| 1270 | 1266 |
| 1271 // Whether or not this RenderFrame is using Lo-Fi mode. | 1267 // Whether or not this RenderFrame is using Lo-Fi mode. |
| 1272 bool is_using_lofi_; | 1268 bool is_using_lofi_; |
| 1273 | 1269 |
| 1274 // Effective connection type when the document of this frame was fetched. | 1270 // Effective connection type when the document of this frame was fetched. |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1326 bool name_changed_before_first_commit_ = false; | 1322 bool name_changed_before_first_commit_ = false; |
| 1327 | 1323 |
| 1328 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1324 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1329 | 1325 |
| 1330 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1326 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1331 }; | 1327 }; |
| 1332 | 1328 |
| 1333 } // namespace content | 1329 } // namespace content |
| 1334 | 1330 |
| 1335 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1331 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |