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

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

Issue 13650009: Remove Dashboard support and supporting files. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compiler error due to misspelling in code "Dashbard" 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 | Annotate | Revision Log
« no previous file with comments | « Source/WebCore/html/HTMLCanvasElement.cpp ('k') | Source/WebCore/html/HTMLEmbedElement.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 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 || hasLocalName(imageTag) 107 || hasLocalName(imageTag)
108 || hasLocalName(imgTag) 108 || hasLocalName(imgTag)
109 || hasLocalName(inputTag) 109 || hasLocalName(inputTag)
110 || hasLocalName(isindexTag) 110 || hasLocalName(isindexTag)
111 || hasLocalName(linkTag) 111 || hasLocalName(linkTag)
112 || hasLocalName(metaTag) 112 || hasLocalName(metaTag)
113 || hasLocalName(paramTag) 113 || hasLocalName(paramTag)
114 || hasLocalName(sourceTag) 114 || hasLocalName(sourceTag)
115 || hasLocalName(wbrTag)) 115 || hasLocalName(wbrTag))
116 return true; 116 return true;
117 // FIXME: I'm not sure why dashboard mode would want to change the
118 // serialization of <canvas>, that seems like a bad idea.
119 #if ENABLE(DASHBOARD_SUPPORT)
120 if (hasLocalName(canvasTag)) {
121 Settings* settings = document()->settings();
122 if (settings && settings->usesDashboardBackwardCompatibilityMode())
123 return true;
124 }
125 #endif
126 return false; 117 return false;
127 } 118 }
128 119
129 static inline int unicodeBidiAttributeForDirAuto(HTMLElement* element) 120 static inline int unicodeBidiAttributeForDirAuto(HTMLElement* element)
130 { 121 {
131 if (element->hasLocalName(preTag) || element->hasLocalName(textareaTag)) 122 if (element->hasLocalName(preTag) || element->hasLocalName(textareaTag))
132 return CSSValueWebkitPlaintext; 123 return CSSValueWebkitPlaintext;
133 // FIXME: For bdo element, dir="auto" should result in "bidi-override isolat e" but we don't support having multiple values in unicode-bidi yet. 124 // FIXME: For bdo element, dir="auto" should result in "bidi-override isolat e" but we don't support having multiple values in unicode-bidi yet.
134 // See https://bugs.webkit.org/show_bug.cgi?id=73164. 125 // See https://bugs.webkit.org/show_bug.cgi?id=73164.
135 return CSSValueWebkitIsolate; 126 return CSSValueWebkitIsolate;
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after
1160 #ifndef NDEBUG 1151 #ifndef NDEBUG
1161 1152
1162 // For use in the debugger 1153 // For use in the debugger
1163 void dumpInnerHTML(WebCore::HTMLElement*); 1154 void dumpInnerHTML(WebCore::HTMLElement*);
1164 1155
1165 void dumpInnerHTML(WebCore::HTMLElement* element) 1156 void dumpInnerHTML(WebCore::HTMLElement* element)
1166 { 1157 {
1167 printf("%s\n", element->innerHTML().ascii().data()); 1158 printf("%s\n", element->innerHTML().ascii().data());
1168 } 1159 }
1169 #endif 1160 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLCanvasElement.cpp ('k') | Source/WebCore/html/HTMLEmbedElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698