Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Side by Side Diff: ash/frame/default_header_painter.cc

Issue 2061823002: mash: Move ash constants and layout constants files to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trayimageitem
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/frame/default_header_painter.h" 5 #include "ash/frame/default_header_painter.h"
6 6
7 #include "ash/ash_layout_constants.h" 7 #include "ash/common/ash_layout_constants.h"
8 #include "ash/frame/caption_buttons/frame_caption_button_container_view.h" 8 #include "ash/frame/caption_buttons/frame_caption_button_container_view.h"
9 #include "ash/frame/header_painter_util.h" 9 #include "ash/frame/header_painter_util.h"
10 #include "base/debug/leak_annotations.h" 10 #include "base/debug/leak_annotations.h"
11 #include "base/logging.h" // DCHECK 11 #include "base/logging.h" // DCHECK
12 #include "grit/ash_resources.h" 12 #include "grit/ash_resources.h"
13 #include "third_party/skia/include/core/SkPaint.h" 13 #include "third_party/skia/include/core/SkPaint.h"
14 #include "third_party/skia/include/core/SkPath.h" 14 #include "third_party/skia/include/core/SkPath.h"
15 #include "ui/base/resource/resource_bundle.h" 15 #include "ui/base/resource/resource_bundle.h"
16 #include "ui/gfx/animation/slide_animation.h" 16 #include "ui/gfx/animation/slide_animation.h"
17 #include "ui/gfx/canvas.h" 17 #include "ui/gfx/canvas.h"
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 return HeaderPainterUtil::GetTitleBounds( 316 return HeaderPainterUtil::GetTitleBounds(
317 left_header_view_, caption_button_container_, GetTitleFontList()); 317 left_header_view_, caption_button_container_, GetTitleFontList());
318 } 318 }
319 319
320 bool DefaultHeaderPainter::UsesCustomFrameColors() const { 320 bool DefaultHeaderPainter::UsesCustomFrameColors() const {
321 return active_frame_color_ != kDefaultFrameColor || 321 return active_frame_color_ != kDefaultFrameColor ||
322 inactive_frame_color_ != kDefaultFrameColor; 322 inactive_frame_color_ != kDefaultFrameColor;
323 } 323 }
324 324
325 } // namespace ash 325 } // namespace ash
OLDNEW
« no previous file with comments | « ash/frame/custom_frame_view_ash_unittest.cc ('k') | ash/frame/frame_border_hit_test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698