OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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.components.navigation_interception; | 5 package org.chromium.components.navigation_interception; |
6 | 6 |
7 import org.chromium.base.CalledByNative; | 7 import org.chromium.base.CalledByNative; |
8 | 8 |
9 public class NavigationParams { | 9 public class NavigationParams { |
10 // Target url of the navigation. | 10 // Target url of the navigation. |
11 public final String url; | 11 public final String url; |
(...skipping 15 matching lines...) Expand all Loading... |
27 this.isRedirect = isRedirect; | 27 this.isRedirect = isRedirect; |
28 } | 28 } |
29 | 29 |
30 @CalledByNative | 30 @CalledByNative |
31 public static NavigationParams create(String url, boolean isPost, boolean ha
sUserGesture, | 31 public static NavigationParams create(String url, boolean isPost, boolean ha
sUserGesture, |
32 int pageTransitionType, boolean isRedirect) { | 32 int pageTransitionType, boolean isRedirect) { |
33 return new NavigationParams(url, isPost, hasUserGesture, pageTransitionT
ype, | 33 return new NavigationParams(url, isPost, hasUserGesture, pageTransitionT
ype, |
34 isRedirect); | 34 isRedirect); |
35 } | 35 } |
36 } | 36 } |
OLD | NEW |