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

Side by Side Diff: third_party/WebKit/Source/web/WebSettingsImpl.cpp

Issue 2192493003: Enable GPU acceleration in 2D OffscreenCanvases on main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix dev tools failure Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled) 535 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled)
536 { 536 {
537 m_settings->setMockScrollbarsEnabled(enabled); 537 m_settings->setMockScrollbarsEnabled(enabled);
538 } 538 }
539 539
540 void WebSettingsImpl::setMockGestureTapHighlightsEnabled(bool enabled) 540 void WebSettingsImpl::setMockGestureTapHighlightsEnabled(bool enabled)
541 { 541 {
542 m_settings->setMockGestureTapHighlightsEnabled(enabled); 542 m_settings->setMockGestureTapHighlightsEnabled(enabled);
543 } 543 }
544 544
545 void WebSettingsImpl::setAccelerated2dCanvasEnabled(bool enabled)
546 {
547 m_settings->setAccelerated2dCanvasEnabled(enabled);
548 }
549
550 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) 545 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count)
551 { 546 {
552 m_settings->setAccelerated2dCanvasMSAASampleCount(count); 547 m_settings->setAccelerated2dCanvasMSAASampleCount(count);
553 } 548 }
554 549
555 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled) 550 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled)
556 { 551 {
557 m_settings->setAntialiased2dCanvasEnabled(enabled); 552 m_settings->setAntialiased2dCanvasEnabled(enabled);
558 } 553 }
559 554
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 { 802 {
808 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies)); 803 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies));
809 } 804 }
810 805
811 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) 806 void WebSettingsImpl::setViewportStyle(WebViewportStyle style)
812 { 807 {
813 m_devToolsEmulator->setViewportStyle(style); 808 m_devToolsEmulator->setViewportStyle(style);
814 } 809 }
815 810
816 } // namespace blink 811 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698