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 #include "components/html_viewer/document_resource_waiter.h" | 5 #include "components/html_viewer/document_resource_waiter.h" |
6 | 6 |
7 #include "components/html_viewer/frame_tree_manager.h" | |
8 #include "components/html_viewer/global_state.h" | 7 #include "components/html_viewer/global_state.h" |
9 #include "components/html_viewer/html_document_oopif.h" | 8 #include "components/html_viewer/html_document_oopif.h" |
| 9 #include "components/html_viewer/html_frame_tree_manager.h" |
10 #include "components/view_manager/public/cpp/view.h" | 10 #include "components/view_manager/public/cpp/view.h" |
11 | 11 |
12 namespace html_viewer { | 12 namespace html_viewer { |
13 | 13 |
14 DocumentResourceWaiter::DocumentResourceWaiter(GlobalState* global_state, | 14 DocumentResourceWaiter::DocumentResourceWaiter(GlobalState* global_state, |
15 mojo::URLResponsePtr response, | 15 mojo::URLResponsePtr response, |
16 HTMLDocumentOOPIF* document) | 16 HTMLDocumentOOPIF* document) |
17 : global_state_(global_state), | 17 : global_state_(global_state), |
18 document_(document), | 18 document_(document), |
19 response_(response.Pass()), | 19 response_(response.Pass()), |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 NOTREACHED(); | 73 NOTREACHED(); |
74 } | 74 } |
75 | 75 |
76 void DocumentResourceWaiter::OnFrameNameChanged(uint32_t frame_id, | 76 void DocumentResourceWaiter::OnFrameNameChanged(uint32_t frame_id, |
77 const mojo::String& name) { | 77 const mojo::String& name) { |
78 // It is assumed we receive OnConnect() (which unbinds) before anything else. | 78 // It is assumed we receive OnConnect() (which unbinds) before anything else. |
79 NOTREACHED(); | 79 NOTREACHED(); |
80 } | 80 } |
81 | 81 |
82 } // namespace html_viewer | 82 } // namespace html_viewer |
OLD | NEW |