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

Unified Diff: ui/gfx/native_theme_chromeos.cc

Issue 8669002: More TOUCH_UI hacks and constant removal. And TODO(saintlou) cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/native_theme_base.cc ('k') | views/controls/focusable_border.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_theme_chromeos.cc
diff --git a/ui/gfx/native_theme_chromeos.cc b/ui/gfx/native_theme_chromeos.cc
index 3d1b8fccbff5856c0ac421b90555f9dbc6f098f6..3919d8f33dd648c3ce576b2944dfab1ec94fd6a8 100644
--- a/ui/gfx/native_theme_chromeos.cc
+++ b/ui/gfx/native_theme_chromeos.cc
@@ -256,11 +256,7 @@ gfx::Size NativeThemeChromeos::GetPartSize(Part part,
// This function might be called from Worker process during html layout
// without calling GfxModule::SetResourceProvider. So using dimension
// constants instead of getting it from resource images.
-#if defined(TOUCH_UI)
- static const int kScrollbarWidth = 0;
-#else
static const int kScrollbarWidth = 13;
-#endif
static const int kScrollbarArrowUpHeight = 12;
static const int kScrollbarArrowDownHeight = 12;
« no previous file with comments | « ui/gfx/native_theme_base.cc ('k') | views/controls/focusable_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698