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

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

Issue 625073002: Merge RenderWidget into single subclass, RenderPart (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix unit test failures Created 6 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
Index: Source/core/html/HTMLPlugInElement.h
diff --git a/Source/core/html/HTMLPlugInElement.h b/Source/core/html/HTMLPlugInElement.h
index b03a5462abaf9c19f940833026c05d4d37b21eec..505575d2f516fd1da8743fa8cf38e0b8b1847d90 100644
--- a/Source/core/html/HTMLPlugInElement.h
+++ b/Source/core/html/HTMLPlugInElement.h
@@ -33,7 +33,7 @@ namespace blink {
class HTMLImageLoader;
class RenderEmbeddedObject;
-class RenderWidget;
+class RenderPart;
class Widget;
enum PreferPlugInsForImagesOption {
@@ -78,9 +78,9 @@ protected:
virtual bool hasFallbackContent() const;
virtual bool useFallbackContent() const;
- // Create or update the RenderWidget and return it, triggering layout if
+ // Create or update the RenderPart and return it, triggering layout if
// necessary.
- virtual RenderWidget* renderWidgetForJSBindings() const;
+ virtual RenderPart* renderPartForJSBindings() const;
bool isImageType();
bool shouldPreferPlugInsForImages() const { return m_shouldPreferPlugInsForImages; }
@@ -122,9 +122,9 @@ private:
virtual bool hasCustomFocusLogic() const OVERRIDE;
virtual bool isPluginElement() const OVERRIDE FINAL;
- // Return any existing RenderWidget without triggering relayout, or 0 if it
+ // Return any existing RenderPart without triggering relayout, or 0 if it
// doesn't yet exist.
- virtual RenderWidget* existingRenderWidget() const = 0;
+ virtual RenderPart* existingRenderPart() const = 0;
virtual void updateWidgetInternal() = 0;
bool loadPlugin(const KURL&, const String& mimeType, const Vector<String>& paramNames, const Vector<String>& paramValues, bool useFallback, bool requireRenderer);

Powered by Google App Engine
This is Rietveld 408576698