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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 virtual void didFinishResourceLoad(blink::WebLocalFrame* frame, | 337 virtual void didFinishResourceLoad(blink::WebLocalFrame* frame, |
338 unsigned identifier); | 338 unsigned identifier); |
339 virtual void didLoadResourceFromMemoryCache( | 339 virtual void didLoadResourceFromMemoryCache( |
340 blink::WebLocalFrame* frame, | 340 blink::WebLocalFrame* frame, |
341 const blink::WebURLRequest& request, | 341 const blink::WebURLRequest& request, |
342 const blink::WebURLResponse& response); | 342 const blink::WebURLResponse& response); |
343 virtual void didDisplayInsecureContent(blink::WebLocalFrame* frame); | 343 virtual void didDisplayInsecureContent(blink::WebLocalFrame* frame); |
344 virtual void didRunInsecureContent(blink::WebLocalFrame* frame, | 344 virtual void didRunInsecureContent(blink::WebLocalFrame* frame, |
345 const blink::WebSecurityOrigin& origin, | 345 const blink::WebSecurityOrigin& origin, |
346 const blink::WebURL& target); | 346 const blink::WebURL& target); |
| 347 virtual void didDetectXSS(blink::WebLocalFrame* frame, |
| 348 const blink::WebURL& url, |
| 349 bool blocked_entire_page); |
347 virtual void didAbortLoading(blink::WebLocalFrame* frame); | 350 virtual void didAbortLoading(blink::WebLocalFrame* frame); |
348 virtual void didCreateScriptContext(blink::WebLocalFrame* frame, | 351 virtual void didCreateScriptContext(blink::WebLocalFrame* frame, |
349 v8::Handle<v8::Context> context, | 352 v8::Handle<v8::Context> context, |
350 int extension_group, | 353 int extension_group, |
351 int world_id); | 354 int world_id); |
352 virtual void willReleaseScriptContext(blink::WebLocalFrame* frame, | 355 virtual void willReleaseScriptContext(blink::WebLocalFrame* frame, |
353 v8::Handle<v8::Context> context, | 356 v8::Handle<v8::Context> context, |
354 int world_id); | 357 int world_id); |
355 virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame* frame); | 358 virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame* frame); |
356 virtual void didChangeContentsSize(blink::WebLocalFrame* frame, | 359 virtual void didChangeContentsSize(blink::WebLocalFrame* frame, |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 GeolocationDispatcher* geolocation_dispatcher_; | 624 GeolocationDispatcher* geolocation_dispatcher_; |
622 | 625 |
623 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 626 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
624 | 627 |
625 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 628 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
626 }; | 629 }; |
627 | 630 |
628 } // namespace content | 631 } // namespace content |
629 | 632 |
630 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 633 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |