Chromium Code Reviews| 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..e2cc0fb7c070909a399f53a81179c245c24e1495 100644 |
| --- a/chrome/browser/ui/panels/panel_manager.h |
| +++ b/chrome/browser/ui/panels/panel_manager.h |
| @@ -55,6 +55,10 @@ class PanelManager { |
| PanelManager(); |
| +#if UNIT_TEST |
| + Panels panels() { return panels_; } |
|
jianli
2011/08/24 22:04:03
Please define it as:
const Panels& panels() cons
prasadt
2011/08/24 23:04:30
Done.
|
| +#endif |
| + |
| // Applies the new work area. This is called by OnDisplayChanged and the test |
| // code. |
| void SetWorkArea(const gfx::Rect& work_area); |
| @@ -84,6 +88,9 @@ class PanelManager { |
| void DragLeft(); |
| void DragRight(); |
| + // Horizontal spacing between panels. Used for unit testing. |
| + static int horizontal_spacing(); |
| + |
| Panels panels_; |
| // Stores the panels that are pending to remove. We want to delay the removal |