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

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

Issue 1906213003: OOPIF: Fix subframe back/forward after recreating FTNs (try #2). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits Created 4 years, 7 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_FRAME_TREE_NODE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 } 91 }
92 92
93 int frame_tree_node_id() const { 93 int frame_tree_node_id() const {
94 return frame_tree_node_id_; 94 return frame_tree_node_id_;
95 } 95 }
96 96
97 const std::string& frame_name() const { 97 const std::string& frame_name() const {
98 return replication_state_.name; 98 return replication_state_.name;
99 } 99 }
100 100
101 const std::string& unique_name() const {
102 return replication_state_.unique_name;
103 }
104
101 size_t child_count() const { 105 size_t child_count() const {
102 return children_.size(); 106 return children_.size();
103 } 107 }
104 108
105 FrameTreeNode* parent() const { return parent_; } 109 FrameTreeNode* parent() const { return parent_; }
106 110
107 FrameTreeNode* opener() const { return opener_; } 111 FrameTreeNode* opener() const { return opener_; }
108 112
109 // Assigns a new opener for this node and, if |opener| is non-null, registers 113 // Assigns a new opener for this node and, if |opener| is non-null, registers
110 // an observer that will clear this node's opener if |opener| is ever 114 // an observer that will clear this node's opener if |opener| is ever
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 base::ObserverList<Observer> observers_; 350 base::ObserverList<Observer> observers_;
347 351
348 base::TimeTicks last_focus_time_; 352 base::TimeTicks last_focus_time_;
349 353
350 DISALLOW_COPY_AND_ASSIGN(FrameTreeNode); 354 DISALLOW_COPY_AND_ASSIGN(FrameTreeNode);
351 }; 355 };
352 356
353 } // namespace content 357 } // namespace content
354 358
355 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_ 359 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/frame_navigation_entry.cc ('k') | content/browser/frame_host/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698