| 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 #include "ash/shelf/shelf.h" | 5 #include "ash/shelf/shelf.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <cmath> | 8 #include <cmath> |
| 9 | 9 |
| 10 #include "ash/aura/wm_window_aura.h" | 10 #include "ash/aura/wm_window_aura.h" |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 } | 209 } |
| 210 | 210 |
| 211 gfx::Rect Shelf::GetVisibleItemsBoundsInScreen() const { | 211 gfx::Rect Shelf::GetVisibleItemsBoundsInScreen() const { |
| 212 return shelf_view_->GetVisibleItemsBoundsInScreen(); | 212 return shelf_view_->GetVisibleItemsBoundsInScreen(); |
| 213 } | 213 } |
| 214 | 214 |
| 215 app_list::ApplicationDragAndDropHost* Shelf::GetDragAndDropHostForAppList() { | 215 app_list::ApplicationDragAndDropHost* Shelf::GetDragAndDropHostForAppList() { |
| 216 return shelf_view_; | 216 return shelf_view_; |
| 217 } | 217 } |
| 218 | 218 |
| 219 void Shelf::UpdateShelfItemBackground(int alpha) { |
| 220 shelf_view_->UpdateShelfItemBackground(alpha); |
| 221 } |
| 222 |
| 219 } // namespace ash | 223 } // namespace ash |
| OLD | NEW |