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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h

Issue 1695563002: Media Galleries Partial Deprecation: Remove scan functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 void OnAuxiliaryButtonClicked(); 43 void OnAuxiliaryButtonClicked();
44 44
45 // MediaGalleriesDialog implementation: 45 // MediaGalleriesDialog implementation:
46 void UpdateGalleries() override; 46 void UpdateGalleries() override;
47 47
48 // ConstrainedWindowMacDelegate implementation. 48 // ConstrainedWindowMacDelegate implementation.
49 void OnConstrainedWindowClosed(ConstrainedWindowMac* window) override; 49 void OnConstrainedWindowClosed(ConstrainedWindowMac* window) override;
50 50
51 // MediaGalleryListEntryController implementation. 51 // MediaGalleryListEntryController implementation.
52 void OnCheckboxToggled(MediaGalleryPrefId pref_id, bool checked) override; 52 void OnCheckboxToggled(MediaGalleryPrefId pref_id, bool checked) override;
53 void OnFolderViewerClicked(MediaGalleryPrefId prefId) override;
54 ui::MenuModel* GetContextMenu(MediaGalleryPrefId pref_id) override; 53 ui::MenuModel* GetContextMenu(MediaGalleryPrefId pref_id) override;
55 54
56 private: 55 private:
57 FRIEND_TEST_ALL_PREFIXES(MediaGalleriesDialogBrowserTest, Close); 56 FRIEND_TEST_ALL_PREFIXES(MediaGalleriesDialogBrowserTest, Close);
58 FRIEND_TEST_ALL_PREFIXES(MediaGalleriesDialogTest, InitializeCheckboxes); 57 FRIEND_TEST_ALL_PREFIXES(MediaGalleriesDialogTest, InitializeCheckboxes);
59 FRIEND_TEST_ALL_PREFIXES(MediaGalleriesDialogTest, ToggleCheckboxes); 58 FRIEND_TEST_ALL_PREFIXES(MediaGalleriesDialogTest, ToggleCheckboxes);
60 FRIEND_TEST_ALL_PREFIXES(MediaGalleriesDialogTest, UpdateAdds); 59 FRIEND_TEST_ALL_PREFIXES(MediaGalleriesDialogTest, UpdateAdds);
61 FRIEND_TEST_ALL_PREFIXES(MediaGalleriesDialogTest, ForgetDeletes); 60 FRIEND_TEST_ALL_PREFIXES(MediaGalleriesDialogTest, ForgetDeletes);
62 61
63 // MediaGalleriesDialog implementation: 62 // MediaGalleriesDialog implementation:
(...skipping 20 matching lines...) Expand all
84 // Container view for the main dialog contents. 83 // Container view for the main dialog contents.
85 base::scoped_nsobject<NSBox> main_container_; 84 base::scoped_nsobject<NSBox> main_container_;
86 85
87 // An Objective-C class to route callbacks from Cocoa code. 86 // An Objective-C class to route callbacks from Cocoa code.
88 base::scoped_nsobject<MediaGalleriesCocoaController> cocoa_controller_; 87 base::scoped_nsobject<MediaGalleriesCocoaController> cocoa_controller_;
89 88
90 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogCocoa); 89 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesDialogCocoa);
91 }; 90 };
92 91
93 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_ 92 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_MEDIA_GALLERIES_DIALOG_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/media_galleries/media_scan_types.cc ('k') | chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698