| 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 1ece64e120af31f8cac463b18e707199e876d5f6..7dacd55e176a1d02c52408f78309bb046e2d7a5e 100644
|
| --- a/chrome/browser/ui/panels/panel_manager.h
|
| +++ b/chrome/browser/ui/panels/panel_manager.h
|
| @@ -55,6 +55,11 @@ class PanelManager {
|
|
|
| PanelManager();
|
|
|
| +#if UNIT_TEST
|
| + const Panels& panels() const { return panels_; }
|
| + static int horizontal_spacing() { return kPanelsHorizontalSpacing; }
|
| +#endif
|
| +
|
| // Applies the new work area. This is called by OnDisplayChanged and the test
|
| // code.
|
| void SetWorkArea(const gfx::Rect& work_area);
|
| @@ -84,6 +89,8 @@ class PanelManager {
|
| void DragLeft();
|
| void DragRight();
|
|
|
| + // Horizontal spacing between panels. Used for unit testing.
|
| +
|
| Panels panels_;
|
|
|
| // Stores the panels that are pending to remove. We want to delay the removal
|
| @@ -112,6 +119,8 @@ class PanelManager {
|
| // to when the dragging ends.
|
| gfx::Rect dragging_panel_bounds_;
|
|
|
| + static const int kPanelsHorizontalSpacing = 4;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PanelManager);
|
| };
|
|
|
|
|