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

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_popup_controller.h

Issue 1105713002: [Extension Toolbar] Slide out overflowed actions for popups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master 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
Index: chrome/browser/ui/cocoa/extensions/extension_popup_controller.h
diff --git a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.h b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.h
index 7ce70d3d7b28a0a52891089965c4781922c47fc0..ec69f9ebd177b9763f279a9f4783caef079f9e19 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.h
+++ b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.h
@@ -76,12 +76,13 @@ class ExtensionViewHost;
// Passing YES to |devMode| will launch the webkit inspector for the popup,
// and prevent the popup from closing when focus is lost. It will be closed
// after the inspector is closed, or another popup is opened.
-+ (ExtensionPopupController*)showURL:(GURL)url
- inBrowser:(Browser*)browser
- anchoredAt:(NSPoint)anchoredAt
- arrowLocation:(info_bubble::BubbleArrowLocation)
- arrowLocation
- devMode:(BOOL)devMode;
++ (ExtensionPopupController*)host:(scoped_ptr<extensions::ExtensionViewHost>)
+ host
+ inBrowser:(Browser*)browser
+ anchoredAt:(NSPoint)anchoredAt
+ arrowLocation:(info_bubble::BubbleArrowLocation)
+ arrowLocation
+ devMode:(BOOL)devMode;
// Returns the controller used to display the popup being shown. If no popup is
// currently open, then nil is returned. Static because only one extension popup

Powered by Google App Engine
This is Rietveld 408576698