Index: ui/base/cocoa/defaults_utils.h |
diff --git a/ui/base/cocoa/defaults_utils.h b/ui/base/cocoa/defaults_utils.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ff68374f8a0201c5321d0e3b910ac5b6b80ca656 |
--- /dev/null |
+++ b/ui/base/cocoa/defaults_utils.h |
@@ -0,0 +1,19 @@ |
+// Copyright 2016 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 UI_BASE_COCOA_DEFAULTS_UTILS_H_ |
+#define UI_BASE_COCOA_DEFAULTS_UTILS_H_ |
+ |
+#include "base/time/time.h" |
+#include "ui/base/ui_base_export.h" |
+ |
+namespace ui { |
+ |
+// Returns the text insertion caret blink period, if one is configured in |
+// NSUserDefaults. |
+UI_BASE_EXPORT bool TextInsertionCaretBlinkPeriod(base::TimeDelta* period); |
+ |
+} |
+ |
+#endif |