Index: chrome/browser/ui/browser_command_controller_unittest.cc |
diff --git a/chrome/browser/ui/browser_command_controller_unittest.cc b/chrome/browser/ui/browser_command_controller_unittest.cc |
index d387eb4408cddf5425c624b94811cd07d9edc023..3eef13c41e4cd3737e43b032ae4faba714dbb2d8 100644 |
--- a/chrome/browser/ui/browser_command_controller_unittest.cc |
+++ b/chrome/browser/ui/browser_command_controller_unittest.cc |
@@ -306,22 +306,16 @@ TEST_F(BrowserCommandControllerTest, AvatarMenuAlwaysDisabledInIncognitoMode) { |
class FullscreenTestBrowserWindow : public TestBrowserWindow { |
public: |
FullscreenTestBrowserWindow() : fullscreen_(false) {} |
- virtual ~FullscreenTestBrowserWindow() {} |
+ ~FullscreenTestBrowserWindow() override {} |
// TestBrowserWindow overrides: |
- virtual bool ShouldHideUIForFullscreen() const override { |
- return fullscreen_; |
- } |
- virtual bool IsFullscreen() const override { |
- return fullscreen_; |
- } |
- virtual void EnterFullscreen( |
- const GURL& url, FullscreenExitBubbleType type) override { |
+ bool ShouldHideUIForFullscreen() const override { return fullscreen_; } |
+ bool IsFullscreen() const override { return fullscreen_; } |
+ void EnterFullscreen(const GURL& url, |
+ FullscreenExitBubbleType type) override { |
fullscreen_ = true; |
} |
- virtual void ExitFullscreen() override { |
- fullscreen_ = false; |
- } |
+ void ExitFullscreen() override { fullscreen_ = false; } |
private: |
bool fullscreen_; |
@@ -337,7 +331,7 @@ class BrowserCommandControllerFullscreenTest |
virtual ~BrowserCommandControllerFullscreenTest() {} |
// BrowserWithTestWindowTest overrides: |
- virtual BrowserWindow* CreateBrowserWindow() override { |
+ BrowserWindow* CreateBrowserWindow() override { |
return new FullscreenTestBrowserWindow; |
} |