Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1079)

Unified Diff: src/com/dom_distiller/client/DomDistiller.java

Issue 762563003: Roll gwt to 2.7.0 (from 2.5.1) (Closed) Base URL: https://code.google.com/p/dom-distiller/@master
Patch Set: rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/DomDistiller.gwt.xml ('k') | src/com/dom_distiller/client/DomDistillerEntry.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/com/dom_distiller/client/DomDistiller.java
diff --git a/src/com/dom_distiller/client/DomDistiller.java b/src/com/dom_distiller/client/DomDistiller.java
index f8e59fce3767cd6970e3a6fc2f14d9c58b845484..0223db42ed17169e0eaf37e95838060e33f8f0d3 100644
--- a/src/com/dom_distiller/client/DomDistiller.java
+++ b/src/com/dom_distiller/client/DomDistiller.java
@@ -8,16 +8,17 @@ import com.dom_distiller.proto.DomDistillerProtos;
import com.dom_distiller.proto.DomDistillerProtos.DebugInfo;
import com.dom_distiller.proto.DomDistillerProtos.TimingInfo;
import com.google.gwt.dom.client.Document;
+import com.google.gwt.core.client.js.JsExport;
+import com.google.gwt.core.client.js.JsNamespace;
-import org.timepedia.exporter.client.Export;
-import org.timepedia.exporter.client.Exportable;
-
-@Export()
-public class DomDistiller implements Exportable {
+@JsExport("DomDistiller")
+public class DomDistiller {
+ @JsExport
public static DomDistillerProtos.DomDistillerResult apply() {
return applyWithOptions(DomDistillerProtos.DomDistillerOptions.create());
}
+ @JsExport
public static DomDistillerProtos.DomDistillerResult applyWithOptions(
DomDistillerProtos.DomDistillerOptions options) {
double startTime = DomUtil.getTime();
« no previous file with comments | « src/DomDistiller.gwt.xml ('k') | src/com/dom_distiller/client/DomDistillerEntry.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698