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

Side by Side Diff: chrome/renderer/extensions/chrome_v8_context.cc

Issue 498513002: Respect the clipboardRead and clipboardWrite permissions in content scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address more comments Created 6 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 | Annotate | Revision Log
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 "chrome/renderer/extensions/chrome_v8_context.h" 5 #include "chrome/renderer/extensions/chrome_v8_context.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 ChromeV8Context::ChromeV8Context(const v8::Handle<v8::Context>& v8_context, 9 ChromeV8Context::ChromeV8Context(const v8::Handle<v8::Context>& v8_context,
10 blink::WebFrame* web_frame, 10 blink::WebFrame* web_frame,
11 const Extension* extension, 11 const Extension* extension,
12 Feature::Context context_type) 12 Feature::Context context_type,
13 : ScriptContext(v8_context, web_frame, extension, context_type) { 13 const Extension* effective_extension,
14 Feature::Context effective_context_type)
15 : ScriptContext(v8_context,
16 web_frame,
17 extension,
18 context_type,
19 effective_extension,
20 effective_context_type) {
14 } 21 }
15 22
16 } // namespace extensions 23 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698