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

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

Issue 328553004: Get rid of scheduleSVGFilterLayerUpdateHack call for plugins. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: get rid of style recalc Created 6 years, 6 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/css/resolver/StyleAdjuster.cpp ('k') | Source/core/html/HTMLPlugInElement.cpp » ('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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 Widget* pluginWidget() const; 51 Widget* pluginWidget() const;
52 NPObject* getNPObject(); 52 NPObject* getNPObject();
53 bool canProcessDrag() const; 53 bool canProcessDrag() const;
54 const String& url() const { return m_url; } 54 const String& url() const { return m_url; }
55 55
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;
62
61 void requestPluginCreationWithoutRendererIfPossible(); 63 void requestPluginCreationWithoutRendererIfPossible();
62 void createPluginWithoutRenderer(); 64 void createPluginWithoutRenderer();
63 65
64 protected: 66 protected:
65 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar ser, PreferPlugInsForImagesOption); 67 HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByPar ser, PreferPlugInsForImagesOption);
66 68
67 // Node functions: 69 // Node functions:
68 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; 70 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE;
69 71
70 // Element functions: 72 // Element functions:
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 inline bool isHTMLPlugInElement(const HTMLElement& element) 158 inline bool isHTMLPlugInElement(const HTMLElement& element)
157 { 159 {
158 return element.isPluginElement(); 160 return element.isPluginElement();
159 } 161 }
160 162
161 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement); 163 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLPlugInElement);
162 164
163 } // namespace WebCore 165 } // namespace WebCore
164 166
165 #endif // HTMLPlugInElement_h 167 #endif // HTMLPlugInElement_h
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleAdjuster.cpp ('k') | Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698