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

Unified Diff: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java

Issue 1052073002: Add icon to the overflow menu to trigger the page info popup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak strings Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/java/strings/android_chrome_strings.grd ('k') | chrome/android/shell/res/menu/main_menu.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java
index f3cb500bf63c52e90cd3e7b5e80b21b56f4b3d25..c9cd2d4db736c8fd143e17d3e309775f37079958 100644
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java
@@ -33,6 +33,7 @@ import org.chromium.chrome.browser.DevToolsServer;
import org.chromium.chrome.browser.FileProviderHelper;
import org.chromium.chrome.browser.ServiceTabLauncher;
import org.chromium.chrome.browser.Tab;
+import org.chromium.chrome.browser.WebsiteSettingsPopup;
import org.chromium.chrome.browser.appmenu.AppMenuHandler;
import org.chromium.chrome.browser.appmenu.AppMenuPropertiesDelegate;
import org.chromium.chrome.browser.dom_distiller.DomDistillerTabUtils;
@@ -390,6 +391,9 @@ public class ChromeShellActivity extends ActionBarActivity implements AppMenuPro
activeTab.goForward();
}
return true;
+ } else if (id == R.id.info_menu_id) {
+ WebsiteSettingsPopup.show(this, activeTab.getProfile(), activeTab.getWebContents());
+ return true;
} else if (id == R.id.new_tab_menu_id) {
mTabManager.createNewTab();
return true;
« no previous file with comments | « chrome/android/java/strings/android_chrome_strings.grd ('k') | chrome/android/shell/res/menu/main_menu.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698