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

Side by Side Diff: Source/core/dom/FullscreenElementStack.cpp

Issue 211773002: Rename updateStyle to updateRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tracing test Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2013 Google Inc. All rights reserved. 9 * Copyright (C) 2013 Google Inc. All rights reserved.
10 * 10 *
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 m_savedPlaceholderRenderStyle = RenderStyle::clone(renderer->style()); 388 m_savedPlaceholderRenderStyle = RenderStyle::clone(renderer->style());
389 } 389 }
390 390
391 if (m_fullScreenElement != document()->documentElement()) 391 if (m_fullScreenElement != document()->documentElement())
392 RenderFullScreen::wrapRenderer(renderer, renderer ? renderer->parent() : 0, document()); 392 RenderFullScreen::wrapRenderer(renderer, renderer ? renderer->parent() : 0, document());
393 393
394 m_fullScreenElement->setContainsFullScreenElementOnAncestorsCrossingFrameBou ndaries(true); 394 m_fullScreenElement->setContainsFullScreenElementOnAncestorsCrossingFrameBou ndaries(true);
395 395
396 // FIXME: This should not call updateStyleIfNeeded. 396 // FIXME: This should not call updateStyleIfNeeded.
397 document()->setNeedsStyleRecalc(SubtreeStyleChange); 397 document()->setNeedsStyleRecalc(SubtreeStyleChange);
398 document()->updateStyleIfNeeded(); 398 document()->updateRenderTreeIfNeeded();
399 } 399 }
400 400
401 void FullscreenElementStack::webkitDidEnterFullScreenForElement(Element*) 401 void FullscreenElementStack::webkitDidEnterFullScreenForElement(Element*)
402 { 402 {
403 if (!m_fullScreenElement) 403 if (!m_fullScreenElement)
404 return; 404 return;
405 405
406 if (!document()->isActive()) 406 if (!document()->isActive())
407 return; 407 return;
408 408
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 if (!target) 571 if (!target)
572 target = fullscreen->webkitCurrentFullScreenElement(); 572 target = fullscreen->webkitCurrentFullScreenElement();
573 } 573 }
574 574
575 if (!target) 575 if (!target)
576 target = doc; 576 target = doc;
577 m_fullScreenChangeEventTargetQueue.append(target); 577 m_fullScreenChangeEventTargetQueue.append(target);
578 } 578 }
579 579
580 } // namespace WebCore 580 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698