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

Side by Side Diff: content/public/android/java/src/org/chromium/content_public/browser/WebContents.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
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 * The WebContents Java wrapper to allow communicating with the native WebConten ts object. 8 * The WebContents Java wrapper to allow communicating with the native WebConten ts object.
9 */ 9 */
10 public interface WebContents { 10 public interface WebContents {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 * Brings the Editable to the visible area while IME is up to make easier fo r inputing text. 99 * Brings the Editable to the visible area while IME is up to make easier fo r inputing text.
100 */ 100 */
101 public void scrollFocusedEditableNodeIntoView(); 101 public void scrollFocusedEditableNodeIntoView();
102 102
103 /** 103 /**
104 * Selects the word around the caret, if any. 104 * Selects the word around the caret, if any.
105 * The caller can check if selection actually occurred by listening to OnSel ectionChanged. 105 * The caller can check if selection actually occurred by listening to OnSel ectionChanged.
106 */ 106 */
107 public void selectWordAroundCaret(); 107 public void selectWordAroundCaret();
108 108
109 /**
110 * Get the URL of the current page.
111 *
112 * @return The URL of the current page.
113 */
114 public String getUrl();
115
116 /**
117 * Get the InCognito state of WebContents.
118 *
119 * @return whether this WebContents is in InCognito mode or not
120 */
121 public boolean isIncognito();
122
123 /**
124 * Resumes the response which is deferred during start.
125 */
126 public void resumeResponseDeferredAtStart();
127
128 /**
129 * Set pending Navigation for transition testing on this WebContents.
130 */
131 public void setHasPendingNavigationTransitionForTesting();
132
133 /**
134 * Set delegate for notifying navigation transition.
135 */
136 public void setNavigationTransitionDelegate(NavigationTransitionDelegate del egate);
137
138 /**
139 * Inserts the provided markup sandboxed into the frame.
140 */
141 public void setupTransitionView(String markup);
142
143 /**
144 * Hides transition elements specified by the selector, and activates any
145 * exiting-transition stylesheets.
146 */
147 public void beginExitTransition(String cssSelector);
148
109 } 149 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698