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

Unified Diff: Source/core/dom/Document.cpp

Issue 15510002: Remove setFullScreenRendererSize and setFullScreenRendererBackgroundColor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/dom/Document.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index efb3a7b8b57bf92a1a528dc7558baf3732306cd1..c87b5a5f3f9aa4b373e81bcd83a4529b8ead2ea9 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -4945,33 +4945,6 @@ void Document::fullScreenRendererDestroyed()
m_fullScreenRenderer = 0;
}
-void Document::setFullScreenRendererSize(const IntSize& size)
-{
- ASSERT(m_fullScreenRenderer);
- if (!m_fullScreenRenderer)
- return;
-
- if (m_fullScreenRenderer) {
- RefPtr<RenderStyle> newStyle = RenderStyle::clone(m_fullScreenRenderer->style());
- newStyle->setWidth(Length(size.width(), WebCore::Fixed));
- newStyle->setHeight(Length(size.height(), WebCore::Fixed));
- newStyle->setTop(Length(0, WebCore::Fixed));
- newStyle->setLeft(Length(0, WebCore::Fixed));
- m_fullScreenRenderer->setStyle(newStyle);
- updateLayout();
- }
-}
-
-void Document::setFullScreenRendererBackgroundColor(Color backgroundColor)
-{
- if (!m_fullScreenRenderer)
- return;
-
- RefPtr<RenderStyle> newStyle = RenderStyle::clone(m_fullScreenRenderer->style());
- newStyle->setBackgroundColor(backgroundColor);
- m_fullScreenRenderer->setStyle(newStyle);
-}
-
void Document::fullScreenChangeDelayTimerFired(Timer<Document>*)
{
// Since we dispatch events in this function, it's possible that the
@@ -5037,11 +5010,6 @@ void Document::removeFullScreenElementOfSubtree(Node* node, bool amongChildrenOn
fullScreenElementRemoved();
}
-bool Document::isAnimatingFullScreen() const
-{
- return m_isAnimatingFullScreen;
-}
-
void Document::setAnimatingFullScreen(bool flag)
{
if (m_isAnimatingFullScreen == flag)
« no previous file with comments | « Source/core/dom/Document.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698