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

Side by Side Diff: Source/core/dom/Element.h

Issue 14449003: Picture element initial implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@picture_after_rebase
Patch Set: Created 7 years, 8 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/dom/ContainerNode.h ('k') | Source/core/html/HTMLImageElement.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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 #if ENABLE(MATHML) 525 #if ENABLE(MATHML)
526 virtual bool isMathMLElement() const { return false; } 526 virtual bool isMathMLElement() const { return false; }
527 #else 527 #else
528 static bool isMathMLElement() { return false; } 528 static bool isMathMLElement() { return false; }
529 #endif 529 #endif
530 530
531 #if ENABLE(VIDEO) 531 #if ENABLE(VIDEO)
532 virtual bool isMediaElement() const { return false; } 532 virtual bool isMediaElement() const { return false; }
533 #endif 533 #endif
534 534
535 #if ENABLE(PICTURE)
536 virtual bool isPictureElement() const { return false; }
537 #endif
538
535 #if ENABLE(INPUT_SPEECH) 539 #if ENABLE(INPUT_SPEECH)
536 virtual bool isInputFieldSpeechButtonElement() const { return false; } 540 virtual bool isInputFieldSpeechButtonElement() const { return false; }
537 #endif 541 #endif
538 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) 542 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
539 virtual bool isDateTimeFieldElement() const; 543 virtual bool isDateTimeFieldElement() const;
540 #endif 544 #endif
541 545
542 virtual bool isFormControlElement() const { return false; } 546 virtual bool isFormControlElement() const { return false; }
543 virtual bool isSpinButtonElement() const { return false; } 547 virtual bool isSpinButtonElement() const { return false; }
544 virtual bool isTextFormControl() const { return false; } 548 virtual bool isTextFormControl() const { return false; }
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 1021
1018 inline const Attribute* ElementData::attributeItem(unsigned index) const 1022 inline const Attribute* ElementData::attributeItem(unsigned index) const
1019 { 1023 {
1020 RELEASE_ASSERT(index < length()); 1024 RELEASE_ASSERT(index < length());
1021 return attributeBase() + index; 1025 return attributeBase() + index;
1022 } 1026 }
1023 1027
1024 } // namespace 1028 } // namespace
1025 1029
1026 #endif 1030 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/ContainerNode.h ('k') | Source/core/html/HTMLImageElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698