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

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

Issue 1156993013: New media playback UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: cl feedback, rebased. 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
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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 void WebSettingsImpl::setAvailableHoverTypes(int types) 307 void WebSettingsImpl::setAvailableHoverTypes(int types)
308 { 308 {
309 m_settings->setAvailableHoverTypes(types); 309 m_settings->setAvailableHoverTypes(types);
310 } 310 }
311 311
312 void WebSettingsImpl::setPrimaryHoverType(HoverType type) 312 void WebSettingsImpl::setPrimaryHoverType(HoverType type)
313 { 313 {
314 m_settings->setPrimaryHoverType(static_cast<blink::HoverType>(type)); 314 m_settings->setPrimaryHoverType(static_cast<blink::HoverType>(type));
315 } 315 }
316 316
317 void WebSettingsImpl::setPreferHiddenVolumeControls(bool enabled)
318 {
319 m_settings->setPreferHiddenVolumeControls(enabled);
320 }
321
317 void WebSettingsImpl::setDOMPasteAllowed(bool enabled) 322 void WebSettingsImpl::setDOMPasteAllowed(bool enabled)
318 { 323 {
319 m_settings->setDOMPasteAllowed(enabled); 324 m_settings->setDOMPasteAllowed(enabled);
320 } 325 }
321 326
322 void WebSettingsImpl::setShrinksViewportContentToFit(bool shrinkViewportContent) 327 void WebSettingsImpl::setShrinksViewportContentToFit(bool shrinkViewportContent)
323 { 328 {
324 m_shrinksViewportContentToFit = shrinkViewportContent; 329 m_shrinksViewportContentToFit = shrinkViewportContent;
325 } 330 }
326 331
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 { 819 {
815 m_devToolsEmulator->setUseMobileViewportStyle(enabled); 820 m_devToolsEmulator->setUseMobileViewportStyle(enabled);
816 } 821 }
817 822
818 void WebSettingsImpl::setHidePinchScrollbarsNearMinScale(bool enabled) 823 void WebSettingsImpl::setHidePinchScrollbarsNearMinScale(bool enabled)
819 { 824 {
820 m_devToolsEmulator->setHidePinchScrollbarsNearMinScale(enabled); 825 m_devToolsEmulator->setHidePinchScrollbarsNearMinScale(enabled);
821 } 826 }
822 827
823 } // namespace blink 828 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698