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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.h

Issue 1583813003: Remove obsolete histogram values from SSL.InsecureContent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mpearson comment Created 4 years, 11 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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 virtual void didChangeScrollOffset() { } 179 virtual void didChangeScrollOffset() { }
180 virtual void didUpdateCurrentHistoryItem() { } 180 virtual void didUpdateCurrentHistoryItem() { }
181 virtual void didRemoveAllPendingStylesheet() { } 181 virtual void didRemoveAllPendingStylesheet() { }
182 182
183 virtual bool allowScript(bool enabledPerSettings) { return enabledPerSetting s; } 183 virtual bool allowScript(bool enabledPerSettings) { return enabledPerSetting s; }
184 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&) { r eturn enabledPerSettings; } 184 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&) { r eturn enabledPerSettings; }
185 virtual bool allowPlugins(bool enabledPerSettings) { return enabledPerSettin gs; } 185 virtual bool allowPlugins(bool enabledPerSettings) { return enabledPerSettin gs; }
186 virtual bool allowImage(bool enabledPerSettings, const KURL&) { return enabl edPerSettings; } 186 virtual bool allowImage(bool enabledPerSettings, const KURL&) { return enabl edPerSettings; }
187 virtual bool allowMedia(const KURL&) { return true; } 187 virtual bool allowMedia(const KURL&) { return true; }
188 virtual bool allowDisplayingInsecureContent(bool enabledPerSettings, Securit yOrigin*, const KURL&) { return enabledPerSettings; } 188 virtual bool allowDisplayingInsecureContent(bool enabledPerSettings, const K URL&) { return enabledPerSettings; }
189 virtual bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOr igin*, const KURL&) { return enabledPerSettings; } 189 virtual bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOr igin*, const KURL&) { return enabledPerSettings; }
190 190
191 // This callback notifies the client that the frame was about to run 191 // This callback notifies the client that the frame was about to run
192 // JavaScript but did not because allowScript returned false. We 192 // JavaScript but did not because allowScript returned false. We
193 // have a separate callback here because there are a number of places 193 // have a separate callback here because there are a number of places
194 // that need to know if JavaScript is enabled but are not necessarily 194 // that need to know if JavaScript is enabled but are not necessarily
195 // preparing to execute script. 195 // preparing to execute script.
196 virtual void didNotAllowScript() { } 196 virtual void didNotAllowScript() { }
197 // This callback is similar, but for plugins. 197 // This callback is similar, but for plugins.
198 virtual void didNotAllowPlugins() { } 198 virtual void didNotAllowPlugins() { }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 BeforeUnloadHandler, 249 BeforeUnloadHandler,
250 UnloadHandler, 250 UnloadHandler,
251 }; 251 };
252 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } 252 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { }
253 253
254 }; 254 };
255 255
256 } // namespace blink 256 } // namespace blink
257 257
258 #endif // FrameLoaderClient_h 258 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « components/test_runner/web_content_settings.cc ('k') | third_party/WebKit/Source/core/loader/MixedContentChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698