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

Unified Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.h

Issue 2737713002: Rename updateWidgets to updatePlugins (Closed)
Patch Set: Rename updateWidgets to updatePlugins Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
index 2b86d8915eaafb5945dca430b53698d726c991fd..532340b3fecf33056b7f8bb7ff05de4cd3233f09 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h
@@ -55,11 +55,11 @@ class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement {
const String& url() const { return m_url; }
// Public for FrameView::addPartToUpdate()
- bool needsWidgetUpdate() const { return m_needsWidgetUpdate; }
- void setNeedsWidgetUpdate(bool needsWidgetUpdate) {
- m_needsWidgetUpdate = needsWidgetUpdate;
+ bool needsPluginUpdate() const { return m_needsPluginUpdate; }
+ void setNeedsPluginUpdate(bool needsPluginUpdate) {
+ m_needsPluginUpdate = needsPluginUpdate;
}
- void updateWidget();
+ void updatePlugin();
bool shouldAccelerate() const;
@@ -142,7 +142,7 @@ class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement {
// Return any existing LayoutPart without triggering relayout, or 0 if it
// doesn't yet exist.
virtual LayoutPart* existingLayoutPart() const = 0;
- virtual void updateWidgetInternal() = 0;
+ virtual void updatePluginInternal() = 0;
bool loadPlugin(const KURL&,
const String& mimeType,
@@ -165,7 +165,7 @@ class CORE_EXPORT HTMLPlugInElement : public HTMLFrameOwnerElement {
const Vector<String>& paramValues);
mutable RefPtr<SharedPersistent<v8::Object>> m_pluginWrapper;
- bool m_needsWidgetUpdate;
+ bool m_needsPluginUpdate;
bool m_shouldPreferPlugInsForImages;
// Represents |layoutObject() && layoutObject()->isEmbeddedObject() &&
// !layoutEmbeddedItem().showsUnavailablePluginIndicator()|. We want to
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLObjectElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698