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

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

Issue 1313283002: Re-introduce printers for Node, Position, PositionAnchorType in GTest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-26T14:32:13 Add comments for printers which are only for testing Created 5 years, 4 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
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/editing/Position.h » ('j') | 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 #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 "core/testing/CoreTestHelpers.h"
10 #include "wtf/Forward.h" 9 #include "wtf/Forward.h"
11 #include <gtest/gtest.h> 10 #include <gtest/gtest.h>
12 11
13 namespace blink { 12 namespace blink {
14 13
15 class DummyPageHolder; 14 class DummyPageHolder;
16 15
17 class EditingTestBase : public ::testing::Test { 16 class EditingTestBase : public ::testing::Test {
18 WTF_MAKE_FAST_ALLOCATED(EditingTestBase); 17 WTF_MAKE_FAST_ALLOCATED(EditingTestBase);
19 protected: 18 protected:
(...skipping 10 matching lines...) Expand all
30 PassRefPtrWillBeRawPtr<ShadowRoot> setShadowContent(const char* shadowConten t, const char* host = "host"); 29 PassRefPtrWillBeRawPtr<ShadowRoot> setShadowContent(const char* shadowConten t, const char* host = "host");
31 void updateLayoutAndStyleForPainting(); 30 void updateLayoutAndStyleForPainting();
32 31
33 private: 32 private:
34 OwnPtr<DummyPageHolder> m_dummyPageHolder; 33 OwnPtr<DummyPageHolder> m_dummyPageHolder;
35 }; 34 };
36 35
37 } // namespace blink 36 } // namespace blink
38 37
39 #endif // EditingTestBase_h 38 #endif // EditingTestBase_h
OLDNEW
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/editing/Position.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698