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

Side by Side Diff: sky/engine/core/dom/Element.h

Issue 693243002: Remove interactive content and form related API from HTMLElement. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | sky/engine/core/dom/Node.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-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 bool hasAuthorShadowRoot() const { return shadowRoot(); } 221 bool hasAuthorShadowRoot() const { return shadowRoot(); }
222 222
223 RenderStyle* computedStyle(PseudoId = NOPSEUDO); 223 RenderStyle* computedStyle(PseudoId = NOPSEUDO);
224 224
225 bool isUpgradedCustomElement() { return customElementState() == Upgraded; } 225 bool isUpgradedCustomElement() { return customElementState() == Upgraded; }
226 bool isUnresolvedCustomElement() { return customElementState() == WaitingFor Upgrade; } 226 bool isUnresolvedCustomElement() { return customElementState() == WaitingFor Upgrade; }
227 227
228 AtomicString computeInheritedLanguage() const; 228 AtomicString computeInheritedLanguage() const;
229 Locale& locale() const; 229 Locale& locale() const;
230 230
231 virtual void accessKeyAction(bool /*sendToAnyEvent*/) { }
232
233 virtual bool isURLAttribute(const Attribute&) const { return false; } 231 virtual bool isURLAttribute(const Attribute&) const { return false; }
234 232
235 virtual bool isLiveLink() const { return false; } 233 virtual bool isLiveLink() const { return false; }
236 KURL hrefURL() const; 234 KURL hrefURL() const;
237 235
238 KURL getURLAttribute(const QualifiedName&) const; 236 KURL getURLAttribute(const QualifiedName&) const;
239 KURL getNonEmptyURLAttribute(const QualifiedName&) const; 237 KURL getNonEmptyURLAttribute(const QualifiedName&) const;
240 238
241 virtual const AtomicString imageSourceURL() const; 239 virtual const AtomicString imageSourceURL() const;
242 virtual Image* imageContents() { return 0; } 240 virtual Image* imageContents() { return 0; }
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 static PassRefPtr<T> create(const QualifiedName&, Document&) 604 static PassRefPtr<T> create(const QualifiedName&, Document&)
607 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 605 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
608 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 606 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \
609 { \ 607 { \
610 return adoptRef(new T(tagName, document)); \ 608 return adoptRef(new T(tagName, document)); \
611 } 609 }
612 610
613 } // namespace 611 } // namespace
614 612
615 #endif // Element_h 613 #endif // Element_h
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698