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

Side by Side Diff: mandoline/tab/frame.h

Issue 1314953002: Rename ViewManagerService,ViewManagerClient -> ViewTree,ViewTreeClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 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/view_manager/view_tree_unittest.cc ('k') | mandoline/tab/frame.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 MANDOLINE_TAB_FRAME_H_ 5 #ifndef MANDOLINE_TAB_FRAME_H_
6 #define MANDOLINE_TAB_FRAME_H_ 6 #define MANDOLINE_TAB_FRAME_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 private: 94 private:
95 friend class FrameTree; 95 friend class FrameTree;
96 96
97 // Initializes the client by sending it the state of the tree. 97 // Initializes the client by sending it the state of the tree.
98 void InitClient(); 98 void InitClient();
99 99
100 // Called in response to FrameTreeClient::OnWillNavigate(). 100 // Called in response to FrameTreeClient::OnWillNavigate().
101 void OnWillNavigateAck(FrameTreeClient* frame_tree_client, 101 void OnWillNavigateAck(FrameTreeClient* frame_tree_client,
102 scoped_ptr<FrameUserData> user_data, 102 scoped_ptr<FrameUserData> user_data,
103 mojo::ViewManagerClientPtr view_manager_client); 103 mojo::ViewTreeClientPtr view_tree_client);
104 104
105 void SetView(mojo::View* view); 105 void SetView(mojo::View* view);
106 106
107 // Returns the first ancestor (starting at |this|) that has a 107 // Returns the first ancestor (starting at |this|) that has a
108 // FrameTreeClient. 108 // FrameTreeClient.
109 Frame* GetAncestorWithFrameTreeClient(); 109 Frame* GetAncestorWithFrameTreeClient();
110 110
111 // Adds this to |frames| and recurses through the children calling the 111 // Adds this to |frames| and recurses through the children calling the
112 // same function. 112 // same function.
113 void BuildFrameTree(std::vector<const Frame*>* frames) const; 113 void BuildFrameTree(std::vector<const Frame*>* frames) const;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 mojo::Binding<FrameTreeServer> frame_tree_server_binding_; 190 mojo::Binding<FrameTreeServer> frame_tree_server_binding_;
191 191
192 base::WeakPtrFactory<Frame> weak_factory_; 192 base::WeakPtrFactory<Frame> weak_factory_;
193 193
194 DISALLOW_COPY_AND_ASSIGN(Frame); 194 DISALLOW_COPY_AND_ASSIGN(Frame);
195 }; 195 };
196 196
197 } // namespace mandoline 197 } // namespace mandoline
198 198
199 #endif // MANDOLINE_TAB_FRAME_H_ 199 #endif // MANDOLINE_TAB_FRAME_H_
OLDNEW
« no previous file with comments | « components/view_manager/view_tree_unittest.cc ('k') | mandoline/tab/frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698