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

Unified Diff: chrome/browser/ui/views/extensions/media_gallery_checkbox_view.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, 10 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/extensions/media_gallery_checkbox_view.h
diff --git a/chrome/browser/ui/views/extensions/media_gallery_checkbox_view.h b/chrome/browser/ui/views/extensions/media_gallery_checkbox_view.h
index 25cb8bcc9eb550e87df1d193b7bc5b408a483691..6efba29cc6ba2f76820ee444f670d74f3e78a991 100644
--- a/chrome/browser/ui/views/extensions/media_gallery_checkbox_view.h
+++ b/chrome/browser/ui/views/extensions/media_gallery_checkbox_view.h
@@ -16,17 +16,15 @@ namespace views {
class ButtonListener;
class Checkbox;
class ContextMenuController;
-class ImageButton;
class Label;
} // namespace views
// A view composed of a checkbox, optional folder icon button, and secondary
-// text that will elide to its parent's width; used by MediaGalleriesDialogViews
-// and MediaGalleriesScanResultDialogViews.
+// text that will elide to its parent's width. Used by
+// MediaGalleriesDialogViews.
class MediaGalleryCheckboxView : public views::View {
public:
MediaGalleryCheckboxView(const MediaGalleryPrefInfo& pref_info,
- bool show_button,
int trailing_vertical_space,
views::ButtonListener* button_listener,
views::ContextMenuController* menu_controller);
@@ -36,13 +34,11 @@ class MediaGalleryCheckboxView : public views::View {
void Layout() override;
views::Checkbox* checkbox() { return checkbox_; }
- views::ImageButton* folder_viewer_button() { return folder_viewer_button_; }
views::Label* secondary_text() { return secondary_text_; }
private:
// Owned by the parent class (views::View).
views::Checkbox* checkbox_;
- views::ImageButton* folder_viewer_button_;
views::Label* secondary_text_;
DISALLOW_COPY_AND_ASSIGN(MediaGalleryCheckboxView);

Powered by Google App Engine
This is Rietveld 408576698