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

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

Issue 1550233002: Move mixed content settings histograms into browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo fix Created 4 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PROXY_HOST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 bool is_render_frame_proxy_live() { return render_frame_proxy_created_; } 128 bool is_render_frame_proxy_live() { return render_frame_proxy_created_; }
129 129
130 private: 130 private:
131 // IPC Message handlers. 131 // IPC Message handlers.
132 void OnDetach(); 132 void OnDetach();
133 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params); 133 void OnOpenURL(const FrameHostMsg_OpenURL_Params& params);
134 void OnRouteMessageEvent(const FrameMsg_PostMessage_Params& params); 134 void OnRouteMessageEvent(const FrameMsg_PostMessage_Params& params);
135 void OnDidChangeOpener(int32_t opener_routing_id); 135 void OnDidChangeOpener(int32_t opener_routing_id);
136 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); 136 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id);
137 void OnFrameFocused(); 137 void OnFrameFocused();
138 void OnTriedDisplayingInsecureContent(const GURL& origin, const GURL& url);
139 void OnTriedRunningInsecureContent(const GURL& origin, const GURL& url);
138 140
139 // This RenderFrameProxyHost's routing id. 141 // This RenderFrameProxyHost's routing id.
140 int routing_id_; 142 int routing_id_;
141 143
142 // The SiteInstance this proxy is associated with. 144 // The SiteInstance this proxy is associated with.
143 scoped_refptr<SiteInstance> site_instance_; 145 scoped_refptr<SiteInstance> site_instance_;
144 146
145 // The renderer process this RenderFrameHostProxy is associated with. It is 147 // The renderer process this RenderFrameHostProxy is associated with. It is
146 // equivalent to the result of site_instance_->GetProcess(), but that 148 // equivalent to the result of site_instance_->GetProcess(), but that
147 // method has the side effect of creating the process if it doesn't exist. 149 // method has the side effect of creating the process if it doesn't exist.
(...skipping 20 matching lines...) Expand all
168 // kept alive as long as any RenderFrameHosts or RenderFrameProxyHosts 170 // kept alive as long as any RenderFrameHosts or RenderFrameProxyHosts
169 // are associated with it. 171 // are associated with it.
170 RenderViewHostImpl* render_view_host_; 172 RenderViewHostImpl* render_view_host_;
171 173
172 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxyHost); 174 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxyHost);
173 }; 175 };
174 176
175 } // namespace 177 } // namespace
176 178
177 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_ 179 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_PROXY_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698