summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorinferno@chromium.org <inferno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-04 06:47:00 +0000
committerinferno@chromium.org <inferno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-04 06:47:00 +0000
commit39a6e6f74ed780dd1dd07fffcd7c5270a1ff462f (patch)
treebb4fe5ea888bdecc9a7f240147a601a153a4b8ca
parentabb48823157a48273dd592df75e5445fdad562ce (diff)
downloadchromium_src-39a6e6f74ed780dd1dd07fffcd7c5270a1ff462f.zip
chromium_src-39a6e6f74ed780dd1dd07fffcd7c5270a1ff462f.tar.gz
chromium_src-39a6e6f74ed780dd1dd07fffcd7c5270a1ff462f.tar.bz2
Remove unneeded clipboard command line switch.
BUG=43152 Review URL: http://codereview.chromium.org/1922002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46333 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/tab_contents/render_view_host_delegate_helper.cc2
-rw-r--r--chrome/common/chrome_switches.cc3
-rw-r--r--chrome/common/chrome_switches.h1
3 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
index 219cca6..5fe2208 100644
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc
@@ -177,8 +177,6 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs(
command_line.HasSwitch(switches::kEnableFastback);
web_prefs.remote_fonts_enabled =
!command_line.HasSwitch(switches::kDisableRemoteFonts);
- web_prefs.javascript_can_access_clipboard =
- command_line.HasSwitch(switches::kJavaScriptCanAccessClipboard);
web_prefs.xss_auditor_enabled =
command_line.HasSwitch(switches::kEnableXSSAuditor);
web_prefs.application_cache_enabled =
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 1356b63..c253461 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -448,9 +448,6 @@ const char kInternalPDF[] = "internal-pdf";
// Runs a trusted Pepper plugin inside the renderer process.
const char kInternalPepper[] = "internal-pepper";
-// Specifies whether javascript can access clipboard.
-const char kJavaScriptCanAccessClipboard[] = "javascript-can-access-clipboard";
-
// Specifies the flags passed to JS engine
const char kJavaScriptFlags[] = "js-flags";
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index 8018495..f64b0e0 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -134,7 +134,6 @@ extern const char kIncognito[];
extern const char kInternalNaCl[];
extern const char kInternalPDF[];
extern const char kInternalPepper[];
-extern const char kJavaScriptCanAccessClipboard[];
extern const char kJavaScriptFlags[];
extern const char kLoadExtension[];
extern const char kLoadPlugin[];