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

Side by Side Diff: chrome/browser/ui/views/frame/browser_header_painter_ash.cc

Issue 2289543004: Remove more unused grit includes in chrome/ (Closed)
Patch Set: Created 4 years, 3 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 "chrome/browser/ui/views/frame/browser_header_painter_ash.h" 5 #include "chrome/browser/ui/views/frame/browser_header_painter_ash.h"
6 6
7 #include "ash/common/ash_layout_constants.h" 7 #include "ash/common/ash_layout_constants.h"
8 #include "ash/common/frame/caption_buttons/frame_caption_button_container_view.h " 8 #include "ash/common/frame/caption_buttons/frame_caption_button_container_view.h "
9 #include "ash/common/frame/header_painter_util.h" 9 #include "ash/common/frame/header_painter_util.h"
10 #include "ash/resources/grit/ash_resources.h"
11 #include "base/logging.h" // DCHECK 10 #include "base/logging.h" // DCHECK
12 #include "chrome/browser/themes/theme_properties.h" 11 #include "chrome/browser/themes/theme_properties.h"
13 #include "chrome/browser/ui/browser.h" 12 #include "chrome/browser/ui/browser.h"
14 #include "chrome/browser/ui/views/frame/browser_frame.h" 13 #include "chrome/browser/ui/views/frame/browser_frame.h"
15 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h" 14 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h"
16 #include "chrome/browser/ui/views/frame/browser_view.h" 15 #include "chrome/browser/ui/views/frame/browser_view.h"
17 #include "chrome/grit/theme_resources.h" 16 #include "chrome/grit/theme_resources.h"
18 #include "third_party/skia/include/core/SkCanvas.h" 17 #include "third_party/skia/include/core/SkCanvas.h"
19 #include "third_party/skia/include/core/SkPaint.h" 18 #include "third_party/skia/include/core/SkPaint.h"
20 #include "third_party/skia/include/core/SkPath.h" 19 #include "third_party/skia/include/core/SkPath.h"
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 } 365 }
367 366
368 gfx::Rect BrowserHeaderPainterAsh::GetPaintedBounds() const { 367 gfx::Rect BrowserHeaderPainterAsh::GetPaintedBounds() const {
369 return gfx::Rect(view_->width(), painted_height_); 368 return gfx::Rect(view_->width(), painted_height_);
370 } 369 }
371 370
372 gfx::Rect BrowserHeaderPainterAsh::GetTitleBounds() const { 371 gfx::Rect BrowserHeaderPainterAsh::GetTitleBounds() const {
373 return ash::HeaderPainterUtil::GetTitleBounds(window_icon_, 372 return ash::HeaderPainterUtil::GetTitleBounds(window_icon_,
374 caption_button_container_, BrowserFrame::GetTitleFontList()); 373 caption_button_container_, BrowserFrame::GetTitleFontList());
375 } 374 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698