OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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; | 5 package org.chromium.distiller; |
6 | 6 |
7 import org.chromium.distiller.proto.DomDistillerProtos; | |
8 import org.chromium.distiller.proto.DomDistillerProtos.TimingInfo; | 7 import org.chromium.distiller.proto.DomDistillerProtos.TimingInfo; |
9 | 8 |
10 import com.google.gwt.dom.client.AnchorElement; | 9 import com.google.gwt.dom.client.AnchorElement; |
11 import com.google.gwt.dom.client.Document; | 10 import com.google.gwt.dom.client.Document; |
12 import com.google.gwt.dom.client.Element; | 11 import com.google.gwt.dom.client.Element; |
13 import com.google.gwt.dom.client.Node; | 12 import com.google.gwt.dom.client.Node; |
14 import com.google.gwt.dom.client.NodeList; | 13 import com.google.gwt.dom.client.NodeList; |
15 import com.google.gwt.dom.client.Style; | 14 import com.google.gwt.dom.client.Style; |
16 import com.google.gwt.regexp.shared.MatchResult; | 15 import com.google.gwt.regexp.shared.MatchResult; |
17 import com.google.gwt.regexp.shared.RegExp; | 16 import com.google.gwt.regexp.shared.RegExp; |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 } | 347 } |
349 | 348 |
350 /** | 349 /** |
351 * @returns true if number is >= 0 && < MAX_NUM_FOR_PAGE_PARAM. | 350 * @returns true if number is >= 0 && < MAX_NUM_FOR_PAGE_PARAM. |
352 */ | 351 */ |
353 private static boolean isPlainPageNumber(int number) { | 352 private static boolean isPlainPageNumber(int number) { |
354 return number >= 0 && number <= MAX_NUM_FOR_PAGE_PARAM; | 353 return number >= 0 && number <= MAX_NUM_FOR_PAGE_PARAM; |
355 } | 354 } |
356 | 355 |
357 } | 356 } |
OLD | NEW |