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

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

Issue 2513893002: Make ifdefs consistent in WebKit/Source/core/ (Closed)
Patch Set: Limited fix to /core/ only. Created 4 years 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 /* 1 /*
2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 virtual bool nodeAtPoint(HitTestResult&, 116 virtual bool nodeAtPoint(HitTestResult&,
117 const HitTestLocation& locationInContainer, 117 const HitTestLocation& locationInContainer,
118 const LayoutPoint& accumulatedOffset, 118 const LayoutPoint& accumulatedOffset,
119 LayoutUnit lineTop, 119 LayoutUnit lineTop,
120 LayoutUnit lineBottom); 120 LayoutUnit lineBottom);
121 121
122 // InlineBoxes are allocated out of the rendering partition. 122 // InlineBoxes are allocated out of the rendering partition.
123 void* operator new(size_t); 123 void* operator new(size_t);
124 void operator delete(void*); 124 void operator delete(void*);
125 125
126 #ifndef NDEBUG 126 #if DCHECK_IS_ON()
127 void showTreeForThis() const; 127 void showTreeForThis() const;
128 void showLineTreeForThis() const; 128 void showLineTreeForThis() const;
129 129
130 virtual void showBox(int = 0) const; 130 virtual void showBox(int = 0) const;
131 virtual void showLineTreeAndMark(const InlineBox* = nullptr, 131 virtual void showLineTreeAndMark(const InlineBox* = nullptr,
132 const char* = nullptr, 132 const char* = nullptr,
133 const InlineBox* = nullptr, 133 const InlineBox* = nullptr,
134 const char* = nullptr, 134 const char* = nullptr,
135 const LayoutObject* = nullptr, 135 const LayoutObject* = nullptr,
136 int = 0) const; 136 int = 0) const;
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 576
577 } // namespace blink 577 } // namespace blink
578 578
579 #ifndef NDEBUG 579 #ifndef NDEBUG
580 // Outside the WebCore namespace for ease of invocation from gdb. 580 // Outside the WebCore namespace for ease of invocation from gdb.
581 void showTree(const blink::InlineBox*); 581 void showTree(const blink::InlineBox*);
582 void showLineTree(const blink::InlineBox*); 582 void showLineTree(const blink::InlineBox*);
583 #endif 583 #endif
584 584
585 #endif // InlineBox_h 585 #endif // InlineBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698