Commit 72655077 authored by Lucas Furukawa Gadani's avatar Lucas Furukawa Gadani Committed by Commit Bot

Portals: Add mojo interface.

This CL just adds an empty mojo interface that will be used for
implementing portals. The interface will be exposed by the browser in a
follow-up CL.

Bug: 865565
Change-Id: I1cd93aa19f83562b5f9dccfe3eb75c93433e6770
Reviewed-on: https://chromium-review.googlesource.com/1144054Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Lucas Gadani <lfg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578466}
parent e94a326f
...@@ -40,5 +40,8 @@ const base::Feature kRecordAnchorMetricsClicked{ ...@@ -40,5 +40,8 @@ const base::Feature kRecordAnchorMetricsClicked{
const base::Feature kRecordAnchorMetricsVisible{ const base::Feature kRecordAnchorMetricsVisible{
"RecordAnchorMetricsVisible", base::FEATURE_DISABLED_BY_DEFAULT}; "RecordAnchorMetricsVisible", base::FEATURE_DISABLED_BY_DEFAULT};
// Enable Portals. https://crbug.com/865123.
const base::Feature kPortals{"Portals", base::FEATURE_DISABLED_BY_DEFAULT};
} // namespace features } // namespace features
} // namespace blink } // namespace blink
...@@ -19,6 +19,7 @@ BLINK_COMMON_EXPORT extern const base::Feature kServiceWorkerServicification; ...@@ -19,6 +19,7 @@ BLINK_COMMON_EXPORT extern const base::Feature kServiceWorkerServicification;
BLINK_COMMON_EXPORT extern const base::Feature kNestedWorkers; BLINK_COMMON_EXPORT extern const base::Feature kNestedWorkers;
BLINK_COMMON_EXPORT extern const base::Feature kRecordAnchorMetricsClicked; BLINK_COMMON_EXPORT extern const base::Feature kRecordAnchorMetricsClicked;
BLINK_COMMON_EXPORT extern const base::Feature kRecordAnchorMetricsVisible; BLINK_COMMON_EXPORT extern const base::Feature kRecordAnchorMetricsVisible;
BLINK_COMMON_EXPORT extern const base::Feature kPortals;
} // namespace features } // namespace features
} // namespace blink } // namespace blink
......
...@@ -101,6 +101,7 @@ mojom("speech_recognition_error_code") { ...@@ -101,6 +101,7 @@ mojom("speech_recognition_error_code") {
mojom("mojom_core") { mojom("mojom_core") {
sources = [ sources = [
"message_port/message_port.mojom", "message_port/message_port.mojom",
"portal/portal.mojom",
"service_worker/service_worker.mojom", "service_worker/service_worker.mojom",
"service_worker/service_worker_object.mojom", "service_worker/service_worker_object.mojom",
"service_worker/service_worker_registration.mojom", "service_worker/service_worker_registration.mojom",
......
per-file *.mojom=set noparent
per-file *.mojom=file://ipc/SECURITY_OWNERS
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module blink.mojom;
// The Portal interface is used by the renderer to interact with the Portal.
interface Portal {
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment