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

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: 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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 void frameFocused() override; 487 void frameFocused() override;
487 void willCommitProvisionalLoad(blink::WebLocalFrame* frame) override; 488 void willCommitProvisionalLoad(blink::WebLocalFrame* frame) override;
488 void didChangeName(const blink::WebString& name, 489 void didChangeName(const blink::WebString& name,
489 const blink::WebString& unique_name) override; 490 const blink::WebString& unique_name) override;
490 void didEnforceInsecureRequestPolicy( 491 void didEnforceInsecureRequestPolicy(
491 blink::WebInsecureRequestPolicy policy) override; 492 blink::WebInsecureRequestPolicy policy) override;
492 void didUpdateToUniqueOrigin( 493 void didUpdateToUniqueOrigin(
493 bool is_potentially_trustworthy_unique_origin) override; 494 bool is_potentially_trustworthy_unique_origin) override;
494 void didChangeSandboxFlags(blink::WebFrame* child_frame, 495 void didChangeSandboxFlags(blink::WebFrame* child_frame,
495 blink::WebSandboxFlags flags) override; 496 blink::WebSandboxFlags flags) override;
496 void didSetFeaturePolicyHeader(const blink::WebString& header_value) override; 497 void didSetFeaturePolicyHeader(
498 const blink::WebVector<blink::WebFeaturePolicy::ParsedWhitelist>&
499 header_policy) override;
497 void didAddContentSecurityPolicy( 500 void didAddContentSecurityPolicy(
498 const blink::WebString& header_value, 501 const blink::WebString& header_value,
499 blink::WebContentSecurityPolicyType type, 502 blink::WebContentSecurityPolicyType type,
500 blink::WebContentSecurityPolicySource source) override; 503 blink::WebContentSecurityPolicySource source) override;
501 void didChangeFrameOwnerProperties( 504 void didChangeFrameOwnerProperties(
502 blink::WebFrame* child_frame, 505 blink::WebFrame* child_frame,
503 const blink::WebFrameOwnerProperties& frame_owner_properties) override; 506 const blink::WebFrameOwnerProperties& frame_owner_properties) override;
504 void didMatchCSS( 507 void didMatchCSS(
505 blink::WebLocalFrame* frame, 508 blink::WebLocalFrame* frame,
506 const blink::WebVector<blink::WebString>& newly_matching_selectors, 509 const blink::WebVector<blink::WebString>& newly_matching_selectors,
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 bool browser_side_navigation_pending_ = false; 1349 bool browser_side_navigation_pending_ = false;
1347 1350
1348 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1351 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1349 1352
1350 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1353 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1351 }; 1354 };
1352 1355
1353 } // namespace content 1356 } // namespace content
1354 1357
1355 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1358 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698