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

Unified Diff: ui/display/chromeos/x11/native_display_delegate_x11.cc

Issue 853073002: Update {virtual,override,final} to follow C++11 style in ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: ui/display/chromeos/x11/native_display_delegate_x11.cc
diff --git a/ui/display/chromeos/x11/native_display_delegate_x11.cc b/ui/display/chromeos/x11/native_display_delegate_x11.cc
index a3e9dbd55dc64b7450ae7672f33d4bab6a772c44..5394c0985687bdd7e5e243603cee00f30409b17d 100644
--- a/ui/display/chromeos/x11/native_display_delegate_x11.cc
+++ b/ui/display/chromeos/x11/native_display_delegate_x11.cc
@@ -79,18 +79,16 @@ class NativeDisplayDelegateX11::HelperDelegateX11
: public NativeDisplayDelegateX11::HelperDelegate {
public:
HelperDelegateX11(NativeDisplayDelegateX11* delegate) : delegate_(delegate) {}
- virtual ~HelperDelegateX11() {}
+ ~HelperDelegateX11() override {}
// NativeDisplayDelegateX11::HelperDelegate overrides:
- virtual void UpdateXRandRConfiguration(const base::NativeEvent& event)
- override {
+ void UpdateXRandRConfiguration(const base::NativeEvent& event) override {
XRRUpdateConfiguration(event);
}
- virtual const std::vector<DisplaySnapshot*>& GetCachedDisplays() const
- override {
+ const std::vector<DisplaySnapshot*>& GetCachedDisplays() const override {
return delegate_->cached_outputs_.get();
}
- virtual void NotifyDisplayObservers() override {
+ void NotifyDisplayObservers() override {
FOR_EACH_OBSERVER(
NativeDisplayObserver, delegate_->observers_, OnConfigurationChanged());
}
« no previous file with comments | « ui/display/chromeos/x11/native_display_delegate_x11.h ('k') | ui/display/chromeos/x11/native_display_event_dispatcher_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698