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

Unified Diff: ui/views/examples/button_example.cc

Issue 10383034: views/examples: Clean up cpplint warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « no previous file | ui/views/examples/content_client/examples_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/button_example.cc
diff --git a/ui/views/examples/button_example.cc b/ui/views/examples/button_example.cc
index fec2d1c12cde0897b8b5d3b3288d7aa52d4d6bd5..a86ee665e276c4187034321f6de18223093370df 100644
--- a/ui/views/examples/button_example.cc
+++ b/ui/views/examples/button_example.cc
@@ -69,7 +69,7 @@ void ButtonExample::ButtonPressed(Button* sender, const Event& event) {
text_button_->SetText(ASCIIToUTF16("Button"));
}
} else {
- switch(text_button_->icon_placement()) {
+ switch (text_button_->icon_placement()) {
case TextButton::ICON_ON_LEFT:
text_button_->set_icon_placement(TextButton::ICON_ON_RIGHT);
break;
@@ -84,7 +84,7 @@ void ButtonExample::ButtonPressed(Button* sender, const Event& event) {
else
text_button_->SetIcon(*icon_);
} else {
- switch(alignment_) {
+ switch (alignment_) {
case TextButton::ALIGN_LEFT:
alignment_ = TextButton::ALIGN_CENTER;
break;
« no previous file with comments | « no previous file | ui/views/examples/content_client/examples_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698