content_settings_agent.mojom 849 B

12345678910111213141516171819202122
  1. // Copyright 2017 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. module content_settings.mojom;
  5. import "components/content_settings/core/common/content_settings.mojom";
  6. // An interface to the content settings agent running in the renderer process.
  7. interface ContentSettingsAgent {
  8. // Sent to allow the running of insecure mixed-content. If received by the
  9. // main frame, it will also reload the frame afterwards.
  10. SetAllowRunningInsecureContent();
  11. // Sent to inform the renderer automatic upgrades for mixed content are
  12. // disabled.
  13. SetDisabledMixedContentUpgrades();
  14. // Sends content setting rules for each frame to the renderer process.
  15. SendRendererContentSettingRules(
  16. RendererContentSettingRules renderer_settings);
  17. };