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

Side by Side Diff: webkit/common/webpreferences.cc

Issue 188143003: Ensure that pepper plugins honor the GPU H/W video decode blacklist and the disable-accelerated-vid… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « webkit/common/webpreferences.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "webkit/common/webpreferences.h" 5 #include "webkit/common/webpreferences.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "third_party/WebKit/public/web/WebSettings.h" 10 #include "third_party/WebKit/public/web/WebSettings.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 #else 115 #else
116 smart_insert_delete_enabled(false), 116 smart_insert_delete_enabled(false),
117 #endif 117 #endif
118 spatial_navigation_enabled(false), 118 spatial_navigation_enabled(false),
119 experimental_websocket_enabled(false), 119 experimental_websocket_enabled(false),
120 pinch_virtual_viewport_enabled(false), 120 pinch_virtual_viewport_enabled(false),
121 pinch_overlay_scrollbar_thickness(0), 121 pinch_overlay_scrollbar_thickness(0),
122 use_solid_color_scrollbars(false), 122 use_solid_color_scrollbars(false),
123 compositor_touch_hit_testing(true), 123 compositor_touch_hit_testing(true),
124 navigate_on_drag_drop(true), 124 navigate_on_drag_drop(true),
125 cookie_enabled(true) 125 cookie_enabled(true),
126 pepper_accelerated_video_decode_enabled(false)
126 #if defined(OS_ANDROID) 127 #if defined(OS_ANDROID)
127 , 128 ,
128 text_autosizing_enabled(true), 129 text_autosizing_enabled(true),
129 font_scale_factor(1.0f), 130 font_scale_factor(1.0f),
130 device_scale_adjustment(1.0f), 131 device_scale_adjustment(1.0f),
131 force_enable_zoom(false), 132 force_enable_zoom(false),
132 double_tap_to_zoom_enabled(true), 133 double_tap_to_zoom_enabled(true),
133 user_gesture_required_for_media_playback(true), 134 user_gesture_required_for_media_playback(true),
134 user_gesture_required_for_media_fullscreen(true), 135 user_gesture_required_for_media_fullscreen(true),
135 support_deprecated_target_density_dpi(false), 136 support_deprecated_target_density_dpi(false),
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 COMPILE_ASSERT_MATCHING_ENUMS( 178 COMPILE_ASSERT_MATCHING_ENUMS(
178 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac); 179 webkit_glue::EDITING_BEHAVIOR_MAC, WebSettings::EditingBehaviorMac);
179 COMPILE_ASSERT_MATCHING_ENUMS( 180 COMPILE_ASSERT_MATCHING_ENUMS(
180 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin); 181 webkit_glue::EDITING_BEHAVIOR_WIN, WebSettings::EditingBehaviorWin);
181 COMPILE_ASSERT_MATCHING_ENUMS( 182 COMPILE_ASSERT_MATCHING_ENUMS(
182 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix); 183 webkit_glue::EDITING_BEHAVIOR_UNIX, WebSettings::EditingBehaviorUnix);
183 COMPILE_ASSERT_MATCHING_ENUMS( 184 COMPILE_ASSERT_MATCHING_ENUMS(
184 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid); 185 webkit_glue::EDITING_BEHAVIOR_ANDROID, WebSettings::EditingBehaviorAndroid);
185 186
186 } // namespace webkit_glue 187 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/common/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698