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

Side by Side Diff: Source/WebCore/page/Settings.cpp

Issue 13818029: Remove TiledBacking / TileCache code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 7 years, 8 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/WebCore/page/Page.cpp ('k') | Source/WebCore/page/scrolling/ScrollingCoordinator.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, 2011, 2012 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserv ed.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 if (m_storageBlockingPolicy == enabled) 489 if (m_storageBlockingPolicy == enabled)
490 return; 490 return;
491 491
492 m_storageBlockingPolicy = enabled; 492 m_storageBlockingPolicy = enabled;
493 m_page->storageBlockingStateChanged(); 493 m_page->storageBlockingStateChanged();
494 } 494 }
495 495
496 void Settings::setTiledBackingStoreEnabled(bool enabled) 496 void Settings::setTiledBackingStoreEnabled(bool enabled)
497 { 497 {
498 m_tiledBackingStoreEnabled = enabled; 498 m_tiledBackingStoreEnabled = enabled;
499 #if USE(TILED_BACKING_STORE)
500 if (m_page->mainFrame())
501 m_page->mainFrame()->setTiledBackingStoreEnabled(enabled);
502 #endif
503 } 499 }
504 500
505 void Settings::setScrollingPerformanceLoggingEnabled(bool enabled) 501 void Settings::setScrollingPerformanceLoggingEnabled(bool enabled)
506 { 502 {
507 m_scrollingPerformanceLoggingEnabled = enabled; 503 m_scrollingPerformanceLoggingEnabled = enabled;
508 504
509 if (m_page->mainFrame() && m_page->mainFrame()->view()) 505 if (m_page->mainFrame() && m_page->mainFrame()->view())
510 m_page->mainFrame()->view()->setScrollingPerformanceLoggingEnabled(enabl ed); 506 m_page->mainFrame()->view()->setScrollingPerformanceLoggingEnabled(enabl ed);
511 } 507 }
512 508
(...skipping 26 matching lines...) Expand all
539 void Settings::setHiddenPageDOMTimerThrottlingEnabled(bool flag) 535 void Settings::setHiddenPageDOMTimerThrottlingEnabled(bool flag)
540 { 536 {
541 if (m_hiddenPageDOMTimerThrottlingEnabled == flag) 537 if (m_hiddenPageDOMTimerThrottlingEnabled == flag)
542 return; 538 return;
543 m_hiddenPageDOMTimerThrottlingEnabled = flag; 539 m_hiddenPageDOMTimerThrottlingEnabled = flag;
544 m_page->hiddenPageDOMTimerThrottlingStateChanged(); 540 m_page->hiddenPageDOMTimerThrottlingStateChanged();
545 } 541 }
546 #endif 542 #endif
547 543
548 } // namespace WebCore 544 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebCore/page/Page.cpp ('k') | Source/WebCore/page/scrolling/ScrollingCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698