summaryrefslogtreecommitdiffstats
path: root/ui/views/window/custom_frame_view.cc
diff options
context:
space:
mode:
authormgiuca <mgiuca@chromium.org>2015-07-07 21:08:24 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-08 04:09:00 +0000
commit88867d310fc297151344fcf294d23554371b2644 (patch)
tree5e5b72209031531800ce46ee19a8b2e8b5b7920a /ui/views/window/custom_frame_view.cc
parentf3c539b18f4e90349ebb3add169abe8478262b58 (diff)
downloadchromium_src-88867d310fc297151344fcf294d23554371b2644.zip
chromium_src-88867d310fc297151344fcf294d23554371b2644.tar.gz
chromium_src-88867d310fc297151344fcf294d23554371b2644.tar.bz2
Fixed all unused-variable Clang warnings on Windows.
Usually, fixed by removing the unused variables. Some variables had to be guarded by #ifs. Some variables could be used instead. Also removed unused test file sweep02_16b_mono_16KHz.raw. BUG=505319 TBR=rpaquay@chromium.org Review URL: https://codereview.chromium.org/1220133003 Cr-Commit-Position: refs/heads/master@{#337767}
Diffstat (limited to 'ui/views/window/custom_frame_view.cc')
-rw-r--r--ui/views/window/custom_frame_view.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/views/window/custom_frame_view.cc b/ui/views/window/custom_frame_view.cc
index 62a0507..d048ec8 100644
--- a/ui/views/window/custom_frame_view.cc
+++ b/ui/views/window/custom_frame_view.cc
@@ -48,13 +48,16 @@ const int kCaptionButtonHeightWithPadding = 19;
const int kTitlebarTopAndBottomEdgeThickness = 2;
// The icon is inset 2 px from the left frame border.
const int kIconLeftSpacing = 2;
-// The icon never shrinks below 16 px on a side.
-const int kIconMinimumSize = 16;
// The space between the window icon and the title text.
const int kTitleIconOffsetX = 4;
// The space between the title text and the caption buttons.
const int kTitleCaptionSpacing = 5;
+#if !defined(OS_WIN)
+// The icon never shrinks below 16 px on a side.
+const int kIconMinimumSize = 16;
+#endif
+
#if defined(OS_CHROMEOS)
// Chrome OS uses a dark gray.
const SkColor kDefaultColorFrame = SkColorSetRGB(109, 109, 109);