Searched refs:markup (Results 1 - 25 of 54) sorted by relevance

123

/external/webkit/Source/WebCore/platform/gtk/
H A DDataObjectGtk.cpp22 #include "markup.h"
42 String DataObjectGtk::markup() function in class:WebCore::DataObjectGtk
113 Vector<UChar> markup; local
114 append(markup, "<a href=\"");
115 append(markup, url.string());
116 append(markup, "\">");
118 append(markup, String::fromUTF8(escaped.get()));
119 append(markup, "</a>");
120 setMarkup(String::adopt(markup));
H A DPasteboardHelper.cpp43 static void removeMarkupPrefix(String& markup) argument
46 // The markup prefix is not harmful, but we remove it from the string anyway, so that
48 if (markup.startsWith(gMarkupPrefix))
49 markup.remove(0, gMarkupPrefix.length());
142 String markup(selectionDataToUTF8String(data));
143 removeMarkupPrefix(markup);
144 dataObject->setMarkup(markup);
163 // Some Linux applications refuse to accept pasted markup unless it is
165 CString markup = (gMarkupPrefix + dataObject->markup()) local
[all...]
H A DDragDataGtk.cpp25 #include "markup.h"
96 return createFragmentFromMarkup(frame->document(), m_platformDragData->markup(), "");
H A DDataObjectGtk.h59 String markup();
/external/chromium/webkit/glue/
H A Dwebclipboard_impl.cc39 std::string markup("<a href=\"");
40 markup.append(url.spec());
41 markup.append("\">");
43 markup.append(EscapeForHTML(UTF16ToUTF8(title)));
44 markup.append("</a>");
45 return markup;
51 std::string markup("<img src=\"");
52 markup.append(url.spec());
53 markup.append("\"");
55 markup
[all...]
/external/bluetooth/glib/tests/
H A Drun-markup-tests.sh23 ./markup-test $I > /dev/null 2> $error_out && fail "failed to generate error on $I"
34 ./markup-test $F > actual 2> $error_out || fail "failed on $F"
H A Dmakefile.msc.in43 markup-escape-test.exe \
44 markup-test.exe \
/external/webkit/Tools/Scripts/webkitpy/thirdparty/
H A DBeautifulSoup.py105 # First, the classes that represent markup elements.
842 """Encapsulates a number of ways of matching a markup element (tag or
867 markup = None
869 markup = markupName
870 markupAttrs = markup
876 or (markup and self._matches(markup, self.name)) \
877 or (not markup and self._matches(markupName, self.name)):
896 if markup:
897 found = markup
[all...]
/external/webkit/Source/WebCore/platform/chromium/
H A DPasteboardChromium.cpp47 #include "markup.h"
172 String markup; local
174 PlatformBridge::clipboardReadHTML(buffer, &markup, &srcURL);
177 createFragmentFromMarkup(frame->document(), markup, srcURL, FragmentScriptingNotAllowed);
183 String markup = PlatformBridge::clipboardReadPlainText(buffer); local
184 if (!markup.isEmpty()) {
188 createFragmentFromText(context.get(), markup);
H A DClipboardChromium.cpp48 #include "markup.h"
200 StringBuilder markup; local
201 markup.append("<img src=\"");
202 markup.append(url);
203 markup.append('"');
212 markup.append(' ');
213 markup.append(attr->localName());
214 markup.append("=\"");
217 markup.append(escapedAttr);
218 markup
[all...]
/external/webkit/Source/WebCore/platform/qt/
H A DPasteboardQt.cpp36 #include "markup.h"
67 QString markup = createMarkup(selectedRange, 0, AnnotateForInterchange, false, AbsoluteURLs); local
69 markup.prepend(QLatin1String("<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /></head><body>"));
70 markup.append(QLatin1String("</body></html>"));
71 md->setData(QLatin1String("text/html"), markup.toUtf8());
73 md->setHtml(markup);
/external/webkit/Source/WebKit/qt/Api/
H A Dqwebelement.h76 void setOuterXml(const QString& markup);
79 void setInnerXml(const QString& markup);
119 void appendInside(const QString& markup);
123 void prependInside(const QString& markup);
127 void appendOutside(const QString& markup);
131 void prependOutside(const QString& markup);
136 void encloseContentsWith(const QString& markup);
137 void encloseWith(const QString& markup);
140 void replace(const QString& markup);
H A Dqwebelement.cpp293 \a markup. The string may contain HTML or XML tags, which is parsed and
300 void QWebElement::setOuterXml(const QString &markup) argument
307 static_cast<HTMLElement*>(m_element)->setOuterHTML(markup, exception);
316 \note The format of the markup returned will obey the namespace of the
332 Replaces the contents of this element with \a markup. The string may
340 void QWebElement::setInnerXml(const QString &markup) argument
347 static_cast<HTMLElement*>(m_element)->setInnerHTML(markup, exception);
355 \note The format of the markup returned will obey the namespace of the
1010 Appends the result of parsing \a markup as the element's last child.
1016 void QWebElement::appendInside(const QString &markup) argument
1062 prependInside(const QString &markup) argument
1111 prependOutside(const QString &markup) argument
1161 appendOutside(const QString &markup) argument
1308 encloseContentsWith(const QString &markup) argument
1383 encloseWith(const QString &markup) argument
1444 replace(const QString &markup) argument
[all...]
/external/chromium/chrome/browser/ui/gtk/
H A Dfirst_run_bubble.cc131 char* markup = g_markup_printf_escaped(kSearchLabelMarkup, local
133 gtk_label_set_markup(GTK_LABEL(label1), markup); local
134 g_free(markup);
182 char* markup = g_markup_printf_escaped(kSearchLabelMarkup, local
186 gtk_label_set_markup(GTK_LABEL(label1), markup); local
187 g_free(markup);
H A Dsad_tab_gtk.cc35 char* markup = g_markup_printf_escaped(format, str.c_str()); local
36 gtk_label_set_markup(GTK_LABEL(label), markup); local
37 g_free(markup);
H A Dtheme_install_bubble_view_gtk.cc90 gchar* markup = g_markup_printf_escaped( local
93 gtk_label_set_markup(GTK_LABEL(label), markup); local
94 g_free(markup);
H A Dgtk_chrome_link_button.h58 // As above, but don't escape markup in the text.
59 GtkWidget* gtk_chrome_link_button_new_with_markup(const char* markup);
/external/webkit/Source/WebCore/editing/
H A DMarkupAccumulator.cpp124 Vector<UChar> markup; local
125 appendStartMarkup(markup, node, namespaces);
126 appendString(String::adopt(markup));
133 Vector<UChar> markup; local
134 appendEndMarkup(markup, node);
135 appendString(String::adopt(markup));
146 // FIXME: This is a very inefficient way of accumulating the markup.
H A DEditingAllInOne.cpp79 #include <markup.cpp>
H A Dmarkup.h46 PassRefPtr<DocumentFragment> createFragmentFromMarkup(Document*, const String& markup, const String& baseURL, FragmentScriptingPermission = FragmentScriptingAllowed);
H A Dmarkup.cpp27 #include "markup.h"
148 Vector<UChar> markup; local
150 appendElement(markup, static_cast<Element*>(node), convertBlocksToInlines && isBlock(const_cast<Node*>(node)), rangeFullySelectsNode);
152 appendStartMarkup(markup, node, 0);
153 m_reversedPrecedingMarkup.append(String::adopt(markup));
328 // This null check will prevent crashes (but create too much markup)
347 // Add the node to the markup if we're not skipping the descendants
374 // Surround the currently accumulated markup with markup for ancestors we never opened as we leave the subtree(s) rooted at those ancestors.
442 // Add an interchange newline if a paragraph break is selected and a br won't already be added to the markup t
673 createFragmentFromMarkup(Document* document, const String& markup, const String& baseURL, FragmentScriptingPermission scriptingPermission) argument
908 Vector<UChar> markup; local
[all...]
/external/webkit/Source/WebKit/qt/tests/benchmarks/painting/
H A Dtst_painting.cpp119 QString markup("<textarea cols='1' rows='1'></textarea>");
120 bodyElement.appendInside(markup);
/external/pcre/
H A D132html209 my($markup) = $1;
214 print TEMP "$_$markup\n";
/external/webkit/Source/WebCore/platform/win/
H A DClipboardUtilitiesWin.h52 void markupToCFHTML(const String& markup, const String& srcURL, Vector<char>& result);
/external/webkit/Source/WebKit/gtk/tests/
H A Dtestcopyandpaste.c95 // Verify that the markup starts with the proper content-type meta tag prefix.
99 char* markup = g_strndup((const char*) gtk_selection_data_get_data(selectionData), local
101 g_assert(strlen(markupPrefix) <= strlen(markup));
102 g_assert(!strncmp(markupPrefix, markup, strlen(markupPrefix)));
103 g_free(markup);
259 g_test_add("/webkit/copyandpaste/paste-markup", CopyAndPasteFixture,

Completed in 603 milliseconds

123