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

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

Issue 868123002: Reset gesture detection upon page navigation for Aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change comment Created 5 years, 10 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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.browser; 5 package org.chromium.content.browser;
6 6
7 import android.annotation.SuppressLint; 7 import android.annotation.SuppressLint;
8 import android.app.Activity; 8 import android.app.Activity;
9 import android.app.SearchManager; 9 import android.app.SearchManager;
10 import android.content.ClipboardManager; 10 import android.content.ClipboardManager;
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 // removed in navigationEntryCommitted() below. 761 // removed in navigationEntryCommitted() below.
762 if (isProvisionalLoad) determinedProcessVisibility(); 762 if (isProvisionalLoad) determinedProcessVisibility();
763 } 763 }
764 764
765 @Override 765 @Override
766 public void didNavigateMainFrame(String url, String baseUrl, 766 public void didNavigateMainFrame(String url, String baseUrl,
767 boolean isNavigationToDifferentPage, boolean isFragmentNavig ation) { 767 boolean isNavigationToDifferentPage, boolean isFragmentNavig ation) {
768 if (!isNavigationToDifferentPage) return; 768 if (!isNavigationToDifferentPage) return;
769 hidePopupsAndClearSelection(); 769 hidePopupsAndClearSelection();
770 resetScrollInProgress(); 770 resetScrollInProgress();
771 resetGestureDetection();
772 } 771 }
773 772
774 @Override 773 @Override
775 public void renderProcessGone(boolean wasOomProtected) { 774 public void renderProcessGone(boolean wasOomProtected) {
776 hidePopupsAndClearSelection(); 775 hidePopupsAndClearSelection();
777 resetScrollInProgress(); 776 resetScrollInProgress();
778 // No need to reset gesture detection as the detector will have 777 // No need to reset gesture detection as the detector will have
779 // been destroyed in the RenderWidgetHostView. 778 // been destroyed in the RenderWidgetHostView.
780 } 779 }
781 780
(...skipping 2390 matching lines...) Expand 10 before | Expand all | Expand 10 after
3172 private native void nativeWasResized(long nativeContentViewCoreImpl); 3171 private native void nativeWasResized(long nativeContentViewCoreImpl);
3173 3172
3174 private native void nativeSetAccessibilityEnabled( 3173 private native void nativeSetAccessibilityEnabled(
3175 long nativeContentViewCoreImpl, boolean enabled); 3174 long nativeContentViewCoreImpl, boolean enabled);
3176 3175
3177 private native void nativeExtractSmartClipData(long nativeContentViewCoreImp l, 3176 private native void nativeExtractSmartClipData(long nativeContentViewCoreImp l,
3178 int x, int y, int w, int h); 3177 int x, int y, int w, int h);
3179 3178
3180 private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl , boolean opaque); 3179 private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl , boolean opaque);
3181 } 3180 }
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698