| 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, 2005, 2006, 2007 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
| 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 return m_isRequired; | 343 return m_isRequired; |
| 344 } | 344 } |
| 345 | 345 |
| 346 String HTMLFormControlElement::resultForDialogSubmit() | 346 String HTMLFormControlElement::resultForDialogSubmit() |
| 347 { | 347 { |
| 348 return fastGetAttribute(valueAttr); | 348 return fastGetAttribute(valueAttr); |
| 349 } | 349 } |
| 350 | 350 |
| 351 void HTMLFormControlElement::didRecalcStyle(StyleRecalcChange) | 351 void HTMLFormControlElement::didRecalcStyle(StyleRecalcChange) |
| 352 { | 352 { |
| 353 if (RenderObject* renderer = this->renderer()) | 353 if (LayoutObject* renderer = this->renderer()) |
| 354 renderer->updateFromElement(); | 354 renderer->updateFromElement(); |
| 355 } | 355 } |
| 356 | 356 |
| 357 bool HTMLFormControlElement::supportsFocus() const | 357 bool HTMLFormControlElement::supportsFocus() const |
| 358 { | 358 { |
| 359 return !isDisabledFormControl(); | 359 return !isDisabledFormControl(); |
| 360 } | 360 } |
| 361 | 361 |
| 362 bool HTMLFormControlElement::isKeyboardFocusable() const | 362 bool HTMLFormControlElement::isKeyboardFocusable() const |
| 363 { | 363 { |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 622 | 622 |
| 623 void HTMLFormControlElement::setFocus(bool flag) | 623 void HTMLFormControlElement::setFocus(bool flag) |
| 624 { | 624 { |
| 625 LabelableElement::setFocus(flag); | 625 LabelableElement::setFocus(flag); |
| 626 | 626 |
| 627 if (!flag && wasChangedSinceLastFormControlChangeEvent()) | 627 if (!flag && wasChangedSinceLastFormControlChangeEvent()) |
| 628 dispatchFormControlChangeEvent(); | 628 dispatchFormControlChangeEvent(); |
| 629 } | 629 } |
| 630 | 630 |
| 631 } // namespace blink | 631 } // namespace blink |
| OLD | NEW |