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

Side by Side Diff: ui/views/examples/button_example.cc

Issue 2921523002: Clean up unused grit header includes in ui/. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « ui/views/controls/throbber.cc ('k') | ui/views/style/platform_style.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/examples/button_example.h" 5 #include "ui/views/examples/button_example.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "ui/base/resource/resource_bundle.h" 8 #include "ui/base/resource/resource_bundle.h"
9 #include "ui/gfx/image/image.h" 9 #include "ui/gfx/image/image.h"
10 #include "ui/resources/grit/ui_resources.h"
11 #include "ui/views/background.h" 10 #include "ui/views/background.h"
12 #include "ui/views/controls/button/blue_button.h" 11 #include "ui/views/controls/button/blue_button.h"
13 #include "ui/views/controls/button/image_button.h" 12 #include "ui/views/controls/button/image_button.h"
14 #include "ui/views/controls/button/label_button.h" 13 #include "ui/views/controls/button/label_button.h"
15 #include "ui/views/controls/button/md_text_button.h" 14 #include "ui/views/controls/button/md_text_button.h"
16 #include "ui/views/layout/box_layout.h" 15 #include "ui/views/layout/box_layout.h"
17 #include "ui/views/resources/grit/views_resources.h" 16 #include "ui/views/resources/grit/views_resources.h"
18 #include "ui/views/view.h" 17 #include "ui/views/view.h"
19 18
20 using base::ASCIIToUTF16; 19 using base::ASCIIToUTF16;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 else if (sender == disabled_button_) 126 else if (sender == disabled_button_)
128 LabelButtonPressed(disabled_button_, event); 127 LabelButtonPressed(disabled_button_, event);
129 else if (sender == md_button_ || sender == md_default_button_) 128 else if (sender == md_button_ || sender == md_default_button_)
130 static_cast<CustomButton*>(sender)->StartThrobbing(5); 129 static_cast<CustomButton*>(sender)->StartThrobbing(5);
131 else 130 else
132 PrintStatus("Image Button Pressed! count: %d", ++count_); 131 PrintStatus("Image Button Pressed! count: %d", ++count_);
133 } 132 }
134 133
135 } // namespace examples 134 } // namespace examples
136 } // namespace views 135 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/throbber.cc ('k') | ui/views/style/platform_style.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698