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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.h

Issue 1511523002: Align HTMLImageElement relevant mutations to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix removal issue when a text node is between <source> and <img> Created 5 years 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, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights reserv ed. 4 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights reserv ed.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // Public for FrameView::addPartToUpdate() 62 // Public for FrameView::addPartToUpdate()
63 bool needsWidgetUpdate() const { return m_needsWidgetUpdate; } 63 bool needsWidgetUpdate() const { return m_needsWidgetUpdate; }
64 void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = ne edsWidgetUpdate; } 64 void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = ne edsWidgetUpdate; }
65 void updateWidget(); 65 void updateWidget();
66 66
67 bool shouldAccelerate() const; 67 bool shouldAccelerate() const;
68 68
69 void requestPluginCreationWithoutLayoutObjectIfPossible(); 69 void requestPluginCreationWithoutLayoutObjectIfPossible();
70 void createPluginWithoutLayoutObject(); 70 void createPluginWithoutLayoutObject();
71 71
72 void removedFrom(ContainerNode* insertionPoint) override; 72 void removedFrom(ContainerNode* insertionPoint, Node* next) override;
73 73
74 protected: 74 protected:
75 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar ser, PreferPlugInsForImagesOption); 75 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar ser, PreferPlugInsForImagesOption);
76 76
77 // Node functions: 77 // Node functions:
78 void didMoveToNewDocument(Document& oldDocument) override; 78 void didMoveToNewDocument(Document& oldDocument) override;
79 79
80 // Element functions: 80 // Element functions:
81 bool isPresentationAttribute(const QualifiedName&) const override; 81 bool isPresentationAttribute(const QualifiedName&) const override;
82 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override; 82 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 inline bool isHTMLPlugInElement(const HTMLElement& element) 160 inline bool isHTMLPlugInElement(const HTMLElement& element)
161 { 161 {
162 return element.isPluginElement(); 162 return element.isPluginElement();
163 } 163 }
164 164
165 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); 165 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement);
166 166
167 } // namespace blink 167 } // namespace blink
168 168
169 #endif // HTMLPlugInElement_h 169 #endif // HTMLPlugInElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698