| 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/ash_constants.h" | 7 #include "ash/ash_constants.h" |
| 8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 9 #include "ash/shell_window_ids.h" | 9 #include "ash/shell_window_ids.h" |
| 10 #include "ash/wm/property_util.h" | 10 #include "ash/wm/property_util.h" |
| 11 #include "ash/wm/window_util.h" | 11 #include "ash/wm/window_util.h" |
| 12 #include "ash/wm/workspace_controller.h" | 12 #include "ash/wm/workspace_controller.h" |
| 13 #include "base/logging.h" // DCHECK | 13 #include "base/logging.h" // DCHECK |
| 14 #include "grit/ui_resources.h" | 14 #include "grit/ash_resources.h" |
| 15 #include "third_party/skia/include/core/SkCanvas.h" | 15 #include "third_party/skia/include/core/SkCanvas.h" |
| 16 #include "third_party/skia/include/core/SkColor.h" | 16 #include "third_party/skia/include/core/SkColor.h" |
| 17 #include "third_party/skia/include/core/SkPaint.h" | 17 #include "third_party/skia/include/core/SkPaint.h" |
| 18 #include "third_party/skia/include/core/SkPath.h" | 18 #include "third_party/skia/include/core/SkPath.h" |
| 19 #include "ui/aura/client/aura_constants.h" | 19 #include "ui/aura/client/aura_constants.h" |
| 20 #include "ui/aura/env.h" | 20 #include "ui/aura/env.h" |
| 21 #include "ui/aura/window.h" | 21 #include "ui/aura/window.h" |
| 22 #include "ui/base/animation/slide_animation.h" | 22 #include "ui/base/animation/slide_animation.h" |
| 23 #include "ui/base/hit_test.h" | 23 #include "ui/base/hit_test.h" |
| 24 #include "ui/base/layout.h" | 24 #include "ui/base/layout.h" |
| (...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 for (std::set<FramePainter*>::const_iterator it = instances_->begin(); | 697 for (std::set<FramePainter*>::const_iterator it = instances_->begin(); |
| 698 it != instances_->end(); | 698 it != instances_->end(); |
| 699 ++it) { | 699 ++it) { |
| 700 FramePainter* painter = *it; | 700 FramePainter* painter = *it; |
| 701 if (IsVisibleNormalWindow(painter->window_)) | 701 if (IsVisibleNormalWindow(painter->window_)) |
| 702 painter->frame_->non_client_view()->SchedulePaint(); | 702 painter->frame_->non_client_view()->SchedulePaint(); |
| 703 } | 703 } |
| 704 } | 704 } |
| 705 | 705 |
| 706 } // namespace ash | 706 } // namespace ash |
| OLD | NEW |