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

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

Issue 2692023002: Make PaymentRequestImpl work with RenderFrameHost (Closed)
Patch Set: Address review comment Created 3 years, 9 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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 PreviewsState last_navigation_previews_state() const { 613 PreviewsState last_navigation_previews_state() const {
614 return last_navigation_previews_state_; 614 return last_navigation_previews_state_;
615 } 615 }
616 616
617 bool has_focused_editable_element() const { 617 bool has_focused_editable_element() const {
618 return has_focused_editable_element_; 618 return has_focused_editable_element_;
619 } 619 }
620 620
621 #if defined(OS_ANDROID) 621 #if defined(OS_ANDROID)
622 base::android::ScopedJavaLocalRef<jobject> GetJavaRenderFrameHost(); 622 base::android::ScopedJavaLocalRef<jobject> GetJavaRenderFrameHost();
623 service_manager::InterfaceProvider* GetJavaInterfaces() override;
623 #endif 624 #endif
624 625
625 protected: 626 protected:
626 friend class RenderFrameHostFactory; 627 friend class RenderFrameHostFactory;
627 628
628 // |flags| is a combination of CreateRenderFrameFlags. 629 // |flags| is a combination of CreateRenderFrameFlags.
629 // TODO(nasko): Remove dependency on RenderViewHost here. RenderProcessHost 630 // TODO(nasko): Remove dependency on RenderViewHost here. RenderProcessHost
630 // should be the abstraction needed here, but we need RenderViewHost to pass 631 // should be the abstraction needed here, but we need RenderViewHost to pass
631 // into WebContentsObserver::FrameDetached for now. 632 // into WebContentsObserver::FrameDetached for now.
632 RenderFrameHostImpl(SiteInstance* site_instance, 633 RenderFrameHostImpl(SiteInstance* site_instance,
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 std::unique_ptr<AssociatedInterfaceProviderImpl> 1131 std::unique_ptr<AssociatedInterfaceProviderImpl>
1131 remote_associated_interfaces_; 1132 remote_associated_interfaces_;
1132 1133
1133 // A bitwise OR of bindings types that have been enabled for this RenderFrame. 1134 // A bitwise OR of bindings types that have been enabled for this RenderFrame.
1134 // See BindingsPolicy for details. 1135 // See BindingsPolicy for details.
1135 int enabled_bindings_ = 0; 1136 int enabled_bindings_ = 0;
1136 1137
1137 // Tracks the feature policy which has been set on this frame. 1138 // Tracks the feature policy which has been set on this frame.
1138 std::unique_ptr<FeaturePolicy> feature_policy_; 1139 std::unique_ptr<FeaturePolicy> feature_policy_;
1139 1140
1141 #if defined(OS_ANDROID)
1142 std::unique_ptr<service_manager::InterfaceProvider> java_interfaces_;
1143 #endif
1144
1140 // NOTE: This must be the last member. 1145 // NOTE: This must be the last member.
1141 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1146 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1142 1147
1143 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1148 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1144 }; 1149 };
1145 1150
1146 } // namespace content 1151 } // namespace content
1147 1152
1148 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1153 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/android/java_interfaces_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698