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

Side by Side Diff: ui/app_list/views/app_list_background.cc

Issue 467193003: ui: Remove unneeded includes of grit/ui_resources.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « ui/app_list/test/app_list_test_model.cc ('k') | ui/app_list/views/app_list_menu_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "ui/app_list/views/app_list_background.h" 5 #include "ui/app_list/views/app_list_background.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "third_party/skia/include/core/SkPaint.h" 8 #include "third_party/skia/include/core/SkPaint.h"
9 #include "third_party/skia/include/core/SkPath.h" 9 #include "third_party/skia/include/core/SkPath.h"
10 #include "ui/app_list/app_list_constants.h" 10 #include "ui/app_list/app_list_constants.h"
11 #include "ui/app_list/app_list_switches.h" 11 #include "ui/app_list/app_list_switches.h"
12 #include "ui/app_list/views/app_list_main_view.h" 12 #include "ui/app_list/views/app_list_main_view.h"
13 #include "ui/app_list/views/contents_view.h" 13 #include "ui/app_list/views/contents_view.h"
14 #include "ui/app_list/views/search_box_view.h" 14 #include "ui/app_list/views/search_box_view.h"
15 #include "ui/base/resource/resource_bundle.h"
16 #include "ui/gfx/canvas.h" 15 #include "ui/gfx/canvas.h"
17 #include "ui/gfx/rect.h" 16 #include "ui/gfx/rect.h"
18 #include "ui/gfx/skia_util.h" 17 #include "ui/gfx/skia_util.h"
19 #include "ui/views/view.h" 18 #include "ui/views/view.h"
20 19
21 namespace { 20 namespace {
22 21
23 // Size of top separator between searchbox and grid view. 22 // Size of top separator between searchbox and grid view.
24 const int kTopSeparatorSize = 1; 23 const int kTopSeparatorSize = 1;
25 24
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 bounds.bottom() - contents_switcher_top); 99 bounds.bottom() - contents_switcher_top);
101 paint.setColor(kContentsSwitcherBackgroundColor); 100 paint.setColor(kContentsSwitcherBackgroundColor);
102 canvas->DrawRect(contents_switcher_rect, paint); 101 canvas->DrawRect(contents_switcher_rect, paint);
103 } 102 }
104 } 103 }
105 104
106 canvas->Restore(); 105 canvas->Restore();
107 } 106 }
108 107
109 } // namespace app_list 108 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/test/app_list_test_model.cc ('k') | ui/app_list/views/app_list_menu_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698