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

Unified Diff: chrome/browser/ui/panels/docked_panel_strip.h

Issue 10384192: Prevent title-only panel from fully minimizing when attention is cleared if mouse is in the panel o… (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
Index: chrome/browser/ui/panels/docked_panel_strip.h
diff --git a/chrome/browser/ui/panels/docked_panel_strip.h b/chrome/browser/ui/panels/docked_panel_strip.h
index 988f3493b45279647b21b6e4c96809605c324d36..6dba38e02efdf8664f4889e7ccc14533ddafc274 100644
--- a/chrome/browser/ui/panels/docked_panel_strip.h
+++ b/chrome/browser/ui/panels/docked_panel_strip.h
@@ -164,6 +164,9 @@ class DockedPanelStrip : public PanelStrip,
void DragLeft(Panel* dragging_panel);
void DragRight(Panel* dragging_panel);
+ // Returns true if the mouse is currently in the |panel|.
+ bool IsMouseInPanel(const Panel* panel) const;
+
// Does the real job of bringing up or down the titlebars.
void DoBringUpOrDownTitlebars(bool bring_up);
// The callback for a delyed task, checks if it still need to perform

Powered by Google App Engine
This is Rietveld 408576698