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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 virtual void didFinishResourceLoad(blink::WebLocalFrame* frame, | 336 virtual void didFinishResourceLoad(blink::WebLocalFrame* frame, |
337 unsigned identifier); | 337 unsigned identifier); |
338 virtual void didLoadResourceFromMemoryCache( | 338 virtual void didLoadResourceFromMemoryCache( |
339 blink::WebLocalFrame* frame, | 339 blink::WebLocalFrame* frame, |
340 const blink::WebURLRequest& request, | 340 const blink::WebURLRequest& request, |
341 const blink::WebURLResponse& response); | 341 const blink::WebURLResponse& response); |
342 virtual void didDisplayInsecureContent(blink::WebLocalFrame* frame); | 342 virtual void didDisplayInsecureContent(blink::WebLocalFrame* frame); |
343 virtual void didRunInsecureContent(blink::WebLocalFrame* frame, | 343 virtual void didRunInsecureContent(blink::WebLocalFrame* frame, |
344 const blink::WebSecurityOrigin& origin, | 344 const blink::WebSecurityOrigin& origin, |
345 const blink::WebURL& target); | 345 const blink::WebURL& target); |
| 346 virtual void didDetectXSS(blink::WebLocalFrame* frame, |
| 347 const blink::WebURL& url, |
| 348 bool blocked_entire_page); |
346 virtual void didAbortLoading(blink::WebLocalFrame* frame); | 349 virtual void didAbortLoading(blink::WebLocalFrame* frame); |
347 virtual void didCreateScriptContext(blink::WebLocalFrame* frame, | 350 virtual void didCreateScriptContext(blink::WebLocalFrame* frame, |
348 v8::Handle<v8::Context> context, | 351 v8::Handle<v8::Context> context, |
349 int extension_group, | 352 int extension_group, |
350 int world_id); | 353 int world_id); |
351 virtual void willReleaseScriptContext(blink::WebLocalFrame* frame, | 354 virtual void willReleaseScriptContext(blink::WebLocalFrame* frame, |
352 v8::Handle<v8::Context> context, | 355 v8::Handle<v8::Context> context, |
353 int world_id); | 356 int world_id); |
354 virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame* frame); | 357 virtual void didFirstVisuallyNonEmptyLayout(blink::WebLocalFrame* frame); |
355 virtual void didChangeScrollOffset(blink::WebLocalFrame* frame); | 358 virtual void didChangeScrollOffset(blink::WebLocalFrame* frame); |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 ScreenOrientationDispatcher* screen_orientation_dispatcher_; | 641 ScreenOrientationDispatcher* screen_orientation_dispatcher_; |
639 | 642 |
640 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 643 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
641 | 644 |
642 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 645 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
643 }; | 646 }; |
644 | 647 |
645 } // namespace content | 648 } // namespace content |
646 | 649 |
647 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 650 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |