Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
|
oshima
2013/10/10 22:47:18
ditto
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef ASH_FIRST_RUN_FIRST_RUN_DELEGATE_IMPL_H_ | |
| 6 #define ASH_FIRST_RUN_FIRST_RUN_DELEGATE_IMPL_H_ | |
| 7 | |
| 8 #include "ash/first_run/first_run_delegate.h" | |
| 9 | |
| 10 namespace ash { | |
| 11 | |
| 12 class Shell; | |
| 13 | |
| 14 class FirstRunDelegateImpl : public FirstRunDelegate { | |
| 15 public: | |
| 16 FirstRunDelegateImpl(); | |
| 17 | |
| 18 // Overriden from FirstRunDelegate. | |
| 19 virtual void OpenAppList() OVERRIDE; | |
| 20 virtual void CloseAppList() OVERRIDE; | |
| 21 virtual gfx::Rect GetLauncherBounds() OVERRIDE; | |
| 22 virtual gfx::Rect GetAppListButtonBounds() OVERRIDE; | |
| 23 virtual bool GetAppListBounds(gfx::Rect* result) OVERRIDE; | |
| 24 | |
| 25 private: | |
| 26 Shell* shell_; | |
|
oshima
2013/10/10 22:47:18
Can we just use GetInstance()? Advantage is that i
dzhioev (left Google)
2013/10/11 18:03:52
OK.
| |
| 27 | |
| 28 DISALLOW_COPY_AND_ASSIGN(FirstRunDelegateImpl); | |
| 29 }; | |
| 30 | |
| 31 } // namespace ash | |
| 32 | |
| 33 #endif // ASH_FIRST_RUN_FIRST_RUN_DELEGATE_IMPL_H_ | |
| 34 | |
| OLD | NEW |