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

Unified Diff: Source/core/rendering/RenderReplaced.h

Issue 369893006: Allow HTMLPlugInElement to host UA shadow DOM. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 4 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/rendering/RenderReplaced.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderReplaced.h
diff --git a/Source/core/rendering/RenderReplaced.h b/Source/core/rendering/RenderReplaced.h
index 2b79164aa57c8c9a32c0c617bcb7f18c81f6e461..8e54995b404a70e4d1817584e142a7818242c24e 100644
--- a/Source/core/rendering/RenderReplaced.h
+++ b/Source/core/rendering/RenderReplaced.h
@@ -40,6 +40,11 @@ public:
virtual bool needsPreferredWidthsRecalculation() const OVERRIDE;
+ // These values are specified to be 300 and 150 pixels in the CSS 2.1 spec.
+ // http://www.w3.org/TR/CSS2/visudet.html#inline-replaced-width
+ static const int defaultWidth;
+ static const int defaultHeight;
+
protected:
virtual void willBeDestroyed() OVERRIDE;
« no previous file with comments | « Source/core/html/HTMLPlugInElement.cpp ('k') | Source/core/rendering/RenderReplaced.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698