chromium/chrome/common/extensions/api/chrome_url_overrides.idl

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Stub namespace for the "chrome_url_overrides" manifest key.
namespace chrome_url_overrides {
  dictionary UrlOverrideInfo {
    // Override for the chrome://newtab page.
    DOMString? newtab;

    // Override for the chrome://bookmarks page.
    DOMString? bookmarks;

    // Override for the chrome://history page.
    DOMString? history;

    [nodoc, platforms=("chromeos")] DOMString? activationmessage;
    [nodoc, platforms=("chromeos")] DOMString? keyboard;
  };

  dictionary ManifestKeys {
    // Chrome url overrides. Note that an extension can override only one page.
    UrlOverrideInfo chrome_url_overrides;
  };
};