OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.distiller.webdocument; | 5 package org.chromium.distiller.webdocument; |
6 | 6 |
7 import com.google.gwt.dom.client.Element; | 7 import com.google.gwt.dom.client.Element; |
8 import com.google.gwt.dom.client.Node; | 8 import com.google.gwt.dom.client.Node; |
9 import com.google.gwt.dom.client.Text; | 9 import com.google.gwt.dom.client.Text; |
10 | 10 |
11 public interface WebDocumentBuilderInterface { | 11 public interface WebDocumentBuilderInterface { |
12 void skipElement(Element e); | 12 void skipElement(Element e); |
13 void startElement(Element element); | 13 void startElement(Element element); |
14 void endElement(); | 14 void endElement(); |
15 void textNode(Text textNode); | 15 void textNode(Text textNode); |
16 void lineBreak(Node node); | 16 void lineBreak(Node node); |
17 void dataTable(Element e); | 17 void dataTable(Element e); |
| 18 void tag(WebTag tag); |
18 void embed(WebElement embedNode); | 19 void embed(WebElement embedNode); |
19 } | 20 } |
OLD | NEW |