| OLD | NEW |
| 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/desktop_cleaner.h" | 8 #include "ash/first_run/desktop_cleaner.h" |
| 9 #include "ash/first_run/first_run_helper.h" | 9 #include "ash/first_run/first_run_helper.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 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 | 13 |
| 14 namespace ash { | 14 namespace ash { |
| 15 | 15 |
| 16 class Shell; | |
| 17 | |
| 18 class FirstRunHelperImpl : public FirstRunHelper, | 16 class FirstRunHelperImpl : public FirstRunHelper, |
| 19 public OverlayEventFilter::Delegate { | 17 public OverlayEventFilter::Delegate { |
| 20 public: | 18 public: |
| 21 FirstRunHelperImpl(); | 19 FirstRunHelperImpl(); |
| 22 ~FirstRunHelperImpl() override; | 20 ~FirstRunHelperImpl() override; |
| 23 | 21 |
| 24 // Overriden from FirstRunHelper. | 22 // Overriden from FirstRunHelper. |
| 25 views::Widget* GetOverlayWidget() override; | 23 views::Widget* GetOverlayWidget() override; |
| 26 gfx::Rect GetAppListButtonBounds() override; | 24 gfx::Rect GetAppListButtonBounds() override; |
| 27 void OpenTrayBubble() override; | 25 void OpenTrayBubble() override; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 38 private: | 36 private: |
| 39 views::Widget* widget_; | 37 views::Widget* widget_; |
| 40 DesktopCleaner cleaner_; | 38 DesktopCleaner cleaner_; |
| 41 | 39 |
| 42 DISALLOW_COPY_AND_ASSIGN(FirstRunHelperImpl); | 40 DISALLOW_COPY_AND_ASSIGN(FirstRunHelperImpl); |
| 43 }; | 41 }; |
| 44 | 42 |
| 45 } // namespace ash | 43 } // namespace ash |
| 46 | 44 |
| 47 #endif // ASH_FIRST_RUN_FIRST_RUN_HELPER_IMPL_H_ | 45 #endif // ASH_FIRST_RUN_FIRST_RUN_HELPER_IMPL_H_ |
| OLD | NEW |