diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-19 16:20:58 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-19 16:20:58 +0000 |
commit | dfe8987d7216509715aa14bddb5a05c34ea2202e (patch) | |
tree | b24b4db9b509da9ec6a601ba0f9b943612dedc57 /ash/system | |
parent | 56cd2343fceaaa20540db96619ae15424f8d2814 (diff) | |
download | chromium_src-dfe8987d7216509715aa14bddb5a05c34ea2202e.zip chromium_src-dfe8987d7216509715aa14bddb5a05c34ea2202e.tar.gz chromium_src-dfe8987d7216509715aa14bddb5a05c34ea2202e.tar.bz2 |
linux and chromeos: Turn on -Wunused-const-variable.
BUG=307668
R=hans@chromium.org
TBR=oshima
Review URL: https://codereview.chromium.org/29263007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229578 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system')
-rw-r--r-- | ash/system/chromeos/network/network_state_list_detailed_view.cc | 3 | ||||
-rw-r--r-- | ash/system/chromeos/power/power_status_view.cc | 7 | ||||
-rw-r--r-- | ash/system/chromeos/power/tray_power.cc | 4 | ||||
-rw-r--r-- | ash/system/tray_accessibility.cc | 1 | ||||
-rw-r--r-- | ash/system/user/tray_user.cc | 1 | ||||
-rw-r--r-- | ash/system/web_notification/web_notification_tray.cc | 1 |
6 files changed, 0 insertions, 17 deletions
diff --git a/ash/system/chromeos/network/network_state_list_detailed_view.cc b/ash/system/chromeos/network/network_state_list_detailed_view.cc index f79f515..ffd8ad5 100644 --- a/ash/system/chromeos/network/network_state_list_detailed_view.cc +++ b/ash/system/chromeos/network/network_state_list_detailed_view.cc @@ -56,9 +56,6 @@ namespace tray { namespace { -// Height of the list of networks in the popup. -const int kNetworkListHeight = 203; - // Delay between scan requests. const int kRequestScanDelaySeconds = 10; diff --git a/ash/system/chromeos/power/power_status_view.cc b/ash/system/chromeos/power/power_status_view.cc index 5323f5c..9cb20721 100644 --- a/ash/system/chromeos/power/power_status_view.cc +++ b/ash/system/chromeos/power/power_status_view.cc @@ -24,15 +24,8 @@ namespace ash { namespace internal { -namespace { - -// Top/bottom padding of the text items. -const int kPaddingVertical = 10; -// Specify min width of status label for layout. -const int kLabelMinWidth = 120; // Padding between battery status text and battery icon on default view. const int kPaddingBetweenBatteryStatusAndIcon = 3; -} // namespace PowerStatusView::PowerStatusView(ViewType view_type, bool default_view_right_align) diff --git a/ash/system/chromeos/power/tray_power.cc b/ash/system/chromeos/power/tray_power.cc index b52f1dd..75ac669 100644 --- a/ash/system/chromeos/power/tray_power.cc +++ b/ash/system/chromeos/power/tray_power.cc @@ -36,10 +36,6 @@ namespace ash { namespace internal { namespace { -// Top/bottom padding of the text items. -const int kPaddingVertical = 10; -// Specify min width of status label for layout. -const int kLabelMinWidth = 120; // Notification times. const int kCriticalSeconds = 5 * 60; const int kLowPowerSeconds = 15 * 60; diff --git a/ash/system/tray_accessibility.cc b/ash/system/tray_accessibility.cc index 933a567..6297d5c 100644 --- a/ash/system/tray_accessibility.cc +++ b/ash/system/tray_accessibility.cc @@ -29,7 +29,6 @@ namespace ash { namespace internal { namespace { -const int kPaddingAroundBottomRow = 5; enum AccessibilityState { A11Y_NONE = 0, diff --git a/ash/system/user/tray_user.cc b/ash/system/user/tray_user.cc index 830f995..fe1439c 100644 --- a/ash/system/user/tray_user.cc +++ b/ash/system/user/tray_user.cc @@ -70,7 +70,6 @@ namespace { const int kUserDetailsVerticalPadding = 5; const int kUserCardVerticalPadding = 10; -const int kInactiveUserCardVerticalPadding = 4; const int kProfileRoundedCornerRadius = 2; const int kUserIconSize = 27; const int kUserIconLargeSize = 32; diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc index ce8ad98..70e2b5b 100644 --- a/ash/system/web_notification/web_notification_tray.cc +++ b/ash/system/web_notification/web_notification_tray.cc @@ -59,7 +59,6 @@ namespace { // Menu commands const int kToggleQuietMode = 0; -const int kEnableQuietModeHour = 1; const int kEnableQuietModeDay = 2; } |