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 #ifndef EditingTestBase_h | 5 #ifndef EditingTestBase_h |
6 #define EditingTestBase_h | 6 #define EditingTestBase_h |
7 | 7 |
8 #include <gtest/gtest.h> | 8 #include <gtest/gtest.h> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 #include "core/editing/Position.h" | 11 #include "core/editing/Position.h" |
12 #include "core/testing/DummyPageHolder.h" | 12 #include "core/testing/DummyPageHolder.h" |
13 #include "wtf/Forward.h" | 13 #include "platform/wtf/Forward.h" |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 | 16 |
17 class FrameSelection; | 17 class FrameSelection; |
18 class LocalFrame; | 18 class LocalFrame; |
19 | 19 |
20 class EditingTestBase : public ::testing::Test { | 20 class EditingTestBase : public ::testing::Test { |
21 USING_FAST_MALLOC(EditingTestBase); | 21 USING_FAST_MALLOC(EditingTestBase); |
22 | 22 |
23 protected: | 23 protected: |
(...skipping 19 matching lines...) Expand all Loading... |
43 const char* shadow_host_id); | 43 const char* shadow_host_id); |
44 void UpdateAllLifecyclePhases(); | 44 void UpdateAllLifecyclePhases(); |
45 | 45 |
46 private: | 46 private: |
47 std::unique_ptr<DummyPageHolder> dummy_page_holder_; | 47 std::unique_ptr<DummyPageHolder> dummy_page_holder_; |
48 }; | 48 }; |
49 | 49 |
50 } // namespace blink | 50 } // namespace blink |
51 | 51 |
52 #endif // EditingTestBase_h | 52 #endif // EditingTestBase_h |
OLD | NEW |