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

Side by Side Diff: third_party/WebKit/Source/core/editing/EditingTestBase.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 EditingTestBase_h 5 #ifndef EditingTestBase_h
6 #define EditingTestBase_h 6 #define EditingTestBase_h
7 7
8 #include "core/editing/Position.h" 8 #include "core/editing/Position.h"
9 #include "wtf/Forward.h" 9 #include "wtf/Forward.h"
10 #include <gtest/gtest.h> 10 #include <gtest/gtest.h>
11 #include <string> 11 #include <string>
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class DummyPageHolder; 15 class DummyPageHolder;
16 16
17 class EditingTestBase : public ::testing::Test { 17 class EditingTestBase : public ::testing::Test {
18 USING_FAST_MALLOC(EditingTestBase); 18 USING_FAST_MALLOC(EditingTestBase);
19 protected: 19 protected:
20 EditingTestBase(); 20 EditingTestBase();
21 ~EditingTestBase() override; 21 ~EditingTestBase() override;
22 22
23 void SetUp() override; 23 void SetUp() override;
24 24
25 Document& document() const; 25 Document& document() const;
26 DummyPageHolder& dummyPageHolder() const { return *m_dummyPageHolder; } 26 DummyPageHolder& dummyPageHolder() const { return *m_dummyPageHolder; }
27 27
28 static PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRootForElementWithIDAn dSetInnerHTML(TreeScope&, const char* hostElementID, const char* shadowRootConte nt); 28 static RawPtr<ShadowRoot> createShadowRootForElementWithIDAndSetInnerHTML(Tr eeScope&, const char* hostElementID, const char* shadowRootContent);
29 29
30 void setBodyContent(const std::string&); 30 void setBodyContent(const std::string&);
31 PassRefPtrWillBeRawPtr<ShadowRoot> setShadowContent(const char* shadowConten t, const char* shadowHostId); 31 RawPtr<ShadowRoot> setShadowContent(const char* shadowContent, const char* s hadowHostId);
32 void updateLayoutAndStyleForPainting(); 32 void updateLayoutAndStyleForPainting();
33 33
34 private: 34 private:
35 OwnPtr<DummyPageHolder> m_dummyPageHolder; 35 OwnPtr<DummyPageHolder> m_dummyPageHolder;
36 }; 36 };
37 37
38 } // namespace blink 38 } // namespace blink
39 39
40 #endif // EditingTestBase_h 40 #endif // EditingTestBase_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/EditingStyle.cpp ('k') | third_party/WebKit/Source/core/editing/EditingTestBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698