OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ATHENA_HOME_HOME_CARD_IMPL_H_ | 5 #ifndef ATHENA_HOME_HOME_CARD_IMPL_H_ |
6 #define ATHENA_HOME_HOME_CARD_IMPL_H_ | 6 #define ATHENA_HOME_HOME_CARD_IMPL_H_ |
7 | 7 |
8 #include "athena/athena_export.h" | 8 #include "athena/athena_export.h" |
9 #include "athena/home/home_card_gesture_manager.h" | 9 #include "athena/home/home_card_gesture_manager.h" |
10 #include "athena/home/public/home_card.h" | 10 #include "athena/home/public/home_card.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // HomeCardGestureManager::Delegate: | 78 // HomeCardGestureManager::Delegate: |
79 virtual void OnGestureEnded(HomeCard::State final_state) OVERRIDE; | 79 virtual void OnGestureEnded(HomeCard::State final_state) OVERRIDE; |
80 virtual void OnGestureProgressed( | 80 virtual void OnGestureProgressed( |
81 HomeCard::State from_state, | 81 HomeCard::State from_state, |
82 HomeCard::State to_state, | 82 HomeCard::State to_state, |
83 float progress) OVERRIDE; | 83 float progress) OVERRIDE; |
84 | 84 |
85 // WindowManagerObserver: | 85 // WindowManagerObserver: |
86 virtual void OnOverviewModeEnter() OVERRIDE; | 86 virtual void OnOverviewModeEnter() OVERRIDE; |
87 virtual void OnOverviewModeExit() OVERRIDE; | 87 virtual void OnOverviewModeExit() OVERRIDE; |
88 virtual void OnActivityOrderHasChanged() OVERRIDE; | 88 virtual void OnSplitViewModeEnter() OVERRIDE; |
| 89 virtual void OnSplitViewModeExit() OVERRIDE; |
89 | 90 |
90 // aura::client::ActivationChangeObserver: | 91 // aura::client::ActivationChangeObserver: |
91 virtual void OnWindowActivated(aura::Window* gained_active, | 92 virtual void OnWindowActivated(aura::Window* gained_active, |
92 aura::Window* lost_active) OVERRIDE; | 93 aura::Window* lost_active) OVERRIDE; |
93 | 94 |
94 scoped_ptr<AppModelBuilder> model_builder_; | 95 scoped_ptr<AppModelBuilder> model_builder_; |
95 | 96 |
96 HomeCard::State state_; | 97 HomeCard::State state_; |
97 | 98 |
98 // original_state_ is the state which the home card should go back to after | 99 // original_state_ is the state which the home card should go back to after |
(...skipping 10 matching lines...) Expand all Loading... |
109 // Right now HomeCard allows only one search provider. | 110 // Right now HomeCard allows only one search provider. |
110 // TODO(mukai): port app-list's SearchController and Mixer. | 111 // TODO(mukai): port app-list's SearchController and Mixer. |
111 scoped_ptr<app_list::SearchProvider> search_provider_; | 112 scoped_ptr<app_list::SearchProvider> search_provider_; |
112 | 113 |
113 DISALLOW_COPY_AND_ASSIGN(HomeCardImpl); | 114 DISALLOW_COPY_AND_ASSIGN(HomeCardImpl); |
114 }; | 115 }; |
115 | 116 |
116 } // namespace athena | 117 } // namespace athena |
117 | 118 |
118 #endif // ATHENA_HOME_HOME_CARD_IMPL_H_ | 119 #endif // ATHENA_HOME_HOME_CARD_IMPL_H_ |
OLD | NEW |