| OLD | NEW |
| 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 !command_line.HasSwitch(switches::kDisableWebSecurity); | 338 !command_line.HasSwitch(switches::kDisableWebSecurity); |
| 339 prefs.plugins_enabled = | 339 prefs.plugins_enabled = |
| 340 !command_line.HasSwitch(switches::kDisablePlugins); | 340 !command_line.HasSwitch(switches::kDisablePlugins); |
| 341 prefs.java_enabled = | 341 prefs.java_enabled = |
| 342 !command_line.HasSwitch(switches::kDisableJava); | 342 !command_line.HasSwitch(switches::kDisableJava); |
| 343 | 343 |
| 344 prefs.remote_fonts_enabled = | 344 prefs.remote_fonts_enabled = |
| 345 !command_line.HasSwitch(switches::kDisableRemoteFonts); | 345 !command_line.HasSwitch(switches::kDisableRemoteFonts); |
| 346 prefs.xslt_enabled = | 346 prefs.xslt_enabled = |
| 347 !command_line.HasSwitch(switches::kDisableXSLT); | 347 !command_line.HasSwitch(switches::kDisableXSLT); |
| 348 prefs.xss_auditor_enabled = | |
| 349 !command_line.HasSwitch(switches::kDisableXSSAuditor); | |
| 350 prefs.application_cache_enabled = | 348 prefs.application_cache_enabled = |
| 351 !command_line.HasSwitch(switches::kDisableApplicationCache); | 349 !command_line.HasSwitch(switches::kDisableApplicationCache); |
| 352 | 350 |
| 353 prefs.local_storage_enabled = | 351 prefs.local_storage_enabled = |
| 354 !command_line.HasSwitch(switches::kDisableLocalStorage); | 352 !command_line.HasSwitch(switches::kDisableLocalStorage); |
| 355 prefs.databases_enabled = | 353 prefs.databases_enabled = |
| 356 !command_line.HasSwitch(switches::kDisableDatabases); | 354 !command_line.HasSwitch(switches::kDisableDatabases); |
| 357 #if defined(OS_ANDROID) | 355 #if defined(OS_ANDROID) |
| 358 // WebAudio is enabled by default on x86 and ARM. | 356 // WebAudio is enabled by default on x86 and ARM. |
| 359 prefs.webaudio_enabled = | 357 prefs.webaudio_enabled = |
| (...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1493 FrameTree* frame_tree = delegate_->GetFrameTree(); | 1491 FrameTree* frame_tree = delegate_->GetFrameTree(); |
| 1494 | 1492 |
| 1495 frame_tree->ResetForMainFrameSwap(); | 1493 frame_tree->ResetForMainFrameSwap(); |
| 1496 } | 1494 } |
| 1497 | 1495 |
| 1498 void RenderViewHostImpl::SelectWordAroundCaret() { | 1496 void RenderViewHostImpl::SelectWordAroundCaret() { |
| 1499 Send(new ViewMsg_SelectWordAroundCaret(GetRoutingID())); | 1497 Send(new ViewMsg_SelectWordAroundCaret(GetRoutingID())); |
| 1500 } | 1498 } |
| 1501 | 1499 |
| 1502 } // namespace content | 1500 } // namespace content |
| OLD | NEW |