function testWindowShape(testId, region) {
  var createOptions = { id: testId, frame: 'none' };

  chrome.app.window.create('index.html',
                           createOptions,
                           chrome.test.callbackPass(function(win) {
      win.setShape(region)
  }));
}
// found in the LICENSE file.
found in the LICENSE file.
found in the LICENSE file .
function testWindowShape(testId, region) {
  var createOptions = { id: testId, frame: 'none' };
  chrome.app.window.create('index.html',
                           createOptions,
                           chrome.test.callbackPass(function(win) {
      win.setShape(region)
  }));
}
function testWindowShape ( testId , region ) { var createOptions = { id : testId , frame : 'none' } ; chrome . app . window . create ( 'index.html' , createOptions , chrome . test . callbackPass ( function ( win ) { win . setShape ( region ) } ) ) ; }
found in the LICENSE file.
found in the LICENSE file .