summaryrefslogtreecommitdiff
path: root/chromium/components/dom_distiller/content/common/distiller_javascript_service.mojom
blob: 8589198d0ed7254a4d4bc153763866a1c04b4e59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2015 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 dom_distiller.mojom;

// This service is implemented by the browser process and is used by the
// renderer when a distiller JavaScript function is called.
interface DistillerJavaScriptService {
  // Handle closing the overlay panel that contains Reader Mode; the
  // "distiller.close" function.
  HandleDistillerClosePanelCall(bool animate);

  // Open the Android view containing settings for Reader Mode; the
  // "distiller.openSettings" function.
  HandleDistillerOpenSettingsCall();
};