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

Unified Diff: chrome/browser/ui/panels/panel.cc

Issue 10106008: Change Panel titlebars to activate the panel on click (rather than minimize). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GTK changes Created 8 years, 8 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: chrome/browser/ui/panels/panel.cc
diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc
index b8d9412b61b415f7150cac0dde6c88ef04106cf0..13c9e84662b052d9ab4c3ff5c100495217378ebe 100644
--- a/chrome/browser/ui/panels/panel.cc
+++ b/chrome/browser/ui/panels/panel.cc
@@ -250,6 +250,9 @@ void Panel::Activate() {
panel_strip_->ActivatePanel(this);
native_panel_->ActivatePanel();
+
+ // Ensure an activated panel is not drawing attention.
+ FlashFrame(false);
}
void Panel::Deactivate() {

Powered by Google App Engine
This is Rietveld 408576698