text: // Copyright (c) 2010 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.
  
  cr.define('cloudprint', function() {
    function printTestPage() {
      chrome.send('PrintTestPage', ['']);
      chrome.send('DialogClose', ['']);
    }
  
    function setMessage(msg) {
      $('msgContent').innerHTML = msg;
    }
  
    function onPageShown() {
      $('close').focus();
    }
  
    return {
      printTestPage: printTestPage,
      setMessage: setMessage,
      onPageShown: onPageShown
    };
  });
  