OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2011 Google Inc. All Rights Reserved. |
3 * Copyright (C) 2012 Apple Inc. All Rights Reserved. | 3 * Copyright (C) 2012 Apple Inc. All Rights Reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 #endif | 153 #endif |
154 | 154 |
155 void setNeedsStyleRecalcForViewportUnits(); | 155 void setNeedsStyleRecalcForViewportUnits(); |
156 | 156 |
157 private: | 157 private: |
158 virtual void dispose() { } | 158 virtual void dispose() { } |
159 | 159 |
160 #if !ENABLE(OILPAN) | 160 #if !ENABLE(OILPAN) |
161 int refCount() const; | 161 int refCount() const; |
162 | 162 |
163 #if SECURITY_ASSERT_ENABLED | 163 #if ENABLE(SECURITY_ASSERT) |
164 bool deletionHasBegun(); | 164 bool deletionHasBegun(); |
165 void beginDeletion(); | 165 void beginDeletion(); |
166 #else | 166 #else |
167 bool deletionHasBegun() { return false; } | 167 bool deletionHasBegun() { return false; } |
168 void beginDeletion() { } | 168 void beginDeletion() { } |
169 #endif | 169 #endif |
170 #endif | 170 #endif |
171 | 171 |
172 bool rootNodeHasTreeSharedParent() const; | 172 bool rootNodeHasTreeSharedParent() const; |
173 | 173 |
(...skipping 26 matching lines...) Expand all Loading... |
200 } | 200 } |
201 | 201 |
202 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(TreeScope) | 202 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(TreeScope) |
203 | 203 |
204 HitTestResult hitTestInDocument(const Document*, int x, int y); | 204 HitTestResult hitTestInDocument(const Document*, int x, int y); |
205 TreeScope* commonTreeScope(Node*, Node*); | 205 TreeScope* commonTreeScope(Node*, Node*); |
206 | 206 |
207 } // namespace WebCore | 207 } // namespace WebCore |
208 | 208 |
209 #endif // TreeScope_h | 209 #endif // TreeScope_h |
OLD | NEW |