blob: 64868f9c90bcd3539432c207e40f3436fe852128 [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview Notifies the application that this frame has loaded. This file
* must be included at document end time.
*/
import {gCrWeb} from '//ios/web/public/js_messaging/resources/gcrweb.js';
// Requires message.js to already have been injected.
// Frame registration must be delayed until Document End script injection time.
// (This file is injected at that time, but the message API is defined at
// Document Start time.)
gCrWeb.registerFrame();