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

Unified Diff: ui/base/layout.cc

Issue 10977073: Delete some unused code found by -Wunused-function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: leiz Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | ui/gfx/codec/jpeg_codec.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/layout.cc
diff --git a/ui/base/layout.cc b/ui/base/layout.cc
index 4ae7805f2a5328f2675c20ca32818b997df69472..84b371274785832120e8c861cae81520cafffe09 100644
--- a/ui/base/layout.cc
+++ b/ui/base/layout.cc
@@ -30,6 +30,7 @@
namespace {
+#if defined(OS_WIN) || defined(USE_ASH)
// Helper function that determines whether we want to optimize the UI for touch.
bool UseTouchOptimizedUI() {
// If --touch-optimized-ui is specified and not set to "auto", then override
@@ -59,6 +60,7 @@ bool UseTouchOptimizedUI() {
return false;
#endif
}
+#endif // defined(OS_WIN) || defined(USE_ASH)
const float kScaleFactorScales[] = {1.0f, 1.4f, 1.8f, 2.0f};
COMPILE_ASSERT(ui::NUM_SCALE_FACTORS == arraysize(kScaleFactorScales),
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | ui/gfx/codec/jpeg_codec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698