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

Side by Side Diff: chrome/browser/ui/app_list/app_context_menu.h

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_APP_LIST_APP_CONTEXT_MENU_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 27 matching lines...) Expand all
38 } 38 }
39 void set_is_search_result(bool is_search_result) { 39 void set_is_search_result(bool is_search_result) {
40 is_search_result_ = is_search_result; 40 is_search_result_ = is_search_result;
41 } 41 }
42 void set_is_in_folder(bool is_in_folder) { 42 void set_is_in_folder(bool is_in_folder) {
43 is_in_folder_ = is_in_folder; 43 is_in_folder_ = is_in_folder;
44 } 44 }
45 45
46 private: 46 private:
47 // ui::SimpleMenuModel::Delegate overrides: 47 // ui::SimpleMenuModel::Delegate overrides:
48 virtual bool IsItemForCommandIdDynamic(int command_id) const OVERRIDE; 48 virtual bool IsItemForCommandIdDynamic(int command_id) const override;
49 virtual base::string16 GetLabelForCommandId(int command_id) const OVERRIDE; 49 virtual base::string16 GetLabelForCommandId(int command_id) const override;
50 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; 50 virtual bool IsCommandIdChecked(int command_id) const override;
51 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; 51 virtual bool IsCommandIdEnabled(int command_id) const override;
52 virtual bool GetAcceleratorForCommandId( 52 virtual bool GetAcceleratorForCommandId(
53 int command_id, 53 int command_id,
54 ui::Accelerator* acclelrator) OVERRIDE; 54 ui::Accelerator* acclelrator) override;
55 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE; 55 virtual void ExecuteCommand(int command_id, int event_flags) override;
56 56
57 AppContextMenuDelegate* delegate_; 57 AppContextMenuDelegate* delegate_;
58 Profile* profile_; 58 Profile* profile_;
59 const std::string app_id_; 59 const std::string app_id_;
60 AppListControllerDelegate* controller_; 60 AppListControllerDelegate* controller_;
61 bool is_platform_app_; 61 bool is_platform_app_;
62 bool is_search_result_; 62 bool is_search_result_;
63 bool is_in_folder_; 63 bool is_in_folder_;
64 64
65 scoped_ptr<ui::SimpleMenuModel> menu_model_; 65 scoped_ptr<ui::SimpleMenuModel> menu_model_;
66 scoped_ptr<extensions::ContextMenuMatcher> extension_menu_items_; 66 scoped_ptr<extensions::ContextMenuMatcher> extension_menu_items_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(AppContextMenu); 68 DISALLOW_COPY_AND_ASSIGN(AppContextMenu);
69 }; 69 };
70 70
71 } // namespace app_list 71 } // namespace app_list
72 72
73 #endif // CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_ 73 #endif // CHROME_BROWSER_UI_APP_LIST_APP_CONTEXT_MENU_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698