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

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

Issue 12463007: Disable partial swaps for webview guest renderer until we can figure out how to do that properly. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Version 2, plumb through the renderer. Created 7 years, 9 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
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 bool throttle_input_events; 114 bool throttle_input_events;
115 115
116 // Specifies whether the renderer reports frame name changes to the browser 116 // Specifies whether the renderer reports frame name changes to the browser
117 // process. 117 // process.
118 // TODO(fsamuel): This is a short-term workaround to avoid regressing 118 // TODO(fsamuel): This is a short-term workaround to avoid regressing
119 // Sunspider. We need to find an efficient way to report changes to frame 119 // Sunspider. We need to find an efficient way to report changes to frame
120 // names to the browser process. See http://crbug.com/169110 for more 120 // names to the browser process. See http://crbug.com/169110 for more
121 // information. 121 // information.
122 bool report_frame_name_changes; 122 bool report_frame_name_changes;
123 123
124 // Specifies whether patially swapping composited buffers is
piman 2013/03/06 18:05:16 typo: partially
125 // allowed for a renderer. Allowing partial swap only turns
126 // in on if supported.
piman 2013/03/06 18:05:16 "turns in on" typo?
alexst (slow to review) 2013/03/06 18:24:12 Fixed and rephrased.
127 bool allow_partial_swap;
128
124 // Controls deacceleration of touchpad-initiated flings. 129 // Controls deacceleration of touchpad-initiated flings.
125 std::vector<float> touchpad_fling_profile; 130 std::vector<float> touchpad_fling_profile;
126 131
127 // Controls deacceleration of touchscreen-initiated flings. 132 // Controls deacceleration of touchscreen-initiated flings.
128 std::vector<float> touchscreen_fling_profile; 133 std::vector<float> touchscreen_fling_profile;
129 }; 134 };
130 135
131 } // namespace content 136 } // namespace content
132 137
133 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 138 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698