Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(575)

Side by Side Diff: components/dom_distiller/content/common/distiller_javascript_service.mojom

Issue 1386043002: Open distiller UI setting through JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment nits Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module dom_distiller; 5 module dom_distiller;
6 6
7 // This service is implemented by the browser process and is used by the 7 // This service is implemented by the browser process and is used by the
8 // renderer when a distiller JavaScript function is called. 8 // renderer when a distiller JavaScript function is called.
9 interface DistillerJavaScriptService { 9 interface DistillerJavaScriptService {
10 10
11 // Handle the "distiller.echo" function. 11 // Handle the "distiller.echo" function.
12 HandleDistillerEchoCall(string message); 12 HandleDistillerEchoCall(string message);
13 13
14 // Handle the "distiller.sendFeedback" function. 14 // Handle the "distiller.sendFeedback" function.
15 HandleDistillerFeedbackCall(bool good); 15 HandleDistillerFeedbackCall(bool good);
16 16
17 // Handle closing the overlay panel that contains Reader Mode; the 17 // Handle closing the overlay panel that contains Reader Mode; the
18 // "distiller.close" function. 18 // "distiller.close" function.
19 HandleDistillerClosePanelCall(); 19 HandleDistillerClosePanelCall();
20
21 // Open the Android view containing settings for Reader Mode; the
22 // "distiller.openSettings" function.
23 HandleDistillerOpenSettingsCall();
20 }; 24 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698