summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/Controller.java
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-07-28 15:53:24 -0700
committerMichael Kolb <kolby@google.com>2011-07-28 15:53:28 -0700
commit6d598844158407f5966bdef959a74e86e73f0c1a (patch)
tree17f208d3aec660e39753efa3eee0570e6c2dbc3b /src/com/android/browser/Controller.java
parent02969835f7bef1e7f092b3c161aa347f6488f772 (diff)
downloadpackages_apps_browser-6d598844158407f5966bdef959a74e86e73f0c1a.zip
packages_apps_browser-6d598844158407f5966bdef959a74e86e73f0c1a.tar.gz
packages_apps_browser-6d598844158407f5966bdef959a74e86e73f0c1a.tar.bz2
remove unused references
fixing the build Change-Id: I0eb96c00a50918bc2cbf588c6ee2bce8b7082358
Diffstat (limited to 'src/com/android/browser/Controller.java')
-rw-r--r--src/com/android/browser/Controller.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index 92f448c..fc4c35c 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -1636,7 +1636,6 @@ public class Controller
bookmarksOrHistoryPicker(true);
break;
- case R.id.title_bar_share_page_url:
case R.id.share_page_menu_id:
Tab currentTab = mTabControl.getCurrentTab();
if (null == currentTab) {
@@ -1703,20 +1702,6 @@ public class Controller
int id = item.getItemId();
boolean result = true;
switch (id) {
- // For the context menu from the title bar
- case R.id.title_bar_copy_page_url:
- Tab currentTab = mTabControl.getCurrentTab();
- if (null == currentTab) {
- result = false;
- break;
- }
- WebView mainView = currentTab.getWebView();
- if (null == mainView) {
- result = false;
- break;
- }
- copy(mainView.getUrl());
- break;
// -- Browser context menu
case R.id.open_context_menu_id:
case R.id.save_link_context_menu_id: