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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 void OnSetAccessibilityMode(AccessibilityMode new_mode); | 626 void OnSetAccessibilityMode(AccessibilityMode new_mode); |
627 void OnDisownOpener(); | 627 void OnDisownOpener(); |
628 #if defined(OS_ANDROID) | 628 #if defined(OS_ANDROID) |
629 void OnSelectPopupMenuItems(bool canceled, | 629 void OnSelectPopupMenuItems(bool canceled, |
630 const std::vector<int>& selected_indices); | 630 const std::vector<int>& selected_indices); |
631 #elif defined(OS_MACOSX) | 631 #elif defined(OS_MACOSX) |
632 void OnSelectPopupMenuItem(int selected_index); | 632 void OnSelectPopupMenuItem(int selected_index); |
633 void OnCopyToFindPboard(); | 633 void OnCopyToFindPboard(); |
634 #endif | 634 #endif |
635 | 635 |
636 // PlzNavigate | |
637 void OnRequestNavigation(const CommonNavigationParams& common_params, | |
638 const RequestNavigationParams& request_params); | |
639 void OnCommitNavigation(const ResourceResponseHead& response, | 636 void OnCommitNavigation(const ResourceResponseHead& response, |
640 const GURL& stream_url, | 637 const GURL& stream_url, |
641 const CommonNavigationParams& common_params, | 638 const CommonNavigationParams& common_params, |
642 const CommitNavigationParams& commit_params); | 639 const CommitNavigationParams& commit_params); |
643 | 640 |
644 // Virtual since overridden by WebTestProxy for layout tests. | 641 // Virtual since overridden by WebTestProxy for layout tests. |
645 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( | 642 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( |
646 RenderFrame* render_frame, | 643 RenderFrame* render_frame, |
647 const NavigationPolicyInfo& info); | 644 const NavigationPolicyInfo& info); |
648 void OpenURL(blink::WebFrame* frame, | 645 void OpenURL(blink::WebFrame* frame, |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
868 #endif | 865 #endif |
869 | 866 |
870 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 867 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
871 | 868 |
872 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 869 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
873 }; | 870 }; |
874 | 871 |
875 } // namespace content | 872 } // namespace content |
876 | 873 |
877 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 874 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |