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

Side by Side Diff: sky/viewer/platform/webthemeengine_impl.cc

Issue 689283003: Remove scroll corners and resizers. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « sky/engine/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "sky/viewer/platform/webthemeengine_impl.h" 5 #include "sky/viewer/platform/webthemeengine_impl.h"
6 6
7 #include "skia/ext/platform_canvas.h" 7 #include "skia/ext/platform_canvas.h"
8 #include "sky/engine/public/platform/WebRect.h" 8 #include "sky/engine/public/platform/WebRect.h"
9 #include "sky/engine/public/platform/WebSize.h" 9 #include "sky/engine/public/platform/WebSize.h"
10 #include "ui/native_theme/native_theme.h" 10 #include "ui/native_theme/native_theme.h"
(...skipping 18 matching lines...) Expand all
29 case WebThemeEngine::PartScrollbarUpArrow: 29 case WebThemeEngine::PartScrollbarUpArrow:
30 return ui::NativeTheme::kScrollbarUpArrow; 30 return ui::NativeTheme::kScrollbarUpArrow;
31 case WebThemeEngine::PartScrollbarHorizontalThumb: 31 case WebThemeEngine::PartScrollbarHorizontalThumb:
32 return ui::NativeTheme::kScrollbarHorizontalThumb; 32 return ui::NativeTheme::kScrollbarHorizontalThumb;
33 case WebThemeEngine::PartScrollbarVerticalThumb: 33 case WebThemeEngine::PartScrollbarVerticalThumb:
34 return ui::NativeTheme::kScrollbarVerticalThumb; 34 return ui::NativeTheme::kScrollbarVerticalThumb;
35 case WebThemeEngine::PartScrollbarHorizontalTrack: 35 case WebThemeEngine::PartScrollbarHorizontalTrack:
36 return ui::NativeTheme::kScrollbarHorizontalTrack; 36 return ui::NativeTheme::kScrollbarHorizontalTrack;
37 case WebThemeEngine::PartScrollbarVerticalTrack: 37 case WebThemeEngine::PartScrollbarVerticalTrack:
38 return ui::NativeTheme::kScrollbarVerticalTrack; 38 return ui::NativeTheme::kScrollbarVerticalTrack;
39 case WebThemeEngine::PartScrollbarCorner:
40 return ui::NativeTheme::kScrollbarCorner;
41 case WebThemeEngine::PartCheckbox: 39 case WebThemeEngine::PartCheckbox:
42 return ui::NativeTheme::kCheckbox; 40 return ui::NativeTheme::kCheckbox;
43 case WebThemeEngine::PartRadio: 41 case WebThemeEngine::PartRadio:
44 return ui::NativeTheme::kRadio; 42 return ui::NativeTheme::kRadio;
45 case WebThemeEngine::PartButton: 43 case WebThemeEngine::PartButton:
46 return ui::NativeTheme::kPushButton; 44 return ui::NativeTheme::kPushButton;
47 case WebThemeEngine::PartMenuList: 45 case WebThemeEngine::PartMenuList:
48 return ui::NativeTheme::kMenuList; 46 return ui::NativeTheme::kMenuList;
49 case WebThemeEngine::PartSliderTrack: 47 case WebThemeEngine::PartSliderTrack:
50 return ui::NativeTheme::kSliderTrack; 48 return ui::NativeTheme::kSliderTrack;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 canvas, 191 canvas,
194 NativeThemePart(part), 192 NativeThemePart(part),
195 NativeThemeState(startState), 193 NativeThemeState(startState),
196 NativeThemeState(endState), 194 NativeThemeState(endState),
197 progress, 195 progress,
198 gfx::Rect(rect)); 196 gfx::Rect(rect));
199 #endif 197 #endif
200 } 198 }
201 199
202 } // namespace sky 200 } // namespace sky
OLDNEW
« no previous file with comments | « sky/engine/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698