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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutTestHelper.h

Issue 2641173008: [SPv2] Add CSS mask support (Closed)
Patch Set: rebase Created 3 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 LayoutTestHelper_h 5 #ifndef LayoutTestHelper_h
6 #define LayoutTestHelper_h 6 #define LayoutTestHelper_h
7 7
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/frame/FrameHost.h" 9 #include "core/frame/FrameHost.h"
10 #include "core/frame/FrameView.h" 10 #include "core/frame/FrameView.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 document().view()->setParentVisible(true); 105 document().view()->setParentVisible(true);
106 document().view()->setSelfVisible(true); 106 document().view()->setSelfVisible(true);
107 document().view()->updateAllLifecyclePhases(); 107 document().view()->updateAllLifecyclePhases();
108 } 108 }
109 109
110 LayoutObject* getLayoutObjectByElementId(const char* id) const { 110 LayoutObject* getLayoutObjectByElementId(const char* id) const {
111 Node* node = document().getElementById(id); 111 Node* node = document().getElementById(id);
112 return node ? node->layoutObject() : nullptr; 112 return node ? node->layoutObject() : nullptr;
113 } 113 }
114 114
115 void loadAhem();
116
115 private: 117 private:
116 Persistent<FrameLoaderClient> m_frameLoaderClient; 118 Persistent<FrameLoaderClient> m_frameLoaderClient;
117 std::unique_ptr<DummyPageHolder> m_pageHolder; 119 std::unique_ptr<DummyPageHolder> m_pageHolder;
118 }; 120 };
119 121
120 } // namespace blink 122 } // namespace blink
121 123
122 #endif // LayoutTestHelper_h 124 #endif // LayoutTestHelper_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFaceSet.h ('k') | third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698