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

Unified Diff: content/browser/web_contents/web_contents_android.cc

Issue 775843004: Navigation transitions (web to native app): Revert exit transition (Chrome side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_android.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_android.cc
diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc
index da1bb7103ff08b1df1ad94245adaeaee62a22e0d..d6ae9deacbf653a09f9aabc9913339e6c892689a 100644
--- a/content/browser/web_contents/web_contents_android.cc
+++ b/content/browser/web_contents/web_contents_android.cc
@@ -186,6 +186,12 @@ void WebContentsAndroid::BeginExitTransition(JNIEnv* env,
exit_to_native_app));
}
+void WebContentsAndroid::RevertExitTransition(JNIEnv* env,
+ jobject jobj) {
+ web_contents_->GetMainFrame()->Send(new FrameMsg_RevertExitTransition(
+ web_contents_->GetMainFrame()->GetRoutingID()));
+}
+
void WebContentsAndroid::HideTransitionElements(JNIEnv* env,
jobject jobj,
jstring css_selector) {
« no previous file with comments | « content/browser/web_contents/web_contents_android.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698