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

Side by Side Diff: ash/first_run/first_run_helper_impl.h

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (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
« no previous file with comments | « ash/first_run/desktop_cleaner.cc ('k') | ash/first_run/first_run_helper_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ASH_FIRST_RUN_FIRST_RUN_HELPER_IMPL_H_ 5 #ifndef ASH_FIRST_RUN_FIRST_RUN_HELPER_IMPL_H_
6 #define ASH_FIRST_RUN_FIRST_RUN_HELPER_IMPL_H_ 6 #define ASH_FIRST_RUN_FIRST_RUN_HELPER_IMPL_H_
7 7
8 #include "ash/first_run/first_run_helper.h" 8 #include "ash/first_run/first_run_helper.h"
9 #include "ash/first_run/desktop_cleaner.h" 9 #include "ash/first_run/desktop_cleaner.h"
10 #include "ash/wm/overlay_event_filter.h" 10 #include "ash/wm/overlay_event_filter.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 12
13 namespace ash { 13 namespace ash {
14 14
15 class Shell; 15 class Shell;
16 16
17 class FirstRunHelperImpl : public FirstRunHelper, 17 class FirstRunHelperImpl : public FirstRunHelper,
18 public OverlayEventFilter::Delegate { 18 public OverlayEventFilter::Delegate {
19 public: 19 public:
20 FirstRunHelperImpl(); 20 FirstRunHelperImpl();
21 virtual ~FirstRunHelperImpl(); 21 virtual ~FirstRunHelperImpl();
22 22
23 // Overriden from FirstRunHelper. 23 // Overriden from FirstRunHelper.
24 virtual views::Widget* GetOverlayWidget() OVERRIDE; 24 virtual views::Widget* GetOverlayWidget() override;
25 virtual void OpenAppList() OVERRIDE; 25 virtual void OpenAppList() override;
26 virtual void CloseAppList() OVERRIDE; 26 virtual void CloseAppList() override;
27 virtual gfx::Rect GetLauncherBounds() OVERRIDE; 27 virtual gfx::Rect GetLauncherBounds() override;
28 virtual gfx::Rect GetAppListButtonBounds() OVERRIDE; 28 virtual gfx::Rect GetAppListButtonBounds() override;
29 virtual gfx::Rect GetAppListBounds() OVERRIDE; 29 virtual gfx::Rect GetAppListBounds() override;
30 virtual void OpenTrayBubble() OVERRIDE; 30 virtual void OpenTrayBubble() override;
31 virtual void CloseTrayBubble() OVERRIDE; 31 virtual void CloseTrayBubble() override;
32 virtual bool IsTrayBubbleOpened() OVERRIDE; 32 virtual bool IsTrayBubbleOpened() override;
33 virtual gfx::Rect GetTrayBubbleBounds() OVERRIDE; 33 virtual gfx::Rect GetTrayBubbleBounds() override;
34 virtual gfx::Rect GetHelpButtonBounds() OVERRIDE; 34 virtual gfx::Rect GetHelpButtonBounds() override;
35 35
36 // Overriden from OverlayEventFilter::Delegate. 36 // Overriden from OverlayEventFilter::Delegate.
37 virtual void Cancel() OVERRIDE; 37 virtual void Cancel() override;
38 virtual bool IsCancelingKeyEvent(ui::KeyEvent* event) OVERRIDE; 38 virtual bool IsCancelingKeyEvent(ui::KeyEvent* event) override;
39 virtual aura::Window* GetWindow() OVERRIDE; 39 virtual aura::Window* GetWindow() override;
40 40
41 private: 41 private:
42 views::Widget* widget_; 42 views::Widget* widget_;
43 DesktopCleaner cleaner_; 43 DesktopCleaner cleaner_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(FirstRunHelperImpl); 45 DISALLOW_COPY_AND_ASSIGN(FirstRunHelperImpl);
46 }; 46 };
47 47
48 } // namespace ash 48 } // namespace ash
49 49
50 #endif // ASH_FIRST_RUN_FIRST_RUN_HELPER_IMPL_H_ 50 #endif // ASH_FIRST_RUN_FIRST_RUN_HELPER_IMPL_H_
51 51
OLDNEW
« no previous file with comments | « ash/first_run/desktop_cleaner.cc ('k') | ash/first_run/first_run_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698