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

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

Issue 9839073: Added the command line flag that enables CSS Shaders: "--enable-css-custom-filter". (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased and changed to "--enable-css-shaders" Created 8 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
« no previous file with comments | « webkit/glue/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 (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 #include "webkit/glue/webpreferences.h" 5 #include "webkit/glue/webpreferences.h"
6 6
7 #include <unicode/uchar.h> 7 #include <unicode/uchar.h>
8 8
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 interactive_form_validation_enabled(true), 97 interactive_form_validation_enabled(true),
98 fullscreen_enabled(false), 98 fullscreen_enabled(false),
99 allow_displaying_insecure_content(true), 99 allow_displaying_insecure_content(true),
100 allow_running_insecure_content(false), 100 allow_running_insecure_content(false),
101 password_echo_enabled(false), 101 password_echo_enabled(false),
102 should_print_backgrounds(false), 102 should_print_backgrounds(false),
103 enable_scroll_animator(false), 103 enable_scroll_animator(false),
104 hixie76_websocket_protocol_enabled(false), 104 hixie76_websocket_protocol_enabled(false),
105 visual_word_movement_enabled(false), 105 visual_word_movement_enabled(false),
106 per_tile_painting_enabled(false), 106 per_tile_painting_enabled(false),
107 css_regions_enabled(false) { 107 css_regions_enabled(false),
108 css_shaders_enabled(false) {
108 } 109 }
109 110
110 WebPreferences::~WebPreferences() { 111 WebPreferences::~WebPreferences() {
111 } 112 }
112 113
113 namespace { 114 namespace {
114 115
115 void setStandardFontFamilyWrapper(WebSettings* settings, 116 void setStandardFontFamilyWrapper(WebSettings* settings,
116 const string16& font, 117 const string16& font,
117 UScriptCode script) { 118 UScriptCode script) {
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 settings->setShouldPrintBackgrounds(should_print_backgrounds); 345 settings->setShouldPrintBackgrounds(should_print_backgrounds);
345 settings->setEnableScrollAnimator(enable_scroll_animator); 346 settings->setEnableScrollAnimator(enable_scroll_animator);
346 settings->setHixie76WebSocketProtocolEnabled( 347 settings->setHixie76WebSocketProtocolEnabled(
347 hixie76_websocket_protocol_enabled); 348 hixie76_websocket_protocol_enabled);
348 settings->setVisualWordMovementEnabled(visual_word_movement_enabled); 349 settings->setVisualWordMovementEnabled(visual_word_movement_enabled);
349 350
350 // Enable per-tile painting if requested on the command line. 351 // Enable per-tile painting if requested on the command line.
351 settings->setPerTilePaintingEnabled(per_tile_painting_enabled); 352 settings->setPerTilePaintingEnabled(per_tile_painting_enabled);
352 353
353 settings->setExperimentalCSSRegionsEnabled(css_regions_enabled); 354 settings->setExperimentalCSSRegionsEnabled(css_regions_enabled);
355 settings->setExperimentalCSSCustomFilterEnabled(css_shaders_enabled);
354 356
355 WebNetworkStateNotifier::setOnLine(is_online); 357 WebNetworkStateNotifier::setOnLine(is_online);
356 } 358 }
OLDNEW
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698