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_COORDINATION_UNIT_EVENTS_H_ |
| 5 #define SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_COORDINATION_UNIT_EVENTS_H_ |
| 6 |
| 7 namespace resource_coordinator { |
| 8 |
| 9 // Do not assign values to these enum elements as the IPC macros in |
| 10 // coordination_unit_struct_traits.h relies on NUM_EVENTS-1 being the |
| 11 // last valid element. |
| 12 enum class EventType : uint32_t { |
| 13 INVALID_EVENT, |
| 14 TEST_EVENT, |
| 15 ON_COMMIT, |
| 16 ON_WEBCONTENTS_SHOWN, |
| 17 ON_WEBCONTENTS_HIDDEN, |
| 18 ON_RENDERER_FRAME_CREATED, |
| 19 ON_PROCESS_AUDIO_STARTED, |
| 20 ON_PROCESS_AUDIO_STOPPED, |
| 21 NUM_EVENTS |
| 22 }; |
| 23 |
| 24 } // resource_coordinator |
| 25 |
| 26 #endif // SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_COORDINATION_UNIT_EVENTS_H_ |
OLD | NEW |