| 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 const std::vector<int>& selected_indices); | 626 const std::vector<int>& selected_indices); |
| 627 #elif defined(OS_MACOSX) | 627 #elif defined(OS_MACOSX) |
| 628 void OnSelectPopupMenuItem(int selected_index); | 628 void OnSelectPopupMenuItem(int selected_index); |
| 629 void OnCopyToFindPboard(); | 629 void OnCopyToFindPboard(); |
| 630 #endif | 630 #endif |
| 631 | 631 |
| 632 void OnCommitNavigation(const ResourceResponseHead& response, | 632 void OnCommitNavigation(const ResourceResponseHead& response, |
| 633 const GURL& stream_url, | 633 const GURL& stream_url, |
| 634 const CommonNavigationParams& common_params, | 634 const CommonNavigationParams& common_params, |
| 635 const CommitNavigationParams& commit_params); | 635 const CommitNavigationParams& commit_params); |
| 636 void OnReplaceLocalFrameWithProxy(int proxy_routing_id); |
| 636 | 637 |
| 637 // Virtual since overridden by WebTestProxy for layout tests. | 638 // Virtual since overridden by WebTestProxy for layout tests. |
| 638 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( | 639 virtual blink::WebNavigationPolicy DecidePolicyForNavigation( |
| 639 RenderFrame* render_frame, | 640 RenderFrame* render_frame, |
| 640 const NavigationPolicyInfo& info); | 641 const NavigationPolicyInfo& info); |
| 641 void OpenURL(blink::WebFrame* frame, | 642 void OpenURL(blink::WebFrame* frame, |
| 642 const GURL& url, | 643 const GURL& url, |
| 643 const Referrer& referrer, | 644 const Referrer& referrer, |
| 644 blink::WebNavigationPolicy policy); | 645 blink::WebNavigationPolicy policy); |
| 645 | 646 |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 #endif | 870 #endif |
| 870 | 871 |
| 871 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 872 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 872 | 873 |
| 873 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 874 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 874 }; | 875 }; |
| 875 | 876 |
| 876 } // namespace content | 877 } // namespace content |
| 877 | 878 |
| 878 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 879 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |