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

Side by Side Diff: ui/views/style/platform_style.cc

Issue 2921523002: Clean up unused grit header includes in ui/. (Closed)
Patch Set: Created 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/views/style/platform_style.h" 5 #include "ui/views/style/platform_style.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "ui/base/material_design/material_design_controller.h" 9 #include "ui/base/material_design/material_design_controller.h"
10 #include "ui/base/resource/resource_bundle.h" 10 #include "ui/base/resource/resource_bundle.h"
11 #include "ui/gfx/shadow_value.h" 11 #include "ui/gfx/shadow_value.h"
12 #include "ui/native_theme/native_theme.h" 12 #include "ui/native_theme/native_theme.h"
13 #include "ui/resources/grit/ui_resources.h"
14 #include "ui/views/background.h" 13 #include "ui/views/background.h"
15 #include "ui/views/controls/button/label_button.h" 14 #include "ui/views/controls/button/label_button.h"
16 #include "ui/views/controls/button/label_button_border.h" 15 #include "ui/views/controls/button/label_button_border.h"
17 #include "ui/views/controls/focusable_border.h" 16 #include "ui/views/controls/focusable_border.h"
18 #include "ui/views/controls/scrollbar/scroll_bar_views.h" 17 #include "ui/views/controls/scrollbar/scroll_bar_views.h"
19 18
20 #if defined(OS_CHROMEOS) 19 #if defined(OS_CHROMEOS)
21 #include "ui/views/controls/scrollbar/overlay_scroll_bar.h" 20 #include "ui/views/controls/scrollbar/overlay_scroll_bar.h"
22 #elif defined(OS_LINUX) 21 #elif defined(OS_LINUX)
23 #define DESKTOP_LINUX 22 #define DESKTOP_LINUX
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 89
91 #if !defined(DESKTOP_LINUX) 90 #if !defined(DESKTOP_LINUX)
92 // static 91 // static
93 std::unique_ptr<Border> PlatformStyle::CreateThemedLabelButtonBorder( 92 std::unique_ptr<Border> PlatformStyle::CreateThemedLabelButtonBorder(
94 LabelButton* button) { 93 LabelButton* button) {
95 return button->CreateDefaultBorder(); 94 return button->CreateDefaultBorder();
96 } 95 }
97 #endif 96 #endif
98 97
99 } // namespace views 98 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/examples/button_example.cc ('k') | ui/views/touchui/touch_selection_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698