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/layout_test_content_handler_impl.h" | 5 #include "components/html_viewer/layout_test_content_handler_impl.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_application_delegate.h" | 10 #include "components/html_viewer/html_document_application_delegate.h" |
10 #include "components/html_viewer/html_widget.h" | 11 #include "components/html_viewer/html_widget.h" |
11 #include "components/html_viewer/layout_test_blink_settings_impl.h" | 12 #include "components/html_viewer/layout_test_blink_settings_impl.h" |
12 #include "components/html_viewer/web_test_delegate_impl.h" | 13 #include "components/html_viewer/web_test_delegate_impl.h" |
13 #include "components/test_runner/web_frame_test_proxy.h" | 14 #include "components/test_runner/web_frame_test_proxy.h" |
14 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 15 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
15 #include "third_party/WebKit/public/web/WebTestingSupport.h" | 16 #include "third_party/WebKit/public/web/WebTestingSupport.h" |
16 #include "third_party/WebKit/public/web/WebView.h" | 17 #include "third_party/WebKit/public/web/WebView.h" |
17 | 18 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 proxy->set_base_proxy(web_widget_proxy_); | 102 proxy->set_base_proxy(web_widget_proxy_); |
102 test_delegate_->set_test_proxy(web_widget_proxy_); | 103 test_delegate_->set_test_proxy(web_widget_proxy_); |
103 test_interfaces_->SetWebView(web_widget_proxy_->web_view(), | 104 test_interfaces_->SetWebView(web_widget_proxy_->web_view(), |
104 web_widget_proxy_); | 105 web_widget_proxy_); |
105 web_widget_proxy_->set_widget(web_widget_proxy_->web_view()); | 106 web_widget_proxy_->set_widget(web_widget_proxy_->web_view()); |
106 test_interfaces_->BindTo(web_widget_proxy_->web_view()->mainFrame()); | 107 test_interfaces_->BindTo(web_widget_proxy_->web_view()->mainFrame()); |
107 return proxy; | 108 return proxy; |
108 } | 109 } |
109 | 110 |
110 } // namespace html_viewer | 111 } // namespace html_viewer |
OLD | NEW |