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

Unified Diff: chrome/test/data/extensions/api_test/infobars/test.js

Issue 7635019: Set Extension Infobars to have a fixed height determined by the developer (clamped to sane min an... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/test/data/extensions/api_test/infobars/test.js
===================================================================
--- chrome/test/data/extensions/api_test/infobars/test.js (revision 96544)
+++ chrome/test/data/extensions/api_test/infobars/test.js (working copy)
@@ -30,7 +30,8 @@
// Show infobarA in window A (tab A) (and specify no callback).
chrome.experimental.infobars.show({"path": "infobarA.html",
- "tabId": tabA});
+ "tabId": tabA,
+ "height": 36});
// Flow continues in infobarCallbackA.
});
});
@@ -54,7 +55,8 @@
// Show infobarB in (current) window B (with callback).
chrome.experimental.infobars.show({"path": "infobarB.html",
- "tabId": tabB},
+ "tabId": tabB,
+ "height": 36},
function(window) {
assertEq(window.id, windowB);
// This infobar will call back to us through infobarCallbackB (below).

Powered by Google App Engine
This is Rietveld 408576698