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

Side by Side Diff: chrome/browser/ui/views/extensions/media_gallery_checkbox_view.h

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_VIEWS_EXTENSIONS_MEDIA_GALLERY_CHECKBOX_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERY_CHECKBOX_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERY_CHECKBOX_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERY_CHECKBOX_VIEW_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "ui/gfx/size.h" 10 #include "ui/gfx/size.h"
(...skipping 15 matching lines...) Expand all
26 class MediaGalleryCheckboxView : public views::View { 26 class MediaGalleryCheckboxView : public views::View {
27 public: 27 public:
28 MediaGalleryCheckboxView(const MediaGalleryPrefInfo& pref_info, 28 MediaGalleryCheckboxView(const MediaGalleryPrefInfo& pref_info,
29 bool show_button, 29 bool show_button,
30 int trailing_vertical_space, 30 int trailing_vertical_space,
31 views::ButtonListener* button_listener, 31 views::ButtonListener* button_listener,
32 views::ContextMenuController* menu_controller); 32 views::ContextMenuController* menu_controller);
33 virtual ~MediaGalleryCheckboxView(); 33 virtual ~MediaGalleryCheckboxView();
34 34
35 // Overrides from views::View. 35 // Overrides from views::View.
36 virtual void Layout() OVERRIDE; 36 virtual void Layout() override;
37 37
38 views::Checkbox* checkbox() { return checkbox_; } 38 views::Checkbox* checkbox() { return checkbox_; }
39 views::ImageButton* folder_viewer_button() { return folder_viewer_button_; } 39 views::ImageButton* folder_viewer_button() { return folder_viewer_button_; }
40 views::Label* secondary_text() { return secondary_text_; } 40 views::Label* secondary_text() { return secondary_text_; }
41 41
42 private: 42 private:
43 // Owned by the parent class (views::View). 43 // Owned by the parent class (views::View).
44 views::Checkbox* checkbox_; 44 views::Checkbox* checkbox_;
45 views::ImageButton* folder_viewer_button_; 45 views::ImageButton* folder_viewer_button_;
46 views::Label* secondary_text_; 46 views::Label* secondary_text_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(MediaGalleryCheckboxView); 48 DISALLOW_COPY_AND_ASSIGN(MediaGalleryCheckboxView);
49 }; 49 };
50 50
51 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERY_CHECKBOX_VIEW_H_ 51 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_MEDIA_GALLERY_CHECKBOX_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698