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/common/system/tray/tray_details_view.h" | 5 #include "ash/system/tray/tray_details_view.h" |
6 | 6 |
7 #include "ash/common/ash_view_ids.h" | 7 #include "ash/common/ash_view_ids.h" |
8 #include "ash/common/material_design/material_design_controller.h" | 8 #include "ash/common/material_design/material_design_controller.h" |
9 #include "ash/common/system/tray/system_menu_button.h" | |
10 #include "ash/common/system/tray/system_tray.h" | |
11 #include "ash/common/system/tray/system_tray_item.h" | |
12 #include "ash/common/system/tray/tray_constants.h" | |
13 #include "ash/common/system/tray/tray_popup_item_style.h" | |
14 #include "ash/common/system/tray/tray_popup_utils.h" | |
15 #include "ash/common/system/tray/tri_view.h" | |
16 #include "ash/strings/grit/ash_strings.h" | 9 #include "ash/strings/grit/ash_strings.h" |
| 10 #include "ash/system/tray/system_menu_button.h" |
| 11 #include "ash/system/tray/system_tray.h" |
| 12 #include "ash/system/tray/system_tray_item.h" |
| 13 #include "ash/system/tray/tray_constants.h" |
| 14 #include "ash/system/tray/tray_popup_item_style.h" |
| 15 #include "ash/system/tray/tray_popup_utils.h" |
| 16 #include "ash/system/tray/tri_view.h" |
17 #include "base/containers/adapters.h" | 17 #include "base/containers/adapters.h" |
18 #include "base/memory/ptr_util.h" | 18 #include "base/memory/ptr_util.h" |
19 #include "third_party/skia/include/core/SkDrawLooper.h" | 19 #include "third_party/skia/include/core/SkDrawLooper.h" |
20 #include "ui/base/resource/resource_bundle.h" | 20 #include "ui/base/resource/resource_bundle.h" |
21 #include "ui/compositor/paint_context.h" | 21 #include "ui/compositor/paint_context.h" |
22 #include "ui/compositor/paint_recorder.h" | 22 #include "ui/compositor/paint_recorder.h" |
23 #include "ui/gfx/canvas.h" | 23 #include "ui/gfx/canvas.h" |
24 #include "ui/gfx/skia_paint_util.h" | 24 #include "ui/gfx/skia_paint_util.h" |
25 #include "ui/views/background.h" | 25 #include "ui/views/background.h" |
26 #include "ui/views/border.h" | 26 #include "ui/views/border.h" |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 if (index < child_count() - 1 && child_at(index + 1) != title_row_) | 501 if (index < child_count() - 1 && child_at(index + 1) != title_row_) |
502 scroll_border_->set_visible(true); | 502 scroll_border_->set_visible(true); |
503 else | 503 else |
504 scroll_border_->set_visible(false); | 504 scroll_border_->set_visible(false); |
505 } | 505 } |
506 | 506 |
507 views::View::OnPaintBorder(canvas); | 507 views::View::OnPaintBorder(canvas); |
508 } | 508 } |
509 | 509 |
510 } // namespace ash | 510 } // namespace ash |
OLD | NEW |