Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: third_party/WebKit/Source/web/tests/sim/SimTest.cpp

Issue 2571893003: Set overflow: auto in StyleResolver::styleForDocument. (Closed)
Patch Set: resolve merge conflict with r438458 Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/tests/sim/SimTest.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "core/frame/LocalDOMWindow.h" 8 #include "core/frame/LocalDOMWindow.h"
9 #include "platform/LayoutTestSupport.h" 9 #include "platform/LayoutTestSupport.h"
10 #include "platform/scroll/ScrollbarTheme.h" 10 #include "platform/scroll/ScrollbarTheme.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 } 54 }
55 55
56 Document& SimTest::document() { 56 Document& SimTest::document() {
57 return *webView().mainFrameImpl()->frame()->document(); 57 return *webView().mainFrameImpl()->frame()->document();
58 } 58 }
59 59
60 WebViewImpl& SimTest::webView() { 60 WebViewImpl& SimTest::webView() {
61 return *m_webViewHelper.webView(); 61 return *m_webViewHelper.webView();
62 } 62 }
63 63
64 WebLocalFrameImpl& SimTest::mainFrame() {
65 return *webView().mainFrameImpl();
66 }
67
64 const SimWebViewClient& SimTest::webViewClient() const { 68 const SimWebViewClient& SimTest::webViewClient() const {
65 return m_webViewClient; 69 return m_webViewClient;
66 } 70 }
67 71
68 SimCompositor& SimTest::compositor() { 72 SimCompositor& SimTest::compositor() {
69 return m_compositor; 73 return m_compositor;
70 } 74 }
71 75
72 } // namespace blink 76 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/sim/SimTest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698