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

Side by Side Diff: content/public/common/renderer_preferences.h

Issue 10387074: Only disallow top-level navigations in platform apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mike's review feedback Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // A struct for managing browser's settings that apply to the renderer or its 5 // A struct for managing browser's settings that apply to the renderer or its
6 // webview. These differ from WebPreferences since they apply to Chromium's 6 // webview. These differ from WebPreferences since they apply to Chromium's
7 // glue layer rather than applying to just WebKit. 7 // glue layer rather than applying to just WebKit.
8 // 8 //
9 // Adding new values to this class probably involves updating 9 // Adding new values to this class probably involves updating
10 // common/view_messages.h, browser/browser.cc, etc. 10 // common/view_messages.h, browser/browser.cc, etc.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 // The colors used in selection text. Currently only used on Linux. 66 // The colors used in selection text. Currently only used on Linux.
67 SkColor active_selection_bg_color; 67 SkColor active_selection_bg_color;
68 SkColor active_selection_fg_color; 68 SkColor active_selection_fg_color;
69 SkColor inactive_selection_bg_color; 69 SkColor inactive_selection_bg_color;
70 SkColor inactive_selection_fg_color; 70 SkColor inactive_selection_fg_color;
71 71
72 // Browser wants a look at all non-local top level navigation requests. 72 // Browser wants a look at all non-local top level navigation requests.
73 bool browser_handles_top_level_requests; 73 bool browser_handles_top_level_requests;
74 74
75 // Browser wants a look at all navigation requests. 75 // Browser wants a look at all top-level or non-local navigation requests.
76 bool browser_handles_all_requests; 76 bool browser_handles_all_top_level_or_non_local_requests;
77 77
78 // Cursor blink rate in seconds. 78 // Cursor blink rate in seconds.
79 // Currently only changed from default on Linux. Uses |gtk-cursor-blink| 79 // Currently only changed from default on Linux. Uses |gtk-cursor-blink|
80 // from GtkSettings. 80 // from GtkSettings.
81 double caret_blink_interval; 81 double caret_blink_interval;
82 82
83 // Set to false to not send referrers. 83 // Set to false to not send referrers.
84 bool enable_referrers; 84 bool enable_referrers;
85 85
86 // Default page zoom level. 86 // Default page zoom level.
87 double default_zoom_level; 87 double default_zoom_level;
88 }; 88 };
89 89
90 } // namespace content 90 } // namespace content
91 91
92 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 92 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698