| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |