Index: content/public/common/widget_visible_state.h |
diff --git a/content/public/common/widget_visible_state.h b/content/public/common/widget_visible_state.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b730e1fe4894826394baa0cf167a971c357622ab |
--- /dev/null |
+++ b/content/public/common/widget_visible_state.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2014 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. |
+ |
+#ifndef CONTENT_PUBLIC_COMMON_WIDGET_VISIBLE_STATE_H_ |
+#define CONTENT_PUBLIC_COMMON_WIDGET_VISIBLE_STATE_H_ |
+ |
+namespace content { |
+ |
+enum WidgetVisibleState { |
+ WIDGET_VISIBLE_STATE_PROVISIONAL_LOAD_COMMITTED = 0, |
+ WIDGET_VISIBLE_STATE_FIRST_VISUALLY_NON_EMPTY_LAYOUT, |
+ WIDGET_VISIBLE_STATE_DID_FINISH_DOCUMENT_LOAD, |
+ WIDGET_VISIBLE_STATE_DID_HANDLE_ONLOAD_EVENTS, |
+ |
+ WIDGET_VISIBLE_STATE_MAX = WIDGET_VISIBLE_STATE_DID_HANDLE_ONLOAD_EVENTS, |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_COMMON_WIDGET_VISIBLE_STATE_H_ |