Chromium Code Reviews| Index: services/resource_coordinator/public/interfaces/events.mojom |
| diff --git a/services/resource_coordinator/public/interfaces/events.mojom b/services/resource_coordinator/public/interfaces/events.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..efb791517aa03937c657c4b18cf1d75a71a6bbda |
| --- /dev/null |
| +++ b/services/resource_coordinator/public/interfaces/events.mojom |
| @@ -0,0 +1,19 @@ |
| +// Copyright 2017 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 resource_coordinator.mojom; |
| + |
| +enum EventType { |
| + TEST_EVENT, |
|
nasko
2017/04/21 00:17:33
nit: Another plug for k-prefixed enum values.
oystein (OOO til 10th of July)
2017/04/21 17:57:55
Done.
|
| + ON_NAVIGATION_COMMIT, |
| + ON_WEBCONTENTS_SHOWN, |
|
nasko
2017/04/21 00:17:33
nit: I personally find WEBCONTENTS hard to read an
oystein (OOO til 10th of July)
2017/04/21 17:57:55
Done.
|
| + ON_WEBCONTENTS_HIDDEN, |
| + ON_RENDERER_FRAME_CREATED, |
| + ON_PROCESS_AUDIO_STARTED, |
| + ON_PROCESS_AUDIO_STOPPED, |
| +}; |
| + |
| +struct Event { |
| + EventType type; |
| +}; |