Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2520223002: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… (Closed)
Patch Set: Fp2 Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "ipc/ipc_platform_file.h" 43 #include "ipc/ipc_platform_file.h"
44 #include "media/blink/webmediaplayer_delegate.h" 44 #include "media/blink/webmediaplayer_delegate.h"
45 #include "media/blink/webmediaplayer_params.h" 45 #include "media/blink/webmediaplayer_params.h"
46 #include "media/mojo/interfaces/remoting.mojom.h" 46 #include "media/mojo/interfaces/remoting.mojom.h"
47 #include "mojo/public/cpp/bindings/associated_binding.h" 47 #include "mojo/public/cpp/bindings/associated_binding.h"
48 #include "mojo/public/cpp/bindings/binding.h" 48 #include "mojo/public/cpp/bindings/binding.h"
49 #include "ppapi/features/features.h" 49 #include "ppapi/features/features.h"
50 #include "services/service_manager/public/interfaces/connector.mojom.h" 50 #include "services/service_manager/public/interfaces/connector.mojom.h"
51 #include "services/service_manager/public/interfaces/interface_provider.mojom.h" 51 #include "services/service_manager/public/interfaces/interface_provider.mojom.h"
52 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h" 52 #include "third_party/WebKit/public/platform/WebEffectiveConnectionType.h"
53 #include "third_party/WebKit/public/platform/WebFeaturePolicy.h"
53 #include "third_party/WebKit/public/platform/WebFocusType.h" 54 #include "third_party/WebKit/public/platform/WebFocusType.h"
54 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" 55 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h"
55 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" 56 #include "third_party/WebKit/public/platform/WebMediaPlayer.h"
56 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" 57 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
57 #include "third_party/WebKit/public/web/WebAXObject.h" 58 #include "third_party/WebKit/public/web/WebAXObject.h"
58 #include "third_party/WebKit/public/web/WebDataSource.h" 59 #include "third_party/WebKit/public/web/WebDataSource.h"
59 #include "third_party/WebKit/public/web/WebFrameClient.h" 60 #include "third_party/WebKit/public/web/WebFrameClient.h"
60 #include "third_party/WebKit/public/web/WebFrameLoadType.h" 61 #include "third_party/WebKit/public/web/WebFrameLoadType.h"
61 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" 62 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h"
62 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" 63 #include "third_party/WebKit/public/web/WebHistoryCommitType.h"
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 void frameFocused() override; 482 void frameFocused() override;
482 void willCommitProvisionalLoad(blink::WebLocalFrame* frame) override; 483 void willCommitProvisionalLoad(blink::WebLocalFrame* frame) override;
483 void didChangeName(const blink::WebString& name, 484 void didChangeName(const blink::WebString& name,
484 const blink::WebString& unique_name) override; 485 const blink::WebString& unique_name) override;
485 void didEnforceInsecureRequestPolicy( 486 void didEnforceInsecureRequestPolicy(
486 blink::WebInsecureRequestPolicy policy) override; 487 blink::WebInsecureRequestPolicy policy) override;
487 void didUpdateToUniqueOrigin( 488 void didUpdateToUniqueOrigin(
488 bool is_potentially_trustworthy_unique_origin) override; 489 bool is_potentially_trustworthy_unique_origin) override;
489 void didChangeSandboxFlags(blink::WebFrame* child_frame, 490 void didChangeSandboxFlags(blink::WebFrame* child_frame,
490 blink::WebSandboxFlags flags) override; 491 blink::WebSandboxFlags flags) override;
491 void didSetFeaturePolicyHeader(const blink::WebString& header_value) override; 492 void didSetFeaturePolicyHeader(
493 const blink::WebVector<blink::WebFeaturePolicy::ParsedWhitelist>&
iclelland 2016/11/23 20:20:28 This type is used so much, what do you think about
raymes 2016/11/29 08:20:34 Done - I was contemplating that :P. I called it We
494 parsed_header) override;
492 void didAddContentSecurityPolicy( 495 void didAddContentSecurityPolicy(
493 const blink::WebString& header_value, 496 const blink::WebString& header_value,
494 blink::WebContentSecurityPolicyType type, 497 blink::WebContentSecurityPolicyType type,
495 blink::WebContentSecurityPolicySource source) override; 498 blink::WebContentSecurityPolicySource source) override;
496 void didChangeFrameOwnerProperties( 499 void didChangeFrameOwnerProperties(
497 blink::WebFrame* child_frame, 500 blink::WebFrame* child_frame,
498 const blink::WebFrameOwnerProperties& frame_owner_properties) override; 501 const blink::WebFrameOwnerProperties& frame_owner_properties) override;
499 void didMatchCSS( 502 void didMatchCSS(
500 blink::WebLocalFrame* frame, 503 blink::WebLocalFrame* frame,
501 const blink::WebVector<blink::WebString>& newly_matching_selectors, 504 const blink::WebVector<blink::WebString>& newly_matching_selectors,
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 bool browser_side_navigation_pending_ = false; 1345 bool browser_side_navigation_pending_ = false;
1343 1346
1344 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1347 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1345 1348
1346 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1349 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1347 }; 1350 };
1348 1351
1349 } // namespace content 1352 } // namespace content
1350 1353
1351 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1354 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698