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

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

Issue 22876014: Make RenderFrame{Host} objects routable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bleck Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « content/public/browser/render_frame_host.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/public/renderer/render_frame.h" 9 #include "content/public/renderer/render_frame.h"
10 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 WebKit::WebSecurityOrigin targetOrigin, 169 WebKit::WebSecurityOrigin targetOrigin,
170 WebKit::WebDOMMessageEvent event); 170 WebKit::WebDOMMessageEvent event);
171 virtual WebKit::WebString userAgentOverride( 171 virtual WebKit::WebString userAgentOverride(
172 WebKit::WebFrame* frame, 172 WebKit::WebFrame* frame,
173 const WebKit::WebURL& url); 173 const WebKit::WebURL& url);
174 virtual WebKit::WebString doNotTrackValue(WebKit::WebFrame* frame); 174 virtual WebKit::WebString doNotTrackValue(WebKit::WebFrame* frame);
175 virtual bool allowWebGL(WebKit::WebFrame* frame, bool default_value); 175 virtual bool allowWebGL(WebKit::WebFrame* frame, bool default_value);
176 virtual void didLoseWebGLContext(WebKit::WebFrame* frame, 176 virtual void didLoseWebGLContext(WebKit::WebFrame* frame,
177 int arb_robustness_status_code); 177 int arb_robustness_status_code);
178 178
179 // RenderFrameImpl methods
180 int GetRoutingID() const;
181
182 protected: 179 protected:
183 RenderFrameImpl(RenderViewImpl* render_view, int32 routing_id); 180 RenderFrameImpl(RenderViewImpl* render_view, int32 routing_id);
184 181
185 private: 182 private:
183 int GetRoutingID() const;
184
186 RenderViewImpl* render_view_; 185 RenderViewImpl* render_view_;
187 int routing_id_; 186 int routing_id_;
187 bool is_swapped_out_;
188 bool is_detaching_;
188 189
189 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 190 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
190 }; 191 };
191 192
192 } // namespace content 193 } // namespace content
193 194
194 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 195 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_frame_host.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698