OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 module blink.mojom; | |
6 | |
7 import "url/mojo/origin.mojom"; | |
8 | |
9 enum EngagementLevel { | |
10 NONE, | |
11 MINIMAL, | |
12 LOW, | |
13 MEDIUM, | |
14 HIGH, | |
15 MAX, | |
16 }; | |
17 | |
18 interface EngagementClient { | |
19 // The browser tells the renderer the engagement level of the current URL. | |
nasko
2016/11/30 18:00:25
nit: Let's avoid using the word "current" as it is
dominickn
2016/11/30 23:46:33
Done.
| |
20 SetEngagementLevel(url.mojom.Origin origin, EngagementLevel level); | |
21 }; | |
OLD | NEW |