| 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 "web/tests/sim/SimTest.h" | 5 #include "web/tests/sim/SimTest.h" |
| 6 | 6 |
| 7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 8 #include "platform/LayoutTestSupport.h" | 8 #include "platform/LayoutTestSupport.h" |
| 9 #include "platform/scroll/ScrollbarTheme.h" | 9 #include "platform/scroll/ScrollbarTheme.h" |
| 10 #include "public/platform/WebSecurityOrigin.h" | 10 #include "public/platform/WebSecurityOrigin.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 webView().mainFrameImpl()->loadRequest(request); | 46 webView().mainFrameImpl()->loadRequest(request); |
| 47 } | 47 } |
| 48 | 48 |
| 49 Document& SimTest::document() | 49 Document& SimTest::document() |
| 50 { | 50 { |
| 51 return *webView().mainFrameImpl()->frame()->document(); | 51 return *webView().mainFrameImpl()->frame()->document(); |
| 52 } | 52 } |
| 53 | 53 |
| 54 WebViewImpl& SimTest::webView() | 54 WebViewImpl& SimTest::webView() |
| 55 { | 55 { |
| 56 return *m_webViewHelper.webViewImpl(); | 56 return *m_webViewHelper.webView(); |
| 57 } | 57 } |
| 58 | 58 |
| 59 const SimWebViewClient& SimTest::webViewClient() const | 59 const SimWebViewClient& SimTest::webViewClient() const |
| 60 { | 60 { |
| 61 return m_webViewClient; | 61 return m_webViewClient; |
| 62 } | 62 } |
| 63 | 63 |
| 64 SimCompositor& SimTest::compositor() | 64 SimCompositor& SimTest::compositor() |
| 65 { | 65 { |
| 66 return m_compositor; | 66 return m_compositor; |
| 67 } | 67 } |
| 68 | 68 |
| 69 } // namespace blink | 69 } // namespace blink |
| OLD | NEW |