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

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

Issue 8503037: Fix the problem that notifications and panels overlap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 9 years, 1 month 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_manager.h
diff --git a/chrome/browser/ui/panels/panel_manager.h b/chrome/browser/ui/panels/panel_manager.h
index 26a3fe01328740073a73017a2e7f4d87a4ddbf52..fd9f2fb20eef4a779629f8daeb6e6b0585d0a5c3 100644
--- a/chrome/browser/ui/panels/panel_manager.h
+++ b/chrome/browser/ui/panels/panel_manager.h
@@ -75,6 +75,7 @@ class PanelManager : public PanelMouseWatcher::Observer,
int num_panels() const { return panels_.size(); }
bool is_dragging_panel() const;
+ const Panels& panels() const { return panels_; }
int GetMaxPanelWidth() const;
int GetMaxPanelHeight() const;
@@ -84,7 +85,6 @@ class PanelManager : public PanelMouseWatcher::Observer,
virtual void OnMouseMove(const gfx::Point& mouse_position) OVERRIDE;
#ifdef UNIT_TEST
- const Panels& panels() const { return panels_; }
static int horizontal_spacing() { return kPanelsHorizontalSpacing; }
const gfx::Rect& work_area() const {

Powered by Google App Engine
This is Rietveld 408576698