Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 1257553002: [Proof-of-concept] PlzNavigate and Service Worker Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass navigation_provider_id Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698