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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" | 62 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" |
63 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" | 63 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" |
64 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" | 64 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
65 #include "third_party/WebKit/public/platform/site_engagement.mojom.h" | 65 #include "third_party/WebKit/public/platform/site_engagement.mojom.h" |
66 #include "third_party/WebKit/public/web/WebAXObject.h" | 66 #include "third_party/WebKit/public/web/WebAXObject.h" |
67 #include "third_party/WebKit/public/web/WebDataSource.h" | 67 #include "third_party/WebKit/public/web/WebDataSource.h" |
68 #include "third_party/WebKit/public/web/WebFrameClient.h" | 68 #include "third_party/WebKit/public/web/WebFrameClient.h" |
69 #include "third_party/WebKit/public/web/WebFrameLoadType.h" | 69 #include "third_party/WebKit/public/web/WebFrameLoadType.h" |
70 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" | 70 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" |
71 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 71 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
| 72 #include "third_party/WebKit/public/web/WebKeyLockRequestCompletion.h" |
72 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" | 73 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" |
73 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" | 74 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" |
74 #include "ui/gfx/range/range.h" | 75 #include "ui/gfx/range/range.h" |
75 #include "url/gurl.h" | 76 #include "url/gurl.h" |
76 #include "url/origin.h" | 77 #include "url/origin.h" |
77 | 78 |
78 #if BUILDFLAG(ENABLE_PLUGINS) | 79 #if BUILDFLAG(ENABLE_PLUGINS) |
79 #include "content/renderer/pepper/plugin_power_saver_helper.h" | 80 #include "content/renderer/pepper/plugin_power_saver_helper.h" |
80 #endif | 81 #endif |
81 | 82 |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 void RegisterProtocolHandler(const blink::WebString& scheme, | 672 void RegisterProtocolHandler(const blink::WebString& scheme, |
672 const blink::WebURL& url, | 673 const blink::WebURL& url, |
673 const blink::WebString& title) override; | 674 const blink::WebString& title) override; |
674 void UnregisterProtocolHandler(const blink::WebString& scheme, | 675 void UnregisterProtocolHandler(const blink::WebString& scheme, |
675 const blink::WebURL& url) override; | 676 const blink::WebURL& url) override; |
676 void CheckIfAudioSinkExistsAndIsAuthorized( | 677 void CheckIfAudioSinkExistsAndIsAuthorized( |
677 const blink::WebString& sink_id, | 678 const blink::WebString& sink_id, |
678 const blink::WebSecurityOrigin& security_origin, | 679 const blink::WebSecurityOrigin& security_origin, |
679 blink::WebSetSinkIdCallbacks* web_callbacks) override; | 680 blink::WebSetSinkIdCallbacks* web_callbacks) override; |
680 blink::WebPageVisibilityState VisibilityState() const override; | 681 blink::WebPageVisibilityState VisibilityState() const override; |
| 682 void RequestKeyLock(const blink::WebVector<blink::WebString>& key_codes, |
| 683 blink::WebKeyLockRequestCompletion* completion) override; |
| 684 void CancelKeyLock() override; |
681 | 685 |
682 // WebFrameSerializerClient implementation: | 686 // WebFrameSerializerClient implementation: |
683 void DidSerializeDataForFrame( | 687 void DidSerializeDataForFrame( |
684 const blink::WebCString& data, | 688 const blink::WebCString& data, |
685 blink::WebFrameSerializerClient::FrameSerializationStatus status) | 689 blink::WebFrameSerializerClient::FrameSerializationStatus status) |
686 override; | 690 override; |
687 | 691 |
688 // Binds to the site engagement service in the browser. | 692 // Binds to the site engagement service in the browser. |
689 void BindEngagement(blink::mojom::EngagementClientAssociatedRequest request); | 693 void BindEngagement(blink::mojom::EngagementClientAssociatedRequest request); |
690 | 694 |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1429 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; | 1433 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; |
1430 | 1434 |
1431 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1435 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1432 | 1436 |
1433 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1437 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1434 }; | 1438 }; |
1435 | 1439 |
1436 } // namespace content | 1440 } // namespace content |
1437 | 1441 |
1438 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1442 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |