Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: ui/base/cocoa/defaults_utils.h

Issue 2282533002: mac: use NSUserDefaults values for caret blink rate if present (Closed)
Patch Set: 10.9 support and comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698