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