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

Side by Side Diff: content/public/android/java/src/org/chromium/content_public/browser/NavigationTransitionDelegate.java

Issue 414423002: Removing ContentViewCore dependencies from few functions which acts as direct wrapper to WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed setHasPendingNavigationTransitionForTesting from CVC. Created 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 package org.chromium.content_public.browser;
6
7 /**
8 * An interface that allows the embedder to be notified of navigation transition
9 * related events and respond to them.
10 */
11 public interface NavigationTransitionDelegate {
12 /**
13 * Called when the navigation is deferred immediately after the response sta rted.
14 * @param markup The markup coming as part of response.
15 * @param cssSelector The CSS selectors, which is to be applied to transitio n layer's
16 * makrup.
17 * @param enteringColor The background color of the entering document, as a String
18 * representing a legal CSS color value. This is insert ed into
19 * the transition layer's markup after the entering sty lesheets
20 * have been applied.
21 */
22 public void didDeferAfterResponseStarted(
23 String markup, String cssSelector, String enteringColor);
24
25 /**
26 * Called when a navigation transition has been detected, and we need to che ck
27 * if it's supported.
28 */
29 public boolean willHandleDeferAfterResponseStarted();
30
31 /**
32 * Called when the navigation is deferred immediately after the response
33 * started.
34 */
35 public void addEnteringStylesheetToTransition(String stylesheet);
36
37 /**
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.
40 */
41 public void didStartNavigationTransitionForFrame(long frameId);
42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698