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

Side by Side Diff: javatests/org/chromium/distiller/webdocument/FakeWebDocumentBuilder.java

Issue 1230583006: Fix for keeping lists structure (Closed) Base URL: https://github.com/chromium/dom-distiller.git@master
Patch Set: canBeNested move out of the switch. Created 5 years, 4 months 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 unified diff | Download patch
OLDNEW
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 org.chromium.distiller.DomUtil; 7 import org.chromium.distiller.DomUtil;
8 8
9 import com.google.gwt.core.client.JsArray; 9 import com.google.gwt.core.client.JsArray;
10 import com.google.gwt.dom.client.Element; 10 import com.google.gwt.dom.client.Element;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 documentStringBuilder.append(textNode.getData()); 66 documentStringBuilder.append(textNode.getData());
67 } 67 }
68 68
69 @Override 69 @Override
70 public void lineBreak(Node node) { 70 public void lineBreak(Node node) {
71 documentStringBuilder.append("\n"); 71 documentStringBuilder.append("\n");
72 } 72 }
73 73
74 @Override 74 @Override
75 public void embed(WebElement embed) {} 75 public void embed(WebElement embed) {}
76
77 @Override
78 public void tag(WebTag tag) {}
76 } 79 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698