Hi all,
Is there a function call or pointer to get access to the background
page directly from the toolstrip ?
Right now I need to discover it by cycling through the views, and it's
probably not the best solution:
Background snippet :
var bIsBackground=true;
Toolstrip snippet :
function getBackground(){
var homepage=null
chrome.self.getViews().some(function(_view){
if(_view.bIsBackground===true){
homepage=obj;
return true;
}
});
return homepage;
}
Thanks,
Yo
--~--~---------~--~----~------------~-------~--~----~
Chromium Discussion mailing list: [email protected]
View archives, change email options, or unsubscribe:
http://groups.google.com/group/chromium-discuss
-~----------~----~----~----~------~----~------~--~---