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

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

Issue 522783002: Add a custom element to own structure of shadow DOM plugin placeholders. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 3 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/core/core_generated.gyp ('k') | Source/core/html/shadow/PluginPlaceholderElement.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 * 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Public for FrameView::addWidgetToUpdate() 56 // Public for FrameView::addWidgetToUpdate()
57 bool needsWidgetUpdate() const { return m_needsWidgetUpdate; } 57 bool needsWidgetUpdate() const { return m_needsWidgetUpdate; }
58 void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = ne edsWidgetUpdate; } 58 void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = ne edsWidgetUpdate; }
59 void updateWidget(); 59 void updateWidget();
60 60
61 bool shouldAccelerate() const; 61 bool shouldAccelerate() const;
62 62
63 void requestPluginCreationWithoutRendererIfPossible(); 63 void requestPluginCreationWithoutRendererIfPossible();
64 void createPluginWithoutRenderer(); 64 void createPluginWithoutRenderer();
65 65
66 bool usePlaceholderContent() { return m_usePlaceholderContent; } 66 bool usePlaceholderContent() const { return m_usePlaceholderContent; }
67 void setUsePlaceholderContent(bool); 67 void setUsePlaceholderContent(bool);
68 68
69 protected: 69 protected:
70 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar ser, PreferPlugInsForImagesOption); 70 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar ser, PreferPlugInsForImagesOption);
71 71
72 // Node functions: 72 // Node functions:
73 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; 73 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE;
74 74
75 // Element functions: 75 // Element functions:
76 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; 76 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 inline bool isHTMLPlugInElement(const HTMLElement& element) 149 inline bool isHTMLPlugInElement(const HTMLElement& element)
150 { 150 {
151 return element.isPluginElement(); 151 return element.isPluginElement();
152 } 152 }
153 153
154 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); 154 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement);
155 155
156 } // namespace blink 156 } // namespace blink
157 157
158 #endif // HTMLPlugInElement_h 158 #endif // HTMLPlugInElement_h
OLDNEW
« no previous file with comments | « Source/core/core_generated.gyp ('k') | Source/core/html/shadow/PluginPlaceholderElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698