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

Unified Diff: ash/shell/lock_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/shell/context_menu.cc ('k') | ash/shell/panel_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/lock_view.cc
diff --git a/ash/shell/lock_view.cc b/ash/shell/lock_view.cc
index 234359544f1442c9e1f99d82f2f6ed1aaf5545f8..cac32caf9f42896e91991e214c7dc480bab25c17 100644
--- a/ash/shell/lock_view.cc
+++ b/ash/shell/lock_view.cc
@@ -26,8 +26,9 @@ namespace shell {
class LockView : public views::WidgetDelegateView,
public views::ButtonListener {
public:
- LockView() : unlock_button_(new views::LabelButton(
- this, base::ASCIIToUTF16("Unlock"))) {
+ LockView()
+ : unlock_button_(
+ new views::LabelButton(this, base::ASCIIToUTF16("Unlock"))) {
unlock_button_->SetStyle(views::Button::STYLE_BUTTON);
AddChildView(unlock_button_);
}
@@ -43,7 +44,7 @@ class LockView : public views::WidgetDelegateView,
base::string16 text = base::ASCIIToUTF16("LOCKED!");
int string_width = gfx::GetStringWidth(text, font_list_);
canvas->DrawStringRect(text, font_list_, SK_ColorRED,
- gfx::Rect((width() - string_width)/ 2,
+ gfx::Rect((width() - string_width) / 2,
(height() - font_list_.GetHeight()) / 2,
string_width, font_list_.GetHeight()));
}
« no previous file with comments | « ash/shell/context_menu.cc ('k') | ash/shell/panel_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698