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

Unified Diff: chrome/common/extensions/docs/examples/api/devtools/inspectedWindow/chrome-preprocessor/chrome-preprocessor.js

Issue 23892003: Sample Extension for chrome.devtools.inspectedWindow.reload preprocessor option (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/examples/api/devtools/inspectedWindow/chrome-preprocessor/chrome-preprocessor.js
diff --git a/chrome/test/data/extensions/activity_log/google_cs.js b/chrome/common/extensions/docs/examples/api/devtools/inspectedWindow/chrome-preprocessor/chrome-preprocessor.js
similarity index 53%
copy from chrome/test/data/extensions/activity_log/google_cs.js
copy to chrome/common/extensions/docs/examples/api/devtools/inspectedWindow/chrome-preprocessor/chrome-preprocessor.js
index 7c7a2582f8ec0ebfb019813ef8113dcdb446cda4..e09f49d52543e3f003cf53ed650ea42c3f9d016b 100644
--- a/chrome/test/data/extensions/activity_log/google_cs.js
+++ b/chrome/common/extensions/docs/examples/api/devtools/inspectedWindow/chrome-preprocessor/chrome-preprocessor.js
@@ -2,4 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-console.log('g o o g l e');
+chrome.devtools.panels.create(
+ 'Preprocessor',
+ null, // No icon path
+ 'Panel/PreprocessorPanel.html',
+ null // no callback needed
+);

Powered by Google App Engine
This is Rietveld 408576698