| 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 #include "athena/home/home_card_view.h" | 5 #include "athena/home/home_card_view.h" |
| 6 | 6 |
| 7 #include "athena/home/home_card_constants.h" | 7 #include "athena/home/home_card_constants.h" |
| 8 #include "athena/util/athena_constants.h" |
| 8 #include "athena/wm/public/window_manager.h" | 9 #include "athena/wm/public/window_manager.h" |
| 9 #include "ui/app_list/app_list_view_delegate.h" | 10 #include "ui/app_list/app_list_view_delegate.h" |
| 10 #include "ui/app_list/views/app_list_main_view.h" | 11 #include "ui/app_list/views/app_list_main_view.h" |
| 11 #include "ui/app_list/views/contents_view.h" | 12 #include "ui/app_list/views/contents_view.h" |
| 12 #include "ui/app_list/views/search_box_view.h" | 13 #include "ui/app_list/views/search_box_view.h" |
| 13 #include "ui/aura/window.h" | 14 #include "ui/aura/window.h" |
| 14 #include "ui/compositor/closure_animation_observer.h" | 15 #include "ui/compositor/closure_animation_observer.h" |
| 15 #include "ui/compositor/scoped_layer_animation_settings.h" | 16 #include "ui/compositor/scoped_layer_animation_settings.h" |
| 16 #include "ui/views/background.h" | 17 #include "ui/views/background.h" |
| 17 #include "ui/views/focus/focus_manager.h" | 18 #include "ui/views/focus/focus_manager.h" |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 void HomeCardView::UpdateMinimizedBackgroundVisibility() { | 255 void HomeCardView::UpdateMinimizedBackgroundVisibility() { |
| 255 minimized_background_->SetVisible( | 256 minimized_background_->SetVisible( |
| 256 minimized_background_->layer()->GetTargetOpacity() != 0.0f); | 257 minimized_background_->layer()->GetTargetOpacity() != 0.0f); |
| 257 } | 258 } |
| 258 | 259 |
| 259 views::View* HomeCardView::GetContentsView() { | 260 views::View* HomeCardView::GetContentsView() { |
| 260 return this; | 261 return this; |
| 261 } | 262 } |
| 262 | 263 |
| 263 } // namespace athena | 264 } // namespace athena |
| OLD | NEW |