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

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

Issue 1115553002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 7 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 | « Source/core/html/HTMLDetailsElement.cpp ('k') | Source/core/html/HTMLMediaElement.h » ('j') | 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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 // http://www.w3.org/TR/1998/REC-html40-19980424/appendix/notes.html#altgen 845 // http://www.w3.org/TR/1998/REC-html40-19980424/appendix/notes.html#altgen
846 // also heavily discussed by Hixie on bugzilla 846 // also heavily discussed by Hixie on bugzilla
847 // note this is intentionally different to HTMLImageElement::altText() 847 // note this is intentionally different to HTMLImageElement::altText()
848 String alt = fastGetAttribute(altAttr); 848 String alt = fastGetAttribute(altAttr);
849 // fall back to title attribute 849 // fall back to title attribute
850 if (alt.isNull()) 850 if (alt.isNull())
851 alt = fastGetAttribute(titleAttr); 851 alt = fastGetAttribute(titleAttr);
852 if (alt.isNull()) 852 if (alt.isNull())
853 alt = fastGetAttribute(valueAttr); 853 alt = fastGetAttribute(valueAttr);
854 if (alt.isEmpty()) 854 if (alt.isEmpty())
855 alt = locale().queryString(blink::WebLocalizedString::InputElementAltTex t); 855 alt = locale().queryString(WebLocalizedString::InputElementAltText);
856 return alt; 856 return alt;
857 } 857 }
858 858
859 bool HTMLInputElement::canBeSuccessfulSubmitButton() const 859 bool HTMLInputElement::canBeSuccessfulSubmitButton() const
860 { 860 {
861 return m_inputType->canBeSuccessfulSubmitButton(); 861 return m_inputType->canBeSuccessfulSubmitButton();
862 } 862 }
863 863
864 bool HTMLInputElement::isActivatedSubmit() const 864 bool HTMLInputElement::isActivatedSubmit() const
865 { 865 {
(...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1926 void HTMLInputElement::ensurePrimaryContent() 1926 void HTMLInputElement::ensurePrimaryContent()
1927 { 1927 {
1928 m_inputTypeView->ensurePrimaryContent(); 1928 m_inputTypeView->ensurePrimaryContent();
1929 } 1929 }
1930 1930
1931 bool HTMLInputElement::hasFallbackContent() const 1931 bool HTMLInputElement::hasFallbackContent() const
1932 { 1932 {
1933 return m_inputTypeView->hasFallbackContent(); 1933 return m_inputTypeView->hasFallbackContent();
1934 } 1934 }
1935 } // namespace 1935 } // namespace
OLDNEW
« no previous file with comments | « Source/core/html/HTMLDetailsElement.cpp ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698