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

Side by Side Diff: content/public/common/content_switches.cc

Issue 2323563002: Add a flag to require a user gesture to add an entry to the back/forward list. (Closed)
Patch Set: Rebase Created 4 years, 3 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 | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 571
572 // Makes GPU sandbox failures fatal. 572 // Makes GPU sandbox failures fatal.
573 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal"; 573 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal";
574 574
575 // Causes the GPU process to display a dialog on launch. 575 // Causes the GPU process to display a dialog on launch.
576 const char kGpuStartupDialog[] = "gpu-startup-dialog"; 576 const char kGpuStartupDialog[] = "gpu-startup-dialog";
577 577
578 // Ignores certificate-related errors. 578 // Ignores certificate-related errors.
579 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; 579 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors";
580 580
581 // Don't allow content to arbitrarily append to the back/forward list.
582 // The page must prcoess a user gesture before an entry can be added.
583 const char kHistoryEntryRequiresUserGesture[] =
584 "history-entry-requires-user-gesture";
585
581 // These mappings only apply to the host resolver. 586 // These mappings only apply to the host resolver.
582 const char kHostResolverRules[] = "host-resolver-rules"; 587 const char kHostResolverRules[] = "host-resolver-rules";
583 588
584 // Ignores GPU blacklist. 589 // Ignores GPU blacklist.
585 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; 590 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist";
586 591
587 // Makes all APIs reflect the layout viewport. 592 // Makes all APIs reflect the layout viewport.
588 const char kInertVisualViewport[] = "inert-visual-viewport"; 593 const char kInertVisualViewport[] = "inert-visual-viewport";
589 594
590 // Run the GPU process as a thread in the browser process. 595 // Run the GPU process as a thread in the browser process.
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
1067 // the given directory. Used primarily to gather samples for IPC fuzzing. 1072 // the given directory. Used primarily to gather samples for IPC fuzzing.
1068 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1073 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1069 1074
1070 // Specifies the testcase used by the IPC fuzzer. 1075 // Specifies the testcase used by the IPC fuzzer.
1071 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1076 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1072 #endif 1077 #endif
1073 1078
1074 // Don't dump stuff here, follow the same order as the header. 1079 // Don't dump stuff here, follow the same order as the header.
1075 1080
1076 } // namespace switches 1081 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698