| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 7 * (http://www.torchmobile.com/) | 7 * (http://www.torchmobile.com/) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 virtual bool canContainRangeEndPoint() const { return false; } | 359 virtual bool canContainRangeEndPoint() const { return false; } |
| 360 | 360 |
| 361 // For <link> and <style> elements. | 361 // For <link> and <style> elements. |
| 362 virtual bool sheetLoaded() { return true; } | 362 virtual bool sheetLoaded() { return true; } |
| 363 enum LoadedSheetErrorStatus { | 363 enum LoadedSheetErrorStatus { |
| 364 NoErrorLoadingSubresource, | 364 NoErrorLoadingSubresource, |
| 365 ErrorOccurredLoadingSubresource | 365 ErrorOccurredLoadingSubresource |
| 366 }; | 366 }; |
| 367 virtual void notifyLoadedSheetAndAllCriticalSubresources( | 367 virtual void notifyLoadedSheetAndAllCriticalSubresources( |
| 368 LoadedSheetErrorStatus) {} | 368 LoadedSheetErrorStatus) {} |
| 369 virtual void startLoadingDynamicSheet() { ASSERT_NOT_REACHED(); } | 369 virtual void startLoadingDynamicSheet() { NOTREACHED(); } |
| 370 | 370 |
| 371 bool hasName() const { | 371 bool hasName() const { |
| 372 DCHECK(!isTextNode()); | 372 DCHECK(!isTextNode()); |
| 373 return getFlag(HasNameOrIsEditingTextFlag); | 373 return getFlag(HasNameOrIsEditingTextFlag); |
| 374 } | 374 } |
| 375 | 375 |
| 376 bool isUserActionElement() const { return getFlag(IsUserActionElementFlag); } | 376 bool isUserActionElement() const { return getFlag(IsUserActionElementFlag); } |
| 377 void setUserActionElement(bool flag) { | 377 void setUserActionElement(bool flag) { |
| 378 setFlag(flag, IsUserActionElementFlag); | 378 setFlag(flag, IsUserActionElementFlag); |
| 379 } | 379 } |
| (...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1021 } // namespace blink | 1021 } // namespace blink |
| 1022 | 1022 |
| 1023 #ifndef NDEBUG | 1023 #ifndef NDEBUG |
| 1024 // Outside the WebCore namespace for ease of invocation from gdb. | 1024 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1025 void showNode(const blink::Node*); | 1025 void showNode(const blink::Node*); |
| 1026 void showTree(const blink::Node*); | 1026 void showTree(const blink::Node*); |
| 1027 void showNodePath(const blink::Node*); | 1027 void showNodePath(const blink::Node*); |
| 1028 #endif | 1028 #endif |
| 1029 | 1029 |
| 1030 #endif // Node_h | 1030 #endif // Node_h |
| OLD | NEW |