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