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

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

Issue 141523005: Combobox: Rename styles to STYLE_NORMAL and STYLE_ACTION and modify behaviors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bug fix for Windows Created 6 years, 10 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 | « ui/views/examples/text_example.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/text_example.cc
diff --git a/ui/views/examples/text_example.cc b/ui/views/examples/text_example.cc
index 01457bd4d7b4b7d00333c7ca141617108f4247be..d4055009dcf40b99e232665efdb5cb95cb77fc2f 100644
--- a/ui/views/examples/text_example.cc
+++ b/ui/views/examples/text_example.cc
@@ -255,7 +255,7 @@ void TextExample::ButtonPressed(Button* button, const ui::Event& event) {
text_view_->SchedulePaint();
}
-void TextExample::OnSelectedIndexChanged(Combobox* combobox) {
+void TextExample::OnPerformAction(Combobox* combobox) {
int text_flags = text_view_->text_flags();
if (combobox == h_align_cb_) {
text_flags &= ~(gfx::Canvas::TEXT_ALIGN_LEFT |
« no previous file with comments | « ui/views/examples/text_example.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698