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

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

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
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 #ifndef SimTest_h 5 #ifndef SimTest_h
6 #define SimTest_h 6 #define SimTest_h
7 7
8 #include "web/tests/FrameTestHelpers.h" 8 #include "web/tests/FrameTestHelpers.h"
9 #include "web/tests/sim/SimCompositor.h" 9 #include "web/tests/sim/SimCompositor.h"
10 #include "web/tests/sim/SimNetwork.h" 10 #include "web/tests/sim/SimNetwork.h"
11 #include "web/tests/sim/SimPage.h" 11 #include "web/tests/sim/SimPage.h"
12 #include "web/tests/sim/SimWebViewClient.h" 12 #include "web/tests/sim/SimWebViewClient.h"
13 #include <gtest/gtest.h> 13 #include <gtest/gtest.h>
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class WebViewImpl; 17 class WebViewImpl;
18 class WebLocalFrameImpl;
18 class Document; 19 class Document;
19 class LocalDOMWindow; 20 class LocalDOMWindow;
20 21
21 class SimTest : public ::testing::Test { 22 class SimTest : public ::testing::Test {
22 protected: 23 protected:
23 SimTest(); 24 SimTest();
24 ~SimTest() override; 25 ~SimTest() override;
25 26
26 void loadURL(const String& url); 27 void loadURL(const String& url);
27 28
28 LocalDOMWindow& window(); 29 LocalDOMWindow& window();
29 SimPage& page(); 30 SimPage& page();
30 Document& document(); 31 Document& document();
31 WebViewImpl& webView(); 32 WebViewImpl& webView();
33 WebLocalFrameImpl& mainFrame();
32 const SimWebViewClient& webViewClient() const; 34 const SimWebViewClient& webViewClient() const;
33 SimCompositor& compositor(); 35 SimCompositor& compositor();
34 36
35 private: 37 private:
36 SimNetwork m_network; 38 SimNetwork m_network;
37 SimCompositor m_compositor; 39 SimCompositor m_compositor;
38 SimWebViewClient m_webViewClient; 40 SimWebViewClient m_webViewClient;
39 SimPage m_page; 41 SimPage m_page;
40 FrameTestHelpers::WebViewHelper m_webViewHelper; 42 FrameTestHelpers::WebViewHelper m_webViewHelper;
41 }; 43 };
42 44
43 } // namespace blink 45 } // namespace blink
44 46
45 #endif 47 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/ScrollbarsTest.cpp ('k') | third_party/WebKit/Source/web/tests/sim/SimTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698