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..7415e798f19dfd21f9e13ce220fecc31deffac4e |
--- /dev/null |
+++ b/services/resource_coordinator/public/interfaces/events.mojom |
@@ -0,0 +1,20 @@ |
+// 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 { |
+ INVALID_EVENT, |
dcheng
2017/04/18 05:40:47
This doesn't seem to be used.
oystein (OOO til 10th of July)
2017/04/18 20:55:34
Removed.
|
+ TEST_EVENT, |
dcheng
2017/04/18 05:40:47
Add some comments to the enumerator values here. I
oystein (OOO til 10th of July)
2017/04/18 20:55:34
Expanded the name a bit; I'm expecting the actual
|
+ ON_COMMIT, |
+ ON_WEBCONTENTS_SHOWN, |
+ ON_WEBCONTENTS_HIDDEN, |
+ ON_RENDERER_FRAME_CREATED, |
+ ON_PROCESS_AUDIO_STARTED, |
+ ON_PROCESS_AUDIO_STOPPED, |
+}; |
+ |
+struct Event { |
+ EventType type; |
dcheng
2017/04/18 05:40:47
Indent is funny
oystein (OOO til 10th of July)
2017/04/18 20:55:33
Ah, tab rather than spaces somehow. Fixed.
|
+}; |