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

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

Issue 148093011: Abstract media galleries context menu code and use it in scan result dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Header too Created 6 years, 11 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/media_galleries_dialog_cocoa.h
diff --git a/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h b/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h
index 8bccc282dacba3ae2a9e532a7b9abc40c4c961f9..4a19654f9d4ec922731b6a1a23a24e085c82a62d 100644
--- a/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h
+++ b/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h
@@ -17,10 +17,6 @@
class MediaGalleriesDialogBrowserTest;
class MediaGalleriesDialogTest;
-namespace ui {
-class MenuModel;
-}
-
groby-ooo-7-16 2014/01/29 05:01:37 nit: Keep the forward declare here, since ui::Menu
vandebo (ex-Chrome) 2014/01/29 17:16:55 Done.
// This class displays an alert that can be used to grant permission for
// extensions to access a gallery (media folders).
class MediaGalleriesDialogCocoa : public ConstrainedWindowMacDelegate,
@@ -47,7 +43,7 @@ class MediaGalleriesDialogCocoa : public ConstrainedWindowMacDelegate,
virtual void OnConstrainedWindowClosed(
ConstrainedWindowMac* window) OVERRIDE;
- ui::MenuModel* GetContextMenuModel(MediaGalleryPrefId prefid);
+ ui::MenuModel* GetContextMenu(MediaGalleryPrefId prefid);
private:
FRIEND_TEST_ALL_PREFIXES(MediaGalleriesDialogBrowserTest, Close);

Powered by Google App Engine
This is Rietveld 408576698