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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLInputElement.cpp

Issue 2093383002: Implement disabledAttributeChanged() in HTMLInputElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLInputElement.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1515 matching lines...) Expand 10 before | Expand all | Expand 10 after
1526 } 1526 }
1527 1527
1528 void HTMLInputElement::requiredAttributeChanged() 1528 void HTMLInputElement::requiredAttributeChanged()
1529 { 1529 {
1530 HTMLTextFormControlElement::requiredAttributeChanged(); 1530 HTMLTextFormControlElement::requiredAttributeChanged();
1531 if (RadioButtonGroupScope* scope = radioButtonGroupScope()) 1531 if (RadioButtonGroupScope* scope = radioButtonGroupScope())
1532 scope->requiredAttributeChanged(this); 1532 scope->requiredAttributeChanged(this);
1533 m_inputTypeView->requiredAttributeChanged(); 1533 m_inputTypeView->requiredAttributeChanged();
1534 } 1534 }
1535 1535
1536 void HTMLInputElement::disabledAttributeChanged()
1537 {
1538 HTMLFormControlElement::disabledAttributeChanged();
tkent 2016/06/27 03:17:30 Please specify nearest parent class, HTMLTextFormC
1539 m_inputTypeView->disabledAttributeChanged();
1540 }
1541
tkent 2016/06/27 03:17:30 I think we can remove the block for disabledAttr i
1536 void HTMLInputElement::selectColorInColorChooser(const Color& color) 1542 void HTMLInputElement::selectColorInColorChooser(const Color& color)
1537 { 1543 {
1538 if (ColorChooserClient* client = m_inputType->colorChooserClient()) 1544 if (ColorChooserClient* client = m_inputType->colorChooserClient())
1539 client->didChooseColor(color); 1545 client->didChooseColor(color);
1540 } 1546 }
1541 1547
1542 void HTMLInputElement::endColorChooser() 1548 void HTMLInputElement::endColorChooser()
1543 { 1549 {
1544 if (ColorChooserClient* client = m_inputType->colorChooserClient()) 1550 if (ColorChooserClient* client = m_inputType->colorChooserClient())
1545 client->didEndChooser(); 1551 client->didEndChooser();
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1906 void HTMLInputElement::ensurePrimaryContent() 1912 void HTMLInputElement::ensurePrimaryContent()
1907 { 1913 {
1908 m_inputTypeView->ensurePrimaryContent(); 1914 m_inputTypeView->ensurePrimaryContent();
1909 } 1915 }
1910 1916
1911 bool HTMLInputElement::hasFallbackContent() const 1917 bool HTMLInputElement::hasFallbackContent() const
1912 { 1918 {
1913 return m_inputTypeView->hasFallbackContent(); 1919 return m_inputTypeView->hasFallbackContent();
1914 } 1920 }
1915 } // namespace blink 1921 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLInputElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698