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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 virtual void didFinishResourceLoad(blink::WebLocalFrame* frame, | 339 virtual void didFinishResourceLoad(blink::WebLocalFrame* frame, |
340 unsigned identifier); | 340 unsigned identifier); |
341 virtual void didLoadResourceFromMemoryCache( | 341 virtual void didLoadResourceFromMemoryCache( |
342 blink::WebLocalFrame* frame, | 342 blink::WebLocalFrame* frame, |
343 const blink::WebURLRequest& request, | 343 const blink::WebURLRequest& request, |
344 const blink::WebURLResponse& response); | 344 const blink::WebURLResponse& response); |
345 virtual void didDisplayInsecureContent(blink::WebLocalFrame* frame); | 345 virtual void didDisplayInsecureContent(blink::WebLocalFrame* frame); |
346 virtual void didRunInsecureContent(blink::WebLocalFrame* frame, | 346 virtual void didRunInsecureContent(blink::WebLocalFrame* frame, |
347 const blink::WebSecurityOrigin& origin, | 347 const blink::WebSecurityOrigin& origin, |
348 const blink::WebURL& target); | 348 const blink::WebURL& target); |
| 349 virtual void didDetectXSS(blink::WebLocalFrame* frame, |
| 350 const blink::WebURL& url, |
| 351 bool blocked_entire_page); |
349 virtual void didAbortLoading(blink::WebLocalFrame* frame); | 352 virtual void didAbortLoading(blink::WebLocalFrame* frame); |
350 virtual void didCreateScriptContext(blink::WebLocalFrame* frame, | 353 virtual void didCreateScriptContext(blink::WebLocalFrame* frame, |
351 v8::Handle<v8::Context> context, | 354 v8::Handle<v8::Context> context, |
352 int extension_group, | 355 int extension_group, |
353 int world_id); | 356 int world_id); |
354 virtual void willReleaseScriptContext(blink::WebLocalFrame* frame, | 357 virtual void willReleaseScriptContext(blink::WebLocalFrame* frame, |
355 v8::Handle<v8::Context> context, | 358 v8::Handle<v8::Context> context, |
356 int world_id); | 359 int world_id); |
357 virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame* frame); | 360 virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame* frame); |
358 virtual void didChangeScrollOffset(blink::WebLocalFrame* frame); | 361 virtual void didChangeScrollOffset(blink::WebLocalFrame* frame); |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 ScreenOrientationDispatcher* screen_orientation_dispatcher_; | 660 ScreenOrientationDispatcher* screen_orientation_dispatcher_; |
658 | 661 |
659 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 662 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
660 | 663 |
661 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 664 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
662 }; | 665 }; |
663 | 666 |
664 } // namespace content | 667 } // namespace content |
665 | 668 |
666 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 669 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |