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

Unified Diff: chrome/browser/ui/toolbar/toolbar_action_view_controller.h

Issue 1168383002: Implement sidebar support for extension action popups Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/toolbar/toolbar_action_view_controller.h
diff --git a/chrome/browser/ui/toolbar/toolbar_action_view_controller.h b/chrome/browser/ui/toolbar/toolbar_action_view_controller.h
index cc0c832a25d5156c7834c6852bf2c25547add27d..9d9d28a97a59c79a9d497ebe391045da84072ffd 100644
--- a/chrome/browser/ui/toolbar/toolbar_action_view_controller.h
+++ b/chrome/browser/ui/toolbar/toolbar_action_view_controller.h
@@ -68,6 +68,9 @@ class ToolbarActionViewController {
// Hides the current popup, if one is visible.
virtual void HidePopup() = 0;
+ // Hides the current sidebar, if one is visible.
+ virtual void HideSidebar() {}
+
// Returns the native view for the popup, if one is active.
virtual gfx::NativeView GetPopupNativeView() = 0;

Powered by Google App Engine
This is Rietveld 408576698