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

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

Issue 443373002: Add <menuitem>, new HTMLMenuElement IDL attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed comments Created 6 years, 4 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/events/RelatedEvent.h ('k') | Source/core/html/HTMLMenuElement.idl » ('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 * Copyright (C) 2004-2008, 2013, 2014 Apple Inc. All rights reserved. 4 * Copyright (C) 2004-2008, 2013, 2014 Apple Inc. All rights reserved.
5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 5 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
6 * Copyright (C) 2011 Motorola Mobility. All rights reserved. 6 * Copyright (C) 2011 Motorola Mobility. 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 || hasTagName(basefontTag) 95 || hasTagName(basefontTag)
96 || hasTagName(brTag) 96 || hasTagName(brTag)
97 || hasTagName(colTag) 97 || hasTagName(colTag)
98 || hasTagName(embedTag) 98 || hasTagName(embedTag)
99 || hasTagName(frameTag) 99 || hasTagName(frameTag)
100 || hasTagName(hrTag) 100 || hasTagName(hrTag)
101 || hasTagName(imageTag) 101 || hasTagName(imageTag)
102 || hasTagName(imgTag) 102 || hasTagName(imgTag)
103 || hasTagName(inputTag) 103 || hasTagName(inputTag)
104 || hasTagName(linkTag) 104 || hasTagName(linkTag)
105 || (RuntimeEnabledFeatures::contextMenuEnabled() && hasTagName(menuitemT ag))
105 || hasTagName(metaTag) 106 || hasTagName(metaTag)
106 || hasTagName(paramTag) 107 || hasTagName(paramTag)
107 || hasTagName(sourceTag) 108 || hasTagName(sourceTag)
108 || hasTagName(wbrTag)) 109 || hasTagName(wbrTag))
109 return true; 110 return true;
110 return false; 111 return false;
111 } 112 }
112 113
113 static inline CSSValueID unicodeBidiAttributeForDirAuto(HTMLElement* element) 114 static inline CSSValueID unicodeBidiAttributeForDirAuto(HTMLElement* element)
114 { 115 {
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 #ifndef NDEBUG 959 #ifndef NDEBUG
959 960
960 // For use in the debugger 961 // For use in the debugger
961 void dumpInnerHTML(blink::HTMLElement*); 962 void dumpInnerHTML(blink::HTMLElement*);
962 963
963 void dumpInnerHTML(blink::HTMLElement* element) 964 void dumpInnerHTML(blink::HTMLElement* element)
964 { 965 {
965 printf("%s\n", element->innerHTML().ascii().data()); 966 printf("%s\n", element->innerHTML().ascii().data());
966 } 967 }
967 #endif 968 #endif
OLDNEW
« no previous file with comments | « Source/core/events/RelatedEvent.h ('k') | Source/core/html/HTMLMenuElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698