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

Side by Side Diff: chrome/browser/ui/app_list/extension_app_item.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 (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_APP_LIST_EXTENSION_APP_ITEM_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_ITEM_H_
6 #define CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_ITEM_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_ITEM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 bool RunExtensionEnableFlow(); 73 bool RunExtensionEnableFlow();
74 74
75 // Private equivalent to Activate(), without refocus for already-running apps. 75 // Private equivalent to Activate(), without refocus for already-running apps.
76 void Launch(int event_flags); 76 void Launch(int event_flags);
77 77
78 // Whether or not the app item needs an overlay. 78 // Whether or not the app item needs an overlay.
79 bool NeedsOverlay() const; 79 bool NeedsOverlay() const;
80 80
81 // Overridden from extensions::IconImage::Observer: 81 // Overridden from extensions::IconImage::Observer:
82 virtual void OnExtensionIconImageChanged( 82 virtual void OnExtensionIconImageChanged(
83 extensions::IconImage* image) OVERRIDE; 83 extensions::IconImage* image) override;
84 84
85 // Overridden from ExtensionEnableFlowDelegate: 85 // Overridden from ExtensionEnableFlowDelegate:
86 virtual void ExtensionEnableFlowFinished() OVERRIDE; 86 virtual void ExtensionEnableFlowFinished() override;
87 virtual void ExtensionEnableFlowAborted(bool user_initiated) OVERRIDE; 87 virtual void ExtensionEnableFlowAborted(bool user_initiated) override;
88 88
89 // Overridden from AppListItem: 89 // Overridden from AppListItem:
90 virtual void Activate(int event_flags) OVERRIDE; 90 virtual void Activate(int event_flags) override;
91 virtual ui::MenuModel* GetContextMenuModel() OVERRIDE; 91 virtual ui::MenuModel* GetContextMenuModel() override;
92 // Updates the icon if the overlay needs to be added/removed. 92 // Updates the icon if the overlay needs to be added/removed.
93 virtual void OnExtensionPreferenceChanged() OVERRIDE; 93 virtual void OnExtensionPreferenceChanged() override;
94 virtual const char* GetItemType() const OVERRIDE; 94 virtual const char* GetItemType() const override;
95 95
96 // Overridden from app_list::AppContextMenuDelegate: 96 // Overridden from app_list::AppContextMenuDelegate:
97 virtual void ExecuteLaunchCommand(int event_flags) OVERRIDE; 97 virtual void ExecuteLaunchCommand(int event_flags) override;
98 98
99 // Set the position from the extension ordering. 99 // Set the position from the extension ordering.
100 void UpdatePositionFromExtensionOrdering(); 100 void UpdatePositionFromExtensionOrdering();
101 101
102 // Return the controller for the active desktop type. 102 // Return the controller for the active desktop type.
103 AppListControllerDelegate* GetController(); 103 AppListControllerDelegate* GetController();
104 104
105 Profile* profile_; 105 Profile* profile_;
106 const std::string extension_id_; 106 const std::string extension_id_;
107 107
(...skipping 11 matching lines...) Expand all
119 // Whether or not this app is a platform app. 119 // Whether or not this app is a platform app.
120 bool is_platform_app_; 120 bool is_platform_app_;
121 121
122 // Whether this app item has an overlay. 122 // Whether this app item has an overlay.
123 bool has_overlay_; 123 bool has_overlay_;
124 124
125 DISALLOW_COPY_AND_ASSIGN(ExtensionAppItem); 125 DISALLOW_COPY_AND_ASSIGN(ExtensionAppItem);
126 }; 126 };
127 127
128 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_ITEM_H_ 128 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_ITEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.h ('k') | chrome/browser/ui/app_list/extension_app_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698