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

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

Issue 49823002: Move navigation and frame tree classes to a new frame_host/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing gyp and adding TODO. Created 7 years, 1 month 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
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 #include "content/browser/renderer_host/frame_tree_node.h" 5 #include "content/browser/frame_host/frame_tree_node.h"
6 6
7 #include <queue> 7 #include <queue>
8 8
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "content/browser/renderer_host/render_frame_host_impl.h" 10 #include "content/browser/frame_host/render_frame_host_impl.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 const int64 FrameTreeNode::kInvalidFrameId = -1; 14 const int64 FrameTreeNode::kInvalidFrameId = -1;
15 15
16 FrameTreeNode::FrameTreeNode(int64 frame_id, const std::string& name, 16 FrameTreeNode::FrameTreeNode(int64 frame_id, const std::string& name,
17 scoped_ptr<RenderFrameHostImpl> render_frame_host) 17 scoped_ptr<RenderFrameHostImpl> render_frame_host)
18 : frame_id_(frame_id), 18 : frame_id_(frame_id),
19 frame_name_(name), 19 frame_name_(name),
20 owns_render_frame_host_(true), 20 owns_render_frame_host_(true),
(...skipping 27 matching lines...) Expand all
48 48
49 owns_render_frame_host_ = false; 49 owns_render_frame_host_ = false;
50 frame_id_ = kInvalidFrameId; 50 frame_id_ = kInvalidFrameId;
51 current_url_ = GURL(); 51 current_url_ = GURL();
52 children_.clear(); 52 children_.clear();
53 53
54 render_frame_host_ = new_render_frame_host; 54 render_frame_host_ = new_render_frame_host;
55 } 55 }
56 56
57 } // namespace content 57 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/frame_tree_node.h ('k') | content/browser/frame_host/frame_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698