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

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

Issue 202893002: Replace elementHasLegalLinkAttribute() helper with virtual function (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 331
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 isInRange() const OVERRIDE FINAL; 342 virtual bool isInRange() const OVERRIDE FINAL;
342 virtual bool isOutOfRange() const OVERRIDE FINAL; 343 virtual bool isOutOfRange() const OVERRIDE FINAL;
343 344
344 bool isTextType() const; 345 bool isTextType() const;
345 bool tooLong(const String&, NeedsToCheckDirtyFlag) const; 346 bool tooLong(const String&, NeedsToCheckDirtyFlag) const;
346 347
347 virtual bool supportsPlaceholder() const OVERRIDE FINAL; 348 virtual bool supportsPlaceholder() const OVERRIDE FINAL;
348 virtual void updatePlaceholderText() OVERRIDE FINAL; 349 virtual void updatePlaceholderText() OVERRIDE FINAL;
349 virtual bool isEmptyValue() const OVERRIDE FINAL { return innerTextValue().i sEmpty(); } 350 virtual bool isEmptyValue() const OVERRIDE FINAL { return innerTextValue().i sEmpty(); }
350 virtual bool isEmptySuggestedValue() const OVERRIDE FINAL { return suggested Value().isEmpty(); } 351 virtual bool isEmptySuggestedValue() const OVERRIDE FINAL { return suggested Value().isEmpty(); }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 RefPtr<InputTypeView> m_inputTypeView; 396 RefPtr<InputTypeView> m_inputTypeView;
396 // The ImageLoader must be owned by this element because the loader code ass umes 397 // The ImageLoader must be owned by this element because the loader code ass umes
397 // that it lives as long as its owning element lives. If we move the loader into 398 // that it lives as long as its owning element lives. If we move the loader into
398 // the ImageInput object we may delete the loader while this element lives o n. 399 // the ImageInput object we may delete the loader while this element lives o n.
399 OwnPtr<HTMLImageLoader> m_imageLoader; 400 OwnPtr<HTMLImageLoader> m_imageLoader;
400 OwnPtr<ListAttributeTargetObserver> m_listAttributeTargetObserver; 401 OwnPtr<ListAttributeTargetObserver> m_listAttributeTargetObserver;
401 }; 402 };
402 403
403 } //namespace 404 } //namespace
404 #endif 405 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698