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

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: actually got the other CL number right... 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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 { 809 {
805 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 810 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
806 } 811 }
807 812
808 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) 813 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled)
809 { 814 {
810 m_devToolsEmulator->setUseMobileViewportStyle(enabled); 815 m_devToolsEmulator->setUseMobileViewportStyle(enabled);
811 } 816 }
812 817
813 } // namespace blink 818 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698