OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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 #ifndef SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EVENTS_H_ | |
Primiano Tucci (use gerrit)
2017/04/06 18:09:46
nit: macro doesn't match the file name
oystein (OOO til 10th of July)
2017/04/10 20:03:00
Done.
| |
5 #define SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EVENTS_H_ | |
6 | |
7 namespace resource_coordinator { | |
8 | |
9 enum EventType : uint32_t { | |
Primiano Tucci (use gerrit)
2017/04/06 18:09:46
shouldn't this be an enum class to reduce namespac
oystein (OOO til 10th of July)
2017/04/10 20:03:00
Oops, meant to do this. Fixed.
| |
10 INVALID_EVENT, | |
11 TEST_EVENT, | |
12 ON_COMMIT, | |
13 ON_WEBCONTENTS_SHOWN, | |
14 ON_WEBCONTENTS_HIDDEN, | |
15 ON_RENDERER_FRAME_CREATED, | |
16 ON_PROCESS_AUDIO_STARTED, | |
17 ON_PROCESS_AUDIO_STOPPED, | |
18 NUM_EVENTS | |
19 }; | |
20 | |
21 } // resource_coordinator | |
22 | |
23 #endif // SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_EVENTS_H_ | |
OLD | NEW |