Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 171 WebKit::WebSecurityOrigin targetOrigin, | 171 WebKit::WebSecurityOrigin targetOrigin, |
| 172 WebKit::WebDOMMessageEvent event); | 172 WebKit::WebDOMMessageEvent event); |
| 173 virtual WebKit::WebString userAgentOverride( | 173 virtual WebKit::WebString userAgentOverride( |
| 174 WebKit::WebFrame* frame, | 174 WebKit::WebFrame* frame, |
| 175 const WebKit::WebURL& url); | 175 const WebKit::WebURL& url); |
| 176 virtual WebKit::WebString doNotTrackValue(WebKit::WebFrame* frame); | 176 virtual WebKit::WebString doNotTrackValue(WebKit::WebFrame* frame); |
| 177 virtual bool allowWebGL(WebKit::WebFrame* frame, bool default_value); | 177 virtual bool allowWebGL(WebKit::WebFrame* frame, bool default_value); |
| 178 virtual void didLoseWebGLContext(WebKit::WebFrame* frame, | 178 virtual void didLoseWebGLContext(WebKit::WebFrame* frame, |
| 179 int arb_robustness_status_code); | 179 int arb_robustness_status_code); |
| 180 | 180 |
| 181 // RenderFrameImpl methods | |
| 182 int GetRoutingID() const; | |
| 183 | |
| 184 protected: | 181 protected: |
| 185 RenderFrameImpl(RenderViewImpl* render_view, int32 routing_id); | 182 RenderFrameImpl(RenderViewImpl* render_view, int32 routing_id); |
| 186 | 183 |
| 187 private: | 184 private: |
| 185 int GetRoutingID() const; | |
| 186 | |
| 188 RenderViewImpl* render_view_; | 187 RenderViewImpl* render_view_; |
| 189 int routing_id_; | 188 int routing_id_; |
| 189 bool is_swapped_out_; | |
| 190 bool detaching_; | |
|
Charlie Reis
2013/08/26 18:27:10
nit: is_detaching_
awong
2013/08/27 19:58:13
Done.
| |
| 190 | 191 |
| 191 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 192 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 192 }; | 193 }; |
| 193 | 194 |
| 194 } // namespace content | 195 } // namespace content |
| 195 | 196 |
| 196 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 197 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |