From 7709e78311478f7f19ad78476156556f2ab45e5f Mon Sep 17 00:00:00 2001 From: Hixie Date: Tue, 8 Mar 2016 12:14:38 -0800 Subject: [PATCH] Hide implementation comment we leaked into docs Also, add some dartdocs for AppLifecycleState values. --- sky/engine/core/dart/window.dart | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sky/engine/core/dart/window.dart b/sky/engine/core/dart/window.dart index 75827172b..59d272753 100644 --- a/sky/engine/core/dart/window.dart +++ b/sky/engine/core/dart/window.dart @@ -17,11 +17,16 @@ typedef void PointerPacketCallback(ByteData serializedPacket); typedef void AppLifecycleStateCallback(AppLifecycleState state); /// States that an application can be in. -/// -/// These values must match the order of the values of AppLifecycleState -/// in sky_engine.mojom enum AppLifecycleState { + // These values must match the order of the values of + // AppLifecycleState in sky_engine.mojom + + /// The application is not currently visible to the user. When the + /// application is in this state, the engine will not call the + /// [onBeginFrame] callback. paused, + + /// The application is visible to the user. resumed, } -- GitLab