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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 WebKit::WebFrame* targetFrame, | 168 WebKit::WebFrame* targetFrame, |
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 virtual bool allowWebGLDebugRendererInfo(WebKit::WebFrame* frame); |
178 | 179 |
179 protected: | 180 protected: |
180 RenderFrameImpl(RenderViewImpl* render_view, int32 routing_id); | 181 RenderFrameImpl(RenderViewImpl* render_view, int32 routing_id); |
181 | 182 |
182 private: | 183 private: |
183 int GetRoutingID() const; | 184 int GetRoutingID() const; |
184 | 185 |
185 RenderViewImpl* render_view_; | 186 RenderViewImpl* render_view_; |
186 int routing_id_; | 187 int routing_id_; |
187 bool is_swapped_out_; | 188 bool is_swapped_out_; |
188 bool is_detaching_; | 189 bool is_detaching_; |
189 | 190 |
190 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 191 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
191 }; | 192 }; |
192 | 193 |
193 } // namespace content | 194 } // namespace content |
194 | 195 |
195 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 196 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |