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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 833273004: Remove command line flag --disable-xslt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch Created 5 years, 11 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 | « no previous file | content/public/common/content_switches.h » ('j') | 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 "content/browser/renderer_host/render_view_host_impl.h" 5 #include "content/browser/renderer_host/render_view_host_impl.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 327
328 prefs.web_security_enabled = 328 prefs.web_security_enabled =
329 !command_line.HasSwitch(switches::kDisableWebSecurity); 329 !command_line.HasSwitch(switches::kDisableWebSecurity);
330 prefs.plugins_enabled = 330 prefs.plugins_enabled =
331 !command_line.HasSwitch(switches::kDisablePlugins); 331 !command_line.HasSwitch(switches::kDisablePlugins);
332 prefs.java_enabled = 332 prefs.java_enabled =
333 !command_line.HasSwitch(switches::kDisableJava); 333 !command_line.HasSwitch(switches::kDisableJava);
334 334
335 prefs.remote_fonts_enabled = 335 prefs.remote_fonts_enabled =
336 !command_line.HasSwitch(switches::kDisableRemoteFonts); 336 !command_line.HasSwitch(switches::kDisableRemoteFonts);
337 prefs.xslt_enabled =
338 !command_line.HasSwitch(switches::kDisableXSLT);
339 337
340 prefs.local_storage_enabled = 338 prefs.local_storage_enabled =
341 !command_line.HasSwitch(switches::kDisableLocalStorage); 339 !command_line.HasSwitch(switches::kDisableLocalStorage);
342 prefs.databases_enabled = 340 prefs.databases_enabled =
343 !command_line.HasSwitch(switches::kDisableDatabases); 341 !command_line.HasSwitch(switches::kDisableDatabases);
344 #if defined(OS_ANDROID) 342 #if defined(OS_ANDROID)
345 // WebAudio is enabled by default on x86 and ARM. 343 // WebAudio is enabled by default on x86 and ARM.
346 prefs.webaudio_enabled = 344 prefs.webaudio_enabled =
347 !command_line.HasSwitch(switches::kDisableWebAudio); 345 !command_line.HasSwitch(switches::kDisableWebAudio);
348 #endif 346 #endif
(...skipping 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 FrameTree* frame_tree = delegate_->GetFrameTree(); 1484 FrameTree* frame_tree = delegate_->GetFrameTree();
1487 1485
1488 frame_tree->ResetForMainFrameSwap(); 1486 frame_tree->ResetForMainFrameSwap();
1489 } 1487 }
1490 1488
1491 void RenderViewHostImpl::SelectWordAroundCaret() { 1489 void RenderViewHostImpl::SelectWordAroundCaret() {
1492 Send(new ViewMsg_SelectWordAroundCaret(GetRoutingID())); 1490 Send(new ViewMsg_SelectWordAroundCaret(GetRoutingID()));
1493 } 1491 }
1494 1492
1495 } // namespace content 1493 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698