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

Side by Side Diff: Source/core/page/Page.cpp

Issue 1285703004: Update css styles after modifying display mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/web/DevToolsEmulator.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) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R ights Reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R ights Reserved.
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 setNeedsRecalcStyleInAllFrames(); 460 setNeedsRecalcStyleInAllFrames();
461 break; 461 break;
462 case SettingsDelegate::AcceleratedCompositingChange: 462 case SettingsDelegate::AcceleratedCompositingChange:
463 updateAcceleratedCompositingSettings(); 463 updateAcceleratedCompositingSettings();
464 break; 464 break;
465 case SettingsDelegate::MediaQueryChange: 465 case SettingsDelegate::MediaQueryChange:
466 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNe xt()) { 466 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNe xt()) {
467 if (frame->isLocalFrame()) 467 if (frame->isLocalFrame())
468 toLocalFrame(frame)->document()->mediaQueryAffectingValueChanged (); 468 toLocalFrame(frame)->document()->mediaQueryAffectingValueChanged ();
469 } 469 }
470 setNeedsRecalcStyleInAllFrames();
471 break; 470 break;
472 case SettingsDelegate::AccessibilityStateChange: 471 case SettingsDelegate::AccessibilityStateChange:
473 if (!mainFrame() || !mainFrame()->isLocalFrame()) 472 if (!mainFrame() || !mainFrame()->isLocalFrame())
474 break; 473 break;
475 deprecatedLocalMainFrame()->document()->axObjectCacheOwner().clearAXObje ctCache(); 474 deprecatedLocalMainFrame()->document()->axObjectCacheOwner().clearAXObje ctCache();
476 break; 475 break;
477 case SettingsDelegate::ViewportRuleChange: 476 case SettingsDelegate::ViewportRuleChange:
478 { 477 {
479 if (!mainFrame() || !mainFrame()->isLocalFrame()) 478 if (!mainFrame() || !mainFrame()->isLocalFrame())
480 break; 479 break;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 { 593 {
595 } 594 }
596 595
597 Page::PageClients::~PageClients() 596 Page::PageClients::~PageClients()
598 { 597 {
599 } 598 }
600 599
601 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; 600 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
602 601
603 } // namespace blink 602 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698