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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 void frameFocused() override; | 447 void frameFocused() override; |
448 void willClose(blink::WebFrame* frame) override; | 448 void willClose(blink::WebFrame* frame) override; |
449 void didChangeName(const blink::WebString& name, | 449 void didChangeName(const blink::WebString& name, |
450 const blink::WebString& unique_name) override; | 450 const blink::WebString& unique_name) override; |
451 void didEnforceStrictMixedContentChecking() override; | 451 void didEnforceStrictMixedContentChecking() override; |
452 void didChangeSandboxFlags(blink::WebFrame* child_frame, | 452 void didChangeSandboxFlags(blink::WebFrame* child_frame, |
453 blink::WebSandboxFlags flags) override; | 453 blink::WebSandboxFlags flags) override; |
454 void didChangeFrameOwnerProperties( | 454 void didChangeFrameOwnerProperties( |
455 blink::WebFrame* child_frame, | 455 blink::WebFrame* child_frame, |
456 const blink::WebFrameOwnerProperties& frame_owner_properties) override; | 456 const blink::WebFrameOwnerProperties& frame_owner_properties) override; |
| 457 void didBlockLoad() override; |
457 void didMatchCSS( | 458 void didMatchCSS( |
458 blink::WebLocalFrame* frame, | 459 blink::WebLocalFrame* frame, |
459 const blink::WebVector<blink::WebString>& newly_matching_selectors, | 460 const blink::WebVector<blink::WebString>& newly_matching_selectors, |
460 const blink::WebVector<blink::WebString>& stopped_matching_selectors) | 461 const blink::WebVector<blink::WebString>& stopped_matching_selectors) |
461 override; | 462 override; |
462 bool shouldReportDetailedMessageForSource( | 463 bool shouldReportDetailedMessageForSource( |
463 const blink::WebString& source) override; | 464 const blink::WebString& source) override; |
464 void didAddMessageToConsole(const blink::WebConsoleMessage& message, | 465 void didAddMessageToConsole(const blink::WebConsoleMessage& message, |
465 const blink::WebString& source_name, | 466 const blink::WebString& source_name, |
466 unsigned source_line, | 467 unsigned source_line, |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 void OnExtendSelectionAndDelete(int before, int after); | 767 void OnExtendSelectionAndDelete(int before, int after); |
767 void OnReload(bool ignore_cache); | 768 void OnReload(bool ignore_cache); |
768 void OnReloadLoFiImages(); | 769 void OnReloadLoFiImages(); |
769 void OnTextSurroundingSelectionRequest(uint32_t max_length); | 770 void OnTextSurroundingSelectionRequest(uint32_t max_length); |
770 void OnSetAccessibilityMode(AccessibilityMode new_mode); | 771 void OnSetAccessibilityMode(AccessibilityMode new_mode); |
771 void OnSnapshotAccessibilityTree(int callback_id); | 772 void OnSnapshotAccessibilityTree(int callback_id); |
772 void OnUpdateOpener(int opener_routing_id); | 773 void OnUpdateOpener(int opener_routing_id); |
773 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); | 774 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); |
774 void OnSetFrameOwnerProperties( | 775 void OnSetFrameOwnerProperties( |
775 const blink::WebFrameOwnerProperties& frame_owner_properties); | 776 const blink::WebFrameOwnerProperties& frame_owner_properties); |
| 777 void OnBlockedLoad(); |
776 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); | 778 void OnAdvanceFocus(blink::WebFocusType type, int32_t source_routing_id); |
777 void OnSetFocusedFrame(); | 779 void OnSetFocusedFrame(); |
778 void OnTextTrackSettingsChanged( | 780 void OnTextTrackSettingsChanged( |
779 const FrameMsg_TextTrackSettings_Params& params); | 781 const FrameMsg_TextTrackSettings_Params& params); |
780 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); | 782 void OnPostMessageEvent(const FrameMsg_PostMessage_Params& params); |
781 void OnCommitNavigation(const ResourceResponseHead& response, | 783 void OnCommitNavigation(const ResourceResponseHead& response, |
782 const GURL& stream_url, | 784 const GURL& stream_url, |
783 const CommonNavigationParams& common_params, | 785 const CommonNavigationParams& common_params, |
784 const RequestNavigationParams& request_params); | 786 const RequestNavigationParams& request_params); |
785 void OnFailedNavigation(const CommonNavigationParams& common_params, | 787 void OnFailedNavigation(const CommonNavigationParams& common_params, |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1207 #endif | 1209 #endif |
1208 | 1210 |
1209 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1211 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1210 | 1212 |
1211 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1213 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1212 }; | 1214 }; |
1213 | 1215 |
1214 } // namespace content | 1216 } // namespace content |
1215 | 1217 |
1216 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1218 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |