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

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

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « components/safe_browsing_db/util.cc ('k') | content/browser/frame_host/frame_tree.cc » ('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 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_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <iterator> 10 #include <iterator>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 friend class FrameTree; 76 friend class FrameTree;
77 77
78 NodeRange(FrameTreeNode* root, FrameTreeNode* node_to_skip); 78 NodeRange(FrameTreeNode* root, FrameTreeNode* node_to_skip);
79 79
80 FrameTreeNode* const root_; 80 FrameTreeNode* const root_;
81 FrameTreeNode* const node_to_skip_; 81 FrameTreeNode* const node_to_skip_;
82 }; 82 };
83 83
84 class CONTENT_EXPORT ConstNodeIterator { 84 class CONTENT_EXPORT ConstNodeIterator {
85 public: 85 public:
86 ConstNodeIterator(const ConstNodeIterator& other);
86 ~ConstNodeIterator(); 87 ~ConstNodeIterator();
87 88
88 ConstNodeIterator& operator++(); 89 ConstNodeIterator& operator++();
89 90
90 bool operator==(const ConstNodeIterator& rhs) const; 91 bool operator==(const ConstNodeIterator& rhs) const;
91 bool operator!=(const ConstNodeIterator& rhs) const { 92 bool operator!=(const ConstNodeIterator& rhs) const {
92 return !(*this == rhs); 93 return !(*this == rhs);
93 } 94 }
94 95
95 const FrameTreeNode* operator*() { return current_node_; } 96 const FrameTreeNode* operator*() { return current_node_; }
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 295
295 // Overall load progress. 296 // Overall load progress.
296 double load_progress_; 297 double load_progress_;
297 298
298 DISALLOW_COPY_AND_ASSIGN(FrameTree); 299 DISALLOW_COPY_AND_ASSIGN(FrameTree);
299 }; 300 };
300 301
301 } // namespace content 302 } // namespace content
302 303
303 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_H_ 304 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_H_
OLDNEW
« no previous file with comments | « components/safe_browsing_db/util.cc ('k') | content/browser/frame_host/frame_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698