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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/views/selection_controller_delegate.h ('k') | ui/views/test/webview_test_helper.h » ('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 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 #ifndef UI_VIEWS_STYLE_PLATFORM_STYLE_H_ 5 #ifndef UI_VIEWS_STYLE_PLATFORM_STYLE_H_
6 #define UI_VIEWS_STYLE_PLATFORM_STYLE_H_ 6 #define UI_VIEWS_STYLE_PLATFORM_STYLE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/views/controls/button/button.h" 11 #include "ui/views/controls/button/button.h"
12 #include "ui/views/controls/button/custom_button.h" 12 #include "ui/views/controls/button/custom_button.h"
13 #include "ui/views/controls/combobox/combobox.h" 13 #include "ui/views/controls/combobox/combobox.h"
14 #include "ui/views/views_export.h" 14 #include "ui/views/views_export.h"
15 15
16 namespace views { 16 namespace views {
17 17
18 class Border; 18 class Border;
19 class FocusableBorder;
20 class Label; 19 class Label;
21 class LabelButton; 20 class LabelButton;
22 class ScrollBar; 21 class ScrollBar;
23 22
24 // Cross-platform API for providing platform-specific styling for toolkit-views. 23 // Cross-platform API for providing platform-specific styling for toolkit-views.
25 class VIEWS_EXPORT PlatformStyle { 24 class VIEWS_EXPORT PlatformStyle {
26 public: 25 public:
27 // Type used by LabelButton to map button states to text colors. 26 // Type used by LabelButton to map button states to text colors.
28 using ButtonColorByState = SkColor[Button::STATE_COUNT]; 27 using ButtonColorByState = SkColor[Button::STATE_COUNT];
29 28
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // the failed edit if platform-appropriate. 85 // the failed edit if platform-appropriate.
87 static void OnTextfieldEditFailed(); 86 static void OnTextfieldEditFailed();
88 87
89 private: 88 private:
90 DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformStyle); 89 DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformStyle);
91 }; 90 };
92 91
93 } // namespace views 92 } // namespace views
94 93
95 #endif // UI_VIEWS_STYLE_PLATFORM_STYLE_H_ 94 #endif // UI_VIEWS_STYLE_PLATFORM_STYLE_H_
OLDNEW
« no previous file with comments | « ui/views/selection_controller_delegate.h ('k') | ui/views/test/webview_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698