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

Unified Diff: chrome/browser/extensions/extension_host.cc

Issue 6480106: Add IPCs to check web copy/cut/paste for extensions with the appropriate permission bit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: . Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/renderer_host/chrome_render_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index 6c23c6050e0229119ade4e75d674e28003933e74..bb476f86ed5ff8eca4aabba71ced76f3c07e92b9 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -538,12 +538,6 @@ WebPreferences ExtensionHost::GetWebkitPrefs() {
webkit_prefs.accelerated_2d_canvas_enabled = false;
}
- // TODO(dcheng): incorporate this setting into kClipboardPermission check.
- webkit_prefs.javascript_can_access_clipboard = true;
-
- // TODO(dcheng): check kClipboardPermission instead once it's implemented.
- if (extension_->HasApiPermission(Extension::kExperimentalPermission))
- webkit_prefs.dom_paste_enabled = true;
return webkit_prefs;
}
« no previous file with comments | « no previous file | chrome/browser/renderer_host/chrome_render_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698