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

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

Issue 1153393007: Fix assert on Mandoline shutdown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 5 years, 6 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 | « no previous file | 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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 mojo::View* view() { return view_; } 45 mojo::View* view() { return view_; }
46 46
47 void Add(Frame* node); 47 void Add(Frame* node);
48 void Remove(Frame* node); 48 void Remove(Frame* node);
49 49
50 private: 50 private:
51 // mojo::ViewObserver: 51 // mojo::ViewObserver:
52 void OnViewDestroying(mojo::View* view) override; 52 void OnViewDestroying(mojo::View* view) override;
53 53
54 FrameTree* const tree_; 54 FrameTree* const tree_;
55 mojo::View* const view_; 55 mojo::View* view_;
56 Frame* parent_; 56 Frame* parent_;
57 ViewOwnership view_ownership_; 57 ViewOwnership view_ownership_;
58 mojo::ServiceProviderImpl exposed_services_; 58 mojo::ServiceProviderImpl exposed_services_;
59 mojo::ServiceProviderPtr services_; 59 mojo::ServiceProviderPtr services_;
60 std::vector<Frame*> children_; 60 std::vector<Frame*> children_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(Frame); 62 DISALLOW_COPY_AND_ASSIGN(Frame);
63 }; 63 };
64 64
65 } // namespace mandoline 65 } // namespace mandoline
66 66
67 #endif // MANDOLINE_TAB_FRAME_H_ 67 #endif // MANDOLINE_TAB_FRAME_H_
OLDNEW
« no previous file with comments | « no previous file | mandoline/tab/frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698