Index: blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpNavigationControllerImpl.java |
diff --git a/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpNavigationControllerImpl.java b/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpNavigationControllerImpl.java |
index fcee60baa782993328dfc4f26385e82148eef4ef..f5850b3ba34f5682c8f6271ffeecfd38b5d6517d 100644 |
--- a/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpNavigationControllerImpl.java |
+++ b/blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpNavigationControllerImpl.java |
@@ -50,6 +50,12 @@ public class BlimpNavigationControllerImpl implements BlimpNavigationController |
} |
@Override |
+ public String getTitle() { |
+ if (mNativeBlimpNavigationControllerImplAndroid == 0) return ""; |
+ return nativeGetTitle(mNativeBlimpNavigationControllerImplAndroid); |
+ } |
+ |
+ @Override |
public boolean canGoBack() { |
if (mNativeBlimpNavigationControllerImplAndroid == 0) return false; |
return nativeCanGoBack(mNativeBlimpNavigationControllerImplAndroid); |
@@ -74,7 +80,7 @@ public class BlimpNavigationControllerImpl implements BlimpNavigationController |
} |
@Override |
- public void reload(boolean checkForRepost) { |
+ public void reload() { |
if (mNativeBlimpNavigationControllerImplAndroid == 0) return; |
nativeReload(mNativeBlimpNavigationControllerImplAndroid); |
} |
@@ -86,4 +92,5 @@ public class BlimpNavigationControllerImpl implements BlimpNavigationController |
private native boolean nativeCanGoForward(long nativeBlimpNavigationControllerImplAndroid); |
private native void nativeLoadURL(long nativeBlimpNavigationControllerImplAndroid, String url); |
private native String nativeGetURL(long nativeBlimpNavigationControllerImplAndroid); |
+ private native String nativeGetTitle(long nativeBlimpNavigationControllerImplAndroid); |
} |