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

Unified Diff: Source/core/html/HTMLPlugInImageElement.h

Issue 34623002: Move the follwing members from HTMLPlugInImageElement to HTMLPlugInElement. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
« no previous file with comments | « Source/core/html/HTMLPlugInElement.cpp ('k') | Source/core/html/HTMLPlugInImageElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLPlugInImageElement.h
diff --git a/Source/core/html/HTMLPlugInImageElement.h b/Source/core/html/HTMLPlugInImageElement.h
index 7f161fd9016efa4d77381e7091f2ee0339d9ae17..cf4ea3bce345f717eedaf337a1246993f0a30826 100644
--- a/Source/core/html/HTMLPlugInImageElement.h
+++ b/Source/core/html/HTMLPlugInImageElement.h
@@ -40,11 +40,6 @@ enum PluginCreationOption {
CreateOnlyNonNetscapePlugins,
};
-enum PreferPlugInsForImagesOption {
- ShouldPreferPlugInsForImages,
- ShouldNotPreferPlugInsForImages
-};
-
// Base class for HTMLObjectElement and HTMLEmbedElement
class HTMLPlugInImageElement : public HTMLPlugInElement {
public:
@@ -68,8 +63,6 @@ public:
return mimeType;
}
- bool shouldPreferPlugInsForImages() const { return m_shouldPreferPlugInsForImages; }
-
// Public for FrameView::addWidgetToUpdate()
bool needsWidgetUpdate() const { return m_needsWidgetUpdate; }
void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = needsWidgetUpdate; }
@@ -77,11 +70,7 @@ public:
protected:
HTMLPlugInImageElement(const QualifiedName& tagName, Document&, bool createdByParser, PreferPlugInsForImagesOption);
- bool isImageType();
-
OwnPtr<HTMLImageLoader> m_imageLoader;
- String m_serviceType;
- String m_url;
KURL m_loadedUrl;
static void updateWidgetCallback(Node*);
@@ -114,7 +103,6 @@ private:
virtual bool isPlugInImageElement() const OVERRIDE { return true; }
bool m_needsWidgetUpdate;
- bool m_shouldPreferPlugInsForImages;
bool m_createdDuringUserGesture;
};
« no previous file with comments | « Source/core/html/HTMLPlugInElement.cpp ('k') | Source/core/html/HTMLPlugInImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698