diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-09 22:06:49 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-09 22:06:49 +0000 |
commit | f7238c977a13f719f2d540a2927a51f6c1e70e74 (patch) | |
tree | 6a3f3525e6facf9a5b5194e91b07135291e929b5 /chrome/common/renderer_preferences.h | |
parent | 3c60648d40a45921b9d62aabe5754b050f04ad8b (diff) | |
download | chromium_src-f7238c977a13f719f2d540a2927a51f6c1e70e74.zip chromium_src-f7238c977a13f719f2d540a2927a51f6c1e70e74.tar.gz chromium_src-f7238c977a13f719f2d540a2927a51f6c1e70e74.tar.bz2 |
Use gtk-cursor-blink from GtkSettings to set the
caret blink interval on Linux
This can be set with the "Cursor Blinking" slider and checkbox in gnome-keyboard-properties. The changed setting will appear in a new renderer, so opening a new tab will see the change.
WebKit side is at https://bugs.webkit.org/show_bug.cgi?id=28931
Patch by Joel Stanley <joel@jms.id.au>
BUG=20772
Review URL: http://codereview.chromium.org/186009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25797 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/renderer_preferences.h')
-rw-r--r-- | chrome/common/renderer_preferences.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/common/renderer_preferences.h b/chrome/common/renderer_preferences.h index fcdc273..ca14e3f 100644 --- a/chrome/common/renderer_preferences.h +++ b/chrome/common/renderer_preferences.h @@ -51,9 +51,14 @@ struct RendererPreferences { int focus_ring_color_g; int focus_ring_color_b; - // Browser wants a look at all top level requests + // Browser wants a look at all top level requests. bool browser_handles_top_level_requests; + // Cursor blink rate in seconds. + // Currently only changed from default on Linux. Uses |gtk-cursor-blink| + // from GtkSettings. + double caret_blink_interval; + RendererPreferences() : can_accept_load_drops(true), should_antialias_text(true), |