diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-05-17 18:23:35 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-06-17 15:27:27 +0200 |
commit | b95b43a8b2ed121fb12428f55c52cd3e56c10618 (patch) | |
tree | 53b1abe8ada86ad922f8f60211e5d3f6e96055d9 | |
parent | f2534fcd7ed9d1d3b9e771c1036caed34814e78c (diff) |
Add mojom for renderer_configuration
Change-Id: I3e7b09d39dcfbf13b603bc64f4e21fdcf685f27d
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
-rw-r--r-- | chromium/qtwebengine/common/BUILD.gn | 25 | ||||
-rw-r--r-- | chromium/qtwebengine/common/renderer_configuration.mojom | 53 |
2 files changed, 78 insertions, 0 deletions
diff --git a/chromium/qtwebengine/common/BUILD.gn b/chromium/qtwebengine/common/BUILD.gn new file mode 100644 index 00000000000..89b5e003201 --- /dev/null +++ b/chromium/qtwebengine/common/BUILD.gn @@ -0,0 +1,25 @@ +import("//mojo/public/tools/bindings/mojom.gni") + +mojom("mojo_bindings") { + disable_variants = true + + sources = [ + "renderer_configuration.mojom", + ] + + deps = [] + + public_deps = [ + "//content/public/common:interfaces", + "//mojo/public/mojom/base", + "//third_party/blink/public/mojom:mojom_platform", + ] + + overridden_deps = [ + "//third_party/blink/public/mojom:mojom_platform", + "//content/public/common:interfaces", + ] + + component_deps = [ "//content/public/common" ] +} + diff --git a/chromium/qtwebengine/common/renderer_configuration.mojom b/chromium/qtwebengine/common/renderer_configuration.mojom new file mode 100644 index 00000000000..22c08a13df7 --- /dev/null +++ b/chromium/qtwebengine/common/renderer_configuration.mojom @@ -0,0 +1,53 @@ +/**************************************************************************** +** +** Copyright (C) 2018 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of the QtWebEngine module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or (at your option) the GNU General +** Public license version 3 or any later version approved by the KDE Free +** Qt Foundation. The licenses are as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-2.0.html and +** https://www.gnu.org/licenses/gpl-3.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +// based on //chrome/common/renderer_configuration.mojom +// Copyright 2016 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 qtwebengine.mojom; + +import "components/content_settings/core/common/content_settings.mojom"; + +// Configures the renderer. +interface RendererConfiguration { + // Configures the renderer with settings that won't change. + SetInitialConfiguration(bool is_incognito_process); +}; |