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

Unified Diff: chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.js

Issue 923463003: [Extensions] Remove the Infobar API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 5 years, 10 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/infobars/sandwichbar/infobar.js
diff --git a/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.js b/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.js
deleted file mode 100644
index 30ed797b0991535368e1428b1c4de58f29474db7..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.js
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright (c) 2012 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.
-
-// Obtain the count of sandwiches from the page URL.
-var count = window.location.hash.substring(1);
-if (count) {
- // Replace the placeholder text with the actual count.
- var domcount = document.querySelector('#count');
- domcount.innerText = count;
-}

Powered by Google App Engine
This is Rietveld 408576698