OLD | NEW |
1 /** | 1 /** |
2 * Copyright (C) 2006, 2007, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2010 Apple Inc. All rights reserved. |
3 * (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
4 * Copyright (C) 2010 Google Inc. All rights reserved. | 4 * Copyright (C) 2010 Google Inc. All rights reserved. |
5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 } | 468 } |
469 | 469 |
470 bool RenderTextControlSingleLine::logicalScroll(ScrollLogicalDirection direction
, ScrollGranularity granularity, float multiplier, Node** stopNode) | 470 bool RenderTextControlSingleLine::logicalScroll(ScrollLogicalDirection direction
, ScrollGranularity granularity, float multiplier, Node** stopNode) |
471 { | 471 { |
472 RenderLayer* layer = innerTextElement()->renderBox()->layer(); | 472 RenderLayer* layer = innerTextElement()->renderBox()->layer(); |
473 if (layer && layer->scroll(logicalToPhysical(direction, style()->isHorizonta
lWritingMode(), style()->isFlippedBlocksWritingMode()), granularity, multiplier)
) | 473 if (layer && layer->scroll(logicalToPhysical(direction, style()->isHorizonta
lWritingMode(), style()->isFlippedBlocksWritingMode()), granularity, multiplier)
) |
474 return true; | 474 return true; |
475 return RenderBlock::logicalScroll(direction, granularity, multiplier, stopNo
de); | 475 return RenderBlock::logicalScroll(direction, granularity, multiplier, stopNo
de); |
476 } | 476 } |
477 | 477 |
478 HTMLInputElement* RenderTextControlSingleLine::inputElement() const | 478 Result<HTMLInputElement> RenderTextControlSingleLine::inputElement() const |
479 { | 479 { |
480 return node()->toInputElement(); | 480 return node()->toInputElement(); |
481 } | 481 } |
482 | 482 |
483 } | 483 } |
OLD | NEW |