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

Unified Diff: ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.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_event_dispatcher_x11_unittest.cc
diff --git a/ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc b/ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc
index eb125f32e635732f86936a96f4de1b92b9233d6c..750f0e09de35fe0ea9d51837852c329260c6fa2d 100644
--- a/ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc
+++ b/ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc
@@ -60,7 +60,7 @@ DisplaySnapshotX11* CreateInternalOutput(RROutput output, RRCrtc crtc) {
class TestHelperDelegate : public NativeDisplayDelegateX11::HelperDelegate {
public:
TestHelperDelegate();
- virtual ~TestHelperDelegate();
+ ~TestHelperDelegate() override;
int num_calls_update_xrandr_config() const {
return num_calls_update_xrandr_config_;
@@ -73,11 +73,9 @@ class TestHelperDelegate : public NativeDisplayDelegateX11::HelperDelegate {
}
// NativeDisplayDelegateX11::HelperDelegate overrides:
- virtual void UpdateXRandRConfiguration(const base::NativeEvent& event)
- override;
- virtual const std::vector<DisplaySnapshot*>& GetCachedDisplays() const
- override;
- virtual void NotifyDisplayObservers() override;
+ void UpdateXRandRConfiguration(const base::NativeEvent& event) override;
+ const std::vector<DisplaySnapshot*>& GetCachedDisplays() const override;
+ void NotifyDisplayObservers() override;
private:
int num_calls_update_xrandr_config_;
@@ -113,7 +111,7 @@ void TestHelperDelegate::NotifyDisplayObservers() {
class NativeDisplayEventDispatcherX11Test : public testing::Test {
public:
NativeDisplayEventDispatcherX11Test();
- virtual ~NativeDisplayEventDispatcherX11Test();
+ ~NativeDisplayEventDispatcherX11Test() override;
protected:
void DispatchScreenChangeEvent();

Powered by Google App Engine
This is Rietveld 408576698