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

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

Issue 1860743002: Add a flag to change when android's progress bar completes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing flag default Created 4 years, 5 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled) 280 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled)
281 { 281 {
282 m_settings->setLoadWithOverviewMode(enabled); 282 m_settings->setLoadWithOverviewMode(enabled);
283 } 283 }
284 284
285 void WebSettingsImpl::setShouldReuseGlobalForUnownedMainFrame(bool enabled) 285 void WebSettingsImpl::setShouldReuseGlobalForUnownedMainFrame(bool enabled)
286 { 286 {
287 m_settings->setShouldReuseGlobalForUnownedMainFrame(enabled); 287 m_settings->setShouldReuseGlobalForUnownedMainFrame(enabled);
288 } 288 }
289 289
290 void WebSettingsImpl::setProgressBarCompletion(ProgressBarCompletion progressBar Completion)
291 {
292 m_settings->setProgressBarCompletion(static_cast<blink::ProgressBarCompletio n>(progressBarCompletion));
293 }
294
290 void WebSettingsImpl::setPluginsEnabled(bool enabled) 295 void WebSettingsImpl::setPluginsEnabled(bool enabled)
291 { 296 {
292 m_devToolsEmulator->setPluginsEnabled(enabled); 297 m_devToolsEmulator->setPluginsEnabled(enabled);
293 } 298 }
294 299
295 void WebSettingsImpl::setAvailablePointerTypes(int pointers) 300 void WebSettingsImpl::setAvailablePointerTypes(int pointers)
296 { 301 {
297 m_devToolsEmulator->setAvailablePointerTypes(pointers); 302 m_devToolsEmulator->setAvailablePointerTypes(pointers);
298 } 303 }
299 304
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 { 807 {
803 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies)); 808 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies));
804 } 809 }
805 810
806 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) 811 void WebSettingsImpl::setViewportStyle(WebViewportStyle style)
807 { 812 {
808 m_devToolsEmulator->setViewportStyle(style); 813 m_devToolsEmulator->setViewportStyle(style);
809 } 814 }
810 815
811 } // namespace blink 816 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698