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

Side by Side Diff: sky/engine/core/html/HTMLElement.cpp

Issue 665613003: Remove the ability to parse HTML fragments (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 DEFINE_STATIC_LOCAL(const AtomicString, eventString, ("event", AtomicString: :ConstructFromLiteral)); 160 DEFINE_STATIC_LOCAL(const AtomicString, eventString, ("event", AtomicString: :ConstructFromLiteral));
161 return eventString; 161 return eventString;
162 } 162 }
163 163
164 v8::Handle<v8::Object> HTMLElement::wrap(v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 164 v8::Handle<v8::Object> HTMLElement::wrap(v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
165 { 165 {
166 return createV8HTMLWrapper(this, creationContext, isolate); 166 return createV8HTMLWrapper(this, creationContext, isolate);
167 } 167 }
168 168
169 } // namespace blink 169 } // namespace blink
170
171 #ifndef NDEBUG
172
173 // For use in the debugger
174 void dumpInnerHTML(blink::HTMLElement*);
175
176 void dumpInnerHTML(blink::HTMLElement* element)
177 {
178 printf("%s\n", element->innerHTML().ascii().data());
179 }
180 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698