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

Side by Side Diff: chrome/browser/ui/views/frame/immersive_mode_controller_stub.h

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_
7 7
8 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" 8 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h"
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 12
13 // Stub implementation of ImmersiveModeController for platforms which do not 13 // Stub implementation of ImmersiveModeController for platforms which do not
14 // support immersive mode yet. 14 // support immersive mode yet.
15 class ImmersiveModeControllerStub : public ImmersiveModeController { 15 class ImmersiveModeControllerStub : public ImmersiveModeController {
16 public: 16 public:
17 ImmersiveModeControllerStub(); 17 ImmersiveModeControllerStub();
18 virtual ~ImmersiveModeControllerStub(); 18 virtual ~ImmersiveModeControllerStub();
19 19
20 // ImmersiveModeController overrides: 20 // ImmersiveModeController overrides:
21 virtual void Init(BrowserView* browser_view) OVERRIDE; 21 virtual void Init(BrowserView* browser_view) override;
22 virtual void SetEnabled(bool enabled) OVERRIDE; 22 virtual void SetEnabled(bool enabled) override;
23 virtual bool IsEnabled() const OVERRIDE; 23 virtual bool IsEnabled() const override;
24 virtual bool ShouldHideTabIndicators() const OVERRIDE; 24 virtual bool ShouldHideTabIndicators() const override;
25 virtual bool ShouldHideTopViews() const OVERRIDE; 25 virtual bool ShouldHideTopViews() const override;
26 virtual bool IsRevealed() const OVERRIDE; 26 virtual bool IsRevealed() const override;
27 virtual int GetTopContainerVerticalOffset( 27 virtual int GetTopContainerVerticalOffset(
28 const gfx::Size& top_container_size) const OVERRIDE; 28 const gfx::Size& top_container_size) const override;
29 virtual ImmersiveRevealedLock* GetRevealedLock( 29 virtual ImmersiveRevealedLock* GetRevealedLock(
30 AnimateReveal animate_reveal) OVERRIDE WARN_UNUSED_RESULT; 30 AnimateReveal animate_reveal) override WARN_UNUSED_RESULT;
31 virtual void OnFindBarVisibleBoundsChanged( 31 virtual void OnFindBarVisibleBoundsChanged(
32 const gfx::Rect& new_visible_bounds_in_screen) OVERRIDE; 32 const gfx::Rect& new_visible_bounds_in_screen) override;
33 virtual void SetupForTest() OVERRIDE; 33 virtual void SetupForTest() override;
34 34
35 private: 35 private:
36 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerStub); 36 DISALLOW_COPY_AND_ASSIGN(ImmersiveModeControllerStub);
37 }; 37 };
38 38
39 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_ 39 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_MODE_CONTROLLER_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698