Chromium Code Reviews| 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 423 #elif defined(OS_ANDROID) | 423 #elif defined(OS_ANDROID) |
| 424 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); | 424 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); |
| 425 void DidCancelPopupMenu(); | 425 void DidCancelPopupMenu(); |
| 426 #endif | 426 #endif |
| 427 | 427 |
| 428 // PlzNavigate: Indicates that a navigation is ready to commit and can be | 428 // PlzNavigate: Indicates that a navigation is ready to commit and can be |
| 429 // handled by this RenderFrame. | 429 // handled by this RenderFrame. |
| 430 void CommitNavigation(ResourceResponse* response, | 430 void CommitNavigation(ResourceResponse* response, |
| 431 scoped_ptr<StreamHandle> body, | 431 scoped_ptr<StreamHandle> body, |
| 432 const CommonNavigationParams& common_params, | 432 const CommonNavigationParams& common_params, |
| 433 const RequestNavigationParams& request_params); | 433 const RequestNavigationParams& request_params, |
| 434 int navigation_provider_id); | |
|
nasko
2015/08/07 17:51:11
Why does CommitNavigation need to know that the re
| |
| 434 | 435 |
| 435 // PlzNavigate | 436 // PlzNavigate |
| 436 // Indicates that a navigation failed and that this RenderFrame should display | 437 // Indicates that a navigation failed and that this RenderFrame should display |
| 437 // an error page. | 438 // an error page. |
| 438 void FailedNavigation(const CommonNavigationParams& common_params, | 439 void FailedNavigation(const CommonNavigationParams& common_params, |
| 439 const RequestNavigationParams& request_params, | 440 const RequestNavigationParams& request_params, |
| 440 bool has_stale_copy_in_cache, | 441 bool has_stale_copy_in_cache, |
| 441 int error_code); | 442 int error_code); |
| 442 | 443 |
| 443 // Sets up the Mojo connection between this instance and its associated render | 444 // Sets up the Mojo connection between this instance and its associated render |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 754 | 755 |
| 755 // NOTE: This must be the last member. | 756 // NOTE: This must be the last member. |
| 756 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 757 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 757 | 758 |
| 758 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 759 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 759 }; | 760 }; |
| 760 | 761 |
| 761 } // namespace content | 762 } // namespace content |
| 762 | 763 |
| 763 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 764 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |