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

Unified Diff: chrome/test/data/extensions/api_test/popup_api/toolband_popup.html

Issue 385061: experimental.popup support for tab-content-viewed extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « chrome/test/data/extensions/api_test/popup_api/toolband.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/popup_api/toolband_popup.html
===================================================================
--- chrome/test/data/extensions/api_test/popup_api/toolband_popup.html (revision 31907)
+++ chrome/test/data/extensions/api_test/popup_api/toolband_popup.html (working copy)
@@ -1,3 +1,4 @@
+<html>
<head>
<script>
function theAnswer() {
@@ -5,7 +6,7 @@
}
function manipulateHost() {
- var popupHost = chrome.experimental.popup.getAnchorWindow();
+ var popupHost = chrome.experimental.popup.getParentWindow();
if (popupHost && popupHost.globalValue) {
popupHost.globalValue = 42;
}
@@ -14,4 +15,5 @@
</head>
<body>
Popup-Contents
-</body>
+</body>
+</html>
« no previous file with comments | « chrome/test/data/extensions/api_test/popup_api/toolband.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698