| 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/html_document_application_delegate.h" | 5 #include "components/html_viewer/html_document_application_delegate.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/macros.h" |
| 8 #include "components/html_viewer/global_state.h" | 9 #include "components/html_viewer/global_state.h" |
| 9 #include "components/html_viewer/html_document.h" | 10 #include "components/html_viewer/html_document.h" |
| 10 #include "mojo/application/public/cpp/application_connection.h" | 11 #include "mojo/application/public/cpp/application_connection.h" |
| 11 #include "mojo/application/public/cpp/application_delegate.h" | 12 #include "mojo/application/public/cpp/application_delegate.h" |
| 12 #include "mojo/application/public/cpp/connect.h" | 13 #include "mojo/application/public/cpp/connect.h" |
| 13 | 14 |
| 14 namespace html_viewer { | 15 namespace html_viewer { |
| 15 | 16 |
| 16 // ServiceConnectorQueue records all incoming service requests and processes | 17 // ServiceConnectorQueue records all incoming service requests and processes |
| 17 // them once PushRequestsTo() is called. This is useful if you need to delay | 18 // them once PushRequestsTo() is called. This is useful if you need to delay |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 HTMLFrame::CreateParams* params) { | 176 HTMLFrame::CreateParams* params) { |
| 176 return new HTMLFrame(params); | 177 return new HTMLFrame(params); |
| 177 } | 178 } |
| 178 | 179 |
| 179 HTMLWidgetRootLocal* HTMLDocumentApplicationDelegate::CreateHTMLWidgetRootLocal( | 180 HTMLWidgetRootLocal* HTMLDocumentApplicationDelegate::CreateHTMLWidgetRootLocal( |
| 180 HTMLWidgetRootLocal::CreateParams* params) { | 181 HTMLWidgetRootLocal::CreateParams* params) { |
| 181 return new HTMLWidgetRootLocal(params); | 182 return new HTMLWidgetRootLocal(params); |
| 182 } | 183 } |
| 183 | 184 |
| 184 } // namespace html_viewer | 185 } // namespace html_viewer |
| OLD | NEW |