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

Side by Side Diff: ui/native_theme/native_theme_aura.h

Issue 2426793002: Aura overlay scrollbars adjust color for dark backgrounds (Closed)
Patch Set: remove deadcode(WebThemeEngineImpl::paintStateTransition), remove ScrollbarOverlayColorThemeDefault 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/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_aura.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 #ifndef UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_AURA_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_AURA_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/native_theme/native_theme_base.h" 9 #include "ui/native_theme/native_theme_base.h"
10 10
(...skipping 24 matching lines...) Expand all
35 Part direction, 35 Part direction,
36 State state) const override; 36 State state) const override;
37 void PaintScrollbarTrack(SkCanvas* canvas, 37 void PaintScrollbarTrack(SkCanvas* canvas,
38 Part part, 38 Part part,
39 State state, 39 State state,
40 const ScrollbarTrackExtraParams& extra_params, 40 const ScrollbarTrackExtraParams& extra_params,
41 const gfx::Rect& rect) const override; 41 const gfx::Rect& rect) const override;
42 void PaintScrollbarThumb(SkCanvas* canvas, 42 void PaintScrollbarThumb(SkCanvas* canvas,
43 Part part, 43 Part part,
44 State state, 44 State state,
45 const gfx::Rect& rect) const override; 45 const gfx::Rect& rect,
46 ScrollbarOverlayColorTheme theme) const override;
46 void PaintScrollbarCorner(SkCanvas* canvas, 47 void PaintScrollbarCorner(SkCanvas* canvas,
47 State state, 48 State state,
48 const gfx::Rect& rect) const override; 49 const gfx::Rect& rect) const override;
49 50
50 void PaintScrollbarThumbStateTransition(SkCanvas* canvas, 51 void PaintScrollbarThumbStateTransition(
bokan 2016/10/27 15:14:49 The only actual caller of this method is PaintScro
51 Part part, 52 SkCanvas* canvas,
52 State startState, 53 Part part,
53 State endState, 54 State startState,
54 double progress, 55 State endState,
55 const gfx::Rect& rect) const override; 56 double progress,
57 const gfx::Rect& rect,
58 ScrollbarOverlayColorTheme theme) const override;
56 gfx::Size GetPartSize(Part part, 59 gfx::Size GetPartSize(Part part,
57 State state, 60 State state,
58 const ExtraParams& extra) const override; 61 const ExtraParams& extra) const override;
59 62
60 private: 63 private:
61 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura); 64 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura);
62 }; 65 };
63 66
64 } // namespace ui 67 } // namespace ui
65 68
66 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ 69 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_
OLDNEW
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/native_theme/native_theme_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698