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

Unified Diff: chrome/browser/ui/views/browser_actions_container.cc

Issue 25305002: Implement initial chrome.browserAction.openPopup API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
Index: chrome/browser/ui/views/browser_actions_container.cc
diff --git a/chrome/browser/ui/views/browser_actions_container.cc b/chrome/browser/ui/views/browser_actions_container.cc
index 7e011b528ecede14f5da0faca42f21f33016f334..3310f77c464318b0a5dbdf3ef713fc5866fd427d 100644
--- a/chrome/browser/ui/views/browser_actions_container.cc
+++ b/chrome/browser/ui/views/browser_actions_container.cc
@@ -473,6 +473,7 @@ int BrowserActionsContainer::GetCurrentTabId() const {
void BrowserActionsContainer::OnBrowserActionExecuted(
BrowserActionButton* button) {
+ // Show popup here for aura.
ShowPopup(button, ExtensionPopup::SHOW);
}

Powered by Google App Engine
This is Rietveld 408576698