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 COMPONENTS_WEB_VIEW_FRAME_CONNECTION_H_ | 5 #ifndef COMPONENTS_WEB_VIEW_FRAME_CONNECTION_H_ |
6 #define COMPONENTS_WEB_VIEW_FRAME_CONNECTION_H_ | 6 #define COMPONENTS_WEB_VIEW_FRAME_CONNECTION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "components/view_manager/public/interfaces/view_tree.mojom.h" | 11 #include "components/mus/public/interfaces/view_tree.mojom.h" |
12 #include "components/web_view/frame_tree_delegate.h" | 12 #include "components/web_view/frame_tree_delegate.h" |
13 #include "components/web_view/frame_user_data.h" | 13 #include "components/web_view/frame_user_data.h" |
14 #include "components/web_view/public/interfaces/frame_tree.mojom.h" | 14 #include "components/web_view/public/interfaces/frame_tree.mojom.h" |
15 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" | 15 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" |
16 | 16 |
17 namespace mojo { | 17 namespace mojo { |
18 class ApplicationConnection; | 18 class ApplicationConnection; |
19 class ApplicationImpl; | 19 class ApplicationImpl; |
20 } | 20 } |
21 | 21 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 // TODO(sky): needs to be destroyed when connection lost. | 66 // TODO(sky): needs to be destroyed when connection lost. |
67 scoped_ptr<mojo::ApplicationConnection> application_connection_; | 67 scoped_ptr<mojo::ApplicationConnection> application_connection_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(FrameConnection); | 69 DISALLOW_COPY_AND_ASSIGN(FrameConnection); |
70 }; | 70 }; |
71 | 71 |
72 } // namespace web_view | 72 } // namespace web_view |
73 | 73 |
74 #endif // COMPONENTS_WEB_VIEW_FRAME_CONNECTION_H_ | 74 #endif // COMPONENTS_WEB_VIEW_FRAME_CONNECTION_H_ |
OLD | NEW |