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

Unified Diff: chrome/browser/ui/window_sizer/window_sizer_common_unittest.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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
Index: chrome/browser/ui/window_sizer/window_sizer_common_unittest.h
diff --git a/chrome/browser/ui/window_sizer/window_sizer_common_unittest.h b/chrome/browser/ui/window_sizer/window_sizer_common_unittest.h
index d2b0aa309d5462851d31e92a33749f79f4d16188..7b0e98525b5fb1ff52b54e120dc0c9d2f5b3a3b1 100644
--- a/chrome/browser/ui/window_sizer/window_sizer_common_unittest.h
+++ b/chrome/browser/ui/window_sizer/window_sizer_common_unittest.h
@@ -52,7 +52,7 @@ extern int kWindowTilePixels;
class TestStateProvider : public WindowSizer::StateProvider {
public:
TestStateProvider();
- virtual ~TestStateProvider() {}
+ ~TestStateProvider() override {}
void SetPersistentState(const gfx::Rect& bounds,
const gfx::Rect& work_area,
@@ -63,13 +63,11 @@ class TestStateProvider : public WindowSizer::StateProvider {
bool has_last_active_data);
// Overridden from WindowSizer::StateProvider:
- virtual bool GetPersistentState(
- gfx::Rect* bounds,
- gfx::Rect* saved_work_area,
- ui::WindowShowState* show_state) const override;
- virtual bool GetLastActiveWindowState(
- gfx::Rect* bounds,
- ui::WindowShowState* show_state) const override;
+ bool GetPersistentState(gfx::Rect* bounds,
+ gfx::Rect* saved_work_area,
+ ui::WindowShowState* show_state) const override;
+ bool GetLastActiveWindowState(gfx::Rect* bounds,
+ ui::WindowShowState* show_state) const override;
private:
gfx::Rect persistent_bounds_;

Powered by Google App Engine
This is Rietveld 408576698