OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 void operator delete(void*, size_t); | 104 void operator delete(void*, size_t); |
105 | 105 |
106 private: | 106 private: |
107 // The normal operator new is disallowed. | 107 // The normal operator new is disallowed. |
108 void* operator new(size_t) throw(); | 108 void* operator new(size_t) throw(); |
109 | 109 |
110 public: | 110 public: |
111 #ifndef NDEBUG | 111 #ifndef NDEBUG |
112 void showTreeForThis() const; | 112 void showTreeForThis() const; |
113 void showLineTreeForThis() const; | 113 void showLineTreeForThis() const; |
114 | 114 |
115 virtual void showBox(int = 0) const; | 115 virtual void showBox(int = 0) const; |
116 virtual void showLineTreeAndMark(const InlineBox* = 0, const char* = 0, cons
t InlineBox* = 0, const char* = 0, const RenderObject* = 0, int = 0) const; | 116 virtual void showLineTreeAndMark(const InlineBox* = 0, const char* = 0, cons
t InlineBox* = 0, const char* = 0, const RenderObject* = 0, int = 0) const; |
117 virtual const char* boxName() const; | 117 virtual const char* boxName() const; |
118 #endif | 118 #endif |
119 | 119 |
120 bool isText() const { return m_bitfields.isText(); } | 120 bool isText() const { return m_bitfields.isText(); } |
121 void setIsText(bool isText) { m_bitfields.setIsText(isText); } | 121 void setIsText(bool isText) { m_bitfields.setIsText(isText); } |
122 | 122 |
123 virtual bool isInlineFlowBox() const { return false; } | 123 virtual bool isInlineFlowBox() const { return false; } |
124 virtual bool isInlineTextBox() const { return false; } | 124 virtual bool isInlineTextBox() const { return false; } |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 | 438 |
439 } // namespace WebCore | 439 } // namespace WebCore |
440 | 440 |
441 #ifndef NDEBUG | 441 #ifndef NDEBUG |
442 // Outside the WebCore namespace for ease of invocation from gdb. | 442 // Outside the WebCore namespace for ease of invocation from gdb. |
443 void showTree(const WebCore::InlineBox*); | 443 void showTree(const WebCore::InlineBox*); |
444 void showLineTree(const WebCore::InlineBox*); | 444 void showLineTree(const WebCore::InlineBox*); |
445 #endif | 445 #endif |
446 | 446 |
447 #endif // InlineBox_h | 447 #endif // InlineBox_h |
OLD | NEW |