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/wm/frame_painter.h" | 5 #include "ash/wm/frame_painter.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell_window_ids.h" | 8 #include "ash/shell_window_ids.h" |
9 #include "ash/wm/window_util.h" | 9 #include "ash/wm/window_util.h" |
10 #include "base/logging.h" // DCHECK | 10 #include "base/logging.h" // DCHECK |
11 #include "grit/ui_resources.h" | 11 #include "grit/ui_resources.h" |
12 #include "grit/ui_resources_standard.h" | |
13 #include "third_party/skia/include/core/SkCanvas.h" | 12 #include "third_party/skia/include/core/SkCanvas.h" |
14 #include "third_party/skia/include/core/SkColor.h" | 13 #include "third_party/skia/include/core/SkColor.h" |
15 #include "third_party/skia/include/core/SkPaint.h" | 14 #include "third_party/skia/include/core/SkPaint.h" |
16 #include "third_party/skia/include/core/SkPath.h" | 15 #include "third_party/skia/include/core/SkPath.h" |
17 #include "ui/aura/client/aura_constants.h" | 16 #include "ui/aura/client/aura_constants.h" |
18 #include "ui/aura/env.h" | 17 #include "ui/aura/env.h" |
19 #include "ui/aura/window.h" | 18 #include "ui/aura/window.h" |
20 #include "ui/base/animation/slide_animation.h" | 19 #include "ui/base/animation/slide_animation.h" |
21 #include "ui/base/hit_test.h" | 20 #include "ui/base/hit_test.h" |
22 #include "ui/base/layout.h" | 21 #include "ui/base/layout.h" |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 for (std::set<FramePainter*>::const_iterator it = instances_->begin(); | 613 for (std::set<FramePainter*>::const_iterator it = instances_->begin(); |
615 it != instances_->end(); | 614 it != instances_->end(); |
616 ++it) { | 615 ++it) { |
617 FramePainter* painter = *it; | 616 FramePainter* painter = *it; |
618 if (IsVisibleNormalWindow(painter->window_)) | 617 if (IsVisibleNormalWindow(painter->window_)) |
619 painter->frame_->non_client_view()->SchedulePaint(); | 618 painter->frame_->non_client_view()->SchedulePaint(); |
620 } | 619 } |
621 } | 620 } |
622 | 621 |
623 } // namespace ash | 622 } // namespace ash |
OLD | NEW |