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

Side by Side Diff: content/browser/frame_host/navigator.cc

Issue 281653003: DRAFT CL: Add FrameNavigationEntry and track subframe session histories. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 5 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/frame_host/navigator.h ('k') | content/browser/frame_host/navigator_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "content/browser/frame_host/navigator.h" 5 #include "content/browser/frame_host/navigator.h"
6 6
7 #include "base/time/time.h" 7 #include "base/time/time.h"
8 #include "content/common/resource_request_body.h" 8 #include "content/common/resource_request_body.h"
9 #include "content/public/browser/stream_handle.h" 9 #include "content/public/browser/stream_handle.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 NavigationController* Navigator::GetController() { 13 NavigationController* Navigator::GetController() {
14 return NULL; 14 return NULL;
15 } 15 }
16 16
17 bool Navigator::NavigateToPendingEntry( 17 bool Navigator::NavigateToPendingEntry(
18 FrameTreeNode* frame_tree_node, 18 FrameTreeNode* frame_tree_node,
19 const FrameNavigationEntry& frame_nav_entry,
19 NavigationController::ReloadType reload_type) { 20 NavigationController::ReloadType reload_type) {
20 return false; 21 return false;
21 } 22 }
22 23
23 base::TimeTicks Navigator::GetCurrentLoadStart() { 24 base::TimeTicks Navigator::GetCurrentLoadStart() {
24 return base::TimeTicks::Now(); 25 return base::TimeTicks::Now();
25 } 26 }
26 27
27 void Navigator::OnBeginNavigation( 28 void Navigator::OnBeginNavigation(
28 FrameTreeNode* frame_tree_node, 29 FrameTreeNode* frame_tree_node,
29 const CommonNavigationParams& common_params, 30 const CommonNavigationParams& common_params,
30 const BeginNavigationParams& begin_params, 31 const BeginNavigationParams& begin_params,
31 scoped_refptr<ResourceRequestBody> body) { 32 scoped_refptr<ResourceRequestBody> body) {
32 } 33 }
33 34
34 void Navigator::CommitNavigation(FrameTreeNode* frame_tree_node, 35 void Navigator::CommitNavigation(FrameTreeNode* frame_tree_node,
35 ResourceResponse* response, 36 ResourceResponse* response,
36 scoped_ptr<StreamHandle> body) { 37 scoped_ptr<StreamHandle> body) {
37 } 38 }
38 39
39 bool Navigator::IsWaitingForBeforeUnloadACK(FrameTreeNode* frame_tree_node) { 40 bool Navigator::IsWaitingForBeforeUnloadACK(FrameTreeNode* frame_tree_node) {
40 return false; 41 return false;
41 } 42 }
42 43
43 } // namespace content 44 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator.h ('k') | content/browser/frame_host/navigator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698