| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 2 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 3 * Copyright (C) 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2009 Apple Inc. 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // We override the two baseline functions because we want our baseline to be
the bottom of our margin box. | 44 // We override the two baseline functions because we want our baseline to be
the bottom of our margin box. |
| 45 int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePo
sitionMode = PositionOnContainingLine) const override; | 45 int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePo
sitionMode = PositionOnContainingLine) const override; |
| 46 int inlineBlockBaseline(LineDirectionMode) const override { return -1; } | 46 int inlineBlockBaseline(LineDirectionMode) const override { return -1; } |
| 47 | 47 |
| 48 PassRefPtr<ComputedStyle> createInnerEditorStyle(const ComputedStyle& startS
tyle) const override; | 48 PassRefPtr<ComputedStyle> createInnerEditorStyle(const ComputedStyle& startS
tyle) const override; |
| 49 LayoutObject* layoutSpecialExcludedChild(bool relayoutChildren, SubtreeLayou
tScope&) override; | 49 LayoutObject* layoutSpecialExcludedChild(bool relayoutChildren, SubtreeLayou
tScope&) override; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTextControlMultiLine, isTextArea()); | 52 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTextControlMultiLine, isTextArea()); |
| 53 | 53 |
| 54 } | 54 } // namespace blink |
| 55 | 55 |
| 56 #endif | 56 #endif |
| OLD | NEW |