Chromium Code Reviews| Index: chrome/android/java/src/org/chromium/chrome/browser/TabBase.java |
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java b/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java |
| index 08c42218641dd5f81b5b74146a5db92564ea9d73..89eaad2f240ad3b766b89db6d030a25528f823d3 100644 |
| --- a/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java |
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/TabBase.java |
| @@ -221,7 +221,11 @@ public abstract class TabBase implements NavigationClient { |
| * Goes to the navigation entry before the current one. |
| */ |
| public void goBack() { |
| - if (mContentViewCore != null) mContentViewCore.goBack(); |
| + if (mContentViewCore != null) { |
| + mContentViewCore.updateActionAfterDoubleTapUMA( |
|
Rick Byers
2013/10/31 17:53:10
since this is pretty general (has nothing to do wi
bokan
2013/10/31 22:31:58
Changed to reportActionForUMA
|
| + ContentViewCore.ActionAfterDoubleTap.NAVIGATE_BACK); |
| + mContentViewCore.goBack(); |
| + } |
| } |
| /** |
| @@ -332,7 +336,11 @@ public abstract class TabBase implements NavigationClient { |
| /** Stop the current navigation. */ |
| public void stopLoading() { |
| - if (mContentViewCore != null) mContentViewCore.stopLoading(); |
| + if (mContentViewCore != null) { |
| + mContentViewCore.updateActionAfterDoubleTapUMA( |
| + ContentViewCore.ActionAfterDoubleTap.NAVIGATE_STOP); |
| + mContentViewCore.stopLoading(); |
| + } |
| } |
| /** |