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

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 flag to include same origin iframes Created 4 years, 6 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled) 285 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled)
286 { 286 {
287 m_settings->setLoadWithOverviewMode(enabled); 287 m_settings->setLoadWithOverviewMode(enabled);
288 } 288 }
289 289
290 void WebSettingsImpl::setShouldReuseGlobalForUnownedMainFrame(bool enabled) 290 void WebSettingsImpl::setShouldReuseGlobalForUnownedMainFrame(bool enabled)
291 { 291 {
292 m_settings->setShouldReuseGlobalForUnownedMainFrame(enabled); 292 m_settings->setShouldReuseGlobalForUnownedMainFrame(enabled);
293 } 293 }
294 294
295 void WebSettingsImpl::setProgressBarCompletion(ProgressBarCompletion progressBar Completion)
296 {
297 m_settings->setProgressBarCompletion(static_cast<blink::ProgressBarCompletio n>(progressBarCompletion));
298 }
299
295 void WebSettingsImpl::setPluginsEnabled(bool enabled) 300 void WebSettingsImpl::setPluginsEnabled(bool enabled)
296 { 301 {
297 m_devToolsEmulator->setPluginsEnabled(enabled); 302 m_devToolsEmulator->setPluginsEnabled(enabled);
298 } 303 }
299 304
300 void WebSettingsImpl::setAvailablePointerTypes(int pointers) 305 void WebSettingsImpl::setAvailablePointerTypes(int pointers)
301 { 306 {
302 m_devToolsEmulator->setAvailablePointerTypes(pointers); 307 m_devToolsEmulator->setAvailablePointerTypes(pointers);
303 } 308 }
304 309
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 { 812 {
808 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies)); 813 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies));
809 } 814 }
810 815
811 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) 816 void WebSettingsImpl::setViewportStyle(WebViewportStyle style)
812 { 817 {
813 m_devToolsEmulator->setViewportStyle(style); 818 m_devToolsEmulator->setViewportStyle(style);
814 } 819 }
815 820
816 } // namespace blink 821 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698