Home | History | Annotate | Download | only in printing
      1 // Copyright 2013 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 package org.chromium.printing;
      6 
      7 /**
      8  * Describes a class that can initiate the printing process.
      9  *
     10  * This interface helps decoupling Tab from the printing implementation and helps with testing.
     11  */
     12 public interface Printable {
     13     /** Start the PDF generation process. */
     14     boolean print();
     15 
     16     /** Get the title of the generated PDF document. */
     17     String getTitle();
     18 }
     19