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

Unified Diff: ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.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/tray_display_unittest.cc ('k') | ash/system/overview/overview_button_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
diff --git a/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc b/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
index 2830045fd5b890bf71cf06be88f8e4f954a694cf..b32dd66b9ef361932a5929f640a23fe6ec674e20 100644
--- a/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
+++ b/ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc
@@ -61,8 +61,8 @@ void VirtualKeyboardTray::SetShelfAlignment(ShelfAlignment alignment) {
tray_container()->SetBorder(views::Border::NullBorder());
// Pad button size to align with other controls in the system tray.
- const gfx::ImageSkia image = button_->GetImage(
- views::CustomButton::STATE_NORMAL);
+ const gfx::ImageSkia image =
+ button_->GetImage(views::CustomButton::STATE_NORMAL);
int top_padding = (kTrayBarButtonWidth - image.height()) / 2;
int left_padding = (kTrayBarButtonWidth - image.width()) / 2;
int bottom_padding = kTrayBarButtonWidth - image.height() - top_padding;
@@ -78,10 +78,7 @@ void VirtualKeyboardTray::SetShelfAlignment(ShelfAlignment alignment) {
}
button_->SetBorder(views::Border::CreateEmptyBorder(
- top_padding,
- left_padding,
- bottom_padding,
- right_padding));
+ top_padding, left_padding, bottom_padding, right_padding));
}
base::string16 VirtualKeyboardTray::GetAccessibleNameForTray() {
@@ -90,8 +87,7 @@ base::string16 VirtualKeyboardTray::GetAccessibleNameForTray() {
}
void VirtualKeyboardTray::HideBubbleWithView(
- const views::TrayBubbleView* bubble_view) {
-}
+ const views::TrayBubbleView* bubble_view) {}
void VirtualKeyboardTray::ClickedOutsideBubble() {}
« no previous file with comments | « ash/system/chromeos/tray_display_unittest.cc ('k') | ash/system/overview/overview_button_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698