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

Unified Diff: ui/views/controls/button/custom_button.cc

Issue 10933085: Update ConstrainedWindowViews appearance according to mock (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Browser test fixes Created 8 years, 2 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
Index: ui/views/controls/button/custom_button.cc
diff --git a/ui/views/controls/button/custom_button.cc b/ui/views/controls/button/custom_button.cc
index 28d570ca325dbd5899da9728f7df0f1f635b05d4..612ddd02dff6de60c5e3aaecf9778564ce795d71 100644
--- a/ui/views/controls/button/custom_button.cc
+++ b/ui/views/controls/button/custom_button.cc
@@ -47,6 +47,8 @@ void CustomButton::SetState(ButtonState state) {
state_ = state;
StateChanged();
+ if (state_changed_delegate_.get())
+ state_changed_delegate_->StateChanged(state_);
SchedulePaint();
}

Powered by Google App Engine
This is Rietveld 408576698