| 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_CONNECTION_H_ | 5 #ifndef MANDOLINE_TAB_FRAME_CONNECTION_H_ |
| 6 #define MANDOLINE_TAB_FRAME_CONNECTION_H_ | 6 #define MANDOLINE_TAB_FRAME_CONNECTION_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "components/view_manager/public/interfaces/view_manager.mojom.h" | 9 #include "components/view_manager/public/interfaces/view_manager.mojom.h" |
| 10 #include "mandoline/tab/frame_user_data.h" | 10 #include "mandoline/tab/frame_user_data.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 mojo::ViewManagerClientPtr* view_manage_client); | 31 mojo::ViewManagerClientPtr* view_manage_client); |
| 32 | 32 |
| 33 FrameTreeClient* frame_tree_client() { return frame_tree_client_.get(); } | 33 FrameTreeClient* frame_tree_client() { return frame_tree_client_.get(); } |
| 34 | 34 |
| 35 mojo::ApplicationConnection* application_connection() { | 35 mojo::ApplicationConnection* application_connection() { |
| 36 return application_connection_; | 36 return application_connection_; |
| 37 } | 37 } |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 FrameTreeClientPtr frame_tree_client_; | 40 FrameTreeClientPtr frame_tree_client_; |
| 41 |
| 41 // TODO(sky): needs to be destroyed when connection lost. | 42 // TODO(sky): needs to be destroyed when connection lost. |
| 42 mojo::ApplicationConnection* application_connection_; | 43 mojo::ApplicationConnection* application_connection_; |
| 43 | 44 |
| 44 DISALLOW_COPY_AND_ASSIGN(FrameConnection); | 45 DISALLOW_COPY_AND_ASSIGN(FrameConnection); |
| 45 }; | 46 }; |
| 46 | 47 |
| 47 } // namespace mandoline | 48 } // namespace mandoline |
| 48 | 49 |
| 49 #endif // MANDOLINE_TAB_FRAME_CONNECTION_H_ | 50 #endif // MANDOLINE_TAB_FRAME_CONNECTION_H_ |
| OLD | NEW |