| 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, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
| 8 * Copyright (C) 2010 Google Inc. All rights reserved. | 8 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 9 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 9 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 10 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 10 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 bool HTMLInputElement::layoutObjectIsNeeded(const ComputedStyle& style) | 788 bool HTMLInputElement::layoutObjectIsNeeded(const ComputedStyle& style) |
| 789 { | 789 { |
| 790 return m_inputType->layoutObjectIsNeeded() && HTMLTextFormControlElement::la
youtObjectIsNeeded(style); | 790 return m_inputType->layoutObjectIsNeeded() && HTMLTextFormControlElement::la
youtObjectIsNeeded(style); |
| 791 } | 791 } |
| 792 | 792 |
| 793 LayoutObject* HTMLInputElement::createLayoutObject(const ComputedStyle& style) | 793 LayoutObject* HTMLInputElement::createLayoutObject(const ComputedStyle& style) |
| 794 { | 794 { |
| 795 return m_inputTypeView->createLayoutObject(style); | 795 return m_inputTypeView->createLayoutObject(style); |
| 796 } | 796 } |
| 797 | 797 |
| 798 void HTMLInputElement::attach(const AttachContext& context) | 798 void HTMLInputElement::attachLayoutTree(const AttachContext& context) |
| 799 { | 799 { |
| 800 HTMLTextFormControlElement::attach(context); | 800 HTMLTextFormControlElement::attachLayoutTree(context); |
| 801 | 801 |
| 802 m_inputTypeView->startResourceLoading(); | 802 m_inputTypeView->startResourceLoading(); |
| 803 m_inputType->countUsage(); | 803 m_inputType->countUsage(); |
| 804 | 804 |
| 805 if (document().focusedElement() == this) | 805 if (document().focusedElement() == this) |
| 806 document().updateFocusAppearanceSoon(SelectionBehaviorOnFocus::Restore); | 806 document().updateFocusAppearanceSoon(SelectionBehaviorOnFocus::Restore); |
| 807 } | 807 } |
| 808 | 808 |
| 809 void HTMLInputElement::detach(const AttachContext& context) | 809 void HTMLInputElement::detach(const AttachContext& context) |
| 810 { | 810 { |
| (...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1914 { | 1914 { |
| 1915 return m_inputTypeView->hasFallbackContent(); | 1915 return m_inputTypeView->hasFallbackContent(); |
| 1916 } | 1916 } |
| 1917 | 1917 |
| 1918 void HTMLInputElement::setFilesFromPaths(const Vector<String>& paths) | 1918 void HTMLInputElement::setFilesFromPaths(const Vector<String>& paths) |
| 1919 { | 1919 { |
| 1920 return m_inputType->setFilesFromPaths(paths); | 1920 return m_inputType->setFilesFromPaths(paths); |
| 1921 } | 1921 } |
| 1922 | 1922 |
| 1923 } // namespace blink | 1923 } // namespace blink |
| OLD | NEW |