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

Unified Diff: webkit/glue/devtools/js/inject_dispatch.js

Issue 100159: DevTools: keep links on the edited styles so that they are not collected betw... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « webkit/glue/devtools/js/inject.js ('k') | webkit/glue/webdevtoolsagent_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/inject_dispatch.js
===================================================================
--- webkit/glue/devtools/js/inject_dispatch.js (revision 14839)
+++ webkit/glue/devtools/js/inject_dispatch.js (working copy)
@@ -1,33 +1,33 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * @fileoverview Injects 'injected' object into the inspectable page.
- */
-
-/**
- * Dispatches host calls into the injected function calls.
- */
-goog.require('devtools.Injected');
-
-
-/**
- * Injected singleton.
- */
-var devtools$$obj = new devtools.Injected();
-
-
-/**
- * Main dispatch method, all calls from the host go through this one.
- * @param {string} functionName Function to call
- * @param {Node} node Node context of the call.
- * @param {string} json_args JSON-serialized call parameters.
- * @return {string} JSON-serialized result of the dispatched call.
- */
-function devtools$$dispatch(functionName, node, json_args) {
- var params = goog.json.parse(json_args);
- params.splice(0, 0, node);
- var result = devtools$$obj[functionName].apply(devtools$$obj, params);
- return goog.json.serialize(result);
-};
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @fileoverview Injects 'injected' object into the inspectable page.
+ */
+
+/**
+ * Dispatches host calls into the injected function calls.
+ */
+goog.require('devtools.Injected');
+
+
+/**
+ * Injected singleton.
+ */
+var devtools$$obj = new devtools.Injected();
+
+
+/**
+ * Main dispatch method, all calls from the host go through this one.
+ * @param {string} functionName Function to call
+ * @param {Node} node Node context of the call.
+ * @param {string} json_args JSON-serialized call parameters.
+ * @return {string} JSON-serialized result of the dispatched call.
+ */
+function devtools$$dispatch(functionName, node, json_args) {
+ var params = goog.json.parse(json_args);
+ params.splice(0, 0, node);
+ var result = devtools$$obj[functionName].apply(devtools$$obj, params);
+ return goog.json.serialize(result);
+};
« no previous file with comments | « webkit/glue/devtools/js/inject.js ('k') | webkit/glue/webdevtoolsagent_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698