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

Side by Side Diff: chrome/browser/media_galleries/media_gallery_context_menu.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_MEDIA_GALLERIES_MEDIA_GALLERY_CONTEXT_MENU_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERY_CONTEXT_MENU_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERY_CONTEXT_MENU_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERY_CONTEXT_MENU_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h"
10 #include "chrome/browser/media_galleries/media_galleries_preferences.h" 10 #include "chrome/browser/media_galleries/media_galleries_preferences.h"
11 #include "ui/base/models/simple_menu_model.h" 11 #include "ui/base/models/simple_menu_model.h"
12 12
13 class MediaGalleryContextMenu : public ui::SimpleMenuModel, 13 class MediaGalleryContextMenu : public ui::SimpleMenuModel,
14 public ui::SimpleMenuModel::Delegate { 14 public ui::SimpleMenuModel::Delegate {
15 public: 15 public:
16 typedef base::Callback<void(MediaGalleryPrefId pref_id)> 16 typedef base::Callback<void(MediaGalleryPrefId pref_id)>
17 ForgetGalleryCallback; 17 ForgetGalleryCallback;
18 18
19 explicit MediaGalleryContextMenu(const ForgetGalleryCallback& callback); 19 explicit MediaGalleryContextMenu(const ForgetGalleryCallback& callback);
(...skipping 12 matching lines...) Expand all
32 void ExecuteCommand(int command_id, int event_flags) override; 32 void ExecuteCommand(int command_id, int event_flags) override;
33 33
34 private: 34 private:
35 MediaGalleryPrefId pref_id_; 35 MediaGalleryPrefId pref_id_;
36 ForgetGalleryCallback callback_; 36 ForgetGalleryCallback callback_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(MediaGalleryContextMenu); 38 DISALLOW_COPY_AND_ASSIGN(MediaGalleryContextMenu);
39 }; 39 };
40 40
41 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERY_CONTEXT_MENU_H_ 41 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERY_CONTEXT_MENU_H_
OLDNEW
« no previous file with comments | « chrome/browser/media_galleries/media_galleries_test_util.cc ('k') | chrome/browser/media_galleries/media_scan_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698