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

Unified Diff: chrome/common/extensions/docs/examples/api/history/showHistory/typedUrls.js

Issue 9289057: Changing manifest to v2 extension samples (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Adding zip files after rebasing with master Created 8 years, 11 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/history/showHistory/typedUrls.js
diff --git a/chrome/common/extensions/docs/examples/api/history/showHistory/typedUrls.js b/chrome/common/extensions/docs/examples/api/history/showHistory/typedUrls.js
index 1b7f03b69afddc191a5de36b3407292299621be8..204d1ac2eabfca56d6f4a148d1569c5b62df9348 100644
--- a/chrome/common/extensions/docs/examples/api/history/showHistory/typedUrls.js
+++ b/chrome/common/extensions/docs/examples/api/history/showHistory/typedUrls.js
@@ -1,3 +1,7 @@
+// 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.
+
// Event listner for clicks on links in a browser action popup.
// Open the link in a new tab of the current window.
function onAnchorClick(event) {
@@ -110,4 +114,6 @@ function buildTypedUrlList(divName) {
};
}
-
+document.addEventListener('DOMContentLoaded', function () {
+ buildTypedUrlList("typedUrl_div");
+});

Powered by Google App Engine
This is Rietveld 408576698