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

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

Issue 202633009: Add Element::subResourceAttributeName() virtual function (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use nullQName() Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLImageElement.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('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) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 6 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 virtual bool canBeSuccessfulSubmitButton() const OVERRIDE FINAL; 332 virtual bool canBeSuccessfulSubmitButton() const OVERRIDE FINAL;
333 333
334 virtual void resetImpl() OVERRIDE FINAL; 334 virtual void resetImpl() OVERRIDE FINAL;
335 virtual bool supportsAutofocus() const OVERRIDE FINAL; 335 virtual bool supportsAutofocus() const OVERRIDE FINAL;
336 336
337 virtual void* preDispatchEventHandler(Event*) OVERRIDE FINAL; 337 virtual void* preDispatchEventHandler(Event*) OVERRIDE FINAL;
338 virtual void postDispatchEventHandler(Event*, void* dataFromPreDispatch) OVE RRIDE FINAL; 338 virtual void postDispatchEventHandler(Event*, void* dataFromPreDispatch) OVE RRIDE FINAL;
339 339
340 virtual bool isURLAttribute(const Attribute&) const OVERRIDE FINAL; 340 virtual bool isURLAttribute(const Attribute&) const OVERRIDE FINAL;
341 virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE FINA L; 341 virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE FINA L;
342 virtual const QualifiedName& subResourceAttributeName() const OVERRIDE FINAL ;
342 virtual bool isInRange() const OVERRIDE FINAL; 343 virtual bool isInRange() const OVERRIDE FINAL;
343 virtual bool isOutOfRange() const OVERRIDE FINAL; 344 virtual bool isOutOfRange() const OVERRIDE FINAL;
344 345
345 bool isTextType() const; 346 bool isTextType() const;
346 bool tooLong(const String&, NeedsToCheckDirtyFlag) const; 347 bool tooLong(const String&, NeedsToCheckDirtyFlag) const;
347 348
348 virtual bool supportsPlaceholder() const OVERRIDE FINAL; 349 virtual bool supportsPlaceholder() const OVERRIDE FINAL;
349 virtual void updatePlaceholderText() OVERRIDE FINAL; 350 virtual void updatePlaceholderText() OVERRIDE FINAL;
350 virtual bool isEmptyValue() const OVERRIDE FINAL { return innerTextValue().i sEmpty(); } 351 virtual bool isEmptyValue() const OVERRIDE FINAL { return innerTextValue().i sEmpty(); }
351 virtual bool isEmptySuggestedValue() const OVERRIDE FINAL { return suggested Value().isEmpty(); } 352 virtual bool isEmptySuggestedValue() const OVERRIDE FINAL { return suggested Value().isEmpty(); }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 RefPtr<InputTypeView> m_inputTypeView; 397 RefPtr<InputTypeView> m_inputTypeView;
397 // The ImageLoader must be owned by this element because the loader code ass umes 398 // The ImageLoader must be owned by this element because the loader code ass umes
398 // that it lives as long as its owning element lives. If we move the loader into 399 // that it lives as long as its owning element lives. If we move the loader into
399 // the ImageInput object we may delete the loader while this element lives o n. 400 // the ImageInput object we may delete the loader while this element lives o n.
400 OwnPtr<HTMLImageLoader> m_imageLoader; 401 OwnPtr<HTMLImageLoader> m_imageLoader;
401 OwnPtr<ListAttributeTargetObserver> m_listAttributeTargetObserver; 402 OwnPtr<ListAttributeTargetObserver> m_listAttributeTargetObserver;
402 }; 403 };
403 404
404 } //namespace 405 } //namespace
405 #endif 406 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLImageElement.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698