| 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" | 7 #include "components/html_viewer/frame_tree_manager.h" |
| 8 #include "components/html_viewer/global_state.h" | 8 #include "components/html_viewer/global_state.h" |
| 9 #include "components/html_viewer/html_document_oopif.h" | 9 #include "components/html_viewer/html_document_oopif.h" |
| 10 #include "components/view_manager/public/cpp/view.h" | 10 #include "components/view_manager/public/cpp/view.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 void DocumentResourceWaiter::OnFrameAdded(mandoline::FrameDataPtr frame_data) { | 66 void DocumentResourceWaiter::OnFrameAdded(mandoline::FrameDataPtr frame_data) { |
| 67 // It is assumed we receive OnConnect() (which unbinds) before anything else. | 67 // It is assumed we receive OnConnect() (which unbinds) before anything else. |
| 68 NOTREACHED(); | 68 NOTREACHED(); |
| 69 } | 69 } |
| 70 | 70 |
| 71 void DocumentResourceWaiter::OnFrameRemoved(uint32_t frame_id) { | 71 void DocumentResourceWaiter::OnFrameRemoved(uint32_t frame_id) { |
| 72 // It is assumed we receive OnConnect() (which unbinds) before anything else. | 72 // It is assumed we receive OnConnect() (which unbinds) before anything else. |
| 73 NOTREACHED(); | 73 NOTREACHED(); |
| 74 } | 74 } |
| 75 | 75 |
| 76 void DocumentResourceWaiter::OnFrameNameChanged(uint32_t frame_id, |
| 77 const mojo::String& name) { |
| 78 // It is assumed we receive OnConnect() (which unbinds) before anything else. |
| 79 NOTREACHED(); |
| 80 } |
| 81 |
| 76 } // namespace html_viewer | 82 } // namespace html_viewer |
| OLD | NEW |