Package com.google.gwt.chrome.crx.client.ContentScript

Examples of com.google.gwt.chrome.crx.client.ContentScript.ManifestInfo


  }

  private static void processContentScript(TreeLogger logger,
      GeneratorContext context, JClassType userType, String typeName)
      throws UnableToCompleteException {
    ManifestInfo spec = userType.getAnnotation(ContentScript.ManifestInfo.class);
    if (spec == null) {
      logger.log(TreeLogger.ERROR, "ContentScript (" + typeName
          + ") must be annotated with a Specificaiton.");
      throw new UnableToCompleteException();
    }
    context.commitArtifact(logger, new ContentScriptArtifact(spec.path(),
        spec.whiteList(), spec.runAt()));
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.chrome.crx.client.ContentScript.ManifestInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.