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

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

Issue 23187005: [DevTools] Use device metrics emulation implemented in content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Reupload Created 7 years, 2 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
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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 void WebSettingsImpl::setPrivilegedWebGLExtensionsEnabled(bool enabled) 398 void WebSettingsImpl::setPrivilegedWebGLExtensionsEnabled(bool enabled)
399 { 399 {
400 m_settings->setPrivilegedWebGLExtensionsEnabled(enabled); 400 m_settings->setPrivilegedWebGLExtensionsEnabled(enabled);
401 } 401 }
402 402
403 void WebSettingsImpl::setRenderVSyncNotificationEnabled(bool enabled) 403 void WebSettingsImpl::setRenderVSyncNotificationEnabled(bool enabled)
404 { 404 {
405 m_renderVSyncNotificationEnabled = enabled; 405 m_renderVSyncNotificationEnabled = enabled;
406 } 406 }
407 407
408 void WebSettingsImpl::setRootLayerClipsContent(bool enabled)
409 {
410 m_settings->setRootLayerClipsContent(enabled);
411 }
412
408 void WebSettingsImpl::setWebGLErrorsToConsoleEnabled(bool enabled) 413 void WebSettingsImpl::setWebGLErrorsToConsoleEnabled(bool enabled)
409 { 414 {
410 m_settings->setWebGLErrorsToConsoleEnabled(enabled); 415 m_settings->setWebGLErrorsToConsoleEnabled(enabled);
411 } 416 }
412 417
413 void WebSettingsImpl::setShowFPSCounter(bool show) 418 void WebSettingsImpl::setShowFPSCounter(bool show)
414 { 419 {
415 m_showFPSCounter = show; 420 m_showFPSCounter = show;
416 } 421 }
417 422
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 { 725 {
721 m_settings->setPinchVirtualViewportEnabled(enabled); 726 m_settings->setPinchVirtualViewportEnabled(enabled);
722 } 727 }
723 728
724 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled) 729 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled)
725 { 730 {
726 m_settings->setUseSolidColorScrollbars(enabled); 731 m_settings->setUseSolidColorScrollbars(enabled);
727 } 732 }
728 733
729 } // namespace WebKit 734 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698