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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2146803004: Create a content::FrameOwnerProperties struct for IPC transport of WebFrameOwnerProperties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Transport Created 4 years, 5 months 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 21 matching lines...) Expand all
32 #include "content/common/frame.mojom.h" 32 #include "content/common/frame.mojom.h"
33 #include "content/common/frame_message_enums.h" 33 #include "content/common/frame_message_enums.h"
34 #include "content/common/frame_replication_state.h" 34 #include "content/common/frame_replication_state.h"
35 #include "content/common/image_downloader/image_downloader.mojom.h" 35 #include "content/common/image_downloader/image_downloader.mojom.h"
36 #include "content/common/navigation_params.h" 36 #include "content/common/navigation_params.h"
37 #include "content/public/browser/render_frame_host.h" 37 #include "content/public/browser/render_frame_host.h"
38 #include "content/public/common/javascript_message_type.h" 38 #include "content/public/common/javascript_message_type.h"
39 #include "net/http/http_response_headers.h" 39 #include "net/http/http_response_headers.h"
40 #include "services/shell/public/cpp/interface_registry.h" 40 #include "services/shell/public/cpp/interface_registry.h"
41 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" 41 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
42 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" 42 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h"
alexmos 2016/07/14 23:44:13 nit: can this be moved to the .cc file now? (Same
raymes 2016/07/18 03:39:28 Done.
raymes 2016/07/18 03:39:28 Done.
43 #include "third_party/WebKit/public/web/WebTextDirection.h" 43 #include "third_party/WebKit/public/web/WebTextDirection.h"
44 #include "third_party/WebKit/public/web/WebTreeScopeType.h" 44 #include "third_party/WebKit/public/web/WebTreeScopeType.h"
45 #include "ui/accessibility/ax_node_data.h" 45 #include "ui/accessibility/ax_node_data.h"
46 #include "ui/base/page_transition_types.h" 46 #include "ui/base/page_transition_types.h"
47 47
48 #if defined(OS_ANDROID) 48 #if defined(OS_ANDROID)
49 #include "content/public/browser/android/service_registry_android.h" 49 #include "content/public/browser/android/service_registry_android.h"
50 #endif 50 #endif
51 51
52 class GURL; 52 class GURL;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 class RenderWidgetHostImpl; 88 class RenderWidgetHostImpl;
89 class RenderWidgetHostView; 89 class RenderWidgetHostView;
90 class RenderWidgetHostViewBase; 90 class RenderWidgetHostViewBase;
91 class ResourceRequestBody; 91 class ResourceRequestBody;
92 class StreamHandle; 92 class StreamHandle;
93 class TimeoutMonitor; 93 class TimeoutMonitor;
94 class WebBluetoothServiceImpl; 94 class WebBluetoothServiceImpl;
95 struct ContentSecurityPolicyHeader; 95 struct ContentSecurityPolicyHeader;
96 struct ContextMenuParams; 96 struct ContextMenuParams;
97 struct FileChooserParams; 97 struct FileChooserParams;
98 struct FrameOwnerProperties;
98 struct GlobalRequestID; 99 struct GlobalRequestID;
99 struct FileChooserParams; 100 struct FileChooserParams;
100 struct Referrer; 101 struct Referrer;
101 struct ResourceResponse; 102 struct ResourceResponse;
102 103
103 class CONTENT_EXPORT RenderFrameHostImpl 104 class CONTENT_EXPORT RenderFrameHostImpl
104 : public RenderFrameHost, 105 : public RenderFrameHost,
105 NON_EXPORTED_BASE(public mojom::FrameHost), 106 NON_EXPORTED_BASE(public mojom::FrameHost),
106 public BrowserAccessibilityDelegate, 107 public BrowserAccessibilityDelegate,
107 public SiteInstanceImpl::Observer { 108 public SiteInstanceImpl::Observer {
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 uint32_t end_offset); 674 uint32_t end_offset);
674 void OnDidAccessInitialDocument(); 675 void OnDidAccessInitialDocument();
675 void OnDidChangeOpener(int32_t opener_routing_id); 676 void OnDidChangeOpener(int32_t opener_routing_id);
676 void OnDidChangeName(const std::string& name, const std::string& unique_name); 677 void OnDidChangeName(const std::string& name, const std::string& unique_name);
677 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); 678 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header);
678 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); 679 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy);
679 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin); 680 void OnUpdateToUniqueOrigin(bool is_potentially_trustworthy_unique_origin);
680 void OnDidAssignPageId(int32_t page_id); 681 void OnDidAssignPageId(int32_t page_id);
681 void OnDidChangeSandboxFlags(int32_t frame_routing_id, 682 void OnDidChangeSandboxFlags(int32_t frame_routing_id,
682 blink::WebSandboxFlags flags); 683 blink::WebSandboxFlags flags);
683 void OnDidChangeFrameOwnerProperties( 684 void OnDidChangeFrameOwnerProperties(int32_t frame_routing_id,
684 int32_t frame_routing_id, 685 const FrameOwnerProperties& properties);
685 const blink::WebFrameOwnerProperties& properties);
686 void OnUpdateTitle(const base::string16& title, 686 void OnUpdateTitle(const base::string16& title,
687 blink::WebTextDirection title_direction); 687 blink::WebTextDirection title_direction);
688 void OnUpdateEncoding(const std::string& encoding); 688 void OnUpdateEncoding(const std::string& encoding);
689 void OnBeginNavigation(const CommonNavigationParams& common_params, 689 void OnBeginNavigation(const CommonNavigationParams& common_params,
690 const BeginNavigationParams& begin_params); 690 const BeginNavigationParams& begin_params);
691 void OnDispatchLoad(); 691 void OnDispatchLoad();
692 void OnAccessibilityEvents( 692 void OnAccessibilityEvents(
693 const std::vector<AccessibilityHostMsg_EventParams>& params, 693 const std::vector<AccessibilityHostMsg_EventParams>& params,
694 int reset_token); 694 int reset_token);
695 void OnAccessibilityLocationChanges( 695 void OnAccessibilityLocationChanges(
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 1041
1042 // NOTE: This must be the last member. 1042 // NOTE: This must be the last member.
1043 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1043 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1044 1044
1045 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1045 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1046 }; 1046 };
1047 1047
1048 } // namespace content 1048 } // namespace content
1049 1049
1050 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1050 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | content/common/frame_owner_properties.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698