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

Unified Diff: chrome/browser/ui/ash/screenshot_taker.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/ash/screenshot_taker.h ('k') | chrome/browser/ui/ash/screenshot_taker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/screenshot_taker.cc
diff --git a/chrome/browser/ui/ash/screenshot_taker.cc b/chrome/browser/ui/ash/screenshot_taker.cc
index 10fd2dbc102ef44f1fde62ec3bf08c91774c7939..e519e1e0f9fdd5f8afdd2d16da5c672910c7a8a7 100644
--- a/chrome/browser/ui/ash/screenshot_taker.cc
+++ b/chrome/browser/ui/ash/screenshot_taker.cc
@@ -127,10 +127,10 @@ class ScreenshotTakerNotificationDelegate : public NotificationDelegate {
}
// Overridden from NotificationDelegate:
- virtual void Display() OVERRIDE {}
- virtual void Error() OVERRIDE {}
- virtual void Close(bool by_user) OVERRIDE {}
- virtual void Click() OVERRIDE {
+ virtual void Display() override {}
+ virtual void Error() override {}
+ virtual void Close(bool by_user) override {}
+ virtual void Click() override {
if (!success_)
return;
#if defined(OS_CHROMEOS)
@@ -139,7 +139,7 @@ class ScreenshotTakerNotificationDelegate : public NotificationDelegate {
// TODO(sschmitz): perhaps add similar action for Windows.
#endif
}
- virtual void ButtonClick(int button_index) OVERRIDE {
+ virtual void ButtonClick(int button_index) override {
DCHECK(success_ && button_index == 0);
// To avoid keeping the screenshot image on memory, it will re-read the
@@ -158,11 +158,11 @@ class ScreenshotTakerNotificationDelegate : public NotificationDelegate {
FROM_HERE, base::Bind(
&ReadFileAndCopyToClipboardLocal, screenshot_path_));
}
- virtual bool HasClickedListener() OVERRIDE { return success_; }
- virtual std::string id() const OVERRIDE {
+ virtual bool HasClickedListener() override { return success_; }
+ virtual std::string id() const override {
return std::string(kNotificationId);
}
- virtual content::WebContents* GetWebContents() const OVERRIDE {
+ virtual content::WebContents* GetWebContents() const override {
return NULL;
}
« no previous file with comments | « chrome/browser/ui/ash/screenshot_taker.h ('k') | chrome/browser/ui/ash/screenshot_taker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698