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

Unified Diff: extensions/renderer/css_native_handler.cc

Issue 235943018: Move extensions bindings code out of //chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 6 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 | « extensions/renderer/css_native_handler.h ('k') | extensions/renderer/document_custom_bindings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/css_native_handler.cc
diff --git a/chrome/renderer/extensions/css_native_handler.cc b/extensions/renderer/css_native_handler.cc
similarity index 86%
rename from chrome/renderer/extensions/css_native_handler.cc
rename to extensions/renderer/css_native_handler.cc
index e5a94ca48b8b4f90ece46c81f56f5366c6b23269..438a3ddea3be775b52b04672a20425d02cb127bd 100644
--- a/chrome/renderer/extensions/css_native_handler.cc
+++ b/extensions/renderer/css_native_handler.cc
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/renderer/extensions/css_native_handler.h"
+#include "extensions/renderer/css_native_handler.h"
-#include "chrome/renderer/extensions/chrome_v8_context.h"
+#include "extensions/renderer/script_context.h"
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/web/WebScriptBindings.h"
#include "third_party/WebKit/public/web/WebSelector.h"
@@ -13,7 +13,7 @@ namespace extensions {
using blink::WebString;
-CssNativeHandler::CssNativeHandler(ChromeV8Context* context)
+CssNativeHandler::CssNativeHandler(ScriptContext* context)
: ObjectBackedNativeHandler(context) {
RouteFunction("CanonicalizeCompoundSelector",
base::Bind(&CssNativeHandler::CanonicalizeCompoundSelector,
« no previous file with comments | « extensions/renderer/css_native_handler.h ('k') | extensions/renderer/document_custom_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698