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.content_public.browser; | 5 package org.chromium.content_public.browser; |
6 | 6 |
7 /** | 7 /** |
8 * An interface that allows the embedder to be notified of navigation transition | 8 * An interface that allows the embedder to be notified of navigation transition |
9 * related events and respond to them. | 9 * related events and respond to them. |
10 */ | 10 */ |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 /** | 31 /** |
32 * Called when the navigation is deferred immediately after the response | 32 * Called when the navigation is deferred immediately after the response |
33 * started. | 33 * started. |
34 */ | 34 */ |
35 public void addEnteringStylesheetToTransition(String stylesheet); | 35 public void addEnteringStylesheetToTransition(String stylesheet); |
36 | 36 |
37 /** | 37 /** |
38 * Notifies that a navigation transition is started for a given frame. | 38 * Notifies that a navigation transition is started for a given frame. |
39 * @param frameId A positive, non-zero integer identifying the navigating fr
ame. | 39 * @param frameId A positive, non-zero integer identifying the navigating fr
ame. |
40 * @param cssSelector The CSS selector, which is to be used by Activity Tran
sitions | |
41 * or applied to the transition layer's markup later. | |
42 */ | 40 */ |
43 public void didStartNavigationTransitionForFrame(long frameId, String cssSel
ector); | 41 public void didStartNavigationTransitionForFrame(long frameId); |
44 | |
45 /** | |
46 * Add transition element's name, position and size. | |
47 * @param name The name of the transition element. | |
48 * @param x The x position of the transition element. | |
49 * @param y The y position of the transition element. | |
50 * @param width The width of the transition element. | |
51 * @param height The height of the transition element. | |
52 */ | |
53 public void addNavigationTransitionElements(String name, int x, int y, int w
idth, int height); | |
54 } | 42 } |
OLD | NEW |