| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/system/tray/tray_background_view.h" | 5 #include "ash/system/tray/tray_background_view.h" |
| 6 | 6 |
| 7 #include "ash/root_window_controller.h" | 7 #include "ash/root_window_controller.h" |
| 8 #include "ash/screen_util.h" | 8 #include "ash/screen_util.h" |
| 9 #include "ash/shelf/shelf_layout_manager.h" | 9 #include "ash/shelf/shelf_layout_manager.h" |
| 10 #include "ash/shelf/shelf_util.h" | 10 #include "ash/shelf/shelf_util.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "ui/compositor/layer.h" | 27 #include "ui/compositor/layer.h" |
| 28 #include "ui/compositor/layer_animation_element.h" | 28 #include "ui/compositor/layer_animation_element.h" |
| 29 #include "ui/compositor/scoped_layer_animation_settings.h" | 29 #include "ui/compositor/scoped_layer_animation_settings.h" |
| 30 #include "ui/events/event_constants.h" | 30 #include "ui/events/event_constants.h" |
| 31 #include "ui/gfx/animation/tween.h" | 31 #include "ui/gfx/animation/tween.h" |
| 32 #include "ui/gfx/canvas.h" | 32 #include "ui/gfx/canvas.h" |
| 33 #include "ui/gfx/geometry/rect.h" | 33 #include "ui/gfx/geometry/rect.h" |
| 34 #include "ui/gfx/image/image_skia.h" | 34 #include "ui/gfx/image/image_skia.h" |
| 35 #include "ui/gfx/image/image_skia_operations.h" | 35 #include "ui/gfx/image/image_skia_operations.h" |
| 36 #include "ui/gfx/nine_image_painter.h" | 36 #include "ui/gfx/nine_image_painter.h" |
| 37 #include "ui/gfx/screen.h" | |
| 38 #include "ui/gfx/skia_util.h" | 37 #include "ui/gfx/skia_util.h" |
| 39 #include "ui/gfx/transform.h" | 38 #include "ui/gfx/transform.h" |
| 40 #include "ui/views/background.h" | 39 #include "ui/views/background.h" |
| 41 #include "ui/views/layout/box_layout.h" | 40 #include "ui/views/layout/box_layout.h" |
| 42 #include "ui/wm/core/window_animations.h" | 41 #include "ui/wm/core/window_animations.h" |
| 43 | 42 |
| 44 namespace { | 43 namespace { |
| 45 | 44 |
| 46 const int kTrayBackgroundAlpha = 100; | 45 const int kTrayBackgroundAlpha = 100; |
| 47 const int kTrayBackgroundHoverAlpha = 150; | 46 const int kTrayBackgroundHoverAlpha = 150; |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 background_->set_alpha(kTrayBackgroundAlpha); | 582 background_->set_alpha(kTrayBackgroundAlpha); |
| 584 SchedulePaint(); | 583 SchedulePaint(); |
| 585 } | 584 } |
| 586 | 585 |
| 587 void TrayBackgroundView::UpdateBubbleViewArrow( | 586 void TrayBackgroundView::UpdateBubbleViewArrow( |
| 588 views::TrayBubbleView* bubble_view) { | 587 views::TrayBubbleView* bubble_view) { |
| 589 // Nothing to do here. | 588 // Nothing to do here. |
| 590 } | 589 } |
| 591 | 590 |
| 592 } // namespace ash | 591 } // namespace ash |
| OLD | NEW |