| OLD | NEW | 
|   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  Loading... | 
|  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_ | 
| OLD | NEW |