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

Unified Diff: ash/system/chromeos/network/network_state_list_detailed_view.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « ash/system/chromeos/network/network_detailed_view.h ('k') | ash/system/chromeos/network/tray_sms.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/network/network_state_list_detailed_view.cc
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 ae3c02a05d49aa1e27a9d9c689dd03aa56cbcc90..8b150b622783f48527b1871b7bf86a0e66539529 100644
--- a/ash/system/chromeos/network/network_state_list_detailed_view.cc
+++ b/ash/system/chromeos/network/network_state_list_detailed_view.cc
@@ -161,8 +161,8 @@ class ScanningThrobber : public ThrobberView {
SetPaintToLayer(true);
layer()->SetFillsBoundsOpaquely(false);
layer()->SetOpacity(1.0);
- accessible_name_ = l10n_util::GetStringUTF16(
- IDS_ASH_STATUS_TRAY_WIFI_SCANNING_MESSAGE);
+ accessible_name_ =
+ l10n_util::GetStringUTF16(IDS_ASH_STATUS_TRAY_WIFI_SCANNING_MESSAGE);
}
~ScanningThrobber() override {}
@@ -195,8 +195,9 @@ class InfoIcon : public views::ImageButton {
explicit InfoIcon(views::ButtonListener* listener)
: views::ImageButton(listener) {
ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance();
- SetImage(STATE_NORMAL, bundle.GetImageNamed(IDR_AURA_UBER_TRAY_NETWORK_INFO)
- .ToImageSkia());
+ SetImage(
+ STATE_NORMAL,
+ bundle.GetImageNamed(IDR_AURA_UBER_TRAY_NETWORK_INFO).ToImageSkia());
SetImage(STATE_HOVERED,
bundle.GetImageNamed(IDR_AURA_UBER_TRAY_NETWORK_INFO_HOVER)
.ToImageSkia());
@@ -385,9 +386,8 @@ void NetworkStateListDetailedView::ButtonPressed(views::Button* sender,
ToggleMobile();
} else if (sender == settings_) {
WmShell::Get()->RecordUserMetricsAction(
- list_type_ == LIST_TYPE_VPN
- ? UMA_STATUS_AREA_VPN_SETTINGS_CLICKED
- : UMA_STATUS_AREA_NETWORK_SETTINGS_CLICKED);
+ list_type_ == LIST_TYPE_VPN ? UMA_STATUS_AREA_VPN_SETTINGS_CLICKED
+ : UMA_STATUS_AREA_NETWORK_SETTINGS_CLICKED);
delegate->ShowNetworkSettingsForGuid("");
} else if (sender == proxy_settings_) {
delegate->ChangeProxySettings();
@@ -580,7 +580,7 @@ void NetworkStateListDetailedView::UpdateHeaderButtons() {
// Since the |scanning_throbber_| view is behind the |info_icon_|
// view, the tooltip text for |info_icon_| will be used for both.
info_icon_->SetTooltipText(l10n_util::GetStringUTF16(
- IDS_ASH_STATUS_TRAY_WIFI_SCANNING_MESSAGE));
+ IDS_ASH_STATUS_TRAY_WIFI_SCANNING_MESSAGE));
} else {
SetScanningStateForThrobberView(false);
« no previous file with comments | « ash/system/chromeos/network/network_detailed_view.h ('k') | ash/system/chromeos/network/tray_sms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698