chromium/extensions/common/api/app_view_guest_internal.json

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

[
  {
    "namespace": "appViewGuestInternal",
    "compiler_options": {
      "implemented_in": "extensions/browser/api/guest_view/app_view/app_view_guest_internal_api.h"
    },
    "description": "none",
    "functions": [
      {
        "name": "attachFrame",
        "type": "function",
        "description": "Attaches the specified url to the AppView with the provided instance ID.",
        "parameters": [
          {
            "type": "string",
            "name": "url",
            "nodoc": true
          },
          {
            "type": "integer",
            "name": "guestInstanceId",
            "nodoc": true
          }
        ],
        "returns_async": {
          "name": "callback",
          "optional": true,
          "parameters": [
            {
              "type": "integer",
              "name": "instanceId"
            }
          ]
        }
      },
      {
        "name": "denyRequest",
        "type": "function",
        "description": "Denies the embedding request made by the AppView with the provided instance ID.",
        "parameters": [
          {
            "type": "integer",
            "name": "guestInstanceId",
            "nodoc": true
          }
        ]
      }
    ]
  }
]